1import{a as e,i as t,t as n}from"./form-BPR4wtbo.js";var r=`.upscore-paywall`,i;function a(){if(i)return i;let e=[...document.styleSheets].find(e=>e.href?.includes(`/build/assets/site-`));if(!e)return null;try{let t=[...e.cssRules].map(e=>e.cssText).join(` 2`),n=new CSSStyleSheet;n.replaceSync(t);let r=new CSSStyleSheet;r.replaceSync(`:host { font-family: inherit; line-height: inherit }`),i=[n,r]}catch(e){return console.warn(e),null}return i}function o(e){let t=a();!t||e.adoptedStyleSheets.includes(t[0])||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t])}function s(e,t=60){e.shadowRoot?o(e.shadowRoot):t>0&&requestAnimationFrame(()=>s(e,t-1))}function c(e){e.nodeType===Node.ELEMENT_NODE&&(e.matches(r)&&s(e),e.querySelectorAll?.(r).forEach(e=>s(e)))}var l=()=>({init(){this.$el.querySelectorAll(r).forEach(e=>s(e)),this.paywallObserver=new MutationObserver(e=>{for(let t of e)t.addedNodes.forEach(c)}),this.paywallObserver.observe(this.$el,{childList:!0,subtree:!0})},destroy(){this.paywallObserver?.disconnect()},shuffleBardSetsOfType(e){let t=this.$refs.article.querySelectorAll(`[data-type="${e}"]`),n=t[0].parentNode;t.forEach(e=>e.remove()),Array.from(t).map(e=>({value:e,sort:Math.random()})).sort((e,t)=>e.sort-t.sort).map(({value:e})=>e).forEach(e=>n.appendChild(e))}}),u=()=>({showNavigation:!1,isCurrentlyScrollingUp:!1,scrollPosition:document.documentElement.scrollTop,init(){document.addEventListener(`scroll`,this.onScroll.bind(this))},toggleNavigation(){this.showNavigation=!this.showNavigation},onScroll(){this.isCurrentlyScrollingUp=this.scrollPosition>document.documentElement.scrollTop,this.scrollPosition=document.documentElement.scrollTop}});function d(e){return typeof e==`number`}function f(e){return typeof e==`string`}function p(e){return typeof e==`boolean`}function m(e){return Object.prototype.toString.call(e)===`[object Object]`}function h(e){return Math.abs(e)}function g(e){return Math.sign(e)}function _(e,t){return h(e-t)}function v(e,t){return e===0||t===0||h(e)<=h(t)?0:h(_(h(e),h(t))/e)}function y(e){return Math.round(e*100)/100}function b(e){return T(e).map(Number)}function x(e){return e[S(e)]}function S(e){return Math.max(0,e.length-1)}function C(e,t){return t===S(e)}function w(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function T(e){return Object.keys(e)}function E(e,t){return[e,t].reduce((e,t)=>(T(t).forEach(n=>{let r=e[n],i=t[n];e[n]=m(r)&&m(i)?E(r,i):i}),e),{})}function D(e,t){return t.MouseEvent!==void 0&&e instanceof t.MouseEvent}function O(e,t){let n={start:r,center:i,end:a};function r(){return 0}function i(e){return a(e)/2}function a(e){return t-e}function o(r,i){return f(e)?n[e](r):e(t,r,i)}return{measure:o}}function k(){let e=[];function t(t,n,i,a={passive:!0}){let o;if(`addEventListener`in t)t.addEventListener(n,i,a),o=()=>t.removeEventListener(n,i,a);else{let e=t;e.addListener(i),o=()=>e.removeListener(i)}return e.push(o),r}function n(){e=e.filter(e=>e())}let r={add:t,clear:n};return r}function A(e,t,n,r){let i=k(),a=1e3/60,o=null,s=0,c=0;function l(){i.add(e,`visibilitychange`,()=>{e.hidden&&m()})}function u(){p(),i.clear()}function d(e){if(!c)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=a;)n(),s-=a;r(s/a),c&&=t.requestAnimationFrame(d)}function f(){c||=t.requestAnimationFrame(d)}function p(){t.cancelAnimationFrame(c),o=null,s=0,c=0}function m(){o=null,s=0}return{init:l,destroy:u,start:f,stop:p,update:n,render:r}}function j(e,t){let n=t===`rtl`,r=e===`y`,i=r?`y`:`x`,a=r?`x`:`y`,o=!r&&n?-1:1,s=u(),c=d();function l(e){let{height:t,width:n}=e;return r?t:n}function u(){return r?`top`:n?`right`:`left`}function d(){return r?`bottom`:n?`left`:`right`}function f(e){return e*o}return{scroll:i,cross:a,startEdge:s,endEdge:c,measureSize:l,direction:f}}function M(e=0,t=0){let n=h(e-t);function r(t){return t<e}function i(e){return e>t}function a(e){return r(e)||i(e)}function o(n){return a(n)?r(n)?e:t:n}function s(e){return n?e-n*Math.ceil((e-t)/n):e}return{length:n,max:t,min:e,constrain:o,reachedAny:a,reachedMax:i,reachedMin:r,removeOffset:s}}function N(e,t,n){let{constrain:r}=M(0,e),i=e+1,a=o(t);function o(e){return n?h((i+e)%i):r(e)}function s(){return a}function c(e){return a=o(e),d}function l(e){return u().set(s()+e)}function u(){return N(e,s(),n)}let d={get:s,set:c,add:l,clone:u};return d}function ee(e,t,n,r,i,a,o,s,c,l,u,d,f,m,y,b,x,S,C){let{cross:w,direction:T}=e,E=[`INPUT`,`SELECT`,`TEXTAREA`],O={passive:!1},A=k(),j=k(),N=M(50,225).constrain(m.measure(20)),ee={mouse:300,touch:400},te={mouse:500,touch:600},ne=y?43:25,re=!1,ie=0,P=0,F=!1,I=!1,L=!1,R=!1;function ae(e){if(!C)return;function n(t){(p(C)||C(e,t))&&B(t)}let r=t;A.add(r,`dragstart`,e=>e.preventDefault(),O).add(r,`touchmove`,()=>void 0,O).add(r,`touchend`,()=>void 0).add(r,`touchstart`,n).add(r,`mousedown`,n).add(r,`touchcancel`,V).add(r,`contextmenu`,V).add(r,`click`,de,!0)}function oe(){A.clear(),j.clear()}function se(){let e=R?n:t;j.add(e,`touchmove`,ue,O).add(e,`touchend`,V).add(e,`mousemove`,ue,O).add(e,`mouseup`,V)}function ce(e){let t=e.nodeName||``;return E.includes(t)}function z(){return(y?te:ee)[R?`mouse`:`touch`]}function le(e,t){let n=d.add(g(e)*-1),r=u.byDistance(e,!y).distance;return y||h(e)<N?r:x&&t?r*.5:u.byIndex(n.get(),0).distance}function B(e){let t=D(e,r);R=t,L=y&&t&&!e.buttons&&re,re=_(i.get(),o.get())>=2,!(t&&e.button!==0)&&(ce(e.target)||(F=!0,a.pointerDown(e),l.useFriction(0).useDuration(0),i.set(o),se(),ie=a.readPoint(e),P=a.readPoint(e,w),f.emit(`pointerDown`)))}function ue(e){if(!D(e,r)&&e.touches.length>=2)return V(e);let t=a.readPoint(e),n=a.readPoint(e,w),o=_(t,ie),c=_(n,P);if(!I&&!R&&(!e.cancelable||(I=o>c,!I)))return V(e);let u=a.pointerMove(e);o>b&&(L=!0),l.useFriction(.3).useDuration(.75),s.start(),i.add(T(u)),e.preventDefault()}function V(e){let t=u.byDistance(0,!1).index!==d.get(),n=a.pointerUp(e)*z(),r=le(T(n),t),i=v(n,r),o=ne-10*i,s=S+i/50;I=!1,F=!1,j.clear(),l.useDuration(o).useFriction(s),c.distance(r,!y),R=!1,f.emit(`pointerUp`)}function de(e){L&&=(e.stopPropagation(),e.preventDefault(),!1)}function fe(){return F}return{init:ae,destroy:oe,pointerDown:fe}}function te(e,t){let n,r;function i(e){return e.timeStamp}function a(n,r){let i=`client${(r||e.scroll)===`x`?`X`:`Y`}`;return(D(n,t)?n:n.touches[0])[i]}function o(e){return n=e,r=e,a(e)}function s(e){let t=a(e)-a(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t}function c(e){if(!n||!r)return 0;let t=a(r)-a(n),o=i(e)-i(n),s=i(e)-i(r)>170,c=t/o;return o&&!s&&h(c)>.1?c:0}return{pointerDown:o,pointerMove:s,pointerUp:c,readPoint:a}}function ne(){function e(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}return{measure:e}}function re(e){function t(t){return t/100*e}return{measure:t}}function ie(e,t,n,r,i,a,o){let s=[e].concat(r),c,l,u=[],d=!1;function f(e){return i.measureSize(o.measure(e))}function m(i){if(!a)return;l=f(e),u=r.map(f);function o(n){for(let a of n){if(d)return;let n=a.target===e,o=r.indexOf(a.target),s=n?l:u[o];if(h(f(n?e:r[o])-s)>=.5){i.reInit(),t.emit(`resize`);break}}}c=new ResizeObserver(e=>{(p(a)||a(i,e))&&o(e)}),n.requestAnimationFrame(()=>
2{s.forEach(e=>c.observe(e))})}function g(){d=!0,c&&c.disconnect()}return{init:m,destroy:g}}function P(e,t,n,r,i,a){let o=0,s=0,c=i,l=a,u=e.get(),d=0;function f(){let t=r.get()-e.get(),i=!c,a=0;return i?(o=0,n.set(r),e.set(r),a=t):(n.set(e),o+=t/c,o*=l,u+=o,e.add(o),a=u-d),s=g(a),d=u,C}function p(){return h(r.get()-t.get())<.001}function m(){return c}function _(){return s}function v(){return o}function y(){return x(i)}function b(){return S(a)}function x(e){return c=e,C}function S(e){return l=e,C}let C={direction:_,duration:m,velocity:v,seek:f,settled:p,useBaseFriction:b,useBaseDuration:y,useFriction:S,useDuration:x};return C}function F(e,t,n,r,i){let a=i.measure(10),o=i.measure(50),s=M(.1,.99),c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(i){if(!l())return;let c=h(e[e.reachedMin(t.get())?`min`:`max`]-t.get()),u=n.get()-t.get(),d=s.constrain(c/o);n.subtract(u*d),!i&&h(u)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(e){c=!e}return{shouldConstrain:l,constrain:u,toggleActive:d}}function I(e,t,n,r,i){let a=M(-t+e,0),o=d(),s=u(),c=f();function l(e,t){return _(e,t)<=1}function u(){let e=o[0],t=x(o);return M(o.lastIndexOf(e),o.indexOf(t)+1)}function d(){return n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),s=!t,c=C(n,t);return s?i:c||l(r,o)?r:l(i,o)?i:o}).map(e=>parseFloat(e.toFixed(3)))}function f(){if(t<=e+i)return[a.max];if(r===`keepSnaps`)return o;let{min:n,max:c}=s;return o.slice(n,c)}return{snapsContained:c,scrollContainLimit:s}}function L(e,t,n){let r=t[0];return{limit:M(n?r-e:x(t),r)}}function R(e,t,n,r){let i=.1,{reachedMin:a,reachedMax:o}=M(t.min+i,t.max+i);function s(e){return e===1?o(n.get()):e===-1?a(n.get()):!1}function c(t){if(!s(t))return;let n=t*-1*e;r.forEach(e=>e.add(n))}return{loop:c}}function ae(e){let{max:t,length:n}=e;function r(e){let r=e-t;return n?r/-n:0}return{get:r}}function oe(e,t,n,r,i){let{startEdge:a,endEdge:o}=e,{groupSlides:s}=i,c=d().map(t.measure),l=f(),u=p();function d(){return s(r).map(e=>x(e)[o]-e[0][a]).map(h)}function f(){return r.map(e=>n[a]-e[a]).map(e=>-h(e))}function p(){return s(l).map(e=>e[0]).map((e,t)=>e+c[t])}return{snaps:l,snapsAligned:u}}function se(e,t,n,r,i,a){let{groupSlides:o}=i,{min:s,max:c}=r,l=u();function u(){let r=o(a),i=!e||t===`keepSnaps`;return n.length===1?[a]:i?r:r.slice(s,c).map((e,t,n)=>{let r=!t,i=C(n,t);return r?w(x(n[0])+1):i?w(S(a)-x(n)[0]+1,x(n)[0]):e})}return{slideRegistry:l}}function ce(e,t,n,r,i){let{reachedAny:a,removeOffset:o,constrain:s}=r;function c(e){return e.concat().sort((e,t)=>h(e)-h(t))[0]}function l(n){let r=e?o(n):s(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>h(e.diff)-h(t.diff))[0];return{index:i,distance:r}}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);let a=i.filter(e=>g(e)===r);return a.length?c(a):x(i)-n}function d(e,n){return{index:e,distance:u(t[e]-i.get(),n)}}function f(n,r){let o=i.get()+n,{index:s,distance:c}=l(o),d=!e&&a(o);return!r||d?{index:s,distance:n}:{index:s,distance:n+u(t[s]-c,0)}}return{byDistance:f,byIndex:d,shortcut:u}}function z(e,t,n,r,i,a,o){function s(i){let s=i.distance,c=i.index!==t.get();
2a.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),o.emit(`select`))}function c(e,t){s(i.byDistance(e,t))}function l(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}return{distance:c,index:l}}function le(e,t,n,r,i,a,o,s){let c={passive:!0,capture:!0},l=0;function u(u){if(!s)return;function m(t){if(new Date().getTime()-l>10)return;o.emit(`slideFocusStart`),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));d(a)&&(i.useDuration(0),r.index(a,0),o.emit(`slideFocus`))}a.add(document,`keydown`,f,!1),t.forEach((e,t)=>{a.add(e,`focus`,e=>{(p(s)||s(u,e))&&m(t)},c)})}function f(e){e.code===`Tab`&&(l=new Date().getTime())}return{init:u}}function B(e){let t=e;function n(){return t}function r(e){t=o(e)}function i(e){t+=o(e)}function a(e){t-=o(e)}function o(e){return d(e)?e:e.get()}return{get:n,set:r,add:i,subtract:a}}function ue(e,t){let n=e.scroll===`x`?o:s,r=t.style,i=null,a=!1;function o(e){return`translate3d(${e}px,0px,0px)`}function s(e){return`translate3d(0px,${e}px,0px)`}function c(t){if(a)return;let o=y(e.direction(t));o!==i&&(r.transform=n(o),i=o)}function l(e){a=!e}function u(){a||(r.transform=``,t.getAttribute(`style`)||t.removeAttribute(`style`))}return{clear:u,to:c,toggleActive:l}}function V(e,t,n,r,i,a,o,s,c){let l=.5,u=b(i),d=b(i).reverse(),f=_().concat(v());function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(e){return a.map((n,i)=>({start:n-r[i]+l+e,end:n+t-l+e}))}function g(t,r,i){let a=h(r);return t.map(t=>{let r=i?0:-n,o=i?n:0,l=i?`end`:`start`,u=a[t][l];return{index:t,loopPoint:u,slideLocation:B(-1),translate:ue(e,c[t]),target:()=>s.get()>u?r:o}})}function _(){let e=o[0];return g(m(d,e),n,!1)}function v(){return g(m(u,t-o[0]-1),-n,!0)}function y(){return f.every(({index:e})=>p(u.filter(t=>t!==e),t)<=.1)}function x(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})}function S(){f.forEach(e=>e.translate.clear())}return{canLoop:y,clear:S,loop:x,loopPoints:f}}function de(e,t,n){let r,i=!1;function a(a){if(!n)return;function o(e){for(let n of e)if(n.type===`childList`){a.reInit(),t.emit(`slidesChanged`);break}}r=new MutationObserver(e=>{i||(p(n)||n(a,e))&&o(e)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),i=!0}return{init:a,destroy:o}}function fe(e,t,n,r){let i={},a=null,o=null,s,c=!1;function l(){s=new IntersectionObserver(e=>{c||(e.forEach(e=>{let n=t.indexOf(e.target);i[n]=e}),a=null,o=null,n.emit(`slidesInView`))},{root:e.parentElement,threshold:r}),t.forEach(e=>s.observe(e))}function u(){s&&s.disconnect(),c=!0}function d(e){return T(i).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:a}=i[r];
2return(e&&a||!e&&!a)&&t.push(r),t},[])}function f(e=!0){if(e&&a)return a;if(!e&&o)return o;let t=d(e);return e&&(a=t),e||(o=t),t}return{init:l,destroy:u,get:f}}function pe(e,t,n,r,i,a){let{measureSize:o,startEdge:s,endEdge:c}=e,l=n[0]&&i,u=m(),d=g(),f=n.map(o),p=_();function m(){if(!l)return 0;let e=n[0];return h(t[s]-e[s])}function g(){if(!l)return 0;let e=a.getComputedStyle(x(r));return parseFloat(e.getPropertyValue(`margin-${c}`))}function _(){return n.map((e,t,n)=>{let r=!t,i=C(n,t);return r?f[t]+u:i?f[t]+d:n[t+1][s]-e[s]}).map(h)}return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}function me(e,t,n,r,i,a,o,s,c){let{startEdge:l,endEdge:u,direction:f}=e,p=d(n);function m(e,t){return b(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}function g(e){return e.length?b(e).reduce((n,d,p)=>{let m=x(n)||0,g=m===0,_=d===S(e),v=i[l]-a[m][l],y=i[l]-a[d][u],b=!r&&g?f(o):0,C=h(y-(!r&&_?f(s):0)-(v+b));return p&&C>t+c&&n.push(d),_&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}function _(e){return p?m(e,n):g(e)}return{groupSlides:_}}function H(e,t,n,r,i,a,o){let{align:s,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:m,inViewThreshold:h,slidesToScroll:g,skipSnaps:_,containScroll:v,watchResize:y,watchSlides:C,watchDrag:w,watchFocus:T}=a,E=ne(),D=E.measure(t),M=n.map(E.measure),H=j(c,l),U=H.measureSize(D),he=re(U),ge=O(s,U),_e=!d&&!!v,{slideSizes:W,slideSizesWithGaps:G,startGap:ve,endGap:ye}=pe(H,D,M,n,d||!!v,i),be=me(H,U,g,d,D,M,ve,ye,2),{snaps:xe,snapsAligned:Se}=oe(H,ge,D,M,be),K=-x(xe)+x(G),{snapsContained:Ce,scrollContainLimit:q}=I(U,K,Se,v,2),J=_e?Ce:Se,{limit:Y}=L(K,J,d),X=N(S(J),u,d),we=X.clone(),Te=b(n),Ee=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},De=({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:s,animation:c,eventHandler:l,scrollBounds:u,options:{loop:d}},f)=>{let p=e.settled(),m=!u.shouldConstrain(),h=d?p:p&&m,g=h&&!s.pointerDown();g&&c.stop();let _=n.get()*f+i.get()*(1-f);r.set(_),d&&(a.loop(e.direction()),o.loop()),t.to(r.get()),g&&l.emit(`settle`),h||l.emit(`scroll`)},Oe=A(r,i,()=>Ee(Be),e=>De(Be,e)),ke=.68,Ae=J[X.get()],je=B(Ae),Me=B(Ae),Z=B(Ae),Q=B(Ae),$=P(je,Z,Me,Q,f,ke),Ne=ce(d,J,K,Y,Q),Pe=z(Oe,X,we,$,Ne,Q,o),Fe=ae(Y),Ie=k(),Le=fe(t,n,o,h),{slideRegistry:Re}=se(_e,v,J,q,be,Te),ze=le(e,n,Re,Pe,$,Ie,o,T),Be={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:D,slideRects:M,animation:Oe,axis:H,dragHandler:ee(H,e,r,i,Q,te(H,i),je,Oe,Pe,$,Ne,X,o,he,p,m,_,ke,w),eventStore:Ie,percentOfView:he,index:X,indexPrevious:we,limit:Y,location:je,offsetLocation:Z,previousLocation:Me,options:a,resizeHandler:ie(t,o,i,n,H,y,E),scrollBody:$,scrollBounds:F(Y,Z,Q,$,he),scrollLooper:R(K,Y,Z,[je,Z,Me,Q]),scrollProgress:Fe,scrollSnapList:J.map(Fe.get),scrollSnaps:J,scrollTarget:Ne,scrollTo:Pe,slideLooper:V(H,U,K,W,G,xe,J,Z,n),slideFocus:ze,slidesHandler:de(t,o,C),slidesInView:Le,slideIndexes:Te,slideRegistry:Re,slidesToScroll:be,target:Q,translate:ue(H,t)};return Be}function U(){let e={},t;function n(e){t=e}function r(t){return e[t]||[]}function i(e){return r(e).forEach(n=>n(t,e)),c}function a(t,n){return e[t]=r(t).concat([n]),c}function o(t,n){return e[t]=r(t).filter(e=>e!==n),c}function s(){e={}}let c={init:n,emit:i,off:o,on:a,clear:s};return c}var he={align:`center`,axis:`x`,container:null,slides:null,containScroll:`trimSnaps`,direction:`ltr`,slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function ge(e){function t(e,t){return E(e,t||{})}function n(n){let r=n.breakpoints||{};return t(n,T(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{}))}function r(t){return t.map(e=>T(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function _e(e){let t=[];function n(n,r){return t=r.filter(({options:t})=>e.optionsAtMedia(t).active!==!1),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>
2Object.assign(e,{[t.name]:t}),{})}function r(){t=t.filter(e=>e.destroy())}return{init:n,destroy:r}}function W(e,t,n){let r=e.ownerDocument,i=r.defaultView,a=ge(i),o=_e(a),s=k(),c=U(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=a,{on:p,off:m,emit:h}=c,g=O,_=!1,v,y=l(he,W.globalOptions),b=l(y),x=[],S,C,w;function T(){let{container:t,slides:n}=b;C=(f(t)?e.querySelector(t):t)||e.children[0];let r=f(n)?C.querySelectorAll(n):n;w=[].slice.call(r||C.children)}function E(t){let n=H(e,C,w,r,i,t,c);return t.loop&&!n.slideLooper.canLoop()?E(Object.assign({},t,{loop:!1})):n}function D(e,t){_||(y=l(y,e),b=u(y),x=t||x,T(),v=E(b),d([y,...x.map(({options:e})=>e)]).forEach(e=>s.add(e,`change`,O)),b.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(z),v.eventHandler.init(z),v.resizeHandler.init(z),v.slidesHandler.init(z),v.options.loop&&v.slideLooper.loop(),C.offsetParent&&w.length&&v.dragHandler.init(z),S=o.init(z,x)))}function O(e,t){let n=P();A(),D(l({startIndex:n},e),t),c.emit(`reInit`)}function A(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),o.destroy(),s.clear()}function j(){_||(_=!0,s.clear(),A(),c.emit(`destroy`),c.clear())}function M(e,t,n){!b.active||_||(v.scrollBody.useBaseFriction().useDuration(t===!0?0:b.duration),v.scrollTo.index(e,n||0))}function N(e){M(v.index.add(1).get(),e,-1)}function ee(e){M(v.index.add(-1).get(),e,1)}function te(){return v.index.add(1).get()!==P()}function ne(){return v.index.add(-1).get()!==P()}function re(){return v.scrollSnapList}function ie(){return v.scrollProgress.get(v.offsetLocation.get())}function P(){return v.index.get()}function F(){return v.indexPrevious.get()}function I(){return v.slidesInView.get()}function L(){return v.slidesInView.get(!1)}function R(){return S}function ae(){return v}function oe(){return e}function se(){return C}function ce(){return w}let z={canScrollNext:te,canScrollPrev:ne,containerNode:se,internalEngine:ae,destroy:j,off:m,on:p,emit:h,plugins:R,previousScrollSnap:F,reInit:g,rootNode:oe,scrollNext:N,scrollPrev:ee,scrollProgress:ie,scrollSnapList:re,scrollTo:M,selectedScrollSnap:P,slideNodes:ce,slidesInView:I,slidesNotInView:L};return D(t,n),setTimeout(()=>c.emit(`init`),0),z}W.globalOptions=void 0;function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(this,arguments)}var ve=.996,ye=function(e,t){return t===void 0&&(t=ve),e*t/(1-t)};function be(e){return e[e.length-1]}function xe(e){return e.reduce(function(e,t){return e+t})/e.length}var Se=function(e,t,n){return Math.min(Math.max(t,e),n)};function K(e,t){if(e.length!==t.length)throw Error(`vectors must be same length`);return e.map(function(e,n){return e+t[n]})}function Ce(e){return Math.max.apply(Math,e.map(Math.abs))}function q(e){return Object.freeze(e),Object.values(e).forEach(function(e){typeof e==`object`&&e&&!Object.isFrozen(e)&&q(e)}),e}function J(){var e={};function t(t,r){return e[t]=(e[t]||[]).concat(r),function(){return n(t,r)}}function n(t,n){e[t]=(e[t]||[]).filter(function(e){return e!==n})}function r(t,n){t in e&&e[t].forEach(function(e){return e(n)})}return q({on:t,off:n,dispatch:r})}function Y(e){var t=[],n=function(n){return n.addEventListener(`wheel`,e,{passive:!1}),t.push(n),function(){return r(n)}},r=function(n){n.removeEventListener(`wheel`,e),t=t.filter(function(e){return e!==n})};return q({observe:n,unobserve:r,disconnect:function(){t.forEach(r)}})}var X=[1,16*1.125,typeof window<`u`&&window.innerHeight||800];function we(e){var t=e.deltaX*X[e.deltaMode],n=e.deltaY*X[e.deltaMode],r=(e.deltaZ||0)*X[e.deltaMode];return{timeStamp:e.timeStamp,axisDelta:[t,n,r]}}var Te=[-1,-1,-1];function Ee(e,t){if(!t)return e;var n=t===!0?Te:t.map(function(e){return e?-1:1});return G({},e,{axisDelta:e.axisDelta.map(function(e,t){return e*n[t]})})}var De=700,Oe=function(e){return G({},e,{axisDelta:e.axisDelta.map(function(e){return Se(e,-De,De)})})},ke=!1,Ae=.6,je=.96,Me=2,Z=5,Q=q({preventWheelAction:!0,reverseSign:[!0,!0,!1]}),$=400;function Ne(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:$}}function Pe(e){e===void 0&&(e={});var t=J(),n=t.on,r=t.off,i=t.dispatch,a=Q,o=Ne(),s,c=!1,l,u=function(e){Array.isArray(e)?e.forEach(function(e){return m(e)}):m(e)},d=function(e){return e===void 0&&(e={}),Object.values(e).some(function(e){return e==null})?(ke&&console.error(`updateOptions ignored! undefined & null options not allowed`),a):a=q(G({},Q,a,e))},f=function(e){var t=G({event:s,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:o.isMomentum,axisDelta:[0,0,0],axisVelocity:o.axisVelocity,axisMovement:o.axisMovement,get axisMovementProjection(){return K(t.axisMovement,t.axisVelocity.map(function(e){return ye(e)}))}},e);i(`wheel`,G({},t,{previous:l})),l=t},p=function(e,t){var n=a.preventWheelAction,r=t[0],i=t[1],o=t[2];if(typeof n==`boolean`)return n;switch(n){case`x`:return Math.abs(r)>=e;case`y`:return Math.abs(i)>=e;case`z`:return Math.abs(o)>=e;default:return ke&&console.warn(`unsupported preventWheelAction value: `+n,`warn`),!1}},m=function(e){var t=Oe(Ee(we(e),a.reverseSign)),n=t.axisDelta,r=t.timeStamp,i=Ce(n);if(e.preventDefault&&p(i,n)&&e.preventDefault(),o.isStarted?o.isMomentum&&i>Math.max(2,o.lastAbsDelta*2)&&(w(!0),S()):S(),i===0&&Object.is&&Object.is(e.deltaX,-0)){c=!0;return}s=e,o.axisMovement=K(o.axisMovement,n),o.lastAbsDelta=i,o.scrollPointsToMerge.push({axisDelta:n,timeStamp:r}),h(),f({axisDelta:n,isStart:!o.isStartPublished}),o.isStartPublished=!0,C()},h=function(){o.scrollPointsToMerge.length===Me?(o.scrollPoints.unshift({axisDeltaSum:o.scrollPointsToMerge.map(function(e){return e.axisDelta}).reduce(K),timeStamp:xe(o.scrollPointsToMerge.map(function(e){return e.timeStamp}))}),_(),o.scrollPointsToMerge.length=0,o.scrollPoints.length=1,o.isMomentum||b()):o.isStartPublished||g()},g=function(){o.axisVelocity=be(o.scrollPointsToMerge).axisDelta.map(function(e){return e/o.willEndTimeout})},_=function(){var e=o.scrollPoints,t=e[0],n=e[1];if(!(!n||!t)){var r=t.timeStamp-n.timeStamp;
2if(r<=0){ke&&console.warn(`invalid deltaTime`);return}var i=t.axisDeltaSum.map(function(e){return e/r}),a=i.map(function(e,t){return e/(o.axisVelocity[t]||1)});o.axisVelocity=i,o.accelerationFactors.push(a),v(r)}},v=function(e){var t=Math.ceil(e/10)*10*1.2;o.isMomentum||(t=Math.max(100,t*2)),o.willEndTimeout=Math.min(1e3,Math.round(t))},y=function(e){return e===0?!0:e<=je&&e>=Ae},b=function(){if(o.accelerationFactors.length>=Z){if(c&&(c=!1,Ce(o.axisVelocity)>=.2)){x();return}var e=o.accelerationFactors.slice(Z*-1);e.every(function(e){var t=!!e.reduce(function(e,t){return e&&e<1&&e===t?1:0}),n=e.filter(y).length===e.length;return t||n})&&x(),o.accelerationFactors=e}},x=function(){o.isMomentum=!0},S=function(){o=Ne(),o.isStarted=!0,o.startTime=Date.now(),l=void 0,c=!1},C=function(){var e;return function(){clearTimeout(e),e=setTimeout(w,o.willEndTimeout)}}(),w=function(e){e===void 0&&(e=!1),o.isStarted&&(o.isMomentum&&e?f({isEnding:!0,isMomentumCancel:!0}):f({isEnding:!0}),o.isMomentum=!1,o.isStarted=!1)},T=Y(u),E=T.observe,D=T.unobserve,O=T.disconnect;return d(e),q({on:n,off:r,observe:E,unobserve:D,disconnect:O,feedWheel:u,updateOptions:d})}var Fe={active:!0,breakpoints:{},wheelDraggingClass:`is-wheel-dragging`,forceWheelAxis:void 0,target:void 0};Le.globalOptions=void 0;var Ie=!1;function Le(e){e===void 0&&(e={});var t,n=function(){};function r(r,i){var a=i.mergeOptions,o=i.optionsAtMedia;t=o(a(a(Fe,Le.globalOptions),e));var s=r.internalEngine(),c=t.target??r.containerNode().parentNode,l=t.forceWheelAxis??s.options.axis,u=Pe({preventWheelAction:l,reverseSign:[!0,!0,!1]});function d(){_=(l===`x`?s.containerRect.width:s.containerRect.height)/2}var f=u.observe(c),p=u.on(`wheel`,O),m=!1,h,g=0,_=0,v=!1;d(),r.on(`resize`,d);function y(e){try{h=new MouseEvent(`mousedown`,e.event),T(h)}catch{return Ie&&console.warn(`Legacy browser requires events-polyfill (https://github.com/xiel/embla-carousel-wheel-gestures#legacy-browsers)`),n()}m=!0,g=0,x(),t.wheelDraggingClass&&c.classList.add(t.wheelDraggingClass)}function b(e){m=!1,T(w(`mouseup`,e)),S(),t.wheelDraggingClass&&c.classList.remove(t.wheelDraggingClass)}function x(){document.documentElement.addEventListener(`mousemove`,C,!0),document.documentElement.addEventListener(`mouseup`,C,!0),document.documentElement.addEventListener(`mousedown`,C,!0)}function S(){document.documentElement.removeEventListener(`mousemove`,C,!0),document.documentElement.removeEventListener(`mouseup`,C,!0),document.documentElement.removeEventListener(`mousedown`,C,!0)}function C(e){m&&e.isTrusted&&e.stopImmediatePropagation()}function w(e,t){var n,r;if(l===s.options.axis){var i=t.axisMovement;n=i[0],r=i[1]}else{var a=t.axisMovement;r=a[0],n=a[1]}if(E(t).isAtBoundary){var o=.25+Math.min(g/_,1)*.5,c=g*(n>0?-1:1)*o;n+=c,r+=c}if(!s.options.skipSnaps&&!s.options.dragFree){var u=s.containerRect.width,d=s.containerRect.height;n=n<0?Math.max(n,-u):Math.min(n,u),r=r<0?Math.max(r,-d):Math.min(r,d)}return new MouseEvent(e,{clientX:h.clientX+n,clientY:h.clientY+r,screenX:h.screenX+n,screenY:h.screenY+r,movementX:n,movementY:r,button:0,bubbles:!0,cancelable:!0,composed:!0})}function T(e){r.containerNode().dispatchEvent(e)}function E(e){var t=e.axisDelta,n=t[0],i=t[1],a=r.scrollProgress(),o=a<1,s=a>0,c=l===`x`?n:i;return{isAtBoundary:c<0&&!o||c>0&&!s,primaryAxisDelta:c}}function D(e){var t=E(e),n=t.isAtBoundary,r=t.primaryAxisDelta;if(n&&!e.isMomentum){if(g+=Math.abs(r),g>_)return v=!0,b(e),!0}else g=0;return!1}function O(e){var t=e.axisDelta,n=t[0],r=t[1],i=l===`x`?n:r,a=l===`x`?r:n,o=e.isMomentum&&e.previous&&!e.previous.isMomentum,s=e.isEnding&&!e.isMomentum||o;Math.abs(i)>Math.abs(a)&&!m&&!e.isMomentum&&!v&&y(e),v&&e.isEnding&&(v=!1),m&&(D(e)||(s?b(e):T(w(`mousemove`,e))))}n=function(){f(),p(),r.off(`resize`,d),S()}}return{name:`wheelGestures`,options:e,init:r,destroy:function(){return n()}}}function Re(e={}){let t,n=[],r=[`select`,`slideFocus`];function i(e){t=e;let{options:{axis:i},slideRects:a}=t.internalEngine();i!==`y`&&(n=a.map(e=>e.height),r.forEach(e=>t.on(e,s)),s())}function a(){r.forEach(e=>t.off(e,s));let e=t.containerNode();e.style.height=``,e.getAttribute(`style`)||e.removeAttribute(`style`)}function o(){let{slideRegistry:e}=t.internalEngine(),r=e[t.selectedScrollSnap()];return r?r.map(e=>n[e]).reduce((e,t)=>
2Math.max(e,t),0):null}function s(){o()!==null&&(t.containerNode().style.height=`${o()}px`)}return{name:`autoHeight`,options:e,init:i,destroy:a}}Re.globalOptions=void 0;var ze=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"> 3 <path stroke="currentColor" stroke-width="1.5" d="M2.917 10h11.666" /> 4 <path 5 stroke="currentColor" 6 stroke-linecap="round" 7 stroke-linejoin="round" 8 stroke-width="1.5" 9 d="M10 4.167 15.833 10 10 15.833" 10 /> 11</svg> 12`,Be=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"> 13 <path stroke="currentColor" stroke-width="1.5" d="M17.083 10H5.417" /> 14 <path 15 stroke="currentColor" 16 stroke-linecap="round" 17 stroke-linejoin="round" 18 stroke-width="1.5" 19 d="M10 15.833 4.167 10 10 4.167" 20 /> 21</svg> 22`,Ve=` 23<button 24 class="absolute -translate-y-1/2 right-2 top-1/2 p-[inherit] h-10 w-10 flex items-center justify-center rounded-full bg-white text-black transition-all *:h-4 disabled:hidden border border-black focus:translate-x-1 hover:border-atoll-900 hover:bg-atoll-900 hover:text-white" 25 aria-label="Weiter"> 26 ${ze} 27</button> 28`,He=` 29<button 30 class="absolute -translate-y-1/2 left-2 top-1/2 p-[inherit] h-10 w-10 flex items-center justify-center rounded-full bg-white text-black transition-all *:h-4 disabled:hidden border border-black focus:-translate-x-1 hover:border-atoll-900 hover:bg-atoll-900 hover:text-white" 31 aria-label="Zurück"> 32 ${Be} 33</button> 34`,Ue=` 35<nav class="mx-4 lg:mx-0 mt-4 flex justify-start gap-1 *:h-1 *:w-3 *:rounded-full *:bg-gray-300 disabled:*:w-6 disabled:*:bg-atoll-900 *:transition-all"></nav> 36`,We=(e,{value:t,modifiers:n,expression:r},{Alpine:i,effect:a,cleanup:o})=>{let s=Array.from(e.children);s.forEach(e=>e.classList.add(`shrink-0`,`min-w-0`,`grow-0`,`basis-full`));let c=document.createElement(`div`);c.classList.add(`flex`,`will-change-transform`,`gap-8`,`items-start`),s.forEach(e=>c.appendChild(e));let l=document.createElement(`div`);l.classList.add(`overflow-hidden`,`relative`),l.appendChild(c),e.replaceChildren(l);let u=W(e,{container:c,duration:15,watchResize:(e,t)=>
36{for(let n of t){if(e.containerNode()===n.target)return!0;window.requestAnimationFrame(()=>{e.reInit(),e.emit(`resize`)});break}return!1}},[Le(),Re()]);l.insertAdjacentHTML(`beforeend`,Ve);let d=e.querySelector(`button[class*="right-"]`);d.addEventListener(`click`,()=>{d.blur(),u.scrollNext()}),l.insertAdjacentHTML(`beforeend`,He);let f=e.querySelector(`button[class*="left-"]`);f.addEventListener(`click`,()=>{f.blur(),u.scrollPrev()});let p=()=>{f.disabled=!u.canScrollPrev(),d.disabled=!u.canScrollNext()};u.on(`select`,p).on(`init`,p).on(`reInit`,p),e.insertAdjacentHTML(`beforeend`,Ue);let m=e.querySelector(`nav`);s.forEach((e,t)=>{let n=document.createElement(`button`);n.type=`button`,n.setAttribute(`aria-label`,`Bild`),n.addEventListener(`click`,()=>u.scrollTo(t)),m.appendChild(n)});let h=()=>m.childNodes.forEach((e,t)=>{e.disabled=t===u.selectedScrollSnap()});u.on(`select`,h).on(`init`,h).on(`reInit`,h),c.querySelectorAll(`img`).forEach(e=>e.addEventListener(`load`,()=>u.reInit()))},Ge=()=>({init(){this.$refs.tile.style.transform=`translateX(-50%) rotate(${Math.random()*30-15}deg)`,this.$refs.tile.style.top=`calc(${Math.random()*60}vh + 2rem)`,this.$refs.tile.style.left=`clamp(4rem, ${Math.random()*100}vw, calc(min(1024px, 100vw) - 4rem))`,this.$refs.image.src=this.$refs.image.src.replace(/\d{2}/i,Math.round(Math.random()*5+1).toString().padStart(2,`0`))},close(){this.$refs.tile.remove()}}),Ke=()=>({filterCount:0,showBottomSheet:!1,filter:{},showAllFilterOptions:{},onPopStateEvent:null,onOpenBottomSheetEvent:null,onResetFilterEvent:null,onSubmitFilterEvent:null,init(){this.$el.dataset.filter&&(this.filter=JSON.parse(this.$el.dataset.filter)),this.filterCount=this.calculateFilterCountFrom(this.filter),this.onPopStateEvent=this.onPopState.bind(this),window.addEventListener(`popstate`,this.onPopStateEvent),this.onOpenBottomSheetEvent=this.onOpenBottomSheet.bind(this),window.addEventListener(`open-bottom-sheet`,this.onOpenBottomSheetEvent),this.onCloseBottomSheetEvent=this.onCloseBottomSheet.bind(this),window.addEventListener(`close-bottom-sheet`,this.onCloseBottomSheetEvent),this.onSubmitFilterEvent=this.onSubmitFilter.bind(this),window.addEventListener(`submit-filter`,this.onSubmitFilterEvent),this.onResetFilterEvent=this.onResetFilter.bind(this),window.addEventListener(`reset-filter`,this.onResetFilterEvent)},submitFilter(){this.$dispatch(`submit-filter`,{filter:{...this.filter}});let e=document.querySelector(`#entry-list`);e&&e.scrollIntoView()},openBottomSheet(){this.$dispatch(`open-bottom-sheet`)},closeBottomSheet(){this.$dispatch(`close-bottom-sheet`)},addStartDateTo(e,t){let[n,r]=this.filter[e]?.split(`:`);new Date(t)>new Date(r||`2000-01-01`)?this.filter[e]=`${t}:${t}`:this.filter[e]=`${t}:${r}`,this.submitFilter()},addEndDateTo(e,t){let[n,r]=this.filter[e]?.split(`:`);new Date(t)<new Date(n||`2100-01-01`)?this.filter[e]=`${t}:${t}`:this.filter[e]=`${n}:${t}`,this.submitFilter()},setStartDateFrom(e,t){let[n,r]=this.filter[e]?.split(`:`);t.value!==n&&(t.value=n)},setEndDateFrom(e,t){let[n,r]=this.filter[e]?.split(`:`);t.value!==r&&(t.value=r)},calculateFilterCountFrom(e){if(Object.entries(e).length===0)return 0;let t=0;return Object.entries(e).forEach(([e,n])=>{Array.isArray(n)?t+=n.length:n&&e!==`term`&&t++}),t},onPopState(e){e.isTrusted&&e.state&&e.state.alpine&&(this.filter=Object.fromEntries(Object.entries(this.filter).map(([t,n])=>e.state.alpine[t]?[t,e.state.alpine[t].value]:[t,n])),this.$dispatch(`submit-filter`,{filter:{...this.filter}}))},onSubmitFilter(e){this.filter=e.detail.filter,this.filterCount=this.calculateFilterCountFrom(e.detail.filter)},onOpenBottomSheet(){this.showBottomSheet=!0},onCloseBottomSheet(){this.showBottomSheet=!1},onResetFilter(){this.filterCount=0,this.filter={},this.$el.dataset.filter&&(this.filter=Object.entries(JSON.parse(this.$el.dataset.filter)).reduce((e,[t,n])=>(Array.isArray(n)?e[t]=[]:typeof n==`string`?e[t]=``:e[t]=!1,e),{}))},destroy(){window.removeEventListener(`popstate`,this.onPopStateEvent),window.removeEventListener(`open-bottom-sheet`,this.onOpenBottomSheetEvent),window.removeEventListener(`close-bottom-sheet`,this.onCloseBottomSheetEvent),window.removeEventListener(`submit-filter`,this.onSubmitFilterEvent),window.removeEventListener(`reset-filter`,this.onResetFilterEvent)}}),qe=()=>({filter:{}
36,init(){this.filter=JSON.parse(this.$root.dataset.filter)}}),Je=()=>({showAllEventDates:!1}),Ye={};(function e(t,n,r,i){var a=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),o=typeof Path2D==`function`&&typeof DOMMatrix==`function`,s=(function(){if(!t.OffscreenCanvas)return!1;try{var e=new OffscreenCanvas(1,1),n=e.getContext(`2d`);n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();n.createPattern(r,`no-repeat`)}catch{return!1}return!0})();function c(){}function l(e){var r=n.exports.Promise,i=r===void 0?t.Promise:r;return typeof i==`function`?new i(e):(e(c,c),null)}var u=(function(e,t){return{transform:function(n){if(e)return n;if(t.has(n))return t.get(n);var r=new OffscreenCanvas(n.width,n.height);return r.getContext(`2d`).drawImage(n,0,0),t.set(n,r),r},clear:function(){t.clear()}}})(s,new Map),d=function(){var e=16,t,n,r={},i=0;return typeof requestAnimationFrame==`function`&&typeof cancelAnimationFrame==`function`?(t=function(t){var n=Math.random();return r[n]=requestAnimationFrame(function a(o){i===o||i+e-1<o?(i=o,delete r[n],t()):r[n]=requestAnimationFrame(a)}),n},n=function(e){r[e]&&cancelAnimationFrame(r[e])}):(t=function(t){return setTimeout(t,e)},n=function(e){return clearTimeout(e)}),{frame:t,cancel:n}}(),f=(function(){var t,n,i={};function o(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(r,a,o){if(n)return t(r,null),n;var s=Math.random().toString(36).slice(2);return n=l(function(a){function c(t){t.data.callback===s&&(delete i[s],e.removeEventListener(`message`,c),n=null,u.clear(),o(),a())}e.addEventListener(`message`,c),t(r,s),i[s]=c.bind(null,{data:{callback:s}})}),n},e.reset=function(){for(var t in e.postMessage({reset:!0}),i)i[t](),delete i[t]}}return function(){if(t)return t;if(!r&&a){var n=[`var CONFETTI, SIZE = {}, module = {};`,`(`+e.toString()+`)(this, module, true, SIZE);`,`onmessage = function(msg) {`,` if (msg.data.options) {`,` CONFETTI(msg.data.options).then(function () {`,` if (msg.data.callback) {`,` postMessage({ callback: msg.data.callback });`,` }`,` });`,` } else if (msg.data.reset) {`,` CONFETTI && CONFETTI.reset();`,` } else if (msg.data.resize) {`,` SIZE.width = msg.data.resize.width;`,` SIZE.height = msg.data.resize.height;`,` } else if (msg.data.canvas) {`,` SIZE.width = msg.data.canvas.width;`,` SIZE.height = msg.data.canvas.height;`,` CONFETTI = module.exports.create(msg.data.canvas);`,` }`,`}`].join(` 37`);try{t=new Worker(URL.createObjectURL(new Blob([n])))}catch(e){return typeof console<`u`&&typeof console.warn==`function`&&console.warn(`ð Could not load worker`,e),null}o(t)}return t}})(),p={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:[`square`,`circle`],zIndex:100,colors:[`#26ccff`,`#a25afd`,`#ff5e7e`,`#88ff5a`,`#fcff42`,`#ffa62d`,`#ff36ff`],disableForReducedMotion:!1,scalar:1};function m(e,t){return t?t(e):e}function h(e){return e!=null}function g(e,t,n){return m(e&&h(e[t])?e[t]:p[t],n)}function _(e){return e<0?0:Math.floor(e)}function v(e,t){return Math.floor(Math.random()*(t-e))+e}function y(e){return parseInt(e,16)}function b(e){return e.map(x)}function x(e){var t=String(e).replace(/[^0-9a-f]/gi,``);return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:y(t.substring(0,2)),g:y(t.substring(2,4)),b:y(t.substring(4,6))}}function S(e){var t=g(e,`origin`,Object);return t.x=g(t,`x`,Number),t.y=g(t,`y`,Number),t}function C(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function w(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function T(e){var t=document.createElement(`canvas`);return t.style.position=`fixed`,t.style.top=`0px`,t.style.left=`0px`,t.style.pointerEvents=`none`,t.style.zIndex=e,t}function E(e,t,n,r,i,a,o,s,c){e.save(),e.translate(t,n),e.rotate(a),e.scale(r,i),e.arc(0,0,1,o,s,c),e.restore(
vendor: 4,784 bytes, line 37
37)}function D(e){var t=e.angle*(Math.PI/180),n=e.spread*(Math.PI/180);return{x:e.x,y:e.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:e.startVelocity*.5+Math.random()*e.startVelocity,angle2D:-t+(.5*n-Math.random()*n),tiltAngle:(Math.random()*.5+.25)*Math.PI,color:e.color,shape:e.shape,tick:0,totalTicks:e.ticks,decay:e.decay,drift:e.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:e.gravity*3,ovalScalar:.6,scalar:e.scalar,flat:e.flat}}function O(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n=t.tick++/t.totalTicks,r=t.x+t.random*t.tiltCos,i=t.y+t.random*t.tiltSin,a=t.wobbleX+t.random*t.tiltCos,s=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle=`rgba(`+t.color.r+`, `+t.color.g+`, `+t.color.b+`, `+(1-n)+`)`,e.beginPath(),o&&t.shape.type===`path`&&typeof t.shape.path==`string`&&Array.isArray(t.shape.matrix))e.fill(N(t.shape.path,t.shape.matrix,t.x,t.y,Math.abs(a-r)*.1,Math.abs(s-i)*.1,Math.PI/10*t.wobble));else if(t.shape.type===`bitmap`){var c=Math.PI/10*t.wobble,l=Math.abs(a-r)*.1,d=Math.abs(s-i)*.1,f=t.shape.bitmap.width*t.scalar,p=t.shape.bitmap.height*t.scalar,m=new DOMMatrix([Math.cos(c)*l,Math.sin(c)*l,-Math.sin(c)*d,Math.cos(c)*d,t.x,t.y]);m.multiplySelf(new DOMMatrix(t.shape.matrix));var h=e.createPattern(u.transform(t.shape.bitmap),`no-repeat`);h.setTransform(m),e.globalAlpha=1-n,e.fillStyle=h,e.fillRect(t.x-f/2,t.y-p/2,f,p),e.globalAlpha=1}else if(t.shape===`circle`)e.ellipse?e.ellipse(t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(s-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):E(e,t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(s-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if(t.shape===`star`)for(var g=Math.PI/2*3,_=4*t.scalar,v=8*t.scalar,y=t.x,b=t.y,x=5,S=Math.PI/x;x--;)y=t.x+Math.cos(g)*v,b=t.y+Math.sin(g)*v,e.lineTo(y,b),g+=S,y=t.x+Math.cos(g)*_,b=t.y+Math.sin(g)*_,e.lineTo(y,b),g+=S;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(i)),e.lineTo(Math.floor(a),Math.floor(s)),e.lineTo(Math.floor(r),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}function k(e,t,n,a,o){var s=t.slice(),c=e.getContext(`2d`),f,p,m=l(function(t){function l(){f=p=null,c.clearRect(0,0,a.width,a.height),u.clear(),o(),t()}function m(){r&&!(a.width===i.width&&a.height===i.height)&&(a.width=e.width=i.width,a.height=e.height=i.height),!a.width&&!a.height&&(n(e),a.width=e.width,a.height=e.height),c.clearRect(0,0,a.width,a.height),s=s.filter(function(e){return O(c,e)}),s.length?f=d.frame(m):l()}f=d.frame(m),p=l});return{addFettis:function(e){return s=s.concat(e),m},canvas:e,promise:m,reset:function(){f&&d.cancel(f),p&&p()}}}function A(e,n){var r=!e,i=!!g(n||{},`resize`),o=!1,s=g(n,`disableForReducedMotion`,Boolean),c=a&&g(n||{},`useWorker`)?f():null,u=r?C:w,d=e&&c?!!e.__confetti_initialized:!1,p=typeof matchMedia==`function`&&matchMedia(`(prefers-reduced-motion)`).matches,m;function h(t,n,r){for(var i=g(t,`particleCount`,_),a=g(t,`angle`,Number),o=g(t,`spread`,Number),s=g(t,`startVelocity`,Number),c=g(t,`decay`,Number),l=g(t,`gravity`,Number),d=g(t,`drift`,Number),f=g(t,`colors`,b),p=g(t,`ticks`,Number),h=g(t,`shapes`),y=g(t,`scalar`),x=!!g(t,`flat`),C=S(t),w=i,T=[],E=e.width*C.x,O=e.height*C.y;w--;)T.push(D({x:E,y:O,angle:a,spread:o,startVelocity:s,color:f[w%f.length],shape:h[v(0,h.length)],ticks:p,decay:c,gravity:l,drift:d,scalar:y,flat:x}));return m?m.addFettis(T):(m=k(e,T,u,n,r),m.promise)}function y(n){var a=s||g(n,`disableForReducedMotion`,Boolean),f=g(n,`zIndex`,Number);if(a&&p)return l(function(e){e()});r&&m?e=m.canvas:r&&!e&&(e=T(f),document.body.appendChild(e)),i&&!d&&u(e);var _={width:e.width,height:e.height};c&&!d&&c.init(e),d=!0,c&&(e.__confetti_initialized=!0);function v(){if(c){var t={getBoundingClientRect:function(){if(!r)return e.getBoundingClientRect()}};u(t),c.postMessage({resize:{width:t.width,height:t.height}});return}_.width=_.height=null}function y(){m=null,i&&(o=!1,t.removeEventListener(`resize`,v)),r&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,d=!1)}return i&&!o&&(o=!0,t.addEventListener(`resize`,v,!1)),c?c.fire(n,_,y):h(n,_,y)}return y.reset=function(){c&&c.reset(),m&&m.reset()},y}var j;function M(){return j||=A(null,{useWorker:!0,resize:!0}),j}function N(e,t,n,r,i,a,o){var s=new Path2D(e),c=new Path2D;c.addPath(s,new DOMMatrix(t));var l=new Path2D;
37return l.addPath(c,new DOMMatrix([Math.cos(o)*i,Math.sin(o)*i,-Math.sin(o)*a,Math.cos(o)*a,n,r])),l}function ee(e){if(!o)throw Error(`path confetti are not supported in this browser`);var t,n;typeof e==`string`?t=e:(t=e.path,n=e.matrix);var r=new Path2D(t),i=document.createElement(`canvas`).getContext(`2d`);if(!n){for(var a=1e3,s=a,c=a,l=0,u=0,d,f,p=0;p<a;p+=2)for(var m=0;m<a;m+=2)i.isPointInPath(r,p,m,`nonzero`)&&(s=Math.min(s,p),c=Math.min(c,m),l=Math.max(l,p),u=Math.max(u,m));d=l-s,f=u-c;var h=10,g=Math.min(h/d,h/f);n=[g,0,0,g,-Math.round(d/2+s)*g,-Math.round(f/2+c)*g]}return{type:`path`,path:t,matrix:n}}function te(e){var t,n=1,r=`#000000`,i=`"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif`;typeof e==`string`?t=e:(t=e.text,n=`scalar`in e?e.scalar:n,i=`fontFamily`in e?e.fontFamily:i,r=`color`in e?e.color:r);var a=10*n,o=``+a+`px `+i,s=new OffscreenCanvas(a,a),c=s.getContext(`2d`);c.font=o;var l=c.measureText(t),u=Math.ceil(l.actualBoundingBoxRight+l.actualBoundingBoxLeft),d=Math.ceil(l.actualBoundingBoxAscent+l.actualBoundingBoxDescent),f=2,p=l.actualBoundingBoxLeft+f,m=l.actualBoundingBoxAscent+f;u+=f+f,d+=f+f,s=new OffscreenCanvas(u,d),c=s.getContext(`2d`),c.font=o,c.fillStyle=r,c.fillText(t,p,m);var h=1/n;return{type:`bitmap`,bitmap:s.transferToImageBitmap(),matrix:[h,0,0,h,-u*h/2,-d*h/2]}}n.exports=function(){return M().apply(this,arguments)},n.exports.reset=function(){M().reset()},n.exports.create=A,n.exports.shapeFromPath=ee,n.exports.shapeFromText=te})((function(){return typeof window<`u`?window:typeof self<`u`?self:this||{}})(),Ye,!1);var Xe=Ye.exports;Ye.exports.create;var Ze=()=>({aditionConfig:{},aditionSlotsLoadQueue:[],domIsReady:!1,adBlockerEnabled:!1,preventAutomaticAdReload:!1,automaticAdReloadIntervalId:null,viewport:window.innerWidth<1024?`mobile`:`desktop`,setupAdition(){this.aditionConfig=JSON.parse(this.$el.dataset.aditionConfig||`{}`),window.addEventListener(`load`,()=>this.domIsReady=!0),document.addEventListener(`adition:blocked`,()=>this.adBlockerEnabled=!0),document.addEventListener(`adition:prevent-reload`,()=>{this.preventAutomaticAdReload=!0,clearInterval(this.automaticAdReloadIntervalId)})},async initializeAdition({userHasGivenConsent:e=!1}={}){if(!this.domIsReady)return setTimeout(()=>this.initializeAdition({userHasGivenConsent:e}),100);window.adition=window.adition||{},window.adition.srq=window.adition.srq||[];let t=Array.from(document.querySelectorAll(`[x-data="aditionAdsSlot"]`)).filter(e=>e.checkVisibility()).map(e=>{let{slot:t}=e.dataset,{position:n,id:r,isLazy:i}=Alpine.$data(e),a=this.aditionConfig.content_unit_id[t],o=e.dataset.automaticReload!==void 0,s=this.viewport===`mobile`?e.dataset.variantMobile||`default`:e.dataset.variantDesktop||`default`,c=e.dataset.nativeAdTemplate;return a||console.warn(`Adition slot "${r}" has no content unit id configured.`),{id:r,isLazy:i,contentUnitId:a,position:n,slot:t,automaticReload:o,variant:s,nativeAdTemplate:c}});window.adition.srq.push(n=>{e===!0?n.setProfile(`consent`,`optin`):(n.setProfile(`consent`,`optout`),n.identityService.optout(),n.disableCookies()),n.registerAdfarm(`ad1.adfarm1.adition.com`),n.keepSiteContext(!0),n.consentService.enableConsentPull(),t.forEach(({id:e,contentUnitId:t,position:r,slot:i,variant:a,nativeAdTemplate:o})=>{let s=n.configureRenderSlot(e).setContentunitId(t);n.setProfile(`device`,this.viewport),n.setProfile(`width`,window.innerWidth?.toString()),n.setProfile(`page_type`,this.aditionConfig.page_type),r&&s.setProfile(`pos`,r.toString()),i===`medium_rectangle`&&s.setProfile(`variant`,a),i===`medium_rectangle`&&o&&s.setProfile(`native_ad_template`,o);let c=this.aditionConfig.yieldlab.content_unit_id[i],l=c?c[`${r||1}`]:null,u=this.aditionConfig.yieldlab.id;l&&l[this.viewport]&&u&&n.modules.configureModule(`yieldlab`).mapContentunit(t,l[this.viewport],u).enable()}),n.events.onNoBanner(e=>this.$dispatch(`adition:${e.id}:no-banner`)),n.events.onPostRender(e=>this.$dispatch(`adition:${e.id}:post-render`)),n.events.onPreRender((e,t)=>
37{t.getOptions().reload===`0`&&this.$dispatch(`adition:prevent-reload`)})});let n=t.filter(e=>!e.isLazy).map(({id:e})=>e);if(await this.loadAndCompleteRenderingForAditionSlots(n),this.$dispatch(`adition:loaded`),this.startAditionSlotsLoadQueueWorker(),!this.preventAutomaticAdReload){let e=t.filter(e=>e.automaticReload).map(({id:e})=>e);this.automaticAdReloadIntervalId=setInterval(()=>{document.hidden||this.loadAndCompleteRenderingForAditionSlots(e)},3e4)}Livewire!==void 0&&Livewire.interceptRequest(({request:e,onResponse:n,onSuccess:r,onError:i,onFailure:a})=>{r(({response:e,responseJson:n})=>{window.adition.srq.push(async()=>{let e=t.filter(e=>!e.isLazy&&(e.slot===`medium_rectangle`||this.isPartlyInViewport(document.querySelector(`#${e.id}`)))).map(({id:e})=>e);await this.loadAndCompleteRenderingForAditionSlots(e),this.$dispatch(`adition:loaded`)})})})},startAditionSlotsLoadQueueWorker(){this.$watch(`aditionSlotsLoadQueue`,Alpine.debounce(async()=>await this.loadAditionSlotsFromQueue(),500))},async loadAditionSlotsFromQueue(){let e=[...this.aditionSlotsLoadQueue];if(e.length===0)return;let t={elementHeight:300,margin:window.innerHeight},n=e.sort((e,n)=>{let r=this.isPartlyInViewport(e.element,t),i=this.isPartlyInViewport(n.element,t);return r&&i?e.position-n.position:r?-1:1}),r=n[0];n.length>1&&n.slice(1).forEach(e=>{this.$dispatch(`adition:${e.id}:no-banner`)}),Array.from(document.querySelectorAll(`[data-loaded="true"][data-slot="${r.slot}"]`)).filter(e=>this.isPartlyInViewport(e,t)).length===0?await this.loadAndCompleteRenderingForAditionSlots([n[0].id]):this.$dispatch(`adition:${r.id}:no-banner`);let i=e.map(e=>e.id);this.aditionSlotsLoadQueue=this.aditionSlotsLoadQueue.filter(e=>!i.includes(e.id))},async loadAndCompleteRenderingForAditionSlots(e){e.length!==0&&await new Promise(t=>{window.adition.srq.push(async n=>{n.events.onRequest(()=>t()),n.load(e).completeRendering(e)})})},isPartlyInViewport(e,t={elementHeight:0,margin:0}){if(!e)return!1;let{elementHeight:n,margin:r}=t,{top:i,bottom:a}=e.getBoundingClientRect();return i-r>=-n&&a+n-r<=window.innerHeight+n},addAditionSlotToLoadQueue(e){this.aditionSlotsLoadQueue.push(e)}}),Qe=()=>({...Ze(),vendors:[],init(){this.setupAdition(),this.initializeDidomi(),this.addSpecialEffects()},initializeDidomi(){window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(e=>{e.getObservableOnUserConsentStatusForVendor(39).filter(e=>e!==void 0).subscribe(e=>this.initializeAdition({userHasGivenConsent:e}))}),window.didomiOnReady.push(function(e){let t=function(e,t,n){n===!0?(document.querySelectorAll(`.`+t).forEach(function(e){let t=e.querySelector(`iframe[data-src]`);if(t){let e=t.getAttribute(`data-src`);t.setAttribute(`src`,e)}}),document.querySelectorAll(`[overlay-vendor="`+e+`"]`).forEach(function(e){e.style.display=`none`})):(document.querySelectorAll(`.`+t).forEach(function(e){let t=e.querySelector(`iframe[src]`);if(t){let e=t.getAttribute(`src`);t.setAttribute(`data-src`,e),t.setAttribute(`src`,``)}}),document.querySelectorAll(`[overlay-vendor="`+e+`"]`).forEach(function(e){e.style.display=`block`}))};e.getObservableOnUserConsentStatusForVendor(`c:youtube`).filter(function(e){return e!==void 0}).subscribe(function(e){t(`c:youtube`,`youtube-container`,e)}),e.getObservableOnUserConsentStatusForVendor(`c:vimeo`).filter(function(e){return e!==void 0}).subscribe(function(e){t(`c:vimeo`,`vimeo-container`,e)}),e.getObservableOnUserConsentStatusForVendor(`c:acast-ZKyqriyH`).filter(function(e){return e!==void 0}).subscribe(function(e){t(`c:acast-ZKyqriyH`,`acast-container`,e)})})},giveConsent(e){let t=Didomi.getVendorById(e).purposeIds,n=Didomi.openTransaction();n.enableVendor(e),t.forEach(function(e){n.enablePurpose(e)}),n.commit()},observeVendor(e){this.vendors.includes(e)||(window.didomiOnReady=window.didomiOnReady||[],window.didomiOnReady.push(function(t){t.getObservableOnUserConsentStatusForVendor(e).filter(function(e){return e!==void 0}).subscribe(function(t){t===!0&&document.querySelectorAll(`[overlay-vendor="`+e+`"]`).forEach(function(e){e.remove()})})}),this.vendors.push(e))},saveFunnelInformationInCookie(e){let t=e.target.href,n=document.referrer,r=window.location.href;document.cookie=`funnel_information=${JSON.stringify({intendedUrl:t,referrer:n,articleUrl:r})}; domain=.falter.at; path=/; max-age=3600`},addSpecialEffects(){let e=0;document.querySelector(`#footer`).addEventListener(`click`,()=>{++e===3&&(Xe({particleCount:400,spread:200,origin:{y:1}}),e=0)}),document.querySelector(`#footer #note`).addEventListener(`click`,function(e){e.stopPropagation(),this.parentNode.removeChild(this),document.querySelectorAll(`img, svg, figcaption, html > body > header, iframe, div[data-slot], aside[data-slot]`).forEach(function(e,t,n){e.style.transition=`all .45s ease-in`,e.style.transform=`scale(0)`,e.style.height=`fit`,setTimeout(()=>{e.style.display=`none`},500),t===n.length-1&&(setTimeout(()=>{window.scrollTo({top:0,left:0,behavior:`smooth`})},250),setTimeout(function(){document.querySelectorAll(`link[rel=stylesheet]`).forEach(e
37=>{e.parentNode.removeChild(e)})},750))})})}}),$e=()=>({isWithinViewport:!1,displayLeftButton:!1,displayRightButton:!0,currentlyScrolling:!1,scrollSpeed:10,dragStartPosition:0,scrollPositionBeforeDrag:0,scrollPositionBeforeClick:0,init(){this.$refs.scrollableContent.addEventListener(`mousedown`,e=>{this.currentlyScrolling=!0,this.dragStartPosition=e.pageX-this.$refs.scrollableContent.offsetLeft,this.scrollPositionBeforeDrag=this.$refs.scrollableContent.scrollLeft}),this.$refs.scrollableContent.addEventListener(`mouseleave`,()=>{this.currentlyScrolling=!1,document.activeElement.blur()}),this.$refs.scrollableContent.addEventListener(`mouseup`,()=>{this.currentlyScrolling=!1,document.activeElement.blur()}),this.$refs.scrollableContent.addEventListener(`mousemove`,e=>{if(!this.currentlyScrolling)return;e.preventDefault();let t=e.pageX-this.$refs.scrollableContent.offsetLeft;this.$refs.scrollableContent.scrollLeft=this.scrollPositionBeforeDrag-(t-this.dragStartPosition)}),this.$refs.scrollableContent.querySelectorAll(`a`).forEach(e=>{e.addEventListener(`click`,this.cardClick.bind(this)),e.addEventListener(`mousedown`,this.cardMouseDown.bind(this))})},cardMouseDown(){this.scrollPositionBeforeClick=this.$refs.scrollableContent.scrollLeft},cardClick(e){this.scrollPositionBeforeClick!==this.$refs.scrollableContent.scrollLeft&&e.preventDefault()},scroll(e=`right`){this.currentlyScrolling=!0;let t=e=>{this.currentlyScrolling&&(e===`right`?this.$refs.scrollableContent.scrollLeft+=this.scrollSpeed:this.$refs.scrollableContent.scrollLeft-=this.scrollSpeed,setTimeout(()=>t(e),10))};t(e)},stopScrolling(){this.currentlyScrolling=!1,document.activeElement.blur()},showLeftButton(){this.isWithinViewport&&(this.displayLeftButton=!0)},hideLeftButton(){this.displayLeftButton=!1},showRightButton(){this.isWithinViewport&&(this.displayRightButton=!0)},hideRightButton(){this.displayRightButton=!1}}),et=()=>({showFilterView:!1,openFilterView(){this.showFilterView=!0},closeFilterView(){this.showFilterView=!1}}),tt=new Map;function nt(e){let t=(tt.get(e)||0)+1;return tt.set(e,t),t}var rt=()=>({slot:``,position:null,isLoaded:!1,id:``,isLazy:!1,automaticReload:!1,isInitialized:!1,eventListeners:{},init(){this.adBlockerEnabled&&this.removeElement(),this.slot=this.$el.dataset.slot,this.slot===`medium_rectangle`?this.position=nt(this.slot):this.position=null,this.id=`${this.slot}${this.position||``}`,this.isLazy=this.$el.dataset.listAdIndex!==void 0||this.position!==null&&this.position>2,this.automaticReload=this.$el.dataset.automaticReload!==void 0,this.eventListeners.onAditionBlocked=()=>this.removeElement(),document.addEventListener(`adition:blocked`,this.eventListeners.onAditionBlocked),this.eventListeners.onAditionLoaded=()=>this.initializeSlot(),document.addEventListener(`adition:loaded`,this.eventListeners.onAditionLoaded),this.eventListeners.onAditionNoBanner=()=>this.removeElement(),document.addEventListener(`adition:${this.id}:no-banner`,this.eventListeners.onAditionNoBanner),this.eventListeners.onAditionPostRender=()=>this.isLoaded=!0,document.addEventListener(`adition:${this.id}:post-render`,this.eventListeners.onAditionPostRender)},initializeSlot(){window.adition.srq.push(e=>{e.renderSlot(this.id),this.isInitialized=!0})},lazyLoad(){if(this.isLazy){if(!this.isInitialized)return setTimeout(()=>this.lazyLoad(),200);this.addAditionSlotToLoadQueue({id:this.id,slot:this.slot,position:this.position,element:this.$el})}},removeElement(){this.$el.remove()},destroy(){this.removeElement(),document.removeEventListener(`adition:blocked`,this.eventListeners.onAditionBlocked),document.removeEventListener(`adition:loaded`,this.eventListeners.onAditionLoaded),document.removeEventListener(`adition:${this.id}:no-banner`,this.eventListeners.onAditionNoBanner),document.removeEventListener(`adition:${this.id}:post-render`,this.eventListeners.onAditionPostRender)}}),it=()=>({linkHasBeenCopied:!1,copyLink(){this.$refs.input.disabled=!1,this.$refs.input.select(),this.$refs.input.disabled=!0,this.$clipboard(this.$refs.input.value),this.linkHasBeenCopied=!0}}),at=()=>{},ot=(e,t=void 0)=>(typeof e==`function`&&(e=e()),typeof e==`object`&&(e=JSON.stringify(e)),t===void 0?window.navigator.clipboard.writeText(e).then(at):window.navigator.clipboard.write([new ClipboardItem({[t]:new Blob([e],{type:t})})]).then(at));function st(e){e.magic(`clipboard`,()=>ot),e.directive(`clipboard`,(e,{modifiers:t,expression:n},{evaluateLater:r,cleanup:i})=>{let a=t.includes(`raw`)?e=>e(n):r(n),o=()=>a(ot);e.addEventListener(`click`,o),i(()=>{e.removeEventListener(`click`,o)})})}st.configure=e=>(e.hasOwnProperty(`onCopy`)&&typeof e.onCopy==`function`&&(at=e.onCopy),st);function ct(e){e.directive(`intersect`,e.skipDuringClone((e,{value:t,expression:n,modifiers:r},{evaluateLater:i,cleanup:a})=>{let o=i(n),s={rootMargin:dt(r),threshold:lt(r)},c=new IntersectionObserver(e=>
37{e.forEach(e=>{e.isIntersecting!==(t===`leave`)&&(o(),r.includes(`once`)&&c.disconnect())})},s);c.observe(e),a(()=>{c.disconnect()})}))}function lt(e){if(e.includes(`full`))return .99;if(e.includes(`half`))return .5;if(!e.includes(`threshold`))return 0;let t=e[e.indexOf(`threshold`)+1];return t===`100`?1:t===`0`?0:Number(`.${t}`)}function ut(e){let t=e.match(/^(-?[0-9]+)(px|%)?$/);return t?t[1]+(t[2]||`px`):void 0}function dt(e){let t=`0px 0px 0px 0px`,n=e.indexOf(`margin`);if(n===-1)return t;let r=[];for(let t=1;t<5;t++)r.push(ut(e[n+t]||``));return r=r.filter(e=>e!==void 0),r.length?r.join(` `).trim():t}var ft=ct,pt=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> 38 <path 39 fill="none" 40 fill-rule="evenodd" 41 stroke="currentColor" 42 stroke-linecap="round" 43 stroke-linejoin="round" 44 stroke-width="1.5" 45 d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16Zm10 2-4.35-4.35M9 6v6M6 9h6" 46 /> 47</svg> 48`,mt=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> 49 <path 50 fill="none" 51 fill-rule="evenodd" 52 stroke="currentColor" 53 stroke-linecap="round" 54 stroke-linejoin="round" 55 stroke-width="1.5" 56 d="M15 5 5 15M5 5l10 10" 57 /> 58</svg> 59`,ht=` 60<button 61 class="absolute top-2 right-2 w-10 h-10 uppercase flex items-center justify-center rounded-full bg-white text-black transition-all *:h-4 border border-black hover:border-atoll-900 hover:bg-atoll-900 hover:text-white" 62 aria-label="Bild vergröÃern"> 63 ${pt} 64</button> 65`,gt=` 66<button 67 class="absolute top-4 right-4 px-2 py-2 uppercase flex items-center justify-center rounded-full bg-white text-black transition-all *:h-6 border border-black hover:border-atoll-900 hover:bg-atoll-900 hover:text-white" 68 aria-label="SchlieÃen"> 69 ${mt} 70</button> 71`,_t=(e,{value:t,modifiers:n,expression:r},{Alpine:i,effect:a,cleanup:o})=>{e.classList.add(`relative`);let s=()=>{let e=document.createElement(`div`);e.classList.add(`fixed`,`inset-0`,`w-full`,`h-full`,`z-50`,`bg-white/75`,`backdrop-blur`),e.setAttribute(`aria-modal`,`true`),e.addEventListener(`click`,()=>e.remove());let t=document.createElement(`img`);t.src=r,t.classList.add(`absolute`,`top-1/2`,`left-1/2`,`transform`,`-translate-x-1/2`,`-translate-y-1/2`,`object-contain`,`w-full`,`h-full`,`p-2`,`sm:p-8`,`cursor-zoom-out`),e.appendChild(t),e.insertAdjacentHTML(`beforeend`,gt);let n=e.querySelector(`button[aria-label]`);setTimeout(()=>n.focus(),350),document.body.appendChild(e);let i=t=>{t.key===`Escape`&&e.remove()};document.addEventListener(`keydown`,i),o(()=>{document.removeEventListener(`keydown`,i)})},c=e.querySelector(`button[aria-label]`);c||(e.insertAdjacentHTML(`beforeend`,ht),c=e.querySelector(`button[aria-label]`),c.addEventListener(`click`,s))},vt=` 72<button 73 class="absolute -translate-y-1/2 right-3 top-1/2 p-[inherit] h-10 w-10 z-20 flex items-center justify-center rounded-full bg-white text-black transition-all *:h-4 disabled:hidden border border-black focus:translate-x-1 hover:border-atoll-900 hover:bg-atoll-900 hover:text-white" 74 aria-label="Weiter"> 75 ${ze} 76</button> 77`,yt=` 78<button 79 class="absolute -translate-y-1/2 left-3 top-1/2 p-[inherit] h-10 w-10 z-20 flex items-center justify-center rounded-full bg-white text-black transition-all *:h-4 disabled:hidden border border-black focus:-translate-x-1 hover:border-atoll-900 hover:bg-atoll-900 hover:text-white" 80 aria-label="Zurück"> 81 ${Be} 82</button> 83`;e.data(`header`,u),e.data(`flyingTiles`,Ge),e.data(`searchForm`,Ke),e.data(`article`,l),e.data(`showtimes`,qe),e.data(`dates`,Je),e.data(`body`,Qe),e.data(`form`,n),e.data(`sectionChannelBox`,$e),e.data(`pagesSearch`,et),e.data(`aditionAdsSlot`,rt),e.data(`rewardList`,it),e.directive(`image-gallery`,We),e.directive(`image-zoom`,_t),e.directive(`slider`,(e,{value:t,modifiers:n,expression:r},{Alpine:i,effect:a,cleanup:o})=>{let s=t===`mobile`,c=s?{"(min-width: 1280px)":{active:!1}}:{},l=Array.from(e.children);l.forEach(e=>e.classList.add(`shrink-0`,`min-w-0`,`grow-0`,`basis-[260px]`,`sm:basis-[300px]`));let u=document.createElement(`div`);u.classList.add(`flex`,`will-change-transform`,`gap-6`,`items-start`,`mr-12`,`ml-2.5`,`touch-p
83an-y`,`select-none`),l.forEach(e=>u.appendChild(e));let d=document.createElement(`div`);s?d.classList.add(`max-lg:overflow-hidden`,`relative`,`shrink!`):d.classList.add(`overflow-hidden`,`relative`,`shrink!`),d.appendChild(u),e.replaceChildren(d);let f=W(e,{container:u,duration:15,align:`center`,breakpoints:c},[Le()]);d.insertAdjacentHTML(`beforeend`,vt);let p=e.querySelector(`button[class*="right-"]`);p.addEventListener(`click`,()=>{p.blur(),f.scrollNext()}),d.insertAdjacentHTML(`beforeend`,yt);let m=e.querySelector(`button[class*="left-"]`);m.addEventListener(`click`,()=>{m.blur(),f.scrollPrev()});let h=()=>{m.disabled=!f.canScrollPrev(),p.disabled=!f.canScrollNext()};f.on(`select`,h).on(`init`,h).on(`reInit`,h),s&&(p.classList.add(`lg:hidden`),m.classList.add(`lg:hidden`))}),e.plugin(st),e.plugin(ft),t.start();
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.