import jo from"quill";const No="modulepreload",qo=function(s){return"/build/"+s},On={},zo=function(i,n,h){if(!n||n.length===0)return i();const f=document.getElementsByTagName("link");return Promise.all(n.map(g=>{if(g=qo(g),g in On)return;On[g]=!0;const E=g.endsWith(".css"),L=E?'[rel="stylesheet"]':"";if(!!h)for(let D=f.length-1;D>=0;D--){const H=f[D];if(H.href===g&&(!E||H.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${g}"]${L}`))return;const N=document.createElement("link");if(N.rel=E?"stylesheet":No,E||(N.as="script",N.crossOrigin=""),N.href=g,document.head.appendChild(N),E)return new Promise((D,H)=>{N.addEventListener("load",D),N.addEventListener("error",()=>H(new Error(`Unable to preload CSS for ${g}`)))})})).then(()=>i()).catch(g=>{const E=new Event("vite:preloadError",{cancelable:!0});if(E.payload=g,window.dispatchEvent(E),!E.defaultPrevented)throw g})};function oa(s,i){return function(){return s.apply(i,arguments)}}const{toString:Ho}=Object.prototype,{getPrototypeOf:Ps}=Object,Hr=(s=>i=>{const n=Ho.call(i);return s[n]||(s[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),he=s=>(s=s.toLowerCase(),i=>Hr(i)===s),Wr=s=>i=>typeof i===s,{isArray:xi}=Array,Yi=Wr("undefined");function Wo(s){return s!==null&&!Yi(s)&&s.constructor!==null&&!Yi(s.constructor)&&Yt(s.constructor.isBuffer)&&s.constructor.isBuffer(s)}const la=he("ArrayBuffer");function Uo(s){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(s):i=s&&s.buffer&&la(s.buffer),i}const Xo=Wr("string"),Yt=Wr("function"),ha=Wr("number"),Ur=s=>s!==null&&typeof s=="object",Go=s=>s===!0||s===!1,Sr=s=>{if(Hr(s)!=="object")return!1;const i=Ps(s);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in s)&&!(Symbol.iterator in s)},$o=he("Date"),Ko=he("File"),Yo=he("Blob"),Jo=he("FileList"),Zo=s=>Ur(s)&&Yt(s.pipe),Qo=s=>{let i;return s&&(typeof FormData=="function"&&s instanceof FormData||Yt(s.append)&&((i=Hr(s))==="formdata"||i==="object"&&Yt(s.toString)&&s.toString()==="[object FormData]"))},tl=he("URLSearchParams"),[el,il,rl,sl]=["ReadableStream","Request","Response","Headers"].map(he),nl=s=>s.trim?s.trim():s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qi(s,i,{allOwnKeys:n=!1}={}){if(s===null||typeof s>"u")return;let h,f;if(typeof s!="object"&&(s=[s]),xi(s))for(h=0,f=s.length;h0;)if(f=n[h],i===f.toLowerCase())return f;return null}const fi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ua=s=>!Yi(s)&&s!==fi;function ms(){const{caseless:s}=ua(this)&&this||{},i={},n=(h,f)=>{const g=s&&fa(i,f)||f;Sr(i[g])&&Sr(h)?i[g]=ms(i[g],h):Sr(h)?i[g]=ms({},h):xi(h)?i[g]=h.slice():i[g]=h};for(let h=0,f=arguments.length;h(Qi(i,(f,g)=>{n&&Yt(f)?s[g]=oa(f,n):s[g]=f},{allOwnKeys:h}),s),ol=s=>(s.charCodeAt(0)===65279&&(s=s.slice(1)),s),ll=(s,i,n,h)=>{s.prototype=Object.create(i.prototype,h),s.prototype.constructor=s,Object.defineProperty(s,"super",{value:i.prototype}),n&&Object.assign(s.prototype,n)},hl=(s,i,n,h)=>{let f,g,E;const L={};if(i=i||{},s==null)return i;do{for(f=Object.getOwnPropertyNames(s),g=f.length;g-- >0;)E=f[g],(!h||h(E,s,i))&&!L[E]&&(i[E]=s[E],L[E]=!0);s=n!==!1&&Ps(s)}while(s&&(!n||n(s,i))&&s!==Object.prototype);return i},fl=(s,i,n)=>{s=String(s),(n===void 0||n>s.length)&&(n=s.length),n-=i.length;const h=s.indexOf(i,n);return h!==-1&&h===n},ul=s=>{if(!s)return null;if(xi(s))return s;let i=s.length;if(!ha(i))return null;const n=new Array(i);for(;i-- >0;)n[i]=s[i];return n},cl=(s=>i=>s&&i instanceof s)(typeof Uint8Array<"u"&&Ps(Uint8Array)),pl=(s,i)=>{const h=(s&&s[Symbol.iterator]).call(s);let f;for(;(f=h.next())&&!f.done;){const g=f.value;i.call(s,g[0],g[1])}},dl=(s,i)=>{let n;const h=[];for(;(n=s.exec(i))!==null;)h.push(n);return h},vl=he("HTMLFormElement"),ml=s=>s.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,h,f){return h.toUpperCase()+f}),Rn=(({hasOwnProperty:s})=>(i,n)=>s.call(i,n))(Object.prototype),gl=he("RegExp"),ca=(s,i)=>{const n=Object.getOwnPropertyDescriptors(s),h={};Qi(n,(f,g)=>{let E;(E=i(f,g,s))!==!1&&(h[g]=E||f)}),Object.defineProperties(s,h)},yl=s=>{ca(s,(i,n)=>{if(Yt(s)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const h=s[n];if(Yt(h)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},bl=(s,i)=>{const n={},h=f=>{f.forEach(g=>{n[g]=!0})};return xi(s)?h(s):h(String(s).split(i)),n},_l=()=>{},wl=(s,i)=>s!=null&&Number.isFinite(s=+s)?s:i,cs="abcdefghijklmnopqrstuvwxyz",Vn="0123456789",pa={DIGIT:Vn,ALPHA:cs,ALPHA_DIGIT:cs+cs.toUpperCase()+Vn},El=(s=16,i=pa.ALPHA_DIGIT)=>{let n="";const{length:h}=i;for(;s--;)n+=i[Math.random()*h|0];return n};function Al(s){return!!(s&&Yt(s.append)&&s[Symbol.toStringTag]==="FormData"&&s[Symbol.iterator])}const Sl=s=>{const i=new Array(10),n=(h,f)=>{if(Ur(h)){if(i.indexOf(h)>=0)return;if(!("toJSON"in h)){i[f]=h;const g=xi(h)?[]:{};return Qi(h,(E,L)=>{const q=n(E,f+1);!Yi(q)&&(g[L]=q)}),i[f]=void 0,g}}return h};return n(s,0)},kl=he("AsyncFunction"),Tl=s=>s&&(Ur(s)||Yt(s))&&Yt(s.then)&&Yt(s.catch),da=((s,i)=>s?setImmediate:i?((n,h)=>(fi.addEventListener("message",({source:f,data:g})=>{f===fi&&g===n&&h.length&&h.shift()()},!1),f=>{h.push(f),fi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Yt(fi.postMessage)),Pl=typeof queueMicrotask<"u"?queueMicrotask.bind(fi):typeof process<"u"&&process.nextTick||da,z={isArray:xi,isArrayBuffer:la,isBuffer:Wo,isFormData:Qo,isArrayBufferView:Uo,isString:Xo,isNumber:ha,isBoolean:Go,isObject:Ur,isPlainObject:Sr,isReadableStream:el,isRequest:il,isResponse:rl,isHeaders:sl,isUndefined:Yi,isDate:$o,isFile:Ko,isBlob:Yo,isRegExp:gl,isFunction:Yt,isStream:Zo,isURLSearchParams:tl,isTypedArray:cl,isFileList:Jo,forEach:Qi,merge:ms,extend:al,trim:nl,stripBOM:ol,inherits:ll,toFlatObject:hl,kindOf:Hr,kindOfTest:he,endsWith:fl,toArray:ul,forEachEntry:pl,matchAll:dl,isHTMLForm:vl,hasOwnProperty:Rn,hasOwnProp:Rn,reduceDescriptors:ca,freezeMethods:yl,toObjectSet:bl,toCamelCase:ml,noop:_l,toFiniteNumber:wl,findKey:fa,global:fi,isContextDefined:ua,ALPHABET:pa,generateString:El,isSpecCompliantForm:Al,toJSONObject:Sl,isAsyncFn:kl,isThenable:Tl,setImmediate:da,asap:Pl};function mt(s,i,n,h,f){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=s,this.name="AxiosError",i&&(this.code=i),n&&(this.config=n),h&&(this.request=h),f&&(this.response=f,this.status=f.status?f.status:null)}z.inherits(mt,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:z.toJSONObject(this.config),code:this.code,status:this.status}}});const va=mt.prototype,ma={};["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(s=>{ma[s]={value:s}});Object.defineProperties(mt,ma);Object.defineProperty(va,"isAxiosError",{value:!0});mt.from=(s,i,n,h,f,g)=>{const E=Object.create(va);return z.toFlatObject(s,E,function(q){return q!==Error.prototype},L=>L!=="isAxiosError"),mt.call(E,s.message,i,n,h,f),E.cause=s,E.name=s.name,g&&Object.assign(E,g),E};const Cl=null;function gs(s){return z.isPlainObject(s)||z.isArray(s)}function ga(s){return z.endsWith(s,"[]")?s.slice(0,-2):s}function Bn(s,i,n){return s?s.concat(i).map(function(f,g){return f=ga(f),!n&&g?"["+f+"]":f}).join(n?".":""):i}function xl(s){return z.isArray(s)&&!s.some(gs)}const Ll=z.toFlatObject(z,{},null,function(i){return/^is[A-Z]/.test(i)});function Xr(s,i,n){if(!z.isObject(s))throw new TypeError("target must be an object");i=i||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(G,$){return!z.isUndefined($[G])});const h=n.metaTokens,f=n.visitor||D,g=n.dots,E=n.indexes,q=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(i);if(!z.isFunction(f))throw new TypeError("visitor must be a function");function N(X){if(X===null)return"";if(z.isDate(X))return X.toISOString();if(!q&&z.isBlob(X))throw new mt("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(X)||z.isTypedArray(X)?q&&typeof Blob=="function"?new Blob([X]):Buffer.from(X):X}function D(X,G,$){let ot=X;if(X&&!$&&typeof X=="object"){if(z.endsWith(G,"{}"))G=h?G:G.slice(0,-2),X=JSON.stringify(X);else if(z.isArray(X)&&xl(X)||(z.isFileList(X)||z.endsWith(G,"[]"))&&(ot=z.toArray(X)))return G=ga(G),ot.forEach(function(dt,it){!(z.isUndefined(dt)||dt===null)&&i.append(E===!0?Bn([G],it,g):E===null?G:G+"[]",N(dt))}),!1}return gs(X)?!0:(i.append(Bn($,G,g),N(X)),!1)}const H=[],st=Object.assign(Ll,{defaultVisitor:D,convertValue:N,isVisitable:gs});function Q(X,G){if(!z.isUndefined(X)){if(H.indexOf(X)!==-1)throw Error("Circular reference detected in "+G.join("."));H.push(X),z.forEach(X,function(ot,pt){(!(z.isUndefined(ot)||ot===null)&&f.call(i,ot,z.isString(pt)?pt.trim():pt,G,st))===!0&&Q(ot,G?G.concat(pt):[pt])}),H.pop()}}if(!z.isObject(s))throw new TypeError("data must be an object");return Q(s),i}function Dn(s){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(s).replace(/[!'()~]|%20|%00/g,function(h){return i[h]})}function Cs(s,i){this._pairs=[],s&&Xr(s,this,i)}const ya=Cs.prototype;ya.append=function(i,n){this._pairs.push([i,n])};ya.toString=function(i){const n=i?function(h){return i.call(this,h,Dn)}:Dn;return this._pairs.map(function(f){return n(f[0])+"="+n(f[1])},"").join("&")};function Ml(s){return encodeURIComponent(s).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ba(s,i,n){if(!i)return s;const h=n&&n.encode||Ml;z.isFunction(n)&&(n={serialize:n});const f=n&&n.serialize;let g;if(f?g=f(i,n):g=z.isURLSearchParams(i)?i.toString():new Cs(i,n).toString(h),g){const E=s.indexOf("#");E!==-1&&(s=s.slice(0,E)),s+=(s.indexOf("?")===-1?"?":"&")+g}return s}class Fl{constructor(){this.handlers=[]}use(i,n,h){return this.handlers.push({fulfilled:i,rejected:n,synchronous:h?h.synchronous:!1,runWhen:h?h.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){z.forEach(this.handlers,function(h){h!==null&&i(h)})}}const jn=Fl,_a={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Il=typeof URLSearchParams<"u"?URLSearchParams:Cs,Ol=typeof FormData<"u"?FormData:null,Rl=typeof Blob<"u"?Blob:null,Vl={isBrowser:!0,classes:{URLSearchParams:Il,FormData:Ol,Blob:Rl},protocols:["http","https","file","blob","url","data"]},xs=typeof window<"u"&&typeof document<"u",ys=typeof navigator=="object"&&navigator||void 0,Bl=xs&&(!ys||["ReactNative","NativeScript","NS"].indexOf(ys.product)<0),Dl=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),jl=xs&&window.location.href||"http://localhost",Nl=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:xs,hasStandardBrowserEnv:Bl,hasStandardBrowserWebWorkerEnv:Dl,navigator:ys,origin:jl},Symbol.toStringTag,{value:"Module"})),Dt={...Nl,...Vl};function ql(s,i){return Xr(s,new Dt.classes.URLSearchParams,Object.assign({visitor:function(n,h,f,g){return Dt.isNode&&z.isBuffer(n)?(this.append(h,n.toString("base64")),!1):g.defaultVisitor.apply(this,arguments)}},i))}function zl(s){return z.matchAll(/\w+|\[(\w*)]/g,s).map(i=>i[0]==="[]"?"":i[1]||i[0])}function Hl(s){const i={},n=Object.keys(s);let h;const f=n.length;let g;for(h=0;h=n.length;return E=!E&&z.isArray(f)?f.length:E,q?(z.hasOwnProp(f,E)?f[E]=[f[E],h]:f[E]=h,!L):((!f[E]||!z.isObject(f[E]))&&(f[E]=[]),i(n,h,f[E],g)&&z.isArray(f[E])&&(f[E]=Hl(f[E])),!L)}if(z.isFormData(s)&&z.isFunction(s.entries)){const n={};return z.forEachEntry(s,(h,f)=>{i(zl(h),f,n,0)}),n}return null}function Wl(s,i,n){if(z.isString(s))try{return(i||JSON.parse)(s),z.trim(s)}catch(h){if(h.name!=="SyntaxError")throw h}return(n||JSON.stringify)(s)}const Ls={transitional:_a,adapter:["xhr","http","fetch"],transformRequest:[function(i,n){const h=n.getContentType()||"",f=h.indexOf("application/json")>-1,g=z.isObject(i);if(g&&z.isHTMLForm(i)&&(i=new FormData(i)),z.isFormData(i))return f?JSON.stringify(wa(i)):i;if(z.isArrayBuffer(i)||z.isBuffer(i)||z.isStream(i)||z.isFile(i)||z.isBlob(i)||z.isReadableStream(i))return i;if(z.isArrayBufferView(i))return i.buffer;if(z.isURLSearchParams(i))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let L;if(g){if(h.indexOf("application/x-www-form-urlencoded")>-1)return ql(i,this.formSerializer).toString();if((L=z.isFileList(i))||h.indexOf("multipart/form-data")>-1){const q=this.env&&this.env.FormData;return Xr(L?{"files[]":i}:i,q&&new q,this.formSerializer)}}return g||f?(n.setContentType("application/json",!1),Wl(i)):i}],transformResponse:[function(i){const n=this.transitional||Ls.transitional,h=n&&n.forcedJSONParsing,f=this.responseType==="json";if(z.isResponse(i)||z.isReadableStream(i))return i;if(i&&z.isString(i)&&(h&&!this.responseType||f)){const E=!(n&&n.silentJSONParsing)&&f;try{return JSON.parse(i)}catch(L){if(E)throw L.name==="SyntaxError"?mt.from(L,mt.ERR_BAD_RESPONSE,this,null,this.response):L}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dt.classes.FormData,Blob:Dt.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],s=>{Ls.headers[s]={}});const Ms=Ls,Ul=z.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"]),Xl=s=>{const i={};let n,h,f;return s&&s.split(` `).forEach(function(E){f=E.indexOf(":"),n=E.substring(0,f).trim().toLowerCase(),h=E.substring(f+1).trim(),!(!n||i[n]&&Ul[n])&&(n==="set-cookie"?i[n]?i[n].push(h):i[n]=[h]:i[n]=i[n]?i[n]+", "+h:h)}),i},Nn=Symbol("internals");function Ui(s){return s&&String(s).trim().toLowerCase()}function kr(s){return s===!1||s==null?s:z.isArray(s)?s.map(kr):String(s)}function Gl(s){const i=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let h;for(;h=n.exec(s);)i[h[1]]=h[2];return i}const $l=s=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(s.trim());function ps(s,i,n,h,f){if(z.isFunction(h))return h.call(this,i,n);if(f&&(i=n),!!z.isString(i)){if(z.isString(h))return i.indexOf(h)!==-1;if(z.isRegExp(h))return h.test(i)}}function Kl(s){return s.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,n,h)=>n.toUpperCase()+h)}function Yl(s,i){const n=z.toCamelCase(" "+i);["get","set","has"].forEach(h=>{Object.defineProperty(s,h+n,{value:function(f,g,E){return this[h].call(this,i,f,g,E)},configurable:!0})})}class Gr{constructor(i){i&&this.set(i)}set(i,n,h){const f=this;function g(L,q,N){const D=Ui(q);if(!D)throw new Error("header name must be a non-empty string");const H=z.findKey(f,D);(!H||f[H]===void 0||N===!0||N===void 0&&f[H]!==!1)&&(f[H||q]=kr(L))}const E=(L,q)=>z.forEach(L,(N,D)=>g(N,D,q));if(z.isPlainObject(i)||i instanceof this.constructor)E(i,n);else if(z.isString(i)&&(i=i.trim())&&!$l(i))E(Xl(i),n);else if(z.isHeaders(i))for(const[L,q]of i.entries())g(q,L,h);else i!=null&&g(n,i,h);return this}get(i,n){if(i=Ui(i),i){const h=z.findKey(this,i);if(h){const f=this[h];if(!n)return f;if(n===!0)return Gl(f);if(z.isFunction(n))return n.call(this,f,h);if(z.isRegExp(n))return n.exec(f);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,n){if(i=Ui(i),i){const h=z.findKey(this,i);return!!(h&&this[h]!==void 0&&(!n||ps(this,this[h],h,n)))}return!1}delete(i,n){const h=this;let f=!1;function g(E){if(E=Ui(E),E){const L=z.findKey(h,E);L&&(!n||ps(h,h[L],L,n))&&(delete h[L],f=!0)}}return z.isArray(i)?i.forEach(g):g(i),f}clear(i){const n=Object.keys(this);let h=n.length,f=!1;for(;h--;){const g=n[h];(!i||ps(this,this[g],g,i,!0))&&(delete this[g],f=!0)}return f}normalize(i){const n=this,h={};return z.forEach(this,(f,g)=>{const E=z.findKey(h,g);if(E){n[E]=kr(f),delete n[g];return}const L=i?Kl(g):String(g).trim();L!==g&&delete n[g],n[L]=kr(f),h[L]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const n=Object.create(null);return z.forEach(this,(h,f)=>{h!=null&&h!==!1&&(n[f]=i&&z.isArray(h)?h.join(", "):h)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,n])=>i+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...n){const h=new this(i);return n.forEach(f=>h.set(f)),h}static accessor(i){const h=(this[Nn]=this[Nn]={accessors:{}}).accessors,f=this.prototype;function g(E){const L=Ui(E);h[L]||(Yl(f,E),h[L]=!0)}return z.isArray(i)?i.forEach(g):g(i),this}}Gr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Gr.prototype,({value:s},i)=>{let n=i[0].toUpperCase()+i.slice(1);return{get:()=>s,set(h){this[n]=h}}});z.freezeMethods(Gr);const le=Gr;function ds(s,i){const n=this||Ms,h=i||n,f=le.from(h.headers);let g=h.data;return z.forEach(s,function(L){g=L.call(n,g,f.normalize(),i?i.status:void 0)}),f.normalize(),g}function Ea(s){return!!(s&&s.__CANCEL__)}function Li(s,i,n){mt.call(this,s??"canceled",mt.ERR_CANCELED,i,n),this.name="CanceledError"}z.inherits(Li,mt,{__CANCEL__:!0});function Aa(s,i,n){const h=n.config.validateStatus;!n.status||!h||h(n.status)?s(n):i(new mt("Request failed with status code "+n.status,[mt.ERR_BAD_REQUEST,mt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Jl(s){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(s);return i&&i[1]||""}function Zl(s,i){s=s||10;const n=new Array(s),h=new Array(s);let f=0,g=0,E;return i=i!==void 0?i:1e3,function(q){const N=Date.now(),D=h[g];E||(E=N),n[f]=q,h[f]=N;let H=g,st=0;for(;H!==f;)st+=n[H++],H=H%s;if(f=(f+1)%s,f===g&&(g=(g+1)%s),N-E{n=D,f=null,g&&(clearTimeout(g),g=null),s.apply(null,N)};return[(...N)=>{const D=Date.now(),H=D-n;H>=h?E(N,D):(f=N,g||(g=setTimeout(()=>{g=null,E(f)},h-H)))},()=>f&&E(f)]}const Lr=(s,i,n=3)=>{let h=0;const f=Zl(50,250);return Ql(g=>{const E=g.loaded,L=g.lengthComputable?g.total:void 0,q=E-h,N=f(q),D=E<=L;h=E;const H={loaded:E,total:L,progress:L?E/L:void 0,bytes:q,rate:N||void 0,estimated:N&&L&&D?(L-E)/N:void 0,event:g,lengthComputable:L!=null,[i?"download":"upload"]:!0};s(H)},n)},qn=(s,i)=>{const n=s!=null;return[h=>i[0]({lengthComputable:n,total:s,loaded:h}),i[1]]},zn=s=>(...i)=>z.asap(()=>s(...i)),th=Dt.hasStandardBrowserEnv?((s,i)=>n=>(n=new URL(n,Dt.origin),s.protocol===n.protocol&&s.host===n.host&&(i||s.port===n.port)))(new URL(Dt.origin),Dt.navigator&&/(msie|trident)/i.test(Dt.navigator.userAgent)):()=>!0,eh=Dt.hasStandardBrowserEnv?{write(s,i,n,h,f,g){const E=[s+"="+encodeURIComponent(i)];z.isNumber(n)&&E.push("expires="+new Date(n).toGMTString()),z.isString(h)&&E.push("path="+h),z.isString(f)&&E.push("domain="+f),g===!0&&E.push("secure"),document.cookie=E.join("; ")},read(s){const i=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(s){this.write(s,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ih(s){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(s)}function rh(s,i){return i?s.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):s}function Sa(s,i){return s&&!ih(i)?rh(s,i):i}const Hn=s=>s instanceof le?{...s}:s;function ci(s,i){i=i||{};const n={};function h(N,D,H,st){return z.isPlainObject(N)&&z.isPlainObject(D)?z.merge.call({caseless:st},N,D):z.isPlainObject(D)?z.merge({},D):z.isArray(D)?D.slice():D}function f(N,D,H,st){if(z.isUndefined(D)){if(!z.isUndefined(N))return h(void 0,N,H,st)}else return h(N,D,H,st)}function g(N,D){if(!z.isUndefined(D))return h(void 0,D)}function E(N,D){if(z.isUndefined(D)){if(!z.isUndefined(N))return h(void 0,N)}else return h(void 0,D)}function L(N,D,H){if(H in i)return h(N,D);if(H in s)return h(void 0,N)}const q={url:g,method:g,data:g,baseURL:E,transformRequest:E,transformResponse:E,paramsSerializer:E,timeout:E,timeoutMessage:E,withCredentials:E,withXSRFToken:E,adapter:E,responseType:E,xsrfCookieName:E,xsrfHeaderName:E,onUploadProgress:E,onDownloadProgress:E,decompress:E,maxContentLength:E,maxBodyLength:E,beforeRedirect:E,transport:E,httpAgent:E,httpsAgent:E,cancelToken:E,socketPath:E,responseEncoding:E,validateStatus:L,headers:(N,D,H)=>f(Hn(N),Hn(D),H,!0)};return z.forEach(Object.keys(Object.assign({},s,i)),function(D){const H=q[D]||f,st=H(s[D],i[D],D);z.isUndefined(st)&&H!==L||(n[D]=st)}),n}const ka=s=>{const i=ci({},s);let{data:n,withXSRFToken:h,xsrfHeaderName:f,xsrfCookieName:g,headers:E,auth:L}=i;i.headers=E=le.from(E),i.url=ba(Sa(i.baseURL,i.url),s.params,s.paramsSerializer),L&&E.set("Authorization","Basic "+btoa((L.username||"")+":"+(L.password?unescape(encodeURIComponent(L.password)):"")));let q;if(z.isFormData(n)){if(Dt.hasStandardBrowserEnv||Dt.hasStandardBrowserWebWorkerEnv)E.setContentType(void 0);else if((q=E.getContentType())!==!1){const[N,...D]=q?q.split(";").map(H=>H.trim()).filter(Boolean):[];E.setContentType([N||"multipart/form-data",...D].join("; "))}}if(Dt.hasStandardBrowserEnv&&(h&&z.isFunction(h)&&(h=h(i)),h||h!==!1&&th(i.url))){const N=f&&g&&eh.read(g);N&&E.set(f,N)}return i},sh=typeof XMLHttpRequest<"u",nh=sh&&function(s){return new Promise(function(n,h){const f=ka(s);let g=f.data;const E=le.from(f.headers).normalize();let{responseType:L,onUploadProgress:q,onDownloadProgress:N}=f,D,H,st,Q,X;function G(){Q&&Q(),X&&X(),f.cancelToken&&f.cancelToken.unsubscribe(D),f.signal&&f.signal.removeEventListener("abort",D)}let $=new XMLHttpRequest;$.open(f.method.toUpperCase(),f.url,!0),$.timeout=f.timeout;function ot(){if(!$)return;const dt=le.from("getAllResponseHeaders"in $&&$.getAllResponseHeaders()),ut={data:!L||L==="text"||L==="json"?$.responseText:$.response,status:$.status,statusText:$.statusText,headers:dt,config:s,request:$};Aa(function(gt){n(gt),G()},function(gt){h(gt),G()},ut),$=null}"onloadend"in $?$.onloadend=ot:$.onreadystatechange=function(){!$||$.readyState!==4||$.status===0&&!($.responseURL&&$.responseURL.indexOf("file:")===0)||setTimeout(ot)},$.onabort=function(){$&&(h(new mt("Request aborted",mt.ECONNABORTED,s,$)),$=null)},$.onerror=function(){h(new mt("Network Error",mt.ERR_NETWORK,s,$)),$=null},$.ontimeout=function(){let it=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded";const ut=f.transitional||_a;f.timeoutErrorMessage&&(it=f.timeoutErrorMessage),h(new mt(it,ut.clarifyTimeoutError?mt.ETIMEDOUT:mt.ECONNABORTED,s,$)),$=null},g===void 0&&E.setContentType(null),"setRequestHeader"in $&&z.forEach(E.toJSON(),function(it,ut){$.setRequestHeader(ut,it)}),z.isUndefined(f.withCredentials)||($.withCredentials=!!f.withCredentials),L&&L!=="json"&&($.responseType=f.responseType),N&&([st,X]=Lr(N,!0),$.addEventListener("progress",st)),q&&$.upload&&([H,Q]=Lr(q),$.upload.addEventListener("progress",H),$.upload.addEventListener("loadend",Q)),(f.cancelToken||f.signal)&&(D=dt=>{$&&(h(!dt||dt.type?new Li(null,s,$):dt),$.abort(),$=null)},f.cancelToken&&f.cancelToken.subscribe(D),f.signal&&(f.signal.aborted?D():f.signal.addEventListener("abort",D)));const pt=Jl(f.url);if(pt&&Dt.protocols.indexOf(pt)===-1){h(new mt("Unsupported protocol "+pt+":",mt.ERR_BAD_REQUEST,s));return}$.send(g||null)})},ah=(s,i)=>{const{length:n}=s=s?s.filter(Boolean):[];if(i||n){let h=new AbortController,f;const g=function(N){if(!f){f=!0,L();const D=N instanceof Error?N:this.reason;h.abort(D instanceof mt?D:new Li(D instanceof Error?D.message:D))}};let E=i&&setTimeout(()=>{E=null,g(new mt(`timeout ${i} of ms exceeded`,mt.ETIMEDOUT))},i);const L=()=>{s&&(E&&clearTimeout(E),E=null,s.forEach(N=>{N.unsubscribe?N.unsubscribe(g):N.removeEventListener("abort",g)}),s=null)};s.forEach(N=>N.addEventListener("abort",g));const{signal:q}=h;return q.unsubscribe=()=>z.asap(L),q}},oh=ah,lh=function*(s,i){let n=s.byteLength;if(!i||n{const f=hh(s,i);let g=0,E,L=q=>{E||(E=!0,h&&h(q))};return new ReadableStream({async pull(q){try{const{done:N,value:D}=await f.next();if(N){L(),q.close();return}let H=D.byteLength;if(n){let st=g+=H;n(st)}q.enqueue(new Uint8Array(D))}catch(N){throw L(N),N}},cancel(q){return L(q),f.return()}},{highWaterMark:2})},$r=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ta=$r&&typeof ReadableStream=="function",uh=$r&&(typeof TextEncoder=="function"?(s=>i=>s.encode(i))(new TextEncoder):async s=>new Uint8Array(await new Response(s).arrayBuffer())),Pa=(s,...i)=>{try{return!!s(...i)}catch{return!1}},ch=Ta&&Pa(()=>{let s=!1;const i=new Request(Dt.origin,{body:new ReadableStream,method:"POST",get duplex(){return s=!0,"half"}}).headers.has("Content-Type");return s&&!i}),Un=64*1024,bs=Ta&&Pa(()=>z.isReadableStream(new Response("").body)),Mr={stream:bs&&(s=>s.body)};$r&&(s=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!Mr[i]&&(Mr[i]=z.isFunction(s[i])?n=>n[i]():(n,h)=>{throw new mt(`Response type '${i}' is not supported`,mt.ERR_NOT_SUPPORT,h)})})})(new Response);const ph=async s=>{if(s==null)return 0;if(z.isBlob(s))return s.size;if(z.isSpecCompliantForm(s))return(await new Request(Dt.origin,{method:"POST",body:s}).arrayBuffer()).byteLength;if(z.isArrayBufferView(s)||z.isArrayBuffer(s))return s.byteLength;if(z.isURLSearchParams(s)&&(s=s+""),z.isString(s))return(await uh(s)).byteLength},dh=async(s,i)=>{const n=z.toFiniteNumber(s.getContentLength());return n??ph(i)},vh=$r&&(async s=>{let{url:i,method:n,data:h,signal:f,cancelToken:g,timeout:E,onDownloadProgress:L,onUploadProgress:q,responseType:N,headers:D,withCredentials:H="same-origin",fetchOptions:st}=ka(s);N=N?(N+"").toLowerCase():"text";let Q=oh([f,g&&g.toAbortSignal()],E),X;const G=Q&&Q.unsubscribe&&(()=>{Q.unsubscribe()});let $;try{if(q&&ch&&n!=="get"&&n!=="head"&&($=await dh(D,h))!==0){let ut=new Request(i,{method:"POST",body:h,duplex:"half"}),ct;if(z.isFormData(h)&&(ct=ut.headers.get("content-type"))&&D.setContentType(ct),ut.body){const[gt,At]=qn($,Lr(zn(q)));h=Wn(ut.body,Un,gt,At)}}z.isString(H)||(H=H?"include":"omit");const ot="credentials"in Request.prototype;X=new Request(i,{...st,signal:Q,method:n.toUpperCase(),headers:D.normalize().toJSON(),body:h,duplex:"half",credentials:ot?H:void 0});let pt=await fetch(X);const dt=bs&&(N==="stream"||N==="response");if(bs&&(L||dt&&G)){const ut={};["status","statusText","headers"].forEach(vt=>{ut[vt]=pt[vt]});const ct=z.toFiniteNumber(pt.headers.get("content-length")),[gt,At]=L&&qn(ct,Lr(zn(L),!0))||[];pt=new Response(Wn(pt.body,Un,gt,()=>{At&&At(),G&&G()}),ut)}N=N||"text";let it=await Mr[z.findKey(Mr,N)||"text"](pt,s);return!dt&&G&&G(),await new Promise((ut,ct)=>{Aa(ut,ct,{data:it,headers:le.from(pt.headers),status:pt.status,statusText:pt.statusText,config:s,request:X})})}catch(ot){throw G&&G(),ot&&ot.name==="TypeError"&&/fetch/i.test(ot.message)?Object.assign(new mt("Network Error",mt.ERR_NETWORK,s,X),{cause:ot.cause||ot}):mt.from(ot,ot&&ot.code,s,X)}}),_s={http:Cl,xhr:nh,fetch:vh};z.forEach(_s,(s,i)=>{if(s){try{Object.defineProperty(s,"name",{value:i})}catch{}Object.defineProperty(s,"adapterName",{value:i})}});const Xn=s=>`- ${s}`,mh=s=>z.isFunction(s)||s===null||s===!1,Ca={getAdapter:s=>{s=z.isArray(s)?s:[s];const{length:i}=s;let n,h;const f={};for(let g=0;g`adapter ${L} `+(q===!1?"is not supported by the environment":"is not available in the build"));let E=i?g.length>1?`since : `+g.map(Xn).join(` `):" "+Xn(g[0]):"as no adapter specified";throw new mt("There is no suitable adapter to dispatch the request "+E,"ERR_NOT_SUPPORT")}return h},adapters:_s};function vs(s){if(s.cancelToken&&s.cancelToken.throwIfRequested(),s.signal&&s.signal.aborted)throw new Li(null,s)}function Gn(s){return vs(s),s.headers=le.from(s.headers),s.data=ds.call(s,s.transformRequest),["post","put","patch"].indexOf(s.method)!==-1&&s.headers.setContentType("application/x-www-form-urlencoded",!1),Ca.getAdapter(s.adapter||Ms.adapter)(s).then(function(h){return vs(s),h.data=ds.call(s,s.transformResponse,h),h.headers=le.from(h.headers),h},function(h){return Ea(h)||(vs(s),h&&h.response&&(h.response.data=ds.call(s,s.transformResponse,h.response),h.response.headers=le.from(h.response.headers))),Promise.reject(h)})}const xa="1.7.8",Kr={};["object","boolean","number","function","string","symbol"].forEach((s,i)=>{Kr[s]=function(h){return typeof h===s||"a"+(i<1?"n ":" ")+s}});const $n={};Kr.transitional=function(i,n,h){function f(g,E){return"[Axios v"+xa+"] Transitional option '"+g+"'"+E+(h?". "+h:"")}return(g,E,L)=>{if(i===!1)throw new mt(f(E," has been removed"+(n?" in "+n:"")),mt.ERR_DEPRECATED);return n&&!$n[E]&&($n[E]=!0,console.warn(f(E," has been deprecated since v"+n+" and will be removed in the near future"))),i?i(g,E,L):!0}};Kr.spelling=function(i){return(n,h)=>(console.warn(`${h} is likely a misspelling of ${i}`),!0)};function gh(s,i,n){if(typeof s!="object")throw new mt("options must be an object",mt.ERR_BAD_OPTION_VALUE);const h=Object.keys(s);let f=h.length;for(;f-- >0;){const g=h[f],E=i[g];if(E){const L=s[g],q=L===void 0||E(L,g,s);if(q!==!0)throw new mt("option "+g+" must be "+q,mt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new mt("Unknown option "+g,mt.ERR_BAD_OPTION)}}const Tr={assertOptions:gh,validators:Kr},ge=Tr.validators;class Fr{constructor(i){this.defaults=i,this.interceptors={request:new jn,response:new jn}}async request(i,n){try{return await this._request(i,n)}catch(h){if(h instanceof Error){let f={};Error.captureStackTrace?Error.captureStackTrace(f):f=new Error;const g=f.stack?f.stack.replace(/^.+\n/,""):"";try{h.stack?g&&!String(h.stack).endsWith(g.replace(/^.+\n.+\n/,""))&&(h.stack+=` `+g):h.stack=g}catch{}}throw h}}_request(i,n){typeof i=="string"?(n=n||{},n.url=i):n=i||{},n=ci(this.defaults,n);const{transitional:h,paramsSerializer:f,headers:g}=n;h!==void 0&&Tr.assertOptions(h,{silentJSONParsing:ge.transitional(ge.boolean),forcedJSONParsing:ge.transitional(ge.boolean),clarifyTimeoutError:ge.transitional(ge.boolean)},!1),f!=null&&(z.isFunction(f)?n.paramsSerializer={serialize:f}:Tr.assertOptions(f,{encode:ge.function,serialize:ge.function},!0)),Tr.assertOptions(n,{baseUrl:ge.spelling("baseURL"),withXsrfToken:ge.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let E=g&&z.merge(g.common,g[n.method]);g&&z.forEach(["delete","get","head","post","put","patch","common"],X=>{delete g[X]}),n.headers=le.concat(E,g);const L=[];let q=!0;this.interceptors.request.forEach(function(G){typeof G.runWhen=="function"&&G.runWhen(n)===!1||(q=q&&G.synchronous,L.unshift(G.fulfilled,G.rejected))});const N=[];this.interceptors.response.forEach(function(G){N.push(G.fulfilled,G.rejected)});let D,H=0,st;if(!q){const X=[Gn.bind(this),void 0];for(X.unshift.apply(X,L),X.push.apply(X,N),st=X.length,D=Promise.resolve(n);H{if(!h._listeners)return;let g=h._listeners.length;for(;g-- >0;)h._listeners[g](f);h._listeners=null}),this.promise.then=f=>{let g;const E=new Promise(L=>{h.subscribe(L),g=L}).then(f);return E.cancel=function(){h.unsubscribe(g)},E},i(function(g,E,L){h.reason||(h.reason=new Li(g,E,L),n(h.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const n=this._listeners.indexOf(i);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const i=new AbortController,n=h=>{i.abort(h)};return this.subscribe(n),i.signal.unsubscribe=()=>this.unsubscribe(n),i.signal}static source(){let i;return{token:new Fs(function(f){i=f}),cancel:i}}}const yh=Fs;function bh(s){return function(n){return s.apply(null,n)}}function _h(s){return z.isObject(s)&&s.isAxiosError===!0}const ws={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(ws).forEach(([s,i])=>{ws[i]=s});const wh=ws;function La(s){const i=new Pr(s),n=oa(Pr.prototype.request,i);return z.extend(n,Pr.prototype,i,{allOwnKeys:!0}),z.extend(n,i,null,{allOwnKeys:!0}),n.create=function(f){return La(ci(s,f))},n}const Ct=La(Ms);Ct.Axios=Pr;Ct.CanceledError=Li;Ct.CancelToken=yh;Ct.isCancel=Ea;Ct.VERSION=xa;Ct.toFormData=Xr;Ct.AxiosError=mt;Ct.Cancel=Ct.CanceledError;Ct.all=function(i){return Promise.all(i)};Ct.spread=bh;Ct.isAxiosError=_h;Ct.mergeConfig=ci;Ct.AxiosHeaders=le;Ct.formToJSON=s=>wa(z.isHTMLForm(s)?new FormData(s):s);Ct.getAdapter=Ca.getAdapter;Ct.HttpStatusCode=wh;Ct.default=Ct;const Eh=Ct;window.axios=Eh;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var Ah=function(){function s(i,n){n===void 0&&(n=[]),this._eventType=i,this._eventFunctions=n}return s.prototype.init=function(){var i=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(i._eventType,n)})},s}(),Ir=globalThis&&globalThis.__assign||function(){return Ir=Object.assign||function(s){for(var i,n=1,h=arguments.length;n"u")return!1;var i=Jt(s).ShadowRoot;return s instanceof i||s instanceof ShadowRoot}function Vh(s){var i=s.state;Object.keys(i.elements).forEach(function(n){var h=i.styles[n]||{},f=i.attributes[n]||{},g=i.elements[n];!ee(g)||!be(g)||(Object.assign(g.style,h),Object.keys(f).forEach(function(E){var L=f[E];L===!1?g.removeAttribute(E):g.setAttribute(E,L===!0?"":L)}))})}function Bh(s){var i=s.state,n={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,n.popper),i.styles=n,i.elements.arrow&&Object.assign(i.elements.arrow.style,n.arrow),function(){Object.keys(i.elements).forEach(function(h){var f=i.elements[h],g=i.attributes[h]||{},E=Object.keys(i.styles.hasOwnProperty(h)?i.styles[h]:n[h]),L=E.reduce(function(q,N){return q[N]="",q},{});!ee(f)||!be(f)||(Object.assign(f.style,L),Object.keys(g).forEach(function(q){f.removeAttribute(q)}))})}}const Dh={name:"applyStyles",enabled:!0,phase:"write",fn:Vh,effect:Bh,requires:["computeStyles"]};function ye(s){return s.split("-")[0]}var ui=Math.max,Br=Math.min,Ti=Math.round;function Es(){var s=navigator.userAgentData;return s!=null&&s.brands&&Array.isArray(s.brands)?s.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function Ba(){return!/^((?!chrome|android).)*safari/i.test(Es())}function Pi(s,i,n){i===void 0&&(i=!1),n===void 0&&(n=!1);var h=s.getBoundingClientRect(),f=1,g=1;i&&ee(s)&&(f=s.offsetWidth>0&&Ti(h.width)/s.offsetWidth||1,g=s.offsetHeight>0&&Ti(h.height)/s.offsetHeight||1);var E=pi(s)?Jt(s):window,L=E.visualViewport,q=!Ba()&&n,N=(h.left+(q&&L?L.offsetLeft:0))/f,D=(h.top+(q&&L?L.offsetTop:0))/g,H=h.width/f,st=h.height/g;return{width:H,height:st,top:D,right:N+H,bottom:D+st,left:N,x:N,y:D}}function js(s){var i=Pi(s),n=s.offsetWidth,h=s.offsetHeight;return Math.abs(i.width-n)<=1&&(n=i.width),Math.abs(i.height-h)<=1&&(h=i.height),{x:s.offsetLeft,y:s.offsetTop,width:n,height:h}}function Da(s,i){var n=i.getRootNode&&i.getRootNode();if(s.contains(i))return!0;if(n&&Ds(n)){var h=i;do{if(h&&s.isSameNode(h))return!0;h=h.parentNode||h.host}while(h)}return!1}function xe(s){return Jt(s).getComputedStyle(s)}function jh(s){return["table","td","th"].indexOf(be(s))>=0}function Je(s){return((pi(s)?s.ownerDocument:s.document)||window.document).documentElement}function Yr(s){return be(s)==="html"?s:s.assignedSlot||s.parentNode||(Ds(s)?s.host:null)||Je(s)}function Zn(s){return!ee(s)||xe(s).position==="fixed"?null:s.offsetParent}function Nh(s){var i=/firefox/i.test(Es()),n=/Trident/i.test(Es());if(n&&ee(s)){var h=xe(s);if(h.position==="fixed")return null}var f=Yr(s);for(Ds(f)&&(f=f.host);ee(f)&&["html","body"].indexOf(be(f))<0;){var g=xe(f);if(g.transform!=="none"||g.perspective!=="none"||g.contain==="paint"||["transform","perspective"].indexOf(g.willChange)!==-1||i&&g.willChange==="filter"||i&&g.filter&&g.filter!=="none")return f;f=f.parentNode}return null}function er(s){for(var i=Jt(s),n=Zn(s);n&&jh(n)&&xe(n).position==="static";)n=Zn(n);return n&&(be(n)==="html"||be(n)==="body"&&xe(n).position==="static")?i:n||Nh(s)||i}function Ns(s){return["top","bottom"].indexOf(s)>=0?"x":"y"}function Gi(s,i,n){return ui(s,Br(i,n))}function qh(s,i,n){var h=Gi(s,i,n);return h>n?n:h}function ja(){return{top:0,right:0,bottom:0,left:0}}function Na(s){return Object.assign({},ja(),s)}function qa(s,i){return i.reduce(function(n,h){return n[h]=s,n},{})}var zh=function(i,n){return i=typeof i=="function"?i(Object.assign({},n.rects,{placement:n.placement})):i,Na(typeof i!="number"?i:qa(i,tr))};function Hh(s){var i,n=s.state,h=s.name,f=s.options,g=n.elements.arrow,E=n.modifiersData.popperOffsets,L=ye(n.placement),q=Ns(L),N=[Gt,re].indexOf(L)>=0,D=N?"height":"width";if(!(!g||!E)){var H=zh(f.padding,n),st=js(g),Q=q==="y"?Xt:Gt,X=q==="y"?ie:re,G=n.rects.reference[D]+n.rects.reference[q]-E[q]-n.rects.popper[D],$=E[q]-n.rects.reference[q],ot=er(g),pt=ot?q==="y"?ot.clientHeight||0:ot.clientWidth||0:0,dt=G/2-$/2,it=H[Q],ut=pt-st[D]-H[X],ct=pt/2-st[D]/2+dt,gt=Gi(it,ct,ut),At=q;n.modifiersData[h]=(i={},i[At]=gt,i.centerOffset=gt-ct,i)}}function Wh(s){var i=s.state,n=s.options,h=n.element,f=h===void 0?"[data-popper-arrow]":h;f!=null&&(typeof f=="string"&&(f=i.elements.popper.querySelector(f),!f)||Da(i.elements.popper,f)&&(i.elements.arrow=f))}const Uh={name:"arrow",enabled:!0,phase:"main",fn:Hh,effect:Wh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ci(s){return s.split("-")[1]}var Xh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gh(s,i){var n=s.x,h=s.y,f=i.devicePixelRatio||1;return{x:Ti(n*f)/f||0,y:Ti(h*f)/f||0}}function Qn(s){var i,n=s.popper,h=s.popperRect,f=s.placement,g=s.variation,E=s.offsets,L=s.position,q=s.gpuAcceleration,N=s.adaptive,D=s.roundOffsets,H=s.isFixed,st=E.x,Q=st===void 0?0:st,X=E.y,G=X===void 0?0:X,$=typeof D=="function"?D({x:Q,y:G}):{x:Q,y:G};Q=$.x,G=$.y;var ot=E.hasOwnProperty("x"),pt=E.hasOwnProperty("y"),dt=Gt,it=Xt,ut=window;if(N){var ct=er(n),gt="clientHeight",At="clientWidth";if(ct===Jt(n)&&(ct=Je(n),xe(ct).position!=="static"&&L==="absolute"&&(gt="scrollHeight",At="scrollWidth")),ct=ct,f===Xt||(f===Gt||f===re)&&g===Ji){it=ie;var vt=H&&ct===ut&&ut.visualViewport?ut.visualViewport.height:ct[gt];G-=vt-h.height,G*=q?1:-1}if(f===Gt||(f===Xt||f===ie)&&g===Ji){dt=re;var wt=H&&ct===ut&&ut.visualViewport?ut.visualViewport.width:ct[At];Q-=wt-h.width,Q*=q?1:-1}}var Tt=Object.assign({position:L},N&&Xh),qt=D===!0?Gh({x:Q,y:G},Jt(n)):{x:Q,y:G};if(Q=qt.x,G=qt.y,q){var Mt;return Object.assign({},Tt,(Mt={},Mt[it]=pt?"0":"",Mt[dt]=ot?"0":"",Mt.transform=(ut.devicePixelRatio||1)<=1?"translate("+Q+"px, "+G+"px)":"translate3d("+Q+"px, "+G+"px, 0)",Mt))}return Object.assign({},Tt,(i={},i[it]=pt?G+"px":"",i[dt]=ot?Q+"px":"",i.transform="",i))}function $h(s){var i=s.state,n=s.options,h=n.gpuAcceleration,f=h===void 0?!0:h,g=n.adaptive,E=g===void 0?!0:g,L=n.roundOffsets,q=L===void 0?!0:L,N={placement:ye(i.placement),variation:Ci(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:f,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,Qn(Object.assign({},N,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:E,roundOffsets:q})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,Qn(Object.assign({},N,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:q})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const Kh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$h,data:{}};var yr={passive:!0};function Yh(s){var i=s.state,n=s.instance,h=s.options,f=h.scroll,g=f===void 0?!0:f,E=h.resize,L=E===void 0?!0:E,q=Jt(i.elements.popper),N=[].concat(i.scrollParents.reference,i.scrollParents.popper);return g&&N.forEach(function(D){D.addEventListener("scroll",n.update,yr)}),L&&q.addEventListener("resize",n.update,yr),function(){g&&N.forEach(function(D){D.removeEventListener("scroll",n.update,yr)}),L&&q.removeEventListener("resize",n.update,yr)}}const Jh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Yh,data:{}};var Zh={left:"right",right:"left",bottom:"top",top:"bottom"};function xr(s){return s.replace(/left|right|bottom|top/g,function(i){return Zh[i]})}var Qh={start:"end",end:"start"};function ta(s){return s.replace(/start|end/g,function(i){return Qh[i]})}function qs(s){var i=Jt(s),n=i.pageXOffset,h=i.pageYOffset;return{scrollLeft:n,scrollTop:h}}function zs(s){return Pi(Je(s)).left+qs(s).scrollLeft}function tf(s,i){var n=Jt(s),h=Je(s),f=n.visualViewport,g=h.clientWidth,E=h.clientHeight,L=0,q=0;if(f){g=f.width,E=f.height;var N=Ba();(N||!N&&i==="fixed")&&(L=f.offsetLeft,q=f.offsetTop)}return{width:g,height:E,x:L+zs(s),y:q}}function ef(s){var i,n=Je(s),h=qs(s),f=(i=s.ownerDocument)==null?void 0:i.body,g=ui(n.scrollWidth,n.clientWidth,f?f.scrollWidth:0,f?f.clientWidth:0),E=ui(n.scrollHeight,n.clientHeight,f?f.scrollHeight:0,f?f.clientHeight:0),L=-h.scrollLeft+zs(s),q=-h.scrollTop;return xe(f||n).direction==="rtl"&&(L+=ui(n.clientWidth,f?f.clientWidth:0)-g),{width:g,height:E,x:L,y:q}}function Hs(s){var i=xe(s),n=i.overflow,h=i.overflowX,f=i.overflowY;return/auto|scroll|overlay|hidden/.test(n+f+h)}function za(s){return["html","body","#document"].indexOf(be(s))>=0?s.ownerDocument.body:ee(s)&&Hs(s)?s:za(Yr(s))}function $i(s,i){var n;i===void 0&&(i=[]);var h=za(s),f=h===((n=s.ownerDocument)==null?void 0:n.body),g=Jt(h),E=f?[g].concat(g.visualViewport||[],Hs(h)?h:[]):h,L=i.concat(E);return f?L:L.concat($i(Yr(E)))}function As(s){return Object.assign({},s,{left:s.x,top:s.y,right:s.x+s.width,bottom:s.y+s.height})}function rf(s,i){var n=Pi(s,!1,i==="fixed");return n.top=n.top+s.clientTop,n.left=n.left+s.clientLeft,n.bottom=n.top+s.clientHeight,n.right=n.left+s.clientWidth,n.width=s.clientWidth,n.height=s.clientHeight,n.x=n.left,n.y=n.top,n}function ea(s,i,n){return i===Ra?As(tf(s,n)):pi(i)?rf(i,n):As(ef(Je(s)))}function sf(s){var i=$i(Yr(s)),n=["absolute","fixed"].indexOf(xe(s).position)>=0,h=n&&ee(s)?er(s):s;return pi(h)?i.filter(function(f){return pi(f)&&Da(f,h)&&be(f)!=="body"}):[]}function nf(s,i,n,h){var f=i==="clippingParents"?sf(s):[].concat(i),g=[].concat(f,[n]),E=g[0],L=g.reduce(function(q,N){var D=ea(s,N,h);return q.top=ui(D.top,q.top),q.right=Br(D.right,q.right),q.bottom=Br(D.bottom,q.bottom),q.left=ui(D.left,q.left),q},ea(s,E,h));return L.width=L.right-L.left,L.height=L.bottom-L.top,L.x=L.left,L.y=L.top,L}function Ha(s){var i=s.reference,n=s.element,h=s.placement,f=h?ye(h):null,g=h?Ci(h):null,E=i.x+i.width/2-n.width/2,L=i.y+i.height/2-n.height/2,q;switch(f){case Xt:q={x:E,y:i.y-n.height};break;case ie:q={x:E,y:i.y+i.height};break;case re:q={x:i.x+i.width,y:L};break;case Gt:q={x:i.x-n.width,y:L};break;default:q={x:i.x,y:i.y}}var N=f?Ns(f):null;if(N!=null){var D=N==="y"?"height":"width";switch(g){case ki:q[N]=q[N]-(i[D]/2-n[D]/2);break;case Ji:q[N]=q[N]+(i[D]/2-n[D]/2);break}}return q}function Zi(s,i){i===void 0&&(i={});var n=i,h=n.placement,f=h===void 0?s.placement:h,g=n.strategy,E=g===void 0?s.strategy:g,L=n.boundary,q=L===void 0?Sh:L,N=n.rootBoundary,D=N===void 0?Ra:N,H=n.elementContext,st=H===void 0?Xi:H,Q=n.altBoundary,X=Q===void 0?!1:Q,G=n.padding,$=G===void 0?0:G,ot=Na(typeof $!="number"?$:qa($,tr)),pt=st===Xi?kh:Xi,dt=s.rects.popper,it=s.elements[X?pt:st],ut=nf(pi(it)?it:it.contextElement||Je(s.elements.popper),q,D,E),ct=Pi(s.elements.reference),gt=Ha({reference:ct,element:dt,strategy:"absolute",placement:f}),At=As(Object.assign({},dt,gt)),vt=st===Xi?At:ct,wt={top:ut.top-vt.top+ot.top,bottom:vt.bottom-ut.bottom+ot.bottom,left:ut.left-vt.left+ot.left,right:vt.right-ut.right+ot.right},Tt=s.modifiersData.offset;if(st===Xi&&Tt){var qt=Tt[f];Object.keys(wt).forEach(function(Mt){var fe=[re,ie].indexOf(Mt)>=0?1:-1,ue=[Xt,ie].indexOf(Mt)>=0?"y":"x";wt[Mt]+=qt[ue]*fe})}return wt}function af(s,i){i===void 0&&(i={});var n=i,h=n.placement,f=n.boundary,g=n.rootBoundary,E=n.padding,L=n.flipVariations,q=n.allowedAutoPlacements,N=q===void 0?Va:q,D=Ci(h),H=D?L?Jn:Jn.filter(function(X){return Ci(X)===D}):tr,st=H.filter(function(X){return N.indexOf(X)>=0});st.length===0&&(st=H);var Q=st.reduce(function(X,G){return X[G]=Zi(s,{placement:G,boundary:f,rootBoundary:g,padding:E})[ye(G)],X},{});return Object.keys(Q).sort(function(X,G){return Q[X]-Q[G]})}function of(s){if(ye(s)===Bs)return[];var i=xr(s);return[ta(s),i,ta(i)]}function lf(s){var i=s.state,n=s.options,h=s.name;if(!i.modifiersData[h]._skip){for(var f=n.mainAxis,g=f===void 0?!0:f,E=n.altAxis,L=E===void 0?!0:E,q=n.fallbackPlacements,N=n.padding,D=n.boundary,H=n.rootBoundary,st=n.altBoundary,Q=n.flipVariations,X=Q===void 0?!0:Q,G=n.allowedAutoPlacements,$=i.options.placement,ot=ye($),pt=ot===$,dt=q||(pt||!X?[xr($)]:of($)),it=[$].concat(dt).reduce(function(Fe,ce){return Fe.concat(ye(ce)===Bs?af(i,{placement:ce,boundary:D,rootBoundary:H,padding:N,flipVariations:X,allowedAutoPlacements:G}):ce)},[]),ut=i.rects.reference,ct=i.rects.popper,gt=new Map,At=!0,vt=it[0],wt=0;wt=0,ue=fe?"width":"height",jt=Zi(i,{placement:Tt,boundary:D,rootBoundary:H,altBoundary:st,padding:N}),$t=fe?Mt?re:Gt:Mt?ie:Xt;ut[ue]>ct[ue]&&($t=xr($t));var xt=xr($t),se=[];if(g&&se.push(jt[qt]<=0),L&&se.push(jt[$t]<=0,jt[xt]<=0),se.every(function(Fe){return Fe})){vt=Tt,At=!1;break}gt.set(Tt,se)}if(At)for(var Le=X?3:1,di=function(ce){var Qe=it.find(function(_e){var Zt=gt.get(_e);if(Zt)return Zt.slice(0,ce).every(function(Ie){return Ie})});if(Qe)return vt=Qe,"break"},Me=Le;Me>0;Me--){var Ze=di(Me);if(Ze==="break")break}i.placement!==vt&&(i.modifiersData[h]._skip=!0,i.placement=vt,i.reset=!0)}}const hf={name:"flip",enabled:!0,phase:"main",fn:lf,requiresIfExists:["offset"],data:{_skip:!1}};function ia(s,i,n){return n===void 0&&(n={x:0,y:0}),{top:s.top-i.height-n.y,right:s.right-i.width+n.x,bottom:s.bottom-i.height+n.y,left:s.left-i.width-n.x}}function ra(s){return[Xt,re,ie,Gt].some(function(i){return s[i]>=0})}function ff(s){var i=s.state,n=s.name,h=i.rects.reference,f=i.rects.popper,g=i.modifiersData.preventOverflow,E=Zi(i,{elementContext:"reference"}),L=Zi(i,{altBoundary:!0}),q=ia(E,h),N=ia(L,f,g),D=ra(q),H=ra(N);i.modifiersData[n]={referenceClippingOffsets:q,popperEscapeOffsets:N,isReferenceHidden:D,hasPopperEscaped:H},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":D,"data-popper-escaped":H})}const uf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ff};function cf(s,i,n){var h=ye(s),f=[Gt,Xt].indexOf(h)>=0?-1:1,g=typeof n=="function"?n(Object.assign({},i,{placement:s})):n,E=g[0],L=g[1];return E=E||0,L=(L||0)*f,[Gt,re].indexOf(h)>=0?{x:L,y:E}:{x:E,y:L}}function pf(s){var i=s.state,n=s.options,h=s.name,f=n.offset,g=f===void 0?[0,0]:f,E=Va.reduce(function(D,H){return D[H]=cf(H,i.rects,g),D},{}),L=E[i.placement],q=L.x,N=L.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=q,i.modifiersData.popperOffsets.y+=N),i.modifiersData[h]=E}const df={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:pf};function vf(s){var i=s.state,n=s.name;i.modifiersData[n]=Ha({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const mf={name:"popperOffsets",enabled:!0,phase:"read",fn:vf,data:{}};function gf(s){return s==="x"?"y":"x"}function yf(s){var i=s.state,n=s.options,h=s.name,f=n.mainAxis,g=f===void 0?!0:f,E=n.altAxis,L=E===void 0?!1:E,q=n.boundary,N=n.rootBoundary,D=n.altBoundary,H=n.padding,st=n.tether,Q=st===void 0?!0:st,X=n.tetherOffset,G=X===void 0?0:X,$=Zi(i,{boundary:q,rootBoundary:N,padding:H,altBoundary:D}),ot=ye(i.placement),pt=Ci(i.placement),dt=!pt,it=Ns(ot),ut=gf(it),ct=i.modifiersData.popperOffsets,gt=i.rects.reference,At=i.rects.popper,vt=typeof G=="function"?G(Object.assign({},i.rects,{placement:i.placement})):G,wt=typeof vt=="number"?{mainAxis:vt,altAxis:vt}:Object.assign({mainAxis:0,altAxis:0},vt),Tt=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,qt={x:0,y:0};if(ct){if(g){var Mt,fe=it==="y"?Xt:Gt,ue=it==="y"?ie:re,jt=it==="y"?"height":"width",$t=ct[it],xt=$t+$[fe],se=$t-$[ue],Le=Q?-At[jt]/2:0,di=pt===ki?gt[jt]:At[jt],Me=pt===ki?-At[jt]:-gt[jt],Ze=i.elements.arrow,Fe=Q&&Ze?js(Ze):{width:0,height:0},ce=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:ja(),Qe=ce[fe],_e=ce[ue],Zt=Gi(0,gt[jt],Fe[jt]),Ie=dt?gt[jt]/2-Le-Zt-Qe-wt.mainAxis:di-Zt-Qe-wt.mainAxis,Jr=dt?-gt[jt]/2+Le+Zt+_e+wt.mainAxis:Me+Zt+_e+wt.mainAxis,nt=i.elements.arrow&&er(i.elements.arrow),vi=nt?it==="y"?nt.clientTop||0:nt.clientLeft||0:0,Oe=(Mt=Tt==null?void 0:Tt[it])!=null?Mt:0,Zr=$t+Ie-Oe-vi,ir=$t+Jr-Oe,rr=Gi(Q?Br(xt,Zr):xt,$t,Q?ui(se,ir):se);ct[it]=rr,qt[it]=rr-$t}if(L){var sr,ti=it==="x"?Xt:Gt,Qr=it==="x"?ie:re,we=ct[ut],mi=ut==="y"?"height":"width",Re=we+$[ti],rt=we-$[Qr],St=[Xt,Gt].indexOf(ot)!==-1,Ve=(sr=Tt==null?void 0:Tt[ut])!=null?sr:0,Mi=St?Re:we-gt[mi]-At[mi]-Ve+wt.altAxis,ei=St?we+gt[mi]+At[mi]-Ve-wt.altAxis:rt,Fi=Q&&St?qh(Mi,we,ei):Gi(Q?Mi:Re,we,Q?ei:rt);ct[ut]=Fi,qt[ut]=Fi-we}i.modifiersData[h]=qt}}const bf={name:"preventOverflow",enabled:!0,phase:"main",fn:yf,requiresIfExists:["offset"]};function _f(s){return{scrollLeft:s.scrollLeft,scrollTop:s.scrollTop}}function wf(s){return s===Jt(s)||!ee(s)?qs(s):_f(s)}function Ef(s){var i=s.getBoundingClientRect(),n=Ti(i.width)/s.offsetWidth||1,h=Ti(i.height)/s.offsetHeight||1;return n!==1||h!==1}function Af(s,i,n){n===void 0&&(n=!1);var h=ee(i),f=ee(i)&&Ef(i),g=Je(i),E=Pi(s,f,n),L={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(h||!h&&!n)&&((be(i)!=="body"||Hs(g))&&(L=wf(i)),ee(i)?(q=Pi(i,!0),q.x+=i.clientLeft,q.y+=i.clientTop):g&&(q.x=zs(g))),{x:E.left+L.scrollLeft-q.x,y:E.top+L.scrollTop-q.y,width:E.width,height:E.height}}function Sf(s){var i=new Map,n=new Set,h=[];s.forEach(function(g){i.set(g.name,g)});function f(g){n.add(g.name);var E=[].concat(g.requires||[],g.requiresIfExists||[]);E.forEach(function(L){if(!n.has(L)){var q=i.get(L);q&&f(q)}}),h.push(g)}return s.forEach(function(g){n.has(g.name)||f(g)}),h}function kf(s){var i=Sf(s);return Rh.reduce(function(n,h){return n.concat(i.filter(function(f){return f.phase===h}))},[])}function Tf(s){var i;return function(){return i||(i=new Promise(function(n){Promise.resolve().then(function(){i=void 0,n(s())})})),i}}function Pf(s){var i=s.reduce(function(n,h){var f=n[h.name];return n[h.name]=f?Object.assign({},f,h,{options:Object.assign({},f.options,h.options),data:Object.assign({},f.data,h.data)}):h,n},{});return Object.keys(i).map(function(n){return i[n]})}var sa={placement:"bottom",modifiers:[],strategy:"absolute"};function na(){for(var s=arguments.length,i=new Array(s),n=0;n1?r[1]=1:r[1]<=0&&(r[1]=0),se(r[0],r[1],r[2])}function Me(t,e){var r=Le(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),se(r[0],r[1],r[2])}function Ze(t,e){var r=Le(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),se(r[0],r[1],r[2])}(function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(a,l,o){return a<0&&(a=0),l<0&&(l=0),o<0&&(o=0),"#"+t[a]+t[l]+t[o]}})();var Fe=function(e){$=!!e},ce=function(){return $},Qe=function(e){ot=e},_e=function(){return ot},Zt=function(e){At=e},Ie=function(){return At},Jr=function(e){pt=e};function nt(t){return document.createElementNS(n,t)}function vi(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?vi=function(r){return typeof r}:vi=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},vi(t)}var Oe=function(){var t=1,e=[],r,a,l={onmessage:function(){},postMessage:function(P){r({data:P})}},o={postMessage:function(P){l.onmessage({data:P})}};function c(m){if(window.Worker&&window.Blob&&L()){var P=new Blob(["var _workerSelf = self; self.onmessage = ",m.toString()],{type:"text/javascript"}),M=URL.createObjectURL(P);return new Worker(M)}return r=m,l}function b(){a||(a=c(function(P){function M(){function O(W,_){var x,u,d=W.length,B,I,J,at;for(u=0;u=0;_-=1)if(W[_].ty==="sh")if(W[_].ks.k.i)S(W[_].ks.k);else for(d=W[_].ks.k.length,u=0;ux[0]?!0:x[0]>W[0]?!1:W[1]>x[1]?!0:x[1]>W[1]?!1:W[2]>x[2]?!0:x[2]>W[2]?!1:null}var R=function(){var W=[4,4,14];function _(u){var d=u.t.d;u.t.d={k:[{s:d,t:0}]}}function x(u){var d,B=u.length;for(d=0;d=0;d-=1)if(u[d].ty==="sh")if(u[d].ks.k.i)u[d].ks.k.c=u[d].closed;else for(J=u[d].ks.k.length,I=0;I500)&&(this._imageLoaded(),clearInterval(v)),w+=1}).bind(this),50)}function o(k){var w=a(k,this.assetsPath,this.path),v=nt("image");dt?this.testImageLoaded(v):v.addEventListener("load",this._imageLoaded,!1),v.addEventListener("error",(function(){y.img=t,this._imageLoaded()}).bind(this),!1),v.setAttributeNS("http://www.w3.org/1999/xlink","href",w),this._elementHelper.append?this._elementHelper.append(v):this._elementHelper.appendChild(v);var y={img:v,assetData:k};return y}function c(k){var w=a(k,this.assetsPath,this.path),v=D("img");v.crossOrigin="anonymous",v.addEventListener("load",this._imageLoaded,!1),v.addEventListener("error",(function(){y.img=t,this._imageLoaded()}).bind(this),!1),v.src=w;var y={img:v,assetData:k};return y}function b(k){var w={assetData:k},v=a(k,this.assetsPath,this.path);return Oe.loadData(v,(function(y){w.img=y,this._footageLoaded()}).bind(this),(function(){w.img={},this._footageLoaded()}).bind(this)),w}function p(k,w){this.imagesLoadedCb=w;var v,y=k.length;for(v=0;vthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,a=e.length,l=t.layers,o,c=l.length;for(o=0;othis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},rt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},rt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},rt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},rt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},rt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},rt.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},rt.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},rt.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},rt.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),Re(t[0])==="object"){var r,a=t.length;for(r=0;r=0;x-=1)e[x].animation.destroy(_)}function j(_,x,u){var d=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),B,I=d.length;for(B=0;B0?y=j:v=j;while(Math.abs(R)>o&&++U=l?O(v,et,y,S):K===0?et:C(v,R,R+p,y,S)}},t}(),Mi=function(){function t(e){return e.concat(G(e.length))}return{double:t}}(),ei=function(){return function(t,e,r){var a=0,l=t,o=G(l),c={newElement:b,release:p};function b(){var A;return a?(a-=1,A=o[a]):A=e(),A}function p(A){a===l&&(o=Mi.double(o),l*=2),r&&r(A),o[a]=A,a+=1}return c}}(),Fi=function(){function t(){return{addedLength:0,percents:X("float32",Ie()),lengths:X("float32",Ie())}}return ei(8,t)}(),Zs=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var a,l=r.lengths.length;for(a=0;a-.001&&w<.001}function r(m,P,M,C,O,k,w,v,y){if(M===0&&k===0&&y===0)return e(m,P,C,O,w,v);var S=t.sqrt(t.pow(C-m,2)+t.pow(O-P,2)+t.pow(k-M,2)),F=t.sqrt(t.pow(w-m,2)+t.pow(v-P,2)+t.pow(y-M,2)),R=t.sqrt(t.pow(w-C,2)+t.pow(v-O,2)+t.pow(y-k,2)),j;return S>F?S>R?j=S-F-R:j=R-F-S:R>F?j=R-F-S:j=F-S-R,j>-1e-4&&j<1e-4}var a=function(){return function(m,P,M,C){var O=Ie(),k,w,v,y,S,F=0,R,j=[],U=[],lt=Fi.newElement();for(v=M.length,k=0;kw?-1:1,S=!0;S;)if(C[k]<=w&&C[k+1]>w?(v=(w-C[k])/(C[k+1]-C[k]),S=!1):k+=y,k<0||k>=O-1){if(k===O-1)return M[k];S=!1}return M[k]+(M[k+1]-M[k])*v}function A(m,P,M,C,O,k){var w=p(O,k),v=1-w,y=t.round((v*v*v*m[0]+(w*v*v+v*w*v+v*v*w)*M[0]+(w*w*v+v*w*w+w*v*w)*C[0]+w*w*w*P[0])*1e3)/1e3,S=t.round((v*v*v*m[1]+(w*v*v+v*w*v+v*v*w)*M[1]+(w*w*v+v*w*w+w*v*w)*C[1]+w*w*w*P[1])*1e3)/1e3;return[y,S]}var T=X("float32",8);function V(m,P,M,C,O,k,w){O<0?O=0:O>1&&(O=1);var v=p(O,w);k=k>1?1:k;var y=p(k,w),S,F=m.length,R=1-v,j=1-y,U=R*R*R,lt=v*R*R*3,et=v*v*R*3,K=v*v*v,ft=R*R*j,Z=v*R*j+R*v*j+R*R*y,W=v*v*j+R*v*y+v*R*y,_=v*v*y,x=R*j*j,u=v*j*j+R*y*j+R*j*y,d=v*y*j+R*y*y+v*j*y,B=v*y*y,I=j*j*j,J=y*j*j+j*y*j+j*j*y,at=y*y*j+j*y*y+y*j*y,ht=y*y*y;for(S=0;S=A.t-r){p.h&&(p=A),l=0;break}if(A.t-r>t){l=o;break}o=k||t=k?y.points.length-1:0;for(m=y.points[S].point.length,V=0;V=j&&F=k)a[0]=v[0],a[1]=v[1],a[2]=v[2];else if(t<=w)a[0]=p.s[0],a[1]=p.s[1],a[2]=p.s[2];else{var Z=en(p.s),W=en(v),_=(t-w)/(k-w);Za(a,Ja(Z,W,_))}else for(o=0;o=k?P=1:t1e-6?(m=Math.acos(P),M=Math.sin(m),C=Math.sin((1-r)*m)/M,O=Math.sin(r*m)/M):(C=1-r,O=r),a[0]=C*l+O*p,a[1]=C*o+O*A,a[2]=C*c+O*T,a[3]=C*b+O*V,a}function Za(t,e){var r=e[0],a=e[1],l=e[2],o=e[3],c=Math.atan2(2*a*o-2*r*l,1-2*a*a-2*l*l),b=Math.asin(2*r*a+2*l*o),p=Math.atan2(2*r*o-2*a*l,1-2*r*r-2*l*l);t[0]=c/vt,t[1]=b/vt,t[2]=p/vt}function en(t){var e=t[0]*vt,r=t[1]*vt,a=t[2]*vt,l=Math.cos(e/2),o=Math.cos(r/2),c=Math.cos(a/2),b=Math.sin(e/2),p=Math.sin(r/2),A=Math.sin(a/2),T=l*o*c-b*p*A,V=b*p*c+l*o*A,m=b*o*c+l*p*A,P=l*p*c-b*o*A;return[V,m,P,T]}function rn(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==ii&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function nr(t){var e;if(this.propType==="unidimensional")e=t*this.mult,Qs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,a=this.v.length;r1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function ar(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[];break}(!o[a]||o[a]&&!l)&&(o[a]=ri.newElement()),o[a][0]=t,o[a][1]=e},Ee.prototype.setTripleAt=function(t,e,r,a,l,o,c,b){this.setXYAt(t,e,"v",c,b),this.setXYAt(r,a,"o",c,b),this.setXYAt(l,o,"i",c,b)},Ee.prototype.reverse=function(){var t=new Ee;t.setPathData(this.c,this._length);var e=this.v,r=this.o,a=this.i,l=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],a[0][0],a[0][1],r[0][0],r[0][1],0,!1),l=1);var o=this._length-1,c=this._length,b;for(b=l;b=Z[Z.length-1].t-this.offsetTime)S=Z[Z.length-1].s?Z[Z.length-1].s[0]:Z[Z.length-2].e[0],R=!0;else{for(var W=y,_=Z.length-1,x=!0,u,d,B;x&&(u=Z[W],d=Z[W+1],!(d.t-this.offsetTime>k));)W<_-1?W+=1:x=!1;if(B=this.keyframesMetadata[W]||{},R=u.h===1,y=W,!R){if(k>=d.t-this.offsetTime)K=1;else if(kv&&k>v)||(this._caching.lastIndex=y0||u>-1e-6&&u<0?a(u*d)/d:u}function x(){var u=this.props,d=_(u[0]),B=_(u[1]),I=_(u[4]),J=_(u[5]),at=_(u[12]),ht=_(u[13]);return"matrix("+d+","+B+","+I+","+J+","+at+","+ht+")"}return function(){this.reset=l,this.rotate=o,this.rotateX=c,this.rotateY=b,this.rotateZ=p,this.skew=T,this.skewFromAxis=V,this.shear=A,this.scale=m,this.setTransform=P,this.translate=M,this.transform=C,this.multiply=O,this.applyToPoint=S,this.applyToX=F,this.applyToY=R,this.applyToZ=j,this.applyToPointArray=ft,this.applyToTriplePoints=K,this.applyToPointStringified=Z,this.toCSS=W,this.to2dCSS=x,this.clone=v,this.cloneFromProps=y,this.equals=w,this.inversePoints=et,this.inversePoint=lt,this.getInverseMatrix=U,this._t=this.transform,this.isIdentity=k,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function hr(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?hr=function(r){return typeof r}:hr=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},hr(t)}var _t={};function ro(t){q(t)}function sn(){St.searchAnimations()}function so(t){Fe(t)}function no(t){Jr(t)}function ao(t){return St.loadAnimation(t)}function oo(t){if(typeof t=="string")switch(t){case"high":Zt(200);break;default:case"medium":Zt(50);break;case"low":Zt(10);break}else!isNaN(t)&&t>1&&Zt(t)}function lo(){return typeof navigator<"u"}function ho(t,e){t==="expressions"&&Qe(e)}function fo(t){switch(t){case"propertyFactory":return Y;case"shapePropertyFactory":return lr;case"matrix":return Vt;default:return null}}_t.play=St.play,_t.pause=St.pause,_t.setLocationHref=ro,_t.togglePause=St.togglePause,_t.setSpeed=St.setSpeed,_t.setDirection=St.setDirection,_t.stop=St.stop,_t.searchAnimations=sn,_t.registerAnimation=St.registerAnimation,_t.loadAnimation=ao,_t.setSubframeRendering=so,_t.resize=St.resize,_t.goToAndStop=St.goToAndStop,_t.destroy=St.destroy,_t.setQuality=oo,_t.inBrowser=lo,_t.installPlugin=ho,_t.freeze=St.freeze,_t.unfreeze=St.unfreeze,_t.setVolume=St.setVolume,_t.mute=St.mute,_t.unmute=St.unmute,_t.getRegisteredAnimations=St.getRegisteredAnimations,_t.useWebWorker=E,_t.setIDPrefix=no,_t.__getFactory=fo,_t.version="5.12.2";function uo(){document.readyState==="complete"&&(clearInterval(vo),sn())}function co(t){for(var e=nn.split("&"),r=0;r=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var c=[],b,p=o.length,A;for(b=0;ba+r)){var T,V;A.s*l<=a?T=0:T=(A.s*l-a)/r,A.e*l>=a+r?V=1:V=(A.e*l-a)/r,c.push([T,V])}return c.length||c.push([0,0]),c},ne.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?e=1+a:this.s.v<0?e=0+a:e=this.s.v+a,this.e.v>1?r=1+a:this.e.v<0?r=0+a:r=this.e.v+a,e>r){var l=e;e=r,r=l}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,c,b=this.shapes.length,p,A,T,V,m,P=0;if(r===e)for(c=0;c=0;c-=1)if(C=this.shapes[c],C.shape._mdf){for(O=C.localShapeCollection,O.releaseShapes(),this.m===2&&b>1?(y=this.calculateShapeEdges(e,r,C.totalShapeLength,v,P),v+=C.totalShapeLength):y=[[k,w]],A=y.length,p=0;p=1?M.push({s:C.totalShapeLength*(k-1),e:C.totalShapeLength*(w-1)}):(M.push({s:C.totalShapeLength*k,e:C.totalShapeLength}),M.push({s:0,e:C.totalShapeLength*(w-1)}));var S=this.addShapes(C,M[0]);if(M[0].s!==M[0].e){if(M.length>1){var F=C.shape.paths.shapes[C.shape.paths._length-1];if(F.c){var R=S.pop();this.addPaths(S,O),S=this.addShapes(C,M[1],R)}else this.addPaths(S,O),S=this.addShapes(C,M[1])}this.addPaths(S,O)}}C.shape.paths=O}}},ne.prototype.addPaths=function(t,e){var r,a=t.length;for(r=0;re.e){r.c=!1;break}else e.s<=A&&e.e>=A+T.addedLength?(this.addSegment(l[o].v[b-1],l[o].o[b-1],l[o].i[b],l[o].v[b],r,V,O),O=!1):(P=pe.getNewSegment(l[o].v[b-1],l[o].v[b],l[o].o[b-1],l[o].i[b],(e.s-A)/T.addedLength,(e.e-A)/T.addedLength,m[b-1]),this.addSegmentFromArray(P,r,V,O),O=!1,r.c=!1),A+=T.addedLength,V+=1;if(l[o].c&&m.length){if(T=m[b-1],A<=e.e){var k=m[b-1].addedLength;e.s<=A&&e.e>=A+k?(this.addSegment(l[o].v[b-1],l[o].o[b-1],l[o].i[0],l[o].v[0],r,V,O),O=!1):(P=pe.getNewSegment(l[o].v[b-1],l[o].v[0],l[o].o[b-1],l[o].i[0],(e.s-A)/k,(e.e-A)/k,m[b-1]),this.addSegmentFromArray(P,r,V,O),O=!1,r.c=!1)}else r.c=!1;A+=T.addedLength,V+=1}if(r._length&&(r.setXYAt(r.v[C][0],r.v[C][1],"i",C),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),A>e.e)break;o=this.p.keyframes[this.p.keyframes.length-1].t?(T=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/A,0),V=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/A,0)):(T=this.p.pv,V=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/A,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){T=[],V=[];var m=this.px,P=this.py;m._caching.lastFrame+m.offsetTime<=m.keyframes[0].t?(T[0]=m.getValueAtTime((m.keyframes[0].t+.01)/A,0),T[1]=P.getValueAtTime((P.keyframes[0].t+.01)/A,0),V[0]=m.getValueAtTime(m.keyframes[0].t/A,0),V[1]=P.getValueAtTime(P.keyframes[0].t/A,0)):m._caching.lastFrame+m.offsetTime>=m.keyframes[m.keyframes.length-1].t?(T[0]=m.getValueAtTime(m.keyframes[m.keyframes.length-1].t/A,0),T[1]=P.getValueAtTime(P.keyframes[P.keyframes.length-1].t/A,0),V[0]=m.getValueAtTime((m.keyframes[m.keyframes.length-1].t-.01)/A,0),V[1]=P.getValueAtTime((P.keyframes[P.keyframes.length-1].t-.01)/A,0)):(T=[m.pv,P.pv],V[0]=m.getValueAtTime((m._caching.lastFrame+m.offsetTime-.01)/A,m.offsetTime),V[1]=P.getValueAtTime((P._caching.lastFrame+P.offsetTime-.01)/A,P.offsetTime))}else V=t,T=V;this.v.rotate(-Math.atan2(T[1]-V[1],T[0]-V[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function a(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function l(){}function o(p){this._addDynamicProperty(p),this.elem.addDynamicProperty(p),this._isDirty=!0}function c(p,A,T){if(this.elem=p,this.frameId=-1,this.propType="transform",this.data=A,this.v=new Vt,this.pre=new Vt,this.appliedTransformations=0,this.initDynamicPropertyContainer(T||p),A.p&&A.p.s?(this.px=Y.getProp(p,A.p.x,0,0,this),this.py=Y.getProp(p,A.p.y,0,0,this),A.p.z&&(this.pz=Y.getProp(p,A.p.z,0,0,this))):this.p=Y.getProp(p,A.p||{k:[0,0,0]},1,0,this),A.rx){if(this.rx=Y.getProp(p,A.rx,0,vt,this),this.ry=Y.getProp(p,A.ry,0,vt,this),this.rz=Y.getProp(p,A.rz,0,vt,this),A.or.k[0].ti){var V,m=A.or.k.length;for(V=0;V0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},de.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(m):Math.ceil(m),C=this.pMatrix.props,O=this.rMatrix.props,k=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var w=0;if(m>0){for(;wM;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),w-=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-P,!0),w-=P)}a=this.data.m===1?0:this._currentCopies-1,l=this.data.m===1?1:-1,o=this._currentCopies;for(var v,y;o;){if(e=this.elemsData[a].it,r=e[e.length-1].transform.mProps.v.props,y=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(a/(this._currentCopies-1)),w!==0){for((a!==0&&l===1||a!==this._currentCopies-1&&l===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(O[0],O[1],O[2],O[3],O[4],O[5],O[6],O[7],O[8],O[9],O[10],O[11],O[12],O[13],O[14],O[15]),this.matrix.transform(k[0],k[1],k[2],k[3],k[4],k[5],k[6],k[7],k[8],k[9],k[10],k[11],k[12],k[13],k[14],k[15]),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),v=0;v0&&a<1?[e]:[]:[e-a,e+a].filter(function(l){return l>0&&l<1})},kt.prototype.split=function(t){if(t<=0)return[fn(this.points[0]),this];if(t>=1)return[this,fn(this.points[this.points.length-1])];var e=De(this.points[0],this.points[1],t),r=De(this.points[1],this.points[2],t),a=De(this.points[2],this.points[3],t),l=De(e,r,t),o=De(r,a,t),c=De(l,o,t);return[new kt(this.points[0],e,l,c,!0),new kt(c,o,a,this.points[3],!0)]};function un(t,e){var r=t.points[0][e],a=t.points[t.points.length-1][e];if(r>a){var l=a;a=r,r=l}for(var o=mo(3*t.a[e],2*t.b[e],t.c[e]),c=0;c0&&o[c]<1){var b=t.point(o[c])[e];ba&&(a=b)}return{min:r,max:a}}kt.prototype.bounds=function(){return{x:un(this,0),y:un(this,1)}},kt.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function ur(t,e,r){var a=t.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function cn(t){var e=t.bez.split(.5);return[ur(e[0],t.t1,t.t),ur(e[1],t.t,t.t2)]}function go(t,e){return Math.abs(t.cx-e.cx)*2=o||t.width<=a&&t.height<=a&&e.width<=a&&e.height<=a){l.push([t.t,e.t]);return}var c=cn(t),b=cn(e);Ri(c[0],b[0],r+1,a,l,o),Ri(c[0],b[1],r+1,a,l,o),Ri(c[1],b[0],r+1,a,l,o),Ri(c[1],b[1],r+1,a,l,o)}}kt.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var a=[];return Ri(ur(this,0,1),ur(t,0,1),0,e,a,r),a},kt.shapeSegment=function(t,e){var r=(e+1)%t.length();return new kt(t.v[e],t.o[e],t.i[r],t.v[r],!0)},kt.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new kt(t.v[r],t.i[r],t.o[e],t.v[e],!0)};function rs(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function cr(t,e,r,a){var l=[t[0],t[1],1],o=[e[0],e[1],1],c=[r[0],r[1],1],b=[a[0],a[1],1],p=rs(rs(l,o),rs(c,b));return is(p[2])?null:[p[0]/p[2],p[1]/p[2]]}function yi(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function ss(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function bi(t,e){return fr(t[0],e[0])&&fr(t[1],e[1])}function Vi(){}H([Qt],Vi),Vi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=Y.getProp(t,e.s,0,null,this),this.frequency=Y.getProp(t,e.r,0,null,this),this.pointsType=Y.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function pn(t,e,r,a,l,o,c){var b=r-Math.PI/2,p=r+Math.PI/2,A=e[0]+Math.cos(r)*a*l,T=e[1]-Math.sin(r)*a*l;t.setTripleAt(A,T,A+Math.cos(b)*o,T-Math.sin(b)*o,A+Math.cos(p)*c,T-Math.sin(p)*c,t.length())}function yo(t,e){var r=[e[0]-t[0],e[1]-t[1]],a=-Math.PI*.5,l=[Math.cos(a)*r[0]-Math.sin(a)*r[1],Math.sin(a)*r[0]+Math.cos(a)*r[1]];return l}function bo(t,e){var r=e===0?t.length()-1:e-1,a=(e+1)%t.length(),l=t.v[r],o=t.v[a],c=yo(l,o);return Math.atan2(0,1)-Math.atan2(c[1],c[0])}function dn(t,e,r,a,l,o,c){var b=bo(e,r),p=e.v[r%e._length],A=e.v[r===0?e._length-1:r-1],T=e.v[(r+1)%e._length],V=o===2?Math.sqrt(Math.pow(p[0]-A[0],2)+Math.pow(p[1]-A[1],2)):0,m=o===2?Math.sqrt(Math.pow(p[0]-T[0],2)+Math.pow(p[1]-T[1],2)):0;pn(t,e.v[r%e._length],b,c,a,m/((l+1)*2),V/((l+1)*2))}function _o(t,e,r,a,l,o){for(var c=0;c1&&e.length>1&&(l=mn(t[0],e[e.length-1]),l)?[[t[0].split(l[0])[0]],[e[e.length-1].split(l[1])[1]]]:[r,a]}function wo(t){for(var e,r=1;r1&&(e=gn(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function yn(t,e){var r=t.inflectionPoints(),a,l,o,c;if(r.length===0)return[_i(t,e)];if(r.length===1||fr(r[1],1))return o=t.split(r[0]),a=o[0],l=o[1],[_i(a,e),_i(l,e)];o=t.split(r[0]),a=o[0];var b=(r[1]-r[0])/(1-r[0]);return o=o[1].split(b),c=o[0],l=o[1],[_i(a,e),_i(c,e),_i(l,e)]}function Bi(){}H([Qt],Bi),Bi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=Y.getProp(t,e.a,0,null,this),this.miterLimit=Y.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Bi.prototype.processPath=function(t,e,r,a){var l=Rt.newElement();l.c=t.c;var o=t.length();t.c||(o-=1);var c,b,p,A=[];for(c=0;c=0;c-=1)p=kt.shapeSegmentInverted(t,c),A.push(yn(p,e));A=wo(A);var T=null,V=null;for(c=0;c0&&(J=!1),J){var yt=D("style");yt.setAttribute("f-forigin",u[d].fOrigin),yt.setAttribute("f-origin",u[d].origin),yt.setAttribute("f-family",u[d].fFamily),yt.type="text/css",yt.innerText="@font-face {font-family: "+u[d].fFamily+"; font-style: normal; src: url('"+u[d].fPath+"');}",x.appendChild(yt)}}else if(u[d].fOrigin==="g"||u[d].origin===1){for(at=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ht=0;ht=55296&&u<=56319){var d=_.charCodeAt(1);d>=56320&&d<=57343&&(x=(u-55296)*1024+d-56320+65536)}return x}function F(_,x){var u=_.toString(16)+x.toString(16);return V.indexOf(u)!==-1}function R(_){return _===p}function j(_){return _===b}function U(_){var x=S(_);return x>=A&&x<=T}function lt(_){return U(_.substr(0,2))&&U(_.substr(2,2))}function et(_){return r.indexOf(_)!==-1}function K(_,x){var u=S(_.substr(x,2));if(u!==a)return!1;var d=0;for(x+=2;d<5;){if(u=S(_.substr(x,2)),uc)return!1;d+=1,x+=2}return S(_.substr(x,2))===l}function ft(){this.isLoaded=!0}var Z=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};Z.isModifier=F,Z.isZeroWidthJoiner=R,Z.isFlagEmoji=lt,Z.isRegionalCode=U,Z.isCombinedCharacter=et,Z.isRegionalFlag=K,Z.isVariationSelector=j,Z.BLACK_FLAG_CODE_POINT=a;var W={addChars:k,addFonts:O,getCharData:w,getFontByName:y,measureText:v,checkLoadedFonts:M,setIsLoaded:ft};return Z.prototype=W,Z}();function _n(t){this.animationData=t}_n.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function Eo(t){return new _n(t)}function pr(){}pr.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,r=this.renderableComponents.length;for(e=0;e.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},zt.prototype.show=function(){},zt.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},zt.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},zt.prototype.resume=function(){this._canPlay=!0},zt.prototype.setRate=function(t){this.audio.rate(t)},zt.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},zt.prototype.getBaseElement=function(){return null},zt.prototype.destroy=function(){},zt.prototype.sourceRectAtTime=function(){},zt.prototype.initExpressions=function(){};function Bt(){}Bt.prototype.checkLayers=function(t){var e,r=this.layers.length,a;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(a=this.layers[e],a.ip-a.st<=t-this.layers[e].st&&a.op-a.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},Bt.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},Bt.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Bt.prototype.createAudio=function(t){return new zt(t,this.globalData,this)},Bt.prototype.createFootage=function(t){return new qe(t,this.globalData,this)},Bt.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(w,"url("+N()+"#"+m+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}ni.prototype.getMaskProperty=function(t){return this.viewData[t].prop},ni.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,a=this.masksProperties.length;for(r=0;r1&&(a+=" C"+e.o[l-1][0]+","+e.o[l-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var c="";r.elem&&(e.c&&(c=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",c)),r.lastPath=a}},ni.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var ji=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(a,l){var o=nt("filter");return o.setAttribute("id",a),l!==!0&&(o.setAttribute("filterUnits","objectBoundingBox"),o.setAttribute("x","0%"),o.setAttribute("y","0%"),o.setAttribute("width","100%"),o.setAttribute("height","100%")),o}function r(){var a=nt("feColorMatrix");return a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),a}return t}(),En=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),os={},An="filter_result_";function ls(t){var e,r="SourceGraphic",a=t.data.ef?t.data.ef.length:0,l=xt(),o=ji.createFilter(l,!0),c=0;this.filters=[];var b;for(e=0;e=0&&(a=this.shapeModifiers[e].processShapes(this._isFirstFrame),!a);e-=1);}},searchProcessedElement:function(e){for(var r=this.processedElements,a=0,l=r.length;a.01)return!1;r+=1}return!0},Hi.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)k=m.transformers[U].mProps._mdf||k,j-=1,U-=1;if(k)for(j=S-m.styles[v].lvl,U=m.transformers.length-1;j>0;)R.multiply(m.transformers[U].mProps.v),j-=1,U-=1}else R=t;if(F=m.sh.paths,C=F._length,k){for(O="",M=0;M=1?ft=.99:ft<=-1&&(ft=-.99);var Z=et*ft,W=Math.cos(K+m.a.v)*Z+O[0],_=Math.sin(K+m.a.v)*Z+O[1];M.setAttribute("fx",W),M.setAttribute("fy",_),C&&!m.g._collapsable&&(m.of.setAttribute("fx",W),m.of.setAttribute("fy",_))}}}function T(V,m,P){var M=m.style,C=m.d;C&&(C._mdf||P)&&C.dashStr&&(M.pElem.setAttribute("stroke-dasharray",C.dashStr),M.pElem.setAttribute("stroke-dashoffset",C.dashoffset[0])),m.c&&(m.c._mdf||P)&&M.pElem.setAttribute("stroke","rgb("+ct(m.c.v[0])+","+ct(m.c.v[1])+","+ct(m.c.v[2])+")"),(m.o._mdf||P)&&M.pElem.setAttribute("stroke-opacity",m.o.v),(m.w._mdf||P)&&(M.pElem.setAttribute("stroke-width",m.w.v),M.msElem&&M.msElem.setAttribute("stroke-width",m.w.v))}return r}();function Pt(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}H([je,wi,Ni,Sn,Ei,Ne,qi],Pt),Pt.prototype.initSecondaryElement=function(){},Pt.prototype.identityMatrix=new Vt,Pt.prototype.buildExpressionInterface=function(){},Pt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Pt.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,r,a,l=this.stylesList.length,o,c=[],b=!1;for(a=0;a1&&b&&this.setShapesAsAnimated(c)}},Pt.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;p-=1){if(O=this.searchProcessedElement(t[p]),O?e[p]=r[O-1]:t[p]._render=c,t[p].ty==="fl"||t[p].ty==="st"||t[p].ty==="gf"||t[p].ty==="gs"||t[p].ty==="no")O?e[p].style.closed=!1:e[p]=this.createStyleElement(t[p],l),t[p]._render&&e[p].style.pElem.parentNode!==a&&a.appendChild(e[p].style.pElem),m.push(e[p].style);else if(t[p].ty==="gr"){if(!O)e[p]=this.createGroupElement(t[p]);else for(V=e[p].it.length,T=0;T1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Nt.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},Nt.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,l=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(a=0;ae);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},Nt.prototype.buildFinalText=function(t){for(var e=[],r=0,a=t.length,l,o,c=!1,b=!1,p="";r=55296&&l<=56319?si.isRegionalFlag(t,r)?p=t.substr(r,14):(o=t.charCodeAt(r+1),o>=56320&&o<=57343&&(si.isModifier(l,o)?(p=t.substr(r,2),c=!0):si.isFlagEmoji(t.substr(r,4))?p=t.substr(r,4):p=t.substr(r,2))):l>56319?(o=t.charCodeAt(r+1),si.isVariationSelector(l)&&(c=!0)):si.isZeroWidthJoiner(l)&&(c=!0,b=!0),c?(e[e.length-1]+=p,c=!1):e.push(p),r+=p.length;return e},Nt.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,a=[],l,o,c,b=0,p,A=r.m.g,T=0,V=0,m=0,P=[],M=0,C=0,O,k,w=e.getFontByName(t.f),v,y=0,S=bn(w);t.fWeight=S.weight,t.fStyle=S.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),o=t.finalText.length,t.finalLineHeight=t.lh;var F=t.tr/1e3*t.finalSize,R;if(t.sz)for(var j=!0,U=t.sz[0],lt=t.sz[1],et,K;j;){K=this.buildFinalText(t.t),et=0,M=0,o=K.length,F=t.tr/1e3*t.finalSize;var ft=-1;for(l=0;lU&&K[l]!==" "?(ft===-1?o+=1:l=ft,et+=t.finalLineHeight||t.finalSize*1.2,K.splice(l,ft===l?1:0,"\r"),ft=-1,M=0):(M+=y,M+=F);et+=w.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&<C?M:C,M=-2*F,p="",c=!0,m+=1):p=W,e.chars?(v=e.getCharData(W,w.fStyle,e.getFontByName(t.f).fFamily),y=c?0:v.w*t.finalSize/100):y=e.measureText(p,t.f,t.finalSize),W===" "?Z+=y+F:(M+=y+F+Z,Z=0),a.push({l:y,an:y,add:T,n:c,anIndexes:[],val:p,line:m,animatorJustifyOffset:0}),A==2){if(T+=y,p===""||p===" "||l===o-1){for((p===""||p===" ")&&(T-=y);V<=l;)a[V].an=T,a[V].ind=b,a[V].extra=y,V+=1;b+=1,T=0}}else if(A==3){if(T+=y,p===""||l===o-1){for(p===""&&(T-=y);V<=l;)a[V].an=T,a[V].ind=b,a[V].extra=y,V+=1;T=0,b+=1}}else a[b].ind=b,a[b].extra=0,b+=1;if(t.l=a,C=M>C?M:C,P.push(M),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=C,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=P;var _=r.a,x,u;k=_.length;var d,B,I=[];for(O=0;O0?b=this.ne.v/100:p=-this.ne.v/100,this.xe.v>0?A=1-this.xe.v/100:T=1+this.xe.v/100;var V=Ve.getBezierEasing(b,p,A,T).get,m=0,P=this.finalS,M=this.finalE,C=this.data.sh;if(C===2)M===P?m=c>=M?1:0:m=t(0,e(.5/(M-P)+(c-P)/(M-P),1)),m=V(m);else if(C===3)M===P?m=c>=M?0:1:m=1-t(0,e(.5/(M-P)+(c-P)/(M-P),1)),m=V(m);else if(C===4)M===P?m=0:(m=t(0,e(.5/(M-P)+(c-P)/(M-P),1)),m<.5?m*=2:m=1-2*(m-.5)),m=V(m);else if(C===5){if(M===P)m=0;else{var O=M-P;c=e(t(0,c+.5-P),M-P);var k=-O/2+c,w=O/2;m=Math.sqrt(1-k*k/(w*w))}m=V(m)}else C===6?(M===P?m=0:(c=e(t(0,c+.5-P),M-P),m=(1+Math.cos(Math.PI+Math.PI*2*c/(M-P)))/2),m=V(m)):(c>=r(P)&&(c-P<0?m=t(0,e(e(M,1)-(P-c),1)):m=t(0,e(M-c,1))),m=V(m));if(this.sm.v!==100){var v=this.sm.v*.01;v===0&&(v=1e-8);var y=.5-v*.5;m1&&(m=1))}return m*this.a.v},getValue:function(c){this.iterateDynamicProperties(),this._mdf=c||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,c&&this.data.r===2&&(this.e.v=this._currentTextLength);var b=this.data.r===2?1:100/this.data.totalChars,p=this.o.v/b,A=this.s.v/b+p,T=this.e.v/b+p;if(A>T){var V=A;A=T,T=V}this.finalS=A,this.finalE=T}},H([It],a);function l(o,c,b){return new a(o,c)}return{getTextSelectorProp:l}}();function Bo(t,e,r){var a={propType:!1},l=Y.getProp,o=e.a;this.a={r:o.r?l(t,o.r,0,vt,r):a,rx:o.rx?l(t,o.rx,0,vt,r):a,ry:o.ry?l(t,o.ry,0,vt,r):a,sk:o.sk?l(t,o.sk,0,vt,r):a,sa:o.sa?l(t,o.sa,0,vt,r):a,s:o.s?l(t,o.s,1,.01,r):a,a:o.a?l(t,o.a,1,0,r):a,o:o.o?l(t,o.o,0,.01,r):a,p:o.p?l(t,o.p,1,0,r):a,sw:o.sw?l(t,o.sw,0,0,r):a,sc:o.sc?l(t,o.sc,1,0,r):a,fc:o.fc?l(t,o.fc,1,0,r):a,fh:o.fh?l(t,o.fh,0,0,r):a,fs:o.fs?l(t,o.fs,0,.01,r):a,fb:o.fb?l(t,o.fb,0,.01,r):a,t:o.t?l(t,o.t,0,0,r):a},this.s=Vo.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function ai(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=G(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}ai.prototype.searchProperties=function(){var t,e=this._textData.a.length,r,a=Y.getProp;for(t=0;t=M+oe||!S?(U=(M+oe-O)/C.partialLength,ht=y.point[0]+(C.point[0]-y.point[0])*U,yt=y.point[1]+(C.point[1]-y.point[1])*U,o.translate(-r[0]*m[T].an*.005,-(r[1]*Z)*.01),k=!1):S&&(O+=C.partialLength,w+=1,w>=S.length&&(w=0,v+=1,F[v]?S=F[v].points:et.v.c?(w=0,v=0,S=F[v].points):(O-=C.partialLength,S=null)),S&&(y=C,C=S[w],R=C.partialLength));at=m[T].an/2-m[T].add,o.translate(-at,0,0)}else at=m[T].an/2-m[T].add,o.translate(-at,0,0),o.translate(-r[0]*m[T].an*.005,-r[1]*Z*.01,0);for(u=0;ut?this.textSpans[t].span:nt(b?"g":"text"),v<=t){if(p.setAttribute("stroke-linecap","butt"),p.setAttribute("stroke-linejoin","round"),p.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=p,b){var S=nt("g");p.appendChild(S),this.textSpans[t].childSpan=S}this.textSpans[t].span=p,this.layerElement.appendChild(p)}p.style.display="inherit"}if(A.reset(),V&&(c[t].n&&(m=-C,P+=r.yOffset,P+=M?1:0,M=!1),this.applyTextPropertiesToMatrix(r,A,c[t].line,m,P),m+=c[t].l||0,m+=C),b){y=this.globalData.fontManager.getCharData(r.finalText[t],a.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var F;if(y.t===1)F=new Wi(y.data,this.globalData,this);else{var R=Do;y.data&&y.data.shapes&&(R=this.buildShapeData(y.data,r.finalSize)),F=new Pt(R,this.globalData,this)}if(this.textSpans[t].glyph){var j=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(j.layerElement),j.destroy()}this.textSpans[t].glyph=F,F._debug=!0,F.prepareFrame(0),F.renderFrame(),this.textSpans[t].childSpan.appendChild(F.layerElement),y.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else V&&p.setAttribute("transform","translate("+A.props[12]+","+A.props[13]+")"),p.textContent=c[t].val,p.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}V&&p&&p.setAttribute("d",T)}for(;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},Se.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;tPromise.resolve({}),["assets/flag-icons.min-a401de29.css"]);