1/*! For license information please see app.cc4c5c331a472721957b.bundle.js.LICENSE.txt */ 2(()=>{var __webpack_modules__={
vendor: 17,733 bytes, line 2
2"./node_modules/animejs/lib/anime.es.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>at});var i={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},r={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},o=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],s={CSS:{},springs:{}};function a(t,e,n){return Math.min(Math.max(t,e),n)}function l(t,e){return t.indexOf(e)>-1}function u(t,e){return t.apply(null,e)}var c={arr:function(t){return Array.isArray(t)},obj:function(t){return l(Object.prototype.toString.call(t),"Object")},pth:function(t){return c.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},inp:function(t){return t instanceof HTMLInputElement},dom:function(t){return t.nodeType||c.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},nil:function(t){return c.und(t)||null===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return c.hex(t)||c.rgb(t)||c.hsl(t)},key:function(t){return!i.hasOwnProperty(t)&&!r.hasOwnProperty(t)&&"targets"!==t&&"keyframes"!==t}};function h(t){var e=/\(([^)]+)\)/.exec(t);return e?e[1].split(",").map((function(t){return parseFloat(t)})):[]}function d(t,e){var n=h(t),i=a(c.und(n[0])?1:n[0],.1,100),r=a(c.und(n[1])?100:n[1],.1,100),o=a(c.und(n[2])?10:n[2],.1,100),l=a(c.und(n[3])?0:n[3],.1,100),u=Math.sqrt(r/i),d=o/(2*Math.sqrt(r*i)),f=d<1?u*Math.sqrt(1-d*d):0,_=1,p=d<1?(d*u-l)/f:-l+u;function m(t){var n=e?e*t/1e3:t;return n=d<1?Math.exp(-n*d*u)*(_*Math.cos(f*n)+p*Math.sin(f*n)):(_+p*n)*Math.exp(-n*u),0===t||1===t?t:1-n}return e?m:function(){var e=s.springs[t];if(e)return e;for(var n=1/6,i=0,r=0;;)if(1===m(i+=n)){if(++r>=16)break}else r=0;var o=i*n*1e3;return s.springs[t]=o,o}}function f(t){return void 0===t&&(t=10),function(e){return Math.ceil(a(e,1e-6,1)*t)*(1/t)}}var _,p,m=function(){var t=.1;function e(t,e){return 1-3*e+3*t}function n(t,e){return 3*e-6*t}function i(t){return 3*t}function r(t,r,o){return((e(r,o)*t+n(r,o))*t+i(r))*t}function o(t,r,o){return 3*e(r,o)*t*t+2*n(r,o)*t+i(r)}return function(e,n,i,s){if(0<=e&&e<=1&&0<=i&&i<=1){var a=new Float32Array(11);if(e!==n||i!==s)for(var l=0;l<11;++l)a[l]=r(l*t,e,i);return function(t){return e===n&&i===s||0===t||1===t?t:r(u(t),n,s)}}function u(n){for(var s=0,l=1;10!==l&&a[l]<=n;++l)s+=t;--l;var u=s+(n-a[l])/(a[l+1]-a[l])*t,c=o(u,e,i);return c>=.001?function(t,e,n,i){for(var s=0;s<4;++s){var a=o(e,n,i);if(0===a)return e;e-=(r(e,n,i)-t)/a}return e}(n,u,e,i):0===c?u:function(t,e,n,i,o){var s,a,l=0;do{(s=r(a=e+(n-e)/2,i,o)-t)>0?n=a:e=a}while(Math.abs(s)>1e-7&&++l<10);return a}(n,s,s+t,e,i)}}}(),v=(_={linear:function(){return function(t){return t}}},p={Sine:function(){return function(t){return 1-Math.cos(t*Math.PI/2)}},Circ:function(){return function(t){return 1-Math.sqrt(1-t*t)}},Back:function(){return function(t){return t*t*(3*t-2)}},Bounce:function(){return function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}},Elastic:function(t,e){void 0===t&&(t=1),void 0===e&&(e=.5);var n=a(t,1,10),i=a(e,.1,2);return function(t){return 0===t||1===t?t:-n*Math.pow(2,10*(t-1))*Math.sin((t-1-i/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/i)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(t,e){p[t]=function(){return function(t){return Math.pow(t,e+2)}}})),Object.keys(p).forEach((function(t){var e=p[t];_["easeIn"+t]=e,_["easeOut"+t]=function(t,n){return function(i){return 1-e(t,n)(1-i)}},_["easeInOut"+t]=function(t,n){return function(i){return i<.5?e(t,n)(2*i)/2:1-e(t,n)(-2*i+2)/2}},_["easeOutIn"+t]=function(t,n){return function(i){return i<.5?(1-e(t,n)(1-2*i))/2:(e(t,n)(2*i-1)+1)/2}}})),_);function y(t,e){if(c.fnc(t))return t;var n=t.split("(")[0],i=v[n],r=h(t);switch(n){case"spring":return d(t,e);case"cubicBezier":return u(m,r);case"steps":return u(f,r);default:return u(i,r)}}function g(t){try{return document.querySelectorAll(t)}catch(t){return}}function b(t,e){for(var n=t.length,i=arguments.length>=2?arguments[1]:void 0,r=[],o=0;o<n;o++)if(o in t){var s=t[o];e.call(i,s,o,t)&&r.push(s)}return r}function w(t){return t.reduce((function(t,e){return t.concat(c.arr(e)?w(e):e)}),[])}function j(t){return c.arr(t)?t:(c.str(t)&&(t=g(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function k(t,e){return t.some((function(t){return t===e}))}function x(t){var e={};for(var n in t)e[n]=t[n];return e}function S(t,e){var n=x(t);for(var i in t)n[i]=e.hasOwnProperty(i)?e[i]:t[i];return n}function E(t,e){var n=x(t);for(var i in e)n[i]=c.und(t[i])?e[i]:t[i];return n}function O(t){return c.rgb(t)?(n=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e=t))?"rgba("+n[1]+",1)":e:c.hex(t)?function(t){var e=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,i){return e+e+n+n+i+i})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+parseInt(n[1],16)+","+parseInt(n[2],16)+","+parseInt(n[3],16)+",1)"}(t):c.hsl(t)?function(t){var e,n,i,r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t),o=parseInt(r[1],10)/360,s=parseInt(r[2],10)/100,a=parseInt(r[3],10)/100,l=r[4]||1;function u(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(0==s)e=n=i=a;else{var c=a<.5?a*(1+s):a+s-a*s,h=2*a-c;e=u(h,c,o+1/3),n=u(h,c,o),i=u(h,c,o-1/3)}return"rgba("+255*e+","+255*n+","+255*i+","+l+")"}(t):void 0;var e,n}function A(t){var e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t);if(e)return e[1]}function P(t,e){return c.fnc(t)?t(e.target,e.id,e.total):t}function L(t,e){return t.getAttribute(e)}function T(t,e,n){if(k([n,"deg","rad","turn"],A(e)))return e;var i=s.CSS[e+n];if(!c.und(i))return i;var r=document.createElement(t.tagName),o=t.parentNode&&t.parentNode!==document?t.parentNode:document.body;o.appendChild(r),r.style.position="absolute",r.style.width=100+n;var a=100/r.offsetWidth;o.removeChild(r);var l=a*parseFloat(e);return s.CSS[e+n]=l,l}function M(t,e,n){if(e in t.style){var i=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=t.style[e]||getComputedStyle(t).getPropertyValue(i)||"0";return n?T(t,r,n):r}}function C(t,e){return c.dom(t)&&!c.inp(t)&&(!c.nil(L(t,e))||c.svg(t)&&t[e])?"attribute":c.dom(t)&&k(o,e)?"transform":c.dom(t)&&"transform"!==e&&M(t,e)?"css":null!=t[e]?"object":void 0}function I(t){if(c.dom(t)){for(var e,n=t.style.transform||"",i=/(\w+)\(([^)]*)\)/g,r=new Map;e=i.exec(n);)r.set(e[1],e[2]);return r}}function B(t,e,n,i){var r=l(e,"scale")?1:0+function(t){return l(t,"translate")||"perspective"===t?"px":l(t,"rotate")||l(t,"skew")?"deg":void 0}(e),o=I(t).get(e)||r;return n&&(n.transforms.list.set(e,o),n.transforms.last=e),i?T(t,o,i):o}function R(t,e,n,i){switch(C(t,e)){case"transform":return B(t,e,i,n);case"css":return M(t,e,n);case"attribute":return L(t,e);default:return t[e]||0}}function Z(t,e){var n=/^(\*=|\+=|-=)/.exec(t);if(!n)return t;var i=A(t)||0,r=parseFloat(e),o=parseFloat(t.replace(n[0],""));switch(n[0][0]){case"+":return r+o+i;case"-":return r-o+i;case"*":return r*o+i}}function V(t,e){if(c.col(t))return O(t);if(/\s/g.test(t))return t;var n=A(t),i=n?t.substr(0,t.length-n.length):t;return e?i+e:i}function D(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function q(t){for(var e,n=t.points,i=0,r=0;r<n.numberOfItems;r++){var o=n.getItem(r);r>0&&(i+=D(e,o)),e=o}return i}function F(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return function(t){return 2*Math.PI*L(t,"r")}(t);case"rect":return function(t){return 2*L(t,"width")+2*L(t,"height")}(t);case"line":return function(t){return D({x:L(t,"x1"),y:L(t,"y1")},{x:L(t,"x2"),y:L(t,"y2")})}(t);case"polyline":return q(t);case"polygon":return function(t){var e=t.points;return q(t)+D(e.getItem(e.numberOfItems-1),e.getItem(0))}(t)}}function $(t,e){var n=e||{},i=n.el||function(t){for(var e=t.parentNode;c.svg(e)&&c.svg(e.parentNode);)e=e.parentNode;return e}(t),r=i.getBoundingClientRect(),o=L(i,"viewBox"),s=r.width,a=r.height,l=n.viewBox||(o?o.split(" "):[0,0,s,a]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:s,h:a,vW:l[2],vH:l[3]}}function N(t,e,n){function i(n){void 0===n&&(n=0);var i=e+n>=1?e+n:0;return t.el.getPointAtLength(i)}var r=$(t.el,t.svg),o=i(),s=i(-1),a=i(1),l=n?1:r.w/r.vW,u=n?1:r.h/r.vH;switch(t.property){case"x":return(o.x-r.x)*l;case"y":return(o.y-r.y)*u;case"angle":return 180*Math.atan2(a.y-s.y,a.x-s.x)/Math.PI}}function W(t,e){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,i=V(c.pth(t)?t.totalLength:t,e)+"";return{original:i,numbers:i.match(n)?i.match(n).map(Number):[0],strings:c.str(t)||e?i.split(n):[]}}function U(t){return b(t?w(c.arr(t)?t.map(j):j(t)):[],(function(t,e,n){return n.indexOf(t)===e}))}function z(t){var e=U(t);return e.map((function(t,n){return{target:t,id:n,total:e.length,transforms:{list:I(t)}}}))}function H(t,e){var n=x(e);if(/^spring/.test(n.easing)&&(n.duration=d(n.easing)),c.arr(t)){var i=t.length;2===i&&!c.obj(t[0])?t={value:t}:c.fnc(e.duration)||(n.duration=e.duration/i)}var r=c.arr(t)?t:[t];return r.map((function(t,n){var i=c.obj(t)&&!c.pth(t)?t:{value:t};return c.und(i.delay)&&(i.delay=n?0:e.delay),c.und(i.endDelay)&&(i.endDelay=n===r.length-1?e.endDelay:0),i})).map((function(t){return E(t,n)}))}function Y(t,e){var n=[],i=e.keyframes;for(var r in i&&(e=E(function(t){for(var e=b(w(t.map((function(t){return Object.keys(t)}))),(function(t){return c.key(t)})).reduce((function(t,e){return t.indexOf(e)<0&&t.push(e),t}),[]),n={},i=function(i){var r=e[i];n[r]=t.map((function(t){var e={};for(var n in t)c.key(n)?n==r&&(e.value=t[n]):e[n]=t[n];return e}))},r=0;r<e.length;r++)i(r);return n}(i),e)),e)c.key(r)&&n.push({name:r,tweens:H(e[r],t)});return n}function G(t,e){var n;return t.tweens.map((function(i){var r=function(t,e){var n={};for(var i in t){var r=P(t[i],e);c.arr(r)&&1===(r=r.map((function(t){return P(t,e)}))).length&&(r=r[0]),n[i]=r}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}(i,e),o=r.value,s=c.arr(o)?o[1]:o,a=A(s),l=R(e.target,t.name,a,e),u=n?n.to.original:l,h=c.arr(o)?o[0]:u,d=A(h)||A(l),f=a||d;return c.und(s)&&(s=u),r.from=W(h,f),r.to=W(Z(s,h),f),r.start=n?n.end:0,r.end=r.start+r.delay+r.duration+r.endDelay,r.easing=y(r.easing,r.duration),r.isPath=c.pth(o),r.isPathTargetInsideSVG=r.isPath&&c.svg(e.target),r.isColor=c.col(r.from.original),r.isColor&&(r.round=1),n=r,r}))}var X={css:function(t,e,n){return t.style[e]=n},attribute:function(t,e,n){return t.setAttribute(e,n)},object:function(t,e,n){return t[e]=n},transform:function(t,e,n,i,r){if(i.list.set(e,n),e===i.last||r){var o="";i.list.forEach((function(t,e){o+=e+"("+t+") "})),t.style.transform=o}}};function J(t,e){z(t).forEach((function(t){for(var n in e){var i=P(e[n],t),r=t.target,o=A(i),s=R(r,n,o,t),a=Z(V(i,o||A(s)),s),l=C(r,n);X[l](r,n,a,t.transforms,!0)}}))}function K(t,e){return b(w(t.map((function(t){return e.map((function(e){return function(t,e){var n=C(t.target,e.name);if(n){var i=G(e,t),r=i[i.length-1];return{type:n,property:e.name,animatable:t,tweens:i,duration:r.end,delay:i[0].delay,endDelay:r.endDelay}}}(t,e)}))}))),(function(t){return!c.und(t)}))}function Q(t,e){var n=t.length,i=function(t){return t.timelineOffset?t.timelineOffset:0},r={};return r.duration=n?Math.max.apply(Math,t.map((function(t){return i(t)+t.duration}))):e.duration,r.delay=n?Math.min.apply(Math,t.map((function(t){return i(t)+t.delay}))):e.delay,r.endDelay=n?r.duration-Math.max.apply(Math,t.map((function(t){return i(t)+t.duration-t.endDelay}))):e.endDelay,r}var tt=0;var et=[],nt=function(){var t;function e(n){for(var i=et.length,r=0;r<i;){var o=et[r];o.paused?(et.splice(r,1),i--):(o.tick(n),r++)}t=r>0?requestAnimationFrame(e):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){rt.suspendWhenDocumentHidden&&(it()?t=cancelAnimationFrame(t):(et.forEach((function(t){return t._onDocumentVisibility()})),nt()))})),function(){t||it()&&rt.suspendWhenDocumentHidden||!(et.length>0)||(t=requestAnimationFrame(e))}}();function it(){return!!document&&document.hidden}function rt(t){void 0===t&&(t={});var e,n=0,o=0,s=0,l=0,u=null;function c(t){var e=window.Promise&&new Promise((function(t){return u=t}));return t.finished=e,e}var h=function(t){var e=S(i,t),n=S(r,t),o=Y(n,t),s=z(t.targets),a=K(s,o),l=Q(a,n),u=tt;return tt++,E(e,{id:u,children:[],animatables:s,animations:a,duration:l.duration,delay:l.delay,endDelay:l.endDelay})}(t);c(h);function d(){var t=h.direction;"alternate"!==t&&(h.direction="normal"!==t?"normal":"reverse"),h.reversed=!h.reversed,e.forEach((function(t){return t.reversed=h.reversed}))}function f(t){return h.reversed?h.duration-t:t}function _(){n=0,o=f(h.currentTime)*(1/rt.speed)}function p(t,e){e&&e.seek(t-e.timelineOffset)}function m(t){for(var e=0,n=h.animations,i=n.length;e<i;){var r=n[e],o=r.animatable,s=r.tweens,l=s.length-1,u=s[l];l&&(u=b(s,(function(e){return t<e.end}))[0]||u);for(var c=a(t-u.start-u.delay,0,u.duration)/u.duration,d=isNaN(c)?1:u.easing(c),f=u.to.strings,_=u.round,p=[],m=u.to.numbers.length,v=void 0,y=0;y<m;y++){var g=void 0,w=u.to.numbers[y],j=u.from.numbers[y]||0;g=u.isPath?N(u.value,d*w,u.isPathTargetInsideSVG):j+d*(w-j),_&&(u.isColor&&y>2||(g=Math.round(g*_)/_)),p.push(g)}var k=f.length;if(k){v=f[0];for(var x=0;x<k;x++){f[x];var S=f[x+1],E=p[x];isNaN(E)||(v+=S?E+S:E+" ")}}else v=p[0];X[r.type](o.target,r.property,v,o.transforms),r.currentValue=v,e++}}function v(t){h[t]&&!h.passThrough&&h[t](h)}function y(t){var i=h.duration,r=h.delay,_=i-h.endDelay,y=f(t);h.progress=a(y/i*100,0,100),h.reversePlayback=y<h.currentTime,e&&function(t){if(h.reversePlayback)for(var n=l;n--;)p(t,e[n]);else for(var i=0;i<l;i++)p(t,e[i])}(y),!h.began&&h.currentTime>0&&(h.began=!0,v("begin")),!h.loopBegan&&h.currentTime>0&&(h.loopBegan=!0,v("loopBegin")),y<=r&&0!==h.currentTime&&m(0),(y>=_&&h.currentTime!==i||!i)&&m(i),y>r&&y<_?(h.changeBegan||(h.changeBegan=!0,h.changeCompleted=!1,v("changeBegin")),v("change"),m(y)):h.changeBegan&&(h.changeCompleted=!0,h.changeBegan=!1,v("changeComplete")),h.currentTime=a(y,0,i),h.began&&v("update"),t>=i&&(o=0,h.remaining&&!0!==h.remaining&&h.remaining--,h.remaining?(n=s,v("loopComplete"),h.loopBegan=!1,"alternate"===h.direction&&d()):(h.paused=!0,h.completed||(h.completed=!0,v("loopComplete"),v("complete"),!h.passThrough&&"Promise"in window&&(u(),c(h)))))}return h.reset=function(){var t=h.direction;h.passThrough=!1,h.currentTime=0,h.progress=0,h.paused=!0,h.began=!1,h.loopBegan=!1,h.changeBegan=!1,h.completed=!1,h.changeCompleted=!1,h.reversePlayback=!1,h.reversed="reverse"===t,h.remaining=h.loop,e=h.children;for(var n=l=e.length;n--;)h.children[n].reset();(h.reversed&&!0!==h.loop||"alternate"===t&&1===h.loop)&&h.remaining++,m(h.reversed?h.duration:0)},h._onDocumentVisibility=_,h.set=function(t,e){return J(t,e),h},h.tick=function(t){s=t,n||(n=s),y((s+(o-n))*rt.speed)},h.seek=function(t){y(f(t))},h.pause=function(){h.paused=!0,_()},h.play=function(){h.paused&&(h.completed&&h.reset(),h.paused=!1,et.push(h),_(),nt())},h.reverse=function(){d(),h.completed=!h.reversed,_()},h.restart=function(){h.reset(),h.play()},h.remove=function(t){st(U(t),h)},h.reset(),h.autoplay&&h.play(),h}function ot(t,e){for(var n=e.length;n--;)k(t,e[n].animatable.target)&&e.splice(n,1)}function st(t,e){var n=e.animations,i=e.children;ot(t,n);for(var r=i.length;r--;){var o=i[r],s=o.animations;ot(t,s),s.length||o.children.length||i.splice(r,1)}n.length||i.length||e.pause()}rt.version="3.2.1",rt.speed=1,rt.suspendWhenDocumentHidden=!0,rt.running=et,rt.remove=function(t){for(var e=U(t),n=et.length;n--;){st(e,et[n])}},rt.get=R,rt.set=J,rt.convertPx=T,rt.path=function(t,e){var n=c.str(t)?g(t)[0]:t,i=e||100;return function(t){return{property:t,el:n,svg:$(n),totalLength:F(n)*(i/100)}}},rt.setDashoffset=function(t){var e=F(t);return t.setAttribute("stroke-dasharray",e),e},rt.stagger=function(t,e){void 0===e&&(e={});var n=e.direction||"normal",i=e.easing?y(e.easing):null,r=e.grid,o=e.axis,s=e.from||0,a="first"===s,l="center"===s,u="last"===s,h=c.arr(t),d=h?parseFloat(t[0]):parseFloat(t),f=h?parseFloat(t[1]):0,_=A(h?t[1]:t)||0,p=e.start||0+(h?d:0),m=[],v=0;return function(t,e,c){if(a&&(s=0),l&&(s=(c-1)/2),u&&(s=c-1),!m.length){for(var y=0;y<c;y++){if(r){var g=l?(r[0]-1)/2:s%r[0],b=l?(r[1]-1)/2:Math.floor(s/r[0]),w=g-y%r[0],j=b-Math.floor(y/r[0]),k=Math.sqrt(w*w+j*j);"x"===o&&(k=-w),"y"===o&&(k=-j),m.push(k)}else m.push(Math.abs(s-y));v=Math.max.apply(Math,m)}i&&(m=m.map((function(t){return i(t/v)*v}))),"reverse"===n&&(m=m.map((function(t){return o?t<0?-1*t:-t:Math.abs(v-t)})))}return p+(h?(f-d)/v:d)*(Math.round(100*m[e])/100)+_}},rt.timeline=function(t){void 0===t&&(t={});var e=rt(t);return e.duration=0,e.add=function(n,i){var o=et.indexOf(e),s=e.children;function a(t){t.passThrough=!0}o>-1&&et.splice(o,1);for(var l=0;l<s.length;l++)a(s[l]);var u=E(n,S(r,t));u.targets=u.targets||t.targets;var h=e.duration;u.autoplay=!1,u.direction=e.direction,u.timelineOffset=c.und(i)?h:Z(i,h),a(e),e.seek(u.timelineOffset);var d=rt(u);a(d),s.push(d);var f=Q(s,t);return e.delay=f.delay,e.endDelay=f.endDelay,e.duration=f.duration,e.seek(0),e.reset(),e.autoplay&&e.play(),e},e},rt.easing=y,rt.penner=v,rt.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t};const at=rt},
vendor: 320 bytes, line 2
2"./node_modules/domready/ready.js":t=>{var e,n,i,r,o,s;t.exports=(n=[],i=document,r=i.documentElement.doScroll,o="DOMContentLoaded",(s=(r?/^loaded|^c/:/^loaded|^i|^c/).test(i.readyState))||i.addEventListener(o,e=function(){for(i.removeEventListener(o,e),s=1;e=n.shift();)e()}),function(t){s?setTimeout(t,0):n.push(t)})},
vendor: 18,561 bytes, line 2
2"./node_modules/eventemitter2/lib/eventemitter2.js":(t,e,n)=>{var i;!function(r){var o=Object.hasOwnProperty,s=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},a="object"==typeof process&&"function"==typeof process.nextTick,l="function"==typeof Symbol,u="object"==typeof Reflect,c="function"==typeof setImmediate?setImmediate:setTimeout,h=l?u&&"function"==typeof Reflect.ownKeys?Reflect.ownKeys:function(t){var e=Object.getOwnPropertyNames(t);return e.push.apply(e,Object.getOwnPropertySymbols(t)),e}:Object.keys;function d(){this._events={},this._conf&&f.call(this,this._conf)}function f(t){t&&(this._conf=t,t.delimiter&&(this.delimiter=t.delimiter),t.maxListeners!==r&&(this._maxListeners=t.maxListeners),t.wildcard&&(this.wildcard=t.wildcard),t.newListener&&(this._newListener=t.newListener),t.removeListener&&(this._removeListener=t.removeListener),t.verboseMemoryLeak&&(this.verboseMemoryLeak=t.verboseMemoryLeak),t.ignoreErrors&&(this.ignoreErrors=t.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function _(t,e){var n="(node) warning: possible EventEmitter memory leak detected. "+t+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n+=" Event name: "+e+"."),"undefined"!=typeof process&&process.emitWarning){var i=new Error(n);i.name="MaxListenersExceededWarning",i.emitter=this,i.count=t,process.emitWarning(i)}else console.error(n),console.trace&&console.trace()}var p=function(t,e,n){var i=arguments.length;switch(i){case 0:return[];case 1:return[t];case 2:return[t,e];case 3:return[t,e,n];default:for(var r=new Array(i);i--;)r[i]=arguments[i];return r}};function m(t,e){for(var n={},i=t.length,o=e?e.length:0,s=0;s<i;s++)n[t[s]]=s<o?e[s]:r;return n}function v(t,e,n){var i,r;if(this._emitter=t,this._target=e,this._listeners={},this._listenersCount=0,(n.on||n.off)&&(i=n.on,r=n.off),e.addEventListener?(i=e.addEventListener,r=e.removeEventListener):e.addListener?(i=e.addListener,r=e.removeListener):e.on&&(i=e.on,r=e.off),!i&&!r)throw Error("target does not implement any known event API");if("function"!=typeof i)throw TypeError("on method must be a function");if("function"!=typeof r)throw TypeError("off method must be a function");this._on=i,this._off=r;var o=t._observers;o?o.push(this):t._observers=[this]}function y(t,e,n,i){var s=Object.assign({},e);if(!t)return s;if("object"!=typeof t)throw TypeError("options must be an object");var a,l,u,c=Object.keys(t),h=c.length;function d(t){throw Error('Invalid "'+a+'" option value'+(t?". Reason: "+t:""))}for(var f=0;f<h;f++){if(a=c[f],!i&&!o.call(e,a))throw Error('Unknown "'+a+'" option');(l=t[a])!==r&&(u=n[a],s[a]=u?u(l,d):l)}return s}function g(t,e){return"function"==typeof t&&t.hasOwnProperty("prototype")||e("value must be a constructor"),t}function b(t){var e="value must be type of "+t.join("|"),n=t.length,i=t[0],r=t[1];return 1===n?function(t,n){if(typeof t===i)return t;n(e)}:2===n?function(t,n){var o=typeof t;if(o===i||o===r)return t;n(e)}:function(i,r){for(var o=typeof i,s=n;s-- >0;)if(o===t[s])return i;r(e)}}Object.assign(v.prototype,{subscribe:function(t,e,n){var i=this,r=this._target,o=this._emitter,s=this._listeners,a=function(){var i=p.apply(null,arguments),s={data:i,name:e,original:t};n?!1!==n.call(r,s)&&o.emit.apply(o,[s.name].concat(i)):o.emit.apply(o,[e].concat(i))};if(s[t])throw Error("Event '"+t+"' is already listening");this._listenersCount++,o._newListener&&o._removeListener&&!i._onNewListener?(this._onNewListener=function(n){n===e&&null===s[t]&&(s[t]=a,i._on.call(r,t,a))},o.on("newListener",this._onNewListener),this._onRemoveListener=function(n){n===e&&!o.hasListeners(n)&&s[t]&&(s[t]=null,i._off.call(r,t,a))},s[t]=null,o.on("removeListener",this._onRemoveListener)):(s[t]=a,i._on.call(r,t,a))},unsubscribe:function(t){var e,n,i,r=this,o=this._listeners,s=this._emitter,a=this._off,l=this._target;if(t&&"string"!=typeof t)throw TypeError("event must be a string");function u(){r._onNewListener&&(s.off("newListener",r._onNewListener),s.off("removeListener",r._onRemoveListener),r._onNewListener=null,r._onRemoveListener=null);var t=x.call(s,r);s._observers.splice(t,1)}if(t){if(!(e=o[t]))return;a.call(l,t,e),delete o[t],--this._listenersCount||u()}else{for(i=(n=h(o)).length;i-- >0;)t=n[i],a.call(l,t,o[t]);this._listeners={},this._listenersCount=0,u()}}});var w=b(["function"]),j=b(["object","function"]);function k(t,e,n){var i,r,o,s=0,a=new t((function(l,u,c){function h(){r&&(r=null),s&&(clearTimeout(s),s=0)}n=y(n,{timeout:0,overload:!1},{timeout:function(t,e){return("number"!=typeof(t*=1)||t<0||!Number.isFinite(t))&&e("timeout must be a positive number"),t}}),i=!n.overload&&"function"==typeof t.prototype.cancel&&"function"==typeof c;var d=function(t){h(),l(t)},f=function(t){h(),u(t)};i?e(d,f,c):(r=[function(t){f(t||Error("canceled"))}],e(d,f,(function(t){if(o)throw Error("Unable to subscribe on cancel event asynchronously");if("function"!=typeof t)throw TypeError("onCancel callback must be a function");r.push(t)})),o=!0),n.timeout>0&&(s=setTimeout((function(){var t=Error("timeout");t.code="ETIMEDOUT",s=0,a.cancel(t),u(t)}),n.timeout))}));return i||(a.cancel=function(t){if(r){for(var e=r.length,n=1;n<e;n++)r[n](t);r[0](t),r=null}}),a}function x(t){var e=this._observers;if(!e)return-1;for(var n=e.length,i=0;i<n;i++)if(e[i]._target===t)return i;return-1}function S(t,e,n,i,r){if(!n)return null;if(0===i){var o=typeof e;if("string"===o){var s,a,l=0,u=0,c=this.delimiter,d=c.length;if(-1!==(a=e.indexOf(c))){s=new Array(5);do{s[l++]=e.slice(u,a),u=a+d}while(-1!==(a=e.indexOf(c,u)));s[l++]=e.slice(u),e=s,r=l}else e=[e],r=1}else"object"===o?r=e.length:(e=[e],r=1)}var f,_,p,m,v,y,g,b=null,w=e[i],j=e[i+1];if(i===r)n._listeners&&("function"==typeof n._listeners?(t&&t.push(n._listeners),b=[n]):(t&&t.push.apply(t,n._listeners),b=[n]));else{if("*"===w){for(a=(y=h(n)).length;a-- >0;)"_listeners"!==(f=y[a])&&(g=S(t,e,n[f],i+1,r))&&(b?b.push.apply(b,g):b=g);return b}if("**"===w){for((v=i+1===r||i+2===r&&"*"===j)&&n._listeners&&(b=S(t,e,n,r,r)),a=(y=h(n)).length;a-- >0;)"_listeners"!==(f=y[a])&&("*"===f||"**"===f?(n[f]._listeners&&!v&&(g=S(t,e,n[f],r,r))&&(b?b.push.apply(b,g):b=g),g=S(t,e,n[f],i,r)):g=S(t,e,n[f],f===j?i+2:i,r),g&&(b?b.push.apply(b,g):b=g));return b}n[w]&&(b=S(t,e,n[w],i+1,r))}if((_=n["*"])&&S(t,e,_,i+1,r),p=n["**"])if(i<r)for(p._listeners&&S(t,e,p,r,r),a=(y=h(p)).length;a-- >0;)"_listeners"!==(f=y[a])&&(f===j?S(t,e,p[f],i+2,r):f===w?S(t,e,p[f],i+1,r):((m={})[f]=p[f],S(t,e,{"**":m},i+1,r)));else p._listeners?S(t,e,p,r,r):p["*"]&&p["*"]._listeners&&S(t,e,p["*"],r,r);return b}function E(t,e,n){var i,r,o=0,s=0,a=this.delimiter,l=a.length;if("string"==typeof t)if(-1!==(i=t.indexOf(a))){r=new Array(5);do{r[o++]=t.slice(s,i),s=i+l}while(-1!==(i=t.indexOf(a,s)));r[o++]=t.slice(s)}else r=[t],o=1;else r=t,o=t.length;if(o>1)for(i=0;i+1<o;i++)if("**"===r[i]&&"**"===r[i+1])return;var u,c=this.listenerTree;for(i=0;i<o;i++)if(c=c[u=r[i]]||(c[u]={}),i===o-1)return c._listeners?("function"==typeof c._listeners&&(c._listeners=[c._listeners]),n?c._listeners.unshift(e):c._listeners.push(e),!c._listeners.warned&&this._maxListeners>0&&c._listeners.length>this._maxListeners&&(c._listeners.warned=!0,_.call(this,c._listeners.length,u))):c._listeners=e,!0;return!0}function O(t,e,n,i){for(var r,o,s,a,l=h(t),u=l.length,c=t._listeners;u-- >0;)r=t[o=l[u]],s="_listeners"===o?n:n?n.concat(o):[o],a=i||"symbol"==typeof o,c&&e.push(a?s:s.join(this.delimiter)),"object"==typeof r&&O.call(this,r,e,s,a);return e}function A(t){for(var e,n,i,r=h(t),o=r.length;o-- >0;)(e=t[n=r[o]])&&(i=!0,"_listeners"===n||A(e)||delete t[n]);return i}function P(t,e,n){this.emitter=t,this.event=e,this.listener=n}function L(t,e,n){if(!0===n)o=!0;else if(!1===n)i=!0;else{if(!n||"object"!=typeof n)throw TypeError("options should be an object or true");var i=n.async,o=n.promisify,s=n.nextTick,l=n.objectify}if(i||s||o){var u=e,h=e._origin||e;if(s&&!a)throw Error("process.nextTick is not supported");o===r&&(o="AsyncFunction"===e.constructor.name),e=function(){var t=arguments,e=this,n=this.event;return o?s?Promise.resolve():new Promise((function(t){c(t)})).then((function(){return e.event=n,u.apply(e,t)})):(s?process.nextTick:c)((function(){e.event=n,u.apply(e,t)}))},e._async=!0,e._origin=h}return[e,l?new P(this,t,e):this]}function T(t){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,f.call(this,t)}P.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},T.EventEmitter2=T,T.prototype.listenTo=function(t,e,n){if("object"!=typeof t)throw TypeError("target musts be an object");var i=this;function o(e){if("object"!=typeof e)throw TypeError("events must be an object");var r,o=n.reducers,s=x.call(i,t);r=-1===s?new v(i,t,n):i._observers[s];for(var a,l=h(e),u=l.length,c="function"==typeof o,d=0;d<u;d++)a=l[d],r.subscribe(a,e[a]||a,c?o:o&&o[a])}return n=y(n,{on:r,off:r,reducers:r},{on:w,off:w,reducers:j}),s(e)?o(m(e)):o("string"==typeof e?m(e.split(/\s+/)):e),this},T.prototype.stopListeningTo=function(t,e){var n=this._observers;if(!n)return!1;var i,r=n.length,o=!1;if(t&&"object"!=typeof t)throw TypeError("target should be an object");for(;r-- >0;)i=n[r],t&&i._target!==t||(i.unsubscribe(e),o=!0);return o},T.prototype.delimiter=".",T.prototype.setMaxListeners=function(t){t!==r&&(this._maxListeners=t,this._conf||(this._conf={}),this._conf.maxListeners=t)},T.prototype.getMaxListeners=function(){return this._maxListeners},T.prototype.event="",T.prototype.once=function(t,e,n){return this._once(t,e,!1,n)},T.prototype.prependOnceListener=function(t,e,n){return this._once(t,e,!0,n)},T.prototype._once=function(t,e,n,i){return this._many(t,1,e,n,i)},T.prototype.many=function(t,e,n,i){return this._many(t,e,n,!1,i)},T.prototype.prependMany=function(t,e,n,i){return this._many(t,e,n,!0,i)},T.prototype._many=function(t,e,n,i,r){var o=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");function s(){return 0==--e&&o.off(t,s),n.apply(this,arguments)}return s._origin=n,this._on(t,s,i,r)},T.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var t,e,n,i,r,o,s=arguments[0],a=this.wildcard;if("newListener"===s&&!this._newListener&&!this._events.newListener)return!1;if(a&&(t=s,"newListener"!==s&&"removeListener"!==s&&"object"==typeof s)){if(n=s.length,l)for(i=0;i<n;i++)if("symbol"==typeof s[i]){o=!0;break}o||(s=s.join(this.delimiter))}var u,c=arguments.length;if(this._all&&this._all.length)for(i=0,n=(u=this._all.slice()).length;i<n;i++)switch(this.event=s,c){case 1:u[i].call(this,s);break;case 2:u[i].call(this,s,arguments[1]);break;case 3:u[i].call(this,s,arguments[1],arguments[2]);break;default:u[i].apply(this,arguments)}if(a)u=[],S.call(this,u,t,this.listenerTree,0,n);else{if("function"==typeof(u=this._events[s])){switch(this.event=s,c){case 1:u.call(this);break;case 2:u.call(this,arguments[1]);break;case 3:u.call(this,arguments[1],arguments[2]);break;default:for(e=new Array(c-1),r=1;r<c;r++)e[r-1]=arguments[r];u.apply(this,e)}return!0}u&&(u=u.slice())}if(u&&u.length){if(c>3)for(e=new Array(c-1),r=1;r<c;r++)e[r-1]=arguments[r];for(i=0,n=u.length;i<n;i++)switch(this.event=s,c){case 1:u[i].call(this);break;case 2:u[i].call(this,arguments[1]);break;case 3:u[i].call(this,arguments[1],arguments[2]);break;default:u[i].apply(this,e)}return!0}if(!this.ignoreErrors&&!this._all&&"error"===s)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},T.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||d.call(this);var t,e,n,i,r,o,s=arguments[0],a=this.wildcard;if("newListener"===s&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(a&&(t=s,"newListener"!==s&&"removeListener"!==s&&"object"==typeof s)){if(i=s.length,l)for(r=0;r<i;r++)if("symbol"==typeof s[r]){e=!0;break}e||(s=s.join(this.delimiter))}var u,c=[],h=arguments.length;if(this._all)for(r=0,i=this._all.length;r<i;r++)switch(this.event=s,h){case 1:c.push(this._all[r].call(this,s));break;case 2:c.push(this._all[r].call(this,s,arguments[1]));break;case 3:c.push(this._all[r].call(this,s,arguments[1],arguments[2]));break;default:c.push(this._all[r].apply(this,arguments))}if(a?(u=[],S.call(this,u,t,this.listenerTree,0)):u=this._events[s],"function"==typeof u)switch(this.event=s,h){case 1:c.push(u.call(this));break;case 2:c.push(u.call(this,arguments[1]));break;case 3:c.push(u.call(this,arguments[1],arguments[2]));break;default:for(n=new Array(h-1),o=1;o<h;o++)n[o-1]=arguments[o];c.push(u.apply(this,n))}else if(u&&u.length){if(u=u.slice(),h>3)for(n=new Array(h-1),o=1;o<h;o++)n[o-1]=arguments[o];for(r=0,i=u.length;r<i;r++)switch(this.event=s,h){case 1:c.push(u[r].call(this));break;case 2:c.push(u[r].call(this,arguments[1]));break;case 3:c.push(u[r].call(this,arguments[1],arguments[2]));break;default:c.push(u[r].apply(this,n))}}else if(!this.ignoreErrors&&!this._all&&"error"===s)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(c)},T.prototype.on=function(t,e,n){return this._on(t,e,!1,n)},T.prototype.prependListener=function(t,e,n){return this._on(t,e,!0,n)},T.prototype.onAny=function(t){return this._onAny(t,!1)},T.prototype.prependAny=function(t){return this._onAny(t,!0)},T.prototype.addListener=T.prototype.on,T.prototype._onAny=function(t,e){if("function"!=typeof t)throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),e?this._all.unshift(t):this._all.push(t),this},T.prototype._on=function(t,e,n,i){if("function"==typeof t)return this._onAny(t,e),this;if("function"!=typeof e)throw new Error("on only accepts instances of Function");this._events||d.call(this);var o,s=this;return i!==r&&(e=(o=L.call(this,t,e,i))[0],s=o[1]),this._newListener&&this.emit("newListener",t,e),this.wildcard?(E.call(this,t,e,n),s):(this._events[t]?("function"==typeof this._events[t]&&(this._events[t]=[this._events[t]]),n?this._events[t].unshift(e):this._events[t].push(e),!this._events[t].warned&&this._maxListeners>0&&this._events[t].length>this._maxListeners&&(this._events[t].warned=!0,_.call(this,this._events[t].length,t))):this._events[t]=e,s)},T.prototype.off=function(t,e){if("function"!=typeof e)throw new Error("removeListener only takes instances of Function");var n,i=[];if(this.wildcard){var r="string"==typeof t?t.split(this.delimiter):t.slice();if(!(i=S.call(this,null,r,this.listenerTree,0)))return this}else{if(!this._events[t])return this;n=this._events[t],i.push({_listeners:n})}for(var o=0;o<i.length;o++){var a=i[o];if(n=a._listeners,s(n)){for(var l=-1,u=0,c=n.length;u<c;u++)if(n[u]===e||n[u].listener&&n[u].listener===e||n[u]._origin&&n[u]._origin===e){l=u;break}if(l<0)continue;return this.wildcard?a._listeners.splice(l,1):this._events[t].splice(l,1),0===n.length&&(this.wildcard?delete a._listeners:delete this._events[t]),this._removeListener&&this.emit("removeListener",t,e),this}(n===e||n.listener&&n.listener===e||n._origin&&n._origin===e)&&(this.wildcard?delete a._listeners:delete this._events[t],this._removeListener&&this.emit("removeListener",t,e))}return this.listenerTree&&A(this.listenerTree),this},T.prototype.offAny=function(t){var e,n=0,i=0;if(t&&this._all&&this._all.length>0){for(n=0,i=(e=this._all).length;n<i;n++)if(t===e[n])return e.splice(n,1),this._removeListener&&this.emit("removeListenerAny",t),this}else{if(e=this._all,this._removeListener)for(n=0,i=e.length;n<i;n++)this.emit("removeListenerAny",e[n]);this._all=[]}return this},T.prototype.removeListener=T.prototype.off,T.prototype.removeAllListeners=function(t){if(t===r)return!this._events||d.call(this),this;if(this.wildcard){var e,n=S.call(this,null,t,this.listenerTree,0);if(!n)return this;for(e=0;e<n.length;e++)n[e]._listeners=null;this.listenerTree&&A(this.listenerTree)}else this._events&&(this._events[t]=null);return this},T.prototype.listeners=function(t){var e,n,i,o,s,a=this._events;if(t===r){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!a)return[];for(o=(e=h(a)).length,i=[];o-- >0;)"function"==typeof(n=a[e[o]])?i.push(n):i.push.apply(i,n);return i}if(this.wildcard){if(!(s=this.listenerTree))return[];var l=[],u="string"==typeof t?t.split(this.delimiter):t.slice();return S.call(this,l,u,s,0),l}return a&&(n=a[t])?"function"==typeof n?[n]:n:[]},T.prototype.eventNames=function(t){var e=this._events;return this.wildcard?O.call(this,this.listenerTree,[],null,t):e?h(e):[]},T.prototype.listenerCount=function(t){return this.listeners(t).length},T.prototype.hasListeners=function(t){if(this.wildcard){var e=[],n="string"==typeof t?t.split(this.delimiter):t.slice();return S.call(this,e,n,this.listenerTree,0),e.length>0}var i=this._events,o=this._all;return!!(o&&o.length||i&&(t===r?h(i).length:i[t]))},T.prototype.listenersAny=function(){return this._all?this._all:[]},T.prototype.waitFor=function(t,e){var n=this,i=typeof e;return"number"===i?e={timeout:e}:"function"===i&&(e={filter:e}),k((e=y(e,{timeout:0,filter:r,handleError:!1,Promise,overload:!1},{filter:w,Promise:g})).Promise,(function(i,r,o){function s(){var o=e.filter;if(!o||o.apply(n,arguments))if(n.off(t,s),e.handleError){var a=arguments[0];a?r(a):i(p.apply(null,arguments).slice(1))}else i(p.apply(null,arguments))}o((function(){n.off(t,s)})),n._on(t,s,!1)}),{timeout:e.timeout,overload:e.overload})};var M=T.prototype;Object.defineProperties(T,{defaultMaxListeners:{get:function(){return M._maxListeners},set:function(t){if("number"!=typeof t||t<0||Number.isNaN(t))throw TypeError("n must be a non-negative number");M._maxListeners=t},enumerable:!0},once:{value:function(t,e,n){return k((n=y(n,{Promise,timeout:0,overload:!1},{Promise:g})).Promise,(function(n,i,r){var o;if("function"==typeof t.addEventListener)return o=function(){n(p.apply(null,arguments))},r((function(){t.removeEventListener(e,o)})),void t.addEventListener(e,o,{once:!0});var s,a=function(){s&&t.removeListener("error",s),n(p.apply(null,arguments))};"error"!==e&&(s=function(n){t.removeListener(e,a),i(n)},t.once("error",s)),r((function(){s&&t.removeListener("error",s),t.removeListener(e,a)})),t.once(e,a)}),{timeout:n.timeout,overload:n.overload})},writable:!0,configurable:!0}}),Object.defineProperties(M,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),(i=function(){return T}.call(e,n,e,t))===r||(t.exports=i)}()},
vendor: 3,697 bytes, line 2
2"./node_modules/splitting/dist/splitting.js":function(t){t.exports=function(){"use strict";var t=document,e=t.createTextNode.bind(t);function n(t,e,n){t.style.setProperty(e,n)}function i(t,e){return t.appendChild(e)}function r(e,n,r,o){var s=t.createElement("span");return n&&(s.className=n),r&&(!o&&s.setAttribute("data-"+n,r),s.textContent=r),e&&i(e,s)||s}function o(t,e){return t.getAttribute("data-"+e)}function s(e,n){return e&&0!=e.length?e.nodeName?[e]:[].slice.call(e[0].nodeName?e:(n||t).querySelectorAll(e)):[]}function a(t){for(var e=[];t--;)e[t]=[];return e}function l(t,e){t&&t.some(e)}function u(t){return function(e){return t[e]}}function c(t,e,i){var r="--"+e,o=r+"-index";l(i,(function(t,e){Array.isArray(t)?l(t,(function(t){n(t,o,e)})):n(t,o,e)})),n(t,r+"-total",i.length)}var h={};function d(t,e,n){var i=n.indexOf(t);if(-1==i)n.unshift(t),l(h[t].depends,(function(e){d(e,t,n)}));else{var r=n.indexOf(e);n.splice(i,1),n.splice(r,0,t)}return n}function f(t,e,n,i){return{by:t,depends:e,key:n,split:i}}function _(t){return d(t,0,[]).map(u(h))}function p(t){h[t.by]=t}function m(t,n,o,a,u){t.normalize();var c=[],h=document.createDocumentFragment();a&&c.push(t.previousSibling);var d=[];return s(t.childNodes).some((function(t){if(!t.tagName||t.hasChildNodes()){if(t.childNodes&&t.childNodes.length)return d.push(t),void c.push.apply(c,m(t,n,o,a,u));var i=t.wholeText||"",s=i.trim();s.length&&(" "===i[0]&&d.push(e(" ")),l(s.split(o),(function(t,e){e&&u&&d.push(r(h,"whitespace"," ",u));var i=r(h,n,t);c.push(i),d.push(i)}))," "===i[i.length-1]&&d.push(e(" ")))}else d.push(t)})),l(d,(function(t){i(h,t)})),t.innerHTML="",i(t,h),c}var v=0;function y(t,e){for(var n in e)t[n]=e[n];return t}var g="words",b=f(g,v,"word",(function(t){return m(t,"word",/\s+/,0,1)})),w="chars",j=f(w,[g],"char",(function(t,e,n){var i=[];return l(n[g],(function(t,n){i.push.apply(i,m(t,"char","",e.whitespace&&n))})),i}));function k(t){var e=(t=t||{}).key;return s(t.target||"[data-splitting]").map((function(n){var i=n["ð"];if(!t.force&&i)return i;i=n["ð"]={el:n};var r=_(t.by||o(n,"splitting")||w),s=y({},t);return l(r,(function(t){if(t.split){var r=t.by,o=(e?"-"+e:"")+t.key,a=t.split(n,s,i);o&&c(n,o,a),i[r]=a,n.classList.add(r)}})),n.classList.add("splitting"),i}))}function x(t){var e=(t=t||{}).target=r();return e.innerHTML=t.content,k(t),e.outerHTML}function S(t,e,n){var i=s(e.matching||t.children,t),r={};return l(i,(function(t){var e=Math.round(t[n]);(r[e]||(r[e]=[])).push(t)})),Object.keys(r).map(Number).sort(E).map(u(r))}function E(t,e){return t-e}k.html=x,k.add=p;var O=f("lines",[g],"line",(function(t,e,n){return S(t,{matching:n[g]},"offsetTop")})),A=f("items",v,"item",(function(t,e){return s(e.matching||t.children,t)})),P=f("rows",v,"row",(function(t,e){return S(t,e,"offsetTop")})),L=f("cols",v,"col",(function(t,e){return S(t,e,"offsetLeft")})),T=f("grid",["rows","cols"]),M="layout",C=f(M,v,v,(function(t,e){var a=e.rows=+(e.rows||o(t,"rows")||1),l=e.columns=+(e.columns||o(t,"columns")||1);if(e.image=e.image||o(t,"image")||t.currentSrc||t.src,e.image){var u=s("img",t)[0];e.image=u&&(u.currentSrc||u.src)}e.image&&n(t,"background-image","url("+e.image+")");for(var c=a*l,h=[],d=r(v,"cell-grid");c--;){var f=r(d,"cell");r(f,"cell-inner"),h.push(f)}return i(t,d),h})),I=f("cellRows",[M],"row",(function(t,e,n){var i=e.rows,r=a(i);return l(n[M],(function(t,e,n){r[Math.floor(e/(n.length/i))].push(t)})),r})),B=f("cellColumns",[M],"col",(function(t,e,n){var i=e.columns,r=a(i);return l(n[M],(function(t,e){r[e%i].push(t)})),r})),R=f("cells",["cellRows","cellColumns"],"cell",(function(t,e,n){return n[M]}));return p(b),p(j),p(O),p(A),p(P),p(L),p(T),p(C),p(I),p(B),p(R),k}()},
2"./src/js/components/ButtonGlitchEffect.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>m});var i=n("./node_modules/splitting/dist/splitting.js"),r=n.n(i),o=function(t){return t.map((function(t){return[Math.random(),t]})).sort((function(t,e){return t[0]-e[0]})).map((function(t){return t[1]}))};var s=n("./src/js/utils/dom.js"),a=n("./src/js/utils/listener.js"),l=n("./src/js/utils/mobile.js");function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}function f(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var _=function(){function t(e){var n;c(this,t);var i=e.hasAttribute("data-button-glitch-effect-typewriting")?"glitchEffectTypewriting":"chars";this.el=e,this.labels=(this.el.dataset.buttonGlitchEffect?f((0,s.$$)(this.el.dataset.buttonGlitchEffect,this.el)):[this.el]).map((function(t){return new p(t,i)})),this._hover=!1,this._index=0,this._length=(n=Math).max.apply(n,f(this.labels.map((function(t){return t.length})))),this._tick=null,this._onMouseEnter=this._onMouseEnter.bind(this),this._onMouseLeave=this._onMouseLeave.bind(this),this._onInterval=this._onInterval.bind(this),this.init()}return d(t,[{key:"init",value:function(){this._bindEvents()}},{key:"destroy",value:function(){this._unbindEvents(),this._hover&&this._onMouseLeave(),this.labels&&this.labels.forEach((function(t){return t.destroy()})),this.el=null,this.labels=null,this._hover=null,this._index=null,this._length=null,this._tick=null,this._onMouseEnter=null,this._onMouseLeave=null,this._onInterval=null}},{key:"_bindEvents",value:function(){l.ai||((0,a.on)(this.el,"mouseenter",this._onMouseEnter),(0,a.on)(this.el,"mouseleave",this._onMouseLeave))}},{key:"_unbindEvents",value:function(){l.ai||((0,a.S1)(this.el,"mouseenter",this._onMouseEnter),(0,a.S1)(this.el,"mouseleave",this._onMouseLeave))}},{key:"_onMouseEnter",value:function(){this._hover=!0,this._index=0,this.labels.forEach((function(t){return t.start()})),this._tick||(this._tick=setInterval(this._onInterval,100))}},{key:"_onMouseLeave",value:function(){this._hover=!1,this._tick&&clearInterval(this._tick),this._tick=null,this.labels.forEach((function(t){return t.stop()}))}},{key:"_onInterval",value:function(){this.labels.forEach((function(t){return t.update()})),this._index++,this._index>this._length&&this._onMouseLeave()}}]),t}(),p=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"chars";c(this,t),this.el=e,this._chars=r()({target:this.el,by:n})[0].chars,this._index=0,this._length=Math.min(this._chars.length,7)}return d(t,[{key:"destroy",value:function(){this.el=null,this._chars=null,this._index=null,this._length=null}},{key:"start",value:function(){this._index=0,this._chars=o(this._chars)}},{key:"stop",value:function(){this._chars.forEach((function(t){return t.classList.remove("--glitching")}))}},{key:"update",value:function(){this._index>0&&this._index<=this._length&&this._chars[this._index-1].classList.remove("--glitching"),this._index>=this._length||this._chars[this._index].classList.add("--glitching"),this._index++}},{key:"length",get:function(){return this._length}}]),t}();const m=_},
2"./src/js/components/Video.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var i=n("./src/js/core/power-mode.js"),r=n("./src/js/utils/breakpoint.js"),o=n("./src/js/utils/viewport.js");function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var a=["(min-width: 768px)","(min-width: 1200px)"];const l=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this._action=this.el.paused?"pause":"play",this._src=this.el.dataset.src||this.el.src,this._src_mobile=this.el.dataset.srcMobile,this._src_tablet=this.el.dataset.srcTablet,this._poster=this.el.dataset.poster,this._powerModeLow=i.Z.low&&!1===n,this._onBreakpointChange=this._onBreakpointChange.bind(this),this._powerModeLow||this._src&&(this._src_mobile||this._src_tablet)&&(this._bp=new r.Z(a,this._onBreakpointChange)),this.init()}var e,n,l;return e=t,n=[{key:"init",value:function(){this._bindEvents(),this._powerModeLow?this._poster&&this.el.setAttribute("poster",this._poster):(this._bp||this._src)&&this.el.src!==this.src&&(this.el.setAttribute("src",this.src),this["play"===this._action?"play":"pause"]())}},{key:"destroy",value:function(){this._unbindEvents(),this._bp&&this._bp.dispose(),this.el=null,this._action=null,this._playPromise=null,this._src=null,this._src_mobile=null,this._src_tablet=null,this._poster=null,this._bp=null,this._powerModeLow=null,this._onBreakpointChange=null}},{key:"play",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this;this.el&&(this._powerModeLow||"play"===this._action&&!1===e||(this._action="play",this._playPromise||(this._playPromise=null===(t=this.el)||void 0===t?void 0:t.play(),this._playPromise.finally((function(){n._playPromise=null})),this._playPromise.catch((function(){n._action=null})))))}},{key:"pause",value:function(){var t,e=this;this.el&&(this._powerModeLow||"pause"!==this._action&&(this._action="pause",this._playPromise?this._playPromise.then((function(){var t;return null===(t=e.el)||void 0===t?void 0:t.pause()})):null===(t=this.el)||void 0===t||t.pause()))}},{key:"seek",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.el&&(this.el.currentTime=t)}},{key:"_bindEvents",value:function(){var t;null===(t=this._bp)||void 0===t||t.on()}},{key:"_unbindEvents",value:function(){var t;null===(t=this._bp)||void 0===t||t.off()}},{key:"_onBreakpointChange",value:function(){this.src!==this.el.src&&(this._powerModeLow||("play"===this._action&&this.el.pause(),this.el.setAttribute("src",this.src)),"play"===this._action&&this.play(!0))}},{key:"playing",get:function(){return"play"===this._action}},{key:"src",get:function(){return this._src_mobile||this._src_tablet?o.Z.width<768?this._src_mobile?this._src_mobile:this._src_tablet:o.Z.width<1200&&this._src_tablet?this._src_tablet:this._src:this._src}}],n&&s(e.prototype,n),l&&s(e,l),t}()},
2"./src/js/core/emitter.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n("./node_modules/eventemitter2/lib/eventemitter2.js"),r=new(n.n(i)())({wildcard:!0});window._emitter=r;const o=r},
2"./src/js/core/hello.js":()=>{!function(){if(window.console){var t=navigator.userAgent.toLowerCase();if(t.indexOf("chrome")>-1||t.indexOf("firefox")>-1){window.console.log.apply(console,["%c %c Site by MILL3 Studio. %c %c https://mill3.studio/ %c ","background: #3426F1; border: 1px solid #3426F1; padding:5px 0; margin:3px 0 10px 0;","background: #ffffff; border: 1px solid #3426F1; color: #3426F1; padding:5px 0; margin:3px 0 10px 0;","background: #3426F1; border: 1px solid #3426F1; padding:5px 0; margin:3px 0 10px 0;","background: #ffffff; border: 1px solid #3426F1; color: #3426F1; padding:5px 0; margin:3px 0 10px 0;","background: #3426F1; border: 1px solid #3426F1; padding:5px 0; margin:3px 0 10px 0;"])}else window.console.log("Site by MILL3 Studio - https://mill3.studio/")}}()},
2"./src/js/core/power-mode.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n("./src/js/utils/browser.js"),r=n("./src/js/utils/dom.js"),o=n("./src/js/utils/listener.js");function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}const a=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.video=(0,r.$)("video#powerMode"),this._low=!1,this._onPlay=this._onPlay.bind(this),this.video&&((0,i.vF)()&&"MacIntel"!==navigator.platform?this.init():this.destroy())}var e,n,a;return e=t,(n=[{key:"init",value:function(){this._bindEvents()}},{key:"destroy",value:function(){this._unbindEvents(),this.video&&this.video.remove(),this.video=null,this._onPlay=null,this.low&&r.dy.classList.add("power-mode-low")}},{key:"_bindEvents",value:function(){this.video&&(0,o.on)(this.video,"canplaythrough",this._onPlay)}},{key:"_unbindEvents",value:function(){this.video&&(0,o.S1)(this.video,"canplaythrough",this._onPlay)}},{key:"_onPlay",value:function(){this.video.paused&&(this._low=!0),window.console&&window.console.log("PowerMode: ".concat(this._low?"Low":"Default")),this.destroy()}},{key:"low",get:function(){return this._low}}])&&s(e.prototype,n),a&&s(e,a),t}())},
2"./src/js/core/sfx.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>m});var i=n("./node_modules/animejs/lib/anime.es.js"),r=n("./node_modules/eventemitter2/lib/eventemitter2.js"),o=n.n(r),s=n("./src/js/core/emitter.js"),a=n("./src/js/core/windmill.js"),l=n("./src/js/utils/dom.js"),u=n("./src/js/utils/listener.js");function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function f(t,e){return!e||"object"!=((n=e)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&"function"!=typeof e?c(t):e;var n}function _(t,e){return _=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},_(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return f(this,n)}}const m=new(function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(d,t);var e,n,r,o=p(d);function d(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(t=o.call(this)).target=null,t.click=(0,l.$)("#sfx-click"),t.rollover=(0,l.$)("#sfx-rollover"),t.menuOpen=(0,l.$)("#sfx-menu-open"),t.menuClose=(0,l.$)("#sfx-menu-close"),t.soundtrack=(0,l.$)("#sfx-soundtrack"),t.click&&(t.click.volume=.1),t.soundtrack&&(t.soundtrack.volume=1),t._interacted=!1,t._muted=!0,t._playing=!1,t._ready=!1,t._volume={volume:1},t._siteVideoOpened=!1,t._onClick=t._onClick.bind(c(t)),t._onRollover=t._onRollover.bind(c(t)),t._onReady=t._onReady.bind(c(t)),t._onFadeUpdate=t._onFadeUpdate.bind(c(t)),t._onFadeOutCompleted=t._onFadeOutCompleted.bind(c(t)),t._onSiteVideoPlay=t._onSiteVideoPlay.bind(c(t)),t._onSiteVideoClosed=t._onSiteVideoClosed.bind(c(t)),t}return e=d,n=[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.d1;this._muted||(this.click&&this.click.setAttribute("preload","auto"),this.rollover&&this.rollover.setAttribute("preload","auto"),this.menuOpen&&this.menuOpen.setAttribute("preload","auto"),this.menuClose&&this.menuClose.setAttribute("preload","auto"),this.soundtrack&&this.soundtrack.setAttribute("preload","auto")),a.Z.once("done",this._onReady),(0,u.on)(t,"pointerdown",this._onClick),s.Z.on("SiteVideo.play",this._onSiteVideoPlay),s.Z.on("SiteVideo.oembed",this._onSiteVideoPlay),s.Z.on("SiteVideo.closed",this._onSiteVideoClosed),this.rollover&&(0,u.on)("a, button","mouseenter",this._onRollover)}},{key:"toggle",value:function(){this.muted=!this._muted}},{key:"menu",value:function(){var t,e,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];!this._muted&&this._interacted&&(n?null===(t=this.menuOpen)||void 0===t||t.play():null===(e=this.menuClose)||void 0===e||e.play())}},{key:"_startSoundtrack",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.soundtrack&&(t&&(0,i.Z)({targets:this._volume,volume:1,duration:3e3,easing:"linear",begin:this._onFadeUpdate,update:this._onFadeUpdate}),this._playing||this.soundtrack.play(),this._playing=!0)}},{key:"_stopSoundtrack",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.soundtrack&&(t?(0,i.Z)({targets:this._volume,volume:0,duration:2e3,easing:"linear",update:this._onFadeUpdate,complete:this._onFadeOutCompleted}):this._onFadeOutCompleted())}},{key:"_onClick",value:function(t){this._muted||(this._interacted=!0,t&&t.target.hasAttribute("data-sfx-prevent")||(this.click&&this.click.play(),this._ready&&this._startSoundtrack()))}},{key:"_onRollover",value:function(){!this._muted&&this._interacted&&this.rollover&&this.rollover.play()}},{key:"_onReady",value:function(){this._ready=!0,!this._muted&&this.soundtrack&&this._interacted&&this._startSoundtrack()}},{key:"_onFadeUpdate",value:function(){this.soundtrack&&(this.soundtrack.volume=this._volume.volume)}},{key:"_onFadeOutCompleted",value:function(){this.soundtrack&&this.soundtrack.pause(),this._playing=!1}},{key:"_onSiteVideoPlay",value:function(){this._muted||this._siteVideoOpened||(this._siteVideoOpened=!0,this._stopSoundtrack(!0))}},{key:"_onSiteVideoClosed",value:function(){!this._muted&&this._siteVideoOpened&&(this._startSoundtrack(!0),this._siteVideoOpened=!1)}},{key:"muted",get:function(){return this._muted}
2,set:function(t){t!==this._muted&&(this._muted=t,this.emit("change"),this._ready&&this._interacted&&this.soundtrack&&(this._muted?this._stopSoundtrack(!0):this._startSoundtrack(!0)))}}],n&&h(e.prototype,n),r&&h(e,r),d}(o()))},
2"./src/js/core/state.js":(t,e,n)=>{"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n.d(e,{e:()=>o});var r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.logoMin=!1,this.siteSearchOpen=!1,this.siteNavOpen=!1,this.scrollMin=!1,this.scrollDirection=null}var e,n,r;return e=t,n=[{key:"dispatch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;switch(t){case"LOGO_MIN":this.logoMin=e;break;case"SITE_SEARCH":this.siteSearchOpen=e;break;case"SITE_NAV":this.siteNavOpen=e;break;case"SCROLL_MIN":this.scrollMin=e;break;case"SCROLL_DIRECTION":this.scrollDirection=e;break;case"RESET":this.logoMin=!1,this.siteSearchOpen=!1,this.siteNavOpen=!1,this.scrollMin=!1,this.scrollDirection=null}}}],n&&i(e.prototype,n),r&&i(e,r),t}(),o=new r},
2"./src/js/core/windmill.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>B});var i=n("./src/js/utils/dom.js"),r=n("./src/js/utils/is.js"),o=n("./src/js/utils/listener.js"),s=n("./src/js/utils/imagesloaded.js"),a=n("./node_modules/eventemitter2/lib/eventemitter2.js"),l=n.n(a),u=n("./src/js/core/power-mode.js"),c=n("./src/js/utils/viewport.js");function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p(t,e,n){return e&&_(t.prototype,e),n&&_(t,n),t}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}function y(t,e){return!e||"object"!=((n=e)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&"function"!=typeof e?d(t):e;var n}function g(t,e){return g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},g(t,e)}function b(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m(t);if(e){var r=m(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return y(this,n)}}var j={1:!0,9:!0,11:!0},k=function(t){v(n,t);var e=w(n);function n(t){var o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;f(this,n),(o=e.call(this)).hasAnyBroken=!1,o.isComplete=!1,o.videos=null,o.progressedCount=0;var a=t;return"string"==typeof t&&(a=b((0,i.$$)(t))),a?(o.elements=(0,r.kJ)(a)||(0,r.Ms)(a)?a:[a],s&&o.on("always",s),o.getVideos(),setTimeout(o.check.bind(d(o))),o):(console.error("Bad element for videosLoaded "+(a||t)),y(o))}return p(n,[{key:"destroy",value:function(){this.videos&&this.videos.forEach((function(t){return t.destroy()})),this.hasAnyBroken=null,this.isComplete=null,this.videos=null,this.progressedCount=null,this.elements=null}},{key:"getVideos",value:function(){this.videos=[],this.elements.forEach(this.addElementVideos,this)}},{key:"addElementVideos",value:function(t){var e=this;if("VIDEO"!=t.nodeName){var n=t.nodeType;n&&j[n]&&b((0,i.$$)("video[data-required]",t)).forEach((function(t){return e.addVideo(t)}))}else this.addVideo(t)}},{key:"addVideo",value:function(t){this.videos.push(new x(t))}},{key:"check",value:function(){var t=this;if(this.progressedCount=0,this.hasAnyBroken=!1,this.videos.length){var e=function(e,n,i){setTimeout((function(){t.progress(e,n,i)}))};this.videos.forEach((function(t){t.once("progress",e),t.check()}))}else this.complete()}},{key:"progress",value:function(t,e){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emit("progress",this,t,e),this.progressedCount==this.videos.length&&this.complete()}}
2,{key:"complete",value:function(){this.isComplete=!0,this.emit(this.hasAnyBroken?"fail":"done",this),this.emit("always",this)}}]),n}(l()),x=function(t){v(n,t);var e=w(n);function n(t){var i;return f(this,n),(i=e.call(this)).el=t,i.isLoaded=!1,i._onPlay=i._onPlay.bind(d(i)),i._onError=i._onError.bind(d(i)),i}return p(n,[{key:"destroy",value:function(){this._unbindEvents(),this.el=null,this.isLoaded=null,this._onPlay=null,this._onError=null}},{key:"check",value:function(){if(u.Z.low)this.confirm(!1,"powermode-low");else{this._bindEvents();var t=this.el.dataset.src,e=this.el.dataset.srcMobile;(t||e)&&this.el.setAttribute("src",e&&c.Z.width<768?e:t)}}},{key:"confirm",value:function(t,e){this.isLoaded=t,this.emit("progress",this,this.el,e)}},{key:"_bindEvents",value:function(){(0,o.on)(this.el,"abort",this._onError),(0,o.on)(this.el,"error",this._onError),(0,o.on)(this.el,"suspend",this._onError),(0,o.on)(this.el,"canplaythrough",this._onPlay)}},{key:"_unbindEvents",value:function(){(0,o.S1)(this.el,"abort",this._onError),(0,o.S1)(this.el,"error",this._onError),(0,o.S1)(this.el,"suspend",this._onError),(0,o.S1)(this.el,"canplaythrough",this._onPlay)}},{key:"_onPlay",value:function(){this._unbindEvents(),this.confirm(!0,"play")}},{key:"_onError",value:function(t){this._unbindEvents(),this.confirm(!1,"error")}}]),n}(l());const S=k;var E=n("./src/js/utils/mobile.js");function O(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function A(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){A(t,e,n[e])}))}return t}var L={autoStart:!0,async:!1,cache:!0,container:'[data-windmill="container"]',debug:!1,preloadImages:!0,preloadVideos:!0,prevent:function(){return!1},runningClassname:"windmill-is-running",scrollRestoration:!1,timeout:5e3,transitions:[],wrapper:'[data-windmill="wrapper"]'};function T(t){return t.tagName&&"a"===t.tagName.toLowerCase()&&"string"==typeof t.href?t.href:null}function M(t){if(t&&C(t)===C()&&I(t)===I())return!0}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,e=t.match(/:\d+/);if(null!==e){var n=e[0].substring(1);return parseInt(n,10)}return/^http/.test(t)?80:/^https/.test(t)?443:void 0}function I(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href).replace(/(\/#.*|\/|#.*)$/,"")}const B=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._cache=new Map,this._data={current:{url:null,container:null,html:null},next:{url:null,container:null,html:null,scrollY:0,trigger:null}},this._fetched=!1,this._fetchPromise=null,this._listeners=new Map,this._options=P({},L),this._parser=null,this._plugins=new Set,this._running=!1,this._scrollY=0,this._transition=null,this._onPopStateBnd=this._onPopState.bind(this),this._onLinkClickBnd=this._onLinkClick.bind(this),this._onTimeoutBnd=this._onTimeout.bind(this)}var e,n,a;return e=t,n=[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this;if(this._options=P({},L,t),this._wrapper=(0,i.$)(this._options.wrapper),!this._wrapper&&!0===this._options.debug)throw new Error("[windmill] Can't find wrapper.");if(!(0,i.$)(this._options.container)&&!0===this._options.debug)throw new Error("[windmill] Can't find container.");"scrollRestoration"in history&&(history.scrollRestoration="manual"),this._transition=this._options.transitions.find((function(t){return(0,r.mf)(t.ready)})),this._data.current.url=I(),this._data.current.container=(0,i.$)(this._options.container),this._data.current.html=i.dy.innerHTML,this.saveCache(this._data.current.url,this._data.current.html),this._plugins.forEach((function(t){t&&(0,r.mf)(t.install)&&t.install(e)})),history.replaceState({scrollY:0},""),!0===this._options.autoStart&&this.start(),this._emit("init").then((function(){return e._preloadImages()})).then((function(){return e._preloadVideos()})).then((function(){return e._emit("loaded")})).then((function(){return e._emit("ready")})).then((function(){return e._emit("ageGate")})).then((function(){return e._emit("done")}))}},{key:"use",value:function(t){this._plugins.add(t)}},{key:"on",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._listeners.has(t)||this._listeners.set(t,new Set),this._listeners.get(t).add({ctx:n,fn:e})}},{key:"once",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this,r=function(){for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];i.off(t,r),e.apply(n,s)};this.on(t,r)}},{key:"off",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(this._listeners.has(t)){var i=this._listeners.get(t);
2i.forEach((function(t){e===t.fn&&t.ctx===n&&i.delete(t)}))}}},{key:"start",value:function(){(0,o.on)(window,"popstate",this._onPopStateBnd),(0,o.on)(document,"click",this._onLinkClickBnd)}},{key:"stop",value:function(){(0,o.S1)(window,"popstate",this._onPopStateBnd),(0,o.S1)(document,"click",this._onLinkClickBnd)}},{key:"back",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;history.go(t)}},{key:"forward",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;history.go(t)}},{key:"force",value:function(t){window.location.assign(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t)M(t)||!1!==this._checkPrevent(t,e,n)?this.force(t):(history.replaceState({scrollY:window.scrollY},""),history.pushState({scrollY:0},"",t),this._run(t,e));else if(!0===this._options.debug)throw new Error("[windmill] Go without url is forbidden.")}},{key:"push",value:function(t){this._data.current.url=t,history.pushState({scrollY:0},"",t)}},{key:"replace",value:function(t){this._data.current.url=t,history.replaceState({scroll:window.scrollY},"",t)}},{key:"saveCache",value:function(t,e){this._options.cache&&(t=I(t),this._cache.has(t)||this._cache.set(t,e))}},{key:"urlCached",value:function(t){return!this._options.cache||this._cache.has(t)}},{key:"_checkPrevent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(this._running)return 1;if(!window.history.pushState)return 2;if(n&&(n.which>1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey))return 3;if(e&&e.hasAttribute&&e.hasAttribute("target")&&"_blank"===e.target)return 4;if(e&&(void 0!==e.protocol&&window.location.protocol!==e.protocol||void 0!==e.hostname&&window.location.hostname!==e.hostname))return 5;if(e&&void 0!==e.port&&void 0!==e.href&&C()!==C(e.href))return 6;if(e&&e.getAttribute&&"string"===e.getAttribute("download"))return 7;if(e&&e.hasAttribute&&e.hasAttribute("data-windmill-prevent"))return 8;if(e)for(var i=e;i&&i.getAttribute;){if("all"===i.getAttribute("data-windmill-prevent"))return 8;i=i.parentNode}return!0===this._options.prevent(t,e,n)&&9}},{key:"_run",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this;if(this._data.next.url=t,this._data.next.trigger=n,this._data.next.scrollY=this._scrollY,this._running=!0,this._data.next.trigger&&(0,r.mf)(this._data.next.trigger.hasAttribute)&&this._data.next.trigger.hasAttribute("data-windmill-transition")){var s=this._data.next.trigger.dataset.windmillTransition;E.ai&&this._data.next.trigger.hasAttribute("data-windmill-transition-native")&&(s=this._data.next.trigger.dataset.windmillTransitionNative),e=this._options.transitions.find((function(t){return t.toString()===s}))}e||(e=this._options.transitions.find((function(t){return(0,r.mf)(t.exit)&&(0,r.mf)(t.enter)}))),this._transition=e,i.dy.classList.add(this._options.runningClassname),!0===this._options.cache&&this._cache.has(I(t))?(this._fetched=!0,this._onFetch(this._cache.get(I(t)))):(this._timeout=setTimeout(this._onTimeoutBnd,this._options.timeout),this._fetched=!1,fetch(t,{headers:{"X-WINDMILL":"yes"}}).then((function(t){return o._timeout&&clearTimeout(o._timeout),o._timeout=null,t.text()})).then(this._onFetch.bind(this)).catch(this._onTimeoutBnd)),this.async?this._emit("exiting").then((function(){return o._emit("exit")})).then((function(){return o._onAsyncFetch()})).then((function(){return o._emit("exited")})).then((function(){return o._emit("fetched")})).then((function(){return o._addNewPage()})).then((function(){return o._emit("added")})).then((function(){return o._restoreScroll()})).then((function(){return o._emit("entering")})).then((function(){return o._emit("enter")})).then((function(){return o._emit("entered")})).then((function(){return o._removeOldPage()})).then((function(){return o._performCompletion()})).then((function(){return o._emit("done")})).then((function(){return o._switchData()})):this._emit("exiting").then((function(){return o._emit("exit")})).then((function(){return o._emit("exited")})).then((function(){return o._removeOldPage()})).then((function(){return o._onAsyncFetch()})).then((function(){return o._emit("fetched")})).then((function(){return o._addNewPage()})).then((function(){return o._emit("added")})).then((function(){return o._preloadImages()})).then((function(){return o._restoreScroll()})).then((function(){return o._emit("entering")})).then((function(){return o._emit("enter")})).then((function(){return o._emit("entered")})).then((function(){return o._performCompletion()})).then((function(){return o._emit("done")})).then((function(){return o._switchData()}))}},{key:"_emit",value:function(t){var e=this,n=Promise.resolve();return this._listeners.has(t)&&this._listeners.get(t).forEach((function(t){var i=t.ctx,r=t.fn;n=n.then((function(){return r.call(i,e._data)}))})),this._transition&&(0,r.mf)(this._transition[t])&&(n=n.then((function(){return e._transition[t].call(e._transition,e._data)}))),n}},{key:"_removeOldPage",value:function(){this._data.current.container.remove(),this._data.current.container=null}},{key:"_addNewPage",value:function(){this._parser||(this._parser=new DOMParser);var t=this._parser.parseFromString(this._data.next.html,"text/html"),e=(0,i.$)("body",t).classList,n=(0,i.$)("body",t).getAttribute("style"),r=(0,i.$)("title",t);e&&(i.d1.classList=e),i.d1.hasAttribute("style")&&i.d1.removeAttribute("style"),n&&(i.d1.style=n),r&&(document.title=r.innerHTML),this._wrapper&&this._data.next.container&&this._wrapper.appendChild(this._data.next.container),window.scrollTo({top:0,behavior:"instant"})}},{key:"_preloadImages",value:function(){var t=this;if(this._options.preloadImages)return new Promise((function(e){t._imgLoader=new s.Z(t._data.next.container||t._data.current.container,(function(){t._imgLoader.destroy(),t._imgLoader=null,e()}))}))}},{key:"_preloadVideos",value:function(){var t=this;if(this._options.preloadVideos)return new Promise((function(e){t._videoLoader=new S(t._data.next.container||t._data.current.container,(function(){t._videoLoader.destroy(),t._videoLoader=null,e()}))}))}},{key:"_restoreScroll",value:function(){!0===this._options.scrollRestoration&&(this._scrollY>0&&window.scrollTo({top:this._scrollY,behavior:"instant"}),this._scrollY=0)}},{key:"_performCompletion",value:function(){this._running=!1,i.dy.classList.remove(this._options.runningClassname)}},{key:"_switchData",value:function(){this._data.current.url=this._data.next.url,this._data.current.container=this._data.next.container,this._data.current.html=this._data.next.html,this._data.next={url:null,container:null,html:null,trigger:null,scrollY:0}}},{key:"_onPopState",value:function(t){!0===this._options.scrollRestoration&&(this._scrollY=t.state&&t.state.scrollY?0|t.state.scrollY:0);var e=window.location.href;switch(this._checkPrevent(e,window,t)){case 1:case 9:return void this.force(e)}this._run(e,window,t)}},{key:"_onLinkClick",value:function(t){var e=function(t){for(var e=t.target;e&&!T(e);)e=e.parentNode;if(e)return e}(t);if(e){var n=T(e);
2M(n)||!1!==this._checkPrevent(n,e,t)||(t&&t.cancelable&&(t.preventDefault(),t.stopPropagation()),"replace"===e.getAttribute("data-windmill-method")?this.replace(n):(history.replaceState({scrollY:window.scrollY},""),history.pushState({scrollY:0},"",n),this._run(n,e,t)))}}},{key:"_onFetch",value:function(t){this._data.next.html=t,this.saveCache(this._data.next.url,t);var e=document.createElement("div");e.innerHTML=t;var n=(0,i.$)(this._options.container,e);if(!n&&!0===this._options.debug)throw new Error("[windmill] Can't find container in new page.");this._data.next.container=n,this._fetched=!0,this._fetchPromise&&this._fetchPromise(),this._fetchPromise=null}},{key:"_onAsyncFetch",value:function(){var t=this;return new Promise((function(e){t._fetched?e():t._fetchPromise=e}))}},{key:"_onTimeout",value:function(){this._fetched||this.force(window.location.href)}},{key:"async",get:function(){return this._options.async}},{key:"cache",get:function(){return this._options.cache}},{key:"debug",get:function(){return this._options.debug}},{key:"wrapper",get:function(){return this._options.wrapper}}],n&&O(e.prototype,n),a&&O(e,a),t}())},
2"./src/js/core/windmill.scripts.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ZP:()=>__WEBPACK_DEFAULT_EXPORT__});var _utils_dom__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/js/utils/dom.js");function _array_like_to_array(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function _array_without_holes(t){if(Array.isArray(t))return _array_like_to_array(t)}function _class_call_check(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _create_class(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}function _iterable_to_array(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _to_consumable_array(t){return _array_without_holes(t)||_iterable_to_array(t)||_unsupported_iterable_to_array(t)||_non_iterable_spread()}function _unsupported_iterable_to_array(t,e){if(t){if("string"==typeof t)return _array_like_to_array(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_array_like_to_array(t,e):void 0}}var SCRIPTS_SELECTOR='script:not([type="application/ld+json"]):not([type="application/json"]):not([type="text/html"])',WindmillScripts=function(){function WindmillScripts1(){_class_call_check(this,WindmillScripts1),this._dictionnary,this._deletions,this._parser,this._source,this._windmill}return _create_class(WindmillScripts1,[{key:"install",value:function(t){this._dictionnary=new Map,this._deletions=new Map,this._parser=new DOMParser,this._windmill=t,t.on("init",this._onInit,this),t.on("exited",this._onExited,this),t.on("enter",this._onEnter,this)}},{key:"_onInit",value:function(){var t=this,e=document.querySelector(this._windmill.wrapper);_to_consumable_array(document.querySelectorAll(SCRIPTS_SELECTOR)).forEach((function(n){var i=t._getScriptNamespace(n);i&&(e.contains(n)||t._scriptHasInlineText(n)&&!_utils_dom__WEBPACK_IMPORTED_MODULE_0__.YM.contains(n)||t._dictionnary.set(i,n))}))}},{key:"_onExited",value:function(){var t=this;this._deletions.forEach((function(e,n){t._dictionnary.delete(n),e.remove()})),this._deletions.clear()}},{key:"_onEnter",value:function(t){var e=t.next,n=this;this._source=this._parser.parseFromString(e.html,"text/html");var i=this._source.querySelector(this._windmill.wrapper),r=[];if(_to_consumable_array(this._source.querySelectorAll(SCRIPTS_SELECTOR)).forEach((function(t){var e=n._getScriptNamespace(t);if(e&&!n._dictionnary.has(e)){var o=n._scriptHasInlineText(t),s=i.contains(t),a=document.createElement("script");n._copyAttributes(a,t),o&&a.appendChild(document.createTextNode(t.text)),s||n._dictionnary.set(e,a),(o||s)&&n._deletions.set(e,t),r.push(a)}})),r.length>0)return r.reduce((function(t,e){return e.src&&e.text?t.then((function(){return n._loadScript(e)})).then((function(){return n._inlineScript(e)})):e.src?t.then((function(){return n._loadScript(e)})):t.then((function(){return n._inlineScript(e)}))}),Promise.resolve())}},{key:"_loadScript",value:function(t){return new Promise((function(e,n){t.onload=e,t.onerror=n,_utils_dom__WEBPACK_IMPORTED_MODULE_0__.YM.appendChild(t)}))}},{key:"_inlineScript",value:function _inlineScript(script){var _this=this;return new Promise((function(resolve){_utils_dom__WEBPACK_IMPORTED_MODULE_0__.YM.appendChild(script);try{eval(script.text)}catch(t){!0===_this._windmill.debug&&console.error(t)}resolve()}))}},{key:"_scriptHasInlineText",value:function(t){return!!t.text.trim()}},{key:"_getScriptNamespace",value:function(t){return t.src?t.src:t.id?t.id:t.text.trim()}},{key:"_copyAttributes",value:function(t,e){if(e.hasAttributes())for(var n=e.attributes,i=n.length-1;i>=0;i--)t.setAttribute(n[i].name,n[i].value)}}]),WindmillScripts1}();const __WEBPACK_DEFAULT_EXPORT__=WindmillScripts},
2"./src/js/scroll/constants.js":(t,e,n)=>{"use strict";n.d(e,{A2:()=>i,C2:()=>a,Hg:()=>s,SJ:()=>p,ZC:()=>c,dI:()=>r,fX:()=>h,gY:()=>o,i6:()=>d,n3:()=>m,sp:()=>f,uO:()=>l,y0:()=>u,zM:()=>_});var i="is-outview",r="is-inview",o="enter",s="exit",a="down",l="up",u="--js-scroll-down",c="--js-scroll-up",h=500,d="--js-logo-min",f=200,_="--js-scroll-min",p="--js-scrollbar-hidden",m={offset:0,smooth:!0,callback:!1,duration:null,easing:"linear"}},
2"./src/js/scroll/utils.js":(t,e,n)=>{"use strict";n.d(e,{JV:()=>d,Pw:()=>a,U9:()=>_,bt:()=>c,os:()=>u,sj:()=>l,xC:()=>h,zP:()=>f});var i=n("./src/js/utils/dom.js"),r=n("./src/js/utils/easings.js"),o=n("./src/js/utils/mobile.js"),s=n("./src/js/utils/viewport.js"),a=function(t){if(!t.hasAttribute("data-scroll-call"))return null;var e=t.dataset.scrollCall.split(",").map((function(t){return t.trim()}));return 1===e.length?e[0]:e},l=function(t){if(!t.hasAttribute("data-scroll-delay"))return!1;var e,n=null!==(e=parseFloat(t.getAttribute("data-scroll-delay")))&&void 0!==e?e:0;return!(n<=0||n>=1)&&n},u=function(t){if(!t.hasAttribute("data-scroll-offset"))return null;var e=(o.ai&&t.hasAttribute("data-scroll-offset-native")?t.dataset.scrollOffsetNative:t.dataset.scrollOffset).split(",");return e?(e.forEach((function(t,n){"string"==typeof t&&(t.includes("%")?e[n]=parseInt(t.replace("%","")*s.Z.height/100):e[n]=parseInt(t))})),e):null},c=function(t){return t.getAttribute("data-scroll-position")},h=function(t){return t.hasAttribute("data-scroll-progress")?[parseFloat(getComputedStyle(t).getPropertyValue("--scroll-progress")||0),r.ZP[t.getAttribute("data-scroll-progress")]||null]:[!1,null]},d=function(t){if(!t.hasAttribute("data-scroll-repeat"))return null;var e=t.dataset.scrollRepeat;return"false"!=e&&(null!=e||null)},f=function(t){return!!t.hasAttribute("data-scroll-speed")&&.1*parseFloat(t.getAttribute("data-scroll-speed"))},_=function(t){if(!t.hasAttribute("data-scroll-target"))return null;var e=t.dataset.scrollTarget;if(null==e)return null;var n=(0,i.$)(e);return n||(console.error("Cannot find ".concat(t,"'s data-scroll-target=").concat(e," in DOM.")),null)}},
2"./src/js/transitions/index.js":(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>$});var i=n("./src/js/components/ButtonGlitchEffect.js"),r=n("./src/js/components/Video.js");function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}const s=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._locked=1!=localStorage.getItem("ageGate")}var e,n,i;return e=t,(n=[{key:"unlock",value:function(){localStorage.setItem("ageGate",1),this._locked=!1}},{key:"locked",get:function(){return this._locked}}])&&o(e.prototype,n),i&&o(e,i),t}());var a=n("./src/js/core/power-mode.js"),l=n("./src/js/core/sfx.js"),u=n("./src/js/utils/dom.js"),c=n("./src/js/utils/interval.js"),h=n("./src/js/utils/listener.js"),d=n("./src/js/utils/mobile.js"),f=n("./src/js/utils/resize.js"),_=n("./src/js/transitions/utils.js");function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function m(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);s=!0);}catch(t){a=!0,r=t}finally{try{s||null==n.return||n.return()}finally{if(a)throw r}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var y="age-gate";const g=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=(0,u.$)("[data-site-loader]"),this.bg=(0,u.$)(".site-loader__bg"),this.intro=(0,u.$)(".site-loader__intro",this.el),this.bgVideo=(0,u.$)(".site-loader__bgVideo",this.el),this.introVideo=(0,u.$)(".site-loader__introVideo",this.el),this.content=(0,u.$)(".site-loader__content",this.el),this.acceptBtn=(0,u.$)(".site-loader__acceptBtn",this.el),this.rejectBtn=(0,u.$)(".site-loader__rejectBtn",this.el),this.audioBtn=(0,u.$)(".site-loader__audioBtn",this.el),this.sorry=(0,u.$)(".site-loader__sorry",this.el),this._acceptBtn=null,this._rejectBtn=null,this._audioBtn=null,this._ageGate=!1,this._ageIsValid=!0,this._readyPromise=null,this._tick=null,this._timecode=this.intro?this.intro.dataset.timecode:null,this._onAccept=this._onAccept.bind(this),this._onReject=this._onReject.bind(this),this._onAudioBtnClick=this._onAudioBtnClick.bind(this),this._onSFXChange=this._onSFXChange.bind(this),this._onAnimateOutCompleted=this._onAnimateOutCompleted.bind(this),this._onGoToIntroCompleted=this._onGoToIntroCompleted.bind(this),this._onIntroTimecode=this._onIntroTimecode.bind(this),this._onIntroEnded=this._onIntroEnded.bind(this)}var e,n,o;return e=t,(n=[{key:"init",value:function(){s.locked?(u.dy.classList.add(y),this._ageGate=!0,this._ageIsValid=!1,this.bgVideo&&(this.bgVideo=new r.Z(this.bgVideo)),this.introVideo&&(d.ai?this.introVideo.muted=!0:this.introVideo.volume=.5,this.introVideo.setAttribute("preload","metadata"),this.introVideo=new r.Z(this.introVideo)),this.acceptBtn&&!d.ai&&(this._acceptBtn=new i.Z(this.acceptBtn)),this.rejectBtn&&!d.ai&&(this._rejectBtn=new i.Z(this.rejectBtn)),this.audioBtn&&!d.ai&&(l.Z.muted=!1,this._audioBtn=new i.Z(this.audioBtn),this._onSFXChange()),this._bindEvents(),this._animateIn()):(this.bgVideo=null,this.introVideo=null)}},{key:"loaded",value:function(){(0,_.lv)(350,150)}},{key:"ready",value:function(){var t=this;return new Promise((function(e){t._readyPromise=e,t._ageIsValid&&
2(t._ageGate?t._goToIntro():t._animateOut())}))}},{key:"_bindEvents",value:function(){this.acceptBtn&&(0,h.on)(this.acceptBtn,"click",this._onAccept),this.rejectBtn&&(0,h.on)(this.rejectBtn,"click",this._onReject),this.audioBtn&&(l.Z.on("change",this._onSFXChange),(0,h.on)(this.audioBtn,"click",this._onAudioBtnClick))}},{key:"_unbindEvents",value:function(){this.el&&(0,h.S1)(this.el,"transitionend",this._onAnimateOutCompleted),this.introVideo&&((0,h.S1)(this.introVideo.el,"ended",this._onIntroTimecode),(0,h.S1)(this.introVideo.el,"ended",this._onIntroEnded)),this.content&&(0,h.S1)(this.content,"animationend",this._onGoToIntroCompleted),this.acceptBtn&&(0,h.S1)(this.acceptBtn,"click",this._onAccept),this.rejectBtn&&(0,h.S1)(this.rejectBtn,"click",this._onReject),this.audioBtn&&(l.Z.off("change",this._onSFXChange),(0,h.S1)(this.audioBtn,"click",this._onAudioBtnClick),(0,h.S1)(this.audioBtn,"animationend",this._onGoToIntroCompleted))}},{key:"_destroy",value:function(){this._unbindEvents(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el),this._acceptBtn&&this._acceptBtn.destroy(),this._rejectBtn&&this._rejectBtn.destroy(),this._audioBtn&&this._audioBtn.destroy(),this.bgVideo&&(this.bgVideo.pause(),this.bgVideo.destroy()),this.introVideo&&(this.introVideo.pause(),this.introVideo.destroy()),this.el=null,this.bg=null,this.intro=null,this.bgVideo=null,this.introVideo=null,this.content=null,this.acceptBtn=null,this.rejectBtn=null,this.audioBtn=null,this.sorry=null,this._acceptBtn=null,this._rejectBtn=null,this._audioBtn=null,this._ageGate=null,this._ageIsValid=null,this._readyPromise=null,this._tick=null,this._timecode=null,this._onAccept=null,this._onReject=null,this._onAudioBtnClick=null,this._onSFXChange=null,this._onAnimateOutCompleted=null,this._onGoToIntroCompleted=null,this._onIntroTimecode=null,this._onIntroEnded=null}},{key:"_animateIn",value:function(){this.el.classList.add("--animate-in"),this.bgVideo&&this.bgVideo.play()}},{key:"_animateOut",value:function(){u.dy.classList.remove(y),u.dy.classList.add("--js-ready"),this._ageGate&&f.ZP.trigger(),(0,h.on)(this.el,"transitionend",this._onAnimateOutCompleted),this.el.classList.add("--animate-out"),this._readyPromise(),this._readyPromise=null}},{key:"_goToIntro",value:function(){!this.intro||a.Z.low?this._animateOut():((0,h.on)(this.content,"animationend",this._onGoToIntroCompleted),this.el.classList.add("--intro"))}},{key:"_onAccept",value:function(t){if(t&&(t.preventDefault(),t.stopImmediatePropagation()),this._ageIsValid)return!1;this.content.classList.add("pointer-events-none"),this._ageIsValid=!0,s.unlock(),this._readyPromise&&this._goToIntro()}},{key:"_onReject",value:function(t){t&&(t.preventDefault(),t.stopImmediatePropagation()),this.sorry.setAttribute("aria-hidden",!1)}},{key:"_onAudioBtnClick",value:function(){l.Z.toggle()}},{key:"_onSFXChange",value:function(){this.audioBtn.classList[l.Z.muted?"add":"remove"]("--muted"),this.audioBtn.setAttribute("aria-label",this.audioBtn.dataset[l.Z.muted?"ariaOff":"ariaOn"]),this.introVideo&&!d.ai&&(this.introVideo.el.muted=l.Z.muted)}},{key:"_onAnimateOutCompleted",value:function(t){t.target===this.el&&this._destroy()}},{key:"_onGoToIntroCompleted",value:function(){(0,h.S1)(this.content,"animationend",this._onGoToIntroCompleted),this.intro&&this.intro.classList.remove("visibility-hidden"),this.introVideo&&(this._timecode?(this._timecode=this._convertTimecodeToMS(this._timecode),this._tick=(0,c.c)(this._onIntroTimecode,1e3/30)):(0,h.on)(this.introVideo.el,"ended",this._onIntroTimecode),(0,h.on)(this.introVideo.el,"ended",this._onIntroEnded),this.introVideo.play()),this.bgVideo&&this.bgVideo.pause(),this.bg&&this.bg.classList.add("visibility-hidden")}},{key:"_onIntroTimecode",value:function(){var t;this._timecode&&this.introVideo.el.currentTime<this._timecode||(this._tick&&this._tick(),this._tick=null,(null===(t=document.activeElement)||void 0===t?void 0:t.blur)&&document.activeElement.blur(),this.el.setAttribute("inert",""),this.el.setAttribute("aria-hidden",!0),u.dy.classList.remove(y),u.dy.classList.add("--js-ready"),f.ZP.trigger(),this._readyPromise(),this._readyPromise=null)}},{key:"_onIntroEnded",value:function(){this._readyPromise&&(this._timecode=null,this._onIntroTimecode()),this._destroy()}},{key:"_convertTimecodeToMS",value:function(t){if(t.indexOf(":")<0)return null;var e=v(t.split(":"),2),n=e[0],i=e[1];return n||(n=0),i||(i=0),n=parseInt(n),i=parseInt(i),0===n&&0===i?null:n+(i/=30)}}])&&m(e.prototype,n),o&&m(e,o),t}();var b=n("./node_modules/animejs/lib/anime.es.js");function w(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}const j=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=(0,u.$)("[data-site-transition]")}var e,n,i;return e=t,(n=[{key:"exit",value:function(){var t=this;return this.el.classList.remove("pointer-events-none"),new Promise((function(e){(0,b.Z)({targets:t.el,opacity:[0,1],delay:150,duration:450,easing:"linear",complete:function(){return e()}}),t.el.classList.remove("visibility-hidden")}))}},{key:"entering",value:function(){(0,_.lv)(350,150)}},{key:"enter",value:function(){var t=this;return new Promise((function(e){(0,b.Z)({targets:t.el,opacity:[1,0],duration:250,easing:"linear",complete:function(){t.el.classList.add("visibility-hidden","pointer-events-none"),e()}})}))}}])&&w(e.prototype,n),i&&w(e,i),t}();var k=n("./src/js/core/emitter.js"),x=n("./src/js/utils/viewport.js");function S(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function E(t,e,n){return E="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=O(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n||t):r.value}},E(t,e,n||t)}function O(t){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},O(t)}function A(t,e){return!e||"object"!=((n=e)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e;var n}function P(t,e){return P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},P(t,e)}function L(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=O(t);if(e){var r=O(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return A(this,n)}}var T=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(o,t);var e,n,i,r=L(o);function o(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=r.call(this)).gameHeader=(0,u.$)(".game-header-transition"),t.gameHeaderBg=(0,u.$)(".game-header-transition__bg",t.gameHeader),t._active=!1,t._dummy={y:0,height:0,opacity:0}
2,t._target=null,t}return e=o,(n=[{key:"toString",value:function(){return"GameHeaderTransition"}},{key:"exit",value:function(t){var e=this;this._active=!1,this._target=null;var n=t.next.trigger.dataset.gameHeaderTransitionTarget;if(!n||a.Z.low)return E(O(o.prototype),"exit",this).call(this,t);var i=(0,u.$)(n);if(!i)return E(O(o.prototype),"exit",this).call(this,t);this._active=!0,this._target=i;var r,s=(0,u.JA)(this._target);return r=x.Z.width<768?x.Z.width/.75:x.Z.width<1200?x.Z.width/1.40651801:x.Z.height,this.gameHeader.style.setProperty("--target-y","".concat(s.y,"px")),this.gameHeader.style.setProperty("--target-height","".concat(s.height,"px")),this.gameHeader.style.setProperty("--gradient-opacity",0),this.gameHeader.setAttribute("aria-hidden",!1),this.gameHeader.appendChild(this._target),t.current.container.classList.add("pointer-events-none"),new Promise((function(n){(0,b.Z)({targets:e._dummy,y:[s.y,0],height:[s.height,r],opacity:{value:[0,1],duration:450,easing:"linear"},duration:950,easing:"easeInOutQuart",update:function(){e.gameHeader.style.setProperty("--target-y","".concat(e._dummy.y,"px")),e.gameHeader.style.setProperty("--target-height","".concat(e._dummy.height,"px")),e.gameHeader.style.setProperty("--gradient-opacity",e._dummy.opacity)}}),(0,b.Z)({targets:t.current.container,opacity:0,duration:650,easing:"linear",complete:function(){e.gameHeader.classList.add("z-10000"),n()}})}))}},{key:"enter",value:function(t){if(!this._active)return E(O(o.prototype),"enter",this).call(this,t);var e=(0,u.$)("video[data-game-header-transition-destination]",t.next.container),n=e?e.parentElement:null;e&&(k.Z.emit("Video.destroy",e),e.remove()),n?n.appendChild(this._target):this._target.remove(),this.gameHeader.setAttribute("aria-hidden",!0),this.gameHeader.classList.remove("z-10000"),this._target=null,this._active=!1}}])&&S(e.prototype,n),i&&S(e,i),o}(j);const M=T;function C(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function B(t,e,n){return B="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=R(t)););return t}(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(n||t):r.value}},B(t,e,n||t)}function R(t){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},R(t)}function Z(t,e){return!e||"object"!=((n=e)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&"function"!=typeof e?C(t):e;var n}function V(t,e){return V=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},V(t,e)}function D(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=R(t);if(e){var r=R(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Z(this,n)}}var q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V(t,e)}(o,t);var e,n,i,r=D(o);function o(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=r.call(this)).videoTransition=(0,u.$)(".video-transition"),t.video=(0,u.$)(".video-transition__video",t.videoTransition),t._active=!1,t._exitPromise=null,t._onVideoEnded=t._onVideoEnded.bind(C(t)),t}return e=o,(n=[{key:"toString",value:function(){return"VideoTransition"}},{key:"exit",value:function(t){var e=this;this._active=!1;var n=t.next.trigger.dataset.videoTransition,i=t.next.trigger.dataset.videoTransitionMobile;return a.Z.low||!n&&!i?B(R(o.prototype),"exit",this).call(this,t):(this._active=!0,this.videoTransition.setAttribute("aria-hidden",!1),(0,h.S1)(this.video,"ended",this._onVideoEnded),(0,h.on)(this.video,"ended",this._onVideoEnded),new Promise((function(t){e._exitPromise=t,x.Z.width<768?e.video.src=i||n:e.video.src=n||i})))}},{key:"entering",value:function(){(0,_.lv)(350,this._active?0:150)}},{key:"enter",value:function(t){if(!this._active)return B(R(o.prototype),"enter",this).call(this,t);this.videoTransition.setAttribute("aria-hidden",!0),this.video.src=""}},{key:"_onVideoEnded",value:function(){(0,h.S1)(this.video,"ended",this._onVideoEnded),this._active&&this._exitPromise(),this._exitPromise=null}}])&&I(e.prototype,n),i&&I(e,i),o}(j);const F=q,$=[new g,new j,new M,new F]},
2"./src/js/transitions/utils.js":(t,e,n)=>{"use strict";n.d(e,{UD:()=>u,lv:()=>c});var i=n("./src/js/scroll/utils.js"),r=n("./src/js/utils/dom.js"),o=n("./src/js/utils/transform.js"),s=n("./src/js/utils/viewport.js");function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function l(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u=function(t){if(!t)return!1;var e,n=(0,r.JA)(t),a=null!==(e=(0,i.os)(t))&&void 0!==e?e:[0,0],l=(0,o.R)(t),u=n.top-l.y+a[0],c=n.top-l.y+n.height-a[1];return u<s.Z.height&&c>0},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;l((0,r.$$)("[data-module-delay]")).forEach((function(n){var i=u(n);n.setAttribute("data-module-delay",i),i&&n.style.setProperty("--module-delay","".concat(e,"ms")),i&&(e+=n.hasAttribute("data-module-delay-increment")?parseInt(n.dataset.moduleDelayIncrement):t)}))}},
2"./src/js/utils/breakpoint.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){var n,i=function(t){n=t,o||(requestAnimationFrame(s),o=!0)},r=t.map((function(t){return window.matchMedia(t)})),o=!1,s=function(){e(n),o=!1};return{dispose:function(){o=!0,n=null,r=null},on:function(){r.forEach((function(t){return t.addListener(i)}))},off:function(){r.forEach((function(t){return t.removeListener(i)}))},run:s}}},
2"./src/js/utils/browser.js":(t,e,n)=>{"use strict";n.d(e,{Lk:()=>m,Ud:()=>h,a1:()=>d,ar:()=>v,e9:()=>c,i$:()=>_,tW:()=>u,vF:()=>p});var i=(0,n("./src/js/utils/is.js").FJ)("object"==typeof self&&self)&&self,r=i&&i.navigator,o=(r&&r.userAgent||"").toLowerCase(),s=(r&&r.vendor||"").toLowerCase(),a={"<":function(t,e){return t<e},"<=":function(t,e){return t<=e},">":function(t,e){return t>e},">=":function(t,e){return t>=e}},l=function(t,e){var n=e+"",i=+(n.match(/\d+/)||NaN),r=n.match(/^[<>]=?|/)[0];return a[r]?a[r](t,i):t==i||i!=i},u=function(){return/android/.test(o)},c=function(t){var e=/google inc/.test(s)?o.match(/(?:chrome|crios)\/(\d+)/):null;return null!==e&&!f()&&l(e[1],t)},h=function(t){var e=o.match(/(?:firefox|fxios)\/(\d+)/);return null!==e&&l(e[1],t)},d=function(t){var e=o.match(/version\/(\d+).+?safari/);return null!==e&&l(e[1],t)},f=function(t){var e=o.match(/(?:^opera.+?version|opr)\/(\d+)/);return null!==e&&l(e[1],t)},_=function(t){var e=o.match(/edge\/(\d+)/);return null!==e&&l(e[1],t)},p=function(){return v()||m()||y()},m=function(t){return d(t)&&!v()&&!y()&&r.maxTouchPoints>1},v=function(t){var e=o.match(/iphone(?:.+?os (\d+))?/);return null!==e&&l(e[1]||1,t)},y=function(t){var e=o.match(/ipod.+?os (\d+)/);return null!==e&&l(e[1],t)}},
2"./src/js/utils/dom.js":(t,e,n)=>{"use strict";n.d(e,{$:()=>a,$$:()=>l,Dh:()=>c,JA:()=>u,YM:()=>o,d1:()=>s,dy:()=>r,re:()=>h});var i=n("./src/js/utils/is.js"),r=document.documentElement,o=document.head,s=document.body,a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;return(0,i.HD)(t)?e.querySelector(t):t===window||(0,i.mV)(t)?t:(0,i.kJ)(t)||(0,i.Ms)(t)||(0,i.iN)(t)?t[0]:null},l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;return(0,i.HD)(t)?e.querySelectorAll(t):t===window||(0,i.mV)(t)?[t]:(0,i.kJ)(t)||(0,i.Ms)(t)||(0,i.iN)(t)?t:null},u=function(t){return t.getBoundingClientRect()},c=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},h=function(t,e){t.parentNode.insertBefore(e,t),e.appendChild(t)}},
vendor: 1,798 bytes, line 2
2"./src/js/utils/easings.js":(t,e,n)=>{"use strict";n.d(e,{ZP:()=>r,hl:()=>i});var i=function(t,e,n,i){return-n*(t/=i)*(t-2)+e};const r={easeInQuad:function(t,e,n,i){return n*(t/=i)*t+e},easeOutQuad:i,easeInOutQuad:function(t,e,n,i){return(t/=i/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,n,i){return n*(t/=i)*t*t+e},easeOutCubic:function(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e},easeInOutCubic:function(t,e,n,i){return(t/=i/2)<1?n/2*t*t*t+e:n/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,n,i){return n*(t/=i)*t*t*t+e},easeOutQuart:function(t,e,n,i){return-n*((t=t/i-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,n,i){return(t/=i/2)<1?n/2*t*t*t*t+e:-n/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,n,i){return n*(t/=i)*t*t*t*t+e},easeOutQuint:function(t,e,n,i){return n*((t=t/i-1)*t*t*t*t+1)+e},easeInOutQuint:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(t/=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:1)/2)<1?n/2*t*t*t*t*t+e:n/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,n,i){return-n*Math.cos(t/i*(Math.PI/2))+n+e},easeOutSine:function(t,e,n,i){return n*Math.sin(t/i*(Math.PI/2))+e},easeInOutSine:function(t,e,n,i){return-n/2*(Math.cos(Math.PI*t/i)-1)+e},easeInExpo:function(t,e,n,i){return 0==t?e:n*Math.pow(2,10*(t/i-1))+e},easeOutExpo:function(t,e,n,i){return t==i?e+n:n*(1-Math.pow(2,-10*t/i))+e},easeInOutExpo:function(t,e,n,i){return 0==t?e:t==i?e+n:(t/=i/2)<1?n/2*Math.pow(2,10*(t-1))+e:n/2*(2-Math.pow(2,-10*--t))+e},easeInCirc:function(t,e,n,i){return-n*(Math.sqrt(1-(t/=i)*t)-1)+e},easeOutCirc:function(t,e,n,i){return n*Math.sqrt(1-(t=t/i-1)*t)+e},easeInOutCirc:function(t,e,n,i){return(t/=i/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+e:n/2*(Math.sqrt(1-(t-=2)*t)+1)+e}}},
2"./src/js/utils/imagesloaded.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>j});var i=n("./node_modules/eventemitter2/lib/eventemitter2.js"),r=n.n(i),o=n("./src/js/utils/dom.js"),s=n("./src/js/utils/is.js"),a=n("./src/js/utils/listener.js");function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function _(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}function p(t,e){return!e||"object"!=((n=e)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)&&"function"!=typeof e?u(t):e;var n}function m(t,e){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function v(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=f(t);if(e){var r=f(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p(this,n)}}var g={1:!0,9:!0,11:!0},b=function(t){_(n,t);var e=y(n);function n(t){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;c(this,n),(i=e.call(this)).hasAnyBroken=!1,i.isComplete=!1,i.images=null,i.progressedCount=0;var a=t;return"string"==typeof t&&(a=v((0,o.$$)(t))),a?(i.elements=(0,s.kJ)(a)||(0,s.Ms)(a)?a:[a],r&&i.on("always",r),i.getImages(),setTimeout(i.check.bind(u(i))),i):(console.error("Bad element for imagesLoaded "+(a||t)),p(i))}return d(n,[{key:"destroy",value:function(){this.images&&this.images.forEach((function(t){return t.destroy()})),this.hasAnyBroken=null,this.isComplete=null,this.images=null,this.progressedCount=null,this.elements=null}},{key:"getImages",value:function(){this.images=[],this.elements.forEach(this.addElementImages,this)}},{key:"addElementImages",value:function(t){var e=this;"IMG"==t.nodeName&&this.addImage(t);var n=t.nodeType;n&&g[n]&&v((0,o.$$)('img:not([loading="lazy"])',t)).forEach((function(t){return e.addImage(t)}))}},{key:"addImage",value:function(t){this.images.push(new w(t))}},{key:"check",value:function(){var t=this;if(this.progressedCount=0,this.hasAnyBroken=!1,this.images.length){var e=function(e,n,i){setTimeout((function(){t.progress(e,n,i)}))};this.images.forEach((function(t){t.once("progress",e),t.check()}))}else this.complete()}},{key:"progress",value:function(t,e){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emit("progress",this,t,e),this.progressedCount==this.images.length&&this.complete()}},{key:"complete",value:function(){this.isComplete=!0,this.emit(this.hasAnyBroken?"fail":"done",this),this.emit("always",this)}},{key:"percentage",get:function(){return this.progressedCount/this.images.length}}]),n}(r()),w=function(t){_(n,t);var e=y(n);function n(t){var i;return c(this,n),(i=e.call(this)).img=t,i.isLoaded=!1,i._onLoad=i._onLoad.bind(u(i)),i._onError=i._onError.bind(u(i)),i}return d(n,[{key:"destroy",value:function(){this._unbindEvents(),this.img=null,this.isLoaded=null,this._onLoad=null,this._onError=null}},{key:"check",value:function(){if(this._bindEvents(),this.img.complete)return this.img.naturalWi
2dth||this.img.outerHTML,void this.confirm(0!==this.img.naturalWidth,"naturalWidth")}},{key:"confirm",value:function(t,e){this.isLoaded=t,this.emit("progress",this,this.img,e)}},{key:"_bindEvents",value:function(){this.img&&((0,a.on)(this.img,"load",this._onLoad),(0,a.on)(this.img,"error",this._onError))}},{key:"_unbindEvents",value:function(){this.img&&((0,a.S1)(this.img,"load",this._onLoad),(0,a.S1)(this.img,"error",this._onError))}},{key:"_onLoad",value:function(){this._unbindEvents(),this.confirm(!0,"onload")}},{key:"_onError",value:function(){this._unbindEvents(),this.confirm(!1,"onerror")}}]),n}(r());const j=b},
2"./src/js/utils/interval.js":(t,e,n)=>{"use strict";n.d(e,{c:()=>i});var i=function(t,e){var n,i=(new Date).getTime(),r=!1;return n=requestAnimationFrame((function o(){!0!==r&&(n=requestAnimationFrame(o),(new Date).getTime()-i>=e&&(t.call(),i=(new Date).getTime()))})),function(){n&&cancelAnimationFrame(n),n=null,r=!0}}},
2"./src/js/utils/is.js":(t,e,n)=>{"use strict";n.d(e,{FJ:()=>d,HD:()=>c,Kn:()=>u,Ms:()=>a,hj:()=>l,iN:()=>s,kJ:()=>i,mV:()=>r,mf:()=>o,o8:()=>h});var i=Array.isArray||function(t){return"[object Array]"===toString.call(t)},r=function(t){return Object(t)===t&&t.nodeType>0},o=function(t){return"[object Function]"===toString.call(t)||"function"==typeof t},s=function(t){return t instanceof HTMLCollection},a=function(t){return t instanceof NodeList},l=function(t){return Number.isFinite(t)},u=function(t){return"Object"==t.constructor.name},c=function(t){return"[object String]"===toString.call(t)},h=function(t){return void 0===t},d=function(t){return null!=t&&"object"==typeof t&&"setInterval"in t}},
2"./src/js/utils/listener.js":(t,e,n)=>{"use strict";n.d(e,{S1:()=>c,on:()=>u});var i=n("./src/js/utils/browser.js"),r=n("./src/js/utils/is.js"),o=n("./src/js/utils/dom.js"),s=["touchmove","mousemove","scroll","mouseWheel","touchstart","deviceorientation"],a=function(t){return"mouseWheel"===t?"onwheel"in document?"wheel":(0,r.o8)(document.onmousewheel)?"DOMMouseScroll":"mousewheel":"focusOut"===t?(0,i.Ud)()?"blur":"focusout":t},l=function(t,e,n,i){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=(0,o.$$)(t),u=a(n),c=Object.assign(r,function(t){return-1!==s.indexOf(t)&&{passive:!1}}(n)),h=0,d=l.length;h<d;h++)l[h]["".concat(e,"EventListener")](u,i,c)},u=function(t,e,n,i){l(t,"add",e,n,i)},c=function(t,e,n,i){l(t,"remove",e,n,i)}},
2"./src/js/utils/math.js":(t,e,n)=>{"use strict";n.d(e,{UI:()=>o,b9:()=>r,t7:()=>i});var i=function(t,e,n){return t*(1-n)+e*n},r=function(t,e,n){return Math.max(t,Math.min(e,n))},o=function(t,e,n,i,r){return(t-e)*(r-i)/(n-e)+i}},
2"./src/js/utils/mobile.js":(t,e,n)=>{"use strict";n.d(e,{ai:()=>i,v1:()=>r});var i=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,r=(!!window.matchMedia&&window.matchMedia("(hover: none)").matches,!window.matchMedia||window.matchMedia("(hover: hover)").matches)},
2"./src/js/utils/raf.js":(t,e,n)=>{"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n.d(e,{ZP:()=>s,ol:()=>r});var r=450,o=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._lastTime=null,this._listeners=[],this._running=!1,this._rafID=null,this._runBnd=this._run.bind(this)}var e,n,r;return e=t,n=[{key:"add",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!this._exists(t)){var i={callback:t,priority:e,active:n};return this._listeners.push(i),this._listeners.sort((function(t,e){return e.priority>t.priority?1:e.priority<t.priority?-1:0})),this._running||this._startRAF(),function(t){i.active=!0===t,i.active&&o._startRAF()}}}},{key:"remove",value:function(t){if(this._exists(t)){var e=this._listeners.findIndex((function(e){return e.callback===t}));this._listeners.splice(e,1)[0],this._running&&this._listeners&&0===this._listeners.length&&this._stopRAF()}}},{key:"_exists",value:function(t){return this._listeners.find((function(e){return e.callback===t}))}},{key:"_startRAF",value:function(){this._running||(this._running=!0,this._rafID=requestAnimationFrame(this._runBnd))}},{key:"_stopRAF",value:function(){this._running&&(this._rafID&&cancelAnimationFrame(this._rafID),this._rafID=null,this._running=!1)}},{key:"_run",value:function(){if(this._rafID=null,this._running){var t=!1,e=performance.now(),n=this._lastTime?Math.min(Math.ceil((e-this._lastTime)/16.666666666666668*10)/10,1):1;this._lastTime=e,this._listeners.forEach((function(e){e.active&&(e.callback(n),e.active&&(t=!0))})),t?this._rafID=requestAnimationFrame(this._runBnd):this._stopRAF()}}}],n&&i(e.prototype,n),r&&i(e,r),t}());const s=o},
2"./src/js/utils/resize.js":(t,e,n)=>{"use strict";n.d(e,{Vu:()=>a,ZP:()=>c,_q:()=>u,ro:()=>l});var i=n("./src/js/utils/listener.js"),r=n("./src/js/utils/mobile.js"),o=n("./src/js/utils/throttle.js");function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var a=-999,l=-450,u=999;const c=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._event=null,this._listening=!1,this._listeners=[],this._tick=null,this._getThrottleBnd=this._getThrottle.bind(this),this._getRafBnd=this._getRAF.bind(this),this._runBnd=this._run.bind(this),this.init()}var e,n,a;return e=t,n=[{key:"init",value:function(){this._throttle=(0,o.Z)({cb:this._getRafBnd,delay:200,onlyAtEnd:!1})}},{key:"add",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._exists(t)||(this._listeners.push({callback:t,priority:e}),this._listeners.sort((function(t,e){return e.priority>t.priority?1:e.priority<t.priority?-1:0})),!this._listening&&this._listeners.length>0&&this._bindEvents())}},{key:"remove",value:function(t){if(this._exists(t)){var e=this._listeners.findIndex((function(e){return e.callback===t}));this._listeners.splice(e,1),this._listening&&0===this._listeners.length&&this._unbindEvents()}}},{key:"trigger",value:function(){this._tick||(this._tick=!0,this._event=new Event("resize"),this._run())}},{key:"_bindEvents",value:function(){this._listening||(this._listening=!0,(0,i.on)(window,r.ai?"orientationchange":"resize",this._getThrottleBnd))}},{key:"_unbindEvents",value:function(){this._listening&&((0,i.S1)(window,r.ai?"orientationchange":"resize",this._getThrottleBnd),this._listening=!1)}},{key:"_exists",value:function(t){return this._listeners.find((function(e){return e.callback===t}))}},{key:"_getThrottle",value:function(t){this._event=t,this._throttle.init()}},{key:"_getRAF",value:function(){this._tick||(this._tick=!0,requestAnimationFrame(this._runBnd))}},{key:"_run",value:function(){var t=this;this._listeners.forEach((function(e){return(0,e.callback)(t._event)})),this._tick=!1}}],n&&s(e.prototype,n),a&&s(e,a),t}())},
2"./src/js/utils/throttle.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{delay:200,onlyAtEnd:!1},i=n.delay,r=n.cb,o=n.onlyAtEnd;return{init:function(){var n=!0,s=Date.now();t&&s<t+i||n?(n=!1,clearTimeout(e),e=setTimeout((function(){t=s,r()}),i)):(t=s,o||(n=!1,r()))},dispose:function(){e&&clearTimeout(e),e=null}}}},
2"./src/js/utils/transform.js":(t,e,n)=>{"use strict";function i(t){var e={};if(window.getComputedStyle){var n=getComputedStyle(t),i=n.transform||n.webkitTransform||n.mozTransform,r=i.match(/^matrix3d\((.+)\)$/);return r?(e.x=r?parseFloat(r[1].split(", ")[12]):0,e.y=r?parseFloat(r[1].split(", ")[13]):0):(r=i.match(/^matrix\((.+)\)$/),e.x=r?parseFloat(r[1].split(", ")[4]):0,e.y=r?parseFloat(r[1].split(", ")[5]):0),e}}n.d(e,{R:()=>i})},
2"./src/js/utils/viewport.js":(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i={get width(){return innerWidth},get height(){return innerHeight},get devicePixelRatio(){return devicePixelRatio||1}}}
2,"./src/js lazy recursive ^\\.\\/.*\\/$":(t,e,n)=>{var i={"./modules/accordions/":["./src/js/modules/accordions/index.js","src_js_modules_accordions_index_js"],"./modules/audio-button/":["./src/js/modules/audio-button/index.js","vendors-node_modules_animejs_lib_anime_es_js","src_js_modules_audio-button_index_js"],"./modules/filtered-posts-list/":["./src/js/modules/filtered-posts-list/index.js","vendors-node_modules_animejs_lib_anime_es_js","src_js_modules_filtered-posts-list_index_js"],"./modules/game-header/":["./src/js/modules/game-header/index.js","src_js_modules_game-header_index_js"],"./modules/google-map/":["./src/js/modules/google-map/index.js","src_js_modules_google-map_index_js"],"./modules/humble-bundle-links/":["./src/js/modules/humble-bundle-links/index.js","vendors-node_modules_animejs_lib_anime_es_js","src_js_modules_humble-bundle-links_index_js"],"./modules/lottie/":["./src/js/modules/lottie/index.js","vendors-node_modules_animejs_lib_anime_es_js","vendors-node_modules_lottie-web_build_player_lottie_js","src_js_modules_lottie_index_js"],"./modules/newsletter/":["./src/js/modules/newsletter/index.js","src_js_modules_newsletter_index_js"],"./modules/pb-row-accordions/":["./src/js/modules/pb-row-accordions/index.js","src_js_modules_pb-row-accordions_index_js"],"./modules/pb-row-books/":["./src/js/modules/pb-row-books/index.js","vendors-node_modules_swiper_swiper_mjs","vendors-node_modules_swiper_modules_index_mjs","src_js_modules_pb-row-books_index_js"],"./modules/pb-row-featured-games/":["./src/js/modules/pb-row-featured-games/index.js","src_js_modules_pb-row-featured-games_index_js"],"./modules/pb-row-featured-posts/":["./src/js/modules/pb-row-featured-posts/index.js","vendors-node_modules_swiper_swiper_mjs","vendors-node_modules_swiper_modules_index_mjs","src_js_modules_pb-row-featured-posts_index_js"],"./modules/pb-row-games/":["./src/js/modules/pb-row-games/index.js","vendors-node_modules_swiper_swiper_mjs","src_js_modules_pb-row-games_index_js"],"./modules/pb-row-hero/":["./src/js/modules/pb-row-hero/index.js","src_js_modules_pb-row-hero_index_js"],"./modules/pb-row-medias/":["./src/js/modules/pb-row-medias/index.js","vendors-node_modules_swiper_swiper_mjs","src_js_modules_pb-row-medias_index_js"],"./modules/pb-row-oembed/":["./src/js/modules/pb-row-oembed/index.js","src_js_modules_pb-row-oembed_index_js"],"./modules/pb-row-rich-scrolling-content/":["./src/js/modules/pb-row-rich-scrolling-content/index.js","src_js_modules_pb-row-rich-scrolling-content_index_js"],"./modules/pb-row-tabs/":["./src/js/modules/pb-row-tabs/index.js","src_js_modules_pb-row-tabs_index_js"],"./modules/pb-row-testimonials/":["./src/js/modules/pb-row-testimonials/index.js","src_js_modules_pb-row-testimonials_index_js"],"./modules/pb-row-wrapper-reveal/":["./src/js/modules/pb-row-wrapper-reveal/index.js","src_js_modules_pb-row-wrapper-reveal_index_js"],"./modules/prefers-color-scheme-btn/":["./src/js/modules/prefers-color-scheme-btn/index.js","src_js_modules_prefers-color-scheme-btn_index_js"],"./modules/scrolling-images-sequence/":["./src/js/modules/scrolling-images-sequence/index.js","src_js_modules_scrolling-images-sequence_index_js"],"./modules/sharing/":["./src/js/modules/sharing/index.js","src_js_modules_sharing_index_js"],"./modules/support-search/":["./src/js/modules/support-search/index.js","vendors-node_modules_meilisearch_dist_bundles_meilisearch_umd_js","src_js_modules_support-search_index_js"],"./modules/svg-path-length/":["./src/js/modules/svg-path-length/index.js","src_js_modules_svg-path-length_
2index_js"],"./modules/text-ticker/":["./src/js/modules/text-ticker/index.js","src_js_modules_text-ticker_index_js"],"./modules/video/":["./src/js/modules/video/index.js","src_js_modules_video_index_js"],"./transitions/":["./src/js/transitions/index.js","vendors-node_modules_animejs_lib_anime_es_js","src_js_components_ButtonGlitchEffect_js","src_js_transitions_index_js"],"./ui/gdpr/":["./src/js/ui/gdpr/index.js","vendors-node_modules_animejs_lib_anime_es_js","src_js_components_ButtonGlitchEffect_js","src_js_ui_gdpr_index_js"],"./ui/gform/":["./src/js/ui/gform/index.js","src_js_ui_gform_index_js"],"./ui/mouse-wheel-facebook/":["./src/js/ui/mouse-wheel-facebook/index.js","src_js_ui_mouse-wheel-facebook_index_js"],"./ui/mouse-wheel-vimeo/":["./src/js/ui/mouse-wheel-vimeo/index.js","src_js_ui_mouse-wheel-vimeo_index_js"],"./ui/mouse-wheel-youtube/":["./src/js/ui/mouse-wheel-youtube/index.js","src_js_ui_mouse-wheel-youtube_index_js"],"./ui/site-dialog/":["./src/js/ui/site-dialog/index.js","src_js_ui_site-dialog_index_js"],"./ui/site-footer/":["./src/js/ui/site-footer/index.js","src_js_ui_site-footer_index_js"],"./ui/site-header/":["./src/js/ui/site-header/index.js","src_js_ui_site-header_index_js"],"./ui/site-nav/":["./src/js/ui/site-nav/index.js","vendors-node_modules_animejs_lib_anime_es_js","src_js_ui_site-nav_index_js"],"./ui/site-video/":["./src/js/ui/site-video/index.js","src_js_ui_site-video_index_js"]};function r(t){if(!n.o(i,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],r=e[0];return Promise.all(e.slice(1).map(n.e)).then((()=>n(r)))}r.keys=()=>Object.keys(i),r.id="./src/js lazy recursive ^\\.\\/.*\\/$",t.exports=r}},__webpack_module_cache__={},inProgress,dataWebpackPrefix;function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.f={},__webpack_require__.e=t=>Promise.all(Object.keys(__webpack_require__.f).reduce(((e,n)=>(__webpack_require__.f[n](t,e),e)),[])),__webpack_require__.u=t=>"js/"+t+"."+{src_js_modules_accordions_index_js:"535865eb37463e5127cc","vendors-node_modules_animejs_lib_anime_es_js":"553cb0f00c0ee2d4d1fc","src_js_modules_audio-button_index_js":"8b11e03cd3e2fb2ea6a5","src_js_modules_filtered-posts-list_index_js":"b0197b12d79f73533986","src_js_modules_game-header_index_js":"2219f33fa49d85645efa","src_js_modules_google-map_index_js":"100fb61b5d5cfed9eedb","src_js_modules_humble-bundle-links_index_js":"90130f400c888a34c5a0","vendors-node_modules_lottie-web_build_player_lottie_js":"a155b7a76a8f46b5b17e",src_js_modules_lottie_index_js:"22c77c46303d1723fc04",src_js_modules_newsletter_index_js:"f05228b7a3e606206c68","src_js_modules_pb-row-accordions_index_js":"72fed3950c8c8c139597","vendors-node_modules_swiper_swiper_mjs":"3645898f29aa484e4465","vendors-node_modules_swiper_modules_index_mjs":"b5491afe7034c1330f96","src_js_modules_pb-row-books_index_js":"dce13ca5bc8264be43c9","src_js_modules_pb-row-featured-games_index_js":"3ba266324a8abdb2aad3","src_js_modules_pb-row-featured-posts_index_js":"0bcb5e1be0200f02d222","src_js_modules_pb-row-games_index_js":"0d886e50cfa4037760ad","src_js_modules_pb-row-hero_index_js":"8ccfb2fac98989a82bc7","src_js_modules_pb-row-medias_index_js":"90b77aa56d88ac7b54dd","src_js_modules_pb-row-oembed_index_js":"80745a4985ca1bb9d428","src_js_modules_pb-row-rich-scrolling-content_index_js":"da073d32d8d52b7ce04e","src_js_modules_pb-row-tabs_index_js":"c83e6b4b20f343043dfc","src_js_modules_pb-row-testimonials_index_js":"8f6c5b3ca43be951e265","src_js_modules_pb-row-wrapper-reveal_index_js":"e36ac594d2af1e611176","src_js_modules_prefers-color-scheme-btn_index_js":"047e78a0f145cd477e42","src_js_modules_scrolling-images-sequence_index_js":"b30c98c80e35d9e44133",src_js_modules_sharing_index_js:"fca31dee2c63c0d16844","vendors-node_modules_meilisearch_dist_bundles_meilisearch_umd_js":"dadc5f73bbcbc5670a99","src_js_modules_support-search_index_js":"43d7952d204e5829b819","src_js_modules_svg-path-length_
2index_js":"ca360bc557742b862b29","src_js_modules_text-ticker_index_js":"2409ac1878299bde4bba",src_js_modules_video_index_js:"ccf7d148282ae26ffbb6",src_js_components_ButtonGlitchEffect_js:"d6f089812888aa689fea",src_js_transitions_index_js:"a02d3fa14be46039bc7f",src_js_ui_gdpr_index_js:"ee77739a7a9b3b6f35c1",src_js_ui_gform_index_js:"6d6fa797aaf805d4565a","src_js_ui_mouse-wheel-facebook_index_js":"26bd91d66e168ca8b4c2","src_js_ui_mouse-wheel-vimeo_index_js":"5c6c29601108cd3c92ff","src_js_ui_mouse-wheel-youtube_index_js":"1c4616c3c71088afcfa7","src_js_ui_site-dialog_index_js":"5ac41acf230903ec9ba6","src_js_ui_site-footer_index_js":"c92d791d4d1eff947512","src_js_ui_site-header_index_js":"c4ce6d391a4f6be2b6b1","src_js_ui_site-nav_index_js":"ac2db306845a4f883a62","src_js_ui_site-video_index_js":"3ffb7c6100e086313353","vendors-node_modules_vimeo_player_dist_player_es_js":"9e0a3c497355d8bc2a77"}[t]+".bundle.js",__webpack_require__.miniCssF=t=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),inProgress={},dataWebpackPrefix="redbarrelsgames:",__webpack_require__.l=(t,e,n,i)=>{if(inProgress[t])inProgress[t].push(e);else{var r,o;if(void 0!==n)for(var s=document.getElementsByTagName("script"),a=0;a<s.length;a++){var l=s[a];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==dataWebpackPrefix+n){r=l;break}}r||(o=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,__webpack_require__.nc&&r.setAttribute("nonce",__webpack_require__.nc),r.setAttribute("data-webpack",dataWebpackPrefix+n),r.src=t),inProgress[t]=[e];var u=(e,n)=>{r.onerror=r.onload=null,clearTimeout(c);var i=inProgress[t];if(delete inProgress[t],r.parentNode&&r.parentNode.removeChild(r),i&&i.forEach((t=>t(n))),e)return e(n)},c=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),o&&document.head.appendChild(r)}},__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.p="/wp-content/themes/redbarrelsgames/dist/",(()=>{var t={app:0,src_js_transitions_index_js:0,"vendors-node_modules_animejs_lib_anime_es_js":0,src_js_components_ButtonGlitchEffect_js:0};__webpack_require__.f.j=(e,n)=>{var i=__webpack_require__.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise(((n,r)=>i=t[e]=[n,r]));n.push(i[2]=r);var o=__webpack_require__.p+__webpack_require__.u(e),s=new Error;__webpack_require__.l(o,(n=>{if(__webpack_require__.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",s.name="ChunkLoadError",s.type=r,s.request=o,i[1](s)}}),"chunk-"+e,e)}};var e=(e,n)=>{var i,r,[o,s,a]=n,l=0;if(o.some((e=>0!==t[e]))){for(i in s)__webpack_require__.o(s,i)&&(__webpack_require__.m[i]=s[i]);if(a)a(__webpack_require__)}for(e&&e(n);l<o.length;l++)r=o[l],__webpack_require__.o(t,r)&&t[r]&&t[r][0](),t[r]=0},n=self.webpackChunkredbarrelsgames=self.webpackChunkredbarrelsgames||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var __webpack_exports__={};(()=>{"use strict";var t=__webpack_require__("./node_modules/domready/ready.js"),e=__webpack_require__.n(t),n=(__webpack_require__("./src/js/core/hello.js"),__webpack_require__("./src/js/core/power-mode.js"),__webpack_require__("./src/js/core/sfx.js")),i=__webpack_require__("./src/js/core/windmill.js"),r=__webpack_require__("./src/js/components/ButtonGlitchEffect.js"),o=__webpack_require__("./src/js/utils/dom.js"),s=__webpack_require__("./src/js/utils/mobile.js");function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.buttons=null}var e,n,i;return e=t,n=[{key:"install",value:function(t){t.on("ready",this._initButtons,this),t.on("enter",this._initButtons,this),t.on("exited",this._destroyButtons,this)}},{key:"_initButtons",value:function(t){var e=t.current,n=t.next,i=this;this.buttons=[],u((0,o.$$)("[data-button-glitch-effect]:not(.pointer-events-none)",n.container||e.container)).forEac
2h((function(t){s.ai&&!t.hasAttribute("data-button-glitch-effect-typewriting")||i.buttons.push(new r.Z(t))}))}},{key:"_destroyButtons",value:function(){this.buttons&&this.buttons.forEach((function(t){return t.destroy()})),this.buttons=null}}],n&&l(e.prototype,n),i&&l(e,i),t}();const h=c;var d=__webpack_require__("./src/js/utils/viewport.js");function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function _(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var m="data-lazyload-clip",v="data-lazyload-target",y="img[loading=lazy]:not([aria-hidden=true])",g=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._rootIO=null,this._ios=null,this._targets=null,this._images=null,this._onIO=this._onIO.bind(this)}var e,n,i;return e=t,n=[{key:"install",value:function(t){this._rootIO=new IntersectionObserver(this._onIO,{rootMargin:"0px 0px 100%"}),this._ios=new Map,this._targets=new Map,this._images=[],t.on("init",this._onInit,this),t.on("added",this._onInit,this),t.on("exiting",this._onExiting,this),t.on("done",this._onDone,this)}},{key:"_onInit",value:function(t){var e=t.next.container||t.current.container,n=t.next.scrollY||0,i=p((0,o.$$)(y,e)).filter((function(t){var i=(t.hasAttribute(v)?(0,o.$)(t.getAttribute(v),e):t)||t,r=(0,o.JA)(i),s=r.top,a=r.bottom;return s-n<d.Z.height&&a-n>0}));!i||i.length<1||i.forEach((function(t){return t.removeAttribute("loading")}))}},{key:"_onExiting",value:function(){var t=this;this._ios.forEach((function(t){return t.disconnect()})),this._ios.clear(),this._targets.clear(),this._images.forEach((function(e){return t._rootIO.unobserve(e)})),this._images.length=0}},{key:"_onDone",value:function(t){var e=this,n=t.next.container||t.current.container,i=(0,o.$$)(y,n);!i||i.length<1||i.forEach((function(t){var i=e._rootIO,r=null;if(t.hasAttribute(m)){var s=(0,o.$)(t.getAttribute(m),n);s&&(e._ios.has(s)?i=e._ios.get(s):(i=new IntersectionObserver(e._onIO,{root:s,rootMargin:"500px 0px 0px"}),e._ios.set(s,i)))}if(t.hasAttribute(v)&&(r=(0,o.$)(t.getAttribute(v),n)),r||(r=t),r!==t){var a=e._targets.has(r)?e._targets.get(r):[];a.push(t),e._targets.set(r,a)}i.observe(r),i===e._rootIO&&e._images.push(r)}))}},{key:"_onIO",value:function(t,e){var n=this;t.forEach((function(t){var i=t.isIntersecting,r=t.target;i&&(e.unobserve(r),n._targets.has(r)&&(n._targets.get(r).forEach((function(t){return t.removeAttribute("loading")})),n._targets.delete(r)),"img"===r.tagName.toLowerCase()&&r.removeAttribute("loading"))}))}}],n&&_(e.prototype,n),i&&_(e,i),t}();const b=g;var w=__webpack_require__("./src/js/utils/is.js");function j(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var k=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._urls=null,this._windmill=null,this._fetchURLs=this._fetchURLs.bind(this),this._prefetchURL=this._prefetchURL.bind(this)}var e,n,i;return e=t,n=[{key:"install",value:function(t){t.cache&&window.requestIdleCallback&&(this._windmill=t,this._windmill.once("done",this._onDone,this))}},{key:"_onDone",value:function(){requestIdleCallback(this._fetchURLs)}},{key:"_fetchURLs",value:function(){var t=this;fetch("".concat(MILL3WP.current_site,"/").concat(MILL3WP.locale,"/windmill-prefetch/")).then((function(t){return t.json()})).then((function(e){!(0,w.kJ)(e)||e.length<1||(t._urls=e,requestIdleCallback(t._prefetchURL))}))}},{key:"_prefetchURL",value:function(){var t=this;if(0!==this._urls.length){var e=this._urls.shift();if(this._windmill.urlCached(e))return requestIdleCallback(this._prefetchURL);fetch(e,{headers:{"X-WINDMILL":"yes"}}).then((function(t){return t.text()})).then((function(n){t._windmill.saveCache(e,n),requestIdleCallback(t._prefetchURL)}))}}}],n&&j(e.prototype,n),i&&j(e,i),t}();const x=k;var S=__webpack_require__("./src/js/core/windmill.scripts.js"),E=__webpack_require__("./src/js/core/emitter.js"),O=__webpack_require__("./src/js/scroll/constants.js"),A=__webpack_require__("./node_modules/animejs/lib/anime.es.js"),P=__webpack_require__("./src/js/utils/browser.js"),L=__webpack_require__("./src/js/utils/listener.js"),T=__webpack_require__("./src/js/utils/math.js"),M=__webpack_require__("./src/js/utils/transform.js"),C=!1;const I=function(){if(!("scrollBehavior"in o.dy.style)&&!C){C=!0;var t=window.scrollTo;window.scrollTo=function(){if(!(arguments.length<1))if(arguments.length>1)t(arguments[0],arguments[1]);else if((0,w.Kn)(arguments[0])){var e=arguments[0];
2if("smooth"===e.behavior&&e.top){var n=e.top,i=o.dy.scrollTop,r=n-i,s=+new Date,a=function(){var t,e,l,u=+new Date-s;o.dy.scrollTop=parseInt((t=u,e=i,l=r,(t/=600/2)<1?l/2*t*t+e:-l/2*(--t*(t-2)-1)+e)),u<600?requestAnimationFrame(a):o.dy.scrollTop=n};a()}else t(e)}}}};function B(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Z(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){R(t,e,n[e])}))}return t}var V,D,q,F=((null===(D=navigator)||void 0===D||null===(V=D.userAgentData)||void 0===V?void 0:V.platform)||(null===(q=navigator)||void 0===q?void 0:q.platform)||"unknown").includes("Win"),$={lerp:.1,threshold:.5,firefoxMultiplier:F?1:2.25,mouseMultiplier:F?1:.4};const N=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._options=Z({},$,e),this._data={scroll:window.scrollY,targetScroll:window.scrollY,lastScroll:window.scrollY,max:0,direction:null,scrollTo:null,started:!1,isFirefox:(0,P.Ud)(),isMouseWheeling:!1},this._mousewheel={x:0,y:0,deltaX:0,deltaY:0},this._onScroll=this._onScroll.bind(this),this._onWheel=this._onWheel.bind(this),this._onMouseWheel=this._onMouseWheel.bind(this),I(),o.dy.classList.add("has-scroll-init",s.ai?"has-scroll-native":"has-scroll-smooth")}var e,n,i;return e=t,n=[{key:"init",value:function(){if(this._calcScrollHeight(),E.Z.emit("SiteScroll.init",this),window.location.hash){var t=window.location.hash.slice(1,window.location.hash.length),e=(0,o.$)("#".concat(t));e&&this.scrollTo(e)}}},{key:"raf",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._data.started&&this._data.isMouseWheeling&&(this._data.lastScroll=(0,T.t7)(this._data.lastScroll,this._data.targetScroll,this._options.lerp*t),this._data.isMouseWheeling=Math.abs(this._data.scroll-this._data.targetScroll)>this._options.threshold,this._data.isMouseWheeling||(this._data.lastScroll=this._data.scroll),window.scrollTo({top:this._data.lastScroll,behavior:"auto"}),this._updateDirection(this._data.lastScroll),this._updateScroll(this._data.lastScroll),this._notify())}},{key:"resize",value:function(){this._data.isMouseWheeling=!1,this._stopScrollTo(),this._calcScrollHeight(),this._updateDirection(),this._updateScroll(),this._notify()}},{key:"scrollTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.n3,n=this;e=Z({},O.n3,e);var i=parseInt(e.offset)||0,r=!!e.callback&&e.callback;if("string"==typeof t){if("top"===t)t=0;else if("bottom"===t)t=this._data.max;else if(!(t=(0,o.$)(t)))return}else if("number"==typeof t)t=parseInt(t);else if(!t||!t.tagName)return void console.warn("`target` parameter is not valid");if(i+="number"!=typeof t?(0,o.JA)(t).top-(0,M.R)(t).y+this._data.scroll:t,this._stopScrollTo(),i!==this._data.scroll){r&&(this._data.scrollTo={offset:parseInt(i),callback:r}),this._data.isMouseWheeling=!1;var s=!!e.duration&&e.duration;s?(this._data.scrollTo||(this._data.scrollTo={}),this._data.scrollTo.y=this._data.scroll,(0,A.Z)({targets:this._data.scrollTo,y:i,duration:s,easing:e.easing,update:function(){window.scrollTo({top:n._data.scrollTo.y,behavior:"auto"})}})):window.scrollTo({top:i,behavior:!0===e.smooth?"smooth":"auto"})}else r&&r()}},{key:"start",value:function(){this._data.started||(this._data.started=!0,this._calcScrollHeight(),this._bindEvents())}},{key:"stop",value:function(){this._data.started&&(this._data.started=!1,this._unbindEvents())}},{key:"reset",value:function(){this._stopScrollTo(),this._data.scroll=this._data.targetScroll=this._data.lastScroll=window.scrollY,this._data.direction=null,this._data.isMouseWheeling=!1,this._mousewheel.x=this._mousewheel.y=this._mousewheel.deltaX=this._mousewheel.deltaY=0}},{key:"_bindEvents",value:function(){(0,L.on)(window,"scroll",this._onScroll),window.addEventListener("wheel",this._onWheel,{passive:!1}),window.addEventListener("mousewheel",this._onMouseWheel,{passive:!0})}},{key:"_unbindEvents",value:function(){(0,L.S1)(window,"scroll",this._onScroll),window.removeEventListener("wheel",this._onWheel),window.removeEventListener("mousewheel",this._onMouseWheel)}}
2,{key:"_notify",value:function(){E.Z.emit("SiteScroll.scroll",{y:this._data.scroll,direction:this._data.direction,limit:this._data.max,progress:this.progress,velocity:this.velocity})}},{key:"_onScroll",value:function(){this._data.isMouseWheeling||(this._updateDirection(),this._updateScroll(),this._notify(),this._data.scrollTo&&this._data.scrollTo.offset===this._data.scroll>>0&&(this._data.scrollTo.callback(),this._stopScrollTo()))}},{key:"_onWheel",value:function(t){this._mousewheel.deltaX=t.wheelDeltaX||-1*t.deltaX,this._mousewheel.deltaY=t.wheelDeltaY||-1*t.deltaY,this._data.isFirefox&&(this._mousewheel.deltaX*=this._options.firefoxMultiplier,this._mousewheel.deltaY*=this._options.firefoxMultiplier),this._mousewheel.deltaX*=this._options.mouseMultiplier,this._mousewheel.deltaY*=this._options.mouseMultiplier,this._handleMouseWheel(t)}},{key:"_onMouseWheel",value:function(t){this._mousewheel.deltaX=t.wheelDeltaX?t.wheelDeltaX:0,this._mousewheel.deltaY=t.wheelDeltaY?t.wheelDeltaY:t.wheelDelta,this._handleMouseWheel(t)}},{key:"_handleMouseWheel",value:function(t){this._mousewheel.x+=this._mousewheel.deltaX,this._mousewheel.y+=this._mousewheel.deltaY,t.ctrlKey||(this._data.started?4!==t.buttons&&(t.preventDefault(),this._stopScrollTo(),this._data.isMouseWheeling=!0,this._data.targetScroll=(0,T.b9)(0,this._data.max,this._data.targetScroll-this._mousewheel.deltaY)):t.preventDefault())}},{key:"_calcScrollHeight",value:function(){this._data.max=Math.max(0,o.d1.scrollHeight-d.Z.height)}},{key:"_updateDirection",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.scrollY)-this._data.scroll;if(!(Math.abs(t)<=.05)){var e=t>=0?O.C2:O.uO;if(e!==this._data.direction){var n=this._data.direction;this._data.direction=e,E.Z.emit("SiteScroll.direction",e,n)}}}},{key:"_updateScroll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.scrollY;this._data.scroll=t,this._data.isMouseWheeling||(this._data.targetScroll=this._data.lastScroll=this._data.scroll)}},{key:"_stopScrollTo",value:function(){this._data.scrollTo&&A.Z.remove(this._data.scrollTo),this._data.scrollTo=null}},{key:"direction",get:function(){return this._data.direction}},{key:"limit",get:function(){return this._data.max}},{key:"progress",get:function(){return this._data.scroll/this._data.max}},{key:"velocity",get:function(){return this._data.targetScroll-this._data.lastScroll}},{key:"y",get:function(){return this._data.scroll}}],n&&B(e.prototype,n),i&&B(e,i),t}();var W=__webpack_require__("./src/js/core/state.js");function U(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}const z=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this._onDirectionChange=this._onDirectionChange.bind(this)}var e,n,i;return e=t,(n=[{key:"start",value:function(){E.Z.on("SiteScroll.direction",this._onDirectionChange)}},{key:"stop",value:function(){E.Z.off("SiteScroll.direction",this._onDirectionChange)}},{key:"_onDirectionChange",value:function(t,e){null===e?o.d1.classList.add(t===O.C2?O.y0:O.ZC):t===O.C2?o.d1.classList.replace(O.ZC,O.y0):o.d1.classList.replace(O.y0,O.ZC),W.e.dispatch("SCROLL_DIRECTION",t)}}])&&U(e.prototype,n),i&&U(e,i),t}();var H=__webpack_require__("./src/js/scroll/utils.js");function Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function G(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function J(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);s=!0);}catch(t){a=!0,r=t}finally{try{s||null==n.return||n.return()}finally{if(a)throw r}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(t,e)}
2(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var K={offset:[0,0],repeat:!1,threshold:.2};const Q=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this._options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){X(t,e,n[e])}))}return t}({},K,n),this._started=!1,this._delta=1,this._elements=new Map,this._parallaxElements=new Map}var e,n,i;return e=t,n=[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.d1;this._addElements(t),this._checkElementsProgress(),this._transformElements(!0)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.d1;this._addElements(t),this._checkElements(),this._transformElements(!0)}},{key:"start",value:function(){this._started||(this._started=!0)}},{key:"stop",value:function(){this._started&&(this._started=!1)}},{key:"raf",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._started&&(this._delta=t,this._checkElements(),this._transformElements())}},{key:"resize",value:function(){this._resizeElements(),this._checkElements(),this._transformElements()}},{key:"reset",value:function(){this._parallaxElements.clear(),this._elements.clear(),this._started=!1,this._delta=1}},{key:"exit",value:function(){0!==this._elements.size&&this._elements.forEach((function(t){t.inView&&t.el.classList.add(O.A2)}))}},{key:"_addElements",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.d1,e=this;this._elements.clear(),this._parallaxElements.clear(),(0,o.$$)("[data-scroll]",t).forEach((function(t,n){var i,r=t.dataset.scrollId;"string"!=typeof r&&(r="el".concat(n),t.setAttribute("data-scroll-id",r));var o,a,l=null!==(i=(0,H.os)(t))&&void 0!==i?i:e._options.offset,u=null!==(o=(0,H.JV)(t))&&void 0!==o?o:e._options.repeat,c=null!==(a=(0,H.U9)(t))&&void 0!==a?a:t,h=(0,H.Pw)(t),d=(0,H.sj)(t),f=(0,H.bt)(t),_=(0,H.zP)(t),p=J((0,H.xC)(t),2),m=p[0],v=p[1],y=J(e._computeElementConstraints(c,l,f),3),g=y[0],b=y[1],w=y[2],j={id:r,el:t,y:(0,M.R)(t).y,target:c,top:g,middle:b,bottom:w,offset:l,position:f,repeat:u,progress:m,progressEasing:v,call:h,called:!1,delay:d,speed:_,inView:!1};e._elements.set(r,j),!1===_||s.ai||e._parallaxElements.set(r,j)}))}},{key:"_resizeElements",value:function(){var t=this;0!==this._elements.size&&this._elements.forEach((function(e){var n,i=null!==(n=(0,H.os)(e.el))&&void 0!==n?n:t._options.offset,r=J(t._computeElementConstraints(e.target,i,e.position),3),o=r[0],s=r[1],a=r[2];e.offset=i,e.top=o,e.middle=s,e.bottom=a,e.inView=!1,e.called=!1,t._elements.set(e.id,e)}))}},{key:"_transformElements",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;if(0!==this._parallaxElements.size){var n=this.scroll.y+d.Z.height,i=this.scroll.y+d.Z.height/2;this._parallaxElements.forEach((function(r){var o=!1;if(t&&(o=0),r.inView||t)switch(r.position){case"top":o=e.scroll.y*r.speed*-1;break;case"bottom":o=(e.scroll.limit-n+d.Z.height)*r.speed;break;default:o=(i-r.middle)*r.speed*-1}!1!==o&&e._transform(r,o,t)}))}}},{key:"_transform",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t.delay&&!n){var i=(0,T.t7)(t.y,e,t.delay*this._delta);Math.abs(e-i)<this._options.threshold||(e=i)}t.y=e,t.el.style.transform="matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,0,".concat(e,",0,1)")}},{key:"_notify",value:function(t,e){var n=this;(Array.isArray(t.call)?t.call:[t.call]).forEach((function(i){return E.Z.emit("SiteScroll.".concat(i),e,t,n.scroll)}))}},{key:"_checkElements",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;if(0!==this._elements.size){var n=d.Z.height,i=this.scroll.y,r=i+n;
2this._elements.forEach((function(n){!1!==n.progress&&e._updateElementProgress(n),n.inView?(r<n.top||i>n.bottom)&&e._setOutView(n,t):r>=n.top&&i<n.bottom&&e._setInView(n,t)}))}}},{key:"_checkElementsProgress",value:function(){var t=this;0!==this._elements.size&&this._elements.forEach((function(e){!1!==e.progress&&t._updateElementProgress(e)}))}},{key:"_updateElementProgress",value:function(t){var e,n;"bottom"===t.position?(e=t.bottom-t.top,n=(0,T.b9)(0,e,d.Z.height+this.scroll.y-t.top)/e):(e=Math.min(t.bottom,d.Z.height+t.bottom-t.top),n=1-(0,T.b9)(0,e,t.bottom-this.scroll.y)/e),t.progressEasing&&(n=t.progressEasing(n,0,1,1)),n!==t.progress&&(t.progress=n,t.el.style.setProperty("--scroll-progress",n))}},{key:"_setInView",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.inView||(t.inView=!0,t.el.classList.add(O.dI),!t.call||t.called||e||(t.repeat||(t.called=!0),this._notify(t,O.gY)))}},{key:"_setOutView",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.inView&&(t.inView=!1,t.call&&t.repeat&&!e&&this._notify(t,O.Hg),t.repeat&&t.el.classList.remove(O.dI))}},{key:"_computeElementConstraints",value:function(t,e,n){var i=(0,o.JA)(t),r=(0,M.R)(t),s=1/0,a=i.top-r.y+this.scroll.y,l=Math.min(s,a+i.height),u=.5*(l-a)+a;return[a+=e[0],u,l=Math.min(s,l-e[1])]}}],n&&G(e.prototype,n),i&&G(e,i),t}();function tt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}const et=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this._hasScrolledAboveThreshold=!1,this._hasLogoAboveThreshold=!1,this._started=!1,this._onScroll=this._onScroll.bind(this)}var e,n,i;return e=t,(n=[{key:"start",value:function(){this._started||(this._started=!0,E.Z.on("SiteScroll.scroll",this._onScroll))}},{key:"stop",value:function(){this._started&&(this._started=!1,E.Z.off("SiteScroll.scroll",this._onScroll))}},{key:"reset",value:function(){this._hasScrolledAboveThreshold=!1,this._hasLogoAboveThreshold=!1}},{key:"_onScroll",value:function(t){var e=t.y,n=e>O.sp,i=e>O.fX;!0===n&&!1===this._hasScrolledAboveThreshold?(this._hasScrolledAboveThreshold=!0,W.e.dispatch("SCROLL_MIN",!0),o.d1.classList.add(O.zM),E.Z.emit("SiteScroll.scroll-min",!0)):!1===n&&!0===this._hasScrolledAboveThreshold&&(this._hasScrolledAboveThreshold=!1,W.e.dispatch("SCROLL_MIN",!1),o.d1.classList.remove(O.zM),E.Z.emit("SiteScroll.scroll-min",!1)),!0===i&&!1===this._hasLogoAboveThreshold?(this._hasLogoAboveThreshold=!0,W.e.dispatch("LOGO_MIN",!0),o.d1.classList.add(O.i6),E.Z.emit("SiteScroll.logo-min",!0)):!1===i&&!0===this._hasLogoAboveThreshold&&(this._hasLogoAboveThreshold=!1,W.e.dispatch("LOGO_MIN",!1),o.d1.classList.remove(O.i6),E.Z.emit("SiteScroll.logo-min",!1))}}])&&tt(e.prototype,n),i&&tt(e,i),t}();function nt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function it(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rt="data-css-var-",ot={easing:"linear",autoplay:!1,duration:1e3};const st=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.items=new Map,this.started=!1,this._onCall=this._onCall.bind(this)}var e,n,i;return e=t,n=[{key:"start",value:function(){this.started||(this.started=!0,E.Z.on("SiteScroll.timeline",this._onCall))}},{key:"stop",value:function(){this.started&&(this.started=!1,E.Z.off("SiteScroll.timeline",this._onCall))}},{key:"raf",value:function(){var t=this;this.started&&0!==this.items.size&&this.items.forEach((function(e){return t._updateItem(e)}))}},{key:"reset",value:function(){this.items&&(this.items.forEach((function(t){return A.Z.remove(t.el)})),this.items.clear())}},{key:"_onCall",value:function(t,e){if(t===O.gY){var n,i=e.id,r=e.el;if(this.items.has(i)){var o=this.items.get(i);return o.top=e.top,void(o.bottom=e.bottom)}if(s.ai&&r.hasAttribute("data-timeline-native")){if(!r.dataset.timelineNative)return;n=JSON.parse(r.dataset.timelineNative)}else if(d.Z.width<768&&r.hasAttribute("data-timeline-mobile")){if(!r.dataset.timelineMobile)return;n=JSON.parse(r.dataset.timelineMobile)}else n=JSON.parse(r.dataset.timeline);if(n){Object.keys(n).some((function(t){return t.startsWith(rt)}
2))&&(n.update=this._updateCssVariables);var a=(0,A.Z)(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){it(t,e,n[e])}))}return t}({targets:r},ot,n));this.items.set(i,{top:e.top,bottom:e.bottom,progress:null,ref:e,el:r,timeline:a}),this._updateItem(this.items.get(i))}}}},{key:"_updateItem",value:function(t){var e=t.timeline,n=t.top,i=t.bottom,r=Math.min(i,d.Z.height+i-n),o=1-(0,T.b9)(0,r,i-this.scroll.y)/r;o!==t.progress&&(t.progress=o,e.seek(e.duration*o))}},{key:"_updateCssVariables",value:function(t){t.animations.forEach((function(t){if(t.property.startsWith(rt)){var e=t.property.replace(rt,"");t.animatable.target.style.setProperty("--".concat(e),t.currentValue)}}))}}],n&&nt(e.prototype,n),i&&nt(e,i),t}();function at(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var lt="[data-scroll-to]";const ut=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this._onScrollToClick=this._onScrollToClick.bind(this)}var e,n,i;return e=t,(n=[{key:"start",value:function(){(0,L.on)(lt,"click",this._onScrollToClick)}},{key:"stop",value:function(){(0,L.S1)(lt,"click",this._onScrollToClick)}},{key:"_onScrollToClick",value:function(t){t&&t.preventDefault();var e,n,i,r=t.currentTarget,o=(null!==(e=r.getAttribute("data-scroll-to"))&&void 0!==e?e:"").trim();""===o&&(o=(null!==(n=r.getAttribute("href"))&&void 0!==n?n:"").trim()),""!==o&&this.scroll.scrollTo(o,{offset:null!==(i=(0,H.os)(r))&&void 0!==i?i:0})}}])&&at(e.prototype,n),i&&at(e,i),t}();var ct=__webpack_require__("./src/js/utils/raf.js"),ht=__webpack_require__("./src/js/utils/resize.js");function dt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var ft=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=null,this.direction=null,this.intersection=null,this.minimum=null,this.timeline=null,this.to=null,this.webgl=null,this._async=!1,this._started=!1,this._onRAF=this._onRAF.bind(this),this._onResize=this._onResize.bind(this),this._onSiteScrollStart=this._onSiteScrollStart.bind(this),this._onSiteScrollStop=this._onSiteScrollStop.bind(this),this._onSiteScrollUpdate=this._onSiteScrollUpdate.bind(this),this._onSiteScrollTo=this._onSiteScrollTo.bind(this),this._onSiteScrollUp=this._onSiteScrollUp.bind(this)}var e,n,i;return e=t,n=[{key:"install",value:function(t){this._async=t.async,this._raf=ct.ZP.add(this._onRAF,ct.ol,!0),t.on("init",this._onInit,this),t.on("ageGate",this._onPageReady,this),t.on("exiting",this._onPageExiting,this),t.on("exit",this._onPageExit,this),this._async?(t.on("entering",this._resetScrollModules,this),t.on("enter",this._onAsyncPageEnter,this),t.on("entered",this._onAsyncPageEntered,this)):(t.on("exiting",this._stopModules,this),t.on("entering",this._resetScrollModules,this),t.on("enter",this._onSyncPageEnter,this)),t.on("done",this._onPageDone,this)}},{key:"_onInit",value:function(){this.scroll=new N,this.direction=new z(this.scroll),this.intersection=new Q(this.scroll),this.minimum=new et(this.scroll),this.timeline=new st(this.scroll),this.to=new ut(this.scroll)}},{key:"_onRAF",value:function(t){var e,n,i;this._started?(this.scroll.raf(t),null===(e=this.intersection)||void 0===e||e.raf(t),null===(n=this.timeline)||void 0===n||n.raf(),null===(i=this.webgl)||void 0===i||i.raf(t)):this._raf(!1)}},{key:"_onResize",value:function(){var t,e,n;this._started&&(null===(t=this.scroll)||void 0===t||t.resize(),null===(e=this.intersection)||void 0===e||e.resize(),null===(n=this.webgl)||void 0===n||n.resize())}},{key:"_onPageReady",value:function(){var t,e,n;null===(t=this.scroll)||void 0===t||t.init(),null===(e=this.intersection)||void 0===e||e.init(
2),null===(n=this.webgl)||void 0===n||n.init(),this._startModules(),this._bindEvents(),this._raf(!0)}},{key:"_onPageExiting",value:function(){this._unbindEvents(!this._async)}},{key:"_onPageExit",value:function(){var t;null===(t=this.intersection)||void 0===t||t.exit()}},{key:"_onPageDone",value:function(){var t,e,n;null===(t=this.scroll)||void 0===t||t.resize(),null===(e=this.intersection)||void 0===e||e.resize(),null===(n=this.webgl)||void 0===n||n.resize()}},{key:"_onAsyncPageEnter",value:function(t){var e,n,i,r=t.next;this._unbindEvents(),this._stopModules(),o.dy.classList.remove(O.SJ),null===(e=this.scroll)||void 0===e||e.init(),null===(n=this.intersection)||void 0===n||n.init(r.container),null===(i=this.webgl)||void 0===i||i.init()}},{key:"_onAsyncPageEntered",value:function(){this._startModules(),this._bindEvents(),this._raf(!0)}},{key:"_onSyncPageEnter",value:function(t){var e,n,i,r=t.next;null===(e=this.scroll)||void 0===e||e.init(),null===(n=this.intersection)||void 0===n||n.init(r.container),null===(i=this.webgl)||void 0===i||i.init(),this._startModules(),this._bindEvents(),this._raf(!0)}},{key:"_onSiteScrollStart",value:function(){var t,e;null===(t=this.scroll)||void 0===t||t.start(),null===(e=this.minimum)||void 0===e||e.start(),o.dy.classList.remove(O.SJ)}},{key:"_onSiteScrollStop",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];null===(t=this.scroll)||void 0===t||t.stop(),null===(e=this.minimum)||void 0===e||e.stop(),n&&o.dy.classList.add(O.SJ)}},{key:"_onSiteScrollUpdate",value:function(){var t,e,n;E.Z.emit("SiteScroll.before-update",this.scroll),null===(t=this.timeline)||void 0===t||t.reset(),null===(e=this.scroll)||void 0===e||e.resize(),null===(n=this.intersection)||void 0===n||n.update(),E.Z.emit("SiteScroll.after-update",this.scroll)}},{key:"_onSiteScrollTo",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.n3;null===(e=this.scroll)||void 0===e||e.scrollTo(t,n)}},{key:"_onSiteScrollUp",value:function(){var t;null===(t=this.scroll)||void 0===t||t.scrollTo("top")}},{key:"_bindEvents",value:function(){ht.ZP.add(this._onResize,ht.ro),E.Z.on("SiteScroll.start",this._onSiteScrollStart),E.Z.on("SiteScroll.stop",this._onSiteScrollStop),E.Z.on("SiteScroll.update",this._onSiteScrollUpdate),E.Z.on("SiteScroll.scrollTo",this._onSiteScrollTo),E.Z.on("SiteScroll.scrollUp",this._onSiteScrollUp)}},{key:"_unbindEvents",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];ht.ZP.remove(this._onResize),E.Z.off("SiteScroll.start",this._onSiteScrollStart),E.Z.off("SiteScroll.stop",this._onSiteScrollStop),E.Z.off("SiteScroll.update",this._onSiteScrollUpdate),E.Z.off("SiteScroll.scrollTo",this._onSiteScrollTo),E.Z.off("SiteScroll.scrollUp",this._onSiteScrollUp),t&&this._raf(!1)}},{key:"_startModules",value:function(){var t,e,n,i,r,o,s;this._started||(this._started=!0,null===(t=this.direction)||void 0===t||t.start(),null===(e=this.intersection)||void 0===e||e.start(),null===(n=this.minimum)||void 0===n||n.start(),null===(i=this.timeline)||void 0===i||i.start(),null===(r=this.to)||void 0===r||r.start(),null===(o=this.webgl)||void 0===o||o.start(),null===(s=this.scroll)||void 0===s||s.start())}},{key:"_stopModules",value:function(){var t,e,n,i,r,o,s;this._started&&(null===(t=this.scroll)||void 0===t||t.stop(),null===(e=this.direction)||void 0===e||e.stop(),null===(n=this.intersection)||void 0===n||n.stop(),null===(i=this.minimum)||void 0===i||i.stop(),null===(r=this.timeline)||void 0===r||r.stop(),null===(o=this.to)||void 0===o||o.stop(),null===(s=this.webgl)||void 0===s||s.stop(),this._started=!1)}},{key:"_resetScrollModules",value:function(){var t,e,n,i,r,o;null===(t=this.scroll)||void 0===t||t.reset(),null===(e=this.intersection)||void 0===e||e.reset(),null===(n=this.minimum)||void 0===n||n.reset(),null===(i=this.timeline)||void 0===i||i.reset(),null===(r=this.webgl)||void 0===r||r.reset(),null===(o=this.webgl)||void 0===o||o.cleanup()}}],n&&dt(e.prototype,n),i&&dt(e,i),t}();const _t=ft;var pt=__webpack_require__("./node_modules/splitting/dist/splitting.js"),mt=__webpack_require__.n(pt);function vt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function yt(t){return function(t){if(Array.isArray(t))return vt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return vt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.d1;
2yt((0,o.$$)("[data-splitting]",t)).forEach((function(t){var e=t.dataset.splitting||"wordsMask";mt()({target:t,by:e})}))}function bt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}mt().add({by:"wordsMask",key:"wordsMask",depends:["words"],split:function(t,e,n){return n.words.forEach((function(t){return t.innerHTML='<span class="wordText">'.concat(t.innerHTML,"</span>")})),[]}}),mt().add({by:"glitchEffectTypewriting",key:"glitchEffectTypewriting",depends:["chars"],split:function(t,e,n){return n.chars.forEach((function(t){return t.innerHTML='<span class="charTypeWriter">'.concat(t.innerHTML,"</span>")})),[]}});var wt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,n=[{key:"install",value:function(t){t.on("loaded",this._onLoad,this),t.on("entering",this._onEntering,this)}},{key:"_onLoad",value:function(){gt()}},{key:"_onEntering",value:function(t){gt(t.next.container)}}],n&&bt(e.prototype,n),i&&bt(e,i),t}();const jt=wt;const kt={is_preview:!1};function xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function St(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ot(t){return function(t){if(Array.isArray(t))return xt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return xt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var At=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];St(this,t),this._registry=new Set(e),this._chunks=new Map,this._modules=[],this._uis=[],this._trashed=[],this._idleID=null,this._waiting=!1,this._preloadModule=this._preloadModule.bind(this)}var e,n,i;return e=t,n=[{key:"install",value:function(t){t.on("ready",this._importChunks,this),t.on("ready",this._createInstances,this),t.on("ready",this._initModules,this),t.on("exiting",this._stopModules,this),t.on("exited",this._collectInstancesInOldPage,this),t.async||t.on("exited",this._destroyModules,this),t.on("enter",this._resetState,this),t.on("enter",this._importChunks,this),t.on("enter",this._createInstances,this),t.on("enter",this._initModules,this),t.async&&t.on("entered",this._destroyModules,this),t.on("done",this._startModules,this),window.requestIdleCallback&&this._registry.size>0&&(t.on("exiting",this._stopIdle,this),t.on("done",this._startIdle,this))}},{key:"_importChunks",value:function(t){var e=t.next,n=this,i=[],r=e.container||o.d1;return Ot((0,o.$$)("[data-module]",r)).concat(Ot((0,o.$$)("[data-ui]",r)),[r]).forEach((function(t){var e=t.dataset,r=e.module,o=e.moduleNative,a=e.moduleBackend,l=e.ui,u=e.uiNative,c=e.uiBackend;if(r){var h=kt.is_preview&&t.hasAttribute("data-module-backend")?a:s.ai&&t.hasAttribute("data-module-native")?o:r;h&&h.split(",").forEach((function(e){var r="modules/".concat(e);n._chunks.has(r)||i.push(n._importChunk(r)),n._modules.push(new Pt(t,r))}))}if(l){var d=kt.is_preview&&t.hasAttribute("data-ui-backend")?c:s.ai&&t.hasAttribute("data-ui-native")?u:l;d&&d.split(",").forEach((function(e){var r="ui/".concat(e);n._chunks.has(r)||i.push(n._importChunk(r)),n._uis.push(new Pt(t,r))}))}})),Promise.all(i)}},{key:"_importChunk",value:function(t){var e=this,n=__webpack_require__("./src/js lazy recursive ^\\.\\/.*\\/$")("./".concat(t,"/"));return this._chunks.set(t,n),this._registry.has(t)&&this._registry.delete(t),n.then((function(n){e._chunks.set(t,n.default)})),n.catch((function(e){console.error("Error loading webpack chunk ".concat(t,":"),e)})),n}},{key:"_createInstances",value:function(){var t=this;
2this._modules.forEach((function(e,n){if(e instanceof Pt){var i=t._chunks.get(e.chunk);t._modules[n]={el:e.el,instance:new i(e.el,E.Z)}}})),this._uis.forEach((function(e,n){if(e instanceof Pt){var i=t._chunks.get(e.chunk);t._uis[n]={el:e.el,instance:new i(e.el,E.Z)}}}))}},{key:"_collectInstancesInOldPage",value:function(t){for(var e=t.current,n=this,i=e.container,r=function(t,e,r){(i.contains(t.el)||i===t.el)&&(n._trashed.push(t),r.splice(e,1))},o=this._modules.length-1;o>=0;o--)r(this._modules[o],o,this._modules);for(var s=this._uis.length-1;s>=0;s--)r(this._uis[s],s,this._uis)}},{key:"_resetState",value:function(){W.e.dispatch("RESET")}},{key:"_initModules",value:function(){Ot(this._modules).concat(Ot(this._uis)).forEach((function(t){var e=t.instance;(0,w.mf)(e.init)&&e.init()}))}},{key:"_destroyModules",value:function(){this._trashed.forEach((function(t){var e=t.instance;(0,w.mf)(e.destroy)&&e.destroy()})),this._trashed.splice(0)}},{key:"_startModules",value:function(){Ot(this._modules).concat(Ot(this._uis)).forEach((function(t){var e=t.instance;(0,w.mf)(e.start)&&e.start()}))}},{key:"_stopModules",value:function(){Ot(this._modules).concat(Ot(this._uis)).forEach((function(t){var e=t.instance;(0,w.mf)(e.stop)&&e.stop()}))}},{key:"_startIdle",value:function(){this._waiting||(this._waiting=!0,this._registry.size>0&&(this._idleID=requestIdleCallback(this._preloadModule)))}},{key:"_stopIdle",value:function(){this._idleID&&cancelIdleCallback(this._idleID),this._idleID=null,this._waiting=!1}},{key:"_preloadModule",value:function(){var t=this;this._idleID=null;var e=this._registry.values().next().value;this._importChunk(e).then((function(){t._waiting&&(t._waiting=!1,t._startIdle())}))}}],n&&Et(e.prototype,n),i&&Et(e,i),t}(),Pt=function t(e,n){St(this,t),this.el=e,this.chunk=n};const Lt=At;const Tt=function(){return window.innerWidth-document.body.clientWidth};var Mt=__webpack_require__("./src/js/transitions/index.js");const Ct=["modules/accordions","modules/game-header","modules/pb-row-featured-games","modules/pb-row-featured-posts","modules/pb-row-games","modules/pb-row-hero","modules/pb-row-medias","modules/sharing","modules/video"];function It(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Bt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Rt(t){return function(t){if(Array.isArray(t))return It(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return It(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return It(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Zt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.init()}var e,r,a;return e=t,(r=[{key:"init",value:function(){o.dy.classList.remove("no-js"),(0,P.e9)()&&o.dy.classList.add("chrome"),(0,P.i$)()&&o.dy.classList.add("edge"),(0,P.Ud)()&&o.dy.classList.add("firefox"),(0,P.a1)()&&o.dy.classList.add("safari"),(0,P.vF)()&&o.dy.classList.add("ios"),(0,P.ar)()&&o.dy.classList.add("iphone"),(0,P.Lk)()&&o.dy.classList.add("ipad"),(0,P.tW)()&&o.dy.classList.add("android"),s.ai&&o.dy.classList.add("mobile"),s.ai||n.Z.init();var t=function(){o.dy.classList.remove(O.SJ),o.dy.style.setProperty("--scrollbar-width","".concat(Tt(),"px"))};t(),i.Z.on("entering",t);var e=function(t){var e=t.next.container||t.current.container;Rt((0,o.$$)("svg[data-dynamic-font-size]",e)).forEach((function(t){var e=(0,o.$)("text",t);if(e){var n=Math.ceil((0,o.JA)(e).width),i=t.getAttribute("viewBox").split(" ");t.setAttribute("width",n),t.setAttribute("viewBox","".concat(i[0]," ").concat(i[1]," ").concat(n," ").concat(i[3])),t.removeAttribute("data-dynamic-font-size")}}))};i.Z.on("init",e),i.Z.on("added",e),i.Z.use(new S.ZP),i.Z.use(new Lt(Ct)),i.Z.use(new _t),i.Z.use(new jt),i.Z.use(new b),i.Z.use(new x),i.Z.use(new h),i.Z.init({debug:!1,async:!1,prevent:function(t,e){return!!o.d1.classList.contains("admin-bar")||!!(/.pdf/.test(t.toLowerCase())||/.jpg/.test(t.toLowerCase())||/.png/.test(t.toLowerCase())||/.gif/.test(t.toLowerCase()))||!!(e&&e.classList&&e.classList.contains("ais-Pagination-link"))||void 0},transitions:Mt.default})}}])&&Bt(e.prototype,r),a&&Bt(e,a),t}();e()((function(){new Zt}))})()})(); 3//# sourceMappingURL=app.cc4c5c331a472721957b.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.