/*! For license information please see landing-page-pathing-bundle.js.LICENSE.txt */ (()=>{var t={2865:t=>{var e;self,e=()=>(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function r(t,e,r,n){var i,s=arguments.length,a=s<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(a=(s<3?i(a):s>3?i(e,r,a):i(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a}t.r(e),t.d(e,{LandingPagePathing:()=>jl}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const n=globalThis,i=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),a=new WeakMap;class o{constructor(t,e,r){if(this._$cssResult$=!0,r!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=a.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&a.set(e,t))}return t}toString(){return this.cssText}}const l=(t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),i=n.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=r.cssText,t.appendChild(e)}},c=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new o("string"==typeof t?t:t+"",void 0,s))(e)})(t):t,{is:u,defineProperty:h,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:d,getPrototypeOf:g}=Object,m=globalThis,_=m.trustedTypes,v=_?_.emptyScript:"",y=m.reactiveElementPolyfillSupport,x=(t,e)=>t,b={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},w=(t,e)=>!u(t,e),T={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:w};Symbol.metadata??=Symbol("metadata"),m.litPropertyMetadata??=new WeakMap;class A extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=T){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&h(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){const{get:n,set:i}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return n?.call(this)},set(e){const s=n?.call(this);i.call(this,e),this.requestUpdate(t,s,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??T}static _$Ei(){if(this.hasOwnProperty(x("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(x("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(x("properties"))){const t=this.properties,e=[...f(t),...d(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==r.converter?.toAttribute?r.converter:b).toAttribute(e,r.type);this._$Em=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(t,e){const r=this.constructor,n=r._$Eh.get(t);if(void 0!==n&&this._$Em!==n){const t=r.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:b;this._$Em=n,this[n]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??w)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[x("elementProperties")]=new Map,A[x("finalized")]=new Map,y?.({ReactiveElement:A}),(m.reactiveElementVersions??=[]).push("2.0.4");const S=globalThis,E=S.trustedTypes,k=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",O=`lit$${(Math.random()+"").slice(9)}$`,P="?"+O,M=`<${P}>`,$=document,R=()=>$.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,I="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,N=/>/g,F=RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,Y=/"/g,X=/^(?:script|style|textarea|title)$/i,H=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),j=H(1),q=H(2),W=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),G=new WeakMap,K=$.createTreeWalker($,129);function Z(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==k?k.createHTML(e):e}const Q=(t,e)=>{const r=t.length-1,n=[];let i,s=2===e?"":"",a=B;for(let e=0;e"===l[0]?(a=i??B,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,o=l[1],a=void 0===l[3]?F:'"'===l[3]?Y:L):a===Y||a===L?a=F:a===U||a===N?a=B:(a=F,i=void 0);const h=a===F&&t[e+1].startsWith("/>")?" ":"";s+=a===B?r+M:c>=0?(n.push(o),r.slice(0,c)+C+r.slice(c)+O+h):r+O+(-2===c?e:h)}return[Z(t,s+(t[r]||"")+(2===e?"":"")),n]};class J{constructor({strings:t,_$litType$:e},r){let n;this.parts=[];let i=0,s=0;const a=t.length-1,o=this.parts,[l,c]=Q(t,e);if(this.el=J.createElement(l,r),K.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=K.nextNode())&&o.length0){n.textContent=E?E.emptyScript:"";for(let r=0;rz(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==V&&D(this._$AH)?this._$AA.nextSibling.data=t:this.T($.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=J.createElement(Z(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new et(n,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new J(t)),e}k(t){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of t)n===e.length?e.push(r=new rt(this.S(R()),this.S(R()),this,this.options)):r=e[n],r._$AI(i),n++;n2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=V}_$AI(t,e=this,r,n){const i=this.strings;let s=!1;if(void 0===i)t=tt(this,t,e,0),s=!D(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const n=t;let a,o;for(t=i[0],a=0;a{const n=r?.renderBefore??e;let i=n._$litPart$;if(void 0===i){const t=r?.renderBefore??null;n._$litPart$=i=new rt(e.insertBefore(R(),t),t,void 0,r??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return W}}ct._$litElement$=!0,ct.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ct});const ut=globalThis.litElementPolyfillSupport;ut?.({LitElement:ct}),(globalThis.litElementVersions??=[]).push("4.0.4");const ht={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:w},pt=(t=ht,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),"accessor"===n){const{name:n}=r;return{set(r){const i=e.get.call(this);e.set.call(this,r),this.requestUpdate(n,i,t)},init(e){return void 0!==e&&this.P(n,void 0,t),e}}}if("setter"===n){const{name:n}=r;return function(r){const i=this[n];e.call(this,r),this.requestUpdate(n,i,t)}}throw Error("Unsupported decorator location: "+n)};function ft(t){return(e,r)=>"object"==typeof r?pt(t,e,r):((t,e,r)=>{const n=e.hasOwnProperty(r);return e.constructor.createProperty(r,n?{...t,wrapped:!0}:t),n?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}function dt(t){return ft({...t,state:!0,attribute:!1})}const gt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,r),r);function mt(t,e){return(r,n,i)=>{const s=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof n?r:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return gt(r,n,{get(){let r=t.call(this);return void 0===r&&(r=s(this),(null!==r||this.hasUpdated)&&e.call(this,r)),r}})}return gt(r,n,{get(){return s(this)}})}}let _t;function vt(t){return(e,r)=>{const{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return gt(e,r,{get(){const e=this.renderRoot?.querySelector(s),r=e?.assignedElements(t)??[];return void 0===i?r:r.filter((t=>t.matches(i)))}})}}const yt=((t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[n+1]),t[0]);return new o(r,t,s)})` .landing-page-path .lpp-article-content .lpp-image { overflow: hidden; border-radius: 16px; } .landing-page-path[article-count='3'] article:nth-child(2) .lpp-image ::slotted(img), .landing-page-path[article-count='4'] article:nth-child(2) .lpp-image ::slotted(img) { animation: 1s scale-up; } .landing-page-path { margin: 0; font-size: 1rem; font-family: 'Segoe UI', SegoeUI, 'Helvetica Neue', Helvetica, Arial, sans-serif; padding-top: 24px; padding-bottom: 24px; } .landing-page-path .container { width: 90%; margin-right: auto; margin-left: auto; } .landing-page-path .row { display: flex; flex-wrap: wrap; margin-right: -0.75rem; margin-left: -0.75rem; flex-direction: column; } .landing-page-path .lpp-content { position: relative; width: 100%; margin: 0 auto; text-align: center; } .landing-page-path .lpp-main { width: 100%; height: 100%; padding-top: 48px; justify-content: flex-start; align-items: center; gap: 24px; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: center; } .landing-page-path .lpp-article-content > div { text-align: center; width: 100%; padding-bottom: 24px; } .landing-page-path[article-count='3'] .lpp-article-content .lpp-image { padding-bottom: 24px; } ::slotted(.path-img) { width: 100%; height: 100%; border-radius: 16px; } .landing-page-path .lpp-main article { position: relative; } .landing-page-path .content-flow { overflow-y: hidden; } @media (min-width: 540px) { .landing-page-path { padding-top: 32px; padding-bottom: 32px; } .landing-page-path .lpp-main article.article-0 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-2 .lpp-image ::slotted(img), .landing-page-path .lpp-main article.article-3 .lpp-image ::slotted(img) { max-height: 426px; max-width: 426px; } .landing-page-path .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='4'] .lpp-main article.article-2 .lpp-image ::slotted(img) { max-height: 319px; max-width: 426px; } .landing-page-path .lpp-main article.article-0 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-2 .bottom-content, .landing-page-path .lpp-main article.article-3 .bottom-content { max-width: 426px; } .landing-page-path .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='4'] .lpp-main article.article-2 .bottom-content { max-width: 426px; } } @media (min-width: 860px) { .landing-page-path .lpp-content { width: 90%; max-width: 716px; } .landing-page-path .lpp-main article.article-0 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-2 .lpp-image ::slotted(img), .landing-page-path .lpp-main article.article-3 .lpp-image ::slotted(img) { max-height: 692px; max-width: 692px; } .landing-page-path .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='4'] .lpp-main article.article-2 .lpp-image ::slotted(img) { max-height: 519px; max-width: 692px; } .landing-page-path .lpp-main article.article-0 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-2 .bottom-content, .landing-page-path .lpp-main article.article-3 .bottom-content { max-width: 692px; } .landing-page-path .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='4'] .lpp-main article.article-2 .bottom-content { max-width: 692px; } } @media (min-width: 1084px) { .landing-page-path { padding-top: 48px; padding-bottom: 48px; } .landing-page-path .container { width: 95%; box-sizing: content-box; } .landing-page-path .lpp-content { width: 65%; max-width: 666px; } .landing-page-path .lpp-main { flex-direction: row; justify-content: center; gap: 48px; } .landing-page-path .lpp-article-content > div { padding-bottom: 0; } .landing-page-path[article-count='4'] .lpp-main { flex-direction: column; } .landing-page-path:not([article-count='3']) .lpp-main > div { margin: 0 auto; flex: 1 1 49%; flex-direction: row; justify-content: center; align-items: center; gap: 48px; display: inline-flex; position: relative; } .landing-page-path:not([article-count='3']) .lpp-article-content { align-self: stretch; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 24px; display: flex; } .landing-page-path:not([article-count='3']) .lpp-main article { display: flex; } .landing-page-path[article-count='3'] .lpp-main > div { flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; display: inline-flex; } .landing-page-path[article-count='3'] .lpp-main article[aria-hidden='true'] > div { display: none; } .landing-page-path .lpp-main article.article-0 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-2 .lpp-image ::slotted(img), .landing-page-path .lpp-main article.article-3 .lpp-image ::slotted(img) { max-height: 476px; max-width: 476px; } .landing-page-path .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='4'] .lpp-main article.article-2 .lpp-image ::slotted(img) { max-height: 357px; max-width: 476px; } .landing-page-path .lpp-main article.article-0 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-2 .bottom-content, .landing-page-path .lpp-main article.article-3 .bottom-content { max-width: 476px; } .landing-page-path .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='4'] .lpp-main article.article-2 .bottom-content { max-width: 476px; } } @media (min-width: 1400px) { .landing-page-path .container { max-width: 1600px; margin: 0 auto; } .landing-page-path .lpp-content { width: 65%; max-width: 856px; } .landing-page-path .lpp-main article.article-0 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-2 .lpp-image ::slotted(img), .landing-page-path .lpp-main article.article-3 .lpp-image ::slotted(img) { max-height: 618px; max-width: 618px; } .landing-page-path .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='3'] .lpp-main article.article-1 .lpp-image ::slotted(img), .landing-page-path[article-count='4'] .lpp-main article.article-2 .lpp-image ::slotted(img) { max-height: 463px; max-width: 618px; } .landing-page-path .lpp-main article.article-0 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-2 .bottom-content, .landing-page-path .lpp-main article.article-3 .bottom-content { max-width: 618px; } .landing-page-path .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='3'] .lpp-main article.article-1 .bottom-content, .landing-page-path[article-count='4'] .lpp-main article.article-2 .bottom-content { max-width: 618px; } } `,xt=Symbol.for(""),bt=t=>{if(t?.r===xt)return t?._$litStatic$},wt=new Map,Tt=t=>(e,...r)=>{const n=r.length;let i,s;const a=[],o=[];let l,c=0,u=!1;for(;cs;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=a,e.parent=e._dp=t,e},We=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,s=e._next;i?i._next=s:t[r]===e&&(t[r]=s),s?s._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},Ve=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ge=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Ke=function(t,e,r,n){return t._startAt&&(Ct?t._startAt.revert(ye):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Ze=function t(e){return!e||e._ts&&t(e.parent)},Qe=function(t){return t._repeat?Je(t._tTime,t=t.duration()+t._rDelay)*t:0},Je=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},tr=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},er=function(t){return t._end=De(t._start+(t._tDur/Math.abs(t._ts||t._rts||Lt)||0))},rr=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=De(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),er(t),r._dirty||Ge(r,t)),t},nr=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._startLt)&&e.render(r,!0)),Ge(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},ir=function(t,e,r,n){return e.parent&&Ve(e),e._start=De((Kt(r)?r:r||t!==Pt?pr(t,r,e):t._time)+e._delay),e._end=De(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),qe(t,e,"_first","_last",t._sort?"_start":0),lr(e)||(t._recent=e),n||nr(t,e),t._ts<0&&rr(t,t._tTime),t},sr=function(t,e){return(he.ScrollTrigger||de("scrollTrigger",e))&&he.ScrollTrigger.create(e,t)},ar=function(t,e,r,n,i){return hn(t,e,i),t._initted?!r&&t._pt&&!Ct&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&zt!==Xr.frame?(we.push(t),t._lazy=[i,n],1):void 0:1},or=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},lr=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},cr=function(t,e,r,n){var i=t._repeat,s=De(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:De(s*(i+1)+t._rDelay*i):s,a>0&&!n&&rr(t,t._tTime=t._tDur*a),t.parent&&er(t),r||Ge(t.parent,t),t},ur=function(t){return t instanceof sn?Ge(t):cr(t,t._dur)},hr={_start:0,endTime:_e,totalDuration:_e},pr=function t(e,r,n){var i,s,a,o=e.labels,l=e._recent||hr,c=e.duration()>=Ft?l.endTime(!1):e._dur;return Vt(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s?(i>=0&&(r=r.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(i<0?l:n).totalDuration()/100:1)):i<0?(r in o||(o[r]=c),o[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),a&&n&&(s=s/100*(ne(n)?n[0]:n).totalDuration()),i>1?t(e,r.substr(0,i-1),n)+s:c+s)):null==r?c:+r},fr=function(t,e,r){var n,i,s=Kt(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=r,t){for(n=o,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=Jt(i.vars.inherit)&&i.parent;o.immediateRender=Jt(n.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new mn(e[0],o,e[a+1])},dr=function(t,e){return t||0===t?e(t):e},gr=function(t,e,r){return re?e:r},mr=function(t,e){return Vt(t)&&(e=ue.exec(t))?e[1]:""},_r=[].slice,vr=function(t,e){return t&&Qt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Qt(t[0]))&&!t.nodeType&&t!==Mt},yr=function(t,e,r){return Ot&&!e&&Ot.selector?Ot.selector(t):!Vt(t)||r||!$t&&Hr()?ne(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return Vt(t)&&!e||vr(t,1)?(n=r).push.apply(n,yr(t)):r.push(t)}))||r}(t,r):vr(t)?_r.call(t,0):t?[t]:[]:_r.call((e||Rt).querySelectorAll(t),0)},xr=function(t){return t=yr(t)[0]||ge("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return yr(e,r.querySelectorAll?r:r===t?ge("Invalid scope")||Rt.createElement("div"):t)}},br=function(t){return t.sort((function(){return.5-Math.random()}))},wr=function(t){if(Gt(t))return t;var e=Qt(t)?t:{each:t},r=Zr(e.ease),n=e.from||0,i=parseFloat(e.base)||0,s={},a=n>0&&n<1,o=isNaN(n)||a,l=e.axis,c=n,u=n;return Vt(n)?c=u={center:.5,edges:.5,end:1}[n]||0:!a&&o&&(c=n[0],u=n[1]),function(t,a,h){var p,f,d,g,m,_,v,y,x,b=(h||e).length,w=s[b];if(!w){if(!(x="auto"===e.grid?0:(e.grid||[1,Ft])[1])){for(v=-Ft;v<(v=h[x++].getBoundingClientRect().left)&&xv&&(v=m),mb?b-1:l?"y"===l?b/x:x:Math.max(x,b/x))||0)*("edges"===n?-1:1),w.b=b<0?i-b:i,w.u=mr(e.amount||e.each)||0,r=r&&b<0?Gr(r):r}return b=(w[t]-w.min)/w.max||0,De(w.b+(r?r(b):b)*w.v)+w.u}},Tr=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=De(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(Kt(r)?0:mr(r))}},Ar=function(t,e){var r,n,i=ne(t);return!i&&Qt(t)&&(r=i=t.radius||Ft,t.values?(t=yr(t.values),(n=!Kt(t[0]))&&(r*=r)):t=Tr(t.increment)),dr(e,i?Gt(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,s,a=parseFloat(n?e.x:e),o=parseFloat(n?e.y:0),l=Ft,c=0,u=t.length;u--;)(i=n?(i=t[u].x-a)*i+(s=t[u].y-o)*s:Math.abs(t[u]-a))(i=Math.abs(i))&&(s=n,o=i);return s},Pr=function(t,e,r){var n,i,s,a=t.vars,o=a[e],l=Ot,c=t._ctx;if(o)return n=a[e+"Params"],i=a.callbackScope||t,r&&we.length&&Be(),c&&(Ot=c),s=n?o.apply(i,n):o.call(i),Ot=l,s},Mr=function(t){return Ve(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Ct),t.progress()<1&&Pr(t,"onInterrupt"),t},$r=[],Rr=function(t){if(t)if(t=!t.name&&t.default||t,te()||t.headless){var e=t.name,r=Gt(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:_e,render:Sn,add:cn,kill:kn,modifier:En,rawVars:0},s={targetTest:0,get:0,getSetter:bn,aliases:{},register:0};if(Hr(),t!==n){if(Ae[e])return;Le(n,Le(He(t,i),s)),Ye(n.prototype,Ye(i,He(t,s))),Ae[n.prop=e]=n,t.targetTest&&(ke.push(n),be[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}me(e,n),t.register&&t.register(Xn,n,Pn)}else $r.push(t)},Dr=255,zr={aqua:[0,Dr,Dr],lime:[0,Dr,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Dr],navy:[0,0,128],white:[Dr,Dr,Dr],olive:[128,128,0],yellow:[Dr,Dr,0],orange:[Dr,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Dr,0,0],pink:[Dr,192,203],cyan:[0,Dr,Dr],transparent:[Dr,Dr,Dr,0]},Ir=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Dr+.5|0},Br=function(t,e,r){var n,i,s,a,o,l,c,u,h,p,f=t?Kt(t)?[t>>16,t>>8&Dr,t&Dr]:0:zr.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),zr[t])f=zr[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+n+n+i+i+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&Dr,f&Dr,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&Dr,t&Dr]}else if("hsl"===t.substr(0,3))if(f=p=t.match(ie),e){if(~t.indexOf("="))return f=t.match(se),r&&f.length<4&&(f[3]=1),f}else a=+f[0]%360/360,o=+f[1]/100,n=2*(l=+f[2]/100)-(i=l<=.5?l*(o+1):l+o-l*o),f.length>3&&(f[3]*=1),f[0]=Ir(a+1/3,n,i),f[1]=Ir(a,n,i),f[2]=Ir(a-1/3,n,i);else f=t.match(ie)||zr.transparent;f=f.map(Number)}return e&&!p&&(n=f[0]/Dr,i=f[1]/Dr,s=f[2]/Dr,l=((c=Math.max(n,i,s))+(u=Math.min(n,i,s)))/2,c===u?a=o=0:(h=c-u,o=l>.5?h/(2-c-u):h/(c+u),a=c===n?(i-s)/h+(io||y<0)&&(c+=y-l),((g=(_=(u+=y)-c)-p)>0||x)&&(v=++n.frame,i=_-1e3*n.time,n.time=_/=1e3,p+=g+(g>=h?4:h-g),m=1),x||(t=e(r)),m)for(s=0;s=e&&s--},_listeners:f},n}(),Hr=function(){return!Bt&&Xr.wake()},jr={},qr=/^[\d.\-M][\d.\-,\s]/,Wr=/["']/g,Vr=function(t){for(var e,r,n,i={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,l=s.length;o1&&a.config?a.config.apply(null,~t.indexOf("{")?[Vr(s[1])]:(e=t,r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r),e.substring(r,~i&&i=1?r:1,s=(n||(e?.3:.45))/(r<1?r:1),a=s/Yt*(Math.asin(1/i)||0),o=function(t){return 1===t?1:i*Math.pow(2,-10*t)*Wt((t-a)*s)+1},l="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Jr(o);return s=Yt/s,l.config=function(r,n){return t(e,r,n)},l},en=function t(e,r){void 0===r&&(r=1.70158);var n=function(t){return t?--t*t*((r+1)*t+r)+1:0},i="out"===e?n:"in"===e?function(t){return 1-n(1-t)}:Jr(n);return i.config=function(r){return t(e,r)},i};$e("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Qr(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),jr.Linear.easeNone=jr.none=jr.Linear.easeIn,Qr("Elastic",tn("in"),tn("out"),tn()),function(t,e){var r=function(r){return r<.36363636363636365?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};Qr("Bounce",(function(t){return 1-r(1-t)}),r)}(7.5625,2.75),Qr("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),Qr("Circ",(function(t){return-(jt(1-t*t)-1)})),Qr("Sine",(function(t){return 1===t?1:1-qt(t*Xt)})),Qr("Back",en("in"),en("out"),en()),jr.SteppedEase=jr.steps=he.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,n=t+(e?0:1),i=e?1:0;return function(t){return((n*gr(0,.99999999,t)|0)+i)*r}}},Nt.ease=jr["quad.out"],$e("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return Ce+=t+","+t+"Params,"}));var rn=function(t,e){this.id=Ht++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Me,this.set=e?e.getSetter:bn},nn=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,cr(this,+t.duration,1,1),this.data=t.data,Ot&&(this._ctx=Ot,Ot.data.push(this)),Bt||Xr.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,cr(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Hr(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(rr(this,t),!r._dp||r.parent||nr(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&ir(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Lt||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Ue(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Qe(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.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Qe(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Je(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?tr(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(gr(-Math.abs(this._delay),this._tDur,r),!1!==e),er(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):(Hr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Lt&&(this._tTime-=Lt)))),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)&&ir(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Jt(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?tr(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=xe);var e=Ct;return Ct=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),Ct=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,ur(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,ur(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(pr(this,t),Jt(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,Jt(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,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise((function(r){var n=Gt(t)?t:Fe,i=function(){var t=e.then;e.then=null,Gt(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){Mr(this)},t}();Le(nn.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 sn=function(t){function e(e,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=Jt(e.sortChildren),Pt&&ir(e.parent||Pt,St(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&sr(St(n),e.scrollTrigger),n}Et(e,t);var r=e.prototype;return r.to=function(t,e,r){return fr(0,arguments,this),this},r.from=function(t,e,r){return fr(1,arguments,this),this},r.fromTo=function(t,e,r,n){return fr(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,je(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new mn(t,e,pr(this,r),1),this},r.call=function(t,e,r){return ir(this,mn.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,i,s,a){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new mn(t,r,pr(this,i)),this},r.staggerFrom=function(t,e,r,n,i,s,a){return r.runBackwards=1,je(r).immediateRender=Jt(r.immediateRender),this.staggerTo(t,e,r,n,i,s,a)},r.staggerFromTo=function(t,e,r,n,i,s,a,o){return n.startAt=r,je(n).immediateRender=Jt(n.immediateRender),this.staggerTo(t,e,n,i,s,a,o)},r.render=function(t,e,r){var n,i,s,a,o,l,c,u,h,p,f,d,g=this._time,m=this._dirty?this.totalDuration():this._tDur,_=this._dur,v=t<=0?0:De(t),y=this._zTime<0!=t<0&&(this._initted||!_);if(this!==Pt&&v>m&&t>=0&&(v=m),v!==this._tTime||r||y){if(g!==this._time&&_&&(v+=this._time-g,t+=this._time-g),n=v,h=this._start,l=!(u=this._ts),y&&(_||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(f=this._yoyo,o=_+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(n=De(v%o),v===m?(a=this._repeat,n=_):((a=~~(v/o))&&a===v/o&&(n=_,a--),n>_&&(n=_)),p=Je(this._tTime,o),!g&&this._tTime&&p!==a&&this._tTime-p*o-this._dur<=0&&(p=a),f&&1&a&&(n=_-n,d=1),a!==p&&!this._lock){var x=f&&1&p,b=x===(f&&1&a);if(ae)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start=g&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&c!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!l){c=0,s&&(v+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var w=t<0?t:n;i;){if(s=i._prev,(i._act||w<=i._end)&&i._ts&&c!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(w-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(w-i._start)*i._ts,e,r||Ct&&(i._initted||i._startAt)),n!==this._time||!this._ts&&!l){c=0,s&&(v+=this._zTime=w?-1e-8:Lt);break}}i=s}}if(c&&!e&&(this.pause(),c.render(n>=g?0:-1e-8)._zTime=n>=g?1:-1,this._ts))return this._start=h,er(this),this.render(t,e,r);this._onUpdate&&!e&&Pr(this,"onUpdate",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&g)&&(h!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||((t||!_)&&(v===m&&this._ts>0||!v&&this._ts<0)&&Ve(this,1),e||t<0&&!g||!v&&!g&&m||(Pr(this,v===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(Kt(e)||(e=pr(this,e,t)),!(t instanceof nn)){if(ne(t))return t.forEach((function(t){return r.add(t,e)})),this;if(Vt(t))return this.addLabel(t,e);if(!Gt(t))return this;t=mn.delayedCall(0,t)}return this!==t?ir(this,t,e):this},r.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-Ft);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof mn?e&&i.push(s):(r&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,r)))),s=s._next;return i},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return Vt(t)?this.removeLabel(t):Gt(t)?this.killTweensOf(t):(We(this,t),t===this._recent&&(this._recent=this._last),Ge(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=De(Xr.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=pr(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var n=mn.delayedCall(0,e||_e,r);return n.data="isPause",this._hasPause=1,ir(this,n,pr(this,t))},r.removePause=function(t){var e=this._first;for(t=pr(this,t);e;)e._start===t&&"isPause"===e.data&&Ve(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)an!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,n=[],i=yr(t),s=this._first,a=Kt(e);s;)s instanceof mn?Ie(s._targets,i)&&(a?(!an||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&n.push(s):(r=s.getTweensOf(i,e)).length&&n.push.apply(n,r),s=s._next;return n},r.tweenTo=function(t,e){e=e||{};var r,n=this,i=pr(n,t),s=e,a=s.startAt,o=s.onStart,l=s.onStartParams,c=s.immediateRender,u=mn.to(n,Le({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale())||Lt,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale());u._dur!==t&&cr(u,t,0,1).render(u._time,!0,!0),r=1}o&&o.apply(u,l||[])}},e));return c?u.render(0):u},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Le({startAt:{time:pr(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),Or(this,pr(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),Or(this,pr(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Lt)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,s=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in s)s[n]>=r&&(s[n]+=t);return Ge(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ge(this)},r.totalDuration=function(t){var e,r,n,i=0,s=this,a=s._last,o=Ft;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(n=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,ir(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(i-=r,(!n&&!s._dp||n&&n.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),o=0),a._end>i&&a._ts&&(i=a._end),a=e;cr(s,s===Pt&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(Pt._ts&&(Ue(Pt,tr(t,Pt)),zt=Xr.frame),Xr.frame>=Ee){Ee+=Ut.autoSleep||120;var e=Pt._first;if((!e||!e._ts)&&Ut.autoSleep&&Xr._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Xr.sleep()}}},e}(nn);Le(sn.prototype,{_lock:0,_hasPause:0,_forcing:0});var an,on,ln=function(t,e,r,n,i,s,a){var o,l,c,u,h,p,f,d,g=new Pn(this._pt,t,e,0,1,An,null,i),m=0,_=0;for(g.b=r,g.e=n,r+="",(f=~(n+="").indexOf("random("))&&(n=kr(n)),s&&(s(d=[r,n],t,e),r=d[0],n=d[1]),l=r.match(oe)||[];o=oe.exec(n);)u=o[0],h=n.substring(m,o.index),c?c=(c+1)%5:"rgba("===h.substr(-5)&&(c=1),u!==l[_++]&&(p=parseFloat(l[_-1])||0,g._pt={_next:g._pt,p:h||1===_?h:",",s:p,c:"="===u.charAt(1)?ze(p,u)-p:parseFloat(u)-p,m:c&&c<4?Math.round:0},m=oe.lastIndex);return g.c=m")})),a.duration();else{for(u in l={},x)"ease"===u||"easeEach"===u||pn(u,x[u],l,x.easeEach);for(u in l)for(E=l[u].sort((function(t,e){return t.t-e.t})),O=0,o=0;of-Lt&&!g?f:td&&(n=d)),(l=this._yoyo&&1&s)&&(h=this._yEase,n=d-n),o=Je(this._tTime,a),n===p&&!r&&this._initted&&s===o)return this._tTime=m,this;s!==o&&(u&&this._yEase&&Kr(u,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==a&&this._initted&&(this._lock=r=1,this.render(De(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(ar(this,g?t:n,r,e,m))return this._tTime=0,this;if(!(p===this._time||r&&this.vars.repeatRefresh&&s!==o))return this;if(d!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(n/d),this._from&&(this.ratio=c=1-c),n&&!p&&!e&&!s&&(Pr(this,"onStart"),this._tTime!==m))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;u&&u.render(t<0?t:u._dur*u._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(g&&Ke(this,t,0,r),Pr(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!e&&this.parent&&Pr(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(g&&!this._onUpdate&&Ke(this,t,0,!0),(t||!d)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Ve(this,1),e||g&&!p||!(m||p||l)||(Pr(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,n){var i,s,a,o=t.ratio,l=e<0||!e&&(!t._start&&or(t)&&(t._initted||!lr(t))||(t._ts<0||t._dp._ts<0)&&!lr(t))?0:1,c=t._rDelay,u=0;if(c&&t._repeat&&(u=gr(0,t._tDur,e),s=Je(u,c),t._yoyo&&1&s&&(l=1-l),s!==Je(t._tTime,c)&&(o=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==o||Ct||n||t._zTime===Lt||!e&&t._zTime){if(!t._initted&&ar(t,e,n,r,u))return;for(a=t._zTime,t._zTime=e||(r?Lt:0),r||(r=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=u,i=t._pt;i;)i.r(l,i.d),i=i._next;e<0&&Ke(t,e,0,!0),t._onUpdate&&!r&&Pr(t,"onUpdate"),u&&t._repeat&&!r&&t.parent&&Pr(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Ve(t,1),r||Ct||(Pr(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.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)},r.resetTo=function(t,e,r,n,i){Bt||Xr.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||hn(this,s),function(t,e,r,n,i,s,a,o){var l,c,u,h,p=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!p)for(p=t._ptCache[e]=[],u=t._ptLookup,h=t._targets.length;h--;){if((l=u[h][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return on=1,t.vars[e]="+=0",hn(t,a),on=0,o?ge(e+" not eligible for reset"):1;p.push(l)}for(h=p.length;h--;)(l=(c=p[h])._pt||c).s=!n&&0!==n||i?l.s+(n||0)+s*l.c:n,l.c=r-l.s,c.e&&(c.e=Re(r)+mr(c.e)),c.b&&(c.b=l.s+mr(c.b))}(this,t,e,r,n,this._ease(s/this._dur),s,i)?this.resetTo(t,e,r,n,1):(rr(this,0),this.parent||qe(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Mr(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,an&&!0!==an.vars.overwrite)._first||Mr(this),this.parent&&r!==this.timeline.totalDuration()&&cr(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,a,o,l,c,u=this._targets,h=t?yr(t):u,p=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(u,h))return"all"===e&&(this._pt=0),Mr(this);for(n=this._op=this._op||[],"all"!==e&&(Vt(e)&&(o={},$e(e,(function(t){return o[t]=1})),e=o),e=function(t,e){var r,n,i,s,a=t[0]?Pe(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(n in r=Ye({},e),o)if(n in r)for(i=(s=o[n].split(",")).length;i--;)r[s[i]]=r[n];return r}(u,e)),c=u.length;c--;)if(~h.indexOf(u[c]))for(o in i=p[c],"all"===e?(n[c]=e,a=i,s={}):(s=n[c]=n[c]||{},a=e),a)(l=i&&i[o])&&("kill"in l.d&&!0!==l.d.kill(o)||We(this,l,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&f&&Mr(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return fr(1,arguments)},e.delayedCall=function(t,r,n,i){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},e.fromTo=function(t,e,r){return fr(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return Pt.killTweensOf(t,e,r)},e}(nn);Le(mn.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),$e("staggerTo,staggerFrom,staggerFromTo",(function(t){mn[t]=function(){var e=new sn,r=_r.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var _n=function(t,e,r){return t[e]=r},vn=function(t,e,r){return t[e](r)},yn=function(t,e,r,n){return t[e](n.fp,r)},xn=function(t,e,r){return t.setAttribute(e,r)},bn=function(t,e){return Gt(t[e])?vn:Zt(t[e])&&t.setAttribute?xn:_n},wn=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},Tn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},An=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},Sn=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},En=function(t,e,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(t,e,r),s=i},kn=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?We(this,n,"_pt"):n.dep||(e=1),n=r;return!e},Cn=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},On=function(t){for(var e,r,n,i,s=t._pt;s;){for(e=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=e}t._pt=n},Pn=function(){function t(t,e,r,n,i,s,a,o,l){this.t=e,this.s=n,this.c=i,this.p=r,this.r=s||wn,this.d=a||this,this.set=o||_n,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=Cn,this.m=t,this.mt=r,this.tween=e},t}();$e(Ce+"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 be[t]=1})),he.TweenMax=he.TweenLite=mn,he.TimelineLite=he.TimelineMax=sn,Pt=new sn({sortChildren:!1,defaults:Nt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ut.stringFilter=Yr;var Mn=[],$n={},Rn=[],Dn=0,zn=0,In=function(t){return($n[t]||Rn).map((function(t){return t()}))},Bn=function(){var t=Date.now(),e=[];t-Dn>2&&(In("matchMediaInit"),Mn.forEach((function(t){var r,n,i,s,a=t.queries,o=t.conditions;for(n in a)(r=Mt.matchMedia(a[n]).matches)&&(i=1),r!==o[n]&&(o[n]=r,s=1);s&&(t.revert(),i&&e.push(t))})),In("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),Dn=t,In("matchMedia"))},Un=function(){function t(t,e){this.selector=e&&xr(e),this.data=[],this._r=[],this.isReverted=!1,this.id=zn++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){Gt(t)&&(r=e,e=t,t=Gt);var n=this,i=function(){var t,i=Ot,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=xr(r)),Ot=n,t=e.apply(n,arguments),Gt(t)&&n._r.push(t),Ot=i,n.selector=s,n.isReverted=!1,t};return n.last=i,t===Gt?i(n,(function(t){return n.add(null,t)})):t?n[t]=i:i},e.ignore=function(t){var e=Ot;Ot=null,t(this),Ot=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof mn&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})));for(n.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),i=r.data.length;i--;)(e=r.data[i])instanceof sn?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof mn)&&e.revert&&e.revert(t);r._r.forEach((function(e){return e(t,r)})),r.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var n=Mn.length;n--;)Mn[n].id===this.id&&Mn.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Nn=function(){function t(t){this.contexts=[],this.scope=t,Ot&&Ot.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){Qt(t)||(t={matches:t});var n,i,s,a=new Un(0,r||this.scope),o=a.conditions={};for(i in Ot&&!a.selector&&(a.selector=Ot.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===i?s=1:(n=Mt.matchMedia(t[i]))&&(Mn.indexOf(a)<0&&Mn.push(a),(o[i]=n.matches)&&(s=1),n.addListener?n.addListener(Bn):n.addEventListener("change",Bn));return s&&e(a,(function(t){return a.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),Fn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return Xn.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var s=Ae[e],a=Pe(t),o=a.harness&&(a.harness.aliases||{})[e]||e,l=s?function(e){var n=new s;It._pt=0,n.init(t,r?e+r:e,It,0,[t]),n.render(1,n),It._pt&&Sn(1,It)}:a.set(t,o);return s?l:function(e){return l(t,o,r?e+r:e,a,1)}},quickTo:function(t,e,r){var n,i=Xn.to(t,Ye(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),s=function(t,r,n){return i.resetTo(e,t,r,n)};return s.tween=i,s},isTweening:function(t){return Pt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Zr(t.ease,Nt.ease)),Xe(Nt,t||{})},config:function(t){return Xe(Ut,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,s=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!Ae[t]&&!he[t]&&ge(e+" effect requires "+t+" plugin.")})),Se[e]=function(t,e,n){return r(yr(t),Le(e||{},i),n)},s&&(sn.prototype[e]=function(t,r,n){return this.add(Se[e](t,Qt(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){jr[t]=Zr(e)},parseEase:function(t,e){return arguments.length?Zr(t,e):jr},getById:function(t){return Pt.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new sn(t);for(i.smoothChildTiming=Jt(t.smoothChildTiming),Pt.remove(i),i._dp=0,i._time=i._tTime=Pt._time,r=Pt._first;r;)n=r._next,!e&&!r._dur&&r instanceof mn&&r.vars.onComplete===r._targets[0]||ir(i,r,r._start-r._delay),r=n;return ir(Pt,i,0),i},context:function(t,e){return t?new Un(t,e):Ot},matchMedia:function(t){return new Nn(t)},matchMediaRefresh:function(){return Mn.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||Bn()},addEventListener:function(t,e){var r=$n[t]||($n[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=$n[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function t(e,r,n){var i=r-e;return ne(e)?Er(e,t(0,e.length),r):dr(n,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,r,n){var i=r-e,s=2*i;return ne(e)?Er(e,t(0,e.length-1),r):dr(n,(function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)}))},distribute:wr,random:Sr,snap:Ar,normalize:function(t,e,r){return Cr(t,e,0,1,r)},getUnit:mr,clamp:function(t,e,r){return dr(r,(function(r){return gr(t,e,r)}))},splitColor:Br,toArray:yr,selector:xr,mapRange:Cr,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(yi,r,"")),e=vi}(s||r)&&this.props.push(e,r,s[e])},bi=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},wi=function(){var t,e,r=this.props,n=this.target,i=n.style,s=n._gsap;for(t=0;t=0?Ei[i]:"")+t},Ci=function(){"undefined"!=typeof window&&window.document&&(Hn=window,jn=Hn.document,qn=jn.documentElement,Vn=Ai("div")||{style:{}},Ai("div"),vi=ki(vi),yi=vi+"Origin",Vn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Zn=!!ki("perspective"),Kn=Xn.core.reverting,Wn=1)},Oi=function t(e){var r,n=Ai("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,a=this.style.cssText;if(qn.appendChild(n),n.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),qn.removeChild(n),this.style.cssText=a,r},Pi=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Mi=function(t){var e;try{e=t.getBBox()}catch(r){e=Oi.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Oi||(e=Oi.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Pi(t,["x","cx","x1"])||0,y:+Pi(t,["y","cy","y1"])||0,width:0,height:0}},$i=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Mi(t))},Ri=function(t,e){if(e){var r,n=t.style;e in Qn&&e!==yi&&(e=vi),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(ri,"-$1").toLowerCase())):n.removeAttribute(e)}},Di=function(t,e,r,n,i,s){var a=new Pn(t._pt,e,r,0,1,s?hi:ui);return t._pt=a,a.b=n,a.e=i,t._props.push(r),a},zi={deg:1,rad:1,turn:1},Ii={grid:1,flex:1},Bi=function t(e,r,n,i){var s,a,o,l,c=parseFloat(n)||0,u=(n+"").trim().substr((c+"").length)||"px",h=Vn.style,p=ni.test(r),f="svg"===e.tagName.toLowerCase(),d=(f?"client":"offset")+(p?"Width":"Height"),g=100,m="px"===i,_="%"===i;if(i===u||!c||zi[i]||zi[u])return c;if("px"!==u&&!m&&(c=t(e,r,n,"px")),l=e.getCTM&&$i(e),(_||"%"===u)&&(Qn[r]||~r.indexOf("adius")))return s=l?e.getBBox()[p?"width":"height"]:e[d],Re(_?c/s*g:c/100*s);if(h[p?"width":"height"]=g+(m?u:i),a=~r.indexOf("adius")||"em"===i&&e.appendChild&&!f?e:e.parentNode,l&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==jn&&a.appendChild||(a=jn.body),(o=a._gsap)&&_&&o.width&&p&&o.time===Xr.time&&!o.uncache)return Re(c/o.width*g);if(!_||"height"!==r&&"width"!==r)(_||"%"===u)&&!Ii[Si(a,"display")]&&(h.position=Si(e,"position")),a===e&&(h.position="static"),a.appendChild(Vn),s=Vn[d],a.removeChild(Vn),h.position="absolute";else{var v=e.style[r];e.style[r]=g+i,s=e[d],v?e.style[r]=v:Ri(e,r)}return p&&_&&((o=Pe(a)).time=Xr.time,o.width=a[d]),Re(m?s*c/g:s&&c?g/s*c:0)},Ui=function(t,e,r,n){var i;return Wn||Ci(),e in si&&"transform"!==e&&~(e=si[e]).indexOf(",")&&(e=e.split(",")[0]),Qn[e]&&"transform"!==e?(i=Ki(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Zi(Si(t,yi))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Xi[e]&&Xi[e](t,e,r)||Si(t,e)||Me(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?Bi(t,e,i,r)+r:i},Ni=function(t,e,r,n){if(!r||"none"===r){var i=ki(e,t,1),s=i&&Si(t,i,1);s&&s!==r?(e=i,r=s):"borderColor"===e&&(r=Si(t,"borderTopColor"))}var a,o,l,c,u,h,p,f,d,g,m,_=new Pn(this._pt,t.style,e,0,1,An),v=0,y=0;if(_.b=r,_.e=n,r+="","auto"==(n+="")&&(h=t.style[e],t.style[e]=n,n=Si(t,e)||n,h?t.style[e]=h:Ri(t,e)),Yr(a=[r,n]),n=a[1],l=(r=a[0]).match(ae)||[],(n.match(ae)||[]).length){for(;o=ae.exec(n);)p=o[0],d=n.substring(v,o.index),u?u=(u+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(u=1),p!==(h=l[y++]||"")&&(c=parseFloat(h)||0,m=h.substr((c+"").length),"="===p.charAt(1)&&(p=ze(c,p)+m),f=parseFloat(p),g=p.substr((f+"").length),v=ae.lastIndex-g.length,g||(g=g||Ut.units[e]||m,v===n.length&&(n+=g,_.e+=g)),m!==g&&(c=Bi(t,e,h,g)||0),_._pt={_next:_._pt,p:d||1===y?d:",",s:c,c:f-c,m:u&&u<4||"zIndex"===e?Math.round:0});_.c=v-1;)r=o[i],Qn[r]&&(n=1,r="transformOrigin"===r?yi:vi),Ri(s,r);n&&(Ri(s,vi),l&&(l.svg&&s.removeAttribute("transform"),Ki(s,1),l.uncache=1,bi(a)))}},Xi={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var s=t._pt=new Pn(t._pt,e,r,0,0,Yi);return s.u=n,s.pr=-10,s.tween=i,t._props.push(r),1}}},Hi=[1,0,0,1,0,0],ji={},qi=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Wi=function(t){var e=Si(t,vi);return qi(e)?Hi:e.substr(7).match(se).map(Re)},Vi=function(t,e){var r,n,i,s,a=t._gsap||Pe(t),o=t.style,l=Wi(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Hi:l:(l!==Hi||t.offsetParent||t===qn||a.svg||(i=o.display,o.display="block",(r=t.parentNode)&&t.offsetParent||(s=1,n=t.nextElementSibling,qn.appendChild(t)),l=Wi(t),i?o.display=i:Ri(t,"display"),s&&(n?r.insertBefore(t,n):r?r.appendChild(t):qn.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Gi=function(t,e,r,n,i,s){var a,o,l,c=t._gsap,u=i||Vi(t,!0),h=c.xOrigin||0,p=c.yOrigin||0,f=c.xOffset||0,d=c.yOffset||0,g=u[0],m=u[1],_=u[2],v=u[3],y=u[4],x=u[5],b=e.split(" "),w=parseFloat(b[0])||0,T=parseFloat(b[1])||0;r?u!==Hi&&(o=g*v-m*_)&&(l=w*(-m/o)+T*(g/o)-(g*x-m*y)/o,w=w*(v/o)+T*(-_/o)+(_*x-v*y)/o,T=l):(w=(a=Mi(t)).x+(~b[0].indexOf("%")?w/100*a.width:w),T=a.y+(~(b[1]||b[0]).indexOf("%")?T/100*a.height:T)),n||!1!==n&&c.smooth?(y=w-h,x=T-p,c.xOffset=f+(y*g+x*_)-y,c.yOffset=d+(y*m+x*v)-x):c.xOffset=c.yOffset=0,c.xOrigin=w,c.yOrigin=T,c.smooth=!!n,c.origin=e,c.originIsAbsolute=!!r,t.style[yi]="0px 0px",s&&(Di(s,c,"xOrigin",h,w),Di(s,c,"yOrigin",p,T),Di(s,c,"xOffset",f,c.xOffset),Di(s,c,"yOffset",d,c.yOffset)),t.setAttribute("data-svg-origin",w+" "+T)},Ki=function(t,e){var r=t._gsap||new rn(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,s,a,o,l,c,u,h,p,f,d,g,m,_,v,y,x,b,w,T,A,S,E,k,C,O,P,M,$,R,D,z=t.style,I=r.scaleX<0,B="px",U="deg",N=getComputedStyle(t),F=Si(t,yi)||"0";return n=i=s=l=c=u=h=p=f=0,a=o=1,r.svg=!(!t.getCTM||!$i(t)),N.translate&&("none"===N.translate&&"none"===N.scale&&"none"===N.rotate||(z[vi]=("none"!==N.translate?"translate3d("+(N.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==N.rotate?"rotate("+N.rotate+") ":"")+("none"!==N.scale?"scale("+N.scale.split(" ").join(",")+") ":"")+("none"!==N[vi]?N[vi]:"")),z.scale=z.rotate=z.translate="none"),m=Vi(t,r.svg),r.svg&&(r.uncache?(k=t.getBBox(),F=r.xOrigin-k.x+"px "+(r.yOrigin-k.y)+"px",E=""):E=!e&&t.getAttribute("data-svg-origin"),Gi(t,E||F,!!E||r.originIsAbsolute,!1!==r.smooth,m)),d=r.xOrigin||0,g=r.yOrigin||0,m!==Hi&&(x=m[0],b=m[1],w=m[2],T=m[3],n=A=m[4],i=S=m[5],6===m.length?(a=Math.sqrt(x*x+b*b),o=Math.sqrt(T*T+w*w),l=x||b?ei(b,x)*Jn:0,(h=w||T?ei(w,T)*Jn+l:0)&&(o*=Math.abs(Math.cos(h*ti))),r.svg&&(n-=d-(d*x+g*w),i-=g-(d*b+g*T))):(D=m[6],$=m[7],O=m[8],P=m[9],M=m[10],R=m[11],n=m[12],i=m[13],s=m[14],c=(_=ei(D,M))*Jn,_&&(E=A*(v=Math.cos(-_))+O*(y=Math.sin(-_)),k=S*v+P*y,C=D*v+M*y,O=A*-y+O*v,P=S*-y+P*v,M=D*-y+M*v,R=$*-y+R*v,A=E,S=k,D=C),u=(_=ei(-w,M))*Jn,_&&(v=Math.cos(-_),R=T*(y=Math.sin(-_))+R*v,x=E=x*v-O*y,b=k=b*v-P*y,w=C=w*v-M*y),l=(_=ei(b,x))*Jn,_&&(E=x*(v=Math.cos(_))+b*(y=Math.sin(_)),k=A*v+S*y,b=b*v-x*y,S=S*v-A*y,x=E,A=k),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),a=Re(Math.sqrt(x*x+b*b+w*w)),o=Re(Math.sqrt(S*S+D*D)),_=ei(A,S),h=Math.abs(_)>2e-4?_*Jn:0,f=R?1/(R<0?-R:R):0),r.svg&&(E=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!qi(Si(t,vi)),E&&t.setAttribute("transform",E))),Math.abs(h)>90&&Math.abs(h)<270&&(I?(a*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,h+=h<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+B,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+B,r.z=s+B,r.scaleX=Re(a),r.scaleY=Re(o),r.rotation=Re(l)+U,r.rotationX=Re(c)+U,r.rotationY=Re(u)+U,r.skewX=h+U,r.skewY=p+U,r.transformPerspective=f+B,(r.zOrigin=parseFloat(F.split(" ")[2])||!e&&r.zOrigin||0)&&(z[yi]=Zi(F)),r.xOffset=r.yOffset=0,r.force3D=Ut.force3D,r.renderTransform=r.svg?is:Zn?ns:Ji,r.uncache=0,r},Zi=function(t){return(t=t.split(" "))[0]+" "+t[1]},Qi=function(t,e,r){var n=mr(e);return Re(parseFloat(e)+parseFloat(Bi(t,"x",r+"px",n)))+n},Ji=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ns(t,e)},ts="0deg",es="0px",rs=") ",ns=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,o=r.z,l=r.rotation,c=r.rotationY,u=r.rotationX,h=r.skewX,p=r.skewY,f=r.scaleX,d=r.scaleY,g=r.transformPerspective,m=r.force3D,_=r.target,v=r.zOrigin,y="",x="auto"===m&&t&&1!==t||!0===m;if(v&&(u!==ts||c!==ts)){var b,w=parseFloat(c)*ti,T=Math.sin(w),A=Math.cos(w);w=parseFloat(u)*ti,b=Math.cos(w),s=Qi(_,s,T*b*-v),a=Qi(_,a,-Math.sin(w)*-v),o=Qi(_,o,A*b*-v+v)}g!==es&&(y+="perspective("+g+rs),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(x||s!==es||a!==es||o!==es)&&(y+=o!==es||x?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+rs),l!==ts&&(y+="rotate("+l+rs),c!==ts&&(y+="rotateY("+c+rs),u!==ts&&(y+="rotateX("+u+rs),h===ts&&p===ts||(y+="skew("+h+", "+p+rs),1===f&&1===d||(y+="scale("+f+", "+d+rs),_.style[vi]=y||"translate(0, 0)"},is=function(t,e){var r,n,i,s,a,o=e||this,l=o.xPercent,c=o.yPercent,u=o.x,h=o.y,p=o.rotation,f=o.skewX,d=o.skewY,g=o.scaleX,m=o.scaleY,_=o.target,v=o.xOrigin,y=o.yOrigin,x=o.xOffset,b=o.yOffset,w=o.forceCSS,T=parseFloat(u),A=parseFloat(h);p=parseFloat(p),f=parseFloat(f),(d=parseFloat(d))&&(f+=d=parseFloat(d),p+=d),p||f?(p*=ti,f*=ti,r=Math.cos(p)*g,n=Math.sin(p)*g,i=Math.sin(p-f)*-m,s=Math.cos(p-f)*m,f&&(d*=ti,a=Math.tan(f-d),i*=a=Math.sqrt(1+a*a),s*=a,d&&(a=Math.tan(d),r*=a=Math.sqrt(1+a*a),n*=a)),r=Re(r),n=Re(n),i=Re(i),s=Re(s)):(r=g,s=m,n=i=0),(T&&!~(u+"").indexOf("px")||A&&!~(h+"").indexOf("px"))&&(T=Bi(_,"x",u,"px"),A=Bi(_,"y",h,"px")),(v||y||x||b)&&(T=Re(T+v-(v*r+y*i)+x),A=Re(A+y-(v*n+y*s)+b)),(l||c)&&(a=_.getBBox(),T=Re(T+l/100*a.width),A=Re(A+c/100*a.height)),a="matrix("+r+","+n+","+i+","+s+","+T+","+A+")",_.setAttribute("transform",a),w&&(_.style[vi]=a)},ss=function(t,e,r,n,i){var s,a,o=360,l=Vt(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?Jn:1)-n,u=n+c+"deg";return l&&("short"===(s=i.split("_")[1])&&(c%=o)!=c%180&&(c+=c<0?o:-360),"cw"===s&&c<0?c=(c+36e9)%o-~~(c/o)*o:"ccw"===s&&c>0&&(c=(c-36e9)%o-~~(c/o)*o)),t._pt=a=new Pn(t._pt,e,r,n,c,oi),a.e=u,a.u="deg",t._props.push(r),a},as=function(t,e){for(var r in e)t[r]=e[r];return t},os=function(t,e,r){var n,i,s,a,o,l,c,u=as({},r._gsap),h=r.style;for(i in u.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),h[vi]=e,n=Ki(r,1),Ri(r,vi),r.setAttribute("transform",s)):(s=getComputedStyle(r)[vi],h[vi]=e,n=Ki(r,1),h[vi]=s),Qn)(s=u[i])!==(a=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=mr(s)!==(c=mr(a))?Bi(r,i,s,c):parseFloat(s),l=parseFloat(a),t._pt=new Pn(t._pt,n,i,o,l-o,ai),t._pt.u=c||0,t._props.push(i));as(n,u)};$e("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",s="Left",a=(e<3?[r,n,i,s]:[r+s,r+n,i+n,i+s]).map((function(r){return e<2?t+r:"border"+r+t}));Xi[e>1?"border"+t:t]=function(t,e,r,n,i){var s,o;if(arguments.length<4)return s=a.map((function(e){return Ui(t,e,r)})),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(n+"").split(" "),o={},a.forEach((function(t,e){return o[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,o,i)}}));var ls,cs,us={name:"css",register:Ci,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var s,a,o,l,c,u,h,p,f,d,g,m,_,v,y,x,b=this._props,w=t.style,T=r.vars.startAt;for(h in Wn||Ci(),this.styles=this.styles||Ti(t),x=this.styles.props,this.tween=r,e)if("autoRound"!==h&&(a=e[h],!Ae[h]||!un(h,e,r,n,t,i)))if(c=typeof a,u=Xi[h],"function"===c&&(c=typeof(a=a.call(r,n,t,i))),"string"===c&&~a.indexOf("random(")&&(a=kr(a)),u)u(this,t,h,a,r)&&(y=1);else if("--"===h.substr(0,2))s=(getComputedStyle(t).getPropertyValue(h)+"").trim(),a+="",Fr.lastIndex=0,Fr.test(s)||(p=mr(s),f=mr(a)),f?p!==f&&(s=Bi(t,h,s,f)+f):p&&(a+=p),this.add(w,"setProperty",s,a,n,i,0,0,h),b.push(h),x.push(h,0,w[h]);else if("undefined"!==c){if(T&&h in T?(s="function"==typeof T[h]?T[h].call(r,n,t,i):T[h],Vt(s)&&~s.indexOf("random(")&&(s=kr(s)),mr(s+"")||"auto"===s||(s+=Ut.units[h]||mr(Ui(t,h))||""),"="===(s+"").charAt(1)&&(s=Ui(t,h))):s=Ui(t,h),l=parseFloat(s),(d="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),h in si&&("autoAlpha"===h&&(1===l&&"hidden"===Ui(t,"visibility")&&o&&(l=0),x.push("visibility",0,w.visibility),Di(this,w,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==h&&"transform"!==h&&~(h=si[h]).indexOf(",")&&(h=h.split(",")[0])),g=h in Qn)if(this.styles.save(h),m||((_=t._gsap).renderTransform&&!e.parseTransform||Ki(t,e.parseTransform),v=!1!==e.smoothOrigin&&_.smooth,(m=this._pt=new Pn(this._pt,w,vi,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===h)this._pt=new Pn(this._pt,_,"scaleY",_.scaleY,(d?ze(_.scaleY,d+o):o)-_.scaleY||0,ai),this._pt.u=0,b.push("scaleY",h),h+="X";else{if("transformOrigin"===h){x.push(yi,0,w[yi]),a=Li(a),_.svg?Gi(t,a,0,v,0,this):((f=parseFloat(a.split(" ")[2])||0)!==_.zOrigin&&Di(this,_,"zOrigin",_.zOrigin,f),Di(this,w,h,Zi(s),Zi(a)));continue}if("svgOrigin"===h){Gi(t,a,1,v,0,this);continue}if(h in ji){ss(this,_,h,l,d?ze(l,d+a):a);continue}if("smoothOrigin"===h){Di(this,_,"smooth",_.smooth,a);continue}if("force3D"===h){_[h]=a;continue}if("transform"===h){os(this,a,t);continue}}else h in w||(h=ki(h)||h);if(g||(o||0===o)&&(l||0===l)&&!ii.test(a)&&h in w)o||(o=0),(p=(s+"").substr((l+"").length))!==(f=mr(a)||(h in Ut.units?Ut.units[h]:p))&&(l=Bi(t,h,s,f)),this._pt=new Pn(this._pt,g?_:w,h,l,(d?ze(l,d+o):o)-l,g||"px"!==f&&"zIndex"!==h||!1===e.autoRound?ai:ci),this._pt.u=f||0,p!==f&&"%"!==f&&(this._pt.b=s,this._pt.r=li);else if(h in w)Ni.call(this,t,h,s,d?d+a:a);else if(h in t)this.add(t,h,s||t[h],d?d+a:a,n,i);else if("parseTransform"!==h){de(h,a);continue}g||(h in w?x.push(h,0,w[h]):x.push(h,1,s||t[h])),b.push(h)}y&&On(this)},render:function(t,e){if(e.tween._time||!Kn())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Ui,aliases:si,getSetter:function(t,e,r){var n=si[e];return n&&n.indexOf(",")<0&&(e=n),e in Qn&&e!==yi&&(t._gsap.x||Ui(t,"x"))?r&&Gn===r?"scale"===e?gi:di:(Gn=r||{})&&("scale"===e?mi:_i):t.style&&!Zt(t.style[e])?pi:~e.indexOf("-")?fi:bn(t,e)},core:{_removeProperty:Ri,_getMatrix:Vi}};Xn.utils.checkPrefix=ki,Xn.core.getStyleSaver=Ti,cs=$e("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(ls="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Qn[t]=1})),$e(ls,(function(t){Ut.units[t]="deg",ji[t]=1})),si[cs[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+ls,$e("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");si[e[1]]=cs[e[0]]})),$e("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){Ut.units[t]="px"})),Xn.registerPlugin(us);var hs=Xn.registerPlugin(us)||Xn;function ps(t,e){for(var r=0;ro?(i=n,n=t,a=s,s=l):r?n+=t:n=i+(t-i)/(l-a)*(s-a)};return{update:c,reset:function(){i=n=r?0:n,a=s=0},getVelocity:function(t){var e=a,o=i,u=Ms();return(t||0===t)&&t!==n&&c(t),s===a||u-a>l?0:(n+(r?o:-o))/((r?u:s)-e)*1e3}}},qs=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Ws=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Vs=function(){var t,e,r,n;(bs=fs.core.globals().ScrollTrigger)&&bs.core&&(t=bs.core,e=t.bridge||{},r=t._scrollers,n=t._proxies,r.push.apply(r,Os),n.push.apply(n,Ps),Os=r,Ps=n,$s=function(t,r){return e[t](r)})},Gs=function(t){return fs=t||Es(),!ds&&fs&&"undefined"!=typeof document&&document.body&&(gs=window,ms=document,_s=ms.documentElement,vs=ms.body,ws=[gs,ms,_s,vs],fs.utils.clamp,Ss=fs.core.context||function(){},xs="onpointerenter"in vs?"pointer":"mouse",ys=Ks.isTouch=gs.matchMedia&&gs.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in gs||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,As=Ks.eventTypes=("ontouchstart"in _s?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in _s?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return ks=0}),500),Vs(),ds=1),ds};Ls.op=Ys,Os.cache=0;var Ks=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){ds||Gs(fs)||console.warn("Please gsap.registerPlugin(Observer)"),bs||Vs();var e=t.tolerance,r=t.dragMinimum,n=t.type,i=t.target,s=t.lineHeight,a=t.debounce,o=t.preventDefault,l=t.onStop,c=t.onStopDelay,u=t.ignore,h=t.wheelSpeed,p=t.event,f=t.onDragStart,d=t.onDragEnd,g=t.onDrag,m=t.onPress,_=t.onRelease,v=t.onRight,y=t.onLeft,x=t.onUp,b=t.onDown,w=t.onChangeX,T=t.onChangeY,A=t.onChange,S=t.onToggleX,E=t.onToggleY,k=t.onHover,C=t.onHoverEnd,O=t.onMove,P=t.ignoreCheck,M=t.isNormalizer,$=t.onGestureStart,R=t.onGestureEnd,D=t.onWheel,z=t.onEnable,I=t.onDisable,B=t.onClick,U=t.scrollSpeed,N=t.capture,F=t.allowClicks,L=t.lockAxis,Y=t.onLockAxis;this.target=i=Xs(i)||_s,this.vars=t,u&&(u=fs.utils.toArray(u)),e=e||1e-9,r=r||0,h=h||1,U=U||1,n=n||"wheel,touch,pointer",a=!1!==a,s||(s=parseFloat(gs.getComputedStyle(vs).lineHeight)||22);var X,H,j,q,W,V,G,K=this,Z=0,Q=0,J=t.passive||!o,tt=Hs(i,Ls),et=Hs(i,Ys),rt=tt(),nt=et(),it=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===As[0],st=Ds(i),at=i.ownerDocument||ms,ot=[0,0,0],lt=[0,0,0],ct=0,ut=function(){return ct=Ms()},ht=function(t,e){return(K.event=t)&&u&&~u.indexOf(t.target)||e&&it&&"touch"!==t.pointerType||P&&P(t,e)},pt=function(){var t=K.deltaX=Ws(ot),r=K.deltaY=Ws(lt),n=Math.abs(t)>=e,i=Math.abs(r)>=e;A&&(n||i)&&A(K,t,r,ot,lt),n&&(v&&K.deltaX>0&&v(K),y&&K.deltaX<0&&y(K),w&&w(K),S&&K.deltaX<0!=Z<0&&S(K),Z=K.deltaX,ot[0]=ot[1]=ot[2]=0),i&&(b&&K.deltaY>0&&b(K),x&&K.deltaY<0&&x(K),T&&T(K),E&&K.deltaY<0!=Q<0&&E(K),Q=K.deltaY,lt[0]=lt[1]=lt[2]=0),(q||j)&&(O&&O(K),j&&(g(K),j=!1),q=!1),V&&!(V=!1)&&Y&&Y(K),W&&(D(K),W=!1),X=0},ft=function(t,e,r){ot[r]+=t,lt[r]+=e,K._vx.update(t),K._vy.update(e),a?X||(X=requestAnimationFrame(pt)):pt()},dt=function(t,e){L&&!G&&(K.axis=G=Math.abs(t)>Math.abs(e)?"x":"y",V=!0),"y"!==G&&(ot[2]+=t,K._vx.update(t,!0)),"x"!==G&&(lt[2]+=e,K._vy.update(e,!0)),a?X||(X=requestAnimationFrame(pt)):pt()},gt=function(t){if(!ht(t,1)){var e=(t=qs(t,o)).clientX,n=t.clientY,i=e-K.x,s=n-K.y,a=K.isDragging;K.x=e,K.y=n,(a||Math.abs(K.startX-e)>=r||Math.abs(K.startY-n)>=r)&&(g&&(j=!0),a||(K.isDragging=!0),dt(i,s),a||f&&f(K))}},mt=K.onPress=function(t){ht(t,1)||t&&t.button||(K.axis=G=null,H.pause(),K.isPressed=!0,t=qs(t),Z=Q=0,K.startX=K.x=t.clientX,K.startY=K.y=t.clientY,K._vx.reset(),K._vy.reset(),zs(M?i:at,As[1],gt,J,!0),K.deltaX=K.deltaY=0,m&&m(K))},_t=K.onRelease=function(t){if(!ht(t,1)){Is(M?i:at,As[1],gt,!0);var e=!isNaN(K.y-K.startY),r=K.isDragging,n=r&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),s=qs(t);!n&&e&&(K._vx.reset(),K._vy.reset(),o&&F&&fs.delayedCall(.08,(function(){if(Ms()-ct>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(at.createEvent){var e=at.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,gs,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),K.isDragging=K.isGesturing=K.isPressed=!1,l&&r&&!M&&H.restart(!0),d&&r&&d(K),_&&_(K,n)}},vt=function(t){return t.touches&&t.touches.length>1&&(K.isGesturing=!0)&&$(t,K.isDragging)},yt=function(){return(K.isGesturing=!1)||R(K)},xt=function(t){if(!ht(t)){var e=tt(),r=et();ft((e-rt)*U,(r-nt)*U,1),rt=e,nt=r,l&&H.restart(!0)}},bt=function(t){if(!ht(t)){t=qs(t,o),D&&(W=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?gs.innerHeight:1)*h;ft(t.deltaX*e,t.deltaY*e,0),l&&!M&&H.restart(!0)}},wt=function(t){if(!ht(t)){var e=t.clientX,r=t.clientY,n=e-K.x,i=r-K.y;K.x=e,K.y=r,q=!0,l&&H.restart(!0),(n||i)&&dt(n,i)}},Tt=function(t){K.event=t,k(K)},At=function(t){K.event=t,C(K)},St=function(t){return ht(t)||qs(t,o)&&B(K)};H=K._dc=fs.delayedCall(c||.25,(function(){K._vx.reset(),K._vy.reset(),H.pause(),l&&l(K)})).pause(),K.deltaX=K.deltaY=0,K._vx=js(0,50,!0),K._vy=js(0,50,!0),K.scrollX=tt,K.scrollY=et,K.isDragging=K.isGesturing=K.isPressed=!1,Ss(this),K.enable=function(t){return K.isEnabled||(zs(st?at:i,"scroll",Ns),n.indexOf("scroll")>=0&&zs(st?at:i,"scroll",xt,J,N),n.indexOf("wheel")>=0&&zs(i,"wheel",bt,J,N),(n.indexOf("touch")>=0&&ys||n.indexOf("pointer")>=0)&&(zs(i,As[0],mt,J,N),zs(at,As[2],_t),zs(at,As[3],_t),F&&zs(i,"click",ut,!0,!0),B&&zs(i,"click",St),$&&zs(at,"gesturestart",vt),R&&zs(at,"gestureend",yt),k&&zs(i,xs+"enter",Tt),C&&zs(i,xs+"leave",At),O&&zs(i,xs+"move",wt)),K.isEnabled=!0,t&&t.type&&mt(t),z&&z(K)),K},K.disable=function(){K.isEnabled&&(Cs.filter((function(t){return t!==K&&Ds(t.target)})).length||Is(st?at:i,"scroll",Ns),K.isPressed&&(K._vx.reset(),K._vy.reset(),Is(M?i:at,As[1],gt,!0)),Is(st?at:i,"scroll",xt,N),Is(i,"wheel",bt,N),Is(i,As[0],mt,N),Is(at,As[2],_t),Is(at,As[3],_t),Is(i,"click",ut,!0),Is(i,"click",St),Is(at,"gesturestart",vt),Is(at,"gestureend",yt),Is(i,xs+"enter",Tt),Is(i,xs+"leave",At),Is(i,xs+"move",wt),K.isEnabled=K.isPressed=K.isDragging=!1,I&&I(K))},K.kill=K.revert=function(){K.disable();var t=Cs.indexOf(K);t>=0&&Cs.splice(t,1),Ts===K&&(Ts=0)},Cs.push(K),M&&Ds(i)&&(Ts=K),K.enable(p)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&ps(e.prototype,r),t}();Ks.version="3.12.5",Ks.create=function(t){return new Ks(t)},Ks.register=Gs,Ks.getAll=function(){return Cs.slice()},Ks.getById=function(t){return Cs.filter((function(e){return e.vars.id===t}))[0]},Es()&&fs.registerPlugin(Ks);var Zs,Qs,Js,ta,ea,ra,na,ia,sa,aa,oa,la,ca,ua,ha,pa,fa,da,ga,ma,_a,va,ya,xa,ba,wa,Ta,Aa,Sa,Ea,ka,Ca,Oa,Pa,Ma,$a,Ra,Da,za=1,Ia=Date.now,Ba=Ia(),Ua=0,Na=0,Fa=function(t,e,r){var n=to(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},La=function(t,e){return!e||to(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},Ya=function t(){return Na&&requestAnimationFrame(t)},Xa=function(){return ua=1},Ha=function(){return ua=0},ja=function(t){return t},qa=function(t){return Math.round(1e5*t)/1e5||0},Wa=function(){return"undefined"!=typeof window},Va=function(){return Zs||Wa()&&(Zs=window.gsap)&&Zs.registerPlugin&&Zs},Ga=function(t){return!!~na.indexOf(t)},Ka=function(t){return("Height"===t?ka:Js["inner"+t])||ea["client"+t]||ra["client"+t]},Za=function(t){return Rs(t,"getBoundingClientRect")||(Ga(t)?function(){return hl.width=Js.innerWidth,hl.height=ka,hl}:function(){return Ao(t)})},Qa=function(t,e){var r=e.s,n=e.d2,i=e.d,s=e.a;return Math.max(0,(r="scroll"+n)&&(s=Rs(t,r))?s()-Za(t)()[i]:Ga(t)?(ea[r]||ra[r])-Ka(n):t[r]-t["offset"+n])},Ja=function(t,e){for(var r=0;r0){for(t-=i,s=0;s=t)return r[s];return r[s-1]}for(s=r.length,t+=i;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=e(r);return!n||Math.abs(s-r)r&&(n*=e/100),t=t.substr(0,r-1)),t=n+(t in Do?Do[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Io=function(t,e,r,n,i,s,a,o){var l=i.startColor,c=i.endColor,u=i.fontSize,h=i.indent,p=i.fontWeight,f=ta.createElement("div"),d=Ga(r)||"fixed"===Rs(r,"pinType"),g=-1!==t.indexOf("scroller"),m=d?ra:r,_=-1!==t.indexOf("start"),v=_?l:c,y="border-color:"+v+";font-size:"+u+";color:"+v+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((g||o)&&d?"fixed;":"absolute;"),(g||o||!d)&&(y+=(n===Ys?lo:co)+":"+(s+parseFloat(h))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),f._isStart=_,f.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),f.style.cssText=y,f.innerText=e||0===e?t+"-"+e:t,m.children[0]?m.insertBefore(f,m.children[0]):m.appendChild(f),f._offset=f["offset"+n.op.d2],Bo(f,0,n,_),f},Bo=function(t,e,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];t._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+yo]=1,i["border"+a+yo]=0,i[r.p]=e+"px",Zs.set(t,i)},Uo=[],No={},Fo=function(){return Ia()-Ua>34&&(Ma||(Ma=requestAnimationFrame(il)))},Lo=function(){(!ya||!ya.isPressed||ya.startX>ra.clientWidth)&&(Os.cache++,ya?Ma||(Ma=requestAnimationFrame(il)):il(),Ua||Wo("scrollStart"),Ua=Ia())},Yo=function(){wa=Js.innerWidth,ba=Js.innerHeight},Xo=function(){Os.cache++,!ca&&!va&&!ta.fullscreenElement&&!ta.webkitFullscreenElement&&(!xa||wa!==Js.innerWidth||Math.abs(Js.innerHeight-ba)>.25*Js.innerHeight)&&ia.restart(!0)},Ho={},jo=[],qo=function t(){return Po(vl,"scrollEnd",t)||el(!0)},Wo=function(t){return Ho[t]&&Ho[t].map((function(t){return t()}))||jo},Vo=[],Go=function(t){for(var e=0;ee,n=t._startClamp&&t.start>=e;(r||n)&&t.setPositions(n?e-1:t.start,r?Math.max(n?e:t.start+1,e):t.end,!0)})),tl(!1),Oa=0,r.forEach((function(t){return t&&t.render&&t.render(-1)})),Os.forEach((function(t){eo(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Zo(Sa,1),ia.pause(),Qo++,$a=2,il(2),Uo.forEach((function(t){return eo(t.vars.onRefresh)&&t.vars.onRefresh(t)})),$a=vl.isRefreshing=!1,Wo("refresh")}else Oo(vl,"scrollEnd",qo)},rl=0,nl=1,il=function(t){if(2===t||!$a&&!Ca){vl.isUpdating=!0,Da&&Da.update(0);var e=Uo.length,r=Ia(),n=r-Ba>=50,i=e&&Uo[0].scroll();if(nl=rl>i?-1:1,$a||(rl=i),n&&(Ua&&!ua&&r-Ua>200&&(Ua=0,Wo("scrollEnd")),oa=Ba,Ba=r),nl<0){for(pa=e;pa-- >0;)Uo[pa]&&Uo[pa].update(0,n);nl=1}else for(pa=0;pa20),r-=r-x}if(f&&(o[f]=t||-.001,t<0&&(t=0)),s){var T=t+r,A=s._isStart;d="scroll"+n.d2,Bo(s,T,n,A&&T>20||!A&&(u?Math.max(ra[d],ea[d]):s.parentNode[d])<=T+1),u&&(l=Ao(a),u&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+bo))}return p&&m&&(d=Ao(m),p.seek(h),g=Ao(m),p._caScrollDist=d[n.p]-g[n.p],t=t/p._caScrollDist*h),p&&p.seek(_),p?t:Math.round(t)},fl=/(webkit|moz|length|cssText|inset)/i,dl=function(t,e,r,n){if(t.parentNode!==e){var i,s,a=t.style;if(e===ra){for(i in t._stOrig=a.cssText,s=wo(t))+i||fl.test(i)||!s[i]||"string"!=typeof a[i]||"0"===i||(a[i]=s[i]);a.top=r,a.left=n}else a.cssText=t._stOrig;Zs.core.getCache(t).uncache=1,e.appendChild(t)}},gl=function(t,e,r){var n=e,i=n;return function(e){var s=Math.round(t());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(e=s,r&&r()),i=n,n=e,e}},ml=function(t,e,r){var n={};n[e.p]="+="+r,Zs.set(t,n)},_l=function(t,e){var r=Hs(t,e),n="_scroll"+e.p2,i=function e(i,s,a,o,l){var c=e.tween,u=s.onComplete,h={};a=a||r();var p=gl(r,a,(function(){c.kill(),e.tween=0}));return l=o&&l||0,o=o||i-a,c&&c.kill(),s[n]=i,s.inherit=!1,s.modifiers=h,h[n]=function(){return p(a+o*c.ratio+l*c.ratio*c.ratio)},s.onUpdate=function(){Os.cache++,e.tween&&il()},s.onComplete=function(){e.tween=0,u&&u.call(c)},c=e.tween=Zs.to(t,s)};return t[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Oo(t,"wheel",r.wheelHandler),vl.isTouch&&Oo(t,"touchmove",r.wheelHandler),i},vl=function(){function t(e,r){Qs||t.register(Zs)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Aa(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Na){var n,i,s,a,o,l,c,u,h,p,f,d,g,m,_,v,y,x,b,w,T,A,S,E,k,C,O,P,M,$,R,D,z,I,B,U,N,F,L,Y,X,H,j=e=To(to(e)||ro(e)||e.nodeType?{trigger:e}:e,Ro),q=j.onUpdate,W=j.toggleClass,V=j.id,G=j.onToggle,K=j.onRefresh,Z=j.scrub,Q=j.trigger,J=j.pin,tt=j.pinSpacing,et=j.invalidateOnRefresh,rt=j.anticipatePin,nt=j.onScrubComplete,it=j.onSnapComplete,st=j.once,at=j.snap,ot=j.pinReparent,lt=j.pinSpacer,ct=j.containerAnimation,ut=j.fastScrollEnd,ht=j.preventOverlaps,pt=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Ls:Ys,ft=!Z&&0!==Z,dt=Xs(e.scroller||Js),gt=Zs.core.getCache(dt),mt=Ga(dt),_t="fixed"===("pinType"in e?e.pinType:Rs(dt,"pinType")||mt&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=ft&&e.toggleActions.split(" "),xt="markers"in e?e.markers:Ro.markers,bt=mt?0:parseFloat(wo(dt)["border"+pt.p2+yo])||0,wt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(wt)},At=function(t,e,r){var n=r.d,i=r.d2,s=r.a;return(s=Rs(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?Ka(i):t["client"+i])||0}}(dt,mt,pt),St=function(t,e){return!e||~Ps.indexOf(t)?Za(t):function(){return hl}}(dt,mt),Et=0,kt=0,Ct=0,Ot=Hs(dt,pt);if(wt._startClamp=wt._endClamp=!1,wt._dir=pt,rt*=45,wt.scroller=dt,wt.scroll=ct?ct.time.bind(ct):Ot,a=Ot(),wt.vars=e,r=r||e.animation,"refreshPriority"in e&&(ma=1,-9999===e.refreshPriority&&(Da=wt)),gt.tweenScroll=gt.tweenScroll||{top:_l(dt,Ys),left:_l(dt,Ls)},wt.tweenTo=n=gt.tweenScroll[pt.p],wt.scrubDuration=function(t){(z=ro(t)&&t)?D?D.duration(t):D=Zs.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:z,paused:!0,onComplete:function(){return nt&&nt(wt)}}):(D&&D.progress(1).kill(),D=0)},r&&(r.vars.lazy=!1,r._initted&&!wt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),wt.animation=r.pause(),r.scrollTrigger=wt,wt.scrubDuration(Z),$=0,V||(V=r.vars.id)),at&&(no(at)&&!at.push||(at={snapTo:at}),"scrollBehavior"in ra.style&&Zs.set(mt?[ra,ea]:dt,{scrollBehavior:"auto"}),Os.forEach((function(t){return eo(t)&&t.target===(mt?ta.scrollingElement||ea:dt)&&(t.smooth=!1)})),s=eo(at.snapTo)?at.snapTo:"labels"===at.snapTo?function(t){return function(e){return Zs.utils.snap(Eo(t),e)}}(r):"labelsDirectional"===at.snapTo?(Y=r,function(t,e){return ko(Eo(Y))(t,e.direction)}):!1!==at.directional?function(t,e){return ko(at.snapTo)(t,Ia()-kt<500?0:e.direction)}:Zs.utils.snap(at.snapTo),I=at.duration||{min:.1,max:2},I=no(I)?aa(I.min,I.max):aa(I,I),B=Zs.delayedCall(at.delay||z/2||.1,(function(){var t=Ot(),e=Ia()-kt<500,i=n.tween;if(!(e||Math.abs(wt.getVelocity())<10)||i||ua||Et===t)wt.isActive&&Et!==t&&B.restart(!0);else{var a,o,u=(t-l)/m,h=r&&!ft?r.totalProgress():u,p=e?0:(h-R)/(Ia()-oa)*1e3||0,f=Zs.utils.clamp(-u,1-u,ao(p/2)*p/.185),d=u+(!1===at.inertia?0:f),g=at,_=g.onStart,v=g.onInterrupt,y=g.onComplete;if(a=s(d,wt),ro(a)||(a=d),o=Math.round(l+a*m),t<=c&&t>=l&&o!==t){if(i&&!i._initted&&i.data<=ao(o-t))return;!1===at.inertia&&(f=a-u),n(o,{duration:I(ao(.185*Math.max(ao(d-h),ao(a-h))/p/.05||0)),ease:at.ease||"power3",data:ao(o-t),onInterrupt:function(){return B.restart(!0)&&v&&v(wt)},onComplete:function(){wt.update(),Et=Ot(),r&&(D?D.resetTo("totalProgress",a,r._tTime/r._tDur):r.progress(a)),$=R=r&&!ft?r.totalProgress():wt.progress,it&&it(wt),y&&y(wt)}},t,f*m,o-t-f*m),_&&_(wt,n.tween)}}})).pause()),V&&(No[V]=wt),(L=(Q=wt.trigger=Xs(Q||!0!==J&&J))&&Q._gsap&&Q._gsap.stRevert)&&(L=L(wt)),J=!0===J?Q:Xs(J),to(W)&&(W={targets:Q,className:W}),J&&(!1===tt||tt===vo||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===wo(J.parentNode).display)&&_o),wt.pin=J,(i=Zs.core.getCache(J)).spacer?_=i.pinState:(lt&&((lt=Xs(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),i.spacerIsNative=!!lt,lt&&(i.spacerState=ul(lt))),i.spacer=x=lt||ta.createElement("div"),x.classList.add("pin-spacer"),V&&x.classList.add("pin-spacer-"+V),i.pinState=_=ul(J)),!1!==e.force3D&&Zs.set(J,{force3D:!0}),wt.spacer=x=i.spacer,M=wo(J),E=M[tt+pt.os2],w=Zs.getProperty(J),T=Zs.quickSetter(J,pt.a,bo),ol(J,x,M),y=ul(J)),xt){d=no(xt)?To(xt,$o):$o,p=Io("scroller-start",V,dt,pt,d,0),f=Io("scroller-end",V,dt,pt,d,0,p),b=p["offset"+pt.op.d2];var Pt=Xs(Rs(dt,"content")||dt);u=this.markerStart=Io("start",V,Pt,pt,d,b,0,ct),h=this.markerEnd=Io("end",V,Pt,pt,d,b,0,ct),ct&&(F=Zs.quickSetter([u,h],pt.a,bo)),_t||Ps.length&&!0===Rs(dt,"fixedMarkers")||(H=wo(X=mt?ra:dt).position,X.style.position="absolute"===H||"fixed"===H?H:"relative",Zs.set([p,f],{force3D:!0}),C=Zs.quickSetter(p,pt.a,bo),P=Zs.quickSetter(f,pt.a,bo))}if(ct){var Mt=ct.vars.onUpdate,$t=ct.vars.onUpdateParams;ct.eventCallback("onUpdate",(function(){wt.update(0,0,1),Mt&&Mt.apply(ct,$t||[])}))}if(wt.previous=function(){return Uo[Uo.indexOf(wt)-1]},wt.next=function(){return Uo[Uo.indexOf(wt)+1]},wt.revert=function(t,e){if(!e)return wt.kill(!0);var n=!1!==t||!wt.enabled,i=ca;n!==wt.isReverted&&(n&&(U=Math.max(Ot(),wt.scroll.rec||0),Ct=wt.progress,N=r&&r.progress()),u&&[u,h,p,f].forEach((function(t){return t.style.display=n?"none":"block"})),n&&(ca=wt,wt.update(n)),!J||ot&&wt.isActive||(n?function(t,e,r){cl(r);var n=t._gsap;if(n.spacerIsNative)cl(n.spacerState);else if(t._gsap.swappedIn){var i=e.parentNode;i&&(i.insertBefore(t,e),i.removeChild(e))}t._gsap.swappedIn=!1}(J,x,_):ol(J,x,wo(J),k)),n||wt.update(n),ca=i,wt.isReverted=n)},wt.refresh=function(i,s,d,b){if(!ca&&wt.enabled||s)if(J&&i&&Ua)Oo(t,"scrollEnd",qo);else{!$a&&Tt&&Tt(wt),ca=wt,n.tween&&!d&&(n.tween.kill(),n.tween=0),D&&D.pause(),et&&r&&r.revert({kill:!1}).invalidate(),wt.isReverted||wt.revert(!0,!0),wt._subPinOffset=!1;var T,E,C,P,M,$,R,z,I,F,L,Y,X,H=At(),j=St(),q=ct?ct.duration():Qa(dt,pt),W=m<=.01,V=0,G=b||0,Z=no(d)?d.end:e.end,rt=e.endTrigger||Q,nt=no(d)?d.start:e.start||(0!==e.start&&Q?J?"0 0":"0 100%":0),it=wt.pinnedContainer=e.pinnedContainer&&Xs(e.pinnedContainer,wt),st=Q&&Math.max(0,Uo.indexOf(wt))||0,at=st;for(xt&&no(d)&&(Y=Zs.getProperty(p,pt.p),X=Zs.getProperty(f,pt.p));at--;)($=Uo[at]).end||$.refresh(0,1)||(ca=wt),!(R=$.pin)||R!==Q&&R!==J&&R!==it||$.isReverted||(F||(F=[]),F.unshift($),$.revert(!0,!0)),$!==Uo[at]&&(st--,at--);for(eo(nt)&&(nt=nt(wt)),nt=Fa(nt,"start",wt),l=pl(nt,Q,H,pt,Ot(),u,p,wt,j,bt,_t,q,ct,wt._startClamp&&"_startClamp")||(J?-.001:0),eo(Z)&&(Z=Z(wt)),to(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(to(nt)?nt.split(" ")[0]:"")+Z:(V=zo(Z.substr(2),H),Z=to(nt)?nt:(ct?Zs.utils.mapRange(0,ct.duration(),ct.scrollTrigger.start,ct.scrollTrigger.end,l):l)+V,rt=Q)),Z=Fa(Z,"end",wt),c=Math.max(l,pl(Z||(rt?"100% 0":q),rt,H,pt,Ot()+V,h,f,wt,j,bt,_t,q,ct,wt._endClamp&&"_endClamp"))||-.001,V=0,at=st;at--;)(R=($=Uo[at]).pin)&&$.start-$._pinPush<=l&&!ct&&$.end>0&&(T=$.end-(wt._startClamp?Math.max(0,$.start):$.start),(R===Q&&$.start-$._pinPush=Qa(dt,pt)){if(Q&&Ot()&&!ct)for(E=Q.parentNode;E&&E!==ra;)E._pinOffset&&(l-=E._pinOffset,c-=E._pinOffset),E=E.parentNode}else T=wo(J),P=pt===Ys,C=Ot(),A=parseFloat(w(pt.a))+G,!q&&c>1&&(L={style:L=(mt?ta.scrollingElement||ea:dt).style,value:L["overflow"+pt.a.toUpperCase()]},mt&&"scroll"!==wo(ra)["overflow"+pt.a.toUpperCase()]&&(L.style["overflow"+pt.a.toUpperCase()]="scroll")),ol(J,x,T),y=ul(J),E=Ao(J,!0),z=_t&&Hs(dt,P?Ls:Ys)(),tt?((k=[tt+pt.os2,m+G+bo]).t=x,(at=tt===_o?So(J,pt)+m+G:0)&&(k.push(pt.d,at+bo),"auto"!==x.style.flexBasis&&(x.style.flexBasis=at+bo)),cl(k),it&&Uo.forEach((function(t){t.pin===it&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),_t&&Ot(U)):(at=So(J,pt))&&"auto"!==x.style.flexBasis&&(x.style.flexBasis=at+bo),_t&&((M={top:E.top+(P?C-l:z)+bo,left:E.left+(P?z:C-l)+bo,boxSizing:"border-box",position:"fixed"})[uo]=M["max"+yo]=Math.ceil(E.width)+bo,M[ho]=M["max"+xo]=Math.ceil(E.height)+bo,M[vo]=M[vo+go]=M[vo+po]=M[vo+mo]=M[vo+fo]="0",M[_o]=T[_o],M[_o+go]=T[_o+go],M[_o+po]=T[_o+po],M[_o+mo]=T[_o+mo],M[_o+fo]=T[_o+fo],v=function(t,e,r){for(var n,i=[],s=t.length,a=r?8:0;a1,_t&&O&&v.splice(v.length-2,2),r.render(0,!0,!0),I||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),_a(0)):S=m,L&&(L.value?L.style["overflow"+pt.a.toUpperCase()]=L.value:L.style.removeProperty("overflow-"+pt.a));F&&F.forEach((function(t){return t.revert(!1,!0)})),wt.start=l,wt.end=c,a=o=$a?U:Ot(),ct||$a||(a0?Uo.slice(0,e).reverse():Uo.slice(e+1);return(to(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return wt.direction>0?t.end<=l:t.start>=c}))},wt.update=function(t,e,i){if(!ct||i||t){var s,u,h,f,d,g,_,b=!0===$a?U:wt.scroll(),w=t?0:(b-l)/m,k=w<0?0:w>1?1:w||0,M=wt.progress;if(e&&(o=a,a=ct?Ot():b,at&&(R=$,$=r&&!ft?r.totalProgress():k)),rt&&J&&!ca&&!za&&Ua&&(!k&&lb+(b-o)/(Ia()-oa)*rt&&(k=.9999)),k!==M&&wt.enabled){if(f=(d=(s=wt.isActive=!!k&&k<1)!=(!!M&&M<1))||!!k!=!!M,wt.direction=k>M?1:-1,wt.progress=k,f&&!ca&&(u=k&&!M?0:1===k?1:1===M?2:3,ft&&(h=!d&&"none"!==yt[u+1]&&yt[u+1]||yt[u],_=r&&("complete"===h||"reset"===h||h in r))),ht&&(d||_)&&(_||Z||!r)&&(eo(ht)?ht(wt):wt.getTrailing(ht).forEach((function(t){return t.endAnimation()}))),ft||(!D||ca||za?r&&r.totalProgress(k,!(!ca||!kt&&!t)):(D._dp._time-D._start!==D._time&&D.render(D._dp._time-D._start),D.resetTo?D.resetTo("totalProgress",k,r._tTime/r._tDur):(D.vars.totalProgress=k,D.invalidate().restart()))),J)if(t&&tt&&(x.style[tt+pt.os2]=E),_t){if(f){if(g=!t&&k>M&&c+1>b&&b+1>=Qa(dt,pt),ot)if(t||!s&&!g)dl(J,x);else{var z=Ao(J,!0),I=b-l;dl(J,ra,z.top+(pt===Ys?I:0)+bo,z.left+(pt===Ys?0:I)+bo)}cl(s||g?v:y),O&&k<1&&s||T(A+(1!==k||g?0:S))}}else T(qa(A+S*k));at&&!n.tween&&!ca&&!za&&B.restart(!0),W&&(d||st&&k&&(k<1||!Pa))&&sa(W.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](W.className)})),q&&!ft&&!t&&q(wt),f&&!ca?(ft&&(_&&("complete"===h?r.pause().totalProgress(1):"reset"===h?r.restart(!0).pause():"restart"===h?r.restart(!0):r[h]()),q&&q(wt)),!d&&Pa||(G&&d&&so(wt,G),vt[u]&&so(wt,vt[u]),st&&(1===k?wt.kill(!1,1):vt[u]=0),d||vt[u=1===k?1:3]&&so(wt,vt[u])),ut&&!s&&Math.abs(wt.getVelocity())>(ro(ut)?ut:2500)&&(io(wt.callbackAnimation),D?D.progress(1):io(r,"reverse"===h?1:!k,1))):ft&&q&&!ca&&q(wt)}if(P){var N=ct?b/ct.duration()*(ct._caScrollDist||0):b;C(N+(p._isFlipped?1:0)),P(N)}F&&F(-b/ct.duration()*(ct._caScrollDist||0))}},wt.enable=function(e,r){wt.enabled||(wt.enabled=!0,Oo(dt,"resize",Xo),mt||Oo(dt,"scroll",Lo),Tt&&Oo(t,"refreshInit",Tt),!1!==e&&(wt.progress=Ct=0,a=o=Et=Ot()),!1!==r&&wt.refresh())},wt.getTween=function(t){return t&&n?n.tween:D},wt.setPositions=function(t,e,r,n){if(ct){var i=ct.scrollTrigger,s=ct.duration(),a=i.end-i.start;t=i.start+a*t/s,e=i.start+a*e/s}wt.refresh(!1,!1,{start:La(t,r&&!!wt._startClamp),end:La(e,r&&!!wt._endClamp)},n),wt.update()},wt.adjustPinSpacing=function(t){if(k&&t){var e=k.indexOf(pt.d)+1;k[e]=parseFloat(k[e])+t+bo,k[1]=parseFloat(k[1])+t+bo,cl(k)}},wt.disable=function(e,r){if(wt.enabled&&(!1!==e&&wt.revert(!0,!0),wt.enabled=wt.isActive=!1,r||D&&D.pause(),U=0,i&&(i.uncache=1),Tt&&Po(t,"refreshInit",Tt),B&&(B.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!mt)){for(var s=Uo.length;s--;)if(Uo[s].scroller===dt&&Uo[s]!==wt)return;Po(dt,"resize",Xo),mt||Po(dt,"scroll",Lo)}},wt.kill=function(t,n){wt.disable(t,n),D&&!n&&D.kill(),V&&delete No[V];var s=Uo.indexOf(wt);s>=0&&Uo.splice(s,1),s===pa&&nl>0&&pa--,s=0,Uo.forEach((function(t){return t.scroller===wt.scroller&&(s=1)})),s||$a||(wt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),n||r.kill()),u&&[u,h,p,f].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),Da===wt&&(Da=0),J&&(i&&(i.uncache=1),s=0,Uo.forEach((function(t){return t.pin===J&&s++})),s||(i.spacer=0)),e.onKill&&e.onKill(wt)},Uo.push(wt),wt.enable(!1,!1),L&&L(wt),r&&r.add&&!m){var Rt=wt.update;wt.update=function(){wt.update=Rt,l||c||wt.refresh()},Zs.delayedCall(.01,wt.update),m=.01,l=c=0}else wt.refresh();J&&function(){if(Ra!==Qo){var t=Ra=Qo;requestAnimationFrame((function(){return t===Qo&&el(!0)}))}}()}else this.update=this.refresh=this.kill=ja},t.register=function(e){return Qs||(Zs=e||Va(),Wa()&&window.document&&t.enable(),Qs=Na),Qs},t.defaults=function(t){if(t)for(var e in t)Ro[e]=t[e];return Ro},t.disable=function(t,e){Na=0,Uo.forEach((function(r){return r[e?"kill":"disable"](t)})),Po(Js,"wheel",Lo),Po(ta,"scroll",Lo),clearInterval(la),Po(ta,"touchcancel",ja),Po(ra,"touchstart",ja),Co(Po,ta,"pointerdown,touchstart,mousedown",Xa),Co(Po,ta,"pointerup,touchend,mouseup",Ha),ia.kill(),Ja(Po);for(var r=0;r0&&n.left+i0&&n.top+i=0&&Vo.splice(e,5),Vo.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Zs.core.getCache(t),Aa())}})):Vo},vl.revert=function(t,e){return Ko(!t,e)},vl.create=function(t,e){return new vl(t,e)},vl.refresh=function(t){return t?Xo():(Qs||vl.register())&&el(!0)},vl.update=function(t){return++Os.cache&&il(!0===t?2:0)},vl.clearScrollMemory=Zo,vl.maxScroll=function(t,e){return Qa(t,e?Ls:Ys)},vl.getScrollFunc=function(t,e){return Hs(Xs(t),e?Ls:Ys)},vl.getById=function(t){return No[t]},vl.getAll=function(){return Uo.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},vl.isScrolling=function(){return!!Ua},vl.snapDirectional=ko,vl.addEventListener=function(t,e){var r=Ho[t]||(Ho[t]=[]);~r.indexOf(e)||r.push(e)},vl.removeEventListener=function(t,e){var r=Ho[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},vl.batch=function(t,e){var r,n=[],i={},s=e.interval||.016,a=e.batchMax||1e9,o=function(t,e){var r=[],n=[],i=Zs.delayedCall(s,(function(){e(r,n),r=[],n=[]})).pause();return function(t){r.length||i.restart(!0),r.push(t.trigger),n.push(t),a<=r.length&&i.progress(1)}};for(r in e)i[r]="on"===r.substr(0,2)&&eo(e[r])&&"onRefreshInit"!==r?o(0,e[r]):e[r];return eo(a)&&(a=a(),Oo(vl,"refresh",(function(){return a=e.batchMax()}))),sa(t).forEach((function(t){var e={};for(r in i)e[r]=i[r];e.trigger=t,n.push(vl.create(e))})),n};var yl,xl=function(t,e,r,n){return e>n?t(n):e<0&&t(0),r>n?(n-e)/(r-e):r<0?e/(e-r):1},bl=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Ks.isTouch?" pinch-zoom":""):"none",e===ea&&t(ra,r)},wl={auto:1,scroll:1},Tl=function(t){var e,r=t.event,n=t.target,i=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,a=s._gsap||Zs.core.getCache(s),o=Ia();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==ra&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!wl[(e=wo(s)).overflowY]&&!wl[e.overflowX]);)s=s.parentNode;a._isScroll=s&&s!==n&&!Ga(s)&&(wl[(e=wo(s)).overflowY]||wl[e.overflowX]),a._isScrollT=o}(a._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},Al=function(t,e,r,n){return Ks.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&Tl,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Oo(ta,Ks.eventTypes[0],El,!1,!0)},onDisable:function(){return Po(ta,Ks.eventTypes[0],El,!0)}})},Sl=/(input|label|select|textarea)/i,El=function(t){var e=Sl.test(t.target.tagName);(e||yl)&&(t._gsapAllow=!0,yl=e)};vl.sort=function(t){return Uo.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},vl.observe=function(t){return new Ks(t)},vl.normalizeScroll=function(t){if(void 0===t)return ya;if(!0===t&&ya)return ya.enable();if(!1===t)return ya&&ya.kill(),void(ya=t);var e=t instanceof Ks?t:function(t){no(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,r,n,i,s,a,o,l,c=t,u=c.normalizeScrollX,h=c.momentum,p=c.allowNestedScroll,f=c.onRelease,d=Xs(t.target)||ea,g=Zs.core.globals().ScrollSmoother,m=g&&g.get(),_=Ta&&(t.content&&Xs(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),v=Hs(d,Ys),y=Hs(d,Ls),x=1,b=(Ks.isTouch&&Js.visualViewport?Js.visualViewport.scale*Js.visualViewport.width:Js.outerWidth)/Js.innerWidth,w=0,T=eo(h)?function(){return h(e)}:function(){return h||2.8},A=Al(d,t.type,!0,p),S=function(){return i=!1},E=ja,k=ja,C=function(){r=Qa(d,Ys),k=aa(Ta?1:0,r),u&&(E=aa(0,Qa(d,Ls))),n=Qo},O=function(){_._gsap.y=qa(parseFloat(_._gsap.y)+v.offset)+"px",_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(_._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},P=function(){C(),s.isActive()&&s.vars.scrollY>r&&(v()>r?s.progress(1)&&v(r):s.resetTo("scrollY",r))};return _&&Zs.set(_,{y:"+=0"}),t.ignoreCheck=function(t){return Ta&&"touchmove"===t.type&&function(){if(i){requestAnimationFrame(S);var t=qa(e.deltaY/2),r=k(v.v-t);if(_&&r!==v.v+v.offset){v.offset=r-v.v;var n=qa((parseFloat(_&&_._gsap.y)||0)-v.offset);_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",_._gsap.y=n+"px",v.cacheID=Os.cache,il()}return!0}v.offset&&O(),i=!0}()||x>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){i=!1;var t=x;x=qa((Js.visualViewport&&Js.visualViewport.scale||1)/b),s.pause(),t!==x&&bl(d,x>1.01||!u&&"x"),a=y(),o=v(),C(),n=Qo},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&O(),e){Os.cache++;var n,i,a=T();u&&(i=(n=y())+.05*a*-t.velocityX/.227,a*=xl(y,n,i,Qa(d,Ls)),s.vars.scrollX=E(i)),i=(n=v())+.05*a*-t.velocityY/.227,a*=xl(v,n,i,Qa(d,Ys)),s.vars.scrollY=k(i),s.invalidate().duration(a).play(.01),(Ta&&s.vars.scrollY>=r||n>=r-1)&&Zs.to({},{onUpdate:P,duration:a})}else l.restart(!0);f&&f(t)},t.onWheel=function(){s._ts&&s.pause(),Ia()-w>1e3&&(n=0,w=Ia())},t.onChange=function(t,e,r,i,s){if(Qo!==n&&C(),e&&u&&y(E(i[2]===e?a+(t.startX-t.x):y()+e-i[1])),r){v.offset&&O();var l=s[2]===r,c=l?o+t.startY-t.y:v()+r-s[1],h=k(c);l&&c!==h&&(o+=h-c),v(h)}(r||e)&&il()},t.onEnable=function(){bl(d,!u&&"x"),vl.addEventListener("refresh",P),Oo(Js,"resize",P),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),A.enable()},t.onDisable=function(){bl(d,!0),Po(Js,"resize",P),vl.removeEventListener("refresh",P),A.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Ks(t)).iOS=Ta,Ta&&!v()&&v(1),Ta&&Zs.ticker.add(ja),l=e._dc,s=Zs.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:gl(v,v(),(function(){return s.pause()}))},onUpdate:il,onComplete:l.vars.onComplete}),e}(t);return ya&&ya.target===e.target&&ya.kill(),Ga(e.target)&&(ya=e),e},vl.core={_getVelocityProp:js,_inputObserver:Al,_scrollers:Os,_proxies:Ps,bridge:{ss:function(){Ua||Wo("scrollStart"),Ua=Ia()},ref:function(){return ca}}},Va()&&Zs.registerPlugin(vl);var kl,Cl,Ol,Pl,Ml,$l,Rl,Dl,zl=function(){return"undefined"!=typeof window},Il=function(){return kl||zl()&&(kl=window.gsap)&&kl.registerPlugin&&kl},Bl=function(t){return"string"==typeof t},Ul=function(t){return"function"==typeof t},Nl=function(t,e){var r="x"===e?"Width":"Height",n="scroll"+r,i="client"+r;return t===Ol||t===Pl||t===Ml?Math.max(Pl[n],Ml[n])-(Ol["inner"+r]||Pl[i]||Ml[i]):t[n]-t["offset"+r]},Fl=function(t,e){var r="scroll"+("x"===e?"Left":"Top");return t===Ol&&(null!=t.pageXOffset?r="page"+e.toUpperCase()+"Offset":t=null!=Pl[r]?Pl:Ml),function(){return t[r]}},Ll=function(t,e){if(!(t=$l(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),n=!e||e===Ol||e===Ml,i=n?{top:Pl.clientTop-(Ol.pageYOffset||Pl.scrollTop||Ml.scrollTop||0),left:Pl.clientLeft-(Ol.pageXOffset||Pl.scrollLeft||Ml.scrollLeft||0)}:e.getBoundingClientRect(),s={x:r.left-i.left,y:r.top-i.top};return!n&&e&&(s.x+=Fl(e,"x")(),s.y+=Fl(e,"y")()),s},Yl=function(t,e,r,n,i){return isNaN(t)||"object"==typeof t?Bl(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+n-i:"max"===t?Nl(e,r)-i:Math.min(Nl(e,r),Ll(t,e)[r]-i):parseFloat(t)-i},Xl=function(){kl=Il(),zl()&&kl&&"undefined"!=typeof document&&document.body&&(Ol=window,Ml=document.body,Pl=document.documentElement,$l=kl.utils.toArray,kl.config({autoKillThreshold:7}),Rl=kl.config(),Cl=1)},Hl={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(t){kl=t,Xl()},init:function(t,e,r,n,i){Cl||Xl();var s=this,a=kl.getProperty(t,"scrollSnapType");s.isWin=t===Ol,s.target=t,s.tween=r,e=function(t,e,r,n){if(Ul(t)&&(t=t(e,r,n)),"object"!=typeof t)return Bl(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var i,s={};for(i in t)s[i]="onAutoKill"!==i&&Ul(t[i])?t[i](e,r,n):t[i];return s}(e,n,t,i),s.vars=e,s.autoKill=!!e.autoKill,s.getX=Fl(t,"x"),s.getY=Fl(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Dl||(Dl=kl.core.globals().ScrollTrigger),"smooth"===kl.getProperty(t,"scrollBehavior")&&kl.set(t,{scrollBehavior:"auto"}),a&&"none"!==a&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(s.add(s,"x",s.x,Yl(e.x,t,"x",s.x,e.offsetX||0),n,i),s._props.push("scrollTo_x")):s.skipX=1,null!=e.y?(s.add(s,"y",s.y,Yl(e.y,t,"y",s.y,e.offsetY||0),n,i),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var r,n,i,s,a,o=e._pt,l=e.target,c=e.tween,u=e.autoKill,h=e.xPrev,p=e.yPrev,f=e.isWin,d=e.snap,g=e.snapInline;o;)o.r(t,o.d),o=o._next;r=f||!e.skipX?e.getX():h,i=(n=f||!e.skipY?e.getY():p)-p,s=r-h,a=Rl.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),u&&(!e.skipX&&(s>a||s<-a)&&ra||i<-a)&&n-1&&this._props.splice(r,1),!this._props.length}};Hl.max=Nl,Hl.getOffset=Ll,Hl.buildGetter=Fl,Il()&&kl.registerPlugin(Hl);let jl=class extends ct{constructor(){super(...arguments),this.total=2,this.noAnimation=!1,this.scrollTriggers=[]}connectedCallback(){super.connectedCallback(),this.gsap=function(){const t=window.gsap?window.gsap:hs,e=window.ScrollTrigger?window.ScrollTrigger:vl,r=window.ScrollToPlugin?window.ScrollToPlugin:Hl;return t.registerPlugin(e),t.registerPlugin(r),t}()}disconnectedCallback(){super.disconnectedCallback()}render(){return At`
${3==this.total?At`
${this.renderArticle(0)}
${this.renderArticle(1)} ${this.renderArticle(2)}
`:this.total>3?Array.from({length:2},((t,e)=>e)).map((t=>At`
${Array.from({length:Math.min(2,this.total-2*t)},((t,e)=>e)).map((e=>this.renderArticle(2*t+e)))}
`)):At`
${Array.from({length:this.total},((t,e)=>e)).map((t=>this.renderArticle(t)))}
`}
`}renderArticle(t){return At`
`}firstUpdated(){for(let t=0;t0&&this._headingSlot[0]&&(this._heading=this._headingSlot[0].querySelector('[slot="title"]'),this._description=this._headingSlot[0].querySelector('[slot="paragraph"]'),this._topBtnGroup=this._headingSlot[0].querySelector('[slot="links"]'))}updated(){this.handleScrollEvent()}animateArticle(t,e,r,n,i=0,s=200){null!=e&&(t.fromTo(e,{opacity:i,y:s},{opacity:1,ease:"power4.inout",y:0,duration:2},n),null!=r&&t.fromTo(r,{scale:1.2},{scale:1},"<+0.8"))}killScrollTriggerAnimation(){const t=[];this.scrollTriggers?.forEach((e=>{e.kill(!0);const r=e.animation;if(r)if(r instanceof this.gsap.core.Timeline)r.getChildren(!0,!0,!1).forEach((e=>{t.push(...e.targets())}));else if(r instanceof this.gsap.core.Tween){const e=r;t.push(...e.targets())}})),this.gsap.set(t,{clearProps:"transform,opacity,scale"}),this.scrollTriggers=[]}handleScrollEvent(){if(this.noAnimation)return void this.killScrollTriggerAnimation();if(this.scrollTriggers?.length>0)return;const t=this.gsap.timeline({scrollTrigger:{trigger:this._lppElement,start:"top bottom",end:"bottom center+=500",scrub:1,pin:"none",invalidateOnRefresh:!0}});this._heading&&t.fromTo(this._heading,{y:100},{ease:"power1.out",y:0,duration:1},.3),this._description&&t.fromTo(this._description,{opacity:0,y:100},{ease:"power1.out",opacity:1,y:0,duration:.5},.5),this._topBtnGroup&&t.fromTo(this._topBtnGroup,{opacity:0},{ease:"sine.out",opacity:1,duration:1},1),window.innerWidth<1084?(this.animateArticle(t,this._firstArticle,this._firstImage,1.5,.5,100),this.animateArticle(t,this._secondArticle,this._secondImage,2),this.animateArticle(t,this._thirdArticle,this._thirdImage,3),this.animateArticle(t,this._fourthArticle,this._fourthImage,4)):(this.animateArticle(t,this._secondArticle,this._secondImage,1.5),this.animateArticle(t,this._firstArticle,this._firstImage,2),this.animateArticle(t,this._thirdArticle,this._thirdImage,3),this.animateArticle(t,this._fourthArticle,this._fourthImage,4)),t.scrollTrigger&&this.scrollTriggers.push(t.scrollTrigger)}};return jl.styles=yt,r([ft({attribute:"total"})],jl.prototype,"total",void 0),r([ft({attribute:"no-animation",type:Boolean})],jl.prototype,"noAnimation",void 0),r([mt(".landing-page-path")],jl.prototype,"_lppElement",void 0),r([(t,e)=>gt(t,e,{get(){return(this.renderRoot??(_t??=document.createDocumentFragment())).querySelectorAll(".lpp-main article")}})],jl.prototype,"_lppArticles",void 0),r([mt(".article-0")],jl.prototype,"_firstArticle",void 0),r([mt(".article-1")],jl.prototype,"_secondArticle",void 0),r([mt(".article-2")],jl.prototype,"_thirdArticle",void 0),r([mt(".article-3")],jl.prototype,"_fourthArticle",void 0),r([vt({slot:"lpp-heading"})],jl.prototype,"_headingSlot",void 0),r([vt({slot:"lpp-image1"})],jl.prototype,"_firstImage",void 0),r([vt({slot:"lpp-image2"})],jl.prototype,"_secondImage",void 0),r([vt({slot:"lpp-image3"})],jl.prototype,"_thirdImage",void 0),r([vt({slot:"lpp-image4"})],jl.prototype,"_fourthImage",void 0),r([dt()],jl.prototype,"_heading",void 0),r([dt()],jl.prototype,"_description",void 0),r([dt()],jl.prototype,"_topBtnGroup",void 0),jl=r([(t=>(e,r)=>{void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})("cascade-landing-page-pathing")],jl),e})(),t.exports=e()}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var s=e[n]={exports:{}};return t[n](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(2865)})()})(); (function () { "use strict"; if (!$("body").hasClass("animation-toggle")) { $("cascade-landing-page-pathing").attr("no-animation", ""); } var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.attributeName === "class") { var classList = $("body").attr("class").split(/\s+/); if (!classList.includes("animation-toggle")) { $("cascade-landing-page-pathing").attr("no-animation", ""); } else { $("cascade-landing-page-pathing").removeAttr("no-animation"); } } }); }); observer.observe(document.body, { attributes: true }); }()); document.addEventListener('DOMContentLoaded', function() { var lppElements = document.querySelectorAll('.cascade-landing-page-path-container'); lppElements.forEach(function(lppElement) { var backgroundGradient = lppElement.getAttribute('data-background-gradient'); if (backgroundGradient != null) { lppElement.style.setProperty('background', backgroundGradient); } }); });