(()=>{"use strict";var e,t,n={},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,i),o.exports}i.rv=function(){return"1.2.3"},i.ruid="bundler=rspack@1.2.3";var o,a,l,c,s,d,u,_,p,f,h,m={},w=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function C(e,t,n){var r,i,a,l={};for(a in t)"key"==a?r=t[a]:"ref"==a?i=t[a]:l[a]=t[a];if(arguments.length>2&&(l.children=arguments.length>3?o.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===l[a]&&(l[a]=e.defaultProps[a]);return x(e,l,r,i,null)}function x(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++l,__i:-1,__u:0};return null==i&&null!=a.vnode&&a.vnode(o),o}function E(e){return e.children}function S(e,t){this.props=e,this.context=t}function N(e,t){if(null==t)return e.__?N(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?N(e):null}function k(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!T.__r++||s!==a.debounceRendering)&&((s=a.debounceRendering)||d)(T)}function T(){var e,t,n,r,i,o,l,s;for(c.sort(u);e=c.shift();)e.__d&&(t=c.length,r=void 0,o=(i=(n=e).__v).__e,l=[],s=[],n.__P&&((r=y({},i)).__v=i.__v+1,a.vnode&&a.vnode(r),O(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,l,o??N(i),!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,W(l,r,s),r.__e!=o&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r)),c.length>t&&c.sort(u));T.__r=0}function A(e,t,n,r,i,o,l,c,s,d,u){var _,p,f,h,g,y,C=r&&r.__k||w,S=t.length;for(s=function(e,t,n,r,i){var o,l,c,s,d,u=n.length,_=u,p=0;for(e.__k=Array(i),o=0;o<i;o++)null!=(l=t[o])&&"boolean"!=typeof l&&"function"!=typeof l?(s=o+p,(l=e.__k[o]="string"==typeof l||"number"==typeof l||"bigint"==typeof l||l.constructor==String?x(null,l,null,null,null):v(l)?x(E,{children:l},null,null,null):void 0===l.constructor&&l.__b>0?x(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):l).__=e,l.__b=e.__b+1,c=null,-1!==(d=l.__i=function(e,t,n,r){var i,o,a=e.key,l=e.type,c=t[n];if(null===c||c&&a==c.key&&l===c.type&&!(2&c.__u))return n;if(r>(null==c||2&c.__u?0:1))for(i=n-1,o=n+1;i>=0||o<t.length;){if(i>=0){if((c=t[i])&&!(2&c.__u)&&a==c.key&&l===c.type)return i;i--}if(o<t.length){if((c=t[o])&&!(2&c.__u)&&a==c.key&&l===c.type)return o;o++}}return -1}(l,n,s,_))&&(_--,(c=n[d])&&(c.__u|=2)),null==c||null===c.__v?(-1==d&&p--,"function"!=typeof l.type&&(l.__u|=4)):d!=s&&(d==s-1?p--:d==s+1?p++:(d>s?p--:p++,l.__u|=4))):e.__k[o]=null;if(_)for(o=0;o<u;o++)null==(c=n[o])||2&c.__u||(c.__e==r&&(r=N(c)),function e(t,n,r){var i,o;if(a.unmount&&a.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||R(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){a.__e(e,n)}i.base=i.__P=null}if(i=t.__k)for(o=0;o<i.length;o++)i[o]&&e(i[o],n,r||"function"!=typeof t.type);r||b(t.__e),t.__c=t.__=t.__e=void 0}(c,c));return r}(n,t,C,s,S),_=0;_<S;_++)null!=(f=n.__k[_])&&(p=-1===f.__i?m:C[f.__i]||m,f.__i=_,y=O(e,f,p,i,o,l,c,s,d,u),h=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&R(p.ref,null,f),u.push(f.ref,f.__c||h,f)),null==g&&null!=h&&(g=h),4&f.__u||p.__k===f.__k?s=function e(t,n,r){var i,o;if("function"==typeof t.type){for(i=t.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=t,n=e(i[o],n,r));return n}t.__e!=n&&(n&&t.type&&!r.contains(n)&&(n=N(t)),r.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(f,s,e):"function"==typeof f.type&&void 0!==y?s=y:h&&(s=h.nextSibling),f.__u&=-7);return n.__e=g,s}function L(e,t,n){"-"==t[0]?e.setProperty(t,n??""):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function P(e,t,n,r,i){var o;e:if("style"==t){if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||L(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||L(e.style,t,n[t])}}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(_,"$1")),t=t.toLowerCase()in e||"onFocusOut"==t||"onFocusIn"==t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=p,e.addEventListener(t,o?h:f,o)):e.removeEventListener(t,o?h:f,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=n??"";break e}catch{}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function I(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=p++;else if(t.t<n.u)return;return n(a.event?a.event(t):t)}}}function O(e,t,n,r,i,l,c,s,d,u){var _,p,f,h,w,g,C,x,k,T,L,I,O,W,R,B,H,q=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(d=!!(32&n.__u),l=[s=t.__e=n.__e]),(_=a.__b)&&_(t);e:if("function"==typeof q)try{if(x=t.props,k="prototype"in q&&q.prototype.render,T=(_=q.contextType)&&r[_.__c],L=_?T?T.props.value:_.__:r,n.__c?C=(p=t.__c=n.__c).__=p.__E:(k?t.__c=p=new q(x,L):(t.__c=p=new S(x,L),p.constructor=q,p.render=F),T&&T.sub(p),p.props=x,p.state||(p.state={}),p.context=L,p.__n=r,f=p.__d=!0,p.__h=[],p._sb=[]),k&&null==p.__s&&(p.__s=p.state),k&&null!=q.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=y({},p.__s)),y(p.__s,q.getDerivedStateFromProps(x,p.__s))),h=p.props,w=p.state,p.__v=t,f)k&&null==q.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),k&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(k&&null==q.getDerivedStateFromProps&&x!==h&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(x,L),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(x,p.__s,L)||t.__v==n.__v)){for(t.__v!=n.__v&&(p.props=x,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),I=0;I<p._sb.length;I++)p.__h.push(p._sb[I]);p._sb=[],p.__h.length&&c.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(x,p.__s,L),k&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(h,w,g)})}if(p.context=L,p.props=x,p.__P=e,p.__e=!1,O=a.__r,W=0,k){for(p.state=p.__s,p.__d=!1,O&&O(t),_=p.render(p.props,p.state,p.context),R=0;R<p._sb.length;R++)p.__h.push(p._sb[R]);p._sb=[]}else do p.__d=!1,O&&O(t),_=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++W<25);p.state=p.__s,null!=p.getChildContext&&(r=y(y({},r),p.getChildContext())),k&&!f&&null!=p.getSnapshotBeforeUpdate&&(g=p.getSnapshotBeforeUpdate(h,w)),s=A(e,v(B=null!=_&&_.type===E&&null==_.key?_.props.children:_)?B:[B],t,n,r,i,l,c,s,d,u),p.base=t.__e,t.__u&=-161,p.__h.length&&c.push(p),C&&(p.__E=p.__=null)}catch(e){if(t.__v=null,d||null!=l){if(e.then){for(t.__u|=d?160:128;s&&8==s.nodeType&&s.nextSibling;)s=s.nextSibling;l[l.indexOf(s)]=null,t.__e=s}else for(H=l.length;H--;)b(l[H])}else t.__e=n.__e,t.__k=n.__k;a.__e(e,t,n)}else null==l&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=function(e,t,n,r,i,l,c,s,d){var u,_,p,f,h,w,g,y=n.props,C=t.props,x=t.type;if("svg"==x?i="http://www.w3.org/2000/svg":"math"==x?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=l){for(u=0;u<l.length;u++)if((h=l[u])&&"setAttribute"in h==!!x&&(x?h.localName==x:3==h.nodeType)){e=h,l[u]=null;break}}if(null==e){if(null==x)return document.createTextNode(C);e=document.createElementNS(i,x,C.is&&C),s&&(a.__m&&a.__m(t,l),s=!1),l=null}if(null===x)y===C||s&&e.data===C||(e.data=C);else{if(l=l&&o.call(e.childNodes),y=n.props||m,!s&&null!=l)for(y={},u=0;u<e.attributes.length;u++)y[(h=e.attributes[u]).name]=h.value;for(u in y)if(h=y[u],"children"!=u){if("dangerouslySetInnerHTML"==u)p=h;else if(!(u in C)){if("value"==u&&"defaultValue"in C||"checked"==u&&"defaultChecked"in C)continue;P(e,u,null,h,i)}}for(u in C)h=C[u],"children"==u?f=h:"dangerouslySetInnerHTML"==u?_=h:"value"==u?w=h:"checked"==u?g=h:s&&"function"!=typeof h||y[u]===h||P(e,u,h,y[u],i);if(_)s||p&&(_.__html===p.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(p&&(e.innerHTML=""),A(e,v(f)?f:[f],t,n,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":i,l,c,l?l[0]:n.__k&&N(n,0),s,d),null!=l)for(u=l.length;u--;)b(l[u]);s||(u="value","progress"==x&&null==w?e.removeAttribute("value"):void 0===w||w===e[u]&&("progress"!=x||w)&&("option"!=x||w===y[u])||P(e,u,w,y[u],i),u="checked",void 0!==g&&g!==e[u]&&P(e,u,g,y[u],i))}return e}(n.__e,t,n,r,i,l,c,d,u);return(_=a.diffed)&&_(t),128&t.__u?void 0:s}function W(e,t,n){for(var r=0;r<n.length;r++)R(n[r],n[++r],n[++r]);a.__c&&a.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){a.__e(e,t.__v)}})}function R(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){a.__e(e,n)}}function F(e,t,n){return this.constructor(e,n)}function B(e,t,n){var r,i,l;t==document&&(t=document.documentElement),a.__&&a.__(e,t),r=t.__k,i=[],l=[],O(t,e=t.__k=C(E,null,[e]),r||m,m,t.namespaceURI,r?null:t.firstChild?o.call(t.childNodes):null,i,r?r.__e:t.firstChild,!1,l),W(i,e,l)}o=w.slice,a={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},l=0,S.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},n),this.props)),e&&y(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),k(this))},S.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},S.prototype.render=E,c=[],d="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},T.__r=0,_=/(PointerCapture)$|Capture$/i,p=0,f=I(!1),h=I(!0);var H=0;function q(e,t,n,r,i,o){t||(t={});var l,c,s=t;if("ref"in s)for(c in s={},t)"ref"==c?l=t[c]:s[c]=t[c];var d={type:e,props:s,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--H,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(l=e.defaultProps))for(c in l)void 0===s[c]&&(s[c]=l[c]);return a.vnode&&a.vnode(d),d}var D,M,U,$,j=0,G=[],V=a,Y=V.__b,z=V.__r,J=V.diffed,Q=V.__c,K=V.unmount,Z=V.__;function X(e,t){V.__h&&V.__h(M,e,j||t),j=0;var n=M.__H||(M.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ee(e){return j=1,function(e,t,n){var r=X(D++,2);if(r.t=e,!r.__c&&(r.__=[ec(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=M,!M.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter(function(e){return!!e.__c});if(i.every(function(e){return!e.__N}))return!o||o.call(this,e,t,n);var a=r.__c.props!==e;return i.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),o&&o.call(this,e,t,n)||a};M.u=!0;var o=M.shouldComponentUpdate,a=M.componentWillUpdate;M.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},M.shouldComponentUpdate=i}return r.__N||r.__}(ec,e)}function et(e,t){var n=X(D++,3);!V.__s&&el(n.__H,t)&&(n.__=e,n.i=t,M.__H.__h.push(n))}function en(e){var t,n,r;return j=5,t=function(){return{current:e}},n=[],el((r=X(D++,7)).__H,n)&&(r.__=t(),r.__H=n,r.__h=t),r.__}function er(){for(var e;e=G.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eo),e.__H.__h.forEach(ea),e.__H.__h=[]}catch(t){e.__H.__h=[],V.__e(t,e.__v)}}V.__b=function(e){M=null,Y&&Y(e)},V.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Z&&Z(e,t)},V.__r=function(e){z&&z(e),D=0;var t=(M=e.__c).__H;t&&(U===M?(t.__h=[],M.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0})):(t.__h.forEach(eo),t.__h.forEach(ea),t.__h=[],D=0)),U=M},V.diffed=function(e){J&&J(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==G.push(t)&&$===V.requestAnimationFrame||(($=V.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ei&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ei&&(t=requestAnimationFrame(n))})(er)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.i=void 0})),U=M=null},V.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eo),e.__h=e.__h.filter(function(e){return!e.__||ea(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],V.__e(n,e.__v)}}),Q&&Q(e,t)},V.unmount=function(e){K&&K(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eo(e)}catch(e){t=e}}),n.__H=void 0,t&&V.__e(t,n.__v))};var ei="function"==typeof requestAnimationFrame;function eo(e){var t=M,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),M=t}function ea(e){var t=M;e.__c=e.__(),M=t}function el(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ec(e,t){return"function"==typeof t?t(e):t}function es(){return q("svg",{className:"exit-disco__logo",width:"42",height:"25",viewBox:"0 0 42 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:q("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M32.674 7.56443C32.627 7.99214 32.581 8.39641 32.5384 8.80093C32.4727 9.42501 32.4091 10.0492 32.3449 10.6734C32.2504 11.5933 32.1579 12.5133 32.0611 13.4331C31.9458 14.5278 31.8265 15.6221 31.71 16.7166C31.6535 17.2473 31.6152 17.7802 31.5053 18.3039C31.306 19.2539 30.8949 20.0923 30.1919 20.7744C29.6018 21.3471 28.8964 21.7185 28.113 21.952C27.531 22.1256 26.9368 22.1891 26.3318 22.1519C25.1364 22.0784 24.1957 21.5525 23.5185 20.5625C23.2031 20.1016 23.0017 19.5889 22.8718 19.0513C22.6092 17.9652 22.3599 16.876 22.1103 15.7868C21.8605 14.6973 21.6166 13.6066 21.371 12.5161C21.0998 11.3131 20.8295 10.1099 20.5593 8.90678C20.4675 8.49858 20.3768 8.09014 20.2852 7.68194C20.2755 7.63909 20.2649 7.59599 20.2497 7.55492C20.19 7.39303 20.0919 7.32724 19.9382 7.34283C19.7999 7.3569 19.7174 7.44209 19.6933 7.61095C19.6707 7.7689 19.6562 7.92812 19.6401 8.08697C19.5401 9.07842 19.4395 10.07 19.3414 11.0617C19.2559 11.9275 19.1752 12.7939 19.0894 13.6596C18.9842 14.7225 18.8755 15.7851 18.7689 16.8479C18.6887 17.6479 18.6166 18.4487 18.5277 19.2475C18.4431 20.0061 18.2767 20.7443 17.9392 21.4376C17.4537 22.4351 16.7061 23.1849 15.7701 23.7606C14.805 24.3544 13.7467 24.6731 12.6312 24.8251C11.9847 24.9131 11.3366 24.9521 10.6855 24.8941C9.50271 24.7885 8.40934 24.4375 7.46125 23.6999C6.82669 23.2063 6.35899 22.5813 6.02478 21.8532C5.72761 21.2056 5.51901 20.5273 5.31701 19.8462C5.15421 19.2972 4.9819 18.7511 4.81365 18.2039C4.61457 17.5566 4.41422 16.9097 4.21653 16.262C4.03952 15.6827 3.86645 15.1023 3.68957 14.523C3.47907 13.8331 3.26666 13.1438 3.05464 12.4544C2.83957 11.7544 2.62335 11.0547 2.40866 10.3546C2.16339 9.55469 1.92193 8.75364 1.67387 7.95462C1.46172 7.27096 1.23789 6.5911 1.02802 5.9068C0.852158 5.3333 0.675153 4.75954 0.525301 4.17907C0.419605 3.76948 0.425696 3.35102 0.551566 2.93927C0.720324 2.38745 1.06748 1.97 1.53417 1.65029C2.49672 0.991091 3.56484 0.807784 4.70415 0.98564C5.67977 1.13802 6.54437 1.53835 7.30289 2.17004C7.93922 2.69981 8.34069 3.37244 8.54472 4.17058C8.69889 4.77336 8.86206 5.37374 9.02156 5.97513C9.24742 6.82663 9.47479 7.67763 9.69938 8.52951C9.92689 9.39192 10.1562 10.2539 10.3767 11.1183C10.6462 12.1746 10.9089 13.2328 11.1719 14.2906C11.362 15.0549 11.5525 15.819 11.7346 16.5852C11.9128 17.3351 12.0806 18.0875 12.2528 18.8388C12.3056 19.0697 12.3532 19.3019 12.4117 19.5313C12.4682 19.7525 12.6122 19.8442 12.8276 19.8107C13.0045 19.783 13.0824 19.7054 13.1032 19.5144C13.1325 19.2463 13.1531 18.9772 13.1783 18.7085C13.2491 17.9576 13.3213 17.2067 13.3911 16.4557C13.476 15.5402 13.5589 14.6246 13.643 13.7089C13.7492 12.552 13.8563 11.3951 13.962 10.2382C14.0442 9.33893 14.1222 8.43926 14.2075 7.54021C14.2725 6.85452 14.3556 6.17136 14.5663 5.51128C14.754 4.92371 15.0243 4.38025 15.4151 3.8979C15.9613 3.22374 16.6599 2.77574 17.4899 2.55478C19.0582 2.13733 20.5858 2.27564 22.0424 2.99999C23.0552 3.50365 23.7754 4.30812 24.283 5.30845C24.6144 5.96169 24.8108 6.66082 24.9547 7.37503C25.2753 8.96712 25.5928 10.5598 25.9084 12.1528C26.254 13.897 26.5958 15.6419 26.9396 17.3863C26.9629 17.5051 26.9835 17.6247 27.0129 17.7419C27.0476 17.8804 27.1725 17.9593 27.3126 17.9403C27.3979 17.9288 27.4563 17.8627 27.4739 17.7366C27.4946 17.5895 27.5089 17.4413 27.52 17.2932C27.5826 16.4586 27.6414 15.6237 27.7057 14.7892C27.7728 13.9164 27.8416 13.0436 27.9155 12.1713C27.9745 11.4746 28.0392 10.7783 28.1063 10.0823C28.1867 9.24943 28.2733 8.4172 28.3557 7.58458C28.4333 6.80102 28.5104 6.01747 28.585 5.23378C28.6138 4.93119 28.6628 4.63417 28.7667 4.34678C29.1145 3.38448 30.0658 2.98694 30.8625 3.07212C31.2405 3.11256 31.6203 3.13754 31.9991 3.16872C32.3891 3.2008 32.7789 3.23236 33.1689 3.26317C33.6687 3.30272 34.1688 3.33973 34.6684 3.38055C35.1904 3.42315 35.7126 3.46574 36.2339 3.51493C36.563 3.54586 36.8958 3.565 37.2185 3.63079C39.0683 4.00793 40.3444 5.08115 41.049 6.82942C41.2613 7.35602 41.3811 7.90721 41.4671 8.46829C41.5662 9.11544 41.5605 9.76526 41.5283 10.4133C41.4865 11.2543 41.3473 12.0801 41.049 12.8758C40.5012 14.3363 39.4593 15.2607 37.9907 15.7334C37.6218 15.8522 37.2398 15.9071 36.8576 15.957C36.2619 16.0349 35.6651 16.105 35.0688 16.1781C34.9156 16.197 34.7623 16.2155 34.6089 16.2329C34.2835 16.2696 34.0132 16.1624 33.7946 15.9204C33.594 15.6982 33.4695 15.4333 33.3995 15.1485C33.2416 14.5072 33.2849 13.8797 33.5902 13.2852C33.67 13.1299 33.7725 12.9833 33.8828 12.8471C34.0892 12.5924 34.3576 12.4397 34.6911 12.4186C35.1864 12.3873 35.682 12.362 36.1768 12.3255C36.4678 12.3041 36.7598 12.2796 37.0474 12.2327C38.5336 11.9856 38.817 7.79603 36.8538 7.64797C36.5914 7.61881 36.3253 7.6202 36.0607 7.61551C34.9967 7.59688 33.9325 7.58116 32.8684 7.56455C32.8087 7.56366 32.7489 7.56443 32.674 7.56443Z",fill:"#c00"})})}function ed(e,t,n){let r=function(e){if(!e)return null;try{return new URL(e)}catch{return null}}(e);if(!r)return"";let i=e?r.href:"",o=e?r.host:"",a=e?r.pathname:"";return(t||n?`https://i.wpimg.pl/${t||""}x${n||""}/${o||""}${a||""}`:i)||""}function eu(e){let t=e.data,{hideLabel:n=!1,labelText:r,originalUrl:i,containerId:o,areaId:a,index:l}=t,c=function(e){try{let{hostname:t}=new URL(e);return t.replace(/^www\./,"").toUpperCase()}catch{return null}}(i??"");if(et(()=>{window.WP.push(()=>{u.current&&window.WP.pwp.registerBox(u.current,{url:window.location.href,type:"teaser",areaid:a,index:l,recommendationType:"big-data",target_url:u.current.href,img:u.current.querySelector(".exit-disco-teaser__photo").src},o,{time:1,percent:50})})},[]),!t.src||!t.url||!t.text)return null;let s=ed(t.src,597,316),d=window.WP.crux.mess(s),u=en(null),_=n?c:r;return q("a",{ref:u,className:"exit-disco-teaser__link",href:t.url,children:[q("figure",{className:"exit-disco-teaser__figure",children:q("img",{src:d,alt:t.text,className:"exit-disco-teaser__photo"})}),q("header",{className:"exit-disco-teaser__text",children:q("p",{className:"exit-disco-teaser__title",children:q("strong",{children:t.text})})}),q("footer",{children:_&&q("p",{className:"exit-disco-teaser__label",children:q("span",{children:_})})})]})}let e_=e=>Math.random().toString(36).substring(2,12),ep=e=>q("div",{className:"exit-disco-teaser",children:q(eu,{data:e})});function ef({slotNumber:e,areaId:t,containerId:n,index:r}){let i=en(null),o=e_();return et(()=>{i.current&&window.WP.gaf.registerSlot(e,i.current,{setNative:(e,o)=>{"teaser"===e.type&&i.current&&(i.current.innerHTML="",B(ep({areaId:t,containerId:n,index:r,...e}),i.current),null==o||o({el:i.current}))}})},[e,t,n,r]),q("div",{className:o,children:q("div",{ref:i})})}function eh(){return q("div",{className:"exit-disco-teaser__skeleton",children:[q("figure",{className:"exit-disco-teaser__figure",children:q("div",{className:"exit-disco-teaser__photo"})}),q("header",{className:"exit-disco-teaser__text",children:[q("p",{className:"exit-disco-teaser__title"}),q("p",{className:"exit-disco-teaser__title"})]})]})}let em=(e,t)=>{let n="click";function r(i){null===e||e===i.target||e.contains(i.target)||(t(),document.body.removeEventListener(n,r))}return document.addEventListener(n,r),()=>{document.removeEventListener(n,r)}},ew=()=>{document.documentElement.style.overflow="hidden"===document.documentElement.style.overflow?"":"hidden"};var eg=(e=>(e[e.SLOT_826=826]="SLOT_826",e[e.SLOT_827=827]="SLOT_827",e[e.SLOT_828=828]="SLOT_828",e[e.SLOT_829=829]="SLOT_829",e[e.SLOT_830=830]="SLOT_830",e[e.SLOT_831=831]="SLOT_831",e))(eg||{});let ev=[eg.SLOT_826,eg.SLOT_827,eg.SLOT_828,eg.SLOT_829,eg.SLOT_830,eg.SLOT_831];function ey(e){let{isLogged:t=!1,topOffset:n=0,bottomOffset:r=0,teasersAmount:i=6,withNativeSlots:o=[]}=e,a=en(null),l=en(null),c=en(null),s=en(null),d=en([]),[u,_]=ee(!0),p=ev.slice(0,i),f="scrolled-top",h="scrolled-bottom",m="exit-discover",w=!1,g=e=>{e&&e.target&&window.WP.push(()=>{window.WP.stat.wave("click",{type:"button",areaId:m,index:0,url:window.location.href,target_url:"close"})}),ew(),_(e=>!e)},v=()=>{var e;null==(e=l.current)||e.classList.add("exit-disco__drawer--roll-in")},y=()=>{e&&l.current&&a.current&&(a.current.style.bottom=r.toString()+"px",l.current.style.height=`calc(100% - ${r+n}px)`)},b=()=>{window.WP.push(()=>{"number"==typeof(w=window.WP.pwp.registerContainer({isLogged:t,url:window.location.href,type:"area",areaid:m,length:c.current?c.current.childElementCount:0}))&&x()})},C=()=>{let e=c.current,t=s.current;e&&t&&(0===e.scrollTop?t.classList.add(f):Math.round(e.scrollTop)===e.scrollHeight-e.clientHeight?t.classList.add(h):(t.classList.contains(f)&&t.classList.remove(f),t.classList.contains(h)&&t.classList.remove(h)))},x=()=>{p.forEach((e,t)=>{if(!o.includes(e)){let n=d.current[t];n&&window.WP.gaf.registerSlot(e,n,{setNative:(e,r)=>{"teaser"===e.type&&(n.innerHTML="",B(q(eu,{data:{areaId:m,containerId:w,index:t,...e}}),n),r&&r({el:n}))}})}})},E=()=>{a.current&&(u?a.current.classList.remove("exit-disco-hide"):a.current.classList.add("exit-disco-hide"))};return et(()=>{if(E(),u){ew(),y(),v(),b(),C();let e=l.current&&em(l.current,g);return()=>{e&&e()}}},[u]),q("div",{ref:a,className:"exit-disco",children:q("div",{ref:l,className:"exit-disco__drawer",children:[q("div",{className:"exit-disco__close",onClick:g,children:"✕"}),q("div",{className:"exit-disco__header",children:[q(es,{}),q("div",{className:"exit-disco__title",children:[q("h2",{children:"Nie przegap!"}),q("h2",{children:["Sprawdź materiały wybrane specjalnie"," ",q("span",{className:"exit-disco__highlight",children:"dla Ciebie"}),"."]})]})]}),q("div",{ref:s,className:"exit-disco__teasers-wrapper cHJldmVudENC",children:q("div",{ref:c,className:"exit-disco__teasers",onScroll:C,children:p.map((e,t)=>o.includes(e)?q(ef,{slotNumber:e,areaId:m,containerId:w,index:t},e):q("div",{className:"exit-disco-teaser",ref:e=>d.current[t]=e,children:q(eh,{})},e))})})]})})}function eb(){return q("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:[q("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.7",d:"M4.6665 8.6668 7.9998 12l3.3334-3.3333"}),q("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.7",d:"m4.6665 4 3.3333 3.3333L11.3332 4"})]})}function eC({currentReaders:n}){let{noun:r,verb:i}=function(n){let{noun:r,verb:i}=function(n){let r=n%10,i=n%100,o=e.Osob;r>=2&&r<=4&&!(i>=12&&i<=14)&&(o=e.Osoby);let a=o===e.Osoby?t.Czytaja:t.Czyta;return{noun:o,verb:a}}(n);return{noun:r,verb:i}}(n);return q("h2",{children:[q("span",{className:"exit-disco-top__title-readers",children:[n," ",r]}),i," \uD83D\uDC40"]})}function ex(e){let t=en(null),n=e.data,r=window.WP.crux.mess(ed(n.src??"",597,316));return et(()=>{window.WP.push(()=>{var e;t.current&&window.WP.pwp.registerBox(t.current,{url:window.location.href,type:"teaser",areaid:n.areaId,index:n.index,recommendationType:"big-data",target_url:t.current.href,img:null==(e=t.current.querySelector(".exit-disco-horizontal-teaser__photo"))?void 0:e.src},n.containerId,{time:1,percent:50})})},[]),n.src&&n.url&&n.text?q("a",{ref:t,className:"exit-disco-horizontal-teaser__link",href:n.url,children:[q("figure",{className:"exit-disco-horizontal-teaser__figure",children:q("img",{src:r,alt:n.text,className:"exit-disco-horizontal-teaser__photo"})}),q("header",{className:"exit-disco-horizontal-teaser__text",children:q("p",{className:"exit-disco-horizontal-teaser__title",children:q("strong",{children:n.text})})})]}):null}function eE(){return q("div",{className:"exit-disco-horizontal-teaser__skeleton",children:[q("figure",{className:"exit-disco-teaser__figure",children:q("div",{className:"exit-disco-teaser__photo"})}),q("header",{className:"exit-disco-teaser__text",children:[q("p",{className:"exit-disco-teaser__title"}),q("p",{className:"exit-disco-teaser__title"}),q("p",{className:"exit-disco-teaser__title"})]})]})}function eS(e,t){return e.current?Array.from(e.current.querySelectorAll("."+t)||[]):[]}function eN({containerRef:e,areaId:t,index:n,type:r,recommendationType:i,containerId:o,imgSelector:a,target_url:l,id:c}){et(()=>{"number"==typeof o&&e.current&&function({containerRef:e,areaId:t,index:n,type:r,recommendationType:i,containerId:o,imgSelector:a,target_url:l,id:c}){window.WP.push(()=>{var s,d;window.WP.pwp.registerBox(e.current,{url:window.location.href,type:r,areaid:t,index:n,recommendationType:i,target_url:l,id:c??"",img:a?null==(d=null==(s=e.current)?void 0:s.querySelector(a))?void 0:d.src:""},o,{time:1,percent:50})})}({containerRef:e,areaId:t,index:n,type:r,recommendationType:i,containerId:o,imgSelector:a,target_url:l,id:c})},[e.current])}!function(e){e.Osoby="osoby",e.Osob="os\xf3b"}(e||(e={})),function(e){e.Czyta="czyta teraz",e.Czytaja="czytają teraz"}(t||(t={}));let ek="exit-disco-teaser",eT="exit-discover",eA=[826,827,828,829,830,831];function eL(e){let{isLogged:t=!1,teasersAmount:n=6,currentReaders:r=0}=e,i=en(null),o=en(null),a=en(null),l=en(null),c=en(null),s=en(null),d=en(null),[u,_]=ee(!0),p=eA.slice(0,n),{setVabContainerId:f,registerSlotAtIndex:h,registerFirstTeaser:m,registerRemainingTeasers:w,vabContainerId:g}=function({containerRef:e,teasersRef:t,isLogged:n,vabAreaId:r,nativeContainerClass:i,trimmedSlots:o,NativeTeaser:a}){let l=en(new Set),c=!1;function s(e,t){if(l.current.has(e))return;let n=o[e];n&&(window.WP&&window.WP.gaf&&"function"==typeof window.WP.gaf.registerSlot&&window.WP.gaf.registerSlot(n,t,{setNative:(e,i)=>{"teaser"===e.type&&(t.innerHTML="",B(C(a,{data:{areaId:r,containerId:c,index:n,...e}}),t),i&&i({el:t}))}}),l.current.add(e))}return{setVabContainerId:()=>{window.WP.push(()=>{var t;let o=(null==(t=e.current)?void 0:t.querySelectorAll("."+i).length)||0;c=window.WP.pwp.registerContainer({isLogged:n,url:window.location.href,type:"area",areaid:r,length:o})})},registerSlotAtIndex:s,registerFirstTeaser:function(){let e=eS(t,i);e[0]&&s(0,e[0])},registerRemainingTeasers:function(e=!1){eS(t,i).slice(1).forEach((t,n)=>{let r=n+1;e&&!l.current.has(r)&&s(r,t)})},registered:l,vabContainerId:!1}}({containerRef:i,teasersRef:a,teasersWrapperRef:l,isLogged:t,vabAreaId:eT,nativeContainerClass:ek,trimmedSlots:p,NativeTeaser:ex});function v(){let e=c.current;e&&e.checked&&w(!0)}return eN({containerRef:d,areaId:"discover-more",index:0,type:"button",containerId:function({areaId:e,isLogged:t,length:n}){let[r,i]=ee(!1);return et(()=>{window.WP.push(()=>{let r=window.WP.pwp.registerContainer({isLogged:t,url:window.location.href,type:"area",areaid:e,length:n});i("number"==typeof r&&r)})},[e,t,n,r]),r}({areaId:"discover-more",isLogged:t,length:1}),target_url:"close",id:"more"}),eN({containerRef:s,areaId:eT,index:0,type:"button",containerId:g,target_url:"close",id:"close"}),et(()=>{if(i.current&&o.current&&(i.current.classList.toggle("exit-disco-hide",!u),o.current.classList.toggle("exit-disco-hide",!u)),!u)return;f(),m();let e=function(){if(!a.current)return;let e=a.current,t=new IntersectionObserver(n=>{n.forEach(n=>{if(n.isIntersecting){let r=n.target,i=Array.from(e.querySelectorAll("."+ek)).indexOf(r);i>=0&&(h(i,r),t.unobserve(r))}})},{root:e,threshold:.2});return e.querySelectorAll("."+ek).forEach(e=>t.observe(e)),()=>t.disconnect()}(),t=c.current;return null==t||t.addEventListener("change",v),()=>{null==t||t.removeEventListener("change",v),e&&e()}},[u]),q(E,{children:[q("div",{ref:o,className:"exit-disco-top-overlay"}),q("div",{ref:i,className:"exit-disco-top",children:[q("div",{className:"exit-disco-top__header",children:[q("div",{className:"exit-disco-top__title",children:r?q(eC,{currentReaders:r}):q("h2",{children:"Odkryj coś nowego! \uD83C\uDD95"})}),q("div",{ref:s,className:"exit-disco-top__close",onClick:function(e){e&&e.target&&window.WP.push(()=>{window.WP.stat.wave("click",{type:"button",areaId:eT,index:0,url:window.location.href,target_url:"close"})}),"hidden"===document.documentElement.style.overflow&&ew(),_(e=>!e)},children:"✕"})]}),q("input",{id:"exit-disco-top-toggle",className:"exit-disco-top__toggle",type:"checkbox",ref:c}),q("div",{ref:l,className:"exit-disco-top__teasers-wrapper cHJldmVudENC",children:q("div",{ref:a,className:"exit-disco-top__teasers exit-disco-top__teasers--collapsed",children:[p.length>0&&q("div",{className:ek,children:q(eE,{})},p[0]),p.length>1&&q("div",{className:"exit-disco-top__teasers-more",children:[r>0&&q("div",{className:"exit-disco-top__next-articles",children:q("div",{className:"exit-disco-top__title",children:q("h3",{children:"NASTĘPNE ARTYKUŁY"})})}),p.slice(1).map(e=>q("div",{className:ek,children:q(eE,{})},e))]})]})}),q("label",{className:"exit-disco-top__toggle-label",htmlFor:"exit-disco-top-toggle",ref:d,children:[q("span",{className:"exit-disco-top__toggle-icon",children:q(eb,{})}),"więcej artykuł\xf3w"]})]})]})}function eP(e,t,n="traffic"){if(window.location.hostname.includes("localhost")){console.log("SEND_WAVE => ",e,t,n);return}if("undefined"!=typeof window&&window.WP)try{window.WP.push(function(){window.WP.stat.wave(e,t,n)})}catch(e){console.error("WP_STAT_WAVE_ERROR: ",e)}}let eI=new Set,eO=new IntersectionObserver(function(e){e.forEach(e=>{if(e.isIntersecting){let t=e.target.getAttribute("data-uxc");t&&!eI.has(t)&&(eI.add(t),eP("evt_ux_consumption",{event:"view",pos:String(t)})),eO.unobserve(e.target)}})},{threshold:0,root:null});function eW(){try{let e=document.querySelectorAll("[data-video-config]");if(!e.length)return null;e.forEach(e=>{let t=JSON.parse(e.dataset.videoConfig||"");if(t.url){if(!window.WP)return(window.__wpsjqueue=window.__wpsjqueue||[]).push(eW);window.WP.push(()=>{!function(e){let t=window.WP.player.T;return t&&t.some(t=>!!t.p&&t.p.url===e)}(t.url)&&window.WP.player(t)})}})}catch(e){return console.log(e),null}}async function eR(e,t=!1){if(!e)return;let n=document.querySelector(".embed-vimeo"),r=n.dataset.url;try{let e=await fetch(`https://vimeo.com/api/oembed.json?url=${r}&responsive=true${t?"":"&autoplay=true&muted=true"}`),i=await e.json();n.innerHTML=i.html}catch(e){console.error(e)}}function eF(e,t,n={}){let r=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;n.expires&&(r+=`; expires=${n.expires.toUTCString()}`),n.domain&&(r+=`; domain=${n.domain}`),n.path&&(r+=`; path=${n.path}`),n.secure&&(r+="; secure"),n.sameSite&&(r+=`; samesite=${n.sameSite}`),document.cookie=r}let eB=e=>{eF("wp_dark",e?"0":"1",{expires:new Date(Date.now()+31536e6),domain:window.__INIT_CONFIG__.cookieDomain,path:"/",sameSite:"none",secure:!0})};function eH(e){let t=e.match(/-(\d+)[a-zA-Z]$/);return t?t[1]:null}let eq="recommendations-bottom-new";function eD(e,t){let n;return t in window.__GOFER_FACTORY__.userActions.containers?n=window.__GOFER_FACTORY__.userActions.containers[t]:(n=function(e,t){let n=window.__INIT_CONFIG__.isLoggedIn,r=window.location.href;return window.WP.pwp.registerContainer({type:"area",areaid:t,length:e,isLogged:n,url:r})}(e,t),window.__GOFER_FACTORY__.userActions.containers[t]=n),n}function eM(e,t,n=".wp-cockroach .wp-teaser",r=eq){try{let i=eD(e,r);document.querySelectorAll(n).forEach((e,n)=>{var o;let a=(null===(o=e.querySelector("img"))||void 0===o?void 0:o.src)||"",l={boxData:{type:"teaser",index:n,url:t,img:a,areaid:r,target_url:e.href,id:eH(e.href),recommendationType:null,yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(e,l.boxData,i,l.options)})}catch(e){console.log(e)}}function eU(){return/iPhone|iPad|iPod/i.test(navigator.userAgent)}let e$=null;function ej(){return document.body.classList.contains("wp-scroll-lock-ios")}function eG(){if(!eU()){document.body.classList.add("wp-scroll-lock");return}!ej()&&(e$=window.scrollY,document.body.classList.add("wp-scroll-lock-ios"),document.documentElement.style.setProperty("--wp-scroll-lock-ios",-1*e$+"px"))}function eV(){if(!eU()){document.body.classList.remove("wp-scroll-lock");return}ej()&&(document.body.classList.remove("wp-scroll-lock-ios"),document.documentElement.style.removeProperty("--wp-scroll-lock-ios"),"number"==typeof e$&&(window.scrollTo(0,e$),e$=null))}function eY(){let e=document.createElement("div");return e.className="h-0",e}function ez(e){return{get:(t,n)=>"push"===n?function(...n){return eK===e&&n.forEach(e=>"function"==typeof e&&e()),Array.prototype.push.apply(t,n)}:Reflect.get(t,n)}}let eJ=new Proxy([],ez("wide")),eQ=new Proxy([],ez("narrow")),eK=null;function eZ(e,t,n,r){if(r){e.forEach(e=>"function"==typeof e&&e());return}let i=window.innerWidth>=n?"wide":"narrow";eK!==i&&(eK=i,"wide"===i&&t.length&&t.forEach(e=>"function"==typeof e&&e()),"narrow"===i&&e.length&&e.forEach(e=>"function"==typeof e&&e()))}let eX={registerNative:function(e,t,n,r=eq){window.WP.push(()=>{try{let i=window.location.href,o=eD(n,r),a={boxData:{type:"teaser",index:t,url:i,areaid:r,target_url:e.dataNative.url,img:e.dataNative.src,recommendationType:"moth"===e.type?"big-data":"ad",yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(e.originalEl,a.boxData,o,a.options)}catch(e){console.error(e)}})},registerNativeIntextTeaser:function(e,t,n){window.WP.push(()=>{try{let r=window.location.href,i=window.__INIT_CONFIG__.isLoggedIn,o=window.WP.pwp.registerContainer({type:"area",areaid:"adspace-recommendation",length:n,isLogged:i,position:t,url:r}),a={type:"intextTeaser",index:"0",url:r,img:e.dataNative.src,areaid:"adspace-photorecommendation",target_url:e.dataNative.url,position:t,recommendationType:"big_data",yd:""};window.WP.pwp.registerBox(e.originalEl,a,o,{time:1,percent:50})}catch(e){console.error(e)}})},containers:{}};function e1(){let e=document.getElementById("wp-main-menu");if(!e)return;let t=e.getBoundingClientRect().height;t&&document.body.style.setProperty("--nav-header-height",t+17.5+"px")}let e0=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var e2="object"==typeof global&&global&&global.Object===Object&&global,e3="object"==typeof self&&self&&self.Object===Object&&self,e5=e2||e3||Function("return this")();let e6=function(){return e5.Date.now()};var e7=/\s/;let e9=function(e){for(var t=e.length;t--&&e7.test(e.charAt(t)););return t};var e4=/^\s+/,e8=e5.Symbol,te=Object.prototype,tt=te.hasOwnProperty,tn=te.toString,tr=e8?e8.toStringTag:void 0;let ti=function(e){var t=tt.call(e,tr),n=e[tr];try{e[tr]=void 0;var r=!0}catch(e){}var i=tn.call(e);return r&&(t?e[tr]=n:delete e[tr]),i};var to=Object.prototype.toString,ta=e8?e8.toStringTag:void 0;let tl=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ta&&ta in Object(e)?ti(e):to.call(e)},tc=function(e){return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==tl(e)};var ts=0/0,td=/^[-+]0x[0-9a-f]+$/i,tu=/^0b[01]+$/i,t_=/^0o[0-7]+$/i,tp=parseInt;let tf=function(e){if("number"==typeof e)return e;if(tc(e))return ts;if(e0(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=e0(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,e9(t)+1).replace(e4,""):t;var r=tu.test(e);return r||t_.test(e)?tp(e.slice(2),r?2:8):td.test(e)?ts:+e};var th=Math.max,tm=Math.min;let tw=function(e,t,n){var r,i,o,a,l,c,s=0,d=!1,u=!1,_=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(t){var n=r,o=i;return r=i=void 0,s=t,a=e.apply(o,n)}function f(e){var n=e-c,r=e-s;return void 0===c||n>=t||n<0||u&&r>=o}function h(){var e,n,r,i=e6();if(f(i))return m(i);l=setTimeout(h,(e=i-c,n=i-s,r=t-e,u?tm(r,o-n):r))}function m(e){return(l=void 0,_&&r)?p(e):(r=i=void 0,a)}function w(){var e,n=e6(),o=f(n);if(r=arguments,i=this,c=n,o){if(void 0===l)return s=e=c,l=setTimeout(h,t),d?p(e):a;if(u)return clearTimeout(l),l=setTimeout(h,t),p(c)}return void 0===l&&(l=setTimeout(h,t)),a}return t=tf(t)||0,e0(n)&&(d=!!n.leading,o=(u="maxWait"in n)?th(tf(n.maxWait)||0,t):o,_="trailing"in n?!!n.trailing:_),w.cancel=function(){void 0!==l&&clearTimeout(l),s=0,r=c=i=l=void 0},w.flush=function(){return void 0===l?a:m(e6())},w},tg=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return e0(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),tw(e,t,{leading:r,maxWait:t,trailing:i})};function tv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ty(e){if(!e)return null;try{return new URL(e)}catch(e){return null}}class tb extends Array{push(...e){let t=super.push(...e);return e.forEach(e=>{"function"==typeof this.handler&&this.handler(e)}),t}constructor(e){super(),tv(this,"handler",void 0),this.handler=e}}function tC(e,t){let n="social_tools";["top","bottom"].forEach(r=>{let i=document.querySelectorAll(`.wp-article-share-option[data-vab-container="${n}"][data-vab-position="${r}"], 
      .wp-article-action[data-vab-container="${n}"][data-vab-position="${r}"]`);i.length&&function(e,t,n,r,i){let o={type:"area",areaid:e,length:n.length,isLogged:r,url:i,position:t},a=window.WP.pwp.registerContainer(o);n.forEach(n=>{if(n.dataset.vabIndex){let o={type:"button",index:n.dataset.vabIndex,url:i,areaid:e,isLogged:r,id:n.dataset.vabBox,position:t};window.WP.pwp.registerBox(n,o,a)}})}(n,r,i,e,t)})}let{isMobile:tx}=window.__INIT_CONFIG__,tE={HEADER_HEIGHT:tx?56:80,XBAL_HEIGHT:46*!!document.getElementById("xbal"),SCROLL_DETECTION_THRESHOLD:1,SCROLL_STOP_CHECKS_REQUIRED:3,REPOSITION_THRESHOLD:50,SELECTOR:"comments-root"};function tS(e){let t=e.dataset.location;t&&e.addEventListener("click",e=>{if(t===`#${tE.SELECTOR}`){e.preventDefault(),window.history.replaceState(null,"",`#${tE.SELECTOR}`),function(){let e=document.getElementById(tE.SELECTOR);if(!e)return;tk(tN(e));let t=window.pageYOffset||document.documentElement.scrollTop,n=0,r=()=>{let i=window.pageYOffset||document.documentElement.scrollTop;if(Math.abs(i-t)>=tE.SCROLL_DETECTION_THRESHOLD){n=0,t=i,requestAnimationFrame(r);return}if(++n<tE.SCROLL_STOP_CHECKS_REQUIRED){t=i,requestAnimationFrame(r);return}let o=tN(e);Math.abs(i-o)>tE.REPOSITION_THRESHOLD&&tk(o,"instant")};requestAnimationFrame(r)}();return}window.location.assign(t)})}function tN(e){let t=e.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop;return Math.max(0,t.top+n-tE.HEADER_HEIGHT-tE.XBAL_HEIGHT)}function tk(e,t="smooth"){window.scrollTo({top:e,behavior:t})}function tT(e,t){let n="comments_more",r=".wp-article-comments-page-link",i=document.querySelector(`${r}[data-vab-container="${n}"]`);i&&(!function(e=".wp-article-action.comments[data-location]"){let t=document.querySelectorAll(e);t.length&&t.forEach(tS)}(`${r}[data-location]`),function(e,t,n,r){let i=window.WP.pwp.registerContainer({type:"area",areaid:e,length:1,isLogged:n,url:r}),o={type:"button",index:0,url:r,areaid:e,isLogged:n,id:t.dataset.vabBox};window.WP.pwp.registerBox(t,o,i)}(n,i,e,t))}function tA(e,t){try{let n=window.WP.pwp.registerContainer({type:"area",areaid:"service_header",length:1,isLogged:e,url:t}),r=document.getElementById("service_logo");if(!(r instanceof HTMLAnchorElement))return;let i={boxData:{type:"button",index:0,url:t,areaid:"service_header",target_url:r.href,id:"service_logo",yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(r,i.boxData,n,i.options)}catch(e){console.error(e)}}function tL(e){return(null==e?void 0:e.querySelector(".wp-button-prefix-hidden"))?"home_short":"home_expanded"}function tP({element:e,index:t,url:n,areaid:r,id:i,target_url:o,containerId:a,eventData:l}){let c={time:1,percent:50};l&&(c.eventData=l),window.WP.pwp.registerBox(e,{type:"button",index:t,url:n,areaid:r,id:i,yd:"",target_url:o},a,c)}function tI(e,t,n,r,i,o){var a;if("true"===e.dataset.registered)return;let l=e.querySelector("a");if(!l)return;let c=(null===(a=e.querySelector("img"))||void 0===a?void 0:a.src)||"";!function({element:e,index:t,url:n,areaid:r,linkHref:i,containerId:o,type:a,image:l}){window.WP.pwp.registerBox(e,{type:a,index:t,url:n,areaid:r,target_url:i,id:eH(i),img:l||""},o,{time:1,percent:50})}({element:e,index:t,url:n,areaid:r,linkHref:l.href,containerId:i,type:o,image:c}),e.dataset.registered="true"}function tO({panelElement:e,areaId:t,isLogged:n,currentUrl:r,withObserver:i,type:o}){if(!e)return;let a=e.querySelectorAll(".timeline-item").length,l=window.WP.pwp.registerContainer({type:"area",areaid:t,length:a,isLogged:n,url:r});"number"==typeof l&&i&&o&&function({panelElement:e,currentUrl:t,areaId:n,containerId:r,type:i}){new MutationObserver(()=>{let o=Array.from(e.querySelectorAll(".timeline-item"));o.forEach(e=>{if("true"===e.dataset.visible&&"true"!==e.dataset.registered){let a=o.indexOf(e);tI(e,a,t,n,r,i)}})}).observe(e,{childList:!0,attributes:!0,subtree:!0,attributeFilter:["class","data-visible"]});let o=Array.from(e.querySelectorAll(".panel-item"));o.forEach(e=>{if("true"===e.dataset.visible&&"true"!==e.dataset.registered){let a=o.indexOf(e);tI(e,a,t,n,r,i)}})}({panelElement:e,currentUrl:r,areaId:t,containerId:l,type:o})}function tW(e,t){let n=document.querySelectorAll(".wp-content-text-raw");n.length&&n.forEach(function(n){let r=n.querySelectorAll("a");if(!r.length)return;let i="content-text",o=n.getAttribute("data-cpidx"),a=window.WP.pwp.registerContainer({type:"area",areaid:i,length:r.length,isLogged:e,position:o,url:t});r.forEach((e,n)=>{window.WP.pwp.registerBox(e,{type:"textlink",index:n,url:t,areaid:i,target_url:e.href,id:eH(e.href),position:o},a,{time:1,percent:50})})})}function tR(e,t){let n=document.querySelectorAll(".wp-content-toc");n.length&&n.forEach(n=>{let r=n.querySelectorAll("a");if(!r.length)return;let i="article_shortcut",o=n.getAttribute("data-cpidx"),a=window.WP.pwp.registerContainer({type:"area",areaid:i,length:r.length,isLogged:e,position:o,url:t});r.forEach((e,n)=>{window.WP.pwp.registerBox(e,{type:"textlink",target_url:e.href,index:n,url:t,areaid:i},a,{time:1,percent:50})});let l=n.querySelectorAll(".trimbox-button");l.length&&l.forEach((e,t)=>{window.WP.pwp.registerBox(e,{type:"button",id:"expand",areaid:i,index:t},a,{time:1,percent:50})})})}function tF(e,t){let n=document.querySelectorAll(".wp-teaser-grid");n.length&&n.forEach(function(n){let r=n.querySelectorAll("a");if(!r.length)return;let i="recommendations-header",o=window.WP.pwp.registerContainer({type:"area",areaid:i,length:r.length,isLogged:e,url:t});r.forEach((e,n)=>{var r,a;let l=null!==(a=null===(r=e.querySelector("img"))||void 0===r?void 0:r.src)&&void 0!==a?a:"";window.WP.pwp.registerBox(e,{type:"teaser",index:n,url:t,img:l,areaid:i,target_url:e.href,id:eH(e.href)},o,{time:1,percent:50})})})}let tB=".wp-content-part-teaser",tH=".wp-content-part-multiteaser",tq=".wp-content-part-teaser-large";function tD(e,t,n){let r=document.querySelectorAll(e);r.length&&r.forEach(function(r){let i=r.querySelectorAll("a");if(!i.length)return;let o=e!==tq?"intext-recommendation":"intext-photorecommendation",a=r.getAttribute("data-cpidx"),l=window.WP.pwp.registerContainer({type:"area",areaid:o,length:i.length,isLogged:t,position:a,url:n});i.forEach((e,t)=>{var r,i;let c=null!==(i=null===(r=e.querySelector("img"))||void 0===r?void 0:r.src)&&void 0!==i?i:"";window.WP.pwp.registerBox(e,{type:"intextTeaser",index:t,url:n,img:c,areaid:o,target_url:e.href,id:eH(e.href),position:a},l,{time:1,percent:50})})})}let tM="newsletter";function tU(e,t){let n=document.querySelector(".wp-content-part-video"),r=document.querySelector(".wpplayer-placeholder");if(!n||!r)return;let i=n.getAttribute("data-type"),o=r.getAttribute("data-cpidx"),a=window.WP.pwp.registerContainer({type:"area",areaid:"video",length:1,isLogged:e,url:t,position:o}),l={boxData:{index:0,type:"button",url:t,areaid:"video",id:"video",yd:"",..."YOUTUBE"===i&&{recommendationType:i}},options:{time:1,percent:50}};window.WP.pwp.registerBox(r,l.boxData,a,l.options)}let{isMobile:t$,isLoggedIn:tj,showExitDiscover:tG,withNewestBottombar:tV,isExitDiscoverScrollTest:tY,currentReaders:tz}=window.__INIT_CONFIG__;window.NativeAdManager=new class{initAsyncQueue(){var e;(null===(e=window.asyncNativeQueue)||void 0===e?void 0:e.length)&&window.asyncNativeQueue.forEach(e=>{e.action&&e.payload&&this.handleAction(e)}),window.asyncNativeQueue=new tb(this.handleAction)}getElement(e){return document.querySelector(`.${e}`)}createNativeTeaser(e,t){let n=t.labelText||"REKLAMA",r=document.createElement("a"),i=document.createElement("div"),o=document.createElement("img"),a=document.createElement("span"),l=e.getAttribute("data-position");if(r.classList.add("wp-native-teaser-anchor"),r.setAttribute("href",t.url||""),i.classList.add("wp-native-img-container"),o.setAttribute("src",t.src||""),a.textContent=t.text||"",i.appendChild(o),r.appendChild(i),r.appendChild(a),e.appendChild(r),t.privacyIcon&&t.privacyLink){let n=document.createElement("a");n.classList.add("wp-native-privacy-anchor");let i=document.createElement("img");n.setAttribute("href",t.privacyLink),n.setAttribute("target","_blank"),n.setAttribute("rel","noopener noreferrer"),i.setAttribute("src",t.privacyIcon),n.appendChild(i),r.setAttribute("data-privacy","true"),e.appendChild(n)}let c={type:"native",dataNative:t,originalEl:r};if(!t.hideLabel)return r.classList.add("cHJldmVudENC"),r.setAttribute("data-before",n),c;let s=ty(t.originalUrl);if(s){let e=s.hostname.replace(/^www\./,"").toUpperCase();r.setAttribute("data-service",e);let t=l?parseInt(l):0;t>0&&r.setAttribute("data-st-clk",JSON.stringify({mth_type:"s",mth_index:t})),c.type="moth"}return c}createExitPopupNativeTeaser(e,t){let n=document.createElement("a"),r=document.createElement("div"),i=document.createElement("div"),o=document.createElement("img"),a=document.createElement("span"),l=document.createElement("span"),c=e.getAttribute("data-position");if(n.classList.add("wp-native-teaser-anchor"),n.setAttribute("href",t.url||""),r.classList.add("wp-native-teaser-content-container"),i.classList.add("wp-native-img-container"),o.setAttribute("src",t.src||""),a.textContent=t.text||"",a.classList.add("wp-native-teaser-text"),l.textContent="Zobacz cały artykuł",l.classList.add("wp-native-teaser-button"),i.appendChild(o),r.appendChild(i),r.appendChild(a),n.appendChild(r),n.appendChild(l),e.appendChild(n),t.privacyIcon&&t.privacyLink){let r=document.createElement("a");r.classList.add("wp-native-privacy-anchor");let i=document.createElement("img");r.setAttribute("href",t.privacyLink),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener noreferrer"),i.setAttribute("src",t.privacyIcon),r.appendChild(i),n.setAttribute("data-privacy","true"),e.appendChild(r)}let s={type:"native",dataNative:t,originalEl:n},d=ty(t.originalUrl);if(d){let e=d.hostname.replace(/^www\./,"").toUpperCase();n.setAttribute("data-service",e);let t=c?parseInt(c):0;t>0&&n.setAttribute("data-st-clk",JSON.stringify({mth_type:"s",mth_index:t})),s.type="moth"}return s}createBottombarPanelTeaser(e,t){let n=document.createElement("a");n.href=t.url||"",n.className="wp-timeline-teaser wp-timeline-teaser-horizontal";let r=e.getAttribute("data-position");if(t.src){let e=document.createElement("img");e.src=t.src,e.alt=t.text||"",e.className="timeline-teaser-image timeline-teaser-image-horizontal",n.appendChild(e)}let i=document.createElement("span");if(i.className="teaser-content teaser-content-horizontal",i.textContent=t.text||"",n.appendChild(i),e.appendChild(n),t.privacyIcon&&t.privacyLink){let r=document.createElement("a");r.classList.add("wp-native-privacy-anchor");let i=document.createElement("img");r.setAttribute("href",t.privacyLink),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener noreferrer"),i.setAttribute("src",t.privacyIcon),r.appendChild(i),n.setAttribute("data-privacy","true"),e.appendChild(r)}let o={type:"native",dataNative:t,originalEl:n},a=ty(t.originalUrl);if(a){let e=a.hostname.replace(/^www\./,"").toUpperCase();n.setAttribute("data-service",e);let t=r?parseInt(r):0;t>0&&n.setAttribute("data-st-clk",JSON.stringify({mth_type:"s",mth_index:t})),o.type="moth"}return o}updateTeaserVisibility(e,t){let n=this.getElement(e);n&&(n.style.display="hide"===t?"none":"inherit")}handleNativeTeaser(e){let t;let{dataNative:n,onViewCallback:r,teaserClassName:i,nativeSlotClassName:o,template:a}=e,l=this.getElement(o);if(!l)return null;switch(a){case"bottombar-panel":t=this.createBottombarPanelTeaser(l,n);break;case"exitpopup":t=this.createExitPopupNativeTeaser(l,n);break;default:t=this.createNativeTeaser(l,n)}return this.updateTeaserVisibility(i,"hide"),r({el:l}),t}handleNativeScreening(e,t){let n=this.getElement(e);return n?(t({el:n}),n):null}handleScreeningEndSection(e,t){let n=`${e}-observer`,r=document.getElementById(n);if(!r)return;let i=0;function o(){let e=r.getBoundingClientRect().top-t.getBoundingClientRect().top;i!==e&&(t.style.maxHeight=`${e}px`,i=e)}let a=tg(o,350);o(),window.addEventListener("scroll",()=>a(),{passive:!0})}handleGlobalScreeningClass(e){document.body.classList.add("fullServiceWallpaper"===e?"fullpage":"glopage")}constructor(e){tv(this,"options",void 0),tv(this,"handlers",void 0),tv(this,"handleAction",void 0),tv(this,"onTeaser",void 0),tv(this,"onAlternativeScreening",void 0),tv(this,"onFullpageScreening",void 0),tv(this,"onScreening",void 0),tv(this,"onPanelPremium",void 0),tv(this,"onSectionPremiumBranding",void 0),tv(this,"onLabelTarget",void 0),this.options=e,this.handleAction=e=>{"onTeaser"===e.action&&this.onTeaser(e.payload),"onScreening"===e.action&&this.onScreening(e.payload),"onAlternativeScreening"===e.action&&this.onAlternativeScreening(e.payload),"onFullpageScreening"===e.action&&this.onFullpageScreening(e.payload),"onPanelPremium"===e.action&&this.onPanelPremium(e.payload),"onLabelTarget"===e.action&&this.onLabelTarget(e.payload),"onSectionPremiumBranding"===e.action&&this.onSectionPremiumBranding(e.payload)},this.onTeaser=e=>{if(!e.dataNative)return;let{type:t}=e.dataNative,{teaserClassName:n,nativeSlotClassName:r,alternativeContainerClassName:i,dataNative:o,onViewCallback:a,template:l}=e;if("teaser"===t&&"function"==typeof e.onViewCallback){let t=this.handleNativeTeaser({dataNative:o,onViewCallback:a,teaserClassName:n,nativeSlotClassName:r,template:l});"function"==typeof e.onRenderCallback&&t&&e.onRenderCallback(t)}if("teaserHide"===t&&this.updateTeaserVisibility(n,"hide"),"teaserShow"===t&&this.updateTeaserVisibility(n,"show"),"alternativeSlot"===t&&"function"==typeof a){let e=this.getElement(i);if(!e)return;a({el:e})}},this.onAlternativeScreening=e=>{if(!e.dataNative||"function"!=typeof e.onViewCallback)return;let{screeningWallpaperClassName:t,alternativeContainerClassName:n,slotNumber:r,dataNative:i,onViewCallback:o}=e,{type:a}=i;if("alternativeSlot"===a){let e=this.getElement(n);if(!e)return;if(i.buildPlaceholder){var l,c;this.handlers.onRegisterPlaceholder(r,null!==(c=null==e?void 0:null===(l=e.parentNode)||void 0===l?void 0:l.parentNode)&&void 0!==c?c:null)}o({el:e})}"wallpaper"===a&&this.handleNativeScreening(t,o)},this.onFullpageScreening=e=>{if(e.dataNative&&"function"==typeof e.onViewCallback&&("wallpaper"===e.dataNative.type||"fullServiceWallpaper"===e.dataNative.type)){let t=this.handleNativeScreening(e.screeningWallpaperClassName,e.onViewCallback);if(this.handleGlobalScreeningClass(e.dataNative.type),t&&e.dataNative.endSection)this.handleScreeningEndSection(e.dataNative.endSection,t)}},this.onScreening=e=>{e.dataNative&&"function"==typeof e.onViewCallback&&"wallpaper"===e.dataNative.type&&this.handleNativeScreening(e.screeningWallpaperClassName,e.onViewCallback)},this.onPanelPremium=e=>{e.dataNative&&("wallpaper"===e.dataNative.type&&"function"==typeof e.onViewCallback&&this.handleNativeScreening(e.screeningWallpaperClassName,e.onViewCallback),"function"==typeof e.onRenderCallback&&e.onRenderCallback(e.dataNative))},this.onSectionPremiumBranding=e=>{if(e.dataNative&&"function"==typeof e.onViewCallback){if("sectionBranding"===e.dataNative.type){let t=document.querySelector(e.sectionSelector);t&&e.onViewCallback({el:t});return}this.onLabelTarget({targetId:e.targetId,dataNative:e.dataNative,onViewCallback:e.onViewCallback})}},this.onLabelTarget=e=>{if(!e.dataNative||"function"!=typeof e.onViewCallback||"labelTarget"!==e.dataNative.type)return;let t=document.getElementById(e.targetId);t&&e.onViewCallback({el:t})},this.handlers=e,this.initAsyncQueue()}}({onRegisterPlaceholder:(e,t,n)=>{try{"function"==typeof window.WP.gaf.registerPlaceholder&&window.WP.gaf.registerPlaceholder(e,t,n)}catch(e){console.error(e)}}}),function(e){var t,n;window.__GOFER_FACTORY__={},window.__GOFER_FACTORY__.onNarrow=eQ,window.__GOFER_FACTORY__.onWide=eJ,window.__GOFER_FACTORY__.createSlot=eY,window.__GOFER_FACTORY__.createPlaceholder=(t=window.__INIT_CONFIG__.randvar,n=window.__INIT_CONFIG__.randomClasses,function(e,r,i){let o=document.createElement("div");return o.classList.add(t||""),o.classList.add(n[e]||""),r&&o.classList.add(n.transparent||""),i&&o.classList.add(n.placeholderMargin||""),o}),window.__GOFER_FACTORY__.disableBodyScroll=eG,window.__GOFER_FACTORY__.clearBodyScroll=eV,window.__GOFER_FACTORY__.userActions=eX,eZ(window.__GOFER_FACTORY__.onNarrow,eJ,e.breakpointNarrow,e.isMobile),window.addEventListener("resize",()=>{eZ(window.__GOFER_FACTORY__.onNarrow,eJ,e.breakpointNarrow,e.isMobile)})}({breakpointNarrow:window.breakpointNarrow}),function(){let e=document.getElementById("darkModeCheckbox");e&&(`.${window.location.hostname}`!==window.__INIT_CONFIG__.cookieDomain&&eF("wp_dark","",{expires:new Date(0),domain:window.location.hostname,path:"/"}),e.addEventListener("click",()=>{let e=document.body.classList.contains("dark");document.body.classList.toggle("dark"),function(e){let t=document.querySelector('meta[name="logo"]');if(!t)return;let n=t.content;if(e)t.content=n.replace("logoDark.png","logo.png");else{let e=n.replace("logo.png","logoDark.png"),r=new Image;r.onload=()=>t.content=e,r.src=e}}(e),eB(e),function(e){try{window.WP.push(function(){window.WP.stat.setDarkMode(e)}),eP("evt_menu",{event:e?"darkmode_off":"darkmode_on"})}catch(e){console.error(e)}}(e)}))}(),function(){let e=document.getElementById("wp-content-drastic");e&&e.addEventListener("submit",function(t){t.preventDefault();let n=new FormData(e).get("dont_ask_again")?"dont_ask":"once";("dont_ask"===n||"once"===n)&&("dont_ask"===n&&function(e,t,n){let{expires:r=30}=n||{},i=new Date;i.setTime(i.getTime()+864e5*r);let o="expires="+i.toUTCString();document.cookie=e+"="+t+";"+o+";path=/"}("allowDrasticContent",n,{expires:30}),e.style.display="none",window.scrollTo(0,0))})}(),e1(),function(){let e=!1,t=document.querySelectorAll("[data-video-config]"),n=new IntersectionObserver(function(t){t.forEach(t=>{if(t.isIntersecting){if(e){n.unobserve(t.target);return}eW(),e=!0,n.unobserve(t.target)}})},{rootMargin:"100px 0px"});t.forEach(e=>{n.observe(e)})}(),function(e){let t=document.querySelectorAll(".wp-content-part-video");if(!t.length)return;let n=new IntersectionObserver(function(t){t.forEach(async t=>{if(t.isIntersecting){let r=t.target;switch(null==r?void 0:r.dataset.type){case"WIDEOWPPL":eW();break;case"VIMEO":await eR(r,e)}n.unobserve(t.target)}})},{threshold:0,rootMargin:"200px"});t.forEach(e=>n.observe(e))}(t$),e1(),function(){let e=document.querySelector(".wp-ticker-container");if(!e)return;let t=window.scrollY,n=0,r=function(e,t=200){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}(function(){let r=e.offsetHeight,i=window.scrollY,o=e.hasAttribute("data-ticker-hidden"),a=i>t,l=i<t,c=i-t;a&&c>2?n+=c:a||(n=0),a&&!o&&n>r?e.setAttribute("data-ticker-hidden","true"):l&&o&&e.removeAttribute("data-ticker-hidden"),t=i},100);window.addEventListener("scroll",r,{passive:!0})}();let tJ=window.location.href;function tQ(){let e=window.__INIT_CONFIG__.scriptSrc;if(!e)return;let t=document.createElement("script");t.src=e,t.defer=!0,document.body.appendChild(t)}eP("evt_ux_consumption",{event:"view",pos:"started"}),function(){let e=document.querySelectorAll("[data-uxc]");e.length&&e.forEach(e=>eO.observe(e))}(),function(e,t,n,r){window.WP.push(()=>{e?(tA(t,n),function(e,t){let n=document.getElementById("xbal");if(!n)return;let r=window.WP.pwp.registerContainer({type:"area",areaid:"xball",length:1,isLogged:e,url:t});window.WP.pwp.registerBox(n,{type:"button",url:t,index:0,areaid:"xball",target_url:"https://www.wp.pl?utm_source=xbalo2",id:"xball",yd:""},r,{time:1,percent:50})}(t,n),tD(tB,t,n),tD(tH,t,n),tD(tq,t,n),tU(t,n),tW(t,n),tR(t,n),tC(t,n),tT(t,n),eM(24,n),tF(t,n),r?function(e,t){let n=document.getElementById("wp-bottombar");if(!n)return;let r=document.getElementById("wp-bottombar-newest-panel"),i=document.getElementById("wp-bottombar-gallery-panel"),o=n.querySelectorAll("[data-vab-id]").length,a=window.WP.pwp.registerContainer({type:"area",areaid:"bottombar",length:o>0?o:1,isLogged:e,url:t},{eventData:function(){return{id:tL(n.querySelector("#wp-back-bottombar-button"))}}});"number"==typeof a&&(function({bottombar:e,currentUrl:t,containerId:n,eventData:r}){if(!e)return;let i=e.querySelector("#wp-back-bottombar-button");i&&function({backButton:e,currentUrl:t,containerId:n}){let r=e.querySelector("button"),i=null==r?void 0:r.getAttribute("data-link");tP({element:e,index:0,url:t,areaid:"bottombar",id:tL(e),target_url:i||"",containerId:n,eventData:function(){return{id:tL(e)}}})}({backButton:i,currentUrl:t,containerId:n}),Array.from(e.querySelectorAll("button.wp-bottombar-icon")).forEach((e,i)=>{let o=e.getAttribute("data-vab-id");o&&tP({element:e,index:i+1,url:t,areaid:"bottombar",id:o,containerId:n,eventData:r})});let o=e.querySelector("#wp-back-button-comments-gofer-open-form-trigger");o&&tP({element:o,index:1,url:t,areaid:"bottombar",id:"glo-comment",containerId:n})}({bottombar:n,currentUrl:t,containerId:a}),r&&tO({panelElement:r,areaId:"bottombar_news",isLogged:e,currentUrl:t,withObserver:!0,type:"textlink"}),i&&tO({panelElement:i,areaId:"bottombar_gallery",isLogged:e,currentUrl:t,withObserver:!0,type:"teaser"}))}(t,n):function(e,t){let n="bottombar",r=document.querySelectorAll(`[data-vab-container="${n}"]`);r.length&&function(e,t,n,r){let i={type:"area",areaid:e,length:t.length,isLogged:n,url:r},o=window.WP.pwp.registerContainer(i);t.forEach((t,i)=>{if(t){let a={type:"button",index:i,url:r,areaid:e,isLogged:n,id:t.dataset.vabBoxId,yd:""};window.WP.pwp.registerBox(t,a,o,{time:1,percent:50})}})}(n,r,e,t)}(t,n)):(tA(t,n),function(e,t){try{let n=window.WP.pwp.registerContainer({type:"area",areaid:"service_header_back",length:1,isLogged:e,url:t}),r=document.getElementById("wp-sg-back-button"),i={boxData:{type:"button",index:0,url:t,areaid:"service_header",target_url:"https://www.wp.pl/?src01=20804",id:"www.wp.pl",yd:""},options:{time:1,percent:50}};window.WP.pwp.registerBox(r,i.boxData,n,i.options)}catch(e){console.error(e)}}(t,n),tD(tB,t,n),tD(tH,t,n),tW(t,n),tR(t,n),tU(t,n),tC(t,n),tT(t,n),eM(12,n),tF(t,n)),function(e,t){let n=document.getElementById("wp-newsletter");if(!n)return;let r=window.WP.pwp.registerContainer({type:"area",areaid:tM,isLogged:e,url:t,length:1});window.WP.pwp.registerBox(n,{type:"button",url:t,areaid:tM,index:0,id:"subscribe",yd:""},r,{time:1,percent:50})}(t,n),eM(7,n,".wp-video-recommendations-teaser","recommendations-video")})}(t$,tj,tJ,tV),function(){let e=document.body;if("true"===e.getAttribute("data-wp-loaded")){tQ();return}let t=new MutationObserver(n=>{n.forEach(n=>{"data-wp-loaded"===n.attributeName&&"true"===e.getAttribute("data-wp-loaded")&&(tQ(),t.disconnect())})});t.observe(e,{attributes:!0,attributeFilter:["data-wp-loaded"]})}(),t$&&(tG||window.location.search.includes("force-exit-disco"))&&function(e){let{isLogged:t=!1,topOffset:n=0,bottomOffset:r=0,isClick:i=!1,isScroll:o=!1,scrollThreshold:a=1e3,teasersAmount:l=6,withNativeSlots:c=[],currentReaders:s=0}=e,d={current:null},u=!1,_=window.scrollY,p=!1,f=null,h=!1,m=!1,w=0,g=e=>{m=e.deltaY<0},v=e=>{e.touches&&e.touches.length&&(w=e.touches[0].clientY)},y=e=>{if(e.touches&&e.touches.length){let t=e.touches[0].clientY;m=t-w>2,w=t}},b=()=>{window.removeEventListener("scroll",A),window.removeEventListener("wheel",g),window.removeEventListener("touchstart",v),window.removeEventListener("touchmove",y)},C=()=>{let e=document.getElementById("top-sticky-container");return e||((e=document.createElement("div")).id="top-sticky-container",document.body.appendChild(e)),e},x=()=>{if(u)return;u=!0;let e=document.getElementById("bottom-sticky-container");e&&B(q(ey,{isLogged:t,topOffset:n,bottomOffset:r,teasersAmount:l,withNativeSlots:c}),e)},E=()=>{u||h||(f=C())&&(B(q(eL,{isLogged:t,topOffset:n,bottomOffset:r,teasersAmount:l,currentReaders:s}),f),requestAnimationFrame(()=>{f&&f.classList.add("exit-disco-top--visible")}),h=!0,u=!0)},S=()=>{let e=window.scrollY;!p&&e>=a&&(p=!0);let t=e<_;p&&!m&&t&&(m=!0),p&&m&&!h&&(E(),"hidden"!==document.documentElement.style.overflow&&ew(),b()),_=e,m=!1},N=()=>{"function"==typeof window.CloseWatcher&&null===d.current&&(d.current=new window.CloseWatcher,d.current&&(d.current.onclose=()=>{u||(window.WP.push(()=>{window.WP.stat.wave("evt_start_close_watcher",{state:"back_button",event:"click",area:"close_watcher"})}),x(),u=!0)}))},k=()=>{new URLSearchParams(window.location.search).get("force-exit-disco")&&(window.WP.push(()=>{window.WP.stat.wave("evt_start_close_watcher",{state:"back_button",event:"click",area:"close_watcher"})}),x())},T=!1,A=()=>{T||(window.requestAnimationFrame(()=>{S(),T=!1}),T=!0)},L="function"==typeof window.CloseWatcher;(()=>{let[e]=window.performance.getEntriesByType("navigation")??[];k(),e&&"back_forward"!==e.type&&(L?i&&N():o&&(window.addEventListener("scroll",A),window.addEventListener("wheel",g,{passive:!0}),window.addEventListener("touchstart",v,{passive:!0}),window.addEventListener("touchmove",y,{passive:!0})))})()}(tY?{isLogged:tj,topOffset:116,bottomOffset:20,isScroll:!0,teasersAmount:6,scrollThreshold:1e3,currentReaders:tz>0?tz:0}:{isLogged:tj,topOffset:116,bottomOffset:20,isClick:!0,teasersAmount:6,scrollThreshold:1e3})})();