/*! For license information please see interactive-feature-camera-bundle.js.LICENSE.txt */ (()=>{var t={1430:t=>{var e;self,e=()=>(()=>{"use strict";var t={d:(e,r)=>{for(var i in r)t.o(r,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:r[i]})},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={};t.r(e),t.d(e,{InteractiveFeatureCamera:()=>Pc});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},r(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var n=function(){return n=Object.assign||function(t){for(var e,r=1,i=arguments.length;r=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o}function o(t,e,r){if(r||2===arguments.length)for(var i,n=0,s=e.length;nnew h("string"==typeof t?t:t+"",void 0,u),f=l?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return p(e)})(t):t,{is:d,defineProperty:g,getOwnPropertyDescriptor:m,getOwnPropertyNames:v,getOwnPropertySymbols:_,getPrototypeOf:y}=Object,b=globalThis,E=b.trustedTypes,T=E?E.emptyScript:"",x=b.reactiveElementPolyfillSupport,w=(t,e)=>t,A={toAttribute(t,e){switch(e){case Boolean:t=t?T: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}},P=(t,e)=>!d(t,e),C={attribute:!0,type:String,converter:A,reflect:!1,hasChanged:P};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;class S 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=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),i=this.getPropertyDescriptor(t,r,e);void 0!==i&&g(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){const{get:i,set:n}=m(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const s=i?.call(this);n.call(this,e),this.requestUpdate(t,s,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(w("elementProperties")))return;const t=y(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(w("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(w("properties"))){const t=this.properties,e=[...v(t),..._(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(f(t))}else void 0!==t&&e.push(f(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((t,e)=>{if(l)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),i=a.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=r.cssText,t.appendChild(e)}})(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),i=this.constructor._$Eu(t,r);if(void 0!==i&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:A).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,i=r._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:A;this._$Em=i,this[i]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??P)(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){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[w("elementProperties")]=new Map,S[w("finalized")]=new Map,x?.({ReactiveElement:S}),(b.reactiveElementVersions??=[]).push("2.0.4");const B=globalThis,H=B.trustedTypes,M=H?H.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",k=`lit$${(Math.random()+"").slice(9)}$`,L="?"+k,R=`<${L}>`,I=document,N=()=>I.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,F="[ \t\n\f\r]",U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,z=/>/g,G=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,j=/^(?:script|style|textarea|title)$/i,q=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),W=q(1),K=q(2),Z=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),J=new WeakMap,tt=I.createTreeWalker(I,129);function et(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}const rt=(t,e)=>{const r=t.length-1,i=[];let n,s=2===e?"":"",o=U;for(let e=0;e"===l[0]?(o=n??U,u=-1):void 0===l[1]?u=-2:(u=o.lastIndex-l[2].length,a=l[1],o=void 0===l[3]?G:'"'===l[3]?X:Y):o===X||o===Y?o=G:o===V||o===z?o=U:(o=G,n=void 0);const h=o===G&&t[e+1].startsWith("/>")?" ":"";s+=o===U?r+R:u>=0?(i.push(a),r.slice(0,u)+O+r.slice(u)+k+h):r+k+(-2===u?e:h)}return[et(t,s+(t[r]||"")+(2===e?"":"")),i]};class it{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let n=0,s=0;const o=t.length-1,a=this.parts,[l,u]=rt(t,e);if(this.el=it.createElement(l,r),tt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=tt.nextNode())&&a.length0){i.textContent=H?H.emptyScript:"";for(let r=0;rD(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!==Q&&$(this._$AH)?this._$AA.nextSibling.data=t:this.T(I.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=it.createElement(et(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new st(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new it(t)),e}k(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of t)i===e.length?e.push(r=new ot(this.S(N()),this.S(N()),this,this.options)):r=e[i],r._$AI(n),i++;i2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Q}_$AI(t,e=this,r,i){const n=this.strings;let s=!1;if(void 0===n)t=nt(this,t,e,0),s=!$(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{const i=t;let o,a;for(t=n[0],o=0;o{const i=r?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=r?.renderBefore??null;i._$litPart$=n=new ot(e.insertBefore(N(),t),t,void 0,r??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Z}}ft._$litElement$=!0,ft.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ft});const dt=globalThis.litElementPolyfillSupport;dt?.({LitElement:ft}),(globalThis.litElementVersions??=[]).push("4.0.4");const gt={attribute:!0,type:String,converter:A,reflect:!1,hasChanged:P},mt=(t=gt,e,r)=>{const{kind:i,metadata:n}=r;let s=globalThis.litPropertyMetadata.get(n);if(void 0===s&&globalThis.litPropertyMetadata.set(n,s=new Map),s.set(r.name,t),"accessor"===i){const{name:i}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(i,n,t)},init(e){return void 0!==e&&this.P(i,void 0,t),e}}}if("setter"===i){const{name:i}=r;return function(r){const n=this[i];e.call(this,r),this.requestUpdate(i,n,t)}}throw Error("Unsupported decorator location: "+i)};function vt(t){return(e,r)=>"object"==typeof r?mt(t,e,r):((t,e,r)=>{const i=e.hasOwnProperty(r);return e.constructor.createProperty(r,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}const _t=((t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,i)=>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[i+1]),t[0]);return new h(r,t,u)})` .full-screen-text { text-align: center; } .interactive-feature-container .feature-toggles { display: flex; position: relative; } .interactive-feature-container .asset-section { flex: 0 0 70%; position: relative; /* opacity: 0; */ /* transform: translateY(20%); */ } .interactive-feature-container .asset-section .asset-img img, .interactive-feature-container .asset-section .asset-video video { width: 100%; display: none; height: 100%; clip-path: inset(2px 2px 2px 0); opacity: 0; } @keyframes assetchange { from { opacity: 50%; } to { opacity: 100%; } } .interactive-feature-container .asset-section .asset-video video.visible, .interactive-feature-container .asset-section .asset-img img.visible { animation: assetchange 0.5s; } .interactive-feature-container .asset-section .asset-img img.visible, .interactive-feature-container .asset-section .asset-video video.visible { opacity: 1; display: block; } :host([dir='rtl']) .interactive-feature-container .asset-section .asset-video video { clip-path: inset(2px 0px 2px 2px); } .interactive-feature-container .toggles-section { flex: 0 0 40%; position: absolute; top: 50%; left: 57%; /* transform: translateY(-50%); */ width: 30%; background-color: #fff; background: var( --ds-ifc-card-background-gradient, ${p("#fff")} ); padding: 24px; border: 1px solid var( --ds-ifc-card-border-color, ${p("#005FCF")} ); border-radius: 8px; transition: opacity 0.5s, transform 0.5s; } :host([dir='rtl']) .interactive-feature-container .toggles-section { right: 57%; left: auto; } .interactive-feature-container .toggles-section::before { top: -1px; transform: rotate(180deg); } .interactive-feature-container .toggles-section::after { bottom: -1px; } .interactive-feature-container .toggles-section::before, .interactive-feature-container .toggles-section::after { content: ''; height: 1px; left: 8px; position: absolute; right: 8px; background: var( --ds-ifc-card-border-gradient, ${p("linear-gradient(118.71deg, #0736C3 9.27%, rgba(7, 54, 195, 0.2) 93.26%)")} ); } .interactive-feature-container .toggle-title-area { display: flex; align-items: center; gap: 24px; padding-bottom: 16px; } .interactive-feature-container .toggle-title-area .right-copy .title { margin: 0; padding-bottom: 8px; font-size: 21px; font-weight: 600; line-height: 26px; } .interactive-feature-container .toggle-title-area .right-copy .paragraph { margin: 0; font-size: 16px; line-height: 24px; font-weight: 400; } .interactive-feature-container { top: 0; padding: 0px 0 40px; overflow-anchor: none; overflow: hidden; background: var( --ds-ifc-container-background-color, ${p("linear-gradient(173.97deg, #E8F5FE 9.26%, #FFF3E1 24.78%, #D2ECFF 39.86%, #B1D9EF 64.17%, #E8F5FE 87.69%)")} ); } .sticky-disabled { position: static !important; } /* Toggle button CSS */ .interactive-feature-container .individual-toggle { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ccc; padding: 16px 0; } .interactive-feature-container .individual-toggle .toggle-label { font-weight: 600; flex: 0 0 50%; pointer-events: none; } .interactive-feature-container .individual-toggle:last-child { border-bottom: 1px solid #ccc; } .interactive-feature-container .individual-toggle:nth-child(3n) { border-bottom: 1px solid #ccc; } .interactive-feature-container .toggle-button-area .toggle-text-before { padding-right: 8px; } .interactive-feature-container .toggle-button-area .toggle-text-after { padding-left: 8px; } .interactive-feature-container .individual-toggle .toggle-button { position: relative; display: inline-block; width: 36px; height: 20px; border-radius: 20px; } .interactive-feature-container .individual-toggle .toggle-button input { opacity: 0; width: 0; height: 0; } .toggle-button .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #757575; transition: 0.2s; border-radius: 34px; } .toggle-button .slider:before { position: absolute; content: ''; height: 12px; width: 12px; left: 4px; bottom: 4px; background-color: #fff; transition: 0.4s; border-radius: 50%; } input:checked + .slider { background-color: var( --ds-ifc-active-dot-color, ${p("#0736C3")} ); } input:checked + .slider:before { transform: translateX(16px); } .toggle-button input:focus-visible + .slider { outline: 2px dashed #000; outline-offset: 1px; } .interactive-feature-container .toggle-area-hidden-paragraph { display: none; } .interactive-feature-container .toggle-title-area .right-copy .paragraph { display: block; } /* Toggle button CSS */ .interactive-feature-container .toggle-controls .toggle-button, .interactive-feature-container .feature-toggles .asset-section .video-play-pause .play-pause-button { min-width: 40px; width: 40px; height: 40px; border-radius: 50px; cursor: pointer; border: 2px solid var( --ds-ifc-button-border-color, ${p("#0736C3")} ) !important; background: #ffffff; background: linear-gradient(white, white) padding-box, var( --ds-ifc-button-border-gradient, ${p("linear-gradient(to right, #0736C3, rgba(7, 54, 195, 0.2))")} ) border-box !important; align-items: center; display: inherit; justify-content: center; } :host([dir='rtl']) .interactive-feature-container .toggle-controls .toggle-button { transform: rotate(180deg); } .interactive-feature-container .feature-toggles .asset-section .video-play-pause .play-pause-button svg { top: 2px; left: 1px; position: relative; } .interactive-feature-container .feature-toggles .asset-section .video-play-pause .play-pause-button:focus-visible { outline: 2px dashed #000; outline-offset: 1px; } .interactive-feature-container .toggle-controls .toggle-button svg { width: 20px; } .interactive-feature-container .feature-toggles .asset-section .video-play-pause .play-pause-button svg { width: 100%; } .interactive-feature-container .toggle-controls .toggle-button:focus-visible, .interactive-feature-container .feature-toggles .asset-section .video-play-pause button:focus-visible { outline: 3px dashed currentColor; outline-offset: 1px; } .toggle-button:focus-visible { outline: 3px dashed #000; outline-offset: 1px; } .interactive-feature-container .toggle-controls .indicators { display: flex; gap: 10px; align-items: center; } .interactive-feature-container .toggle-controls .indicator { width: 32px; height: 2px; border-radius: 80px; background-color: #ccc; } .interactive-feature-container .toggle-controls .indicator.active { background-color: var( --ds-ifc-active-dot-color, ${p("#0736C3")} ); height: 6px; } .interactive-feature-container .toggle-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; } .interactive-feature-container .individual-toggle.hidden-toggle { display: none; } .interactive-feature-container .feature-toggles .asset-section .video-play-pause { position: absolute; bottom: 70px; left: 70px; } :host([dir='rtl']) .interactive-feature-container .feature-toggles .asset-section .video-play-pause { right: 70px; } .interactive-feature-container .title-section { text-align: center; padding-top: 60px; } .interactive-feature-container .primary-title { font-size: 80px; font-weight: 600; line-height: normal; margin-bottom: 0; margin: 0; color: #000; width: 100%; text-align: center; background: var( --ds-ifc-eyebrow-gradient-color, ${p("linear-gradient(269.94deg, #835B3D 13.86%, #0A1E2C 37.22%, #0A1E2C 62.56%, #075E98 89.88%)")} ); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .interactive-feature-container .secondary-title { font-size: 71px; font-weight: 600; line-height: 84px; margin: 0; color: #000; } .interactive-feature-container .text-behind { overflow: hidden; /* margin-top: -.4em; margin-bottom: .2em; */ padding-bottom: 0.6em; } .interactive-feature-container .primary-link { margin: 34px 0 40px; display: inline-block; } .interactive-feature-container .primary-link a { font-size: 16px; background: #5440f1; padding: 10px 18px; color: #fff; border-radius: 8px; line-height: 24px; font-weight: 600; text-decoration: none; } .interactive-feature-container.ifc-animation-off .toggles-section { transform: translateY(-50%); } .interactive-feature-container .left-icon img { width: 64px; height: 64px; } /* Dark Theme */ .interactive-feature-container.theme-night { background: var( --ds-ifc-container-background-color, ${p("#0A0520")} ); } .interactive-feature-container.theme-night .primary-title { color: #fff; background: var( --ds-ifc-eyebrow-gradient-color, ${p("linear-gradient(272.08deg, #FFB98A 7.15%, #E1DFF2 48.43%, #FFFFFF 71.63%, #E1DFF2 102.16%)")} ); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .interactive-feature-container.theme-night .secondary-title { color: #fff; } .interactive-feature-container.theme-night .toggles-section { border: 1px solid var( --ds-ifc-card-border-color, ${p("#3DCBFF")} ); background: var( --ds-ifc-card-background-gradient, ${p("linear-gradient(105.36deg, #253054 0.61%, rgba(51, 48, 61, 0.5) 169.87%)")} ); color: #fff; } .interactive-feature-container.theme-night .toggles-section::before, .interactive-feature-container.theme-night .toggles-section::after { background: var( --ds-ifc-card-border-gradient, ${p("linear-gradient(101.9deg, #3DCBFF 1.99%, #EAF8FE 36.02%, #9FE5FF 66.76%, rgba(61, 203, 255, 0.85) 87.71%)")} ); } .interactive-feature-container.theme-night .toggle-button .slider { background-color: #fff; } .interactive-feature-container.theme-night .toggle-button .slider:before { background-color: #000; } .interactive-feature-container.theme-night input:checked + .slider { background-color: var( --ds-ifc-active-dot-color, ${p("#3DCBFF")} ); } .interactive-feature-container.theme-night .toggle-controls .indicator.active { background-color: var( --ds-ifc-active-dot-color, ${p("#3DCBFF")} ); } .interactive-feature-container.theme-night .toggle-controls .toggle-button, .interactive-feature-container.theme-night .feature-toggles .asset-section .video-play-pause .play-pause-button { border: 2px solid var( --ds-ifc-button-border-color, ${p("#3DCBFF")} ) !important; background: linear-gradient(#33303d, #33303d) padding-box, var( --ds-ifc-button-border-gradient, ${p("linear-gradient(to right, #3DCBFF, rgba(61, 203, 255, 0.85))")} ) border-box !important; } .interactive-feature-container.theme-night .toggle-controls .toggle-button svg, .interactive-feature-container.theme-night .feature-toggles .asset-section .video-play-pause .play-pause-button svg { fill: #fff; } .interactive-feature-container.theme-night .feature-toggles .asset-section .video-play-pause .play-pause-button:focus { outline: 2px dotted #ffffff; outline-offset: 1px; } .interactive-feature-container.theme-night .toggle-button input:focus-visible + .slider { outline: 2px dashed #fff; outline-offset: 1px; } /* Dark Theme */ @media (max-width: 1083.99px) { @keyframes assetchange { from { opacity: 0; } to { opacity: 100%; } } .interactive-feature-container .asset-section .asset-video video.visible, .interactive-feature-container .asset-section .asset-img img.visible { animation: assetchange 0.5s; } .interactive-feature-container { max-width: calc(100% - 1px) !important; } .interactive-feature-container .feature-toggles { flex-direction: column; } .interactive-feature-container .toggles-section { position: relative; top: -20px; left: auto; transform: translateY(0); margin: 0 auto; width: 90%; box-sizing: border-box; } .interactive-feature-container.ifc-animation-off .toggles-section { transform: translateY(0); } :host([dir='rtl']) .interactive-feature-container .toggles-section { right: auto; } .interactive-feature-container .feature-toggles .asset-section .video-play-pause { left: 5%; bottom: 40px; } .interactive-feature-container .toggle-title-area .right-copy .title { font-size: 18px; } .interactive-feature-container .primary-title { font-size: 40px; line-height: normal; } .interactive-feature-container .secondary-title { font-size: 32px; line-height: 38px; } .interactive-feature-container .primary-link { margin: 20px 0 76px; } } @media (max-width: 859.99px) { .interactive-feature-container .toggle-area-hidden-paragraph { display: block; padding-bottom: 16px; } .interactive-feature-container .toggle-area-hidden-paragraph { margin: 0; } .interactive-feature-container .toggle-title-area .right-copy .paragraph { display: none; } .interactive-feature-container .toggle-title-area { padding-bottom: 10px; gap: 20px; } } /* High Contrast Mode */ @media (prefers-contrast: more) { .toggle-button .slider { border: 2px solid #fff; } .toggle-button .slider:before { top: 2.5px; left: 2.5px; background-color: #fff; border: 6px solid #fff; height: 0px; width: 0px; } .interactive-feature-container .toggle-controls .toggle-button svg, .interactive-feature-container .feature-toggles .asset-section .video-play-pause .play-pause-button svg { fill: #fff !important; } .interactive-feature-container .toggle-controls .indicator { width: 32px; height: 0px; border: 2px solid #fff; } .interactive-feature-container .toggle-controls .indicator.active { border: 3px solid #fff; } .interactive-feature-container .primary-link a { border: 2px solid #ffffff; } .interactive-feature-container .toggles-section { background-color: currentColor !important; } .interactive-feature-container.theme-night .toggle-controls .toggle-button svg { stroke: #fff; } } @media (forced-colors: active) { .interactive-feature-container .toggle-controls .indicator.active { forced-color-adjust: none; background-color: #fff; } } @supports (-moz-appearance: none) { @media (min-width: 1084px) { .toggle-button .slider:before { bottom: 4.5px; } } } `,yt=Symbol.for(""),bt=t=>{if(t?.r===yt)return t?._$litStatic$},Et=t=>({_$litStatic$:t,r:yt}),Tt=new Map,xt=t=>(e,...r)=>{const i=r.length;let n,s;const o=[],a=[];let l,u=0,c=!1;for(;u(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,r),r));function Pt(t,e){return(r,i,n)=>{const s=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?r:n??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return At(r,i,{get(){let r=t.call(this);return void 0===r&&(r=s(this),(null!==r||this.hasUpdated)&&e.call(this,r)),r}})}return At(r,i,{get(){return s(this)}})}}let Ct;function St(t){return(e,r)=>At(e,r,{get(){return(this.renderRoot??(Ct??=document.createDocumentFragment())).querySelectorAll(t)}})}function Bt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ht(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Mt,Ot,kt,Lt,Rt,It,Nt,$t,Dt,Ft,Ut,Vt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},zt={duration:.5,overwrite:!1,delay:0},Gt=1e8,Yt=1e-8,Xt=2*Math.PI,jt=Xt/4,qt=0,Wt=Math.sqrt,Kt=Math.cos,Zt=Math.sin,Qt=function(t){return"string"==typeof t},Jt=function(t){return"function"==typeof t},te=function(t){return"number"==typeof t},ee=function(t){return void 0===t},re=function(t){return"object"==typeof t},ie=function(t){return!1!==t},ne=function(){return"undefined"!=typeof window},se=function(t){return Jt(t)||Qt(t)},oe="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},ae=Array.isArray,le=/(?:-?\.?\d|\.)+/gi,ue=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ce=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,he=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,pe=/[+-]=-?[.\d]+/,fe=/[^,'"\[\]\s]+/gi,de=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ge={},me={},ve=function(t){return(me=Xe(t,ge))&&Xi},_e=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ye=function(t,e){return!e&&console.warn(t)},be=function(t,e){return t&&(ge[t]=e)&&me&&(me[t]=e)||ge},Ee=function(){return 0},Te={suppressEvents:!0,isStart:!0,kill:!1},xe={suppressEvents:!0,kill:!1},we={suppressEvents:!0},Ae={},Pe=[],Ce={},Se={},Be={},He=30,Me=[],Oe="",ke=function(t){var e,r,i=t[0];if(re(i)||Jt(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=Me.length;r--&&!Me[r].targetTest(i););e=Me[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new oi(t[r],e)))||t.splice(r,1);return t},Le=function(t){return t._gsap||ke(xr(t))[0]._gsap},Re=function(t,e,r){return(r=t[e])&&Jt(r)?t[e]():ee(r)&&t.getAttribute&&t.getAttribute(e)||r},Ie=function(t,e){return(t=t.split(",")).forEach(e)||t},Ne=function(t){return Math.round(1e5*t)/1e5||0},$e=function(t){return Math.round(1e7*t)/1e7||0},De=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},Fe=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++is;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=o,e.parent=e._dp=t,e},Ze=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},Qe=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Je=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},tr=function(t,e,r,i){return t._startAt&&(Ot?t._startAt.revert(xe):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},er=function t(e){return!e||e._ts&&t(e.parent)},rr=function(t){return t._repeat?ir(t._tTime,t=t.duration()+t._rDelay)*t:0},ir=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},nr=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},sr=function(t){return t._end=$e(t._start+(t._tDur/Math.abs(t._ts||t._rts||Yt)||0))},or=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=$e(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),sr(t),r._dirty||Je(r,t)),t},ar=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._startYt)&&e.render(r,!0)),Je(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}},lr=function(t,e,r,i){return e.parent&&Qe(e),e._start=$e((te(r)?r:r||t!==Lt?mr(t,r,e):t._time)+e._delay),e._end=$e(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ke(t,e,"_first","_last",t._sort?"_start":0),pr(e)||(t._recent=e),i||ar(t,e),t._ts<0&&or(t,t._tTime),t},ur=function(t,e){return(ge.ScrollTrigger||_e("scrollTrigger",e))&&ge.ScrollTrigger.create(e,t)},cr=function(t,e,r,i,n){return di(t,e,n),t._initted?!r&&t._pt&&!Ot&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&Dt!==jr.frame?(Pe.push(t),t._lazy=[n,i],1):void 0:1},hr=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},pr=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},fr=function(t,e,r,i){var n=t._repeat,s=$e(e)||0,o=t._tTime/t._tDur;return o&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:$e(s*(n+1)+t._rDelay*n):s,o>0&&!i&&or(t,t._tTime=t._tDur*o),t.parent&&sr(t),r||Je(t.parent,t),t},dr=function(t){return t instanceof li?Je(t):fr(t,t._dur)},gr={_start:0,endTime:Ee,totalDuration:Ee},mr=function t(e,r,i){var n,s,o,a=e.labels,l=e._recent||gr,u=e.duration()>=Gt?l.endTime(!1):e._dur;return Qt(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s?(n>=0&&(r=r.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(n<0?l:i).totalDuration()/100:1)):n<0?(r in a||(a[r]=u),a[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),o&&i&&(s=s/100*(ae(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:u+s)):null==r?u:+r},vr=function(t,e,r){var i,n,s=te(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(i=a,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=ie(n.vars.inherit)&&n.parent;a.immediateRender=ie(i.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new yi(e[0],a,e[o+1])},_r=function(t,e){return t||0===t?e(t):e},yr=function(t,e,r){return re?e:r},br=function(t,e){return Qt(t)&&(e=de.exec(t))?e[1]:""},Er=[].slice,Tr=function(t,e){return t&&re(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&re(t[0]))&&!t.nodeType&&t!==Rt},xr=function(t,e,r){return kt&&!e&&kt.selector?kt.selector(t):!Qt(t)||r||!It&&qr()?ae(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return Qt(t)&&!e||Tr(t,1)?(i=r).push.apply(i,xr(t)):r.push(t)}))||r}(t,r):Tr(t)?Er.call(t,0):t?[t]:[]:Er.call((e||Nt).querySelectorAll(t),0)},wr=function(t){return t=xr(t)[0]||ye("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return xr(e,r.querySelectorAll?r:r===t?ye("Invalid scope")||Nt.createElement("div"):t)}},Ar=function(t){return t.sort((function(){return.5-Math.random()}))},Pr=function(t){if(Jt(t))return t;var e=re(t)?t:{each:t},r=ei(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},o=i>0&&i<1,a=isNaN(i)||o,l=e.axis,u=i,c=i;return Qt(i)?u=c={center:.5,edges:.5,end:1}[i]||0:!o&&a&&(u=i[0],c=i[1]),function(t,o,h){var p,f,d,g,m,v,_,y,b,E=(h||e).length,T=s[E];if(!T){if(!(b="auto"===e.grid?0:(e.grid||[1,Gt])[1])){for(_=-Gt;_<(_=h[b++].getBoundingClientRect().left)&&b_&&(_=m),mE?E-1:l?"y"===l?E/b:b:Math.max(b,E/b))||0)*("edges"===i?-1:1),T.b=E<0?n-E:n,T.u=br(e.amount||e.each)||0,r=r&&E<0?Jr(r):r}return E=(T[t]-T.min)/T.max||0,$e(T.b+(r?r(E):E)*T.v)+T.u}},Cr=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=$e(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(te(r)?0:br(r))}},Sr=function(t,e){var r,i,n=ae(t);return!n&&re(t)&&(r=n=t.radius||Gt,t.values?(t=xr(t.values),(i=!te(t[0]))&&(r*=r)):t=Cr(t.increment)),_r(e,n?Jt(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,s,o=parseFloat(i?e.x:e),a=parseFloat(i?e.y:0),l=Gt,u=0,c=t.length;c--;)(n=i?(n=t[c].x-o)*n+(s=t[c].y-a)*s:Math.abs(t[c]-o))(n=Math.abs(n))&&(s=i,a=n);return s},Lr=function(t,e,r){var i,n,s,o=t.vars,a=o[e],l=kt,u=t._ctx;if(a)return i=o[e+"Params"],n=o.callbackScope||t,r&&Pe.length&&Ue(),u&&(kt=u),s=i?a.apply(n,i):a.call(n),kt=l,s},Rr=function(t){return Qe(t),t.scrollTrigger&&t.scrollTrigger.kill(!!Ot),t.progress()<1&&Lr(t,"onInterrupt"),t},Ir=[],Nr=function(t){if(t)if(t=!t.name&&t.default||t,ne()||t.headless){var e=t.name,r=Jt(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:Ee,render:Si,add:pi,kill:Hi,modifier:Bi,rawVars:0},s={targetTest:0,get:0,getSetter:wi,aliases:{},register:0};if(qr(),t!==i){if(Se[e])return;Ye(i,Ye(qe(t,n),s)),Xe(i.prototype,Xe(n,qe(t,s))),Se[i.prop=e]=i,t.targetTest&&(Me.push(i),Ae[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}be(e,i),t.register&&t.register(Xi,i,ki)}else Ir.push(t)},$r=255,Dr={aqua:[0,$r,$r],lime:[0,$r,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,$r],navy:[0,0,128],white:[$r,$r,$r],olive:[128,128,0],yellow:[$r,$r,0],orange:[$r,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[$r,0,0],pink:[$r,192,203],cyan:[0,$r,$r],transparent:[$r,$r,$r,0]},Fr=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)*$r+.5|0},Ur=function(t,e,r){var i,n,s,o,a,l,u,c,h,p,f=t?te(t)?[t>>16,t>>8&$r,t&$r]:0:Dr.black;if(!f){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Dr[t])f=Dr[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+i+i+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(f=parseInt(t.substr(1,6),16))>>16,f>>8&$r,f&$r,parseInt(t.substr(7),16)/255];f=[(t=parseInt(t.substr(1),16))>>16,t>>8&$r,t&$r]}else if("hsl"===t.substr(0,3))if(f=p=t.match(le),e){if(~t.indexOf("="))return f=t.match(ue),r&&f.length<4&&(f[3]=1),f}else o=+f[0]%360/360,a=+f[1]/100,i=2*(l=+f[2]/100)-(n=l<=.5?l*(a+1):l+a-l*a),f.length>3&&(f[3]*=1),f[0]=Fr(o+1/3,i,n),f[1]=Fr(o,i,n),f[2]=Fr(o-1/3,i,n);else f=t.match(le)||Dr.transparent;f=f.map(Number)}return e&&!p&&(i=f[0]/$r,n=f[1]/$r,s=f[2]/$r,l=((u=Math.max(i,n,s))+(c=Math.min(i,n,s)))/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===i?(n-s)/h+(na||y<0)&&(u+=y-l),((g=(v=(c+=y)-u)-p)>0||b)&&(_=++i.frame,n=v-1e3*i.time,i.time=v/=1e3,p+=g+(g>=h?4:h-g),m=1),b||(t=e(r)),m)for(s=0;s=e&&s--},_listeners:f},i}(),qr=function(){return!Ut&&jr.wake()},Wr={},Kr=/^[\d.\-M][\d.\-,\s]/,Zr=/["']/g,Qr=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a1&&o.config?o.config.apply(null,~t.indexOf("{")?[Qr(s[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),o=s/Xt*(Math.asin(1/n)||0),a=function(t){return 1===t?1:n*Math.pow(2,-10*t)*Zt((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:ii(a);return s=Xt/s,l.config=function(r,i){return t(e,r,i)},l},si=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:ii(i);return n.config=function(r){return t(e,r)},n};Ie("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;ri(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}))})),Wr.Linear.easeNone=Wr.none=Wr.Linear.easeIn,ri("Elastic",ni("in"),ni("out"),ni()),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};ri("Bounce",(function(t){return 1-r(1-t)}),r)}(7.5625,2.75),ri("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),ri("Circ",(function(t){return-(Wt(1-t*t)-1)})),ri("Sine",(function(t){return 1===t?1:1-Kt(t*jt)})),ri("Back",si("in"),si("out"),si()),Wr.SteppedEase=Wr.steps=ge.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*yr(0,.99999999,t)|0)+n)*r}}},zt.ease=Wr["quad.out"],Ie("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return Oe+=t+","+t+"Params,"}));var oi=function(t,e){this.id=qt++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Re,this.set=e?e.getSetter:wi},ai=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,fr(this,+t.duration,1,1),this.data=t.data,kt&&(this._ctx=kt,kt.data.push(this)),Ut||jr.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,fr(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(qr(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(or(this,t),!r._dp||r.parent||ar(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)&&lr(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Yt||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Ve(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+rr(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)+rr(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?ir(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?nr(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(yr(-Math.abs(this._delay),this._tDur,r),!1!==e),sr(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):(qr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Yt&&(this._tTime-=Yt)))),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)&&lr(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(ie(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?nr(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=we);var e=Ot;return Ot=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),Ot=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,dr(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,dr(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(mr(this,t),ie(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,ie(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?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=Jt(t)?t:Ge,n=function(){var t=e.then;e.then=null,Jt(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){Rr(this)},t}();Ye(ai.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 li=function(t){function e(e,r){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=ie(e.sortChildren),Lt&&lr(e.parent||Lt,Bt(i),r),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&ur(Bt(i),e.scrollTrigger),i}Ht(e,t);var r=e.prototype;return r.to=function(t,e,r){return vr(0,arguments,this),this},r.from=function(t,e,r){return vr(1,arguments,this),this},r.fromTo=function(t,e,r,i){return vr(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,We(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new yi(t,e,mr(this,r),1),this},r.call=function(t,e,r){return lr(this,yi.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,i,n,s,o){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new yi(t,r,mr(this,n)),this},r.staggerFrom=function(t,e,r,i,n,s,o){return r.runBackwards=1,We(r).immediateRender=ie(r.immediateRender),this.staggerTo(t,e,r,i,n,s,o)},r.staggerFromTo=function(t,e,r,i,n,s,o,a){return i.startAt=r,We(i).immediateRender=ie(i.immediateRender),this.staggerTo(t,e,i,n,s,o,a)},r.render=function(t,e,r){var i,n,s,o,a,l,u,c,h,p,f,d,g=this._time,m=this._dirty?this.totalDuration():this._tDur,v=this._dur,_=t<=0?0:$e(t),y=this._zTime<0!=t<0&&(this._initted||!v);if(this!==Lt&&_>m&&t>=0&&(_=m),_!==this._tTime||r||y){if(g!==this._time&&v&&(_+=this._time-g,t+=this._time-g),i=_,h=this._start,l=!(c=this._ts),y&&(v||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(f=this._yoyo,a=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,r);if(i=$e(_%a),_===m?(o=this._repeat,i=v):((o=~~(_/a))&&o===_/a&&(i=v,o--),i>v&&(i=v)),p=ir(this._tTime,a),!g&&this._tTime&&p!==o&&this._tTime-p*a-this._dur<=0&&(p=o),f&&1&o&&(i=v-i,d=1),o!==p&&!this._lock){var b=f&&1&p,E=b===(f&&1&o);if(oe)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=g&&t>=0)for(n=this._first;n;){if(s=n._next,(n._act||i>=n._start)&&n._ts&&u!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!l){u=0,s&&(_+=this._zTime=-1e-8);break}}n=s}else{n=this._last;for(var T=t<0?t:i;n;){if(s=n._prev,(n._act||T<=n._end)&&n._ts&&u!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(T-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(T-n._start)*n._ts,e,r||Ot&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!l){u=0,s&&(_+=this._zTime=T?-1e-8:Yt);break}}n=s}}if(u&&!e&&(this.pause(),u.render(i>=g?0:-1e-8)._zTime=i>=g?1:-1,this._ts))return this._start=h,sr(this),this.render(t,e,r);this._onUpdate&&!e&&Lr(this,"onUpdate",!0),(_===m&&this._tTime>=this.totalDuration()||!_&&g)&&(h!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!v)&&(_===m&&this._ts>0||!_&&this._ts<0)&&Qe(this,1),e||t<0&&!g||!_&&!g&&m||(Lr(this,_===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(_0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(te(e)||(e=mr(this,e,t)),!(t instanceof ai)){if(ae(t))return t.forEach((function(t){return r.add(t,e)})),this;if(Qt(t))return this.addLabel(t,e);if(!Jt(t))return this;t=yi.delayedCall(0,t)}return this!==t?lr(this,t,e):this},r.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-Gt);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof yi?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},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 Qt(t)?this.removeLabel(t):Jt(t)?this.killTweensOf(t):(Ze(this,t),t===this._recent&&(this._recent=this._last),Je(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=$e(jr.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]=mr(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var i=yi.delayedCall(0,e||Ee,r);return i.data="isPause",this._hasPause=1,lr(this,i,mr(this,t))},r.removePause=function(t){var e=this._first;for(t=mr(this,t);e;)e._start===t&&"isPause"===e.data&&Qe(e),e=e._next},r.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)ui!==i[n]&&i[n].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,i=[],n=xr(t),s=this._first,o=te(e);s;)s instanceof yi?Fe(s._targets,n)&&(o?(!ui||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},r.tweenTo=function(t,e){e=e||{};var r,i=this,n=mr(i,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,u=s.immediateRender,c=yi.to(i,Ye({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(o&&"time"in o?o.time:i._time))/i.timeScale())||Yt,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(o&&"time"in o?o.time:i._time))/i.timeScale());c._dur!==t&&fr(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,l||[])}},e));return u?c.render(0):c},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Ye({startAt:{time:mr(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),kr(this,mr(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),kr(this,mr(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Yt)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return Je(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={}),Je(this)},r.totalDuration=function(t){var e,r,i,n=0,s=this,o=s._last,a=Gt;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,lr(s,o,r-o._delay,1)._lock=0):a=r,r<0&&o._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),a=0),o._end>n&&o._ts&&(n=o._end),o=e;fr(s,s===Lt&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(Lt._ts&&(Ve(Lt,nr(t,Lt)),Dt=jr.frame),jr.frame>=He){He+=Vt.autoSleep||120;var e=Lt._first;if((!e||!e._ts)&&Vt.autoSleep&&jr._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||jr.sleep()}}},e}(ai);Ye(li.prototype,{_lock:0,_hasPause:0,_forcing:0});var ui,ci,hi=function(t,e,r,i,n,s,o){var a,l,u,c,h,p,f,d,g=new ki(this._pt,t,e,0,1,Ci,null,n),m=0,v=0;for(g.b=r,g.e=i,r+="",(f=~(i+="").indexOf("random("))&&(i=Mr(i)),s&&(s(d=[r,i],t,e),r=d[0],i=d[1]),l=r.match(he)||[];a=he.exec(i);)c=a[0],h=i.substring(m,a.index),u?u=(u+1)%5:"rgba("===h.substr(-5)&&(u=1),c!==l[v++]&&(p=parseFloat(l[v-1])||0,g._pt={_next:g._pt,p:h||1===v?h:",",s:p,c:"="===c.charAt(1)?De(p,c)-p:parseFloat(c)-p,m:u&&u<4?Math.round:0},m=he.lastIndex);return g.c=m")})),o.duration();else{for(c in l={},b)"ease"===c||"easeEach"===c||gi(c,b[c],l,b.easeEach);for(c in l)for(P=l[c].sort((function(t,e){return t.t-e.t})),B=0,a=0;af-Yt&&!g?f:td&&(i=d)),(l=this._yoyo&&1&s)&&(h=this._yEase,i=d-i),a=ir(this._tTime,o),i===p&&!r&&this._initted&&s===a)return this._tTime=m,this;s!==a&&(c&&this._yEase&&ti(c,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==o&&this._initted&&(this._lock=r=1,this.render($e(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(cr(this,g?t:i,r,e,m))return this._tTime=0,this;if(!(p===this._time||r&&this.vars.repeatRefresh&&s!==a))return this;if(d!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(h||this._ease)(i/d),this._from&&(this.ratio=u=1-u),i&&!p&&!e&&!s&&(Lr(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(u,n.d),n=n._next;c&&c.render(t<0?t:c._dur*c._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(g&&tr(this,t,0,r),Lr(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&Lr(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(g&&!this._onUpdate&&tr(this,t,0,!0),(t||!d)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Qe(this,1),e||g&&!p||!(m||p||l)||(Lr(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,i){var n,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&hr(t)&&(t._initted||!pr(t))||(t._ts<0||t._dp._ts<0)&&!pr(t))?0:1,u=t._rDelay,c=0;if(u&&t._repeat&&(c=yr(0,t._tDur,e),s=ir(c,u),t._yoyo&&1&s&&(l=1-l),s!==ir(t._tTime,u)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||Ot||i||t._zTime===Yt||!e&&t._zTime){if(!t._initted&&cr(t,e,i,r,c))return;for(o=t._zTime,t._zTime=e||(r?Yt:0),r||(r=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,n=t._pt;n;)n.r(l,n.d),n=n._next;e<0&&tr(t,e,0,!0),t._onUpdate&&!r&&Lr(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&Lr(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Qe(t,1),r||Ot||(Lr(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,i,n){Ut||jr.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||di(this,s),function(t,e,r,i,n,s,o,a){var l,u,c,h,p=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!p)for(p=t._ptCache[e]=[],c=t._ptLookup,h=t._targets.length;h--;){if((l=c[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 ci=1,t.vars[e]="+=0",di(t,o),ci=0,a?ye(e+" not eligible for reset"):1;p.push(l)}for(h=p.length;h--;)(l=(u=p[h])._pt||u).s=!i&&0!==i||n?l.s+(i||0)+s*l.c:i,l.c=r-l.s,u.e&&(u.e=Ne(r)+br(u.e)),u.b&&(u.b=l.s+br(u.b))}(this,t,e,r,i,this._ease(s/this._dur),s,n)?this.resetTo(t,e,r,i,1):(or(this,0),this.parent||Ke(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?Rr(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,ui&&!0!==ui.vars.overwrite)._first||Rr(this),this.parent&&r!==this.timeline.totalDuration()&&fr(this,this._dur*this.timeline._tDur/r,0,1),this}var i,n,s,o,a,l,u,c=this._targets,h=t?xr(t):c,p=this._ptLookup,f=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(c,h))return"all"===e&&(this._pt=0),Rr(this);for(i=this._op=this._op||[],"all"!==e&&(Qt(e)&&(a={},Ie(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,i,n,s,o=t[0]?Le(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(i in r=Xe({},e),a)if(i in r)for(n=(s=a[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(c,e)),u=c.length;u--;)if(~h.indexOf(c[u]))for(a in n=p[u],"all"===e?(i[u]=e,o=n,s={}):(s=i[u]=i[u]||{},o=e),o)(l=n&&n[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Ze(this,l,"_pt"),delete n[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&f&&Rr(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return vr(1,arguments)},e.delayedCall=function(t,r,i,n){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},e.fromTo=function(t,e,r){return vr(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 Lt.killTweensOf(t,e,r)},e}(ai);Ye(yi.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ie("staggerTo,staggerFrom,staggerFromTo",(function(t){yi[t]=function(){var e=new li,r=Er.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var bi=function(t,e,r){return t[e]=r},Ei=function(t,e,r){return t[e](r)},Ti=function(t,e,r,i){return t[e](i.fp,r)},xi=function(t,e,r){return t.setAttribute(e,r)},wi=function(t,e){return Jt(t[e])?Ei:ee(t[e])&&t.setAttribute?xi:bi},Ai=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},Pi=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ci=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},Si=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},Bi=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},Hi=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ze(this,i,"_pt"):i.dep||(e=1),i=r;return!e},Mi=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Oi=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},ki=function(){function t(t,e,r,i,n,s,o,a,l){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||Ai,this.d=o||this,this.set=a||bi,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=Mi,this.m=t,this.mt=r,this.tween=e},t}();Ie(Oe+"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 Ae[t]=1})),ge.TweenMax=ge.TweenLite=yi,ge.TimelineLite=ge.TimelineMax=li,Lt=new li({sortChildren:!1,defaults:zt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Vt.stringFilter=Xr;var Li=[],Ri={},Ii=[],Ni=0,$i=0,Di=function(t){return(Ri[t]||Ii).map((function(t){return t()}))},Fi=function(){var t=Date.now(),e=[];t-Ni>2&&(Di("matchMediaInit"),Li.forEach((function(t){var r,i,n,s,o=t.queries,a=t.conditions;for(i in o)(r=Rt.matchMedia(o[i]).matches)&&(n=1),r!==a[i]&&(a[i]=r,s=1);s&&(t.revert(),n&&e.push(t))})),Di("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),Ni=t,Di("matchMedia"))},Ui=function(){function t(t,e){this.selector=e&&wr(e),this.data=[],this._r=[],this.isReverted=!1,this.id=$i++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){Jt(t)&&(r=e,e=t,t=Jt);var i=this,n=function(){var t,n=kt,s=i.selector;return n&&n!==i&&n.data.push(i),r&&(i.selector=wr(r)),kt=i,t=e.apply(i,arguments),Jt(t)&&i._r.push(t),kt=n,i.selector=s,i.isReverted=!1,t};return i.last=n,t===Jt?n(i,(function(t){return i.add(null,t)})):t?i[t]=n:n},e.ignore=function(t){var e=kt;kt=null,t(this),kt=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof yi&&!(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,i=r.getTweens(),n=r.data.length;n--;)"isFlip"===(e=r.data[n]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return i.splice(i.indexOf(t),1)})));for(i.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)})),n=r.data.length;n--;)(e=r.data[n])instanceof li?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof yi)&&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 i=Li.length;i--;)Li[i].id===this.id&&Li.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Vi=function(){function t(t){this.contexts=[],this.scope=t,kt&&kt.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){re(t)||(t={matches:t});var i,n,s,o=new Ui(0,r||this.scope),a=o.conditions={};for(n in kt&&!o.selector&&(o.selector=kt.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===n?s=1:(i=Rt.matchMedia(t[n]))&&(Li.indexOf(o)<0&&Li.push(o),(a[n]=i.matches)&&(s=1),i.addListener?i.addListener(Fi):i.addEventListener("change",Fi));return s&&e(o,(function(t){return o.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}(),zi={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var i=t.map((function(t){return Xi.quickSetter(t,e,r)})),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=Se[e],o=Le(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var i=new s;Ft._pt=0,i.init(t,r?e+r:e,Ft,0,[t]),i.render(1,i),Ft._pt&&Si(1,Ft)}:o.set(t,a);return s?l:function(e){return l(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var i,n=Xi.to(t,Xe(((i={})[e]="+=0.1",i.paused=!0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return Lt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=ei(t.ease,zt.ease)),je(zt,t||{})},config:function(t){return je(Vt,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!Se[t]&&!ge[t]&&ye(e+" effect requires "+t+" plugin.")})),Be[e]=function(t,e,i){return r(xr(t),Ye(e||{},n),i)},s&&(li.prototype[e]=function(t,r,i){return this.add(Be[e](t,re(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){Wr[t]=ei(e)},parseEase:function(t,e){return arguments.length?ei(t,e):Wr},getById:function(t){return Lt.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new li(t);for(n.smoothChildTiming=ie(t.smoothChildTiming),Lt.remove(n),n._dp=0,n._time=n._tTime=Lt._time,r=Lt._first;r;)i=r._next,!e&&!r._dur&&r instanceof yi&&r.vars.onComplete===r._targets[0]||lr(n,r,r._start-r._delay),r=i;return lr(Lt,n,0),n},context:function(t,e){return t?new Ui(t,e):kt},matchMedia:function(t){return new Vi(t)},matchMediaRefresh:function(){return Li.forEach((function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()}))||Fi()},addEventListener:function(t,e){var r=Ri[t]||(Ri[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Ri[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:function t(e,r,i){var n=r-e;return ae(e)?Hr(e,t(0,e.length),r):_r(i,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,r,i){var n=r-e,s=2*n;return ae(e)?Hr(e,t(0,e.length-1),r):_r(i,(function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)}))},distribute:Pr,random:Br,snap:Sr,normalize:function(t,e,r){return Or(t,e,0,1,r)},getUnit:br,clamp:function(t,e,r){return _r(r,(function(r){return yr(t,e,r)}))},splitColor:Ur,toArray:xr,selector:wr,mapRange:Or,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(xn,r,"")),e=Tn}(s||r)&&this.props.push(e,r,s[e])},An=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Pn=function(){var t,e,r=this.props,i=this.target,n=i.style,s=i._gsap;for(t=0;t=0?Hn[n]:"")+t},On=function(){"undefined"!=typeof window&&window.document&&(ji=window,qi=ji.document,Wi=qi.documentElement,Zi=Sn("div")||{style:{}},Sn("div"),Tn=Mn(Tn),xn=Tn+"Origin",Zi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",tn=!!Mn("perspective"),Ji=Xi.core.reverting,Ki=1)},kn=function t(e){var r,i=Sn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Wi.appendChild(i),i.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 n&&(s?n.insertBefore(this,s):n.appendChild(this)),Wi.removeChild(i),this.style.cssText=o,r},Ln=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Rn=function(t){var e;try{e=t.getBBox()}catch(r){e=kn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===kn||(e=kn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Ln(t,["x","cx","x1"])||0,y:+Ln(t,["y","cy","y1"])||0,width:0,height:0}},In=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Rn(t))},Nn=function(t,e){if(e){var r,i=t.style;e in en&&e!==xn&&(e=Tn),i.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===r?e:e.replace(on,"-$1").toLowerCase())):i.removeAttribute(e)}},$n=function(t,e,r,i,n,s){var o=new ki(t._pt,e,r,0,1,s?gn:dn);return t._pt=o,o.b=i,o.e=n,t._props.push(r),o},Dn={deg:1,rad:1,turn:1},Fn={grid:1,flex:1},Un=function t(e,r,i,n){var s,o,a,l,u=parseFloat(i)||0,c=(i+"").trim().substr((u+"").length)||"px",h=Zi.style,p=an.test(r),f="svg"===e.tagName.toLowerCase(),d=(f?"client":"offset")+(p?"Width":"Height"),g=100,m="px"===n,v="%"===n;if(n===c||!u||Dn[n]||Dn[c])return u;if("px"!==c&&!m&&(u=t(e,r,i,"px")),l=e.getCTM&&In(e),(v||"%"===c)&&(en[r]||~r.indexOf("adius")))return s=l?e.getBBox()[p?"width":"height"]:e[d],Ne(v?u/s*g:u/100*s);if(h[p?"width":"height"]=g+(m?c:n),o=~r.indexOf("adius")||"em"===n&&e.appendChild&&!f?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==qi&&o.appendChild||(o=qi.body),(a=o._gsap)&&v&&a.width&&p&&a.time===jr.time&&!a.uncache)return Ne(u/a.width*g);if(!v||"height"!==r&&"width"!==r)(v||"%"===c)&&!Fn[Bn(o,"display")]&&(h.position=Bn(e,"position")),o===e&&(h.position="static"),o.appendChild(Zi),s=Zi[d],o.removeChild(Zi),h.position="absolute";else{var _=e.style[r];e.style[r]=g+n,s=e[d],_?e.style[r]=_:Nn(e,r)}return p&&v&&((a=Le(o)).time=jr.time,a.width=o[d]),Ne(m?s*u/g:s&&u?g/s*u:0)},Vn=function(t,e,r,i){var n;return Ki||On(),e in un&&"transform"!==e&&~(e=un[e]).indexOf(",")&&(e=e.split(",")[0]),en[e]&&"transform"!==e?(n=ts(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:es(Bn(t,xn))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=jn[e]&&jn[e](t,e,r)||Bn(t,e)||Re(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?Un(t,e,n,r)+r:n},zn=function(t,e,r,i){if(!r||"none"===r){var n=Mn(e,t,1),s=n&&Bn(t,n,1);s&&s!==r?(e=n,r=s):"borderColor"===e&&(r=Bn(t,"borderTopColor"))}var o,a,l,u,c,h,p,f,d,g,m,v=new ki(this._pt,t.style,e,0,1,Ci),_=0,y=0;if(v.b=r,v.e=i,r+="","auto"==(i+="")&&(h=t.style[e],t.style[e]=i,i=Bn(t,e)||i,h?t.style[e]=h:Nn(t,e)),Xr(o=[r,i]),i=o[1],l=(r=o[0]).match(ce)||[],(i.match(ce)||[]).length){for(;a=ce.exec(i);)p=a[0],d=i.substring(_,a.index),c?c=(c+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(c=1),p!==(h=l[y++]||"")&&(u=parseFloat(h)||0,m=h.substr((u+"").length),"="===p.charAt(1)&&(p=De(u,p)+m),f=parseFloat(p),g=p.substr((f+"").length),_=ce.lastIndex-g.length,g||(g=g||Vt.units[e]||m,_===i.length&&(i+=g,v.e+=g)),m!==g&&(u=Un(t,e,h,g)||0),v._pt={_next:v._pt,p:d||1===y?d:",",s:u,c:f-u,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=_-1;)r=a[n],en[r]&&(i=1,r="transformOrigin"===r?xn:Tn),Nn(s,r);i&&(Nn(s,Tn),l&&(l.svg&&s.removeAttribute("transform"),ts(s,1),l.uncache=1,An(o)))}},jn={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var s=t._pt=new ki(t._pt,e,r,0,0,Xn);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},qn=[1,0,0,1,0,0],Wn={},Kn=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Zn=function(t){var e=Bn(t,Tn);return Kn(e)?qn:e.substr(7).match(ue).map(Ne)},Qn=function(t,e){var r,i,n,s,o=t._gsap||Le(t),a=t.style,l=Zn(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?qn:l:(l!==qn||t.offsetParent||t===Wi||o.svg||(n=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(s=1,i=t.nextElementSibling,Wi.appendChild(t)),l=Zn(t),n?a.display=n:Nn(t,"display"),s&&(i?r.insertBefore(t,i):r?r.appendChild(t):Wi.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Jn=function(t,e,r,i,n,s){var o,a,l,u=t._gsap,c=n||Qn(t,!0),h=u.xOrigin||0,p=u.yOrigin||0,f=u.xOffset||0,d=u.yOffset||0,g=c[0],m=c[1],v=c[2],_=c[3],y=c[4],b=c[5],E=e.split(" "),T=parseFloat(E[0])||0,x=parseFloat(E[1])||0;r?c!==qn&&(a=g*_-m*v)&&(l=T*(-m/a)+x*(g/a)-(g*b-m*y)/a,T=T*(_/a)+x*(-v/a)+(v*b-_*y)/a,x=l):(T=(o=Rn(t)).x+(~E[0].indexOf("%")?T/100*o.width:T),x=o.y+(~(E[1]||E[0]).indexOf("%")?x/100*o.height:x)),i||!1!==i&&u.smooth?(y=T-h,b=x-p,u.xOffset=f+(y*g+b*v)-y,u.yOffset=d+(y*m+b*_)-b):u.xOffset=u.yOffset=0,u.xOrigin=T,u.yOrigin=x,u.smooth=!!i,u.origin=e,u.originIsAbsolute=!!r,t.style[xn]="0px 0px",s&&($n(s,u,"xOrigin",h,T),$n(s,u,"yOrigin",p,x),$n(s,u,"xOffset",f,u.xOffset),$n(s,u,"yOffset",d,u.yOffset)),t.setAttribute("data-svg-origin",T+" "+x)},ts=function(t,e){var r=t._gsap||new oi(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,s,o,a,l,u,c,h,p,f,d,g,m,v,_,y,b,E,T,x,w,A,P,C,S,B,H,M,O,k,L,R=t.style,I=r.scaleX<0,N="px",$="deg",D=getComputedStyle(t),F=Bn(t,xn)||"0";return i=n=s=l=u=c=h=p=f=0,o=a=1,r.svg=!(!t.getCTM||!In(t)),D.translate&&("none"===D.translate&&"none"===D.scale&&"none"===D.rotate||(R[Tn]=("none"!==D.translate?"translate3d("+(D.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==D.rotate?"rotate("+D.rotate+") ":"")+("none"!==D.scale?"scale("+D.scale.split(" ").join(",")+") ":"")+("none"!==D[Tn]?D[Tn]:"")),R.scale=R.rotate=R.translate="none"),m=Qn(t,r.svg),r.svg&&(r.uncache?(C=t.getBBox(),F=r.xOrigin-C.x+"px "+(r.yOrigin-C.y)+"px",P=""):P=!e&&t.getAttribute("data-svg-origin"),Jn(t,P||F,!!P||r.originIsAbsolute,!1!==r.smooth,m)),d=r.xOrigin||0,g=r.yOrigin||0,m!==qn&&(b=m[0],E=m[1],T=m[2],x=m[3],i=w=m[4],n=A=m[5],6===m.length?(o=Math.sqrt(b*b+E*E),a=Math.sqrt(x*x+T*T),l=b||E?sn(E,b)*rn:0,(h=T||x?sn(T,x)*rn+l:0)&&(a*=Math.abs(Math.cos(h*nn))),r.svg&&(i-=d-(d*b+g*T),n-=g-(d*E+g*x))):(L=m[6],O=m[7],B=m[8],H=m[9],M=m[10],k=m[11],i=m[12],n=m[13],s=m[14],u=(v=sn(L,M))*rn,v&&(P=w*(_=Math.cos(-v))+B*(y=Math.sin(-v)),C=A*_+H*y,S=L*_+M*y,B=w*-y+B*_,H=A*-y+H*_,M=L*-y+M*_,k=O*-y+k*_,w=P,A=C,L=S),c=(v=sn(-T,M))*rn,v&&(_=Math.cos(-v),k=x*(y=Math.sin(-v))+k*_,b=P=b*_-B*y,E=C=E*_-H*y,T=S=T*_-M*y),l=(v=sn(E,b))*rn,v&&(P=b*(_=Math.cos(v))+E*(y=Math.sin(v)),C=w*_+A*y,E=E*_-b*y,A=A*_-w*y,b=P,w=C),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),o=Ne(Math.sqrt(b*b+E*E+T*T)),a=Ne(Math.sqrt(A*A+L*L)),v=sn(w,A),h=Math.abs(v)>2e-4?v*rn:0,f=k?1/(k<0?-k:k):0),r.svg&&(P=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Kn(Bn(t,Tn)),P&&t.setAttribute("transform",P))),Math.abs(h)>90&&Math.abs(h)<270&&(I?(o*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+N,r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+N,r.z=s+N,r.scaleX=Ne(o),r.scaleY=Ne(a),r.rotation=Ne(l)+$,r.rotationX=Ne(u)+$,r.rotationY=Ne(c)+$,r.skewX=h+$,r.skewY=p+$,r.transformPerspective=f+N,(r.zOrigin=parseFloat(F.split(" ")[2])||!e&&r.zOrigin||0)&&(R[xn]=es(F)),r.xOffset=r.yOffset=0,r.force3D=Vt.force3D,r.renderTransform=r.svg?ls:tn?as:is,r.uncache=0,r},es=function(t){return(t=t.split(" "))[0]+" "+t[1]},rs=function(t,e,r){var i=br(e);return Ne(parseFloat(e)+parseFloat(Un(t,"x",r+"px",i)))+i},is=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,as(t,e)},ns="0deg",ss="0px",os=") ",as=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,a=r.z,l=r.rotation,u=r.rotationY,c=r.rotationX,h=r.skewX,p=r.skewY,f=r.scaleX,d=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,_=r.zOrigin,y="",b="auto"===m&&t&&1!==t||!0===m;if(_&&(c!==ns||u!==ns)){var E,T=parseFloat(u)*nn,x=Math.sin(T),w=Math.cos(T);T=parseFloat(c)*nn,E=Math.cos(T),s=rs(v,s,x*E*-_),o=rs(v,o,-Math.sin(T)*-_),a=rs(v,a,w*E*-_+_)}g!==ss&&(y+="perspective("+g+os),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),(b||s!==ss||o!==ss||a!==ss)&&(y+=a!==ss||b?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+os),l!==ns&&(y+="rotate("+l+os),u!==ns&&(y+="rotateY("+u+os),c!==ns&&(y+="rotateX("+c+os),h===ns&&p===ns||(y+="skew("+h+", "+p+os),1===f&&1===d||(y+="scale("+f+", "+d+os),v.style[Tn]=y||"translate(0, 0)"},ls=function(t,e){var r,i,n,s,o,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,h=a.y,p=a.rotation,f=a.skewX,d=a.skewY,g=a.scaleX,m=a.scaleY,v=a.target,_=a.xOrigin,y=a.yOrigin,b=a.xOffset,E=a.yOffset,T=a.forceCSS,x=parseFloat(c),w=parseFloat(h);p=parseFloat(p),f=parseFloat(f),(d=parseFloat(d))&&(f+=d=parseFloat(d),p+=d),p||f?(p*=nn,f*=nn,r=Math.cos(p)*g,i=Math.sin(p)*g,n=Math.sin(p-f)*-m,s=Math.cos(p-f)*m,f&&(d*=nn,o=Math.tan(f-d),n*=o=Math.sqrt(1+o*o),s*=o,d&&(o=Math.tan(d),r*=o=Math.sqrt(1+o*o),i*=o)),r=Ne(r),i=Ne(i),n=Ne(n),s=Ne(s)):(r=g,s=m,i=n=0),(x&&!~(c+"").indexOf("px")||w&&!~(h+"").indexOf("px"))&&(x=Un(v,"x",c,"px"),w=Un(v,"y",h,"px")),(_||y||b||E)&&(x=Ne(x+_-(_*r+y*n)+b),w=Ne(w+y-(_*i+y*s)+E)),(l||u)&&(o=v.getBBox(),x=Ne(x+l/100*o.width),w=Ne(w+u/100*o.height)),o="matrix("+r+","+i+","+n+","+s+","+x+","+w+")",v.setAttribute("transform",o),T&&(v.style[Tn]=o)},us=function(t,e,r,i,n){var s,o,a=360,l=Qt(n),u=parseFloat(n)*(l&&~n.indexOf("rad")?rn:1)-i,c=i+u+"deg";return l&&("short"===(s=n.split("_")[1])&&(u%=a)!=u%180&&(u+=u<0?a:-360),"cw"===s&&u<0?u=(u+36e9)%a-~~(u/a)*a:"ccw"===s&&u>0&&(u=(u-36e9)%a-~~(u/a)*a)),t._pt=o=new ki(t._pt,e,r,i,u,hn),o.e=c,o.u="deg",t._props.push(r),o},cs=function(t,e){for(var r in e)t[r]=e[r];return t},hs=function(t,e,r){var i,n,s,o,a,l,u,c=cs({},r._gsap),h=r.style;for(n in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),h[Tn]=e,i=ts(r,1),Nn(r,Tn),r.setAttribute("transform",s)):(s=getComputedStyle(r)[Tn],h[Tn]=e,i=ts(r,1),h[Tn]=s),en)(s=c[n])!==(o=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(a=br(s)!==(u=br(o))?Un(r,n,s,u):parseFloat(s),l=parseFloat(o),t._pt=new ki(t._pt,i,n,a,l-a,cn),t._pt.u=u||0,t._props.push(n));cs(i,c)};Ie("padding,margin,Width,Radius",(function(t,e){var r="Top",i="Right",n="Bottom",s="Left",o=(e<3?[r,i,n,s]:[r+s,r+i,n+i,n+s]).map((function(r){return e<2?t+r:"border"+r+t}));jn[e>1?"border"+t:t]=function(t,e,r,i,n){var s,a;if(arguments.length<4)return s=o.map((function(e){return Vn(t,e,r)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,n)}}));var ps,fs,ds={name:"css",register:On,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s,o,a,l,u,c,h,p,f,d,g,m,v,_,y,b,E=this._props,T=t.style,x=r.vars.startAt;for(h in Ki||On(),this.styles=this.styles||Cn(t),b=this.styles.props,this.tween=r,e)if("autoRound"!==h&&(o=e[h],!Se[h]||!fi(h,e,r,i,t,n)))if(u=typeof o,c=jn[h],"function"===u&&(u=typeof(o=o.call(r,i,t,n))),"string"===u&&~o.indexOf("random(")&&(o=Mr(o)),c)c(this,t,h,o,r)&&(y=1);else if("--"===h.substr(0,2))s=(getComputedStyle(t).getPropertyValue(h)+"").trim(),o+="",Gr.lastIndex=0,Gr.test(s)||(p=br(s),f=br(o)),f?p!==f&&(s=Un(t,h,s,f)+f):p&&(o+=p),this.add(T,"setProperty",s,o,i,n,0,0,h),E.push(h),b.push(h,0,T[h]);else if("undefined"!==u){if(x&&h in x?(s="function"==typeof x[h]?x[h].call(r,i,t,n):x[h],Qt(s)&&~s.indexOf("random(")&&(s=Mr(s)),br(s+"")||"auto"===s||(s+=Vt.units[h]||br(Vn(t,h))||""),"="===(s+"").charAt(1)&&(s=Vn(t,h))):s=Vn(t,h),l=parseFloat(s),(d="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),h in un&&("autoAlpha"===h&&(1===l&&"hidden"===Vn(t,"visibility")&&a&&(l=0),b.push("visibility",0,T.visibility),$n(this,T,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==h&&"transform"!==h&&~(h=un[h]).indexOf(",")&&(h=h.split(",")[0])),g=h in en)if(this.styles.save(h),m||((v=t._gsap).renderTransform&&!e.parseTransform||ts(t,e.parseTransform),_=!1!==e.smoothOrigin&&v.smooth,(m=this._pt=new ki(this._pt,T,Tn,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===h)this._pt=new ki(this._pt,v,"scaleY",v.scaleY,(d?De(v.scaleY,d+a):a)-v.scaleY||0,cn),this._pt.u=0,E.push("scaleY",h),h+="X";else{if("transformOrigin"===h){b.push(xn,0,T[xn]),o=Yn(o),v.svg?Jn(t,o,0,_,0,this):((f=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&$n(this,v,"zOrigin",v.zOrigin,f),$n(this,T,h,es(s),es(o)));continue}if("svgOrigin"===h){Jn(t,o,1,_,0,this);continue}if(h in Wn){us(this,v,h,l,d?De(l,d+o):o);continue}if("smoothOrigin"===h){$n(this,v,"smooth",v.smooth,o);continue}if("force3D"===h){v[h]=o;continue}if("transform"===h){hs(this,o,t);continue}}else h in T||(h=Mn(h)||h);if(g||(a||0===a)&&(l||0===l)&&!ln.test(o)&&h in T)a||(a=0),(p=(s+"").substr((l+"").length))!==(f=br(o)||(h in Vt.units?Vt.units[h]:p))&&(l=Un(t,h,s,f)),this._pt=new ki(this._pt,g?v:T,h,l,(d?De(l,d+a):a)-l,g||"px"!==f&&"zIndex"!==h||!1===e.autoRound?cn:fn),this._pt.u=f||0,p!==f&&"%"!==f&&(this._pt.b=s,this._pt.r=pn);else if(h in T)zn.call(this,t,h,s,d?d+o:o);else if(h in t)this.add(t,h,s||t[h],d?d+o:o,i,n);else if("parseTransform"!==h){_e(h,o);continue}g||(h in T?b.push(h,0,T[h]):b.push(h,1,s||t[h])),E.push(h)}y&&Oi(this)},render:function(t,e){if(e.tween._time||!Ji())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Vn,aliases:un,getSetter:function(t,e,r){var i=un[e];return i&&i.indexOf(",")<0&&(e=i),e in en&&e!==xn&&(t._gsap.x||Vn(t,"x"))?r&&Qi===r?"scale"===e?yn:_n:(Qi=r||{})&&("scale"===e?bn:En):t.style&&!ee(t.style[e])?mn:~e.indexOf("-")?vn:wi(t,e)},core:{_removeProperty:Nn,_getMatrix:Qn}};Xi.utils.checkPrefix=Mn,Xi.core.getStyleSaver=Cn,fs=Ie("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(ps="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){en[t]=1})),Ie(ps,(function(t){Vt.units[t]="deg",Wn[t]=1})),un[fs[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+ps,Ie("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");un[e[1]]=fs[e[0]]})),Ie("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){Vt.units[t]="px"})),Xi.registerPlugin(ds);var gs=Xi.registerPlugin(ds)||Xi;function ms(t,e){for(var r=0;ra?(n=i,i=t,o=s,s=l):r?i+=t:i=n+(t-n)/(l-o)*(s-o)};return{update:u,reset:function(){n=i=r?0:i,o=s=0},getVelocity:function(t){var e=o,a=n,c=Rs();return(t||0===t)&&t!==i&&u(t),s===o||c-o>l?0:(i+(r?a:-a))/((r?c:s)-e)*1e3}}},Ks=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Zs=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Qs=function(){var t,e,r,i;(As=vs.core.globals().ScrollTrigger)&&As.core&&(t=As.core,e=t.bridge||{},r=t._scrollers,i=t._proxies,r.push.apply(r,ks),i.push.apply(i,Ls),ks=r,Ls=i,Is=function(t,r){return e[t](r)})},Js=function(t){return vs=t||Hs(),!_s&&vs&&"undefined"!=typeof document&&document.body&&(ys=window,bs=document,Es=bs.documentElement,Ts=bs.body,Ps=[ys,bs,Es,Ts],vs.utils.clamp,Bs=vs.core.context||function(){},ws="onpointerenter"in Ts?"pointer":"mouse",xs=to.isTouch=ys.matchMedia&&ys.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in ys||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ss=to.eventTypes=("ontouchstart"in Es?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Es?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return Ms=0}),500),Qs(),_s=1),_s};Ys.op=Xs,ks.cache=0;var to=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){_s||Js(vs)||console.warn("Please gsap.registerPlugin(Observer)"),As||Qs();var e=t.tolerance,r=t.dragMinimum,i=t.type,n=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,l=t.onStop,u=t.onStopDelay,c=t.ignore,h=t.wheelSpeed,p=t.event,f=t.onDragStart,d=t.onDragEnd,g=t.onDrag,m=t.onPress,v=t.onRelease,_=t.onRight,y=t.onLeft,b=t.onUp,E=t.onDown,T=t.onChangeX,x=t.onChangeY,w=t.onChange,A=t.onToggleX,P=t.onToggleY,C=t.onHover,S=t.onHoverEnd,B=t.onMove,H=t.ignoreCheck,M=t.isNormalizer,O=t.onGestureStart,k=t.onGestureEnd,L=t.onWheel,R=t.onEnable,I=t.onDisable,N=t.onClick,$=t.scrollSpeed,D=t.capture,F=t.allowClicks,U=t.lockAxis,V=t.onLockAxis;this.target=n=js(n)||Es,this.vars=t,c&&(c=vs.utils.toArray(c)),e=e||1e-9,r=r||0,h=h||1,$=$||1,i=i||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(ys.getComputedStyle(Ts).lineHeight)||22);var z,G,Y,X,j,q,W,K=this,Z=0,Q=0,J=t.passive||!a,tt=qs(n,Ys),et=qs(n,Xs),rt=tt(),it=et(),nt=~i.indexOf("touch")&&!~i.indexOf("pointer")&&"pointerdown"===Ss[0],st=$s(n),ot=n.ownerDocument||bs,at=[0,0,0],lt=[0,0,0],ut=0,ct=function(){return ut=Rs()},ht=function(t,e){return(K.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||H&&H(t,e)},pt=function(){var t=K.deltaX=Zs(at),r=K.deltaY=Zs(lt),i=Math.abs(t)>=e,n=Math.abs(r)>=e;w&&(i||n)&&w(K,t,r,at,lt),i&&(_&&K.deltaX>0&&_(K),y&&K.deltaX<0&&y(K),T&&T(K),A&&K.deltaX<0!=Z<0&&A(K),Z=K.deltaX,at[0]=at[1]=at[2]=0),n&&(E&&K.deltaY>0&&E(K),b&&K.deltaY<0&&b(K),x&&x(K),P&&K.deltaY<0!=Q<0&&P(K),Q=K.deltaY,lt[0]=lt[1]=lt[2]=0),(X||Y)&&(B&&B(K),Y&&(g(K),Y=!1),X=!1),q&&!(q=!1)&&V&&V(K),j&&(L(K),j=!1),z=0},ft=function(t,e,r){at[r]+=t,lt[r]+=e,K._vx.update(t),K._vy.update(e),o?z||(z=requestAnimationFrame(pt)):pt()},dt=function(t,e){U&&!W&&(K.axis=W=Math.abs(t)>Math.abs(e)?"x":"y",q=!0),"y"!==W&&(at[2]+=t,K._vx.update(t,!0)),"x"!==W&&(lt[2]+=e,K._vy.update(e,!0)),o?z||(z=requestAnimationFrame(pt)):pt()},gt=function(t){if(!ht(t,1)){var e=(t=Ks(t,a)).clientX,i=t.clientY,n=e-K.x,s=i-K.y,o=K.isDragging;K.x=e,K.y=i,(o||Math.abs(K.startX-e)>=r||Math.abs(K.startY-i)>=r)&&(g&&(Y=!0),o||(K.isDragging=!0),dt(n,s),o||f&&f(K))}},mt=K.onPress=function(t){ht(t,1)||t&&t.button||(K.axis=W=null,G.pause(),K.isPressed=!0,t=Ks(t),Z=Q=0,K.startX=K.x=t.clientX,K.startY=K.y=t.clientY,K._vx.reset(),K._vy.reset(),Ds(M?n:ot,Ss[1],gt,J,!0),K.deltaX=K.deltaY=0,m&&m(K))},vt=K.onRelease=function(t){if(!ht(t,1)){Fs(M?n:ot,Ss[1],gt,!0);var e=!isNaN(K.y-K.startY),r=K.isDragging,i=r&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),s=Ks(t);!i&&e&&(K._vx.reset(),K._vy.reset(),a&&F&&vs.delayedCall(.08,(function(){if(Rs()-ut>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,ys,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&&G.restart(!0),d&&r&&d(K),v&&v(K,i)}},_t=function(t){return t.touches&&t.touches.length>1&&(K.isGesturing=!0)&&O(t,K.isDragging)},yt=function(){return(K.isGesturing=!1)||k(K)},bt=function(t){if(!ht(t)){var e=tt(),r=et();ft((e-rt)*$,(r-it)*$,1),rt=e,it=r,l&&G.restart(!0)}},Et=function(t){if(!ht(t)){t=Ks(t,a),L&&(j=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?ys.innerHeight:1)*h;ft(t.deltaX*e,t.deltaY*e,0),l&&!M&&G.restart(!0)}},Tt=function(t){if(!ht(t)){var e=t.clientX,r=t.clientY,i=e-K.x,n=r-K.y;K.x=e,K.y=r,X=!0,l&&G.restart(!0),(i||n)&&dt(i,n)}},xt=function(t){K.event=t,C(K)},wt=function(t){K.event=t,S(K)},At=function(t){return ht(t)||Ks(t,a)&&N(K)};G=K._dc=vs.delayedCall(u||.25,(function(){K._vx.reset(),K._vy.reset(),G.pause(),l&&l(K)})).pause(),K.deltaX=K.deltaY=0,K._vx=Ws(0,50,!0),K._vy=Ws(0,50,!0),K.scrollX=tt,K.scrollY=et,K.isDragging=K.isGesturing=K.isPressed=!1,Bs(this),K.enable=function(t){return K.isEnabled||(Ds(st?ot:n,"scroll",zs),i.indexOf("scroll")>=0&&Ds(st?ot:n,"scroll",bt,J,D),i.indexOf("wheel")>=0&&Ds(n,"wheel",Et,J,D),(i.indexOf("touch")>=0&&xs||i.indexOf("pointer")>=0)&&(Ds(n,Ss[0],mt,J,D),Ds(ot,Ss[2],vt),Ds(ot,Ss[3],vt),F&&Ds(n,"click",ct,!0,!0),N&&Ds(n,"click",At),O&&Ds(ot,"gesturestart",_t),k&&Ds(ot,"gestureend",yt),C&&Ds(n,ws+"enter",xt),S&&Ds(n,ws+"leave",wt),B&&Ds(n,ws+"move",Tt)),K.isEnabled=!0,t&&t.type&&mt(t),R&&R(K)),K},K.disable=function(){K.isEnabled&&(Os.filter((function(t){return t!==K&&$s(t.target)})).length||Fs(st?ot:n,"scroll",zs),K.isPressed&&(K._vx.reset(),K._vy.reset(),Fs(M?n:ot,Ss[1],gt,!0)),Fs(st?ot:n,"scroll",bt,D),Fs(n,"wheel",Et,D),Fs(n,Ss[0],mt,D),Fs(ot,Ss[2],vt),Fs(ot,Ss[3],vt),Fs(n,"click",ct,!0),Fs(n,"click",At),Fs(ot,"gesturestart",_t),Fs(ot,"gestureend",yt),Fs(n,ws+"enter",xt),Fs(n,ws+"leave",wt),Fs(n,ws+"move",Tt),K.isEnabled=K.isPressed=K.isDragging=!1,I&&I(K))},K.kill=K.revert=function(){K.disable();var t=Os.indexOf(K);t>=0&&Os.splice(t,1),Cs===K&&(Cs=0)},Os.push(K),M&&$s(n)&&(Cs=K),K.enable(p)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&ms(e.prototype,r),t}();to.version="3.12.5",to.create=function(t){return new to(t)},to.register=Js,to.getAll=function(){return Os.slice()},to.getById=function(t){return Os.filter((function(e){return e.vars.id===t}))[0]},Hs()&&vs.registerPlugin(to);var eo,ro,io,no,so,oo,ao,lo,uo,co,ho,po,fo,go,mo,vo,_o,yo,bo,Eo,To,xo,wo,Ao,Po,Co,So,Bo,Ho,Mo,Oo,ko,Lo,Ro,Io,No,$o,Do,Fo=1,Uo=Date.now,Vo=Uo(),zo=0,Go=0,Yo=function(t,e,r){var i=sa(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=i,i?t.substr(6,t.length-7):t},Xo=function(t,e){return!e||sa(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},jo=function t(){return Go&&requestAnimationFrame(t)},qo=function(){return go=1},Wo=function(){return go=0},Ko=function(t){return t},Zo=function(t){return Math.round(1e5*t)/1e5||0},Qo=function(){return"undefined"!=typeof window},Jo=function(){return eo||Qo()&&(eo=window.gsap)&&eo.registerPlugin&&eo},ta=function(t){return!!~ao.indexOf(t)},ea=function(t){return("Height"===t?Oo:io["inner"+t])||so["client"+t]||oo["client"+t]},ra=function(t){return Ns(t,"getBoundingClientRect")||(ta(t)?function(){return gl.width=io.innerWidth,gl.height=Oo,gl}:function(){return Sa(t)})},ia=function(t,e){var r=e.s,i=e.d2,n=e.d,s=e.a;return Math.max(0,(r="scroll"+i)&&(s=Ns(t,r))?s()-ra(t)()[n]:ta(t)?(so[r]||oo[r])-ea(i):t[r]-t["offset"+i])},na=function(t,e){for(var r=0;r0){for(t-=n,s=0;s=t)return r[s];return r[s-1]}for(s=r.length,t+=n;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,i,n){void 0===n&&(n=.001);var s=e(r);return!i||Math.abs(s-r)r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in $a?$a[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Fa=function(t,e,r,i,n,s,o,a){var l=n.startColor,u=n.endColor,c=n.fontSize,h=n.indent,p=n.fontWeight,f=no.createElement("div"),d=ta(r)||"fixed"===Ns(r,"pinType"),g=-1!==t.indexOf("scroller"),m=d?oo:r,v=-1!==t.indexOf("start"),_=v?l:u,y="border-color:"+_+";font-size:"+c+";color:"+_+";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||a)&&d?"fixed;":"absolute;"),(g||a||!d)&&(y+=(i===Xs?fa:da)+":"+(s+parseFloat(h))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),f._isStart=v,f.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),f.style.cssText=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"+i.op.d2],Ua(f,0,i,v),f},Ua=function(t,e,r,i){var n={display:"block"},s=r[i?"os2":"p2"],o=r[i?"p2":"os2"];t._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+s+xa]=1,n["border"+o+xa]=0,n[r.p]=e+"px",eo.set(t,n)},Va=[],za={},Ga=function(){return Uo()-zo>34&&(Io||(Io=requestAnimationFrame(ll)))},Ya=function(){(!wo||!wo.isPressed||wo.startX>oo.clientWidth)&&(ks.cache++,wo?Io||(Io=requestAnimationFrame(ll)):ll(),zo||Za("scrollStart"),zo=Uo())},Xa=function(){Co=io.innerWidth,Po=io.innerHeight},ja=function(){ks.cache++,!fo&&!xo&&!no.fullscreenElement&&!no.webkitFullscreenElement&&(!Ao||Co!==io.innerWidth||Math.abs(io.innerHeight-Po)>.25*io.innerHeight)&&lo.restart(!0)},qa={},Wa=[],Ka=function t(){return La(Tl,"scrollEnd",t)||sl(!0)},Za=function(t){return qa[t]&&qa[t].map((function(t){return t()}))||Wa},Qa=[],Ja=function(t){for(var e=0;ee,i=t._startClamp&&t.start>=e;(r||i)&&t.setPositions(i?e-1:t.start,r?Math.max(i?e:t.start+1,e):t.end,!0)})),nl(!1),Lo=0,r.forEach((function(t){return t&&t.render&&t.render(-1)})),ks.forEach((function(t){oa(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),el(Ho,1),lo.pause(),rl++,No=2,ll(2),Va.forEach((function(t){return oa(t.vars.onRefresh)&&t.vars.onRefresh(t)})),No=Tl.isRefreshing=!1,Za("refresh")}else ka(Tl,"scrollEnd",Ka)},ol=0,al=1,ll=function(t){if(2===t||!No&&!ko){Tl.isUpdating=!0,Do&&Do.update(0);var e=Va.length,r=Uo(),i=r-Vo>=50,n=e&&Va[0].scroll();if(al=ol>n?-1:1,No||(ol=n),i&&(zo&&!go&&r-zo>200&&(zo=0,Za("scrollEnd")),ho=Vo,Vo=r),al<0){for(vo=e;vo-- >0;)Va[vo]&&Va[vo].update(0,i);al=1}else for(vo=0;vo20),r-=r-b}if(f&&(a[f]=t||-.001,t<0&&(t=0)),s){var x=t+r,w=s._isStart;d="scroll"+i.d2,Ua(s,x,i,w&&x>20||!w&&(c?Math.max(oo[d],so[d]):s.parentNode[d])<=x+1),c&&(l=Sa(o),c&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+Aa))}return p&&m&&(d=Sa(m),p.seek(h),g=Sa(m),p._caScrollDist=d[i.p]-g[i.p],t=t/p._caScrollDist*h),p&&p.seek(v),p?t:Math.round(t)},vl=/(webkit|moz|length|cssText|inset)/i,_l=function(t,e,r,i){if(t.parentNode!==e){var n,s,o=t.style;if(e===oo){for(n in t._stOrig=o.cssText,s=Pa(t))+n||vl.test(n)||!s[n]||"string"!=typeof o[n]||"0"===n||(o[n]=s[n]);o.top=r,o.left=i}else o.cssText=t._stOrig;eo.core.getCache(t).uncache=1,e.appendChild(t)}},yl=function(t,e,r){var i=e,n=i;return function(e){var s=Math.round(t());return s!==i&&s!==n&&Math.abs(s-i)>3&&Math.abs(s-n)>3&&(e=s,r&&r()),n=i,i=e,e}},bl=function(t,e,r){var i={};i[e.p]="+="+r,eo.set(t,i)},El=function(t,e){var r=qs(t,e),i="_scroll"+e.p2,n=function e(n,s,o,a,l){var u=e.tween,c=s.onComplete,h={};o=o||r();var p=yl(r,o,(function(){u.kill(),e.tween=0}));return l=a&&l||0,a=a||n-o,u&&u.kill(),s[i]=n,s.inherit=!1,s.modifiers=h,h[i]=function(){return p(o+a*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){ks.cache++,e.tween&&ll()},s.onComplete=function(){e.tween=0,c&&c.call(u)},u=e.tween=eo.to(t,s)};return t[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},ka(t,"wheel",r.wheelHandler),Tl.isTouch&&ka(t,"touchmove",r.wheelHandler),n},Tl=function(){function t(e,r){ro||t.register(eo)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Bo(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Go){var i,n,s,o,a,l,u,c,h,p,f,d,g,m,v,_,y,b,E,T,x,w,A,P,C,S,B,H,M,O,k,L,R,I,N,$,D,F,U,V,z,G,Y=e=Ca(sa(e)||aa(e)||e.nodeType?{trigger:e}:e,Na),X=Y.onUpdate,j=Y.toggleClass,q=Y.id,W=Y.onToggle,K=Y.onRefresh,Z=Y.scrub,Q=Y.trigger,J=Y.pin,tt=Y.pinSpacing,et=Y.invalidateOnRefresh,rt=Y.anticipatePin,it=Y.onScrubComplete,nt=Y.onSnapComplete,st=Y.once,ot=Y.snap,at=Y.pinReparent,lt=Y.pinSpacer,ut=Y.containerAnimation,ct=Y.fastScrollEnd,ht=Y.preventOverlaps,pt=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Ys:Xs,ft=!Z&&0!==Z,dt=js(e.scroller||io),gt=eo.core.getCache(dt),mt=ta(dt),vt="fixed"===("pinType"in e?e.pinType:Ns(dt,"pinType")||mt&&"fixed"),_t=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=ft&&e.toggleActions.split(" "),bt="markers"in e?e.markers:Na.markers,Et=mt?0:parseFloat(Pa(dt)["border"+pt.p2+xa])||0,Tt=this,xt=e.onRefreshInit&&function(){return e.onRefreshInit(Tt)},wt=function(t,e,r){var i=r.d,n=r.d2,s=r.a;return(s=Ns(t,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(e?ea(n):t["client"+n])||0}}(dt,mt,pt),At=function(t,e){return!e||~Ls.indexOf(t)?ra(t):function(){return gl}}(dt,mt),Pt=0,Ct=0,St=0,Bt=qs(dt,pt);if(Tt._startClamp=Tt._endClamp=!1,Tt._dir=pt,rt*=45,Tt.scroller=dt,Tt.scroll=ut?ut.time.bind(ut):Bt,o=Bt(),Tt.vars=e,r=r||e.animation,"refreshPriority"in e&&(Eo=1,-9999===e.refreshPriority&&(Do=Tt)),gt.tweenScroll=gt.tweenScroll||{top:El(dt,Xs),left:El(dt,Ys)},Tt.tweenTo=i=gt.tweenScroll[pt.p],Tt.scrubDuration=function(t){(R=aa(t)&&t)?L?L.duration(t):L=eo.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:R,paused:!0,onComplete:function(){return it&&it(Tt)}}):(L&&L.progress(1).kill(),L=0)},r&&(r.vars.lazy=!1,r._initted&&!Tt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),Tt.animation=r.pause(),r.scrollTrigger=Tt,Tt.scrubDuration(Z),O=0,q||(q=r.vars.id)),ot&&(la(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in oo.style&&eo.set(mt?[oo,so]:dt,{scrollBehavior:"auto"}),ks.forEach((function(t){return oa(t)&&t.target===(mt?no.scrollingElement||so:dt)&&(t.smooth=!1)})),s=oa(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return eo.utils.snap(Ha(t),e)}}(r):"labelsDirectional"===ot.snapTo?(V=r,function(t,e){return Ma(Ha(V))(t,e.direction)}):!1!==ot.directional?function(t,e){return Ma(ot.snapTo)(t,Uo()-Ct<500?0:e.direction)}:eo.utils.snap(ot.snapTo),I=ot.duration||{min:.1,max:2},I=la(I)?co(I.min,I.max):co(I,I),N=eo.delayedCall(ot.delay||R/2||.1,(function(){var t=Bt(),e=Uo()-Ct<500,n=i.tween;if(!(e||Math.abs(Tt.getVelocity())<10)||n||go||Pt===t)Tt.isActive&&Pt!==t&&N.restart(!0);else{var o,a,c=(t-l)/m,h=r&&!ft?r.totalProgress():c,p=e?0:(h-k)/(Uo()-ho)*1e3||0,f=eo.utils.clamp(-c,1-c,ha(p/2)*p/.185),d=c+(!1===ot.inertia?0:f),g=ot,v=g.onStart,_=g.onInterrupt,y=g.onComplete;if(o=s(d,Tt),aa(o)||(o=d),a=Math.round(l+o*m),t<=u&&t>=l&&a!==t){if(n&&!n._initted&&n.data<=ha(a-t))return;!1===ot.inertia&&(f=o-c),i(a,{duration:I(ha(.185*Math.max(ha(d-h),ha(o-h))/p/.05||0)),ease:ot.ease||"power3",data:ha(a-t),onInterrupt:function(){return N.restart(!0)&&_&&_(Tt)},onComplete:function(){Tt.update(),Pt=Bt(),r&&(L?L.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),O=k=r&&!ft?r.totalProgress():Tt.progress,nt&&nt(Tt),y&&y(Tt)}},t,f*m,a-t-f*m),v&&v(Tt,i.tween)}}})).pause()),q&&(za[q]=Tt),(U=(Q=Tt.trigger=js(Q||!0!==J&&J))&&Q._gsap&&Q._gsap.stRevert)&&(U=U(Tt)),J=!0===J?Q:js(J),sa(j)&&(j={targets:Q,className:j}),J&&(!1===tt||tt===Ta||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===Pa(J.parentNode).display)&&Ea),Tt.pin=J,(n=eo.core.getCache(J)).spacer?v=n.pinState:(lt&&((lt=js(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),n.spacerIsNative=!!lt,lt&&(n.spacerState=dl(lt))),n.spacer=b=lt||no.createElement("div"),b.classList.add("pin-spacer"),q&&b.classList.add("pin-spacer-"+q),n.pinState=v=dl(J)),!1!==e.force3D&&eo.set(J,{force3D:!0}),Tt.spacer=b=n.spacer,M=Pa(J),P=M[tt+pt.os2],T=eo.getProperty(J),x=eo.quickSetter(J,pt.a,Aa),hl(J,b,M),y=dl(J)),bt){d=la(bt)?Ca(bt,Ia):Ia,p=Fa("scroller-start",q,dt,pt,d,0),f=Fa("scroller-end",q,dt,pt,d,0,p),E=p["offset"+pt.op.d2];var Ht=js(Ns(dt,"content")||dt);c=this.markerStart=Fa("start",q,Ht,pt,d,E,0,ut),h=this.markerEnd=Fa("end",q,Ht,pt,d,E,0,ut),ut&&(F=eo.quickSetter([c,h],pt.a,Aa)),vt||Ls.length&&!0===Ns(dt,"fixedMarkers")||(G=Pa(z=mt?oo:dt).position,z.style.position="absolute"===G||"fixed"===G?G:"relative",eo.set([p,f],{force3D:!0}),S=eo.quickSetter(p,pt.a,Aa),H=eo.quickSetter(f,pt.a,Aa))}if(ut){var Mt=ut.vars.onUpdate,Ot=ut.vars.onUpdateParams;ut.eventCallback("onUpdate",(function(){Tt.update(0,0,1),Mt&&Mt.apply(ut,Ot||[])}))}if(Tt.previous=function(){return Va[Va.indexOf(Tt)-1]},Tt.next=function(){return Va[Va.indexOf(Tt)+1]},Tt.revert=function(t,e){if(!e)return Tt.kill(!0);var i=!1!==t||!Tt.enabled,n=fo;i!==Tt.isReverted&&(i&&($=Math.max(Bt(),Tt.scroll.rec||0),St=Tt.progress,D=r&&r.progress()),c&&[c,h,p,f].forEach((function(t){return t.style.display=i?"none":"block"})),i&&(fo=Tt,Tt.update(i)),!J||at&&Tt.isActive||(i?function(t,e,r){fl(r);var i=t._gsap;if(i.spacerIsNative)fl(i.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1}(J,b,v):hl(J,b,Pa(J),C)),i||Tt.update(i),fo=n,Tt.isReverted=i)},Tt.refresh=function(n,s,d,E){if(!fo&&Tt.enabled||s)if(J&&n&&zo)ka(t,"scrollEnd",Ka);else{!No&&xt&&xt(Tt),fo=Tt,i.tween&&!d&&(i.tween.kill(),i.tween=0),L&&L.pause(),et&&r&&r.revert({kill:!1}).invalidate(),Tt.isReverted||Tt.revert(!0,!0),Tt._subPinOffset=!1;var x,P,S,H,M,O,k,R,I,F,U,V,z,G=wt(),Y=At(),X=ut?ut.duration():ia(dt,pt),j=m<=.01,q=0,W=E||0,Z=la(d)?d.end:e.end,rt=e.endTrigger||Q,it=la(d)?d.start:e.start||(0!==e.start&&Q?J?"0 0":"0 100%":0),nt=Tt.pinnedContainer=e.pinnedContainer&&js(e.pinnedContainer,Tt),st=Q&&Math.max(0,Va.indexOf(Tt))||0,ot=st;for(bt&&la(d)&&(V=eo.getProperty(p,pt.p),z=eo.getProperty(f,pt.p));ot--;)(O=Va[ot]).end||O.refresh(0,1)||(fo=Tt),!(k=O.pin)||k!==Q&&k!==J&&k!==nt||O.isReverted||(F||(F=[]),F.unshift(O),O.revert(!0,!0)),O!==Va[ot]&&(st--,ot--);for(oa(it)&&(it=it(Tt)),it=Yo(it,"start",Tt),l=ml(it,Q,G,pt,Bt(),c,p,Tt,Y,Et,vt,X,ut,Tt._startClamp&&"_startClamp")||(J?-.001:0),oa(Z)&&(Z=Z(Tt)),sa(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(sa(it)?it.split(" ")[0]:"")+Z:(q=Da(Z.substr(2),G),Z=sa(it)?it:(ut?eo.utils.mapRange(0,ut.duration(),ut.scrollTrigger.start,ut.scrollTrigger.end,l):l)+q,rt=Q)),Z=Yo(Z,"end",Tt),u=Math.max(l,ml(Z||(rt?"100% 0":X),rt,G,pt,Bt()+q,h,f,Tt,Y,Et,vt,X,ut,Tt._endClamp&&"_endClamp"))||-.001,q=0,ot=st;ot--;)(k=(O=Va[ot]).pin)&&O.start-O._pinPush<=l&&!ut&&O.end>0&&(x=O.end-(Tt._startClamp?Math.max(0,O.start):O.start),(k===Q&&O.start-O._pinPush=ia(dt,pt)){if(Q&&Bt()&&!ut)for(P=Q.parentNode;P&&P!==oo;)P._pinOffset&&(l-=P._pinOffset,u-=P._pinOffset),P=P.parentNode}else x=Pa(J),H=pt===Xs,S=Bt(),w=parseFloat(T(pt.a))+W,!X&&u>1&&(U={style:U=(mt?no.scrollingElement||so:dt).style,value:U["overflow"+pt.a.toUpperCase()]},mt&&"scroll"!==Pa(oo)["overflow"+pt.a.toUpperCase()]&&(U.style["overflow"+pt.a.toUpperCase()]="scroll")),hl(J,b,x),y=dl(J),P=Sa(J,!0),R=vt&&qs(dt,H?Ys:Xs)(),tt?((C=[tt+pt.os2,m+W+Aa]).t=b,(ot=tt===Ea?Ba(J,pt)+m+W:0)&&(C.push(pt.d,ot+Aa),"auto"!==b.style.flexBasis&&(b.style.flexBasis=ot+Aa)),fl(C),nt&&Va.forEach((function(t){t.pin===nt&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),vt&&Bt($)):(ot=Ba(J,pt))&&"auto"!==b.style.flexBasis&&(b.style.flexBasis=ot+Aa),vt&&((M={top:P.top+(H?S-l:R)+Aa,left:P.left+(H?R:S-l)+Aa,boxSizing:"border-box",position:"fixed"})[ga]=M["max"+xa]=Math.ceil(P.width)+Aa,M[ma]=M["max"+wa]=Math.ceil(P.height)+Aa,M[Ta]=M[Ta+ya]=M[Ta+va]=M[Ta+ba]=M[Ta+_a]="0",M[Ea]=x[Ea],M[Ea+ya]=x[Ea+ya],M[Ea+va]=x[Ea+va],M[Ea+ba]=x[Ea+ba],M[Ea+_a]=x[Ea+_a],_=function(t,e,r){for(var i,n=[],s=t.length,o=r?8:0;o1,vt&&B&&_.splice(_.length-2,2),r.render(0,!0,!0),I||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),To(0)):A=m,U&&(U.value?U.style["overflow"+pt.a.toUpperCase()]=U.value:U.style.removeProperty("overflow-"+pt.a));F&&F.forEach((function(t){return t.revert(!1,!0)})),Tt.start=l,Tt.end=u,o=a=No?$:Bt(),ut||No||(o<$&&Bt($),Tt.scroll.rec=0),Tt.revert(!1,!0),Ct=Uo(),N&&(Pt=-1,N.restart(!0)),fo=0,r&&ft&&(r._initted||D)&&r.progress()!==D&&r.progress(D||0,!0).render(r.time(),!0,!0),(j||St!==Tt.progress||ut||et)&&(r&&!ft&&r.totalProgress(ut&&l<-.001&&!St?eo.utils.normalize(l,u,0):St,!0),Tt.progress=j||(o-l)/m===St?0:St),J&&tt&&(b._pinOffset=Math.round(Tt.progress*A)),L&&L.invalidate(),isNaN(V)||(V-=eo.getProperty(p,pt.p),z-=eo.getProperty(f,pt.p),bl(p,pt,V),bl(c,pt,V-(E||0)),bl(f,pt,z),bl(h,pt,z-(E||0))),j&&!No&&Tt.update(),!K||No||g||(g=!0,K(Tt),g=!1)}},Tt.getVelocity=function(){return(Bt()-a)/(Uo()-ho)*1e3||0},Tt.endAnimation=function(){ua(Tt.callbackAnimation),r&&(L?L.progress(1):r.paused()?ft||ua(r,Tt.direction<0,1):ua(r,r.reversed()))},Tt.labelToScroll=function(t){return r&&r.labels&&(l||Tt.refresh()||l)+r.labels[t]/r.duration()*m||0},Tt.getTrailing=function(t){var e=Va.indexOf(Tt),r=Tt.direction>0?Va.slice(0,e).reverse():Va.slice(e+1);return(sa(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return Tt.direction>0?t.end<=l:t.start>=u}))},Tt.update=function(t,e,n){if(!ut||n||t){var s,c,h,f,d,g,v,E=!0===No?$:Tt.scroll(),T=t?0:(E-l)/m,C=T<0?0:T>1?1:T||0,M=Tt.progress;if(e&&(a=o,o=ut?Bt():E,ot&&(k=O,O=r&&!ft?r.totalProgress():C)),rt&&J&&!fo&&!Fo&&zo&&(!C&&lE+(E-a)/(Uo()-ho)*rt&&(C=.9999)),C!==M&&Tt.enabled){if(f=(d=(s=Tt.isActive=!!C&&C<1)!=(!!M&&M<1))||!!C!=!!M,Tt.direction=C>M?1:-1,Tt.progress=C,f&&!fo&&(c=C&&!M?0:1===C?1:1===M?2:3,ft&&(h=!d&&"none"!==yt[c+1]&&yt[c+1]||yt[c],v=r&&("complete"===h||"reset"===h||h in r))),ht&&(d||v)&&(v||Z||!r)&&(oa(ht)?ht(Tt):Tt.getTrailing(ht).forEach((function(t){return t.endAnimation()}))),ft||(!L||fo||Fo?r&&r.totalProgress(C,!(!fo||!Ct&&!t)):(L._dp._time-L._start!==L._time&&L.render(L._dp._time-L._start),L.resetTo?L.resetTo("totalProgress",C,r._tTime/r._tDur):(L.vars.totalProgress=C,L.invalidate().restart()))),J)if(t&&tt&&(b.style[tt+pt.os2]=P),vt){if(f){if(g=!t&&C>M&&u+1>E&&E+1>=ia(dt,pt),at)if(t||!s&&!g)_l(J,b);else{var R=Sa(J,!0),I=E-l;_l(J,oo,R.top+(pt===Xs?I:0)+Aa,R.left+(pt===Xs?0:I)+Aa)}fl(s||g?_:y),B&&C<1&&s||x(w+(1!==C||g?0:A))}}else x(Zo(w+A*C));ot&&!i.tween&&!fo&&!Fo&&N.restart(!0),j&&(d||st&&C&&(C<1||!Ro))&&uo(j.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](j.className)})),X&&!ft&&!t&&X(Tt),f&&!fo?(ft&&(v&&("complete"===h?r.pause().totalProgress(1):"reset"===h?r.restart(!0).pause():"restart"===h?r.restart(!0):r[h]()),X&&X(Tt)),!d&&Ro||(W&&d&&ca(Tt,W),_t[c]&&ca(Tt,_t[c]),st&&(1===C?Tt.kill(!1,1):_t[c]=0),d||_t[c=1===C?1:3]&&ca(Tt,_t[c])),ct&&!s&&Math.abs(Tt.getVelocity())>(aa(ct)?ct:2500)&&(ua(Tt.callbackAnimation),L?L.progress(1):ua(r,"reverse"===h?1:!C,1))):ft&&X&&!fo&&X(Tt)}if(H){var D=ut?E/ut.duration()*(ut._caScrollDist||0):E;S(D+(p._isFlipped?1:0)),H(D)}F&&F(-E/ut.duration()*(ut._caScrollDist||0))}},Tt.enable=function(e,r){Tt.enabled||(Tt.enabled=!0,ka(dt,"resize",ja),mt||ka(dt,"scroll",Ya),xt&&ka(t,"refreshInit",xt),!1!==e&&(Tt.progress=St=0,o=a=Pt=Bt()),!1!==r&&Tt.refresh())},Tt.getTween=function(t){return t&&i?i.tween:L},Tt.setPositions=function(t,e,r,i){if(ut){var n=ut.scrollTrigger,s=ut.duration(),o=n.end-n.start;t=n.start+o*t/s,e=n.start+o*e/s}Tt.refresh(!1,!1,{start:Xo(t,r&&!!Tt._startClamp),end:Xo(e,r&&!!Tt._endClamp)},i),Tt.update()},Tt.adjustPinSpacing=function(t){if(C&&t){var e=C.indexOf(pt.d)+1;C[e]=parseFloat(C[e])+t+Aa,C[1]=parseFloat(C[1])+t+Aa,fl(C)}},Tt.disable=function(e,r){if(Tt.enabled&&(!1!==e&&Tt.revert(!0,!0),Tt.enabled=Tt.isActive=!1,r||L&&L.pause(),$=0,n&&(n.uncache=1),xt&&La(t,"refreshInit",xt),N&&(N.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!mt)){for(var s=Va.length;s--;)if(Va[s].scroller===dt&&Va[s]!==Tt)return;La(dt,"resize",ja),mt||La(dt,"scroll",Ya)}},Tt.kill=function(t,i){Tt.disable(t,i),L&&!i&&L.kill(),q&&delete za[q];var s=Va.indexOf(Tt);s>=0&&Va.splice(s,1),s===vo&&al>0&&vo--,s=0,Va.forEach((function(t){return t.scroller===Tt.scroller&&(s=1)})),s||No||(Tt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),i||r.kill()),c&&[c,h,p,f].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),Do===Tt&&(Do=0),J&&(n&&(n.uncache=1),s=0,Va.forEach((function(t){return t.pin===J&&s++})),s||(n.spacer=0)),e.onKill&&e.onKill(Tt)},Va.push(Tt),Tt.enable(!1,!1),U&&U(Tt),r&&r.add&&!m){var kt=Tt.update;Tt.update=function(){Tt.update=kt,l||u||Tt.refresh()},eo.delayedCall(.01,Tt.update),m=.01,l=u=0}else Tt.refresh();J&&function(){if($o!==rl){var t=$o=rl;requestAnimationFrame((function(){return t===rl&&sl(!0)}))}}()}else this.update=this.refresh=this.kill=Ko},t.register=function(e){return ro||(eo=e||Jo(),Qo()&&window.document&&t.enable(),ro=Go),ro},t.defaults=function(t){if(t)for(var e in t)Na[e]=t[e];return Na},t.disable=function(t,e){Go=0,Va.forEach((function(r){return r[e?"kill":"disable"](t)})),La(io,"wheel",Ya),La(no,"scroll",Ya),clearInterval(po),La(no,"touchcancel",Ko),La(oo,"touchstart",Ko),Oa(La,no,"pointerdown,touchstart,mousedown",qo),Oa(La,no,"pointerup,touchend,mouseup",Wo),lo.kill(),na(La);for(var r=0;r0&&i.left+n0&&i.top+n=0&&Qa.splice(e,5),Qa.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),eo.core.getCache(t),Bo())}})):Qa},Tl.revert=function(t,e){return tl(!t,e)},Tl.create=function(t,e){return new Tl(t,e)},Tl.refresh=function(t){return t?ja():(ro||Tl.register())&&sl(!0)},Tl.update=function(t){return++ks.cache&&ll(!0===t?2:0)},Tl.clearScrollMemory=el,Tl.maxScroll=function(t,e){return ia(t,e?Ys:Xs)},Tl.getScrollFunc=function(t,e){return qs(js(t),e?Ys:Xs)},Tl.getById=function(t){return za[t]},Tl.getAll=function(){return Va.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Tl.isScrolling=function(){return!!zo},Tl.snapDirectional=Ma,Tl.addEventListener=function(t,e){var r=qa[t]||(qa[t]=[]);~r.indexOf(e)||r.push(e)},Tl.removeEventListener=function(t,e){var r=qa[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},Tl.batch=function(t,e){var r,i=[],n={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],i=[],n=eo.delayedCall(s,(function(){e(r,i),r=[],i=[]})).pause();return function(t){r.length||n.restart(!0),r.push(t.trigger),i.push(t),o<=r.length&&n.progress(1)}};for(r in e)n[r]="on"===r.substr(0,2)&&oa(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return oa(o)&&(o=o(),ka(Tl,"refresh",(function(){return o=e.batchMax()}))),uo(t).forEach((function(t){var e={};for(r in n)e[r]=n[r];e.trigger=t,i.push(Tl.create(e))})),i};var xl,wl=function(t,e,r,i){return e>i?t(i):e<0&&t(0),r>i?(i-e)/(r-e):r<0?e/(e-r):1},Al=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(to.isTouch?" pinch-zoom":""):"none",e===so&&t(oo,r)},Pl={auto:1,scroll:1},Cl=function(t){var e,r=t.event,i=t.target,n=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||eo.core.getCache(s),a=Uo();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==oo&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!Pl[(e=Pa(s)).overflowY]&&!Pl[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==i&&!ta(s)&&(Pl[(e=Pa(s)).overflowY]||Pl[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===n)&&(r.stopPropagation(),r._gsapAllow=!0)},Sl=function(t,e,r,i){return to.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:i=i&&Cl,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&ka(no,to.eventTypes[0],Hl,!1,!0)},onDisable:function(){return La(no,to.eventTypes[0],Hl,!0)}})},Bl=/(input|label|select|textarea)/i,Hl=function(t){var e=Bl.test(t.target.tagName);(e||xl)&&(t._gsapAllow=!0,xl=e)};Tl.sort=function(t){return Va.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Tl.observe=function(t){return new to(t)},Tl.normalizeScroll=function(t){if(void 0===t)return wo;if(!0===t&&wo)return wo.enable();if(!1===t)return wo&&wo.kill(),void(wo=t);var e=t instanceof to?t:function(t){la(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,i,n,s,o,a,l,u=t,c=u.normalizeScrollX,h=u.momentum,p=u.allowNestedScroll,f=u.onRelease,d=js(t.target)||so,g=eo.core.globals().ScrollSmoother,m=g&&g.get(),v=So&&(t.content&&js(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),_=qs(d,Xs),y=qs(d,Ys),b=1,E=(to.isTouch&&io.visualViewport?io.visualViewport.scale*io.visualViewport.width:io.outerWidth)/io.innerWidth,T=0,x=oa(h)?function(){return h(e)}:function(){return h||2.8},w=Sl(d,t.type,!0,p),A=function(){return n=!1},P=Ko,C=Ko,S=function(){r=ia(d,Xs),C=co(So?1:0,r),c&&(P=co(0,ia(d,Ys))),i=rl},B=function(){v._gsap.y=Zo(parseFloat(v._gsap.y)+_.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",_.offset=_.cacheID=0},H=function(){S(),s.isActive()&&s.vars.scrollY>r&&(_()>r?s.progress(1)&&_(r):s.resetTo("scrollY",r))};return v&&eo.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return So&&"touchmove"===t.type&&function(){if(n){requestAnimationFrame(A);var t=Zo(e.deltaY/2),r=C(_.v-t);if(v&&r!==_.v+_.offset){_.offset=r-_.v;var i=Zo((parseFloat(v&&v._gsap.y)||0)-_.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",v._gsap.y=i+"px",_.cacheID=ks.cache,ll()}return!0}_.offset&&B(),n=!0}()||b>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){n=!1;var t=b;b=Zo((io.visualViewport&&io.visualViewport.scale||1)/E),s.pause(),t!==b&&Al(d,b>1.01||!c&&"x"),o=y(),a=_(),S(),i=rl},t.onRelease=t.onGestureStart=function(t,e){if(_.offset&&B(),e){ks.cache++;var i,n,o=x();c&&(n=(i=y())+.05*o*-t.velocityX/.227,o*=wl(y,i,n,ia(d,Ys)),s.vars.scrollX=P(n)),n=(i=_())+.05*o*-t.velocityY/.227,o*=wl(_,i,n,ia(d,Xs)),s.vars.scrollY=C(n),s.invalidate().duration(o).play(.01),(So&&s.vars.scrollY>=r||i>=r-1)&&eo.to({},{onUpdate:H,duration:o})}else l.restart(!0);f&&f(t)},t.onWheel=function(){s._ts&&s.pause(),Uo()-T>1e3&&(i=0,T=Uo())},t.onChange=function(t,e,r,n,s){if(rl!==i&&S(),e&&c&&y(P(n[2]===e?o+(t.startX-t.x):y()+e-n[1])),r){_.offset&&B();var l=s[2]===r,u=l?a+t.startY-t.y:_()+r-s[1],h=C(u);l&&u!==h&&(a+=h-u),_(h)}(r||e)&&ll()},t.onEnable=function(){Al(d,!c&&"x"),Tl.addEventListener("refresh",H),ka(io,"resize",H),_.smooth&&(_.target.style.scrollBehavior="auto",_.smooth=y.smooth=!1),w.enable()},t.onDisable=function(){Al(d,!0),La(io,"resize",H),Tl.removeEventListener("refresh",H),w.kill()},t.lockAxis=!1!==t.lockAxis,(e=new to(t)).iOS=So,So&&!_()&&_(1),So&&eo.ticker.add(Ko),l=e._dc,s=eo.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:yl(_,_(),(function(){return s.pause()}))},onUpdate:ll,onComplete:l.vars.onComplete}),e}(t);return wo&&wo.target===e.target&&wo.kill(),ta(e.target)&&(wo=e),e},Tl.core={_getVelocityProp:Ws,_inputObserver:Sl,_scrollers:ks,_proxies:Ls,bridge:{ss:function(){zo||Za("scrollStart"),zo=Uo()},ref:function(){return fo}}},Jo()&&eo.registerPlugin(Tl);var Ml,Ol,kl,Ll,Rl,Il,Nl,$l,Dl,Fl,Ul,Vl=function(){return"undefined"!=typeof window},zl=function(){return Ml||Vl()&&(Ml=window.gsap)&&Ml.registerPlugin&&Ml},Gl=function(t){return"string"==typeof t},Yl=function(t){return"function"==typeof t},Xl=function(t,e){var r="x"===e?"Width":"Height",i="scroll"+r,n="client"+r;return t===kl||t===Ll||t===Rl?Math.max(Ll[i],Rl[i])-(kl["inner"+r]||Ll[n]||Rl[n]):t[i]-t["offset"+r]},jl=function(t,e){var r="scroll"+("x"===e?"Left":"Top");return t===kl&&(null!=t.pageXOffset?r="page"+e.toUpperCase()+"Offset":t=null!=Ll[r]?Ll:Rl),function(){return t[r]}},ql=function(t,e){if(!(t=Il(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),i=!e||e===kl||e===Rl,n=i?{top:Ll.clientTop-(kl.pageYOffset||Ll.scrollTop||Rl.scrollTop||0),left:Ll.clientLeft-(kl.pageXOffset||Ll.scrollLeft||Rl.scrollLeft||0)}:e.getBoundingClientRect(),s={x:r.left-n.left,y:r.top-n.top};return!i&&e&&(s.x+=jl(e,"x")(),s.y+=jl(e,"y")()),s},Wl=function(t,e,r,i,n){return isNaN(t)||"object"==typeof t?Gl(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+i-n:"max"===t?Xl(e,r)-n:Math.min(Xl(e,r),ql(t,e)[r]-n):parseFloat(t)-n},Kl=function(){Ml=zl(),Vl()&&Ml&&"undefined"!=typeof document&&document.body&&(kl=window,Rl=document.body,Ll=document.documentElement,Il=Ml.utils.toArray,Ml.config({autoKillThreshold:7}),Nl=Ml.config(),Ol=1)},Zl={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(t){Ml=t,Kl()},init:function(t,e,r,i,n){Ol||Kl();var s=this,o=Ml.getProperty(t,"scrollSnapType");s.isWin=t===kl,s.target=t,s.tween=r,e=function(t,e,r,i){if(Yl(t)&&(t=t(e,r,i)),"object"!=typeof t)return Gl(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var n,s={};for(n in t)s[n]="onAutoKill"!==n&&Yl(t[n])?t[n](e,r,i):t[n];return s}(e,i,t,n),s.vars=e,s.autoKill=!!e.autoKill,s.getX=jl(t,"x"),s.getY=jl(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),$l||($l=Ml.core.globals().ScrollTrigger),"smooth"===Ml.getProperty(t,"scrollBehavior")&&Ml.set(t,{scrollBehavior:"auto"}),o&&"none"!==o&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(s.add(s,"x",s.x,Wl(e.x,t,"x",s.x,e.offsetX||0),i,n),s._props.push("scrollTo_x")):s.skipX=1,null!=e.y?(s.add(s,"y",s.y,Wl(e.y,t,"y",s.y,e.offsetY||0),i,n),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var r,i,n,s,o,a=e._pt,l=e.target,u=e.tween,c=e.autoKill,h=e.xPrev,p=e.yPrev,f=e.isWin,d=e.snap,g=e.snapInline;a;)a.r(t,a.d),a=a._next;r=f||!e.skipX?e.getX():h,n=(i=f||!e.skipY?e.getY():p)-p,s=r-h,o=Nl.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),c&&(!e.skipX&&(s>o||s<-o)&&ro||n<-o)&&i-1&&this._props.splice(r,1),!this._props.length}};function Ql(t){return t.type===Fl.literal}function Jl(t){return t.type===Fl.argument}function tu(t){return t.type===Fl.number}function eu(t){return t.type===Fl.date}function ru(t){return t.type===Fl.time}function iu(t){return t.type===Fl.select}function nu(t){return t.type===Fl.plural}function su(t){return t.type===Fl.pound}function ou(t){return t.type===Fl.tag}function au(t){return!(!t||"object"!=typeof t||t.type!==Ul.number)}function lu(t){return!(!t||"object"!=typeof t||t.type!==Ul.dateTime)}Zl.max=Xl,Zl.getOffset=ql,Zl.buildGetter=jl,zl()&&Ml.registerPlugin(Zl),function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Dl||(Dl={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(Fl||(Fl={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(Ul||(Ul={}));var uu=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cu=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function hu(t){var e={};return t.replace(cu,(function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}var pu=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,fu=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,du=/^(@+)?(\+|#+)?[rs]?$/g,gu=/(\*)(0+)|(#+)(0+)|(0+)/g,mu=/^(0+)$/;function vu(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(du,(function(t,r,i){return"string"!=typeof i?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===i?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""})),e}function _u(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function yu(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!mu.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function bu(t){return _u(t)||{}}function Eu(t){for(var e={},r=0,i=t;r1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace(gu,(function(t,r,i,n,s,o){if(r)e.minimumIntegerDigits=i.length;else{if(n&&s)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(mu.test(s.stem))e.minimumIntegerDigits=s.stem.length;else if(fu.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(fu,(function(t,r,i,n,s,o){return"*"===i?e.minimumFractionDigits=r.length:n&&"#"===n[0]?e.maximumFractionDigits=n.length:s&&o?(e.minimumFractionDigits=s.length,e.maximumFractionDigits=s.length+o.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var o=s.options[0];"w"===o?e=n(n({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=n(n({},e),vu(o)))}else if(du.test(s.stem))e=n(n({},e),vu(s.stem));else{var a=_u(s.stem);a&&(e=n(n({},e),a));var l=yu(s.stem);l&&(e=n(n({},e),l))}}return e}var Tu,xu={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function wu(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,i=t.language;return"root"!==i&&(r=t.maximize().region),(xu[r||""]||xu[i||""]||xu["".concat(i,"-001")]||xu["001"])[0]}var Au=new RegExp("^".concat(uu.source,"*")),Pu=new RegExp("".concat(uu.source,"*$"));function Cu(t,e){return{start:t,end:e}}var Su=!!String.prototype.startsWith&&"_a".startsWith("a",1),Bu=!!String.fromCodePoint,Hu=!!Object.fromEntries,Mu=!!String.prototype.codePointAt,Ou=!!String.prototype.trimStart,ku=!!String.prototype.trimEnd,Lu=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Ru=!0;try{Ru="a"===(null===(Tu=zu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Tu?void 0:Tu[0])}catch(z){Ru=!1}var Iu,Nu=Su?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},$u=Bu?String.fromCodePoint:function(){for(var t=[],e=0;es;){if((r=t[s++])>1114111)throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},Du=Hu?Object.fromEntries:function(t){for(var e={},r=0,i=t;r=r)){var i,n=t.charCodeAt(e);return n<55296||n>56319||e+1===r||(i=t.charCodeAt(e+1))<56320||i>57343?n:i-56320+(n-55296<<10)+65536}},Uu=Ou?function(t){return t.trimStart()}:function(t){return t.replace(Au,"")},Vu=ku?function(t){return t.trimEnd()}:function(t){return t.replace(Pu,"")};function zu(t,e){return new RegExp(t,e)}if(Ru){var Gu=zu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Iu=function(t,e){var r;return Gu.lastIndex=e,null!==(r=Gu.exec(t)[1])&&void 0!==r?r:""}}else Iu=function(t,e){for(var r=[];;){var i=Fu(t,e);if(void 0===i||qu(i)||Wu(i))break;r.push(i),e+=i>=65536?2:1}return $u.apply(void 0,r)};var Yu=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var i=[];!this.isEOF();){var n=this.char();if(123===n){if((s=this.parseArgument(t,r)).err)return s;i.push(s.val)}else{if(125===n&&t>0)break;if(35!==n||"plural"!==e&&"selectordinal"!==e){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(Dl.UNMATCHED_CLOSING_TAG,Cu(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Xu(this.peek()||0)){if((s=this.parseTag(t,e)).err)return s;i.push(s.val)}else{var s;if((s=this.parseLiteral(t,e)).err)return s;i.push(s.val)}}else{var o=this.clonePosition();this.bump(),i.push({type:Fl.pound,location:Cu(o,this.clonePosition())})}}}return{val:i,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Fl.literal,value:"<".concat(i,"/>"),location:Cu(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,e,!0);if(n.err)return n;var s=n.val,o=this.clonePosition();if(this.bumpIf("")?{val:{type:Fl.tag,value:i,children:s,location:Cu(r,this.clonePosition())},err:null}:this.error(Dl.INVALID_TAG,Cu(o,this.clonePosition())))}return this.error(Dl.UNCLOSED_TAG,Cu(r,this.clonePosition()))}return this.error(Dl.INVALID_TAG,Cu(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ju(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(e);if(n)i+=n;else{var s=this.tryParseUnquoted(t,e);if(s)i+=s;else{var o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}var a=Cu(r,this.clonePosition());return{val:{type:Fl.literal,value:i,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Xu(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return $u.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),$u(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Dl.EXPECT_ARGUMENT_CLOSING_BRACE,Cu(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Dl.EMPTY_ARGUMENT,Cu(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Dl.MALFORMED_ARGUMENT,Cu(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Dl.EXPECT_ARGUMENT_CLOSING_BRACE,Cu(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Fl.argument,value:i,location:Cu(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Dl.EXPECT_ARGUMENT_CLOSING_BRACE,Cu(r,this.clonePosition())):this.parseArgumentOptions(t,e,i,r);default:return this.error(Dl.MALFORMED_ARGUMENT,Cu(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=Iu(this.message,e),i=e+r.length;return this.bumpTo(i),{value:r,location:Cu(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,i){var s,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(Dl.EXPECT_ARGUMENT_TYPE,Cu(o,l));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((_=this.parseSimpleArgStyleIfPossible()).err)return _;if(0===(d=Vu(_.val)).length)return this.error(Dl.EXPECT_ARGUMENT_STYLE,Cu(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:Cu(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(i)).err)return y;var h=Cu(i,this.clonePosition());if(u&&Nu(null==u?void 0:u.style,"::",0)){var p=Uu(u.style.slice(2));if("number"===a)return(_=this.parseNumberSkeletonFromString(p,u.styleLocation)).err?_:{val:{type:Fl.number,value:r,location:h,style:_.val},err:null};if(0===p.length)return this.error(Dl.EXPECT_DATE_TIME_SKELETON,h);var f=p;this.locale&&(f=function(t,e){for(var r="",i=0;i>1),l=wu(e);for("H"!=l&&"k"!=l||(a=0);a-- >0;)r+="a";for(;o-- >0;)r=l+r}else r+="J"===n?"H":n}return r}(p,this.locale));var d={type:Ul.dateTime,pattern:f,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?hu(f):{}};return{val:{type:"date"===a?Fl.date:Fl.time,value:r,location:h,style:d},err:null}}return{val:{type:"number"===a?Fl.number:"date"===a?Fl.date:Fl.time,value:r,location:h,style:null!==(s=null==u?void 0:u.style)&&void 0!==s?s:null},err:null};case"plural":case"selectordinal":case"select":var g=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Dl.EXPECT_SELECT_ARGUMENT_OPTIONS,Cu(g,n({},g)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),v=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Dl.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Cu(this.clonePosition(),this.clonePosition()));var _;if(this.bumpSpace(),(_=this.tryParseDecimalInteger(Dl.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Dl.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return _;this.bumpSpace(),m=this.parseIdentifierIfPossible(),v=_.val}var y,b=this.tryParsePluralOrSelectOptions(t,a,e,m);if(b.err)return b;if((y=this.tryParseArgumentClose(i)).err)return y;var E=Cu(i,this.clonePosition());return"select"===a?{val:{type:Fl.select,value:r,options:Du(b.val),location:E},err:null}:{val:{type:Fl.plural,value:r,options:Du(b.val),offset:v,pluralType:"plural"===a?"cardinal":"ordinal",location:E},err:null};default:return this.error(Dl.INVALID_ARGUMENT_TYPE,Cu(o,l))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Dl.EXPECT_ARGUMENT_CLOSING_BRACE,Cu(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Dl.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Cu(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=t.split(pu).filter((function(t){return t.length>0})),r=[],i=0,n=e;i=48&&o<=57))break;n=!0,s=10*s+(o-48),this.bump()}var a=Cu(i,this.clonePosition());return n?Lu(s*=r)?{val:s,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Fu(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(Nu(this.message,t,this.offset())){for(var e=0;e=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&qu(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function Xu(t){return t>=97&&t<=122||t>=65&&t<=90}function ju(t){return 45===t||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function qu(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function Wu(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function Ku(t){t.forEach((function(t){if(delete t.location,iu(t)||nu(t))for(var e in t.options)delete t.options[e].location,Ku(t.options[e].value);else tu(t)&&au(t.style)||(eu(t)||ru(t))&&lu(t.style)?delete t.style.location:ou(t)&&Ku(t.children)}))}function Zu(t,e){void 0===e&&(e={}),e=n({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Yu(t,e).parse();if(r.err){var i=SyntaxError(Dl[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return(null==e?void 0:e.captureLocation)||Ku(r.val),r.val}function Qu(t,e){var r=e&&e.cache?e.cache:oc,i=e&&e.serializer?e.serializer:ic;return(e&&e.strategy?e.strategy:rc)(t,{cache:r,serializer:i})}function Ju(t,e,r,i){var n,s=null==(n=i)||"number"==typeof n||"boolean"==typeof n?i:r(i),o=e.get(s);return void 0===o&&(o=t.call(this,i),e.set(s,o)),o}function tc(t,e,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),s=e.get(n);return void 0===s&&(s=t.apply(this,i),e.set(n,s)),s}function ec(t,e,r,i,n){return r.bind(e,t,i,n)}function rc(t,e){return ec(t,this,1===t.length?Ju:tc,e.cache.create(),e.serializer)}var ic=function(){return JSON.stringify(arguments)};function nc(){this.cache=Object.create(null)}nc.prototype.get=function(t){return this.cache[t]},nc.prototype.set=function(t,e){this.cache[t]=e};var sc,oc={create:function(){return new nc}},ac={variadic:function(t,e){return ec(t,this,tc,e.cache.create(),e.serializer)},monadic:function(t,e){return ec(t,this,Ju,e.cache.create(),e.serializer)}};!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(sc||(sc={}));var lc,uc=function(t){function e(e,r,i){var n=t.call(this,e)||this;return n.code=r,n.originalMessage=i,n}return i(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),cc=function(t){function e(e,r,i,n){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),sc.INVALID_VALUE,n)||this}return i(e,t),e}(uc),hc=function(t){function e(e,r,i){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),sc.INVALID_VALUE,i)||this}return i(e,t),e}(uc),pc=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),sc.MISSING_VALUE,r)||this}return i(e,t),e}(uc);function fc(t){return"function"==typeof t}function dc(t,e,r,i,n,s,o){if(1===t.length&&Ql(t[0]))return[{type:lc.literal,value:t[0].value}];for(var a=[],l=0,u=t;l0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=Zu,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const vc=mc;class _c{constructor(){this.lang=yc("lang",document?.documentElement?.getAttribute("lang")),this.dir=yc("dir",document?.documentElement?.getAttribute("dir")),new MutationObserver((()=>{document.dispatchEvent(new CustomEvent("localeChanged",{detail:{lang:this.lang=yc("lang",document.documentElement.lang),dir:this.dir=yc("dir",document.documentElement.dir)}}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}}function yc(t,e){return"lang"===t?e&&e.includes("-")&&e.length>=5?e.toLowerCase():"en-us":"dir"===t?e&&e.match(/^(ltr|rtl)$/i)?e.toLowerCase():"ltr":(console.warn("Invalid validation type!"),"")}const bc=function(){let t;return function(){return t||(t=new _c),t}}(),Ec=(t=>{class e extends t{constructor(){super(...arguments),this.i18nManager=bc(),this.locChangeHandler=t=>{this.lang=t.detail.lang,this.dir=t.detail.dir,this.requestUpdate()},this.errorHandler=(t,e)=>{if(console.warn(`I18nMixin ${t}: ${e}`),"undefined"!=typeof process&&process?.env?.STORYBOOK&&"ERROR"===t)throw new Error(e)}}connectedCallback(){super.connectedCallback(),this.lang=this.i18nManager?.lang||"en-us",this.dir=this.i18nManager?.dir||"ltr",document.addEventListener("localeChanged",this.locChangeHandler),Object.keys(this.translations||{})?.forEach((t=>{const{dict:e}=this.constructor;e&&Object.keys(e).length||this.errorHandler("ERROR","Found translations but dictionary is not defined"),e&&!(t in e)&&this.errorHandler("ERROR",`Translation passed in for wrong or obsolete key: '${t}'`)}))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("localeChanged",this.locChangeHandler)}msg(t,e){if(!t)return"";const r=this.constructor.dict?.[t]||"";if(!this.lang)return r;const{dict:i}=this.constructor;i&&!(t in i)&&this.errorHandler("ERROR",`Invalid key: '${t}'`);let n=this.translations?.[t];n||(this.translations&&this.errorHandler("WARNING",`Missing translation for key: '${t}'`),n=r);let s=n;try{s=this.format(n,e)}catch(t){this.errorHandler("ERROR",`Error interpolating '${n}'\n${t}`)}return s??n??""}format(t,e){return new vc(t,this.lang).format(e)}}return e.dict={},s([vt({type:Object,reflect:!1})],e.prototype,"translations",void 0),e})(ft);class Tc{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}class xc extends Tc{constructor(t){if(super(t),this.it=Q,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this._t=void 0,this.it=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}xc.directiveName="unsafeHTML",xc.resultType=1;const wc=(Ac=xc,(...t)=>({_$litDirective$:Ac,values:t}));var Ac;let Pc=class extends Ec{constructor(){super(),this.noAnimation=!0===window.matchMedia("(prefers-reduced-motion: reduce)").matches,this._playPromise=null,this._noAnimation=!0===window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.scrollTriggers=[],this.globalCounter=1}connectedCallback(){super.connectedCallback(),this.gsap=function(){const t=window.gsap?window.gsap:gs,e=window.ScrollTrigger?window.ScrollTrigger:Tl,r=window.ScrollToPlugin?window.ScrollToPlugin:Zl;return t.registerPlugin(e),t.registerPlugin(r),t}(),window.addEventListener("resize",(()=>{setTimeout((()=>{this.assetHeightCal()}),500)}))}firstUpdated(){this._interactiveFeatureCameras.forEach(((t,e)=>{setTimeout((()=>{this.initializeInteractiveFeatureCamera(t)}),300*(e+1))}))}assetHeightCal(){if(this._assetSection){const t=window.getComputedStyle(this._assetVideo),e=window.getComputedStyle(this._assetImg);this._assetVideo.classList.contains("visible")?this._assetSection.style.minHeight=t.getPropertyValue("height"):(this._assetImg.classList.contains("visible"),this._assetSection.style.minHeight=e.getPropertyValue("height"))}}disconnectedCallback(){window.removeEventListener("resize",this.assetHeightCal),super.disconnectedCallback()}initializeInteractiveFeatureCamera(t){const e=t.querySelectorAll(".toggle-button-area input"),r=t.querySelectorAll(".individual-toggle"),i=this._toggleControls,n=this._indicatorsContainer,s=t.querySelectorAll(".toggle-label"),o=Math.ceil(r.length/3);let a=0,l=null,u=this.globalCounter;if(this.assetHeightCal(),document.body.classList.contains("animation-toggle")||!document.body.classList.contains("animation-off")?(this.scrollAnimation(t),t.classList.add("ifc-animation-on"),t.classList.remove("ifc-animation-off")):(t.classList.remove("ifc-animation-on"),t.classList.add("ifc-animation-off")),this._noAnimation&&this._assetVideo.pause(),this._assetVideo?.addEventListener("ended",(()=>{this.handleVideoEnded(this._assetVideo)})),this._playPauseButton?.setAttribute("aria-label",this._playPauseButton.getAttribute("data-aria-pause")||""),this._playPauseButton?.setAttribute("title",this._playPauseButton?.getAttribute("data-pausetext")||""),document.body.classList.contains("animation-toggle")||!document.body.classList.contains("animation-off"))this.playDefaultVideo();else if(this.updatePlayPauseDisplay(),""===this._defaultVideo?.getAttribute("data-defaultvideo")){const t=this._defaultVideo?.getAttribute("data-defaultposter")||"",e=this._defaultVideo.getAttribute("data-defaultdescription")||"";this._assetImg.src=t,this._assetImg.alt=e,this._assetImg.classList.add("visible"),this._assetVideo.classList.remove("visible"),this._playPauseButton.style.display="none"}const c=t=>{t&&!t.paused&&t.pause()},h=()=>{document.body.classList.contains("animation-toggle")?this._playPromise=this._assetVideo.play():(this._assetVideo.load(),this._assetVideo.autoplay=!1,this._assetVideo.pause()),this._assetVideo.classList.add("visible"),this._assetImg.classList.remove("visible"),this._playPauseButton.style.display="block",this.updatePlayPauseButtonState(),this.updatePlayPauseDisplay()},p=()=>{this._checkboxes.forEach(((t,r)=>{const i="switch-"+u++;t.id=i,s[r].setAttribute("for",i),t.addEventListener("change",(t=>{t.preventDefault();const i=e[r];if(t.target.checked){if(l&&l!==t.target&&(l.checked=!1),i){const e=t.target.getAttribute("data-video");if(e)e!==decodeURI(this._assetVideoSource.src)&&(this._assetVideoSource.src=e,this._assetVideo.poster=t.target.getAttribute("data-img")||"",this._assetVideo.ariaLabel=t.target.getAttribute("data-description")),null===this._playPromise&&(this._assetVideo.load(),this._playPromise=this._assetVideo.play()),void 0!==this._playPromise&&this._playPromise?.then((t=>{c(this._assetVideo),this._assetVideo.paused&&this._assetVideo.load(),h()})).catch((t=>{h(),console.warn("Error: ",t)})),this._playPauseButton.setAttribute("aria-label",this._playPauseButton.getAttribute("data-aria-pause")||""),this._playPauseButton.setAttribute("title",this._playPauseButton.getAttribute("data-pausetext")||"");else{const e=t.target.getAttribute("data-img")||"",r=t.target.getAttribute("data-description")||"";this._assetImg.src=e,this._assetImg.alt=r,this._assetImg.classList.add("visible"),this._assetVideo.classList.remove("visible"),this._playPauseButton.style.display="none"}}l=t.target}else{const e=!Array.from(this._checkboxes).some((t=>t.getAttribute("checked")));e&&(""!==this._defaultVideo.getAttribute("data-defaultvideo")?(this._assetVideoSource.src=this._defaultVideo.getAttribute("data-defaultvideo")||"",this._assetVideo.poster=this._defaultVideo.getAttribute("data-defaultposter")||"",this._assetVideo.ariaLabel=this._defaultVideo.getAttribute("data-defaultdescription"),this.updatePlayPauseDisplay(),null===this._playPromise&&this._assetVideo.load(),void 0!==this._playPromise&&this._playPromise?.then((t=>{c(this._assetVideo),this._assetVideo.paused&&this._assetVideo.load(),h()})).catch((t=>{h(),console.warn("Error: ",t)})),this._playPauseButton.setAttribute("aria-label",this._playPauseButton.getAttribute("data-aria-play")||""),this._playPauseButton.setAttribute("title",this._playPauseButton.getAttribute("data-playtext")||"")):(this._assetImg.classList.add("visible"),this._assetVideo.classList.remove("visible"),this._playPauseButton.style.display="none")),l=t.target}this.updatePlayPauseButtonState(),this.updatePlayPauseDisplay()}))})),this.globalCounter=u};function f(t){r.length<=3?t.style.display="none":t.style.display="flex",r.forEach((function(t){t.classList.add("hidden-toggle")}));for(let t=3*a;t<3*(a+1)&&t0&&(a--,f(i),d(n))}));const g=()=>{this._assetVideo.paused?(this._assetVideo.currentTime==this._assetVideo.duration&&(this._assetVideo.currentTime=0),this._assetVideo.play()):this._assetVideo.pause(),this.updatePlayPauseButtonState(),this.updatePlayPauseDisplay()};this._playPauseButton?.addEventListener("click",(()=>{g()})),this._assetVideo?.addEventListener("play",(()=>{this.updatePlayPauseButtonState(),this.updatePlayPauseDisplay()})),this._assetVideo?.addEventListener("pause",(()=>{this.updatePlayPauseButtonState(),this.updatePlayPauseDisplay()}));const m=document.getElementById("animation-toggle");m?.addEventListener("click",(()=>{setTimeout((()=>{document.body.classList.contains("animation-toggle")?(t.classList.remove("ifc-animation-off"),t.classList.add("ifc-animation-on"),this.scrollAnimation(t),p(),""!==this._assetVideo.src&&(this._playPromise=this._assetVideo.play()),this._animationSpacer.style.display="block"):(t.classList.remove("ifc-animation-on"),t.classList.add("ifc-animation-off"),p(),""!==this._assetVideo.src&&(this._playPromise=this._assetVideo.play(),void 0!==this._playPromise&&this._playPromise?.then((t=>{this._assetVideo.pause()})).catch((t=>{console.warn("Error: ",t)})),this._assetVideo.currentTime=0),this._playPauseButton.setAttribute("aria-label",this._playPauseButton.getAttribute("data-aria-play")||""),this._playPauseButton.setAttribute("title",this._playPauseButton.getAttribute("data-playtext")||""),this._animationSpacer.style.display="none",this.killScrollTriggerAnimation())}),200)}))}playDefaultVideo(){if(null!=this._assetVideo&&this._assetVideo.paused&&!this._assetVideo.classList.contains("played"))if(this._assetVideoSource.src=this._defaultVideo?.getAttribute("data-defaultvideo")||"",this._assetVideo.poster=this._defaultVideo?.getAttribute("data-defaultposter")||"",this._assetVideo.ariaLabel=this._defaultVideo.getAttribute("data-defaultdescription"),""!==this._defaultVideo?.getAttribute("data-defaultvideo"))void 0!==this._playPromise&&this._playPromise?.then((t=>{this._assetVideo.load()})).catch((t=>{console.warn("Error: ",t)})),this._assetVideo.loop=!1,this._playPromise=this._assetVideo.play(),this._assetVideo.classList.add("played"),this._assetVideo.addEventListener("ended",(()=>{this.handleVideoEnded(this._assetVideo)})),this.updatePlayPauseDisplay();else{const t=this._defaultVideo?.getAttribute("data-defaultposter")||"",e=this._defaultVideo.getAttribute("data-defaultdescription")||"";this._assetImg.src=t,this._assetImg.alt=e,this._assetImg.classList.add("visible"),this._assetVideo.classList.remove("visible"),this._playPauseButton.style.display="none"}}updatePlayPauseDisplay(){this._playIcon.style.display=this._assetVideo.paused?"inline-block":"none",this._pauseIcon.style.display=this._assetVideo.paused?"none":"inline-block"}updatePlayPauseButtonState(){this._assetVideo.paused?(this._playPauseButton.setAttribute("aria-label",this._playPauseButton.getAttribute("data-aria-play")||""),this._playPauseButton.setAttribute("title",this._playPauseButton.getAttribute("data-playtext")||"")):(this._playPauseButton.setAttribute("aria-label",this._playPauseButton.getAttribute("data-aria-pause")||""),this._playPauseButton.setAttribute("title",this._playPauseButton.getAttribute("data-pausetext")||""))}scrollAnimation(t){if(this.scrollTriggers?.length>0)return;const e=t.querySelector(".primary-title"),r=t.querySelector(".secondary-title"),i=t.querySelector(".asset-section"),n=t.querySelector(".toggles-section"),s=t.querySelector(".primary-link"),o=this.gsap.timeline({scrollTrigger:{trigger:t,start:"top",end:"center",scrub:1,pin:t,invalidateOnRefresh:!0,markers:!1}});o.fromTo(e,{opacity:1,fontSize:()=>this.fitText(e,"0.3",{lineHeightMultiplier:.8,lineHeightOffset:40}),scale:"1.3",position:"absolute"},{ease:"Power0.easeNone",stagger:.05,fontSize:()=>window.innerWidth<=1084?"40px":"80px",lineHeight:()=>window.innerWidth<=1084?"48px":"120px",duration:.5,scale:1,translateY:"0",position:"relative",paddingTop:()=>window.innerWidth<=1084?"30px":"0px"},1),o.to(t,{duration:.5,ease:"none"},"+=1"),o.fromTo(i,{translateY:"30%",opacity:0},{translateY:"0%",ease:"power1.out",duration:.5,opacity:1},1.5),o.fromTo(n,{translateY:()=>window.innerWidth<1084?"20%":"-20%",opacity:0},{translateY:()=>window.innerWidth<=1084?"0%":"-50%",ease:"power1.out",duration:.5,opacity:1},2),o?.addLabel("navContainerEnd"),o.fromTo(r,{translateY:"120%"},{translateY:"0%",ease:"power1.out",duration:.5},"1.2"),null!=s&&o.fromTo(s,{opacity:0,translateY:"120%"},{opacity:1,translateY:"0%",ease:"power1.out"},1.3),o.scrollTrigger&&this.scrollTriggers.push(o.scrollTrigger),o&&this.setupFocusListener(o)}setupFocusListener(t){this.toggleFocusListener=()=>{this.gsap.to(window,{scrollTo:t?.scrollTrigger?.labelToScroll("navContainerEnd")})},this._playPauseButton?.addEventListener("focus",this.toggleFocusListener)}fitText(t,e,r){const i=function(t,e){for(const r in e)t[r]=e[r];return t}({minFontSize:-1/0,maxFontSize:1/0,lineHeightMultiplier:1,lineHeightOffset:0},r),n=function(t){const r=parseInt(e)||1;!function(){const e=Math.max(Math.min(t.clientWidth/(10*r),i.maxFontSize),i.minFontSize);t.style.fontSize=e+"px",t.style.lineHeight=e*i.lineHeightMultiplier+2*i.lineHeightOffset+"px"}()};if(t.length)for(let e=0;e{e.kill(!0);const r=e.animation;r&&(r.getChildren?r.getChildren(!0,!0,!1).forEach((e=>{t=[...t,...e.targets()]})):t=[...t,...r.targets()])})),t.length>0&&(this.gsap.set(t,{clearProps:"all"}),this.scrollTriggers=[])}handleVideoEnded(t){t.classList.add("played"),t.currentTime!=t.duration&&(t.pause(),t.currentTime=t.duration)}renderToggles(){return wt` ${this.featuresContent.keyFeatures?.map((t=>wt`
${this.msg("OFF")} ${this.msg("ON")}
`))} `}renderPlayPauseButton(){return wt` `}renderToggleControls(){return wt`
`}renderFeatureVideo(t){const e=document.querySelector("#animation-toggle");let r=!1;return e?.addEventListener("click",(()=>{setTimeout((()=>{const t=document.body.classList.contains("animation-toggle")||!document.body.classList.contains("animation-off"),e=document.querySelector(".video-element");t?r=!0:(r=!1,e?.pause())}),200)})),wt` `}renderHeading(t,e){return""===t.headingText?Q:wt` <${Et(t.headingSize)} role='heading' class="${e} ${t.displaySize}"> ${wc(t.headingText)} `}render(){return wt`
${this.renderHeading(this.featuresContent.heading,"primary-title")}
${this.renderHeading(this.featuresContent.secondaryHeading,"secondary-title")}
${this.renderFeatureVideo(this.featuresContent.video)}
${this.renderPlayPauseButton()}
${this.featuresContent.iconImage?wt` `:wt` `}

${this.renderToggles()}
${this.renderToggleControls()}
`}};var Cc;return Pc.styles=_t,Pc.dict={Play:"Play",Pause:"Pause",ON:"On",OFF:"Off"},s([vt({type:Object})],Pc.prototype,"featuresContent",void 0),s([vt({attribute:"no-animation",type:Boolean})],Pc.prototype,"noAnimation",void 0),s([Pt(".interactive-feature-container .asset-video video")],Pc.prototype,"_assetVideo",void 0),s([Pt(".interactive-feature-container .asset-video video source")],Pc.prototype,"_assetVideoSource",void 0),s([Pt(".interactive-feature-container .asset-video video")],Pc.prototype,"_defaultVideo",void 0),s([St('.interactive-feature-container .toggle-button input[type="checkbox"]')],Pc.prototype,"_checkboxes",void 0),s([St(".interactive-feature-container")],Pc.prototype,"_interactiveFeatureCameras",void 0),s([Pt(".interactive-feature-container .play-pause-button")],Pc.prototype,"_playPauseButton",void 0),s([Pt(".interactive-feature-container .asset-img img")],Pc.prototype,"_assetImg",void 0),s([Pt(".interactive-feature-container .animation-spacer")],Pc.prototype,"_animationSpacer",void 0),s([Pt(".interactive-feature-container .play-icon")],Pc.prototype,"_playIcon",void 0),s([Pt(".interactive-feature-container .pause-icon")],Pc.prototype,"_pauseIcon",void 0),s([Pt(".interactive-feature-container .indicators")],Pc.prototype,"_indicatorsContainer",void 0),s([Pt(".interactive-feature-container .toggle-controls")],Pc.prototype,"_toggleControls",void 0),s([Pt(".interactive-feature-container .asset-section")],Pc.prototype,"_assetSection",void 0),Pc=s([(Cc="cascade-interactive-feature-camera",(t,e)=>{customElements.get(Cc)?console.warn(`${Cc} is already defined.`):void 0!==e?e.addInitializer((()=>{customElements.define(Cc,t)})):customElements.define(Cc,t)})],Pc),e})(),t.exports=e()}},e={};function r(i){var n=e[i];if(void 0!==n)return n.exports;var s=e[i]={exports:{}};return t[i](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 i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(1430)})()})(); document.addEventListener('DOMContentLoaded', function() { var interactiveFeatureCameraElements = document.querySelectorAll('.interactive-feature-camera'); interactiveFeatureCameraElements.forEach(function(interactiveFeatureCameraElement) { var containerBackgroundGradient = interactiveFeatureCameraElement.getAttribute('data-ifc-container-background-gradient-color'); if (containerBackgroundGradient != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-container-background-color', containerBackgroundGradient); } var cardBackgroundGradient = interactiveFeatureCameraElement.getAttribute('data-ifc-card-background-gradient-color'); if (cardBackgroundGradient != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-card-background-gradient', cardBackgroundGradient); } var cardBorderColor = interactiveFeatureCameraElement.getAttribute('data-ifc-card-border-color'); if (cardBorderColor != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-card-border-color', cardBorderColor); } var cardBorderGradient = interactiveFeatureCameraElement.getAttribute('data-ifc-card-border-gradient'); if (cardBorderGradient != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-card-border-gradient', cardBorderGradient); } var buttonBorderColor = interactiveFeatureCameraElement.getAttribute('data-ifc-button-border-color'); if (buttonBorderColor != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-button-border-color', buttonBorderColor); } var activeDotColor = interactiveFeatureCameraElement.getAttribute('data-ifc-active-dot-color'); if (activeDotColor != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-active-dot-color', activeDotColor); } var buttonBorderGradient = interactiveFeatureCameraElement.getAttribute('data-ifc-button-border-gradient'); if (buttonBorderGradient != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-button-border-gradient', buttonBorderGradient); } var eyebrowGradient = interactiveFeatureCameraElement.getAttribute('data-ifc-eyebrow-gradient-color'); if (eyebrowGradient != null) { interactiveFeatureCameraElement.style.setProperty('--ds-ifc-eyebrow-gradient-color', eyebrowGradient); } }); });