PageSourceSearch

https://maffia-online.ru/js/components/bracket.js?2

js maffia-online.ru collected 2026-10-05 00:17:31 UTC 5,749 bytes, 1 lines download raw bytes

1!function(){"use strict";var e={867:function(e,t,n){var r=n(100),o=n.n(r)()(function(e){return e[1]});o.push([e.id,"#bracket{border-collapse:collapse}#bracket th:nth-of-type(even),#bracket td:nth-of-type(even){width:20px}.bracket-team-cell{border:1px solid #000;padding:5px 10px;min-width:3em}.bracket-border-bottom{border-bottom:1px solid #000}.bracket-border-left{border-left:1px solid #000}.bracket-current-team{background:#20b2aa}",""]),t.A=o},100:function(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},482:function(e,t,n){var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function c(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],s=t.base?a[0]+t.base:a[0],l=n[s]||0,u="".concat(s," ").concat(l);n[s]=l+1;var d=c(u),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:u,updater:p(f,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach(function(e){t.setAttribute(e,r[e])}),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function h(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var v=null,b=0;function p(e,t){var n,r,o;if(t.singleton){var a=b++;n=v||(v=l(t)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=l(t),r=h.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=c(n[r]);i[o].references--}for(var a=s(e,t),l=0;l<n.length;l++){var u=c(n[l]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}n=a}}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,exports:{}};return e[r](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nc=void 0;var r=n(482),o=n.n(r),a=n(867),i={insert:"head",singleton:!1},c=(o()(a.A,i),a.A.locals,$('<table class="native-table" id="bracket"><thead></thead><tbody class="tbody"></tbody></table>')),s=c.find("thead"),l=c.find("tbody"),u="bracket-team-cell",d="bracket-current-team";s.html('<tr class="tr"><th class="th">1 тур</th><th class="th"></th><th class="th">2 тур</th><th class="th"></th><th class="th">3 тур</th><th class="th"></th><th class="th"></th></tr>');function f(){c.hide()}c.on("click",f),window.bracket={node:c,showBracket:function(e){if(c.is(":visible"))return f();var t=function(e){return Object.keys(e).forEach(function(t){var n=e[t];if("4"===t)n[1]&&(n[1]='<b class="b">'+n[1]+"</b>");else{var r=e[+t+1];
1r&&Object.keys(n).forEach(function(o){var a=Math.ceil(+o/2),i=r[a];i&&i===n[o]&&(e[t][o]='<b class="b">'+n[o]+"</b>")})}}),e}(e()||{});l.html(function(e,t,n,r){void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),void 0===r&&(r={});for(var o={"1_1":e[1],"1_2":e[2],"1_5":e[3],"1_6":e[4],"1_9":e[5],"1_10":e[6],"1_13":e[7],"1_14":e[8],"3_3":t[1],"3_4":t[2],"3_11":t[3],"3_12":t[4],"5_7":n[1],"5_8":n[2],"7_8":r[1]},a=["2_1","2_5","2_9","2_13","4_3","4_11","6_7"],i=["3_2","3_5","3_10","3_13","5_4","5_5","5_6","5_9","5_10","5_11"],c="",s=1;s<=14;s++){c+='<tr class="tr">';for(var l=1;l<=7;l++){var d=l+"_"+s,f=o.hasOwnProperty(d)?o[d]||"???":"",h=f?u:a.includes(d)?"bracket-border-bottom":i.includes(d)?"bracket-border-left":"";c+='<td class="td'+(h?" "+h:"")+'">'+("7_7"===d?"Победитель":f)+"</td>"}c+="</tr>"}return c}(t[1],t[2],t[3],t[4]));var n=l.find("."+u);l.find("."+u).on("mouseenter",function(){var e=$(this).text();n.filter(function(){return $(this).text()===e}).addClass(d)}).on("mouseleave",function(){n.removeClass(d)}),c.show()},hideBracket:f}}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.