Files
drupal-mathallo/web_main/themes/custom/mathallo/assets/dist/main.js
2026-02-20 11:09:55 +01:00

42 lines
161 KiB
JavaScript

function su(i,e){return function(){return i.apply(e,arguments)}}const{toString:Zl}=Object.prototype,{getPrototypeOf:Po}=Object,ws=(i=>e=>{const r=Zl.call(e);return i[r]||(i[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),hr=i=>(i=i.toLowerCase(),e=>ws(e)===i),xs=i=>e=>typeof e===i,{isArray:Vn}=Array,wi=xs("undefined");function ef(i){return i!==null&&!wi(i)&&i.constructor!==null&&!wi(i.constructor)&&nr(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const ou=hr("ArrayBuffer");function tf(i){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(i):e=i&&i.buffer&&ou(i.buffer),e}const rf=xs("string"),nr=xs("function"),au=xs("number"),vs=i=>i!==null&&typeof i=="object",nf=i=>i===!0||i===!1,Ki=i=>{if(ws(i)!=="object")return!1;const e=Po(i);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)},sf=hr("Date"),of=hr("File"),af=hr("Blob"),uf=hr("FileList"),lf=i=>vs(i)&&nr(i.pipe),ff=i=>{let e;return i&&(typeof FormData=="function"&&i instanceof FormData||nr(i.append)&&((e=ws(i))==="formdata"||e==="object"&&nr(i.toString)&&i.toString()==="[object FormData]"))},cf=hr("URLSearchParams"),[hf,df,pf,_f]=["ReadableStream","Request","Response","Headers"].map(hr),gf=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ki(i,e,{allOwnKeys:r=!1}={}){if(i===null||typeof i>"u")return;let t,n;if(typeof i!="object"&&(i=[i]),Vn(i))for(t=0,n=i.length;t<n;t++)e.call(null,i[t],t,i);else{const s=r?Object.getOwnPropertyNames(i):Object.keys(i),o=s.length;let a;for(t=0;t<o;t++)a=s[t],e.call(null,i[a],a,i)}}function uu(i,e){e=e.toLowerCase();const r=Object.keys(i);let t=r.length,n;for(;t-- >0;)if(n=r[t],e===n.toLowerCase())return n;return null}const lu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fu=i=>!wi(i)&&i!==lu;function Gs(){const{caseless:i}=fu(this)&&this||{},e={},r=(t,n)=>{const s=i&&uu(e,n)||n;Ki(e[s])&&Ki(t)?e[s]=Gs(e[s],t):Ki(t)?e[s]=Gs({},t):Vn(t)?e[s]=t.slice():e[s]=t};for(let t=0,n=arguments.length;t<n;t++)arguments[t]&&ki(arguments[t],r);return e}const mf=(i,e,r,{allOwnKeys:t}={})=>(ki(e,(n,s)=>{r&&nr(n)?i[s]=su(n,r):i[s]=n},{allOwnKeys:t}),i),yf=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),bf=(i,e,r,t)=>{i.prototype=Object.create(e.prototype,t),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:e.prototype}),r&&Object.assign(i.prototype,r)},wf=(i,e,r,t)=>{let n,s,o;const a={};if(e=e||{},i==null)return e;do{for(n=Object.getOwnPropertyNames(i),s=n.length;s-- >0;)o=n[s],(!t||t(o,i,e))&&!a[o]&&(e[o]=i[o],a[o]=!0);i=r!==!1&&Po(i)}while(i&&(!r||r(i,e))&&i!==Object.prototype);return e},xf=(i,e,r)=>{i=String(i),(r===void 0||r>i.length)&&(r=i.length),r-=e.length;const t=i.indexOf(e,r);return t!==-1&&t===r},vf=i=>{if(!i)return null;if(Vn(i))return i;let e=i.length;if(!au(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=i[e];return r},Tf=(i=>e=>i&&e instanceof i)(typeof Uint8Array<"u"&&Po(Uint8Array)),Sf=(i,e)=>{const t=(i&&i[Symbol.iterator]).call(i);let n;for(;(n=t.next())&&!n.done;){const s=n.value;e.call(i,s[0],s[1])}},Ef=(i,e)=>{let r;const t=[];for(;(r=i.exec(e))!==null;)t.push(r);return t},Cf=hr("HTMLFormElement"),Pf=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,t,n){return t.toUpperCase()+n}),sa=(({hasOwnProperty:i})=>(e,r)=>i.call(e,r))(Object.prototype),Rf=hr("RegExp"),cu=(i,e)=>{const r=Object.getOwnPropertyDescriptors(i),t={};ki(r,(n,s)=>{let o;(o=e(n,s,i))!==!1&&(t[s]=o||n)}),Object.defineProperties(i,t)},Of=i=>{cu(i,(e,r)=>{if(nr(i)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const t=i[r];if(nr(t)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},kf=(i,e)=>{const r={},t=n=>{n.forEach(s=>{r[s]=!0})};return Vn(i)?t(i):t(String(i).split(e)),r},Af=()=>{},Df=(i,e)=>i!=null&&Number.isFinite(i=+i)?i:e,ks="abcdefghijklmnopqrstuvwxyz",oa="0123456789",hu={DIGIT:oa,ALPHA:ks,ALPHA_DIGIT:ks+ks.toUpperCase()+oa},Mf=(i=16,e=hu.ALPHA_DIGIT)=>{let r="";const{length:t}=e;for(;i--;)r+=e[Math.random()*t|0];return r};function Ff(i){return!!(i&&nr(i.append)&&i[Symbol.toStringTag]==="FormData"&&i[Symbol.iterator])}const Lf=i=>{const e=new Array(10),r=(t,n)=>{if(vs(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const s=Vn(t)?[]:{};return ki(t,(o,a)=>{const u=r(o,n+1);!wi(u)&&(s[a]=u)}),e[n]=void 0,s}}return t};return r(i,0)},Nf=hr("AsyncFunction"),Bf=i=>i&&(vs(i)||nr(i))&&nr(i.then)&&nr(i.catch),T={isArray:Vn,isArrayBuffer:ou,isBuffer:ef,isFormData:ff,isArrayBufferView:tf,isString:rf,isNumber:au,isBoolean:nf,isObject:vs,isPlainObject:Ki,isReadableStream:hf,isRequest:df,isResponse:pf,isHeaders:_f,isUndefined:wi,isDate:sf,isFile:of,isBlob:af,isRegExp:Rf,isFunction:nr,isStream:lf,isURLSearchParams:cf,isTypedArray:Tf,isFileList:uf,forEach:ki,merge:Gs,extend:mf,trim:gf,stripBOM:yf,inherits:bf,toFlatObject:wf,kindOf:ws,kindOfTest:hr,endsWith:xf,toArray:vf,forEachEntry:Sf,matchAll:Ef,isHTMLForm:Cf,hasOwnProperty:sa,hasOwnProp:sa,reduceDescriptors:cu,freezeMethods:Of,toObjectSet:kf,toCamelCase:Pf,noop:Af,toFiniteNumber:Df,findKey:uu,global:lu,isContextDefined:fu,ALPHABET:hu,generateString:Mf,isSpecCompliantForm:Ff,toJSONObject:Lf,isAsyncFn:Nf,isThenable:Bf};function J(i,e,r,t,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),t&&(this.request=t),n&&(this.response=n)}T.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:T.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const du=J.prototype,pu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(i=>{pu[i]={value:i}});Object.defineProperties(J,pu);Object.defineProperty(du,"isAxiosError",{value:!0});J.from=(i,e,r,t,n,s)=>{const o=Object.create(du);return T.toFlatObject(i,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),J.call(o,i.message,e,r,t,n),o.cause=i,o.name=i.name,s&&Object.assign(o,s),o};const zf=null;function Ks(i){return T.isPlainObject(i)||T.isArray(i)}function _u(i){return T.endsWith(i,"[]")?i.slice(0,-2):i}function aa(i,e,r){return i?i.concat(e).map(function(n,s){return n=_u(n),!r&&s?"["+n+"]":n}).join(r?".":""):e}function If(i){return T.isArray(i)&&!i.some(Ks)}const Uf=T.toFlatObject(T,{},null,function(e){return/^is[A-Z]/.test(e)});function Ts(i,e,r){if(!T.isObject(i))throw new TypeError("target must be an object");e=e||new FormData,r=T.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!T.isUndefined(g[h])});const t=r.metaTokens,n=r.visitor||l,s=r.dots,o=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&T.isSpecCompliantForm(e);if(!T.isFunction(n))throw new TypeError("visitor must be a function");function f(_){if(_===null)return"";if(T.isDate(_))return _.toISOString();if(!u&&T.isBlob(_))throw new J("Blob is not supported. Use a Buffer instead.");return T.isArrayBuffer(_)||T.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function l(_,h,g){let x=_;if(_&&!g&&typeof _=="object"){if(T.endsWith(h,"{}"))h=t?h:h.slice(0,-2),_=JSON.stringify(_);else if(T.isArray(_)&&If(_)||(T.isFileList(_)||T.endsWith(h,"[]"))&&(x=T.toArray(_)))return h=_u(h),x.forEach(function(E,b){!(T.isUndefined(E)||E===null)&&e.append(o===!0?aa([h],b,s):o===null?h:h+"[]",f(E))}),!1}return Ks(_)?!0:(e.append(aa(g,h,s),f(_)),!1)}const c=[],p=Object.assign(Uf,{defaultVisitor:l,convertValue:f,isVisitable:Ks});function d(_,h){if(!T.isUndefined(_)){if(c.indexOf(_)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(_),T.forEach(_,function(x,v){(!(T.isUndefined(x)||x===null)&&n.call(e,x,T.isString(v)?v.trim():v,h,p))===!0&&d(x,h?h.concat(v):[v])}),c.pop()}}if(!T.isObject(i))throw new TypeError("data must be an object");return d(i),e}function ua(i){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function Ro(i,e){this._pairs=[],i&&Ts(i,this,e)}const gu=Ro.prototype;gu.append=function(e,r){this._pairs.push([e,r])};gu.toString=function(e){const r=e?function(t){return e.call(this,t,ua)}:ua;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function qf(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function mu(i,e,r){if(!e)return i;const t=r&&r.encode||qf,n=r&&r.serialize;let s;if(n?s=n(e,r):s=T.isURLSearchParams(e)?e.toString():new Ro(e,r).toString(t),s){const o=i.indexOf("#");o!==-1&&(i=i.slice(0,o)),i+=(i.indexOf("?")===-1?"?":"&")+s}return i}class la{constructor(){this.handlers=[]}use(e,r,t){return this.handlers.push({fulfilled:e,rejected:r,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){T.forEach(this.handlers,function(t){t!==null&&e(t)})}}const yu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hf=typeof URLSearchParams<"u"?URLSearchParams:Ro,$f=typeof FormData<"u"?FormData:null,Yf=typeof Blob<"u"?Blob:null,Vf={isBrowser:!0,classes:{URLSearchParams:Hf,FormData:$f,Blob:Yf},protocols:["http","https","file","blob","url","data"]},Oo=typeof window<"u"&&typeof document<"u",Xf=(i=>Oo&&["ReactNative","NativeScript","NS"].indexOf(i)<0)(typeof navigator<"u"&&navigator.product),Wf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jf=Oo&&window.location.href||"http://localhost",Gf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Oo,hasStandardBrowserEnv:Xf,hasStandardBrowserWebWorkerEnv:Wf,origin:jf},Symbol.toStringTag,{value:"Module"})),cr={...Gf,...Vf};function Kf(i,e){return Ts(i,new cr.classes.URLSearchParams,Object.assign({visitor:function(r,t,n,s){return cr.isNode&&T.isBuffer(r)?(this.append(t,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Jf(i){return T.matchAll(/\w+|\[(\w*)]/g,i).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Qf(i){const e={},r=Object.keys(i);let t;const n=r.length;let s;for(t=0;t<n;t++)s=r[t],e[s]=i[s];return e}function bu(i){function e(r,t,n,s){let o=r[s++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),u=s>=r.length;return o=!o&&T.isArray(n)?n.length:o,u?(T.hasOwnProp(n,o)?n[o]=[n[o],t]:n[o]=t,!a):((!n[o]||!T.isObject(n[o]))&&(n[o]=[]),e(r,t,n[o],s)&&T.isArray(n[o])&&(n[o]=Qf(n[o])),!a)}if(T.isFormData(i)&&T.isFunction(i.entries)){const r={};return T.forEachEntry(i,(t,n)=>{e(Jf(t),n,r,0)}),r}return null}function Zf(i,e,r){if(T.isString(i))try{return(e||JSON.parse)(i),T.trim(i)}catch(t){if(t.name!=="SyntaxError")throw t}return(r||JSON.stringify)(i)}const Ai={transitional:yu,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const t=r.getContentType()||"",n=t.indexOf("application/json")>-1,s=T.isObject(e);if(s&&T.isHTMLForm(e)&&(e=new FormData(e)),T.isFormData(e))return n?JSON.stringify(bu(e)):e;if(T.isArrayBuffer(e)||T.isBuffer(e)||T.isStream(e)||T.isFile(e)||T.isBlob(e)||T.isReadableStream(e))return e;if(T.isArrayBufferView(e))return e.buffer;if(T.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(t.indexOf("application/x-www-form-urlencoded")>-1)return Kf(e,this.formSerializer).toString();if((a=T.isFileList(e))||t.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Ts(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return s||n?(r.setContentType("application/json",!1),Zf(e)):e}],transformResponse:[function(e){const r=this.transitional||Ai.transitional,t=r&&r.forcedJSONParsing,n=this.responseType==="json";if(T.isResponse(e)||T.isReadableStream(e))return e;if(e&&T.isString(e)&&(t&&!this.responseType||n)){const o=!(r&&r.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?J.from(a,J.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:cr.classes.FormData,Blob:cr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T.forEach(["delete","get","head","post","put","patch"],i=>{Ai.headers[i]={}});const ec=T.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tc=i=>{const e={};let r,t,n;return i&&i.split(`
`).forEach(function(o){n=o.indexOf(":"),r=o.substring(0,n).trim().toLowerCase(),t=o.substring(n+1).trim(),!(!r||e[r]&&ec[r])&&(r==="set-cookie"?e[r]?e[r].push(t):e[r]=[t]:e[r]=e[r]?e[r]+", "+t:t)}),e},fa=Symbol("internals");function Gn(i){return i&&String(i).trim().toLowerCase()}function Ji(i){return i===!1||i==null?i:T.isArray(i)?i.map(Ji):String(i)}function rc(i){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let t;for(;t=r.exec(i);)e[t[1]]=t[2];return e}const nc=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function As(i,e,r,t,n){if(T.isFunction(t))return t.call(this,e,r);if(n&&(e=r),!!T.isString(e)){if(T.isString(t))return e.indexOf(t)!==-1;if(T.isRegExp(t))return t.test(e)}}function ic(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,t)=>r.toUpperCase()+t)}function sc(i,e){const r=T.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(i,t+r,{value:function(n,s,o){return this[t].call(this,e,n,s,o)},configurable:!0})})}class At{constructor(e){e&&this.set(e)}set(e,r,t){const n=this;function s(a,u,f){const l=Gn(u);if(!l)throw new Error("header name must be a non-empty string");const c=T.findKey(n,l);(!c||n[c]===void 0||f===!0||f===void 0&&n[c]!==!1)&&(n[c||u]=Ji(a))}const o=(a,u)=>T.forEach(a,(f,l)=>s(f,l,u));if(T.isPlainObject(e)||e instanceof this.constructor)o(e,r);else if(T.isString(e)&&(e=e.trim())&&!nc(e))o(tc(e),r);else if(T.isHeaders(e))for(const[a,u]of e.entries())s(u,a,t);else e!=null&&s(r,e,t);return this}get(e,r){if(e=Gn(e),e){const t=T.findKey(this,e);if(t){const n=this[t];if(!r)return n;if(r===!0)return rc(n);if(T.isFunction(r))return r.call(this,n,t);if(T.isRegExp(r))return r.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Gn(e),e){const t=T.findKey(this,e);return!!(t&&this[t]!==void 0&&(!r||As(this,this[t],t,r)))}return!1}delete(e,r){const t=this;let n=!1;function s(o){if(o=Gn(o),o){const a=T.findKey(t,o);a&&(!r||As(t,t[a],a,r))&&(delete t[a],n=!0)}}return T.isArray(e)?e.forEach(s):s(e),n}clear(e){const r=Object.keys(this);let t=r.length,n=!1;for(;t--;){const s=r[t];(!e||As(this,this[s],s,e,!0))&&(delete this[s],n=!0)}return n}normalize(e){const r=this,t={};return T.forEach(this,(n,s)=>{const o=T.findKey(t,s);if(o){r[o]=Ji(n),delete r[s];return}const a=e?ic(s):String(s).trim();a!==s&&delete r[s],r[a]=Ji(n),t[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return T.forEach(this,(t,n)=>{t!=null&&t!==!1&&(r[n]=e&&T.isArray(t)?t.join(", "):t)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const t=new this(e);return r.forEach(n=>t.set(n)),t}static accessor(e){const t=(this[fa]=this[fa]={accessors:{}}).accessors,n=this.prototype;function s(o){const a=Gn(o);t[a]||(sc(n,o),t[a]=!0)}return T.isArray(e)?e.forEach(s):s(e),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T.reduceDescriptors(At.prototype,({value:i},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>i,set(t){this[r]=t}}});T.freezeMethods(At);function Ds(i,e){const r=this||Ai,t=e||r,n=At.from(t.headers);let s=t.data;return T.forEach(i,function(a){s=a.call(r,s,n.normalize(),e?e.status:void 0)}),n.normalize(),s}function wu(i){return!!(i&&i.__CANCEL__)}function Xn(i,e,r){J.call(this,i??"canceled",J.ERR_CANCELED,e,r),this.name="CanceledError"}T.inherits(Xn,J,{__CANCEL__:!0});function xu(i,e,r){const t=r.config.validateStatus;!r.status||!t||t(r.status)?i(r):e(new J("Request failed with status code "+r.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function oc(i){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return e&&e[1]||""}function ac(i,e){i=i||10;const r=new Array(i),t=new Array(i);let n=0,s=0,o;return e=e!==void 0?e:1e3,function(u){const f=Date.now(),l=t[s];o||(o=f),r[n]=u,t[n]=f;let c=s,p=0;for(;c!==n;)p+=r[c++],c=c%i;if(n=(n+1)%i,n===s&&(s=(s+1)%i),f-o<e)return;const d=l&&f-l;return d?Math.round(p*1e3/d):void 0}}function uc(i,e){let r=0;const t=1e3/e;let n=null;return function(){const o=this===!0,a=Date.now();if(o||a-r>t)return n&&(clearTimeout(n),n=null),r=a,i.apply(null,arguments);n||(n=setTimeout(()=>(n=null,r=Date.now(),i.apply(null,arguments)),t-(a-r)))}}const as=(i,e,r=3)=>{let t=0;const n=ac(50,250);return uc(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,u=o-t,f=n(u),l=o<=a;t=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:u,rate:f||void 0,estimated:f&&a&&l?(a-o)/f:void 0,event:s,lengthComputable:a!=null};c[e?"download":"upload"]=!0,i(c)},r)},lc=cr.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let t;function n(s){let o=s;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(o){const a=T.isString(o)?n(o):o;return a.protocol===t.protocol&&a.host===t.host}}():function(){return function(){return!0}}(),fc=cr.hasStandardBrowserEnv?{write(i,e,r,t,n,s){const o=[i+"="+encodeURIComponent(e)];T.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),T.isString(t)&&o.push("path="+t),T.isString(n)&&o.push("domain="+n),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(i){const e=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(i){this.write(i,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function cc(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function hc(i,e){return e?i.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):i}function vu(i,e){return i&&!cc(e)?hc(i,e):e}const ca=i=>i instanceof At?{...i}:i;function yn(i,e){e=e||{};const r={};function t(f,l,c){return T.isPlainObject(f)&&T.isPlainObject(l)?T.merge.call({caseless:c},f,l):T.isPlainObject(l)?T.merge({},l):T.isArray(l)?l.slice():l}function n(f,l,c){if(T.isUndefined(l)){if(!T.isUndefined(f))return t(void 0,f,c)}else return t(f,l,c)}function s(f,l){if(!T.isUndefined(l))return t(void 0,l)}function o(f,l){if(T.isUndefined(l)){if(!T.isUndefined(f))return t(void 0,f)}else return t(void 0,l)}function a(f,l,c){if(c in e)return t(f,l);if(c in i)return t(void 0,f)}const u={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(f,l)=>n(ca(f),ca(l),!0)};return T.forEach(Object.keys(Object.assign({},i,e)),function(l){const c=u[l]||n,p=c(i[l],e[l],l);T.isUndefined(p)&&c!==a||(r[l]=p)}),r}const Tu=i=>{const e=yn({},i);let{data:r,withXSRFToken:t,xsrfHeaderName:n,xsrfCookieName:s,headers:o,auth:a}=e;e.headers=o=At.from(o),e.url=mu(vu(e.baseURL,e.url),i.params,i.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(T.isFormData(r)){if(cr.hasStandardBrowserEnv||cr.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){const[f,...l]=u?u.split(";").map(c=>c.trim()).filter(Boolean):[];o.setContentType([f||"multipart/form-data",...l].join("; "))}}if(cr.hasStandardBrowserEnv&&(t&&T.isFunction(t)&&(t=t(e)),t||t!==!1&&lc(e.url))){const f=n&&s&&fc.read(s);f&&o.set(n,f)}return e},dc=typeof XMLHttpRequest<"u",pc=dc&&function(i){return new Promise(function(r,t){const n=Tu(i);let s=n.data;const o=At.from(n.headers).normalize();let{responseType:a}=n,u;function f(){n.cancelToken&&n.cancelToken.unsubscribe(u),n.signal&&n.signal.removeEventListener("abort",u)}let l=new XMLHttpRequest;l.open(n.method.toUpperCase(),n.url,!0),l.timeout=n.timeout;function c(){if(!l)return;const d=At.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),h={data:!a||a==="text"||a==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:d,config:i,request:l};xu(function(x){r(x),f()},function(x){t(x),f()},h),l=null}"onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(c)},l.onabort=function(){l&&(t(new J("Request aborted",J.ECONNABORTED,n,l)),l=null)},l.onerror=function(){t(new J("Network Error",J.ERR_NETWORK,n,l)),l=null},l.ontimeout=function(){let _=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const h=n.transitional||yu;n.timeoutErrorMessage&&(_=n.timeoutErrorMessage),t(new J(_,h.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,n,l)),l=null},s===void 0&&o.setContentType(null),"setRequestHeader"in l&&T.forEach(o.toJSON(),function(_,h){l.setRequestHeader(h,_)}),T.isUndefined(n.withCredentials)||(l.withCredentials=!!n.withCredentials),a&&a!=="json"&&(l.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&l.addEventListener("progress",as(n.onDownloadProgress,!0)),typeof n.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",as(n.onUploadProgress)),(n.cancelToken||n.signal)&&(u=d=>{l&&(t(!d||d.type?new Xn(null,i,l):d),l.abort(),l=null)},n.cancelToken&&n.cancelToken.subscribe(u),n.signal&&(n.signal.aborted?u():n.signal.addEventListener("abort",u)));const p=oc(n.url);if(p&&cr.protocols.indexOf(p)===-1){t(new J("Unsupported protocol "+p+":",J.ERR_BAD_REQUEST,i));return}l.send(s||null)})},_c=(i,e)=>{let r=new AbortController,t;const n=function(u){if(!t){t=!0,o();const f=u instanceof Error?u:this.reason;r.abort(f instanceof J?f:new Xn(f instanceof Error?f.message:f))}};let s=e&&setTimeout(()=>{n(new J(`timeout ${e} of ms exceeded`,J.ETIMEDOUT))},e);const o=()=>{i&&(s&&clearTimeout(s),s=null,i.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",n):u.unsubscribe(n))}),i=null)};i.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",n));const{signal:a}=r;return a.unsubscribe=o,[a,()=>{s&&clearTimeout(s),s=null}]},gc=function*(i,e){let r=i.byteLength;if(!e||r<e){yield i;return}let t=0,n;for(;t<r;)n=t+e,yield i.slice(t,n),t=n},mc=async function*(i,e,r){for await(const t of i)yield*gc(ArrayBuffer.isView(t)?t:await r(String(t)),e)},ha=(i,e,r,t,n)=>{const s=mc(i,e,n);let o=0;return new ReadableStream({type:"bytes",async pull(a){const{done:u,value:f}=await s.next();if(u){a.close(),t();return}let l=f.byteLength;r&&r(o+=l),a.enqueue(new Uint8Array(f))},cancel(a){return t(a),s.return()}},{highWaterMark:2})},da=(i,e)=>{const r=i!=null;return t=>setTimeout(()=>e({lengthComputable:r,total:i,loaded:t}))},Ss=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Su=Ss&&typeof ReadableStream=="function",Js=Ss&&(typeof TextEncoder=="function"?(i=>e=>i.encode(e))(new TextEncoder):async i=>new Uint8Array(await new Response(i).arrayBuffer())),yc=Su&&(()=>{let i=!1;const e=new Request(cr.origin,{body:new ReadableStream,method:"POST",get duplex(){return i=!0,"half"}}).headers.has("Content-Type");return i&&!e})(),pa=64*1024,Qs=Su&&!!(()=>{try{return T.isReadableStream(new Response("").body)}catch{}})(),us={stream:Qs&&(i=>i.body)};Ss&&(i=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!us[e]&&(us[e]=T.isFunction(i[e])?r=>r[e]():(r,t)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,t)})})})(new Response);const bc=async i=>{if(i==null)return 0;if(T.isBlob(i))return i.size;if(T.isSpecCompliantForm(i))return(await new Request(i).arrayBuffer()).byteLength;if(T.isArrayBufferView(i))return i.byteLength;if(T.isURLSearchParams(i)&&(i=i+""),T.isString(i))return(await Js(i)).byteLength},wc=async(i,e)=>{const r=T.toFiniteNumber(i.getContentLength());return r??bc(e)},xc=Ss&&(async i=>{let{url:e,method:r,data:t,signal:n,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:u,responseType:f,headers:l,withCredentials:c="same-origin",fetchOptions:p}=Tu(i);f=f?(f+"").toLowerCase():"text";let[d,_]=n||s||o?_c([n,s],o):[],h,g;const x=()=>{!h&&setTimeout(()=>{d&&d.unsubscribe()}),h=!0};let v;try{if(u&&yc&&r!=="get"&&r!=="head"&&(v=await wc(l,t))!==0){let P=new Request(e,{method:"POST",body:t,duplex:"half"}),S;T.isFormData(t)&&(S=P.headers.get("content-type"))&&l.setContentType(S),P.body&&(t=ha(P.body,pa,da(v,as(u)),null,Js))}T.isString(c)||(c=c?"cors":"omit"),g=new Request(e,{...p,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:t,duplex:"half",withCredentials:c});let E=await fetch(g);const b=Qs&&(f==="stream"||f==="response");if(Qs&&(a||b)){const P={};["status","statusText","headers"].forEach(A=>{P[A]=E[A]});const S=T.toFiniteNumber(E.headers.get("content-length"));E=new Response(ha(E.body,pa,a&&da(S,as(a,!0)),b&&x,Js),P)}f=f||"text";let C=await us[T.findKey(us,f)||"text"](E,i);return!b&&x(),_&&_(),await new Promise((P,S)=>{xu(P,S,{data:C,headers:At.from(E.headers),status:E.status,statusText:E.statusText,config:i,request:g})})}catch(E){throw x(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,i,g),{cause:E.cause||E}):J.from(E,E&&E.code,i,g)}}),Zs={http:zf,xhr:pc,fetch:xc};T.forEach(Zs,(i,e)=>{if(i){try{Object.defineProperty(i,"name",{value:e})}catch{}Object.defineProperty(i,"adapterName",{value:e})}});const _a=i=>`- ${i}`,vc=i=>T.isFunction(i)||i===null||i===!1,Eu={getAdapter:i=>{i=T.isArray(i)?i:[i];const{length:e}=i;let r,t;const n={};for(let s=0;s<e;s++){r=i[s];let o;if(t=r,!vc(r)&&(t=Zs[(o=String(r)).toLowerCase()],t===void 0))throw new J(`Unknown adapter '${o}'`);if(t)break;n[o||"#"+s]=t}if(!t){const s=Object.entries(n).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let o=e?s.length>1?`since :
`+s.map(_a).join(`
`):" "+_a(s[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return t},adapters:Zs};function Ms(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new Xn(null,i)}function ga(i){return Ms(i),i.headers=At.from(i.headers),i.data=Ds.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),Eu.getAdapter(i.adapter||Ai.adapter)(i).then(function(t){return Ms(i),t.data=Ds.call(i,i.transformResponse,t),t.headers=At.from(t.headers),t},function(t){return wu(t)||(Ms(i),t&&t.response&&(t.response.data=Ds.call(i,i.transformResponse,t.response),t.response.headers=At.from(t.response.headers))),Promise.reject(t)})}const Cu="1.7.2",ko={};["object","boolean","number","function","string","symbol"].forEach((i,e)=>{ko[i]=function(t){return typeof t===i||"a"+(e<1?"n ":" ")+i}});const ma={};ko.transitional=function(e,r,t){function n(s,o){return"[Axios v"+Cu+"] Transitional option '"+s+"'"+o+(t?". "+t:"")}return(s,o,a)=>{if(e===!1)throw new J(n(o," has been removed"+(r?" in "+r:"")),J.ERR_DEPRECATED);return r&&!ma[o]&&(ma[o]=!0,console.warn(n(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}};function Tc(i,e,r){if(typeof i!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const t=Object.keys(i);let n=t.length;for(;n-- >0;){const s=t[n],o=e[s];if(o){const a=i[s],u=a===void 0||o(a,s,i);if(u!==!0)throw new J("option "+s+" must be "+u,J.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new J("Unknown option "+s,J.ERR_BAD_OPTION)}}const eo={assertOptions:Tc,validators:ko},Nr=eo.validators;class fn{constructor(e){this.defaults=e,this.interceptors={request:new la,response:new la}}async request(e,r){try{return await this._request(e,r)}catch(t){if(t instanceof Error){let n;Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error;const s=n.stack?n.stack.replace(/^.+\n/,""):"";try{t.stack?s&&!String(t.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(t.stack+=`
`+s):t.stack=s}catch{}}throw t}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=yn(this.defaults,r);const{transitional:t,paramsSerializer:n,headers:s}=r;t!==void 0&&eo.assertOptions(t,{silentJSONParsing:Nr.transitional(Nr.boolean),forcedJSONParsing:Nr.transitional(Nr.boolean),clarifyTimeoutError:Nr.transitional(Nr.boolean)},!1),n!=null&&(T.isFunction(n)?r.paramsSerializer={serialize:n}:eo.assertOptions(n,{encode:Nr.function,serialize:Nr.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&T.merge(s.common,s[r.method]);s&&T.forEach(["delete","get","head","post","put","patch","common"],_=>{delete s[_]}),r.headers=At.concat(o,s);const a=[];let u=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(u=u&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const f=[];this.interceptors.response.forEach(function(h){f.push(h.fulfilled,h.rejected)});let l,c=0,p;if(!u){const _=[ga.bind(this),void 0];for(_.unshift.apply(_,a),_.push.apply(_,f),p=_.length,l=Promise.resolve(r);c<p;)l=l.then(_[c++],_[c++]);return l}p=a.length;let d=r;for(c=0;c<p;){const _=a[c++],h=a[c++];try{d=_(d)}catch(g){h.call(this,g);break}}try{l=ga.call(this,d)}catch(_){return Promise.reject(_)}for(c=0,p=f.length;c<p;)l=l.then(f[c++],f[c++]);return l}getUri(e){e=yn(this.defaults,e);const r=vu(e.baseURL,e.url);return mu(r,e.params,e.paramsSerializer)}}T.forEach(["delete","get","head","options"],function(e){fn.prototype[e]=function(r,t){return this.request(yn(t||{},{method:e,url:r,data:(t||{}).data}))}});T.forEach(["post","put","patch"],function(e){function r(t){return function(s,o,a){return this.request(yn(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}fn.prototype[e]=r(),fn.prototype[e+"Form"]=r(!0)});class Ao{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const t=this;this.promise.then(n=>{if(!t._listeners)return;let s=t._listeners.length;for(;s-- >0;)t._listeners[s](n);t._listeners=null}),this.promise.then=n=>{let s;const o=new Promise(a=>{t.subscribe(a),s=a}).then(n);return o.cancel=function(){t.unsubscribe(s)},o},e(function(s,o,a){t.reason||(t.reason=new Xn(s,o,a),r(t.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new Ao(function(n){e=n}),cancel:e}}}function Sc(i){return function(r){return i.apply(null,r)}}function Ec(i){return T.isObject(i)&&i.isAxiosError===!0}const to={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(to).forEach(([i,e])=>{to[e]=i});function Pu(i){const e=new fn(i),r=su(fn.prototype.request,e);return T.extend(r,fn.prototype,e,{allOwnKeys:!0}),T.extend(r,e,null,{allOwnKeys:!0}),r.create=function(n){return Pu(yn(i,n))},r}const Ye=Pu(Ai);Ye.Axios=fn;Ye.CanceledError=Xn;Ye.CancelToken=Ao;Ye.isCancel=wu;Ye.VERSION=Cu;Ye.toFormData=Ts;Ye.AxiosError=J;Ye.Cancel=Ye.CanceledError;Ye.all=function(e){return Promise.all(e)};Ye.spread=Sc;Ye.isAxiosError=Ec;Ye.mergeConfig=yn;Ye.AxiosHeaders=At;Ye.formToJSON=i=>bu(T.isHTMLForm(i)?new FormData(i):i);Ye.getAdapter=Eu.getAdapter;Ye.HttpStatusCode=to;Ye.default=Ye;const Cc=Ye.create({baseURL:`${window.location.origin}`,withCredentials:!0,headers:{"Content-Type":"application/json"}});Cc.interceptors.response.use(i=>Promise.resolve(i),i=>{const{status:e}=i.response;return console.warn("error in rest-axios",e),Promise.reject(i)});function Pr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function Ru(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}/*!
* GSAP 3.14.1
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var jt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},zn={duration:.5,overwrite:!1,delay:0},Do,lt,Ce,tr=1e8,xe=1/tr,ro=Math.PI*2,Pc=ro/4,Rc=0,Ou=Math.sqrt,Oc=Math.cos,kc=Math.sin,it=function(e){return typeof e=="string"},Le=function(e){return typeof e=="function"},Dr=function(e){return typeof e=="number"},Mo=function(e){return typeof e>"u"},Sr=function(e){return typeof e=="object"},Dt=function(e){return e!==!1},Fo=function(){return typeof window<"u"},Li=function(e){return Le(e)||it(e)},ku=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},bt=Array.isArray,Ac=/random\([^)]+\)/g,Dc=/,\s*/g,ya=/(?:-?\.?\d|\.)+/gi,Au=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,On=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Fs=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Du=/[+-]=-?[.\d]+/,Mc=/[^,'"\[\]\s]+/gi,Fc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ae,mr,no,Lo,Gt={},ls={},Mu,Fu=function(e){return(ls=In(e,Gt))&&Nt},No=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},xi=function(e,r){return!r&&console.warn(e)},Lu=function(e,r){return e&&(Gt[e]=r)&&ls&&(ls[e]=r)||Gt},vi=function(){return 0},Lc={suppressEvents:!0,isStart:!0,kill:!1},Qi={suppressEvents:!0,kill:!1},Nc={suppressEvents:!0},Bo={},Vr=[],io={},Nu,Ht={},Ls={},ba=30,Zi=[],zo="",Io=function(e){var r=e[0],t,n;if(Sr(r)||Le(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=Zi.length;n--&&!Zi[n].targetTest(r););t=Zi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new ol(e[n],t)))||e.splice(n,1);return e},cn=function(e){return e._gsap||Io(rr(e))[0]._gsap},Bu=function(e,r,t){return(t=e[r])&&Le(t)?e[r]():Mo(t)&&e.getAttribute&&e.getAttribute(r)||t},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},ze=function(e){return Math.round(e*1e5)/1e5||0},ke=function(e){return Math.round(e*1e7)/1e7||0},Dn=function(e,r){var t=r.charAt(0),n=parseFloat(r.substr(2));return e=parseFloat(e),t==="+"?e+n:t==="-"?e-n:t==="*"?e*n:e/n},Bc=function(e,r){for(var t=r.length,n=0;e.indexOf(r[n])<0&&++n<t;);return n<t},fs=function(){var e=Vr.length,r=Vr.slice(0),t,n;for(io={},Vr.length=0,t=0;t<e;t++)n=r[t],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},Uo=function(e){return!!(e._initted||e._startAt||e.add)},zu=function(e,r,t,n){Vr.length&&!lt&&fs(),e.render(r,t,!!(lt&&r<0&&Uo(e))),Vr.length&&!lt&&fs()},Iu=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(Mc).length<2?r:it(e)?e.trim():e},Uu=function(e){return e},Kt=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},zc=function(e){return function(r,t){for(var n in t)n in r||n==="duration"&&e||n==="ease"||(r[n]=t[n])}},In=function(e,r){for(var t in r)e[t]=r[t];return e},wa=function i(e,r){for(var t in r)t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&(e[t]=Sr(r[t])?i(e[t]||(e[t]={}),r[t]):r[t]);return e},cs=function(e,r){var t={},n;for(n in e)n in r||(t[n]=e[n]);return t},ai=function(e){var r=e.parent||Ae,t=e.keyframes?zc(bt(e.keyframes)):Kt;if(Dt(e.inherit))for(;r;)t(e,r.vars.defaults),r=r.parent||r._dp;return e},Ic=function(e,r){for(var t=e.length,n=t===r.length;n&&t--&&e[t]===r[t];);return t<0},qu=function(e,r,t,n,s){var o=e[n],a;if(s)for(a=r[s];o&&o[s]>a;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=e[t],e[t]=r),r._next?r._next._prev=r:e[n]=r,r._prev=o,r.parent=r._dp=e,r},Es=function(e,r,t,n){t===void 0&&(t="_first"),n===void 0&&(n="_last");var s=r._prev,o=r._next;s?s._next=o:e[t]===r&&(e[t]=o),o?o._prev=s:e[n]===r&&(e[n]=s),r._next=r._prev=r.parent=null},jr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},hn=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},Uc=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},so=function(e,r,t,n){return e._startAt&&(lt?e._startAt.revert(Qi):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,n))},qc=function i(e){return!e||e._ts&&i(e.parent)},xa=function(e){return e._repeat?Un(e._tTime,e=e.duration()+e._rDelay)*e:0},Un=function(e,r){var t=Math.floor(e=ke(e/r));return e&&t===e?t-1:t},hs=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},Cs=function(e){return e._end=ke(e._start+(e._tDur/Math.abs(e._ts||e._rts||xe)||0))},Ps=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=ke(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),Cs(e),t._dirty||hn(t,e)),e},Hu=function(e,r){var t;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(t=hs(e.rawTime(),r),(!r._dur||Di(0,r.totalDuration(),t)-r._tTime>xe)&&r.render(t,!0)),hn(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(t=e;t._dp;)t.rawTime()>=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-xe}},wr=function(e,r,t,n){return r.parent&&jr(r),r._start=ke((Dr(t)?t:t||e!==Ae?Qt(e,t,r):e._time)+r._delay),r._end=ke(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),qu(e,r,"_first","_last",e._sort?"_start":0),oo(r)||(e._recent=r),n||Hu(e,r),e._ts<0&&Ps(e,e._tTime),e},$u=function(e,r){return(Gt.ScrollTrigger||No("scrollTrigger",r))&&Gt.ScrollTrigger.create(r,e)},Yu=function(e,r,t,n,s){if(Ho(e,r,s),!e._initted)return 1;if(!t&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Nu!==Yt.frame)return Vr.push(e),e._lazy=[s,n],1},Hc=function i(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||i(r))},oo=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},$c=function(e,r,t,n){var s=e.ratio,o=r<0||!r&&(!e._start&&Hc(e)&&!(!e._initted&&oo(e))||(e._ts<0||e._dp._ts<0)&&!oo(e))?0:1,a=e._rDelay,u=0,f,l,c;if(a&&e._repeat&&(u=Di(0,e._tDur,r),l=Un(u,a),e._yoyo&&l&1&&(o=1-o),l!==Un(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||lt||n||e._zTime===xe||!r&&e._zTime){if(!e._initted&&Yu(e,r,n,t,u))return;for(c=e._zTime,e._zTime=r||(t?xe:0),t||(t=r&&!c),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=u,f=e._pt;f;)f.r(o,f.d),f=f._next;r<0&&so(e,r,t,!0),e._onUpdate&&!t&&Xt(e,"onUpdate"),u&&e._repeat&&!t&&e.parent&&Xt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===o&&(o&&jr(e,1),!t&&!lt&&(Xt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Yc=function(e,r,t){var n;if(t>r)for(n=e._first;n&&n._start<=t;){if(n.data==="isPause"&&n._start>r)return n;n=n._next}else for(n=e._last;n&&n._start>=t;){if(n.data==="isPause"&&n._start<r)return n;n=n._prev}},qn=function(e,r,t,n){var s=e._repeat,o=ke(r)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:ke(o*(s+1)+e._rDelay*s):o,a>0&&!n&&Ps(e,e._tTime=e._tDur*a),e.parent&&Cs(e),t||hn(e.parent,e),e},va=function(e){return e instanceof Pt?hn(e):qn(e,e._dur)},Vc={_start:0,endTime:vi,totalDuration:vi},Qt=function i(e,r,t){var n=e.labels,s=e._recent||Vc,o=e.duration()>=tr?s.endTime(!1):e._dur,a,u,f;return it(r)&&(isNaN(r)||r in n)?(u=r.charAt(0),f=r.substr(-1)==="%",a=r.indexOf("="),u==="<"||u===">"?(a>=0&&(r=r.replace(/=/,"")),(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(f?(a<0?s:t).totalDuration()/100:1)):a<0?(r in n||(n[r]=o),n[r]):(u=parseFloat(r.charAt(a-1)+r.substr(a+1)),f&&t&&(u=u/100*(bt(t)?t[0]:t).totalDuration()),a>1?i(e,r.substr(0,a-1),t)+u:o+u)):r==null?o:+r},ui=function(e,r,t){var n=Dr(r[1]),s=(n?2:1)+(e<2?0:1),o=r[s],a,u;if(n&&(o.duration=r[1]),o.parent=t,e){for(a=o,u=t;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=Dt(u.vars.inherit)&&u.parent;o.immediateRender=Dt(a.immediateRender),e<2?o.runBackwards=1:o.startAt=r[s-1]}return new $e(r[0],o,r[s+1])},Qr=function(e,r){return e||e===0?r(e):r},Di=function(e,r,t){return t<e?e:t>r?r:t},mt=function(e,r){return!it(e)||!(r=Fc.exec(e))?"":r[1]},Xc=function(e,r,t){return Qr(t,function(n){return Di(e,r,n)})},ao=[].slice,Vu=function(e,r){return e&&Sr(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Sr(e[0]))&&!e.nodeType&&e!==mr},Wc=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(n){var s;return it(n)&&!r||Vu(n,1)?(s=t).push.apply(s,rr(n)):t.push(n)})||t},rr=function(e,r,t){return Ce&&!r&&Ce.selector?Ce.selector(e):it(e)&&!t&&(no||!Hn())?ao.call((r||Lo).querySelectorAll(e),0):bt(e)?Wc(e,t):Vu(e)?ao.call(e,0):e?[e]:[]},uo=function(e){return e=rr(e)[0]||xi("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return rr(r,t.querySelectorAll?t:t===e?xi("Invalid scope")||Lo.createElement("div"):e)}},Xu=function(e){return e.sort(function(){return .5-Math.random()})},Wu=function(e){if(Le(e))return e;var r=Sr(e)?e:{each:e},t=dn(r.ease),n=r.from||0,s=parseFloat(r.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,f=r.axis,l=n,c=n;return it(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(l=n[0],c=n[1]),function(p,d,_){var h=(_||r).length,g=o[h],x,v,E,b,C,P,S,A,R;if(!g){if(R=r.grid==="auto"?0:(r.grid||[1,tr])[1],!R){for(S=-tr;S<(S=_[R++].getBoundingClientRect().left)&&R<h;);R<h&&R--}for(g=o[h]=[],x=u?Math.min(R,h)*l-.5:n%R,v=R===tr?0:u?h*c/R-.5:n/R|0,S=0,A=tr,P=0;P<h;P++)E=P%R-x,b=v-(P/R|0),g[P]=C=f?Math.abs(f==="y"?b:E):Ou(E*E+b*b),C>S&&(S=C),C<A&&(A=C);n==="random"&&Xu(g),g.max=S-A,g.min=A,g.v=h=(parseFloat(r.amount)||parseFloat(r.each)*(R>h?h-1:f?f==="y"?h/R:R:Math.max(R,h/R))||0)*(n==="edges"?-1:1),g.b=h<0?s-h:s,g.u=mt(r.amount||r.each)||0,t=t&&h<0?nl(t):t}return h=(g[p]-g.min)/g.max||0,ke(g.b+(t?t(h):h)*g.v)+g.u}},lo=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var n=ke(Math.round(parseFloat(t)/e)*e*r);return(n-n%1)/r+(Dr(t)?0:mt(t))}},ju=function(e,r){var t=bt(e),n,s;return!t&&Sr(e)&&(n=t=e.radius||tr,e.values?(e=rr(e.values),(s=!Dr(e[0]))&&(n*=n)):e=lo(e.increment)),Qr(r,t?Le(e)?function(o){return s=e(o),Math.abs(s-o)<=n?s:o}:function(o){for(var a=parseFloat(s?o.x:o),u=parseFloat(s?o.y:0),f=tr,l=0,c=e.length,p,d;c--;)s?(p=e[c].x-a,d=e[c].y-u,p=p*p+d*d):p=Math.abs(e[c]-a),p<f&&(f=p,l=c);return l=!n||f<=n?e[l]:o,s||l===o||Dr(o)?l:l+mt(o)}:lo(e))},Gu=function(e,r,t,n){return Qr(bt(e)?!r:t===!0?!!(t=0):!n,function(){return bt(e)?e[~~(Math.random()*e.length)]:(t=t||1e-5)&&(n=t<1?Math.pow(10,(t+"").length-2):1)&&Math.floor(Math.round((e-t/2+Math.random()*(r-e+t*.99))/t)*t*n)/n})},jc=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(n){return r.reduce(function(s,o){return o(s)},n)}},Gc=function(e,r){return function(t){return e(parseFloat(t))+(r||mt(t))}},Kc=function(e,r,t){return Ju(e,r,0,1,t)},Ku=function(e,r,t){return Qr(t,function(n){return e[~~r(n)]})},Jc=function i(e,r,t){var n=r-e;return bt(e)?Ku(e,i(0,e.length),r):Qr(t,function(s){return(n+(s-e)%n)%n+e})},Qc=function i(e,r,t){var n=r-e,s=n*2;return bt(e)?Ku(e,i(0,e.length-1),r):Qr(t,function(o){return o=(s+(o-e)%s)%s||0,e+(o>n?s-o:o)})},Ti=function(e){return e.replace(Ac,function(r){var t=r.indexOf("[")+1,n=r.substring(t||7,t?r.indexOf("]"):r.length-1).split(Dc);return Gu(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Ju=function(e,r,t,n,s){var o=r-e,a=n-t;return Qr(s,function(u){return t+((u-e)/o*a||0)})},Zc=function i(e,r,t,n){var s=isNaN(e+r)?0:function(d){return(1-d)*e+d*r};if(!s){var o=it(e),a={},u,f,l,c,p;if(t===!0&&(n=1)&&(t=null),o)e={p:e},r={p:r};else if(bt(e)&&!bt(r)){for(l=[],c=e.length,p=c-2,f=1;f<c;f++)l.push(i(e[f-1],e[f]));c--,s=function(_){_*=c;var h=Math.min(p,~~_);return l[h](_-h)},t=r}else n||(e=In(bt(e)?[]:{},e));if(!l){for(u in r)qo.call(a,e,u,"get",r[u]);s=function(_){return Vo(_,a)||(o?e.p:e)}}}return Qr(t,s)},Ta=function(e,r,t){var n=e.labels,s=tr,o,a,u;for(o in n)a=n[o]-r,a<0==!!t&&a&&s>(a=Math.abs(a))&&(u=o,s=a);return u},Xt=function(e,r,t){var n=e.vars,s=n[r],o=Ce,a=e._ctx,u,f,l;if(s)return u=n[r+"Params"],f=n.callbackScope||e,t&&Vr.length&&fs(),a&&(Ce=a),l=u?s.apply(f,u):s.call(f),Ce=o,l},Zn=function(e){return jr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&Xt(e,"onInterrupt"),e},kn,Qu=[],Zu=function(e){if(e)if(e=!e.name&&e.default||e,Fo()||e.headless){var r=e.name,t=Le(e),n=r&&!t&&e.init?function(){this._props=[]}:e,s={init:vi,render:Vo,add:qo,kill:_h,modifier:ph,rawVars:0},o={targetTest:0,get:0,getSetter:Yo,aliases:{},register:0};if(Hn(),e!==n){if(Ht[r])return;Kt(n,Kt(cs(e,s),o)),In(n.prototype,In(s,cs(e,o))),Ht[n.prop=r]=n,e.targetTest&&(Zi.push(n),Bo[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}Lu(r,n),e.register&&e.register(Nt,n,Ft)}else Qu.push(e)},we=255,ei={aqua:[0,we,we],lime:[0,we,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,we],navy:[0,0,128],white:[we,we,we],olive:[128,128,0],yellow:[we,we,0],orange:[we,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[we,0,0],pink:[we,192,203],cyan:[0,we,we],transparent:[we,we,we,0]},Ns=function(e,r,t){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(t-r)*e*6:e<.5?t:e*3<2?r+(t-r)*(2/3-e)*6:r)*we+.5|0},el=function(e,r,t){var n=e?Dr(e)?[e>>16,e>>8&we,e&we]:0:ei.black,s,o,a,u,f,l,c,p,d,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),ei[e])n=ei[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&we,n&we,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&we,e&we]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(ya),!r)u=+n[0]%360/360,f=+n[1]/100,l=+n[2]/100,o=l<=.5?l*(f+1):l+f-l*f,s=l*2-o,n.length>3&&(n[3]*=1),n[0]=Ns(u+1/3,s,o),n[1]=Ns(u,s,o),n[2]=Ns(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(Au),t&&n.length<4&&(n[3]=1),n}else n=e.match(ya)||ei.transparent;n=n.map(Number)}return r&&!_&&(s=n[0]/we,o=n[1]/we,a=n[2]/we,c=Math.max(s,o,a),p=Math.min(s,o,a),l=(c+p)/2,c===p?u=f=0:(d=c-p,f=l>.5?d/(2-c-p):d/(c+p),u=c===s?(o-a)/d+(o<a?6:0):c===o?(a-s)/d+2:(s-o)/d+4,u*=60),n[0]=~~(u+.5),n[1]=~~(f*100+.5),n[2]=~~(l*100+.5)),t&&n.length<4&&(n[3]=1),n},tl=function(e){var r=[],t=[],n=-1;return e.split(Xr).forEach(function(s){var o=s.match(On)||[];r.push.apply(r,o),t.push(n+=o.length+1)}),r.c=t,r},Sa=function(e,r,t){var n="",s=(e+n).match(Xr),o=r?"hsla(":"rgba(",a=0,u,f,l,c;if(!s)return e;if(s=s.map(function(p){return(p=el(p,r,1))&&o+(r?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),t&&(l=tl(e),u=t.c,u.join(n)!==l.c.join(n)))for(f=e.replace(Xr,"1").split(On),c=f.length-1;a<c;a++)n+=f[a]+(~u.indexOf(a)?s.shift()||o+"0,0,0,0)":(l.length?l:s.length?s:t).shift());if(!f)for(f=e.split(Xr),c=f.length-1;a<c;a++)n+=f[a]+s[a];return n+f[c]},Xr=function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in ei)i+="|"+e+"\\b";return new RegExp(i+")","gi")}(),eh=/hsl[a]?\(/,rl=function(e){var r=e.join(" "),t;if(Xr.lastIndex=0,Xr.test(r))return t=eh.test(r),e[1]=Sa(e[1],t),e[0]=Sa(e[0],t,tl(e[1])),!0},Si,Yt=function(){var i=Date.now,e=500,r=33,t=i(),n=t,s=1e3/240,o=s,a=[],u,f,l,c,p,d,_=function h(g){var x=i()-n,v=g===!0,E,b,C,P;if((x>e||x<0)&&(t+=x-r),n+=x,C=n-t,E=C-o,(E>0||v)&&(P=++c.frame,p=C-c.time*1e3,c.time=C=C/1e3,o+=E+(E>=s?4:s-E),b=1),v||(u=f(h)),b)for(d=0;d<a.length;d++)a[d](C,p,P,g)};return c={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){Mu&&(!no&&Fo()&&(mr=no=window,Lo=mr.document||{},Gt.gsap=Nt,(mr.gsapVersions||(mr.gsapVersions=[])).push(Nt.version),Fu(ls||mr.GreenSockGlobals||!mr.gsap&&mr||{}),Qu.forEach(Zu)),l=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&c.sleep(),f=l||function(g){return setTimeout(g,o-c.time*1e3+1|0)},Si=1,_(2))},sleep:function(){(l?cancelAnimationFrame:clearTimeout)(u),Si=0,f=vi},lagSmoothing:function(g,x){e=g||1/0,r=Math.min(x||33,e)},fps:function(g){s=1e3/(g||240),o=c.time*1e3+s},add:function(g,x,v){var E=x?function(b,C,P,S){g(b,C,P,S),c.remove(E)}:g;return c.remove(g),a[v?"unshift":"push"](E),Hn(),E},remove:function(g,x){~(x=a.indexOf(g))&&a.splice(x,1)&&d>=x&&d--},_listeners:a},c}(),Hn=function(){return!Si&&Yt.wake()},fe={},th=/^[\d.\-M][\d.\-,\s]/,rh=/["']/g,nh=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),n=t[0],s=1,o=t.length,a,u,f;s<o;s++)u=t[s],a=s!==o-1?u.lastIndexOf(","):u.length,f=u.substr(0,a),r[n]=isNaN(f)?f.replace(rh,"").trim():+f,n=u.substr(a+1).trim();return r},ih=function(e){var r=e.indexOf("(")+1,t=e.indexOf(")"),n=e.indexOf("(",r);return e.substring(r,~n&&n<t?e.indexOf(")",t+1):t)},sh=function(e){var r=(e+"").split("("),t=fe[r[0]];return t&&r.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[nh(r[1])]:ih(e).split(",").map(Iu)):fe._CE&&th.test(e)?fe._CE("",e):t},nl=function(e){return function(r){return 1-e(1-r)}},il=function i(e,r){for(var t=e._first,n;t;)t instanceof Pt?i(t,r):t.vars.yoyoEase&&(!t._yoyo||!t._repeat)&&t._yoyo!==r&&(t.timeline?i(t.timeline,r):(n=t._ease,t._ease=t._yEase,t._yEase=n,t._yoyo=r)),t=t._next},dn=function(e,r){return e&&(Le(e)?e:fe[e]||sh(e))||r},Tn=function(e,r,t,n){t===void 0&&(t=function(u){return 1-r(1-u)}),n===void 0&&(n=function(u){return u<.5?r(u*2)/2:1-r((1-u)*2)/2});var s={easeIn:r,easeOut:t,easeInOut:n},o;return Mt(e,function(a){fe[a]=Gt[a]=s,fe[o=a.toLowerCase()]=t;for(var u in s)fe[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=fe[a+"."+u]=s[u]}),s},sl=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},Bs=function i(e,r,t){var n=r>=1?r:1,s=(t||(e?.3:.45))/(r<1?r:1),o=s/ro*(Math.asin(1/n)||0),a=function(l){return l===1?1:n*Math.pow(2,-10*l)*kc((l-o)*s)+1},u=e==="out"?a:e==="in"?function(f){return 1-a(1-f)}:sl(a);return s=ro/s,u.config=function(f,l){return i(e,f,l)},u},zs=function i(e,r){r===void 0&&(r=1.70158);var t=function(o){return o?--o*o*((r+1)*o+r)+1:0},n=e==="out"?t:e==="in"?function(s){return 1-t(1-s)}:sl(t);return n.config=function(s){return i(e,s)},n};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var r=e<5?e+1:e;Tn(i+",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(t*2,r)/2:1-Math.pow((1-t)*2,r)/2})});fe.Linear.easeNone=fe.none=fe.Linear.easeIn;Tn("Elastic",Bs("in"),Bs("out"),Bs());(function(i,e){var r=1/e,t=2*r,n=2.5*r,s=function(a){return a<r?i*a*a:a<t?i*Math.pow(a-1.5/e,2)+.75:a<n?i*(a-=2.25/e)*a+.9375:i*Math.pow(a-2.625/e,2)+.984375};Tn("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Tn("Expo",function(i){return Math.pow(2,10*(i-1))*i+i*i*i*i*i*i*(1-i)});Tn("Circ",function(i){return-(Ou(1-i*i)-1)});Tn("Sine",function(i){return i===1?1:-Oc(i*Pc)+1});Tn("Back",zs("in"),zs("out"),zs());fe.SteppedEase=fe.steps=Gt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var t=1/e,n=e+(r?0:1),s=r?1:0,o=1-xe;return function(a){return((n*Di(0,o,a)|0)+s)*t}}};zn.ease=fe["quad.out"];Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return zo+=i+","+i+"Params,"});var ol=function(e,r){this.id=Rc++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:Bu,this.set=r?r.getSetter:Yo},Ei=function(){function i(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,qn(this,+r.duration,1,1),this.data=r.data,Ce&&(this._ctx=Ce,Ce.data.push(this)),Si||Yt.wake()}var e=i.prototype;return e.delay=function(t){return t||t===0?(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,qn(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,n){if(Hn(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Ps(this,t),!s._dp||s.parent||Hu(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&wr(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===xe||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),zu(this,t,n)),this},e.time=function(t,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+xa(this))%(this._dur+this._rDelay)||(t?this._dur:0),n):this._time},e.totalProgress=function(t,n){return arguments.length?this.totalTime(this.totalDuration()*t,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+xa(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*s,n):this._repeat?Un(this._tTime,s)+1:1},e.timeScale=function(t,n){if(!arguments.length)return this._rts===-xe?0:this._rts;if(this._rts===t)return this;var s=this.parent&&this._ts?hs(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-xe?0:this._rts,this.totalTime(Di(-Math.abs(this._delay),this.totalDuration(),s),n!==!1),Cs(this),Uc(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):(Hn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==xe&&(this._tTime-=xe)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=ke(t);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&wr(n,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Dt(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var n=this.parent||this._dp;return n?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?hs(n.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=Nc);var n=lt;return lt=t,Uo(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),lt=n,this},e.globalTime=function(t){for(var n=this,s=arguments.length?t:n.rawTime();n;)s=n._start+s/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(t):s},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,va(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var n=this._time;return this._rDelay=t,va(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,n){return this.totalTime(Qt(this,t),Dt(n))},e.restart=function(t,n){return this.play().totalTime(t?-this._delay:0,Dt(n)),this._dur||(this._zTime=-xe),this},e.play=function(t,n){return t!=null&&this.seek(t,n),this.reversed(!1).paused(!1)},e.reverse=function(t,n){return t!=null&&this.seek(t||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(t,n){return t!=null&&this.seek(t,n),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?-xe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-xe,this},e.isActive=function(){var t=this.parent||this._dp,n=this._start,s;return!!(!t||this._ts&&this._initted&&t.isActive()&&(s=t.rawTime(!0))>=n&&s<this.endTime(!0)-xe)},e.eventCallback=function(t,n,s){var o=this.vars;return arguments.length>1?(n?(o[t]=n,s&&(o[t+"Params"]=s),t==="onUpdate"&&(this._onUpdate=n)):delete o[t],this):o[t]},e.then=function(t){var n=this,s=n._prom;return new Promise(function(o){var a=Le(t)?t:Uu,u=function(){var l=n.then;n.then=null,s&&s(),Le(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=l),o(a),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?u():n._prom=u})},e.kill=function(){Zn(this)},i}();Kt(Ei.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:-xe,_prom:0,_ps:!1,_rts:1});var Pt=function(i){Ru(e,i);function e(t,n){var s;return t===void 0&&(t={}),s=i.call(this,t)||this,s.labels={},s.smoothChildTiming=!!t.smoothChildTiming,s.autoRemoveChildren=!!t.autoRemoveChildren,s._sort=Dt(t.sortChildren),Ae&&wr(t.parent||Ae,Pr(s),n),t.reversed&&s.reverse(),t.paused&&s.paused(!0),t.scrollTrigger&&$u(Pr(s),t.scrollTrigger),s}var r=e.prototype;return r.to=function(n,s,o){return ui(0,arguments,this),this},r.from=function(n,s,o){return ui(1,arguments,this),this},r.fromTo=function(n,s,o,a){return ui(2,arguments,this),this},r.set=function(n,s,o){return s.duration=0,s.parent=this,ai(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new $e(n,s,Qt(this,o),1),this},r.call=function(n,s,o){return wr(this,$e.delayedCall(0,n,s),o)},r.staggerTo=function(n,s,o,a,u,f,l){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=f,o.onCompleteParams=l,o.parent=this,new $e(n,o,Qt(this,u)),this},r.staggerFrom=function(n,s,o,a,u,f,l){return o.runBackwards=1,ai(o).immediateRender=Dt(o.immediateRender),this.staggerTo(n,s,o,a,u,f,l)},r.staggerFromTo=function(n,s,o,a,u,f,l,c){return a.startAt=o,ai(a).immediateRender=Dt(a.immediateRender),this.staggerTo(n,s,a,u,f,l,c)},r.render=function(n,s,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,f=this._dur,l=n<=0?0:ke(n),c=this._zTime<0!=n<0&&(this._initted||!f),p,d,_,h,g,x,v,E,b,C,P,S;if(this!==Ae&&l>u&&n>=0&&(l=u),l!==this._tTime||o||c){if(a!==this._time&&f&&(l+=this._time-a,n+=this._time-a),p=l,b=this._start,E=this._ts,x=!E,c&&(f||(a=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(P=this._yoyo,g=f+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(p=ke(l%g),l===u?(h=this._repeat,p=f):(C=ke(l/g),h=~~C,h&&h===C&&(p=f,h--),p>f&&(p=f)),C=Un(this._tTime,g),!a&&this._tTime&&C!==h&&this._tTime-C*g-this._dur<=0&&(C=h),P&&h&1&&(p=f-p,S=1),h!==C&&!this._lock){var A=P&&C&1,R=A===(P&&h&1);if(h<C&&(A=!A),a=A?0:l%f?f:l,this._lock=1,this.render(a||(S?0:ke(h*g)),s,!f)._lock=0,this._tTime=l,!s&&this.parent&&Xt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,C=h),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,u=this._tDur,R&&(this._lock=2,a=A?f:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;il(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=Yc(this,ke(a),ke(p)),v&&(l-=p-(p=v._start))),this._tTime=l,this._time=p,this._act=!E,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,a=0),!a&&l&&f&&!s&&!C&&(Xt(this,"onStart"),this._tTime!==l))return this;if(p>=a&&n>=0)for(d=this._first;d;){if(_=d._next,(d._act||p>=d._start)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,s,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,s,o),p!==this._time||!this._ts&&!x){v=0,_&&(l+=this._zTime=-xe);break}}d=_}else{d=this._last;for(var O=n<0?n:p;d;){if(_=d._prev,(d._act||O<=d._end)&&d._ts&&v!==d){if(d.parent!==this)return this.render(n,s,o);if(d.render(d._ts>0?(O-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(O-d._start)*d._ts,s,o||lt&&Uo(d)),p!==this._time||!this._ts&&!x){v=0,_&&(l+=this._zTime=O?-xe:xe);break}}d=_}}if(v&&!s&&(this.pause(),v.render(p>=a?0:-xe)._zTime=p>=a?1:-1,this._ts))return this._start=b,Cs(this),this.render(n,s,o);this._onUpdate&&!s&&Xt(this,"onUpdate",!0),(l===u&&this._tTime>=this.totalDuration()||!l&&a)&&(b===this._start||Math.abs(E)!==Math.abs(this._ts))&&(this._lock||((n||!f)&&(l===u&&this._ts>0||!l&&this._ts<0)&&jr(this,1),!s&&!(n<0&&!a)&&(l||a||!u)&&(Xt(this,l===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(l<u&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(n,s){var o=this;if(Dr(s)||(s=Qt(this,s,n)),!(n instanceof Ei)){if(bt(n))return n.forEach(function(a){return o.add(a,s)}),this;if(it(n))return this.addLabel(n,s);if(Le(n))n=$e.delayedCall(0,n);else return this}return this!==n?wr(this,n,s):this},r.getChildren=function(n,s,o,a){n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-tr);for(var u=[],f=this._first;f;)f._start>=a&&(f instanceof $e?s&&u.push(f):(o&&u.push(f),n&&u.push.apply(u,f.getChildren(!0,s,o)))),f=f._next;return u},r.getById=function(n){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===n)return s[o]},r.remove=function(n){return it(n)?this.removeLabel(n):Le(n)?this.killTweensOf(n):(n.parent===this&&Es(this,n),n===this._recent&&(this._recent=this._last),hn(this))},r.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ke(Yt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},r.addLabel=function(n,s){return this.labels[n]=Qt(this,s),this},r.removeLabel=function(n){return delete this.labels[n],this},r.addPause=function(n,s,o){var a=$e.delayedCall(0,s||vi,o);return a.data="isPause",this._hasPause=1,wr(this,a,Qt(this,n))},r.removePause=function(n){var s=this._first;for(n=Qt(this,n);s;)s._start===n&&s.data==="isPause"&&jr(s),s=s._next},r.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)Ur!==a[u]&&a[u].kill(n,s);return this},r.getTweensOf=function(n,s){for(var o=[],a=rr(n),u=this._first,f=Dr(s),l;u;)u instanceof $e?Bc(u._targets,a)&&(f?(!Ur||u._initted&&u._ts)&&u.globalTime(0)<=s&&u.globalTime(u.totalDuration())>s:!s||u.isActive())&&o.push(u):(l=u.getTweensOf(a,s)).length&&o.push.apply(o,l),u=u._next;return o},r.tweenTo=function(n,s){s=s||{};var o=this,a=Qt(o,n),u=s,f=u.startAt,l=u.onStart,c=u.onStartParams,p=u.immediateRender,d,_=$e.to(o,Kt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(f&&"time"in f?f.time:o._time))/o.timeScale())||xe,onStart:function(){if(o.pause(),!d){var g=s.duration||Math.abs((a-(f&&"time"in f?f.time:o._time))/o.timeScale());_._dur!==g&&qn(_,g,0,1).render(_._time,!0,!0),d=1}l&&l.apply(_,c||[])}},s));return p?_.render(0):_},r.tweenFromTo=function(n,s,o){return this.tweenTo(s,Kt({startAt:{time:Qt(this,n)}},o))},r.recent=function(){return this._recent},r.nextLabel=function(n){return n===void 0&&(n=this._time),Ta(this,Qt(this,n))},r.previousLabel=function(n){return n===void 0&&(n=this._time),Ta(this,Qt(this,n),1)},r.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+xe)},r.shiftChildren=function(n,s,o){o===void 0&&(o=0);var a=this._first,u=this.labels,f;for(n=ke(n);a;)a._start>=o&&(a._start+=n,a._end+=n),a=a._next;if(s)for(f in u)u[f]>=o&&(u[f]+=n);return hn(this)},r.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},r.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),hn(this)},r.totalDuration=function(n){var s=0,o=this,a=o._last,u=tr,f,l,c;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(c=o.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),l=a._start,l>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,wr(o,a,l-a._delay,1)._lock=0):u=l,l<0&&a._ts&&(s-=l,(!c&&!o._dp||c&&c.smoothChildTiming)&&(o._start+=ke(l/o._ts),o._time-=l,o._tTime-=l),o.shiftChildren(-l,!1,-1/0),u=0),a._end>s&&a._ts&&(s=a._end),a=f;qn(o,o===Ae&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(Ae._ts&&(zu(Ae,hs(n,Ae)),Nu=Yt.frame),Yt.frame>=ba){ba+=jt.autoSleep||120;var s=Ae._first;if((!s||!s._ts)&&jt.autoSleep&&Yt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Yt.sleep()}}},e}(Ei);Kt(Pt.prototype,{_lock:0,_hasPause:0,_forcing:0});var oh=function(e,r,t,n,s,o,a){var u=new Ft(this._pt,e,r,0,1,hl,null,s),f=0,l=0,c,p,d,_,h,g,x,v;for(u.b=t,u.e=n,t+="",n+="",(x=~n.indexOf("random("))&&(n=Ti(n)),o&&(v=[t,n],o(v,e,r),t=v[0],n=v[1]),p=t.match(Fs)||[];c=Fs.exec(n);)_=c[0],h=n.substring(f,c.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),_!==p[l++]&&(g=parseFloat(p[l-1])||0,u._pt={_next:u._pt,p:h||l===1?h:",",s:g,c:_.charAt(1)==="="?Dn(g,_)-g:parseFloat(_)-g,m:d&&d<4?Math.round:0},f=Fs.lastIndex);return u.c=f<n.length?n.substring(f,n.length):"",u.fp=a,(Du.test(n)||x)&&(u.e=0),this._pt=u,u},qo=function(e,r,t,n,s,o,a,u,f,l){Le(n)&&(n=n(s||0,e,o));var c=e[r],p=t!=="get"?t:Le(c)?f?e[r.indexOf("set")||!Le(e["get"+r.substr(3)])?r:"get"+r.substr(3)](f):e[r]():c,d=Le(c)?f?ch:fl:$o,_;if(it(n)&&(~n.indexOf("random(")&&(n=Ti(n)),n.charAt(1)==="="&&(_=Dn(p,n)+(mt(p)||0),(_||_===0)&&(n=_))),!l||p!==n||fo)return!isNaN(p*n)&&n!==""?(_=new Ft(this._pt,e,r,+p||0,n-(p||0),typeof c=="boolean"?dh:cl,0,d),f&&(_.fp=f),a&&_.modifier(a,this,e),this._pt=_):(!c&&!(r in e)&&No(r,n),oh.call(this,e,r,p,n,d,u||jt.stringFilter,f))},ah=function(e,r,t,n,s){if(Le(e)&&(e=li(e,s,r,t,n)),!Sr(e)||e.style&&e.nodeType||bt(e)||ku(e))return it(e)?li(e,s,r,t,n):e;var o={},a;for(a in e)o[a]=li(e[a],s,r,t,n);return o},al=function(e,r,t,n,s,o){var a,u,f,l;if(Ht[e]&&(a=new Ht[e]).init(s,a.rawVars?r[e]:ah(r[e],n,s,o,t),t,n,o)!==!1&&(t._pt=u=new Ft(t._pt,s,e,0,1,a.render,a,0,a.priority),t!==kn))for(f=t._ptLookup[t._targets.indexOf(s)],l=a._props.length;l--;)f[a._props[l]]=u;return a},Ur,fo,Ho=function i(e,r,t){var n=e.vars,s=n.ease,o=n.startAt,a=n.immediateRender,u=n.lazy,f=n.onUpdate,l=n.runBackwards,c=n.yoyoEase,p=n.keyframes,d=n.autoRevert,_=e._dur,h=e._startAt,g=e._targets,x=e.parent,v=x&&x.data==="nested"?x.vars.targets:g,E=e._overwrite==="auto"&&!Do,b=e.timeline,C,P,S,A,R,O,H,M,$,z,te,K,I;if(b&&(!p||!s)&&(s="none"),e._ease=dn(s,zn.ease),e._yEase=c?nl(dn(c===!0?s:c,zn.ease)):0,c&&e._yoyo&&!e._repeat&&(c=e._yEase,e._yEase=e._ease,e._ease=c),e._from=!b&&!!n.runBackwards,!b||p&&!n.stagger){if(M=g[0]?cn(g[0]).harness:0,K=M&&n[M.prop],C=cs(n,Bo),h&&(h._zTime<0&&h.progress(1),r<0&&l&&a&&!d?h.render(-1,!0):h.revert(l&&_?Qi:Lc),h._lazy=0),o){if(jr(e._startAt=$e.set(g,Kt({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!h&&Dt(u),startAt:null,delay:0,onUpdate:f&&function(){return Xt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt||!a&&!d)&&e._startAt.revert(Qi),a&&_&&r<=0&&t<=0){r&&(e._zTime=r);return}}else if(l&&_&&!h){if(r&&(a=!1),S=Kt({overwrite:!1,data:"isFromStart",lazy:a&&!h&&Dt(u),immediateRender:a,stagger:0,parent:x},C),K&&(S[M.prop]=K),jr(e._startAt=$e.set(g,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt?e._startAt.revert(Qi):e._startAt.render(-1,!0)),e._zTime=r,!a)i(e._startAt,xe,xe);else if(!r)return}for(e._pt=e._ptCache=0,u=_&&Dt(u)||u&&!_,P=0;P<g.length;P++){if(R=g[P],H=R._gsap||Io(g)[P]._gsap,e._ptLookup[P]=z={},io[H.id]&&Vr.length&&fs(),te=v===g?P:v.indexOf(R),M&&($=new M).init(R,K||C,e,te,v)!==!1&&(e._pt=A=new Ft(e._pt,R,$.name,0,1,$.render,$,0,$.priority),$._props.forEach(function(ae){z[ae]=A}),$.priority&&(O=1)),!M||K)for(S in C)Ht[S]&&($=al(S,C,e,te,R,v))?$.priority&&(O=1):z[S]=A=qo.call(e,R,S,"get",C[S],te,v,0,n.stringFilter);e._op&&e._op[P]&&e.kill(R,e._op[P]),E&&e._pt&&(Ur=e,Ae.killTweensOf(R,z,e.globalTime(r)),I=!e.parent,Ur=0),e._pt&&u&&(io[H.id]=1)}O&&dl(e),e._onInit&&e._onInit(e)}e._onUpdate=f,e._initted=(!e._op||e._pt)&&!I,p&&r<=0&&b.render(tr,!0,!0)},uh=function(e,r,t,n,s,o,a,u){var f=(e._pt&&e._ptCache||(e._ptCache={}))[r],l,c,p,d;if(!f)for(f=e._ptCache[r]=[],p=e._ptLookup,d=e._targets.length;d--;){if(l=p[d][r],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==r&&l.fp!==r;)l=l._next;if(!l)return fo=1,e.vars[r]="+=0",Ho(e,a),fo=0,u?xi(r+" not eligible for reset"):1;f.push(l)}for(d=f.length;d--;)c=f[d],l=c._pt||c,l.s=(n||n===0)&&!s?n:l.s+(n||0)+o*l.c,l.c=t-l.s,c.e&&(c.e=ze(t)+mt(c.e)),c.b&&(c.b=l.s+mt(c.b))},lh=function(e,r){var t=e[0]?cn(e[0]).harness:0,n=t&&t.aliases,s,o,a,u;if(!n)return r;s=In({},r);for(o in n)if(o in s)for(u=n[o].split(","),a=u.length;a--;)s[u[a]]=s[o];return s},fh=function(e,r,t,n){var s=r.ease||n||"power1.inOut",o,a;if(bt(r))a=t[e]||(t[e]=[]),r.forEach(function(u,f){return a.push({t:f/(r.length-1)*100,v:u,e:s})});else for(o in r)a=t[o]||(t[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:r[o],e:s})},li=function(e,r,t,n,s){return Le(e)?e.call(r,t,n,s):it(e)&&~e.indexOf("random(")?Ti(e):e},ul=zo+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ll={};Mt(ul+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return ll[i]=1});var $e=function(i){Ru(e,i);function e(t,n,s,o){var a;typeof n=="number"&&(s.duration=n,n=s,s=null),a=i.call(this,o?n:ai(n))||this;var u=a.vars,f=u.duration,l=u.delay,c=u.immediateRender,p=u.stagger,d=u.overwrite,_=u.keyframes,h=u.defaults,g=u.scrollTrigger,x=u.yoyoEase,v=n.parent||Ae,E=(bt(t)||ku(t)?Dr(t[0]):"length"in n)?[t]:rr(t),b,C,P,S,A,R,O,H;if(a._targets=E.length?Io(E):xi("GSAP target "+t+" not found. https://gsap.com",!jt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,_||p||Li(f)||Li(l)){if(n=a.vars,b=a.timeline=new Pt({data:"nested",defaults:h||{},targets:v&&v.data==="nested"?v.vars.targets:E}),b.kill(),b.parent=b._dp=Pr(a),b._start=0,p||Li(f)||Li(l)){if(S=E.length,O=p&&Wu(p),Sr(p))for(A in p)~ul.indexOf(A)&&(H||(H={}),H[A]=p[A]);for(C=0;C<S;C++)P=cs(n,ll),P.stagger=0,x&&(P.yoyoEase=x),H&&In(P,H),R=E[C],P.duration=+li(f,Pr(a),C,R,E),P.delay=(+li(l,Pr(a),C,R,E)||0)-a._delay,!p&&S===1&&P.delay&&(a._delay=l=P.delay,a._start+=l,P.delay=0),b.to(R,P,O?O(C,R,E):0),b._ease=fe.none;b.duration()?f=l=0:a.timeline=0}else if(_){ai(Kt(b.vars.defaults,{ease:"none"})),b._ease=dn(_.ease||n.ease||"none");var M=0,$,z,te;if(bt(_))_.forEach(function(K){return b.to(E,K,">")}),b.duration();else{P={};for(A in _)A==="ease"||A==="easeEach"||fh(A,_[A],P,_.easeEach);for(A in P)for($=P[A].sort(function(K,I){return K.t-I.t}),M=0,C=0;C<$.length;C++)z=$[C],te={ease:z.e,duration:(z.t-(C?$[C-1].t:0))/100*f},te[A]=z.v,b.to(E,te,M),M+=te.duration;b.duration()<f&&b.to({},{duration:f-b.duration()})}}f||a.duration(f=b.duration())}else a.timeline=0;return d===!0&&!Do&&(Ur=Pr(a),Ae.killTweensOf(E),Ur=0),wr(v,Pr(a),s),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(c||!f&&!_&&a._start===ke(v._time)&&Dt(c)&&qc(Pr(a))&&v.data!=="nested")&&(a._tTime=-xe,a.render(Math.max(0,-l)||0)),g&&$u(Pr(a),g),a}var r=e.prototype;return r.render=function(n,s,o){var a=this._time,u=this._tDur,f=this._dur,l=n<0,c=n>u-xe&&!l?u:n<xe?0:n,p,d,_,h,g,x,v,E,b;if(!f)$c(this,n,s,o);else if(c!==this._tTime||!n||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==l||this._lazy){if(p=c,E=this.timeline,this._repeat){if(h=f+this._rDelay,this._repeat<-1&&l)return this.totalTime(h*100+n,s,o);if(p=ke(c%h),c===u?(_=this._repeat,p=f):(g=ke(c/h),_=~~g,_&&_===g?(p=f,_--):p>f&&(p=f)),x=this._yoyo&&_&1,x&&(b=this._yEase,p=f-p),g=Un(this._tTime,h),p===a&&!o&&this._initted&&_===g)return this._tTime=c,this;_!==g&&(E&&this._yEase&&il(E,x),this.vars.repeatRefresh&&!x&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(ke(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(Yu(this,l?n:p,o,s,c))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&_!==g))return this;if(f!==this._dur)return this.render(n,s,o)}if(this._tTime=c,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(b||this._ease)(p/f),this._from&&(this.ratio=v=1-v),!a&&c&&!s&&!g&&(Xt(this,"onStart"),this._tTime!==c))return this;for(d=this._pt;d;)d.r(v,d.d),d=d._next;E&&E.render(n<0?n:E._dur*E._ease(p/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(l&&so(this,n,s,o),Xt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Xt(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(l&&!this._onUpdate&&so(this,n,!0,!0),(n||!f)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&jr(this,1),!s&&!(l&&!a)&&(c||a||x)&&(Xt(this,c===u?"onComplete":"onReverseComplete",!0),this._prom&&!(c<u&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),i.prototype.invalidate.call(this,n)},r.resetTo=function(n,s,o,a,u){Si||Yt.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||Ho(this,f),l=this._ease(f/this._dur),uh(this,n,s,o,a,l,f,u)?this.resetTo(n,s,o,a,1):(Ps(this,0),this.parent||qu(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Zn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,Ur&&Ur.vars.overwrite!==!0)._first||Zn(this),this.parent&&o!==this.timeline.totalDuration()&&qn(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=n?rr(n):a,f=this._ptLookup,l=this._pt,c,p,d,_,h,g,x;if((!s||s==="all")&&Ic(a,u))return s==="all"&&(this._pt=0),Zn(this);for(c=this._op=this._op||[],s!=="all"&&(it(s)&&(h={},Mt(s,function(v){return h[v]=1}),s=h),s=lh(a,s)),x=a.length;x--;)if(~u.indexOf(a[x])){p=f[x],s==="all"?(c[x]=s,_=p,d={}):(d=c[x]=c[x]||{},_=s);for(h in _)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Es(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&l&&Zn(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return ui(1,arguments)},e.delayedCall=function(n,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(n,s,o){return ui(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,o){return Ae.killTweensOf(n,s,o)},e}(Ei);Kt($e.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(i){$e[i]=function(){var e=new Pt,r=ao.call(arguments,0);return r.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,r)}});var $o=function(e,r,t){return e[r]=t},fl=function(e,r,t){return e[r](t)},ch=function(e,r,t,n){return e[r](n.fp,t)},hh=function(e,r,t){return e.setAttribute(r,t)},Yo=function(e,r){return Le(e[r])?fl:Mo(e[r])&&e.setAttribute?hh:$o},cl=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},dh=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},hl=function(e,r){var t=r._pt,n="";if(!e&&r.b)n=r.b;else if(e===1&&r.e)n=r.e;else{for(;t;)n=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+n,t=t._next;n+=r.c}r.set(r.t,r.p,n,r)},Vo=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},ph=function(e,r,t,n){for(var s=this._pt,o;s;)o=s._next,s.p===n&&s.modifier(e,r,t),s=o},_h=function(e){for(var r=this._pt,t,n;r;)n=r._next,r.p===e&&!r.op||r.op===e?Es(this,r,"_pt"):r.dep||(t=1),r=n;return!t},gh=function(e,r,t,n){n.mSet(e,r,n.m.call(n.tween,t,n.mt),n)},dl=function(e){for(var r=e._pt,t,n,s,o;r;){for(t=r._next,n=s;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:o)?r._prev._next=r:s=r,(r._next=n)?n._prev=r:o=r,r=t}e._pt=s},Ft=function(){function i(r,t,n,s,o,a,u,f,l){this.t=t,this.s=s,this.c=o,this.p=n,this.r=a||cl,this.d=u||this,this.set=f||$o,this.pr=l||0,this._next=r,r&&(r._prev=this)}var e=i.prototype;return e.modifier=function(t,n,s){this.mSet=this.mSet||this.set,this.set=gh,this.m=t,this.mt=s,this.tween=n},i}();Mt(zo+"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(i){return Bo[i]=1});Gt.TweenMax=Gt.TweenLite=$e;Gt.TimelineLite=Gt.TimelineMax=Pt;Ae=new Pt({sortChildren:!1,defaults:zn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});jt.stringFilter=rl;var pn=[],es={},mh=[],Ea=0,yh=0,Is=function(e){return(es[e]||mh).map(function(r){return r()})},co=function(){var e=Date.now(),r=[];e-Ea>2&&(Is("matchMediaInit"),pn.forEach(function(t){var n=t.queries,s=t.conditions,o,a,u,f;for(a in n)o=mr.matchMedia(n[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,f=1);f&&(t.revert(),u&&r.push(t))}),Is("matchMediaRevert"),r.forEach(function(t){return t.onMatch(t,function(n){return t.add(null,n)})}),Ea=e,Is("matchMedia"))},pl=function(){function i(r,t){this.selector=t&&uo(t),this.data=[],this._r=[],this.isReverted=!1,this.id=yh++,r&&this.add(r)}var e=i.prototype;return e.add=function(t,n,s){Le(t)&&(s=n,n=t,t=Le);var o=this,a=function(){var f=Ce,l=o.selector,c;return f&&f!==o&&f.data.push(o),s&&(o.selector=uo(s)),Ce=o,c=n.apply(o,arguments),Le(c)&&o._r.push(c),Ce=f,o.selector=l,o.isReverted=!1,c};return o.last=a,t===Le?a(o,function(u){return o.add(null,u)}):t?o[t]=a:a},e.ignore=function(t){var n=Ce;Ce=null,t(this),Ce=n},e.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof i?t.push.apply(t,n.getTweens()):n instanceof $e&&!(n.parent&&n.parent.data==="nested")&&t.push(n)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,n){var s=this;if(t?function(){for(var a=s.getTweens(),u=s.data.length,f;u--;)f=s.data[u],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(l){return a.splice(a.indexOf(l),1)}));for(a.map(function(l){return{g:l._dur||l._delay||l._sat&&!l._sat.vars.immediateRender?l.globalTime(0):-1/0,t:l}}).sort(function(l,c){return c.g-l.g||-1/0}).forEach(function(l){return l.t.revert(t)}),u=s.data.length;u--;)f=s.data[u],f instanceof Pt?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof $e)&&f.revert&&f.revert(t);s._r.forEach(function(l){return l(t,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var o=pn.length;o--;)pn[o].id===this.id&&pn.splice(o,1)},e.revert=function(t){this.kill(t||{})},i}(),bh=function(){function i(r){this.contexts=[],this.scope=r,Ce&&Ce.data.push(this)}var e=i.prototype;return e.add=function(t,n,s){Sr(t)||(t={matches:t});var o=new pl(0,s||this.scope),a=o.conditions={},u,f,l;Ce&&!o.selector&&(o.selector=Ce.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=t;for(f in t)f==="all"?l=1:(u=mr.matchMedia(t[f]),u&&(pn.indexOf(o)<0&&pn.push(o),(a[f]=u.matches)&&(l=1),u.addListener?u.addListener(co):u.addEventListener("change",co)));return l&&n(o,function(c){return o.add(null,c)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(n){return n.kill(t,!0)})},i}(),ds={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];r.forEach(function(n){return Zu(n)})},timeline:function(e){return new Pt(e)},getTweensOf:function(e,r){return Ae.getTweensOf(e,r)},getProperty:function(e,r,t,n){it(e)&&(e=rr(e)[0]);var s=cn(e||{}).get,o=t?Uu:Iu;return t==="native"&&(t=""),e&&(r?o((Ht[r]&&Ht[r].get||s)(e,r,t,n)):function(a,u,f){return o((Ht[a]&&Ht[a].get||s)(e,a,u,f))})},quickSetter:function(e,r,t){if(e=rr(e),e.length>1){var n=e.map(function(l){return Nt.quickSetter(l,r,t)}),s=n.length;return function(l){for(var c=s;c--;)n[c](l)}}e=e[0]||{};var o=Ht[r],a=cn(e),u=a.harness&&(a.harness.aliases||{})[r]||r,f=o?function(l){var c=new o;kn._pt=0,c.init(e,t?l+t:l,kn,0,[e]),c.render(1,c),kn._pt&&Vo(1,kn)}:a.set(e,u);return o?f:function(l){return f(e,u,t?l+t:l,a,1)}},quickTo:function(e,r,t){var n,s=Nt.to(e,Kt((n={},n[r]="+=0.1",n.paused=!0,n.stagger=0,n),t||{})),o=function(u,f,l){return s.resetTo(r,u,f,l)};return o.tween=s,o},isTweening:function(e){return Ae.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=dn(e.ease,zn.ease)),wa(zn,e||{})},config:function(e){return wa(jt,e||{})},registerEffect:function(e){var r=e.name,t=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!Ht[a]&&!Gt[a]&&xi(r+" effect requires "+a+" plugin.")}),Ls[r]=function(a,u,f){return t(rr(a),Kt(u||{},s),f)},o&&(Pt.prototype[r]=function(a,u,f){return this.add(Ls[r](a,Sr(u)?u:(f=u)&&{},this),f)})},registerEase:function(e,r){fe[e]=dn(r)},parseEase:function(e,r){return arguments.length?dn(e,r):fe},getById:function(e){return Ae.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new Pt(e),n,s;for(t.smoothChildTiming=Dt(e.smoothChildTiming),Ae.remove(t),t._dp=0,t._time=t._tTime=Ae._time,n=Ae._first;n;)s=n._next,(r||!(!n._dur&&n instanceof $e&&n.vars.onComplete===n._targets[0]))&&wr(t,n,n._start-n._delay),n=s;return wr(Ae,t,0),t},context:function(e,r){return e?new pl(e,r):Ce},matchMedia:function(e){return new bh(e)},matchMediaRefresh:function(){return pn.forEach(function(e){var r=e.conditions,t,n;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()})||co()},addEventListener:function(e,r){var t=es[e]||(es[e]=[]);~t.indexOf(r)||t.push(r)},removeEventListener:function(e,r){var t=es[e],n=t&&t.indexOf(r);n>=0&&t.splice(n,1)},utils:{wrap:Jc,wrapYoyo:Qc,distribute:Wu,random:Gu,snap:ju,normalize:Kc,getUnit:mt,clamp:Xc,splitColor:el,toArray:rr,selector:uo,mapRange:Ju,pipe:jc,unitize:Gc,interpolate:Zc,shuffle:Xu},install:Fu,effects:Ls,ticker:Yt,updateRoot:Pt.updateRoot,plugins:Ht,globalTimeline:Ae,core:{PropTween:Ft,globals:Lu,Tween:$e,Timeline:Pt,Animation:Ei,getCache:cn,_removeLinkedListItem:Es,reverting:function(){return lt},context:function(e){return e&&Ce&&(Ce.data.push(e),e._ctx=Ce),Ce},suppressOverwrites:function(e){return Do=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return ds[i]=$e[i]});Yt.add(Pt.updateRoot);kn=ds.to({},{duration:0});var wh=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},xh=function(e,r){var t=e._targets,n,s,o;for(n in r)for(s=t.length;s--;)o=e._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=wh(o,n)),o&&o.modifier&&o.modifier(r[n],e,t[s],n))},Us=function(e,r){return{name:e,headless:1,rawVars:1,init:function(n,s,o){o._onInit=function(a){var u,f;if(it(s)&&(u={},Mt(s,function(l){return u[l]=1}),s=u),r){u={};for(f in s)u[f]=r(s[f]);s=u}xh(a,s)}}}},Nt=ds.registerPlugin({name:"attr",init:function(e,r,t,n,s){var o,a,u;this.tween=t;for(o in r)u=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(u||0)+"",r[o],n,s,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(e,r){for(var t=r._pt;t;)lt?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",headless:1,init:function(e,r){for(var t=r.length;t--;)this.add(e,t,e[t]||0,r[t],0,0,0,0,0,1)}},Us("roundProps",lo),Us("modifiers"),Us("snap",ju))||ds;$e.version=Pt.version=Nt.version="3.14.1";Mu=1;Fo()&&Hn();fe.Power0;fe.Power1;fe.Power2;fe.Power3;fe.Power4;fe.Linear;fe.Quad;fe.Cubic;fe.Quart;fe.Quint;fe.Strong;fe.Elastic;fe.Back;fe.SteppedEase;fe.Bounce;fe.Sine;fe.Expo;fe.Circ;/*!
* CSSPlugin 3.14.1
* https://gsap.com
*
* Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var Ca,qr,Mn,Xo,un,Pa,Wo,vh=function(){return typeof window<"u"},Mr={},rn=180/Math.PI,Fn=Math.PI/180,Sn=Math.atan2,Ra=1e8,jo=/([A-Z])/g,Th=/(left|right|width|margin|padding|x)/i,Sh=/[\s,\(]\S/,xr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ho=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Eh=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Ch=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Ph=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Rh=function(e,r){var t=r.s+r.c*e;r.set(r.t,r.p,~~(t+(t<0?-.5:.5))+r.u,r)},_l=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},gl=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Oh=function(e,r,t){return e.style[r]=t},kh=function(e,r,t){return e.style.setProperty(r,t)},Ah=function(e,r,t){return e._gsap[r]=t},Dh=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},Mh=function(e,r,t,n,s){var o=e._gsap;o.scaleX=o.scaleY=t,o.renderTransform(s,o)},Fh=function(e,r,t,n,s){var o=e._gsap;o[r]=t,o.renderTransform(s,o)},De="transform",Lt=De+"Origin",Lh=function i(e,r){var t=this,n=this.target,s=n.style,o=n._gsap;if(e in Mr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=xr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return t.tfm[a]=Rr(n,a)}):this.tfm[e]=o.x?o[e]:Rr(n,e),e===Lt&&(this.tfm.zOrigin=o.zOrigin);else return xr.transform.split(",").forEach(function(a){return i.call(t,a,r)});if(this.props.indexOf(De)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Lt,r,"")),e=De}(s||r)&&this.props.push(e,r,s[e])},ml=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Nh=function(){var e=this.props,r=this.target,t=r.style,n=r._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?r[e[s]](e[s+2]):r[e[s]]=e[s+2]:e[s+2]?t[e[s]]=e[s+2]:t.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(jo,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)n[o]=this.tfm[o];n.svg&&(n.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),s=Wo(),(!s||!s.isStart)&&!t[De]&&(ml(t),n.zOrigin&&t[Lt]&&(t[Lt]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},yl=function(e,r){var t={target:e,props:[],revert:Nh,save:Lh};return e._gsap||Nt.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(n){return t.save(n)}),t},bl,po=function(e,r){var t=qr.createElementNS?qr.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):qr.createElement(e);return t&&t.style?t:qr.createElement(e)},Wt=function i(e,r,t){var n=getComputedStyle(e);return n[r]||n.getPropertyValue(r.replace(jo,"-$1").toLowerCase())||n.getPropertyValue(r)||!t&&i(e,$n(r)||r,1)||""},Oa="O,Moz,ms,Ms,Webkit".split(","),$n=function(e,r,t){var n=r||un,s=n.style,o=5;if(e in s&&!t)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Oa[o]+e in s););return o<0?null:(o===3?"ms":o>=0?Oa[o]:"")+e},_o=function(){vh()&&window.document&&(Ca=window,qr=Ca.document,Mn=qr.documentElement,un=po("div")||{style:{}},po("div"),De=$n(De),Lt=De+"Origin",un.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",bl=!!$n("perspective"),Wo=Nt.core.reverting,Xo=1)},ka=function(e){var r=e.ownerSVGElement,t=po("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),s;n.style.display="block",t.appendChild(n),Mn.appendChild(t);try{s=n.getBBox()}catch{}return t.removeChild(n),Mn.removeChild(t),s},Aa=function(e,r){for(var t=r.length;t--;)if(e.hasAttribute(r[t]))return e.getAttribute(r[t])},wl=function(e){var r,t;try{r=e.getBBox()}catch{r=ka(e),t=1}return r&&(r.width||r.height)||t||(r=ka(e)),r&&!r.width&&!r.x&&!r.y?{x:+Aa(e,["x","cx","x1"])||0,y:+Aa(e,["y","cy","y1"])||0,width:0,height:0}:r},xl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&wl(e))},Gr=function(e,r){if(r){var t=e.style,n;r in Mr&&r!==Lt&&(r=De),t.removeProperty?(n=r.substr(0,2),(n==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(n==="--"?r:r.replace(jo,"-$1").toLowerCase())):t.removeAttribute(r)}},Hr=function(e,r,t,n,s,o){var a=new Ft(e._pt,r,t,0,1,o?gl:_l);return e._pt=a,a.b=n,a.e=s,e._props.push(t),a},Da={deg:1,rad:1,turn:1},Bh={grid:1,flex:1},Kr=function i(e,r,t,n){var s=parseFloat(t)||0,o=(t+"").trim().substr((s+"").length)||"px",a=un.style,u=Th.test(r),f=e.tagName.toLowerCase()==="svg",l=(f?"client":"offset")+(u?"Width":"Height"),c=100,p=n==="px",d=n==="%",_,h,g,x;if(n===o||!s||Da[n]||Da[o])return s;if(o!=="px"&&!p&&(s=i(e,r,t,"px")),x=e.getCTM&&xl(e),(d||o==="%")&&(Mr[r]||~r.indexOf("adius")))return _=x?e.getBBox()[u?"width":"height"]:e[l],ze(d?s/_*c:s/100*_);if(a[u?"width":"height"]=c+(p?o:n),h=n!=="rem"&&~r.indexOf("adius")||n==="em"&&e.appendChild&&!f?e:e.parentNode,x&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===qr||!h.appendChild)&&(h=qr.body),g=h._gsap,g&&d&&g.width&&u&&g.time===Yt.time&&!g.uncache)return ze(s/g.width*c);if(d&&(r==="height"||r==="width")){var v=e.style[r];e.style[r]=c+n,_=e[l],v?e.style[r]=v:Gr(e,r)}else(d||o==="%")&&!Bh[Wt(h,"display")]&&(a.position=Wt(e,"position")),h===e&&(a.position="static"),h.appendChild(un),_=un[l],h.removeChild(un),a.position="absolute";return u&&d&&(g=cn(h),g.time=Yt.time,g.width=h[l]),ze(p?_*s/c:_&&s?c/_*s:0)},Rr=function(e,r,t,n){var s;return Xo||_o(),r in xr&&r!=="transform"&&(r=xr[r],~r.indexOf(",")&&(r=r.split(",")[0])),Mr[r]&&r!=="transform"?(s=Pi(e,n),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:_s(Wt(e,Lt))+" "+s.zOrigin+"px"):(s=e.style[r],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=ps[r]&&ps[r](e,r,t)||Wt(e,r)||Bu(e,r)||(r==="opacity"?1:0))),t&&!~(s+"").trim().indexOf(" ")?Kr(e,r,s,t)+t:s},zh=function(e,r,t,n){if(!t||t==="none"){var s=$n(r,e,1),o=s&&Wt(e,s,1);o&&o!==t?(r=s,t=o):r==="borderColor"&&(t=Wt(e,"borderTopColor"))}var a=new Ft(this._pt,e.style,r,0,1,hl),u=0,f=0,l,c,p,d,_,h,g,x,v,E,b,C;if(a.b=t,a.e=n,t+="",n+="",n.substring(0,6)==="var(--"&&(n=Wt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[r],e.style[r]=n,n=Wt(e,r)||n,h?e.style[r]=h:Gr(e,r)),l=[t,n],rl(l),t=l[0],n=l[1],p=t.match(On)||[],C=n.match(On)||[],C.length){for(;c=On.exec(n);)g=c[0],v=n.substring(u,c.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(h=p[f++]||"")&&(d=parseFloat(h)||0,b=h.substr((d+"").length),g.charAt(1)==="="&&(g=Dn(d,g)+b),x=parseFloat(g),E=g.substr((x+"").length),u=On.lastIndex-E.length,E||(E=E||jt.units[r]||b,u===n.length&&(n+=E,a.e+=E)),b!==E&&(d=Kr(e,r,h,E)||0),a._pt={_next:a._pt,p:v||f===1?v:",",s:d,c:x-d,m:_&&_<4||r==="zIndex"?Math.round:0});a.c=u<n.length?n.substring(u,n.length):""}else a.r=r==="display"&&n==="none"?gl:_l;return Du.test(n)&&(a.e=0),this._pt=a,a},Ma={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ih=function(e){var r=e.split(" "),t=r[0],n=r[1]||"50%";return(t==="top"||t==="bottom"||n==="left"||n==="right")&&(e=t,t=n,n=e),r[0]=Ma[t]||t,r[1]=Ma[n]||n,r.join(" ")},Uh=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var t=r.t,n=t.style,s=r.u,o=t._gsap,a,u,f;if(s==="all"||s===!0)n.cssText="",u=1;else for(s=s.split(","),f=s.length;--f>-1;)a=s[f],Mr[a]&&(u=1,a=a==="transformOrigin"?Lt:De),Gr(t,a);u&&(Gr(t,De),o&&(o.svg&&t.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Pi(t,1),o.uncache=1,ml(n)))}},ps={clearProps:function(e,r,t,n,s){if(s.data!=="isFromStart"){var o=e._pt=new Ft(e._pt,r,t,0,0,Uh);return o.u=n,o.pr=-10,o.tween=s,e._props.push(t),1}}},Ci=[1,0,0,1,0,0],vl={},Tl=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Fa=function(e){var r=Wt(e,De);return Tl(r)?Ci:r.substr(7).match(Au).map(ze)},Go=function(e,r){var t=e._gsap||cn(e),n=e.style,s=Fa(e),o,a,u,f;return t.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?Ci:s):(s===Ci&&!e.offsetParent&&e!==Mn&&!t.svg&&(u=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(f=1,a=e.nextElementSibling,Mn.appendChild(e)),s=Fa(e),u?n.display=u:Gr(e,"display"),f&&(a?o.insertBefore(e,a):o?o.appendChild(e):Mn.removeChild(e))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},go=function(e,r,t,n,s,o){var a=e._gsap,u=s||Go(e,!0),f=a.xOrigin||0,l=a.yOrigin||0,c=a.xOffset||0,p=a.yOffset||0,d=u[0],_=u[1],h=u[2],g=u[3],x=u[4],v=u[5],E=r.split(" "),b=parseFloat(E[0])||0,C=parseFloat(E[1])||0,P,S,A,R;t?u!==Ci&&(S=d*g-_*h)&&(A=b*(g/S)+C*(-h/S)+(h*v-g*x)/S,R=b*(-_/S)+C*(d/S)-(d*v-_*x)/S,b=A,C=R):(P=wl(e),b=P.x+(~E[0].indexOf("%")?b/100*P.width:b),C=P.y+(~(E[1]||E[0]).indexOf("%")?C/100*P.height:C)),n||n!==!1&&a.smooth?(x=b-f,v=C-l,a.xOffset=c+(x*d+v*h)-x,a.yOffset=p+(x*_+v*g)-v):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=C,a.smooth=!!n,a.origin=r,a.originIsAbsolute=!!t,e.style[Lt]="0px 0px",o&&(Hr(o,a,"xOrigin",f,b),Hr(o,a,"yOrigin",l,C),Hr(o,a,"xOffset",c,a.xOffset),Hr(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+C)},Pi=function(e,r){var t=e._gsap||new ol(e);if("x"in t&&!r&&!t.uncache)return t;var n=e.style,s=t.scaleX<0,o="px",a="deg",u=getComputedStyle(e),f=Wt(e,Lt)||"0",l,c,p,d,_,h,g,x,v,E,b,C,P,S,A,R,O,H,M,$,z,te,K,I,ae,ce,m,pe,Ue,ft,ye,Me;return l=c=p=h=g=x=v=E=b=0,d=_=1,t.svg=!!(e.getCTM&&xl(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[De]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[De]!=="none"?u[De]:"")),n.scale=n.rotate=n.translate="none"),S=Go(e,t.svg),t.svg&&(t.uncache?(ae=e.getBBox(),f=t.xOrigin-ae.x+"px "+(t.yOrigin-ae.y)+"px",I=""):I=!r&&e.getAttribute("data-svg-origin"),go(e,I||f,!!I||t.originIsAbsolute,t.smooth!==!1,S)),C=t.xOrigin||0,P=t.yOrigin||0,S!==Ci&&(H=S[0],M=S[1],$=S[2],z=S[3],l=te=S[4],c=K=S[5],S.length===6?(d=Math.sqrt(H*H+M*M),_=Math.sqrt(z*z+$*$),h=H||M?Sn(M,H)*rn:0,v=$||z?Sn($,z)*rn+h:0,v&&(_*=Math.abs(Math.cos(v*Fn))),t.svg&&(l-=C-(C*H+P*$),c-=P-(C*M+P*z))):(Me=S[6],ft=S[7],m=S[8],pe=S[9],Ue=S[10],ye=S[11],l=S[12],c=S[13],p=S[14],A=Sn(Me,Ue),g=A*rn,A&&(R=Math.cos(-A),O=Math.sin(-A),I=te*R+m*O,ae=K*R+pe*O,ce=Me*R+Ue*O,m=te*-O+m*R,pe=K*-O+pe*R,Ue=Me*-O+Ue*R,ye=ft*-O+ye*R,te=I,K=ae,Me=ce),A=Sn(-$,Ue),x=A*rn,A&&(R=Math.cos(-A),O=Math.sin(-A),I=H*R-m*O,ae=M*R-pe*O,ce=$*R-Ue*O,ye=z*O+ye*R,H=I,M=ae,$=ce),A=Sn(M,H),h=A*rn,A&&(R=Math.cos(A),O=Math.sin(A),I=H*R+M*O,ae=te*R+K*O,M=M*R-H*O,K=K*R-te*O,H=I,te=ae),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,x=180-x),d=ze(Math.sqrt(H*H+M*M+$*$)),_=ze(Math.sqrt(K*K+Me*Me)),A=Sn(te,K),v=Math.abs(A)>2e-4?A*rn:0,b=ye?1/(ye<0?-ye:ye):0),t.svg&&(I=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!Tl(Wt(e,De)),I&&e.setAttribute("transform",I))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(d*=-1,v+=h<=0?180:-180,h+=h<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),r=r||t.uncache,t.x=l-((t.xPercent=l&&(!r&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+o,t.y=c-((t.yPercent=c&&(!r&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-c)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+o,t.z=p+o,t.scaleX=ze(d),t.scaleY=ze(_),t.rotation=ze(h)+a,t.rotationX=ze(g)+a,t.rotationY=ze(x)+a,t.skewX=v+a,t.skewY=E+a,t.transformPerspective=b+o,(t.zOrigin=parseFloat(f.split(" ")[2])||!r&&t.zOrigin||0)&&(n[Lt]=_s(f)),t.xOffset=t.yOffset=0,t.force3D=jt.force3D,t.renderTransform=t.svg?Hh:bl?Sl:qh,t.uncache=0,t},_s=function(e){return(e=e.split(" "))[0]+" "+e[1]},qs=function(e,r,t){var n=mt(r);return ze(parseFloat(r)+parseFloat(Kr(e,"x",t+"px",n)))+n},qh=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,Sl(e,r)},en="0deg",Kn="0px",tn=") ",Sl=function(e,r){var t=r||this,n=t.xPercent,s=t.yPercent,o=t.x,a=t.y,u=t.z,f=t.rotation,l=t.rotationY,c=t.rotationX,p=t.skewX,d=t.skewY,_=t.scaleX,h=t.scaleY,g=t.transformPerspective,x=t.force3D,v=t.target,E=t.zOrigin,b="",C=x==="auto"&&e&&e!==1||x===!0;if(E&&(c!==en||l!==en)){var P=parseFloat(l)*Fn,S=Math.sin(P),A=Math.cos(P),R;P=parseFloat(c)*Fn,R=Math.cos(P),o=qs(v,o,S*R*-E),a=qs(v,a,-Math.sin(P)*-E),u=qs(v,u,A*R*-E+E)}g!==Kn&&(b+="perspective("+g+tn),(n||s)&&(b+="translate("+n+"%, "+s+"%) "),(C||o!==Kn||a!==Kn||u!==Kn)&&(b+=u!==Kn||C?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+tn),f!==en&&(b+="rotate("+f+tn),l!==en&&(b+="rotateY("+l+tn),c!==en&&(b+="rotateX("+c+tn),(p!==en||d!==en)&&(b+="skew("+p+", "+d+tn),(_!==1||h!==1)&&(b+="scale("+_+", "+h+tn),v.style[De]=b||"translate(0, 0)"},Hh=function(e,r){var t=r||this,n=t.xPercent,s=t.yPercent,o=t.x,a=t.y,u=t.rotation,f=t.skewX,l=t.skewY,c=t.scaleX,p=t.scaleY,d=t.target,_=t.xOrigin,h=t.yOrigin,g=t.xOffset,x=t.yOffset,v=t.forceCSS,E=parseFloat(o),b=parseFloat(a),C,P,S,A,R;u=parseFloat(u),f=parseFloat(f),l=parseFloat(l),l&&(l=parseFloat(l),f+=l,u+=l),u||f?(u*=Fn,f*=Fn,C=Math.cos(u)*c,P=Math.sin(u)*c,S=Math.sin(u-f)*-p,A=Math.cos(u-f)*p,f&&(l*=Fn,R=Math.tan(f-l),R=Math.sqrt(1+R*R),S*=R,A*=R,l&&(R=Math.tan(l),R=Math.sqrt(1+R*R),C*=R,P*=R)),C=ze(C),P=ze(P),S=ze(S),A=ze(A)):(C=c,A=p,P=S=0),(E&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(E=Kr(d,"x",o,"px"),b=Kr(d,"y",a,"px")),(_||h||g||x)&&(E=ze(E+_-(_*C+h*S)+g),b=ze(b+h-(_*P+h*A)+x)),(n||s)&&(R=d.getBBox(),E=ze(E+n/100*R.width),b=ze(b+s/100*R.height)),R="matrix("+C+","+P+","+S+","+A+","+E+","+b+")",d.setAttribute("transform",R),v&&(d.style[De]=R)},$h=function(e,r,t,n,s){var o=360,a=it(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?rn:1),f=u-n,l=n+f+"deg",c,p;return a&&(c=s.split("_")[1],c==="short"&&(f%=o,f!==f%(o/2)&&(f+=f<0?o:-o)),c==="cw"&&f<0?f=(f+o*Ra)%o-~~(f/o)*o:c==="ccw"&&f>0&&(f=(f-o*Ra)%o-~~(f/o)*o)),e._pt=p=new Ft(e._pt,r,t,n,f,Eh),p.e=l,p.u="deg",e._props.push(t),p},La=function(e,r){for(var t in r)e[t]=r[t];return e},Yh=function(e,r,t){var n=La({},t._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=t.style,a,u,f,l,c,p,d,_;n.svg?(f=t.getAttribute("transform"),t.setAttribute("transform",""),o[De]=r,a=Pi(t,1),Gr(t,De),t.setAttribute("transform",f)):(f=getComputedStyle(t)[De],o[De]=r,a=Pi(t,1),o[De]=f);for(u in Mr)f=n[u],l=a[u],f!==l&&s.indexOf(u)<0&&(d=mt(f),_=mt(l),c=d!==_?Kr(t,u,f,_):parseFloat(f),p=parseFloat(l),e._pt=new Ft(e._pt,a,u,c,p-c,ho),e._pt.u=_||0,e._props.push(u));La(a,n)};Mt("padding,margin,Width,Radius",function(i,e){var r="Top",t="Right",n="Bottom",s="Left",o=(e<3?[r,t,n,s]:[r+s,r+t,n+t,n+s]).map(function(a){return e<2?i+a:"border"+a+i});ps[e>1?"border"+i:i]=function(a,u,f,l,c){var p,d;if(arguments.length<4)return p=o.map(function(_){return Rr(a,_,f)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(l+"").split(" "),d={},o.forEach(function(_,h){return d[_]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(u,d,c)}});var El={name:"css",register:_o,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,t,n,s){var o=this._props,a=e.style,u=t.vars.startAt,f,l,c,p,d,_,h,g,x,v,E,b,C,P,S,A,R;Xo||_o(),this.styles=this.styles||yl(e),A=this.styles.props,this.tween=t;for(h in r)if(h!=="autoRound"&&(l=r[h],!(Ht[h]&&al(h,r,t,n,e,s)))){if(d=typeof l,_=ps[h],d==="function"&&(l=l.call(t,n,e,s),d=typeof l),d==="string"&&~l.indexOf("random(")&&(l=Ti(l)),_)_(this,e,h,l,t)&&(S=1);else if(h.substr(0,2)==="--")f=(getComputedStyle(e).getPropertyValue(h)+"").trim(),l+="",Xr.lastIndex=0,Xr.test(f)||(g=mt(f),x=mt(l),x?g!==x&&(f=Kr(e,h,f,x)+x):g&&(l+=g)),this.add(a,"setProperty",f,l,n,s,0,0,h),o.push(h),A.push(h,0,a[h]);else if(d!=="undefined"){if(u&&h in u?(f=typeof u[h]=="function"?u[h].call(t,n,e,s):u[h],it(f)&&~f.indexOf("random(")&&(f=Ti(f)),mt(f+"")||f==="auto"||(f+=jt.units[h]||mt(Rr(e,h))||""),(f+"").charAt(1)==="="&&(f=Rr(e,h))):f=Rr(e,h),p=parseFloat(f),v=d==="string"&&l.charAt(1)==="="&&l.substr(0,2),v&&(l=l.substr(2)),c=parseFloat(l),h in xr&&(h==="autoAlpha"&&(p===1&&Rr(e,"visibility")==="hidden"&&c&&(p=0),A.push("visibility",0,a.visibility),Hr(this,a,"visibility",p?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=xr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),E=h in Mr,E){if(this.styles.save(h),R=l,d==="string"&&l.substring(0,6)==="var(--"){if(l=Wt(e,l.substring(4,l.indexOf(")"))),l.substring(0,5)==="calc("){var O=e.style.perspective;e.style.perspective=l,l=Wt(e,"perspective"),O?e.style.perspective=O:Gr(e,"perspective")}c=parseFloat(l)}if(b||(C=e._gsap,C.renderTransform&&!r.parseTransform||Pi(e,r.parseTransform),P=r.smoothOrigin!==!1&&C.smooth,b=this._pt=new Ft(this._pt,a,De,0,1,C.renderTransform,C,0,-1),b.dep=1),h==="scale")this._pt=new Ft(this._pt,C,"scaleY",C.scaleY,(v?Dn(C.scaleY,v+c):c)-C.scaleY||0,ho),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){A.push(Lt,0,a[Lt]),l=Ih(l),C.svg?go(e,l,0,P,0,this):(x=parseFloat(l.split(" ")[2])||0,x!==C.zOrigin&&Hr(this,C,"zOrigin",C.zOrigin,x),Hr(this,a,h,_s(f),_s(l)));continue}else if(h==="svgOrigin"){go(e,l,1,P,0,this);continue}else if(h in vl){$h(this,C,h,p,v?Dn(p,v+l):l);continue}else if(h==="smoothOrigin"){Hr(this,C,"smooth",C.smooth,l);continue}else if(h==="force3D"){C[h]=l;continue}else if(h==="transform"){Yh(this,l,e);continue}}else h in a||(h=$n(h)||h);if(E||(c||c===0)&&(p||p===0)&&!Sh.test(l)&&h in a)g=(f+"").substr((p+"").length),c||(c=0),x=mt(l)||(h in jt.units?jt.units[h]:g),g!==x&&(p=Kr(e,h,f,x)),this._pt=new Ft(this._pt,E?C:a,h,p,(v?Dn(p,v+c):c)-p,!E&&(x==="px"||h==="zIndex")&&r.autoRound!==!1?Rh:ho),this._pt.u=x||0,E&&R!==l?(this._pt.b=f,this._pt.e=R,this._pt.r=Ph):g!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=Ch);else if(h in a)zh.call(this,e,h,f,v?v+l:l);else if(h in e)this.add(e,h,f||e[h],v?v+l:l,n,s);else if(h!=="parseTransform"){No(h,l);continue}E||(h in a?A.push(h,0,a[h]):typeof e[h]=="function"?A.push(h,2,e[h]()):A.push(h,1,f||e[h])),o.push(h)}}S&&dl(this)},render:function(e,r){if(r.tween._time||!Wo())for(var t=r._pt;t;)t.r(e,t.d),t=t._next;else r.styles.revert()},get:Rr,aliases:xr,getSetter:function(e,r,t){var n=xr[r];return n&&n.indexOf(",")<0&&(r=n),r in Mr&&r!==Lt&&(e._gsap.x||Rr(e,"x"))?t&&Pa===t?r==="scale"?Dh:Ah:(Pa=t||{})&&(r==="scale"?Mh:Fh):e.style&&!Mo(e.style[r])?Oh:~r.indexOf("-")?kh:Yo(e,r)},core:{_removeProperty:Gr,_getMatrix:Go}};Nt.utils.checkPrefix=$n;Nt.core.getStyleSaver=yl;(function(i,e,r,t){var n=Mt(i+","+e+","+r,function(s){Mr[s]=1});Mt(e,function(s){jt.units[s]="deg",vl[s]=1}),xr[n[13]]=i+","+e,Mt(t,function(s){var o=s.split(":");xr[o[1]]=n[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){jt.units[i]="px"});Nt.registerPlugin(El);var an=Nt.registerPlugin(El)||Nt;an.core.Tween;function Vh(i,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(i,t.key,t)}}function Xh(i,e,r){return e&&Vh(i.prototype,e),i}/*!
* Observer 3.14.1
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var ut,ts,Vt,$r,Yr,Ln,Cl,nn,fi,Pl,kr,fr,Rl,Ol=function(){return ut||typeof window<"u"&&(ut=window.gsap)&&ut.registerPlugin&&ut},kl=1,An=[],ie=[],Tr=[],ci=Date.now,mo=function(e,r){return r},Wh=function(){var e=fi.core,r=e.bridge||{},t=e._scrollers,n=e._proxies;t.push.apply(t,ie),n.push.apply(n,Tr),ie=t,Tr=n,mo=function(o,a){return r[o](a)}},Wr=function(e,r){return~Tr.indexOf(e)&&Tr[Tr.indexOf(e)+1][r]},hi=function(e){return!!~Pl.indexOf(e)},vt=function(e,r,t,n,s){return e.addEventListener(r,t,{passive:n!==!1,capture:!!s})},xt=function(e,r,t,n){return e.removeEventListener(r,t,!!n)},Ni="scrollLeft",Bi="scrollTop",yo=function(){return kr&&kr.isPressed||ie.cache++},gs=function(e,r){var t=function n(s){if(s||s===0){kl&&(Vt.history.scrollRestoration="manual");var o=kr&&kr.isPressed;s=n.v=Math.round(s)||(kr&&kr.iOS?1:0),e(s),n.cacheID=ie.cache,o&&mo("ss",s)}else(r||ie.cache!==n.cacheID||mo("ref"))&&(n.cacheID=ie.cache,n.v=e());return n.v+n.offset};return t.offset=0,e&&t},Rt={s:Ni,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:gs(function(i){return arguments.length?Vt.scrollTo(i,Ke.sc()):Vt.pageXOffset||$r[Ni]||Yr[Ni]||Ln[Ni]||0})},Ke={s:Bi,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Rt,sc:gs(function(i){return arguments.length?Vt.scrollTo(Rt.sc(),i):Vt.pageYOffset||$r[Bi]||Yr[Bi]||Ln[Bi]||0})},kt=function(e,r){return(r&&r._ctx&&r._ctx.selector||ut.utils.toArray)(e)[0]||(typeof e=="string"&&ut.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},jh=function(e,r){for(var t=r.length;t--;)if(r[t]===e||r[t].contains(e))return!0;return!1},Jr=function(e,r){var t=r.s,n=r.sc;hi(e)&&(e=$r.scrollingElement||Yr);var s=ie.indexOf(e),o=n===Ke.sc?1:2;!~s&&(s=ie.push(e)-1),ie[s+o]||vt(e,"scroll",yo);var a=ie[s+o],u=a||(ie[s+o]=gs(Wr(e,t),!0)||(hi(e)?n:gs(function(f){return arguments.length?e[t]=f:e[t]})));return u.target=e,a||(u.smooth=ut.getProperty(e,"scrollBehavior")==="smooth"),u},bo=function(e,r,t){var n=e,s=e,o=ci(),a=o,u=r||50,f=Math.max(500,u*3),l=function(_,h){var g=ci();h||g-o>u?(s=n,n=_,a=o,o=g):t?n+=_:n=s+(_-s)/(g-a)*(o-a)},c=function(){s=n=t?0:n,a=o=0},p=function(_){var h=a,g=s,x=ci();return(_||_===0)&&_!==n&&l(_),o===a||x-a>f?0:(n+(t?g:-g))/((t?x:o)-h)*1e3};return{update:l,reset:c,getVelocity:p}},Jn=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Na=function(e){var r=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(t)?r:t},Al=function(){fi=ut.core.globals().ScrollTrigger,fi&&fi.core&&Wh()},Dl=function(e){return ut=e||Ol(),!ts&&ut&&typeof document<"u"&&document.body&&(Vt=window,$r=document,Yr=$r.documentElement,Ln=$r.body,Pl=[Vt,$r,Yr,Ln],ut.utils.clamp,Rl=ut.core.context||function(){},nn="onpointerenter"in Ln?"pointer":"mouse",Cl=Ie.isTouch=Vt.matchMedia&&Vt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Vt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,fr=Ie.eventTypes=("ontouchstart"in Yr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Yr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return kl=0},500),Al(),ts=1),ts};Rt.op=Ke;ie.cache=0;var Ie=function(){function i(r){this.init(r)}var e=i.prototype;return e.init=function(t){ts||Dl(ut)||console.warn("Please gsap.registerPlugin(Observer)"),fi||Al();var n=t.tolerance,s=t.dragMinimum,o=t.type,a=t.target,u=t.lineHeight,f=t.debounce,l=t.preventDefault,c=t.onStop,p=t.onStopDelay,d=t.ignore,_=t.wheelSpeed,h=t.event,g=t.onDragStart,x=t.onDragEnd,v=t.onDrag,E=t.onPress,b=t.onRelease,C=t.onRight,P=t.onLeft,S=t.onUp,A=t.onDown,R=t.onChangeX,O=t.onChangeY,H=t.onChange,M=t.onToggleX,$=t.onToggleY,z=t.onHover,te=t.onHoverEnd,K=t.onMove,I=t.ignoreCheck,ae=t.isNormalizer,ce=t.onGestureStart,m=t.onGestureEnd,pe=t.onWheel,Ue=t.onEnable,ft=t.onDisable,ye=t.onClick,Me=t.scrollSpeed,Ve=t.capture,Pe=t.allowClicks,Je=t.lockAxis,Qe=t.onLockAxis;this.target=a=kt(a)||Yr,this.vars=t,d&&(d=ut.utils.toArray(d)),n=n||1e-9,s=s||0,_=_||1,Me=Me||1,o=o||"wheel,touch,pointer",f=f!==!1,u||(u=parseFloat(Vt.getComputedStyle(Ln).lineHeight)||22);var sr,Ze,Xe,ue,Re,st,wt,w=this,ct=0,D=0,y=t.passive||!l&&t.passive!==!1,k=Jr(a,Rt),B=Jr(a,Ke),Y=k(),W=B(),re=~o.indexOf("touch")&&!~o.indexOf("pointer")&&fr[0]==="pointerdown",Ne=hi(a),Q=a.ownerDocument||$r,ve=[0,0,0],he=[0,0,0],oe=0,We=function(){return oe=ci()},N=function(q,de){return(w.event=q)&&d&&jh(q.target,d)||de&&re&&q.pointerType!=="touch"||I&&I(q,de)},Fr=function(){w._vx.reset(),w._vy.reset(),Ze.pause(),c&&c(w)},Ot=function(){var q=w.deltaX=Na(ve),de=w.deltaY=Na(he),F=Math.abs(q)>=n,j=Math.abs(de)>=n;H&&(F||j)&&H(w,q,de,ve,he),F&&(C&&w.deltaX>0&&C(w),P&&w.deltaX<0&&P(w),R&&R(w),M&&w.deltaX<0!=ct<0&&M(w),ct=w.deltaX,ve[0]=ve[1]=ve[2]=0),j&&(A&&w.deltaY>0&&A(w),S&&w.deltaY<0&&S(w),O&&O(w),$&&w.deltaY<0!=D<0&&$(w),D=w.deltaY,he[0]=he[1]=he[2]=0),(ue||Xe)&&(K&&K(w),Xe&&(g&&Xe===1&&g(w),v&&v(w),Xe=0),ue=!1),st&&!(st=!1)&&Qe&&Qe(w),Re&&(pe(w),Re=!1),sr=0},Bt=function(q,de,F){ve[F]+=q,he[F]+=de,w._vx.update(q),w._vy.update(de),f?sr||(sr=requestAnimationFrame(Ot)):Ot()},Er=function(q,de){Je&&!wt&&(w.axis=wt=Math.abs(q)>Math.abs(de)?"x":"y",st=!0),wt!=="y"&&(ve[2]+=q,w._vx.update(q,!0)),wt!=="x"&&(he[2]+=de,w._vy.update(de,!0)),f?sr||(sr=requestAnimationFrame(Ot)):Ot()},Jt=function(q){if(!N(q,1)){q=Jn(q,l);var de=q.clientX,F=q.clientY,j=de-w.x,U=F-w.y,G=w.isDragging;w.x=de,w.y=F,(G||(j||U)&&(Math.abs(w.startX-de)>=s||Math.abs(w.startY-F)>=s))&&(Xe||(Xe=G?2:1),G||(w.isDragging=!0),Er(j,U))}},or=w.onPress=function(V){N(V,1)||V&&V.button||(w.axis=wt=null,Ze.pause(),w.isPressed=!0,V=Jn(V),ct=D=0,w.startX=w.x=V.clientX,w.startY=w.y=V.clientY,w._vx.reset(),w._vy.reset(),vt(ae?a:Q,fr[1],Jt,y,!0),w.deltaX=w.deltaY=0,E&&E(w))},X=w.onRelease=function(V){if(!N(V,1)){xt(ae?a:Q,fr[1],Jt,!0);var q=!isNaN(w.y-w.startY),de=w.isDragging,F=de&&(Math.abs(w.x-w.startX)>3||Math.abs(w.y-w.startY)>3),j=Jn(V);!F&&q&&(w._vx.reset(),w._vy.reset(),l&&Pe&&ut.delayedCall(.08,function(){if(ci()-oe>300&&!V.defaultPrevented){if(V.target.click)V.target.click();else if(Q.createEvent){var U=Q.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,Vt,1,j.screenX,j.screenY,j.clientX,j.clientY,!1,!1,!1,!1,0,null),V.target.dispatchEvent(U)}}})),w.isDragging=w.isGesturing=w.isPressed=!1,c&&de&&!ae&&Ze.restart(!0),Xe&&Ot(),x&&de&&x(w),b&&b(w,F)}},dr=function(q){return q.touches&&q.touches.length>1&&(w.isGesturing=!0)&&ce(q,w.isDragging)},et=function(){return(w.isGesturing=!1)||m(w)},_e=function(q){if(!N(q)){var de=k(),F=B();Bt((de-Y)*Me,(F-W)*Me,1),Y=de,W=F,c&&Ze.restart(!0)}},Se=function(q){if(!N(q)){q=Jn(q,l),pe&&(Re=!0);var de=(q.deltaMode===1?u:q.deltaMode===2?Vt.innerHeight:1)*_;Bt(q.deltaX*de,q.deltaY*de,0),c&&!ae&&Ze.restart(!0)}},zt=function(q){if(!N(q)){var de=q.clientX,F=q.clientY,j=de-w.x,U=F-w.y;w.x=de,w.y=F,ue=!0,c&&Ze.restart(!0),(j||U)&&Er(j,U)}},ar=function(q){w.event=q,z(w)},qe=function(q){w.event=q,te(w)},ur=function(q){return N(q)||Jn(q,l)&&ye(w)};Ze=w._dc=ut.delayedCall(p||.25,Fr).pause(),w.deltaX=w.deltaY=0,w._vx=bo(0,50,!0),w._vy=bo(0,50,!0),w.scrollX=k,w.scrollY=B,w.isDragging=w.isGesturing=w.isPressed=!1,Rl(this),w.enable=function(V){return w.isEnabled||(vt(Ne?Q:a,"scroll",yo),o.indexOf("scroll")>=0&&vt(Ne?Q:a,"scroll",_e,y,Ve),o.indexOf("wheel")>=0&&vt(a,"wheel",Se,y,Ve),(o.indexOf("touch")>=0&&Cl||o.indexOf("pointer")>=0)&&(vt(a,fr[0],or,y,Ve),vt(Q,fr[2],X),vt(Q,fr[3],X),Pe&&vt(a,"click",We,!0,!0),ye&&vt(a,"click",ur),ce&&vt(Q,"gesturestart",dr),m&&vt(Q,"gestureend",et),z&&vt(a,nn+"enter",ar),te&&vt(a,nn+"leave",qe),K&&vt(a,nn+"move",zt)),w.isEnabled=!0,w.isDragging=w.isGesturing=w.isPressed=ue=Xe=!1,w._vx.reset(),w._vy.reset(),Y=k(),W=B(),V&&V.type&&or(V),Ue&&Ue(w)),w},w.disable=function(){w.isEnabled&&(An.filter(function(V){return V!==w&&hi(V.target)}).length||xt(Ne?Q:a,"scroll",yo),w.isPressed&&(w._vx.reset(),w._vy.reset(),xt(ae?a:Q,fr[1],Jt,!0)),xt(Ne?Q:a,"scroll",_e,Ve),xt(a,"wheel",Se,Ve),xt(a,fr[0],or,Ve),xt(Q,fr[2],X),xt(Q,fr[3],X),xt(a,"click",We,!0),xt(a,"click",ur),xt(Q,"gesturestart",dr),xt(Q,"gestureend",et),xt(a,nn+"enter",ar),xt(a,nn+"leave",qe),xt(a,nn+"move",zt),w.isEnabled=w.isPressed=w.isDragging=!1,ft&&ft(w))},w.kill=w.revert=function(){w.disable();var V=An.indexOf(w);V>=0&&An.splice(V,1),kr===w&&(kr=0)},An.push(w),ae&&hi(a)&&(kr=w),w.enable(h)},Xh(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Ie.version="3.14.1";Ie.create=function(i){return new Ie(i)};Ie.register=Dl;Ie.getAll=function(){return An.slice()};Ie.getById=function(i){return An.filter(function(e){return e.vars.id===i})[0]};Ol()&&ut.registerPlugin(Ie);/*!
* ScrollTrigger 3.14.1
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var L,Pn,ne,Te,$t,me,Ko,ms,Ri,di,ti,zi,_t,Rs,wo,Et,Ba,za,Rn,Ml,Hs,Fl,St,xo,Ll,Nl,zr,vo,Jo,Nn,Qo,pi,To,$s,Ii=1,gt=Date.now,Ys=gt(),ir=0,ri=0,Ia=function(e,r,t){var n=qt(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+r+"Clamp"]=n,n?e.substr(6,e.length-7):e},Ua=function(e,r){return r&&(!qt(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Gh=function i(){return ri&&requestAnimationFrame(i)},qa=function(){return Rs=1},Ha=function(){return Rs=0},yr=function(e){return e},ni=function(e){return Math.round(e*1e5)/1e5||0},Bl=function(){return typeof window<"u"},zl=function(){return L||Bl()&&(L=window.gsap)&&L.registerPlugin&&L},bn=function(e){return!!~Ko.indexOf(e)},Il=function(e){return(e==="Height"?Qo:ne["inner"+e])||$t["client"+e]||me["client"+e]},Ul=function(e){return Wr(e,"getBoundingClientRect")||(bn(e)?function(){return os.width=ne.innerWidth,os.height=Qo,os}:function(){return Or(e)})},Kh=function(e,r,t){var n=t.d,s=t.d2,o=t.a;return(o=Wr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(r?Il(s):e["client"+s])||0}},Jh=function(e,r){return!r||~Tr.indexOf(e)?Ul(e):function(){return os}},vr=function(e,r){var t=r.s,n=r.d2,s=r.d,o=r.a;return Math.max(0,(t="scroll"+n)&&(o=Wr(e,t))?o()-Ul(e)()[s]:bn(e)?($t[t]||me[t])-Il(n):e[t]-e["offset"+n])},Ui=function(e,r){for(var t=0;t<Rn.length;t+=3)(!r||~r.indexOf(Rn[t+1]))&&e(Rn[t],Rn[t+1],Rn[t+2])},qt=function(e){return typeof e=="string"},yt=function(e){return typeof e=="function"},ii=function(e){return typeof e=="number"},sn=function(e){return typeof e=="object"},Qn=function(e,r,t){return e&&e.progress(r?0:1)&&t&&e.pause()},Vs=function(e,r){if(e.enabled){var t=e._ctx?e._ctx.add(function(){return r(e)}):r(e);t&&t.totalTime&&(e.callbackAnimation=t)}},En=Math.abs,ql="left",Hl="top",Zo="right",ea="bottom",_n="width",gn="height",_i="Right",gi="Left",mi="Top",yi="Bottom",He="padding",Zt="margin",Yn="Width",ta="Height",Ge="px",er=function(e){return ne.getComputedStyle(e)},Qh=function(e){var r=er(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},$a=function(e,r){for(var t in r)t in e||(e[t]=r[t]);return e},Or=function(e,r){var t=r&&er(e)[wo]!=="matrix(1, 0, 0, 1, 0, 0)"&&L.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return t&&t.progress(0).kill(),n},ys=function(e,r){var t=r.d2;return e["offset"+t]||e["client"+t]||0},$l=function(e){var r=[],t=e.labels,n=e.duration(),s;for(s in t)r.push(t[s]/n);return r},Zh=function(e){return function(r){return L.utils.snap($l(e),r)}},ra=function(e){var r=L.utils.snap(e),t=Array.isArray(e)&&e.slice(0).sort(function(n,s){return n-s});return t?function(n,s,o){o===void 0&&(o=.001);var a;if(!s)return r(n);if(s>0){for(n-=o,a=0;a<t.length;a++)if(t[a]>=n)return t[a];return t[a-1]}else for(a=t.length,n+=o;a--;)if(t[a]<=n)return t[a];return t[0]}:function(n,s,o){o===void 0&&(o=.001);var a=r(n);return!s||Math.abs(a-n)<o||a-n<0==s<0?a:r(s<0?n-e:n+e)}},ed=function(e){return function(r,t){return ra($l(e))(r,t.direction)}},qi=function(e,r,t,n){return t.split(",").forEach(function(s){return e(r,s,n)})},nt=function(e,r,t,n,s){return e.addEventListener(r,t,{passive:!n,capture:!!s})},rt=function(e,r,t,n){return e.removeEventListener(r,t,!!n)},Hi=function(e,r,t){t=t&&t.wheelHandler,t&&(e(r,"wheel",t),e(r,"touchmove",t))},Ya={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},$i={toggleActions:"play",anticipatePin:0},bs={top:0,left:0,center:.5,bottom:1,right:1},rs=function(e,r){if(qt(e)){var t=e.indexOf("="),n=~t?+(e.charAt(t-1)+1)*parseFloat(e.substr(t+1)):0;~t&&(e.indexOf("%")>t&&(n*=r/100),e=e.substr(0,t-1)),e=n+(e in bs?bs[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},Yi=function(e,r,t,n,s,o,a,u){var f=s.startColor,l=s.endColor,c=s.fontSize,p=s.indent,d=s.fontWeight,_=Te.createElement("div"),h=bn(t)||Wr(t,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,x=h?me:t,v=e.indexOf("start")!==-1,E=v?f:l,b="border-color:"+E+";font-size:"+c+";color:"+E+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((g||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(b+=(n===Ke?Zo:ea)+":"+(o+parseFloat(p))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=v,_.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),_.style.cssText=b,_.innerText=r||r===0?e+"-"+r:e,x.children[0]?x.insertBefore(_,x.children[0]):x.appendChild(_),_._offset=_["offset"+n.op.d2],ns(_,0,n,v),_},ns=function(e,r,t,n){var s={display:"block"},o=t[n?"os2":"p2"],a=t[n?"p2":"os2"];e._isFlipped=n,s[t.a+"Percent"]=n?-100:0,s[t.a]=n?"1px":0,s["border"+o+Yn]=1,s["border"+a+Yn]=0,s[t.p]=r+"px",L.set(e,s)},ee=[],So={},Oi,Va=function(){return gt()-ir>34&&(Oi||(Oi=requestAnimationFrame(Ar)))},Cn=function(){(!St||!St.isPressed||St.startX>me.clientWidth)&&(ie.cache++,St?Oi||(Oi=requestAnimationFrame(Ar)):Ar(),ir||xn("scrollStart"),ir=gt())},Xs=function(){Nl=ne.innerWidth,Ll=ne.innerHeight},si=function(e){ie.cache++,(e===!0||!_t&&!Fl&&!Te.fullscreenElement&&!Te.webkitFullscreenElement&&(!xo||Nl!==ne.innerWidth||Math.abs(ne.innerHeight-Ll)>ne.innerHeight*.25))&&ms.restart(!0)},wn={},td=[],Yl=function i(){return rt(se,"scrollEnd",i)||ln(!0)},xn=function(e){return wn[e]&&wn[e].map(function(r){return r()})||td},Ut=[],Vl=function(e){for(var r=0;r<Ut.length;r+=5)(!e||Ut[r+4]&&Ut[r+4].query===e)&&(Ut[r].style.cssText=Ut[r+1],Ut[r].getBBox&&Ut[r].setAttribute("transform",Ut[r+2]||""),Ut[r+3].uncache=1)},Xl=function(){return ie.forEach(function(e){return yt(e)&&++e.cacheID&&(e.rec=e())})},na=function(e,r){var t;for(Et=0;Et<ee.length;Et++)t=ee[Et],t&&(!r||t._ctx===r)&&(e?t.kill(1):t.revert(!0,!0));pi=!0,r&&Vl(r),r||xn("revert")},Wl=function(e,r){ie.cache++,(r||!Ct)&&ie.forEach(function(t){return yt(t)&&t.cacheID++&&(t.rec=0)}),qt(e)&&(ne.history.scrollRestoration=Jo=e)},Ct,mn=0,Xa,rd=function(){if(Xa!==mn){var e=Xa=mn;requestAnimationFrame(function(){return e===mn&&ln(!0)})}},jl=function(){me.appendChild(Nn),Qo=!St&&Nn.offsetHeight||ne.innerHeight,me.removeChild(Nn)},Wa=function(e){return Ri(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},ln=function(e,r){if($t=Te.documentElement,me=Te.body,Ko=[ne,Te,$t,me],ir&&!e&&!pi){nt(se,"scrollEnd",Yl);return}jl(),Ct=se.isRefreshing=!0,pi||Xl();var t=xn("refreshInit");Ml&&se.sort(),r||na(),ie.forEach(function(n){yt(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),ee.slice(0).forEach(function(n){return n.refresh()}),pi=!1,ee.forEach(function(n){if(n._subPinOffset&&n.pin){var s=n.vars.horizontal?"offsetWidth":"offsetHeight",o=n.pin[s];n.revert(!0,1),n.adjustPinSpacing(n.pin[s]-o),n.refresh()}}),To=1,Wa(!0),ee.forEach(function(n){var s=vr(n.scroller,n._dir),o=n.vars.end==="max"||n._endClamp&&n.end>s,a=n._startClamp&&n.start>=s;(o||a)&&n.setPositions(a?s-1:n.start,o?Math.max(a?s:n.start+1,s):n.end,!0)}),Wa(!1),To=0,t.forEach(function(n){return n&&n.render&&n.render(-1)}),ie.forEach(function(n){yt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Wl(Jo,1),ms.pause(),mn++,Ct=2,Ar(2),ee.forEach(function(n){return yt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Ct=se.isRefreshing=!1,xn("refresh")},Eo=0,is=1,bi,Ar=function(e){if(e===2||!Ct&&!pi){se.isUpdating=!0,bi&&bi.update(0);var r=ee.length,t=gt(),n=t-Ys>=50,s=r&&ee[0].scroll();if(is=Eo>s?-1:1,Ct||(Eo=s),n&&(ir&&!Rs&&t-ir>200&&(ir=0,xn("scrollEnd")),ti=Ys,Ys=t),is<0){for(Et=r;Et-- >0;)ee[Et]&&ee[Et].update(0,n);is=1}else for(Et=0;Et<r;Et++)ee[Et]&&ee[Et].update(0,n);se.isUpdating=!1}Oi=0},Co=[ql,Hl,ea,Zo,Zt+yi,Zt+_i,Zt+mi,Zt+gi,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ss=Co.concat([_n,gn,"boxSizing","max"+Yn,"max"+ta,"position",Zt,He,He+mi,He+_i,He+yi,He+gi]),nd=function(e,r,t){Bn(t);var n=e._gsap;if(n.spacerIsNative)Bn(n.spacerState);else if(e._gsap.swappedIn){var s=r.parentNode;s&&(s.insertBefore(e,r),s.removeChild(r))}e._gsap.swappedIn=!1},Ws=function(e,r,t,n){if(!e._gsap.swappedIn){for(var s=Co.length,o=r.style,a=e.style,u;s--;)u=Co[s],o[u]=t[u];o.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(o.display="inline-block"),a[ea]=a[Zo]="auto",o.flexBasis=t.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[_n]=ys(e,Rt)+Ge,o[gn]=ys(e,Ke)+Ge,o[He]=a[Zt]=a[Hl]=a[ql]="0",Bn(n),a[_n]=a["max"+Yn]=t[_n],a[gn]=a["max"+ta]=t[gn],a[He]=t[He],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=!0}},id=/([A-Z])/g,Bn=function(e){if(e){var r=e.t.style,t=e.length,n=0,s,o;for((e.t._gsap||L.core.getCache(e.t)).uncache=1;n<t;n+=2)o=e[n+1],s=e[n],o?r[s]=o:r[s]&&r.removeProperty(s.replace(id,"-$1").toLowerCase())}},Vi=function(e){for(var r=ss.length,t=e.style,n=[],s=0;s<r;s++)n.push(ss[s],t[ss[s]]);return n.t=e,n},sd=function(e,r,t){for(var n=[],s=e.length,o=t?8:0,a;o<s;o+=2)a=e[o],n.push(a,a in r?r[a]:e[o+1]);return n.t=e.t,n},os={left:0,top:0},ja=function(e,r,t,n,s,o,a,u,f,l,c,p,d,_){yt(e)&&(e=e(u)),qt(e)&&e.substr(0,3)==="max"&&(e=p+(e.charAt(4)==="="?rs("0"+e.substr(3),t):0));var h=d?d.time():0,g,x,v;if(d&&d.seek(0),isNaN(e)||(e=+e),ii(e))d&&(e=L.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,p,e)),a&&ns(a,t,n,!0);else{yt(r)&&(r=r(u));var E=(e||"0").split(" "),b,C,P,S;v=kt(r,u)||me,b=Or(v)||{},(!b||!b.left&&!b.top)&&er(v).display==="none"&&(S=v.style.display,v.style.display="block",b=Or(v),S?v.style.display=S:v.style.removeProperty("display")),C=rs(E[0],b[n.d]),P=rs(E[1]||"0",t),e=b[n.p]-f[n.p]-l+C+s-P,a&&ns(a,P,n,t-P<20||a._isStart&&P>20),t-=t-P}if(_&&(u[_]=e||-.001,e<0&&(e=0)),o){var A=e+t,R=o._isStart;g="scroll"+n.d2,ns(o,A,n,R&&A>20||!R&&(c?Math.max(me[g],$t[g]):o.parentNode[g])<=A+1),c&&(f=Or(a),c&&(o.style[n.op.p]=f[n.op.p]-n.op.m-o._offset+Ge))}return d&&v&&(g=Or(v),d.seek(p),x=Or(v),d._caScrollDist=g[n.p]-x[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},od=/(webkit|moz|length|cssText|inset)/i,Ga=function(e,r,t,n){if(e.parentNode!==r){var s=e.style,o,a;if(r===me){e._stOrig=s.cssText,a=er(e);for(o in a)!+o&&!od.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=t,s.left=n}else s.cssText=e._stOrig;L.core.getCache(e).uncache=1,r.appendChild(e)}},Gl=function(e,r,t){var n=r,s=n;return function(o){var a=Math.round(e());return a!==n&&a!==s&&Math.abs(a-n)>3&&Math.abs(a-s)>3&&(o=a,t&&t()),s=n,n=Math.round(o),n}},Xi=function(e,r,t){var n={};n[r.p]="+="+t,L.set(e,n)},Ka=function(e,r){var t=Jr(e,r),n="_scroll"+r.p2,s=function o(a,u,f,l,c){var p=o.tween,d=u.onComplete,_={};f=f||t();var h=Gl(t,f,function(){p.kill(),o.tween=0});return c=l&&c||0,l=l||a-f,p&&p.kill(),u[n]=a,u.inherit=!1,u.modifiers=_,_[n]=function(){return h(f+l*p.ratio+c*p.ratio*p.ratio)},u.onUpdate=function(){ie.cache++,o.tween&&Ar()},u.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=L.to(e,u),p};return e[n]=t,t.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},nt(e,"wheel",t.wheelHandler),se.isTouch&&nt(e,"touchmove",t.wheelHandler),s},se=function(){function i(r,t){Pn||i.register(L)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),vo(this),this.init(r,t)}var e=i.prototype;return e.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!ri){this.update=this.refresh=this.kill=yr;return}t=$a(qt(t)||ii(t)||t.nodeType?{trigger:t}:t,$i);var s=t,o=s.onUpdate,a=s.toggleClass,u=s.id,f=s.onToggle,l=s.onRefresh,c=s.scrub,p=s.trigger,d=s.pin,_=s.pinSpacing,h=s.invalidateOnRefresh,g=s.anticipatePin,x=s.onScrubComplete,v=s.onSnapComplete,E=s.once,b=s.snap,C=s.pinReparent,P=s.pinSpacer,S=s.containerAnimation,A=s.fastScrollEnd,R=s.preventOverlaps,O=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Rt:Ke,H=!c&&c!==0,M=kt(t.scroller||ne),$=L.core.getCache(M),z=bn(M),te=("pinType"in t?t.pinType:Wr(M,"pinType")||z&&"fixed")==="fixed",K=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],I=H&&t.toggleActions.split(" "),ae="markers"in t?t.markers:$i.markers,ce=z?0:parseFloat(er(M)["border"+O.p2+Yn])||0,m=this,pe=t.onRefreshInit&&function(){return t.onRefreshInit(m)},Ue=Kh(M,z,O),ft=Jh(M,z),ye=0,Me=0,Ve=0,Pe=Jr(M,O),Je,Qe,sr,Ze,Xe,ue,Re,st,wt,w,ct,D,y,k,B,Y,W,re,Ne,Q,ve,he,oe,We,N,Fr,Ot,Bt,Er,Jt,or,X,dr,et,_e,Se,zt,ar,qe;if(m._startClamp=m._endClamp=!1,m._dir=O,g*=45,m.scroller=M,m.scroll=S?S.time.bind(S):Pe,Ze=Pe(),m.vars=t,n=n||t.animation,"refreshPriority"in t&&(Ml=1,t.refreshPriority===-9999&&(bi=m)),$.tweenScroll=$.tweenScroll||{top:Ka(M,Ke),left:Ka(M,Rt)},m.tweenTo=Je=$.tweenScroll[O.p],m.scrubDuration=function(F){dr=ii(F)&&F,dr?X?X.duration(F):X=L.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:dr,paused:!0,onComplete:function(){return x&&x(m)}}):(X&&X.progress(1).kill(),X=0)},n&&(n.vars.lazy=!1,n._initted&&!m.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),m.animation=n.pause(),n.scrollTrigger=m,m.scrubDuration(c),Jt=0,u||(u=n.vars.id)),b&&((!sn(b)||b.push)&&(b={snapTo:b}),"scrollBehavior"in me.style&&L.set(z?[me,$t]:M,{scrollBehavior:"auto"}),ie.forEach(function(F){return yt(F)&&F.target===(z?Te.scrollingElement||$t:M)&&(F.smooth=!1)}),sr=yt(b.snapTo)?b.snapTo:b.snapTo==="labels"?Zh(n):b.snapTo==="labelsDirectional"?ed(n):b.directional!==!1?function(F,j){return ra(b.snapTo)(F,gt()-Me<500?0:j.direction)}:L.utils.snap(b.snapTo),et=b.duration||{min:.1,max:2},et=sn(et)?di(et.min,et.max):di(et,et),_e=L.delayedCall(b.delay||dr/2||.1,function(){var F=Pe(),j=gt()-Me<500,U=Je.tween;if((j||Math.abs(m.getVelocity())<10)&&!U&&!Rs&&ye!==F){var G=(F-ue)/k,tt=n&&!H?n.totalProgress():G,le=j?0:(tt-or)/(gt()-ti)*1e3||0,Be=L.utils.clamp(-G,1-G,En(le/2)*le/.185),ht=G+(b.inertia===!1?0:Be),Fe,Ee,be=b,lr=be.onStart,Oe=be.onInterrupt,It=be.onComplete;if(Fe=sr(ht,m),ii(Fe)||(Fe=ht),Ee=Math.max(0,Math.round(ue+Fe*k)),F<=Re&&F>=ue&&Ee!==F){if(U&&!U._initted&&U.data<=En(Ee-F))return;b.inertia===!1&&(Be=Fe-G),Je(Ee,{duration:et(En(Math.max(En(ht-tt),En(Fe-tt))*.185/le/.05||0)),ease:b.ease||"power3",data:En(Ee-F),onInterrupt:function(){return _e.restart(!0)&&Oe&&Oe(m)},onComplete:function(){m.update(),ye=Pe(),n&&!H&&(X?X.resetTo("totalProgress",Fe,n._tTime/n._tDur):n.progress(Fe)),Jt=or=n&&!H?n.totalProgress():m.progress,v&&v(m),It&&It(m)}},F,Be*k,Ee-F-Be*k),lr&&lr(m,Je.tween)}}else m.isActive&&ye!==F&&_e.restart(!0)}).pause()),u&&(So[u]=m),p=m.trigger=kt(p||d!==!0&&d),qe=p&&p._gsap&&p._gsap.stRevert,qe&&(qe=qe(m)),d=d===!0?p:kt(d),qt(a)&&(a={targets:p,className:a}),d&&(_===!1||_===Zt||(_=!_&&d.parentNode&&d.parentNode.style&&er(d.parentNode).display==="flex"?!1:He),m.pin=d,Qe=L.core.getCache(d),Qe.spacer?B=Qe.pinState:(P&&(P=kt(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),Qe.spacerIsNative=!!P,P&&(Qe.spacerState=Vi(P))),Qe.spacer=re=P||Te.createElement("div"),re.classList.add("pin-spacer"),u&&re.classList.add("pin-spacer-"+u),Qe.pinState=B=Vi(d)),t.force3D!==!1&&L.set(d,{force3D:!0}),m.spacer=re=Qe.spacer,Er=er(d),We=Er[_+O.os2],Q=L.getProperty(d),ve=L.quickSetter(d,O.a,Ge),Ws(d,re,Er),W=Vi(d)),ae){D=sn(ae)?$a(ae,Ya):Ya,w=Yi("scroller-start",u,M,O,D,0),ct=Yi("scroller-end",u,M,O,D,0,w),Ne=w["offset"+O.op.d2];var ur=kt(Wr(M,"content")||M);st=this.markerStart=Yi("start",u,ur,O,D,Ne,0,S),wt=this.markerEnd=Yi("end",u,ur,O,D,Ne,0,S),S&&(ar=L.quickSetter([st,wt],O.a,Ge)),!te&&!(Tr.length&&Wr(M,"fixedMarkers")===!0)&&(Qh(z?me:M),L.set([w,ct],{force3D:!0}),Fr=L.quickSetter(w,O.a,Ge),Bt=L.quickSetter(ct,O.a,Ge))}if(S){var V=S.vars.onUpdate,q=S.vars.onUpdateParams;S.eventCallback("onUpdate",function(){m.update(0,0,1),V&&V.apply(S,q||[])})}if(m.previous=function(){return ee[ee.indexOf(m)-1]},m.next=function(){return ee[ee.indexOf(m)+1]},m.revert=function(F,j){if(!j)return m.kill(!0);var U=F!==!1||!m.enabled,G=_t;U!==m.isReverted&&(U&&(Se=Math.max(Pe(),m.scroll.rec||0),Ve=m.progress,zt=n&&n.progress()),st&&[st,wt,w,ct].forEach(function(tt){return tt.style.display=U?"none":"block"}),U&&(_t=m,m.update(U)),d&&(!C||!m.isActive)&&(U?nd(d,re,B):Ws(d,re,er(d),N)),U||m.update(U),_t=G,m.isReverted=U)},m.refresh=function(F,j,U,G){if(!((_t||!m.enabled)&&!j)){if(d&&F&&ir){nt(i,"scrollEnd",Yl);return}!Ct&&pe&&pe(m),_t=m,Je.tween&&!U&&(Je.tween.kill(),Je.tween=0),X&&X.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(Lr){return Lr.vars.immediateRender&&Lr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),m.isReverted||m.revert(!0,!0),m._subPinOffset=!1;var tt=Ue(),le=ft(),Be=S?S.duration():vr(M,O),ht=k<=.01||!k,Fe=0,Ee=G||0,be=sn(U)?U.end:t.end,lr=t.endTrigger||p,Oe=sn(U)?U.start:t.start||(t.start===0||!p?0:d?"0 0":"0 100%"),It=m.pinnedContainer=t.pinnedContainer&&kt(t.pinnedContainer,m),pr=p&&Math.max(0,ee.indexOf(m))||0,ot=pr,at,dt,Zr,Mi,pt,je,_r,Os,ia,Wn,gr,jn,Fi;for(ae&&sn(U)&&(jn=L.getProperty(w,O.p),Fi=L.getProperty(ct,O.p));ot-- >0;)je=ee[ot],je.end||je.refresh(0,1)||(_t=m),_r=je.pin,_r&&(_r===p||_r===d||_r===It)&&!je.isReverted&&(Wn||(Wn=[]),Wn.unshift(je),je.revert(!0,!0)),je!==ee[ot]&&(pr--,ot--);for(yt(Oe)&&(Oe=Oe(m)),Oe=Ia(Oe,"start",m),ue=ja(Oe,p,tt,O,Pe(),st,w,m,le,ce,te,Be,S,m._startClamp&&"_startClamp")||(d?-.001:0),yt(be)&&(be=be(m)),qt(be)&&!be.indexOf("+=")&&(~be.indexOf(" ")?be=(qt(Oe)?Oe.split(" ")[0]:"")+be:(Fe=rs(be.substr(2),tt),be=qt(Oe)?Oe:(S?L.utils.mapRange(0,S.duration(),S.scrollTrigger.start,S.scrollTrigger.end,ue):ue)+Fe,lr=p)),be=Ia(be,"end",m),Re=Math.max(ue,ja(be||(lr?"100% 0":Be),lr,tt,O,Pe()+Fe,wt,ct,m,le,ce,te,Be,S,m._endClamp&&"_endClamp"))||-.001,Fe=0,ot=pr;ot--;)je=ee[ot]||{},_r=je.pin,_r&&je.start-je._pinPush<=ue&&!S&&je.end>0&&(at=je.end-(m._startClamp?Math.max(0,je.start):je.start),(_r===p&&je.start-je._pinPush<ue||_r===It)&&isNaN(Oe)&&(Fe+=at*(1-je.progress)),_r===d&&(Ee+=at));if(ue+=Fe,Re+=Fe,m._startClamp&&(m._startClamp+=Fe),m._endClamp&&!Ct&&(m._endClamp=Re||-.001,Re=Math.min(Re,vr(M,O))),k=Re-ue||(ue-=.01)&&.001,ht&&(Ve=L.utils.clamp(0,1,L.utils.normalize(ue,Re,Se))),m._pinPush=Ee,st&&Fe&&(at={},at[O.a]="+="+Fe,It&&(at[O.p]="-="+Pe()),L.set([st,wt],at)),d&&!(To&&m.end>=vr(M,O)))at=er(d),Mi=O===Ke,Zr=Pe(),he=parseFloat(Q(O.a))+Ee,!Be&&Re>1&&(gr=(z?Te.scrollingElement||$t:M).style,gr={style:gr,value:gr["overflow"+O.a.toUpperCase()]},z&&er(me)["overflow"+O.a.toUpperCase()]!=="scroll"&&(gr.style["overflow"+O.a.toUpperCase()]="scroll")),Ws(d,re,at),W=Vi(d),dt=Or(d,!0),Os=te&&Jr(M,Mi?Rt:Ke)(),_?(N=[_+O.os2,k+Ee+Ge],N.t=re,ot=_===He?ys(d,O)+k+Ee:0,ot&&(N.push(O.d,ot+Ge),re.style.flexBasis!=="auto"&&(re.style.flexBasis=ot+Ge)),Bn(N),It&&ee.forEach(function(Lr){Lr.pin===It&&Lr.vars.pinSpacing!==!1&&(Lr._subPinOffset=!0)}),te&&Pe(Se)):(ot=ys(d,O),ot&&re.style.flexBasis!=="auto"&&(re.style.flexBasis=ot+Ge)),te&&(pt={top:dt.top+(Mi?Zr-ue:Os)+Ge,left:dt.left+(Mi?Os:Zr-ue)+Ge,boxSizing:"border-box",position:"fixed"},pt[_n]=pt["max"+Yn]=Math.ceil(dt.width)+Ge,pt[gn]=pt["max"+ta]=Math.ceil(dt.height)+Ge,pt[Zt]=pt[Zt+mi]=pt[Zt+_i]=pt[Zt+yi]=pt[Zt+gi]="0",pt[He]=at[He],pt[He+mi]=at[He+mi],pt[He+_i]=at[He+_i],pt[He+yi]=at[He+yi],pt[He+gi]=at[He+gi],Y=sd(B,pt,C),Ct&&Pe(0)),n?(ia=n._initted,Hs(1),n.render(n.duration(),!0,!0),oe=Q(O.a)-he+k+Ee,Ot=Math.abs(k-oe)>1,te&&Ot&&Y.splice(Y.length-2,2),n.render(0,!0,!0),ia||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Hs(0)):oe=k,gr&&(gr.value?gr.style["overflow"+O.a.toUpperCase()]=gr.value:gr.style.removeProperty("overflow-"+O.a));else if(p&&Pe()&&!S)for(dt=p.parentNode;dt&&dt!==me;)dt._pinOffset&&(ue-=dt._pinOffset,Re-=dt._pinOffset),dt=dt.parentNode;Wn&&Wn.forEach(function(Lr){return Lr.revert(!1,!0)}),m.start=ue,m.end=Re,Ze=Xe=Ct?Se:Pe(),!S&&!Ct&&(Ze<Se&&Pe(Se),m.scroll.rec=0),m.revert(!1,!0),Me=gt(),_e&&(ye=-1,_e.restart(!0)),_t=0,n&&H&&(n._initted||zt)&&n.progress()!==zt&&n.progress(zt||0,!0).render(n.time(),!0,!0),(ht||Ve!==m.progress||S||h||n&&!n._initted)&&(n&&!H&&(n._initted||Ve||n.vars.immediateRender!==!1)&&n.totalProgress(S&&ue<-.001&&!Ve?L.utils.normalize(ue,Re,0):Ve,!0),m.progress=ht||(Ze-ue)/k===Ve?0:Ve),d&&_&&(re._pinOffset=Math.round(m.progress*oe)),X&&X.invalidate(),isNaN(jn)||(jn-=L.getProperty(w,O.p),Fi-=L.getProperty(ct,O.p),Xi(w,O,jn),Xi(st,O,jn-(G||0)),Xi(ct,O,Fi),Xi(wt,O,Fi-(G||0))),ht&&!Ct&&m.update(),l&&!Ct&&!y&&(y=!0,l(m),y=!1)}},m.getVelocity=function(){return(Pe()-Xe)/(gt()-ti)*1e3||0},m.endAnimation=function(){Qn(m.callbackAnimation),n&&(X?X.progress(1):n.paused()?H||Qn(n,m.direction<0,1):Qn(n,n.reversed()))},m.labelToScroll=function(F){return n&&n.labels&&(ue||m.refresh()||ue)+n.labels[F]/n.duration()*k||0},m.getTrailing=function(F){var j=ee.indexOf(m),U=m.direction>0?ee.slice(0,j).reverse():ee.slice(j+1);return(qt(F)?U.filter(function(G){return G.vars.preventOverlaps===F}):U).filter(function(G){return m.direction>0?G.end<=ue:G.start>=Re})},m.update=function(F,j,U){if(!(S&&!U&&!F)){var G=Ct===!0?Se:m.scroll(),tt=F?0:(G-ue)/k,le=tt<0?0:tt>1?1:tt||0,Be=m.progress,ht,Fe,Ee,be,lr,Oe,It,pr;if(j&&(Xe=Ze,Ze=S?Pe():G,b&&(or=Jt,Jt=n&&!H?n.totalProgress():le)),g&&d&&!_t&&!Ii&&ir&&(!le&&ue<G+(G-Xe)/(gt()-ti)*g?le=1e-4:le===1&&Re>G+(G-Xe)/(gt()-ti)*g&&(le=.9999)),le!==Be&&m.enabled){if(ht=m.isActive=!!le&&le<1,Fe=!!Be&&Be<1,Oe=ht!==Fe,lr=Oe||!!le!=!!Be,m.direction=le>Be?1:-1,m.progress=le,lr&&!_t&&(Ee=le&&!Be?0:le===1?1:Be===1?2:3,H&&(be=!Oe&&I[Ee+1]!=="none"&&I[Ee+1]||I[Ee],pr=n&&(be==="complete"||be==="reset"||be in n))),R&&(Oe||pr)&&(pr||c||!n)&&(yt(R)?R(m):m.getTrailing(R).forEach(function(Zr){return Zr.endAnimation()})),H||(X&&!_t&&!Ii?(X._dp._time-X._start!==X._time&&X.render(X._dp._time-X._start),X.resetTo?X.resetTo("totalProgress",le,n._tTime/n._tDur):(X.vars.totalProgress=le,X.invalidate().restart())):n&&n.totalProgress(le,!!(_t&&(Me||F)))),d){if(F&&_&&(re.style[_+O.os2]=We),!te)ve(ni(he+oe*le));else if(lr){if(It=!F&&le>Be&&Re+1>G&&G+1>=vr(M,O),C)if(!F&&(ht||It)){var ot=Or(d,!0),at=G-ue;Ga(d,me,ot.top+(O===Ke?at:0)+Ge,ot.left+(O===Ke?0:at)+Ge)}else Ga(d,re);Bn(ht||It?Y:W),Ot&&le<1&&ht||ve(he+(le===1&&!It?oe:0))}}b&&!Je.tween&&!_t&&!Ii&&_e.restart(!0),a&&(Oe||E&&le&&(le<1||!$s))&&Ri(a.targets).forEach(function(Zr){return Zr.classList[ht||E?"add":"remove"](a.className)}),o&&!H&&!F&&o(m),lr&&!_t?(H&&(pr&&(be==="complete"?n.pause().totalProgress(1):be==="reset"?n.restart(!0).pause():be==="restart"?n.restart(!0):n[be]()),o&&o(m)),(Oe||!$s)&&(f&&Oe&&Vs(m,f),K[Ee]&&Vs(m,K[Ee]),E&&(le===1?m.kill(!1,1):K[Ee]=0),Oe||(Ee=le===1?1:3,K[Ee]&&Vs(m,K[Ee]))),A&&!ht&&Math.abs(m.getVelocity())>(ii(A)?A:2500)&&(Qn(m.callbackAnimation),X?X.progress(1):Qn(n,be==="reverse"?1:!le,1))):H&&o&&!_t&&o(m)}if(Bt){var dt=S?G/S.duration()*(S._caScrollDist||0):G;Fr(dt+(w._isFlipped?1:0)),Bt(dt)}ar&&ar(-G/S.duration()*(S._caScrollDist||0))}},m.enable=function(F,j){m.enabled||(m.enabled=!0,nt(M,"resize",si),z||nt(M,"scroll",Cn),pe&&nt(i,"refreshInit",pe),F!==!1&&(m.progress=Ve=0,Ze=Xe=ye=Pe()),j!==!1&&m.refresh())},m.getTween=function(F){return F&&Je?Je.tween:X},m.setPositions=function(F,j,U,G){if(S){var tt=S.scrollTrigger,le=S.duration(),Be=tt.end-tt.start;F=tt.start+Be*F/le,j=tt.start+Be*j/le}m.refresh(!1,!1,{start:Ua(F,U&&!!m._startClamp),end:Ua(j,U&&!!m._endClamp)},G),m.update()},m.adjustPinSpacing=function(F){if(N&&F){var j=N.indexOf(O.d)+1;N[j]=parseFloat(N[j])+F+Ge,N[1]=parseFloat(N[1])+F+Ge,Bn(N)}},m.disable=function(F,j){if(F!==!1&&m.revert(!0,!0),m.enabled&&(m.enabled=m.isActive=!1,j||X&&X.pause(),Se=0,Qe&&(Qe.uncache=1),pe&&rt(i,"refreshInit",pe),_e&&(_e.pause(),Je.tween&&Je.tween.kill()&&(Je.tween=0)),!z)){for(var U=ee.length;U--;)if(ee[U].scroller===M&&ee[U]!==m)return;rt(M,"resize",si),z||rt(M,"scroll",Cn)}},m.kill=function(F,j){m.disable(F,j),X&&!j&&X.kill(),u&&delete So[u];var U=ee.indexOf(m);U>=0&&ee.splice(U,1),U===Et&&is>0&&Et--,U=0,ee.forEach(function(G){return G.scroller===m.scroller&&(U=1)}),U||Ct||(m.scroll.rec=0),n&&(n.scrollTrigger=null,F&&n.revert({kill:!1}),j||n.kill()),st&&[st,wt,w,ct].forEach(function(G){return G.parentNode&&G.parentNode.removeChild(G)}),bi===m&&(bi=0),d&&(Qe&&(Qe.uncache=1),U=0,ee.forEach(function(G){return G.pin===d&&U++}),U||(Qe.spacer=0)),t.onKill&&t.onKill(m)},ee.push(m),m.enable(!1,!1),qe&&qe(m),n&&n.add&&!k){var de=m.update;m.update=function(){m.update=de,ie.cache++,ue||Re||m.refresh()},L.delayedCall(.01,m.update),k=.01,ue=Re=0}else m.refresh();d&&rd()},i.register=function(t){return Pn||(L=t||zl(),Bl()&&window.document&&i.enable(),Pn=ri),Pn},i.defaults=function(t){if(t)for(var n in t)$i[n]=t[n];return $i},i.disable=function(t,n){ri=0,ee.forEach(function(o){return o[n?"kill":"disable"](t)}),rt(ne,"wheel",Cn),rt(Te,"scroll",Cn),clearInterval(zi),rt(Te,"touchcancel",yr),rt(me,"touchstart",yr),qi(rt,Te,"pointerdown,touchstart,mousedown",qa),qi(rt,Te,"pointerup,touchend,mouseup",Ha),ms.kill(),Ui(rt);for(var s=0;s<ie.length;s+=3)Hi(rt,ie[s],ie[s+1]),Hi(rt,ie[s],ie[s+2])},i.enable=function(){if(ne=window,Te=document,$t=Te.documentElement,me=Te.body,L&&(Ri=L.utils.toArray,di=L.utils.clamp,vo=L.core.context||yr,Hs=L.core.suppressOverwrites||yr,Jo=ne.history.scrollRestoration||"auto",Eo=ne.pageYOffset||0,L.core.globals("ScrollTrigger",i),me)){ri=1,Nn=document.createElement("div"),Nn.style.height="100vh",Nn.style.position="absolute",jl(),Gh(),Ie.register(L),i.isTouch=Ie.isTouch,zr=Ie.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),xo=Ie.isTouch===1,nt(ne,"wheel",Cn),Ko=[ne,Te,$t,me],L.matchMedia?(i.matchMedia=function(f){var l=L.matchMedia(),c;for(c in f)l.add(c,f[c]);return l},L.addEventListener("matchMediaInit",function(){Xl(),na()}),L.addEventListener("matchMediaRevert",function(){return Vl()}),L.addEventListener("matchMedia",function(){ln(0,1),xn("matchMedia")}),L.matchMedia().add("(orientation: portrait)",function(){return Xs(),Xs})):console.warn("Requires GSAP 3.11.0 or later"),Xs(),nt(Te,"scroll",Cn);var t=me.hasAttribute("style"),n=me.style,s=n.borderTopStyle,o=L.core.Animation.prototype,a,u;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",a=Or(me),Ke.m=Math.round(a.top+Ke.sc())||0,Rt.m=Math.round(a.left+Rt.sc())||0,s?n.borderTopStyle=s:n.removeProperty("border-top-style"),t||(me.setAttribute("style",""),me.removeAttribute("style")),zi=setInterval(Va,250),L.delayedCall(.5,function(){return Ii=0}),nt(Te,"touchcancel",yr),nt(me,"touchstart",yr),qi(nt,Te,"pointerdown,touchstart,mousedown",qa),qi(nt,Te,"pointerup,touchend,mouseup",Ha),wo=L.utils.checkPrefix("transform"),ss.push(wo),Pn=gt(),ms=L.delayedCall(.2,ln).pause(),Rn=[Te,"visibilitychange",function(){var f=ne.innerWidth,l=ne.innerHeight;Te.hidden?(Ba=f,za=l):(Ba!==f||za!==l)&&si()},Te,"DOMContentLoaded",ln,ne,"load",ln,ne,"resize",si],Ui(nt),ee.forEach(function(f){return f.enable(0,1)}),u=0;u<ie.length;u+=3)Hi(rt,ie[u],ie[u+1]),Hi(rt,ie[u],ie[u+2])}},i.config=function(t){"limitCallbacks"in t&&($s=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(zi)||(zi=n)&&setInterval(Va,n),"ignoreMobileResize"in t&&(xo=i.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Ui(rt)||Ui(nt,t.autoRefreshEvents||"none"),Fl=(t.autoRefreshEvents+"").indexOf("resize")===-1)},i.scrollerProxy=function(t,n){var s=kt(t),o=ie.indexOf(s),a=bn(s);~o&&ie.splice(o,a?6:2),n&&(a?Tr.unshift(ne,n,me,n,$t,n):Tr.unshift(s,n))},i.clearMatchMedia=function(t){ee.forEach(function(n){return n._ctx&&n._ctx.query===t&&n._ctx.kill(!0,!0)})},i.isInViewport=function(t,n,s){var o=(qt(t)?kt(t):t).getBoundingClientRect(),a=o[s?_n:gn]*n||0;return s?o.right-a>0&&o.left+a<ne.innerWidth:o.bottom-a>0&&o.top+a<ne.innerHeight},i.positionInViewport=function(t,n,s){qt(t)&&(t=kt(t));var o=t.getBoundingClientRect(),a=o[s?_n:gn],u=n==null?a/2:n in bs?bs[n]*a:~n.indexOf("%")?parseFloat(n)*a/100:parseFloat(n)||0;return s?(o.left+u)/ne.innerWidth:(o.top+u)/ne.innerHeight},i.killAll=function(t){if(ee.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),t!==!0){var n=wn.killAll||[];wn={},n.forEach(function(s){return s()})}},i}();se.version="3.14.1";se.saveStyles=function(i){return i?Ri(i).forEach(function(e){if(e&&e.style){var r=Ut.indexOf(e);r>=0&&Ut.splice(r,5),Ut.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),L.core.getCache(e),vo())}}):Ut};se.revert=function(i,e){return na(!i,e)};se.create=function(i,e){return new se(i,e)};se.refresh=function(i){return i?si(!0):(Pn||se.register())&&ln(!0)};se.update=function(i){return++ie.cache&&Ar(i===!0?2:0)};se.clearScrollMemory=Wl;se.maxScroll=function(i,e){return vr(i,e?Rt:Ke)};se.getScrollFunc=function(i,e){return Jr(kt(i),e?Rt:Ke)};se.getById=function(i){return So[i]};se.getAll=function(){return ee.filter(function(i){return i.vars.id!=="ScrollSmoother"})};se.isScrolling=function(){return!!ir};se.snapDirectional=ra;se.addEventListener=function(i,e){var r=wn[i]||(wn[i]=[]);~r.indexOf(e)||r.push(e)};se.removeEventListener=function(i,e){var r=wn[i],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};se.batch=function(i,e){var r=[],t={},n=e.interval||.016,s=e.batchMax||1e9,o=function(f,l){var c=[],p=[],d=L.delayedCall(n,function(){l(c,p),c=[],p=[]}).pause();return function(_){c.length||d.restart(!0),c.push(_.trigger),p.push(_),s<=c.length&&d.progress(1)}},a;for(a in e)t[a]=a.substr(0,2)==="on"&&yt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return yt(s)&&(s=s(),nt(se,"refresh",function(){return s=e.batchMax()})),Ri(i).forEach(function(u){var f={};for(a in t)f[a]=t[a];f.trigger=u,r.push(se.create(f))}),r};var Ja=function(e,r,t,n){return r>n?e(n):r<0&&e(0),t>n?(n-r)/(t-r):t<0?r/(r-t):1},js=function i(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(Ie.isTouch?" pinch-zoom":""):"none",e===$t&&i(me,r)},Wi={auto:1,scroll:1},ad=function(e){var r=e.event,t=e.target,n=e.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||L.core.getCache(s),a=gt(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==me&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(Wi[(u=er(s)).overflowY]||Wi[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==t&&!bn(s)&&(Wi[(u=er(s)).overflowY]||Wi[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},Kl=function(e,r,t,n){return Ie.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:n=n&&ad,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return t&&nt(Te,Ie.eventTypes[0],Za,!1,!0)},onDisable:function(){return rt(Te,Ie.eventTypes[0],Za,!0)}})},ud=/(input|label|select|textarea)/i,Qa,Za=function(e){var r=ud.test(e.target.tagName);(r||Qa)&&(e._gsapAllow=!0,Qa=r)},ld=function(e){sn(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,t=r.normalizeScrollX,n=r.momentum,s=r.allowNestedScroll,o=r.onRelease,a,u,f=kt(e.target)||$t,l=L.core.globals().ScrollSmoother,c=l&&l.get(),p=zr&&(e.content&&kt(e.content)||c&&e.content!==!1&&!c.smooth()&&c.content()),d=Jr(f,Ke),_=Jr(f,Rt),h=1,g=(Ie.isTouch&&ne.visualViewport?ne.visualViewport.scale*ne.visualViewport.width:ne.outerWidth)/ne.innerWidth,x=0,v=yt(n)?function(){return n(a)}:function(){return n||2.8},E,b,C=Kl(f,e.type,!0,s),P=function(){return b=!1},S=yr,A=yr,R=function(){u=vr(f,Ke),A=di(zr?1:0,u),t&&(S=di(0,vr(f,Rt))),E=mn},O=function(){p._gsap.y=ni(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},H=function(){if(b){requestAnimationFrame(P);var ae=ni(a.deltaY/2),ce=A(d.v-ae);if(p&&ce!==d.v+d.offset){d.offset=ce-d.v;var m=ni((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+m+", 0, 1)",p._gsap.y=m+"px",d.cacheID=ie.cache,Ar()}return!0}d.offset&&O(),b=!0},M,$,z,te,K=function(){R(),M.isActive()&&M.vars.scrollY>u&&(d()>u?M.progress(1)&&d(u):M.resetTo("scrollY",u))};return p&&L.set(p,{y:"+=0"}),e.ignoreCheck=function(I){return zr&&I.type==="touchmove"&&H()||h>1.05&&I.type!=="touchstart"||a.isGesturing||I.touches&&I.touches.length>1},e.onPress=function(){b=!1;var I=h;h=ni((ne.visualViewport&&ne.visualViewport.scale||1)/g),M.pause(),I!==h&&js(f,h>1.01?!0:t?!1:"x"),$=_(),z=d(),R(),E=mn},e.onRelease=e.onGestureStart=function(I,ae){if(d.offset&&O(),!ae)te.restart(!0);else{ie.cache++;var ce=v(),m,pe;t&&(m=_(),pe=m+ce*.05*-I.velocityX/.227,ce*=Ja(_,m,pe,vr(f,Rt)),M.vars.scrollX=S(pe)),m=d(),pe=m+ce*.05*-I.velocityY/.227,ce*=Ja(d,m,pe,vr(f,Ke)),M.vars.scrollY=A(pe),M.invalidate().duration(ce).play(.01),(zr&&M.vars.scrollY>=u||m>=u-1)&&L.to({},{onUpdate:K,duration:ce})}o&&o(I)},e.onWheel=function(){M._ts&&M.pause(),gt()-x>1e3&&(E=0,x=gt())},e.onChange=function(I,ae,ce,m,pe){if(mn!==E&&R(),ae&&t&&_(S(m[2]===ae?$+(I.startX-I.x):_()+ae-m[1])),ce){d.offset&&O();var Ue=pe[2]===ce,ft=Ue?z+I.startY-I.y:d()+ce-pe[1],ye=A(ft);Ue&&ft!==ye&&(z+=ye-ft),d(ye)}(ce||ae)&&Ar()},e.onEnable=function(){js(f,t?!1:"x"),se.addEventListener("refresh",K),nt(ne,"resize",K),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=_.smooth=!1),C.enable()},e.onDisable=function(){js(f,!0),rt(ne,"resize",K),se.removeEventListener("refresh",K),C.kill()},e.lockAxis=e.lockAxis!==!1,a=new Ie(e),a.iOS=zr,zr&&!d()&&d(1),zr&&L.ticker.add(yr),te=a._dc,M=L.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Gl(d,d(),function(){return M.pause()})},onUpdate:Ar,onComplete:te.vars.onComplete}),a};se.sort=function(i){if(yt(i))return ee.sort(i);var e=ne.pageYOffset||0;return se.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+ne.innerHeight}),ee.sort(i||function(r,t){return(r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};se.observe=function(i){return new Ie(i)};se.normalizeScroll=function(i){if(typeof i>"u")return St;if(i===!0&&St)return St.enable();if(i===!1){St&&St.kill(),St=i;return}var e=i instanceof Ie?i:ld(i);return St&&St.target===e.target&&St.kill(),bn(e.target)&&(St=e),e};se.core={_getVelocityProp:bo,_inputObserver:Kl,_scrollers:ie,_proxies:Tr,bridge:{ss:function(){ir||xn("scrollStart"),ir=gt()},ref:function(){return _t}}};zl()&&L.registerPlugin(se);function fd(i,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(i,t.key,t)}}function cd(i,e,r){return e&&fd(i.prototype,e),i}/*!
* ScrollSmoother 3.14.1
* https://gsap.com
*
* @license Copyright 2008-2025, GreenSock. All rights reserved.
* Subject to the terms at https://gsap.com/standard-license
* @author: Jack Doyle, jack@greensock.com
*/var ge,ji,Tt,Ir,oi,Cr,on,eu,Z,br,Gi,tu,ru,nu,iu,Jl=function(){return typeof window<"u"},Ql=function(){return ge||Jl()&&(ge=window.gsap)&&ge.registerPlugin&&ge},hd=function(e){return Math.round(e*1e5)/1e5||0},Br=function(e){return Z.maxScroll(e||Tt)},dd=function(e,r){var t=e.parentNode||oi,n=e.getBoundingClientRect(),s=t.getBoundingClientRect(),o=s.top-n.top,a=s.bottom-n.bottom,u=(Math.abs(o)>Math.abs(a)?o:a)/(1-r),f=-u*r,l,c;return u>0&&(l=s.height/(Tt.innerHeight+s.height),c=l===.5?s.height*2:Math.min(s.height,Math.abs(-u*l/(2*l-1)))*2*(r||1),f+=r?-c*r:-c/2,u+=c),{change:u,offset:f}},pd=function(e){var r=Ir.querySelector(".ScrollSmoother-wrapper");return r||(r=Ir.createElement("div"),r.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(r,e),r.appendChild(e)),r},vn=function(){function i(e){var r=this;ji||i.register(ge)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},br&&br.kill(),br=this,nu(this);var t=e,n=t.smoothTouch,s=t.onUpdate,o=t.onStop,a=t.smooth,u=t.onFocusIn,f=t.normalizeScroll,l=t.wholePixels,c,p,d,_,h,g,x,v,E,b,C,P,S,A,R=this,O=e.effectsPrefix||"",H=Z.getScrollFunc(Tt),M=Z.isTouch===1?n===!0?.8:parseFloat(n)||0:a===0||a===!1?0:parseFloat(a)||.8,$=M&&+e.speed||1,z=0,te=0,K=1,I=tu(0),ae=function(){return I.update(-z)},ce={y:0},m=function(){return c.style.overflow="visible"},pe,Ue=function(y){y.update();var k=y.getTween();k&&(k.pause(),k._time=k._dur,k._tTime=k._tDur),pe=!1,y.animation.progress(y.progress,!0)},ft=function(y,k){(y!==z&&!b||k)&&(l&&(y=Math.round(y)),M&&(c.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",c._gsap.y=y+"px"),te=y-z,z=y,Z.isUpdating||i.isRefreshing||Z.update())},ye=function(y){return arguments.length?(y<0&&(y=0),ce.y=-y,pe=!0,b?z=-y:ft(-y),Z.isRefreshing?_.update():H(y/$),this):-z},Me=typeof ResizeObserver<"u"&&e.autoResize!==!1&&new ResizeObserver(function(){if(!Z.isRefreshing){var D=Br(p)*$;D<-z&&ye(D),iu.restart(!0)}}),Ve,Pe=function(y){p.scrollTop=0,!(y.target.contains&&y.target.contains(p)||u&&u(r,y)===!1)&&(Z.isInViewport(y.target)||y.target===Ve||r.scrollTo(y.target,!1,"center center"),Ve=y.target)},Je=function(y,k){if(y<k.start)return y;var B=isNaN(k.ratio)?1:k.ratio,Y=k.end-k.start,W=y-k.start,re=k.offset||0,Ne=k.pins||[],Q=Ne.offset||0,ve=k._startClamp&&k.start<=0||k.pins&&k.pins.offset?0:k._endClamp&&k.end===Br()?1:.5;return Ne.forEach(function(he){Y-=he.distance,he.nativeStart<=y&&(W-=he.distance)}),Q&&(W*=(Y-Q/B)/Y),y+(W-re*ve)/B-W},Qe=function D(y,k,B){B||(y.pins.length=y.pins.offset=0);var Y=y.pins,W=y.markers,re,Ne,Q,ve,he,oe,We,N;for(We=0;We<k.length;We++)if(N=k[We],y.trigger&&N.trigger&&y!==N&&(N.trigger===y.trigger||N.pinnedContainer===y.trigger||y.trigger.contains(N.trigger))&&(he=N._startNative||N._startClamp||N.start,oe=N._endNative||N._endClamp||N.end,Q=Je(he,y),ve=N.pin&&oe>0?Q+(oe-he):Je(oe,y),N.setPositions(Q,ve,!0,(N._startClamp?Math.max(0,Q):Q)-he),N.markerStart&&W.push(ge.quickSetter([N.markerStart,N.markerEnd],"y","px")),N.pin&&N.end>0&&!B)){if(re=N.end-N.start,Ne=y._startClamp&&N.start<0,Ne){if(y.start>0){y.setPositions(0,y.end+(y._startNative-y.start),!0),D(y,k);return}re+=N.start,Y.offset=-N.start}Y.push({start:N.start,nativeStart:he,end:N.end,distance:re,trig:N}),y.setPositions(y.start,y.end+(Ne?-N.start:re),!0)}},sr=function(y,k){h.forEach(function(B){return Qe(B,y,k)})},Ze=function(){oi=Ir.documentElement,Cr=Ir.body,m(),requestAnimationFrame(m),h&&(Z.getAll().forEach(function(y){y._startNative=y.start,y._endNative=y.end}),h.forEach(function(y){var k=y._startClamp||y.start,B=y.autoSpeed?Math.min(Br(),y.end):k+Math.abs((y.end-k)/y.ratio),Y=B-y.end;if(k-=Y/2,B-=Y/2,k>B){var W=k;k=B,B=W}y._startClamp&&k<0?(B=y.ratio<0?Br():y.end/y.ratio,Y=B-y.end,k=0):(y.ratio<0||y._endClamp&&B>=Br())&&(B=Br(),k=y.ratio<0||y.ratio>1?0:B-(B-y.start)/y.ratio,Y=(B-k)*y.ratio-(y.end-y.start)),y.offset=Y||1e-4,y.pins.length=y.pins.offset=0,y.setPositions(k,B,!0)}),sr(Z.sort())),I.reset()},Xe=function(){return Z.addEventListener("refresh",Ze)},ue=function(){return h&&h.forEach(function(y){return y.vars.onRefresh(y)})},Re=function(){return h&&h.forEach(function(y){return y.vars.onRefreshInit(y)}),ue},st=function(y,k,B,Y){return function(){var W=typeof k=="function"?k(B,Y):k;W||W===0||(W=Y.getAttribute("data-"+O+y)||(y==="speed"?1:0)),Y.setAttribute("data-"+O+y,W);var re=(W+"").substr(0,6)==="clamp(";return{clamp:re,value:re?W.substr(6,W.length-7):W}}},wt=function(y,k,B,Y,W){W=(typeof W=="function"?W(Y,y):W)||0;var re=st("speed",k,Y,y),Ne=st("lag",B,Y,y),Q=ge.getProperty(y,"y"),ve=y._gsap,he,oe,We,N,Fr,Ot,Bt=[],Er=function(){k=re(),B=parseFloat(Ne().value),he=parseFloat(k.value)||1,We=k.value==="auto",Fr=We||oe&&oe._startClamp&&oe.start<=0||Bt.offset?0:oe&&oe._endClamp&&oe.end===Br()?1:.5,N&&N.kill(),N=B&&ge.to(y,{ease:Gi,overwrite:!1,y:"+=0",duration:B}),oe&&(oe.ratio=he,oe.autoSpeed=We)},Jt=function(){ve.y=Q+"px",ve.renderTransform(1),Er()},or=[],X=0,dr=function(_e){if(We){Jt();var Se=dd(y,eu(0,1,-_e.start/(_e.end-_e.start)));X=Se.change,Ot=Se.offset}else Ot=Bt.offset||0,X=(_e.end-_e.start-Ot)*(1-he);Bt.forEach(function(zt){return X-=zt.distance*(1-he)}),_e.offset=X||.001,_e.vars.onUpdate(_e),N&&N.progress(1)};return Er(),(he!==1||We||N)&&(oe=Z.create({trigger:We?y.parentNode:y,start:function(){return k.clamp?"clamp(top bottom+="+W+")":"top bottom+="+W},end:function(){return k.value<0?"max":k.clamp?"clamp(bottom top-="+W+")":"bottom top-="+W},scroller:p,scrub:!0,refreshPriority:-999,onRefreshInit:Jt,onRefresh:dr,onKill:function(_e){var Se=h.indexOf(_e);Se>=0&&h.splice(Se,1),Jt()},onUpdate:function(_e){var Se=Q+X*(_e.progress-Fr),zt=Bt.length,ar=0,qe,ur,V;if(_e.offset){if(zt){for(ur=-z,V=_e.end;zt--;){if(qe=Bt[zt],qe.trig.isActive||ur>=qe.start&&ur<=qe.end){N&&(qe.trig.progress+=qe.trig.direction<0?.001:-.001,qe.trig.update(0,0,1),N.resetTo("y",parseFloat(ve.y),-te,!0),K&&N.progress(1));return}ur>qe.end&&(ar+=qe.distance),V-=qe.distance}Se=Q+ar+X*((ge.utils.clamp(_e.start,_e.end,ur)-_e.start-ar)/(V-_e.start)-Fr)}or.length&&!We&&or.forEach(function(q){return q(Se-ar)}),Se=hd(Se+Ot),N?(N.resetTo("y",Se,-te,!0),K&&N.progress(1)):(ve.y=Se+"px",ve.renderTransform(1))}}}),dr(oe),ge.core.getCache(oe.trigger).stRevert=Re,oe.startY=Q,oe.pins=Bt,oe.markers=or,oe.ratio=he,oe.autoSpeed=We,y.style.willChange="transform"),oe};Xe(),Z.addEventListener("killAll",Xe),ge.delayedCall(.5,function(){return K=0}),this.scrollTop=ye,this.scrollTo=function(D,y,k){var B=ge.utils.clamp(0,Br(),isNaN(D)?r.offset(D,k,!!y&&!b):+D);y?b?ge.to(r,{duration:M,scrollTop:B,overwrite:"auto",ease:Gi}):H(B):ye(B)},this.offset=function(D,y,k){D=on(D)[0];var B=D.style.cssText,Y=Z.create({trigger:D,start:y||"top top"}),W;return h&&(K?Z.refresh():sr([Y],!0)),W=Y.start/(k?$:1),Y.kill(!1),D.style.cssText=B,ge.core.getCache(D).uncache=1,W};function w(){return d=c.clientHeight,c.style.overflow="visible",Cr.style.height=Tt.innerHeight+(d-Tt.innerHeight)/$+"px",d-Tt.innerHeight}this.content=function(D){if(arguments.length){var y=on(D||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||Cr.children[0];return y!==c&&(c=y,E=c.getAttribute("style")||"",Me&&Me.observe(c),ge.set(c,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),M||ge.set(c,{clearProps:"transform"})),this}return c},this.wrapper=function(D){return arguments.length?(p=on(D||"#smooth-wrapper")[0]||pd(c),v=p.getAttribute("style")||"",w(),ge.set(p,M?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):p},this.effects=function(D,y){var k;if(h||(h=[]),!D)return h.slice(0);D=on(D),D.forEach(function(he){for(var oe=h.length;oe--;)h[oe].trigger===he&&h[oe].kill()}),y=y||{};var B=y,Y=B.speed,W=B.lag,re=B.effectsPadding,Ne=[],Q,ve;for(Q=0;Q<D.length;Q++)ve=wt(D[Q],Y,W,Q,re),ve&&Ne.push(ve);return(k=h).push.apply(k,Ne),y.refresh!==!1&&Z.refresh(),Ne},this.sections=function(D,y){var k;if(g||(g=[]),!D)return g.slice(0);var B=on(D).map(function(Y){return Z.create({trigger:Y,start:"top 120%",end:"bottom -20%",onToggle:function(re){Y.style.opacity=re.isActive?"1":"0",Y.style.pointerEvents=re.isActive?"all":"none"}})});return y&&y.add?(k=g).push.apply(k,B):g=B.slice(0),B},this.content(e.content),this.wrapper(e.wrapper),this.render=function(D){return ft(D||D===0?D:z)},this.getVelocity=function(){return I.getVelocity(-z)},Z.scrollerProxy(p,{scrollTop:ye,scrollHeight:function(){return w()&&Cr.scrollHeight},fixedMarkers:e.fixedMarkers!==!1&&!!M,content:c,getBoundingClientRect:function(){return{top:0,left:0,width:Tt.innerWidth,height:Tt.innerHeight}}}),Z.defaults({scroller:p});var ct=Z.getAll().filter(function(D){return D.scroller===Tt||D.scroller===p});ct.forEach(function(D){return D.revert(!0,!0)}),_=Z.create({animation:ge.fromTo(ce,{y:function(){return A=0,0}},{y:function(){return A=1,-w()},immediateRender:!1,ease:"none",data:"ScrollSmoother",duration:100,onUpdate:function(){if(A){var y=pe;y&&(Ue(_),ce.y=z),ft(ce.y,y),ae(),s&&!b&&s(R)}}}),onRefreshInit:function(y){if(!i.isRefreshing){if(i.isRefreshing=!0,h){var k=Z.getAll().filter(function(Y){return!!Y.pin});h.forEach(function(Y){Y.vars.pinnedContainer||k.forEach(function(W){if(W.pin.contains(Y.trigger)){var re=Y.vars;re.pinnedContainer=W.pin,Y.vars=null,Y.init(re,Y.animation)}})})}var B=y.getTween();S=B&&B._end>B._dp._time,P=z,ce.y=0,M&&(Z.isTouch===1&&(p.style.position="absolute"),p.scrollTop=0,Z.isTouch===1&&(p.style.position="fixed"))}},onRefresh:function(y){y.animation.invalidate(),ce.y=0,y.setPositions(y.start,w()/$),S||Ue(y),ce.y=-H()*$,ft(ce.y),K||(S&&(pe=!1),y.animation.progress(ge.utils.clamp(0,1,P/$/-y.end))),S&&(y.progress-=.001,y.update()),i.isRefreshing=!1},id:"ScrollSmoother",scroller:Tt,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return w()/$},onScrubComplete:function(){I.reset(),o&&o(r)},scrub:M||!0}),this.smooth=function(D){return arguments.length&&(M=D||0,$=M&&+e.speed||1,_.scrubDuration(D)),_.getTween()?_.getTween().duration():0},_.getTween()&&(_.getTween().vars.ease=e.ease||Gi),this.scrollTrigger=_,e.effects&&this.effects(e.effects===!0?"[data-"+O+"speed], [data-"+O+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:!1}),e.sections&&this.sections(e.sections===!0?"[data-section]":e.sections),ct.forEach(function(D){D.vars.scroller=p,D.revert(!1,!0),D.init(D.vars,D.animation)}),this.paused=function(D,y){return arguments.length?(!!b!==D&&(D?(_.getTween()&&_.getTween().pause(),H(-z/$),I.reset(),C=Z.normalizeScroll(),C&&C.disable(),b=Z.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return ye(-z)}}),b.nested=ru(oi,"wheel,touch,scroll",!0,y!==!1)):(b.nested.kill(),b.kill(),b=0,C&&C.enable(),_.progress=(-z/$-_.start)/(_.end-_.start),Ue(_))),this):!!b},this.kill=this.revert=function(){r.paused(!1),Ue(_),_.kill();for(var D=(h||[]).concat(g||[]),y=D.length;y--;)D[y].kill();Z.scrollerProxy(p),Z.removeEventListener("killAll",Xe),Z.removeEventListener("refresh",Ze),p.style.cssText=v,c.style.cssText=E;var k=Z.defaults({});k&&k.scroller===p&&Z.defaults({scroller:Tt}),r.normalizer&&Z.normalizeScroll(!1),clearInterval(x),br=null,Me&&Me.disconnect(),Cr.style.removeProperty("height"),Tt.removeEventListener("focusin",Pe)},this.refresh=function(D,y){return _.refresh(D,y)},f&&(this.normalizer=Z.normalizeScroll(f===!0?{debounce:!0,content:!M&&c}:f)),Z.config(e),"scrollBehavior"in Tt.getComputedStyle(Cr)&&ge.set([Cr,oi],{scrollBehavior:"auto"}),Tt.addEventListener("focusin",Pe),x=setInterval(ae,250),Ir.readyState==="loading"||requestAnimationFrame(function(){return Z.refresh()})}return i.register=function(r){return ji||(ge=r||Ql(),Jl()&&window.document&&(Tt=window,Ir=document,oi=Ir.documentElement,Cr=Ir.body),ge&&(on=ge.utils.toArray,eu=ge.utils.clamp,Gi=ge.parseEase("expo"),nu=ge.core.context||function(){},Z=ge.core.globals().ScrollTrigger,ge.core.globals("ScrollSmoother",i),Cr&&Z&&(iu=ge.delayedCall(.2,function(){return Z.isRefreshing||br&&br.refresh()}).pause(),tu=Z.core._getVelocityProp,ru=Z.core._inputObserver,i.refresh=Z.refresh,ji=1))),ji},cd(i,[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),i}();vn.version="3.14.1";vn.create=function(i){return br&&i&&br.content()===on(i.content)[0]?br:new vn(i)};vn.get=function(){return br};Ql()&&ge.registerPlugin(vn);an.registerPlugin(se,vn);(function(i,e){(function(){e.path.isFront,console.log("drupalSettings",e);const t=["pyramide","prct","infinite","pi","supeg","cone","croissant","cube","diamant","cylindre"];function n(){console.log("MathalloTheme init()"),s(),o(),a(),f()}function s(){document.getElementById("burger-btn").parentElement.addEventListener("click",function(c){this.firstElementChild.toggleAttribute("opened"),this.firstElementChild.nextElementSibling.toggleAttribute("opened")})}function o(){let l=document.getElementById("partie-principes-pratique");if(l){let c=l.getElementsByClassName("field-card");for(const p of c)p.addEventListener("mousemove",function(d){for(const _ of this.parentElement.children)_.classList.add("back-card"),_.classList.remove("front-card");this.classList.add("front-card"),this.classList.remove("back-card")})}}async function a(){const l=document.querySelector('main[role="main"] > .layout-content > .wrapper');let c=document.querySelectorAll('article[role="home-presentation"], .field-card, .node-type-chapitre, .node-type-partie'),p=[],d=1;for(const _ of c){let h=Math.round(Math.random()*(t.length-1));for(;p.includes(h);)h=Math.round(Math.random()*(t.length-1));p.push(h);let g=await u(_,h);l.prepend(g),an.timeline({scrollTrigger:{trigger:_,start:"top bottom",end:"bottom top",scrub:!0,ease:"power4.out",snap:!1}}).from(_.children,{opacity:.4},0).to(_.children,{opacity:1},.5).to(_.children,{opacity:.4},.7).from(_,{translateX:`${200*d}px`,translateY:`${100*d}px`},0).to(_,{translateX:"0",translateY:"0"},.5),an.to(g.querySelector("svg"),{scrollTrigger:{trigger:g,start:"top bottom",end:"bottom top",scrub:!0,ease:"power4.out"},rotation:Math.random()>.5?45:-45,skewX:Math.random()>.5?10:-10}),an.timeline({scrollTrigger:{trigger:_,start:"top center",end:"bottom center",scrub:!0,markers:!1}}).to(g.querySelector("svg"),{stroke:"#f661e2",duration:.1},.3).to(g.querySelector("svg"),{stroke:"#1642bc",duration:.1},.7),d*=-1}}async function u(l,c){let p=document.createElement("div");p.classList.add("bg-forme");const _=await(await fetch(`/themes/custom/mathallo/assets/img/formes/${t[c]}.svg`)).text();p.innerHTML=_;const h=p.querySelector("svg");let g=200+Math.random()*300;h.getAttribute("width"),p.style.width=p.style.height=`${g}px`,h.setAttribute("width",g),h.setAttribute("height",g);let x=l.offsetTop+l.clientHeight/2-g/2;l.clientHeight<300&&(x=Math.random()>.5?l.offsetTop-g/2:l.offsetTop+l.clientHeight-g/2),p.style.top=`${x}px`;let v=20+Math.random()*20;return l.classList.contains("field-principes-reflexion")?p.style.left=`${l.offsetLeft-g+v}px`:l.classList.contains("field-en-pratique")?p.style.left=`${l.offsetLeft+l.clientWidth-v}px`:p.style.left=Math.random()>.5?`${l.offsetLeft-g+v}px`:`${l.offsetLeft+l.clientWidth-v}px`,p}function f(){an.to("body",{scrollTrigger:'main[role="main"]',backgroundPositionY:10}),vn.create({smooth:3,effects:!0,smoothTouch:.1,wrapper:'main[role="main"]',content:'main[role="main"]>.layout-content'}),an.to("#parallax-bg",{y:(l,c)=>-(se.maxScroll(window)*1.2),ease:"none",scrollTrigger:{trigger:'main[role="main"] > .layout-content > .wrapper',start:"top bottom",end:"bottom top",scrub:!0,invalidateOnRefresh:!0}})}n()})()})(Drupal,drupalSettings);