`)})}else if(b.Result==Q){$.stdShowMessage({icon:R,message:S,type:T})}}),error:((a,b,c)=>{console.warn(a.responseText)})})});var n=(a=>$(`div[name="match-`+ a+ a7));var s=((a,b,c)=>{var d=a[b];a[b]=a[c];a[c]=d});var a=(()=>{$(v).append(`
`);$(v).append(``);$(v).append(``);$(v).append(``);$(v).append(``)});var g=(()=>{var a=$(C).val();$.ajax({method:J,crossDomain:!0,headers:{'Access-Control-Allow-Origin':K},url:`https://sobrepique.com/api/v1/IwXY2Ft-I0y1jIssmjJsDQ/categories`,dataType:U,data:{tournament_id:a},beforeSend:(()=>{$.blockUI({message:u})}),success:((a,b,c)=>{if(a.Result==L){var d=$(H);var e=$(`label[name="categories-label"]`);var f=$(`div[name="tabs-content"]`);if(a.Options.length>M){d.removeClass(B);e.addClass(B);f.removeClass(B);var g=N;d.empty();d.append(``);a.Options.forEach((a=>{g=``;d.append(g)}))}else{d.addClass(B);e.removeClass(B);f.addClass(B)}}else if(a.Result==Q){d.addClass(B);e.removeClass(B);f.addClass(B);$.stdShowMessage({icon:R,message:S,type:T})};h();t();$.unblockUI}),error:((a,b,c)=>{$.unblockUI;console.warn(a.responseText)})})});var c=(()=>{var a=b();return a.find(w).length});var m=(a=>$(`div.card[name="group-`+ a+ `"] > div.card-body > div[name="matches-content"]`));var q=((a,b,c)=>{var d=a.length,e,f;if(b