1(self.webpackChunk_roots_bud_sage_sage=self.webpackChunk_roots_bud_sage_sage||[]).push([[143],{
1"./scripts/app.js":(t,e,i)=>{"use strict";var r=i("../node_modules/@roots/bud-client/lib/dom-ready.js"),n=i("../node_modules/vanilla-lazyload/dist/lazyload.min.js"),s=i.n(n);function o(){if(!(this instanceof o))return new o;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}var a=window.document.documentElement,l=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector;o.prototype.matchesSelector=function(t,e){return l.call(t,e)},o.prototype.querySelectorAll=function(t,e){return e.querySelectorAll(t)},o.prototype.indexes=[];var h=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"ID",selector:function(t){var e;if(e=t.match(h))return e[0].slice(1)},element:function(t){if(t.id)return[t.id]}});var c=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"CLASS",selector:function(t){var e;if(e=t.match(c))return e[0].slice(1)},element:function(t){var e=t.className;if(e){if("string"==typeof e)return e.split(/\s/);if("object"==typeof e&&"baseVal"in e)return e.baseVal.split(/\s/)}}});var u,d=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"TAG",selector:function(t){var e;if(e=t.match(d))return e[0].toUpperCase()},element:function(t){return[t.nodeName.toUpperCase()]}}),o.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},u="function"==typeof window.Map?window.Map:function(){function t(){this.map={}}return t.prototype.get=function(t){return this.map[t+" "]},t.prototype.set=function(t,e){this.map[t+" "]=e},t}();var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function p(t,e){var i,r,n,s,o,a,l=(t=t.slice(0).concat(t.default)).length,h=e,c=[];do{if(f.exec(""),(n=f.exec(h))&&(h=n[3],n[2]||!h))for(i=0;i<l;i++)if(o=(a=t[i]).selector(n[1])){for(r=c.length,s=!1;r--;)if(c[r].index===a&&c[r].key===o){s=!0;break}s||c.push({index:a,key:o});break}}while(n);return c}function m(t,e){var i,r,n;for(i=0,r=t.length;i<r;i++)if(n=t[i],e.isPrototypeOf(n))return n}function g(t,e){return t.id-e.id}o.prototype.logDefaultIndexUsed=function(){},o.prototype.add=function(t,e){var i,r,n,s,o,a,l,h,c=this.activeIndexes,d=this.selectors,f=this.selectorObjects;if("string"==typeof t){for(f[(i={id:this.uid++,selector:t,data:e}).id]=i,l=p(this.indexes,t),r=0;r<l.length;r++)s=(h=l[r]).key,(o=m(c,n=h.index))||((o=Object.create(n)).map=new u,c.push(o)),n===this.indexes.default&&this.logDefaultIndexUsed(i),(a=o.map.get(s))||(a=[],o.map.set(s,a)),a.push(i);this.size++,d.push(t)}},o.prototype.remove=function(t,e){if("string"==typeof t){var i,r,n,s,o,a,l,h,c=this.activeIndexes,u=this.selectors=[],d=this.selectorObjects,f={},m=1===arguments.length;for(i=p(this.indexes,t),n=0;n<i.length;n++)for(r=i[n],s=c.length;s--;)if(a=c[s],r.index.isPrototypeOf(a)){if(l=a.map.get(r.key))for(o=l.length;o--;)(h=l[o]).selector!==t||!m&&h.data!==e||(l.splice(o,1),f[h.id]=!0);break}for(n in f)delete d[n],this.size--;for(n in d)u.push(d[n].selector)}},o.prototype.queryAll=function(t){if(!this.selectors.length)return[];var e,i,r,n,s,o,a,l,h={},c=[],u=this.querySelectorAll(this.selectors.join(", "),t);for(e=0,r=u.length;e<r;e++)for(s=u[e],i=0,n=(o=this.matches(s)).length;i<n;i++)h[(l=o[i]).id]?a=h[l.id]:(a={id:l.id,selector:l.selector,data:l.data,elements:[]},h[l.id]=a,c.push(a)),a.elements.push(s);return c.sort(g)},o.prototype.matches=function(t){if(!t)return[];var e,i,r,n,s,o,a,l,h,c,u,d=this.activeIndexes,f={},p=[];for(e=0,n=d.length;e<n;e++)if(l=(a=d[e]).element(t))for(i=0,s=l.length;i<s;i++)if(h=a.map.get(l[i]))for(r=0,o=h.length;r<o;r++)!f[u=(c=h[r]).id]&&this.matchesSelector(t,c.selector)&&(f[u]=!0,p.push(c));return p.sort(g)};const v={},y={},w=["mouseenter","mouseleave","pointerenter","pointerleave","blur","focus"];function b(t){void 0===y[t]&&(y[t]=new Set)}function _(t){return"string"==typeof t?document.querySelectorAll(t):t}function x(t){let e=function(t,e){const i=[];let r=e;do{if(1!==r.nodeType)break;const e=t.matches(r);e.length&&i.push({delegatedTarget:r,stack:e})}while(r=r.parentElement);return i}(v[t.type],t.target);if(e.length)for(let i=0;i<e.length;i++)for(let r=0;r<e[i].stack.length;r++)-1!==w.indexOf(t.type)?(k(t,e[i].delegatedTarget),t.target===e[i].delegatedTarget&&e[i].stack[r].data(t)):(k(t,e[i].delegatedTarget),e[i].stack[r].data(t))}function k(t,e){Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:()=>e})}const T=new class{bindAll(t,e){e||(e=Object.getOwnPropertyNames(Object.getPrototypeOf(t)));for(let i=0;i<e.length;i++)t[e[i]]=t[e[i]].bind(t)}
1on(t,e,i,r){const n=t.split(" ");for(let t=0;t<n.length;t++)if("function"!=typeof e||void 0!==i)if(e.nodeType&&1===e.nodeType||e===window||e===document)e.addEventListener(n[t],i,r);else{e=_(e);for(let s=0;s<e.length;s++)e[s].addEventListener(n[t],i,r)}else b(n[t]),y[n[t]].add(e)}delegate(t,e,i){const r=t.split(" ");for(let t=0;t<r.length;t++){let n=v[r[t]];void 0===n&&(n=new o,v[r[t]]=n,-1!==w.indexOf(r[t])?document.addEventListener(r[t],x,!0):document.addEventListener(r[t],x)),n.add(e,i)}}off(t,e,i,r){const n=t.split(" ");for(let t=0;t<n.length;t++){if(void 0===e){y[n[t]]?.clear();continue}if("function"==typeof e){b(n[t]),y[n[t]].delete(e);continue}const s=v[n[t]];if(void 0===s||(s.remove(e,i),0!==s.size))if(void 0===e.removeEventListener){e=_(e);for(let s=0;s<e.length;s++)e[s].removeEventListener(n[t],i,r)}else e.removeEventListener(n[t],i,r);else delete v[n[t]],-1!==w.indexOf(n[t])?document.removeEventListener(n[t],x,!0):document.removeEventListener(n[t],x)}}emit(t,...e){!function(t,e){y[t]&&y[t].forEach((t=>{t(...e)}))}(t,e)}debugDelegated(){return JSON.parse(JSON.stringify(v))}debugBus(){return function(t){const e={};for(const i in t)e[i]=[...t[i]];return e}(y)}hasBus(t){return this.debugBus().hasOwnProperty(t)}};var $=T;const S=new DOMParser;function E(t){const e=new URL(t,window.location.origin);let i=null;return e.hash.length&&(i=t.replace(e.hash,"")),{hasHash:e.hash.length>0,pathname:e.pathname,host:e.host,raw:t,href:i||e.href}}function C(t){"HEAD"===t.parentNode.tagName?document.head.appendChild(M(t)):document.body.appendChild(M(t))}function M(t){const e=document.createElement("SCRIPT");for(let i=0;i<t.attributes.length;i++){const r=t.attributes[i];e.setAttribute(r.nodeName,r.nodeValue)}return t.innerHTML&&(e.innerHTML=t.innerHTML),e}class L{constructor({wrapper:t}){this.wrapper=t}leave(t){return new Promise((e=>{this.onLeave({...t,done:e})}))}enter(t){return new Promise((e=>{this.onEnter({...t,done:e})}))}onLeave({from:t,trigger:e,done:i}){i()}onEnter({to:t,trigger:e,done:i}){i()}}class A{constructor({content:t,page:e,title:i,wrapper:r}){this._contentString=t.outerHTML,this._DOM=null,this.page=e,this.title=i,this.wrapper=r,this.content=this.wrapper.lastElementChild}onEnter(){}onEnterCompleted(){}onLeave(){}onLeaveCompleted(){}initialLoad(){this.onEnter(),this.onEnterCompleted()}update(){document.title=this.title,this.wrapper.appendChild(this._DOM.firstElementChild),this.content=this.wrapper.lastElementChild,this._DOM=null}createDom(){this._DOM||(this._DOM=document.createElement("div"),this._DOM.innerHTML=this._contentString)}remove(){this.wrapper.firstElementChild.remove()}enter(t,e){return new Promise((i=>{this.onEnter(),t.enter({trigger:e,to:this.content}).then((()=>{this.onEnterCompleted(),i()}))}))}leave(t,e,i){return new Promise((r=>{this.onLeave(),t.leave({trigger:e,from:this.content}).then((()=>{i&&this.remove(),this.onLeaveCompleted(),r()}))}))}}class P{data=new Map;regexCache=new Map;add(t,e,i){this.data.has(t)||(this.data.set(t,new Map),this.regexCache.set(t,new RegExp(`^${t}$`))),this.data.get(t).set(e,i),this.regexCache.set(e,new RegExp(`^${e}$`))}findMatch(t,e){for(const[i,r]of this.data)if(t.pathname.match(this.regexCache.get(i))){for(const[t,i]of r)if(e.pathname.match(this.regexCache.get(t)))return i;break}return null}}const O="A transition is currently in progress";class R{isTransitioning=!1;currentCacheEntry=null;cache=new Map;activePromises=new Map;constructor(t={}){const{links:e="a:not([target]):not([href^=\\#]):not([data-taxi-ignore])",removeOldContent:i=!0,allowInterruption:r=!1,bypassCache:n=!1,enablePrefetch:s=!0,renderers:o={default:A},transitions:a={default:L},reloadJsFilter:l=(t=>void 0!==t.dataset.taxiReload),reloadCssFilter:h=(t=>!0)}=t;this.renderers=o,this.transitions=a,this.defaultRenderer=this.renderers.default||A,this.defaultTransition=this.transitions.default||L,this.wrapper=document.querySelector("[data-taxi]"),this.reloadJsFilter=l,this.reloadCssFilter=h,this.removeOldContent=i,this.allowInterruption=r,this.bypassCache=n,this.enablePrefetch=s,this.cache=new Map,this.isPopping=!1,this.attachEvents(e),this.currentLocation=E(window.location.href),this.cache.set(this.currentLocation.href,this.createCacheEntry(document.cloneNode(!0),window.location.href)),this.currentCacheEntry=this.cache.get(this.currentLocation.href),this.currentCacheEntry.renderer.initialLoad()}setDefaultRenderer(t){this.defaultRenderer=this.renderers[t]}setDefaultTransition(t){this.defaultTransition=this.transitions[t]}
1addRoute(t,e,i){this.router||(this.router=new P),this.router.add(t,e,i)}preload(t,e=!1){return t=E(t).href,this.cache.has(t)?Promise.resolve():this.fetch(t,!1).then((async i=>{this.cache.set(t,this.createCacheEntry(i.html,i.url)),e&&this.cache.get(t).renderer.createDom()}))}updateCache(t){const e=E(t||window.location.href).href;this.cache.has(e)&&this.cache.delete(e),this.cache.set(e,this.createCacheEntry(document.cloneNode(!0),e))}clearCache(t){const e=E(t||window.location.href).href;this.cache.has(e)&&this.cache.delete(e)}navigateTo(t,e=!1,i=!1){return new Promise(((r,n)=>{if(!this.allowInterruption&&this.isTransitioning)return void n(new Error(O));this.isTransitioning=!0,this.isPopping=!0,this.targetLocation=E(t),this.popTarget=window.location.href;const s=new(this.chooseTransition(e))({wrapper:this.wrapper});let o;if(this.bypassCache||!this.cache.has(this.targetLocation.href)||this.cache.get(this.targetLocation.href).skipCache){const t=this.fetch(this.targetLocation.href).then((t=>{this.cache.set(this.targetLocation.href,this.createCacheEntry(t.html,t.url)),this.cache.get(this.targetLocation.href).renderer.createDom()}));o=this.beforeFetch(this.targetLocation,s,i).then((async()=>t.then((async()=>await this.afterFetch(this.targetLocation,s,this.cache.get(this.targetLocation.href),i)))))}else this.cache.get(this.targetLocation.href).renderer.createDom(),o=this.beforeFetch(this.targetLocation,s,i).then((async()=>await this.afterFetch(this.targetLocation,s,this.cache.get(this.targetLocation.href),i)));o.then((()=>{r()}))}))}on(t,e){$.on(t,e)}off(t,e){$.off(t,e)}beforeFetch(t,e,i){return $.emit("NAVIGATE_OUT",{from:this.currentCacheEntry,trigger:i}),new Promise((r=>{this.currentCacheEntry.renderer.leave(e,i,this.removeOldContent).then((()=>{"popstate"!==i&&window.history.pushState({},"",t.raw),r()}))}))}afterFetch(t,e,i,r){return this.currentLocation=t,this.popTarget=this.currentLocation.href,new Promise((n=>
1{i.renderer.update(),$.emit("NAVIGATE_IN",{from:this.currentCacheEntry,to:i,trigger:r}),this.reloadJsFilter&&this.loadScripts(i.scripts),this.reloadCssFilter&&this.loadStyles(i.styles),"popstate"!==r&&t.href!==i.finalUrl&&window.history.replaceState({},"",i.finalUrl),i.renderer.enter(e,r).then((()=>{$.emit("NAVIGATE_END",{from:this.currentCacheEntry,to:i,trigger:r}),this.currentCacheEntry=i,this.isTransitioning=!1,this.isPopping=!1,n()}))}))}loadScripts(t){const e=[...t],i=Array.from(document.querySelectorAll("script")).filter(this.reloadJsFilter);for(let t=0;t<i.length;t++)for(let n=0;n<e.length;n++)if(i[t].outerHTML===e[n].outerHTML){(r=i[t]).parentNode.replaceChild(M(r),r),e.splice(n,1);break}var r;for(const t of e)C(t)}loadStyles(t){const e=Array.from(document.querySelectorAll('link[rel="stylesheet"]')).filter(this.reloadCssFilter);t.forEach((t=>{t.href&&!e.find((e=>e.href===t.href))&&document.body.append(t)}))}attachEvents(t){$.delegate("click",t,this.onClick),$.on("popstate",window,this.onPopstate),this.enablePrefetch&&$.delegate("mouseenter focus",t,this.onPrefetch)}onClick=t=>{if(!t.metaKey&&!t.ctrlKey){const e=E(t.currentTarget.href);if(this.currentLocation=E(window.location.href),this.currentLocation.host!==e.host)return;if(this.currentLocation.href!==e.href||this.currentLocation.hasHash&&!e.hasHash)return t.preventDefault(),void this.navigateTo(e.raw,t.currentTarget.dataset.transition||!1,t.currentTarget).catch((t=>console.warn(t)));this.currentLocation.hasHash||e.hasHash||t.preventDefault()}};onPopstate=()=>!(window.location.pathname===this.currentLocation.pathname&&!this.isPopping)&&(this.allowInterruption||!this.isTransitioning&&!this.isPopping?(this.isPopping||(this.popTarget=window.location.href),this.isPopping=!0,void this.navigateTo(window.location.href,!1,"popstate")):(window.history.pushState({},"",this.popTarget),console.warn(O),!1));onPrefetch=t=>{const e=E(t.currentTarget.href);this.currentLocation.host===e.host&&this.preload(t.currentTarget.href,!1)};fetch(t,e=!0){if(this.activePromises.has(t))return this.activePromises.get(t);const i=new Promise(((i,r)=>{let n;fetch(t,{mode:"same-origin",method:"GET",headers:{"X-Requested-With":"Taxi"},credentials:"same-origin"}).then((i=>(i.ok||(r("Taxi encountered a non 2xx HTTP status code"),e&&(window.location.href=t)),n=i.url,i.text()))).then((t=>{var e;i({html:(e=t,"string"==typeof e?S.parseFromString(e,"text/html"):e),url:n})})).catch((i=>{r(i),e&&(window.location.href=t)})).finally((()=>{this.activePromises.delete(t)}))}));return this.activePromises.set(t,i),i}chooseTransition(t){if(t)return this.transitions[t];const e=this.router?.findMatch(this.currentLocation,this.targetLocation);return e?this.transitions[e]:this.defaultTransition}createCacheEntry(t,e){const i=t.querySelector("[data-taxi-view]"),r=i.dataset.taxiView.length?this.renderers[i.dataset.taxiView]:this.defaultRenderer;return r||console.warn(`The Renderer "${i.dataset.taxiView}" was set in the data-taxi-view of the requested page, but not registered in Taxi.`),{page:t,content:i,finalUrl:e,skipCache:i.hasAttribute("data-taxi-nocache"),scripts:this.reloadJsFilter?Array.from(t.querySelectorAll("script")).filter(this.reloadJsFilter):[],styles:this.reloadCssFilter?Array.from(t.querySelectorAll('link[rel="stylesheet"]')).filter(this.reloadCssFilter):[],title:t.title,renderer:new r({wrapper:this.wrapper,title:t.title,content:i,page:t})}}}function I(t,e,i){var r,n=i||{},s=n.noTrailing,o=void 0!==s&&s,a=n.noLeading,l=void 0!==a&&a,h=n.debounceMode,c=void 0===h?void 0:h,u=!1,d=0;function f(){r&&clearTimeout(r)}function p(){for(var i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];var a=this,h=Date.now()-d;function p(){d=Date.now(),e.apply(a,n)}function m(){r=void 0}u||(l||!c||r||p(),f(),void 0===c&&h>t?l?(d=Date.now(),o||(r=setTimeout(c?m:p,t))):p():!0!==o&&(r=setTimeout(c?m:p,void 0===c?t-h:t)))}return p.cancel=function(t){var e=(t||{}).upcomingOnly,i=void 0!==e&&e;f(),u=!i},p}function q(t,e,i){var r=(i||{}).atBegin;return I(t,e,{debounceMode:!1!==(void 0!==r&&r)})}const z={currentScroll:0,isDark:!1,transitionFromMenu:!1,transitionMenuIndex:-1,
1cancelAnimation:t=>{t&&(t.pause(),t.invalidate(),t.kill())},remToPixel:t=>t*parseFloat(getComputedStyle(document.documentElement).fontSize),lerp:(t,e,i)=>t*(1-i)+e*i,round:(t,e)=>{const i=e?Math.pow(10,e):100;return Math.round(t*i)/i},detect:{uA:navigator.userAgent.toLowerCase(),get iPadIOS13(){return"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1},get isMobile(){return/mobi|android|tablet|ipad|iphone/.test(this.uA)||this.iPadIOS13},get isMobileAndroid(){return/android.*mobile/.test(this.uA)},get isFirefox(){return this.uA.indexOf("firefox")>-1},get isAndroid(){return this.isMobileAndroid||!this.isMobileAndroid&&/android/i.test(this.uA)},get safari(){return this.uA.match(/version\/[\d.]+.*safari/)},get isSafari(){return this.safari&&!this.isAndroid}}};var D=z;function F(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var B,Y,j,W,V,H,X,U,G,J,Q,K={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Z={duration:.5,overwrite:!1,delay:0},tt=1e8,et=1e-8,it=2*Math.PI,rt=it/4,nt=0,st=Math.sqrt,ot=Math.cos,at=Math.sin,lt=function(t){return"string"==typeof t},ht=function(t){return"function"==typeof t},ct=function(t){return"number"==typeof t},ut=function(t){return void 0===t},dt=function(t){return"object"==typeof t},ft=function(t){return!1!==t},pt=function(){return"undefined"!=typeof window},mt=function(t){return ht(t)||lt(t)},gt="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},vt=Array.isArray,yt=/(?:-?\.?\d|\.)+/gi,wt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,bt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_t=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,xt=/[+-]=-?[.\d]+/,kt=/[^,'"\[\]\s]+/gi,Tt=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,$t={},St={},Et=function(t){return(St=ie(t,$t))&&rr},Ct=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Mt=function(t,e){return!e&&console.warn(t)},Lt=function(t,e){return t&&($t[t]=e)&&St&&(St[t]=e)||$t},At=function(){return 0},Pt={suppressEvents:!0,isStart:!0,kill:!1},Ot={suppressEvents:!0,kill:!1},Rt={suppressEvents:!0},It={},qt=[],zt={},Dt={},Ft={},Nt=30,Bt=[],Yt="",jt=function(t){var e,i,r=t[0];if(dt(r)||ht(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(i=Bt.length;i--&&!Bt[i].targetTest(r););e=Bt[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new vi(t[i],e)))||t.splice(i,1);return t},Wt=function(t){return t._gsap||jt(Re(t))[0]._gsap},Vt=function(t,e,i){return(i=t[e])&&ht(i)?t[e]():ut(i)&&t.getAttribute&&t.getAttribute(e)||i},Ht=function(t,e){return(t=t.split(",")).forEach(e)||t},Xt=function(t){return Math.round(1e5*t)/1e5||0},Ut=function(t){return Math.round(1e7*t)/1e7||0},Gt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===i?t+r:"-"===i?t-r:"*"===i?t*r:t/r},Jt=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Qt=function(){var t,e,i=qt.length,r=qt.slice(0);for(zt={},qt.length=0,t=0;t<i;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Kt=function(t,e,i,r){qt.length&&!Y&&Qt(),t.render(e,i,r||Y&&e<0&&(t._initted||t._startAt)),qt.length&&!Y&&Qt()},Zt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(kt).length<2?e:lt(t)?t.trim():t},te=function(t){return t},ee=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},ie=function(t,e){for(var i in e)t[i]=e[i];return t},re=function t(e,i){for(var r in i)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=dt(i[r])?t(e[r]||(e[r]={}),i[r]):i[r]);return e},ne=function(t,e){var i,r={};for(i in t)i in e||(r[i]=t[i]);return r},se=function(t){var e,i=t.parent||W,r=t.keyframes?(e=vt(t.keyframes),function(t,i){for(var r in i)r in t||"duration"===r&&e||"ease"===r||(t[r]=i[r])}):ee;if(ft(t.inherit))for(;i;)r(t,i.vars.defaults),i=i.parent||i._dp;return t},oe=function(t,e,i,r,n){void 0===i&&(i="_first"),void 0===r&&(r="_last");var s,o=t[r];if(n)for(s=e[n];o&&o[n]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=o,e.parent=e._dp=t,e}
vendor: 46,531 bytes, line 1
1,ae=function(t,e,i,r){void 0===i&&(i="_first"),void 0===r&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},le=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},he=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},ce=function(t,e,i,r){return t._startAt&&(Y?t._startAt.revert(Ot):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},ue=function t(e){return!e||e._ts&&t(e.parent)},de=function(t){return t._repeat?fe(t._tTime,t=t.duration()+t._rDelay)*t:0},fe=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},pe=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},me=function(t){return t._end=Ut(t._start+(t._tDur/Math.abs(t._ts||t._rts||et)||0))},ge=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=Ut(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),me(t),i._dirty||he(i,t)),t},ve=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=pe(t.rawTime(),e),(!e._dur||Me(0,e.totalDuration(),i)-e._tTime>et)&&e.render(i,!0)),he(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-1e-8}},ye=function(t,e,i,r){return e.parent&&le(e),e._start=Ut((ct(i)?i:i||t!==W?Se(t,i,e):t._time)+e._delay),e._end=Ut(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),oe(t,e,"_first","_last",t._sort?"_start":0),xe(e)||(t._recent=e),r||ve(t,e),t._ts<0&&ge(t,t._tTime),t},we=function(t,e){return($t.ScrollTrigger||Ct("scrollTrigger",e))&&$t.ScrollTrigger.create(e,t)},be=function(t,e,i,r,n){return $i(t,e,n),t._initted?!i&&t._pt&&!Y&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&G!==ni.frame?(qt.push(t),t._lazy=[n,r],1):void 0:1},_e=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))},xe=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ke=function(t,e,i,r){var n=t._repeat,s=Ut(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:Ut(s*(n+1)+t._rDelay*n):s,o>0&&!r&&ge(t,t._tTime=t._tDur*o),t.parent&&me(t),i||he(t.parent,t),t},Te=function(t){return t instanceof wi?he(t):ke(t,t._dur)},$e={_start:0,endTime:At,totalDuration:At},Se=function t(e,i,r){var n,s,o,a=e.labels,l=e._recent||$e,h=e.duration()>=tt?l.endTime(!1):e._dur;return lt(i)&&(isNaN(i)||i in a)?(s=i.charAt(0),o="%"===i.substr(-1),n=i.indexOf("="),"<"===s||">"===s?(n>=0&&(i=i.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(i.substr(1))||0)*(o?(n<0?l:r).totalDuration()/100:1)):n<0?(i in a||(a[i]=h),a[i]):(s=parseFloat(i.charAt(n-1)+i.substr(n+1)),o&&r&&(s=s/100*(vt(r)?r[0]:r).totalDuration()),n>1?t(e,i.substr(0,n-1),r)+s:h+s)):null==i?h:+i},Ee=function(t,e,i){var r,n,s=ct(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=i,t){for(r=a,n=i;n&&!("immediateRender"in r);)r=n.vars.defaults||{},n=ft(n.vars.inherit)&&n.parent;a.immediateRender=ft(r.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new Li(e[0],a,e[o+1])},Ce=function(t,e){return t||0===t?e(t):e},Me=function(t,e,i){return i<t?t:i>e?e:i},Le=function(t,e){return lt(t)&&(e=Tt.exec(t))?e[1]:""},Ae=[].slice,Pe=function(t,e){return t&&dt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&dt(t[0]))&&!t.nodeType&&t!==V},Oe=function(t,e,i){return void 0===i&&(i=[]),t.forEach((function(t){var r;return lt(t)&&!e||Pe(t,1)?(r=i).push.apply(r,Re(t)):i.push(t)}))||i},Re=function(t,e,i){return j&&!e&&j.selector?j.selector(t):!lt(t)||i||!H&&si()?vt(t)?Oe(t,i):Pe(t)?Ae.call(t,0):t?[t]:[]:Ae.call((e||X).querySelectorAll(t),0)},Ie=function(t){return t=Re(t)[0]||Mt("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return Re(e,i.querySelectorAll?i:i===t?Mt("Invalid scope")||X.createElement("div"):t)}},qe=function(t){return t.sort((function(){return.5-Math.random()}))},ze=function(t){if(ht(t))return t;var e=dt(t)?t:{each:t},i=di(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},o=r>0&&r<1,a=isNaN(r)||o,l=e.axis,h=r,c=r;return lt(r)?h=c={center:.5,edges:.5,end:1}[r]||0:!o&&a&&(h=r[0],c=r[1]),function(t,o,u){var d,f,p,m,g,v,y,w,b,_=(u||e).length,x=s[_];if(!x){if(!(b="auto"===e.grid?0:(e.grid||[1,tt])[1])){for(y=-tt;y<(y=u[b++].getBoundingClientRect().left)&&b<_;);b--}for(x=s[_]=[],d=a?Math.min(b,_)*h-.5:r%b,f=b===tt?0:a?_*c/b-.5:r/b|0,y=0,w=tt,v=0;v<_;v++)p=v%b-d,m=f-(v/b|0),x[v]=g=l?Math.abs("y"===l?m:p):st(p*p+m*m),g>y&&(y=g),g<w&&(w=g);"random"===r&&qe(x),x.max=y-w,x.min=w,x.v=_=(parseFloat(e.amount)||parseFloat(e.each)*(b>_?_-1:l?"y"===l?_/b:b:Math.max(b,_/b))||0)*("edges"===r?-1:1),x.b=_<0?n-_:n,x.u=Le(e.amount||e.each)||0,i=i&&_<0?ci(i):i}return _=(x[t]-x.min)/x.max||0,Ut(x.b+(i?i(_):_)*x.v)+x.u}},De=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=Ut(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(ct(i)?0:Le(i))}},Fe=function(t,e){var i,r,n=vt(t);return!n&&dt(t)&&(i=n=t.radius||tt,t.values?(t=Re(t.values),(r=!ct(t[0]))&&(i*=i)):t=De(t.increment)),Ce(e,n?ht(t)?function(e){return r=t(e),Math.abs(r-e)<=i?r:e}:function(e){for(var n,s,o=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),l=tt,h=0,c=t.length;c--;)(n=r?(n=t[c].x-o)*n+(s=t[c].y-a)*s:Math.abs(t[c]-o))<l&&(l=n,h=c);return h=!i||l<=i?t[h]:e,r||h===e||ct(e)?h:h+Le(e)}:De(t))},Ne=function(t,e,i,r){return Ce(vt(t)?!e:!0===i?!!(i=0):!r,(function(){return vt(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*r)/r}))},Be=function(t,e,i){return Ce(i,(function(i){return t[~~e(i)]}))},Ye=function(t){for(var e,i,r,n,s=0,o="";~(e=t.indexOf("random(",s));)r=t.indexOf(")",e),n="["===t.charAt(e+7),i=t.substr(e+7,r-e-7).match(n?kt:yt),o+=t.substr(s,e-s)+Ne(n?i:+i[0],n?0:+i[1],+i[2]||1e-5),s=r+1;return o+t.substr(s,t.length-s)},je=function(t,e,i,r,n){var s=e-t,o=r-i;return Ce(n,(function(e){return i+((e-t)/s*o||0)}))},We=function(t,e,i){var r,n,s,o=t.labels,a=tt;for(r in o)(n=o[r]-e)<0==!!i&&n&&a>(n=Math.abs(n))&&(s=r,a=n);return s},Ve=function(t,e,i){var r,n,s,o=t.vars,a=o[e],l=j,h=t._ctx;if(a)return r=o[e+"Params"],n=o.callbackScope||t,i&&qt.length&&Qt(),h&&(j=h),s=r?a.apply(n,r):a.call(n),j=l,s},He=function(t){return le(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Y),t.progress()<1&&Ve(t,"onInterrupt"),t},Xe=[],Ue=function(t){if(pt()&&t){var e=(t=!t.name&&t.default||t).name,i=ht(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:At,render:Fi,add:ki,kill:Bi,modifier:Ni,rawVars:0},s={targetTest:0,get:0,getSetter:Ii,aliases:{},register:0};if(si(),t!==r){if(Dt[e])return;ee(r,ee(ne(t,n),s)),ie(r.prototype,ie(n,ne(t,s))),Dt[r.prop=e]=r,t.targetTest&&(Bt.push(r),It[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Lt(e,r),t.register&&t.register(rr,r,Wi)}else t&&Xe.push(t)},Ge=255,Je={aqua:[0,Ge,Ge],lime:[0,Ge,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ge],navy:[0,0,128],white:[Ge,Ge,Ge],olive:[128,128,0],yellow:[Ge,Ge,0],orange:[Ge,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ge,0,0],pink:[Ge,192,203],cyan:[0,Ge,Ge],transparent:[Ge,Ge,Ge,0]},Qe=function(t,e,i){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*Ge+.5|0},Ke=function(t,e,i){var r,n,s,o,a,l,h,c,u,d,f=t?ct(t)?[t>>16,t>>8&Ge,t&Ge]:0:Je.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Je[t])f=Je[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&Ge,f&Ge,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&Ge,t&Ge]}else if("hsl"===t.substr(0,3))if(f=d=t.match(yt),e){if(~t.indexOf("="))return f=t.match(wt),i&&f.length<4&&(f[3]=1),f}else o=+f[0]%360/360,a=+f[1]/100,r=2*(l=+f[2]/100)-(n=l<=.5?l*(a+1):l+a-l*a),f.length>3&&(f[3]*=1),f[0]=Qe(o+1/3,r,n),f[1]=Qe(o,r,n),f[2]=Qe(o-1/3,r,n);else f=t.match(yt)||Je.transparent;f=f.map(Number)}return e&&!d&&(r=f[0]/Ge,n=f[1]/Ge,s=f[2]/Ge,l=((h=Math.max(r,n,s))+(c=Math.min(r,n,s)))/2,h===c?o=a=0:(u=h-c,a=l>.5?u/(2-h-c):u/(h+c),o=h===r?(n-s)/u+(n<s?6:0):h===n?(s-r)/u+2:(r-n)/u+4,o*=60),f[0]=~~(o+.5),f[1]=~~(100*a+.5),f[2]=~~(100*l+.5)),i&&f.length<4&&(f[3]=1),f},Ze=function(t){var e=[],i=[],r=-1;return t.split(ei).forEach((function(t){var n=t.match(bt)||[];e.push.apply(e,n),i.push(r+=n.length+1)})),e.c=i,e},ti=function(t,e,i){var r,n,s,o,a="",l=(t+a).match(ei),h=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map((function(t){return(t=Ke(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),i&&(s=Ze(t),(r=i.c).join(a)!==s.c.join(a)))for(o=(n=t.replace(ei,"1").split(bt)).length-1;c<o;c++)a+=n[c]+(~r.indexOf(c)?l.shift()||h+"0,0,0,0)":(s.length?s:l.length?l:i).shift());if(!n)for(o=(n=t.split(ei)).length-1;c<o;c++)a+=n[c]+l[c];return a+n[o]},ei=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Je)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ii=/hsl[a]?\(/,ri=function(t){var e,i=t.join(" ");if(ei.lastIndex=0,ei.test(i))return e=ii.test(i),t[1]=ti(t[1],e),t[0]=ti(t[0],e,Ze(t[1])),!0},ni=function(){var t,e,i,r,n,s,o=Date.now,a=500,l=33,h=o(),c=h,u=1e3/240,d=u,f=[],p=function i(p){var m,g,v,y,w=o()-c,b=!0===p;if(w>a&&(h+=w-l),((m=(v=(c+=w)-h)-d)>0||b)&&(y=++r.frame,n=v-1e3*r.time,r.time=v/=1e3,d+=m+(m>=u?4:u-m),g=1),b||(t=e(i)),g)for(s=0;s<f.length;s++)f[s](v,n,y,p)};return r={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(t){return n/(1e3/(t||60))},wake:function(){U&&(!H&&pt()&&(V=H=window,X=V.document||{},$t.gsap=rr,(V.gsapVersions||(V.gsapVersions=[])).push(rr.version),Et(St||V.GreenSockGlobals||!V.gsap&&V||{}),i=V.requestAnimationFrame,Xe.forEach(Ue)),t&&r.sleep(),e=i||function(t){return setTimeout(t,d-1e3*r.time+1|0)},Q=1,p(2))},sleep:function(){(i?V.cancelAnimationFrame:clearTimeout)(t),Q=0,e=At},lagSmoothing:function(t,e){a=t||1/0,l=Math.min(e||33,a)},fps:function(t){u=1e3/(t||240),d=1e3*r.time+u},add:function(t,e,i){var n=e?function(e,i,s,o){t(e,i,s,o),r.remove(n)}:t;return r.remove(t),f[i?"unshift":"push"](n),si(),n},remove:function(t,e){~(e=f.indexOf(t))&&f.splice(e,1)&&s>=e&&s--},_listeners:f},r}(),si=function(){return!Q&&ni.wake()},oi={},ai=/^[\d.\-M][\d.\-,\s]/,li=/["']/g,hi=function(t){for(var e,i,r,n={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)i=s[a],e=a!==l-1?i.lastIndexOf(","):i.length,r=i.substr(0,e),n[o]=isNaN(r)?r.replace(li,"").trim():+r,o=i.substr(e+1).trim();return n},ci=function(t){return function(e){return 1-t(1-e)}},ui=function t(e,i){for(var r,n=e._first;n;)n instanceof wi?t(n,i):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===i||(n.timeline?t(n.timeline,i):(r=n._ease,n._ease=n._yEase,n._yEase=r,n._yoyo=i)),n=n._next},di=function(t,e){return t&&(ht(t)?t:oi[t]||function(t){var e,i,r,n,s=(t+"").split("("),o=oi[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~t.indexOf("{")?[hi(s[1])]:(e=t,i=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",i),e.substring(i,~n&&n<r?e.indexOf(")",r+1):r)).split(",").map(Zt)):oi._CE&&ai.test(t)?oi._CE("",t):o}(t))||e},fi=function(t,e,i,r){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,s={easeIn:e,easeOut:i,easeInOut:r};return Ht(t,(function(t){for(var e in oi[t]=$t[t]=s,oi[n=t.toLowerCase()]=i,s)oi[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=oi[t+"."+e]=s[e]})),s},pi=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},mi=function t(e,i,r){var n=i>=1?i:1,s=(r||(e?.3:.45))/(i<1?i:1),o=s/it*(Math.asin(1/n)||0),a=function(t){return 1===t?1:n*Math.pow(2,-10*t)*at((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:pi(a);return s=it/s,l.config=function(i,r){return t(e,i,r)},l},gi=function t(e,i){void 0===i&&(i=1.70158);var r=function(t){return t?--t*t*((i+1)*t+i)+1:0},n="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:pi(r);return n.config=function(i){return t(e,i)},n};Ht("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var i=e<5?e+1:e;fi(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},(function(t){return 1-Math.pow(1-t,i)}),(function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2}))})),oi.Linear.easeNone=oi.none=oi.Linear.easeIn,fi("Elastic",mi("in"),mi("out"),mi()),function(t,e){var i=1/e,r=function(r){return r<i?t*r*r:r<.7272727272727273?t*Math.pow(r-1.5/e,2)+.75:r<.9090909090909092?t*(r-=2.25/e)*r+.9375:t*Math.pow(r-2.625/e,2)+.984375};fi("Bounce",(function(t){return 1-r(1-t)}),r)}(7.5625,2.75),fi("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),fi("Circ",(function(t){return-(st(1-t*t)-1)})),fi("Sine",(function(t){return 1===t?1:1-ot(t*rt)})),fi("Back",gi("in"),gi("out"),gi()),oi.SteppedEase=oi.steps=$t.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0;return function(t){return((r*Me(0,.99999999,t)|0)+n)*i}}},Z.ease=oi["quad.out"],Ht("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return Yt+=t+","+t+"Params,"}));var vi=function(t,e){this.id=nt++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Vt,this.set=e?e.getSetter:Ii},yi=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ke(this,+t.duration,1,1),this.data=t.data,j&&(this._ctx=j,j.data.push(this)),Q||ni.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ke(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(si(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(ge(this,t),!i._dp||i.parent||ve(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&ye(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===et||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Kt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+de(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+de(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?fe(this._tTime,i)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?pe(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(Me(-Math.abs(this._delay),this._tDur,e),!0),me(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(si(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==et&&(this._tTime-=et)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&ye(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(ft(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?pe(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=Rt);var e=Y;return Y=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),Y=e,this},e.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(t):i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,Te(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,Te(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Se(this,t),ft(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,ft(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-et))},e.eventCallback=function(t,e,i){var r=this.vars;return arguments.length>1?(e?(r[t]=e,i&&(r[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(i){var r=ht(t)?t:te,n=function(){var t=e.then;e.then=null,ht(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),i(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){He(this)},t}();ee(yi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var wi=function(t){function e(e,i){var r;return void 0===e&&(e={}),(r=t.call(this,e)||this).labels={},r.smoothChildTiming=!!e.smoothChildTiming,r.autoRemoveChildren=!!e.autoRemoveChildren,r._sort=ft(e.sortChildren),W&&ye(e.parent||W,F(r),i),e.reversed&&r.reverse(),e.paused&&r.paused(!0),e.scrollTrigger&&we(F(r),e.scrollTrigger),r}N(e,t);var i=e.prototype;return i.to=function(t,e,i){return Ee(0,arguments,this),this},i.from=function(t,e,i){return Ee(1,arguments,this),this},i.fromTo=function(t,e,i,r){return Ee(2,arguments,this),this},i.set=function(t,e,i){return e.duration=0,e.parent=this,se(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Li(t,e,Se(this,i),1),this},i.call=function(t,e,i){return ye(this,Li.delayedCall(0,t,e),i)},i.staggerTo=function(t,e,i,r,n,s,o){return i.duration=e,i.stagger=i.stagger||r,i.onComplete=s,i.onCompleteParams=o,i.parent=this,new Li(t,i,Se(this,n)),this},i.staggerFrom=function(t,e,i,r,n,s,o){return i.runBackwards=1,se(i).immediateRender=ft(i.immediateRender),this.staggerTo(t,e,i,r,n,s,o)},i.staggerFromTo=function(t,e,i,r,n,s,o,a){return r.startAt=i,se(r).immediateRender=ft(r.immediateRender),this.staggerTo(t,e,r,n,s,o,a)},i.render=function(t,e,i){var r,n,s,o,a,l,h,c,u,d,f,p,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t<=0?0:Ut(t),w=this._zTime<0!=t<0&&(this._initted||!v);if(this!==W&&y>g&&t>=0&&(y=g),y!==this._tTime||i||w){if(m!==this._time&&v&&(y+=this._time-m,t+=this._time-m),r=y,u=this._start,l=!(c=this._ts),w&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(f=this._yoyo,a=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,i);if(r=Ut(y%a),y===g?(o=this._repeat,r=v):((o=~~(y/a))&&o===y/a&&(r=v,o--),r>v&&(r=v)),d=fe(this._tTime,a),!m&&this._tTime&&d!==o&&this._tTime-d*a-this._dur<=0&&(d=o),f&&1&o&&(r=v-r,p=1),o!==d&&!this._lock){var b=f&&1&d,_=b===(f&&1&o);if(o<d&&(b=!b),m=b?0:y%v?v:y,this._lock=1,this.render(m||(p?0:Ut(o*a)),e,!v)._lock=0,this._tTime=y,!e&&this.parent&&Ve(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),m&&m!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,g=this._tDur,_&&(this._lock=2,m=b?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;ui(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,Ut(m),Ut(r)),h&&(y-=r-(r=h._start))),this._tTime=y,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&r&&!e&&!o&&(Ve(this,"onStart"),this._tTime!==y))return this;if(r>=m&&t>=0)for(n=this._first;n;){if(s=n._next,(n._act||r>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,i);if(n.render(n._ts>0?(r-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(r-n._start)*n._ts,e,i),r!==this._time||!this._ts&&!l){h=0,s&&(y+=this._zTime=-1e-8);break}}n=s}else{n=this._last;for(var x=t<0?t:r;n;){if(s=n._prev,(n._act||x<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,i);if(n.render(n._ts>0?(x-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(x-n._start)*n._ts,e,i||Y&&(n._initted||n._startAt)),r!==this._time||!this._ts&&!l){h=0,s&&(y+=this._zTime=x?-1e-8:et);break}}n=s}}if(h&&!e&&(this.pause(),h.render(r>=m?0:-1e-8)._zTime=r>=m?1:-1,this._ts))return this._start=u,me(this),this.render(t,e,i);this._onUpdate&&!e&&Ve(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(u!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&le(this,1),e||t<0&&!m||!y&&!m&&g||(Ve(this,y===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom())))}return this},i.add=function(t,e){var i=this;if(ct(e)||(e=Se(this,e,t)),!(t instanceof yi)){if(vt(t))return t.forEach((function(t){return i.add(t,e)})),this;if(lt(t))return this.addLabel(t,e);if(!ht(t))return this;t=Li.delayedCall(0,t)}return this!==t?ye(this,t,e):this},i.getChildren=function(t,e,i,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===r&&(r=-tt);for(var n=[],s=this._first;s;)s._start>=r&&(s instanceof Li?e&&n.push(s):(i&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,i)))),s=s._next;return n},i.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},i.remove=function(t){return lt(t)?this.removeLabel(t):ht(t)?this.killTweensOf(t):(ae(this,t),t===this._recent&&(this._recent=this._last),he(this))},i.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ut(ni.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},i.addLabel=function(t,e){return this.labels[t]=Se(this,e),this},i.removeLabel=function(t){return delete this.labels[t],this},i.addPause=function(t,e,i){var r=Li.delayedCall(0,e||At,i);return r.data="isPause",this._hasPause=1,ye(this,r,Se(this,t))},i.removePause=function(t){var e=this._first;for(t=Se(this,t);e;)e._start===t&&"isPause"===e.data&&le(e),e=e._next},i.killTweensOf=function(t,e,i){for(var r=this.getTweensOf(t,i),n=r.length;n--;)bi!==r[n]&&r[n].kill(t,e);return this},i.getTweensOf=function(t,e){for(var i,r=[],n=Re(t),s=this._first,o=ct(e);s;)s instanceof Li?Jt(s._targets,n)&&(o?(!bi||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&r.push(s):(i=s.getTweensOf(n,e)).length&&r.push.apply(r,i),s=s._next;return r},i.tweenTo=function(t,e){e=e||{};var i,r=this,n=Se(r,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,h=s.immediateRender,c=Li.to(r,ee({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale())||et,onStart:function(){if(r.pause(),!i){var t=e.duration||Math.abs((n-(o&&"time"in o?o.time:r._time))/r.timeScale());c._dur!==t&&ke(c,t,0,1).render(c._time,!0,!0),i=1}a&&a.apply(c,l||[])}},e));return h?c.render(0):c},i.tweenFromTo=function(t,e,i){return this.tweenTo(e,ee({startAt:{time:Se(this,t)}},i))},i.recent=function(){return this._recent},i.nextLabel=function(t){return void 0===t&&(t=this._time),We(this,Se(this,t))},i.previousLabel=function(t){return void 0===t&&(t=this._time),We(this,Se(this,t),1)},i.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+et)},i.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var r,n=this._first,s=this.labels;n;)n._start>=i&&(n._start+=t,n._end+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return he(this)},i.invalidate=function(e){var i=this._first;for(this._lock=0;i;)i.invalidate(e),i=i._next;return t.prototype.invalidate.call(this,e)},i.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),he(this)},i.totalDuration=function(t){var e,i,r,n=0,s=this,o=s._last,a=tt;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(r=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(i=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,ye(s,o,i-o._delay,1)._lock=0):a=i,i<0&&o._ts&&(n-=i,(!r&&!s._dp||r&&r.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-Infinity),a=0),o._end>n&&o._ts&&(n=o._end),o=e;ke(s,s===W&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(W._ts&&(Kt(W,pe(t,W)),G=ni.frame),ni.frame>=Nt){Nt+=K.autoSleep||120;var e=W._first;if((!e||!e._ts)&&K.autoSleep&&ni._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||ni.sleep()}}},e}(yi);ee(wi.prototype,{_lock:0,_hasPause:0,_forcing:0});var bi,_i,xi=function(t,e,i,r,n,s,o){var a,l,h,c,u,d,f,p,m=new Wi(this._pt,t,e,0,1,Di,null,n),g=0,v=0;for(m.b=i,m.e=r,i+="",(f=~(r+="").indexOf("random("))&&(r=Ye(r)),s&&(s(p=[i,r],t,e),i=p[0],r=p[1]),l=i.match(_t)||[];a=_t.exec(r);)c=a[0],u=r.substring(g,a.index),h?h=(h+1)%5:"rgba("===u.substr(-5)&&(h=1),c!==l[v++]&&(d=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:u||1===v?u:",",s:d,c:"="===c.charAt(1)?Gt(d,c)-d:parseFloat(c)-d,m:h&&h<4?Math.round:0},g=_t.lastIndex);return m.c=g<r.length?r.substring(g,r.length):"",m.fp=o,(xt.test(r)||f)&&(m.e=0),this._pt=m,m},ki=function(t,e,i,r,n,s,o,a,l,h){ht(r)&&(r=r(n||0,t,s));var c,u=t[e],d="get"!==i?i:ht(u)?l?t[e.indexOf("set")||!ht(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():u,f=ht(u)?l?Oi:Pi:Ai;if(lt(r)&&(~r.indexOf("random(")&&(r=Ye(r)),"="===r.charAt(1)&&((c=Gt(d,r)+(Le(d)||0))||0===c)&&(r=c)),!h||d!==r||_i)return isNaN(d*r)||""===r?(!u&&!(e in t)&&Ct(e,r),xi.call(this,t,e,d,r,f,a||K.stringFilter,l)):(c=new Wi(this._pt,t,e,+d||0,r-(d||0),"boolean"==typeof u?zi:qi,0,f),l&&(c.fp=l),o&&c.modifier(o,this,t),this._pt=c)},Ti=function(t,e,i,r,n,s){var o,a,l,h;if(Dt[t]&&!1!==(o=new Dt[t]).init(n,o.rawVars?e[t]:function(t,e,i,r,n){if(ht(t)&&(t=Ei(t,n,e,i,r)),!dt(t)||t.style&&t.nodeType||vt(t)||gt(t))return lt(t)?Ei(t,n,e,i,r):t;var s,o={};for(s in t)o[s]=Ei(t[s],n,e,i,r);return o}(e[t],r,n,s,i),i,r,s)&&(i._pt=a=new Wi(i._pt,n,t,0,1,o.render,o,0,o.priority),i!==J))for(l=i._ptLookup[i._targets.indexOf(n)],h=o._props.length;h--;)l[o._props[h]]=a;return o},$i=function t(e,i,r){var n,s,o,a,l,h,c,u,d,f,p,m,g,v=e.vars,y=v.ease,w=v.startAt,b=v.immediateRender,_=v.lazy,x=v.onUpdate,k=v.onUpdateParams,T=v.callbackScope,$=v.runBackwards,S=v.yoyoEase,E=v.keyframes,C=v.autoRevert,M=e._dur,L=e._startAt,A=e._targets,P=e.parent,O=P&&"nested"===P.data?P.vars.targets:A,R="auto"===e._overwrite&&!B,I=e.timeline;if(I&&(!E||!y)&&(y="none"),e._ease=di(y,Z.ease),e._yEase=S?ci(di(!0===S?y:S,Z.ease)):0,S&&e._yoyo&&!e._repeat&&(S=e._yEase,e._yEase=e._ease,e._ease=S),e._from=!I&&!!v.runBackwards,!I||E&&!v.stagger){if(m=(u=A[0]?Wt(A[0]).harness:0)&&v[u.prop],n=ne(v,It),L&&(L._zTime<0&&L.progress(1),i<0&&$&&b&&!C?L.render(-1,!0):L.revert($&&M?Ot:Pt),L._lazy=0),w){if(le(e._startAt=Li.set(A,ee({data:"isStart",overwrite:!1,parent:P,immediateRender:!0,lazy:!L&&ft(_),startAt:null,delay:0,onUpdate:x,onUpdateParams:k,callbackScope:T,stagger:0},w))),e._startAt._dp=0,e._startAt._sat=e,i<0&&(Y||!b&&!C)&&e._startAt.revert(Ot),b&&M&&i<=0&&r<=0)return void(i&&(e._zTime=i))}else if($&&M&&!L)if(i&&(b=!1),o=ee({overwrite:!1,data:"isFromStart",lazy:b&&!L&&ft(_),immediateRender:b,stagger:0,parent:P},n),m&&(o[u.prop]=m),le(e._startAt=Li.set(A,o)),e._startAt._dp=0,e._startAt._sat=e,i<0&&(Y?e._startAt.revert(Ot):e._startAt.render(-1,!0)),e._zTime=i,b){if(!i)return}else t(e._startAt,et,et);for(e._pt=e._ptCache=0,_=M&&ft(_)||_&&!M,s=0;s<A.length;s++){if(c=(l=A[s])._gsap||jt(A)[s]._gsap,e._ptLookup[s]=f={},zt[c.id]&&qt.length&&Qt(),p=O===A?s:O.indexOf(l),u&&!1!==(d=new u).init(l,m||n,e,p,O)&&(e._pt=a=new Wi(e._pt,l,d.name,0,1,d.render,d,0,d.priority),d._props.forEach((function(t){f[t]=a})),d.priority&&(h=1)),!u||m)for(o in n)Dt[o]&&(d=Ti(o,n,e,p,l,O))?d.priority&&(h=1):f[o]=a=ki.call(e,l,o,"get",n[o],p,O,0,v.stringFilter);e._op&&e._op[s]&&e.kill(l,e._op[s]),R&&e._pt&&(bi=e,W.killTweensOf(l,f,e.globalTime(i)),g=!e.parent,bi=0),e._pt&&_&&(zt[c.id]=1)}h&&ji(e),e._onInit&&e._onInit(e)}e._onUpdate=x,e._initted=(!e._op||e._pt)&&!g,E&&i<=0&&I.render(tt,!0,!0)},Si=function(t,e,i,r){var n,s,o=e.ease||r||"power1.inOut";if(vt(e))s=i[t]||(i[t]=[]),e.forEach((function(t,i){return s.push({t:i/(e.length-1)*100,v:t,e:o})}));else for(n in e)s=i[n]||(i[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:o})},Ei=function(t,e,i,r,n){return ht(t)?t.call(e,i,r,n):lt(t)&&~t.indexOf("random(")?Ye(t):t},Ci=Yt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Mi={};Ht(Ci+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return Mi[t]=1}));var Li=function(t){function e(e,i,r,n){var s;"number"==typeof i&&(r.duration=i,i=r,r=null);var o,a,l,h,c,u,d,f,p=(s=t.call(this,n?i:se(i))||this).vars,m=p.duration,g=p.delay,v=p.immediateRender,y=p.stagger,w=p.overwrite,b=p.keyframes,_=p.defaults,x=p.scrollTrigger,k=p.yoyoEase,T=i.parent||W,$=(vt(e)||gt(e)?ct(e[0]):"length"in i)?[e]:Re(e);if(s._targets=$.length?jt($):Mt("GSAP target "+e+" not found. https://greensock.com",!K.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=w,b||y||mt(m)||mt(g)){if(i=s.vars,(o=s.timeline=new wi({data:"nested",defaults:_||{},targets:T&&"nested"===T.data?T.vars.targets:$})).kill(),o.parent=o._dp=F(s),o._start=0,y||mt(m)||mt(g)){if(h=$.length,d=y&&ze(y),dt(y))for(c in y)~Ci.indexOf(c)&&(f||(f={}),f[c]=y[c]);for(a=0;a<h;a++)(l=ne(i,Mi)).stagger=0,k&&(l.yoyoEase=k),f&&ie(l,f),u=$[a],l.duration=+Ei(m,F(s),a,u,$),l.delay=(+Ei(g,F(s),a,u,$)||0)-s._delay,!y&&1===h&&l.delay&&(s._delay=g=l.delay,s._start+=g,l.delay=0),o.to(u,l,d?d(a,u,$):0),o._ease=oi.none;o.duration()?m=g=0:s.timeline=0}else if(b){se(ee(o.vars.defaults,{ease:"none"})),o._ease=di(b.ease||i.ease||"none");var S,E,C,M=0;if(vt(b))b.forEach((function(t){return o.to($,t,">")})),o.duration();else{for(c in l={},b)"ease"===c||"easeEach"===c||Si(c,b[c],l,b.easeEach);for(c in l)for(S=l[c].sort((function(t,e){return t.t-e.t})),M=0,a=0;a<S.length;a++)(C={ease:(E=S[a]).e,duration:(E.t-(a?S[a-1].t:0))/100*m})[c]=E.v,o.to($,C,M),M+=C.duration;o.duration()<m&&o.to({},{duration:m-o.duration()})}}m||s.duration(m=o.duration())}else s.timeline=0;return!0!==w||B||(bi=F(s),W.killTweensOf($),bi=0),ye(T,F(s),r),i.reversed&&s.reverse(),i.paused&&s.paused(!0),(v||!m&&!b&&s._start===Ut(T._time)&&ft(v)&&ue(F(s))&&"nested"!==T.data)&&(s._tTime=-1e-8,s.render(Math.max(0,-g)||0)),x&&we(F(s),x),s}N(e,t);var i=e.prototype;return i.render=function(t,e,i){var r,n,s,o,a,l,h,c,u,d=this._time,f=this._tDur,p=this._dur,m=t<0,g=t>f-et&&!m?f:t<et?0:t;if(p){if(g!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(r=g,c=this.timeline,this._repeat){if(o=p+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,i);if(r=Ut(g%o),g===f?(s=this._repeat,r=p):((s=~~(g/o))&&s===g/o&&(r=p,s--),r>p&&(r=p)),(l=this._yoyo&&1&s)&&(u=this._yEase,r=p-r),a=fe(this._tTime,o),r===d&&!i&&this._initted)return this._tTime=g,this;s!==a&&(c&&this._yEase&&ui(c,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=i=1,this.render(Ut(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(be(this,m?t:r,i,e,g))return this._tTime=0,this;if(d!==this._time)return this;if(p!==this._dur)return this.render(t,e,i)}if(this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(u||this._ease)(r/p),this._from&&(this.ratio=h=1-h),r&&!d&&!e&&!s&&(Ve(this,"onStart"),this._tTime!==g))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;c&&c.render(t<0?t:!r&&l?-1e-8:c._dur*c._ease(r/this._dur),e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&ce(this,t,0,i),Ve(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&Ve(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&ce(this,t,0,!0),(t||!p)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&le(this,1),e||m&&!d||!(g||d||l)||(Ve(this,g===f?"onComplete":"onReverseComplete",!0),this._prom&&!(g<f&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,i,r){var n,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&_e(t)&&(t._initted||!xe(t))||(t._ts<0||t._dp._ts<0)&&!xe(t))?0:1,h=t._rDelay,c=0;if(h&&t._repeat&&(c=Me(0,t._tDur,e),s=fe(c,h),t._yoyo&&1&s&&(l=1-l),s!==fe(t._tTime,h)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||Y||r||t._zTime===et||!e&&t._zTime){if(!t._initted&&be(t,e,r,i,c))return;for(o=t._zTime,t._zTime=e||(i?et:0),i||(i=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,n=t._pt;n;)n.r(l,n.d),n=n._next;e<0&&ce(t,e,0,!0),t._onUpdate&&!i&&Ve(t,"onUpdate"),c&&t._repeat&&!i&&t.parent&&Ve(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&le(t,1),i||Y||(Ve(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,i);return this},i.targets=function(){return this._targets},i.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},i.resetTo=function(t,e,i,r){Q||ni.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||$i(this,n),function(t,e,i,r,n,s,o){var a,l,h,c,u=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!u)for(u=t._ptCache[e]=[],h=t._ptLookup,c=t._targets.length;c--;){if((a=h[c][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return _i=1,t.vars[e]="+=0",$i(t,o),_i=0,1;u.push(a)}for(c=u.length;c--;)(a=(l=u[c])._pt||l).s=!r&&0!==r||n?a.s+(r||0)+s*a.c:r,a.c=i-a.s,l.e&&(l.e=Xt(i)+Le(l.e)),l.b&&(l.b=a.s+Le(l.b))}(this,t,e,i,r,this._ease(n/this._dur),n)?this.resetTo(t,e,i,r):(ge(this,0),this.parent||oe(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?He(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,bi&&!0!==bi.vars.overwrite)._first||He(this),this.parent&&i!==this.timeline.totalDuration()&&ke(this,this._dur*this.timeline._tDur/i,0,1),this}var r,n,s,o,a,l,h,c=this._targets,u=t?Re(t):c,d=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0}(c,u))return"all"===e&&(this._pt=0),He(this);for(r=this._op=this._op||[],"all"!==e&&(lt(e)&&(a={},Ht(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var i,r,n,s,o=t[0]?Wt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(r in i=ie({},e),a)if(r in i)for(n=(s=a[r].split(",")).length;n--;)i[s[n]]=i[r];return i}(c,e)),h=c.length;h--;)if(~u.indexOf(c[h]))for(a in n=d[h],"all"===e?(r[h]=e,o=n,s={}):(s=r[h]=r[h]||{},o=e),o)(l=n&&n[a])&&("kill"in l.d&&!0!==l.d.kill(a)||ae(this,l,"_pt"),delete n[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&f&&He(this),this},e.to=function(t,i){return new e(t,i,arguments[2])},e.from=function(t,e){return Ee(1,arguments)},e.delayedCall=function(t,i,r,n){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:i,onReverseComplete:i,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},e.fromTo=function(t,e,i){return Ee(2,arguments)},e.set=function(t,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(t,i)},e.killTweensOf=function(t,e,i){return W.killTweensOf(t,e,i)},e}(yi);ee(Li.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ht("staggerTo,staggerFrom,staggerFromTo",(function(t){Li[t]=function(){var e=new wi,i=Ae.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}}));var Ai=function(t,e,i){return t[e]=i},Pi=function(t,e,i){return t[e](i)},Oi=function(t,e,i,r){return t[e](r.fp,i)},Ri=function(t,e,i){return t.setAttribute(e,i)},Ii=function(t,e){return ht(t[e])?Pi:ut(t[e])&&t.setAttribute?Ri:Ai},qi=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},zi=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Di=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},Fi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Ni=function(t,e,i,r){for(var n,s=this._pt;s;)n=s._next,s.p===r&&s.modifier(t,e,i),s=n},Bi=function(t){for(var e,i,r=this._pt;r;)i=r._next,r.p===t&&!r.op||r.op===t?ae(this,r,"_pt"):r.dep||(e=1),r=i;return!e},Yi=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},ji=function(t){for(var e,i,r,n,s=t._pt;s;){for(e=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:n)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:n=s,s=e}t._pt=r},Wi=function(){function t(t,e,i,r,n,s,o,a,l){this.t=e,this.s=r,this.c=n,this.p=i,this.r=s||qi,this.d=o||this,this.set=a||Ai,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=Yi,this.m=t,this.mt=i,this.tween=e},t}();Ht(Yt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return It[t]=1})),$t.TweenMax=$t.TweenLite=Li,$t.TimelineLite=$t.TimelineMax=wi,W=new wi({sortChildren:!1,defaults:Z,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),K.stringFilter=ri;var Vi=[],Hi={},Xi=[],Ui=0,Gi=0,Ji=function(t){return(Hi[t]||Xi).map((function(t){return t()}))},Qi=function(){var t=Date.now(),e=[];t-Ui>2&&(Ji("matchMediaInit"),Vi.forEach((function(t){var i,r,n,s,o=t.queries,a=t.conditions;for(r in o)(i=V.matchMedia(o[r]).matches)&&(n=1),i!==a[r]&&(a[r]=i,s=1);s&&(t.revert(),n&&e.push(t))})),Ji("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),Ui=t,Ji("matchMedia"))},Ki=function(){function t(t,e){this.selector=e&&Ie(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Gi++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,i){ht(t)&&(i=e,e=t,t=ht);var r=this,n=function(){var t,n=j,s=r.selector;return n&&n!==r&&n.data.push(r),i&&(r.selector=Ie(i)),j=r,t=e.apply(r,arguments),ht(t)&&r._r.push(t),j=n,r.selector=s,r.isReverted=!1,t};return r.last=n,t===ht?n(r):t?r[t]=n:n},e.ignore=function(t){var e=j;j=null,t(this),j=e},e.getTweens=function(){var e=[];return this.data.forEach((function(i){return i instanceof t?e.push.apply(e,i.getTweens()):i instanceof Li&&!(i.parent&&"nested"===i.parent.data)&&e.push(i)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var i=this;if(t){var r=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return r.splice(r.indexOf(t),1)})))})),r.map((function(t){return{g:t.globalTime(0),t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return!(e instanceof Li)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,i)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var n=Vi.length;n--;)Vi[n].id===this.id&&Vi.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Zi=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,i){dt(t)||(t={matches:t});var r,n,s,o=new Ki(0,i||this.scope),a=o.conditions={};for(n in j&&!o.selector&&(o.selector=j.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===n?s=1:(r=V.matchMedia(t[n]))&&(Vi.indexOf(o)<0&&Vi.push(o),(a[n]=r.matches)&&(s=1),r.addListener?r.addListener(Qi):r.addEventListener("change",Qi));return s&&e(o),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),tr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach((function(t){return Ue(t)}))},timeline:function(t){return new wi(t)},getTweensOf:function(t,e){return W.getTweensOf(t,e)},getProperty:function(t,e,i,r){lt(t)&&(t=Re(t)[0]);var n=Wt(t||{}).get,s=i?te:Zt;return"native"===i&&(i=""),t?e?s((Dt[e]&&Dt[e].get||n)(t,e,i,r)):function(e,i,r){return s((Dt[e]&&Dt[e].get||n)(t,e,i,r))}:t},quickSetter:function(t,e,i){if((t=Re(t)).length>1){var r=t.map((function(t){return rr.quickSetter(t,e,i)})),n=r.length;return function(t){for(var e=n;e--;)r[e](t)}}t=t[0]||{};var s=Dt[e],o=Wt(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var r=new s;J._pt=0,r.init(t,i?e+i:e,J,0,[t]),r.render(1,r),J._pt&&Fi(1,J)}:o.set(t,a);return s?l:function(e){return l(t,a,i?e+i:e,o,1)}},quickTo:function(t,e,i){var r,n=rr.to(t,ie(((r={})[e]="+=0.1",r.paused=!0,r),i||{})),s=function(t,i,r){return n.resetTo(e,t,i,r)};return s.tween=n,s},isTweening:function(t){return W.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=di(t.ease,Z.ease)),re(Z,t||{})},config:function(t){return re(K,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!Dt[t]&&!$t[t]&&Mt(e+" effect requires "+t+" plugin.")})),Ft[e]=function(t,e,r){return i(Re(t),ee(e||{},n),r)},s&&(wi.prototype[e]=function(t,i,r){return this.add(Ft[e](t,dt(i)?i:(r=i)&&{},this),r)})},registerEase:function(t,e){oi[t]=di(e)},parseEase:function(t,e){return arguments.length?di(t,e):oi},getById:function(t){return W.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,r,n=new wi(t);for(n.smoothChildTiming=ft(t.smoothChildTiming),W.remove(n),n._dp=0,n._time=n._tTime=W._time,i=W._first;i;)r=i._next,!e&&!i._dur&&i instanceof Li&&i.vars.onComplete===i._targets[0]||ye(n,i,i._start-i._delay),i=r;return ye(W,n,0),n},context:function(t,e){return t?new Ki(t,e):j},matchMedia:function(t){return new Zi(t)},matchMediaRefresh:function(){return Vi.forEach((function(t){var e,i,r=t.conditions;for(i in r)r[i]&&(r[i]=!1,e=1);e&&t.revert()}))||Qi()},addEventListener:function(t,e){var i=Hi[t]||(Hi[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=Hi[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:function t(e,i,r){var n=i-e;return vt(e)?Be(e,t(0,e.length),i):Ce(r,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,i,r){var n=i-e,s=2*n;return vt(e)?Be(e,t(0,e.length-1),i):Ce(r,(function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)}))},distribute:ze,random:Ne,snap:Fe,normalize:function(t,e,i){return je(t,e,0,1,i)},getUnit:Le,clamp:function(t,e,i){return Ce(i,(function(i){return Me(t,e,i)}))},splitColor:Ke,toArray:Re,selector:Ie,mapRange:je,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(i){return t(parseFloat(i))+(e||Le(i))}},interpolate:function t(e,i,r,n){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var o,a,l,h,c,u=lt(e),d={};if(!0===r&&(n=1)&&(r=null),u)e={p:e},i={p:i};else if(vt(e)&&!vt(i)){for(l=[],h=e.length,c=h-2,a=1;a<h;a++)l.push(t(e[a-1],e[a]));h--,s=function(t){t*=h;var e=Math.min(c,~~t);return l[e](t-e)},r=i}else n||(e=ie(vt(e)?[]:{},e));if(!l){for(o in i)ki.call(d,e,o,"get",i[o]);s=function(t){return Fi(t,d)||(u?e.p:e)}}}return Ce(r,s)},shuffle:qe},install:Et,effects:Ft,ticker:ni,updateRoot:wi.updateRoot,plugins:Dt,globalTimeline:W,core:{PropTween:Wi,globals:Lt,Tween:Li,Timeline:wi,Animation:yi,getCache:Wt,_removeLinkedListItem:ae,reverting:function(){return Y},context:function(t){return t&&j&&(j.data.push(t),t._ctx=j),j},suppressOverwrites:function(t){return B=t}}};Ht("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return tr[t]=Li[t]})),ni.add(wi.updateRoot),J=tr.to({},{duration:0});var er=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},ir=function(t,e){return{name:t,rawVars:1,init:function(t,i,r){r._onInit=function(t){var r,n;if(lt(i)&&(r={},Ht(i,(function(t){return r[t]=1})),i=r),e){for(n in r={},i)r[n]=e(i[n]);i=r}!function(t,e){var i,r,n,s=t._targets;for(i in e)for(r=s.length;r--;)(n=t._ptLookup[r][i])&&(n=n.d)&&(n._pt&&(n=er(n,i)),n&&n.modifier&&n.modifier(e[i],t,s[r],i))}(t,i)}}}}
1,rr=tr.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,o,a;for(s in this.tween=i,e)a=t.getAttribute(s)||"",(o=this.add(t,"setAttribute",(a||0)+"",e[s],r,n,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)Y?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},ir("roundProps",De),ir("modifiers"),ir("snap",Fe))||tr;Li.version=wi.version=rr.version="3.12.2",U=1,pt()&&si();oi.Power0,oi.Power1,oi.Power2,oi.Power3,oi.Power4,oi.Linear,oi.Quad,oi.Cubic,oi.Quart,oi.Quint,oi.Strong,oi.Elastic,oi.Back,oi.SteppedEase,oi.Bounce,oi.Sine,oi.Expo,oi.Circ;var nr,sr,or,ar,lr,hr,cr,ur,dr={},fr=180/Math.PI,pr=Math.PI/180,mr=Math.atan2,gr=/([A-Z])/g,vr=/(left|right|width|margin|padding|x)/i,yr=/[\s,\(]\S/,wr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},br=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},_r=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},xr=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},kr=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Tr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},$r=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Sr=function(t,e,i){return t.style[e]=i},Er=function(t,e,i){return t.style.setProperty(e,i)},Cr=function(t,e,i){return t._gsap[e]=i},Mr=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},Lr=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},Ar=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},Pr="transform",Or=Pr+"Origin",Rr=function t(e,i){var r=this,n=this.target,s=n.style;if(e in dr&&s){if(this.tfm=this.tfm||{},"transform"===e)return wr.transform.split(",").forEach((function(e){return t.call(r,e,i)}));if(~(e=wr[e]||e).indexOf(",")?e.split(",").forEach((function(t){return r.tfm[t]=Kr(n,t)})):this.tfm[e]=n._gsap.x?n._gsap[e]:Kr(n,e),this.props.indexOf(Pr)>=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Or,i,"")),e=Pr}(s||i)&&this.props.push(e,i,s[e])},Ir=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},qr=function(){var t,e,i=this.props,r=this.target,n=r.style,s=r._gsap;for(t=0;t<i.length;t+=3)i[t+1]?r[i[t]]=i[t+2]:i[t+2]?n[i[t]]=i[t+2]:n.removeProperty("--"===i[t].substr(0,2)?i[t]:i[t].replace(gr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=cr())&&t.isStart||n[Pr]||(Ir(n),s.uncache=1)}},zr=function(t,e){var i={target:t,props:[],revert:qr,save:Rr};return t._gsap||rr.core.getCache(t),e&&e.split(",").forEach((function(t){return i.save(t)})),i},Dr=function(t,e){var i=sr.createElementNS?sr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):sr.createElement(t);return i.style?i:sr.createElement(t)},Fr=function t(e,i,r){var n=getComputedStyle(e);return n[i]||n.getPropertyValue(i.replace(gr,"-$1").toLowerCase())||n.getPropertyValue(i)||!r&&t(e,Br(i)||i,1)||""},Nr="O,Moz,ms,Ms,Webkit".split(","),Br=function(t,e,i){var r=(e||lr).style,n=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(Nr[n]+t in r););return n<0?null:(3===n?"ms":n>=0?Nr[n]:"")+t},Yr=function(){"undefined"!=typeof window&&window.document&&(nr=window,sr=nr.document,or=sr.documentElement,lr=Dr("div")||{style:{}},Dr("div"),Pr=Br(Pr),Or=Pr+"Origin",lr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ur=!!Br("perspective"),cr=rr.core.reverting,ar=1)},jr=function t(e){var i,r=Dr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(or.appendChild(r),r.appendChild(this),this.style.display="block",e)try{i=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(i=this._gsapBBox());return n&&(s?n.insertBefore(this,s):n.appendChild(this)),or.removeChild(r),this.style.cssText=o,i},Wr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Vr=function(t){var e;try{e=t.getBBox()}catch(i){e=jr.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===jr||(e=jr.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Wr(t,["x","cx","x1"])||0,y:+Wr(t,["y","cy","y1"])||0,width:0,height:0}},Hr=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Vr(t))},Xr=function(t,e){if(e){var i=t.style;e in dr&&e!==Or&&(e=Pr),i.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty(e.replace(gr,"-$1").toLowerCase())):i.removeAttribute(e)}}
vendor: 5,495 bytes, line 1
1,Ur=function(t,e,i,r,n,s){var o=new Wi(t._pt,e,i,0,1,s?$r:Tr);return t._pt=o,o.b=r,o.e=n,t._props.push(i),o},Gr={deg:1,rad:1,turn:1},Jr={grid:1,flex:1},Qr=function t(e,i,r,n){var s,o,a,l,h=parseFloat(r)||0,c=(r+"").trim().substr((h+"").length)||"px",u=lr.style,d=vr.test(i),f="svg"===e.tagName.toLowerCase(),p=(f?"client":"offset")+(d?"Width":"Height"),m=100,g="px"===n,v="%"===n;return n===c||!h||Gr[n]||Gr[c]?h:("px"!==c&&!g&&(h=t(e,i,r,"px")),l=e.getCTM&&Hr(e),!v&&"%"!==c||!dr[i]&&!~i.indexOf("adius")?(u[d?"width":"height"]=m+(g?c:n),o=~i.indexOf("adius")||"em"===n&&e.appendChild&&!f?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==sr&&o.appendChild||(o=sr.body),(a=o._gsap)&&v&&a.width&&d&&a.time===ni.time&&!a.uncache?Xt(h/a.width*m):((v||"%"===c)&&!Jr[Fr(o,"display")]&&(u.position=Fr(e,"position")),o===e&&(u.position="static"),o.appendChild(lr),s=lr[p],o.removeChild(lr),u.position="absolute",d&&v&&((a=Wt(o)).time=ni.time,a.width=o[p]),Xt(g?s*h/m:s&&h?m/s*h:0))):(s=l?e.getBBox()[d?"width":"height"]:e[p],Xt(v?h/s*m:h/100*s)))},Kr=function(t,e,i,r){var n;return ar||Yr(),e in wr&&"transform"!==e&&~(e=wr[e]).indexOf(",")&&(e=e.split(",")[0]),dr[e]&&"transform"!==e?(n=cn(t,r),n="transformOrigin"!==e?n[e]:n.svg?n.origin:un(Fr(t,Or))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||r||~(n+"").indexOf("calc("))&&(n=rn[e]&&rn[e](t,e,i)||Fr(t,e)||Vt(t,e)||("opacity"===e?1:0)),i&&!~(n+"").trim().indexOf(" ")?Qr(t,e,n,i)+i:n},Zr=function(t,e,i,r){if(!i||"none"===i){var n=Br(e,t,1),s=n&&Fr(t,n,1);s&&s!==i?(e=n,i=s):"borderColor"===e&&(i=Fr(t,"borderTopColor"))}var o,a,l,h,c,u,d,f,p,m,g,v=new Wi(this._pt,t.style,e,0,1,Di),y=0,w=0;if(v.b=i,v.e=r,i+="","auto"===(r+="")&&(t.style[e]=r,r=Fr(t,e)||r,t.style[e]=i),ri(o=[i,r]),r=o[1],l=(i=o[0]).match(bt)||[],(r.match(bt)||[]).length){for(;a=bt.exec(r);)d=a[0],p=r.substring(y,a.index),c?c=(c+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(c=1),d!==(u=l[w++]||"")&&(h=parseFloat(u)||0,g=u.substr((h+"").length),"="===d.charAt(1)&&(d=Gt(h,d)+g),f=parseFloat(d),m=d.substr((f+"").length),y=bt.lastIndex-m.length,m||(m=m||K.units[e]||g,y===r.length&&(r+=m,v.e+=m)),g!==m&&(h=Qr(t,e,u,m)||0),v._pt={_next:v._pt,p:p||1===w?p:",",s:h,c:f-h,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=y<r.length?r.substring(y,r.length):""}else v.r="display"===e&&"none"===r?$r:Tr;return xt.test(r)&&(v.e=0),this._pt=v,v},tn={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},en=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,r,n,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",r=1;else for(n=(a=a.split(",")).length;--n>-1;)i=a[n],dr[i]&&(r=1,i="transformOrigin"===i?Or:Pr),Xr(s,i);r&&(Xr(s,Pr),l&&(l.svg&&s.removeAttribute("transform"),cn(s,1),l.uncache=1,Ir(o)))}},rn={clearProps:function(t,e,i,r,n){if("isFromStart"!==n.data){var s=t._pt=new Wi(t._pt,e,i,0,0,en);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},nn=[1,0,0,1,0,0],sn={},on=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},an=function(t){var e=Fr(t,Pr);return on(e)?nn:e.substr(7).match(wt).map(Xt)},ln=function(t,e){var i,r,n,s,o=t._gsap||Wt(t),a=t.style,l=an(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?nn:l:(l!==nn||t.offsetParent||t===or||o.svg||(n=a.display,a.display="block",(i=t.parentNode)&&t.offsetParent||(s=1,r=t.nextElementSibling,or.appendChild(t)),l=an(t),n?a.display=n:Xr(t,"display"),s&&(r?i.insertBefore(t,r):i?i.appendChild(t):or.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},hn=function(t,e,i,r,n,s){var o,a,l,h=t._gsap,c=n||ln(t,!0),u=h.xOrigin||0,d=h.yOrigin||0,f=h.xOffset||0,p=h.yOffset||0,m=c[0],g=c[1],v=c[2],y=c[3],w=c[4],b=c[5],_=e.split(" "),x=parseFloat(_[0])||0,k=parseFloat(_[1])||0;i?c!==nn&&(a=m*y-g*v)&&(l=x*(-g/a)+k*(m/a)-(m*b-g*w)/a,x=x*(y/a)+k*(-v/a)+(v*b-y*w)/a,k=l):(x=(o=Vr(t)).x+(~_[0].indexOf("%")?x/100*o.width:x),k=o.y+(~(_[1]||_[0]).indexOf("%")?k/100*o.height:k)),r||!1!==r&&h.smooth?(w=x-u,b=k-d,h.xOffset=f+(w*m+b*v)-w,h.yOffset=p+(w*g+b*y)-b):h.xOffset=h.yOffset=0,h.xOrigin=x,h.yOrigin=k,h.smooth=!!r,h.origin=e,h.originIsAbsolute=!!i,t.style[Or]="0px 0px",s&&(Ur(s,h,"xOrigin",u,x),Ur(s,h,"yOrigin",d,k),Ur(s,h,"xOffset",f,h.xOffset),Ur(s,h,"yOffset",p,h.yOffset)),t.setAttribute("data-svg-origin",x+" "+k)},cn=function(t,e){var i=t._gsap||new vi(t);if("x"in i&&!e&&!i.uncache)return i;var r,n,s,o,a,l,h,c,u,d,f,p,m,g,v,y,w,b,_,x,k,T,$,S,E,C,M,L,A,P,O,R,I=t.style,q=i.scaleX<0,z="px",D="deg",F=getComputedStyle(t),N=Fr(t,Or)||"0";return r=n=s=l=h=c=u=d=f=0,o=a=1,i.svg=!(!t.getCTM||!Hr(t)),F.translate&&("none"===F.translate&&"none"===F.scale&&"none"===F.rotate||(I[Pr]=("none"!==F.translate?"translate3d("+(F.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==F.rotate?"rotate("+F.rotate+") ":"")+("none"!==F.scale?"scale("+F.scale.split(" ").join(",")+") ":"")+("none"!==F[Pr]?F[Pr]:"")),I.scale=I.rotate=I.translate="none"),g=ln(t,i.svg),i.svg&&(i.uncache?(E=t.getBBox(),N=i.xOrigin-E.x+"px "+(i.yOrigin-E.y)+"px",S=""):S=!e&&t.getAttribute("data-svg-origin"),hn(t,S||N,!!S||i.originIsAbsolute,!1!==i.smooth,g)),p=i.xOrigin||0,m=i.yOrigin||0,g!==nn&&(b=g[0],_=g[1],x=g[2],k=g[3],r=T=g[4],n=$=g[5],6===g.length?(o=Math.sqrt(b*b+_*_),a=Math.sqrt(k*k+x*x),l=b||_?mr(_,b)*fr:0,(u=x||k?mr(x,k)*fr+l:0)&&(a*=Math.abs(Math.cos(u*pr))),i.svg&&(r-=p-(p*b+m*x),n-=m-(p*_+m*k))):(R=g[6],P=g[7],M=g[8],L=g[9],A=g[10],O=g[11
vendor: 46,935 bytes, line 1
1],r=g[12],n=g[13],s=g[14],h=(v=mr(R,A))*fr,v&&(S=T*(y=Math.cos(-v))+M*(w=Math.sin(-v)),E=$*y+L*w,C=R*y+A*w,M=T*-w+M*y,L=$*-w+L*y,A=R*-w+A*y,O=P*-w+O*y,T=S,$=E,R=C),c=(v=mr(-x,A))*fr,v&&(y=Math.cos(-v),O=k*(w=Math.sin(-v))+O*y,b=S=b*y-M*w,_=E=_*y-L*w,x=C=x*y-A*w),l=(v=mr(_,b))*fr,v&&(S=b*(y=Math.cos(v))+_*(w=Math.sin(v)),E=T*y+$*w,_=_*y-b*w,$=$*y-T*w,b=S,T=E),h&&Math.abs(h)+Math.abs(l)>359.9&&(h=l=0,c=180-c),o=Xt(Math.sqrt(b*b+_*_+x*x)),a=Xt(Math.sqrt($*$+R*R)),v=mr(T,$),u=Math.abs(v)>2e-4?v*fr:0,f=O?1/(O<0?-O:O):0),i.svg&&(S=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!on(Fr(t,Pr)),S&&t.setAttribute("transform",S))),Math.abs(u)>90&&Math.abs(u)<270&&(q?(o*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,u+=u<=0?180:-180)),e=e||i.uncache,i.x=r-((i.xPercent=r&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+z,i.y=n-((i.yPercent=n&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+z,i.z=s+z,i.scaleX=Xt(o),i.scaleY=Xt(a),i.rotation=Xt(l)+D,i.rotationX=Xt(h)+D,i.rotationY=Xt(c)+D,i.skewX=u+D,i.skewY=d+D,i.transformPerspective=f+z,(i.zOrigin=parseFloat(N.split(" ")[2])||0)&&(I[Or]=un(N)),i.xOffset=i.yOffset=0,i.force3D=K.force3D,i.renderTransform=i.svg?yn:ur?vn:fn,i.uncache=0,i},un=function(t){return(t=t.split(" "))[0]+" "+t[1]},dn=function(t,e,i){var r=Le(e);return Xt(parseFloat(e)+parseFloat(Qr(t,"x",i+"px",r)))+r},fn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,vn(t,e)},pn="0deg",mn="0px",gn=") ",vn=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,o=i.y,a=i.z,l=i.rotation,h=i.rotationY,c=i.rotationX,u=i.skewX,d=i.skewY,f=i.scaleX,p=i.scaleY,m=i.transformPerspective,g=i.force3D,v=i.target,y=i.zOrigin,w="",b="auto"===g&&t&&1!==t||!0===g;if(y&&(c!==pn||h!==pn)){var _,x=parseFloat(h)*pr,k=Math.sin(x),T=Math.cos(x);x=parseFloat(c)*pr,_=Math.cos(x),s=dn(v,s,k*_*-y),o=dn(v,o,-Math.sin(x)*-y),a=dn(v,a,T*_*-y+y)}m!==mn&&(w+="perspective("+m+gn),(r||n)&&(w+="translate("+r+"%, "+n+"%) "),(b||s!==mn||o!==mn||a!==mn)&&(w+=a!==mn||b?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+gn),l!==pn&&(w+="rotate("+l+gn),h!==pn&&(w+="rotateY("+h+gn),c!==pn&&(w+="rotateX("+c+gn),u===pn&&d===pn||(w+="skew("+u+", "+d+gn),1===f&&1===p||(w+="scale("+f+", "+p+gn),v.style[Pr]=w||"translate(0, 0)"},yn=function(t,e){var i,r,n,s,o,a=e||this,l=a.xPercent,h=a.yPercent,c=a.x,u=a.y,d=a.rotation,f=a.skewX,p=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,w=a.yOrigin,b=a.xOffset,_=a.yOffset,x=a.forceCSS,k=parseFloat(c),T=parseFloat(u);d=parseFloat(d),f=parseFloat(f),(p=parseFloat(p))&&(f+=p=parseFloat(p),d+=p),d||f?(d*=pr,f*=pr,i=Math.cos(d)*m,r=Math.sin(d)*m,n=Math.sin(d-f)*-g,s=Math.cos(d-f)*g,f&&(p*=pr,o=Math.tan(f-p),n*=o=Math.sqrt(1+o*o),s*=o,p&&(o=Math.tan(p),i*=o=Math.sqrt(1+o*o),r*=o)),i=Xt(i),r=Xt(r),n=Xt(n),s=Xt(s)):(i=m,s=g,r=n=0),(k&&!~(c+"").indexOf("px")||T&&!~(u+"").indexOf("px"))&&(k=Qr(v,"x",c,"px"),T=Qr(v,"y",u,"px")),(y||w||b||_)&&(k=Xt(k+y-(y*i+w*n)+b),T=Xt(T+w-(y*r+w*s)+_)),(l||h)&&(o=v.getBBox(),k=Xt(k+l/100*o.width),T=Xt(T+h/100*o.height)),o="matrix("+i+","+r+","+n+","+s+","+k+","+T+")",v.setAttribute("transform",o),x&&(v.style[Pr]=o)},wn=function(t,e,i,r,n){var s,o,a=360,l=lt(n),h=parseFloat(n)*(l&&~n.indexOf("rad")?fr:1)-r,c=r+h+"deg";return l&&("short"===(s=n.split("_")[1])&&(h%=a)!==h%180&&(h+=h<0?a:-360),"cw"===s&&h<0?h=(h+36e9)%a-~~(h/a)*a:"ccw"===s&&h>0&&(h=(h-36e9)%a-~~(h/a)*a)),t._pt=o=new Wi(t._pt,e,i,r,h,_r),o.e=c,o.u="deg",t._props.push(i),o},bn=function(t,e){for(var i in e)t[i]=e[i];return t},_n=function(t,e,i){var r,n,s,o,a,l,h,c=bn({},i._gsap),u=i.style;for(n in c.svg?(s=i.getAttribute("transform"),i.setAttribute("transform",""),u[Pr]=e,r=cn(i,1),Xr(i,Pr),i.setAttribute("transform",s)):(s=getComputedStyle(i)[Pr],u[Pr]=e,r=cn(i,1),u[Pr]=s),dr)(s=c[n])!==(o=r[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(a=Le(s)!==(h=Le(o))?Qr(i,n,s,h):parseFloat(s),l=parseFloat(o),t._pt=new Wi(t._pt,r,n,a,l-a,br),t._pt.u=h||0,t._props.push(n));bn(r,c)};Ht("padding,margin,Width,Radius",(function(t,e){var i="Top",r="Right",n="Bottom",s="Left",o=(e<3?[i,r,n,s]:[i+s,i+r,n+r,n+s]).map((function(i){return e<2?t+i:"border"+i+t}));rn[e>1?"border"+t:t]=function(t,e,i,r,n){var s,a;if(arguments.length<4)return s=o.map((function(e){return Kr(t,e,i)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(r+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,n)}}));var xn,kn,Tn,$n={name:"css",register:Yr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s,o,a,l,h,c,u,d,f,p,m,g,v,y,w,b,_,x,k,T,$=this._props,S=t.style,E=i.vars.startAt;for(u in ar||Yr(),this.styles=this.styles||zr(t),b=this.styles.props,this.tween=i,e)if("autoRound"!==u&&(o=e[u],!Dt[u]||!Ti(u,e,i,r,t,n)))if(h=typeof o,c=rn[u],"function"===h&&(h=typeof(o=o.call(i,r,t,n))),"string"===h&&~o.indexOf("random(")&&(o=Ye(o)),c)c(this,t,u,o,i)&&(w=1);else if("--"===u.substr(0,2))s=(getComputedStyle(t).getPropertyValue(u)+"").trim(),o+="",ei.lastIndex=0,ei.test(s)||(d=Le(s),f=Le(o)),f?d!==f&&(s=Qr(t,u,s,f)+f):d&&(o+=d),this.add(S,"setProperty",s,o,r,n,0,0,u),$.push(u),b.push(u,0,S[u]);else if("undefined"!==h){if(E&&u in E?(s="function"==typeof E[u]?E[u].call(i,r,t,n):E[u],lt(s)&&~s.indexOf("random(")&&(s=Ye(s)),Le(s+"")||(s+=K.units[u]||Le(Kr(t,u))||""),"="===(s+"").charAt(1)&&(s=Kr(t,u))):s=Kr(t,u),l=parseFloat(s),(p="string"===h&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),u in wr&&("autoAlpha"===u&&(1===l&&"hidden"===Kr(t,"visibility")&&a&&(l=0),b.push("visibility",0,S.visibility),Ur(this,S,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==u&&"transform"!==u&&~(u=wr[u]).indexOf(",")&&(u=u.split(",")[0])),m=u in dr)if(this.styles.save(u),g||((v=t._gsap).renderTransform&&!e.parseTransform||cn(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new Wi(this._pt,S,Pr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===u)this._pt=new Wi(this._pt,v,"scaleY",v.scaleY,(p?Gt(v.scaleY,p+a):a)-v.scaleY||0,br),this._pt.u=0,$.push("scaleY",u),u+="X";else{if("transformOrigin"===u){b.push(Or,0,S[Or]),x=void 0,k=void 0,T=void 0,x=(_=o).split(" "),k=x[0],T=x[1]||"50%","top"!==k&&"bottom"!==k&&"left"!==T&&"right"!==T||(_=k,k=T,T=_),x[0]=tn[k]||k,x[1]=tn[T]||T,o=x.join(" "),v.svg?hn(t,o,0,y,0,this):((f=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&Ur(this,v,"zOrigin",v.zOrigin,f),Ur(this,S,u,un(s),un(o)));continue}if("svgOrigin"===u){hn(t,o,1,y,0,this);continue}if(u in sn){wn(this,v,u,l,p?Gt(l,p+o):o);continue}if("smoothOrigin"===u){Ur(this,v,"smooth",v.smooth,o);continue}if("force3D"===u){v[u]=o;continue}if("transform"===u){_n(this,o,t);continue}}else u in S||(u=Br(u)||u);if(m||(a||0===a)&&(l||0===l)&&!yr.test(o)&&u in S)a||(a=0),(d=(s+"").substr((l+"").length))!==(f=Le(o)||(u in K.units?K.units[u]:d))&&(l=Qr(t,u,s,f)),this._pt=new Wi(this._pt,m?v:S,u,l,(p?Gt(l,p+a):a)-l,m||"px"!==f&&"zIndex"!==u||!1===e.autoRound?br:kr),this._pt.u=f||0,d!==f&&"%"!==f&&(this._pt.b=s,this._pt.r=xr);else if(u in S)Zr.call(this,t,u,s,p?p+o:o);else if(u in t)this.add(t,u,s||t[u],p?p+o:o,r,n);else if("parseTransform"!==u){Ct(u,o);continue}m||(u in S?b.push(u,0,S[u]):b.push(u,1,s||t[u])),$.push(u)}w&&ji(this)},render:function(t,e){if(e.tween._time||!cr())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:Kr,aliases:wr,getSetter:function(t,e,i){var r=wr[e];return r&&r.indexOf(",")<0&&(e=r),e in dr&&e!==Or&&(t._gsap.x||Kr(t,"x"))?i&&hr===i?"scale"===e?Mr:Cr:(hr=i||{})&&("scale"===e?Lr:Ar):t.style&&!ut(t.style[e])?Sr:~e.indexOf("-")?Er:Ii(t,e)},core:{_removeProperty:Xr,_getMatrix:ln}};rr.utils.checkPrefix=Br,rr.core.getStyleSaver=zr,Tn=Ht((xn="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(kn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){dr[t]=1})),Ht(kn,(function(t){K.units[t]="deg",sn[t]=1})),wr[Tn[13]]=xn+","+kn,Ht("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");wr[e[1]]=Tn[e[0]]})),Ht("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){K.units[t]="px"})),rr.registerPlugin($n);var Sn=rr.registerPlugin($n)||rr;Sn.core.Tween;function En(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Cn,Mn,Ln,An,Pn,On,Rn,In,qn,zn,Dn,Fn,Nn,Bn=function(){return Cn||"undefined"!=typeof window&&(Cn=window.gsap)&&Cn.registerPlugin&&Cn},Yn=1,jn=[],Wn=[],Vn=[],Hn=Date.now,Xn=function(t,e){return e},Un=function(t,e){return~Vn.indexOf(t)&&Vn[Vn.indexOf(t)+1][e]},Gn=function(t){return!!~zn.indexOf(t)},Jn=function(t,e,i,r,n){return t.addEventListener(e,i,{passive:!r,capture:!!n})},Qn=function(t,e,i,r){return t.removeEventListener(e,i,!!r)},Kn="scrollLeft",Zn="scrollTop",ts=function(){return Dn&&Dn.isPressed||Wn.cache++},es=function(t,e){var i=function i(r){if(r||0===r){Yn&&(Ln.history.scrollRestoration="manual");var n=Dn&&Dn.isPressed;r=i.v=Math.round(r)||(Dn&&Dn.iOS?1:0),t(r),i.cacheID=Wn.cache,n&&Xn("ss",r)}else(e||Wn.cache!==i.cacheID||Xn("ref"))&&(i.cacheID=Wn.cache,i.v=t());return i.v+i.offset};return i.offset=0,t&&i},is={s:Kn,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:es((function(t){return arguments.length?Ln.scrollTo(t,rs.sc()):Ln.pageXOffset||An[Kn]||Pn[Kn]||On[Kn]||0}))},rs={s:Zn,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:is,sc:es((function(t){return arguments.length?Ln.scrollTo(is.sc(),t):Ln.pageYOffset||An[Zn]||Pn[Zn]||On[Zn]||0}))},ns=function(t,e){return(e&&e._ctx&&e._ctx.selector||Cn.utils.toArray)(t)[0]||("string"==typeof t&&!1!==Cn.config().nullTargetWarn?console.warn("Element not found:",t):null)},ss=function(t,e){var i=e.s,r=e.sc;Gn(t)&&(t=An.scrollingElement||Pn);var n=Wn.indexOf(t),s=r===rs.sc?1:2;!~n&&(n=Wn.push(t)-1),Wn[n+s]||Jn(t,"scroll",ts);var o=Wn[n+s],a=o||(Wn[n+s]=es(Un(t,i),!0)||(Gn(t)?r:es((function(e){return arguments.length?t[i]=e:t[i]}))));return a.target=t,o||(a.smooth="smooth"===Cn.getProperty(t,"scrollBehavior")),a},os=function(t,e,i){var r=t,n=t,s=Hn(),o=s,a=e||50,l=Math.max(500,3*a),h=function(t,e){var l=Hn();e||l-s>a?(n=r,r=t,o=s,s=l):i?r+=t:r=n+(t-n)/(l-o)*(s-o)};return{update:h,reset:function(){n=r=i?0:r,o=s=0},getVelocity:function(t){var e=o,a=n,c=Hn();return(t||0===t)&&t!==r&&h(t),s===o||c-o>l?0:(r+(i?a:-a))/((i?c:s)-e)*1e3}}},as=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},ls=function(t){var e=Math.max.apply(Math,t),i=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(i)?e:i},hs=function(){var t,e,i,r;(qn=Cn.core.globals().ScrollTrigger)&&qn.core&&(t=qn.core,e=t.bridge||{},i=t._scrollers,r=t._proxies,i.push.apply(i,Wn),r.push.apply(r,Vn),Wn=i,Vn=r,Xn=function(t,i){return e[t](i)})},cs=function(t){return(Cn=t||Bn())&&"undefined"!=typeof document&&document.body&&(Ln=window,An=document,Pn=An.documentElement,On=An.body,zn=[Ln,An,Pn,On],Cn.utils.clamp,Nn=Cn.core.context||function(){},In="onpointerenter"in On?"pointer":"mouse",Rn=us.isTouch=Ln.matchMedia&&Ln.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ln||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Fn=us.eventTypes=("ontouchstart"in Pn?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Pn?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return Yn=0}),500),hs(),Mn=1),Mn};is.op=rs,Wn.cache=0;var us=function(){function t(t){this.init(t)}var e,i,r;return t.prototype.init=function(t){Mn||cs(Cn)||console.warn("Please gsap.registerPlugin(Observer)"),qn||hs();var e=t.tolerance,i=t.dragMinimum,r=t.type,n=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,l=t.onStop,h=t.onStopDelay,c=t.ignore,u=t.wheelSpeed,d=t.event,f=t.onDragStart,p=t.onDragEnd,m=t.onDrag,g=t.onPress,v=t.onRelease,y=t.onRight,w=t.onLeft,b=t.onUp,_=t.onDown,x=t.onChangeX,k=t.onChangeY,T=t.onChange,$=t.onToggleX,S=t.onToggleY,E=t.onHover,C=t.onHoverEnd,M=t.onMove,L=t.ignoreCheck,A=t.isNormalizer,P=t.onGestureStart,O=t.onGestureEnd,R=t.onWheel,I=t.onEnable,q=t.onDisable,z=t.onClick,D=t.scrollSpeed,F=t.capture,N=t.allowClicks,B=t.lockAxis,Y=t.onLockAxis;this.target=n=ns(n)||Pn,this.vars=t,c&&(c=Cn.utils.toArray(c)),e=e||1e-9,i=i||0,u=u||1,D=D||1,r=r||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(Ln.getComputedStyle(On).lineHeight)||22);var j,W,V,H,X,U,G,J=this,Q=0,K=0,Z=ss(n,is),tt=ss(n,rs),et=Z(),it=tt(),rt=~r.indexOf("touch")&&!~r.indexOf("pointer")&&"pointerdown"===Fn[0],nt=Gn(n),st=n.ownerDocument||An,ot=[0,0,0],at=[0,0,0],lt=0,ht=function(){return lt=Hn()},ct=function(t,e){return(J.event=t)&&c&&~c.indexOf(t.target)||e&&rt&&"touch"!==t.pointerType||L&&L(t,e)},ut=function(){var t=J.deltaX=ls(ot),i=J.deltaY=ls(at),r=Math.abs(t)>=e,n=Math.abs(i)>=e;T&&(r||n)&&T(J,t,i,ot,at),r&&(y&&J.deltaX>0&&y(J),w&&J.deltaX<0&&w(J),x&&x(J),$&&J.deltaX<0!=Q<0&&$(J),Q=J.deltaX,ot[0]=ot[1]=ot[2]=0),n&&(_&&J.deltaY>0&&_(J),b&&J.deltaY<0&&b(J),k&&k(J),S&&J.deltaY<0!=K<0&&S(J),K=J.deltaY,at[0]=at[1]=at[2]=0),(H||V)&&(M&&M(J),V&&(m(J),V=!1),H=!1),U&&!(U=!1)&&Y&&Y(J),X&&(R(J),X=!1),j=0},dt=function(t,e,i){ot[i]+=t,at[i]+=e,J._vx.update(t),J._vy.update(e),o?j||(j=requestAnimationFrame(ut)):ut()},ft=function(t,e){B&&!G&&(J.axis=G=Math.abs(t)>Math.abs(e)?"x":"y",U=!0),"y"!==G&&(ot[2]+=t,J._vx.update(t,!0)),"x"!==G&&(at[2]+=e,J._vy.update(e,!0)),o?j||(j=requestAnimationFrame(ut)):ut()},pt=function(t){if(!ct(t,1)){var e=(t=as(t,a)).clientX,r=t.clientY,n=e-J.x,s=r-J.y,o=J.isDragging;J.x=e,J.y=r,(o||Math.abs(J.startX-e)>=i||Math.abs(J.startY-r)>=i)&&(m&&(V=!0),o||(J.isDragging=!0),ft(n,s),o||f&&f(J))}},mt=J.onPress=function(t){ct(t,1)||t&&t.button||(J.axis=G=null,W.pause(),J.isPressed=!0,t=as(t),Q=K=0,J.startX=J.x=t.clientX,J.startY=J.y=t.clientY,J._vx.reset(),J._vy.reset(),Jn(A?n:st,Fn[1],pt,a,!0),J.deltaX=J.deltaY=0,g&&g(J))},gt=J.onRelease=function(t){if(!ct(t,1)){Qn(A?n:st,Fn[1],pt,!0);var e=!isNaN(J.y-J.startY),i=J.isDragging&&(Math.abs(J.x-J.startX)>3||Math.abs(J.y-J.startY)>3),r=as(t);!i&&e&&(J._vx.reset(),J._vy.reset(),a&&N&&Cn.delayedCall(.08,(function(){if(Hn()-lt>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(st.createEvent){var e=st.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Ln,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),J.isDragging=J.isGesturing=J.isPressed=!1,l&&!A&&W.restart(!0),p&&i&&p(J),v&&v(J,i)}},vt=function(t){return t.touches&&t.touches.length>1&&(J.isGesturing=!0)&&P(t,J.isDragging)},yt=function(){return(J.isGesturing=!1)||O(J)},wt=function(t){if(!ct(t)){var e=Z(),i=tt();dt((e-et)*D,(i-it)*D,1),et=e,it=i,l&&W.restart(!0)}},bt=function(t){if(!ct(t)){t=as(t,a),R&&(X=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?Ln.innerHeight:1)*u;dt(t.deltaX*e,t.deltaY*e,0),l&&!A&&W.restart(!0)}},_t=function(t){if(!ct(t)){var e=t.clientX,i=t.clientY,r=e-J.x,n=i-J.y;J.x=e,J.y=i,H=!0,(r||n)&&ft(r,n)}},xt=function(t){J.event=t,E(J)},kt=function(t){J.event=t,C(J)},Tt=function(t){return ct(t)||as(t,a)&&z(J)};W=J._dc=Cn.delayedCall(h||.25,(function(){J._vx.reset(),J._vy.reset(),W.pause(),l&&l(J)})).pause(),J.deltaX=J.deltaY=0,J._vx=os(0,50,!0),J._vy=os(0,50,!0),J.scrollX=Z,J.scrollY=tt,J.isDragging=J.isGesturing=J.isPressed=!1,Nn(this),J.enable=function(t){return J.isEnabled||(Jn(nt?st:n,"scroll",ts),r.indexOf("scroll")>=0&&Jn(nt?st:n,"scroll",wt,a,F),r.indexOf("wheel")>=0&&Jn(n,"wheel",bt,a,F),(r.indexOf("touch")>=0&&Rn||r.indexOf("pointer")>=0)&&(Jn(n,Fn[0],mt,a,F),Jn(st,Fn[2],gt),Jn(st,Fn[3],gt),N&&Jn(n,"click",ht,!1,!0),z&&Jn(n,"click",Tt),P&&Jn(st,"gesturestart",vt),O&&Jn(st,"gestureend",yt),E&&Jn(n,In+"enter",xt),C&&Jn(n,In+"leave",kt),M&&Jn(n,In+"move",_t)),J.isEnabled=!0,t&&t.type&&mt(t),I&&I(J)),J},J.disable=function(){J.isEnabled&&(jn.filter((function(t){return t!==J&&Gn(t.target)})).length||Qn(nt?st:n,"scroll",ts),J.isPressed&&(J._vx.reset(),J._vy.reset(),Qn(A?n:st,Fn[1],pt,!0)),Qn(nt?st:n,"scroll",wt,F),Qn(n,"wheel",bt,F),Qn(n,Fn[0],mt,F),Qn(st,Fn[2],gt),Qn(st,Fn[3],gt),Qn(n,"click",ht,!0),Qn(n,"click",Tt),Qn(st,"gesturestart",vt),Qn(st,"gestureend",yt),Qn(n,In+"enter",xt),Qn(n,In+"leave",kt),Qn(n,In+"move",_t),J.isEnabled=J.isPressed=J.isDragging=!1,q&&q(J))},J.kill=J.revert=function(){J.disable();var t=jn.indexOf(J);t>=0&&jn.splice(t,1),Dn===J&&(Dn=0)},jn.push(J),A&&Gn(n)&&(Dn=J),J.enable(d)},e=t,(i=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&En(e.prototype,i),r&&En(e,r),t}();us.version="3.12.2",us.create=function(t){return new us(t)},us.register=cs,us.getAll=function(){return jn.slice()},us.getById=function(t){return jn.filter((function(e){return e.vars.id===t}))[0]},Bn()&&Cn.registerPlugin(us);var ds,fs,ps,ms,gs,vs,ys,ws,bs,_s,xs,ks,Ts,$s,Ss,Es,Cs,Ms,Ls,As,Ps,Os,Rs,Is,qs,zs,Ds,Fs,Ns,Bs,Ys,js,Ws,Vs,Hs,Xs,Us=1,Gs=Date.now,Js=Gs(),Qs=0,Ks=0,Zs=function(t,e,i){var r=po(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return i["_"+e+"Clamp"]=r,r?t.substr(6,t.length-7):t},to=function(t,e){return!e||po(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},eo=function t(){return Ks&&requestAnimationFrame(t)},io=function(){return $s=1},ro=function(){return $s=0},no=function(t){return t},so=function(t){return Math.round(1e5*t)/1e5||0},oo=function(){return"undefined"!=typeof window},ao=function(){return ds||oo()&&(ds=window.gsap)&&ds.registerPlugin&&ds},lo=function(t){return!!~ys.indexOf(t)},ho=function(t){return("Height"===t?Ys:ps["inner"+t])||gs["client"+t]||vs["client"+t]},co=function(t){return Un(t,"getBoundingClientRect")||(lo(t)?function(){return ka.width=ps.innerWidth,ka.height=Ys,ka}:function(){return zo(t)})},uo=function(t,e){var i=e.s,r=e.d2,n=e.d,s=e.a;return Math.max(0,(i="scroll"+r)&&(s=Un(t,i))?s()-co(t)()[n]:lo(t)?(gs[i]||vs[i])-ho(r):t[i]-t["offset"+r])},fo=function(t,e){for(var i=0;i<Ls.length;i+=3)(!e||~e.indexOf(Ls[i+1]))&&t(Ls[i],Ls[i+1],Ls[i+2])},po=function(t){return"string"==typeof t},mo=function(t){return"function"==typeof t},go=function(t){return"number"==typeof t},vo=function(t){return"object"==typeof t},yo=function(t,e,i){return t&&t.progress(e?0:1)&&i&&t.pause()},wo=function(t,e){if(t.enabled){var i=e(t);i&&i.totalTime&&(t.callbackAnimation=i)}},bo=Math.abs,_o="left",xo="right",ko="bottom",To="width",$o="height",So="Right",Eo="Left",Co="Top",Mo="Bottom",Lo="padding",Ao="margin",Po="Width",Oo="Height",Ro="px",Io=function(t){return ps.getComputedStyle(t)},qo=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},zo=function(t,e){var i=e&&"matrix(1, 0, 0, 1, 0, 0)"!==Io(t)[Ss]&&ds.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=t.getBoundingClientRect();return i&&i.progress(0).kill(),r},Do=function(t,e){var i=e.d2;return t["offset"+i]||t["client"+i]||0},Fo=function(t){var e,i=[],r=t.labels,n=t.duration();for(e in r)i.push(r[e]/n);return i},No=function(t){var e=ds.utils.snap(t),i=Array.isArray(t)&&t.slice(0).sort((function(t,e){return t-e}));return i?function(t,r,n){var s;if(void 0===n&&(n=.001),!r)return e(t);if(r>0){for(t-=n,s=0;s<i.length;s++)if(i[s]>=t)return i[s];return i[s-1]}for(s=i.length,t+=n;s--;)if(i[s]<=t)return i[s];return i[0]}:function(i,r,n){void 0===n&&(n=.001);var s=e(i);return!r||Math.abs(s-i)<n||s-i<0==r<0?s:e(r<0?i-t:i+t)}},Bo=function(t,e,i,r){return i.split(",").forEach((function(i){return t(e,i,r)}))},Yo=function(t,e,i,r,n){return t.addEventListener(e,i,{passive:!r,capture:!!n})},jo=function(t,e,i,r){return t.removeEventListener(e,i,!!r)},Wo=function(t,e,i){(i=i&&i.wheelHandler)&&(t(e,"wheel",i),t(e,"touchmove",i))},Vo={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ho={toggleActions:"play",anticipatePin:0},Xo={top:0,left:0,center:.5,bottom:1,right:1},Uo=function(t,e){if(po(t)){var i=t.indexOf("="),r=~i?+(t.charAt(i-1)+1)*parseFloat(t.substr(i+1)):0;~i&&(t.indexOf("%")>i&&(r*=e/100),t=t.substr(0,i-1)),t=r+(t in Xo?Xo[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Go=function(t,e,i,r,n,s,o,a){var l=n.startColor,h=n.endColor,c=n.fontSize,u=n.indent,d=n.fontWeight,f=ms.createElement("div"),p=lo(i)||"fixed"===Un(i,"pinType"),m=-1!==t.indexOf("scroller"),g=p?vs:i,v=-1!==t.indexOf("start"),y=v?l:h,w="border-color:"+y+";font-size:"+c+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((m||a)&&p?"fixed;":"absolute;"),(m||a||!p)&&(w+=(r===rs?xo:ko)+":"+(s+parseFloat(u))+"px;"),o&&(w+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),f._isStart=v,f.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),f.style.cssText=w,f.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(f,g.children[0]):g.appendChild(f),f._offset=f["offset"+r.op.d2],Jo(f,0,r,v),f},Jo=function(t,e,i,r){var n={display:"block"},s=i[r?"os2":"p2"],o=i[r?"p2":"os2"];t._isFlipped=r,n[i.a+"Percent"]=r?-100:0,n[i.a]=r?"1px":0,n["border"+s+Po]=1,n["border"+o+Po]=0,n[i.p]=e+"px",ds.set(t,n)},Qo=[],Ko={},Zo=function(){return Gs()-Qs>34&&(Ws||(Ws=requestAnimationFrame(ga)))},ta=function(){(!Rs||!Rs.isPressed||Rs.startX>vs.clientWidth)&&(Wn.cache++,Rs?Ws||(Ws=requestAnimationFrame(ga)):ga(),Qs||oa("scrollStart"),Qs=Gs())},ea=function(){zs=ps.innerWidth,qs=ps.innerHeight},ia=function(){Wn.cache++,!Ts&&!Os&&!ms.fullscreenElement&&!ms.webkitFullscreenElement&&(!Is||zs!==ps.innerWidth||Math.abs(ps.innerHeight-qs)>.25*ps.innerHeight)&&ws.restart(!0)},ra={},na=[],sa=function t(){return jo(La,"scrollEnd",t)||fa(!0)},oa=function(t){return ra[t]&&ra[t].map((function(t){return t()}))||na},aa=[],la=function(t){for(var e=0;e<aa.length;e+=5)(!t||aa[e+4]&&aa[e+4].query===t)&&(aa[e].style.cssText=aa[e+1],aa[e].getBBox&&aa[e].setAttribute("transform",aa[e+2]||""),aa[e+3].uncache=1)},ha=function(t,e){var i;for(Es=0;Es<Qo.length;Es++)!(i=Qo[Es])||e&&i._ctx!==e||(t?i.kill(1):i.revert(!0,!0));e&&la(e),e||oa("revert")},ca=function(t,e){Wn.cache++,(e||!Vs)&&Wn.forEach((function(t){return mo(t)&&t.cacheID++&&(t.rec=0)})),po(t)&&(ps.history.scrollRestoration=Ns=t)},ua=0,da=function(){vs.appendChild(Bs),Ys=Bs.offsetHeight||ps.innerHeight,vs.removeChild(Bs)},fa=function(t,e){if(!Qs||t){da(),Vs=La.isRefreshing=!0,Wn.forEach((function(t){return mo(t)&&++t.cacheID&&(t.rec=t())}));var i=oa("refreshInit");As&&La.sort(),e||ha(),Wn.forEach((function(t){mo(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))})),Qo.slice(0).forEach((function(t){return t.refresh()})),Qo.forEach((function(t,e){if(t._subPinOffset&&t.pin){var i=t.vars.horizontal?"offsetWidth":"offsetHeight",r=t.pin[i];t.revert(!0,1),t.adjustPinSpacing(t.pin[i]-r),t.refresh()}})),Qo.forEach((function(t){var e=uo(t.scroller,t._dir);("max"===t.vars.end||t._endClamp&&t.end>e)&&t.setPositions(t.start,Math.max(t.start+1,e),!0)})),i.forEach((function(t){return t&&t.render&&t.render(-1)})),Wn.forEach((function(t){mo(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),ca(Ns,1),ws.pause(),ua++,Vs=2,ga(2),Qo.forEach((function(t){return mo(t.vars.onRefresh)&&t.vars.onRefresh(t)})),Vs=La.isRefreshing=!1,oa("refresh")}else Yo(La,"scrollEnd",sa)},pa=0,ma=1,ga=function(t){if(!Vs||2===t){La.isUpdating=!0,Xs&&Xs.update(0);var e=Qo.length,i=Gs(),r=i-Js>=50,n=e&&Qo[0].scroll();if(ma=pa>n?-1:1,Vs||(pa=n),r&&(Qs&&!$s&&i-Qs>200&&(Qs=0,oa("scrollEnd")),xs=Js,Js=i),ma<0){for(Es=e;Es-- >0;)Qo[Es]&&Qo[Es].update(0,r);ma=1}else for(Es=0;Es<e;Es++)Qo[Es]&&Qo[Es].update(0,r);La.isUpdating=!1}Ws=0},va=[_o,"top",ko,xo,Ao+Mo,Ao+So,Ao+Co,Ao+Eo,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ya=va.concat([To,$o,"boxSizing","max"+Po,"max"+Oo,"position",Ao,Lo,Lo+Co,Lo+So,Lo+Mo,Lo+Eo]),wa=function(t,e,i,r){if(!t._gsap.swappedIn){for(var n,s=va.length,o=e.style,a=t.style;s--;)o[n=va[s]]=i[n];o.position="absolute"===i.position?"absolute":"relative","inline"===i.display&&(o.display="inline-block"),a[ko]=a[xo]="auto",o.flexBasis=i.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[To]=Do(t,is)+Ro,o[$o]=Do(t,rs)+Ro,o[Lo]=a[Ao]=a.top=a[_o]="0",_a(r),a[To]=a["max"+Po]=i[To],a[$o]=a["max"+Oo]=i[$o],a[Lo]=i[Lo],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},ba=/([A-Z])/g,_a=function(t){if(t){var e,i,r=t.t.style,n=t.length,s=0;for((t.t._gsap||ds.core.getCache(t.t)).uncache=1;s<n;s+=2)i=t[s+1],e=t[s],i?r[e]=i:r[e]&&r.removeProperty(e.replace(ba,"-$1").toLowerCase())}},xa=function(t){for(var e=ya.length,i=t.style,r=[],n=0;n<e;n++)r.push(ya[n],i[ya[n]]);return r.t=t,r},ka={left:0,top:0},Ta=function(t,e,i,r,n,s,o,a,l,h,c,u,d,f){mo(t)&&(t=t(a)),po(t)&&"max"===t.substr(0,3)&&(t=u+("="===t.charAt(4)?Uo("0"+t.substr(3),i):0));var p,m,g,v=d?d.time():0;if(d&&d.seek(0),isNaN(t)||(t=+t),go(t))d&&(t=ds.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,u,t)),o&&Jo(o,i,r,!0);else{mo(e)&&(e=e(a));var y,w,b,_,x=(t||"0").split(" ");g=ns(e,a)||vs,(y=zo(g)||{})&&(y.left||y.top)||"none"!==Io(g).display||(_=g.style.display,g.style.display="block",y=zo(g),_?g.style.display=_:g.style.removeProperty("display")),w=Uo(x[0],y[r.d]),b=Uo(x[1]||"0",i),t=y[r.p]-l[r.p]-h+w+n-b,o&&Jo(o,b,r,i-b<20||o._isStart&&b>20),i-=i-b}if(f&&(a[f]=t||-.001,t<0&&(t=0)),s){var k=t+i,T=s._isStart;p="scroll"+r.d2,Jo(s,k,r,T&&k>20||!T&&(c?Math.max(vs[p],gs[p]):s.parentNode[p])<=k+1),c&&(l=zo(o),c&&(s.style[r.op.p]=l[r.op.p]-r.op.m-s._offset+Ro))}return d&&g&&(p=zo(g),d.seek(u),m=zo(g),d._caScrollDist=p[r.p]-m[r.p],t=t/d._caScrollDist*u),d&&d.seek(v),d?t:Math.round(t)},$a=/(webkit|moz|length|cssText|inset)/i,Sa=function(t,e,i,r){if(t.parentNode!==e){var n,s,o=t.style;if(e===vs){for(n in t._stOrig=o.cssText,s=Io(t))+n||$a.test(n)||!s[n]||"string"!=typeof o[n]||"0"===n||(o[n]=s[n]);o.top=i,o.left=r}else o.cssText=t._stOrig;ds.core.getCache(t).uncache=1,e.appendChild(t)}},Ea=function(t,e,i){var r=e,n=r;return function(e){var s=Math.round(t());return s!==r&&s!==n&&Math.abs(s-r)>3&&Math.abs(s-n)>3&&(e=s,i&&i()),n=r,r=e,e}},Ca=function(t,e,i){var r={};r[e.p]="+="+i,ds.set(t,r)},Ma=function(t,e){var i=ss(t,e),r="_scroll"+e.p2,n=function e(n,s,o,a,l){var h=e.tween,c=s.onComplete,u={};o=o||i();var d=Ea(i,o,(function(){h.kill(),e.tween=0}));return l=a&&l||0,a=a||n-o,h&&h.kill(),s[r]=n,s.modifiers=u,u[r]=function(){return d(o+a*h.ratio+l*h.ratio*h.ratio)},s.onUpdate=function(){Wn.cache++,ga()},s.onComplete=function(){e.tween=0,c&&c.call(h)},h=e.tween=ds.to(t,s)};return t[r]=i,i.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Yo(t,"wheel",i.wheelHandler),La.isTouch&&Yo(t,"touchmove",i.wheelHandler),n},La=function(){function t(e,i){fs||t.register(ds)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Fs(this),this.init(e,i)}return t.prototype.init=function(e,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Ks){var r,n,s,o,a,l,h,c,u,d,f,p,m,g,v,y,w,b,_,x,k,T,$,S,E,C,M,L,A,P,O,R,I,q,z,D,F,N,B,Y,j,W,V=e=qo(po(e)||go(e)||e.nodeType?{trigger:e}:e,Ho),H=V.onUpdate,X=V.toggleClass,U=V.id,G=V.onToggle,J=V.onRefresh,Q=V.scrub,K=V.trigger,Z=V.pin,tt=V.pinSpacing,et=V.invalidateOnRefresh,it=V.anticipatePin,rt=V.onScrubComplete,nt=V.onSnapComplete,st=V.once,ot=V.snap,at=V.pinReparent,lt=V.pinSpacer,ht=V.containerAnimation,ct=V.fastScrollEnd,ut=V.preventOverlaps,dt=e.horizontal||e.containerAnimation&&!1!==e.horizontal?is:rs,ft=!Q&&0!==Q,pt=ns(e.scroller||ps),mt=ds.core.getCache(pt),gt=lo(pt),vt="fixed"===("pinType"in e?e.pinType:Un(pt,"pinType")||gt&&"fixed"),yt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],wt=ft&&e.toggleActions.split(" "),bt="markers"in e?e.markers:Ho.markers,_t=gt?0:parseFloat(Io(pt)["border"+dt.p2+Po])||0,xt=this,kt=e.onRefreshInit&&function(){return e.onRefreshInit(xt)},Tt=function(t,e,i){var r=i.d,n=i.d2,s=i.a;return(s=Un(t,"getBoundingClientRect"))?function(){return s()[r]}:function(){return(e?ho(n):t["client"+n])||0}}(pt,gt,dt),$t=function(t,e){return!e||~Vn.indexOf(t)?co(t):function(){return ka}}(pt,gt),St=0,Et=0,Ct=0,Mt=ss(pt,dt);if(xt._startClamp=xt._endClamp=!1,xt._dir=dt,it*=45,xt.scroller=pt,xt.scroll=ht?ht.time.bind(ht):Mt,o=Mt(),xt.vars=e,i=i||e.animation,"refreshPriority"in e&&(As=1,-9999===e.refreshPriority&&(Xs=xt)),mt.tweenScroll=mt.tweenScroll||{top:Ma(pt,rs),left:Ma(pt,is)},xt.tweenTo=r=mt.tweenScroll[dt.p],xt.scrubDuration=function(t){(I=go(t)&&t)?R?R.duration(t):R=ds.to(i,{ease:"expo",totalProgress:"+=0",duration:I,paused:!0,onComplete:function(){return rt&&rt(xt)}}):(R&&R.progress(1).kill(),R=0)},i&&(i.vars.lazy=!1,i._initted&&!xt.isReverted||!1!==i.vars.immediateRender&&!1!==e.immediateRender&&i.duration()&&i.render(0,!0,!0),xt.animation=i.pause(),i.scrollTrigger=xt,xt.scrubDuration(Q),P=0,U||(U=i.vars.id)),ot&&(vo(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in vs.style&&ds.set(gt?[vs,gs]:pt,{scrollBehavior:"auto"}),Wn.forEach((function(t){return mo(t)&&t.target===(gt?ms.scrollingElement||gs:pt)&&(t.smooth=!1)})),s=mo(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return ds.utils.snap(Fo(t),e)}}(i):"labelsDirectional"===ot.snapTo?(Y=i,function(t,e){return No(Fo(Y))(t,e.direction)}):!1!==ot.directional?function(t,e){return No(ot.snapTo)(t,Gs()-Et<500?0:e.direction)}:ds.utils.snap(ot.snapTo),q=ot.duration||{min:.1,max:2},q=vo(q)?_s(q.min,q.max):_s(q,q),z=ds.delayedCall(ot.delay||I/2||.1,(function(){var t=Mt(),e=Gs()-Et<500,n=r.tween;if(!(e||Math.abs(xt.getVelocity())<10)||n||$s||St===t)xt.isActive&&St!==t&&z.restart(!0);else{var o=(t-l)/g,a=i&&!ft?i.totalProgress():o,c=e?0:(a-O)/(Gs()-xs)*1e3||0,u=ds.utils.clamp(-o,1-o,bo(c/2)*c/.185),d=o+(!1===ot.inertia?0:u),f=_s(0,1,s(d,xt)),p=Math.round(l+f*g),m=ot,v=m.onStart,y=m.onInterrupt,w=m.onComplete;if(t<=h&&t>=l&&p!==t){if(n&&!n._initted&&n.data<=bo(p-t))return;!1===ot.inertia&&(u=f-o),r(p,{duration:q(bo(.185*Math.max(bo(d-a),bo(f-a))/c/.05||0)),ease:ot.ease||"power3",data:bo(p-t),onInterrupt:function(){return z.restart(!0)&&y&&y(xt)},onComplete:function(){xt.update(),St=Mt(),P=O=i&&!ft?i.totalProgress():xt.progress,nt&&nt(xt),w&&w(xt)}},t,u*g,p-t-u*g),v&&v(xt,r.tween)}}})).pause()),U&&(Ko[U]=xt),(B=(K=xt.trigger=ns(K||!0!==Z&&Z))&&K._gsap&&K._gsap.stRevert)&&(B=B(xt)),Z=!0===Z?K:ns(Z),po(X)&&(X={targets:K,className:X}),Z&&(!1===tt||tt===Ao||(tt=!(!tt&&Z.parentNode&&Z.parentNode.style&&"flex"===Io(Z.parentNode).display)&&Lo),xt.pin=Z,(n=ds.core.getCache(Z)).spacer?v=n.pinState:(lt&&((lt=ns(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),n.spacerIsNative=!!lt,lt&&(n.spacerState=xa(lt))),n.spacer=b=lt||ms.createElement("div"),b.classList.add("pin-spacer"),U&&b.classList.add("pin-spacer-"+U),n.pinState=v=xa(Z)),!1!==e.force3D&&ds.set(Z,{force3D:!0}),xt.spacer=b=n.spacer,A=Io(Z),S=A[tt+dt.os2],x=ds.getProperty(Z),k=ds.quickSetter(Z,dt.a,Ro),wa(Z,b,A),w=xa(Z)),bt){p=vo(bt)?qo(bt,Vo):Vo,d=Go("scroller-start",U,pt,dt,p,0),f=Go("scroller-end",U,pt,dt,p,0,d),_=d["offset"+dt.op.d2];var Lt=ns(Un(pt,"content")||pt);c=this.markerStart=Go("start",U,Lt,dt,p,_,0,ht),u=this.markerEnd=Go("end",U,Lt,dt,p,_,0,ht),ht&&(N=ds.quickSetter([c,u],dt.a,Ro)),vt||Vn.length&&!0===Un(pt,"fixedMarkers")||(W=Io(j=gt?vs:pt).position,j.style.position="absolute"===W||"fixed"===W?W:"relative",ds.set([d,f],{force3D:!0}),C=ds.quickSetter(d,dt.a,Ro),L=ds.quickSetter(f,dt.a,Ro))}if(ht){var At=ht.vars.onUpdate,Pt=ht.vars.onUpdateParams;ht.eventCallback("onUpdate",(function(){xt.update(0,0,1),At&&At.apply(ht,Pt||[])}))}if(xt.previous=function(){return Qo[Qo.indexOf(xt)-1]},xt.next=function(){return Qo[Qo.indexOf(xt)+1]},xt.revert=function(t,e){if(!e)return xt.kill(!0);var r=!1!==t||!xt.enabled,n=Ts;r!==xt.isReverted&&(r&&(D=Math.max(Mt(),xt.scroll.rec||0),Ct=xt.progress,F=i&&i.progress()),c&&[c,u,d,f].forEach((function(t){return t.style.display=r?"none":"block"})),r&&(Ts=xt,xt.update(r)),!Z||at&&xt.isActive||(r?function(t,e,i){_a(i);var r=t._gsap;if(r.spacerIsNative)_a(r.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1}(Z,b,v):wa(Z,b,Io(Z),E)),r||xt.update(r),Ts=n,xt.isReverted=r)},xt.refresh=function(n,s,p,_){if(!Ts&&xt.enabled||s)if(Z&&n&&Qs)Yo(t,"scrollEnd",sa);else{!Vs&&kt&&kt(xt),Ts=xt,r.tween&&!p&&(r.tween.kill(),r.tween=0),R&&R.pause(),et&&i&&i.revert({kill:!1}).invalidate(),xt.isReverted||xt.revert(!0,!0),xt._subPinOffset=!1;var k,S,C,L,A,P,O,I,q,N,B,Y,j,W=Tt(),V=$t(),H=ht?ht.duration():uo(pt,dt),X=g<=.01,U=0,G=_||0,Q=vo(p)?p.end:e.end,it=e.endTrigger||K,rt=vo(p)?p.start:e.start||(0!==e.start&&K?Z?"0 0":"0 100%":0),nt=xt.pinnedContainer=e.pinnedContainer&&ns(e.pinnedContainer,xt),st=K&&Math.max(0,Qo.indexOf(xt))||0,ot=st;for(bt&&vo(p)&&(Y=ds.getProperty(d,dt.p),j=ds.getProperty(f,dt.p));ot--;)(P=Qo[ot]).end||P.refresh(0,1)||(Ts=xt),!(O=P.pin)||O!==K&&O!==Z&&O!==nt||P.isReverted||(N||(N=[]),N.unshift(P),P.revert(!0,!0)),P!==Qo[ot]&&(st--,ot--);for(mo(rt)&&(rt=rt(xt)),rt=Zs(rt,"start",xt),l=Ta(rt,K,W,dt,Mt(),c,d,xt,V,_t,vt,H,ht,xt._startClamp&&"_startClamp")||(Z?-.001:0),mo(Q)&&(Q=Q(xt)),po(Q)&&!Q.indexOf("+=")&&(~Q.indexOf(" ")?Q=(po(rt)?rt.split(" ")[0]:"")+Q:(U=Uo(Q.substr(2),W),Q=po(rt)?rt:(ht?ds.utils.mapRange(0,ht.duration(),ht.scrollTrigger.start,ht.scrollTrigger.end,l):l)+U,it=K)),Q=Zs(Q,"end",xt),h=Math.max(l,Ta(Q||(it?"100% 0":H),it,W,dt,Mt()+U,u,f,xt,V,_t,vt,H,ht,xt._endClamp&&"_endClamp"))||-.001,U=0,ot=st;ot--;)(O=(P=Qo[ot]).pin)&&P.start-P._pinPush<=l&&!ht&&P.end>0&&(k=P.end-(xt._startClamp?Math.max(0,P.start):P.start),(O===K&&P.start-P._pinPush<l||O===nt)&&isNaN(rt)&&(U+=k*(1-P.progress)),O===Z&&(G+=k));if(l+=U,h+=U,xt._startClamp&&(xt._startClamp+=U),xt._endClamp&&!Vs&&(xt._endClamp=h||-.001,h=Math.min(h,uo(pt,dt))),g=h-l||(l-=.01)&&.001,X&&(Ct=ds.utils.clamp(0,1,ds.utils.normalize(l,h,D))),xt._pinPush=G,c&&U&&((k={})[dt.a]="+="+U,nt&&(k[dt.p]="-="+Mt()),ds.set([c,u],k)),Z)k=Io(Z),L=dt===rs,C=Mt(),T=parseFloat(x(dt.a))+G,!H&&h>1&&(B={style:B=(gt?ms.scrollingElement||gs:pt).style,value:B["overflow"+dt.a.toUpperCase()]},gt&&"scroll"!==Io(vs)["overflow"+dt.a.toUpperCase()]&&(B.style["overflow"+dt.a.toUpperCase()]="scroll")),wa(Z,b,k),w=xa(Z),S=zo(Z,!0),I=vt&&ss(pt,L?is:rs)(),tt&&((E=[tt+dt.os2,g+G+Ro]).t=b,(ot=tt===Lo?Do(Z,dt)+g+G:0)&&E.push(dt.d,ot+Ro),_a(E),nt&&Qo.forEach((function(t){t.pin===nt&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),vt&&Mt(D)),vt&&((A={top:S.top+(L?C-l:I)+Ro,left:S.left+(L?I:C-l)+Ro,boxSizing:"border-box",position:"fixed"})[To]=A["max"+Po]=Math.ceil(S.width)+Ro,A[$o]=A["max"+Oo]=Math.ceil(S.height)+Ro,A[Ao]=A[Ao+Co]=A[Ao+So]=A[Ao+Mo]=A[Ao+Eo]="0",A[Lo]=k[Lo],A[Lo+Co]=k[Lo+Co],A[Lo+So]=k[Lo+So],A[Lo+Mo]=k[Lo+Mo],A[Lo+Eo]=k[Lo+Eo],y=function(t,e,i){for(var r,n=[],s=t.length,o=i?8:0;o<s;o+=2)r=t[o],n.push(r,r in e?e[r]:t[o+1]);return n.t=t.t,n}(v,A,at),Vs&&Mt(0)),i?(q=i._initted,Ps(1),i.render(i.duration(),!0,!0),$=x(dt.a)-T+g+G,M=Math.abs(g-$)>1,vt&&M&&y.splice(y.length-2,2),i.render(0,!0,!0),q||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Ps(0)):$=g,B&&(B.value?B.style["overflow"+dt.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+dt.a));else if(K&&Mt()&&!ht)for(S=K.parentNode;S&&S!==vs;)S._pinOffset&&(l-=S._pinOffset,h-=S._pinOffset),S=S.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),xt.start=l,xt.end=h,o=a=Vs?D:Mt(),ht||Vs||(o<D&&Mt(D),xt.scroll.rec=0),xt.revert(!1,!0),Et=Gs(),z&&(St=-1,z.restart(!0)),Ts=0,i&&ft&&(i._initted||F)&&i.progress()!==F&&i.progress(F||0,!0).render(i.time(),!0,!0),(X||Ct!==xt.progress||ht)&&(i&&!ft&&i.totalProgress(ht&&l<-.001&&!Ct?ds.utils.normalize(l,h,0):Ct,!0),xt.progress=X||(o-l)/g===Ct?0:Ct),Z&&tt&&(b._pinOffset=Math.round(xt.progress*$)),R&&R.invalidate(),isNaN(Y)||(Y-=ds.getProperty(d,dt.p),j-=ds.getProperty(f,dt.p),Ca(d,dt,Y),Ca(c,dt,Y-(_||0)),Ca(f,dt,j),Ca(u,dt,j-(_||0))),X&&!Vs&&xt.update(),!J||Vs||m||(m=!0,J(xt),m=!1)}},xt.getVelocity=function(){return(Mt()-a)/(Gs()-xs)*1e3||0},xt.endAnimation=function(){yo(xt.callbackAnimation),i&&(R?R.progress(1):i.paused()?ft||yo(i,xt.direction<0,1):yo(i,i.reversed()))},xt.labelToScroll=function(t){return i&&i.labels&&(l||xt.refresh()||l)+i.labels[t]/i.duration()*g||0},xt.getTrailing=function(t){var e=Qo.indexOf(xt),i=xt.direction>0?Qo.slice(0,e).reverse():Qo.slice(e+1);return(po(t)?i.filter((function(e){return e.vars.preventOverlaps===t})):i).filter((function(t){return xt.direction>0?t.end<=l:t.start>=h}))},xt.update=function(t,e,n){if(!ht||n||t){var s,c,u,f,p,m,v,_=!0===Vs?D:xt.scroll(),x=t?0:(_-l)/g,E=x<0?0:x>1?1:x||0,A=xt.progress;if(e&&(a=o,o=ht?Mt():_,ot&&(O=P,P=i&&!ft?i.totalProgress():E)),it&&!E&&Z&&!Ts&&!Us&&Qs&&l<_+(_-a)/(Gs()-xs)*it&&(E=1e-4),E!==A&&xt.enabled){if(f=(p=(s=xt.isActive=!!E&&E<1)!==(!!A&&A<1))||!!E!=!!A,xt.direction=E>A?1:-1,xt.progress=E,f&&!Ts&&(c=E&&!A?0:1===E?1:1===A?2:3,ft&&(u=!p&&"none"!==wt[c+1]&&wt[c+1]||wt[c],v=i&&("complete"===u||"reset"===u||u in i))),ut&&(p||v)&&(v||Q||!i)&&(mo(ut)?ut(xt):xt.getTrailing(ut).forEach((function(t){return t.endAnimation()}))),ft||(!R||Ts||Us?i&&i.totalProgress(E,!(!Ts||!Et&&!t)):(R._dp._time-R._start!==R._time&&R.render(R._dp._time-R._start),R.resetTo?R.resetTo("totalProgress",E,i._tTime/i._tDur):(R.vars.totalProgress=E,R.invalidate().restart()))),Z)if(t&&tt&&(b.style[tt+dt.os2]=S),vt){if(f){if(m=!t&&E>A&&h+1>_&&_+1>=uo(pt,dt),at)if(t||!s&&!m)Sa(Z,b);else{var I=zo(Z,!0),q=_-l;Sa(Z,vs,I.top+(dt===rs?q:0)+Ro,I.left+(dt===rs?0:q)+Ro)}_a(s||m?y:w),M&&E<1&&s||k(T+(1!==E||m?0:$))}}else k(so(T+$*E));ot&&!r.tween&&!Ts&&!Us&&z.restart(!0),X&&(p||st&&E&&(E<1||!js))&&bs(X.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](X.className)})),H&&!ft&&!t&&H(xt),f&&!Ts?(ft&&(v&&("complete"===u?i.pause().totalProgress(1):"reset"===u?i.restart(!0).pause():"restart"===u?i.restart(!0):i[u]()),H&&H(xt)),!p&&js||(G&&p&&wo(xt,G),yt[c]&&wo(xt,yt[c]),st&&(1===E?xt.kill(!1,1):yt[c]=0),p||yt[c=1===E?1:3]&&wo(xt,yt[c])),ct&&!s&&Math.abs(xt.getVelocity())>(go(ct)?ct:2500)&&(yo(xt.callbackAnimation),R?R.progress(1):yo(i,"reverse"===u?1:!E,1))):ft&&H&&!Ts&&H(xt)}if(L){var F=ht?_/ht.duration()*(ht._caScrollDist||0):_;C(F+(d._isFlipped?1:0)),L(F)}N&&N(-_/ht.duration()*(ht._caScrollDist||0))}},xt.enable=function(e,i){xt.enabled||(xt.enabled=!0,Yo(pt,"resize",ia),gt||Yo(pt,"scroll",ta),kt&&Yo(t,"refreshInit",kt),!1!==e&&(xt.progress=Ct=0,o=a=St=Mt()),!1!==i&&xt.refresh())},xt.getTween=function(t){return t&&r?r.tween:R},xt.setPositions=function(t,e,i,r){if(ht){var n=ht.scrollTrigger,s=ht.duration(),o=n.end-n.start;t=n.start+o*t/s,e=n.start+o*e/s}xt.refresh(!1,!1,{start:to(t,i&&!!xt._startClamp),end:to(e,i&&!!xt._endClamp)},r),xt.update()},xt.adjustPinSpacing=function(t){if(E&&t){var e=E.indexOf(dt.d)+1;E[e]=parseFloat(E[e])+t+Ro,E[1]=parseFloat(E[1])+t+Ro,_a(E)}},xt.disable=function(e,i){if(xt.enabled&&(!1!==e&&xt.revert(!0,!0),xt.enabled=xt.isActive=!1,i||R&&R.pause(),D=0,n&&(n.uncache=1),kt&&jo(t,"refreshInit",kt),z&&(z.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!gt)){for(var s=Qo.length;s--;)if(Qo[s].scroller===pt&&Qo[s]!==xt)return;jo(pt,"resize",ia),gt||jo(pt,"scroll",ta)}},xt.kill=function(t,r){xt.disable(t,r),R&&!r&&R.kill(),U&&delete Ko[U];var s=Qo.indexOf(xt);s>=0&&Qo.splice(s,1),s===Es&&ma>0&&Es--,s=0,Qo.forEach((function(t){return t.scroller===xt.scroller&&(s=1)})),s||Vs||(xt.scroll.rec=0),i&&(i.scrollTrigger=null,t&&i.revert({kill:!1}),r||i.kill()),c&&[c,u,d,f].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),Xs===xt&&(Xs=0),Z&&(n&&(n.uncache=1),s=0,Qo.forEach((function(t){return t.pin===Z&&s++})),s||(n.spacer=0)),e.onKill&&e.onKill(xt)},Qo.push(xt),xt.enable(!1,!1),B&&B(xt),i&&i.add&&!g){var Ot=xt.update;xt.update=function(){xt.update=Ot,l||h||xt.refresh()},ds.delayedCall(.01,xt.update),g=.01,l=h=0}else xt.refresh();Z&&function(){if(Hs!==ua){var t=Hs=ua;requestAnimationFrame((function(){return t===ua&&fa(!0)}))}}()}else this.update=this.refresh=this.kill=no},t.register=function(e){return fs||(ds=e||ao(),oo()&&window.document&&t.enable(),fs=Ks),fs},t.defaults=function(t){if(t)for(var e in t)Ho[e]=t[e];return Ho},t.disable=function(t,e){Ks=0,Qo.forEach((function(i){return i[e?"kill":"disable"](t)})),jo(ps,"wheel",ta),jo(ms,"scroll",ta),clearInterval(ks),jo(ms,"touchcancel",no),jo(vs,"touchstart",no),Bo(jo,ms,"pointerdown,touchstart,mousedown",io),Bo(jo,ms,"pointerup,touchend,mouseup",ro),ws.kill(),fo(jo);for(var i=0;i<Wn.length;i+=3)Wo(jo,Wn[i],Wn[i+1]),Wo(jo,Wn[i],Wn[i+2])},t.enable=function(){if(ps=window,ms=document,gs=ms.documentElement,vs=ms.body,ds&&(bs=ds.utils.toArray,_s=ds.utils.clamp,Fs=ds.core.context||no,Ps=ds.core.suppressOverwrites||no,Ns=ps.history.scrollRestoration||"auto",pa=ps.pageYOffset,ds.core.globals("ScrollTrigger",t),vs)){Ks=1,(Bs=document.createElement("div")).style.height="100vh",Bs.style.position="absolute",da(),eo(),us.register(ds),t.isTouch=us.isTouch,Ds=us.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Yo(ps,"wheel",ta),ys=[ps,ms,gs,vs],ds.matchMedia?(t.matchMedia=function(t){var e,i=ds.matchMedia();for(e in t)i.add(e,t[e]);return i},ds.addEventListener("matchMediaInit",(function(){return ha()})),ds.addEventListener("matchMediaRevert",(function(){return la()})),ds.addEventListener("matchMedia",(function(){fa(0,1),oa("matchMedia")})),ds.matchMedia("(orientation: portrait)",(function(){return ea(),ea}))):console.warn("Requires GSAP 3.11.0 or later"),ea(),Yo(ms,"scroll",ta);var e,i,r=vs.style,n=r.borderTopStyle,s=ds.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",e=zo(vs),rs.m=Math.round(e.top+rs.sc())||0,is.m=Math.round(e.left+is.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),ks=setInterval(Zo,250),ds.delayedCall(.5,(function(){return Us=0})),Yo(ms,"touchcancel",no),Yo(vs,"touchstart",no),Bo(Yo,ms,"pointerdown,touchstart,mousedown",io),Bo(Yo,ms,"pointerup,touchend,mouseup",ro),Ss=ds.utils.checkPrefix("transform"),ya.push(Ss),fs=Gs(),ws=ds.delayedCall(.2,fa).pause(),Ls=[ms,"visibilitychange",function(){var t=ps.innerWidth,e=ps.innerHeight;ms.hidden?(Cs=t,Ms=e):Cs===t&&Ms===e||ia()},ms,"DOMContentLoaded",fa,ps,"load",fa,ps,"resize",ia],fo(Yo),Qo.forEach((function(t){return t.enable(0,1)})),i=0;i<Wn.length;i+=3)Wo(jo,Wn[i],Wn[i+1]),Wo(jo,Wn[i],Wn[i+2])}},t.config=function(e){"limitCallbacks"in e&&(js=!!e.limitCallbacks);var i=e.syncInterval;i&&clearInterval(ks)||(ks=i)&&setInterval(Zo,i),"ignoreMobileResize"in e&&(Is=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(fo(jo)||fo(Yo,e.autoRefreshEvents||"none"),Os=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var i=ns(t),r=Wn.indexOf(i),n=lo(i);~r&&Wn.splice(r,n?6:2),e&&(n?Vn.unshift(ps,e,vs,e,gs,e):Vn.unshift(i,e))},t.clearMatchMedia=function(t){Qo.forEach((function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)}))},t.isInViewport=function(t,e,i){var r=(po(t)?ns(t):t).getBoundingClientRect(),n=r[i?To:$o]*e||0;return i?r.right-n>0&&r.left+n<ps.innerWidth:r.bottom-n>0&&r.top+n<ps.innerHeight},t.positionInViewport=function(t,e,i){po(t)&&(t=ns(t));var r=t.getBoundingClientRect(),n=r[i?To:$o],s=null==e?n/2:e in Xo?Xo[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0;return i?(r.left+s)/ps.innerWidth:(r.top+s)/ps.innerHeight},t.killAll=function(t){if(Qo.slice(0).forEach((function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()})),!0!==t){var e=ra.killAll||[];ra={},e.forEach((function(t){return t()}))}},t}();La.version="3.12.2",La.saveStyles=function(t){return t?bs(t).forEach((function(t){if(t&&t.style){var e=aa.indexOf(t);e>=0&&aa.splice(e,5),aa.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),ds.core.getCache(t),Fs())}})):aa},La.revert=function(t,e){return ha(!t,e)},La.create=function(t,e){return new La(t,e)},La.refresh=function(t){return t?ia():(fs||La.register())&&fa(!0)},La.update=function(t){return++Wn.cache&&ga(!0===t?2:0)},La.clearScrollMemory=ca,La.maxScroll=function(t,e){return uo(t,e?is:rs)},La.getScrollFunc=function(t,e){return ss(ns(t),e?is:rs)},La.getById=function(t){return Ko[t]},La.getAll=function(){return Qo.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},La.isScrolling=function(){return!!Qs},La.snapDirectional=No,La.addEventListener=function(t,e){var i=ra[t]||(ra[t]=[]);~i.indexOf(e)||i.push(e)},La.removeEventListener=function(t,e){var i=ra[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},La.batch=function(t,e){var i,r=[],n={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var i=[],r=[],n=ds.delayedCall(s,(function(){e(i,r),i=[],r=[]})).pause();return function(t){i.length||n.restart(!0),i.push(t.trigger),r.push(t),o<=i.length&&n.progress(1)}};for(i in e)n[i]="on"===i.substr(0,2)&&mo(e[i])&&"onRefreshInit"!==i?a(0,e[i]):e[i];return mo(o)&&(o=o(),Yo(La,"refresh",(function(){return o=e.batchMax()}))),bs(t).forEach((function(t){var e={};for(i in n)e[i]=n[i];e.trigger=t,r.push(La.create(e))})),r};var Aa,Pa=function(t,e,i,r){return e>r?t(r):e<0&&t(0),i>r?(r-e)/(i-e):i<0?e/(e-i):1},Oa=function t(e,i){!0===i?e.style.removeProperty("touch-action"):e.style.touchAction=!0===i?"auto":i?"pan-"+i+(us.isTouch?" pinch-zoom":""):"none",e===gs&&t(vs,i)},Ra={auto:1,scroll:1},Ia=function(t){var e,i=t.event,r=t.target,n=t.axis,s=(i.changedTouches?i.changedTouches[0]:i).target,o=s._gsap||ds.core.getCache(s),a=Gs();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==vs&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!Ra[(e=Io(s)).overflowY]&&!Ra[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==r&&!lo(s)&&(Ra[(e=Io(s)).overflowY]||Ra[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===n)&&(i.stopPropagation(),i._gsapAllow=!0)},qa=function(t,e,i,r){return us.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:r=r&&Ia,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return i&&Yo(ms,us.eventTypes[0],Da,!1,!0)},onDisable:function(){return jo(ms,us.eventTypes[0],Da,!0)}})},za=/(input|label|select|textarea)/i,Da=function(t){var e=za.test(t.target.tagName);(e||Aa)&&(t._gsapAllow=!0,Aa=e)},Fa=function(t){vo(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,i,r,n,s,o,a,l,h=t,c=h.normalizeScrollX,u=h.momentum,d=h.allowNestedScroll,f=h.onRelease,p=ns(t.target)||gs,m=ds.core.globals().ScrollSmoother,g=m&&m.get(),v=Ds&&(t.content&&ns(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),y=ss(p,rs),w=ss(p,is),b=1,_=(us.isTouch&&ps.visualVie
1wport?ps.visualViewport.scale*ps.visualViewport.width:ps.outerWidth)/ps.innerWidth,x=0,k=mo(u)?function(){return u(e)}:function(){return u||2.8},T=qa(p,t.type,!0,d),$=function(){return n=!1},S=no,E=no,C=function(){i=uo(p,rs),E=_s(Ds?1:0,i),c&&(S=_s(0,uo(p,is))),r=ua},M=function(){v._gsap.y=so(parseFloat(v._gsap.y)+y.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},L=function(){C(),s.isActive()&&s.vars.scrollY>i&&(y()>i?s.progress(1)&&y(i):s.resetTo("scrollY",i))};return v&&ds.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return Ds&&"touchmove"===t.type&&function(){if(n){requestAnimationFrame($);var t=so(e.deltaY/2),i=E(y.v-t);if(v&&i!==y.v+y.offset){y.offset=i-y.v;var r=so((parseFloat(v&&v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",y.cacheID=Wn.cache,ga()}return!0}y.offset&&M(),n=!0}()||b>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){n=!1;var t=b;b=so((ps.visualViewport&&ps.visualViewport.scale||1)/_),s.pause(),t!==b&&Oa(p,b>1.01||!c&&"x"),o=w(),a=y(),C(),r=ua},t.onRelease=t.onGestureStart=function(t,e){if(y.offset&&M(),e){Wn.cache++;var r,n,o=k();c&&(n=(r=w())+.05*o*-t.velocityX/.227,o*=Pa(w,r,n,uo(p,is)),s.vars.scrollX=S(n)),n=(r=y())+.05*o*-t.velocityY/.227,o*=Pa(y,r,n,uo(p,rs)),s.vars.scrollY=E(n),s.invalidate().duration(o).play(.01),(Ds&&s.vars.scrollY>=i||r>=i-1)&&ds.to({},{onUpdate:L,duration:o})}else l.restart(!0);f&&f(t)},t.onWheel=function(){s._ts&&s.pause(),Gs()-x>1e3&&(r=0,x=Gs())},t.onChange=function(t,e,i,n,s){if(ua!==r&&C(),e&&c&&w(S(n[2]===e?o+(t.startX-t.x):w()+e-n[1])),i){y.offset&&M();var l=s[2]===i,h=l?a+t.startY-t.y:y()+i-s[1],u=E(h);l&&h!==u&&(a+=u-h),y(u)}(i||e)&&ga()},t.onEnable=function(){Oa(p,!c&&"x"),La.addEventListener("refresh",L),Yo(ps,"resize",L),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=w.smooth=!1),T.enable()},t.onDisable=function(){Oa(p,!0),jo(ps,"resize",L),La.removeEventListener("refresh",L),T.kill()},t.lockAxis=!1!==t.lockAxis,(e=new us(t)).iOS=Ds,Ds&&!y()&&y(1),Ds&&ds.ticker.add(no),l=e._dc,s=ds.to(e,{ease:"power4",paused:!0,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Ea(y,y(),(function(){return s.pause()}))},onUpdate:ga,onComplete:l.vars.onComplete}),e};La.sort=function(t){return Qo.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},La.observe=function(t){return new us(t)},La.normalizeScroll=function(t){if(void 0===t)return Rs;if(!0===t&&Rs)return Rs.enable();if(!1===t)return Rs&&Rs.kill();var e=t instanceof us?t:Fa(t);return Rs&&Rs.target===e.target&&Rs.kill(),lo(e.target)&&(Rs=e),e},La.core={_getVelocityProp:os,_inputObserver:qa,_scrollers:Wn,_proxies:Vn,bridge:{ss:function(){Qs||oa("scrollStart"),Qs=Gs()},ref:function(){return Ts}}},ao()&&ds.registerPlugin(La);var Na=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Ba=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,Ya=Math.PI/180,ja=(Math.PI,Math.sin),Wa=Math.cos,Va=Math.abs,Ha=Math.sqrt,Xa=(Math.atan2,function(t){return"number"==typeof t}),Ua=1e5,Ga=function(t){return Math.round(t*Ua)/Ua||0};function Ja(t,e,i,r,n,s,o,a,l){if(t!==a||e!==l){i=Va(i),r=Va(r);var h=n%360*Ya,c=Wa(h),u=ja(h),d=Math.PI,f=2*d,p=(t-a)/2,m=(e-l)/2,g=c*p+u*m,v=-u*p+c*m,y=g*g,w=v*v,b=y/(i*i)+w/(r*r);b>1&&(i=Ha(b)*i,r=Ha(b)*r);var _=i*i,x=r*r,k=(_*x-_*w-x*y)/(_*w+x*y);k<0&&(k=0);var T=(s===o?-1:1)*Ha(k),$=T*(i*v/r),S=T*(-r*g/i),E=(t+a)/2+(c*$-u*S),C=(e+l)/2+(u*$+c*S),M=(g-$)/i,L=(v-S)/r,A=(-g-$)/i,P=(-v-S)/r,O=M*M+L*L,R=(L<0?-1:1)*Math.acos(M/Ha(O)),I=(M*P-L*A<0?-1:1)*Math.acos((M*A+L*P)/Ha(O*(A*A+P*P)));isNaN(I)&&(I=d),!o&&I>0?I-=f:o&&I<0&&(I+=f),R%=f,I%=f;var q,z=Math.ceil(Va(I)/(f/4)),D=[],F=I/z,N=4/3*ja(F/2)/(1+Wa(F/2)),B=c*i,Y=u*i,j=u*-r,W=c*r;for(q=0;q<z;q++)g=Wa(n=R+q*F),v=ja(n),M=Wa(n+=F),L=ja(n),D.push(g-N*v,v+N*g,M+N*L,L-N*M,M,L);for(q=0;q<D.length;q+=2)g=D[q],v=D[q+1],D[q]=g*B+v*j+E,D[q+1]=g*Y+v*W+C;return D[q-2]=a,D[q-1]=l,D}}function Qa(t){var e,i,r,n,s,o,a,l,h,c,u,d,f,p,m,g=(t+"").replace(Ba,(function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e})).match(Na)||[],v=[],y=0,w=0,b=2/3,_=g.length,x=0,k="ERROR: malformed path: "+t,T=function(t,e,
1i,r){c=(i-t)/3,u=(r-e)/3,a.push(t+c,e+u,i-c,r-u,i,r)};if(!t||!isNaN(g[0])||isNaN(g[1]))return console.log(k),v;for(e=0;e<_;e++)if(f=s,isNaN(g[e])?o=(s=g[e].toUpperCase())!==g[e]:e--,r=+g[e+1],n=+g[e+2],o&&(r+=y,n+=w),e||(l=r,h=n),"M"===s)a&&(a.length<8?v.length-=1:x+=a.length),y=l=r,w=h=n,a=[r,n],v.push(a),e+=2,s="L";else if("C"===s)a||(a=[0,0]),o||(y=w=0),a.push(r,n,y+1*g[e+3],w+1*g[e+4],y+=1*g[e+5],w+=1*g[e+6]),e+=6;else if("S"===s)c=y,u=w,"C"!==f&&"S"!==f||(c+=y-a[a.length-4],u+=w-a[a.length-3]),o||(y=w=0),a.push(c,u,r,n,y+=1*g[e+3],w+=1*g[e+4]),e+=4;else if("Q"===s)c=y+(r-y)*b,u=w+(n-w)*b,o||(y=w=0),y+=1*g[e+3],w+=1*g[e+4],a.push(c,u,y+(r-y)*b,w+(n-w)*b,y,w),e+=4;else if("T"===s)c=y-a[a.length-4],u=w-a[a.length-3],a.push(y+c,w+u,r+(y+1.5*c-r)*b,n+(w+1.5*u-n)*b,y=r,w=n),e+=2;else if("H"===s)T(y,w,y=r,w),e+=1;else if("V"===s)T(y,w,y,w=r+(o?w-y:0)),e+=1;else if("L"===s||"Z"===s)"Z"===s&&(r=l,n=h,a.closed=!0),("L"===s||Va(y-r)>.5||Va(w-n)>.5)&&(T(y,w,r,n),"L"===s&&(e+=2)),y=r,w=n;else if("A"===s){if(p=g[e+4],m=g[e+5],c=g[e+6],u=g[e+7],i=7,p.length>1&&(p.length<3?(u=c,c=m,i--):(u=m,c=p.substr(2),i-=2),m=p.charAt(1),p=p.charAt(0)),d=Ja(y,w,+g[e+1],+g[e+2],+g[e+3],+p,+m,(o?y:0)+1*c,(o?w:0)+1*u),e+=i,d)for(i=0;i<d.length;i++)a.push(d[i]);y=a[a.length-2],w=a[a.length-1]}else console.log(k);return(e=a.length)<6?(v.pop(),e=0):a[0]===a[e-2]&&a[1]===a[e-1]&&(a.closed=!0),v.totalPoints=x+e,v}function Ka(t){Xa(t[0])&&(t=[t]);var e,i,r,n,s="",o=t.length;for(i=0;i<o;i++){for(n=t[i],s+="M"+Ga(n[0])+","+Ga(n[1])+" C",e=n.length,r=2;r<e;r++)s+=Ga(n[r++])+","+Ga(n[r++])+" "+Ga(n[r++])+","+Ga(n[r++])+" "+Ga(n[r++])+","+Ga(n[r])+" ";n.closed&&(s+="z")}return s}var Za,tl,el,il,rl,nl,sl=function(){return Za||"undefined"!=typeof window&&(Za=window.gsap)&&Za.registerPlugin&&Za},ol=function(){(Za=sl())?(Za.registerEase("_CE",ul.create),tl=1):console.warn("Please gsap.registerPlugin(CustomEase)")},al=function(t){return~~(1e3*t+(t<0?-.5:.5))/1e3},ll=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,hl=/[cLlsSaAhHvVtTqQ]/g,cl=function t(e,i,r,n,s,o,a,l,h,c,u){var d,f=(e+r)/2,p=(i+n)/2,m=(r+s)/2,g=(n+o)/2,v=(s+a)/2,y=(o+l)/2,w=(f+m)/2,b=(p+g)/2,_=(m+v)/2,x=(g+y)/2,k=(w+_)/2,T=(b+x)/2,$=a-e,S=l-i,E=Math.abs((r-a)*S-(n-l)*$),C=Math.abs((s-a)*S-(o-l)*$);return c||(c=[{x:e,y:i},{x:a,y:l}],u=1),c.splice(u||c.length-1,0,{x:k,y:T}),(E+C)*(E+C)>h*($*$+S*S)&&(d=c.length,t(e,i,f,p,w,b,k,T,h,c,u),t(k,T,_,x,v,y,a,l,h,c,u+1+(c.length-d))),c},ul=function(){function t(t,e,i){tl||ol(),this.id=t,this.setData(e,i)}var e=t.prototype;return e.setData=function(t,e){e=e||{};var i,r,n,s,o,a,l,h,c,u=(t=t||"0,0,1,1").match(ll),d=1,f=[],p=[],m=e.precision||1,g=m<=1;if(this.data=t,(hl.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(u=Qa(t)[0]),4===(i=u.length))u.unshift(0,0),u.push(1,1),i=8;else if((i-2)%6)throw"Invalid CustomEase";for(0==+u[0]&&1==+u[i-2]||function(t,e,i){i||0===i||(i=Math.max(+t[t.length-1],+t[1]));var r,n=-1*+t[0],s=-i,o=t.length,a=1/(+t[o-2]+n),l=-e||(Math.abs(+t[o-1]-+t[1])<.01*(+t[o-2]-+t[0])?function(t){var e,i=t.length,r=1e20;for(e=1;e<i;e+=6)+t[e]<r&&(r=+t[e]);return r}(t)+s:+t[o-1]+s);for(l=l?1/l:-a,r=0;r<o;r+=2)t[r]=(+t[r]+n)*a,t[r+1]=(+t[r+1]+s)*l}(u,e.height,e.originY),this.segment=u,s=2;s<i;s+=6)r={x:+u[s-2],y:+u[s-1]},n={x:+u[s+4],y:+u[s+5]},f.push(r,n),cl(r.x,r.y,+u[s],+u[s+1],+u[s+2],+u[s+3],n.x,n.y,1/(2e5*m),f,f.length-1);for(i=f.length,s=0;s<i;s++)l=f[s],h=f[s-1]||l,(l.x>h.x||h.y!==l.y&&h.x===l.x||l===h)&&l.x<=1?(h.cx=l.x-h.x,h.cy=l.y-h.y,h.n=l,h.nx=l.x,g&&s>1&&Math.abs(h.cy/h.cx-f[s-2].cy/f[s-2].cx)>2&&(g=0),h.cx<d&&(h.cx?d=h.cx:(h.cx=.001,s===i-1&&(h.x-=.001,d=Math.min(d,.001),g=0)))):(f.splice(s--,1),i--);if(o=1/(i=1/d+1|0),a=0,l=f[0],g){for(s=0;s<i;s++)c=s*o,l.nx<c&&(l=f[++a]),r=l.y+(c-l.x)/l.cx*l.cy,p[s]={x:c,cx:o,y:r,cy:0,nx:9},s&&(p[s-1].cy=r-p[s-1].y);p[i-1].cy=f[f.length-1].y-r}else{for(s=0;s<i;s++)l.nx<s*o&&(l=f[++a]),p[s]=l;a<f.length-1&&(p[s-1]=f[f.length-2])}return this.ease=function(t){var e=p[t*i|0]||p[i-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},this.ease.custom=this,this.id&&Za&&Za.registerEase(this.id,this.ease),this},e.getSVGData=function(e){return t.getSVGData(this,e)},t.create=function(e,i,r){return new t(e,i,r).ease},t.register=function(t){Za=t,ol()},t.get=function(t){return Za.parseEase(t)},t.getSVGData=function(e,i){var r,n,s,o,a,l,h,c,u,d,f=(i=i||{}).width||100,p=i.height||100,m=i.x||0,g=(i.y||0)+p,v=Za.utils.toArray(i.path)[0];if(i.invert&&(p=-p,g=0),"string"==typeof e&&(e=Za.parseEase(e)),e.custom&&(e=e.custom),e instanceof t)r=Ka(function(t,e,
1i,r,n,s,o){for(var a,l,h,c,u,d=t.length;--d>-1;)for(l=(a=t[d]).length,h=0;h<l;h+=2)c=a[h],u=a[h+1],a[h]=c*e+u*r+s,a[h+1]=c*i+u*n+o;return t._dirty=1,t}([e.segment],f,0,0,-p,m,g));else{for(r=[m,g],o=1/(h=Math.max(5,200*(i.precision||1))),c=5/(h+=2),u=al(m+o*f),n=((d=al(g+e(o)*-p))-g)/(u-m),s=2;s<h;s++)a=al(m+s*o*f),l=al(g+e(s*o)*-p),(Math.abs((l-d)/(a-u)-n)>c||s===h-1)&&(r.push(u,d),n=(l-d)/(a-u)),u=a,d=l;r="M"+r.join(",")}return v&&v.setAttribute("d",r),r},t}();function dl(t,e,i,r){if("a"===i&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?r:"a"===i?r.call(t):r?r.value:e.get(t)}function fl(t,e,i,r,n){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?n.call(t,i):n?n.value=i:e.set(t,i),i}function pl(t,e,i){return Math.max(t,Math.min(e,i))}sl()&&Za.registerPlugin(ul),ul.version="3.12.2","function"==typeof SuppressedError&&SuppressedError;class ml{advance(t){if(!this.isRunning)return;let e=!1;if(this.lerp)this.value=(i=this.value,r=this.to,n=60*this.lerp,s=t,function(t,e,i){return(1-i)*t+i*e}(i,r,1-Math.exp(-n*s))),Math.round(this.value)===this.to&&(this.value=this.to,e=!0);else{this.currentTime+=t;const i=pl(0,this.currentTime/this.duration,1);e=i>=1;const r=e?1:this.easing(i);this.value=this.from+(this.to-this.from)*r}var i,r,n,s;this.onUpdate?.(this.value,e),e&&this.stop()}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i=.1,duration:r=1,easing:n=(t=>t),onStart:s,onUpdate:o}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=r,this.easing=n,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=o}}class gl{constructor({wrapper:t,content:e,autoResize:i=!0}={}){if(this.wrapper=t,this.content=e,i){const t=function(t,e){let i;return function(){let e=arguments,r=this;clearTimeout(i),i=setTimeout((function(){t.apply(r,e)}),250)}}(this.resize);this.wrapper!==window&&(this.wrapperResizeObserver=new ResizeObserver(t),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(t),this.contentResizeObserver.observe(this.content)}this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect()}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class vl{constructor(){this.events={}}emit(t,...e){let i=this.events[t]||[];for(let t=0,r=i.length;t<r;t++)i[t](...e)}on(t,e){return this.events[t]?.push(e)||(this.events[t]=[e]),()=>{this.events[t]=this.events[t]?.filter((t=>e!==t))}}off(t,e){this.events[t]=this.events[t]?.filter((t=>e!==t))}destroy(){this.events={}}}class yl{constructor(t,{wheelMultiplier:e=1,touchMultiplier:i=2,normalizeWheel:r=!1}){this.element=t,this.wheelMultiplier=e,this.touchMultiplier=i,this.normalizeWheel=r,this.touchStart={x:null,y:null},this.emitter=new vl,this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=t=>{const{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{const{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,r=-(e-this.touchStart.x)*this.touchMultiplier,n=-(i-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:r,y:n},this.emitter.emit("scroll",{deltaX:r,deltaY:n,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i}
vendor: 5,379 bytes, line 1
1=t;this.normalizeWheel&&(e=pl(-100,e,100),i=pl(-100,i,100)),e*=this.wheelMultiplier,i*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})}}class wl{constructor({wrapper:t=window,content:e=document.documentElement,wheelEventsTarget:i=t,eventsTarget:r=i,smoothWheel:n=!0,syncTouch:s=!1,syncTouchLerp:o=.075,touchInertiaMultiplier:a=35,duration:l,easing:h=(t=>Math.min(1,1.001-Math.pow(2,-10*t))),lerp:c=!l&&.1,infinite:u=!1,orientation:d="vertical",gestureOrientation:f="vertical",touchMultiplier:p=1,wheelMultiplier:m=1,normalizeWheel:g=!1,autoResize:v=!0}={}){el.set(this,!1),il.set(this,!1),rl.set(this,!1),nl.set(this,!1),this.onVirtualScroll=({deltaX:t,deltaY:e,event:i})=>{if(i.ctrlKey)return;const r=i.type.includes("touch"),n=i.type.includes("wheel");if(this.options.syncTouch&&r&&"touchstart"===i.type)return void this.reset();const s=0===t&&0===e,o="vertical"===this.options.gestureOrientation&&0===e||"horizontal"===this.options.gestureOrientation&&0===t;if(s||o)return;let a=i.composedPath();if(a=a.slice(0,a.indexOf(this.rootElement)),a.find((t=>{var e,i,s,o;return(null===(e=t.hasAttribute)||void 0===e?void 0:e.call(t,"data-lenis-prevent"))||r&&(null===(i=t.hasAttribute)||void 0===i?void 0:i.call(t,"data-lenis-prevent-touch"))||n&&(null===(s=t.hasAttribute)||void 0===s?void 0:s.call(t,"data-lenis-prevent-wheel"))||(null===(o=t.classList)||void 0===o?void 0:o.contains("lenis"))})))return;if(this.isStopped||this.isLocked)return void i.preventDefault();if(this.isSmooth=this.options.syncTouch&&r||this.options.smoothWheel&&n,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();i.preventDefault();let l=e;"both"===this.options.gestureOrientation?l=Math.abs(e)>Math.abs(t)?e:t:"horizontal"===this.options.gestureOrientation&&(l=t);const h=r&&this.options.syncTouch,c=r&&"touchend"===i.type&&Math.abs(l)>5;c&&(l=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+l,Object.assign({programmatic:!1},h?{lerp:c?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(!this.__preventNextScrollEvent&&!this.isScrolling){const t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-t),this.emit()}},window.lenisVersion="1.0.35",t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:e,wheelEventsTarget:i,eventsTarget:r,smoothWheel:n,syncTouch:s,syncTouchLerp:o,touchInertiaMultiplier:a,duration:l,easing:h,lerp:c,infinite:u,gestureOrientation:f,orientation:d,touchMultiplier:p,wheelMultiplier:m,normalizeWheel:g,autoResize:v},this.animate=new ml,this.emitter=new vl,this.dimensions=new gl({wrapper:t,content:e,autoResize:v}),this.toggleClass("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=s||n,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,{passive:!1}),this.virtualScroll=new yl(r,{touchMultiplier:p,wheelMultiplier:m,normalizeWheel:g}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClass("lenis",!1),this.toggleClass("lenis-smooth",!1),this.toggleClass("lenis-scrolling",!1),this.toggleClass("lenis-stopped",!1),this.toggleClass("lenis-locked",!1)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.animate.stop()}start(){this.isStopped=!1,this.reset()}stop(){this.isStopped=!0,this.animate.stop(),this.reset()}raf(t){const e=t-(this.time||t);this.time=t,this.animate.advance(.001*e)}scrollTo(t,{offset:e=0,immediate:i=!1,lock:r=!1,duration:n=this.options.duration,easing:s=this.options.easing,lerp:o=!n&&this.options.lerp,onComplete:a,force:l=!1,programmatic:h=!0}={}){if(!this.isStopped&&!this.isLocked||l){if(["top","left","start"].includes(t))t=0;else if(["bottom","right","end"].includes(t))t=this.limit;else{let i;if("string"==typeof t?i=document.querySelector(t):(null==t?void 0:t.nodeType)&&(i=t),i){if(this.options.wrapper!==window){const t=this.options.wrapper.getBoundingClientRect();e-=this.isHorizontal?t.left:t.top}const r=i.getBoundingClientRect();t=(this.isHorizontal?r.left:r.top)+this.animatedScroll}}if("number"==typeof t){if(t+=e,t=Math.round(t),this.options.infinite?h&&(this.targetScroll=this.animatedScroll=this.scroll):t=pl(0,t,this.limit),i)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),void(null==a||a(this));if(!h){if(t===this.targetScroll)return;this.targetScroll=t}this.animate.fromTo(this.animatedScroll,t,{duration:n,easing:s,lerp:o,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(t,e)=>{this.isScrolling=!0,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),h&&(this.targetScroll=t),e||this.emit
1(),e&&(this.reset(),this.emit(),null==a||a(this),this.__preventNextScrollEvent=!0,requestAnimationFrame((()=>{delete this.__preventNextScrollEvent})))}})}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll;var t}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isSmooth(){return dl(this,el,"f")}set isSmooth(t){dl(this,el,"f")!==t&&(fl(this,el,t,"f"),this.toggleClass("lenis-smooth",t))}get isScrolling(){return dl(this,il,"f")}set isScrolling(t){dl(this,il,"f")!==t&&(fl(this,il,t,"f"),this.toggleClass("lenis-scrolling",t))}get isStopped(){return dl(this,rl,"f")}set isStopped(t){dl(this,rl,"f")!==t&&(fl(this,rl,t,"f"),this.toggleClass("lenis-stopped",t))}get isLocked(){return dl(this,nl,"f")}set isLocked(t){dl(this,nl,"f")!==t&&(fl(this,nl,t,"f"),this.toggleClass("lenis-locked",t))}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isSmooth&&(t+=" lenis-smooth"),t}toggleClass(t,e){this.rootElement.classList.toggle(t,e),this.emitter.emit("className change",this)}}el=new WeakMap,il=new WeakMap,rl=new WeakMap,nl=new WeakMap,Sn.registerEffect({name:"box",effect:(t,e)=>{const i=Sn.timeline({delay:e.delay,paused:!0,defaults:{duration:e.duration,ease:e.ease}}),r={blur:15},n=t[0].querySelector(".box-inner"),s=t[0].querySelector(".box-blur");return s&&(s.style.backdropFilter="blur("+r.blur+"px)"),i.fromTo(t[0],{yPercent:-101},{yPercent:0},0).fromTo(n,{yPercent:101},{yPercent:0},0),s&&i.to(r,{blur:0,duration:.6,onUpdate:()=>{s.style.backdropFilter="blur("+r.blur+"px)"},ease:"alpha"},.3),i},defaults:{ease:"expo.out",duration:.85,delay:0},extendTimeline:!0});class bl{constructor(){this.menuOpen=!1,this.bindMethods(),this.getElems(),this.addEvents(),this.getBounds(),this.event=new CustomEvent("show-column")}bindMethods(){this.toggle=this.toggle.bind(this),this.onOverlayClick=this.onOverlayClick.bind(this),this.onKey=this.onKey.bind(this)}getElems(){this.cols=[],this.$header=document.querySelector(".header"),this.$toggler=document.body.querySelector(".header-toggler"),this.$overlay=document.body.querySelector(".header-overlay"),this.$wrapper=document.querySelector(".header-menu-wrapper"),this.$itemsCols=document.querySelectorAll(".header-item-col"),this.$items=document.querySelectorAll(".header-item");for(let t=0;t<this.$itemsCols.length;t++)this.cols[t]={cells:this.$itemsCols[t].querySelectorAll(".header-item-cell")};D.w.w>=768?Sn.set(this.$itemsCols,{yPercent:-110}):Sn.set(this.$itemsCols,{y:t=>-this.$itemsCols[t].offsetHeight*(t+1)-20})}addEvents(){!D.detect.isMobile&&window.addEventListener("keydown",this.onKey),this.$toggler&&this.$toggler.addEventListener("click",this.toggle),this.$overlay&&this.$overlay.addEventListener("click",this.onOverlayClick),window.addEventListener("resize",(()=>{!this.menuOpen&&Sn.set(this.$wrapper,{autoAlpha:0})}))}getBounds(){this.wrapperTop=this.$wrapper.getBoundingClientRect().top}onKey(t){"Escape"===t.key&&this.close()}onOverlayClick(){this.close()}toggle(){this.isTransitioning||this.isAnimating||(this.menuOpen?this.close():this.open())}open(){return new Promise((t=>{this.menuOpen=!0,this.$header.classList.add("a"),this.$toggler.classList.add("a"),this.$overlay.classList.remove("pointer-events-none"),D.cancelAnimation(this.closeTL),Sn.set(this.$itemsCols,{height:"auto",autoAlpha:1}),this.openTL=Sn.timeline(),this.openTL.to(this.$overlay,{autoAlpha:.5,ease:"alpha",duration:.3},0),D.w.w>=768?this.openTL.to(this.$itemsCols,{yPercent:0,ease:"expo.out",duration:.8,stagger:.02},0):this.openTL.to(this.$itemsCols,{y:0,ease:"expo.out",duration:.8,stagger:.02},0),t()}))}close(){return new Promise((t=>{this.menuOpen=!1,this.$header.classList.remove("a"),this.$toggler.classList.remove("a"),this.$overlay.classList.add("pointer-events-none"),D.cancelAnimation(this.openTL);const e=this.activeIndex;this.closeTL=Sn.timeline({onComplete:()=>{this.isAnimating=!1,e>-1&&D.w.w>=1200&&(this.activeIndex=-1,Sn.set(this.cols[e].cells,{autoAlpha:1}),Sn.set(this.$itemsCols[e],{autoAlpha:0,yPercent:-110}),window.dispatchEvent(this.event))}});const i=[...this.$itemsCols];if(this.activeIndex>-1&&D.w.w>=1200){this.isAnimating=!0;const t=i.splice(this.activeIndex,1);this.closeTL.to(this.cols[this.activeIndex].cells,{autoAlpha:0,ease:"alpha",duration:.3},0).to(t,{height:D.w.h-D.remToPixel(9.5),ease:"expo.inOut",duration:1},0)}this.closeTL.to(this.$overlay,{autoAlpha:0,ease:"alpha",duration:.3},0),D.w.w>=768?this.closeTL.to(i,{yPercent:-110,ease:"expo.out",duration:.65,stagger:.02},0):this.closeTL.to(i,{y:t=>-i[t].offsetHeight*(t+1)-20,ease:"expo.out",duration:.65,stagger:.02},0),t()}))}resize(){this.getBounds(),clearTimeout(this.resizeST),this.menuOpen||(Sn.set(this.$itemsCols,{clearProps:"transform"}),D.w.w>=768?Sn.set(this.$itemsCols,{yPercent:-110}):Sn.set(this.$itemsCols,{y:t=>-this.$itemsCols[t].offsetHeight*(t+1)-20}),Sn.set(this.$wrapper,{autoAlpha:1}))}scroll(){}onPageChange(){if(this.activeIndex=D.transitionMenuIndex,D.w.w>=768)return this.menuOpen&&this.close(),void(D.transitionFromMenu&&D.smoothScroll&&D.smoothScroll.start());if(this.activeIndex>-1){this.isTransitioning=!0,this.$header.classList.remove("a"),this.$toggler.classList.remove("a");const t=Sn.timeline({onComplete:()=>{D.w.w>=768?Sn.set(this.$itemsCols,{yPercent:-110,autoAlpha:0,zIndex:0}):Sn.set(this.$itemsCols,{y:t=>-this.$itemsCols[t].offsetHeight*(t+1)-20,autoAlpha:0,zIndex:0}),Sn.set(this.$items,{yPercent:0}),D.smoothScroll&&D.smoothScroll.start(),this.menuOpen=!1,this.isTransitioning=!1}});this.activeIndex>-1&&t.set(this.$itemsCols[this.activeIndex],{zIndex:1}),t.to(this.$overlay,{autoAlpha:0,ease:"alpha",duration:.3},0).to(this.$itemsCols,{y:t=>-this.$itemsCols[t].offsetHeight*t+1*Number(t),ease:"expo.out",duration:.8},0)}else D.smoothScroll&&D.smoothScroll.start()}}class _l{constructor(){this.getElems(),this.events(),this.onPageChange({location:window.location})}getElems(){this.$el=document.body.querySelector("header"),this.$items=this.$el.querySelectorAll(".header-item"),this.$logo=this.$el.querySelector(".header-logo"),this.$switcher=this.$el.querySelector(".header-switcher")}events(){this.$switcher.addEventListener("click",this.onSwitcherClick.bind(this))}onSwitcherClick(){document.body.classList.toggle("dark"),document.documentElement.classList.toggle("dark"),document.querySelector('meta[name="theme-color"]').setAttribute("content",D.isDark?"#fff":"#000"),D.isDark=!D.isDark}onPageChange(t){this.activeIndex>-1&&this.$items[this.activeIndex].classList.remove("active"),this.activeIndex=-1;for(let e=0;e<this.$items.length;e++)this.$items[e].href===t.finalUrl&&(this.activeIndex=e);this.activeIndex>-1&&this.$items[this.activeIndex].classList.add("active")}}class xl{constructor(){this.getElems(),D.smoothScroll&&D.smoothScroll.scrollTo(0,{immediate:!0,force:!0}),this.alreadyLoaded="true"===sessionStorage.getItem("loaded"),this.interval=setInterval((()=>{this.$cookies=document.querySelector("#tarteaucitronAlertBig"),this.alreadyLoaded?this.$cookies&&Sn.to(this.$cookies,{autoAlpha:1,duration:.2,ease:"alpha",delay:.8}):this.$cookies&&Sn.set(this.$cookies,{autoAlpha:0}),this.$cookies&&clearInterval(this.interval)}),200),this.isVideoLoaded=!1,this.isHome="home"===this.$page.dataset.template,this.isMobile=D.detect.isMobile||D.w.w<=1024,!this.isMobile&&this.isHome&&this.loadVideo(),this.setLogo(),this.alreadyLoaded?this.fade():this.hide(),window.sessionStorage.setItem("loaded",!0)}getElems(){this.$el=document.querySelector(".loader"),this.$page=document.querySelector("[data-taxi-view]"),this.$inner=this.$el.querySelector(".loader-inner"),this.$overlay=document.querySelector(".loader-overlay"),this.$bg=this.$el.querySelector(".loader-bg"),this.$svgWrapper=this.$el.querySelector(".loader-svg svg"),this.$logo=this.$el.querySelector(".loader-logo"),this.$logoLetters=this.$el.querySelectorAll(".letter"),this.$path1=this.$el.querySelector(".loader-path-1"),this.$path2=this.$el.querySelector(".loader-path-2"),this.$path3=this.$el.querySelector(".loader-path-3"),this.$numbers=this.$el.querySelectorAll(".loader-no"),this.$video=this.$el.querySelector(".loader-video")}loadVideo(){this.$video.src=this.$video.dataset.src,this.$video.onloadeddata=()=>{this.isVideoLoaded=!0,this.canShowVideo&&(this.$video.play(),Sn.to(this.$video,{op
1acity:1,duration:.5,ease:"beaucoup.alpha"}))}}setLogo(){const t=this.$logo.getBoundingClientRect();this.isMobile?(this.logoBasePositionY=-t.top,Sn.set(this.$logo,{y:this.logoBasePositionY})):(this.logoBasePositionX=-D.w.w/2+.3*t.width/2,this.logoBasePositionY=-t.top-.3*t.height,this.logoCenterPositionY=-t.top+D.w.h/2-t.height/2,Sn.set(this.$logo,{y:this.logoBasePositionY,scale:.3})),Sn.set(this.$numbers,{yPercent:-100}),Sn.set(this.$logoLetters,{x:-165}),Sn.set(this.$path2,{x:-122}),Sn.set(this.$path3,{x:-222}),Sn.set([this.$path1,this.$path2,this.$path3],{yPercent:-105}),this.$logo.classList.remove("opacity-0")}hide(){const t=Sn.timeline({delay:.2,defaults:{ease:"expo.out",duration:.8},onComplete:()=>{this.$video.pause(),D.currentTime=this.$video.currentTime,window.dispatchEvent(new CustomEvent("setHomeVideo")),setTimeout((()=>{Sn.set(this.$el,{autoAlpha:0})}),50),this.$cookies&&Sn.to(this.$cookies,{autoAlpha:1,duration:.2,ease:"alpha"})}});t.to(this.$logo,{y:this.isMobile?.8*this.logoBasePositionY:this.logoBasePositionY-.2*this.logoCenterPositionY,ease:"power3.inOut"},0).to(this.$numbers[0],{yPercent:3},"<30%").to([this.$path1,this.$path2,this.$path3],{yPercent:0},"<10%").to(this.$logo,{y:this.isMobile?.5*this.logoBasePositionY:this.logoBasePositionY-.55*this.logoCenterPositionY,ease:"power3.inOut"},.6).to(this.$numbers[0],{yPercent:100},"<30%").to(this.$numbers[1],{yPercent:3},"<").to(this.$logo,{y:this.isMobile?.2*this.logoBasePositionY:this.logoBasePositionY-.9*this.logoCenterPositionY,ease:"power3.inOut"},1.2).to(this.$numbers[1],{yPercent:100},"<30%").to(this.$numbers[2],{yPercent:3},"<").to(this.$logo,{y:this.isMobile?0:this.logoCenterPositionY,ease:"power3.inOut"},.6*3).to(this.$numbers[2],{yPercent:100},"<30%").to(this.$numbers[3],{yPercent:5},"<").to(this.$path2,{x:0},"<30%"),!this.isMobile&&this.isHome&&(t.call((()=>{this.canShowVideo=!0,this.isVideoLoaded&&(this.$video.play(),Sn.to(this.$video,{opacity:1,duration:.5,ease:"beaucoup.alpha"}))}),[],"<"),t.to(this.$path3,{x:-99},"<")),this.isHome&&!this.isMobile?t.to(this.$logo,{y:0,scale:1,ease:"expo.inOut",duration:1},"<30%").to(this.$numbers[3],{xPercent:100,duration:1.4},"<30%").to(this.$path3,{x:0},"<").to(this.$logoLetters,{x:0,stagger:.05,ease:"expo.out",duration:1},"<").to(this.$bg,{autoAlpha:0,ease:"beaucoup.alpha",duration:.5},"<20%").call((()=>{D.currentTime=this.$video.currentTime,window.dispatchEvent(new CustomEvent("loaderComplete")),D.isFirstLoaded=!0,this.$el.classList.add("pointer-events-none")}),[],"-=1.2"):t.to(this.$numbers[3],{xPercent:100,duration:1.4},"<10%").to(this.$path3,{x:0},"<").to(this.$logoLetters,{x:0,stagger:.05,ease:"expo.out",duration:1},"<").to(this.$el,{yPercent:100,ease:"expo.inOut",duration:1},"<50%").to(this.$inner,{yPercent:-75,ease:"expo.inOut",duration:1},"<").fromTo(this.$overlay,{autoAlpha:1},{autoAlpha:0,ease:"beaucoup.alpha",duration:.6},"<40%").call((()=>{D.currentTime=this.$video.currentTime,window.dispatchEvent(new CustomEvent("loaderComplete")),D.isFirstLoaded=!0,this.$el.classList.add("pointer-events-none")}),[],"-=0.6")}fade(){Sn.timeline({delay:.2}).to(this.$el,{autoAlpha:0,ease:"beaucoup.alpha",duration:.5},0).call((()=>{D.currentTime=this.$video.currentTime,window.dispatchEvent(new CustomEvent("loaderComplete")),D.isFirstLoaded=!0,this.$el.classList.add("pointer-events-none")}),[],.15)}}class kl{constructor(t,e){this.$el=t,this.destroyLast=e,this.bindMethods(),this.getElems(),this.init(),D.transitionFromMenu&&this.beforeAppear(),this.events()}beforeAppear(){}onEnterCompleted(){}bindMethods(){}appear(){}getElems(){}init(){}events(){}destroy(){}destroyCompleted(){}resize(){}resizeX(){}scroll(){}scrollEnd(){}update(){}}class Tl{constructor(t){let{el:e,cb:i,mobile:r=!1}=t;this.cb=i,this.mobile=r,this.mouse={x:0,y:0},this.el="string"==typeof e?document.querySelector(e):void 0===e?document:e,this.run=this.run.bind(this)}on(){this.listener("add")}off(){this.listener("remove")}listener(t){this.mobile&&D.detect.isMobile?this.el[t+"EventListener"]("touchmove",this.run):this.el[t+"EventListener"]("mousemove",this.run)}run(t){const e=t.changedTouches?t.changedTouches[0].clientX:t.clientX,i=t.changedTouches?t.changedTouches[0].clientY:t.clientY;this.mouse.x=e,this.mouse.y=i,this.cb(e,i,t)}}class $l{constructor(t){let{parent:e,el:i}=t;this.el=i,this.parent=e||this.el.parentNode,this.enter=!1,this.first=!0,this.disabled=!1,this.firstMoved=!1,this.mouse={x:0,y:0},this.bindMethods(),this.events(),this.mm=new Tl({cb:this.mousemove})}bindMethods(){this.mousemove=this.mousemove.bind(this),this.onStickyEnter=this.onStickyEnter.bind(this),this.onStickyLeave=this.onStickyLeave.bind(this)}events(){window.addEventListener("on-sticky-enter",this.onStickyEnter),window.addEventListener("on-sticky-leave",this.onStickyLeave)}init(){const{left:t,top:e}=this.el.getBoundingClientRect();this.cursor={size:{x:this.el.offsetWidth/2,y:this.el.offsetHeight/2},transform:{x:t,y:e},initial:{x:t,y:e+window.scrollY},lerp:{x:0,y:0}},this.mm.on(),this.listener("add")}off(){window.removeEventListener("on-sticky-enter",this.onStickyEnter),window.removeEventListener("on-sticky-leave",this.onStickyLeave),this.mm.off(),this.listener("remove")}listener(t){this.parent[t+"EventListener"]("mouseenter",this.mouseEnter.bind(this)),this.parent[t+"EventListener"]("mouseleave",this.mouseLeave.bind(this))}checkHover(t,e){if(D.scrollTrigger.isInViewport(this.parent)){const i=this.parent.getBoundingClientRect();t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom&&this.mouseEnter()}}onStickyEnter(){this.mouseLeave(),this.disabled=!0,this.firstMoved=!1}onStickyLeave(){this.disabled=!1}mousemove(t,e){this.disabled||(this.firstMoved||(this.checkHover(t,e),this.firstMoved=!0),this.mouse={x:t,y:e})}mouseEnter(){this.disabled||(this.enter=!0)}mouseLeave(){this.disabled||(this.enter=!1,this.cursor.transform.x=0,this.cursor.transform.y=0)}resize(){this.cursor.transform.x=0,this.cursor.transform.y=0,this.el.style.setProperty("--cursor-x","0px"),this.el.style.setProperty("--cursor-y","0px");const{left:t,top:e}=this.el.getBoundingClientRect();this.cursor.initial={x:t,y:e+window.scrollY},this.cursor.size={x:this.el.offsetWidth/2,y:this.el.offsetHeight/2}}update(){if(!this.enter&&!this.needU)return;const{lerp:t,transform:e}=this.cursor;this.needU=Math.abs(Math.round(e.x))!==Math.abs(Math.round(t.x))||Math.abs(Math.round(e.y))!==Math.abs(Math.round(t.y)),this.enter&&(e.x=this.mouse.x-this.cursor.size.x-this.cursor.initial.x,e.y=this.mouse.y-this.cursor.size.y-this.cursor.initial.y+window.scrollY),t.x=D.lerp(t.x,e.x,.12),t.y=D.lerp(t.y,e.y,.12),this.needU&&(this.el.style.setProperty("--cursor-x",D.round(t.x)+"px"),this.el.style.setProperty("--cursor-y",D.round(t.y)+"px"))}}function Sl(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,r)}return i}function El(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
vendor: 4,128 bytes, line 1
1e%2?Sl(Object(i),!0).forEach((function(e){Rl(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Sl(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Cl(){Cl=function(){return t};var t={},e=Object.prototype,i=e.hasOwnProperty,r=Object.defineProperty||function(t,e,i){t[e]=i.value},n="function"==typeof Symbol?Symbol:{},s=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function l(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,i){return t[e]=i}}function h(t,e,i,n){var s=e&&e.prototype instanceof d?e:d,o=Object.create(s.prototype),a=new $(n||[]);return r(o,"_invoke",{value:_(t,i,a)}),o}function c(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=h;var u={};function d(){}function f(){}function p(){}var m={};l(m,s,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(S([])));v&&v!==e&&i.call(v,s)&&(m=v);var y=p.prototype=d.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function n(r,s,o,a){var l=c(t[r],t,s);if("throw"!==l.type){var h=l.arg,u=h.value;return u&&"object"==typeof u&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,o,a)}),(function(t){n("throw",t,o,a)})):e.resolve(u).then((function(t){h.value=t,o(h)}),(function(t){return n("throw",t,o,a)}))}a(l.arg)}var s;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return s=s?s.then(r,r):r()}})}function _(t,e,i){var r="suspendedStart";return function(n,s){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===n)throw s;return E()}for(i.method=n,i.arg=s;;){var o=i.delegate;if(o){var a=x(o,i);if(a){if(a===u)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===r)throw r="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r="executing";var l=c(t,e,i);if("normal"===l.type){if(r=i.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r="completed",i.method="throw",i.arg=l.arg)}}}function x(t,e){var i=e.method,r=t.iterator[i];if(void 0===r)return e.delegate=null,"throw"===i&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),u;var n=c(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var s=n.arg;return s?s.done?(e[t.resultName]=s.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):s:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function $(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,r(y,"constructor",{value:p,configurable:!0}),r(p,"constructor",{value:f,configurable:!0}),f.displayName=l(p,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}}
vendor: 4,138 bytes, line 1
1,w(b.prototype),l(b.prototype,o,(function(){return this})),t.AsyncIterator=b,t.async=function(e,i,r,n,s){void 0===s&&(s=Promise);var o=new b(h(e,i,r,n),s);return t.isGeneratorFunction(i)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(y),l(y,a,"Generator"),l(y,s,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),i=[];for(var r in e)i.push(r);return i.reverse(),function t(){for(;i.length;){var r=i.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=S,$.prototype={constructor:$,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(i,r){return o.type="throw",o.arg=t,e.next=i,r&&(e.method="next",e.arg=void 0),!!r}for(var n=this.tryEntries.length-1;n>=0;--n){var s=this.tryEntries[n],o=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var a=i.call(s,"catchLoc"),l=i.call(s,"finallyLoc");if(a&&l){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(a){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var s=n;break}}s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc&&(s=null);var o=s?s.completion:{};return o.type=t,o.arg=e,s?(this.method="next",this.next=s.finallyLoc,u):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),T(i),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var n=r.arg;T(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:S(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),u}},t}function Ml(t,e,i,r,n,s,o){try{var a=t[s](o),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(r,n)}function Ll(t){return function(){var e=this,i=arguments;return new Promise((function(r,n){var s=t.apply(e,i);function o(t){Ml(s,r,n,o,a,"next",t)}function a(t){Ml(s,r,n,o,a,"throw",t)}o(void 0)}))}}function Al(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Yl(r.key),r)}}function Ol(t,e,i){return e&&Pl(t.prototype,e),i&&Pl(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function Rl(t,e,i){return(e=Yl(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Il(t)}function ql(t,e){return ql=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ql(t,e)}function zl(){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}}function Dl(t,e,i){return Dl=zl()?Reflect.construct.bind():function(t,e,
1i){var r=[null];r.push.apply(r,e);var n=new(Function.bind.apply(t,r));return i&&ql(n,i.prototype),n},Dl.apply(null,arguments)}function Fl(t){var e="function"==typeof Map?new Map:void 0;return Fl=function(t){if(null===t||(i=t,-1===Function.toString.call(i).indexOf("[native code]")))return t;var i;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return Dl(t,arguments,Il(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ql(r,t)},Fl(t)}function Nl(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bl(t){var e=zl();return function(){var i,r=Il(t);if(e){var n=Il(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Nl(t)}(this,i)}}function Yl(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var jl="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function Wl(t,e){return 0===t.indexOf(e.toLowerCase())?t:"".concat(e.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function Vl(t){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(t)}function Hl(t){return/^https:\/\/player\.vimeo\.com\/video\/\d+/.test(t)}function Xl(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.id,r=e.url,n=i||r;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(t=n,!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t)return"https://vimeo.com/".concat(n);if(Vl(n))return n.replace("http:","https:");if(i)throw new TypeError("\u201c".concat(i,"\u201d is not a valid video id."));throw new TypeError("\u201c".concat(n,"\u201d is not a vimeo.com url."))}var Ul=function(t,e,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",s="string"==typeof e?[e]:e;return s.forEach((function(e){t[r](e,i)})),{cancel:function(){return s.forEach((function(e){return t[n](e,i)}))}}},Gl=void 0!==Array.prototype.indexOf,Jl="undefined"!=typeof window&&void 0!==window.postMessage;if(!(jl||Gl&&Jl))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Ql="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(t){if(!t.WeakMap){var e=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),r=function(t,e,r){i?Object.defineProperty(t,e,{configurable:!0,writable:!0,value:r}):t[e]=r};t.WeakMap=function(){function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap"+"_"+s()+"."+s()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function i(t,i){if(!n(t)||!e.call(t,"_id"))throw new TypeError(i+" method called on incompatible receiver "+typeof t)}function s(){return Math.random().toString().substring(2)}return r(t.prototype,"delete",(function(t){if(i(this,"delete"),!n(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)&&(delete t[this._id],!0)})),r(t.prototype,"get",(function(t){if(i(this,"get"),n(t)){var e=t[this._id];return e&&e[0]===t?e[1]:void 0}})),r(t.prototype,"has",(function(t){if(i(this,"has"),!n(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)})),r(t.prototype,"set",(function(t,e){if(i(this,"set"),!n(t))throw new TypeError("Invalid value used as weak map key");var s=t[this._id];return s&&s[0]===t?(s[1]=e,this):(r(t,this._id,[t,e]),this)})),r(t,"_polyfill",!0),t}()}function n(t){return Object(t)===t}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Ql);var Kl,Zl,th=(Kl=function(t){var e,i,r;r=function(){var t,e,i,r=Object.prototype.toString,n="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}
vendor: 5,194 bytes, line 1
1),t=function(t,e,i,r){return Object.defineProperty(t,e,{value:i,writable:!0,configurable:!1!==r})}}catch(e){t=function(t,e,i){return t[e]=i,t}}function s(t,r){i.add(t,r),e||(e=n(i.drain))}function o(t){var e,i=typeof t;return null==t||"object"!=i&&"function"!=i||(e=t.then),"function"==typeof e&&e}function a(){for(var t=0;t<this.chain.length;t++)l(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function l(t,e,i){var r,n;try{!1===e?i.reject(t.msg):(r=!0===e?t.msg:e.call(void 0,t.msg))===i.promise?i.reject(TypeError("Promise-chain cycle")):(n=o(r))?n.call(r,i.resolve,i.reject):i.resolve(r)}catch(t){i.reject(t)}}function h(t){var e,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(e=o(t))?s((function(){var r=new d(i);try{e.call(t,(function(){h.apply(r,arguments)}),(function(){c.apply(r,arguments)}))}catch(t){c.call(r,t)}})):(i.msg=t,i.state=1,i.chain.length>0&&s(a,i))}catch(t){c.call(new d(i),t)}}}function c(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&s(a,e))}function u(t,e,i,r){for(var n=0;n<e.length;n++)!function(n){t.resolve(e[n]).then((function(t){i(n,t)}),r)}(n)}function d(t){this.def=t,this.triggered=!1}function f(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function p(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var e=new f(this);this.then=function(t,i){var r={success:"function"!=typeof t||t,failure:"function"==typeof i&&i};return r.promise=new this.constructor((function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");r.resolve=t,r.reject=e})),e.chain.push(r),0!==e.state&&s(a,e),r.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,(function(t){h.call(e,t)}),(function(t){c.call(e,t)}))}catch(t){c.call(e,t)}}i=function(){var t,i,r;function n(t,e){this.fn=t,this.self=e,this.next=void 0}return{add:function(e,s){r=new n(e,s),i?i.next=r:t=r,i=r,r=void 0},drain:function(){var r=t;for(t=i=e=void 0;r;)r.fn.call(r.self),r=r.next}}}();var m=t({},"constructor",p,!1);return p.prototype=m,t(m,"__NPO__",0,!1),t(p,"resolve",(function(t){return t&&"object"==typeof t&&1===t.__NPO__?t:new this((function(e,i){if("function"!=typeof e||"function"!=typeof i)throw TypeError("Not a function");e(t)}))})),t(p,"reject",(function(t){return new this((function(e,i){if("function"!=typeof e||"function"!=typeof i)throw TypeError("Not a function");i(t)}))})),t(p,"all",(function(t){var e=this;return"[object Array]"!=r.call(t)?e.reject(TypeError("Not an array")):0===t.length?e.resolve([]):new e((function(i,r){if("function"!=typeof i||"function"!=typeof r)throw TypeError("Not a function");var n=t.length,s=Array(n),o=0;u(e,t,(function(t,e){s[t]=e,++o===n&&i(s)}),r)}))})),t(p,"race",(function(t){var e=this;return"[object Array]"!=r.call(t)?e.reject(TypeError("Not an array")):new e((function(i,r){if("function"!=typeof i||"function"!=typeof r)throw TypeError("Not a function");u(e,t,(function(t,e){i(e)}),r)}))})),p},(i=Ql)[e="Promise"]=i[e]||r(),t.exports&&(t.exports=i[e])},Kl(Zl={exports:{}},Zl.exports),Zl.exports),eh=new WeakMap;function ih(t,e,i){var r=eh.get(t.element)||{};e in r||(r[e]=[]),r[e].push(i),eh.set(t.element,r)}function rh(t,e){return(eh.get(t.element)||{})[e]||[]}function nh(t,e,i){var r=eh.get(t.element)||{};if(!r[e])return!0;if(!i)return r[e]=[],eh.set(t.element,r),!0;var n=r[e].indexOf(i);return-1!==n&&r[e].splice(n,1),eh.set(t.element,r),r[e]&&0===r[e].length}function sh(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return console.warn(t),{}}return t}function oh(t,e,i){if(t.element.contentWindow&&t.element.contentWindow.postMessage){var r={method:e};void 0!==i&&(r.value=i);var n=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));n>=8&&n<10&&(r=JSON.stringify(r)),t.element.contentWindow.postMessage(r,t.origin)}}function ah(t,e){var i,r=[];if((e=sh(e)).event){if("error"===e.event)rh(t,e.data.method).forEach((function(i){var r=new Error(e.data.message);r.name=e.data.name,i.reject(r),nh(t,e.data.method,i)}));r=rh(t,"event:".concat(e.event)),i=e.data}else if(e.method){var n=function(t,e){var i=rh(t,e);if(i.length<1)return!1;var r=i.shift();return nh(t,e,r),r}(t,e.method);n&&(r.push(n),i=e.value)}r.forEach((function(e){try{if("function"==typeof e)return void e.call(t,i);e.resolve(i)}catch(t){}}))}var lh=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapters","chromecast","color","colors","controls","dnt","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","texttrack","title","transcript","transparent","url","vimeo_logo","volume","width"];function hh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return lh.reduce((function(e,i){var r=t.getAttribute("data-vimeo-".concat(i));return(r||""===r)&&(e[i]=""===r?1:r),e}),e)}function ch(t,e){var i=t.html;if(!e)throw new TypeError("An element must be provided");
1if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=i,e.appendChild(r.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function uh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise((function(r,n){if(!Vl(t))throw new TypeError("\u201c".concat(t,"\u201d is not a vimeo.com url."));var s="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(t));for(var o in e)e.hasOwnProperty(o)&&(s+="&".concat(o,"=").concat(encodeURIComponent(e[o])));var a="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;a.open("GET",s,!0),a.onload=function(){if(404!==a.status)if(403!==a.status)try{var e=JSON.parse(a.responseText);if(403===e.domain_status_code)return ch(e,i),void n(new Error("\u201c".concat(t,"\u201d is not embeddable.")));r(e)}catch(t){n(t)}else n(new Error("\u201c".concat(t,"\u201d is not embeddable.")));else n(new Error("\u201c".concat(t,"\u201d was not found.")))},a.onerror=function(){var t=a.status?" (".concat(a.status,")"):"";n(new Error("There was an error fetching the embed code from Vimeo".concat(t,".")))},a.send()}))}var dh={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},fh=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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ql(t,e)}(s,t);var e,i,r,n=Bl(s);function s(t,e){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;return Al(this,s),Rl(Nl(i=n.call(this)),"logger",void 0),Rl(Nl(i),"speedAdjustment",0),Rl(Nl(i),"adjustSpeed",function(){var t=Ll(Cl().mark((function t(e,r){var n;return Cl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i.speedAdjustment!==r){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.getPlaybackRate();case 4:return t.t0=t.sent,t.t1=i.speedAdjustment,t.t2=t.t0-t.t1,t.t3=r,n=t.t2+t.t3,i.log("New playbackRate: ".concat(n)),t.next=12,e.setPlaybackRate(n);case 12:i.speedAdjustment=r;case 13:case"end":return t.stop()}}),t)})));return function(e,i){return t.apply(this,arguments)}}()),i.logger=o,i.init(e,t,El(El({},dh),r)),i}return Ol(s,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(r=Ll(Cl().mark((function t(e,i,r){var n,s,o,a=this;return Cl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.waitForTOReadyState(e,"open");case 2:if("viewer"!==r.role){t.next=10;break}return t.next=5,this.updatePlayer(e,i,r);case 5:n=Ul(e,"change",(function(){return a.updatePlayer(e,i,r)})),s=this.maintainPlaybackPosition(e,i,r),this.addEventListener("disconnect",(function(){s.cancel(),n.cancel()})),t.next=14;break;case 10:return t.next=12,this.updateTimingObject(e,i);case 12:o=Ul(i,["seeked","play","pause","ratechange"],(function(){return a.updateTimingObject(e,i)}),"on","off"),this.addEventListener("disconnect",(function(){return o.cancel()}));case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,i){return r.apply(this,arguments)})},{key:"updateTimingObject",value:(i=Ll(Cl().mark((function t(e,i){return Cl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=e,t.next=3,i.getCurrentTime();case 3:return t.t1=t.sent,t.next=6,i.getPaused();case 6:if(!t.sent){t.next=10;break}t.t2=0,t.next=13;break;case 10:return t.next=12,i.getPlaybackRate();case 12:t.t2=t.sent;case 13:t.t3=t.t2,t.t4={position:t.t1,velocity:t.t3},t.t0.update.call(t.t0,t.t4);case 16:case"end":return t.stop()}}),t)}))),function(t,e){return i.apply(this,arguments)})},{key:"updatePlayer",value:(e=Ll(Cl().mark((function t(e,i,r){var n,s,o;return Cl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.query(),s=n.position,o=n.velocity,"number"==typeof s&&i.setCurrentTime(s),"number"!=typeof o){t.next=25;break}if(0!==o){t.next=11;break}return t.next=6,i.getPaused();case 6:if(t.t0=t.sent,!1!==t.t0){t.next=9;break}i.pause();case 9:t.next=25;break;case 11:if(!(o>0)){t.next=25;break}return t.next=14,i.getPaused();case 14:if(t.t1=t.sent,!0!==t.t1){t.next=19;break}return t.next=18,i.play().catch(function(){var t=Ll(Cl().mark((function t(e){return Cl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("NotAllowedError"!==e.name||!r.autoPlayMuted){t.next=5;break}return t.next=3,i.setMuted(!0);case 3:return t.next=5,i.play().catch((function(t){return console.error("Couldn't play the video from TimingSrcConnector. Error:",t)}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 18:this.updatePlayer(e,i,r);case 19:return t.next=21,i.getPlaybackRate();case 21:if(t.t2=t.sent,t.t3=o,t.t2===t.t3){t.next=25;break}i.setPlaybackRate(o);case 25:case"end":return t.stop()}}),t,this)}))),function(t,i,r){return e.apply(this,arguments)})}
1,{key:"maintainPlaybackPosition",value:function(t,e,i){var r=this,n=i.allowedDrift,s=i.maxAllowedDrift,o=i.minCheckInterval,a=i.maxRateAdjustment,l=i.maxTimeToCatchUp,h=1e3*Math.min(l,Math.max(o,s)),c=function(){var i=Ll(Cl().mark((function i(){var o,h,c,u,d;return Cl().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(i.t0=0===t.query().velocity,i.t0){i.next=6;break}return i.next=4,e.getPaused();case 4:i.t1=i.sent,i.t0=!0===i.t1;case 6:if(!i.t0){i.next=8;break}return i.abrupt("return");case 8:return i.t2=t.query().position,i.next=11,e.getCurrentTime();case 11:if(i.t3=i.sent,o=i.t2-i.t3,h=Math.abs(o),r.log("Drift: ".concat(o)),!(h>s)){i.next=22;break}return i.next=18,r.adjustSpeed(e,0);case 18:e.setCurrentTime(t.query().position),r.log("Resync by currentTime"),i.next=29;break;case 22:if(!(h>n)){i.next=29;break}return d=(c=h/l)<(u=a)?(u-c)/2:u,i.next=28,r.adjustSpeed(e,d*Math.sign(o));case 28:r.log("Resync by playbackRate");case 29:case"end":return i.stop()}}),i)})));return function(){return i.apply(this,arguments)}}(),u=setInterval((function(){return c()}),h);return{cancel:function(){return clearInterval(u)}}}},{key:"log",value:function(t){var e;null===(e=this.logger)||void 0===e||e.call(this,"TimingSrcConnector: ".concat(t))}},{key:"waitForTOReadyState",value:function(t,e){return new Promise((function(i){!function r(){t.readyState===e?i():t.addEventListener("readystatechange",r,{once:!0})}()}))}}]),s}(Fl(EventTarget)),ph=new WeakMap,mh=new WeakMap,gh={},vh=function(){function t(e){var i=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Al(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(t){return Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){var n=e.querySelector("iframe");n&&(e=n)}if("IFRAME"===e.nodeName&&!Vl(e.getAttribute("src")||""))throw new Error("The player element passed isn\u2019t a Vimeo embed.");if(ph.has(e))return ph.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var s=new th((function(t,n){if(i._onMessage=function(e){if(Vl(e.origin)&&i.element.contentWindow===e.source){"*"===i.origin&&(i.origin=e.origin);var r=sh(e.data);if(r&&"error"===r.event&&r.data&&"ready"===r.data.method){var s=new Error(r.data.message);return s.name=r.data.name,void n(s)}var o=r&&"ready"===r.event,a=r&&"ping"===r.method;if(o||a)return i.element.setAttribute("data-ready","true"),void t();ah(i,r)}},i._window.addEventListener("message",i._onMessage),"IFRAME"!==i.element.nodeName){var s=hh(e,r);uh(Xl(s),s,e).then((function(t){var r,n,s,o=ch(t,e);return i.element=o,i._originalElement=e,r=e,n=o,s=eh.get(r),eh.set(n,s),eh.delete(r),ph.set(i.element,i),t})).catch(n)}}));if(mh.set(this,s),ph.set(this.element,this),"IFRAME"===this.element.nodeName&&oh(this,"ping"),gh.isEnabled){var o=function(){return gh.exit()};this.fullscreenchangeHandler=function(){gh.isFullscreen?ih(i,"event:exitFullscreen",o):nh(i,"event:exitFullscreen",o),i.ready().then((function(){oh(i,"fullscreenchange",gh.isFullscreen)}))},gh.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var e;return Ol(t,[{key:"callMethod",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new th((function(r,n){return e.ready().then((function(){ih(e,t,{resolve:r,reject:n}),oh(e,t,i)})).catch(n)}))}},{key:"get",value:function(t){var e=this;return new th((function(i,r){return t=Wl(t,"get"),e.ready().then((function(){ih(e,t,{resolve:i,reject:r}),oh(e,t)})).catch(r)}))}},{key:"set",value:function(t,e){var i=this;return new th((function(r,n){if(t=Wl(t,"set"),null==e)throw new TypeError("There must be a value to set.");return i.ready().then((function(){ih(i,t,{resolve:r,reject:n}),oh(i,t,e)})).catch(n)}))}},{key:"on",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(!e)throw new TypeError("You must pass a callback function.");
1if("function"!=typeof e)throw new TypeError("The callback must be a function.");0===rh(this,"event:".concat(t)).length&&this.callMethod("addEventListener",t).catch((function(){})),ih(this,"event:".concat(t),e)}},{key:"off",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(e&&"function"!=typeof e)throw new TypeError("The callback must be a function.");nh(this,"event:".concat(t),e)&&this.callMethod("removeEventListener",t).catch((function(t){}))}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=mh.get(this)||new th((function(t,e){e(new Error("Unknown player. Probably unloaded."))}));return th.resolve(t)}},{key:"addCuePoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:e})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,e){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:e})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return gh.isEnabled?gh.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return gh.isEnabled?gh.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return gh.isEnabled?th.resolve(gh.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new th((function(e){if(mh.delete(t),ph.delete(t.element),t._originalElement&&(ph.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&"DIV"===t.element.nodeName&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var i=t.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&t._originalElement&&t._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}t._window.removeEventListener("message",t._onMessage),gh.isEnabled&&gh.off("fullscreenchange",t.fullscreenchangeHandler),e()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return th.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new th((function(t,e){return e(new TypeError("Argument must be an array."))}));var e=new th((function(t){return t(null)})),i=[t[0]?this.set("colorOne",t[0]):e,t[1]?this.set("colorTwo",t[1]):e,t[2]?this.set("colorThree",t[2]):e,t[3]?this.set("colorFour",t[3]):e];return th.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}
1},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:(e=Ll(Cl().mark((function t(e,i){var r,n=this;return Cl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return t.next=4,this.ready();case 4:return r=new fh(this,e,i),oh(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",(function(){return oh(n,"notifyTimingObjectDisconnect")})),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t,this)}))),function(t,i){return e.apply(this,arguments)})}]),t}();jl||(gh=function(){var t=function(){for(var t,e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,r=e.length,n={};i<r;i++)if((t=e[i])&&t[1]in document){for(i=0;i<t.length;i++)n[e[0][i]]=t[i];return n}return!1}(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},i={request:function(e){return new Promise((function(r,n){var s=function t(){i.off("fullscreenchange",t),r()};i.on("fullscreenchange",s);var o=(e=e||document.documentElement)[t.requestFullscreen]();o instanceof Promise&&o.then(s).catch(n)}))},exit:function(){return new Promise((function(e,r){if(i.isFullscreen){var n=function t(){i.off("fullscreenchange",t),e()};i.on("fullscreenchange",n);var s=document[t.exitFullscreen]();s instanceof Promise&&s.then(n).catch(r)}else e()}))},on:function(t,i){var r=e[t];r&&document.addEventListener(r,i)},off:function(t,i){var r=e[t];r&&document.removeEventListener(r,i)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return Boolean(document[t.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[t.fullscreenEnabled])}}}),i}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(t){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(t))};e.forEach((function(t){try{if(null!==t.getAttribute("data-vimeo-defer"))return;var e=hh(t);uh(Xl(e),e,t).then((function(e){return ch(e,t)})).catch(i)}catch(t){i(t)}}))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",(function(e){if(Vl(e.origin)&&e.data&&"spacechange"===e.data.event)for(var i=t.querySelectorAll("iframe"),r=0;r<i.length;r++)if(i[r].contentWindow===e.source){i[r].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}}
1)))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",(function(e){if(Vl(e.origin)){var i=sh(e.data);if(i&&"ready"===i.event)for(var r=t.querySelectorAll("iframe"),n=0;n<r.length;n++){var s=r[n],o=s.contentWindow===e.source;Hl(s.src)&&o&&new vh(s).callMethod("appendVideoMetadata",window.location.href)}}})))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(t){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(t))};window.addEventListener("message",(function(i){if(Vl(i.origin)){var r=sh(i.data);if(r&&"ready"===r.event)for(var n=t.querySelectorAll("iframe"),s=function(){var t=n[o],r=t.contentWindow===i.source;if(Hl(t.src)&&r){var s=new vh(t);s.getVideoId().then((function(t){var e=new RegExp("[?&]vimeo_t_".concat(t,"=([^&#]*)")).exec(window.location.href);if(e&&e[1]){var i=decodeURI(e[1]);s.setCurrentTime(i)}})).catch(e)}},o=0;o<n.length;o++)s()}}))}}());var yh=vh;const wh=[{name:"home",Class:class extends kl{init(){D.isOverflow=!0,this.destroyLast=!0,this.clicked=!1,this.videoIndex=0,this.oldIndex=-1,this.sliderIndex=0,this.currentSlideIndex=0,this.oldSlideIndex=0,this.oldLastIndex=-1,document.body.classList.add("overflow-y-scroll"),document.documentElement.classList.add("no-scroll"),this.isDown=!1,this.drag={start:{y:0},end:{y:0},y:0,speed:2,progress:0,dragging:!1,canDrag:!0},this.mm=new Tl({cb:this.move,mobile:!0}),this.alreadyLoaded="true"===sessionStorage.getItem("loaded"),Sn.set(this.$logoLetters,{x:-165}),!D.isFirstLoaded&&!this.alreadyLoaded&&Sn.set(this.$logo,{autoAlpha:0}),this.loadMainVideo(),this.initSlider()}bindMethods(){this.down=this.down.bind(this),this.up=this.up.bind(this),this.move=this.move.bind(this),this.onResize=this.onResize.bind(this)}beforeAppear(){D.detect.isMobile||D.w.w<1200?(this.$path1.style.transform="translateX(0)",this.$path2.style.transform="translateX(0)",this.$path3.style.transform="translateX(0)"):(Sn.set(this.$path1,{x:-155}),Sn.set(this.$path2,{x:-273}),Sn.set(this.$path3,{x:-500}))}getElems(){this.$header=document.querySelector(".header"),this.$bg=document.querySelector(".header-bg"),this.$wrapper=document.querySelector(".home-wrapper"),this.$mainVideo=this.$el.querySelector(".home-main-video"),this.$mainVideoOverlay=this.$el.querySelector(".home-main-video-overlay"),this.$works=this.$el.querySelectorAll(".home-work"),this.$videos=this.$el.querySelectorAll(".home-work-video"),this.$items=this.$el.querySelectorAll(".home-item"),this.$logo=this.$el.querySelector(".home-logo"),this.$itemsWrapper=this.$el.querySelector(".list-o"),this.$images=this.$el.querySelectorAll(".home-image"),this.$mobileNextButtons=this.$el.querySelectorAll(".home-next"),this.$logoClip=this.$el.querySelector(".home-logo-clip"),this.$logoLetters=this.$el.querySelectorAll(".letter"),this.$path1=this.$el.querySelector(".logo-home-path-1"),this.$path2=this.$el.querySelector(".logo-home-path-2"),this.$path3=this.$el.querySelector(".logo-home-path-3"),this.$titles=this.$el.querySelectorAll(".home-item-title"),this.$clients=this.$el.querySelectorAll(".home-item-client"),!D.detect.isMobile&&Sn.set([this.$titles,this.$clients],{yPercent:-110})}events(){for(let t=0;t<this.$items.length;t++)this.$items[t].addEventListener("click",(()=>{this.onMouseLeave(t),this.$itemsWrapper.classList.remove("list-o"),this.clicked=!0}));window.addEventListener("resize",this.onResize);for(let t=0;t<this.$mobileNextButtons.length;t++)this.$mobileNextButtons[t].addEventListener("click",this.onClick.bind(this));!D.isFirstLoaded&&window.addEventListener("setHomeVideo",(()=>{this.$mainVideo.currentTime=D.currentTime,this.$mainVideo.play(),Sn.set(this.$logo,{autoAlpha:1})})),D.detect.isMobile&&(document.body.addEventListener("touchstart",this.down),document.body.addEventListener("touchend",this.up))}appear(){this.$header.classList.add("transparent"),this.$bg.classList.add("transparent"),this.mm.on();for(let t=0;t<this.$items.length;t++)this.$items[t].addEventListener("mouseenter",this.onMouseEnter.bind(this,t)),this.$items[t].addEventListener("mouseleave",this.onMouseLeave.bind(this,t));if(!D.detect.isMobile){Sn.timeline({defaults:{ease:"expo.out",duration:1}}).to(this.$titles,{yPercent:0,ease:"expo.out",stagger:.03,duration:.8},0).to(this.$clients,{yPercent:0,ease:"expo.out",stagger:.03,duration:.8},.2).to(this.$logoLetters,{x:0,ease:"expo.out",duration:1,stagger:.1}
1,.1).fromTo(this.$path1,{x:-155},{x:0},0).fromTo(this.$path2,{x:-273},{x:-122},0).to(this.$path3,{x:-99},0).to(this.$path2,{x:0},"<15%").to(this.$path3,{x:0},"<15%").to(this.$logo,{scale:1,ease:"expo.out",duration:1},.1)}}destroy(){D.isOverflow=!1,window.removeEventListener("resize",this.onResize),this.mm.off(),this.$header.classList.remove("transparent"),this.$bg.classList.remove("transparent"),document.documentElement.classList.remove("no-scroll"),document.body.classList.remove("dark-force"),!D.isDark&&document.body.classList.remove("dark","dark-home")}destroyCompleted(){!D.isOverflow&&document.body.classList.remove("overflow-y-scroll")}initSlider(){if(D.detect.isMobile||D.w.w<=1200){document.body.classList.add("dark-force","dark"),document.querySelector('meta[name="theme-color"]').setAttribute("content","#000"),this.wrapperRect=this.$wrapper.getBoundingClientRect(),this.$videos[0].play().then((()=>{})).catch((t=>{if("NotAllowedError"===t.name)for(let t=0;t<this.$videos.length;t++)this.$videos[t].classList.add("opacity-0")})),Sn.set(this.$works[0],{opacity:1});for(let t=0;t<this.$items.length;t++){const e=this.$items[t].getBoundingClientRect();this.initialPosition=this.wrapperRect.height-(this.$itemsWrapper.getBoundingClientRect().top-this.wrapperRect.top),0===t?(this.$videos[t].currentTime=0,Sn.set(this.$items[t],{y:0}),Sn.set(this.$works[t],{opacity:1})):(Sn.set(this.$works[t],{opacity:0}),Sn.set(this.$items[t],{y:this.initialPosition-2*e.height+e.height*(t-1),opacity:.3}))}}else Sn.set(this.$works,{opacity:0,clearProps:"opacity"}),document.body.classList.remove("dark-force"),document.querySelector('meta[name="theme-color"]').setAttribute("content",D.isDark?"#fff":"#000")}down(t){this.isAnimating||(this.isDown=!0,this.drag.start.y=t.changedTouches?t.changedTouches[0].clientY*this.drag.speed:t.clientY*this.drag.speed)}move(t,e){this.drag.canDrag&&this.isDown&&(this.drag.dragging=Math.abs(e-this.drag.start.y)>=4,this.drag.y=this.drag.end.y+e*this.drag.speed-this.drag.start.y,this.drag.dragging&&!this.isDragging&&(this.isDragging=!0,this.onDrag()),this.drag.progress=Sn.utils.clamp(0,1,-this.drag.y/(1.5*D.w.h)),D.cancelAnimation(this.dragAnimation),this.dragAnimation=Sn.to(this.slideTL,{progress:this.drag.progress,ease:"power1.out",duration:.5}))}onDrag(){this.slide()}up(){this.drag.dragging&&this.drag.canDrag&&(this.isDown=!1,this.drag.canDrag=!1,this.drag.end.x=this.drag.x,setTimeout((()=>{this.drag.canDrag=!0}),600),this.drag.dragging&&(D.cancelAnimation(this.dragAnimation),this.drag.progress>.15?this.progressTL=Sn.to(this.slideTL,{progress:1,ease:"linear",duration:.6}):(this.isAnimating=!1,this.sliderIndex--,this.currentSlideIndex=Sn.utils.wrap(0,this.$items.length,this.sliderIndex),this.oldSlideIndex=this.currentSlideIndex,this.resetTL=Sn.to(this.slideTL,{progress:0,ease:"expo.out",duration:.5}))),this.drag.start.y=0,this.drag.end.y=0,this.drag.progress=0,this.drag.dragging=!1,this.isDragging=!1)}onClick(){(D.detect.isMobile||D.w.w<=1024)&&this.slide(!1)}slide(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.isAnimating)return;D.cancelAnimation(this.slideTL),this.isAnimating=!0,this.sliderIndex++,this.currentSlideIndex=Sn.utils.wrap(0,this.$items.length,this.sliderIndex);const e=this.oldSlideIndex,i=Sn.timeline({paused:t,onStart:()=>{this.$videos[this.currentSlideIndex].currentTime=0,this.$videos[this.currentSlideIndex].play()},onComplete:()=>{this.isAnimating=!1,this.$videos[e].pause()}});for(let t=0;t<this.$items.length;t++){const e=this.$items[t].getBoundingClientRect(),r=Sn.utils.wrap(0,this.$items.length,t-this.sliderIndex);0===r?i.to(this.$items[t],{y:0,opacity:1,ease:"expo.out",duration:.6},0):r===this.$items.length-1?i.to(this.$items[t],{opacity:0,ease:"alpha",duration:.25},0):i.to(this.$items[t],{y:this.initialPosition-2*e.height-e.height*(t+1)+e.height*(t+r),opacity:r<=2?.3:0,ease:"expo.out",duration:.8},0)}i.to(this.$works[this.currentSlideIndex],{opacity:1,ease:"alpha",duration:.1},"<50%").to(this.$works[this.oldSlideIndex],{opacity:0,ease:"alpha",duration:.1},"<"),this.slideTL=i,this.oldSlideIndex=this.currentSlideIndex}loadMainVideo(){this.$mainVideo.src=this.$mainVideo.dataset.src,this.$mainVideo.onloadeddata=()=>{this.$mainVideoOverlay.classList.add("opacity-0"),this.$mainVideo.play()}}onMouseEnter(t){this.clicked||(clearTimeout(this.sT),this.currentIndex=t,!D.isDark&&document.body.classList.add("dark","dark-home"),this.$images[t].classList.remove("opacity-0"),this.$works[this.currentIndex].classList.remove("opacity-0"),this.$videos[this.currentIndex].play(),this.$mainVideo.pause(),this.oldIndex>-1&&(this.$works[this.oldIndex].classList.add("opacity-0"),this.$videos[this.oldIndex].pause()))}onMouseLeave(t){this.clicked||(this.oldIndex=t,this.$images[t].classList.add("opacity-0"),this.sT=setTimeout((()=>{!D.isDark&&document.body.classList.remove("dark","dark-home"),this.$works[t].classList.add("opacity-0"),this.$videos[t].pause(),this.oldIndex=-1,this.$mainVideo.play()}),10))}onResize(){Sn.set(this.$el,{opacity:0}
1)}resizeX(){this.currentSlideIndex=0,this.oldSlideIndex=0,this.sliderIndex=0,Sn.set(this.$items,{y:0,opacity:1,clearProps:"opacity"}),this.initSlider(),Sn.set(this.$el,{opacity:1})}}},{name:"about",Class:class extends kl{init(){this.$images[0].classList.remove("opacity-0"),this.initTriggers()}bindMethods(){this.showColumn=this.showColumn.bind(this)}getElems(){this.anchors=[],this.$header=document.querySelector("header"),this.$mainColumn=this.$el.querySelector(".main-column"),this.$thumbnails=this.$el.querySelectorAll(".list-o-item-50"),this.$images=this.$el.querySelectorAll(".about-gallery-image"),this.$anchors=this.$el.querySelectorAll(".anchor"),this.$wrapper=this.$el.querySelector(".about-wrapper"),this.$services=this.$el.querySelector(".about-services"),!D.detect.isMobile&&Sn.set(this.$services,{autoAlpha:0});for(let t=0;t<this.$anchors.length;t++)this.anchors.push({target:this.$anchors[t],anchor:this.$el.querySelector(`[data-anchor=${this.$anchors[t].dataset.target}]`)})}events(){for(let t=0;t<this.$thumbnails.length;t++)this.$thumbnails[t].addEventListener("click",this.onThumbnailClick.bind(this,t));for(let t=0;t<this.anchors.length;t++)this.anchors[t].target.addEventListener("click",this.scrollTo.bind(this,this.anchors[t].anchor,!1));!D.detect.isMobile&&window.addEventListener("show-column",this.showColumn)}appear(){setTimeout((()=>{this.checkUrl()}),850),!D.detect.isMobile&&Sn.to(this.$services,{autoAlpha:1,ease:"alpha",duration:.6,delay:.7})}destroy(){window.removeEventListener("show-column",this.showColumn)}showColumn(){Sn.set(this.$anchors,{y:(t,e)=>-e.getBoundingClientRect().bottom-this.$mainColumn.getBoundingClientRect().top}),Sn.to(this.$anchors,{y:0,stagger:.02,ease:"expo.out",duration:.8}),this.$mainColumn.classList.remove("opacity-0")}checkUrl(){const t=window.location.hash;if(t){const e=this.$el.querySelector(`[data-anchor=${t.substring(1)}`);this.scrollTo(e)}}initTriggers(){for(let t=0;t<this.anchors.length;t++)D.scrollTrigger.create({trigger:this.anchors[t].anchor,start:"top top+=50%",end:"bottom top+=50%",onEnter:()=>{for(let e=0;e<this.anchors.length;e++)this.anchors[e].target.classList.toggle("a",this.anchors[t].anchor.dataset.anchor===this.anchors[e].anchor.dataset.anchor)},onEnterBack:()=>{for(let e=0;e<this.anchors.length;e++)this.anchors[e].target.classList.toggle("a",this.anchors[t].anchor.dataset.anchor===this.anchors[e].anchor.dataset.anchor)}})}scrollTo(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];D.smoothScroll.scrollTo(t,{offset:-this.$header.getBoundingClientRect().bottom-D.remToPixel(1),immediate:e,force:!0})}onThumbnailClick(t){for(let e=0;e<this.$thumbnails.length;e++)this.$thumbnails[e].classList.toggle("a",e===t);for(let e=0;e<this.$images.length;e++)this.$images[e].classList.toggle("opacity-0",e!==t)}}},{name:"contact",Class:class extends kl{init(){D.isOverflow=!0,this.destroyLast=!0,document.body.classList.add("overflow-y-scroll")}bindMethods(){this.showColumn=this.showColumn.bind(this)}getElems(){this.$mainColumn=this.$el.querySelector(".main-column"),this.$content=this.$el.querySelector(".main-column-content")}events(){!D.detect.isMobile&&window.addEventListener("show-column",this.showColumn)}destroy(){D.isOverflow=!1,window.removeEventListener("show-column",this.showColumn)}destroyCompleted(){!D.isOverflow&&document.body.classList.remove("overflow-y-scroll")}showColumn(){Sn.fromTo(this.$content,{autoAlpha:0},{autoAlpha:1,ease:"alpha",duration:.3}),this.$mainColumn.classList.remove("opacity-0")}}},{name:"slider",Class:class extends kl{init(){this.drag={target:0,current:0,currentR:0,start:0,end:0,max:0},this.isHover=!1,this.currentIndex=0,this.currentDragIndex=0,D.detect.isMobile||(this.mm=new Tl({cb:this.move}))}bindMethods(){this.down=this.down.bind(this),this.up=this.up.bind(this),this.move=this.move.bind(this)}getElems(){this.$slider=this.$el.querySelector(".slider-wrapper"),this.$items=this.$el.querySelectorAll(".slider-item"),this.$last=this.$el.querySelector(".slider-item:last-child")}events(){D.detect.isMobile||(this.$el.addEventListener("mousedown",this.down),this.$el.addEventListener("mouseup",this.up),this.$el.addEventListener("mouseleave",this.up))}appear(){this.setup(),this.mm&&this.mm.on()}destroy(){this.mm&&this.mm.off()}setup(){this.drag.target=0,this.drag.current=0,this.drag.currentR=0,this.drag.end=0,this.$slider.style.transform="translate3d(0, 0, 0)",this.drag.max=this.$last.getBoundingClientRect().right-this.$slider.getBoundingClientRect().right}move(t){this.isDown&&(this.isMoving||(this.onDrag(),this.isMoving=!0),this.drag.target=D.round(this.drag.end+t-this.drag.start),this.drag.target=Sn.utils.clamp(-this.drag.max,0,this.drag.target))}onDrag(){this.$el.classList.add("a")}down(t){this.isDown=!0,this.drag.start=t.changedTouches?t.changedTouches[0].clientX:t.clientX}up(){this.isMoving=!1,this.isDown=!1,this.drag.end=this.drag.target,this.$el.classList.remove("a")}resize(){this.setup()}update(){this.needU=this.drag.target!==this.drag.currentR,this.needU&&(this.drag.current+=.09*(this.drag.target-this.drag.current),this.drag.currentR=D.roun
1d(this.drag.current),this.$slider.style.transform=`translate3d(${this.drag.currentR}px, 0, 0)`)}}},{name:"video",Class:class extends kl{init(){this.clicked=!1,this.cursor=!D.detect.isMobile&&new $l({el:this.$button,parent:this.$el}),D.scrollTrigger.create({trigger:this.$el,onLeave:()=>{this.reset()},onLeaveBack:()=>{this.reset()}})}bindMethods(){this.onClick=this.onClick.bind(this)}getElems(){this.$cover=this.$el.querySelector(".video-cover"),this.$button=this.$el.querySelector(".video-button"),this.$iframeWrapper=this.$el.querySelector(".iframe-wrapper"),this.$iframe=this.$el.querySelector("iframe")}events(){this.$el.addEventListener("click",this.onClick)}appear(){this.$iframe&&(this.player="vimeo"===this.$iframeWrapper.dataset.embed&&new yh(this.$iframe),this.player&&(this.player.setMuted(!0),this.player.play(),this.player.on("play",(()=>{setTimeout((()=>{this.player.pause(),this.player.off("play"),this.player.setMuted(!1)}),200)})))),setTimeout((()=>{this.cursor&&this.cursor.init()}),1e3)}destroy(){this.cursor&&this.cursor.off()}reset(){this.clicked&&(this.clicked=!1,this.player?this.player.pause():this.pauseVideo(),this.$cover.classList.remove("opacity-0","pointer-events-none"))}playVideo(){this.$iframe&&this.$iframe.contentWindow&&this.$iframe.contentWindow.postMessage('{"event": "command", "func": "playVideo", "args": ""}',"*")}pauseVideo(){this.$iframe&&this.$iframe.contentWindow&&this.$iframe.contentWindow.postMessage('{"event": "command", "func": "pauseVideo", "args": ""}',"*")}onClick(){this.clicked||(this.clicked=!0,this.player?this.player.play():this.playVideo(),this.$cover.classList.add("opacity-0","pointer-events-none"))}resize(){this.cursor&&this.cursor.resize()}update(){this.cursor&&this.cursor.update()}}},{name:"works",Class:class extends kl{init(){if(this.currentIndex=-1,this.translateX=0,this.translateY,this.mouseOldX=0,this.mouseOldY=0,this.canHover=!0,this.stickyOffset=0,this.initialScrollY=0,this.mouse={x:0,y:0,delta:{y:0}},D.detect.isMobile||(this.mm=new Tl({cb:this.move})),D.detect.isSafari||D.detect.isFirefox){this.$clip.classList.add("mask");for(let t=0;t<this.$cardsClip.length;t++)this.$cardsClip[t].classList.add("mask")}else{this.$clip.classList.add("clip");for(let t=0;t<this.$cardsClip.length;t++)this.$cardsClip[t].classList.add("clip")}this.event=new CustomEvent("sticky-resize"),this.setImageSizes(),setTimeout((()=>{this.initTriggers(),this.setBounds()}),100)}bindMethods(){this.move=this.move.bind(this),this.onArchiveEnter=this.onArchiveEnter.bind(this),this.onArchiveLeave=this.onArchiveLeave.bind(this),this.showColumn=this.showColumn.bind(this)}getElems(){this.$mainColumn=this.$el.querySelector(".main-column"),this.$cardsWrapper=this.$el.querySelector(".cards-wrapper"),this.$archivesWrapper=this.$el.querySelector(".archives-wrapper"),this.$archivesMainWrapper=this.$el.querySelector(".works-archives-w"),this.$cardsParent=this.$el.querySelectorAll(".card-work-w"),this.$cards=this.$el.querySelectorAll(".card-work"),this.$cardsW=this.$el.querySelectorAll(".cards-wrapper .box-parent"),this.$boxes=this.$el.querySelectorAll(".cards-wrapper .box"),this.$masks=this.$el.querySelectorAll(".card-work-mask"),this.$masksImage=this.$el.querySelectorAll(".card-work-mask .image"),this.$paths=this.$el.querySelectorAll(".works-mask path"),this.$archivesCardsParent=this.$el.querySelectorAll(".archive-card-w"),this.$archivesCards=this.$el.querySelectorAll(".archive-o-item"),this.$archivesLine=this.$el.querySelector(".works-line"),this.$archivesNotFound=this.$el.querySelector(".archives-not-found"),this.$terms=this.$el.querySelectorAll(".term"),this.$termsInner=this.$el.querySelectorAll(".term-inner"),this.$archiveTerms=this.$el.querySelectorAll(".archive-term"),this.$overlays=this.$el.querySelectorAll(".overlay, .archive-overlay"),this.$cardsClip=this.$el.querySelectorAll(".card-work-clip"),this.$clip=this.$el.querySelector(".works-archives-clip"),this.querySVG()}querySVG(){this.$archiveMaskWrapper=this.$el.querySelector(".works-archives-mask"),this.$archivePaths=this.$el.querySelectorAll(".works-archives-mask path"),this.$archivesImages=this.$el.querySelectorAll(".works-archives-image")}events(){!D.detect.isMobile&&window.addEventListener("show-column",this.showColumn);for(let t=0;t<this.$terms.length;t++)this.$terms[t].addEventListener("click",this.onTermClick.bind(this,t,this.$cardsWrapper,!1));for(let t=0;t<this.$archiveTerms.length;t++)this.$archiveTerms[t].addEventListener("click",this.onTermClick.bind(this,t,this.$archivesMainWrapper,!0));if(!D.detect.isMobile){for(let t=0;t<this.$cards.length;t++)this.$cards[t].addEventListener("mouseenter",this.onEnter.bind(this,t)),this.$cards[t].addEventListener("mouseleave",this.onLeave.bind(this,t));for(let t=0;t<this.$archivesCards.length;t++)this.$archivesCards[t].addEventListener("mouseenter",this.onCardArchiveEnter.bind(this,t));
1this.$archivesWrapper&&this.$archivesWrapper.addEventListener("mouseenter",this.onArchiveEnter),this.$archivesWrapper&&this.$archivesWrapper.addEventListener("mouseleave",this.onArchiveLeave)}}appear(){this.mm&&this.mm.on(),setTimeout((()=>{for(let t=0;t<this.$cards.length;t++)this.$cards[t].classList.remove("pointer-events-none")}),1e3)}destroy(){this.mm&&this.mm.off(),window.removeEventListener("show-column",this.showColumn)}showColumn(){Sn.fromTo(this.$termsInner,{autoAlpha:0,yPercent:100},{autoAlpha:1,yPercent:0,ease:"expo.out",duration:.8,stagger:.07}),this.$mainColumn.classList.remove("opacity-0")}initTriggers(){this.stickyST=D.scrollTrigger.create({trigger:this.$archivesWrapper,start:"bottom bottom",end:"bottom top",onEnter:()=>{this.initialScrollY=window.scrollY},onUpdate:()=>{this.stickyOffset=window.scrollY-this.initialScrollY},onLeave:()=>{this.stickyOffset=0},onLeaveBack:()=>{this.stickyOffset=0}})}onTermClick(t,e,i){if(t!==this.activeTermIndex){if(this.activeTermIndex=t,i)for(let t=0;t<this.$archiveTerms.length;t++)this.$archiveTerms[t].classList.toggle("a",t===this.activeTermIndex);else for(let t=0;t<this.$terms.length;t++)this.$terms[t].classList.toggle("a",t===this.activeTermIndex);this.showOverlay().then((()=>{this.filterWorks(e,i)}))}}showOverlay(){return new Promise((t=>{this.canHover=!1,Sn.to(this.$overlays,{autoAlpha:1,ease:"alpha",duration:.3,onComplete:()=>{t()}})}))}hideOverlay(){Sn.to(this.$overlays,{autoAlpha:0,ease:"alpha",duration:.3,delay:.1,onComplete:()=>{this.canHover=!0}})}filterWorks(t,e){this.currentCards=[],this.currentArchives=[],window.dispatchEvent(this.event);const i=document.querySelector("header");D.smoothScroll.scrollTo(t,{offset:-i.getBoundingClientRect().bottom-D.remToPixel(1),immediate:!0,force:!0});const r=this.$terms[this.activeTermIndex].dataset.id;if(e)this.$archivesWrapper.innerHTML="";else for(let t=0;t<this.$cardsW.length;t++)this.$cardsW[t].remove();if("-1"===r)this.currentCards=this.$cardsW,this.currentArchives=this.$archivesCards;else if(e)for(let t=0;t<this.$archivesCards.length;t++){this.$archivesCards[t].dataset.terms.split(",").includes(r)&&this.currentArchives.push(this.$archivesCards[t])}else for(let t=0;t<this.$cards.length;t++){this.$cards[t].dataset.terms.split(",").includes(r)&&this.currentCards.push(this.$cardsW[t])}if(e){this.$archivesNotFound.classList.toggle("hidden",0!==this.currentArchives.length);for(let t=0;t<this.currentArchives.length;t++){const e=document.createElement("div");if(e.classList.add("archive-card-w","z-1"),e.appendChild(this.currentArchives[t]),this.$archivesWrapper.appendChild(e),t!==this.currentArchives.length-1){const t=this.$archivesLine.cloneNode();this.$archivesWrapper.appendChild(t)}}const t=this.$archiveMaskWrapper.cloneNode(!0);this.$archivesWrapper.appendChild(t)}else for(let t=0;t<this.$cardsParent.length;t++)this.$cardsParent[t].classList.toggle("hidden",!this.currentCards[t]),this.currentCards[t]&&this.$cardsParent[t].appendChild(this.currentCards[t]);this.querySVG(),this.setBounds(),this.hideOverlay()}setImageSizes(){for(let t=0;t<this.$masks.length;t++)this.$masks[t].style.setProperty("--image-width","100%"),this.$masks[t].style.setProperty("--image-height","100%"),setTimeout((()=>{const e=this.$cards[t].getBoundingClientRect(),i=this.$masks[t].getBoundingClientRect();this.$masks[t].style.setProperty("--image-width",e.width/i.width*100+"%"),this.$masks[t].style.setProperty("--image-height",e.height/i.height*100+"%")}),100)}setBounds(){if(!D.detect.isMobile){this.bounds=[];for(let t=0;t<this.$cards.length;t++){const e=this.$cards[t].getBoundingClientRect();this.bounds.push({top:e.top+window.scrollY,bottom:e.bottom+window.scrollY,left:e.left,right:e.right})}if(this.$archivesWrapper){const t=this.$archivesWrapper.getBoundingClientRect();this.archiveBounds={top:t.top+window.scrollY,bottom:t.bottom+window.scrollY,left:t.left,right:t.right,width:t.width,height:t.height}}}}onEnter(t,e){if(this.currentIndex=t,this.bounds&&this.bounds.length>0){const t=this.bounds[this.currentIndex];this.translateX=Sn.utils.mapRange(t.left,t.right,-1,1,e.clientX),this.translateY=Sn.utils.mapRange(t.top,t.bottom,-1,1,e.clientY+window.scrollY),D.cancelAnimation(this.animation),Sn.set(this.$paths,{x:100*this.translateX,y:100*this.translateY,overwrite:!0}),this.isHover=!0}}onLeave(){this.isHover=!1,this.currentIndex=-1}onCardArchiveEnter(t){if(this.canHover)for(let e=0;e<this.$archivesImages.length;e++)this.$archivesImages[e].classList.toggle("opacity-0",t!==e)}onArchiveEnter(t){if(!this.canHover)return;this.isArchiveHover=!0,this.$archiveMaskWrapper.classList.remove("opacity-0");const e=Sn.utils.mapRange(this.archiveBounds.left,this.archiveBounds.right,0,this.archiveBounds.width,t.clientX);Sn.set(this.$archiveMaskWrapper,{x:e,overwrite:!0})}onArchiveLeave(){this.isArchiveHover=!1,this.$archiveMaskWrapper.classList.add("opacity-0")}move(t,e){this.mouse.x=t,this.mouse.y=e,this.mouse.delta.x=t-this.mouseOldX,this.mouse.delta.y=e-this.mouseOldY,this.mouseOldX=t,this.mouseOldY=e}resize(){this.setImageSizes(),setTimeout((()=>{this.setBounds()}),100)}update(){if(this.isHover&&!D.detect.isSafari&&!D.detect.isFirefox){const t=this.bounds[this.currentIndex];this.translateX=Sn.utils.mapRange(t.left,t.right,-1,1,this.mouse.x),this.translateY=Sn.utils.mapRange(t.top,t.bottom,-1,1,this.mouse.y+window.scrollY),this.animation=Sn.to(this.$paths,{y:100*this.translateY,stagger:.07,ease:"power2.out",duration:.4}),Sn.to(this.$masksImage[this.currentIndex],{x:5*this.translateX,y:5*this.translateY,ease:"power3.out"}),Sn.to(this.$paths,{x:100*this.translateX,stagger:this.translateX>0?-.02:.02,ease:"power2.out",duration:.4})}if(this.isArchiveHover){const t=Sn.utils.mapRange(this.archiveBounds.left,this.archiveBounds.right,0,this.archiveBounds.width,this.mouse.x),e=Sn.utils.mapRange(this.archiveBounds.top,this.archiveBounds.bottom,0,this.archiveBounds.height,this.mouse.y+window.scrollY-this.stickyOffset);Sn.to(this.$archiveMaskWrapper,{x:t,y:e,ease:"power2.out",duration:.8}),D.detect.isSafari||D.detect.isFirefox||(Sn.to(this.$archivePaths,{y:this.mouse.delta.y,stagger:.05,ease:"power2.out",duration:.65}),Sn.to(this.$archivePaths,{x:this.mouse.delta.x,stagger:.05,ease:"power2.out",duration:.65}))}}}},{name:"single",Class:class extends kl{init(){}bindMethods(){this.showColumn=this.showColumn.bind(this)}getElems(){this.$mainColumn=this.$el.querySelector(".main-column"),this.$content=this.$el.querySelectorAll(".main-column-content"),this.$backTo=this.$el.querySelector(".single-back-to"),this.$blocks=this.$el.querySelector(".single-work-blocks"),Sn.set(this.$backTo,{yPercent:100}),this.$blocks&&Sn.set(this.$blocks,{autoAlpha:0})}events(){!D.detect.isMobile&&window.addEventListener("show-column",this.showColumn)}destroy(){window.removeEventListener("show-column",this.showColumn)}appear(){D.transitionFromMenu||(Sn.to(this.$backTo,{yPercent:0,ease:"expo.out",duration:.9}),this.$blocks&&Sn.to(this.$blocks,{autoAlpha:1,ease:"alpha",duration:.8,delay:.7}))}showColumn(){const t=Sn.timeline();t.fromTo(this.$content,{autoAlpha:0},{autoAlpha:1,ease:"alpha",duration:.3},0).to(this.$backTo,{yPercent:0,ease:"expo.out",duration:.9},0),this.$blocks&&t.to(this.$blocks,{autoAlpha:1,ease:"alpha",duration:.8},.2),this.$mainColumn.classList.remove("opacity-0")}}},{name:"news",Class:class extends kl{init(){this.event=new CustomEvent("sticky-resize")}bindMethods(){this.showColumn=this.showColumn.bind(this)}getElems(){this.$wrapper=this.$el.querySelector(".news-wrapper"),this.$terms=this.$el.querySelectorAll(".term"),this.$cards=this.$el.querySelectorAll(".card-post, .card-post-insights"),this.$overlay=this.$el.querySelector(".overlay"),this.$mainColumn=this.$el.querySelector(".main-column"),this.$termsInner=this.$el.querySelectorAll(".term-inner")}events(){for(let t=0;t<this.$terms.length;t++)this.$terms[t].addEventListener("click",this.onTermClick.bind(this,t));!D.detect.isMobile&&window.addEventListener("show-column",this.showColumn)}destroy(){window.removeEventListener("show-column",this.showColumn)}appear(){}showColumn(){Sn.fromTo(this.$termsInner,{autoAlpha:0,yPercent:100},{autoAlpha:1,yPercent:0,ease:"expo.out",duration:.8,stagger:.07}),this.$mainColumn.classList.remove("opacity-0")}onTermClick(t){if(t!==this.activeTermIndex){this.activeTermIndex=t;for(let t=0;t<this.$terms.length;t++)this.$terms[t].classList.toggle("a",t===this.activeTermIndex);this.showOverlay().then((()=>{this.filterNews()}))}}showOverlay(){return new Promise((t=>{this.canHover=!1,Sn.to(this.$overlay,{autoAlpha:1,ease:"alpha",duration:.3,onComplete:()=>{t()}})}))}hideOverlay(){Sn.to(this.$overlay,{autoAlpha:0,ease:"alpha",duration:.3,delay:.1,onComplete:()=>{this.canHover=!0}})}filterNews(){this.currentCards=[],window.dispatchEvent(this.event);const t=document.querySelector("header");D.w.w<768?D.smoothScroll.scrollTo(0,{immediate:!0,force:!0}):D.smoothScroll.scrollTo(this.$wrapper,{offset:-t.getBoundingClientRect().bottom-D.remToPixel(1),immediate:!0,force:!0});const e=this.$terms[this.activeTermIndex].dataset.id;for(let t=0;t<this.$cards.length;t++)this.$cards[t].remove();if("-1"===e)this.currentCards=this.$cards;else for(let t=0;t<this.$cards.length;t++){this.$cards[t].dataset.terms.split(",").includes(e)&&this.currentCards.push(this.$cards[t])}for(let t=0;t<this.currentCards.length;t++)this.$wrapper.appendChild(this.currentCards[t]);this.hideOverlay()}}},{name:"next",Class:class extends kl{init(){this.translateX=0,this.translateY=0,this.stickyOffset=0,this.mouse={x:0,y:0},D.detect.isMobile||(this.mm=new Tl({cb:this.move})),this.setImageSize(),this.initTriggers(),D.detect.isSafari||D.detect.isFirefox?this.$clip.classList.add("mask"):this.$clip.classList.add("clip")}bindMethods(){this.onEnter=this.onEnter.bind(this),this.onLeave=this.onLeave.bind(this),this.move=this.move.bind(this)}getElems(){this.$paths=this.$el.querySelectorAll(".next path"),this.$wrapper=this.$el.querySelector(".next-image"),this.$imageMask=this.$el.querySelector(".next-image .image"),this.$mask=this.$el.querySelector(".next-image-mask"),this.$clip=this.$el.querySelector(".next-clip")}events(){D.detect.isMobile||(this.$wrapper.addEventListener("mouseenter",this.onEnter),this.$wrapper.addEventListener("mouseleave",this.onLeave))}appear(){this.mm&&this.mm.on(),setTimeout((()=>{this.setBounds()}),100),this.isAppear=!0}destroy(){this.mm&&this.mm.off()}initTriggers(){this.stickyST=D.scrollTrigger.create({trigger:this.$el,start:"bottom bottom",end:"bottom+=200%",onEnter:()=>{this.initialScrollY=window.scrollY},onUpdate:()=>{this.stickyOffset=window.scrollY-this.initialScrollY},onLeave:()=>{this.stickyOffset=0},onLeaveBack:()=>{this.stickyOffset=0}})}setBounds(){if(D.detect.isMobile)return;const t=this.$wrapper.getBoundingClientRect();this.bounds={top:t.top+window.scrollY,bottom:t.bottom+window.scrollY,left:t.left,right:t.right}}setImageSize(){this.$mask.style.setProperty("--image-width","100%"),this.$mask.style.setProperty("--image-height","100%"),setTimeout((()=>{const t=this.$wrapper.getBoundingClientRect(),e=this.$mask.getBoundingClientRect();this.$mask.style.setProperty("--image-width",t.width/e.width*100+"%"),this.$mask.style.setProperty("--image-height",t.height/e.he
1ight*100+"%")}),100)}onEnter(t){this.isAppear&&(this.translateX=Sn.utils.mapRange(this.bounds.left,this.bounds.right,-1,1,t.clientX),this.translateY=Sn.utils.mapRange(this.bounds.top,this.bounds.bottom,-1,1,t.clientY+window.scrollY),Sn.set(this.$paths,{x:100*this.translateX,y:100*this.translateY,overwrite:!0}),this.isHover=!0)}onLeave(){this.isAppear&&(this.isHover=!1)}move(t,e){this.isHover&&(this.mouse.x=t,this.mouse.y=e)}resize(){this.setImageSize(),setTimeout((()=>{this.setBounds()}),100)}update(){!this.isHover||D.detect.isSafari||D.detect.isFirefox||(this.translateX=Sn.utils.mapRange(this.bounds.left,this.bounds.right,-1,1,this.mouse.x),this.translateY=Sn.utils.mapRange(this.bounds.top,this.bounds.bottom,-1,1,this.mouse.y+window.scrollY-this.stickyOffset),Sn.to(this.$imageMask,{x:5*this.translateX,y:5*this.translateY,ease:"power3.out"}),Sn.to(this.$paths,{x:100*this.translateX,stagger:this.translateX>0?-.02:.02,ease:"power2.out",duration:.4}),Sn.to(this.$paths,{y:100*this.translateY,stagger:.07,ease:"power2.out",duration:.4}))}}},{name:"text-full",Class:class extends kl{init(){this.setSize()}bindMethods(){}getElems(){this.$text=this.$el.querySelector(".text-full-el")}appear(){}setSize(){this.$text.style.fontSize="12px",this.$text.style.letterSpacing="0px";const t=parseFloat(window.getComputedStyle(this.$text).getPropertyValue("font-size"))*(this.$el.offsetWidth/(.89*this.$text.offsetWidth))-1;this.$text.style.fontSize=t+"px",this.$text.style.letterSpacing=-.07*t+"px"}resize(){this.setSize()}}},{name:"sticky-footer",Class:class extends kl{init(){this.setSticky()}bindMethods(){this.setSticky=this.setSticky.bind(this)}getElems(){this.$top=this.$el.querySelector(".sticky-footer-top"),this.$bottom=this.$el.querySelector(".sticky-footer-bottom")}events(){window.addEventListener("sticky-resize",this.setSticky)}resize(){this.setSticky()}destroy(){this.sT&&this.sT.kill()}setSticky(){this.$top.style.height="auto",this.$bottom.style.marginTop=0,!D.detect.isMobile&&D.w.w>1200&&setTimeout((()=>{this.sT=D.scrollTrigger.create({trigger:this.$top,start:`${this.$top.offsetHeight+D.remToPixel(2)} bottom`,onEnter:()=>{window.dispatchEvent(new Event("on-sticky-enter"))},onLeaveBack:()=>{window.dispatchEvent(new Event("on-sticky-leave"))}}),this.$top.style.height=this.$top.offsetHeight+this.$bottom.offsetHeight+D.remToPixel(1)+D.remToPixel(70)+"px",this.$bottom.style.marginTop=-this.$bottom.offsetHeight-D.remToPixel(1)+"px"}),0)}}},{name:"boxes",Class:class extends kl{beforeAppear(){if(this.boxes=[],this.index=0,!D.detect.isMobile){for(let t=0;t<this.$boxes.length;t++)D.scrollTrigger.isInViewport(this.$boxes[t])&&(this.index++,this.boxes.push(Sn.effects.box(this.$boxes[t],{delay:.06*this.index})));this.$boxesAlpha&&this.$boxesAlpha.length>0&&Sn.set(this.$boxesAlpha,{autoAlpha:0})}}bindMethods(){}getElems(){this.$boxes=D.transitionFromMenu?this.$el.querySelectorAll(".box:not(.box-menu)"):this.$el.querySelectorAll(".box"),this.$boxesAlpha=this.$el.querySelectorAll(".box-alpha"),this.$boxesBlur=this.$el.querySelectorAll(".box-blur")}events(){}appear(){if(!D.detect.isMobile){this.$boxesAlpha&&this.$boxesAlpha.length>0&&Sn.to(this.$boxesAlpha,{autoAlpha:1,duration:.6,ease:"alpha",stagger:.06});for(let t=0;t<this.boxes.length;t++)this.boxes[t].restart(!0)}}}},{name:"newsletter",Class:class extends kl{init(){}bindMethods(){this.onSubmit=this.onSubmit.bind(this)}getElems(){this.$form=this.$el.querySelector("#mc-embedded-subscribe-form")}events(){this.$form.addEventListener("reset",this.onSubmit)}onSubmit(){const t=this.$el.querySelector("#mc-embedded-subscribe-form"),e=this.$el.querySelector("#mce-responses");this.$el.querySelector("#mc_embed_signup").append(e),t.classList.add("hidden")}}}];var bh=wh,_h=i("../node_modules/splitting/dist/splitting.js"),xh=i.n(_h);class kh extends A{initialLoad(){this.onEnter(),this.onEnterCompleted(),this.beforeAppear()}onEnter(){this.blockList=bh,this.blocks=[],this.blockList&&this.blockList.length&&this.initBlocks(),D.detect.isMobile&&(this.screensElements=document.body.querySelectorAll(".h-screen"),this.screensElements.length&&Sn.set(this.screensElements,{height:D.w.h}))}initBlocks(){this.splitting=new(xh());const t=this.content.querySelectorAll(".two-columns-content a, .wysiwyg a");for(let e=0;e<t.length;e++)t[e].classList.add("link","content-link"),new(xh())({target:t[e],by:"chars"});for(let t=0;t<this.blockList.length;t++){const e=this.content.querySelectorAll("."+this.blockList[t].name),i={name:this.blockList[t].name,instances:[]};for(let r=0;r<e.length;r++){const n={el:e[r],class:new this.blockList[t].Class(e[r])};i.instances.push(n)}this.blocks.push(i)}}onEnterCompleted(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.onEnterCompleted();D.isFirstLoaded?this.appear():window.addEventListener("loaderComplete",(()=>this.appear()),{once:!0})}beforeAppear(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.beforeAppear()}appear(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.appear()}onLeave(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.destroyLast||this.blocks[t].instances[e].class.destroy()}onLeaveCompleted(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.destroyLast&&this.blocks[t].instances[e].class.destroy()}onDestroyCompleted(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.destroyCompleted()}resize(){D.detect.isMobile&&this.screensElements&&this.screensElements.length&&Sn.set(this.screensElements,{height:D.w.h});for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.resize()}resizeX(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.resizeX()}scroll(t){for(let e=0;e<this.blocks.length;e++)for(let i=0;i<this.blocks[e].instances.length;i++)this.blocks[e].instances[i].class.scroll(t)}loop(){for(let t=0;t<this.blocks.length;t++)for(let e=0;e<this.blocks[t].instances.length;e++)this.blocks[t].instances[e].class.update()}}class Th extends L{onLeave(t){let{from:e,done:i}=t;D.smoothScroll&&D.smoothScroll.stop(),document.body.classList.add("is-loading"),"home"===e.dataset.template&&e.classList.add("absolute","w-full","top-0","left-0"),this.from=e,i()}onEnter(t){let{to:e,done:i}=t;document.body.classList.remove("is-loading"),e.classList.add("pointer-events-none"),Sn.set(e,{opacity:0}
1);Sn.timeline({delay:.1,onComplete:()=>{Sn.set(D.panel,{autoAlpha:0}),Sn.set(D.overlay,{autoAlpha:0}),e.classList.remove("absolute","w-full","top-sticky","left-0"),e.style.zIndex=0,D.smoothScroll&&D.smoothScroll.start(),D.oldRenderer.onDestroyCompleted(),this.from.remove()}}).fromTo(D.overlay,{autoAlpha:0},{autoAlpha:1,ease:"alpha",duration:.5},.2).fromTo(D.panel,{yPercent:-100,autoAlpha:1},{yPercent:0,ease:"beaucoup.inOut",duration:1},0).fromTo(this.from,{y:0},{y:"20rem",ease:"beaucoup.inOut",duration:1},0).fromTo(e,{opacity:0},{opacity:1,onStart:()=>{D.smoothScroll&&D.smoothScroll.scrollTo(0,{immediate:!0,force:!0})},ease:"alpha",duration:.3},.58).call((()=>{i(),e.classList.remove("pointer-events-none")}),[],.55),e.classList.add("absolute","w-full","top-sticky","left-0"),e.style.zIndex=11,D.currentRenderer.beforeAppear(),D.scrollTrigger.refresh()}}class $h extends L{onLeave(t){let{from:e,trigger:i,done:r}=t;D.smoothScroll&&D.smoothScroll.stop(),D.transitionFromMenu=!0,D.transitionMenuIndex=i.dataset.index,Sn.fromTo(D.fade,{autoAlpha:0},{autoAlpha:1,duration:.3,ease:"alpha",onComplete:()=>{D.smoothScroll&&D.smoothScroll.scrollTo(0,{immediate:!0,force:!0}),e.remove(),r()}})}onEnter(t){let{to:e,done:i}=t;const r=e.querySelector(".main-column"),n=Sn.timeline({onComplete:()=>{setTimeout((()=>{D.transitionFromMenu=!1}),100)}});!D.detect.isMobile&&r&&r.classList.add("opacity-0"),D.transitionMenuIndex=-1,n.to(D.fade,{autoAlpha:0,duration:.6,ease:"beaucoup.out"},0),n.call((()=>{i()}),[],.45)}}class Sh extends L{onLeave(t){let{from:e,done:i}=t;D.smoothScroll&&D.smoothScroll.stop(),Sn.fromTo(D.fade,{autoAlpha:0},{autoAlpha:1,duration:.3,ease:"alpha",onComplete:()=>{e.remove(),D.smoothScroll&&D.smoothScroll.scrollTo(0,{immediate:!0,force:!0}),i()}})}onEnter(t){let{done:e}=t;const i=Sn.timeline({delay:.1});i.to(D.fade,{autoAlpha:0,duration:.35,ease:"alpha"},0),i.call((()=>{e()}),[],.1)}}class Eh{constructor(){this.resize=this.resize.bind(this),this.scroll=this.scroll.bind(this),this.update=this.update.bind(this),this.resizeDebounced=q(100,this.resize),this.resizeThrottled=I(100,this.resize),this.scrollDebounced=q(100,this.scroll),this.scrollThrottled=I(30,this.scroll),Sn.registerPlugin(ul),Sn.registerPlugin(La),D.scrollTrigger=La,ul.create("alpha",".25, .46, .45, .9"),ul.create("beaucoup.out","0.215, 0.61, 0.355, 1"),ul.create("beaucoup.inOut","M0,0 C0.25,0 0.324,0.099 0.365,0.16 0.426,0.251 0.466,0.292 0.498,0.502 0.532,0.73 0.545,0.817 0.592,0.872 0.644,0.933 0.698,1 1,1"),ul.create("beaucoup.out2","0.19, 1, 0.22, 1"),ul.create("beaucoup.out3","0.165, 0.84, 0.44, 1"),D.w={w:window.innerWidth,h:window.innerHeight},this.oldWindowWidth=D.w.w,D.detect.isMobile&&document.documentElement.style.setProperty("--wh",D.w.h/100+"px"),this.start()}start(){history.scrollRestoration&&(history.scrollRestoration="manual"),D.fade=document.querySelector(".fade"),D.panel=document.querySelector(".panel"),D.overlay=document.querySelector(".panel-overlay"),Sn.set(D.overlay,{autoAlpha:0}),Sn.set(D.panel,{yPercent:-100}),this.initSmoothScroll(),this.initTaxi(),this.loader=new xl,this.menu=new bl,this.lazyLoad=new(s()),this.header=new _l,this.preloadPages(),this.events(),this.updateLinks(),this.addConsoleBrand(),requestAnimationFrame(this.update)}initSmoothScroll(){D.smoothScroll&&D.smoothScroll.destroy(),D.smoothScroll=new wl({easing:t=>1-Math.pow(1-t,5),wheelEventsTarget:document.body}),window.lenis=D.smoothScroll,D.smoothScroll.on("scroll",(t=>{this.scroll(t)}))}initTaxi(){this.taxi=new R({enablePrefetch:!1,links:"a:not([target]):not([href^=\\#]):not([data-taxi-ignore]):not(.ab-item)",reloadJsFilter:t=>void 0!==t.dataset.taxiReload,removeOldContent:!1,transitions:{default:D.detect.isMobile?Sh:Th,menu:$h},renderers:{default:kh}}),this.currentRenderer=this.taxi.currentCacheEntry.renderer,D.oldRenderer=this.currentRenderer,D.currentRenderer=this.currentRenderer}reloadTartaucitronServices(){if(!window.tarteaucitron)return;const t=document.body.querySelectorAll(".tarteaucitronAllow");for(let e=0;e<t.length;e++)window.tarteaucitron.addClickEventToElement(t[e],(function(){window.tarteaucitron.userInterface.respond(this,!0)}))}resize(){D.w={w:window.innerWidth,h:window.innerHeight},D.w.w!==this.oldWindowWidth&&this.currentRenderer.resizeX(),this.currentRenderer.resize(),this.menu.resize(),this.oldWindowWidth=D.w.w}scroll(t){D.currentScroll=window.scrollY,this.currentRenderer.scroll(t)}update(t){D.smoothScroll&&D.smoothScroll.raf(t),this.currentRenderer.loop(),requestAnimationFrame(this.update)}events(){window.addEventListener("resize",this.resizeDebounced),window.addEventListener("orientationchange",this.resize),window.addEventListener("wheel",this.scrollThrottled),window.addEventListener("wheel",this.scrollDebounced),this.taxi.on("NAVIGATE_IN",(t=>{let{to:e}=t;D.oldRenderer=this.currentRenderer,this.currentRenderer=e.renderer,D.currentRenderer=e.renderer,this.menu.onPageChange(e)}
1)),this.taxi.on("NAVIGATE_END",(t=>{let{to:e}=t;this.updateTracking(e),this.header.onPageChange(e),this.reloadTartaucitronServices(),this.updateLinks(),this.updateLanguages(e),this.lazyLoad.update()}))}updateLanguages(t){const e=t.page.body.querySelectorAll(".lang-link"),i=document.querySelectorAll(".lang-link");for(let t=0;t<e.length;t++)i[t].href=e[t].href}updateTracking(t){void 0!==window.gtag&&window.gtag("event","page_view",{page_path:window.location.pathname,page_title:t.page.title,page_location:window.location.href})}preloadPages(){const t=document.querySelectorAll(".header-item");for(let e=0;e<t.length;e++)this.taxi.preload(t[e].href)}updateLinks(){this.links=document.body.querySelectorAll("a"),this.siteUrl||(this.siteUrl="http://starter.localhost/");for(let t=0;t<this.links.length;t++){const e=this.links[t];e.href.indexOf(this.siteUrl)>-1&&(e.href=`${window.location.origin}/${e.href.split(this.siteUrl)[1]}`)}}addConsoleBrand(){console.log("\n %c \u2726 Merci Beaucoup \u2726 ","background: #00F; color: #fffaf5; padding: 5px 0; margin-right: 5px;","https://beaucoup.studio/ \n\n")}}class Ch{constructor(){this.grid=document.querySelector(".debug-grid"),this.grid&&this.addEvents()}addEvents(){document.addEventListener("keydown",(t=>{"g"!==t.key&&"G"!==t.key||this.grid.classList.toggle("opacity-0")}))}}(0,r.Z)((async t=>{t&&console.error(t),document.fonts.ready.then((()=>{new Eh})),new Ch}))},
1"./styles/app.css":()=>{},
vendor: 3,708 bytes, line 1
1"../node_modules/splitting/dist/splitting.js":function(t){t.exports=function(){"use strict";var t=document,e=t.createTextNode.bind(t);function i(t,e,i){t.style.setProperty(e,i)}function r(t,e){return t.appendChild(e)}function n(e,i,n,s){var o=t.createElement("span");return i&&(o.className=i),n&&(!s&&o.setAttribute("data-"+i,n),o.textContent=n),e&&r(e,o)||o}function s(t,e){return t.getAttribute("data-"+e)}function o(e,i){return e&&0!=e.length?e.nodeName?[e]:[].slice.call(e[0].nodeName?e:(i||t).querySelectorAll(e)):[]}function a(t){for(var e=[];t--;)e[t]=[];return e}function l(t,e){t&&t.some(e)}function h(t){return function(e){return t[e]}}function c(t,e,r){var n="--"+e,s=n+"-index";l(r,(function(t,e){Array.isArray(t)?l(t,(function(t){i(t,s,e)})):i(t,s,e)})),i(t,n+"-total",r.length)}var u={};function d(t,e,i){var r=i.indexOf(t);if(-1==r)i.unshift(t),l(u[t].depends,(function(e){d(e,t,i)}));else{var n=i.indexOf(e);i.splice(r,1),i.splice(n,0,t)}return i}function f(t,e,i,r){return{by:t,depends:e,key:i,split:r}}function p(t){return d(t,0,[]).map(h(u))}function m(t){u[t.by]=t}function g(t,i,s,a,h){t.normalize();var c=[],u=document.createDocumentFragment();a&&c.push(t.previousSibling);var d=[];return o(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,g(t,i,s,a,h));var r=t.wholeText||"",o=r.trim();o.length&&(" "===r[0]&&d.push(e(" ")),l(o.split(s),(function(t,e){e&&h&&d.push(n(u,"whitespace"," ",h));var r=n(u,i,t);c.push(r),d.push(r)}))," "===r[r.length-1]&&d.push(e(" ")))}else d.push(t)})),l(d,(function(t){r(u,t)})),t.innerHTML="",r(t,u),c}var v=0;function y(t,e){for(var i in e)t[i]=e[i];return t}var w="words",b=f(w,v,"word",(function(t){return g(t,"word",/\s+/,0,1)})),_="chars",x=f(_,[w],"char",(function(t,e,i){var r=[];return l(i[w],(function(t,i){r.push.apply(r,g(t,"char","",e.whitespace&&i))})),r}));function k(t){var e=(t=t||{}).key;return o(t.target||"[data-splitting]").map((function(i){var r=i["\u{1f34c}"];if(!t.force&&r)return r;r=i["\u{1f34c}"]={el:i};var n=p(t.by||s(i,"splitting")||_),o=y({},t);return l(n,(function(t){if(t.split){var n=t.by,s=(e?"-"+e:"")+t.key,a=t.split(i,o,r);s&&c(i,s,a),r[n]=a,i.classList.add(n)}})),i.classList.add("splitting"),r}))}function T(t){var e=(t=t||{}).target=n();return e.innerHTML=t.content,k(t),e.outerHTML}function $(t,e,i){var r=o(e.matching||t.children,t),n={};return l(r,(function(t){var e=Math.round(t[i]);(n[e]||(n[e]=[])).push(t)})),Object.keys(n).map(Number).sort(S).map(h(n))}function S(t,e){return t-e}k.html=T,k.add=m;var E=f("lines",[w],"line",(function(t,e,i){return $(t,{matching:i[w]},"offsetTop")})),C=f("items",v,"item",(function(t,e){return o(e.matching||t.children,t)})),M=f("rows",v,"row",(function(t,e){return $(t,e,"offsetTop")})),L=f("cols",v,"col",(function(t,e){return $(t,e,"offsetLeft")})),A=f("grid",["rows","cols"]),P="layout",O=f(P,v,v,(function(t,e){var a=e.rows=+(e.rows||s(t,"rows")||1),l=e.columns=+(e.columns||s(t,"columns")||1);if(e.image=e.image||s(t,"image")||t.currentSrc||t.src,e.image){var h=o("img",t)[0];e.image=h&&(h.currentSrc||h.src)}e.image&&i(t,"background-image","url("+e.image+")");for(var c=a*l,u=[],d=n(v,"cell-grid");c--;){var f=n(d,"cell");n(f,"cell-inner"),u.push(f)}return r(t,d),u})),R=f("cellRows",[P],"row",(function(t,e,i){var r=e.rows,n=a(r);return l(i[P],(function(t,e,i){n[Math.floor(e/(i.length/r))].push(t)})),n})),I=f("cellColumns",[P],"col",(function(t,e,i){var r=e.columns,n=a(r);return l(i[P],(function(t,e){n[e%r].push(t)})),n})),q=f("cells",["cellRows","cellColumns"],"cell",(function(t,e,i){return i[P]}));return m(b),m(x),m(E),m(C),m(M),m(L),m(A),m(O),m(R),m(I),m(q),k}()},
vendor: 8,784 bytes, line 1
1"../node_modules/vanilla-lazyload/dist/lazyload.min.js":function(t){t.exports=function(){"use strict";function t(){return t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},t.apply(this,arguments)}var e="undefined"!=typeof window,i=e&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),r=e&&"IntersectionObserver"in window,n=e&&"classList"in document.createElement("p"),s=e&&window.devicePixelRatio>1,o={elements_selector:".lazy",container:i||e?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},a=function(e){return t({},o,e)},l=function(t,e){var i,r="LazyLoad::Initialized",n=new t(e);try{i=new CustomEvent(r,{detail:{instance:n}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,{instance:n})}window.dispatchEvent(i)},h="src",c="srcset",u="sizes",d="poster",f="llOriginalAttrs",p="data",m="loading",g="loaded",v="applied",y="error",w="native",b="data-",_="ll-status",x=function(t,e){return t.getAttribute(b+e)},k=function(t){return x(t,_)},T=function(t,e){return function(t,e,i){var r="data-ll-status";null!==i?t.setAttribute(r,i):t.removeAttribute(r)}(t,0,e)},$=function(t){return T(t,null)},S=function(t){return null===k(t)},E=function(t){return k(t)===w},C=[m,g,v,y],M=function(t,e,i,r){t&&"function"==typeof t&&(void 0===r?void 0===i?t(e):t(e,i):t(e,i,r))},L=function(t,e){n?t.classList.add(e):t.className+=(t.className?" ":"")+e},A=function(t,e){n?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},P=function(t){return t.llTempImage},O=function(t,e){if(e){var i=e._observer;i&&i.unobserve(t)}},R=function(t,e){t&&(t.loadingCount+=e)},I=function(t,e){t&&(t.toLoadCount=e)},q=function(t){for(var e,i=[],r=0;e=t.children[r];r+=1)"SOURCE"===e.tagName&&i.push(e);return i},z=function(t,e){var i=t.parentNode;i&&"PICTURE"===i.tagName&&q(i).forEach(e)},D=function(t,e){q(t).forEach(e)},F=[h],N=[h,d],B=[h,c,u],Y=[p],j=function(t){return!!t[f]},W=function(t){return t[f]},V=function(t){return delete t[f]},H=function(t,e){if(!j(t)){var i={};e.forEach((function(e){i[e]=t.getAttribute(e)})),t[f]=i}},X=function(t,e){if(j(t)){var i=W(t);e.forEach((function(e){!function(t,e,i){i?t.setAttribute(e,i):t.removeAttribute(e)}(t,e,i[e])}))}},U=function(t,e,i){L(t,e.class_applied),T(t,v),i&&(e.unobserve_completed&&O(t,e),M(e.callback_applied,t,i))},G=function(t,e,i){L(t,e.class_loading),T(t,m),i&&(R(i,1),M(e.callback_loading,t,i))},J=function(t,e,i){i&&t.setAttribute(e,i)},Q=function(t,e){J(t,u,x(t,e.data_sizes)),J(t,c,x(t,e.data_srcset)),J(t,h,x(t,e.data_src))},K={IMG:function(t,e){z(t,(function(t){H(t,B),Q(t,e)})),H(t,B),Q(t,e)},IFRAME:function(t,e){H(t,F),J(t,h,x(t,e.data_src))},VIDEO:function(t,e){D(t,(function(t){H(t,F),J(t,h,x(t,e.data_src))})),H(t,N),J(t,d,x(t,e.data_poster)),J(t,h,x(t,e.data_src)),t.load()},OBJECT:function(t,e){H(t,Y),J(t,p,x(t,e.data_src))}},Z=["IMG","IFRAME","VIDEO","OBJECT"],tt=function(t,e){!e||function(t){return t.loadingCount>0}(e)||function(t){return t.toLoadCount>0}(e)||M(t.callback_finish,e)},et=function(t,e,i){t.addEventListener(e,i),t.llEvLisnrs[e]=i},it=function(t,e,i){t.removeEventListener(e,i)},rt=function(t){return!!t.llEvLisnrs},nt=function(t){if(rt(t)){var e=t.llEvLisnrs;for(var i in e){var r=e[i];it(t,i,r)}delete t.llEvLisnrs}},st=function(t,e,i){!function(t){delete t.llTempImage}(t),R(i,-1),function(t){t&&(t.toLoadCount-=1)}(i),A(t,e.class_loading),e.unobserve_completed&&O(t,i)},ot=function(t,e,i){var r=P(t)||t;rt(r)||function(t,e,i){rt(t)||(t.llEvLisnrs={});var r="VIDEO"===t.tagName?"loadeddata":"load";et(t,r,e),et(t,"error",i)}(r,(function(n){!function(t,e,i,r){var n=E(e);st(e,i,r),L(e,i.class_loaded),T(e,g),M(i.callback_loaded,e,r),n||tt(i,r)}(0,t,e,i),nt(r)}),(function(n){!function(t,e,i,r){var n=E(e);st(e,i,r),L(e,i.class_error),T(e,y),M(i.callback_error,e,r),i.restore_on_error&&X(e,B),n||tt(i,r)}(0,t,e,i),nt(r)}))},at=function(t,e,i){!function(t){return Z.indexOf(t.tagName)>-1}(t)?function(t,e,i){!function(t){t.llTempImage=document.createElement("IMG")}(t),ot(t,e,i),function(t){j(t)||(t[f]={backgroundImage:t.style.backgroundImage})}(t),function(t,e,i){var r=x(t,e.data_bg),n=x(t,e.data_bg_hidpi),o=s&&n?n:r;o&&(t.style.backgroundImage='url("'.concat(o,'")'),P(t).setAttribute(h,o),G(t,e,i))}(t,e,i),function(t,e,i){var r=x(t,e.data_bg_multi),n=x(t,e.data_bg_multi_hidpi),o=s&&n?n:r;o&&(t.style.backgroundImage=o,U(t,e,i))}(t,e,i),function(t,e,i){var r=x(t,e.data_bg_set);if(r){var n=r.split("|"),s=n.map((function(t){return"image-set(".concat(t,")")}));t.style.backgroundImage=s.join(),""===t.style.backgroundImage&&(s=n.map((function(t){return"-webkit-image-set(".concat(t,")")})),t.style.backgroundImage=s.join()),U(t,e,i)}}(t,e,i)}(t,e,i):function(t,e,i){ot(t,e,i),function(t,e,i){var r=K[t.tagName];r&&(r(t,e),G(t,e,i))}(t,e,i)}(t,e,i)},lt=function(t){t.removeAttribute(h),t.removeAttribute(c),t.removeAttribute(u)},ht=function(t){z(t,(function(t){X(t,B)})),X(t,B)},ct={IMG:ht,IFRAME:function(t){X(t,F)},VIDEO:function(t){D(t,(function(t){X(t,F)})),X(t,N),t.load()},OBJECT:function(t){X(t,Y)}},ut=function(t,e){(function(t){var e=ct[t.tagName];e?e(t):function(t){if(j(t)){var e=W(t);t.style.backgroundImage=e.backgroundImage}}(t)})(t),function(t,e){S(t)||E(t)||(A(t,e.class_entered),A(t,e.class_exited),A(t,e.class_applied),A(t,e.class_loading),A(t,e.class_loaded),A(t,e.class_error))}(t,e),$(t),V(t)},dt=["IMG","IFRAME","VIDEO"],ft=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},pt=function(t,e,i){t.forEach((function(t){return function(t){return t.isIntersecting||t.intersectionRatio>0}(t)?function(t,e,i,r){var n=function(t){return C.indexOf(k(t))>=0}(t);T(t,"entered"),L(t,i.class_entered),A(t,i.class_exited),function(t,e,i){e.unobserve_entered&&O(t,i)}(t,i,r),M(i.callback_enter,t,e,r),n||at(t,i,r)}(t.target,t,e,i):function(t,e,i,r){S(t)||(L(t,i.class_exited),function(t,e,i,r){i.cancel_on_exit&&function(t){return k(t)===m}(t)&&"IMG"===t.tagName&&(nt(t),function(t){z(t,(function(t){lt(t)})),lt(t)}(t),ht(t),A(t,i.class_loading),R(r,-1),$(t),M(i.callback_cancel,t,e,r))}(t,e,i,r),M(i.callback_exit,t,e,r))}(t.target,t,e,i)}))},mt=function(t){return Array.prototype.slice.call(t)},gt=function(t){return t.container.querySelectorAll(t.elements_selector)},vt=function(t){return function(t){return k(t)===y}(t)},yt=function(t,e){return function(t){return mt(t).filter(S)}(t||gt(e))},wt=function(t,i){var n=a(t);this._settings=n,this.loadingCount=0,function(t,e){r&&!ft(t)&&(e._observer=new IntersectionObserver((function(i){pt(i,t,e)}),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(t)))}(n,this),function(t,i){e&&(i._onlineHandler=function(){!function(t,e){var i;(i=gt(t),mt(i).filter(vt)).forEach((function(e){A(e,t.class_error),$(e)})),e.update()}(t,i)},window.addEventListener("online",i._onlineHandler))}(n,this),this.update(i)};return wt.prototype={update:function(t){var e,n,s=this._settings,o=yt(t,s);I(this,o.length),!i&&r?ft(s)?function(t,e,i){t.forEach((function(t){-1!==dt.indexOf(t.tagName)&&function(t,e,i){t.setAttribute("loading","lazy"),ot(t,e,i),function(t,e){var i=K[t.tagName];i&&i(t,e)}(t,e),T(t,w)}(t,e,i)})),I(i,0)}(o,s,this):(n=o,function(t){t.disconnect()}(e=this._observer),function(t,e){e.forEach((function(e){t.observe(e)}))}(e,n)):this.loadAll(o)},destroy:function(){this._observer&&this._observer.disconnect(),e&&window.removeEventListener("online",this._onlineHandler),gt(this._settings).forEach((function(t){V(t)})),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,i=this._settings;yt(t,i).forEach((function(t){O(t,e),at(t,i,e)}))},restoreAll:function(){var t=this._settings;gt(t).forEach((function(e){ut(e,t)}))}},wt.load=function(t,e){var i=a(e);at(t,i)},wt.resetStatus=function(t){$(t)},e&&function(t,e){if(e)if(e.length)for(var i,r=0;i=e[r];r+=1)l(t,i);else l(t,e)}(wt,window.lazyLoadOptions),wt}()},
vendor: 191 bytes, line 1
1"../node_modules/@roots/bud-client/lib/dom-ready.js":(t,e)=>{"use strict";e.Z=t=>{window.requestAnimationFrame((async function e(){document.body?await t():window.requestAnimationFrame(e)}))}}
1},t=>{var e=e=>t(t.s=e);e("./scripts/app.js"),e("./styles/app.css")}]);
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.