PageSourceSearch

https://tranzycja.pl/assets/build/js/main.js

js tranzycja.pl collected 2026-10-02 19:42:38 UTC 8,046 bytes, 3 lines download raw bytes

1/*! For license information please see main.js.LICENSE.txt */
2!function(t){var e={};function o(l){if(e[l])return e[l].exports;var r=e[l]={i:l,l:!1,exports:{}};return t[l].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,l){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:l})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(l,r,function(e){return t[e]}.bind(null,r));return l},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/",o(o.s=0)}({0:function(t,e,o){o("62eu"),o("DZtn"),t.exports=o("osQV")},"62eu":function(t,e,o){"use strict";o.r(e);var l=o("dwco"),r=o.n(l);const n="undefined"!=typeof window,i=n&&window,c=n&&document,s=n&&c.documentElement,a=n&&c.createElement("a"),f=t=>(t=>/^a$/i.test(t.tagName))(t)&&(t=>{if(!/#/.test(t.href))return!1;let e=t.pathname;return"/"!==e[0]&&(e="/"+e),t.hostname===location.hostname&&e===location.pathname&&(!t.search||t.search===location.search)})(t)?t:t.parentElement?f(t.parentElement):null,u=t=>{if("string"!=typeof t)return null;try{t=decodeURIComponent(t)}catch(t){}let e=t?c.getElementById(t.slice(1)):c.body;return"#top"!==t||e||(e=c.body),e},d=t=>{const e={preventScroll:!0};if(t.focus(e),c.activeElement!==t){const o=t.getAttribute("tabindex");if(t.setAttribute("tabindex","-1"),"none"===getComputedStyle(t).outlineStyle){const e=t.style.outlineStyle;t.style.outlineStyle="none",t.addEventListener("blur",(function l(){t.style.outlineStyle=e||"",null!=o?t.setAttribute("tabindex",o):t.removeAttribute("tabindex"),t.removeEventListener("blur",l)}))}t.focus(e)}};let p,h=!1;if(n)try{const t=Object.defineProperty({},"preventScroll",{get(){h=!0}});a.focus(t)}catch(t){}const y=t=>
2{h||clearTimeout(p);t===c.body?i.scroll({top:0,left:0,behavior:"smooth"}):t.scrollIntoView({behavior:"smooth",block:"start"}),h?d(t):p=setTimeout(d.bind(null,t),450)},v=()=>{const t=/scroll-behavior:[\s]*([^;"']+)/,e=getComputedStyle(s),o=[s.style.scrollBehavior,(t.exec(s.getAttribute("style"))||[])[1],e.getPropertyValue("--scroll-behavior"),(t.exec(e.fontFamily)||[])[1]];for(var l=0;l<o.length;l++){const t=o[l]&&o[l].trim();if(/^smooth$/.test(t))return!0;if(/^(initial|inherit|auto|unset)$/.test(t))return!1}return!1},m={polyfill:b,destroy:g};function b(t={}){if(g(),n){const e=i.__forceSmoothscrollAnchorPolyfill__,o="boolean"==typeof t.force?t.force:e;if(n&&"scrollBehavior"in a&&!o)return;c.addEventListener("click",S,!1),c.addEventListener("scroll",x),i.addEventListener("hashchange",T)}return m}function g(){return n&&(c.removeEventListener("click",S,!1),c.removeEventListener("scroll",x),i.removeEventListener("hashchange",T)),m}function S(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||0!==t.button;if(t.defaultPrevented||e)return;if(!v())return;const o=f(t.target);if(!o)return;const l=u(o.hash);l&&(t.preventDefault(),y(l),history.pushState&&history.pushState(null,c.title,o.href))}const w=[],E=()=>s.scrollTop||c.body.scrollTop;function T(){if(!c.body||!v())return;const t=u(location.hash);if(!t)return;const e=E(),o=w[w[1]===e?0:1];i.scroll({top:o,behavior:"instant"}),y(t)}function x(){c.body&&(w[0]=w[1],w[1]=E())}b(),r.a.polyfill(),"dark"===localStorage.theme?document.querySelectorAll(".theme_dark").forEach((function(t){return t.checked=!0})):"light"===localStorage.theme?document.querySelectorAll(".theme_light").forEach((function(t){return t.checked=!0})):document.querySelectorAll(".theme_auto").forEach((function(t){return t.checked=!0}));var L=document.getElementById("toc");L&&window.matchMedia("(min-width: 1024px)").matches&&(L.open=!0)},DZtn:function(t,e){},dwco:function(t,e,o){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var o,l=t.HTMLElement||t.Element,r={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:l.prototype.scroll||c,scrollIntoView:l.prototype.scrollIntoView},n=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,i=(o=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(o)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?h.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):r.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(s(arguments[0])?r.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},l.prototype.scroll=l.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==s(arguments[0])){var t=arguments[0].left,e=arguments[0].top;h.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},l.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},l.prototype.scrollIntoView=function(){if(!0!==s(arguments[0])){var o=d(this),l=o.getBoundingClientRect(),n=this.getBoundingClientRect();o!==e.body?(h.call(this,o,o.scrollLeft+n.left-l.left,o.scrollTop+n.top-l.top),"fixed"!==t.getComputedStyle(o).position&&t.scrollBy({left:l.left,top:l.top,behavior:"smooth"})):t.scrollBy({left:n.left,top:n.top,behavior:"smooth"})}else r.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function c(t,e){this.scrollLeft=t,this.scrollTop=e}function s(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;
vendor: 1,044 bytes, lines 2-3
2if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function a(t,e){return"Y"===e?t.clientHeight+i<t.scrollHeight:"X"===e?t.clientWidth+i<t.scrollWidth:void 0}function f(e,o){var l=t.getComputedStyle(e,null)["overflow"+o];return"auto"===l||"scroll"===l}function u(t){var e=a(t,"Y")&&f(t,"Y"),o=a(t,"X")&&f(t,"X");return e||o}function d(t){for(;t!==e.body&&!1===u(t);)t=t.parentNode||t.host;return t}function p(e){var o,l,r,i,c=(n()-e.startTime)/468;i=c=c>1?1:c,o=.5*(1-Math.cos(Math.PI*i)),l=e.startX+(e.x-e.startX)*o,r=e.startY+(e.y-e.startY)*o,e.method.call(e.scrollable,l,r),l===e.x&&r===e.y||t.requestAnimationFrame(p.bind(t,e))}function h(o,l,i){var s,a,f,u,d=n();o===e.body?(s=t,a=t.scrollX||t.pageXOffset,f=t.scrollY||t.pageYOffset,u=r.scroll):(s=o,a=o.scrollLeft,f=o.scrollTop,u=c),p({scrollable:s,method:u,startTime:d,startX:a,startY:f,x:l,y:i})}}}}()},osQV:function(t,e){}});
3//# sourceMappingURL=main.js.map

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.