PageSourceSearch

https://sycamore.ng/_nuxt/DZXylFdd.js

js sycamore.ng collected 2026-09-25 03:05:52 UTC 637,404 bytes, 185 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dae1owKe.js","./cCO-Rf_K.js","./Cdzoq4xf.js","./CJ1E8RPT.js","./CkGdhIUY.js","./BzD5FiVB.js","./11f58A9x.js","./SocialProof.BTDcI85h.css","./about-us.DwLvi7wJ.css","./B1VdSGtW.js","./asset-management.DjTervkH.css","./C4FIwgcu.js","./B3xJy_52.js","./3Vt--q68.js","./TimeLine.DCPniTOw.css","./automatic-saving.CLvs0It3.css","./CezYY6kT.js","./VrwiEwQr.js","./CNqnUrpL.js","./BTQIIcg-.js","./FlowerBanner.C3TFwh69.css","./k4eHhsaj.js","./sAxLRuPw.js","./blog.Zxye-4tL.css","./BXsUxH8q.js","./3GFFzFHU.js","./BNaUm15V.js","./CCqSakX7.js","./business-loan.--ISrI5i.css","./BBERfRsq.js","./business-saving.pIHynqkk.css","./Bv6m8gvp.js","./CMDcSaHr.js","./RequirementsModal.Dd974_GB.css","./campus-sytizens.B8Ym0xVu.css","./CKgXtjAV.js","./cD4rPlUw.js","./DCJn9XjQ.js","./CtT4NcHj.js","./careers.C_Wm-dQU.css","./BKZC4VN3.js","./daily-saving-account.C4gKtFSd.css","./CcNI4Zr2.js","./DBLl1hSB.js","./u5d30AtY.js","./faqs.C8P5QEpe.css","./BDRA3NOg.js","./BXoNaV6n.js","./jRqDFU_w.js","./index.D6o8z1bR.css","./5IjvXFSZ.js","./CpdmPlhO.js","./LoanCalc.1NvtUc66.css","./CqDIUNvV.js","./M3NlJb_B.js","./Bs5zZrAp.js","./TimelinePhone.BQJzwalC.css","./investment.CVYYRpCE.css","./BpfG1oei.js","./xTdoVKhT.js","./_id_.DhR0grvm.css","./C-8UU1_A.js","./D8vyVGKm.js","./AppDownload.CnBVN_Bu.css","./loan-friends.DI2NfxdM.css","./nSqoBAG0.js","./loans.yB9g_pxc.css","./MpZyuRt_.js","./online-saving-account.DpkJfl94.css","./TXawvMUw.js","./payday-loan.DfQM9NAL.css","./BUmOVvsu.js","./personal-loan.BoaqMsUx.css","./3czWjimJ.js","./personal-saving.BiiQBLUs.css","./CyfqXhUa.js","./press.BYtgSiXy.css","./DXxxzCQg.js","./DoiiIJKT.js","./BwI8WcJJ.js","./siml.DCll0eEC.css","./CBw7xtWA.js","./sisl.DL1qumh8.css","./C_MS2xaP.js","./student-saving-account.pzMmxOi7.css","./B9gyAFB3.js","./sycamore-uk.T9DK_-Ce.css","./DuSoo3Qx.js","./B8vherRb.js","./target-contribution.CdWjPgWt.css","./ZGPEa9VX.js","./CmMUkS0a.js","./_id_.DDGlXyxZ.css","./pN_XJi4t.js","./DruQKfDO.js","./DefaultFooter.NRLDBL-u.css","./custom.C_gC42Ue.css","./DU9xSzV_.js","./default.DEc9vwfK.css","./v3cgRBn0.js","./sytizen.CYXNiuy9.css","./DFecPiR7.js","./error-404.CoZKRZXM.css","./CGym2vQ0.js","./error-500.D6506J9O.css"])))=>i.map(i=>d[i]);
2/**
3* @vue/shared v3.5.13
4* (c) 2018-present Yuxi (Evan) You and Vue contributors
5* @license MIT
6**//*! #__NO_SIDE_EFFECTS__ */function makeMap(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend=Object.assign,remove=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},hasOwnProperty$1=Object.prototype.hasOwnProperty,hasOwn=(e,t)=>hasOwnProperty$1.call(e,t),isArray$2=Array.isArray,isMap=e=>toTypeString(e)==="[object Map]",isSet=e=>toTypeString(e)==="[object Set]",isDate=e=>toTypeString(e)==="[object Date]",isRegExp=e=>toTypeString(e)==="[object RegExp]",isFunction=e=>typeof e=="function",isString$1=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject$2=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject$2(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$2=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString$1(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,r)=>r?r.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},def=(e,t,r,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:r})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber=e=>{const t=isString$1(e)?Number(e):NaN;return isNaN(t)?e:t};let _globalThis$2;const getGlobalThis=()=>_globalThis$2||(_globalThis$2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function normalizeStyle(e){if(isArray$2(e)){const t={};for(let r=0;r<e.length;r++){const i=e[r],n=isString$1(i)?parseStringStyle(i):normalizeStyle(i);if(n)for(const s in n)t[s]=n[s]}return t}else if(isString$1(e)||isObject$2(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(r=>{if(r){const i=r.split(propertyDelimiterRE);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$1(e))t=e;else if(isArray$2(e))for(let r=0;r<e.length;r++){const i=normalizeClass(e[r]);i&&(t+=i+" ")}else if(isObject$2(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:r}=e;return t&&!isString$1(t)&&(e.class=normalizeClass(t)),r&&(e.style=normalizeStyle(r)),e}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}function looseCompareArrays(e,t){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=looseEqual(e[i],t[i]);return r}function looseEqual(e,t){if(e===t)return!0;let r=isDate(e),i=isDate(t);if(r||i)return r&&i?e.getTime()===t.getTime():!1;if(r=isSymbol(e),i=isSymbol(t),r||i)return e===t;if(r=isArray$2(e),i=isArray$2(t),r||i)return r&&i?looseCompareArrays(e,t):!1;if(r=isObject$2(e),i=isObject$2(t),r||i){if(!r||!i)return!1;const n=Object.keys(e).length,s=Object.keys(t).length;if(n!==s)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!looseEqual(e[o],t[o]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(r=>looseEqual(r,t))}const isRef$1=e=>!!(e&&e.__v_isRef===!0),toDisplayString=e=>isString$1(e)?e:e==null?"":isArray$2(e)||isObject$2(e)&&(e.toString===objectToString||!isFunction(e.toString))?isRef$1(e)?toDisplayString(e.value):JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>isRef$1(t)?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[i,n],s)=>(r[stringifySymbol(i,s)+" =>"]=n,r),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>stringifySymbol(r))}:isSymbol(t)?stringifySymbol(t):isObject$2(t)&&!isArray$2(t)&&!isPlainObject$2(t)?String(t):t,stringifySymbol=(e,t="")=>{var r;return isSymbol(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
7* @vue/reactivity v3.5.13
8* (c) 2018-present Yuxi (Evan) You and Vue contributors
9* @license MIT
vendor: 21,543 bytes, lines 10-13
10**/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=r}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){this._active=!1;let r,i;for(r=0,i=this.effects.length;r<i;r++)this.effects[r].stop();for(this.effects.length=0,r=0,i=this.cleanups.length;r<i;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,i=this.scopes.length;r<i;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0}}}function effectScope(e){return new EffectScope(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e,t=!1){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeSub;const pausedQueueEffects=new WeakSet;class ReactiveEffect{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||batch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const t=activeSub,r=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=t,shouldTrack=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)removeSub(t);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(e,t=!1){if(e.flags|=8,t){e.next=batchedComputed,batchedComputed=e;return}e.next=batchedSub,batchedSub=e}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let t=batchedComputed;for(batchedComputed=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;batchedSub;){let t=batchedSub;for(batchedSub=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=r}}if(e)throw e}function prepareDeps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(e){let t,r=e.depsTail,i=r;for(;i;){const n=i.prevDep;i.version===-1?(i===r&&(r=n),removeSub(i),removeDep(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=n}e.deps=t,e.depsTail=r}function isDirty(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function refreshComputed(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===globalVersion))return;e.globalVersion=globalVersion;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!isDirty(e)){e.flags&=-3;return}const r=activeSub,i=shouldTrack;activeSub=e,shouldTrack=!0;try{prepareDeps(e);const n=e.fn(e._value);(t.version===0||hasChanged(n,e._value))&&(e._value=n,t.version++)}catch(n){throw t.version++,n}finally{activeSub=r,shouldTrack=i,cleanupDeps(e),e.flags&=-3}}function removeSub(e,t=!1){const{dep:r,prevSub:i,nextSub:n}=e;if(i&&(i.nextSub=n,e.prevSub=void 0),n&&(n.prevSub=i,e.nextSub=void 0),r.subs===e&&(r.subs=i,!i&&r.computed)){r.computed.flags&=-5;for(let s=r.computed.deps;s;s=s.nextDep)removeSub(s,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function removeDep(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function cleanupEffect(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=activeSub;activeSub=void 0;try{t()}finally{activeSub=r}}}let globalVersion=0;class Link{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==activeSub)r=this.activeLink=new Link(activeSub,this),activeSub.deps?(r.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=r,activeSub.depsTail=r):activeSub.deps=activeSub.depsTail=r,addSub(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const i=r.nextDep;i.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=i),r.prevDep=activeSub.depsTail,r.nextDep=void 0,activeSub.depsTail.nextDep=r,activeSub.depsTail=r,activeSub.deps===r&&(activeSub.deps=i)}return r}trigger(t){this.version++,globalVersion++,this.notify(t)}notify(t){startBatch();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{endBatch()}}}function addSub(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)addSub(i)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(e,t,r){if(shouldTrack&&activeSub){let i=targetMap.get(e);i||targetMap.set(e,i=new Map);let n=i.get(r);n||(i.set(r,n=new Dep),n.map=i,n.key=r),n.track()}}function trigger(e,t,r,i,n,s){const o=targetMap.get(e);if(!o){globalVersion++;return}const l=f=>{f&&f.trigger()};if(startBatch(),t==="clear")o.forEach(l);else{const f=isArray$2(e),d=f&&isIntegerKey(r);if(f&&r==="length"){const u=Number(i);o.forEach((y,m)=>{(m==="length"||m===ARRAY_ITERATE_KEY||!isSymbol(m)&&m>=u)&&l(y)})}else switch((r!==void 0||o.has(void 0))&&l(o.get(r)),d&&l(o.get(ARRAY_ITERATE_KEY)),t){case"add":f?d&&l(o.get("length")):(l(o.get(ITERATE_KEY)),isMap(e)&&l(o.get(MAP_KEY_ITERATE_KEY)));break;case"delete":f||(l(o.get(ITERATE_KEY)),isMap(e)&&l(o.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&l(o.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(e,t){const r=targetMap.get(e);return r&&r.get(t)}function reactiveReadArray(e){const t=toRaw(e);return t===e?t:(track(t,"iterate",ARRAY_ITERATE_KEY),isShallow(e)?t:t.map(toReactive))}function shallowReadArray(e){return track(e=toRaw(e),"iterate",ARRAY_ITERATE_KEY),e}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...e){return reactiveReadArray(this).concat(...e.map(t=>isArray$2(t)?reactiveReadArray(t):t))},entries(){return iterator(this,"entries",e=>(e[1]=toReactive(e[1]),e))},every(e,t){return apply(this,"every",e,t,void 0,arguments)},filter(e,t){return apply(this,"filter",e,t,r=>r.map(toReactive),arguments)},find(e,t){return apply(this,"find",e,t,toReactive,arguments)},findIndex(e,t){return apply(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return apply(this,"findLast",e,t,toReactive,arguments)},findLastIndex(e,t){return apply(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return apply(this,"forEach",e,t,void 0,arguments)},includes(...e){return searchProxy(this,"includes",e)},indexOf(...e){return searchProxy(this,"indexOf",e)},join(e){return reactiveReadArray(this).join(e)},lastIndexOf(...e){return searchProxy(this,"lastIndexOf",e)},map(e,t){return apply(this,"map",e,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...e){return noTracking(this,"push",e)},reduce(e,...t){return reduce(this,"reduce",e,t)},reduceRight(e,...t){return reduce(this,"reduceRight",e,t)},shift(){return noTracking(this,"shift")},some(e,t){return apply(this,"some",e,t,void 0,arguments)},splice(...e){return noTracking(this,"splice",e)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(e){return reactiveReadArray(this).toSorted(e)},toSpliced(...e){return reactiveReadArray(this).toSpliced(...e)},unshift(...e){return noTracking(this,"unshift",e)},values(){return iterator(this,"values",toReactive)}};function iterator(e,t,r){const i=shallowReadArray(e),n=i[t]();return i!==e&&!isShallow(e)&&(n._next=n.next,n.next=()=>{const s=n._next();return s.value&&(s.value=r(s.value)),s}),n}const arrayProto=Array.prototype;function apply(e,t,r,i,n,s){const o=shallowReadArray(e),l=o!==e&&!isShallow(e),f=o[t];if(f!==arrayProto[t]){const y=f.apply(e,s);return l?toReactive(y):y}let d=r;o!==e&&(l?d=function(y,m){return r.call(this,toReactive(y),m,e)}:r.length>2&&(d=function(y,m){return r.call(this,y,m,e)}));const u=f.call(o,d,i);return l&&n?n(u):u}function reduce(e,t,r,i){const n=shallowReadArray(e);let s=r;return n!==e&&(isShallow(e)?r.length>3&&(s=function(o,l,f){return r.call(this,o,l,f,e)}):s=function(o,l,f){return r.call(this,o,toReactive(l),f,e)}),n[t](s,...i)}function searchProxy(e,t,r){const i=toRaw(e);track(i,"iterate",ARRAY_ITERATE_KEY);const n=i[t](...r);return(n===-1||n===!1)&&isProxy(r[0])?(r[0]=toRaw(r[0]),i[t](...r)):n}function noTracking(e,t,r=[]){pauseTracking(),startBatch();const i=toRaw(e)[t].apply(e,r);return endBatch(),resetTracking(),i}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(isSymbol));function hasOwnProperty(e){isSymbol(e)||(e=String(e));const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,i){if(r==="__v_skip")return t.__v_skip;const n=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return s;if(r==="__v_raw")return i===(n?s?shallowReadonlyMap:readonlyMap:s?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=isArray$2(t);if(!n){let f;if(o&&(f=arrayInstrumentations[r]))return f;if(r==="hasOwnProperty")return hasOwnProperty}const l=Reflect.get(t,r,isRef(t)?t:i);return(isSymbol(r)?builtInSymbols.has(r):isNonTrackableKeys(r))||(n||track(t,"get",r),s)?l:isRef(l)?o&&isIntegerKey(r)?l:l.value:isObject$2(l)?n?readonly(l):reactive(l):l}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,r,i,n){let s=t[r];if(!this._isShallow){const f=isReadonly(s);if(!isShallow(i)&&!isReadonly(i)&&(s=toRaw(s),i=toRaw(i)),!isArray$2(t)&&isRef(s)&&!isRef(i))return f?!1:(s.value=i,!0)}const o=isArray$2(t)&&isIntegerKey(r)?Number(r)<t.length:hasOwn(t,r),l=Reflect.set(t,r,i,isRef(t)?t:n);return t===toRaw(n)&&(o?hasChanged(i,s)&&trigger(t,"set",r,i):trigger(t,"add",r,i)),l}deleteProperty(t,r){const i=hasOwn(t,r);t[r];const n=Reflect.deleteProperty(t,r);return n&&i&&trigger(t,"delete",r,void 0),n}has(t,r){const i=Reflect.has(t,r);return(!isSymbol(r)||!builtInSymbols.has(r))&&track(t,"has",r),i}ownKeys(t){return track(t,"iterate",isArray$2(t)?"length":ITERATE_KEY),Reflect.ownKeys(t)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function createIterableMethod(e,t,r){return function(...i){const n=this.__v_raw,s=toRaw(n),o=isMap(s),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=n[e](...i),u=r?toShallow:t?toReadonly:toReactive;return!t&&track(s,"iterate",f?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:y,done:m}=d.next();return m?{value:y,done:m}:{value:l?[u(y[0]),u(y[1])]:u(y),done:m}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(e,t){const r={get(n){const s=this.__v_raw,o=toRaw(s),l=toRaw(n);e||(hasChanged(n,l)&&track(o,"get",n),track(o,"get",l));const{has:f}=getProto(o),d=t?toShallow:e?toReadonly:toReactive;if(f.call(o,n))return d(s.get(n));if(f.call(o,l))return d(s.get(l));s!==o&&s.get(n)},get size(){const n=this.__v_raw;return!e&&track(toRaw(n),"iterate",ITERATE_KEY),Reflect.get(n,"size",n)},has(n){const s=this.__v_raw,o=toRaw(s),l=toRaw(n);return e||(hasChanged(n,l)&&track(o,"has",n),track(o,"has",l)),n===l?s.has(n):s.has(n)||s.has(l)},forEach(n,s){const o=this,l=o.__v_raw,f=toRaw(l),d=t?toShallow:e?toReadonly:toReactive;return!e&&track(f,"iterate",ITERATE_KEY),l.forEach((u,y)=>n.call(s,d(u),d(y),o))}};return extend(r,e?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(n){!t&&!isShallow(n)&&!isReadonly(n)&&(n=toRaw(n));const s=toRaw(this);return getProto(s).has.call(s,n)||(s.add(n),trigger(s,"add",n,n)),this},set(n,s){!t&&!isShallow(s)&&!isReadonly(s)&&(s=toRaw(s));const o=toRaw(this),{has:l,get:f}=getProto(o);let d=l.call(o,n);d||(n=toRaw(n),d=l.call(o,n));const u=f.call(o,n);return o.set(n,s),d?hasChanged(s,u)&&trigger(o,"set",n,s):trigger(o,"add",n,s),this},delete(n){const s=toRaw(this),{has:o,get:l}=getProto(s);let f=o.call(s,n);f||(n=toRaw(n),f=o.call(s,n)),l&&l.call(s,n);const d=s.delete(n);return f&&trigger(s,"delete",n,void 0),d},clear(){const n=toRaw(this),s=n.size!==0,o=n.clear();return s&&trigger(n,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(n=>{r[n]=createIterableMethod(n,e,t)}),r}function createInstrumentationGetter(e,t){const r=createInstrumentations(e,t);return(i,n,s)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?i:Reflect.get(hasOwn(r,n)&&n in i?r:i,n,s)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,r,i,n){if(!isObject$2(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=n.get(e);if(s)return s;const o=getTargetType(e);if(o===0)return e;const l=new Proxy(e,o===2?i:r);return n.set(e,l),l}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!!(e&&e.__v_isReactive)}function isReadonly(e){return!!(e&&e.__v_isReadonly)}function isShallow(e){return!!(e&&e.__v_isShallow)}function isProxy(e){return e?!!e.__v_raw:!1}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return!hasOwn(e,"__v_skip")&&Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject$2(e)?reactive(e):e,toReadonly=e=>isObject$2(e)?readonly(e):e;function isRef(e){return e?e.__v_isRef===!0:!1}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(t,r){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:toRaw(t),this._value=r?t:toReactive(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,i=this.__v_isShallow||isShallow(t)||isReadonly(t);t=i?t:toRaw(t),hasChanged(t,r)&&(this._rawValue=t,this._value=i?t:toReactive(t),this.dep.trigger())}}function unref(e){return isRef(e)?e.value:e}const shallowUnwrapHandlers={get:(e,t,r)=>t==="__v_raw"?e:unref(Reflect.get(e,t,r)),set:(e,t,r,i)=>{const n=e[t];return isRef(n)&&!isRef(r)?(n.value=r,!0):Reflect.set(e,t,r,i)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Dep,{get:i,set:n}=t(r.track.bind(r),r.trigger.bind(r));this._get=i,this._set=n}get value(){return this._value=this._get()}set value(t){this._set(t)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray$2(e)?new Array(e.length):{};for(const r in e)t[r]=propertyToRef(e,r);return t}class ObjectRefImpl{constructor(t,r,i){this._object=t,this._key=r,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef(e,t,r){return isRef(e)?e:isFunction(e)?new GetterRefImpl(e):isObject$2(e)&&arguments.length>1?propertyToRef(e,t,r):ref(e)}function propertyToRef(e,t,r){const i=e[t];return isRef(i)?i:new ObjectRefImpl(e,t,r)}class ComputedRefImpl{constructor(t,r,i){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const t=this.dep.track();return refreshComputed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function computed$1(e,t,r=!1){let i,n;return isFunction(e)?i=e:(i=e.get,n=e.set),new ComputedRefImpl(i,n,r)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(e,t=!1,r=activeWatcher){if(r){let i=cleanupMap.get(r);i||cleanupMap.set(r,i=[]),i.push(e)}}function watch$1(e,t,r=EMPTY_OBJ){const{immediate:i,deep:n,once:s,scheduler:o,augmentJob:l,call:f}=r,d=_=>n?_:isShallow(_)||n===!1||n===0?traverse(_,1):traverse(_);let u,y,m,v,S=!1,E=!1;if(isRef(e)?(y=()=>e.value,S=isShallow(e)):isReactive(e)?(y=()=>d(e),S=!0):isArray$2(e)?(E=!0,S=e.some(_=>isReactive(_)||isShallow(_)),y=()=>e.map(_=>{if(isRef(_))return _.value;if(isReactive(_))return d(_);if(isFunction(_))return f?f(_,2):_()})):isFunction(e)?t?y=f?()=>f(e,2):e:y=()=>{if(m){pauseTracking();try{m()}finally{resetTracking()}}const _=activeWatcher;activeWatcher=u;try{return f?f(e,3,[v]):e(v)}finally{activeWatcher=_}}:y=NOOP,t&&n){const _=y,x=n===!0?1/0:n;y=()=>traverse(_(),x)}const A=getCurrentScope(),P=()=>{u.stop(),A&&A.active&&remove(A.effects,u)};if(s&&t){const _=t;t=(...x)=>{_(...x),P()}}let C=E?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const g=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const x=u.run();if(n||S||(E?x.some((w,M)=>hasChanged(w,C[M])):hasChanged(x,C))){m&&m();const w=activeWatcher;activeWatcher=u;try{const M=[x,C===INITIAL_WATCHER_VALUE?void 0:E&&C[0]===INITIAL_WATCHER_VALUE?[]:C,v];f?f(t,3,M):t(...M),C=x}finally{activeWatcher=w}}}else u.run()};return l&&l(g),u=new ReactiveEffect(y),u.scheduler=o?()=>o(g,!1):g,v=_=>onWatcherCleanup(_,!1,u),m=u.onStop=()=>{const _=cleanupMap.get(u);if(_){if(f)f(_,4);else for(const x of _)x();cleanupMap.delete(u)}},t?i?g(!0):C=u.run():o?o(g.bind(null,!0),!0):u.run(),P.pause=u.pause.bind(u),P.resume=u.resume.bind(u),P.stop=P,P}function traverse(e,t=1/0,r){if(t<=0||!isObject$2(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,isRef(e))traverse(e.value,t,r);else if(isArray$2(e))for(let i=0;i<e.length;i++)traverse(e[i],t,r);else if(isSet(e)||isMap(e))e.forEach(i=>{traverse(i,t,r)});else if(isPlainObject$2(e)){for(const i in e)traverse(e[i],t,r);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&traverse(e[i],t,r)}return e}/**
11* @vue/runtime-core v3.5.13
12* (c) 2018-present Yuxi (Evan) You and Vue contributors
13* @license MIT
14**/const stack=[];let isWarning=!1;function warn$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const r=stack.length?stack[stack.length-1].component:null,i=r&&r.appContext.config.warnHandler,n=getComponentTrace();if(i)callWithErrorHandling(i,r,11,[e+t.map(s=>{var o,l;return(l=(o=s.toString)==null?void 0:o.call(s))!=null?l:JSON.stringify(s)}).join(""),r&&r.proxy,n.map(({vnode:s})=>`at <${formatComponentName(r,s.type)}>`).join(`
15`),n]);else{const s=[`[Vue warn]: ${e}`,...t];n.length&&s.push(`
16`,...formatTrace(n)),console.warn(...s)}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack[stack.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}function formatTrace(e){const t=[];return e.forEach((r,i)=>{t.push(...i===0?[]:[`
17`],...formatTraceEntry(r))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",i=e.component?e.component.parent==null:!1,n=` at <${formatComponentName(e.component,e.type,i)}`,s=">"+r;return e.props?[n,...formatProps(e.props),s]:[n+s]}function formatProps(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(i=>{t.push(...formatProp(i,e[i]))}),r.length>3&&t.push(" ..."),t}function formatProp(e,t,r){return isString$1(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):isFunction(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),r?t:[`${e}=`,t])}function callWithErrorHandling(e,t,r,i){try{return i?e(...i):e()}catch(n){handleError(n,t,r)}}function callWithAsyncErrorHandling(e,t,r,i){if(isFunction(e)){const n=callWithErrorHandling(e,t,r,i);return n&&isPromise(n)&&n.catch(s=>{handleError(s,t,r)}),n}if(isArray$2(e)){const n=[];for(let s=0;s<e.length;s++)n.push(callWithAsyncErrorHandling(e[s],t,r,i));return n}}function handleError(e,t,r,i=!0){const n=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||EMPTY_OBJ;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const u=l.ec;if(u){for(let y=0;y<u.length;y++)if(u[y](e,f,d)===!1)return}l=l.parent}if(s){pauseTracking(),callWithErrorHandling(s,null,10,[e,f,d]),resetTracking();return}}logError(e,r,n,i,o)}function logError(e,t,r,i=!0,n=!1){if(n)throw e;console.error(e)}const queue=[];let flushIndex=-1;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex$1(e){let t=flushIndex+1,r=queue.length;for(;t<r;){const i=t+r>>>1,n=queue[i],s=getId(n);s<e||s===e&&n.flags&2?t=i+1:r=i}return t}function queueJob(e){if(!(e.flags&1)){const t=getId(e),r=queue[queue.length-1];!r||!(e.flags&2)&&t>=getId(r)?queue.push(e):queue.splice(findInsertionIndex$1(t),0,e),e.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(e){isArray$2(e)?pendingPostFlushCbs.push(...e):activePostFlushCbs&&e.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,e):e.flags&1||(pendingPostFlushCbs.push(e),e.flags|=1),queueFlush()}function flushPreFlushCbs(e,t,r=flushIndex+1){for(;r<queue.length;r++){const i=queue[r];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;queue.splice(r,1),r--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((r,i)=>getId(r)-getId(i));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const r=activePostFlushCbs[postFlushIndex];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?e.flags&2?-1:1/0:e.id;function flushJobs(e){try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),callWithErrorHandling(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&(t.flags&=-2)}flushIndex=-1,queue.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function withCtx(e,t=currentRenderingInstance,r){if(!t||e._n)return e;const i=(...n)=>{i._d&&setBlockTracking(-1);const s=setCurrentRenderingInstance(t);let o;try{o=e(...n)}finally{setCurrentRenderingInstance(s),i._d&&setBlockTracking(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function withDirectives(e,t){if(currentRenderingInstance===null)return e;const r=getComponentPublicInstance(currentRenderingInstance),i=e.dirs||(e.dirs=[]);for(let n=0;n<t.length;n++){let[s,o,l,f=EMPTY_OBJ]=t[n];s&&(isFunction(s)&&(s={mounted:s,updated:s}),s.deep&&traverse(o),i.push({dir:s,instance:r,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function invokeDirectiveHook(e,t,r,i){const n=e.dirs,s=t&&t.dirs;for(let o=0;o<n.length;o++){const l=n[o];s&&(l.oldValue=s[o].value);let f=l.dir[i];f&&(pauseTracking(),callWithAsyncErrorHandling(f,r,8,[e.el,l,e,t]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||e.disabled===""),isTeleportDeferred=e=>e&&(e.defer||e.defer===""),isTargetSVG=e=>typeof SVGElement<"u"&&e instanceof SVGElement,isTargetMathML=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,resolveTarget=(e,t)=>{const r=e&&e.to;return isString$1(r)?t?t(r):null:r},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,r,i,n,s,o,l,f,d){const{mc:u,pc:y,pbc:m,o:{insert:v,querySelector:S,createText:E,createComment:A}}=d,P=isTeleportDisabled(t.props);let{shapeFlag:C,children:g,dynamicChildren:_}=t;if(e==null){const x=t.el=E(""),w=t.anchor=E("");v(x,r,i),v(w,r,i);const M=(B,D)=>{C&16&&(n&&n.isCE&&(n.ce._teleportTarget=B),u(g,B,D,n,s,o,l,f))},I=()=>{const B=t.target=resolveTarget(t.props,S),D=prepareAnchor(B,t,E,v);B&&(o!=="svg"&&isTargetSVG(B)?o="svg":o!=="mathml"&&isTargetMathML(B)&&(o="mathml"),P||(M(B,D),updateCssVars(t,!1)))};P&&(M(r,w),updateCssVars(t,!0)),isTeleportDeferred(t.props)?queuePostRenderEffect(()=>{I(),t.el.__isMounted=!0},s):I()}else{if(isTeleportDeferred(t.props)&&!e.el.__isMounted){queuePostRenderEffect(()=>{TeleportImpl.process(e,t,r,i,n,s,o,l,f,d),delete e.el.__isMounted},s);return}t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,w=t.target=e.target,M=t.targetAnchor=e.targetAnchor,I=isTeleportDisabled(e.props),B=I?r:w,D=I?x:M;if(o==="svg"||isTargetSVG(w)?o="svg":(o==="mathml"||isTargetMathML(w))&&(o="mathml"),_?(m(e.dynamicChildren,_,B,n,s,o,l),traverseStaticChildren(e,t,!0)):f||y(e,t,B,D,n,s,o,l,!1),P)I?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,r,x,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=resolveTarget(t.props,S);j&&moveTeleport(t,j,null,d,0)}else I&&moveTeleport(t,w,M,d,1);updateCssVars(t,P)}},remove(e,t,r,{um:i,o:{remove:n}},s){const{shapeFlag:o,children:l,anchor:f,targetStart:d,targetAnchor:u,target:y,props:m}=e;if(y&&(n(d),n(u)),s&&n(f),o&16){const v=s||!isTeleportDisabled(m);for(let S=0;S<l.length;S++){const E=l[S];i(E,t,r,v,!!E.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,r,{o:{insert:i},m:n},s=2){s===0&&i(e.targetAnchor,t,r);const{el:o,anchor:l,shapeFlag:f,children:d,props:u}=e,y=s===2;if(y&&i(o,t,r),(!y||isTeleportDisabled(u))&&f&16)for(let m=0;m<d.length;m++)n(d[m],t,r,2);y&&i(l,t,r)}function hydrateTeleport(e,t,r,i,n,s,{o:{nextSibling:o,parentNode:l,querySelector:f,insert:d,createText:u}},y){const m=t.target=resolveTarget(t.props,f);if(m){const v=isTeleportDisabled(t.props),S=m._lpa||m.firstChild;if(t.shapeFlag&16)if(v)t.anchor=y(o(e),t,l(e),r,i,n,s),t.targetStart=S,t.targetAnchor=S&&o(S);else{t.anchor=o(e);let E=S;for(;E;){if(E&&E.nodeType===8){if(E.data==="teleport start anchor")t.targetStart=E;else if(E.data==="teleport anchor"){t.targetAnchor=E,m._lpa=t.targetAnchor&&o(t.targetAnchor);break}}E=o(E)}t.targetAnchor||prepareAnchor(m,t,u,d),y(S&&o(S),t,m,r,i,n,s)}updateCssVars(t,v)}return t.anchor&&o(t.anchor)}const Teleport=TeleportImpl;function updateCssVars(e,t){const r=e.ctx;if(r&&r.ut){let i,n;for(t?(i=e.el,n=e.anchor):(i=e.targetStart,n=e.targetAnchor);i&&i!==n;)i.nodeType===1&&i.setAttribute("data-v-owner",r.uid),i=i.nextSibling;r.ut()}}
vendor: 62,341 bytes, lines 17-18
17function prepareAnchor(e,t,r,i){const n=t.targetStart=r(""),s=t.targetAnchor=r("");return n[TeleportEndKey]=s,e&&(i(n,e),i(s,e)),s}const leaveCbKey=Symbol("_leaveCb"),enterCbKey=Symbol("_enterCb");function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{e.isMounted=!0}),onBeforeUnmount(()=>{e.isUnmounting=!0}),e}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=e=>{const t=e.subTree;return t.component?recursiveGetSubtree(t.component):t},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const r=getCurrentInstance(),i=useTransitionState();return()=>{const n=t.default&&getTransitionRawChildren(t.default(),!0);if(!n||!n.length)return;const s=findNonCommentChild(n),o=toRaw(e),{mode:l}=o;if(i.isLeaving)return emptyPlaceholder(s);const f=getInnerChild$1(s);if(!f)return emptyPlaceholder(s);let d=resolveTransitionHooks(f,o,i,r,y=>d=y);f.type!==Comment&&setTransitionHooks(f,d);let u=r.subTree&&getInnerChild$1(r.subTree);if(u&&u.type!==Comment&&!isSameVNodeType(f,u)&&recursiveGetSubtree(r).type!==Comment){let y=resolveTransitionHooks(u,o,i,r);if(setTransitionHooks(u,y),l==="out-in"&&f.type!==Comment)return i.isLeaving=!0,y.afterLeave=()=>{i.isLeaving=!1,r.job.flags&8||r.update(),delete y.afterLeave,u=void 0},emptyPlaceholder(s);l==="in-out"&&f.type!==Comment?y.delayLeave=(m,v,S)=>{const E=getLeavingNodesForType(i,u);E[String(u.key)]=u,m[leaveCbKey]=()=>{v(),m[leaveCbKey]=void 0,delete d.delayedLeave,u=void 0},d.delayedLeave=()=>{S(),delete d.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function findNonCommentChild(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==Comment){t=r;break}}return t}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:r}=e;let i=r.get(t.type);return i||(i=Object.create(null),r.set(t.type,i)),i}function resolveTransitionHooks(e,t,r,i,n){const{appear:s,mode:o,persisted:l=!1,onBeforeEnter:f,onEnter:d,onAfterEnter:u,onEnterCancelled:y,onBeforeLeave:m,onLeave:v,onAfterLeave:S,onLeaveCancelled:E,onBeforeAppear:A,onAppear:P,onAfterAppear:C,onAppearCancelled:g}=t,_=String(e.key),x=getLeavingNodesForType(r,e),w=(B,D)=>{B&&callWithAsyncErrorHandling(B,i,9,D)},M=(B,D)=>{const j=D[1];w(B,D),isArray$2(B)?B.every(V=>V.length<=1)&&j():B.length<=1&&j()},I={mode:o,persisted:l,beforeEnter(B){let D=f;if(!r.isMounted)if(s)D=A||f;else return;B[leaveCbKey]&&B[leaveCbKey](!0);const j=x[_];j&&isSameVNodeType(e,j)&&j.el[leaveCbKey]&&j.el[leaveCbKey](),w(D,[B])},enter(B){let D=d,j=u,V=y;if(!r.isMounted)if(s)D=P||d,j=C||u,V=g||y;else return;let G=!1;const U=B[enterCbKey]=z=>{G||(G=!0,z?w(V,[B]):w(j,[B]),I.delayedLeave&&I.delayedLeave(),B[enterCbKey]=void 0)};D?M(D,[B,U]):U()},leave(B,D){const j=String(e.key);if(B[enterCbKey]&&B[enterCbKey](!0),r.isUnmounting)return D();w(m,[B]);let V=!1;const G=B[leaveCbKey]=U=>{V||(V=!0,D(),U?w(E,[B]):w(S,[B]),B[leaveCbKey]=void 0,x[j]===e&&delete x[j])};x[j]=e,v?M(v,[B,G]):G()},clone(B){const D=resolveTransitionHooks(B,t,r,i,n);return n&&n(D),D}};return I}function emptyPlaceholder(e){if(isKeepAlive(e))return e=cloneVNode(e),e.children=null,e}function getInnerChild$1(e){if(!isKeepAlive(e))return isTeleport(e.type)&&e.children?findNonCommentChild(e.children):e;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&isFunction(r.default))return r.default()}}function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,setTransitionHooks(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e,t=!1,r){let i=[],n=0;for(let s=0;s<e.length;s++){let o=e[s];const l=r==null?o.key:String(r)+String(o.key!=null?o.key:s);o.type===Fragment?(o.patchFlag&128&&n++,i=i.concat(getTransitionRawChildren(o.children,t,l))):(t||o.type!==Comment)&&i.push(l!=null?cloneVNode(o,{key:l}):o)}if(n>1)for(let s=0;s<i.length;s++)i[s].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function defineComponent(e,t){return isFunction(e)?extend({name:e.name},t,{setup:e}):e}function useId(){const e=getCurrentInstance();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function markAsyncBoundary(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function setRef(e,t,r,i,n=!1){if(isArray$2(e)){e.forEach((S,E)=>setRef(S,t&&(isArray$2(t)?t[E]:t),r,i,n));return}if(isAsyncWrapper(i)&&!n){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&setRef(e,t,r,i.component.subTree);return}const s=i.shapeFlag&4?getComponentPublicInstance(i.component):i.el,o=n?null:s,{i:l,r:f}=e,d=t&&t.r,u=l.refs===EMPTY_OBJ?l.refs={}:l.refs,y=l.setupState,m=toRaw(y),v=y===EMPTY_OBJ?()=>!1:S=>hasOwn(m,S);if(d!=null&&d!==f&&(isString$1(d)?(u[d]=null,v(d)&&(y[d]=null)):isRef(d)&&(d.value=null)),isFunction(f))callWithErrorHandling(f,l,12,[o,u]);else{const S=isString$1(f),E=isRef(f);if(S||E){const A=()=>{if(e.f){const P=S?v(f)?y[f]:u[f]:f.value;n?isArray$2(P)&&remove(P,s):isArray$2(P)?P.includes(s)||P.push(s):S?(u[f]=[s],v(f)&&(y[f]=u[f])):(f.value=[s],e.k&&(u[e.k]=f.value))}else S?(u[f]=o,v(f)&&(y[f]=o)):E&&(f.value=o,e.k&&(u[e.k]=o))};o?(A.id=-1,queuePostRenderEffect(A,r)):A()}}}let hasLoggedMismatchError=!1;const logMismatchError=()=>{hasLoggedMismatchError||(console.error("Hydration completed but contains mismatches."),hasLoggedMismatchError=!0)},isSVGContainer=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{if(e.nodeType===1){if(isSVGContainer(e))return"svg";if(isMathMLContainer(e))return"mathml"}},isComment=e=>e.nodeType===8;function createHydrationFunctions(e){const{mt:t,p:r,o:{patchProp:i,createText:n,nextSibling:s,parentNode:o,remove:l,insert:f,createComment:d}}=e,u=(g,_)=>{if(!_.hasChildNodes()){r(null,g,_),flushPostFlushCbs(),_._vnode=g;return}y(_.firstChild,g,null,null,null),flushPostFlushCbs(),_._vnode=g},y=(g,_,x,w,M,I=!1)=>{I=I||!!_.dynamicChildren;const B=isComment(g)&&g.data==="[",D=()=>E(g,_,x,w,M,B),{type:j,ref:V,shapeFlag:G,patchFlag:U}=_;let z=g.nodeType;_.el=g,U===-2&&(I=!1,_.dynamicChildren=null);let R=null;switch(j){case Text:z!==3?_.children===""?(f(_.el=n(""),o(g),g),R=g):R=D():(g.data!==_.children&&(logMismatchError(),g.data=_.children),R=s(g));break;case Comment:C(g)?(R=s(g),P(_.el=g.content.firstChild,g,x)):z!==8||B?R=D():R=s(g);break;case Static:if(B&&(g=s(g),z=g.nodeType),z===1||z===3){R=g;const L=!_.children.length;for(let T=0;T<_.staticCount;T++)L&&(_.children+=R.nodeType===1?R.outerHTML:R.data),T===_.staticCount-1&&(_.anchor=R),R=s(R);return B?s(R):R}else D();break;case Fragment:B?R=S(g,_,x,w,M,I):R=D();break;default:if(G&1)(z!==1||_.type.toLowerCase()!==g.tagName.toLowerCase())&&!C(g)?R=D():R=m(g,_,x,w,M,I);else if(G&6){_.slotScopeIds=M;const L=o(g);if(B?R=A(g):isComment(g)&&g.data==="teleport start"?R=A(g,g.data,"teleport end"):R=s(g),t(_,L,null,x,w,getContainerType(L),I),isAsyncWrapper(_)&&!_.type.__asyncResolved){let T;B?(T=createVNode(Fragment),T.anchor=R?R.previousSibling:L.lastChild):T=g.nodeType===3?createTextVNode(""):createVNode("div"),T.el=g,_.component.subTree=T}}else G&64?z!==8?R=D():R=_.type.hydrate(g,_,x,w,M,I,e,v):G&128&&(R=_.type.hydrate(g,_,x,w,getContainerType(o(g)),M,I,e,y))}return V!=null&&setRef(V,null,w,_),R},m=(g,_,x,w,M,I)=>{I=I||!!_.dynamicChildren;const{type:B,props:D,patchFlag:j,shapeFlag:V,dirs:G,transition:U}=_,z=B==="input"||B==="option";if(z||j!==-1){G&&invokeDirectiveHook(_,null,x,"created");let R=!1;if(C(g)){R=needTransition(null,U)&&x&&x.vnode.props&&x.vnode.props.appear;const T=g.content.firstChild;R&&U.beforeEnter(T),P(T,g,x),_.el=g=T}if(V&16&&!(D&&(D.innerHTML||D.textContent))){let T=v(g.firstChild,_,g,x,w,M,I);for(;T;){isMismatchAllowed(g,1)||logMismatchError();const k=T;T=T.nextSibling,l(k)}}else if(V&8){let T=_.children;T[0]===`
18`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(T=T.slice(1)),g.textContent!==T&&(isMismatchAllowed(g,0)||logMismatchError(),g.textContent=_.children)}if(D){if(z||!I||j&48){const T=g.tagName.includes("-");for(const k in D)(z&&(k.endsWith("value")||k==="indeterminate")||isOn(k)&&!isReservedProp(k)||k[0]==="."||T)&&i(g,k,null,D[k],void 0,x)}else if(D.onClick)i(g,"onClick",null,D.onClick,void 0,x);else if(j&4&&isReactive(D.style))for(const T in D.style)D.style[T]}let L;(L=D&&D.onVnodeBeforeMount)&&invokeVNodeHook(L,x,_),G&&invokeDirectiveHook(_,null,x,"beforeMount"),((L=D&&D.onVnodeMounted)||G||R)&&queueEffectWithSuspense(()=>{L&&invokeVNodeHook(L,x,_),R&&U.enter(g),G&&invokeDirectiveHook(_,null,x,"mounted")},w)}return g.nextSibling},v=(g,_,x,w,M,I,B)=>{B=B||!!_.dynamicChildren;const D=_.children,j=D.length;for(let V=0;V<j;V++){const G=B?D[V]:D[V]=normalizeVNode(D[V]),U=G.type===Text;g?(U&&!B&&V+1<j&&normalizeVNode(D[V+1]).type===Text&&(f(n(g.data.slice(G.children.length)),x,s(g)),g.data=G.children),g=y(g,G,w,M,I,B)):U&&!G.children?f(G.el=n(""),x):(isMismatchAllowed(x,1)||logMismatchError(),r(null,G,x,null,w,M,getContainerType(x),I))}return g},S=(g,_,x,w,M,I)=>{const{slotScopeIds:B}=_;B&&(M=M?M.concat(B):B);const D=o(g),j=v(s(g),_,D,x,w,M,I);return j&&isComment(j)&&j.data==="]"?s(_.anchor=j):(logMismatchError(),f(_.anchor=d("]"),D,j),j)},E=(g,_,x,w,M,I)=>{if(isMismatchAllowed(g.parentElement,1)||logMismatchError(),_.el=null,I){const j=A(g);for(;;){const V=s(g);if(V&&V!==j)l(V);else break}}const B=s(g),D=o(g);return l(g),r(null,_,D,B,x,w,getContainerType(D),M),x&&(x.vnode.el=_.el,updateHOCHostEl(x,_.el)),B},A=(g,_="[",x="]")=>{let w=0;for(;g;)if(g=s(g),g&&isComment(g)&&(g.data===_&&w++,g.data===x)){if(w===0)return s(g);w--}return g},P=(g,_,x)=>{const w=_.parentNode;w&&w.replaceChild(g,_);let M=x;for(;M;)M.vnode.el===_&&(M.vnode.el=M.subTree.el=g),M=M.parent},C=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,y]}const allowMismatchAttr="data-allow-mismatch",MismatchTypeString={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function isMismatchAllowed(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(allowMismatchAttr);)e=e.parentElement;const r=e&&e.getAttribute(allowMismatchAttr);if(r==null)return!1;if(r==="")return!0;{const i=r.split(",");return t===0&&i.includes("children")?!0:r.split(",").includes(MismatchTypeString[t])}}getGlobalThis().requestIdleCallback;getGlobalThis().cancelIdleCallback;function forEachElement(e,t){if(isComment(e)&&e.data==="["){let r=1,i=e.nextSibling;for(;i;){if(i.nodeType===1){if(t(i)===!1)break}else if(isComment(i))if(i.data==="]"){if(--r===0)break}else i.data==="["&&r++;i=i.nextSibling}}else t(e)}const isAsyncWrapper=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(e){isFunction(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:i,delay:n=200,hydrate:s,timeout:o,suspensible:l=!0,onError:f}=e;let d=null,u,y=0;const m=()=>(y++,d=null,v()),v=()=>{let S;return d||(S=d=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),f)return new Promise((A,P)=>{f(E,()=>A(m()),()=>P(E),y+1)});throw E}).then(E=>S!==d&&d?d:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),u=E,E)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(S,E,A){const P=s?()=>{const C=s(A,g=>forEachElement(S,g));C&&(E.bum||(E.bum=[])).push(C)}:A;u?P():v().then(()=>!E.isUnmounted&&P())},get __asyncResolved(){return u},setup(){const S=currentInstance;if(markAsyncBoundary(S),u)return()=>createInnerComp(u,S);const E=g=>{d=null,handleError(g,S,13,!i)};if(l&&S.suspense||isInSSRComponentSetup)return v().then(g=>()=>createInnerComp(g,S)).catch(g=>(E(g),()=>i?createVNode(i,{error:g}):null));const A=ref(!1),P=ref(),C=ref(!!n);return n&&setTimeout(()=>{C.value=!1},n),o!=null&&setTimeout(()=>{if(!A.value&&!P.value){const g=new Error(`Async component timed out after ${o}ms.`);E(g),P.value=g}},o),v().then(()=>{A.value=!0,S.parent&&isKeepAlive(S.parent.vnode)&&S.parent.update()}).catch(g=>{E(g),P.value=g}),()=>{if(A.value&&u)return createInnerComp(u,S);if(P.value&&i)return createVNode(i,{error:P.value});if(r&&!C.value)return createVNode(r)}}})}function createInnerComp(e,t){const{ref:r,props:i,children:n,ce:s}=t.vnode,o=createVNode(e,i,n);return o.ref=r,o.ce=s,delete t.vnode.ce,o}const isKeepAlive=e=>e.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=getCurrentInstance(),i=r.ctx;if(!i.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const n=new Map,s=new Set;let o=null;const l=r.suspense,{renderer:{p:f,m:d,um:u,o:{createElement:y}}}=i,m=y("div");i.activate=(C,g,_,x,w)=>{const M=C.component;d(C,g,_,0,l),f(M.vnode,C,g,_,M,l,x,C.slotScopeIds,w),queuePostRenderEffect(()=>{M.isDeactivated=!1,M.a&&invokeArrayFns(M.a);const I=C.props&&C.props.onVnodeMounted;I&&invokeVNodeHook(I,M.parent,C)},l)},i.deactivate=C=>{const g=C.component;invalidateMount(g.m),invalidateMount(g.a),d(C,m,null,1,l),queuePostRenderEffect(()=>{g.da&&invokeArrayFns(g.da);const _=C.props&&C.props.onVnodeUnmounted;_&&invokeVNodeHook(_,g.parent,C),g.isDeactivated=!0},l)};function v(C){resetShapeFlag(C),u(C,r,l,!0)}function S(C){n.forEach((g,_)=>{const x=getComponentName(g.type);x&&!C(x)&&E(_)})}function E(C){const g=n.get(C);g&&(!o||!isSameVNodeType(g,o))?v(g):o&&resetShapeFlag(o),n.delete(C),s.delete(C)}watch(()=>[e.include,e.exclude],([C,g])=>{C&&S(_=>matches(C,_)),g&&S(_=>!matches(g,_))},{flush:"post",deep:!0});let A=null;const P=()=>{A!=null&&(isSuspense(r.subTree.type)?queuePostRenderEffect(()=>{n.set(A,getInnerChild(r.subTree))},r.subTree.suspense):n.set(A,getInnerChild(r.subTree)))};return onMounted(P),onUpdated(P),onBeforeUnmount(()=>{n.forEach(C=>{const{subTree:g,suspense:_}=r,x=getInnerChild(g);if(C.type===x.type&&C.key===x.key){resetShapeFlag(x);const w=x.component.da;w&&queuePostRenderEffect(w,_);return}v(C)})}),()=>{if(A=null,!t.default)return o=null;const C=t.default(),g=C[0];if(C.length>1)return o=null,C;if(!isVNode(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let _=getInnerChild(g);if(_.type===Comment)return o=null,_;const x=_.type,w=getComponentName(isAsyncWrapper(_)?_.type.__asyncResolved||{}:x),{include:M,exclude:I,max:B}=e;if(M&&(!w||!matches(M,w))||I&&w&&matches(I,w))return _.shapeFlag&=-257,o=_,g;const D=_.key==null?x:_.key,j=n.get(D);return _.el&&(_=cloneVNode(_),g.shapeFlag&128&&(g.ssContent=_)),A=D,j?(_.el=j.el,_.component=j.component,_.transition&&setTransitionHooks(_,_.transition),_.shapeFlag|=512,s.delete(D),s.add(D)):(s.add(D),B&&s.size>parseInt(B,10)&&E(s.values().next().value)),_.shapeFlag|=256,o=_,isSuspense(g.type)?g:_}}},KeepAlive=KeepAliveImpl;function matches(e,t){return isArray$2(e)?e.some(r=>matches(r,t)):isString$1(e)?e.split(",").includes(t):isRegExp(e)?(e.lastIndex=0,e.test(t)):!1}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,r=currentInstance){const i=e.__wdc||(e.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(injectHook(t,i,r),r){let n=r.parent;for(;n&&n.parent;)isKeepAlive(n.parent.vnode)&&injectToKeepAliveRoot(i,t,r,n),n=n.parent}}function injectToKeepAliveRoot(e,t,r,i){const n=injectHook(t,e,i,!0);onUnmounted(()=>{remove(i[t],n)},r)}function resetShapeFlag(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function getInnerChild(e){return e.shapeFlag&128?e.ssContent:e}function injectHook(e,t,r=currentInstance,i=!1){if(r){const n=r[e]||(r[e]=[]),s=t.__weh||(t.__weh=(...o)=>{pauseTracking();const l=setCurrentInstance(r),f=callWithAsyncErrorHandling(t,r,e,o);return l(),resetTracking(),f});return i?n.unshift(s):n.push(s),s}}const createHook=e=>(t,r=currentInstance)=>{(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...i)=>t(...i),r)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(e,t){return resolveAsset(COMPONENTS,e,!0,t)||e}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(e){return isString$1(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveDirective(e){return resolveAsset(DIRECTIVES,e)}function resolveAsset(e,t,r=!0,i=!1){const n=currentRenderingInstance||currentInstance;if(n){const s=n.type;if(e===COMPONENTS){const l=getComponentName(s,!1);if(l&&(l===t||l===camelize(t)||l===capitalize(camelize(t))))return s}const o=resolve(n[e]||s[e],t)||resolve(n.appContext[e],t);return!o&&i?s:o}}function resolve(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize(camelize(t))])}function renderList(e,t,r,i){let n;const s=r,o=isArray$2(e);if(o||isString$1(e)){const l=o&&isReactive(e);let f=!1;l&&(f=!isShallow(e),e=shallowReadArray(e)),n=new Array(e.length);for(let d=0,u=e.length;d<u;d++)n[d]=t(f?toReactive(e[d]):e[d],d,void 0,s)}else if(typeof e=="number"){n=new Array(e);for(let l=0;l<e;l++)n[l]=t(l+1,l,void 0,s)}else if(isObject$2(e))if(e[Symbol.iterator])n=Array.from(e,(l,f)=>t(l,f,void 0,s));else{const l=Object.keys(e);n=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const u=l[f];n[f]=t(e[u],u,f,s)}}else n=[];return n}function renderSlot(e,t,r={},i,n){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.ce)return t!=="default"&&(r.name=t),openBlock(),createBlock(Fragment,null,[createVNode("slot",r,i&&i())],64);let s=e[t];s&&s._c&&(s._d=!1),openBlock();const o=s&&ensureValidVNode(s(r)),l=r.key||o&&o.key,f=createBlock(Fragment,{key:(l&&!isSymbol(l)?l:`_${t}`)+(!o&&i?"_fb":"")},o||(i?i():[]),o&&e._===1?64:-2);return!n&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),s&&s._c&&(s._d=!0),f}function ensureValidVNode(e){return e.some(t=>isVNode(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode(t.children)):!0)?e:null}const getPublicInstance=e=>e?isStatefulComponent(e)?getComponentPublicInstance(e):getPublicInstance(e.parent):null,publicPropertiesMap=extend(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==EMPTY_OBJ&&!e.__isScriptSetup&&hasOwn(e,t),PublicInstanceProxyHandlers={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:i,data:n,props:s,accessCache:o,type:l,appContext:f}=e;let d;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return i[t];case 2:return n[t];case 4:return r[t];case 3:return s[t]}else{if(hasSetupBinding(i,t))return o[t]=1,i[t];if(n!==EMPTY_OBJ&&hasOwn(n,t))return o[t]=2,n[t];if((d=e.propsOptions[0])&&hasOwn(d,t))return o[t]=3,s[t];if(r!==EMPTY_OBJ&&hasOwn(r,t))return o[t]=4,r[t];shouldCacheAccess&&(o[t]=0)}}const u=publicPropertiesMap[t];let y,m;if(u)return t==="$attrs"&&track(e.attrs,"get",""),u(e);if((y=l.__cssModules)&&(y=y[t]))return y;if(r!==EMPTY_OBJ&&hasOwn(r,t))return o[t]=4,r[t];if(m=f.config.globalProperties,hasOwn(m,t))return m[t]},set({_:e},t,r){const{data:i,setupState:n,ctx:s}=e;return hasSetupBinding(n,t)?(n[t]=r,!0):i!==EMPTY_OBJ&&hasOwn(i,t)?(i[t]=r,!0):hasOwn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:n,propsOptions:s}},o){let l;return!!r[o]||e!==EMPTY_OBJ&&hasOwn(e,o)||hasSetupBinding(t,o)||(l=s[0])&&hasOwn(l,o)||hasOwn(i,o)||hasOwn(publicPropertiesMap,o)||hasOwn(n.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:hasOwn(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function useSlots(){return getContext$1().slots}function getContext$1(){const e=getCurrentInstance();return e.setupContext||(e.setupContext=createSetupContext(e))}function normalizePropsOrEmits(e){return isArray$2(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function mergeDefaults(e,t){const r=normalizePropsOrEmits(e);for(const i in t){if(i.startsWith("__skip"))continue;let n=r[i];n?isArray$2(n)||isFunction(n)?n=r[i]={type:n,default:t[i]}:n.default=t[i]:n===null&&(n=r[i]={default:t[i]}),n&&t[`__skip_${i}`]&&(n.skipFactory=!0)}return r}function withAsyncContext(e){const t=getCurrentInstance();let r=e();return unsetCurrentInstance(),isPromise(r)&&(r=r.catch(i=>{throw setCurrentInstance(t),i})),[r,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),r=e.proxy,i=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:n,computed:s,methods:o,watch:l,provide:f,inject:d,created:u,beforeMount:y,mounted:m,beforeUpdate:v,updated:S,activated:E,deactivated:A,beforeDestroy:P,beforeUnmount:C,destroyed:g,unmounted:_,render:x,renderTracked:w,renderTriggered:M,errorCaptured:I,serverPrefetch:B,expose:D,inheritAttrs:j,components:V,directives:G,filters:U}=t;if(d&&resolveInjections(d,i,null),o)for(const L in o){const T=o[L];isFunction(T)&&(i[L]=T.bind(r))}if(n){const L=n.call(r,r);isObject$2(L)&&(e.data=reactive(L))}if(shouldCacheAccess=!0,s)for(const L in s){const T=s[L],k=isFunction(T)?T.bind(r,r):isFunction(T.get)?T.get.bind(r,r):NOOP,$=!isFunction(T)&&isFunction(T.set)?T.set.bind(r):NOOP,N=computed({get:k,set:$});Object.defineProperty(i,L,{enumerable:!0,configurable:!0,get:()=>N.value,set:Q=>N.value=Q})}if(l)for(const L in l)createWatcher(l[L],i,r,L);if(f){const L=isFunction(f)?f.call(r):f;Reflect.ownKeys(L).forEach(T=>{provide(T,L[T])})}u&&callHook$1(u,e,"c");function R(L,T){isArray$2(T)?T.forEach(k=>L(k.bind(r))):T&&L(T.bind(r))}if(R(onBeforeMount,y),R(onMounted,m),R(onBeforeUpdate,v),R(onUpdated,S),R(onActivated,E),R(onDeactivated,A),R(onErrorCaptured,I),R(onRenderTracked,w),R(onRenderTriggered,M),R(onBeforeUnmount,C),R(onUnmounted,_),R(onServerPrefetch,B),isArray$2(D))if(D.length){const L=e.exposed||(e.exposed={});D.forEach(T=>{Object.defineProperty(L,T,{get:()=>r[T],set:k=>r[T]=k})})}else e.exposed||(e.exposed={});x&&e.render===NOOP&&(e.render=x),j!=null&&(e.inheritAttrs=j),V&&(e.components=V),G&&(e.directives=G),B&&markAsyncBoundary(e)}function resolveInjections(e,t,r=NOOP){isArray$2(e)&&(e=normalizeInject(e));for(const i in e){const n=e[i];let s;isObject$2(n)?"default"in n?s=inject(n.from||i,n.default,!0):s=inject(n.from||i):s=inject(n),isRef(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s}}function callHook$1(e,t,r){callWithAsyncErrorHandling(isArray$2(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function createWatcher(e,t,r,i){let n=i.includes(".")?createPathGetter(r,i):()=>r[i];if(isString$1(e)){const s=t[e];isFunction(s)&&watch(n,s)}else if(isFunction(e))watch(n,e.bind(r));else if(isObject$2(e))if(isArray$2(e))e.forEach(s=>createWatcher(s,t,r,i));else{const s=isFunction(e.handler)?e.handler.bind(r):t[e.handler];isFunction(s)&&watch(n,s,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:r,extends:i}=t,{mixins:n,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,l=s.get(t);let f;return l?f=l:!n.length&&!r&&!i?f=t:(f={},n.length&&n.forEach(d=>mergeOptions$1(f,d,o,!0)),mergeOptions$1(f,t,o)),isObject$2(t)&&s.set(t,f),f}function mergeOptions$1(e,t,r,i=!1){const{mixins:n,extends:s}=t;s&&mergeOptions$1(e,s,r,!0),n&&n.forEach(o=>mergeOptions$1(e,o,r,!0));for(const o in t)if(!(i&&o==="expose")){const l=internalOptionMergeStrats[o]||r&&r[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend(isFunction(e)?e.call(this,this):e,isFunction(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$2(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray$2(e)&&isArray$2(t)?[...new Set([...e,...t])]:extend(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(t??{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const r=extend(Object.create(null),e);for(const i in t)r[i]=mergeAsArray(e[i],t[i]);return r}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI(e,t){return function(i,n=null){isFunction(i)||(i=extend({},i)),n!=null&&!isObject$2(n)&&(n=null);const s=createAppContext(),o=new WeakSet,l=[];let f=!1;const d=s.app={_uid:uid$1++,_component:i,_props:n,_container:null,_context:s,_instance:null,version,get config(){return s.config},set config(u){},use(u,...y){return o.has(u)||(u&&isFunction(u.install)?(o.add(u),u.install(d,...y)):isFunction(u)&&(o.add(u),u(d,...y))),d},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),d},component(u,y){return y?(s.components[u]=y,d):s.components[u]},directive(u,y){return y?(s.directives[u]=y,d):s.directives[u]},mount(u,y,m){if(!f){const v=d._ceVNode||createVNode(i,n);return v.appContext=s,m===!0?m="svg":m===!1&&(m=void 0),y&&t?t(v,u):e(v,u,m),f=!0,d._container=u,u.__vue_app__=d,getComponentPublicInstance(v.component)}},onUnmount(u){l.push(u)},unmount(){f&&(callWithAsyncErrorHandling(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(u,y){return s.provides[u]=y,d},runWithContext(u){const y=currentApp;currentApp=d;try{return u()}finally{currentApp=y}}};return d}}let currentApp=null;function provide(e,t){if(currentInstance){let r=currentInstance.provides;const i=currentInstance.parent&&currentInstance.parent.provides;i===r&&(r=currentInstance.provides=Object.create(i)),r[e]=t}}function inject(e,t,r=!1){const i=currentInstance||currentRenderingInstance;if(i||currentApp){const n=currentApp?currentApp._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(n&&e in n)return n[e];if(arguments.length>1)return r&&isFunction(t)?t.call(i&&i.proxy):t}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=e=>Object.getPrototypeOf(e)===internalObjectProto;function initProps(e,t,r,i=!1){const n={},s=createInternalObject();e.propsDefaults=Object.create(null),setFullProps(e,t,n,s);for(const o in e.propsOptions[0])o in n||(n[o]=void 0);r?e.props=i?n:shallowReactive(n):e.type.props?e.props=n:e.props=s,e.attrs=s}function updateProps(e,t,r,i){const{props:n,attrs:s,vnode:{patchFlag:o}}=e,l=toRaw(n),[f]=e.propsOptions;let d=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let y=0;y<u.length;y++){let m=u[y];if(isEmitListener(e.emitsOptions,m))continue;const v=t[m];if(f)if(hasOwn(s,m))v!==s[m]&&(s[m]=v,d=!0);else{const S=camelize(m);n[S]=resolvePropValue(f,l,S,v,e,!1)}else v!==s[m]&&(s[m]=v,d=!0)}}}else{setFullProps(e,t,n,s)&&(d=!0);let u;for(const y in l)(!t||!hasOwn(t,y)&&((u=hyphenate(y))===y||!hasOwn(t,u)))&&(f?r&&(r[y]!==void 0||r[u]!==void 0)&&(n[y]=resolvePropValue(f,l,y,void 0,e,!0)):delete n[y]);if(s!==l)for(const y in s)(!t||!hasOwn(t,y))&&(delete s[y],d=!0)}d&&trigger(e.attrs,"set","")}function setFullProps(e,t,r,i){const[n,s]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(isReservedProp(f))continue;const d=t[f];let u;n&&hasOwn(n,u=camelize(f))?!s||!s.includes(u)?r[u]=d:(l||(l={}))[u]=d:isEmitListener(e.emitsOptions,f)||(!(f in i)||d!==i[f])&&(i[f]=d,o=!0)}if(s){const f=toRaw(r),d=l||EMPTY_OBJ;for(let u=0;u<s.length;u++){const y=s[u];r[y]=resolvePropValue(n,f,y,d[y],e,!hasOwn(d,y))}}return o}function resolvePropValue(e,t,r,i,n,s){const o=e[r];if(o!=null){const l=hasOwn(o,"default");if(l&&i===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&isFunction(f)){const{propsDefaults:d}=n;if(r in d)i=d[r];else{const u=setCurrentInstance(n);i=d[r]=f.call(null,t),u()}}else i=f;n.ce&&n.ce._setProp(r,i)}o[0]&&(s&&!l?i=!1:o[1]&&(i===""||i===hyphenate(r))&&(i=!0))}return i}const mixinPropsCache=new WeakMap;function normalizePropsOptions(e,t,r=!1){const i=r?mixinPropsCache:t.propsCache,n=i.get(e);if(n)return n;const s=e.props,o={},l=[];let f=!1;if(!isFunction(e)){const u=y=>{f=!0;const[m,v]=normalizePropsOptions(y,t,!0);extend(o,m),v&&l.push(...v)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!f)return isObject$2(e)&&i.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$2(s))for(let u=0;u<s.length;u++){const y=camelize(s[u]);validatePropName(y)&&(o[y]=EMPTY_OBJ)}else if(s)for(const u in s){const y=camelize(u);if(validatePropName(y)){const m=s[u],v=o[y]=isArray$2(m)||isFunction(m)?{type:m}:extend({},m),S=v.type;let E=!1,A=!0;if(isArray$2(S))for(let P=0;P<S.length;++P){const C=S[P],g=isFunction(C)&&C.name;if(g==="Boolean"){E=!0;break}else g==="String"&&(A=!1)}else E=isFunction(S)&&S.name==="Boolean";v[0]=E,v[1]=A,(E||hasOwn(v,"default"))&&l.push(y)}}const d=[o,l];return isObject$2(e)&&i.set(e,d),d}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}const isInternalKey=e=>e[0]==="_"||e==="$stable",normalizeSlotValue=e=>isArray$2(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,r)=>{if(t._n)return t;const i=withCtx((...n)=>normalizeSlotValue(t(...n)),r);return i._c=!1,i},normalizeObjectSlots=(e,t,r)=>{const i=e._ctx;for(const n in e){if(isInternalKey(n))continue;const s=e[n];if(isFunction(s))t[n]=normalizeSlot$1(n,s,i);else if(s!=null){const o=normalizeSlotValue(s);t[n]=()=>o}}},normalizeVNodeSlots=(e,t)=>{const r=normalizeSlotValue(t);e.slots.default=()=>r},assignSlots=(e,t,r)=>{for(const i in t)(r||i!=="_")&&(e[i]=t[i])},initSlots=(e,t,r)=>{const i=e.slots=createInternalObject();if(e.vnode.shapeFlag&32){const n=t._;n?(assignSlots(i,t,r),r&&def(i,"_",n,!0)):normalizeObjectSlots(t,i)}else t&&normalizeVNodeSlots(e,t)},updateSlots=(e,t,r)=>{const{vnode:i,slots:n}=e;let s=!0,o=EMPTY_OBJ;if(i.shapeFlag&32){const l=t._;l?r&&l===1?s=!1:assignSlots(n,t,r):(s=!t.$stable,normalizeObjectSlots(t,n)),o=t}else t&&(normalizeVNodeSlots(e,t),o={default:1});if(s)for(const l in n)!isInternalKey(l)&&o[l]==null&&delete n[l]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){const r=getGlobalThis();r.__VUE__=!0;const{insert:i,remove:n,patchProp:s,createElement:o,createText:l,createComment:f,setText:d,setElementText:u,parentNode:y,nextSibling:m,setScopeId:v=NOOP,insertStaticContent:S}=e,E=(O,F,H,q=null,K=null,Y=null,te=void 0,Z=null,X=!!F.dynamicChildren)=>{if(O===F)return;O&&!isSameVNodeType(O,F)&&(q=W(O),Q(O,K,Y,!0),O=null),F.patchFlag===-2&&(X=!1,F.dynamicChildren=null);const{type:J,ref:ae,shapeFlag:ie}=F;switch(J){case Text:A(O,F,H,q);break;case Comment:P(O,F,H,q);break;case Static:O==null&&C(F,H,q,te);break;case Fragment:V(O,F,H,q,K,Y,te,Z,X);break;default:ie&1?x(O,F,H,q,K,Y,te,Z,X):ie&6?G(O,F,H,q,K,Y,te,Z,X):(ie&64||ie&128)&&J.process(O,F,H,q,K,Y,te,Z,X,ne)}ae!=null&&K&&setRef(ae,O&&O.ref,Y,F||O,!F)},A=(O,F,H,q)=>{if(O==null)i(F.el=l(F.children),H,q);else{const K=F.el=O.el;F.children!==O.children&&d(K,F.children)}},P=(O,F,H,q)=>{O==null?i(F.el=f(F.children||""),H,q):F.el=O.el},C=(O,F,H,q)=>{[O.el,O.anchor]=S(O.children,F,H,q,O.el,O.anchor)},g=({el:O,anchor:F},H,q)=>{let K;for(;O&&O!==F;)K=m(O),i(O,H,q),O=K;i(F,H,q)},_=({el:O,anchor:F})=>{let H;for(;O&&O!==F;)H=m(O),n(O),O=H;n(F)},x=(O,F,H,q,K,Y,te,Z,X)=>{F.type==="svg"?te="svg":F.type==="math"&&(te="mathml"),O==null?w(F,H,q,K,Y,te,Z,X):B(O,F,K,Y,te,Z,X)},w=(O,F,H,q,K,Y,te,Z)=>{let X,J;const{props:ae,shapeFlag:ie,transition:se,dirs:le}=O;if(X=O.el=o(O.type,Y,ae&&ae.is,ae),ie&8?u(X,O.children):ie&16&&I(O.children,X,null,q,K,resolveChildrenNamespace(O,Y),te,Z),le&&invokeDirectiveHook(O,null,q,"created"),M(X,O,O.scopeId,te,q),ae){for(const ge in ae)ge!=="value"&&!isReservedProp(ge)&&s(X,ge,null,ae[ge],Y,q);"value"in ae&&s(X,"value",null,ae.value,Y),(J=ae.onVnodeBeforeMount)&&invokeVNodeHook(J,q,O)}le&&invokeDirectiveHook(O,null,q,"beforeMount");const he=needTransition(K,se);he&&se.beforeEnter(X),i(X,F,H),((J=ae&&ae.onVnodeMounted)||he||le)&&queuePostRenderEffect(()=>{J&&invokeVNodeHook(J,q,O),he&&se.enter(X),le&&invokeDirectiveHook(O,null,q,"mounted")},K)},M=(O,F,H,q,K)=>{if(H&&v(O,H),q)for(let Y=0;Y<q.length;Y++)v(O,q[Y]);if(K){let Y=K.subTree;if(F===Y||isSuspense(Y.type)&&(Y.ssContent===F||Y.ssFallback===F)){const te=K.vnode;M(O,te,te.scopeId,te.slotScopeIds,K.parent)}}},I=(O,F,H,q,K,Y,te,Z,X=0)=>{for(let J=X;J<O.length;J++){const ae=O[J]=Z?cloneIfMounted(O[J]):normalizeVNode(O[J]);E(null,ae,F,H,q,K,Y,te,Z)}},B=(O,F,H,q,K,Y,te)=>{const Z=F.el=O.el;let{patchFlag:X,dynamicChildren:J,dirs:ae}=F;X|=O.patchFlag&16;const ie=O.props||EMPTY_OBJ,se=F.props||EMPTY_OBJ;let le;if(H&&toggleRecurse(H,!1),(le=se.onVnodeBeforeUpdate)&&invokeVNodeHook(le,H,F,O),ae&&invokeDirectiveHook(F,O,H,"beforeUpdate"),H&&toggleRecurse(H,!0),(ie.innerHTML&&se.innerHTML==null||ie.textContent&&se.textContent==null)&&u(Z,""),J?D(O.dynamicChildren,J,Z,H,q,resolveChildrenNamespace(F,K),Y):te||T(O,F,Z,null,H,q,resolveChildrenNamespace(F,K),Y,!1),X>0){if(X&16)j(Z,ie,se,H,K);else if(X&2&&ie.class!==se.class&&s(Z,"class",null,se.class,K),X&4&&s(Z,"style",ie.style,se.style,K),X&8){const he=F.dynamicProps;for(let ge=0;ge<he.length;ge++){const me=he[ge],ye=ie[me],ve=se[me];(ve!==ye||me==="value")&&s(Z,me,ye,ve,K,H)}}X&1&&O.children!==F.children&&u(Z,F.children)}else!te&&J==null&&j(Z,ie,se,H,K);((le=se.onVnodeUpdated)||ae)&&queuePostRenderEffect(()=>{le&&invokeVNodeHook(le,H,F,O),ae&&invokeDirectiveHook(F,O,H,"updated")},q)},D=(O,F,H,q,K,Y,te)=>{for(let Z=0;Z<F.length;Z++){const X=O[Z],J=F[Z],ae=X.el&&(X.type===Fragment||!isSameVNodeType(X,J)||X.shapeFlag&70)?y(X.el):H;E(X,J,ae,null,q,K,Y,te,!0)}},j=(O,F,H,q,K)=>{if(F!==H){if(F!==EMPTY_OBJ)for(const Y in F)!isReservedProp(Y)&&!(Y in H)&&s(O,Y,F[Y],null,K,q);for(const Y in H){if(isReservedProp(Y))continue;const te=H[Y],Z=F[Y];te!==Z&&Y!=="value"&&s(O,Y,Z,te,K,q)}"value"in H&&s(O,"value",F.value,H.value,K)}},V=(O,F,H,q,K,Y,te,Z,X)=>{const J=F.el=O?O.el:l(""),ae=F.anchor=O?O.anchor:l("");let{patchFlag:ie,dynamicChildren:se,slotScopeIds:le}=F;le&&(Z=Z?Z.concat(le):le),O==null?(i(J,H,q),i(ae,H,q),I(F.children||[],H,ae,K,Y,te,Z,X)):ie>0&&ie&64&&se&&O.dynamicChildren?(D(O.dynamicChildren,se,H,K,Y,te,Z),(F.key!=null||K&&F===K.subTree)&&traverseStaticChildren(O,F,!0)):T(O,F,H,ae,K,Y,te,Z,X)},G=(O,F,H,q,K,Y,te,Z,X)=>{F.slotScopeIds=Z,O==null?F.shapeFlag&512?K.ctx.activate(F,H,q,te,X):U(F,H,q,K,Y,te,X):z(O,F,X)},U=(O,F,H,q,K,Y,te)=>{const Z=O.component=createComponentInstance(O,q,K);if(isKeepAlive(O)&&(Z.ctx.renderer=ne),setupComponent(Z,!1,te),Z.asyncDep){if(K&&K.registerDep(Z,R,te),!O.el){const X=Z.subTree=createVNode(Comment);P(null,X,F,H)}}else R(Z,O,F,H,K,Y,te)},z=(O,F,H)=>{const q=F.component=O.component;if(shouldUpdateComponent(O,F,H))if(q.asyncDep&&!q.asyncResolved){L(q,F,H);return}else q.next=F,q.update();else F.el=O.el,q.vnode=F},R=(O,F,H,q,K,Y,te)=>{const Z=()=>{if(O.isMounted){let{next:ie,bu:se,u:le,parent:he,vnode:ge}=O;{const be=locateNonHydratedAsyncRoot(O);if(be){ie&&(ie.el=ge.el,L(O,ie,te)),be.asyncDep.then(()=>{O.isUnmounted||Z()});return}}let me=ie,ye;toggleRecurse(O,!1),ie?(ie.el=ge.el,L(O,ie,te)):ie=ge,se&&invokeArrayFns(se),(ye=ie.props&&ie.props.onVnodeBeforeUpdate)&&invokeVNodeHook(ye,he,ie,ge),toggleRecurse(O,!0);const ve=renderComponentRoot(O),Se=O.subTree;O.subTree=ve,E(Se,ve,y(Se.el),W(Se),O,K,Y),ie.el=ve.el,me===null&&updateHOCHostEl(O,ve.el),le&&queuePostRenderEffect(le,K),(ye=ie.props&&ie.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(ye,he,ie,ge),K)}else{let ie;const{el:se,props:le}=F,{bm:he,m:ge,parent:me,root:ye,type:ve}=O,Se=isAsyncWrapper(F);if(toggleRecurse(O,!1),he&&invokeArrayFns(he),!Se&&(ie=le&&le.onVnodeBeforeMount)&&invokeVNodeHook(ie,me,F),toggleRecurse(O,!0),se&&pe){const be=()=>{O.subTree=renderComponentRoot(O),pe(se,O.subTree,O,K,null)};Se&&ve.__asyncHydrate?ve.__asyncHydrate(se,O,be):be()}else{ye.ce&&ye.ce._injectChildStyle(ve);const be=O.subTree=renderComponentRoot(O);E(null,be,H,q,O,K,Y),F.el=be.el}if(ge&&queuePostRenderEffect(ge,K),!Se&&(ie=le&&le.onVnodeMounted)){const be=F;queuePostRenderEffect(()=>invokeVNodeHook(ie,me,be),K)}(F.shapeFlag&256||me&&isAsyncWrapper(me.vnode)&&me.vnode.shapeFlag&256)&&O.a&&queuePostRenderEffect(O.a,K),O.isMounted=!0,F=H=q=null}};O.scope.on();const X=O.effect=new ReactiveEffect(Z);O.scope.off();const J=O.update=X.run.bind(X),ae=O.job=X.runIfDirty.bind(X);ae.i=O,ae.id=O.uid,X.scheduler=()=>queueJob(ae),toggleRecurse(O,!0),J()},L=(O,F,H)=>{F.component=O;const q=O.vnode.props;O.vnode=F,O.next=null,updateProps(O,F.props,q,H),updateSlots(O,F.children,H),pauseTracking(),flushPreFlushCbs(O),resetTracking()},T=(O,F,H,q,K,Y,te,Z,X=!1)=>{const J=O&&O.children,ae=O?O.shapeFlag:0,ie=F.children,{patchFlag:se,shapeFlag:le}=F;if(se>0){if(se&128){$(J,ie,H,q,K,Y,te,Z,X);return}else if(se&256){k(J,ie,H,q,K,Y,te,Z,X);return}}le&8?(ae&16&&ue(J,K,Y),ie!==J&&u(H,ie)):ae&16?le&16?$(J,ie,H,q,K,Y,te,Z,X):ue(J,K,Y,!0):(ae&8&&u(H,""),le&16&&I(ie,H,q,K,Y,te,Z,X))},k=(O,F,H,q,K,Y,te,Z,X)=>{O=O||EMPTY_ARR,F=F||EMPTY_ARR;const J=O.length,ae=F.length,ie=Math.min(J,ae);let se;for(se=0;se<ie;se++){const le=F[se]=X?cloneIfMounted(F[se]):normalizeVNode(F[se]);E(O[se],le,H,null,K,Y,te,Z,X)}J>ae?ue(O,K,Y,!0,!1,ie):I(F,H,q,K,Y,te,Z,X,ie)},$=(O,F,H,q,K,Y,te,Z,X)=>{let J=0;const ae=F.length;let ie=O.length-1,se=ae-1;for(;J<=ie&&J<=se;){const le=O[J],he=F[J]=X?cloneIfMounted(F[J]):normalizeVNode(F[J]);if(isSameVNodeType(le,he))E(le,he,H,null,K,Y,te,Z,X);else break;J++}for(;J<=ie&&J<=se;){const le=O[ie],he=F[se]=X?cloneIfMounted(F[se]):normalizeVNode(F[se]);if(isSameVNodeType(le,he))E(le,he,H,null,K,Y,te,Z,X);else break;ie--,se--}if(J>ie){if(J<=se){const le=se+1,he=le<ae?F[le].el:q;for(;J<=se;)E(null,F[J]=X?cloneIfMounted(F[J]):normalizeVNode(F[J]),H,he,K,Y,te,Z,X),J++}}else if(J>se)for(;J<=ie;)Q(O[J],K,Y,!0),J++;else{const le=J,he=J,ge=new Map;for(J=he;J<=se;J++){const _e=F[J]=X?cloneIfMounted(F[J]):normalizeVNode(F[J]);_e.key!=null&&ge.set(_e.key,J)}let me,ye=0;const ve=se-he+1;let Se=!1,be=0;const Pe=new Array(ve);for(J=0;J<ve;J++)Pe[J]=0;for(J=le;J<=ie;J++){const _e=O[J];if(ye>=ve){Q(_e,K,Y,!0);continue}let Ee;if(_e.key!=null)Ee=ge.get(_e.key);else for(me=he;me<=se;me++)if(Pe[me-he]===0&&isSameVNodeType(_e,F[me])){Ee=me;break}Ee===void 0?Q(_e,K,Y,!0):(Pe[Ee-he]=J+1,Ee>=be?be=Ee:Se=!0,E(_e,F[Ee],H,null,K,Y,te,Z,X),ye++)}const Ce=Se?getSequence(Pe):EMPTY_ARR;for(me=Ce.length-1,J=ve-1;J>=0;J--){const _e=he+J,Ee=F[_e],xe=_e+1<ae?F[_e+1].el:q;Pe[J]===0?E(null,Ee,H,xe,K,Y,te,Z,X):Se&&(me<0||J!==Ce[me]?N(Ee,H,xe,2):me--)}}},N=(O,F,H,q,K=null)=>{const{el:Y,type:te,transition:Z,children:X,shapeFlag:J}=O;if(J&6){N(O.component.subTree,F,H,q);return}if(J&128){O.suspense.move(F,H,q);return}if(J&64){te.move(O,F,H,ne);return}if(te===Fragment){i(Y,F,H);for(let ie=0;ie<X.length;ie++)N(X[ie],F,H,q);i(O.anchor,F,H);return}if(te===Static){g(O,F,H);return}if(q!==2&&J&1&&Z)if(q===0)Z.beforeEnter(Y),i(Y,F,H),queuePostRenderEffect(()=>Z.enter(Y),K);else{const{leave:ie,delayLeave:se,afterLeave:le}=Z,he=()=>i(Y,F,H),ge=()=>{ie(Y,()=>{he(),le&&le()})};se?se(Y,he,ge):ge()}else i(Y,F,H)},Q=(O,F,H,q=!1,K=!1)=>{const{type:Y,props:te,ref:Z,children:X,dynamicChildren:J,shapeFlag:ae,patchFlag:ie,dirs:se,cacheIndex:le}=O;if(ie===-2&&(K=!1),Z!=null&&setRef(Z,null,H,O,!0),le!=null&&(F.renderCache[le]=void 0),ae&256){F.ctx.deactivate(O);return}const he=ae&1&&se,ge=!isAsyncWrapper(O);let me;if(ge&&(me=te&&te.onVnodeBeforeUnmount)&&invokeVNodeHook(me,F,O),ae&6)de(O.component,H,q);else{if(ae&128){O.suspense.unmount(H,q);return}he&&invokeDirectiveHook(O,null,F,"beforeUnmount"),ae&64?O.type.remove(O,F,H,ne,q):J&&!J.hasOnce&&(Y!==Fragment||ie>0&&ie&64)?ue(J,F,H,!1,!0):(Y===Fragment&&ie&384||!K&&ae&16)&&ue(X,F,H),q&&oe(O)}(ge&&(me=te&&te.onVnodeUnmounted)||he)&&queuePostRenderEffect(()=>{me&&invokeVNodeHook(me,F,O),he&&invokeDirectiveHook(O,null,F,"unmounted")},H)},oe=O=>{const{type:F,el:H,anchor:q,transition:K}=O;if(F===Fragment){ce(H,q);return}if(F===Static){_(O);return}const Y=()=>{n(H),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(O.shapeFlag&1&&K&&!K.persisted){const{leave:te,delayLeave:Z}=K,X=()=>te(H,Y);Z?Z(O.el,Y,X):X()}else Y()},ce=(O,F)=>{let H;for(;O!==F;)H=m(O),n(O),O=H;n(F)},de=(O,F,H)=>{const{bum:q,scope:K,job:Y,subTree:te,um:Z,m:X,a:J}=O;invalidateMount(X),invalidateMount(J),q&&invokeArrayFns(q),K.stop(),Y&&(Y.flags|=8,Q(te,O,F,H)),Z&&queuePostRenderEffect(Z,F),queuePostRenderEffect(()=>{O.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve())},ue=(O,F,H,q=!1,K=!1,Y=0)=>{for(let te=Y;te<O.length;te++)Q(O[te],F,H,q,K)},W=O=>{if(O.shapeFlag&6)return W(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const F=m(O.anchor||O.el),H=F&&F[TeleportEndKey];return H?m(H):F};let re=!1;const ee=(O,F,H)=>{O==null?F._vnode&&Q(F._vnode,null,null,!0):E(F._vnode||null,O,F,null,null,null,H),F._vnode=O,re||(re=!0,flushPreFlushCbs(),flushPostFlushCbs(),re=!1)},ne={p:E,um:Q,m:N,r:oe,mt:U,mc:I,pc:T,pbc:D,n:W,o:e};let fe,pe;return t&&([fe,pe]=t(ne)),{render:ee,hydrate:fe,createApp:createAppAPI(ee,fe)}}function resolveChildrenNamespace({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function toggleRecurse({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,r=!1){const i=e.children,n=t.children;if(isArray$2(i)&&isArray$2(n))for(let s=0;s<i.length;s++){const o=i[s];let l=n[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=n[s]=cloneIfMounted(n[s]),l.el=o.el),!r&&l.patchFlag!==-2&&traverseStaticChildren(o,l)),l.type===Text&&(l.el=o.el)}}function getSequence(e){const t=e.slice(),r=[0];let i,n,s,o,l;const f=e.length;for(i=0;i<f;i++){const d=e[i];if(d!==0){if(n=r[r.length-1],e[n]<d){t[i]=n,r.push(i);continue}for(s=0,o=r.length-1;s<o;)l=s+o>>1,e[r[l]]<d?s=l+1:o=l;d<e[r[s]]&&(s>0&&(t[i]=r[s-1]),r[s]=i)}}for(s=r.length,o=r[s-1];s-- >0;)r[s]=o,o=t[o];return r}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(e,t){return doWatch(e,null,t)}function watchPostEffect(e,t){return doWatch(e,null,{flush:"post"})}function watch(e,t,r){return doWatch(e,t,r)}function doWatch(e,t,r=EMPTY_OBJ){const{immediate:i,deep:n,flush:s,once:o}=r,l=extend({},r),f=t&&i||!t&&s!=="post";let d;if(isInSSRComponentSetup){if(s==="sync"){const v=useSSRContext();d=v.__watcherHandles||(v.__watcherHandles=[])}else if(!f){const v=()=>{};return v.stop=NOOP,v.resume=NOOP,v.pause=NOOP,v}}const u=currentInstance;l.call=(v,S,E)=>callWithAsyncErrorHandling(v,u,S,E);let y=!1;s==="post"?l.scheduler=v=>{queuePostRenderEffect(v,u&&u.suspense)}:s!=="sync"&&(y=!0,l.scheduler=(v,S)=>{S?v():queueJob(v)}),l.augmentJob=v=>{t&&(v.flags|=4),y&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const m=watch$1(e,t,l);return isInSSRComponentSetup&&(d?d.push(m):f&&m()),m}function instanceWatch(e,t,r){const i=this.proxy,n=isString$1(e)?e.includes(".")?createPathGetter(i,e):()=>i[e]:e.bind(i,i);let s;isFunction(t)?s=t:(s=t.handler,r=t);const o=setCurrentInstance(this),l=doWatch(n,s.bind(i),r);return o(),l}function createPathGetter(e,t){const r=t.split(".");return()=>{let i=e;for(let n=0;n<r.length&&i;n++)i=i[r[n]];return i}}const getModelModifiers=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${camelize(t)}Modifiers`]||e[`${hyphenate(t)}Modifiers`];function emit(e,t,...r){if(e.isUnmounted)return;const i=e.vnode.props||EMPTY_OBJ;let n=r;const s=t.startsWith("update:"),o=s&&getModelModifiers(i,t.slice(7));o&&(o.trim&&(n=r.map(u=>isString$1(u)?u.trim():u)),o.number&&(n=r.map(looseToNumber)));let l,f=i[l=toHandlerKey(t)]||i[l=toHandlerKey(camelize(t))];!f&&s&&(f=i[l=toHandlerKey(hyphenate(t))]),f&&callWithAsyncErrorHandling(f,e,6,n);const d=i[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,callWithAsyncErrorHandling(d,e,6,n)}}function normalizeEmitsOptions(e,t,r=!1){const i=t.emitsCache,n=i.get(e);if(n!==void 0)return n;const s=e.emits;let o={},l=!1;if(!isFunction(e)){const f=d=>{const u=normalizeEmitsOptions(d,t,!0);u&&(l=!0,extend(o,u))};!r&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!s&&!l?(isObject$2(e)&&i.set(e,null),null):(isArray$2(s)?s.forEach(f=>o[f]=null):extend(o,s),isObject$2(e)&&i.set(e,o),o)}function isEmitListener(e,t){return!e||!isOn(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn(e,t[0].toLowerCase()+t.slice(1))||hasOwn(e,hyphenate(t))||hasOwn(e,t))}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:r,proxy:i,withProxy:n,propsOptions:[s],slots:o,attrs:l,emit:f,render:d,renderCache:u,props:y,data:m,setupState:v,ctx:S,inheritAttrs:E}=e,A=setCurrentRenderingInstance(e);let P,C;try{if(r.shapeFlag&4){const _=n||i,x=_;P=normalizeVNode(d.call(x,_,u,y,v,m,S)),C=l}else{const _=t;P=normalizeVNode(_.length>1?_(y,{attrs:l,slots:o,emit:f}):_(y,null)),C=t.props?l:getFunctionalFallthrough(l)}}catch(_){blockStack.length=0,handleError(_,e,1),P=createVNode(Comment)}let g=P;if(C&&E!==!1){const _=Object.keys(C),{shapeFlag:x}=g;_.length&&x&7&&(s&&_.some(isModelListener)&&(C=filterModelListeners(C,s)),g=cloneVNode(g,C,!1,!0))}return r.dirs&&(g=cloneVNode(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(r.dirs):r.dirs),r.transition&&setTransitionHooks(g,r.transition),P=g,setCurrentRenderingInstance(A),P}function filterSingleRoot(e,t=!0){let r;for(let i=0;i<e.length;i++){const n=e[i];if(isVNode(n)){if(n.type!==Comment||n.children==="v-if"){if(r)return;r=n}}else return}return r}const getFunctionalFallthrough=e=>{let t;for(const r in e)(r==="class"||r==="style"||isOn(r))&&((t||(t={}))[r]=e[r]);return t},filterModelListeners=(e,t)=>{const r={};for(const i in e)(!isModelListener(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function shouldUpdateComponent(e,t,r){const{props:i,children:n,component:s}=e,{props:o,children:l,patchFlag:f}=t,d=s.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&f>=0){if(f&1024)return!0;if(f&16)return i?hasPropsChanged(i,o,d):!!o;if(f&8){const u=t.dynamicProps;for(let y=0;y<u.length;y++){const m=u[y];if(o[m]!==i[m]&&!isEmitListener(d,m))return!0}}}else return(n||l)&&(!l||!l.$stable)?!0:i===o?!1:i?o?hasPropsChanged(i,o,d):!0:!!o;return!1}function hasPropsChanged(e,t,r){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let n=0;n<i.length;n++){const s=i[n];if(t[s]!==e[s]&&!isEmitListener(r,s))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},r){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=r,t=t.parent;else break}}const isSuspense=e=>e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,r,i,n,s,o,l,f,d){if(e==null)mountSuspense(t,r,i,n,s,o,l,f,d);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}patchSuspense(e,t,r,i,n,o,l,f,d)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(e,t){const r=e.props&&e.props[t];isFunction(r)&&r()}function mountSuspense(e,t,r,i,n,s,o,l,f){const{p:d,o:{createElement:u}}=f,y=u("div"),m=e.suspense=createSuspenseBoundary(e,n,i,t,y,r,s,o,l,f);d(null,m.pendingBranch=e.ssContent,y,null,i,m,s,o),m.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),d(null,e.ssFallback,t,r,i,null,s,o),setActiveBranch(m,e.ssFallback)):m.resolve(!1,!0)}function patchSuspense(e,t,r,i,n,s,o,l,{p:f,um:d,o:{createElement:u}}){const y=t.suspense=e.suspense;y.vnode=t,t.el=e.el;const m=t.ssContent,v=t.ssFallback,{activeBranch:S,pendingBranch:E,isInFallback:A,isHydrating:P}=y;if(E)y.pendingBranch=m,isSameVNodeType(m,E)?(f(E,m,y.hiddenContainer,null,n,y,s,o,l),y.deps<=0?y.resolve():A&&(P||(f(S,v,r,i,n,null,s,o,l),setActiveBranch(y,v)))):(y.pendingId=suspenseId++,P?(y.isHydrating=!1,y.activeBranch=E):d(E,n,y),y.deps=0,y.effects.length=0,y.hiddenContainer=u("div"),A?(f(null,m,y.hiddenContainer,null,n,y,s,o,l),y.deps<=0?y.resolve():(f(S,v,r,i,n,null,s,o,l),setActiveBranch(y,v))):S&&isSameVNodeType(m,S)?(f(S,m,r,i,n,y,s,o,l),y.resolve(!0)):(f(null,m,y.hiddenContainer,null,n,y,s,o,l),y.deps<=0&&y.resolve()));else if(S&&isSameVNodeType(m,S))f(S,m,r,i,n,y,s,o,l),setActiveBranch(y,m);else if(triggerEvent(t,"onPending"),y.pendingBranch=m,m.shapeFlag&512?y.pendingId=m.component.suspenseId:y.pendingId=suspenseId++,f(null,m,y.hiddenContainer,null,n,y,s,o,l),y.deps<=0)y.resolve();else{const{timeout:C,pendingId:g}=y;C>0?setTimeout(()=>{y.pendingId===g&&y.fallback(v)},C):C===0&&y.fallback(v)}}function createSuspenseBoundary(e,t,r,i,n,s,o,l,f,d,u=!1){const{p:y,m,um:v,n:S,o:{parentNode:E,remove:A}}=d;let P;const C=isVNodeSuspensible(e);C&&t&&t.pendingBranch&&(P=t.pendingId,t.deps++);const g=e.props?toNumber(e.props.timeout):void 0,_=s,x={vnode:e,parent:t,parentComponent:r,namespace:o,container:i,hiddenContainer:n,deps:0,pendingId:suspenseId++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(w=!1,M=!1){const{vnode:I,activeBranch:B,pendingBranch:D,pendingId:j,effects:V,parentComponent:G,container:U}=x;let z=!1;x.isHydrating?x.isHydrating=!1:w||(z=B&&D.transition&&D.transition.mode==="out-in",z&&(B.transition.afterLeave=()=>{j===x.pendingId&&(m(D,U,s===_?S(B):s,0),queuePostFlushCb(V))}),B&&(E(B.el)===U&&(s=S(B)),v(B,G,x,!0)),z||m(D,U,s,0)),setActiveBranch(x,D),x.pendingBranch=null,x.isInFallback=!1;let R=x.parent,L=!1;for(;R;){if(R.pendingBranch){R.effects.push(...V),L=!0;break}R=R.parent}!L&&!z&&queuePostFlushCb(V),x.effects=[],C&&t&&t.pendingBranch&&P===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),triggerEvent(I,"onResolve")},fallback(w){if(!x.pendingBranch)return;const{vnode:M,activeBranch:I,parentComponent:B,container:D,namespace:j}=x;triggerEvent(M,"onFallback");const V=S(I),G=()=>{x.isInFallback&&(y(null,w,D,V,B,null,j,l,f),setActiveBranch(x,w))},U=w.transition&&w.transition.mode==="out-in";U&&(I.transition.afterLeave=G),x.isInFallback=!0,v(I,B,null,!0),U||G()},move(w,M,I){x.activeBranch&&m(x.activeBranch,w,M,I),x.container=w},next(){return x.activeBranch&&S(x.activeBranch)},registerDep(w,M,I){const B=!!x.pendingBranch;B&&x.deps++;const D=w.vnode.el;w.asyncDep.catch(j=>{handleError(j,w,0)}).then(j=>{if(w.isUnmounted||x.isUnmounted||x.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:V}=w;handleSetupResult(w,j,!1),D&&(V.el=D);const G=!D&&w.subTree.el;M(w,V,E(D||w.subTree.el),D?null:S(w.subTree),x,o,I),G&&A(G),updateHOCHostEl(w,V.el),B&&--x.deps===0&&x.resolve()})},unmount(w,M){x.isUnmounted=!0,x.activeBranch&&v(x.activeBranch,r,w,M),x.pendingBranch&&v(x.pendingBranch,r,w,M)}};return x}function hydrateSuspense(e,t,r,i,n,s,o,l,f){const d=t.suspense=createSuspenseBoundary(t,i,r,e.parentNode,document.createElement("div"),null,n,s,o,l,!0),u=f(e,d.pendingBranch=t.ssContent,r,d,s,o);return d.deps===0&&d.resolve(!1,!0),u}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:r}=e,i=t&32;e.ssContent=normalizeSuspenseSlot(i?r.default:r),e.ssFallback=i?normalizeSuspenseSlot(r.fallback):createVNode(Comment)}function normalizeSuspenseSlot(e){let t;if(isFunction(e)){const r=isBlockTreeEnabled&&e._c;r&&(e._d=!1,openBlock()),e=e(),r&&(e._d=!0,t=currentBlock,closeBlock())}return isArray$2(e)&&(e=filterSingleRoot(e)),e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$2(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:r,parentComponent:i}=e;let n=t.el;for(;!n&&t.component;)t=t.component.subTree,n=t.el;r.el=n,i&&i.subTree===r&&(i.vnode.el=n,updateHOCHostEl(i,n))}function isVNodeSuspensible(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e,t=!1){isBlockTreeEnabled+=e,e<0&&currentBlock&&t&&(currentBlock.hasOnce=!0)}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),e}function createElementBlock(e,t,r,i,n,s){return setupBlock(createBaseVNode(e,t,r,i,n,s,!0))}function createBlock(e,t,r,i,n){return setupBlock(createVNode(e,t,r,i,n,!0))}function isVNode(e){return e?e.__v_isVNode===!0:!1}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}const normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?isString$1(e)||isRef(e)||isFunction(e)?{i:currentRenderingInstance,r:e,k:t,f:!!r}:e:null);function createBaseVNode(e,t=null,r=null,i=0,n=null,s=e===Fragment?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return l?(normalizeChildren(f,r),s&128&&e.normalize(f)):r&&(f.shapeFlag|=isString$1(r)?8:16),isBlockTreeEnabled>0&&!o&&currentBlock&&(f.patchFlag>0||s&6)&&f.patchFlag!==32&&currentBlock.push(f),f}const createVNode=_createVNode;function _createVNode(e,t=null,r=null,i=0,n=null,s=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment),isVNode(e)){const l=cloneVNode(e,t,!0);return r&&normalizeChildren(l,r),isBlockTreeEnabled>0&&!s&&currentBlock&&(l.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=l:currentBlock.push(l)),l.patchFlag=-2,l}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:l,style:f}=t;l&&!isString$1(l)&&(t.class=normalizeClass(l)),isObject$2(f)&&(isProxy(f)&&!isArray$2(f)&&(f=extend({},f)),t.style=normalizeStyle(f))}const o=isString$1(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$2(e)?4:isFunction(e)?2:0;return createBaseVNode(e,t,r,i,n,o,s,!0)}function guardReactiveProps(e){return e?isProxy(e)||isInternalObject(e)?extend({},e):e:null}function cloneVNode(e,t,r=!1,i=!1){const{props:n,ref:s,patchFlag:o,children:l,transition:f}=e,d=t?mergeProps(n||{},t):n,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&normalizeKey(d),ref:t&&t.ref?r&&s?isArray$2(s)?s.concat(normalizeRef(t)):[s,normalizeRef(t)]:normalizeRef(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&i&&setTransitionHooks(u,f.clone(u)),u}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createStaticVNode(e,t){const r=createVNode(Static,null,e);return r.staticCount=t,r}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return e==null||typeof e=="boolean"?createVNode(Comment):isArray$2(e)?createVNode(Fragment,null,e.slice()):isVNode(e)?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let r=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(isArray$2(t))r=16;else if(typeof t=="object")if(i&65){const n=t.default;n&&(n._c&&(n._d=!1),normalizeChildren(e,n()),n._c&&(n._d=!0));return}else{r=32;const n=t._;!n&&!isInternalObject(t)?t._ctx=currentRenderingInstance:n===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction(t)?(t={default:t,_ctx:currentRenderingInstance},r=32):(t=String(t),i&64?(r=16,t=[createTextVNode(t)]):r=8);e.children=t,e.shapeFlag|=r}function mergeProps(...e){const t={};for(let r=0;r<e.length;r++){const i=e[r];for(const n in i)if(n==="class")t.class!==i.class&&(t.class=normalizeClass([t.class,i.class]));else if(n==="style")t.style=normalizeStyle([t.style,i.style]);else if(isOn(n)){const s=t[n],o=i[n];o&&s!==o&&!(isArray$2(s)&&s.includes(o))&&(t[n]=s?[].concat(s,o):o)}else n!==""&&(t[n]=i[n])}return t}function invokeVNodeHook(e,t,r,i=null){callWithAsyncErrorHandling(e,t,7,[r,i])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(e,t,r){const i=e.type,n=(t?t.appContext:e.appContext)||emptyAppContext,s={uid:uid++,vnode:e,type:i,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(i,n),emitsOptions:normalizeEmitsOptions(i,n),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:i.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=emit.bind(null,s),e.ce&&e.ce(s),s}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis(),t=(r,i)=>{let n;return(n=e[r])||(n=e[r]=[]),n.push(i),s=>{n.length>1?n.forEach(o=>o(s)):n[0](s)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",r=>currentInstance=r),setInSSRSetupState=t("__VUE_SSR_SETTERS__",r=>isInSSRComponentSetup=r)}const setCurrentInstance=e=>{const t=currentInstance;return internalSetCurrentInstance(e),e.scope.on(),()=>{e.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return e.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(e,t=!1,r=!1){t&&setInSSRSetupState(t);const{props:i,children:n}=e.vnode,s=isStatefulComponent(e);initProps(e,i,s,t),initSlots(e,n,r);const o=s?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),o}function setupStatefulComponent(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,PublicInstanceProxyHandlers);const{setup:i}=r;if(i){pauseTracking();const n=e.setupContext=i.length>1?createSetupContext(e):null,s=setCurrentInstance(e),o=callWithErrorHandling(i,e,0,[e.props,n]),l=isPromise(o);if(resetTracking(),s(),(l||e.sp)&&!isAsyncWrapper(e)&&markAsyncBoundary(e),l){if(o.then(unsetCurrentInstance,unsetCurrentInstance),t)return o.then(f=>{handleSetupResult(e,f,t)}).catch(f=>{handleError(f,e,0)});e.asyncDep=o}else handleSetupResult(e,o,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,r){isFunction(t)?e.type.__ssrInlineRe
18nder?e.ssrRender=t:e.render=t:isObject$2(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,r)}let compile;function finishComponentSetup(e,t,r){const i=e.type;if(!e.render){if(!t&&compile&&!i.render){const n=i.template||resolveMergedOptions(e).template;if(n){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:f}=i,d=extend(extend({isCustomElement:s,delimiters:l},o),f);i.render=compile(n,d)}}e.render=i.render||NOOP}{const n=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),n()}}}const attrsProxyHandlers={get(e,t){return track(e,"get",""),e[t]}};function createSetupContext(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,attrsProxyHandlers),slots:e.slots,emit:e.emit,expose:t}}function getComponentPublicInstance(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in publicPropertiesMap)return publicPropertiesMap[r](e)},has(t,r){return r in t||r in publicPropertiesMap}})):e.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,r=!1){let i=getComponentName(t);if(!i&&t.__file){const n=t.__file.match(/([^/\\]+)\.\w+$/);n&&(i=n[1])}if(!i&&e&&e.parent){const n=s=>{for(const o in s)if(s[o]===t)return o};i=n(e.components||e.parent.type.components)||n(e.appContext.components)}return i?classify(i):r?"App":"Anonymous"}function isClassComponent(e){return isFunction(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function h(e,t,r){const i=arguments.length;return i===2?isObject$2(t)&&!isArray$2(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&isVNode(r)&&(r=[r]),createVNode(e,t,r))}const version="3.5.13";/**
19* @vue/runtime-dom v3.5.13
20* (c) 2018-present Yuxi (Evan) You and Vue contributors
21* @license MIT
22**/let policy;const tt=typeof window<"u"&&window.trustedTypes;if(tt)try{policy=tt.createPolicy("vue",{createHTML:e=>e})}catch{}const unsafeToTrustedHTML=policy?e=>policy.createHTML(e):e=>e,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{const n=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):r?doc.createElement(e,{is:r}):doc.createElement(e);return e==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,i,n,s){const o=r?r.previousSibling:t.lastChild;if(n&&(n===s||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),r),!(n===s||!(n=n.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const l=templateContainer.content;if(i==="svg"||i==="mathml"){const f=l.firstChild;for(;
vendor: 12,041 bytes, line 22
22f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=e=>(e.displayName="Transition",e.props=TransitionPropsValidators,e),Transition=decorate$1((e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t)),callHook=(e,t=[])=>{isArray$2(e)?e.forEach(r=>r(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray$2(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const V in e)V in DOMTransitionPropsValidators||(t[V]=e[V]);if(e.css===!1)return t;const{name:r="v",type:i,duration:n,enterFromClass:s=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:l=`${r}-enter-to`,appearFromClass:f=s,appearActiveClass:d=o,appearToClass:u=l,leaveFromClass:y=`${r}-leave-from`,leaveActiveClass:m=`${r}-leave-active`,leaveToClass:v=`${r}-leave-to`}=e,S=normalizeDuration(n),E=S&&S[0],A=S&&S[1],{onBeforeEnter:P,onEnter:C,onEnterCancelled:g,onLeave:_,onLeaveCancelled:x,onBeforeAppear:w=P,onAppear:M=C,onAppearCancelled:I=g}=t,B=(V,G,U,z)=>{V._enterCancelled=z,removeTransitionClass(V,G?u:l),removeTransitionClass(V,G?d:o),U&&U()},D=(V,G)=>{V._isLeaving=!1,removeTransitionClass(V,y),removeTransitionClass(V,v),removeTransitionClass(V,m),G&&G()},j=V=>(G,U)=>{const z=V?M:C,R=()=>B(G,V,U);callHook(z,[G,R]),nextFrame(()=>{removeTransitionClass(G,V?f:s),addTransitionClass(G,V?u:l),hasExplicitCallback(z)||whenTransitionEnds(G,i,E,R)})};return extend(t,{onBeforeEnter(V){callHook(P,[V]),addTransitionClass(V,s),addTransitionClass(V,o)},onBeforeAppear(V){callHook(w,[V]),addTransitionClass(V,f),addTransitionClass(V,d)},onEnter:j(!1),onAppear:j(!0),onLeave(V,G){V._isLeaving=!0;const U=()=>D(V,G);addTransitionClass(V,y),V._enterCancelled?(addTransitionClass(V,m),forceReflow()):(forceReflow(),addTransitionClass(V,m)),nextFrame(()=>{V._isLeaving&&(removeTransitionClass(V,y),addTransitionClass(V,v),hasExplicitCallback(_)||whenTransitionEnds(V,i,A,U))}),callHook(_,[V,U])},onEnterCancelled(V){B(V,!1,void 0,!0),callHook(g,[V])},onAppearCancelled(V){B(V,!0,void 0,!0),callHook(I,[V])},onLeaveCancelled(V){D(V),callHook(x,[V])}})}function normalizeDuration(e){if(e==null)return null;if(isObject$2(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[vtcKey]||(e[vtcKey]=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const r=e[vtcKey];r&&(r.delete(t),r.size||(e[vtcKey]=void 0))}function nextFrame(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let endId=0;function whenTransitionEnds(e,t,r,i){const n=e._endId=++endId,s=()=>{n===e._endId&&i()};if(r!=null)return setTimeout(s,r);const{type:o,timeout:l,propCount:f}=getTransitionInfo(e,t);if(!o)return i();const d=o+"end";let u=0;const y=()=>{e.removeEventListener(d,m),s()},m=v=>{v.target===e&&++u>=f&&y()};setTimeout(()=>{u<f&&y()},l+1),e.addEventListener(d,m)}function getTransitionInfo(e,t){const r=window.getComputedStyle(e),i=S=>(r[S]||"").split(", "),n=i(`${TRANSITION}Delay`),s=i(`${TRANSITION}Duration`),o=getTimeout(n,s),l=i(`${ANIMATION}Delay`),f=i(`${ANIMATION}Duration`),d=getTimeout(l,f);let u=null,y=0,m=0;t===TRANSITION?o>0&&(u=TRANSITION,y=o,m=s.length):t===ANIMATION?d>0&&(u=ANIMATION,y=d,m=f.length):(y=Math.max(o,d),u=y>0?o>d?TRANSITION:ANIMATION:null,m=u?u===TRANSITION?s.length:f.length:0);const v=u===TRANSITION&&/\b(transform|all)(,|$)/.test(i(`${TRANSITION}Property`).toString());return{type:u,timeout:y,propCount:m,hasTransform:v}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,i)=>toMs(r)+toMs(e[i])))}function toMs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(e,t,r){const i=e[vtcKey];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(e,{value:t},{transition:r}){e[vShowOriginalDisplay]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):setDisplay(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:i}){!t!=!r&&(i?t?(i.beforeEnter(e),setDisplay(e,!0),i.enter(e)):i.leave(e,()=>{setDisplay(e,!1)}):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[vShowOriginalDisplay]:"none",e[vShowHidden]=!t}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,r){const i=e.style,n=isString$1(r);let s=!1;if(r&&!n){if(t)if(isString$1(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();r[l]==null&&setStyle(i,l,"")}else for(const o in t)r[o]==null&&setStyle(i,o,"");for(const o in r)o==="display"&&(s=!0),setStyle(i,o,r[o])}else if(n){if(t!==r){const o=i[CSS_VAR_TEXT];o&&(r+=";"+o),i.cssText=r,s=displayRE.test(r)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=s?i.display:"",e[vShowHidden]&&(i.display="none"))}const importantRE=/\s*!important$/;function setStyle(e,t,r){if(isArray$2(r))r.forEach(i=>setStyle(e,t,i));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const i=autoPrefix(e,t);importantRE.test(r)?e.setProperty(hyphenate(i),r.replace(importantRE,""),"important"):e[i]=r}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const r=prefixCache[t];if(r)return r;let i=camelize(t);if(i!=="filter"&&i in e)return prefixCache[t]=i;i=capitalize(i);for(let n=0;n<prefixes.length;n++){const s=prefixes[n]+i;if(s in e)return prefixCache[t]=s}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,r,i,n,s=isSpecialBooleanAttr(t)){i&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,r):r==null||s&&!includeBooleanAttr(r)?e.removeAttribute(t):e.setAttribute(t,s?"":isSymbol(r)?String(r):r)}function patchDOMProp(e,t,r,i,n){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?unsafeToTrustedHTML(r):r);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?e.getAttribute("value")||"":e.value,f=r==null?e.type==="checkbox"?"on":"":String(r);(l!==f||!("_value"in e))&&(e.value=f),r==null&&e.removeAttribute(t),e._value=r;return}let o=!1;if(r===""||r==null){const l=typeof e[t];l==="boolean"?r=includeBooleanAttr(r):r==null&&l==="string"?(r="",o=!0):l==="number"&&(r=0,o=!0)}try{e[t]=r}catch{}o&&e.removeAttribute(n||t)}function addEventListener(e,t,r,i){e.addEventListener(t,r,i)}function removeEventListener(e,t,r,i){e.removeEventListener(t,r,i)}const veiKey=Symbol("_vei");function patchEvent(e,t,r,i,n=null){const s=e[veiKey]||(e[veiKey]={}),o=s[t];if(i&&o)o.value=i;else{const[l,f]=parseName(t);if(i){const d=s[t]=createInvoker(i,n);addEventListener(e,l,d,f)}else o&&(removeEventListener(e,l,o,f),s[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){t={};let i;for(;i=e.match(optionsModifierRE);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hyphenate(e.slice(2)),t]}let cachedNow=0;const p=Promise.resolve(),getNow=()=>cachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(e,t){const r=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=r.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(i,r.value),t,5,[i])};return r.value=e,r.attached=getNow(),r}function patchStopImmediatePropagation(e,t){if(isArray$2(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>n=>!n._stopped&&i&&i(n))}else return t}const isNativeOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,r,i,n,s)=>{const o=n==="svg";t==="class"?patchClass(e,i,o):t==="style"?patchStyle(e,r,i):isOn(t)?isModelListener(t)||patchEvent(e,t,r,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,i,o))?(patchDOMProp(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&patchAttr(e,t,i,o,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!isString$1(i))?patchDOMProp(e,camelize(t),i,s,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),patchAttr(e,t,i,o))};function shouldSetAsProp(e,t,r,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const n=e.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return isNativeOn(t)&&isString$1(r)?!1:t in e}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray$2(t)?r=>invokeArrayFns(t,r):t};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(e,{modifiers:{lazy:t,trim:r,number:i}},n){e[assignKey]=getModelAssigner(n);const s=i||n.props&&n.props.type==="number";addEventListener(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;r&&(l=l.trim()),s&&(l=looseToNumber(l)),e[assignKey](l)}),r&&addEventListener(e,"change",()=>{e.value=e.value.trim()}),t||(addEventListener(e,"compositionstart",onCompositionStart),addEventListener(e,"compositionend",onCompositionEnd),addEventListener(e,"change",onCompositionEnd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:i,trim:n,number:s}},o){if(e[assignKey]=getModelAssigner(o),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?looseToNumber(e.value):e.value,f=t??"";l!==f&&(document.activeElement===e&&e.type!=="range"&&(i&&t===r||n&&e.value.trim()===f)||(e.value=f))}},vModelSelect={deep:!0,created(e,{value:t,modifiers:{number:r}},i){const n=isSet(t);addEventListener(e,"change",()=>{const s=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>r?looseToNumber(getValue(o)):getValue(o));e[assignKey](e.multiple?n?new Set(s):s:s[0]),e._assigning=!0,nextTick(()=>{e._assigning=!1})}),e[assignKey]=getModelAssigner(i)},mounted(e,{value:t}){setSelected(e,t)},beforeUpdate(e,t,r){e[assignKey]=getModelAssigner(r)},updated(e,{value:t}){e._assigning||setSelected(e,t)}};function setSelected(e,t){const r=e.multiple,i=isArray$2(t);if(!(r&&!i&&!isSet(t))){for(let n=0,s=e.options.length;n<s;n++){const o=e.options[n],l=getValue(o);if(r)if(i){const f=typeof l;f==="string"||f==="number"?o.selected=t.some(d=>String(d)===String(l)):o.selected=looseIndexOf(t,l)>-1}else o.selected=t.has(l);else if(looseEqual(getValue(o),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function getValue(e){return"_value"in e?e._value:e.value}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>
22systemModifiers.some(r=>e[`${r}Key`]&&!t.includes(r))},withModifiers=(e,t)=>{const r=e._withMods||(e._withMods={}),i=t.join(".");return r[i]||(r[i]=(n,...s)=>{for(let o=0;o<t.length;o++){const l=modifierGuards[t[o]];if(l&&l(n,t))return}return e(n,...s)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(e,t)=>{const r=e._withKeys||(e._withKeys={}),i=t.join(".");return r[i]||(r[i]=n=>{if(!("key"in n))return;const s=hyphenate(n.key);if(t.some(o=>o===s||keyNames[o]===s))return e(n)})},rendererOptions=extend({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:r}=t;return t.mount=i=>{const n=normalizeContainer(i);if(!n)return;const s=t._component;!isFunction(s)&&!s.render&&!s.template&&(s.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const o=r(n,!1,resolveRootNamespace(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:r}=t;return t.mount=i=>{const n=normalizeContainer(i);if(n)return r(n,!0,resolveRootNamespace(n))},t};function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString$1(e)?document.querySelector(e):e}const suspectProtoRx=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,suspectConstructorRx=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,JsonSigRx=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jsonParseTransform(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){warnKeyDropped(e);return}return t}function warnKeyDropped(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function destr(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const i=r.toLowerCase();if(i==="true")return!0;if(i==="false")return!1;if(i==="undefined")return;if(i==="null")return null;if(i==="nan")return Number.NaN;if(i==="infinity")return Number.POSITIVE_INFINITY;if(i==="-infinity")return Number.NEGATIVE_INFINITY}if(!JsonSigRx.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(suspectProtoRx.test(e)||suspectConstructorRx.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jsonParseTransform)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}const HASH_RE$1=/#/g,AMPERSAND_RE$1=/&/g,SLASH_RE$1=/\//g,EQUAL_RE$1=/=/g,IM_RE$1=/\?/g,PLUS_RE$1=/\+/g,ENC_CARET_RE$1=/%5e/gi,ENC_BACKTICK_RE$1=/%60/gi,ENC_PIPE_RE$1=/%7c/gi,ENC_SPACE_RE$1=/%20/gi,ENC_ENC_SLASH_RE=/%252f/gi;function encode(e){return encodeURI(""+e).replace(ENC_PIPE_RE$1,"|")}function encodeQueryValue$1(e){return encode(typeof e=="string"?e:JSON.stringify(e)).replace(PLUS_RE$1,"%2B").replace(ENC_SPACE_RE$1,"+").replace(HASH_RE$1,"%23").replace(AMPERSAND_RE$1,"%26").replace(ENC_BACKTICK_RE$1,"`").replace(ENC_CARET_RE$1,"^").replace(SLASH_RE$1,"%2F")}function encodeQueryKey$1(e){return encodeQueryValue$1(e).replace(EQUAL_RE$1,"%3D")}function encodePath$1(e){return encode(e).replace(HASH_RE$1,"%23").replace(IM_RE$1,"%3F").replace(ENC_ENC_SLASH_RE,"%2F").replace(AMPERSAND_RE$1,"%26").replace(PLUS_RE$1,"%2B")}function encodeParam$1(e){return encodePath$1(e).replace(SLASH_RE$1,"%2F")}function decode$1(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function decodeQueryKey(e){return decode$1(e.replace(PLUS_RE$1," "))}function decodeQueryValue(e){return decode$1(e.replace(PLUS_RE$1," "))}function parseQuery$1(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const i=r.match(/([^=]+)=?(.*)/)||[];if(i.length<2)continue;const n=decodeQueryKey(i[1]);if(n==="__proto__"||n==="constructor")continue;const s=decodeQueryValue(i[2]||"");t[n]===void 0?t[n]=s:Array.isArray(t[n])?t[n].push(s):t[n]=[t[n],s]}return t}function encodeQueryItem(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${encodeQueryKey$1(e)}=${encodeQueryValue$1(r)}`).join("&"):`${encodeQueryKey$1(e)}=${encodeQueryValue$1(t)}`:encodeQueryKey$1(e)}function stringifyQuery$1(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>
22encodeQueryItem(t,e[t])).filter(Boolean).join("&")}const PROTOCOL_STRICT_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,PROTOCOL_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,PROTOCOL_RELATIVE_REGEX=/^([/\\]\s*){2,}[^/\\]/,PROTOCOL_SCRIPT_RE=/^[\s\0]*(blob|data|javascript|vbscript):$/i,TRAILING_SLASH_RE$1=/\/$|\/\?|\/#/,JOIN_LEADING_SLASH_RE=/^\.?\//;function hasProtocol(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?PROTOCOL_STRICT_REGEX.test(e):PROTOCOL_REGEX.test(e)||(t.acceptRelative?PROTOCOL_RELATIVE_REGEX.test(e):!1)}function isScriptProtocol(e){return!!e&&PROTOCOL_SCRIPT_RE.test(e)}function hasTrailingSlash(e="",t){return t?TRAILING_SLASH_RE$1.test(e):e.endsWith("/")}function withoutTrailingSlash(e="",t){if(!t)return(hasTrailingSlash(e)?e.slice(0,-1):e)||"/";if(!hasTrailingSlash(e,!0))return e||"/";let r=e,i="";const n=e.indexOf("#");n>=0&&(r=e.slice(0,n),i=e.slice(n));const[s,...o]=r.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(o.length>0?`?${o.join("?")}`:"")+i}function withTrailingSlash(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(hasTrailingSlash(e,!0))return e||"/";let r=e,i="";const n=e.indexOf("#");if(n>=0&&(r=e.slice(0,n),i=e.slice(n),!r))return i;const[s,...o]=r.split("?");return s+"/"+(o.length>0?`?${o.join("?")}`:"")+i}function hasLeadingSlash(e=""){return e.startsWith("/")}function withLeadingSlash(e=""){return hasLeadingSlash(e)?e:"/"+e}function withBase(e,t){if(isEmptyURL(t)||hasProtocol(e))return e;const r=withoutTrailingSlash(t);return e.startsWith(r)?e:joinURL(r,e)}function withoutBase(e,t){if(isEmptyURL(t))return e;const r=withoutTrailingSlash(t);if(!e.startsWith(r))return e;const i=e.slice(r.length);return i[0]==="/"?i:"/"+i}function withQuery(e,t){const r=parseURL$1(e),i={...parseQuery$1(r.search),...t};return r.search=stringifyQuery$1(i),stringifyParsedURL(r)}function isEmptyURL(e){return!e||e==="/"}function isNonEmptyURL(e){return e&&e!=="/"}function joinURL(e,...t){let r=e||"";for(const i of t.filter(n=>isNonEmptyURL(n)))if(r){const n=i.replace(JOIN_LEADING_SLASH_RE,"");r=withTrailingSlash(r)+n}else r=i;return r}function joinRelativeURL(...e){var o,l,f,d;const t=/\/(?!\/)/,r=e.filter(Boolean),i=[];let n=0;for(const u of r)if(!(!u||u==="/")){for(const[y,m]of u.split(t).entries())if(!(!m||m===".")){if(m===".."){if(i.length===1&&hasProtocol(i[0]))continue;i.pop(),n--;continue}if(y===1&&((o=i[i.length-1])!=null&&o.endsWith(":/"))){i[i.length-1]+="/"+m;continue}i.push(m),n++}}let s=i.join("/");return n>=0?(l=r[0])!=null&&l.startsWith("/")&&!s.startsWith("/")?s="/"+s:(f=r[0])!=null&&f.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*n)+s,(d=r[r.length-1])!=null&&d.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function isEqual(e,t,r={}){return r.trailingSlash||(e=withTrailingSlash(e),t=withTrailingSlash(t)),r.leadingSlash||(e=withLeadingSlash(e),t=withLeadingSlash(t)),r.encoding||(e=decode$1(e),t=decode$1(t)),e===t}const protocolRelative=Symbol.for("ufo:protocolRelative");function parseURL$1(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,y,m=""]=r;return{protocol:y.toLowerCase(),pathname:m,href:y+m,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(e,{acceptRelative:!0}))return parsePath(e);const[,i="",n,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,o="",l=""]=s.match(/([^#/?]*)(.*)?/)||[];i==="file:"&&(l=l.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:f,search:d,hash:u}=parsePath(l);return{protocol:i.toLowerCase(),auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:o,pathname:f,search:d,hash:u,[protocolRelative]:!i}}function parsePath(e=""){const[t="",r="",i=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:i}}function stringifyParsedURL(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",i=e.hash||"",n=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[protocolRelative]?(e.protocol||"")+"//":"")+n+s+t+r+i}class FetchError extends Error{constructor(t,r){super(t,r),this.name="FetchError",r!=null&&r.cause&&!this.cause&&(this.cause=r.cause)}}function createFetchError(e){var f,d,u,y,m;const t=((f=e.error)==null?void 0:f.message)||((d=e.error)==null?void 0:d.toString())||"",r=((u=e.request)==null?void 0:u.method)||((y=e.options)==null?void 0:y.method)||"GET",i=((m=e.request)==null?void 0:m.url)||String(e.request)||"/",n=`[${r}] ${JSON.stringify(i)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",o=`${n}: ${s}${t?` ${t}`:""}`,l=new FetchError(o,e.error?{cause:e.error}:void 0);for(const v of["request","options","response"])Object.defineProperty(l,v,{get(){return e[v]}});for(const[v,S]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,v,{get(){return e.response&&e.response[S]}});return l}const payloadMethods=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function isPayloadMethod(e="GET"){return payloadMethods.has(e.toUpperCase())}function isJSONSerializable(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const textTypes=new Set(["image/svg","application/xml","application/xhtml","application/html"]),JSON_RE=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function detectResponseType(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return JSON_RE.test(t)?"json":textTypes.has(t)||t.startsWith("text/")?"text":"blob"}function resolveFetchOptions(e,t,r,i){const n=mergeHeaders((t==null?void 0:t.headers)??(e==null?void 0:e.headers),r==null?void 0:r.headers,i);let s;return(r!=null&&r.query||r!=null&&r.params||t!=null&&t.params||t!=null&&t.query)&&(s={...r==null?void 0:r.params,...r==null?void 0:r.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...r,...t,query:s,params:s,headers:n}}function mergeHeaders(e,t,r){if(!t)return new r(e);const i=new r(t);if(e)for(const[n,s]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))i.set(n,s);return i}async function callHooks(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const retryStatusCodes=new Set([408,409,425,429,500,502,503,504]),nullBodyResponses=new Set([101,204,205,304]);function createFetch(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:i=globalThis.AbortController}=e;async function n(l){const f=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!f){let u;typeof l.options.retry=="number"?u=l.options.retry:u=isPayloadMethod(l.options.method)?0:1;const y=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(y):retryStatusCodes.has(y))){const m=typeof l.options.retryDelay=="function"?l.options.retryDelay(l):l.options.retryDelay||0;return m>0&&await new Promise(v=>setTimeout(v,m)),s(l.request,{...l.options,retry:u-1})}}const d=createFetchError(l);throw Error.captureStackTrace&&Error.captureStackTrace(d,s),d}const s=async function(f,d={}){const u={request:f,options:resolveFetchOptions(f,d,e.defaults,r),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await callHooks(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=withBase(u.request,u.options.baseURL)),u.options.query&&(u.request=withQuery(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&isPayloadMethod(u.options.method)&&(isJSONSerializable(u.options.body)?(u.options.body=typeof u.options.body=="str
22ing"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new r(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let y;if(!u.options.signal&&u.options.timeout){const v=new i;y=setTimeout(()=>{const S=new Error("[TimeoutError]: The operation was aborted due to timeout");S.name="TimeoutError",S.code=23,v.abort(S)},u.options.timeout),u.options.signal=v.signal}try{u.response=await t(u.request,u.options)}catch(v){return u.error=v,u.options.onRequestError&&await callHooks(u,u.options.onRequestError),await n(u)}finally{y&&clearTimeout(y)}if((u.response.body||u.response._bodyInit)&&!nullBodyResponses.has(u.response.status)&&u.options.method!=="HEAD"){const v=(u.options.parseResponse?"json":u.options.responseType)||detectResponseType(u.response.headers.get("content-type")||"");switch(v){case"json":{const S=await u.response.text(),E=u.options.parseResponse||destr;u.response._data=E(S);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[v]()}}return u.options.onResponse&&await callHooks(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await callHooks(u,u.options.onResponseError),await n(u)):u.response},o=async function(f,d){return(await s(f,d))._data};return o.raw=s,o.native=(...l)=>t(...l),o.create=(l={},f={})=>createFetch({...e,...f,defaults:{...e.defaults,...f.defaults,...l}}),o}const _globalThis$1=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),fetch$1=_globalThis$1.fetch?(...e)=>_globalThis$1.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Headers=_globalThis$1.Headers,AbortController=_globalThis$1.AbortController,ofetch=createFetch({fetch:fetch$1,Headers,AbortController}),$fetch$1=ofetch,useRuntimeConfig$1=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},appConfig=useRuntimeConfig$1().app,baseURL=()=>appConfig.baseURL,buildAssetsDir=()=>appConfig.buildAssetsDir,buildAssetsURL=(...e)=>joinRelativeURL(publicAssetsURL(),buildAssetsDir(),...e),publicAssetsURL=(...e)=>{const t=appConfig.cdnURL||appConfig.baseURL;return e.length?joinRelativeURL(t,...e):t};globalThis.__buildAssetsURL=buildAssetsURL,globalThis.__publicAssetsURL=publicAssetsURL;globalThis.$fetch||(globalThis.$fetch=$fetch$1.create({baseURL:baseURL()}));function flatHooks(e,t={},r){for(const i in e){const n=e[i],s=r?`${r}:${i}`:i;typeof n=="object"&&n!==null?flatHooks(n,t,s):typeof n=="function"&&(t[s]=n)}return t}const defaultTask={run:e=>e()},_createTask=()=>defaultTask,createTask=typeof console.createTask<"u"?console.createTask:_createTask;function serialTaskCaller(e,t){const r=t.shift(),i=createTask(r);return e.reduce((n,s)=>n.then(()=>i.run(()=>s(...t))),Promise.resolve())}function parallelTaskCaller(e,t){const r=t.shift(),i=createTask(r);return Promise.all(e.map(n=>i.run(()=>n(...t))))}function callEachWith(e,t){for(const r of[...e])r(t)}class Hookable{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,i={}){if(!t||typeof r!="function")return()=>{};const n=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!i.allowDeprecated){let o=s.message;o||(o=`${n} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let i,n=(...s)=>(typeof i=="function"&&i(),i=void 0,n=void 0,r(...s));return i=this.hook(t,n),i}removeHook(t,r){if(this._hooks[t]){const i=this._hooks[t].indexOf(r);i!==-1&&this._hooks[t].splice(i,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const i=this._hooks[t]||[];delete this._hooks[t];for(const n of i)this.hook(t,n)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=flatHooks(t),i=Object.keys(r).map(n=>this.hook(n,r[n]));return()=>{for(const n of i.splice(0,i.length))n()}}removeHooks(t){const r=flatHooks(t);for(const i in r)this.removeHook(i,r[i])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(serialTaskCaller,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(parallelTaskCaller,t,...r)}callHookWith(t,r,...i){const n=this._before||this._after?{name:r,args:i,context:{}}:void 0;this._before&&callEachWith(this._before,n);const s=t(r in this._hooks?[...this._hooks[r]]:[],i);return s instanceof Promise?s.finally(()=>{this._after&&n&&callEachWith(this._after,n)}):(this._after&&n&&callEachWith(this._after,n),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function createHooks(){return new Hookable}function createContext(e={}){let t,r=!1;const i=o=>
22{if(t&&t!==o)throw new Error("Context conflict")};let n;if(e.asyncContext){const o=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;o?n=new o:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(n&&t===void 0){const o=n.getStore();if(o!==void 0)return o}return t};return{use:()=>{const o=s();if(o===void 0)throw new Error("Context is not available");return o},tryUse:()=>s(),set:(o,l)=>{l||i(o),t=o,r=!0},unset:()=>{t=void 0,r=!1},call:(o,l)=>{i(o),t=o;try{return n?n.run(o,l):l()}finally{r||(t=void 0)}},async callAsync(o,l){t=o;const f=()=>{t=o},d=()=>t===o?f:void 0;asyncHandlers.add(d);try{const u=n?n.run(o,l):l();return r||(t=void 0),await u}finally{asyncHandlers.delete(d)}}}}function createNamespace(e={}){const t={};return{get(r,i={}){return t[r]||(t[r]=createContext({...e,...i})),t[r],t[r]}}}const _globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},globalKey$1="__unctx__",defaultNamespace=_globalThis[globalKey$1]||(_globalThis[globalKey$1]=createNamespace()),getContext=(e,t={})=>defaultNamespace.get(e,t),asyncHandlersKey="__unctx_async_handlers__",asyncHandlers=_globalThis[asyncHandlersKey]||(_globalThis[asyncHandlersKey]=new Set);function executeAsync(e){const t=[];for(const n of asyncHandlers){const s=n();s&&t.push(s)}const r=()=>{for(const n of t)n()};let i=e();return i&&typeof i=="object"&&"catch"in i&&(i=i.catch(n=>{throw r(),n})),[i,r]}const appLayoutTransition=!1,appPageTransition=!1,appKeepalive=!1,nuxtLinkDefaults={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},asyncDataDefaults={value:null,errorValue:null,deep:!0},nuxtDefaultErrorValue=null,vueAppRootContainer="#__nuxt",appId="nuxt-app",outdatedBuildInterval=36e5,chunkErrorEvent="vite:preloadError";function getNuxtAppCtx(e=appId){return getContext(e,{asyncContext:!1})}const NuxtPluginIndicator="__nuxt_plugin";function createNuxtApp(e){var n;let t=0;const r={_id:e.id||appId||"nuxt-app",_scope:effectScope(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.14.1592"},get vue(){return r.vueApp.version}},payload:shallowReactive({...((n=e.ssrContext)==null?void 0:n.payload)||{},data:shallowReactive({}),state:reactive({}),once:new Set,_errors:shallowReactive({})}),static:{data:{}},runWithContext(s){return r._scope.active&&!getCurrentScope()?r._scope.run(()=>callWithNuxt(r,s)):callWithNuxt(r,s)},isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return r.isHydrating=!1,r.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:shallowReactive({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(r.payload[o],s[o]);break;default:r.payload[o]=s[o]}}r.hooks=createHooks(),r.hook=r.hooks.hook,r.callHook=r.hooks.callHook,r.provide=(s,o)=>{const l="$"+s;defineGetter(r,l,o),defineGetter(r.vueApp.config.globalProperties,l,o)},defineGetter(r.vueApp,"$nuxt",r),defineGetter(r.vueApp.config.globalProperties,"$nuxt",r);{window.addEventListener(chunkErrorEvent,o=>{r.callHook("app:chunkError",{error:o.payload}),(r.isHydrating||o.payload.message.includes("Unable to preload CSS"))&&o.preventDefault()}),window.useNuxtApp=window.useNuxtApp||useNuxtApp;const s=r.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});r.hook("app:mounted",s)}const i=r.payload.config;return r.provide("config",i),r}function registerPluginHooks(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function applyPlugin(e,t){if(typeof t=="function"){const{provide:r}=await e.runWithContext(()=>t(e))||{};if(r&&typeof r=="object")for(const i in r)e.provide(i,r[i])}}async function applyPlugins(e,t){const r=[],i=[],n=[],s=[];let o=0;async function l(f){var u;const d=((u=f.dependsOn)==null?void 0:u.filter(y=>t.some(m=>m._name===y)&&!r.includes(y)))??[];if(d.length>0)i.push([new Set(d),f]);else{const y=applyPlugin(e,f).then(async()=>{f._name&&(r.push(f._name),await Promise.all(i.map(async([m,v])=>{m.has(f._name)&&(m.delete(f._name),m.size===0&&(o++,await l(v)))})))});f.parallel?n.push(y.catch(m=>s.push(m))):await y}}for(const f of t)registerPluginHooks(e,f);for(const f of t)await l(f);if(await Promise.all(n),o)for(let f=0;f<o;f++)await Promise.all(n);if(s.length)throw s[0]}function defineNuxtPlugin(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[NuxtPluginIndicator]:!0,_name:t})}function callWithNuxt(e,t,r){const i=()=>t();
22return getNuxtAppCtx(e._id).set(e),e.vueApp.runWithContext(i)}function tryUseNuxtApp(e){var r;let t;return hasInjectionContext()&&(t=(r=getCurrentInstance())==null?void 0:r.appContext.app.$nuxt),t=t||getNuxtAppCtx(e).tryUse(),t||null}function useNuxtApp(e){const t=tryUseNuxtApp(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function useRuntimeConfig(e){return useNuxtApp().$config}function defineGetter(e,t,r){Object.defineProperty(e,t,{get:()=>r})}function _createMatcher(e,t){return{ctx:{table:e},matchAll:r=>_matchRoutes(r,e)}}function _createTableFromExport(e){const t={};for(const r in e)t[r]=r==="dynamic"?new Map(Object.entries(e[r]).map(([i,n])=>[i,_createTableFromExport(n)])):new Map(Object.entries(e[r]));return t}function createMatcherFromExport(e){return _createMatcher(_createTableFromExport(e))}function _matchRoutes(e,t,r){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const i=[];for(const[s,o]of _sortRoutesMap(t.wildcard))(e===s||e.startsWith(s+"/"))&&i.push(o);for(const[s,o]of _sortRoutesMap(t.dynamic))if(e.startsWith(s+"/")){const l="/"+e.slice(s.length).split("/").splice(2).join("/");i.push(..._matchRoutes(l,o))}const n=t.static.get(e);return n&&i.push(n),i.filter(Boolean)}function _sortRoutesMap(e){return[...e.entries()].sort((t,r)=>t[0].length-r[0].length)}function isPlainObject$1(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function _defu(e,t,r=".",i){if(!isPlainObject$1(t))return _defu(e,{},r,i);const n={...t};for(const s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(i&&i(n,s,o,r)||(Array.isArray(o)&&Array.isArray(n[s])?n[s]=[...o,...n[s]]:isPlainObject$1(o)&&isPlainObject$1(n[s])?n[s]=_defu(o,n[s],(r?`${r}.`:"")+s.toString(),i):n[s]=o))}return n}function createDefu(e){return(...t)=>t.reduce((r,i)=>_defu(r,i,"",e),{})}const defu=createDefu();function hasProp(e,t){try{return t in e}catch{return!1}}var __defProp$2$1=Object.defineProperty,__defNormalProp$2$1=(e,t,r)=>t in e?__defProp$2$1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__publicField$2=(e,t,r)=>(__defNormalProp$2$1(e,typeof t!="symbol"?t+"":t,r),r);class H3Error extends Error{constructor(t,r={}){super(t,r),__publicField$2(this,"statusCode",500),__publicField$2(this,"fatal",!1),__publicField$2(this,"unhandled",!1),__publicField$2(this,"statusMessage"),__publicField$2(this,"data"),__publicField$2(this,"cause"),r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const t={message:this.message,statusCode:sanitizeStatusCode(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=sanitizeStatusMessage(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}__publicField$2(H3Error,"__h3_error__",!0);function createError$1(e){if(typeof e=="string")return new H3Error(e);
22if(isError(e))return e;const t=new H3Error(e.message??e.statusMessage??"",{cause:e.cause||e});if(hasProp(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=sanitizeStatusCode(e.statusCode,t.statusCode):e.status&&(t.statusCode=sanitizeStatusCode(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const r=t.statusMessage;sanitizeStatusMessage(t.statusMessage)!==r&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function isError(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const DISALLOWED_STATUS_CHARS=/[^\u0009\u0020-\u007E]/g;function sanitizeStatusMessage(e=""){return e.replace(DISALLOWED_STATUS_CHARS,"")}function sanitizeStatusCode(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}typeof setImmediate>"u"||setImmediate;const LayoutMetaSymbol=Symbol("layout-meta"),PageRouteSymbol=Symbol("route"),useRouter$1=()=>{var e;return(e=useNuxtApp())==null?void 0:e.$router},useRoute$1=()=>hasInjectionContext()?inject(PageRouteSymbol,useNuxtApp()._route):useNuxtApp()._route;function defineNuxtRouteMiddleware(e){return e}const isProcessingMiddleware=()=>{try{if(useNuxtApp()._processingMiddleware)return!0}catch{return!1}return!1},navigateTo=(e,t)=>{e||(e="/");const r=typeof e=="string"?e:"path"in e?resolveRouteObject(e):useRouter$1().resolve(e).href;if(t!=null&&t.open){const{target:f="_blank",windowFeatures:d={}}=t.open,u=Object.entries(d).filter(([y,m])=>m!==void 0).map(([y,m])=>`${y.toLowerCase()}=${m}`).join(", ");return open(r,f,u),Promise.resolve()}const i=hasProtocol(r,{acceptRelative:!0}),n=(t==null?void 0:t.external)||i;if(n){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:f}=new URL(r,window.location.href);if(f&&isScriptProtocol(f))throw new Error(`Cannot navigate to a URL with '${f}' protocol.`)}const s=isProcessingMiddleware();if(!n&&s)return e;const o=useRouter$1(),l=useNuxtApp();return n?(l._scope.stop(),t!=null&&t.replace?location.replace(r):location.href=r,s?l.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)};function resolveRouteObject(e){return withQuery(e.path||"",e.query||{})+(e.hash||"")}const NUXT_ERROR_SIGNATURE="__nuxt_error",useError=()=>toRef(useNuxtApp().payload,"error"),showError=e=>{const t=createError(e);try{const r=useNuxtApp(),i=useError();r.hooks.callHook("app:error",t),i.value=i.value||t}catch{throw t}return t},clearError=async(e={})=>{const t=useNuxtApp(),r=useError();t.callHook("app:error:cleared",e),e.redirect&&await useRouter$1().replace(e.redirect),r.value=nuxtDefaultErrorValue},isNuxtError=e=>!!e&&typeof e=="object"&&NUXT_ERROR_SIGNATURE in e,createError=e=>{const t=createError$1(e);return Object.defineProperty(t,NUXT_ERROR_SIGNATURE,{value:!0,configurable:!1,writable:!1}),t};function decode64(e){const t=asciiToBinary(e),r=new ArrayBuffer(t.length),i=new DataView(r);for(let n=0;n<r.byteLength;n++)i.setUint8(n,t.charCodeAt(n));return r}const KEY_STRING="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function asciiToBinary(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",r=0,i=0;for(let n=0;n<e.length;n++)r<<=6,r|=KEY_STRING.indexOf(e[n]),i+=6,i===24&&(t+=String.fromCharCode((r&16711680)>>16),t+=String.fromCharCode((r&65280)>>8),t+=String.fromCharCode(r&255),r=i=0);return i===12?(r>>=4,t+=String.fromCharCode(r)):i===18&&(r>>=2,t+=String.fromCharCode((r&65280)>>8),t+=String.fromCharCode(r&255)),t}const UNDEFINED=-1,HOLE=-2,NAN=-3,POSITIVE_INFINITY=-4,NEGATIVE_INFINITY=-5,NEGATIVE_ZERO=-6;function parse$1(e,t){return unflatten(JSON.parse(e),t)}function unflatten(e,t){if(typeof e=="number")return n(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const r=e,i=Array(r.length);function n(s,o=!1){if(s===UNDEFINED)return;if(s===NAN)return NaN;if(s===POSITIVE_INFINITY)return 1/0;if(s===NEGATIVE_INFINITY)return-1/0;if(s===NEGATIVE_ZERO)return-0;if(o)throw new Error("Invalid input");if(s in i)return i[s];const l=r[s];if(!l||typeof l!="object")i[s]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const f=l[0],d=t==null?void 0:t[f];if(d)return i[s]=d(n(l[1]));switch(f){case"Date":i[s]=new Date(l[1]);break;case"Set":const u=new Set;i[s]=u;for(let v=1;v<l.length;v+=1)u.add(n(l[v]));break;case"Map":const y=new Map;i[s]=y;for(let v=1;v<l.length;v+=2)y.set(n(l[v]),n(l[v+1]));break;case"RegExp":i[s]=new RegExp(l[1],l[2]);break;case"Object":i[s]=Object(l[1]);break;case"BigInt":i[s]=BigInt(l[1]);break;case"null":const m=Object.create(null);i[s]=m;for(let v=1;v<l.length;v+=2)m[l[v]]=n(l[v+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const v=globalThis[f],S=l[1],E=decode64(S),A=new v(E);i[s]=A;break}case"ArrayBuffer":{const v=l[1],S=decode64(v);i[s]=S;break}default:throw new Error(`Unknown type ${f}`)}}else{const f=new Array(l.length);i[s]=f;for(let d=0;d<l.length;d+=1){const u=l[d];u!==HOLE&&(f[d]=n(u))}}else{const f={};i[s]=f;for(const d in l){const u=l[d];f[d]=n(u)}}return i[s]}return n(0)}const TagsWithInnerContent=new Set(["title","titleTemplate","script","style","noscript"]),HasElementTags=new Set(["base","meta","link","style","script","noscript"]),ValidHeadTags=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),UniqueTags=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),TagConfigKeys=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),IsBrowser=typeof window<"u";function defineHeadPlugin(e){return e}function hashCode(e){let t=9;for(let r=0;r<e.length;)t=Math.imul(t^e.charCodeAt(r++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function hashTag(e){if(e._h)return e._h;if(e._d)return hashCode(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const r in e.props)t+=`${r}:${String(e.props[r])},`;return hashCode(t)}function thenable(e,t){return e instanceof Promise?e.then(t):t(e)}
22function normaliseTag(e,t,r,i){const n=i||normaliseProps(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(n instanceof Promise)return n.then(o=>normaliseTag(e,t,r,o));const s={tag:e,props:n};for(const o of TagConfigKeys){const l=s.props[o]!==void 0?s.props[o]:r[o];l!==void 0&&((!(o==="innerHTML"||o==="textContent"||o==="children")||TagsWithInnerContent.has(s.tag))&&(s[o==="children"?"innerHTML":o]=l),delete s.props[o])}return s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s}function normaliseStyleClassProps(e,t){var i;const r=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,n])=>n).map(([n,s])=>e==="style"?`${n}:${s}`:n)),(i=String(Array.isArray(t)?t.join(r):t))==null?void 0:i.split(r).filter(n=>!!n.trim()).join(r)}function nestedNormaliseProps(e,t,r,i){for(let n=i;n<r.length;n+=1){const s=r[n];if(s==="class"||s==="style"){e[s]=normaliseStyleClassProps(s,e[s]);continue}if(e[s]instanceof Promise)return e[s].then(o=>(e[s]=o,nestedNormaliseProps(e,t,r,n)));if(!t&&!TagConfigKeys.has(s)){const o=String(e[s]),l=s.startsWith("data-");o==="true"||o===""?e[s]=l?"true":!0:e[s]||(l&&o==="false"?e[s]="false":delete e[s])}}}function normaliseProps(e,t=!1){const r=nestedNormaliseProps(e,t,Object.keys(e),0);return r instanceof Promise?r.then(()=>e):e}const TagEntityBits=10;function nestedNormaliseEntryTags(e,t,r){for(let i=r;i<t.length;i+=1){const n=t[i];if(n instanceof Promise)return n.then(s=>(t[i]=s,nestedNormaliseEntryTags(e,t,i)));Array.isArray(n)?e.push(...n):e.push(n)}}function normaliseEntryTags(e){const t=[],r=e.resolvedInput;for(const n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;const s=r[n];if(!(s===void 0||!ValidHeadTags.has(n))){if(Array.isArray(s)){for(const o of s)t.push(normaliseTag(n,o,e));continue}t.push(normaliseTag(n,s,e))}}if(t.length===0)return[];const i=[];return thenable(nestedNormaliseEntryTags(i,t,0),()=>i.map((n,s)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<TagEntityBits)+s,n)))}const NetworkEvents=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),TAG_WEIGHTS={base:-10,title:10},TAG_ALIASES={critical:-80,high:-10,low:20};function tagWeight(e){const t=e.tagPriority;if(typeof t=="number")return t;let r=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?r=-30:e.props.charset?r=-20:e.props.name==="viewport"&&(r=-15):e.tag==="link"&&e.props.rel==="preconnect"?r=20:e.tag in TAG_WEIGHTS&&(r=TAG_WEIGHTS[e.tag]),t&&t in TAG_ALIASES?r+TAG_ALIASES[t]:r}const SortModifiers=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],allowedMetaProperties=["name","property","http-equiv"];function tagDedupeKey(e){const{props:t,tag:r}=e;if(UniqueTags.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${r}:id:${t.id}`;for(const i of allowedMetaProperties)if(t[i]!==void 0)return`${r}:${i}:${t[i]}`;return!1}const sepSub="%separator";function sub(e,t,r=!1){var n;let i;if(t==="s"||t==="pageTitle")i=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");i=(n=e[t.substring(0,s)])==null?void 0:n[t.substring(s+1)]}else i=e[t];if(i!==void 0)return r?(i||"").replace(/"/g,'\\"'):i||""}const sepSubRe=new RegExp(`${sepSub}(?:\\s*${sepSub})*`,"g");function processTemplateParams(e,t,r,i=!1){if(typeof e!="string"||!e.includes("%"))return e;let n=e;try{n=decodeURI(e)}catch{}const s=n.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const o=e.includes(sepSub);return e=e.replace(/%\w+(?:\.\w+)?/g,l=>{if(l===sepSub||!s.includes(l))return l;const f=sub(t,l.slice(1),i);return f!==void 0?f:l}).trim(),o&&(e.endsWith(sepSub)&&(e=e.slice(0,-sepSub.length)),e.startsWith(sepSub)&&(e=e.slice(sepSub.length)),e=e.replace(sepSubRe,r).trim()),e}function resolveTitleTemplate(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function renderDOMHead(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const i={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",i),!!i.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async n=>{var y;const s=(await e.resolveTags()).map(m=>({tag:m,id:HasElementTags.has(m.tag)?hashTag(m):m.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};const m=new Set;for(const v of["body","head"]){const S=(y=r[v])==null?void 0:y.children;for(const E of S){const A=E.tagName.toLowerCase();if(!HasElementTags.has(A))continue;const P={tag:A,props:await normaliseProps(E.getAttributeNames().reduce((x,w)=>({...x,[w]:E.getAttribute(w)}),{})),innerHTML:E.innerHTML},C=tagDedupeKey(P);let g=C,_=1;for(;g&&m.has(g);)g=`${C}:${_++}`;g&&(P._d=g,m.add(g)),o.elMap[E.getAttribute("data-hid")||hashTag(P)]=E}}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};function l(m,v,S){const E=`${m}:${v}`;o.sideEffects[E]=S,delete o.pendingSideEffects[E]}function f({id:m,$el:v,tag:S}){const E=S.tag.endsWith("Attrs");if(o.elMap[m]=v,E||(S.textContent&&S.textContent!==v.textContent&&(v.textContent=S.textContent),S.innerHTML&&S.innerHTML!==v.innerHTML&&(v.innerHTML=S.innerHTML),l(m,"el",()=>{var A;(A=o.elMap[m])==null||A.remove(),delete o.elMap[m]})),S._eventHandlers)for(const A in S._eventHandlers)Object.prototype.hasOwnProperty.call(S._eventHandlers,A)&&v.getAttribute(`data-${A}`)!==""&&((S.tag==="bodyAttrs"?r.defaultView:v).addEventListener(A.substring(2),S._eventHandlers[A].bind(v)),v.setAttribute(`data-${A}`,""));for(const A in S.props){if(!Object.prototype.hasOwnProperty.call(S.props,A))continue;const P=S.props[A],C=`attr:${A}`;if(A==="class"){if(!P)continue;for(const g of P.split(" "))E&&l(m,`${C}:${g}`,()=>v.classList.remove(g)),!v.classList.contains(g)&&v.classList.add(g)}else if(A==="style"){if(!P)continue;for(const g of P.split(";")){const _=g.indexOf(":"),x=g.substring(0,_).trim(),w=g.substring(_+1).trim();
22l(m,`${C}:${x}`,()=>{v.style.removeProperty(x)}),v.style.setProperty(x,w)}}else v.getAttribute(A)!==P&&v.setAttribute(A,P===!0?"":String(P)),E&&l(m,C,()=>v.removeAttribute(A))}}const d=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const m of s){const{tag:v,shouldRender:S,id:E}=m;if(S){if(v.tag==="title"){r.title=v.textContent;continue}m.$el=m.$el||o.elMap[E],m.$el?f(m):HasElementTags.has(v.tag)&&d.push(m)}}for(const m of d){const v=m.tag.tagPosition||"head";m.$el=r.createElement(m.tag.tag),f(m),u[v]=u[v]||r.createDocumentFragment(),u[v].appendChild(m.$el)}for(const m of s)await e.hooks.callHook("dom:renderTag",m,r,l);u.head&&r.head.appendChild(u.head),u.bodyOpen&&r.body.insertBefore(u.bodyOpen,r.body.firstChild),u.bodyClose&&r.body.appendChild(u.bodyClose);for(const m in o.pendingSideEffects)o.pendingSideEffects[m]();e._dom=o,await e.hooks.callHook("dom:rendered",{renders:s}),n()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function debouncedRenderDOMHead(e,t={}){const r=t.delayFn||(i=>setTimeout(i,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(i=>r(()=>renderDOMHead(e,t).then(()=>{delete e._domDebouncedUpdatePromise,i()})))}function DomPlugin(e){return t=>{var i,n;const r=((n=(i=t.resolvedOptions.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:n.innerHTML)||!1;return r&&t.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":s=>{debouncedRenderDOMHead(s,e)}}}}}const UsesMergeStrategy=new Set(["templateParams","htmlAttrs","bodyAttrs"]),DedupePlugin={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=tagDedupeKey(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const r=t||(e.key?`${e.tag}:${e.key}`:!1);r&&(e._d=r)},"tags:resolve":e=>{const t=Object.create(null);for(const i of e.tags){const n=(i.key?`${i.tag}:${i.key}`:i._d)||hashTag(i),s=t[n];if(s){let l=i==null?void 0:i.tagDuplicateStrategy;if(!l&&UsesMergeStrategy.has(i.tag)&&(l="merge"),l==="merge"){const f=s.props;f.style&&i.props.style&&(f.style[f.style.length-1]!==";"&&(f.style+=";"),i.props.style=`${f.style} ${i.props.style}`),f.class&&i.props.class?i.props.class=`${f.class} ${i.props.class}`:f.class&&(i.props.class=f.class),t[n].props={...f,...i.props};continue}else if(i._e===s._e){s._duped=s._duped||[],i._d=`${s._d}:${s._duped.length+1}`,s._duped.push(i);continue}else if(tagWeight(i)>tagWeight(s))continue}if(!(i.innerHTML||i.textContent||Object.keys(i.props).length!==0)&&HasElementTags.has(i.tag)){delete t[n];continue}t[n]=i}const r=[];for(const i in t){const n=t[i],s=n._duped;r.push(n),s&&(delete n._duped,r.push(...s))}e.tags=r,e.tags=e.tags.filter(i=>!(i.tag==="meta"&&(i.props.name||i.props.property)&&!i.props.content))}}},ValidEventTags=new Set(["script","link","bodyAttrs"]),EventHandlersPlugin=e=>({hooks:{"tags:resolve":t=>{for(const r of t.tags){if(!ValidEventTags.has(r.tag))continue;const i=r.props;for(const n in i){if(n[0]!=="o"||n[1]!=="n"||!Object.prototype.hasOwnProperty.call(i,n))continue;const s=i[n];typeof s=="function"&&(e.ssr&&NetworkEvents.has(n)?i[n]=`this.dataset.${n}fired = true`:delete i[n],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[n]=s)}e.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||hashCode(r.props.src||r.props.href))}},"dom:renderTag":({$el:t,tag:r})=>{var n,s;const i=t==null?void 0:t.dataset;if(i)for(const o in i){if(!o.endsWith("fired"))continue;const l=o.slice(0,-5);NetworkEvents.has(l)&&((s=(n=r._eventHandlers)==null?void 0:n[l])==null||s.call(t,new Event(l.substring(2))))}}}}),DupeableTags=new Set(["link","style","script","noscript"]),HashKeyedPlugin={hooks:{"tag:normalise":({tag:e})=>{e.key&&DupeableTags.has(e.tag)&&(e.props["data-hid"]=e._h=hashCode(e.key))}}},PayloadPlugin={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let r=!1;for(const i of e.tags)i._m!=="server"||i.tag!=="titleTemplate"&&i.tag!=="templateParams"&&i.tag!=="title"||(t[i.tag]=i.tag==="title"||i.tag==="titleTemplate"?i.textContent:i.props,r=!0);r&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},SortPlugin={hooks:{"tags:resolve":e=>{var t;for(const r of e.tags)if(typeof r.tagPriority=="string")for(const{prefix:i,offset:n}of SortModifiers){if(!r.tagPriority.startsWith(i))continue;const s=r.tagPriority.substring(i.length),o=(t=e.tags.find(l=>l._d===s))==null?void 0:t._p;if(o!==void 0){r._p=o+n;break}}e.tags.sort((r,i)=>{const n=tagWeight(r),s=tagWeight(i);return n<s?-1:n>s?1:r._p-i._p})}}},SupportedAttrs={meta:"content",link:"href",htmlAttrs:"lang"},contentAttrs=["innerHTML","textContent"],TemplateParamsPlugin=e=>({hooks:{"tags:resolve":t=>{var o;const{tags:r}=t;let i;for(let l=0;l<r.length;l+=1)r[l].tag==="templateParams"&&(i=t.tags.splice(l,1)[0].props,l-=1);const n=i||{},s=n.separator||"|";delete n.separator,n.pageTitle=processTemplateParams(n.pageTitle||((o=r.find(l=>l.tag==="title"))==null?void 0:o.textContent)||"",n,s);for(const l of r){if(l.processTemplateParams===!1)continue;const f=SupportedAttrs[l.tag];
22if(f&&typeof l.props[f]=="string")l.props[f]=processTemplateParams(l.props[f],n,s);else if(l.processTemplateParams||l.tag==="titleTemplate"||l.tag==="title")for(const d of contentAttrs)typeof l[d]=="string"&&(l[d]=processTemplateParams(l[d],n,s,l.tag==="script"&&l.props.type.endsWith("json")))}e._templateParams=n,e._separator=s},"tags:afterResolve":({tags:t})=>{let r;for(let i=0;i<t.length;i+=1){const n=t[i];n.tag==="title"&&n.processTemplateParams!==!1&&(r=n)}r!=null&&r.textContent&&(r.textContent=processTemplateParams(r.textContent,e._templateParams,e._separator))}}}),TitleTemplatePlugin={hooks:{"tags:resolve":e=>{const{tags:t}=e;let r,i;for(let n=0;n<t.length;n+=1){const s=t[n];s.tag==="title"?r=s:s.tag==="titleTemplate"&&(i=s)}if(i&&r){const n=resolveTitleTemplate(i.textContent,r.textContent);n!==null?r.textContent=n||r.textContent:e.tags.splice(e.tags.indexOf(r),1)}else if(i){const n=resolveTitleTemplate(i.textContent);n!==null&&(i.textContent=n,i.tag="title",i=void 0)}i&&e.tags.splice(e.tags.indexOf(i),1)}}},XSSPlugin={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let activeHead;function createHead$1(e={}){const t=createHeadCore(e);return t.use(DomPlugin()),activeHead=t}function filterMode(e,t){return!e||e==="server"&&t||e==="client"&&!t}function createHeadCore(e={}){const t=createHooks();t.addHooks(e.hooks||{}),e.document=e.document||(IsBrowser?document:void 0);const r=!e.document,i=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let n=0,s=[];const o=[],l={plugins:o,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(f){const d=typeof f=="function"?f(l):f;(!d.key||!o.some(u=>u.key===d.key))&&(o.push(d),filterMode(d.mode,r)&&t.addHooks(d.hooks||{}))},push(f,d){d==null||delete d.head;const u={_i:n++,input:f,...d};return filterMode(u.mode,r)&&(s.push(u),i()),{dispose(){s=s.filter(y=>y._i!==u._i),i()},patch(y){for(const m of s)m._i===u._i&&(m.input=u.input=y);i()}}},async resolveTags(){const f={tags:[],entries:[...s]};await t.callHook("entries:resolve",f);for(const d of f.entries){const u=d.resolvedInput||d.input;if(d.resolvedInput=await(d.transform?d.transform(u):u),d.resolvedInput)for(const y of await normaliseEntryTags(d)){const m={tag:y,entry:d,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",m),f.tags.push(m.tag)}}return await t.callHook("tags:beforeResolve",f),await t.callHook("tags:resolve",f),await t.callHook("tags:afterResolve",f),f.tags},ssr:r};return[DedupePlugin,PayloadPlugin,EventHandlersPlugin,HashKeyedPlugin,SortPlugin,TemplateParamsPlugin,TitleTemplatePlugin,XSSPlugin,...(e==null?void 0:e.plugins)||[]].forEach(f=>l.use(f)),l.hooks.callHook("init",l),l}function getActiveHead(){return activeHead}const Vue3=version[0]==="3";function resolveUnref(e){return typeof e=="function"?e():unref(e)}function resolveUnrefHeadInput(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=resolveUnref(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(r=>resolveUnrefHeadInput(r));if(typeof t=="object"){const r={};for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)){if(i==="titleTemplate"||i[0]==="o"&&i[1]==="n"){r[i]=unref(t[i]);continue}r[i]=resolveUnrefHeadInput(t[i])}return r}return t}const VueReactivityPlugin={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=resolveUnrefHeadInput(t.input)}}},headSymbol="usehead";function vueInstall(e){return{install(r){Vue3&&(r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(headSymbol,e))}}.install}function createHead(e={}){e.domDelayFn=e.domDelayFn||(r=>nextTick(()=>setTimeout(()=>r(),0)));const t=createHead$1(e);return t.use(VueReactivityPlugin),t.install=vueInstall(t),t}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__unhead_injection_handler__";function setHeadInjectionHandler(e){_global[globalKey]=e}function injectHead(){if(globalKey in _global)return _global[globalKey]();const e=inject(headSymbol);return e||getActiveHead()}function useHead(e,t={}){const r=t.head||injectHead();if(r)return r.ssr?r.push(e,t):clientUseHead(r,e,t)}function clientUseHead(e,t,r={}){const i=ref(!1),n=ref({});watchEffect(()=>{n.value=i.value?{}:resolveUnrefHeadInput(t)});const s=e.push(n.value,r);return watch(n,l=>{s.patch(l)}),getCurrentInstance()&&(onBeforeUnmount(()=>{s.dispose()}),onDeactivated(()=>{i.value=!0}),onActivated(()=>{i.value=!1})),s}let manifest,matcher;function fetchManifest(){return manifest=$fetch(buildAssetsURL(`builds/meta/${useRuntimeConfig().app.buildId}.json`),{responseType:"json"}),manifest.then(e=>{matcher=createMatcherFromExport(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),manifest}function getAppManifest(){return manifest||fetchManifest()}async function getRouteRules(e){if(await getAppManifest(),!matcher)return console.error("[nuxt] Error creating app manifest matcher.",matcher),{};try{return defu({},...matcher.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function loadPayload(e,t={}){const r=await _getPayloadURL(e,t),i=useNuxtApp(),n=i._payloadCache=i._payloadCache||{};return r in n?n[r]||null:(n[r]=isPrerendered(e).then(s=>s?_importPayload(r).then(o=>o||(delete n[r],null)):(n[r]=null,null)),n[r])}const filename="_payload.json";async function _getPayloadURL(e,t={}
22){const r=new URL(e,"http://localhost");if(r.host!=="localhost"||hasProtocol(r.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const i=useRuntimeConfig(),n=t.hash||(t.fresh?Date.now():i.app.buildId),s=i.app.cdnURL,o=s&&await isPrerendered(e)?s:i.app.baseURL;return joinURL(o,r.pathname,filename+(n?`?${n}`:""))}async function _importPayload(e){const t=fetch(e).then(r=>r.text().then(parsePayload));try{return await t}catch(r){console.warn("[nuxt] Cannot load payload ",e,r)}return null}async function isPrerendered(e=useRoute$1().path){if(e=withoutTrailingSlash(e),(await getAppManifest()).prerendered.includes(e))return!0;const r=await getRouteRules(e);return!!r.prerender&&!r.redirect}let payloadCache=null;async function getNuxtClientPayload(){var i;if(payloadCache)return payloadCache;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await parsePayload(e.textContent||""),r=e.dataset.src?await _importPayload(e.dataset.src):void 0;return payloadCache={...t,...r,...window.__NUXT__},(i=payloadCache.config)!=null&&i.public&&(payloadCache.config.public=reactive(payloadCache.config.public)),payloadCache}async function parsePayload(e){return await parse$1(e,useNuxtApp()._payloadRevivers)}function definePayloadReviver(e,t){useNuxtApp()._payloadRevivers[e]=t}const revivers=[["NuxtError",e=>createError(e)],["EmptyShallowRef",e=>shallowRef(e==="_"?void 0:e==="0n"?BigInt(0):destr(e))],["EmptyRef",e=>ref(e==="_"?void 0:e==="0n"?BigInt(0):destr(e))],["ShallowRef",e=>shallowRef(e)],["ShallowReactive",e=>shallowReactive(e)],["Ref",e=>ref(e)],["Reactive",e=>reactive(e)]],revive_payload_client_4sVQNw7RlN=defineNuxtPlugin({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,r;for(const[i,n]of revivers)definePayloadReviver(i,n);Object.assign(e.payload,([t,r]=executeAsync(()=>e.runWithContext(getNuxtClientPayload)),t=await t,r(),t)),window.__NUXT__=e.payload}}),unheadPlugins=[],unhead_KgADcZ0jPj=defineNuxtPlugin({name:"nuxt:head",enforce:"pre",setup(e){const t=createHead({plugins:unheadPlugins});setHeadInjectionHandler(()=>useNuxtApp().vueApp._context.provides.usehead),e.vueApp.use(t);{let r=!0;const i=async()=>{r=!1,await renderDOMHead(t)};t.hooks.hook("dom:beforeRender",n=>{n.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||i()}),e.hooks.hook("app:error",i),e.hooks.hook("app:suspense:resolve",i)}}});/*!
23  * vue-router v4.5.0
24  * (c) 2024 Eduardo San Martin Morote
25  * @license MIT
26  */const isBrowser$1=typeof document<"u";function isRouteComponent(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function isESModule(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&isRouteComponent(e.default)}const assign$1=Object.assign;function applyToParams(e,t){const r={};for(const i in t){const n=t[i];r[i]=isArray$1(n)?n.map(e):e(n)}return r}const noop$2=()=>{},isArray$1=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return e==null?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,r="/"){let i,n={},s="",o="";const l=t.indexOf("#");let f=t.indexOf("?");return l<f&&l>=0&&(f=-1),f>-1&&(i=t.slice(0,f),s=t.slice(f+1,l>-1?l:t.length),n=e(s)),l>-1&&(i=i||t.slice(0,l),o=t.slice(l,t.length)),i=resolveRelativePath(i??t,r),{fullPath:i+(s&&"?")+s+o,path:i,query:n,hash:decode(o)}}function stringifyURL(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function stripBase(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function isSameRouteLocation(e,t,r){const i=t.matched.length-1,n=r.matched.length-1;return i>-1&&i===n&&isSameRouteRecord(t.matched[i],r.matched[n])&&isSameRouteLocationParams(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!isSameRouteLocationParamsValue(e[r],t[r]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray$1(e)?isEquivalentArray(e,t):isArray$1(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray$1(t)?e.length===t.length&&e.every((r,i)=>r===t[i]):e.length===1&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),i=e.split("/"),n=i[i.length-1];(n===".."||n===".")&&i.push("");let s=r.length-1,o,l;for(o=0;o<i.length;o++)if(l=i[o],l!==".")if(l==="..")s>1&&s--;else break;return r.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var NavigationType;(function(e){e.pop="pop",e.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(e){e.back="back",e.forward="forward",e.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(e){if(!e)if(isBrowser$1){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),removeTrailingSlash(e)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){const r=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-r.left-(t.left||0),top:i.top-r.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(e){let t;if("el"in e){const r=e.el,i=typeof r=="string"&&r.startsWith("#"),n=typeof r=="string"?i?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!n)return;t=getElementPosition(n,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}
26function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation$1(e,t){const{pathname:r,search:i,hash:n}=t,s=e.indexOf("#");if(s>-1){let l=n.includes(e.slice(s))?e.slice(s).length:1,f=n.slice(l);return f[0]!=="/"&&(f="/"+f),stripBase(f,"")}return stripBase(r,e)+i+n}function useHistoryListeners(e,t,r,i){let n=[],s=[],o=null;const l=({state:m})=>{const v=createCurrentLocation$1(e,location),S=r.value,E=t.value;let A=0;if(m){if(r.value=v,t.value=m,o&&o===S){o=null;return}A=E?m.position-E.position:0}else i(v);n.forEach(P=>{P(r.value,S,{delta:A,type:NavigationType.pop,direction:A?A>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function f(){o=r.value}function d(m){n.push(m);const v=()=>{const S=n.indexOf(m);S>-1&&n.splice(S,1)};return s.push(v),v}function u(){const{history:m}=window;m.state&&m.replaceState(assign$1({},m.state,{scroll:computeScrollPosition()}),"")}function y(){for(const m of s)m();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:f,listen:d,destroy:y}}function buildState(e,t,r,i=!1,n=!1){return{back:e,current:t,forward:r,replaced:i,position:window.history.length,scroll:n?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:r}=window,i={value:createCurrentLocation$1(e,r)},n={value:t.state};n.value||s(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(f,d,u){const y=e.indexOf("#"),m=y>-1?(r.host&&document.querySelector("base")?e:e.slice(y))+f:createBaseLocation()+e+f;try{t[u?"replaceState":"pushState"](d,"",m),n.value=d}catch(v){console.error(v),r[u?"replace":"assign"](m)}}function o(f,d){const u=assign$1({},t.state,buildState(n.value.back,f,n.value.forward,!0),d,{position:n.value.position});s(f,u,!0),i.value=f}function l(f,d){const u=assign$1({},n.value,t.state,{forward:f,scroll:computeScrollPosition()});s(u.current,u,!0);const y=assign$1({},buildState(i.value,f,null),{position:u.position+1},d);s(f,y,!1),i.value=f}return{location:i,state:n,push:l,replace:o}}function createWebHistory(e){e=normalizeBase(e);const t=useHistoryStateNavigation(e),r=useHistoryListeners(e,t.state,t.location,t.replace);function i(s,o=!0){o||r.pauseListeners(),history.go(s)}const n=assign$1({location:"",base:e,go:i,createHref:createHref.bind(null,e)},t,r);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>t.state.value}),n}function createWebHashHistory(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return typeof e=="string"||e&&typeof e=="object"}function isRouteName(e){return typeof e=="string"||typeof e=="symbol"}const NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(e,t){return assign$1(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(t==null||!!(e.type&t))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const r=assign$1({},BASE_PATH_PARSER_OPTIONS,t),i=[];let n=r.start?"^":"";const s=[];for(const d of e){const u=d.length?[]:[90];r.strict&&!d.length&&(n+="/");for(let y=0;y<d.length;y++){const m=d[y];let v=40+(r.sensitive?.25:0);if(m.type===0)y||(n+="/"),n+=m.value.replace(REGEX_CHARS_RE,"\\$&"),v+=40;else if(m.type===1){const{value:S,repeatable:E,optional:A,regexp:P}=m;s.push({name:S,repeatable:E,optional:A});const C=P||BASE_PARAM_PATTERN;if(C!==BASE_PARAM_PATTERN){v+=10;try{new RegExp(`(${C})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${S}" (${C}): `+_.message)}}let g=E?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;y||(g=A&&d.length<2?`(?:/${g})`:"/"+g),A&&(g+="?"),n+=g,v+=20,A&&(v+=-8),E&&(v+=-20),C===".*"&&(v+=-50)}u.push(v)}i.push(u)}if(r.strict&&r.end){const d=i.length-1;i[d][i[d].length-1]+=.7000000000000001}r.strict||(n+="/?"),r.end?n+="$":r.strict&&!n.endsWith("/")&&(n+="(?:/|$)");const o=new RegExp(n,r.sensitive?"":"i");function l(d){const u=d.match(o),y={};if(!u)return null;for(let m=1;m<u.length;m++){const v=u[m]||"",S=s[m-1];y[S.name]=v&&S.repeatable?v.split("/"):v}return y}function f(d){let u="",y=!1;for(const m of e){(!y||!u.endsWith("/"))&&(u+="/"),y=!1;for(const v of m)if(v.type===0)u+=v.value;else if(v.type===1){const{value:S,repeatable:E,optional:A}=v,P=S in d?d[S]:"";if(isArray$1(P)&&!E)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const C=isArray$1(P)?P.join("/"):P;if(!C)if(A)m.length<2&&(u.endsWith("/")?u=u.slice(0,-1):y=!0);else throw new Error(`Missing required param "${S}"`);u+=C}}return u||"/"}return{re:o,score:i,keys:s,parse:l,stringify:f}}function compareScoreArray(e,t){let r=0;for(;r<e.length&&r<t.length;){const i=t[r]-e[r];if(i)return i;r++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function comparePathParserScore(e,t){let r=0;const i=e.score,n=t.score;for(;r<i.length&&r<n.length;){const s=compareScoreArray(i[r],n[r]);if(s)return s;r++}if(Math.abs(n.length-i.length)===1){if(isLastScoreNegative(i))return 1;if(isLastScoreNegative(n))return-1}return n.length-i.length}function isLastScoreNegative(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if(e==="/")return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${r})/"${d}": ${v}`)}let r=0,i=r;const n=[];let s;function o(){s&&n.push(s),s=[]}let l=0,f,d="",u="";function y(){d&&(r===0?s.push({type:0,value:d}):r===1||r===2||r===3?(s.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:d,regexp:u,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),d="")}function m(){d+=f}for(;l<e.length;){if(f=e[l++],f==="\\"&&r!==2){i=r,r=4;continue}switch(r){case 0:f==="/"?(d&&y(),o()):f===":"?(y(),r=1):m();break;case 4:m(),r=i;break;case 1:f==="("?r=2:VALID_PARAM_RE.test(f)?m():(y(),r=0,f!=="*"&&f!=="?"&&f!=="+"&&l--);break;case 2:f===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+f:r=3:u+=f;break;case 3:y(),r=0,f!=="*"&&f!=="?"&&f!=="+"&&l--,u="";break;default:t("Unknown state");break}}return r===2&&t(`Unfinished custom RegExp for param "${d}"`),y(),o(),n}function createRouteRecordMatcher(e,t,r){const i=tokensToParser(tokenizePath(e.path),r),n=assign$1(i,{record:e,parent:t,children:[],alias:[]});return t&&!n.record.aliasOf==!t.record.aliasOf&&t.children.push(n),n}function createRouterMatcher(e,t){const r=[],i=new Map;t=mergeOptions({strict:!1,end:!0,sensitive:!1},t);function n(y){return i.get(y)}function s(y,m,v){const S=!v,E=normalizeRouteRecord(y);E.aliasOf=v&&v.record;const A=mergeOptions(t,y),P=[E];
vendor: 14,230 bytes, line 26
26if("alias"in y){const _=typeof y.alias=="string"?[y.alias]:y.alias;for(const x of _)P.push(normalizeRouteRecord(assign$1({},E,{components:v?v.record.components:E.components,path:x,aliasOf:v?v.record:E})))}let C,g;for(const _ of P){const{path:x}=_;if(m&&x[0]!=="/"){const w=m.record.path,M=w[w.length-1]==="/"?"":"/";_.path=m.record.path+(x&&M+x)}if(C=createRouteRecordMatcher(_,m,A),v?v.alias.push(C):(g=g||C,g!==C&&g.alias.push(C),S&&y.name&&!isAliasRecord(C)&&o(y.name)),isMatchable(C)&&f(C),E.children){const w=E.children;for(let M=0;M<w.length;M++)s(w[M],C,v&&v.children[M])}v=v||C}return g?()=>{o(g)}:noop$2}function o(y){if(isRouteName(y)){const m=i.get(y);m&&(i.delete(y),r.splice(r.indexOf(m),1),m.children.forEach(o),m.alias.forEach(o))}else{const m=r.indexOf(y);m>-1&&(r.splice(m,1),y.record.name&&i.delete(y.record.name),y.children.forEach(o),y.alias.forEach(o))}}function l(){return r}function f(y){const m=findInsertionIndex(y,r);r.splice(m,0,y),y.record.name&&!isAliasRecord(y)&&i.set(y.record.name,y)}function d(y,m){let v,S={},E,A;if("name"in y&&y.name){if(v=i.get(y.name),!v)throw createRouterError(1,{location:y});A=v.record.name,S=assign$1(paramsFromLocation(m.params,v.keys.filter(g=>!g.optional).concat(v.parent?v.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),y.params&&paramsFromLocation(y.params,v.keys.map(g=>g.name))),E=v.stringify(S)}else if(y.path!=null)E=y.path,v=r.find(g=>g.re.test(E)),v&&(S=v.parse(E),A=v.record.name);else{if(v=m.name?i.get(m.name):r.find(g=>g.re.test(m.path)),!v)throw createRouterError(1,{location:y,currentLocation:m});A=v.record.name,S=assign$1({},m.params,y.params),E=v.stringify(S)}const P=[];let C=v;for(;C;)P.unshift(C.record),C=C.parent;return{name:A,path:E,params:S,matched:P,meta:mergeMetaFields(P)}}e.forEach(y=>s(y));function u(){r.length=0,i.clear()}return{addRoute:s,resolve:d,removeRoute:o,clearRoutes:u,getRoutes:l,getRecordMatcher:n}}function paramsFromLocation(e,t){const r={};for(const i of t)i in e&&(r[i]=e[i]);return r}function normalizeRouteRecord(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function normalizeRecordProps(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const i in e.components)t[i]=typeof r=="object"?r[i]:r;return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((t,r)=>assign$1(t,r.meta),{})}function mergeOptions(e,t){const r={};for(const i in e)r[i]=i in t?t[i]:e[i];return r}function findInsertionIndex(e,t){let r=0,i=t.length;for(;r!==i;){const s=r+i>>1;comparePathParserScore(e,t[s])<0?i=s:r=s+1}const n=getInsertionAncestor(e);return n&&(i=t.lastIndexOf(n,i-1)),i}function getInsertionAncestor(e){let t=e;for(;t=t.parent;)if(isMatchable(t)&&comparePathParserScore(e,t)===0)return t}function isMatchable({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function parseQuery(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;n<i.length;++n){const s=i[n].replace(PLUS_RE," "),o=s.indexOf("="),l=decode(o<0?s:s.slice(0,o)),f=o<0?null:decode(s.slice(o+1));if(l in t){let d=t[l];isArray$1(d)||(d=t[l]=[d]),d.push(f)}else t[l]=f}return t}function stringifyQuery(e){let t="";for(let r in e){const i=e[r];if(r=encodeQueryKey(r),i==null){i!==void 0&&(t+=(t.length?"&":"")+r);continue}(isArray$1(i)?i.map(s=>s&&encodeQueryValue(s)):[i&&encodeQueryValue(i)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+r,s!=null&&(t+="="+s))})}return t}function normalizeQuery(e){const t={};for(const r in e){const i=e[r];i!==void 0&&(t[r]=isArray$1(i)?i.map(n=>n==null?null:""+n):i==null?i:""+i)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];function t(i){return e.push(i),()=>{const n=e.indexOf(i);n>-1&&e.splice(n,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function guardToPromiseFn(e,t,r,i,n,s=o=>o()){const o=i&&(i.enterCallbacks[n]=i.enterCallbacks[n]||[]);return()=>new Promise((l,f)=>{const d=m=>{m===!1?f(createRouterError(4,{from:r,to:t})):m instanceof Error?f(m):isRouteLocation(m)?f(createRouterError(2,{from:t,to:m})):(o&&i.enterCallbacks[n]===o&&typeof m=="function"&&o.push(m),l())},u=s(()=>e.call(i&&i.instances[n],t,r,d));let y=Promise.resolve(u);e.length<3&&(y=y.then(d)),y.catch(m=>f(m))})}function extractComponentsGuards(e,t,r,i,n=s=>s()){const s=[];for(const o of e)for(const l in o.components){let f=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(isRouteComponent(f)){const u=(f.__vccOpts||f)[t];u&&s.push(guardToPromiseFn(u,r,i,o,l,n))}else{let d=f();s.push(()=>d.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const y=isESModule(u)?u.default:u;o.mods[l]=u,o.components[l]=y;const v=(y.__vccOpts||y)[t];return v&&guardToPromiseFn(v,r,i,o,l,n)()}))}}return s}function useLink(e){const t=inject(routerKey),r=inject(routeLocationKey),i=computed(()=>{const f=unref(e.to);return t.resolve(f)}),n=computed(()=>{const{matched:f}=i.value,{length:d}=f,u=f[d-1],y=r.matched;if(!u||!y.length)return-1;const m=y.findIndex(isSameRouteRecord.bind(null,u));if(m>-1)return m;const v=getOriginalPath(f[d-2]);return d>1&&getOriginalPath(u)===v&&y[y.length-1].path!==v?y.findIndex(isSameRouteRecord.bind(null,f[d-2])):m}),s=computed(()=>n.value>-1&&includesParams(r.params,i.value.params)),o=computed(()=>n.value>-1&&n.value===r.matched.length-1&&isSameRouteLocationParams(r.params,i.value.params));function l(f={}){if(guardEvent(f)){const d=t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$2);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:i,href:computed(()=>i.value.href),isActive:s,isExactActive:o,navigate:l}}function preferSingleVNode(e){return e.length===1?e[0]:e}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(e,{slots:t}){const r=reactive(useLink(e)),{options:i}=inject(routerKey),n=computed(()=>({[getLinkClass(e.activeClass,i.linkActiveClass,"router-link-active")]:r.isActive,[getLinkClass(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const s=t.default&&preferSingleVNode(t.default(r));return e.custom?s:h("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:n.value},s)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){for(const r in t){const i=t[r],n=e[r];if(typeof i=="string"){if(i!==n)return!1}else if(!isArray$1(n)||n.length!==i.length||i.some((s,o)=>s!==n[o]))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,r)=>e??t??r,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const i=inject(routerViewLocationKey),n=computed(()=>e.route||i.value),s=inject(viewDepthKey,0),o=computed(()=>{let d=unref(s);const{matched:u}=n.value;let y;for(;(y=u[d])&&!y.components;)d++;return d}),l=computed(()=>n.value.matched[o.value]);provide(viewDepthKey,computed(()=>o.value+1)),provide(matchedRouteKey,l),provide(routerViewLocationKey,n);const f=ref();return watch(()=>[f.value,l.value,e.name],([d,u,y],[m,v,S])=>{u&&(u.instances[y]=d,v&&v!==u&&d&&d===m&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),d&&u&&(!v||!isSameRouteRecord(u,v)||!m)&&(u.enterCallbacks[y]||[]).forEach(E=>E(d))},{flush:"post"}),()=>{const d=n.value,u=e.name,y=l.value,m=y&&y.components[u];if(!m)return normalizeSlot(r.default,{Component:m,route:d});const v=y.props[u],S=v?v===!0?d.params:typeof v=="function"?v(d):v:null,A=h(m,assign$1({},S,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(y.instances[u]=null)},ref:f}));return normalizeSlot(r.default,{Component:A,route:d})||A}}});function normalizeSlot(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),r=e.parseQuery||parseQuery,i=e.stringifyQuery||stringifyQuery,n=e.history,s=useCallbacks(),o=useCallbacks(),l=useCallbacks(),f=shallowRef(START_LOCATION_NORMALIZED);let d=START_LOCATION_NORMALIZED;isBrowser$1&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=applyToParams.bind(null,W=>""+W),y=applyToParams.bind(null,encodeParam),m=applyToParams.bind(null,decode);function v(W,re){let ee,ne;return isRouteName(W)?(ee=t.getRecordMatcher(W),ne=re):ne=W,t.addRoute(ne,ee)}function S(W){const re=t.getRecordMatcher(W);re&&t.removeRoute(re)}function E(){return t.getRoutes().map(W=>W.record)}function A(W){return!!t.getRecordMatcher(W)}function P(W,re){if(re=assign$1({},re||f.value),typeof W=="string"){const F=parseURL(r,W,re.path),H=t.resolve({path:F.path},re),q=n.createHref(F.fullPath);return assign$1(F,H,{params:m(H.params),hash:decode(F.hash),redirectedFrom:void 0,href:q})}let ee;if(W.path!=null)ee=assign$1({},W,{path:parseURL(r,W.path,re.path).path});else{const F=assign$1({},W.params);for(const H in F)F[H]==null&&delete F[H];ee=assign$1({},W,{params:y(F)}),re.params=y(re.params)}const ne=t.resolve(ee,re),fe=W.hash||"";ne.params=u(m(ne.params));const pe=stringifyURL(i,assign$1({},W,{hash:encodeHash(fe),path:ne.path})),O=n.createHref(pe);return assign$1({fullPath:pe,hash:fe,query:i===stringifyQuery?normalizeQuery(W.query):W.query||{}},ne,{redirectedFrom:void 0,href:O})}function C(W){return typeof W=="string"?parseURL(r,W,f.value.path):assign$1({},W)}function g(W,re){if(d!==W)return createRouterError(8,{from:re,to:W})}function _(W){return M(W)}function x(W){return _(assign$1(C(W),{replace:!0}))}function w(W){const re=W.matched[W.matched.length-1];if(re&&re.redirect){const{redirect:ee}=re;let ne=typeof ee=="function"?ee(W):ee;return typeof ne=="string"&&(ne=ne.includes("?")||ne.includes("#")?ne=C(ne):{path:ne},ne.params={}),assign$1({query:W.query,hash:W.hash,params:ne.path!=null?{}:W.params},ne)}}function M(W,re){const ee=d=P(W),ne=f.value,fe=W.state,pe=W.force,O=W.replace===!0,F=w(ee);if(F)return M(assign$1(C(F),{state:typeof F=="object"?assign$1({},fe,F.state):fe,force:pe,replace:O}),re||ee);const H=ee;H.redirectedFrom=re;let q;return!pe&&isSameRouteLocation(i,ne,ee)&&(q=createRouterError(16,{to:H,from:ne}),N(ne,ne,!0,!1)),(q?Promise.resolve(q):D(H,ne)).catch(K=>isNavigationFailure(K)?isNavigationFailure(K,2)?K:$(K):T(K,H,ne)).then(K=>{if(K){if(isNavigationFailure(K,2))return M(assign$1({replace:O},C(K.to),{state:typeof K.to=="object"?assign$1({},fe,K.to.state):fe,force:pe}),re||H)}else K=V(H,ne,!0,O,fe);return j(H,ne,K),K})}function I(W,re){const ee=g(W,re);return ee?Promise.reject(ee):Promise.resolve()}function B(W){const re=ce.values().next().value;return re&&typeof re.runWithContext=="function"?re.runWithContext(W):W()}function D(W,re){let ee;const[ne,fe,pe]=extractChangingRecords(W,re);ee=extractComponentsGuards(ne.reverse(),"beforeRouteLeave",W,re);for(const F of ne)F.leaveGuards.forEach(H=>{ee.push(guardToPromiseFn(H,W,re))});const O=I.bind(null,W,re);return ee.push(O),ue(ee).then(()=>{ee=[];for(const F of s.list())ee.push(guardToPromiseFn(F,W,re));return ee.push(O),ue(ee)}).then(()=>{ee=extractComponentsGuards(fe,"beforeRouteUpdate",W,re);for(const F of fe)F.updateGuards.forEach(H=>{ee.push(guardToPromiseFn(H,W,re))});return ee.push(O),ue(ee)}).then(()=>{ee=[];for(const F of pe)if(F.beforeEnter)if(isArray$1(F.beforeEnter))for(const H of F.beforeEnter)ee.push(guardToPromiseFn(H,W,re));else ee.push(guardToPromiseFn(F.beforeEnter,W,re));return ee.push(O),ue(ee)}).then(()=>(W.matched.forEach(F=>F.enterCallbacks={}),ee=extractComponentsGuards(pe,"beforeRouteEnter",W,re,B),ee.push(O),ue(ee))).then(()=>{ee=[];for(const F of o.list())ee.push(guardToPromiseFn(F,W,re));return ee.push(O),ue(ee)}).catch(F=>isNavigationFailure(F,8)?F:Promise.reject(F))}function j(W,re,ee){l.list().forEach(ne=>B(()=>ne(W,re,ee)))}function V(W,re,ee,ne,fe){const pe=g(W,re);if(pe)return pe;const O=re===START_LOCATION_NORMALIZED,F=isBrowser$1?history.state:{};ee&&(ne||O?n.replace(W.fullPath,assign$1({scroll:O&&F&&F.scroll},fe)):n.push(W.fullPath,fe)),f.value=W,N(W,re,ee,O),$()}let G;function U(){G||(G=n.listen((W,re,ee)=>{if(!de.listening)return;const ne=P(W),fe=w(ne);if(fe){M(assign$1(fe,{replace:!0,force:!0}),ne).catch(noop$2);return}d=ne;const pe=f.value;isBrowser$1&&saveScrollPosition(getScrollKey(pe.fullPath,ee.delta),computeScrollPosition()),D(ne,pe).catch(O=>isNavigationFailure(O,12)?O:isNavigationFailure(O,2)?(M(assign$1(C(O.to),{force:!0}),ne).then(F=>{isNavigationFailure(F,20)&&!ee.delta&&ee.type===NavigationType.pop&&n.go(-1,!1)}).catch(noop$2),Promise.reject()):(ee.delta&&n.go(-ee.delta,!1),T(O,ne,pe))).then(O=>{O=O||V(ne,pe,!1),O&&(ee.delta&&!isNavigationFailure(O,8)?n.go(-ee.delta,!1):ee.type===NavigationType.pop&&isNavigationFailure(O,20)&&n.go(-1,!1)),j(ne,pe,O)}).catch(noop$2)}))}let z=useCallbacks(),R=useCallbacks(),L;function T(W,re,ee){$(W);const ne=R.list();return ne.length?ne.forEach(fe=>fe(W,re,ee)):console.error(W),Promise.reject(W)}function k(){return L&&f.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((W,re)=>{z.add([W,re])})}
26function $(W){return L||(L=!W,U(),z.list().forEach(([re,ee])=>W?ee(W):re()),z.reset()),W}function N(W,re,ee,ne){const{scrollBehavior:fe}=e;if(!isBrowser$1||!fe)return Promise.resolve();const pe=!ee&&getSavedScrollPosition(getScrollKey(W.fullPath,0))||(ne||!ee)&&history.state&&history.state.scroll||null;return nextTick().then(()=>fe(W,re,pe)).then(O=>O&&scrollToPosition(O)).catch(O=>T(O,W,re))}const Q=W=>n.go(W);let oe;const ce=new Set,de={currentRoute:f,listening:!0,addRoute:v,removeRoute:S,clearRoutes:t.clearRoutes,hasRoute:A,getRoutes:E,resolve:P,options:e,push:_,replace:x,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:s.add,beforeResolve:o.add,afterEach:l.add,onError:R.add,isReady:k,install(W){const re=this;W.component("RouterLink",RouterLink),W.component("RouterView",RouterView),W.config.globalProperties.$router=re,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(f)}),isBrowser$1&&!oe&&f.value===START_LOCATION_NORMALIZED&&(oe=!0,_(n.location).catch(fe=>{}));const ee={};for(const fe in START_LOCATION_NORMALIZED)Object.defineProperty(ee,fe,{get:()=>f.value[fe],enumerable:!0});W.provide(routerKey,re),W.provide(routeLocationKey,shallowReactive(ee)),W.provide(routerViewLocationKey,f);const ne=W.unmount;ce.add(W),W.unmount=function(){ce.delete(W),ce.size<1&&(d=START_LOCATION_NORMALIZED,G&&G(),G=null,f.value=START_LOCATION_NORMALIZED,oe=!1,L=!1),ne()}}};function ue(W){return W.reduce((re,ee)=>re.then(()=>B(ee)),Promise.resolve())}return de}function extractChangingRecords(e,t){const r=[],i=[],n=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const l=t.matched[o];l&&(e.matched.find(d=>isSameRouteRecord(d,l))?i.push(l):r.push(l));const f=e.matched[o];f&&(t.matched.find(d=>isSameRouteRecord(d,f))||n.push(f))}return[r,i,n]}function useRouter(){return inject(routerKey)}function useRoute(e){return inject(routeLocationKey)}const ROUTE_KEY_PARENTHESES_RE$1=/(:\w+)\([^)]+\)/g,ROUTE_KEY_SYMBOLS_RE$1=/(:\w+)[?+*]/g,ROUTE_KEY_NORMAL_RE$1=/:\w+/g,interpolatePath=(e,t)=>t.path.replace(ROUTE_KEY_PARENTHESES_RE$1,"$1").replace(ROUTE_KEY_SYMBOLS_RE$1,"$1").replace(ROUTE_KEY_NORMAL_RE$1,r=>{var i;return((i=e.params[r.slice(1)])==null?void 0:i.toString())||""}),generateRouteKey$1=(e,t)=>{const r=e.route.matched.find(n=>{var s;return((s=n.components)==null?void 0:s.default)===e.Component.type}),i=t??(r==null?void 0:r.meta.key)??(r&&interpolatePath(e.route,r));return typeof i=="function"?i(e.route):i},wrapInKeepAlive=(e,t)=>({default:()=>e?h(KeepAlive,e===!0?{}:e,t):t});function toArray(e){return Array.isArray(e)?e:[e]}const scriptRel="modulepreload",assetsURL=function(e,t){return new URL(e,t).href},seen={},__vitePreload=function(t,r,i){let n=Promise.resolve();if(r&&r.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),f=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));n=Promise.allSettled(r.map(d=>{if(d=assetsURL(d,i),d in seen)return;seen[d]=!0;const u=d.endsWith(".css"),y=u?'[rel="stylesheet"]':"";if(!!i)for(let S=o.length-1;S>=0;S--){const E=o[S];if(E.href===d&&(!u||E.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${y}`))return;const v=document.createElement("link");if(v.rel=u?"stylesheet":scriptRel,u||(v.as="script"),v.crossOrigin="",v.href=d,f&&v.setAttribute("nonce",f),document.head.appendChild(v),u)return new Promise((S,E)=>{v.addEventListener("load",S),v.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return n.then(o=>{for(const l of o||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})},__nuxt_page_meta$d={layout:"custom"},__nuxt_page_meta$c={layout:"custom"},__nuxt_page_meta$b={layout:"custom"},__nuxt_page_meta$a={layout:"sytizen"},__nuxt_page_meta$9={layout:"custom"},__nuxt_page_meta$8={layout:"default"},__nuxt_page_meta$7={layout:"default"},__nuxt_page_meta$6={layout:"default"},__nuxt_page_meta$5={layout:"custom"},__nuxt_page_meta$4={layout:"custom"},__nuxt_page_meta$3={layout:"custom"},__nuxt_page_meta$2={layout:"custom"},__nuxt_page_meta$1={layout:"custom"},__nuxt_page_meta=null,component_45stubnO9MU04yTU={},_routes=[{name:"about-us",path:"/about-us",component:()=>__vitePreload(()=>import("./Dae1owKe.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)},{name:"asset-management",path:"/asset-management",component:()=>__vitePreload(()=>import("./B1VdSGtW.js"),__vite__mapDeps([9,6,10]),import.meta.url)},{name:"automatic-saving",path:"/automatic-saving",meta:__nuxt_page_meta$d||{},component:()=>__vitePreload(()=>import("./C4FIwgcu.js"),__vite__mapDeps([11,1,12,13,14,6,15]),import.meta.url)},{name:"blog",path:"/blog",component:()=>__vitePreload(()=>import("./CezYY6kT.js"),__vite__mapDeps([16,17,1,12,18,19,20,21,22,6,23]),import.meta.url)},{name:"business-loan",path:"/business-loan",meta:__nuxt_page_meta$c||{},component:()=>__vitePreload(()=>import("./BXsUxH8q.js"),__vite__mapDeps([24,1,12,25,26,27,13,14,6,28]),import.meta.url)},{name:"business-saving",path:"/business-saving",meta:__nuxt_page_meta$b||{},component:()=>__vitePreload(()=>import("./BBERfRsq.js"),__vite__mapDeps([29,1,12,13,14,6,30]),import.meta.url)},{name:"campus-sytizens",path:"/campus-sytizens",meta:__nuxt_page_meta$a||{},component:()=>__vitePreload(()=>import("./Bv6m8gvp.js"),__vite__mapDeps([31,32,33,34]),import.meta.url)},{name:"careers",path:"/careers",component:()=>__vitePreload(()=>import("./CKgXtjAV.js"),__vite__mapDeps([35,17,1,12,18,19,20,26,27,36,37,38,6,39]),import.meta.url)},{name:"daily-saving-account",path:"/daily-saving-account",meta:__nuxt_page_meta$9||{},component:()=>__vitePreload(()=>import("./BKZC4VN3.js"),__vite__mapDeps([40,1,12,13,14,6,41]),import.meta.url)},{name:"demo",path:"/demo",component:()=>__vitePreload(()=>import("./CCJH9CIo.js"),[],import.meta.url)},{name:"faqs",path:"/faqs",component:()=>__vitePreload(()=>import("./CcNI4Zr2.js"),__vite__mapDeps([42,21,12,43,38,19,17,1,18,20,6,44,45]),import.meta.url)},{name:"index",path:"/",meta:__nuxt_page_meta$8||{},component:()=>__vitePreload(()=>import("./BDRA3NOg.js"),__vite__mapDeps([46,47,4,5,6,7,48,12,49]),import.meta.url)},{name:"investment",path:"/investment",meta:__nuxt_page_meta$7||{},component:()=>__vitePreload(()=>import("./5IjvXFSZ.js"),__vite__mapDeps([50,1,12,6,44,4,5,7,26,27,51,37,52,18,19,53,54,55,47,56,57]),import.meta.url)},{name:"legal-id",path:"/legal/:id()",component:()=>__vitePreload(()=>import("./BpfG1oei.js"),__vite__mapDeps([58,21,12,59,1,17,18,19,20,6,60]),import.meta.url)},{name:"loan-friends",path:"/loan-friends",component:()=>__vitePreload(()=>import("./C-8UU1_A.js"),__vite__mapDeps([61,1,12,36,4,5,6,7,26,27,18,19,21,55,47,56,62,63,64]),import.meta.url)},{name:"loans",path:"/loans",meta:__nuxt_page_meta$6||{},component:()=>__vitePreload(()=>import("./nSqoBAG0.js"),__vite__mapDeps([65,1,12,4,5,6,7,51,37,52,36,54,19,22,26,27,55,47,56,62,63,66]),import.meta.url)},{name:"online-saving-account",path:"/online-saving-account",meta:__nuxt_page_meta$5||{},component:()=>__vitePreload(()=>import("./MpZyuRt_.js"),__vite__mapDeps([67,1,12,13,14,6,68]),import.meta.url)},{name:"payday-loan",path:"/payday-loan",meta:__nuxt_page_meta$4||{},component:()=>__vitePreload(()=>import("./TXawvMUw.js"),__vite__mapDeps([69,1,12,25,26,27,13,14,6,70]),import.meta.url)}
26,{name:"personal-loan",path:"/personal-loan",meta:__nuxt_page_meta$3||{},component:()=>__vitePreload(()=>import("./BUmOVvsu.js"),__vite__mapDeps([71,1,12,25,26,27,13,14,6,72]),import.meta.url)},{name:"personal-saving",path:"/personal-saving",meta:__nuxt_page_meta$2||{},component:()=>__vitePreload(()=>import("./3czWjimJ.js"),__vite__mapDeps([73,1,12,13,14,6,74]),import.meta.url)},{name:"press",path:"/press",component:()=>__vitePreload(()=>import("./CyfqXhUa.js"),__vite__mapDeps([75,1,6,18,19,76]),import.meta.url)},{name:"security",path:"/security",component:()=>__vitePreload(()=>import("./DXxxzCQg.js"),__vite__mapDeps([77,17,1,12,18,19,20,26,27,43,38,6]),import.meta.url)},{name:"siml",path:"/siml",component:()=>__vitePreload(()=>import("./DoiiIJKT.js"),__vite__mapDeps([78,2,79,6,44,12,80]),import.meta.url)},{name:"sisl",path:"/sisl",component:()=>__vitePreload(()=>import("./CBw7xtWA.js"),__vite__mapDeps([81,47,1,2,48,12,6,82]),import.meta.url)},{name:"student-saving-account",path:"/student-saving-account",meta:__nuxt_page_meta$1||{},component:()=>__vitePreload(()=>import("./C_MS2xaP.js"),__vite__mapDeps([83,1,12,13,14,6,84]),import.meta.url)},{name:"sycamore-uk",path:"/sycamore-uk",component:()=>__vitePreload(()=>import("./B9gyAFB3.js"),__vite__mapDeps([85,2,79,12,6,86]),import.meta.url)},{name:"sycapedia",path:"/sycapedia",component:()=>__vitePreload(()=>import("./DuSoo3Qx.js"),__vite__mapDeps([87,17,1,12,18,19,20,6]),import.meta.url)},{name:"target-contribution",path:"/target-contribution",component:()=>__vitePreload(()=>import("./B8vherRb.js"),__vite__mapDeps([88,6,44,1,12,4,5,7,36,18,19,26,27,55,47,56,62,63,89]),import.meta.url)},{name:"transfer-id",path:"/transfer/:id()",component:()=>__vitePreload(()=>import("./ZGPEa9VX.js"),__vite__mapDeps([90,1,91,21,12,36,19,27,53,54,43,38,6,92]),import.meta.url)},{name:__nuxt_page_meta==null?void 0:__nuxt_page_meta.name,path:"/privacy",component:component_45stubnO9MU04yTU},{name:__nuxt_page_meta==null?void 0:__nuxt_page_meta.name,path:"/terms",component:component_45stubnO9MU04yTU},{name:__nuxt_page_meta==null?void 0:__nuxt_page_meta.name,path:"/app",component:component_45stubnO9MU04yTU}],_wrapIf=(e,t,r)=>(t=t===!0?{}:t,{default:()=>{var i;return t?h(e,t,r):(i=r.default)==null?void 0:i.call(r)}}),ROUTE_KEY_PARENTHESES_RE=/(:\w+)\([^)]+\)/g,ROUTE_KEY_SYMBOLS_RE=/(:\w+)[?+*]/g,ROUTE_KEY_NORMAL_RE=/:\w+/g;function generateRouteKey(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(ROUTE_KEY_PARENTHESES_RE,"$1").replace(ROUTE_KEY_SYMBOLS_RE,"$1").replace(ROUTE_KEY_NORMAL_RE,r=>{var i;return((i=e.params[r.slice(1)])==null?void 0:i.toString())||""});return typeof t=="function"?t(e):t}function isChangingPage(e,t){return e===t||t===START_LOCATION_NORMALIZED?!1:generateRouteKey(e)!==generateRouteKey(t)?!0:!e.matched.every((i,n)=>{var s,o;return i.components&&i.components.default===((o=(s=t.matched[n])==null?void 0:s.components)==null?void 0:o.default)})}const routerOptions0={scrollBehavior(e,t,r){var d;const i=useNuxtApp(),n=((d=useRouter$1().options)==null?void 0:d.scrollBehaviorType)??"auto";let s=r||void 0;const o=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&o!==!1&&isChangingPage(e,t)&&(s={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:_getHashElementScrollMarginTop(e.hash),behavior:n}:!1;const l=u=>!!(u.meta.pageTransition??appPageTransition),f=l(t)&&l(e)?"page:transition:finish":"page:finish";return new Promise(u=>{i.hooks.hookOnce(f,async()=>{await new Promise(y=>setTimeout(y,0)),e.hash&&(s={el:e.hash,top:_getHashElementScrollMarginTop(e.hash),behavior:n}),u(s)})})}};function _getHashElementScrollMarginTop(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const configRouterOptions={hashMode:!1,scrollBehaviorType:"auto"},routerOptions={...configRouterOptions,...routerOptions0},validate=async e=>{var f;let t,r;if(!((f=e.meta)!=null&&f.validate))return;const i=useNuxtApp(),n=useRouter$1(),s=([t,r]=executeAsync(()=>Promise.resolve(e.meta.validate(e))),t=await t,r(),t);if(s===!0)return;const o=createError({statusCode:s&&s.statusCode||404,statusMessage:s&&s.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),l=n.beforeResolve(d=>{if(l(),d===e){const u=n.afterEach(async()=>{u(),await i.runWithContext(()=>showError(o)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},manifest_45route_45rule=async e=>{let t,r;const i=([t,r]=executeAsync(()=>getRouteRules(e.path)),t=await t,r(),t);if(i.redirect)return hasProtocol(i.redirect,{acceptRelative:!0})?(window.location.href=i.redirect,!1):i.redirect},globalMiddleware=[validate,manifest_45route_45rule],namedMiddleware={};function createCurrentLocation(e,t,r){const{pathname:i,search:n,hash:s}=t,o=e.indexOf("#");if(o>-1){const d=s.includes(e.slice(o))?e.slice(o).length:1;let u=s.slice(d);return u[0]!=="/"&&(u="/"+u),withoutBase(u,"")}const l=withoutBase(i,e),f=!r||isEqual(l,r,{trailingSlash:!0})?l:r;
26return f+(f.includes("?")?"":n)+s}const plugin$1=defineNuxtPlugin({name:"nuxt:router",enforce:"pre",async setup(e){var A;let t,r,i=useRuntimeConfig().app.baseURL;routerOptions.hashMode&&!i.includes("#")&&(i+="#");const n=((A=routerOptions.history)==null?void 0:A.call(routerOptions,i))??(routerOptions.hashMode?createWebHashHistory(i):createWebHistory(i)),s=routerOptions.routes?([t,r]=executeAsync(()=>routerOptions.routes(_routes)),t=await t,r(),t??_routes):_routes;let o;const l=createRouter({...routerOptions,scrollBehavior:(P,C,g)=>{if(C===START_LOCATION_NORMALIZED){o=g;return}if(routerOptions.scrollBehavior){if(l.options.scrollBehavior=routerOptions.scrollBehavior,"scrollRestoration"in window.history){const _=l.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return routerOptions.scrollBehavior(P,START_LOCATION_NORMALIZED,o||g)}},history:n,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const f=shallowRef(l.currentRoute.value);l.afterEach((P,C)=>{f.value=C}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>f.value});const d=createCurrentLocation(i,window.location,e.payload.path),u=shallowRef(l.currentRoute.value),y=()=>{u.value=l.currentRoute.value};e.hook("page:finish",y),l.afterEach((P,C)=>{var g,_,x,w;((_=(g=P.matched[0])==null?void 0:g.components)==null?void 0:_.default)===((w=(x=C.matched[0])==null?void 0:x.components)==null?void 0:w.default)&&y()});const m={};for(const P in u.value)Object.defineProperty(m,P,{get:()=>u.value[P],enumerable:!0});e._route=shallowReactive(m),e._middleware=e._middleware||{global:[],named:{}};const v=useError();l.afterEach(async(P,C,g)=>{delete e._processingMiddleware,!e.isHydrating&&v.value&&await e.runWithContext(clearError),g&&await e.callHook("page:loading:end")});try{[t,r]=executeAsync(()=>l.isReady()),await t,r()}catch(P){[t,r]=executeAsync(()=>e.runWithContext(()=>showError(P))),await t,r()}const S=d!==l.currentRoute.value.fullPath?l.resolve(d):l.currentRoute.value;y();const E=e.payload.state._layout;return l.beforeEach(async(P,C)=>{var g;await e.callHook("page:loading:start"),P.meta=reactive(P.meta),e.isHydrating&&E&&!isReadonly(P.meta.layout)&&(P.meta.layout=E),e._processingMiddleware=!0;{const _=new Set([...globalMiddleware,...e._middleware.global]);for(const x of P.matched){const w=x.meta.middleware;if(w)for(const M of toArray(w))_.add(M)}{const x=await e.runWithContext(()=>getRouteRules(P.path));if(x.appMiddleware)for(const w in x.appMiddleware)x.appMiddleware[w]?_.add(w):_.delete(w)}for(const x of _){const w=typeof x=="string"?e._middleware.named[x]||await((g=namedMiddleware[x])==null?void 0:g.call(namedMiddleware).then(I=>I.default||I)):x;if(!w)throw new Error(`Unknown route middleware: '${x}'.`);const M=await e.runWithContext(()=>w(P,C));if(!e.payload.serverRendered&&e.isHydrating&&(M===!1||M instanceof Error)){const I=M||createError$1({statusCode:404,statusMessage:`Page Not Found: ${d}`});return await e.runWithContext(()=>showError(I)),!1}if(M!==!0&&(M||M===!1))return M}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(P,C)=>{P.matched.length===0&&await e.runWithContext(()=>showError(createError$1({statusCode:404,fatal:!1,statusMessage:`Page not found: ${P.fullPath}`,data:{path:P.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in S&&(S.name=void 0),await l.replace({...S,force:!0}),l.options.scrollBehavior=routerOptions.scrollBehavior}catch(P){await e.runWithContext(()=>showError(P))}}),{provide:{router:l}}}}),requestIdleCallback=globalThis.requestIdleCallback||(e=>{const t=Date.now(),r={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(r)},1)}),cancelIdleCallback=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),onNuxtReady=e=>{const t=useNuxtApp();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{requestIdleCallback(()=>e())}):requestIdleCallback(()=>e())},payload_client_yVLowv6hDl=defineNuxtPlugin({name:"nuxt:payload",setup(e){useRouter$1().beforeResolve(
26async(t,r)=>{if(t.path===r.path)return;const i=await loadPayload(t.path);i&&Object.assign(e.static.data,i.data)}),onNuxtReady(()=>{var t;e.hooks.hook("link:prefetch",async r=>{const{hostname:i}=new URL(r,window.location.href);i===window.location.hostname&&await loadPayload(r)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(getAppManifest,1e3)})}}),navigation_repaint_client_bs2bWDGRIE=defineNuxtPlugin(()=>{const e=useRouter$1();onNuxtReady(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),check_outdated_build_client_8vK7RkfGxZ=defineNuxtPlugin(e=>{let t;async function r(){const i=await getAppManifest();t&&clearTimeout(t),t=setTimeout(r,outdatedBuildInterval);try{const n=await $fetch(buildAssetsURL("builds/latest.json")+`?${Date.now()}`);n.id!==i.id&&e.hooks.callHook("app:manifest:update",n)}catch{}}onNuxtReady(()=>{t=setTimeout(r,outdatedBuildInterval)})});function reloadNuxtApp(e={}){const t=e.path||window.location.pathname;let r={};try{r=destr(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(r==null?void 0:r.path)!==t||(r==null?void 0:r.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:useNuxtApp().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const chunk_reload_client_UciE0i6zes=defineNuxtPlugin({name:"nuxt:chunk-reload",setup(e){const t=useRouter$1(),r=useRuntimeConfig(),i=new Set;t.beforeEach(()=>{i.clear()}),e.hook("app:chunkError",({error:s})=>{i.add(s)});function n(s){const l="href"in s&&s.href[0]==="#"?r.app.baseURL+s.href:joinURL(r.app.baseURL,s.fullPath);reloadNuxtApp({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(n)}),t.onError((s,o)=>{i.has(s)&&n(o)})}}),isVue2=!1;/*!
27 * pinia v2.2.6
28 * (c) 2024 Eduardo San Martin Morote
29 * @license MIT
30 */let activePinia;const setActivePinia=e=>activePinia=e,piniaSymbol=Symbol();function isPlainObject(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var MutationType;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const e=effectScope(!0),t=e.run(()=>ref({}));let r=[],i=[];const n=markRaw({install(s){setActivePinia(n),n._a=s,s.provide(piniaSymbol,n),s.config.globalProperties.$pinia=n,i.forEach(o=>r.push(o)),i=[]},use(s){return!this._a&&!isVue2?i.push(s):r.push(s),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return n}const noop$1=()=>{};function addSubscription(e,t,r,i=noop$1){e.push(t);const n=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),i())};return!r&&getCurrentScope()&&onScopeDispose(n),n}function triggerSubscriptions(e,...t){e.slice().forEach(r=>{r(...t)})}const fallbackRunWithContext=e=>e(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,i)=>e.set(i,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const i=t[r],n=e[r];isPlainObject(n)&&isPlainObject(i)&&e.hasOwnProperty(r)&&!isRef(i)&&!isReactive(i)?e[r]=mergeReactiveObjects(n,i):e[r]=i}return e}const skipHydrateSymbol=Symbol();function shouldHydrate(e){return!isPlainObject(e)||!e.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(e){return!!(isRef(e)&&e.effect)}function createOptionsStore(e,t,r,i){const{state:n,actions:s,getters:o}=t,l=r.state.value[e];let f;function d(){l||(r.state.value[e]=n?n():{});const u=toRefs(r.state.value[e]);return assign(u,s,Object.keys(o||{}).reduce((y,m)=>(y[m]=markRaw(computed(()=>{setActivePinia(r);const v=r._s.get(e);return o[m].call(v,v)})),y),{}))}return f=createSetupStore(e,d,t,r,i,!0),f}function createSetupStore(e,t,r={},i,n,s){let o;const l=assign({actions:{}},r),f={deep:!0};let d,u,y=[],m=[],v;const S=i.state.value[e];!s&&!S&&(i.state.value[e]={}),ref({});let E;function A(I){let B;d=u=!1,typeof I=="function"?(I(i.state.value[e]),B={type:MutationType.patchFunction,storeId:e,events:v}):(mergeReactiveObjects(i.state.value[e],I),B={type:MutationType.patchObject,payload:I,storeId:e,events:v});const D=E=Symbol();nextTick().then(()=>{E===D&&(d=!0)}),u=!0,triggerSubscriptions(y,B,i.state.value[e])}const P=s?function(){const{state:B}=r,D=B?B():{};this.$patch(j=>{assign(j,D)})}:noop$1;function C(){o.stop(),y=[],m=[],i._s.delete(e)}const g=(I,B="")=>{if(ACTION_MARKER in I)return I[ACTION_NAME]=B,I;const D=function(){setActivePinia(i);const j=Array.from(arguments),V=[],G=[];function U(L){V.push(L)}function z(L){G.push(L)}triggerSubscriptions(m,{args:j,name:D[ACTION_NAME],store:x,after:U,onError:z});let R;try{R=I.apply(this&&this.$id===e?this:x,j)}catch(L){throw triggerSubscriptions(G,L),L}return R instanceof Promise?R.then(L=>(triggerSubscriptions(V,L),L)).catch(L=>(triggerSubscriptions(G,L),Promise.reject(L))):(triggerSubscriptions(V,R),R)};
30return D[ACTION_MARKER]=!0,D[ACTION_NAME]=B,D},_={_p:i,$id:e,$onAction:addSubscription.bind(null,m),$patch:A,$reset:P,$subscribe(I,B={}){const D=addSubscription(y,I,B.detached,()=>j()),j=o.run(()=>watch(()=>i.state.value[e],V=>{(B.flush==="sync"?u:d)&&I({storeId:e,type:MutationType.direct,events:v},V)},assign({},f,B)));return D},$dispose:C},x=reactive(_);i._s.set(e,x);const M=(i._a&&i._a.runWithContext||fallbackRunWithContext)(()=>i._e.run(()=>(o=effectScope()).run(()=>t({action:g}))));for(const I in M){const B=M[I];if(isRef(B)&&!isComputed(B)||isReactive(B))s||(S&&shouldHydrate(B)&&(isRef(B)?B.value=S[I]:mergeReactiveObjects(B,S[I])),i.state.value[e][I]=B);else if(typeof B=="function"){const D=g(B,I);M[I]=D,l.actions[I]=B}}return assign(x,M),assign(toRaw(x),M),Object.defineProperty(x,"$state",{get:()=>i.state.value[e],set:I=>{A(B=>{assign(B,I)})}}),i._p.forEach(I=>{assign(x,o.run(()=>I({store:x,app:i._a,pinia:i,options:l})))}),S&&s&&r.hydrate&&r.hydrate(x.$state,S),d=!0,u=!0,x}/*! #__NO_SIDE_EFFECTS__ */function defineStore(e,t,r){let i,n;const s=typeof t=="function";typeof e=="string"?(i=e,n=s?r:t):(n=e,i=e.id);function o(l,f){const d=hasInjectionContext();return l=l||(d?inject(piniaSymbol,null):null),l&&setActivePinia(l),l=activePinia,l._s.has(i)||(s?createSetupStore(i,t,n,l):createOptionsStore(i,n,l)),l._s.get(i)}return o.$id=i,o}const useStateKeyPrefix="$s";function useState(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[r,i]=e;if(!r||typeof r!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+r);if(i!==void 0&&typeof i!="function")throw new Error("[nuxt] [useState] init must be a function: "+i);const n=useStateKeyPrefix+r,s=useNuxtApp(),o=toRef(s.payload.state,n);if(o.value===void 0&&i){const l=i();if(isRef(l))return s.payload.state[n]=l,l;o.value=l}return o}const plugin=defineNuxtPlugin({name:"pinia",setup(e){const t=createPinia();return e.vueApp.use(t),setActivePinia(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),components_plugin_KR1HBZs4kY=defineNuxtPlugin({name:"nuxt:global-components"}),layouts={custom:defineAsyncComponent(()=>__vitePreload(()=>import("./pN_XJi4t.js"),__vite__mapDeps([93,94,1,12,19,43,38,91,22,37,59,27,5,6,95,96]),import.meta.url)),default:defineAsyncComponent(()=>__vitePreload(()=>import("./DU9xSzV_.js"),__vite__mapDeps([97,94,1,12,19,43,38,91,22,37,59,27,5,6,95,98]),import.meta.url)),sytizen:defineAsyncComponent(()=>__vitePreload(()=>import("./v3cgRBn0.js"),__vite__mapDeps([99,1,32,33,100]),import.meta.url))},prefetch_client_5tzzN0oIVL=defineNuxtPlugin({name:"nuxt:prefetch",setup(e){const t=useRouter$1();e.hooks.hook("app:mounted",()=>{t.beforeEach(async r=>{var n;const i=(n=r==null?void 0:r.meta)==null?void 0:n.layout;i&&typeof layouts[i]=="function"&&await layouts[i]()})}),e.hooks.hook("link:prefetch",r=>{if(hasProtocol(r))return;const i=t.resolve(r);if(!i)return;const n=i.meta.layout;let s=toArray(i.meta.middleware);s=s.filter(o=>typeof o=="string");for(const o of s)typeof namedMiddleware[o]=="function"&&namedMiddleware[o]();n&&typeof layouts[n]=="function"&&layouts[n]()})}});var ID_KEY="pulse.external_id",ANON_KEY="pulse.anon_id";function randomId(){if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();const e="abcdef0123456789";let t="";for(let r=0;r<32;r++)t+=e[Math.floor(Math.random()*16)];return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}var PulseCore=class{constructor(e){if(this.queue=[],this.timer=null,this.externalId=null,this.anonId=null,this.destroyed=!1,!e.apiUrl)throw new Error("[pulse] apiUrl required");if(!e.apiKey)throw new Error("[pulse] apiKey required");if(this.cfg={flushIntervalMs:1e4,flushAt:20,maxQueueSize:500,maxRetries:3,...e},this.storage=e.storage??null,e.fetchImpl)this.fetchImpl=e.fetchImpl;else if(typeof globalThis.fetch=="function"){const t=globalThis.fetch;this.fetchImpl=(r,i)=>t.call(globalThis,r,i)}else throw new Error("[pulse] fetch is unavailable; pass fetchImpl");this.startTimer()}startTimer(){var e;this.cfg.flushIntervalMs<=0||(this.timer=setInterval(()=>this.flush().catch(t=>{var r,i;return(i=(r=this.cfg).onError)==null?void 0:i.call(r,t)}),this.cfg.flushIntervalMs),typeof((e=this.timer)==null?void 0:e.unref)=="function"&&this.timer.unref())}async ready(){this.storage&&(this.externalId=await Promise.resolve(this.storage.get(ID_KEY))||null,this.anonId=await Promise.resolve(this.storage.get(ANON_KEY))||null,this.anonId||
30(this.anonId=`anon_${randomId()}`,await Promise.resolve(this.storage.set(ANON_KEY,this.anonId))))}getExternalId(){return this.externalId}getAnonymousId(){return this.anonId}async identify(e,t){var o,l;const r=typeof e=="string"?{external_id:e,traits:t}:{...e};!r.app_slug&&this.cfg.appSlug&&(r.app_slug=this.cfg.appSlug);const i=this.anonId,s=(!this.externalId||this.externalId===i)&&!!i&&i!==r.external_id;if(s){try{await this.flush()}catch(f){(l=(o=this.cfg).onError)==null||l.call(o,f)}r.anon_id=i}if(this.externalId=r.external_id,this.storage&&await Promise.resolve(this.storage.set(ID_KEY,r.external_id)),await this.send("/identify",r),s&&(this.anonId=null,this.storage))try{await Promise.resolve(this.storage.remove(ANON_KEY))}catch{}}track(e,t,r){if(!this.anonId&&!this.externalId&&!(r!=null&&r.external_id)&&(this.anonId=`anon_${randomId()}`,this.storage))try{Promise.resolve(this.storage.set(ANON_KEY,this.anonId))}catch{}const n={external_id:(r==null?void 0:r.external_id)??this.externalId??this.anonId,name:e,properties:t??{},occurred_at:(r==null?void 0:r.occurred_at)??new Date().toISOString()},s=(r==null?void 0:r.app_slug)??this.cfg.appSlug;s&&(n.app_slug=s),this.queue.push(n),this.queue.length>=this.cfg.maxQueueSize&&this.queue.splice(0,this.queue.length-this.cfg.maxQueueSize),this.queue.length>=this.cfg.flushAt&&this.flush().catch(o=>{var l,f;return(f=(l=this.cfg).onError)==null?void 0:f.call(l,o)})}async registerDevice(e){var i,n;const t=this.externalId??this.anonId;if(!t){(n=(i=this.cfg).onError)==null||n.call(i,new Error("[pulse] registerDevice() called without an identity; call identify() first"));return}const r={external_id:t,...e};!e.app_slug&&this.cfg.appSlug&&(r.app_slug=this.cfg.appSlug),await this.send("/devices",r)}async unregisterDevice(e){await this.send("/devices",{token:e},{method:"DELETE"})}async fetchInAppMessages(e){const t=this.externalId??this.anonId;if(!t)return[];const r=new URLSearchParams({external_id:t});e!=null&&e.placement&&r.set("placement",e.placement);const i=this.cfg.apiUrl.replace(/\/$/,"")+"/messages?"+r.toString(),n={"Content-Type":"application/json",Authorization:`Bearer ${this.cfg.apiKey}`,"X-Api-Key":this.cfg.apiKey};this.cfg.bundleId&&(n["X-Pulse-Bundle-Id"]=this.cfg.bundleId);const s=await this.fetchImpl(i,{method:"GET",headers:n});return s.ok?JSON.parse(await s.text()).messages||[]:[]}async fetchOnsiteMessages(e){const t=new URLSearchParams;e!=null&&e.url&&t.set("url",e.url);const r=this.externalId??this.anonId;r&&t.set("external_id",r);const i=this.cfg.apiUrl.replace(/\/$/,"")+"/onsite"+(t.toString()?"?"+t.toString():""),n={"Content-Type":"application/json",Authorization:`Bearer ${this.cfg.apiKey}`,"X-Api-Key":this.cfg.apiKey};this.cfg.bundleId&&(n["X-Pulse-Bundle-Id"]=this.cfg.bundleId);const s=await this.fetchImpl(i,{method:"GET",headers:n});return s.ok?JSON.parse(await s.text()).messages||[]:[]}async markOnsite(e,t){await this.send("/onsite",{id:e,action:t})}async fetchBanners(e){const t=new URLSearchParams;e!=null&&e.platform&&t.set("platform",e.platform);const r=this.externalId??this.anonId;r&&t.set("external_id",r);const i=this.cfg.apiUrl.replace(/\/$/,"")+"/banners"+(t.toString()?"?"+t.toString():""),n={"Content-Type":"application/json",Authorization:`Bearer ${this.cfg.apiKey}`,"X-Api-Key":this.cfg.apiKey};this.cfg.bundleId&&(n["X-Pulse-Bundle-Id"]=this.cfg.bundleId);const s=await this.fetchImpl(i,{method:"GET",headers:n});return s.ok?JSON.parse(await s.text()).banners||[]:[]}async markBanner(e,t){await this.send("/banners",{id:e,action:t})}async markMessage(e,t){const r=this.externalId??this.anonId;r&&await this.send("/messages",{id:e,external_id:r,action:t})}onInAppMessage(e,t){const r=(t==null?void 0:t.pollMs)??3e4;let i=!1;const n=async()=>{var o,l;if(!i)try{const f=await this.fetchInAppMessages({placement:t==null?void 0:t.placement});e(f)}catch(f){(l=(o=this.cfg).onError)==null||l.call(o,f)}};n();const s=setInterval(n,r);return typeof(s==null?void 0:s.unref)=="function"&&s.unref(),()=>{i=!0,clearInterval(s)}}async alias(e,t){const r=t??this.anonId??void 0;r&&(await this.send("/alias",{external_id:e,previous_id:r}),this.externalId=e,this.storage&&await Promise.resolve(this.storage.set(ID_KEY,e)))}async reset(){this.externalId=null,this.anonId=`anon_${randomId()}`,this.storage&&(await Promise.resolve(this.storage.remove(ID_KEY)),await Promise.resolve(this.storage.set(ANON_KEY,this.anonId))),this.queue=[]}async flush(){if(this.queue.length===0)return;const e=this.queue.splice(0,this.queue.length);try{const t={events:e};this.cfg.appSlug&&(t.app_slug=this.cfg.appSlug),await this.send("/batch",t,{keepalive:!0})}catch(t){throw this.queue.unshift(...e),t}}async send(e,t,r={}){const i=this.cfg.apiUrl.replace(/\/$/,"")+e,n={"Content-Type":"application/json",Authorization:`Bearer ${this.cfg.apiKey}`,"X-Api-Key":this.cfg.apiKey};
30this.cfg.bundleId&&(n["X-Pulse-Bundle-Id"]=this.cfg.bundleId);let s=0,o=null;for(;s<=this.cfg.maxRetries;){try{const f=await this.fetchImpl(i,{method:r.method||"POST",headers:n,body:JSON.stringify(t),keepalive:r.keepalive});if(f.ok)return;if(f.status>=400&&f.status<500&&f.status!==429){const d=await f.text().catch(()=>"");throw new Error(`[pulse] ${f.status} ${d}`)}o=new Error(`[pulse] ${f.status}`)}catch(f){o=f}if(s++,s>this.cfg.maxRetries)break;const l=Math.min(3e4,2**s*250+Math.random()*250);await new Promise(f=>setTimeout(f,l))}if(o)throw o}async destroy(){if(!this.destroyed){this.destroyed=!0,this.timer&&clearInterval(this.timer);try{await this.flush()}catch{}}}},STYLE_ID="__pulse_onsite_styles__",FONT_ID="__pulse_onsite_satoshi__",ROOT_ID="__pulse_onsite_root__",DISMISS_KEY_PREFIX="pulse.onsite.dismissed.",SHOWN_KEY_PREFIX="pulse.onsite.shown.",SATOSHI_HREF="https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap",CSS=`
31.pulse-onsite-bar { position: fixed; left: 0; right: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; color: #fff; background: #111827; box-shadow: 0 4px 16px rgba(0,0,0,0.12); font-family: inherit; font-size: 14px; }
32.pulse-onsite-bar.top { top: 0; } .pulse-onsite-bar.bottom { bottom: 0; }
33.pulse-onsite-bar.size-sm { padding: 6px 12px; font-size: 12px; }
34.pulse-onsite-bar.size-lg { padding: 16px 22px; font-size: 16px; }
35.pulse-onsite-bar-text { flex: 1; min-width: 0; padding-right: 12px; }
36.pulse-onsite-bar-text strong { font-weight: 600; margin-right: 8px; }
37.pulse-onsite-bar-cta { background: #fff; color: #111827; font-weight: 700; padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 12px; white-space: nowrap; }
38.pulse-onsite-bar.size-lg .pulse-onsite-bar-cta { padding: 8px 16px; font-size: 13px; }
39.pulse-onsite-bar-close { background: transparent; color: #fff; border: 0; cursor: pointer; font-size: 20px; line-height: 1; padding: 0 0 0 8px; opacity: 0.8; }
40.pulse-onsite-bar-close:hover { opacity: 1; }
41
42.pulse-onsite-popup-backdrop { position: fixed; inset: 0; z-index: 2147483600; background: rgba(17, 24, 39, 0.55); display: flex; padding: 24px; font-family: inherit; animation: pulseFade 0.2s ease-out; }
43.pulse-onsite-popup-backdrop.center { align-items: center; justify-content: center; }
44.pulse-onsite-popup-backdrop.top { align-items: flex-start; justify-content: center; padding-top: 80px; }
45.pulse-onsite-popup-backdrop.bottom { align-items: flex-end; justify-content: center; padding-bottom: 80px; }
46.pulse-onsite-popup { background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); max-width: 440px; width: 100%; text-align: center; position: relative; animation: pulsePop 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2); overflow: hidden; }
47.pulse-onsite-popup.size-sm { max-width: 320px; }
48.pulse-onsite-popup.size-lg { max-width: 560px; }
49.pulse-onsite-popup.orient-portrait { max-width: 360px; }
50.pulse-onsite-popup.orient-portrait.size-sm { max-width: 280px; }
51.pulse-onsite-popup.orient-portrait.size-lg { max-width: 440px; }
52.pulse-onsite-popup.orient-square { max-width: 400px; }
53.pulse-onsite-popup-image { display: block; width: 100%; height: 160px; object-fit: cover; background: #f3f4f6; }
54.pulse-onsite-popup.size-sm .pulse-onsite-popup-image { height: 120px; }
55.pulse-onsite-popup.size-lg .pulse-onsite-popup-image { height: 220px; }
56.pulse-onsite-popup.aspect-16-9 .pulse-onsite-popup-image { height: auto; aspect-ratio: 16/9; }
57.pulse-onsite-popup.aspect-4-3 .pulse-onsite-popup-image { height: auto; aspect-ratio: 4/3; }
58.pulse-onsite-popup.aspect-1-1 .pulse-onsite-popup-image { height: auto; aspect-ratio: 1/1; }
59.pulse-onsite-popup.aspect-3-4 .pulse-onsite-popup-image { height: auto; aspect-ratio: 3/4; }
60.pulse-onsite-popup.aspect-9-16 .pulse-onsite-popup-image { height: auto; aspect-ratio: 9/16; }
61.pulse-onsite-popup.orient-portrait .pulse-onsite-popup-image { aspect-ratio: 9/16; height: auto; }
62.pulse-onsite-popup.orient-square .pulse-onsite-popup-image { aspect-ratio: 1/1; height: auto; }
63.pulse-onsite-popup.fit-contain .pulse-onsite-popup-image { object-fit: contain; }
64.pulse-onsite-popup.fit-fill .pulse-onsite-popup-image { object-fit: f
64ill; }
65.pulse-onsite-popup-inner { padding: 28px; }
66.pulse-onsite-popup.size-sm .pulse-onsite-popup-inner { padding: 20px; }
67.pulse-onsite-popup.size-lg .pulse-onsite-popup-inner { padding: 36px; }
68.pulse-onsite-popup.image-only .pulse-onsite-popup-inner { display: none; }
69.pulse-onsite-popup.image-only .pulse-onsite-popup-image { cursor: pointer; }
70.pulse-onsite-popup-title { font-size: 20px; font-weight: 700; color: #111827; margin: 0 0 10px; }
71.pulse-onsite-popup.size-sm .pulse-onsite-popup-title { font-size: 17px; }
72.pulse-onsite-popup.size-lg .pulse-onsite-popup-title { font-size: 24px; }
73.pulse-onsite-popup-body { font-size: 14px; color: #4b5563; line-height: 1.55; margin: 0 0 20px; }
74.pulse-onsite-popup.size-sm .pulse-onsite-popup-body { font-size: 13px; margin-bottom: 16px; }
75.pulse-onsite-popup.size-lg .pulse-onsite-popup-body { font-size: 16px; margin-bottom: 24px; }
76.pulse-onsite-popup-cta { display: inline-block; background: #111827; color: #fff; font-weight: 700; padding: 10px 22px; border-radius: 8px; text-decoration: none; font-size: 14px; }
77.pulse-onsite-popup.size-sm .pulse-onsite-popup-cta { padding: 8px 18px; font-size: 13px; }
78.pulse-onsite-popup.size-lg .pulse-onsite-popup-cta { padding: 12px 26px; font-size: 15px; }
79.pulse-onsite-popup-close { position: absolute; top: 10px; right: 12px; background: rgba(255,255,255,0.85); border: 0; font-size: 22px; line-height: 1; color: #6b7280; cursor: pointer; border-radius: 999px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; z-index: 2; }
80
81.pulse-onsite-slide { position: fixed; z-index: 2147483600; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,0.18); border: 1px solid rgba(0,0,0,0.06); max-width: 320px; font-family: inherit; animation: pulseSlideIn 0.3s ease-out; overflow: hidden; }
82.pulse-onsite-slide.size-sm { max-width: 260px; }
83.pulse-onsite-slide.size-lg { max-width: 380px; }
84.pulse-onsite-slide.orient-portrait { max-width: 240px; }
85.pulse-onsite-slide.bottom { bottom: 24px; left: 24px; }
86.pulse-onsite-slide.top { top: 24px; right: 24px; }
87.pulse-onsite-slide.right, .pulse-onsite-slide.center { bottom: 24px; right: 24px; }
88.pulse-onsite-slide-image { display: block; width: 100%; height: 120px; object-fit: cover; background: #f3f4f6; }
89.pulse-onsite-slide.size-sm .pulse-onsite-slide-image { height: 90px; }
90.pulse-onsite-slide.size-lg .pulse-onsite-slide-image { height: 160px; }
91.pulse-onsite-slide.aspect-16-9 .pulse-onsite-slide-image { height: auto; aspect-ratio: 16/9; }
92.pulse-onsite-slide.aspect-4-3 .pulse-onsite-slide-image { height: auto; aspect-ratio: 4/3; }
93.pulse-onsite-slide.aspect-1-1 .pulse-onsite-slide-image { height: auto; aspect-ratio: 1/1; }
94.pulse-onsite-slide.aspect-3-4 .pulse-onsite-slide-image { height: auto; aspect-ratio: 3/4; }
95.pulse-onsite-slide.aspect-9-16 .pulse-onsite-slide-image { height: auto; aspect-ratio: 9/16; }
96.pulse-onsite-slide.orient-portrait .pulse-onsite-slide-image { aspect-ratio: 9/16; height: auto; }
97.pulse-onsite-slide.fit-contain .pulse-onsite-slide-image { object-fit: contain; }
98.pulse-onsite-slide.fit-fill .pulse-onsite-slide-image { object-fit: fill; }
99.pulse-onsite-slide-inner { padding: 18px; }
100.pulse-onsite-slide.size-sm .pulse-onsite-slide-inner { padding: 14px; }
101.pulse-onsite-slide.size-lg .pulse-onsite-slide-inner { padding: 22px; }
102.pulse-onsite-slide.image-only .pulse-onsite-slide-inner { display: none; }
103.pulse-onsite-slide.image-only .pulse-onsite-slide-image { cursor: pointer; }
104.pulse-onsite-slide-title { font-size: 15px; font-weight: 700; color: #111827; margin: 0 0 6px; }
105.pulse-onsite-slide.size-sm .pulse-onsite-slide-title { font-size: 13px; }
106.pulse-onsite-slide.size-lg .pulse-onsite-slide-title { font-size: 17px; }
107.pulse-onsite-slide-body { font-size: 13px; color: #4b5563; line-height: 1.5; margin: 0 0 12px; }
108.pulse-onsite-slide.size-sm .pulse-onsite-slide-body { font-size: 12px; }
109.pulse-onsite-slide.size-lg .pulse-onsite-slide-body { font-size: 14px; }
110.pulse-onsite-slide-cta { display: block; text-align: center; background: #111827; color: #fff; font-weight: 700; padding: 8px; border-radius: 6px; text-decoration: none; font-size: 12px; }
111.pulse-onsite-slide.size-lg .pulse-onsite-slide-cta { padding: 10px; font-size: 13px; }
112.pulse-onsite-slide-close { position: absolute; top: 6px; right: 8px; background: rgba(255,255,255,0.85); border: 0; font-size: 18px; color: #6b7280; cursor: pointer; border-radius: 999px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; z-index: 2; }
113
114.pulse-onsite-font-satoshi { font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; }
115.pulse-onsite-font-system { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; }
116.pulse-onsite-font-serif { font-family: Georgia, "Times New Roman", serif !important; }
117.pulse-onsite-font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; }
118
119@keyframes pulseFade { from { opacity: 0; } to { opacity: 1; } }
120@keyframes pulsePop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
121@keyframes pulseSlideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
122`;function ensureStyles(){if(typeof document>"u"||document.getElementById(STYLE_ID))return;const e=document.createElement("style");e.id=STYLE_ID,e.textContent=CSS,document.head.appendChild(e)}function ensureSatoshi(){if(typeof document>"u"||document.getElementById(FONT_ID))return;const e=document.createElement("link");e.id=FONT_ID,e.rel="stylesheet",e.href=SATOSHI_HREF,document.head.appendChild(e)}function ensureRoot(){if(typeof document>"u")return null;let e=document.getElementById(ROOT_ID);return e||(e=document.createElement("div"),e.id=ROOT_ID,document.body.appendChild(e)),e}function isDismissed(e){try{return!!window.sessionStorage.getItem(DISMISS_KEY_PREFIX+e)}catch{return!1}}function markDismissed(e){try{window.sessionStorage.setItem(DISMISS_KEY_PREFIX+e,"1")}catch{}}function lastShown(e){try{const t=window.localStorage.getItem(SHOWN_KEY_PREFIX+e);return t&&parseInt(t,10)||0}catch{return 0}}function markShown(e){try{window.localStorage.setItem(SHOWN_KEY_PREFIX+e,String(Date.now()))}catch{}}function sessionShown(e){try{return!!window.sessionStorage.getItem(SHOWN_KEY_PREFIX+e)}catch{return!1}}function markSessionShown(e){try{window.sessionStorage.setItem(SHOWN_KEY_PREFIX+e,"1")}catch{}}
122function isInWindow(e,t=Date.now()){if(e.starts_at){const r=Date.parse(e.starts_at);if(!isNaN(r)&&t<r)return!1}if(e.ends_at){const r=Date.parse(e.ends_at);if(!isNaN(r)&&t>r)return!1}return!0}function frequencyAllows(e,t=Date.now()){const r=e.display_frequency||"once_per_session";return r==="persistent"||r==="every_visit"?!0:r==="once_per_session"?!sessionShown(e.id):r==="once_per_visitor"?lastShown(e.id)===0:r==="daily"?t-lastShown(e.id)>=24*60*60*1e3:r==="weekly"?t-lastShown(e.id)>=7*24*60*60*1e3:!sessionShown(e.id)}function escapeHtml(e){return e.replace(/[&<>"']/g,t=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[t])}function safeColor(e){if(!e)return null;const t=e.trim();return/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(t)||/^rgb(a)?\(\s*[\d.\s,%/]+\)$/i.test(t)?t:null}function autoTextColor(e){if(!e)return"#111827";const t=/^#([0-9a-f]{6})$/i.exec(e);if(!t)return"#ffffff";const r=parseInt(t[1].slice(0,2),16),i=parseInt(t[1].slice(2,4),16),n=parseInt(t[1].slice(4,6),16);return(.299*r+.587*i+.114*n)/255>.6?"#111827":"#ffffff"}function safeAlign(e,t="center"){return e==="left"||e==="center"||e==="right"?e:t}function safeSize(e){return e==="small"||e==="sm"?"sm":e==="large"||e==="lg"?"lg":"md"}function safeOrient(e){return e==="portrait"||e==="square"?e:"landscape"}function safeAspect(e){return["16:9","4:3","1:1","3:4","9:16"].includes(e||"")?e:"auto"}function aspectClass(e){return e==="16:9"?"aspect-16-9":e==="4:3"?"aspect-4-3":e==="1:1"?"aspect-1-1":e==="3:4"?"aspect-3-4":e==="9:16"?"aspect-9-16":""}function safeFit(e){return e==="contain"||e==="fill"?e:"cover"}function fontClass(e){return e==="satoshi"?(ensureSatoshi(),"pulse-onsite-font-satoshi"):e==="system"?"pulse-onsite-font-system":e==="serif"?"pulse-onsite-font-serif":e==="mono"?"pulse-onsite-font-mono":""}function renderBar(e,t){var f,d;const r=document.createElement("div"),i=safeSize(e.size),n=fontClass(e.font_family);r.className=`pulse-onsite-bar ${e.position==="bottom"?"bottom":"top"} size-${i}${n?" "+n:""}`;const s=safeColor(e.background_color),o=safeColor(e.text_color)||autoTextColor(s),l=safeAlign(e.text_align,"left");return s&&(r.style.background=s),r.style.color=o,r.style.textAlign=l,l==="center"?r.style.justifyContent="center":l==="right"&&(r.style.justifyContent="flex-end"),r.innerHTML=`
123    <div class="pulse-onsite-bar-text">
124      ${e.title?`<strong>${escapeHtml(e.title)}</strong>`:""}
125      ${e.body?escapeHtml(e.body):""}
126    </div>
127    ${e.cta_text?`<a class="pulse-onsite-bar-cta" href="${escapeHtml(e.cta_url||"#")}" style="${s?`color:${s};`:""}">${escapeHtml(e.cta_text)}</a>`:""}
128    <button class="pulse-onsite-bar-close" aria-label="Dismiss" style="color:${o};">&times;</button>
129  `,(f=r.querySelector(".pulse-onsite-bar-cta"))==null||f.addEventListener("click",()=>t.onClick(e.id)),(d=r.querySelector(".pulse-onsite-bar-close"))==null||d.addEventListener("click",()=>{markDismissed(e.id),r.remove()}),r}function renderPopup(e,t){var g,_;const r=document.createElement("div"),i=["top","bottom","center"].includes(e.position)?e.position:"center",n=safeSize(e.size),s=safeOrient(e.orientation),o=safeAspect(e.image_aspect_ratio),l=safeFit(e.image_fit),f=!!e.image_only&&!!e.image_url,d=fontClass(e.font_family);r.className=`pulse-onsite-popup-backdrop ${i}${d?" "+d:""}`;const u=aspectClass(o),y=["pulse-onsite-popup",`size-${n}`,`orient-${s}`,u,`fit-${l}`,f?"image-only":""].filter(Boolean).join(" "),m=e.image_url?`<img class="pulse-onsite-popup-image" src="${escapeHtml(e.image_url)}" alt="${escapeHtml(e.title||"")}"/>`:"",v=e.display_frequency==="persistent"?"":'<button class="pulse-onsite-popup-close" aria-label="Close">&times;</button>',S=safeColor(e.background_color),E=safeColor(e.text_color)||autoTextColor(S),A=safeAlign(e.text_align,"center"),P=S?`background:${S};color:${E};`:"";r.innerHTML=`
130    <div class="${y}" role="dialog" aria-modal="true" style="${S?`background:${S};`:""}text-align:${A};">
131      ${v}
132      ${m}
133      <div class="pulse-onsite-popup-inner">
134        ${e.title?`<h3 class="pulse-onsite-popup-title" style="color:${E};">${escapeHtml(e.title)}</h3>`:""}
135        ${e.body?`<p class="pulse-onsite-popup-body" style="color:${E};opacity:0.85;">${escapeHtml(e.body)}</p>`:""}
136        ${e.cta_text?`<a class="pulse-onsite-popup-cta" href="${escapeHtml(e.cta_url||"#")}" style="${P}">${escapeHtml(e.cta_text)}</a>`:""}
137      </div>
138    </div>
139  `;const C=()=>{markDismissed(e.id),r.remove()};if((g=r.querySelector(".pulse-onsite-popup-close"))==null||g.addEventListener("click",C),e.display_frequency!=="persistent"&&r.addEventListener("click",x=>{x.target===r&&C()}),(_=r.querySelector(".pulse-onsite-popup-cta"))==null||_.addEventListener("click",()=>t.onClick(e.id)),f&&e.cta_url){const x=r.querySelector(".pulse-onsite-popup-image");x&&x.addEventListener("click",()=>{t.onClick(e.id);try{window.location.href=e.cta_url}catch{}})}return r}
139function renderSlide(e,t){var P,C;const r=document.createElement("div"),i=["top","bottom","right","center"].includes(e.position)?e.position:"bottom",n=safeSize(e.size),s=safeOrient(e.orientation),o=safeAspect(e.image_aspect_ratio),l=safeFit(e.image_fit),f=!!e.image_only&&!!e.image_url,d=fontClass(e.font_family),u=aspectClass(o);r.className=["pulse-onsite-slide",i,`size-${n}`,`orient-${s}`,u,`fit-${l}`,f?"image-only":"",d].filter(Boolean).join(" ");const y=e.image_url?`<img class="pulse-onsite-slide-image" src="${escapeHtml(e.image_url)}" alt="${escapeHtml(e.title||"")}"/>`:"",m=e.display_frequency==="persistent"?"":'<button class="pulse-onsite-slide-close" aria-label="Close">&times;</button>',v=safeColor(e.background_color),S=safeColor(e.text_color)||autoTextColor(v),E=safeAlign(e.text_align,"left"),A=v?`background:${v};color:${S};`:"";if(v&&(r.style.background=v),r.innerHTML=`
140    ${m}
141    ${y}
142    <div class="pulse-onsite-slide-inner" style="text-align:${E};">
143      ${e.title?`<div class="pulse-onsite-slide-title" style="color:${S};">${escapeHtml(e.title)}</div>`:""}
144      ${e.body?`<div class="pulse-onsite-slide-body" style="color:${S};opacity:0.85;">${escapeHtml(e.body)}</div>`:""}
145      ${e.cta_text?`<a class="pulse-onsite-slide-cta" href="${escapeHtml(e.cta_url||"#")}" style="${A}">${escapeHtml(e.cta_text)}</a>`:""}
146    </div>
147  `,(P=r.querySelector(".pulse-onsite-slide-close"))==null||P.addEventListener("click",()=>{markDismissed(e.id),r.remove()}),(C=r.querySelector(".pulse-onsite-slide-cta"))==null||C.addEventListener("click",()=>t.onClick(e.id)),f&&e.cta_url){const g=r.querySelector(".pulse-onsite-slide-image");g&&g.addEventListener("click",()=>{t.onClick(e.id);try{window.location.href=e.cta_url}catch{}})}return r}function startOnsiteRenderer(e,t={}){if(typeof window>"u"||typeof document>"u")return{refresh:async()=>{},destroy:()=>{}};ensureStyles();const r=new Set;let i=!1;const n=async()=>{if(i)return;const l=ensureRoot();if(!l)return;const f=await e.fetchOnsiteMessages({url:location.href}).catch(()=>[]);for(const d of f){if(r.has(d.id)||isDismissed(d.id)||!isInWindow(d)||!frequencyAllows(d))continue;r.add(d.id),markSessionShown(d.id),markShown(d.id);const u={onImpression:m=>{e.markOnsite(m,"impression").catch(()=>{})},onClick:m=>{e.markOnsite(m,"click").catch(()=>{})}};let y;d.message_type==="bar"?y=renderBar(d,u):d.message_type==="slide"?y=renderSlide(d,u):y=renderPopup(d,u),l.appendChild(y),u.onImpression(d.id)}},s=()=>{n()};if(t.autoRouteRefresh!==!1){const l=history.pushState,f=history.replaceState;history.pushState=function(...d){const u=l.apply(this,d);return s(),u},history.replaceState=function(...d){const u=f.apply(this,d);return s(),u},window.addEventListener("popstate",s)}let o=null;return t.pollMs&&t.pollMs>0&&(o=setInterval(()=>{n()},t.pollMs)),n(),{refresh:n,destroy:()=>{i=!0,o&&clearInterval(o),window.removeEventListener("popstate",s);const l=document.getElementById(ROOT_ID);l&&l.remove()}}}var STYLE_ID2="__pulse_journey_banner_styles__",ROOT_ID2="__pulse_journey_banner_root__",CSS2=`
148.pulse-jbanner {
149  position: fixed; left: 16px; right: 16px; z-index: 2147483600;
150  max-width: 560px; margin: 0 auto;
151  background: #111827; color: #fff; border-radius: 14px;
152  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
153  padding: 14px 16px; display: flex; gap: 12px; align-items: center;
154  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
155  animation: pulseJBannerIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
156}
157.pulse-jbanner.bottom { bottom: 16px; }
158.pulse-jbanner.top { top: 16px; }
159.pulse-jbanner-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
160.pulse-jbanner-text { flex: 1; min-width: 0; }
161.pulse-jbanner-title { font-weight: 700; font-size: 14px; margin: 0 0 2px; }
162.pulse-jbanner-body { font-size: 13px; opacity: 0.9; line-height: 1.4; margin: 0; }
163.pulse-jbanner-cta { background: #fff; color: #111827; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
164.pulse-jbanner-close { background: transparent; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: 0.8; padding: 0 0 0 6px; }
165.pulse-jbanner-close:hover { opacity: 1; }
166@keyframes pulseJBannerIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
167`;function ensureStyles2(){if(typeof document>"u"||document.getElementById(STYLE_ID2))return;const e=document.createElement("style");e.id=STYLE_ID2,e.textContent=CSS2,document.head.appendChild(e)}function ensureRoot2(){if(typeof document>"u")return null;let e=document.getElementById(ROOT_ID2);return e||(e=document.createElement("div"),e.id=ROOT_ID2,document.body.appendChild(e)),e}function escapeHtml2(e){return e.replace(/[&<>"']/g,t=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"})[t])}function startJourneyBannerRenderer(e,t={}){if(typeof window>"u"||typeof document>"u")return{refresh:async()=>{},destroy:()=>{}};ensureStyles2();const r=t.position==="top"?"top":"bottom",i=t.brandColor||"#111827";let n=!1,s=null,o=null;const l=new Set,f=()=>{s&&(s.remove(),s=null,o=null)},d=v=>{var A,P;const S=ensureRoot2();if(!S)return;f();const E=document.createElement("div");E.className=`pulse-jbanner ${r}`,E.style.background=i,E.innerHTML=`
168      ${v.image_url?`<img class="pulse-jbanner-img" src="${escapeHtml2(v.image_url)}" alt=""/>`:""}
169      <div class="pulse-jbanner-text">
170        ${v.title?`<div class="pulse-jbanner-title">${escapeHtml2(v.title)}</div>`:""}
171        ${v.body?`<div class="pulse-jbanner-body">${escapeHtml2(v.body)}</div>`:""}
172      </div>
173      ${v.cta_label?`<a class="pulse-jbanner-cta" href="${escapeHtml2(v.cta_url||"#")}" style="color:${i}">${escapeHtml2(v.cta_label)}</a>`:""}
174      <button class="pulse-jbanner-close" aria-label="Dismiss">&times;</button>
175    `,(A=E.querySelector(".pulse-jbanner-cta"))==null||A.addEventListener("click",()=>{e.markMessage(v.id,"clicked").catch(()=>{})}),(P=E.querySelector(".pulse-jbanner-close"))==null||P.addEventListener("click",()=>{e.markMessage(v.id,"dismissed").catch(()=>{}),f()}),S.appendChild(E),s=E,o=v.id,l.has(v.id)||(l.add(v.id),e.markMessage(v.id,"seen").catch(()=>{}))},u=async()=>{if(n)return;const S=(await e.fetchInAppMessages({placement:"banner"}).catch(()=>[]))[0];S&&o!==S.id&&d(S)},y=t.pollMs??15e3;u();const m=y>0?setInterval(()=>{u()},y):null;return{refresh:u,destroy:()=>{n=!0,m&&clearInterval(m),f()}}}var DEFAULT_URL="https://api.pulse.app/functions/v1/track";function isEnabled(e,t){if(e==null)return t;if(typeof e=="boolean")return e;if(typeof e=="number")return e!==0;if(typeof e=="string"){const r=e.trim().toLowerCase();return!(r==="false"||r==="0"||r==="no"||r==="off"||r==="")}return t}function urlBase64ToUint8Array(e){const t="=".repeat((4-e.length%4)%4),r=(e+t).replace(/-/g,"+").replace(/_/g,"/"),i=atob(r),n=new ArrayBuffer(i.length),s=new Uint8Array(n);for(let o=0;o<i.length;o++)s[o]=i.charCodeAt(o);return n}var localStorageStorage=(()=>{if(typeof window>"u")return null;try{const e="__pulse_probe__";return window.localStorage.setItem(e,"1"),window.localStorage.removeItem(e),{get:t=>window.localStorage.getItem(t),set:(t,r)=>{window.localStorage.setItem(t,r)},remove:t=>{window.localStorage.removeItem(t)}}}catch{return null}})(),Pulse=class extends PulseCore{constructor(e){e.apiKey&&!e.apiKey.startsWith("ppk_")&&console.warn("[pulse] @sycamoreng/pulse-browser expects a publishable key (ppk_). Do not ship secret keys (pk_) to the browser."),super({storage:localStorageStorage??void 0,fetchImpl:typeof window<"u"&&typeof window.fetch=="function"?(n,s)=>window.fetch(n,s):void 0,...e,apiUrl:e.apiUrl??DEFAULT_URL,keyType:"publishable"}),this.autoPageCleanup=null,this.onsiteController=null,this.journeyBannerController=null;const t=this.ready();this.installUnloadFlush(),isEnabled(e.autoPage,!0)&&t.then(()=>this.installAutoPage()).catch(()=>{}),isEnabled(e.onsiteMessages,!0)&&typeof window<"u"&&t.then(()=>this.enableOnsiteMessages()).catch(()=>{});const r=e.journeyBanners;if((r==null||typeof r=="object"?!0:isEnabled(r,!0))&&typeof window<"u"){const n=typeof r=="object"&&r!==null?r:{};t.then(()=>this.enableJourneyBanners(n)).catch(()=>{})}}enableJourneyBanners(e={}){return this.journeyBannerController?this.journeyBannerController:(this.journeyBannerController=startJourneyBannerRenderer({fetchInAppMessages:t=>this.fetchInAppMessages(t),markMessage:(t,r)=>this.markMessage(t,r)},e),this.journeyBannerController)}enableOnsiteMessages(e={}){return this.onsiteController?this.onsiteController:(this.onsiteController=startOnsiteRenderer({fetchOnsiteMessages:t=>this.fetchOnsiteMessages(t),markOnsite:(t,r)=>this.markOnsite(t,r)},e),this.onsiteController)}installUnloadFlush(){if(typeof window>"u")return;const e=()=>{this.flush().catch(()=>{})};window.addEventListener("pagehide",e),window.addEventListener("beforeunload",e),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&e()})}installAutoPage(){if(typeof window>"u")return;const e=()=>this.track("page_viewed",{url:location.href,path:location.pathname,title:document.title,referrer:document.referrer});e();const t=history.pushState,r=history.replaceState;history.pushState=function(...n){const s=t.apply(this,n);return e(),s},history.replaceState=function(...n){const s=r.apply(this,n);return e(),s};const i=()=>e();window.addEventListener("popstate",i),this.autoPageCleanup=()=>{history.pushState=t,history.replaceState=r,window.removeEventListener("popstate",i)}}async destroy(){var e,t,r;(e=this.autoPageCleanup)==null||e.call(this),(t=this.onsiteController)==null||t.destroy(),(r=this.journeyBannerController)==null||r.destroy(),await super.destroy()}async enableWebPush(e,t="/sw.js"){if(typeof window>
175"u"||!("serviceWorker"in navigator)||!("PushManager"in window)||await Notification.requestPermission()!=="granted")return!1;const i=await navigator.serviceWorker.register(t),s=await i.pushManager.getSubscription()??await i.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:urlBase64ToUint8Array(e)});return await this.registerDevice({platform:"web",token:s.toJSON()}),!0}page(e,t){this.track("page_viewed",{name:e,url:typeof location<"u"?location.href:void 0,path:typeof location<"u"?location.pathname:void 0,title:typeof document<"u"?document.title:void 0,...t})}};const plugin_client_zlbEWIsNDr=defineNuxtPlugin(e=>{const t=useRuntimeConfig().public.pulse;if(!(t!=null&&t.apiKey))return;const r=new Pulse({apiKey:t.apiKey,apiUrl:t.apiUrl,autoPage:t.autoPage,onsiteMessages:t.onsiteMessages,onError:i=>{}});e.provide("pulse",r)});function tryOnScopeDispose(e){return getCurrentScope()?(onScopeDispose(e),!0):!1}function toValue(e){return typeof e=="function"?e():unref(e)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const notNullish=e=>e!=null,toString=Object.prototype.toString,isObject$1=e=>toString.call(e)==="[object Object]",noop=()=>{};function getLifeCycleTarget(e){return getCurrentInstance()}function tryOnUnmounted(e,t){getLifeCycleTarget()&&onUnmounted(e,t)}function unrefElement(e){var t;const r=toValue(e);return(t=r==null?void 0:r.$el)!=null?t:r}const defaultWindow=isClient?window:void 0;function useEventListener(...e){let t,r,i,n;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,i,n]=e,t=defaultWindow):[t,r,i,n]=e,!t)return noop;Array.isArray(r)||(r=[r]),Array.isArray(i)||(i=[i]);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},l=(u,y,m,v)=>(u.addEventListener(y,m,v),()=>u.removeEventListener(y,m,v)),f=watch(()=>[unrefElement(t),toValue(n)],([u,y])=>{if(o(),!u)return;const m=isObject$1(y)?{...y}:y;s.push(...r.flatMap(v=>i.map(S=>l(u,v,S,m))))},{immediate:!0,flush:"post"}),d=()=>{f(),o()};return tryOnScopeDispose(d),d}function useMounted(){const e=ref(!1),t=getCurrentInstance();return t&&onMounted(()=>{e.value=!0},t),e}function useSupported(e){const t=useMounted();return computed(()=>(t.value,!!e()))}function useIntersectionObserver(e,t,r={}){const{root:i,rootMargin:n="0px",threshold:s=.1,window:o=defaultWindow,immediate:l=!0}=r,f=useSupported(()=>o&&"IntersectionObserver"in o),d=computed(()=>{const S=toValue(e);return(Array.isArray(S)?S:[S]).map(unrefElement).filter(notNullish)});let u=noop;const y=ref(l),m=f.value?watch(()=>[d.value,unrefElement(i),y.value],([S,E])=>{if(u(),!y.value||!S.length)return;const A=new IntersectionObserver(t,{root:unrefElement(E),rootMargin:n,threshold:s});S.forEach(P=>P&&A.observe(P)),u=()=>{A.disconnect(),u=noop}},{immediate:l,flush:"post"}):noop,v=()=>{u(),m(),y.value=!1};return tryOnScopeDispose(v),{isSupported:f,isActive:y,pause(){u(),y.value=!1},resume(){y.value=!0},stop:v}}const defaultTimestep=1/60*1e3,getCurrentTime=typeof performance<"u"?()=>performance.now():()=>Date.now(),onNextFrame=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(getCurrentTime()),defaultTimestep);function createRenderStep(e){let t=[],r=[],i=0,n=!1,s=!1;const o=new WeakSet,l={schedule:(f,d=!1,u=!1)=>{const y=u&&n,m=y?t:r;return d&&o.add(f),m.indexOf(f)===-1&&(m.push(f),y&&n&&(i=t.length)),f},cancel:f=>{const d=r.indexOf(f);d!==-1&&r.splice(d,1),o.delete(f)},process:f=>{if(n){s=!0;return}if(n=!0,[t,r]=[r,t],r.length=0,i=t.length,i)for(let d=0;d<i;d++){const u=t[d];u(f),o.has(u)&&(l.schedule(u),e())}n=!1,s&&(s=!1,l.process(f))}};return l}const maxElapsed=40;let useDefaultElapsed=!0,runNextFrame=!1,isProcessing=!1;const frame={delta:0,timestamp:0},stepsOrder=["read","update","preRender","render","postRender"],steps=stepsOrder.reduce((e,t)=>(e[t]=createRenderStep(()=>runNextFrame=!0),e),{}),sync=stepsOrder.reduce((e,t)=>{const r=steps[t];return e[t]=(i,n=!1,s=!1)=>(runNextFrame||startLoop(),r.schedule(i,n,s)),e},{}),cancelSync=stepsOrder.reduce((e,t)=>(e[t]=steps[t].cancel,e),{});stepsOrder.reduce((e,t)=>(e[t]=()=>steps[t].process(frame),e),{});const processStep=e=>steps[e].process(frame),processFrame=e=>{runNextFrame=!1,frame.delta=useDefaultElapsed?defaultTimestep:Math.max(Math.min(e-frame.timestamp,maxElapsed),1),frame.timestamp=e,isProcessing=!0,stepsOrder.forEach(processStep),isProcessing=!1,runNextFrame&&(useDefaultElapsed=!1,onNextFrame(processFrame))},startLoop=()=>{runNextFrame=!0,useDefaultElapsed=!0,isProcessing||onNextFrame(processFrame)},getFrameData=()=>frame;function __rest(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}var invariant=function(){};const clamp$1=(e,t,r)=>
175Math.min(Math.max(r,e),t),safeMin=.001,minDuration=.01,maxDuration=10,minDamping=.05,maxDamping=1;function findSpring({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let n,s,o=1-t;o=clamp$1(minDamping,maxDamping,o),e=clamp$1(minDuration,maxDuration,e/1e3),o<1?(n=d=>{const u=d*o,y=u*e,m=u-r,v=calcAngularFreq(d,o),S=Math.exp(-y);return safeMin-m/v*S},s=d=>{const y=d*o*e,m=y*r+r,v=Math.pow(o,2)*Math.pow(d,2)*e,S=Math.exp(-y),E=calcAngularFreq(Math.pow(d,2),o);return(-n(d)+safeMin>0?-1:1)*((m-v)*S)/E}):(n=d=>{const u=Math.exp(-d*e),y=(d-r)*e+1;return-safeMin+u*y},s=d=>{const u=Math.exp(-d*e),y=(r-d)*(e*e);return u*y});const l=5/e,f=approximateRoot(n,s,l);if(e=e*1e3,isNaN(f))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(f,2)*i;return{stiffness:d,damping:o*2*Math.sqrt(i*d),duration:e}}}const rootIterations=12;function approximateRoot(e,t,r){let i=r;for(let n=1;n<rootIterations;n++)i=i-e(i)/t(i);return i}function calcAngularFreq(e,t){return e*Math.sqrt(1-t*t)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(e,t){return t.some(r=>e[r]!==void 0)}function getSpringOptions(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!isSpringType(e,physicsKeys)&&isSpringType(e,durationKeys)){const r=findSpring(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function spring(e){var{from:t=0,to:r=1,restSpeed:i=2,restDelta:n}=e,s=__rest(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:f,mass:d,velocity:u,duration:y,isResolvedFromDuration:m}=getSpringOptions(s),v=zero,S=zero;function E(){const A=u?-(u/1e3):0,P=r-t,C=f/(2*Math.sqrt(l*d)),g=Math.sqrt(l/d)/1e3;if(n===void 0&&(n=Math.min(Math.abs(r-t)/100,.4)),C<1){const _=calcAngularFreq(g,C);v=x=>{const w=Math.exp(-C*g*x);return r-w*((A+C*g*P)/_*Math.sin(_*x)+P*Math.cos(_*x))},S=x=>{const w=Math.exp(-C*g*x);return C*g*w*(Math.sin(_*x)*(A+C*g*P)/_+P*Math.cos(_*x))-w*(Math.cos(_*x)*(A+C*g*P)-_*P*Math.sin(_*x))}}else if(C===1)v=_=>r-Math.exp(-g*_)*(P+(A+g*P)*_);else{const _=g*Math.sqrt(C*C-1);v=x=>{const w=Math.exp(-C*g*x),M=Math.min(_*x,300);return r-w*((A+C*g*P)*Math.sinh(M)+_*P*Math.cosh(M))/_}}}return E(),{next:A=>{const P=v(A);if(m)o.done=A>=y;else{const C=S(A)*1e3,g=Math.abs(C)<=i,_=Math.abs(r-P)<=n;o.done=g&&_}return o.value=o.done?r:P,o},flipTarget:()=>{u=-u,[t,r]=[r,t],E()}}}spring.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const zero=e=>0,progress=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},mix=(e,t,r)=>-r*e+r*t+e,clamp=(e,t)=>r=>Math.max(Math.min(r,t),e),sanitize=e=>e%1?Number(e.toFixed(5)):e,floatRegex=/(-)?([\d]*\.?[\d])+/g,colorRegex=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,singleColorRegex=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function isString(e){return typeof e=="string"}const number={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},alpha=Object.assign(Object.assign({},number),{transform:clamp(0,1)}),scale=Object.assign(Object.assign({},number),{default:1}),createUnitType=e=>({test:t=>isString(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),progressPercentage=Object.assign(Object.assign({},percent),{parse:e=>percent.parse(e)/100,transform:e=>percent.transform(e*100)}),isColorString=(e,t)=>r=>!!(isString(r)&&singleColorRegex.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),splitColor=(e,t,r)=>i=>{if(!isString(i))return i;const[n,s,o,l]=i.match(floatRegex);return{[e]:parseFloat(n),[t]:parseFloat(s),[r]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+percent.transform(sanitize(t))+", "+percent.transform(sanitize(r))+", "+sanitize(alpha.transform(i))+")"},clampRgbUnit=clamp(0,255),rgbUnit=Object.assign(Object.assign({},number),{transform:e=>Math.round(clampRgbUnit(e))}),rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+rgbUnit.transform(e)+", "+rgbUnit.transform(t)+", "+rgbUnit.transform(r)+", "+sanitize(alpha.transform(i))+")"};function parseHex(e){let t="",r="",i="",n="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),i=e.substr(5,2),n=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),i=e.substr(3,1),n=e.substr(4,1),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alph
vendor: 6,008 bytes, line 175
175a:n?parseInt(n,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},color={test:e=>rgba.test(e)||hex.test(e)||hsla.test(e),parse:e=>rgba.test(e)?rgba.parse(e):hsla.test(e)?hsla.parse(e):hex.parse(e),transform:e=>isString(e)?e:e.hasOwnProperty("red")?rgba.transform(e):hsla.transform(e)},colorToken="${c}",numberToken="${n}";function test(e){var t,r,i,n;return isNaN(e)&&isString(e)&&((r=(t=e.match(floatRegex))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((n=(i=e.match(colorRegex))===null||i===void 0?void 0:i.length)!==null&&n!==void 0?n:0)>0}function analyse$1(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const i=e.match(colorRegex);i&&(r=i.length,e=e.replace(colorRegex,colorToken),t.push(...i.map(color.parse)));const n=e.match(floatRegex);return n&&(e=e.replace(floatRegex,numberToken),t.push(...n.map(number.parse))),{values:t,numColors:r,tokenised:e}}function parse(e){return analyse$1(e).values}function createTransformer(e){const{values:t,numColors:r,tokenised:i}=analyse$1(e),n=t.length;return s=>{let o=i;for(let l=0;l<n;l++)o=o.replace(l<r?colorToken:numberToken,l<r?color.transform(s[l]):sanitize(s[l]));return o}}const convertNumbersToZero=e=>typeof e=="number"?0:e;function getAnimatableNone$1(e){const t=parse(e);return createTransformer(e)(t.map(convertNumbersToZero))}const complex={test,parse,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(floatRegex)||[];if(!i)return e;const n=r.replace(i,"");let s=maxDefaults.has(t)?1:0;return i!==r&&(s*=100),t+"("+s+n+")"}const functionRegex=/([a-z-]*)\(.*?\)/g,filter=Object.assign(Object.assign({},complex),{getAnimatableNone:e=>{const t=e.match(functionRegex);return t?t.map(applyDefaultFilter).join(" "):e}});function hueToRgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslaToRgba({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let n=0,s=0,o=0;if(!t)n=s=o=r;else{const l=r<.5?r*(1+t):r+t-r*t,f=2*r-l;n=hueToRgb(f,l,e+1/3),s=hueToRgb(f,l,e),o=hueToRgb(f,l,e-1/3)}return{red:Math.round(n*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:i}}const mixLinearColor=(e,t,r)=>{const i=e*e,n=t*t;return Math.sqrt(Math.max(0,r*(n-i)+i))},colorTypes=[hex,rgba,hsla],getColorType=e=>colorTypes.find(t=>t.test(e)),mixColor=(e,t)=>{let r=getColorType(e),i=getColorType(t),n=r.parse(e),s=i.parse(t);r===hsla&&(n=hslaToRgba(n),r=rgba),i===hsla&&(s=hslaToRgba(s),i=rgba);const o=Object.assign({},n);return l=>{for(const f in o)f!=="alpha"&&(o[f]=mixLinearColor(n[f],s[f],l));return o.alpha=mix(n.alpha,s.alpha,l),r.transform(o)}},isNum=e=>typeof e=="number",combineFunctions=(e,t)=>r=>t(e(r)),pipe=(...e)=>e.reduce(combineFunctions);function getMixer(e,t){return isNum(e)?r=>mix(e,t,r):color.test(e)?mixColor(e,t):mixComplex(e,t)}const mixArray=(e,t)=>{const r=[...e],i=r.length,n=e.map((s,o)=>getMixer(s,t[o]));return s=>{for(let o=0;o<i;o++)r[o]=n[o](s);return r}},mixObject=(e,t)=>{const r=Object.assign(Object.assign({},e),t),i={};for(const n in r)e[n]!==void 0&&t[n]!==void 0&&(i[n]=getMixer(e[n],t[n]));return n=>{for(const s in i)r[s]=i[s](n);return r}};function analyse(e){const t=complex.parse(e),r=t.length;let i=0,n=0,s=0;for(let o=0;o<r;o++)i||typeof t[o]=="number"?i++:t[o].hue!==void 0?s++:n++;return{parsed:t,numNumbers:i,numRGB:n,numHSL:s}}const mixComplex=(e,t)=>{const r=complex.createTransformer(t),i=analyse(e),n=analyse(t);return i.numHSL===n.numHSL&&i.numRGB===n.numRGB&&i.numNumbers>=n.numNumbers?pipe(mixArray(i.parsed,n.parsed),r):o=>`${o>0?t:e}`},mixNumber=(e,t)=>r=>mix(e,t,r);function detectMixerFactory(e){if(typeof e=="number")return mixNumber;if(typeof e=="string")return color.test(e)?mixColor:mixComplex;if(Array.isArray(e))return mixArray;if(typeof e=="object")return mixObject}function createMixers(e,t,r){const i=[],n=r||detectMixerFactory(e[0]),s=e.length-1;for(let o=0;o<s;o++){let l=n(e[o],e[o+1]);if(t){const f=Array.isArray(t)?t[o]:t;l=pipe(f,l)}i.push(l)}return i}function fastInterpolate([e,t],[r]){return i=>r(progress(e,t,i))}function slowInterpolate(e,t){const r=e.length,i=r-1;return n=>{let s=0,o=!1;if(n<=e[0]?o=!0:n>=e[i]&&(s=i-1,o=!0),!o){let f=1;for(;f<r&&!(e[f]>n||f===i);f++);s=f-1}const l=progress(e[s],e[s+1],n);return t[s](l)}}function interpolate(e,t,{clamp:r=!0,ease:i,mixer:n}={}){const s=e.length;invariant(s===t.length),invariant(!i||!Array.isArray(i)||i.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=createMixers(t,i,n),l=s===2?fastInterpolate(e,o):slowInterpolate(e,o);return r?f=>l(clamp$1(e[0],e[s-1],f)):l}const reverseEasing=e=>t=>1-e(1-t),mirrorEasing=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,createExpoIn=e=>t=>Math.pow(t,e),createBackIn=e=>t=>t*t*((e+1)*t-e),createAnticipate=e=>{const t=createBackIn(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},DEFAULT_OVERSHOOT_STRENGTH=1.525,BOUNCE_FIRST_THRESHOLD=4/11,BOUNCE_SECOND_THRESHOLD=8/11,BOUNCE_THIRD_THRESHOLD=9/10,linear=e=>e,easeIn=createExpoIn(2),easeOut=reverseEasing(easeIn),easeInOut=mirrorEasing(easeIn),circIn=e=>1-Math.sin(Math.acos(e)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circOut),backIn=createBackIn(DEFAULT_OVERSHOOT_STRENGTH),backOut=reverseEasing(backIn),backInOut=mirrorEasing(backIn),anticipate=createAnticipate(DEFAULT_OVERSHOOT_STRENGTH),ca=4356/361,cb=35442/1805,cc=16061/1805,bounceOut=e=>{if(e===1||e===0)return e;const t=e*e;return e<BOUNCE_FIRST_THRESHOLD?7.5625*t:e<BOUNCE_SECOND_THRESHOLD?9.075*t-9.9*e+3.4:e<BOUNCE_THIRD_THRESHOLD?ca*t-cb*e+cc:10.8*e*e-20.52*e+10.72},bounceIn=reverseEasing(bounceOut),bounceInOut=e=>e<.5?.5*(1-bounceOut(1-e*2)):.5*bounceOut(e*2-1)+.5;function defaultEasing(e,t){return e.map(()=>t||easeInOut).splice(0,e.length-1)}function defaultOffset(e){const t=e.length;return e.map((r,i)=>
175i!==0?i/(t-1):0)}function convertOffsetToTimes(e,t){return e.map(r=>r*t)}function keyframes$1({from:e=0,to:t=1,ease:r,offset:i,duration:n=300}){const s={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=convertOffsetToTimes(i&&i.length===o.length?i:defaultOffset(o),n);function f(){return interpolate(l,o,{ease:Array.isArray(r)?r:defaultEasing(o,r)})}let d=f();return{next:u=>(s.value=d(u),s.done=u>=n,s),flipTarget:()=>{o.reverse(),d=f()}}}function decay({velocity:e=0,from:t=0,power:r=.8,timeConstant:i=350,restDelta:n=.5,modifyTarget:s}){const o={done:!1,value:t};let l=r*e;const f=t+l,d=s===void 0?f:s(f);return d!==f&&(l=d-t),{next:u=>{const y=-l*Math.exp(-u/i);return o.done=!(y>n||y<-n),o.value=o.done?d:d+y,o},flipTarget:()=>{}}}const types={keyframes:keyframes$1,spring,decay};function detectAnimationFromOptions(e){if(Array.isArray(e.to))return keyframes$1;if(types[e.type])return types[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?keyframes$1:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?spring:keyframes$1}function loopElapsed(e,t,r=0){return e-t-r}function reverseElapsed(e,t,r=0,i=!0){return i?loopElapsed(t+-e,t,r):t-(e-t)+r}function hasRepeatDelayElapsed(e,t,r,i){return i?e>=t+r:e<=-r}const framesync=e=>{const t=({delta:r})=>e(r);return{start:()=>sync.update(t,!0),stop:()=>cancelSync.update(t)}};function animate(e){var t,r,{from:i,autoplay:n=!0,driver:s=framesync,elapsed:o=0,repeat:l=0,repeatType:f="loop",repeatDelay:d=0,onPlay:u,onStop:y,onComplete:m,onRepeat:v,onUpdate:S}=e,E=__rest(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:A}=E,P,C=0,g=E.duration,_,x=!1,w=!0,M;const I=detectAnimationFromOptions(E);!((r=(t=I).needsInterpolation)===null||r===void 0)&&r.call(t,i,A)&&(M=interpolate([0,100],[i,A],{clamp:!1}),i=0,A=100);const B=I(Object.assign(Object.assign({},E),{from:i,to:A}));function D(){C++,f==="reverse"?(w=C%2===0,o=reverseElapsed(o,g,d,w)):(o=loopElapsed(o,g,d),f==="mirror"&&B.flipTarget()),x=!1,v&&v()}function j(){P.stop(),m&&m()}function V(U){if(w||(U=-U),o+=U,!x){const z=B.next(Math.max(0,o));_=z.value,M&&(_=M(_)),x=w?z.done:o<=0}S==null||S(_),x&&(C===0&&(g??(g=o)),C<l?hasRepeatDelayElapsed(o,g,d,w)&&D():j())}function G(){u==null||u(),P=s(V),P.start()}return n&&G(),{stop:()=>{y==null||y(),P.stop()}}}function velocityPerSecond(e,t){return t?e*(1e3/t):0}function inertia({from:e=0,velocity:t=0,min:r,max:i,power:n=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:f=1,modifyTarget:d,driver:u,onUpdate:y,onComplete:m,onStop:v}){let S;function E(g){return r!==void 0&&g<r||i!==void 0&&g>i}function A(g){return r===void 0?i:i===void 0||Math.abs(r-g)<Math.abs(i-g)?r:i}function P(g){S==null||S.stop(),S=animate(Object.assign(Object.assign({},g),{driver:u,onUpdate:_=>{var x;y==null||y(_),(x=g.onUpdate)===null||x===void 0||x.call(g,_)},onComplete:m,onStop:v}))}function C(g){P(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:f},g))}if(E(e))C({from:e,velocity:t,to:A(e)});else{let g=n*t+e;typeof d<"u"&&(g=d(g));const _=A(g),x=_===r?-1:1;let w,M;const I=B=>{w=M,M=B,t=velocityPerSecond(B-w,getFrameData().delta),(x===1&&B>_||x===-1&&B<_)&&C({from:B,to:_,velocity:t})};P({type:"decay",from:e,velocity:t,timeConstant:s,power:n,restDelta:f,modifyTarget:d,onUpdate:E(g)?I:void 0})}return{stop:()=>S==null?void 0:S.stop()}}const a=(e,t)=>1-3*t+3*e,b=(e,t)=>3*t-6*e,c=e=>3*e,calcBezier=(e,t,r)=>((a(t,r)*e+b(t,r))*e+c(t))*e,getSlope=(e,t,r)=>3*a(t,r)*e*e+2*b(t,r)*e+c(t),subdivisionPrecision=1e-7,subdivisionMaxIterations=10;function binarySubdivide(e,t,r,i,n){let s,o,l=0;do o=t+(r-t)/2,s=calcBezier(o,i,n)-e,s>0?r=o:t=o;while(Math.abs(s)>subdivisionPrecision&&++l<subdivisionMaxIterations);return o}const newtonIterations=8,newtonMinSlope=.001;function newtonRaphsonIterate(e,t,r,i){for(let n=0;n<newtonIterations;++n){const s=getSlope(t,r,i);if(s===0)return t;const o=calcBezier(t,r,i)-e;t-=o/s}return t}const kSplineTableSize=11,kSampleStepSize=1/(kSplineTableSize-1);
175function cubicBezier(e,t,r,i){if(e===t&&r===i)return linear;const n=new Float32Array(kSplineTableSize);for(let o=0;o<kSplineTableSize;++o)n[o]=calcBezier(o*kSampleStepSize,e,r);function s(o){let l=0,f=1;const d=kSplineTableSize-1;for(;f!==d&&n[f]<=o;++f)l+=kSampleStepSize;--f;const u=(o-n[f])/(n[f+1]-n[f]),y=l+u*kSampleStepSize,m=getSlope(y,e,r);return m>=newtonMinSlope?newtonRaphsonIterate(o,y,e,r):m===0?y:binarySubdivide(o,l,l+kSampleStepSize,e,r)}return o=>o===0||o===1?o:calcBezier(s(o),t,i)}const motionState={};var __defProp$1=Object.defineProperty,__defNormalProp$1=(e,t,r)=>t in e?__defProp$1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__publicField$1=(e,t,r)=>(__defNormalProp$1(e,t+"",r),r);class SubscriptionManager{constructor(){__publicField$1(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,r,i){if(this.subscriptions.size)for(const n of this.subscriptions)n(t,r,i)}clear(){this.subscriptions.clear()}}var __defProp$2=Object.defineProperty,__defNormalProp$2=(e,t,r)=>t in e?__defProp$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__publicField=(e,t,r)=>(__defNormalProp$2(e,typeof t!="symbol"?t+"":t,r),r);function isFloat(e){return!Number.isNaN(Number.parseFloat(e))}class MotionValue{constructor(t){__publicField(this,"current"),__publicField(this,"prev"),__publicField(this,"timeDelta",0),__publicField(this,"lastUpdated",0),__publicField(this,"updateSubscribers",new SubscriptionManager),__publicField(this,"stopAnimation"),__publicField(this,"canTrackVelocity",!1),__publicField(this,"updateAndNotify",r=>{this.prev=this.current,this.current=r;const{delta:i,timestamp:n}=getFrameData();this.lastUpdated!==n&&(this.timeDelta=i,this.lastUpdated=n),sync.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)}),__publicField(this,"scheduleVelocityCheck",()=>sync.postRender(this.velocityCheck)),__publicField(this,"velocityCheck",({timestamp:r})=>{this.canTrackVelocity||(this.canTrackVelocity=isFloat(this.current)),r!==this.lastUpdated&&(this.prev=this.current)}),this.prev=this.current=t,this.canTrackVelocity=isFloat(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?velocityPerSecond(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{const{stop:i}=t(r);this.stopAnimation=i}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function getMotionValue(e){return new MotionValue(e)}const{isArray}=Array;function useMotionValues(){const e=ref({}),t=i=>{const n=s=>{e.value[s]&&(e.value[s].stop(),e.value[s].destroy(),delete e.value[s])};i?isArray(i)?i.forEach(n):n(i):Object.keys(e.value).forEach(n)},r=(i,n,s)=>{if(e.value[i])return e.value[i];const o=getMotionValue(n);return o.onChange(l=>s[i]=l),e.value[i]=o,o};return tryOnUnmounted(t),{motionValues:e,get:r,stop:t}}function isKeyframesTarget(e){return Array.isArray(e)}function underDampedSpring(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function criticallyDampedSpring(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function overDampedSpring(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function linearTween(){return{type:"keyframes",ease:"linear",duration:300}}function keyframes(e){return{type:"keyframes",duration:800,values:e}}const defaultTransitions={default:overDampedSpring,x:underDampedSpring,y:underDampedSpring,z:underDampedSpring,rotate:underDampedSpring,rotateX:underDampedSpring,rotateY:underDampedSpring,rotateZ:underDampedSpring,scaleX:criticallyDampedSpring,scaleY:criticallyDampedSpring,scale:criticallyDampedSpring,backgroundColor:linearTween,color:linearTween,opacity:linearTween};function getDefaultTransition(e,t){let r;return isKeyframesTarget(t)?r=keyframes:r=defaultTransitions[e]||defaultTransitions.default,{to:t,...r(t)}}const int={...number,transform:Math.round},valueTypes={color,backgroundColor:color,outlineColor:color,fill:color,stroke:color,borderColor:color,borderTopColor:color,borderRightColor:color,borderBottomColor:color,borderLeftColor:color,borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,size:px,top:px,right:px,bottom:px,left
175:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale,scaleX:scale,scaleY:scale,scaleZ:scale,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px,zIndex:int,filter,WebkitFilter:filter,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},getValueType=e=>valueTypes[e];function getValueAsType(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function getAnimatableNone(e,t){let r=getValueType(e);return r!==filter&&(r=complex),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const easingLookup={linear,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate,bounceIn,bounceInOut,bounceOut};function easingDefinitionToFunction(e){if(Array.isArray(e)){const[t,r,i,n]=e;return cubicBezier(t,r,i,n)}else if(typeof e=="string")return easingLookup[e];return e}function isEasingArray(e){return Array.isArray(e)&&typeof e[0]!="number"}function isAnimatable(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&complex.test(t)&&!t.startsWith("url("))}function hydrateKeyframes(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function convertTransitionToAnimationOptions({ease:e,times:t,delay:r,...i}){const n={...i};return t&&(n.offset=t),e&&(n.ease=isEasingArray(e)?e.map(easingDefinitionToFunction):easingDefinitionToFunction(e)),r&&(n.elapsed=-r),n}function getPopmotionAnimationOptions(e,t,r){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),hydrateKeyframes(t),isTransitionDefined(e)||(e={...e,...getDefaultTransition(r,t.to)}),{...t,...convertTransitionToAnimationOptions(e)}}function isTransitionDefined({delay:e,repeat:t,repeatType:r,repeatDelay:i,from:n,...s}){return!!Object.keys(s).length}function getValueTransition(e,t){return e[t]||e.default||e}function getAnimation(e,t,r,i,n){const s=getValueTransition(i,e);let o=s.from===null||s.from===void 0?t.get():s.from;const l=isAnimatable(e,r);o==="none"&&l&&typeof r=="string"&&(o=getAnimatableNone(e,r));const f=isAnimatable(e,o);function d(y){const m={from:o,to:r,velocity:i.velocity?i.velocity:t.getVelocity(),onUpdate:v=>t.set(v)};return s.type==="inertia"||s.type==="decay"?inertia({...m,...s}):animate({...getPopmotionAnimationOptions(s,m,e),onUpdate:v=>{m.onUpdate(v),s.onUpdate&&s.onUpdate(v)},onComplete:()=>{n&&n(),y&&y()}})}function u(y){return t.set(r),n&&n(),y&&y(),{stop:()=>{}}}return!f||!l||s.type===!1?u:d}function useMotionTransitions(){const{motionValues:e,stop:t,get:r}=useMotionValues();return{motionValues:e,stop:t,push:(n,s,o,l={},f)=>{const d=o[n],u=r(n,d,o);if(l&&l.immediate){u.set(s);return}const y=getAnimation(n,u,s,l,f);u.start(y)}}}function useMotionControls(e,t={},{motionValues:r,push:i,stop:n}=useMotionTransitions()){const s=unref(t),o=ref(!1);watch(r,y=>{o.value=Object.values(y).filter(m=>m.isAnimating()).length>0},{immediate:!0,deep:!0});const l=y=>{if(!s||!s[y])throw new Error(`The variant ${y} does not exist.`);return s[y]},f=y=>{typeof y=="string"&&(y=l(y));const m=Object.entries(y).map(([S,E])=>{if(S!=="transition")return new Promise(A=>i(S,E,e,y.transition||getDefaultTransition(S,y[S]),A))}).filter(Boolean);async function v(){var S,E;await Promise.all(m),(E=(S=y.transition)==null?void 0:S.onComplete)==null||E.call(S)}return Promise.all([v()])};return{isAnimating:o,apply:f,set:y=>{const m=isObject$1(y)?y:l(y);Object.entries(m).forEach(([v,S])=>{v!=="transition"&&i(v,S,e,{immediate:!0})})},leave:async y=>{let m;if(s&&(s.leave&&(m=s.leave),!s.leave&&s.initial&&(m=s.initial)),!m){y();return}await f(m),y()},stop:n}}const isBrowser=typeof window<"u",supportsPointerEvents=()=>isBrowser&&(window.onpointerdown===null||void 0),supportsTouchEvents=()=>isBrowser&&(window.ontouchstart===null||void 0),supportsMouseEvents=()=>isBrowser&&(window.onmousedown===null||void 0);function registerEventListeners({target:e,state:t,variants:r,apply:i}){const n=unref(r),s=ref(!1),o=ref(!1),l=ref(!1),f=computed(()=>{let u=[...Object.keys(t.value||{})];return n&&(n.hovered&&(u=[...u,...Object.keys(n.hovered)]),n.tapped&&(u=[...u,...Object.keys(n.tapped)]),n.focused&&(u=[...u,...Object.keys(n.focused)])),u}),d=computed(()=>{const u={};Object.assign(u,t.value),s.value&&n.hovered&&Object.assign(u,n.hovered),o.value&&n.tapped&&Object.assign(u,n.tapped),l.value&&n.focused&&Object.assign(u,n.focused);for(const y in u)f.value.includes(y)||delete u[y];return u});n.hovered&&(useEventListener(e,"mouseenter",()=>s.value=!0),useEventListener(e,"mouseleave",()=>{s.value=!1,o.value=!1}
175)),n.tapped&&(supportsMouseEvents()&&(useEventListener(e,"mousedown",()=>o.value=!0),useEventListener(e,"mouseup",()=>o.value=!1)),supportsPointerEvents()&&(useEventListener(e,"pointerdown",()=>o.value=!0),useEventListener(e,"pointerup",()=>o.value=!1)),supportsTouchEvents()&&(useEventListener(e,"touchstart",()=>o.value=!0),useEventListener(e,"touchend",()=>o.value=!1))),n.focused&&(useEventListener(e,"focus",()=>l.value=!0),useEventListener(e,"blur",()=>l.value=!1)),watch([s,o,l],()=>{i(d.value)})}function registerLifeCycleHooks({set:e,target:t,variants:r,variant:i}){const n=unref(r);watch(()=>t,()=>{n&&(n.initial&&(e("initial"),i.value="initial"),n.enter&&(i.value="enter"))},{immediate:!0,flush:"pre"})}function registerVariantsSync({state:e,apply:t}){watch(e,r=>{r&&t(r)},{immediate:!0})}function registerVisibilityHooks({target:e,variants:t,variant:r}){const i=unref(t);i&&(i.visible||i.visibleOnce)&&useIntersectionObserver(e,([{isIntersecting:n}])=>{i.visible?n?r.value="visible":r.value="initial":i.visibleOnce&&(n&&r.value!=="visibleOnce"?r.value="visibleOnce":r.value||(r.value="initial"))})}function useMotionFeatures(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&registerLifeCycleHooks(e),t.syncVariants&&registerVariantsSync(e),t.visibilityHooks&&registerVisibilityHooks(e),t.eventListeners&&registerEventListeners(e)}function reactiveStyle(e={}){const t=reactive({...e}),r=ref({});return watch(t,()=>{const i={};for(const[n,s]of Object.entries(t)){const o=getValueType(n),l=getValueAsType(s,o);i[n]=l}r.value=i},{immediate:!0,deep:!0}),{state:t,style:r}}function usePermissiveTarget(e,t){watch(()=>unrefElement(e),r=>{r&&t(r)},{immediate:!0})}const translateAlias={x:"translateX",y:"translateY",z:"translateZ"};function reactiveTransform(e={},t=!0){const r=reactive({...e}),i=ref("");return watch(r,n=>{let s="",o=!1;if(t&&(n.x||n.y||n.z)){const l=[n.x||0,n.y||0,n.z||0].map(f=>getValueAsType(f,px)).join(",");s+=`translate3d(${l}) `,o=!0}for(const[l,f]of Object.entries(n)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const d=getValueType(l),u=getValueAsType(f,d);s+=`${translateAlias[l]||l}(${u}) `}t&&!o&&(s+="translateZ(0px) "),i.value=s.trim()},{immediate:!0,deep:!0}),{state:r,transform:i}}const transformAxes=["","X","Y","Z"],order=["perspective","translate","scale","rotate","skew"],transformProps=["transformPerspective","x","y","z"];order.forEach(e=>{transformAxes.forEach(t=>{const r=e+t;transformProps.push(r)})});const transformPropSet=new Set(transformProps);function isTransformProp(e){return transformPropSet.has(e)}const transformOriginProps=new Set(["originX","originY","originZ"]);function isTransformOriginProp(e){return transformOriginProps.has(e)}function splitValues(e){const t={},r={};return Object.entries(e).forEach(([i,n])=>{isTransformProp(i)||isTransformOriginProp(i)?t[i]=n:r[i]=n}),{transform:t,style:r}}function variantToStyle(e){const{transform:t,style:r}=splitValues(e),{transform:i}=reactiveTransform(t),{style:n}=reactiveStyle(r);return i.value&&(n.value.transform=i.value),n.value}function useElementStyle(e,t){let r,i;const{state:n,style:s}=reactiveStyle();return usePermissiveTarget(e,o=>{i=o;for(const l of Object.keys(valueTypes))o.style[l]===null||o.style[l]===""||isTransformProp(l)||isTransformOriginProp(l)||(n[l]=o.style[l]);r&&Object.entries(r).forEach(([l,f])=>o.style[l]=f),t&&t(n)}),watch(s,o=>{if(!i){r=o;return}for(const l in o)i.style[l]=o[l]},{immediate:!0}),{style:n}}function parseTransform(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const r=i=>i.endsWith("px")||i.endsWith("deg")?Number.parseFloat(i):Number.isNaN(Number(i))?Number(i):i;return t.reduce((i,n)=>{if(!n)return i;const[s,o]=n.split("("),f=o.split(",").map(u=>r(u.endsWith(")")?u.replace(")",""):u.trim())),d=f.length===1?f[0]:f;return{...i,[s]:d}},{})}function stateFromTransform(e,t){Object.entries(parseTransform(t)).forEach(([r,i])=>{const n=["x","y","z"];if(r==="translate3d"){if(i===0){n.forEach(s=>e[s]=0);return}i.forEach((s,o)=>e[n[o]]=s);return}if(i=Number.parseFloat(`${i}`),r==="translateX"){e.x=i;return}if(r==="translateY"){e.y=i;return}if(r==="translateZ"){e.z=i;return}e[r]=i})}function useElementTransform(e,t){let r,i;const{state:n,transform:s}=reactiveTransform();return usePermissiveTarget(e,o=>{i=o,o.style.transform&&stateFromTransform(n,o.style.transform),r&&(o.style.transform=r),t&&t(n)}),watch(s,o=>{if(!i){r=o;return}i.style.transform=o},{immediate:!0}),{transform:n}}function objectEntries(e){return Object.entries(e)}function useMotionProperties(e,t){const r=reactive({}),i=o=>
175Object.entries(o).forEach(([l,f])=>r[l]=f),{style:n}=useElementStyle(e,i),{transform:s}=useElementTransform(e,i);return watch(r,o=>{objectEntries(o).forEach(([l,f])=>{const d=isTransformProp(l)?s:n;d[l]&&d[l]===f||(d[l]=f)})},{immediate:!0,deep:!0}),usePermissiveTarget(e,()=>t),{motionProperties:r,style:n,transform:s}}function useMotionVariants(e={}){const t=unref(e),r=ref();return{state:computed(()=>{if(r.value)return t[r.value]}),variant:r}}function useMotion(e,t={},r){const{motionProperties:i}=useMotionProperties(e),{variant:n,state:s}=useMotionVariants(t),o=useMotionControls(i,t),l={target:e,variant:n,variants:t,state:s,motionProperties:i,...o};return useMotionFeatures(l,r),l}const transitionKeys=["delay","duration"],directivePropsKeys=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...transitionKeys];function isTransitionKey(e){return transitionKeys.includes(e)}function resolveVariants(e,t){const r=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(r){r.variants&&isObject$1(r.variants)&&(t.value={...t.value,...r.variants});for(let i of directivePropsKeys)if(!(!r||!r[i])){if(isTransitionKey(i)&&typeof r[i]=="number"){for(const n of["enter","visible","visibleOnce"]){const s=t.value[n];s!=null&&(s.transition??(s.transition={}),s.transition[i]=r[i])}continue}if(isObject$1(r[i])){const n=r[i];i==="visible-once"&&(i="visibleOnce"),t.value[i]=n}}}}function directive(e,t=!1){return{created:(n,s,o)=>{const l=s.value&&typeof s.value=="string"?s.value:o.key;l&&motionState[l]&&motionState[l].stop();const f=t?structuredClone(toRaw(e)||{}):e||{},d=ref(f);typeof s.value=="object"&&(d.value=s.value),resolveVariants(o,d);const y=useMotion(n,d,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});n.motionInstance=y,l&&(motionState[l]=y)},mounted:(n,s,o)=>{n.motionInstance&&registerVisibilityHooks(n.motionInstance)},getSSRProps(n,s){let{initial:o}=n.value||s&&(s==null?void 0:s.props)||{};o=unref(o);const l=defu({},(e==null?void 0:e.initial)||{},o||{});return!l||Object.keys(l).length===0?void 0:{style:variantToStyle(l)}}}}const fade={initial:{opacity:0}
175,enter:{opacity:1}},fadeVisible={initial:{opacity:0},visible:{opacity:1}},fadeVisibleOnce={initial:{opacity:0},visibleOnce:{opacity:1}},pop={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},popVisible={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},popVisibleOnce={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},rollLeft={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleLeft={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceLeft={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollRight={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},rollVisibleRight={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},rollVisibleOnceRight={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rollTop={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleTop={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceTop={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},rollBottom={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},rollVisibleBottom={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},rollVisibleOnceBottom={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},slideLeft={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},slideVisibleLeft={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceLeft={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},slideRight={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},slideVisibleRight={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},slideVisibleOnceRight={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},slideTop={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},slideVisibleTop={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceTop={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},slideBottom={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},slideVisibleBottom={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},slideVisibleOnceBottom={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},presets={__proto__:null,fade,fadeVisible,fadeVisibleOnce,pop,popVisible,popVisibleOnce,rollBottom,rollLeft,rollRight,rollTop,rollVisibleBottom,rollVisibleLeft,rollVisibleOnceBottom,rollVisibleOnceLeft,rollVisibleOnceRight,rollVisibleOnceTop,rollVisibleRight,rollVisibleTop,slideBottom,slideLeft,slideRight,slideTop,slideVisibleBottom,slideVisibleLeft,slideVisibleOnceBottom,slideVisibleOnceLeft,slideVisibleOnceRight,slideVisibleOnceTop,slideVisibleRight,slideVisibleTop};function slugify(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",r="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",i=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,n=>`-${n}`).toLowerCase().replace(/\s+/g,"-").replace(i,n=>r.charAt(t.indexOf(n))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const CUSTOM_PRESETS=Symbol(""),MotionComponentProps={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function clone(e){if(Array.isArray(e))return e.map(clone);if(isObject(e)){const t={};for(const r in e)t[r]=clone(e[r]);return t}return e}function setupMotionComponent(e){const t=reactive({}),r=inject(CUSTOM_PRESETS,{}),i=computed(()=>e.preset==null?{}:r!=null&&e.preset in r?structuredClone(toRaw(r)[e.preset]):e.preset in presets?structuredClone(presets[e.preset]):{}),n=computed(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function s(f,d){for(const u of["delay","duration"]){if(d[u]==null)continue;const y=Number.parseInt(d[u]);for(const m of["enter","visible","visibleOnce"]){const v=f[m];v!=null&&(v.transition??(v.transition={}),v.transition[u]=y)}}return f}const o=computed(()=>{const f=defu({},n.value,i.value,e.variants||{});return s({...f},e)});function l(f,d,u){var y;f.props??(f.props={}),(y=f.props).style??(y.style={}),f.props.style={...f.props.style,...u};const m=s(clone(o.value),f.props);return f.props.onVnodeMounted=({el:v})=>{t[d]=useMotion(v,m)},f.props.onVnodeUpdated=({el:v})=>{const S=variantToStyle(t[d].state);for(const[E,A]of Object.entries(S))v.style[E]=A},f}return{motionConfig:o,setNodeInstance:l}}const MotionComponent=defineComponent({name:"Motion",props:{...MotionComponentProps,is:{type:[String,Object],default:"div"}},setup(e){const t=useSlots(),{motionConfig:r,setNodeInstance:i}=setupMotionComponent(e);return()=>{const n=variantToStyle(r.value.initial||{}),s=h(e.is,void 0,t);return i(s,0,n),s}}}),MotionGroupComponent=defineComponent({name:"MotionGroup",props:{...MotionComponentProps,is:{type:[String,Object],required:!1}},setup(e){const t=useSlots(),{motionConfig:r,setNodeInstance:i}=setupMotionComponent(e);return()=>{var o;const n=variantToStyle(r.value.initial||{}),s=((o=t.default)==null?void 0:o.call(t))||[];for(let l=0;l<s.length;l++){const f=s[l];
175f.type===Fragment&&Array.isArray(f.children)?f.children.forEach(function d(u,y){if(u!=null){if(Array.isArray(u)){d(u,y);return}typeof u=="object"&&i(u,y,n)}}):i(f,l,n)}return e.is?h(e.is,void 0,s):s}}}),MotionPlugin={install(e,t){if(e.directive("motion",directive()),!t||t&&!t.excludePresets)for(const r in presets){const i=presets[r];e.directive(`motion-${slugify(r)}`,directive(i,!0))}if(t&&t.directives)for(const r in t.directives){const i=t.directives[r];i.initial,e.directive(`motion-${r}`,directive(i,!0))}e.provide(CUSTOM_PRESETS,t==null?void 0:t.directives),e.component("Motion",MotionComponent),e.component("MotionGroup",MotionGroupComponent)}},motion_jmBwdqbgTJ=defineNuxtPlugin(e=>{const t=useRuntimeConfig();e.vueApp.use(MotionPlugin,t.public.motion)});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lottie={exports:{}};(function(module,exports){typeof navigator<"u"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,i=e.length,n;for(r=0;r<i;r+=1){n=e[r].prototype;for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t.prototype[s]=n[s])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(r,i){var n=0,s=[],o;switch(r){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(n=0;n<i;n+=1)s.push(o);return s}function t(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):e(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var r=createSizedArray(e.length),i,n=e.length;for(i=0;i<n;i+=1)r[i]=Math.abs(e[i]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}
vendor: 127,005 bytes, lines 175-183
175function BMEnterFrameEvent(e,t,r,i){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,i){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=i<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,r){var i,n,s,o,l,f,d,u;switch(o=Math.floor(e*6),l=e*6-o,f=r*(1-t),d=r*(1-l*t),u=r*(1-(1-l)*t),o%6){case 0:i=r,n=u,s=f;break;case 1:i=d,n=r,s=f;break;case 2:i=f,n=r,s=u;break;case 3:i=f,n=d,s=r;break;case 4:i=u,n=f,s=r;break;case 5:i=r,n=f,s=d;break}return[i,n,s]}function RGBtoHSV(e,t,r){var i=Math.max(e,t,r),n=Math.min(e,t,r),s=i-n,o,l=i===0?0:s/i,f=i/255;switch(i){case n:o=0;break;case e:o=t-r+s*(t<r?6:0),o/=6*s;break;case t:o=r-e+s*2,o/=6*s;break;case r:o=e-t+s*4,o/=6*s;break}return[o,l,f]}function addSaturationToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(i,n,s){return i<0&&(i=0),n<0&&(n=0),s<0&&(s=0),"#"+e[i]+e[n]+e[s]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(e)}var dataManager=function(){var e=1,t=[],r,i,n={onmessage:function(){},postMessage:function(v){r({data:v})}},s={postMessage:function(v){n.onmessage({data:v})}};function o(m){if(window.Worker&&window.Blob&&getWebWorker()){var v=new Blob(["var _workerSelf = self; self.onmessage = ",m.toString()],{type:"text/javascript"}),S=URL.createObjectURL(v);return new Worker(S)}return r=m,n}function l(){i||(i=o(function(v){function S(){function A(z,R){var L,T,k=z.length,$,N,Q,oe;for(T=0;T<k;T+=1)if(L=z[T],"ks"in L&&!L.completed){if(L.completed=!0,L.hasMask){var ce=L.masksProperties;for(N=ce.length,$=0;$<N;$+=1)if(ce[$].pt.k.i)x(ce[$].pt.k);else for(oe=ce[$].pt.k.length,Q=0;Q<oe;Q+=1)ce[$].pt.k[Q].s&&x(ce[$].pt.k[Q].s[0]),ce[$].pt.k[Q].e&&x(ce[$].pt.k[Q].e[0])}L.ty===0?(L.layers=g(L.refId,R),A(L.layers,R)):L.ty===4?_(L.shapes):L.ty===5&&G(L)}}function P(z,R){if(z){var L=0,T=z.length;for(L=0;L<T;L+=1)z[L].t===1&&(z[L].data.layers=g(z[L].data.refId,R),A(z[L].data.layers,R))}}function C(z,R){for(var L=0,T=R.length;L<T;){if(R[L].id===z)return R[L];L+=1}return null}function g(z,R){var L=C(z,R);return L?L.layers.__used?JSON.parse(JSON.stringify(L.layers)):(L.layers.__used=!0,L.layers):null}function _(z){var R,L=z.length,T,k;for(R=L-1;R>=0;R-=1)if(z[R].ty==="sh")if(z[R].ks.k.i)x(z[R].ks.k);else for(k=z[R].ks.k.length,T=0;T<k;T+=1)z[R].ks.k[T].s&&x(z[R].ks.k[T].s[0]),z[R].ks.k[T].e&&x(z[R].ks.k[T].e[0]);else z[R].ty==="gr"&&_(z[R].it)}function x(z){var R,L=z.i.length;for(R=0;R<L;R+=1)z.i[R][0]+=z.v[R][0],z.i[R][1]+=z.v[R][1],z.o[R][0]+=z.v[R][0],z.o[R][1]+=z.v[R][1]}function w(z,R){var L=R?R.split("."):[100,100,100];return z[0]>L[0]?!0:L[0]>z[0]?!1:z[1]>L[1]?!0:L[1]>z[1]?!1:z[2]>L[2]?!0:L[2]>z[2]?!1:null}var M=function(){var z=[4,4,14];function R(T){var k=T.t.d;T.t.d={k:[{s:k,t:0}]}}function L(T){var k,$=T.length;for(k=0;k<$;k+=1)T[k].ty===5&&R(T[k])}return function(T){if(w(z,T.v)&&(L(T.layers),T.assets)){var k,$=T.assets.length;for(k=0;k<$;k+=1)T.assets[k].layers&&L(T.assets[k].layers)}}}(),I=function(){var z=[4,7,99];return function(R){if(R.chars&&!w(z,R.v)){var L,T=R.chars.length;for(L=0;L<T;L+=1){var k=R.chars[L];k.data&&k.data.shapes&&(_(k.data.shapes),k.data.ip=0,k.data.op=99999,k.data.st=0,k.data.sr=1,k.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},R.chars[L].t||(k.data.shapes.push({ty:"no"}),k.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),B=function(){var z=[5,7,15];function R(T){var k=T.t.p;typeof k.a=="number"&&(k.a={a:0,k:k.a}),typeof k.p=="number"&&(k.p={a:0,k:k.p}),typeof k.r=="number"&&(k.r={a:0,k:k.r})}function L(T){var k,$=T.length;for(k=0;k<$;k+=1)T[k].ty===5&&R(T[k])}return function(T){if(w(z,T.v)&&(L(T.layers),T.assets)){var k,$=T.assets.length;for(k=0;k<$;k+=1)T.assets[k].layers&&L(T.assets[k].layers)}}}(),D=function(){var z=[4,1,9];function R(T){var k,$=T.length,N,Q;for(k=0;k<$;k+=1)if(T[k].ty==="gr")R(T[k].it);else if(T[k].ty==="fl"||T[k].ty==="st")if(T[k].c.k&&T[k].c.k[0].i)for(Q=T[k].c.k.length,N=0;N<Q;N+=1)T[k].c.k[N].s&&(T[k].c.k[N].s[0]/=255,T[k].c.k[N].s[1]/=255,T[k].c.k[N].s[2]/=255,T[k].c.k[N].s[3]/=255),T[k].c.k[N].e&&(T[k].c.k[N].e[0]/=255,T[k].c.k[N].e[1]/=255,T[k].c.k[N].e[2]/=255,T[k].c.k[N].e[3]/=255);else T[k].c.k[0]/=255,T[k].c.k[1]/=255,T[k].c.k[2]/=255,T[k].c.k[3]/=255}function L(T){var k,$=T.length;for(k=0;k<$;k+=1)T[k].ty===4&&R(T[k].shapes)}return function(T){if(w(z,T.v)&&(L(T.layers),T.assets)){var k,$=T.assets.length;for(k=0;k<$;k+=1)T.assets[k].layers&&L(T.assets[k].layers)}}}(),j=function(){var z=[4,4,18];function R(T){var k,$=T.length,N,Q;for(k=$-1;k>=0;k-=1)if(T[k].ty==="sh")if(T[k].ks.k.i)T[k].ks.k.c=T[k].closed;else for(Q=T[k].ks.k.length,N=0;N<Q;N+=1)T[k].ks.k[N].s&&(T[k].ks.k[N].s[0].c=T[k].closed),T[k].ks.k[N].e&&(T[k].ks.k[N].e[0].c=T[k].closed);else T[k].ty==="gr"&&R(T[k].it)}function L(T){var k,$,N=T.length,Q,oe,ce,de;for($=0;$<N;$+=1){if(k=T[$],k.hasMask){var ue=k.masksProperties;for(oe=ue.length,Q=0;Q<oe;Q+=1)if(ue[Q].pt.k.i)ue[Q].pt.k.c=ue[Q].cl;else for(de=ue[Q].pt.k.length,ce=0;ce<de;ce+=1)ue[Q].pt.k[ce].s&&(ue[Q].pt.k[ce].s[0].c=ue[Q].cl),ue[Q].pt.k[ce].e&&(ue[Q].pt.k[ce].e[0].c=ue[Q].cl)}k.ty===4&&R(k.shapes)}}return function(T){if(w(z,T.v)&&(L(T.layers),T.assets)){var k,$=T.assets.length;for(k=0;k<$;k+=1)T.assets[k].layers&&L(T.assets[k].layers)}}}();function V(z){z.__complete||(D(z),M(z),I(z),B(z),j(z),A(z.layers,z.assets),P(z.chars,z.assets),z.__complete=!0)}function G(z){z.t.a.length===0&&"m"in z.t.p}var U={};return U.completeData=V,U.checkColors=D,U.checkChars=I,U.checkPathProperties=B,U.checkShapes=j,U.completeLayers=A,U}if(s.dataManager||(s.dataManager=S()),s.assetLoader||(s.assetLoader=function(){function A(C){var g=C.getResponseHeader("content-type");return g&&C.responseType==="json"&&g.indexOf("json")!==-1||C.response&&_typeof$5(C.response)==="object"?C.response:C.response&&typeof C.response=="string"?JSON.parse(C.response):C.responseText?JSON.parse(C.responseText):null}function P(C,g,_,x){var w,M=new XMLHttpRequest;try{M.responseType="json"}catch{}M.onreadystatechange=function(){if(M.readyState===4)if(M.status===200)w=A(M),_(w);else try{w=A(M),_(w)}catch(I){x&&x(I)}};try{M.open(["G","E","T"].join(""),C,!0)}catch{M.open(["G","E","T"].join(""),g+"/"+C,!0)}M.send()}return{load:P}}()),v.data.type==="loadAnimation")s.assetLoader.load(v.data.path,v.data.fullPath,function(A){s.dataManager.completeData(A),s.postMessage({id:v.data.id,payload:A,status:"success"})},function(){s.postMessage({id:v.data.id,status:"error"})});else if(v.data.type==="complete"){var E=v.data.animation;s.dataManager.completeData(E),s.postMessage({id:v.data.id,payload:E,status:"success"})}else v.data.type==="loadData"&&s.assetLoader.load(v.data.path,v.data.fullPath,function(A){s.postMessage({id:v.data.id,payload:A,status:"success"})},function(){s.postMessage({id:v.data.id,status:"error"})})}),i.onmessage=function(m){var v=m.data,S=v.id,E=t[S];t[S]=null,v.status==="success"?E.onComplete(v.payload):E.onError&&E.onError()})}function f(m,v){e+=1;var S="processId_"+e;return t[S]={onComplete:m,onError:v},S}function d(m,v,S){l();var E=f(v,S);i.postMessage({type:"loadAnimation",path:m,fullPath:window.location.origin+window.location.pathname,id:E})}function u(m,v,S){l();var E=f(v,S);i.postMessage({type:"loadData",path:m,fullPath:window.location.origin+window.location.pathname,id:E})}function y(m,v,S){l();var E=f(v,S);i.postMessage({type:"complete",animation:m,id:E})}return{loadAnimation:d,loadData:u,completeAnimation:y}}(),ImagePreloader=function(){var e=function(){var P=createTag("canvas");P.width=1,P.height=1;var C=P.getContext("2d");return C.fillStyle="rgba(0,0,0,0)",C.fillRect(0,0,1,1),P}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(P,C,g){var _="";if(P.e)_=P.p;else if(C){var x=P.p;x.indexOf("images/")!==-1&&(x=x.split("/")[1]),_=C+x}else _=g,_+=P.u?P.u:"",_+=P.p;return _}function n(P){var C=0,g=setInterval((function(){var _=P.getBBox();(_.width||C>500)&&(this._imageLoaded(),clearInterval(g)),C+=1}).bind(this),50)}function s(P){var C=i(P,this.assetsPath,this.path),g=createNS("image");isSafari?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){_.img=e,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",C),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var _={img:g,assetData:P};return _}function o(P){var C=i(P,this.assetsPath,this.path),g=createTag("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){_.img=e,this._imageLoaded()}).bind(this),!1),g.src=C;var _={img:g,assetData:P};return _}function l(P){var C={assetData:P},g=i(P,this.assetsPath,this.path);return dataManager.loadData(g,(function(_){C.img=_,this._footageLoaded()}).bind(this),(function(){C.img={},this._footageLoaded()}).bind(this)),C}function f(P,C){this.imagesLoadedCb=C;var g,_=P.length;for(g=0;g<_;g+=1)P[g].layers||(!P[g].t||P[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(P[g]))):P[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(P[g]))))}function d(P){this.path=P||""}function u(P){this.assetsPath=P||""}function y(P){for(var C=0,g=this.images.length;C<g;){if(this.images[C].assetData===P)return this.images[C].img;C+=1}return null}function m(){this.imagesLoadedCb=null,this.images.length=0}function v(){return this.totalImages===this.loadedAssets}function S(){return this.totalFootages===this.loadedFootagesCount}function E(P,C){P==="svg"?(this._elementHelper=C,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function A(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return A.prototype={loadAssets:f,setAssetsPath:u,setPath:d,loadedImages:v,loadedFootages:S,destroy:m,getAsset:y,createImgData:o,createImageData:s,imageLoaded:t,footageLoaded:r,setCacheType:E},A}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,r){if(this._cbs[t])for(var i=this._cbs[t],n=0;n<i.length;n+=1)i[n](r)},addEventListener:function(t,r){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(r),(function(){this.removeEventListener(t,r)}).bind(this)},removeEventListener:function(t,r){if(!r)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,n=this._cbs[t].length;i<n;)this._cbs[t][i]===r&&(this._cbs[t].splice(i,1),i-=1,n-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var r=t.split(`\r
176`),i={},n,s=0,o=0;o<r.length;o+=1)n=r[o].split(":"),n.length===2&&(i[n[0]]=n[1].trim(),s+=1);if(s===0)throw new Error;return i}return function(t){for(var r=[],i=0;i<t.length;i+=1){var n=t[i],s={time:n.tm,duration:n.dr};try{s.payload=JSON.parse(t[i].cm)}catch{try{s.payload=e(t[i].cm)}catch{s.payload={name:t[i].cm}}}r.push(s)}return r}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(r){for(var i=0,n=this.compositions.length;i<n;){if(this.compositions[i].data&&this.compositions[i].data.nm===r)return this.compositions[i].prepareFrame&&this.compositions[i].data.xt&&this.compositions[i].prepareFrame(this.currentFrame),this.compositions[i].compInterface;i+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(t,r){renderers[t]=r};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(r){return typeof r}:_typeof$4=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},i=e.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var n=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";n==="false"?r.loop=!1:n==="true"?r.loop=!0:n!==""&&(r.loop=parseInt(n,10));var s=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=s!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var o=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";o==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,i=t.length,n=e.layers,s,o=n.length;for(s=0;s<o;s+=1)for(r=0;r<i;){if(t[r].id===n[s].id){t[r]=n[s];break}r+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(e.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r=typeof e=="number"?e:void 0,i=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if(t=this.markers[r],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var n=this.getMarkerData(e);n&&this.goToAndStop(n.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var n=this.getMarkerData(e);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(i,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,t=0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,i=e.length;for(r=0;r<i;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{var i=this.renderer.getElementByPath(e);i.updateDocumentData(t,r)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,i=0,n=0,s=!0,o=!1;function l(R){for(var L=0,T=R.target;L<i;)t[L].animation===T&&(t.splice(L,1),L-=1,i-=1,T.isPaused||y()),L+=1}function f(R,L){if(!R)return null;for(var T=0;T<i;){if(t[T].elem===R&&t[T].elem!==null)return t[T].animation;T+=1}var k=new AnimationItem;return m(k,R),k.setData(R,L),k}function d(){var R,L=t.length,T=[];for(R=0;R<L;R+=1)T.push(t[R].animation);return T}function u(){n+=1,D()}function y(){n-=1}function m(R,L){R.addEventListener("destroy",l),R.addEventListener("_active",u),R.addEventListener("_idle",y),t.push({elem:L,animation:R}),i+=1}function v(R){var L=new AnimationItem;return m(L,null),L.setParams(R),L}function S(R,L){var T;for(T=0;T<i;T+=1)t[T].animation.setSpeed(R,L)}function E(R,L){var T;for(T=0;T<i;T+=1)t[T].animation.setDirection(R,L)}function A(R){var L;for(L=0;L<i;L+=1)t[L].animation.play(R)}function P(R){var L=R-r,T;for(T=0;T<i;T+=1)t[T].animation.advanceTime(L);r=R,n&&!o?window.requestAnimationFrame(P):s=!0}function C(R){r=R,window.requestAnimationFrame(P)}function g(R){var L;for(L=0;L<i;L+=1)t[L].animation.pause(R)}function _(R,L,T){var k;for(k=0;k<i;k+=1)t[k].animation.goToAndStop(R,L,T)}function x(R){var L;for(L=0;L<i;L+=1)t[L].animation.stop(R)}function w(R){var L;for(L=0;L<i;L+=1)t[L].animation.togglePause(R)}function M(R){var L;for(L=i-1;L>=0;L-=1)t[L].animation.destroy(R)}function I(R,L,T){var k=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),$,N=k.length;for($=0;$<N;$+=1)T&&k[$].setAttribute("data-bm-type",T),f(k[$],R);if(L&&N===0){T||(T="svg");var Q=document.getElementsByTagName("body")[0];Q.innerText="";var oe=createTag("div");oe.style.width="100%",oe.style.height="100%",oe.setAttribute("data-bm-type",T),Q.appendChild(oe),f(oe,R)}}function B(){var R;for(R=0;R<i;R+=1)t[R].animation.resize()}function D(){!o&&n&&s&&(window.requestAnimationFrame(C),s=!1)}function j(){o=!0}function V(){o=!1,D()}function G(R,L){var T;for(T=0;T<i;T+=1)t[T].animation.setVolume(R,L)}function U(R){var L;for(L=0;L<i;L+=1)t[L].animation.mute(R)}function z(R){var L;for(L=0;L<i;L+=1)t[L].animation.unmute(R)}return e.registerAnimation=f,e.loadAnimation=v,e.setSpeed=S,e.setDirection=E,e.play=A,e.pause=g,e.stop=x,e.togglePause=w,e.searchAnimations=I,e.resize=B,e.goToAndStop=_,e.destroy=M,e.freeze=j,e.unfreeze=V,e.setVolume=G,e.mute=U,e.unmute=z,e.getRegisteredAnimations=d,e}(),BezierFactory=function(){var e={};e.getBezierEasing=r;var t={};function r(C,g,_,x,w){var M=w||("bez_"+C+"_"+g+"_"+_+"_"+x).replace(/\./g,"p");if(t[M])return t[M];var I=new P([C,g,_,x]);return t[M]=I,I}var i=4,n=.001,s=1e-7,o=10,l=11,f=1/(l-1),d=typeof Float32Array=="function";function u(C,g){return 1-3*g+3*C}function y(C,g){return 3*g-6*C}function m(C){return 3*C}function v(C,g,_){return((u(g,_)*C+y(g,_))*C+m(g))*C}function S(C,g,_){return 3*u(g,_)*C*C+2*y(g,_)*C+m(g)}function E(C,g,_,x,w){var M,I,B=0;do I=g+(_-g)/2,M=v(I,x,w)-C,M>0?_=I:g=I;while(Math.abs(M)>s&&++B<o);return I}function A(C,g,_,x){for(var w=0;w<i;++w){var M=S(g,_,x);if(M===0)return g;var I=v(g,_,x)-C;g-=I/M}return g}function P(C){this._p=C,this._mSampleValues=d?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return P.prototype={get:function(g){var _=this._p[0],x=this._p[1],w=this._p[2],M=this._p[3];return this._precomputed||this._precompute(),_===x&&w===M?g:g===0?0:g===1?1:v(this._getTForX(g),x,M)},_precompute:function(){var g=this._p[0],_=this._p[1],x=this._p[2],w=this._p[3];this._precomputed=!0,(g!==_||x!==w)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],_=this._p[2],x=0;x<l;++x)this._mSampleValues[x]=v(x*f,g,_)},_getTForX:function(g){for(var _=this._p[0],x=this._p[2],w=this._mSampleValues,M=0,I=1,B=l-1;I!==B&&w[I]<=g;++I)M+=f;--I;var D=(g-w[I])/(w[I+1]-w[I]),j=M+D*f,V=S(j,_,x);return V>=n?A(g,j,_,x):V===0?j:E(g,M,M+f,_,x)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var i=0,n=e,s=createSizedArray(n),o={newElement:l,release:f};function l(){var d;return i?(i-=1,d=s[i]):d=t(),d}function f(d){i===n&&(s=pooling.double(s),n*=2),r&&r(d),s[i]=d,i+=1}return o}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(r){var i,n=r.lengths.length;for(i=0;i<n;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(m,v,S,E,A,P){var C=m*E+v*A+S*P-A*E-P*m-S*v;return C>-.001&&C<.001}function r(m,v,S,E,A,P,C,g,_){if(S===0&&P===0&&_===0)return t(m,v,E,A,C,g);var x=e.sqrt(e.pow(E-m,2)+e.pow(A-v,2)+e.pow(P-S,2)),w=e.sqrt(e.pow(C-m,2)+e.pow(g-v,2)+e.pow(_-S,2)),M=e.sqrt(e.pow(C-E,2)+e.pow(g-A,2)+e.pow(_-P,2)),I;return x>w?x>M?I=x-w-M:I=M-w-x:M>w?I=M-w-x:I=w-x-M,I>-1e-4&&I<1e-4}var i=function(){return function(m,v,S,E){var A=getDefaultCurveSegments(),P,C,g,_,x,w=0,M,I=[],B=[],D=bezierLengthPool.newElement();for(g=S.length,P=0;P<A;P+=1){for(x=P/(A-1),M=0,C=0;C<g;C+=1)_=bmPow(1-x,3)*m[C]+3*bmPow(1-x,2)*x*S[C]+3*(1-x)*bmPow(x,2)*E[C]+bmPow(x,3)*v[C],I[C]=_,B[C]!==null&&(M+=bmPow(I[C]-B[C],2)),B[C]=I[C];M&&(M=bmSqrt(M),w+=M),D.percents[P]=x,D.lengths[P]=w}return D.addedLength=w,D}}();function n(m){var v=segmentsLengthPool.newElement(),S=m.c,E=m.v,A=m.o,P=m.i,C,g=m._length,_=v.lengths,x=0;for(C=0;C<g-1;C+=1)_[C]=i(E[C],E[C+1],A[C],P[C+1]),x+=_[C].addedLength;return S&&g&&(_[C]=i(E[C],E[0],A[C],P[0]),x+=_[C].addedLength),v.totalLength=x,v}function s(m){this.segmentLength=0,this.points=new Array(m)}function o(m,v){this.partialLength=m,this.point=v}var l=function(){var m={};return function(v,S,E,A){var P=(v[0]+"_"+v[1]+"_"+S[0]+"_"+S[1]+"_"+E[0]+"_"+E[1]+"_"+A[0]+"_"+A[1]).replace(/\./g,"p");if(!m[P]){var C=getDefaultCurveSegments(),g,_,x,w,M,I=0,B,D,j=null;v.length===2&&(v[0]!==S[0]||v[1]!==S[1])&&t(v[0],v[1],S[0],S[1],v[0]+E[0],v[1]+E[1])&&t(v[0],v[1],S[0],S[1],S[0]+A[0],S[1]+A[1])&&(C=2);var V=new s(C);for(x=E.length,g=0;g<C;g+=1){for(D=createSizedArray(x),M=g/(C-1),B=0,_=0;_<x;_+=1)w=bmPow(1-M,3)*v[_]+3*bmPow(1-M,2)*M*(v[_]+E[_])+3*(1-M)*bmPow(M,2)*(S[_]+A[_])+bmPow(M,3)*S[_],D[_]=w,j!==null&&(B+=bmPow(D[_]-j[_],2));B=bmSqrt(B),I+=B,V.points[g]=new o(B,D),j=D}V.segmentLength=I,m[P]=V}return m[P]}}();function f(m,v){var S=v.percents,E=v.lengths,A=S.length,P=bmFloor((A-1)*m),C=m*v.addedLength,g=0;if(P===A-1||P===0||C===E[P])return S[P];for(var _=E[P]>C?-1:1,x=!0;x;)if(E[P]<=C&&E[P+1]>C?(g=(C-E[P])/(E[P+1]-E[P]),x=!1):P+=_,P<0||P>=A-1){if(P===A-1)return S[P];x=!1}return S[P]+(S[P+1]-S[P])*g}function d(m,v,S,E,A,P){var C=f(A,P),g=1-C,_=e.round((g*g*g*m[0]+(C*g*g+g*C*g+g*g*C)*S[0]+(C*C*g+g*C*C+C*g*C)*E[0]+C*C*C*v[0])*1e3)/1e3,x=e.round((g*g*g*m[1]+(C*g*g+g*C*g+g*g*C)*S[1]+(C*C*g+g*C*C+C*g*C)*E[1]+C*C*C*v[1])*1e3)/1e3;return[_,x]}var u=createTypedArray("float32",8);function y(m,v,S,E,A,P,C){A<0?A=0:A>1&&(A=1);var g=f(A,C);P=P>1?1:P;var _=f(P,C),x,w=m.length,M=1-g,I=1-_,B=M*M*M,D=g*M*M*3,j=g*g*M*3,V=g*g*g,G=M*M*I,U=g*M*I+M*g*I+M*M*_,z=g*g*I+M*g*_+g*M*_,R=g*g*_,L=M*I*I,T=g*I*I+M*_*I+M*I*_,k=g*_*I+M*_*_+g*I*_,$=g*_*_,N=I*I*I,Q=_*I*I+I*_*I+I*I*_,oe=_*_*I+I*_*_+_*I*_,ce=_*_*_;for(x=0;x<w;x+=1)u[x*4]=e.round((B*m[x]+D*S[x]+j*E[x]+V*v[x])*1e3)/1e3,u[x*4+1]=e.round((G*m[x]+U*S[x]+z*E[x]+R*v[x])*1e3)/1e3,u[x*4+2]=e.round((L*m[x]+T*S[x]+k*E[x]+$*v[x])*1e3)/1e3,u[x*4+3]=e.round((N*m[x]+Q*S[x]+oe*E[x]+ce*v[x])*1e3)/1e3;return u}return{getSegmentsLength:n,getNewSegment:y,getPointInSegment:d,buildBezierData:l,pointOnLine2D:t,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r=this.offsetTime,i;this.propType==="multidimensional"&&(i=createTypedArray("float32",this.pv.length));for(var n=t.lastIndex,s=n,o=this.keyframes.length-1,l=!0,f,d,u;l;){if(f=this.keyframes[s],d=this.keyframes[s+1],s===o-1&&e>=d.t-r){f.h&&(f=d),n=0;break}if(d.t-r>e){n=s;break}s<o-1?s+=1:(n=0,l=!1)}u=this.keyframesMetadata[s]||{};var y,m,v,S,E,A,P=d.t-r,C=f.t-r,g;if(f.to){u.bezierData||(u.bezierData=bez.buildBezierData(f.s,d.s||f.e,f.to,f.ti));var _=u.bezierData;if(e>=P||e<C){var x=e>=P?_.points.length-1:0;for(m=_.points[x].point.length,y=0;y<m;y+=1)i[y]=_.points[x].point[y]}else{u.__fnct?A=u.__fnct:(A=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y,f.n).get,u.__fnct=A),v=A((e-C)/(P-C));var w=_.segmentLength*v,M,I=t.lastFrame<e&&t._lastKeyframeIndex===s?t._lastAddedLength:0;for(E=t.lastFrame<e&&t._lastKeyframeIndex===s?t._lastPoint:0,l=!0,S=_.points.length;l;){if(I+=_.points[E].partialLength,w===0||v===0||E===_.points.length-1){for(m=_.points[E].point.length,y=0;y<m;y+=1)i[y]=_.points[E].point[y];break}else if(w>=I&&w<I+_.points[E+1].partialLength){for(M=(w-I)/_.points[E+1].partialLength,m=_.points[E].point.length,y=0;y<m;y+=1)i[y]=_.points[E].point[y]+(_.points[E+1].point[y]-_.points[E].point[y])*M;break}E<S-1?E+=1:l=!1}t._lastPoint=E,t._lastAddedLength=I-_.points[E].partialLength,t._lastKeyframeIndex=s}}else{var B,D,j,V,G;if(o=f.s.length,g=d.s||f.e,this.sh&&f.h!==1)if(e>=P)i[0]=g[0],i[1]=g[1],i[2]=g[2];else if(e<=C)i[0]=f.s[0],i[1]=f.s[1],i[2]=f.s[2];else{var U=createQuaternion(f.s),z=createQuaternion(g),R=(e-C)/(P-C);quaternionToEuler(i,slerp(U,z,R))}else for(s=0;s<o;s+=1)f.h!==1&&(e>=P?v=1:e<C?v=0:(f.o.x.constructor===Array?(u.__fnct||(u.__fnct=[]),u.__fnct[s]?A=u.__fnct[s]:(B=f.o.x[s]===void 0?f.o.x[0]:f.o.x[s],D=f.o.y[s]===void 0?f.o.y[0]:f.o.y[s],j=f.i.x[s]===void 0?f.i.x[0]:f.i.x[s],V=f.i.y[s]===void 0?f.i.y[0]:f.i.y[s],A=BezierFactory.getBezierEasing(B,D,j,V).get,u.__fnct[s]=A)):u.__fnct?A=u.__fnct:(B=f.o.x,D=f.o.y,j=f.i.x,V=f.i.y,A=BezierFactory.getBezierEasing(B,D,j,V).get,f.keyframeMetadata=A),v=A((e-C)/(P-C)))),g=d.s||f.e,G=f.h===1?f.s[s]:f.s[s]+(g[s]-f.s[s])*v,this.propType==="multidimensional"?i[s]=G:i=G}return t.lastIndex=n,i}function slerp(e,t,r){var i=[],n=e[0],s=e[1],o=e[2],l=e[3],f=t[0],d=t[1],u=t[2],y=t[3],m,v,S,E,A;return v=n*f+s*d+o*u+l*y,v<0&&(v=-v,f=-f,d=-d,u=-u,y=-y),1-v>1e-6?(m=Math.acos(v),S=Math.sin(m),E=Math.sin((1-r)*m)/S,A=Math.sin(r*m)/S):(E=1-r,A=r),i[0]=E*n+A*f,i[1]=E*s+A*d,i[2]=E*o+A*u,i[3]=E*l+A*y,i}function quaternionToEuler(e,t){var r=t[0],i=t[1],n=t[2],s=t[3],o=Math.atan2(2*i*s-2*r*n,1-2*i*i-2*n*n),l=Math.asin(2*r*i+2*n*s),f=Math.atan2(2*r*s-2*i*n,1-2*r*r-2*n*n);e[0]=o/degToRads,e[1]=l/degToRads,e[2]=f/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,i=e[2]*degToRads,n=Math.cos(t/2),s=Math.cos(r/2),o=Math.cos(i/2),l=Math.sin(t/2),f=Math.sin(r/2),d=Math.sin(i/2),u=n*s*o-l*f*d,y=l*f*o+n*s*d,m=l*s*o+n*f*d,v=n*f*o-l*s*d;return[y,m,v,u]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){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 e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,i){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,r,i){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var n,s=t.k.length;for(this.v=createTypedArray("float32",s),this.pv=createTypedArray("float32",s),this.vel=createTypedArray("float32",s),n=0;n<s;n+=1)this.v[n]=t.k[n]*this.mult,this.pv[n]=t.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,i){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,r,i){this.propType="multidimensional";var n,s=t.k.length,o,l,f,d;for(n=0;n<s-1;n+=1)t.k[n].to&&t.k[n].s&&t.k[n+1]&&t.k[n+1].s&&(o=t.k[n].s,l=t.k[n+1].s,f=t.k[n].to,d=t.k[n].ti,(o.length===2&&!(o[0]===l[0]&&o[1]===l[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],o[0]+f[0],o[1]+f[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],l[0]+d[0],l[1]+d[1])||o.length===3&&!(o[0]===l[0]&&o[1]===l[1]&&o[2]===l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],o[0]+f[0],o[1]+f[1],o[2]+f[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],l[0]+d[0],l[1]+d[1],l[2]+d[2]))&&(t.k[n].to=null,t.k[n].ti=null),o[0]===l[0]&&o[1]===l[1]&&f[0]===0&&f[1]===0&&d[0]===0&&d[1]===0&&(o.length===2||o[2]===l[2]&&f[2]===0&&d[2]===0)&&(t.k[n].to=null,t.k[n].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),n=0;n<u;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory=function(){function e(r,i,n,s,o){i.sid&&(i=r.globalData.slotManager.getProp(i));var l;if(!i.k.length)l=new ValueProperty(r,i,s,o);else if(typeof i.k[0]=="number")l=new MultiDimensionalProperty(r,i,s,o);else switch(n){case 0:l=new KeyframedValueProperty(r,i,s,o);break;case 1:l=new KeyframedMultidimensionalProperty(r,i,s,o);break}return l.effectsSequence.length&&o.addDynamicProperty(l),l}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,r=this.dynamicProperties.length;for(t=0;t<r;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,i,n){var s;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":s=this.v;break;case"i":s=this.i;break;case"o":s=this.o;break;default:s=[];break}(!s[i]||s[i]&&!n)&&(s[i]=pointPool.newElement()),s[i][0]=e,s[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,n,s,o,l){this.setXYAt(e,t,"v",o,l),this.setXYAt(r,i,"o",o,l),this.setXYAt(n,s,"i",o,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,n=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var s=this._length-1,o=this._length,l;for(l=n;l<o;l+=1)e.setTripleAt(t[s][0],t[s][1],i[s][0],i[s][1],r[s][0],r[s][1],l,!1),s-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(n){var s=n._length,o;for(o=0;o<s;o+=1)pointPool.release(n.v[o]),pointPool.release(n.i[o]),pointPool.release(n.o[o]),n.v[o]=null,n.i[o]=null,n.o[o]=null;n._length=0,n.c=!1}function r(n){var s=i.newElement(),o,l=n._length===void 0?n.v.length:n._length;for(s.setLength(l),s.c=n.c,o=0;o<l;o+=1)s.setTripleAt(n.v[o][0],n.v[o][1],n.o[o][0],n.o[o][1],n.i[o][0],n.i[o][1],o);return s}var i=poolFactory(4,e,t);return i.clone=r,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:n,release:s},t=0,r=4,i=createSizedArray(r);function n(){var o;return t?(t-=1,o=i[t]):o=new ShapeCollection,o}function s(o){var l,f=o._length;for(l=0;l<f;l+=1)shapePool.release(o.shapes[l]);o._length=0,t===r&&(i=pooling.double(i),r*=2),i[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(P,C,g){var _=g.lastIndex,x,w,M,I,B,D,j,V,G,U=this.keyframes;if(P<U[0].t-this.offsetTime)x=U[0].s[0],M=!0,_=0;else if(P>=U[U.length-1].t-this.offsetTime)x=U[U.length-1].s?U[U.length-1].s[0]:U[U.length-2].e[0],M=!0;else{for(var z=_,R=U.length-1,L=!0,T,k,$;L&&(T=U[z],k=U[z+1],!(k.t-this.offsetTime>P));)z<R-1?z+=1:L=!1;if($=this.keyframesMetadata[z]||{},M=T.h===1,_=z,!M){if(P>=k.t-this.offsetTime)V=1;else if(P<T.t-this.offsetTime)V=0;else{var N;$.__fnct?N=$.__fnct:(N=BezierFactory.getBezierEasing(T.o.x,T.o.y,T.i.x,T.i.y).get,$.__fnct=N),V=N((P-(T.t-this.offsetTime))/(k.t-this.offsetTime-(T.t-this.offsetTime)))}w=k.s?k.s[0]:T.e[0]}x=T.s[0]}for(D=C._length,j=x.i[0].length,g.lastIndex=_,I=0;I<D;I+=1)for(B=0;B<j;B+=1)G=M?x.i[I][B]:x.i[I][B]+(w.i[I][B]-x.i[I][B])*V,C.i[I][B]=G,G=M?x.o[I][B]:x.o[I][B]+(w.o[I][B]-x.o[I][B])*V,C.o[I][B]=G,G=M?x.v[I][B]:x.v[I][B]+(w.v[I][B]-x.v[I][B])*V,C.v[I][B]=G}function r(){var P=this.comp.renderedFrame-this.offsetTime,C=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,_=this._caching.lastFrame;return _!==e&&(_<C&&P<C||_>g&&P>g)||(this._caching.lastIndex=_<P?this._caching.lastIndex:0,this.interpolateShape(P,this.pv,this._caching)),this._caching.lastFrame=P,this.pv}function i(){this.paths=this.localShapeCollection}function n(P,C){if(P._length!==C._length||P.c!==C.c)return!1;var g,_=P._length;for(g=0;g<_;g+=1)if(P.v[g][0]!==C.v[g][0]||P.v[g][1]!==C.v[g][1]||P.o[g][0]!==C.o[g][0]||P.o[g][1]!==C.o[g][1]||P.i[g][0]!==C.i[g][0]||P.i[g][1]!==C.i[g][1])return!1;return!0}function s(P){n(this.v,P)||(this.v=shapePool.clone(P),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var P;this.kf?P=this.pv:this.data.ks?P=this.data.ks.k:P=this.data.pt.k;var C,g=this.effectsSequence.length;for(C=0;C<g;C+=1)P=this.effectsSequence[C](P);this.setVValue(P),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(P,C,g){this.propType="shape",this.comp=P.comp,this.container=P,this.elem=P,this.data=C,this.k=!1,this.kf=!1,this._mdf=!1;var _=g===3?C.pt.k:C.ks.k;this.v=shapePool.clone(_),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function f(P){this.effectsSequence.push(P),this.container.addDynamicProperty(this)}l.prototype.interpolateShape=t,l.prototype.getValue=o,l.prototype.setVValue=s,l.prototype.addEffect=f;function d(P,C,g){this.propType="shape",this.comp=P.comp,this.elem=P,this.container=P,this.offsetTime=P.data.st,this.keyframes=g===3?C.pt.k:C.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var _=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,_),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=i,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}d.prototype.getValue=o,d.prototype.interpolateShape=t,d.prototype.setVValue=s,d.prototype.addEffect=f;var u=function(){var P=roundCorner;function C(g,_){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=_.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=PropertyFactory.getProp(g,_.p,1,0,this),this.s=PropertyFactory.getProp(g,_.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return C.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var _=this.p.v[0],x=this.p.v[1],w=this.s.v[0]/2,M=this.s.v[1]/2,I=this.d!==3,B=this.v;B.v[0][0]=_,B.v[0][1]=x-M,B.v[1][0]=I?_+w:_-w,B.v[1][1]=x,B.v[2][0]=_,B.v[2][1]=x+M,B.v[3][0]=I?_-w:_+w,B.v[3][1]=x,B.i[0][0]=I?_-w*P:_+w*P,B.i[0][1]=x-M,B.i[1][0]=I?_+w:_-w,B.i[1][1]=x-M*P,B.i[2][0]=I?_+w*P:_-w*P,B.i[2][1]=x+M,B.i[3][0]=I?_-w:_+w,B.i[3][1]=x+M*P,B.o[0][0]=I?_+w*P:_-w*P,B.o[0][1]=x-M,B.o[1][0]=I?_+w:_-w,B.o[1][1]=x+M*P,B.o[2][0]=I?_-w*P:_+w*P,B.o[2][1]=x+M,B.o[3][0]=I?_-w:_+w,B.o[3][1]=x-M*P}},extendPrototype([DynamicPropertyContainer],C),C}(),y=function(){function P(C,g){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=C,this.comp=C.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(C),g.sy===1?(this.ir=PropertyFactory.getProp(C,g.ir,0,0,this),this.is=PropertyFactory.getProp(C,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(C,g.pt,0,0,this),this.p=PropertyFactory.getProp(C,g.p,1,0,this),this.r=PropertyFactory.getProp(C,g.r,0,degToRads,this),this.or=PropertyFactory.getProp(C,g.or,0,0,this),this.os=PropertyFactory.getProp(C,g.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return P.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var g=Math.floor(this.pt.v)*2,_=Math.PI*2/g,x=!0,w=this.or.v,M=this.ir.v,I=this.os.v,B=this.is.v,D=2*Math.PI*w/(g*2),j=2*Math.PI*M/(g*2),V,G,U,z,R=-Math.PI/2;R+=this.r.v;var L=this.data.d===3?-1:1;for(this.v._length=0,V=0;V<g;V+=1){G=x?w:M,U=x?I:B,z=x?D:j;var T=G*Math.cos(R),k=G*Math.sin(R),$=T===0&&k===0?0:k/Math.sqrt(T*T+k*k),N=T===0&&k===0?0:-T/Math.sqrt(T*T+k*k);T+=+this.p.v[0],k+=+this.p.v[1],this.v.setTripleAt(T,k,T-$*z*U*L,k-N*z*U*L,T+$*z*U*L,k+N*z*U*L,V,!0),x=!x,R+=_*L}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),_=Math.PI*2/g,x=this.or.v,w=this.os.v,M=2*Math.PI*x/(g*4),I,B=-Math.PI*.5,D=this.data.d===3?-1:1;for(B+=this.r.v,this.v._length=0,I=0;I<g;I+=1){var j=x*Math.cos(B),V=x*Math.sin(B),G=j===0&&V===0?0:V/Math.sqrt(j*j+V*V),U=j===0&&V===0?0:-j/Math.sqrt(j*j+V*V);j+=+this.p.v[0],V+=+this.p.v[1],this.v.setTripleAt(j,V,j-G*M*w*D,V-U*M*w*D,j+G*M*w*D,V+U*M*w*D,I,!0),B+=_*D}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],P),P}(),m=function(){function P(C,g){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=C,this.comp=C.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(C),this.p=PropertyFactory.getProp(C,g.p,1,0,this),this.s=PropertyFactory.getProp(C,g.s,1,0,this),this.r=PropertyFactory.getProp(C,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return P.prototype={convertRectToPath:function(){var g=this.p.v[0],_=this.p.v[1],x=this.s.v[0]/2,w=this.s.v[1]/2,M=bmMin(x,w,this.r.v),I=M*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+x,_-w+M,g+x,_-w+M,g+x,_-w+I,0,!0),this.v.setTripleAt(g+x,_+w-M,g+x,_+w-I,g+x,_+w-M,1,!0),M!==0?(this.v.setTripleAt(g+x-M,_+w,g+x-M,_+w,g+x-I,_+w,2,!0),this.v.setTripleAt(g-x+M,_+w,g-x+I,_+w,g-x+M,_+w,3,!0),this.v.setTripleAt(g-x,_+w-M,g-x,_+w-M,g-x,_+w-I,4,!0),this.v.setTripleAt(g-x,_-w+M,g-x,_-w+I,g-x,_-w+M,5,!0),this.v.setTripleAt(g-x+M,_-w,g-x+M,_-w,g-x+I,_-w,6,!0),this.v.setTripleAt(g+x-M,_-w,g+x-I,_-w,g+x-M,_-w,7,!0)):(this.v.setTripleAt(g-x,_+w,g-x+I,_+w,g-x,_+w,2),this.v.setTripleAt(g-x,_-w,g-x,_-w+I,g-x,_-w,3))):(this.v.setTripleAt(g+x,_-w+M,g+x,_-w+I,g+x,_-w+M,0,!0),M!==0?(this.v.setTripleAt(g+x-M,_-w,g+x-M,_-w,g+x-I,_-w,1,!0),this.v.setTripleAt(g-x+M,_-w,g-x+I,_-w,g-x+M,_-w,2,!0),this.v.setTripleAt(g-x,_-w+M,g-x,_-w+M,g-x,_-w+I,3,!0),this.v.setTripleAt(g-x,_+w-M,g-x,_+w-I,g-x,_+w-M,4,!0),this.v.setTripleAt(g-x+M,_+w,g-x+M,_+w,g-x+I,_+w,5,!0),this.v.setTripleAt(g+x-M,_+w,g+x-I,_+w,g+x-M,_+w,6,!0),this.v.setTripleAt(g+x,_+w-M,g+x,_+w-M,g+x,_+w-I,7,!0)):(this.v.setTripleAt(g-x,_-w,g-x+I,_-w,g-x,_-w,1,!0),this.v.setTripleAt(g-x,_+w,g-x,_+w-I,g-x,_+w,2,!0),this.v.setTripleAt(g+x,_+w,g+x-I,_+w,g+x,_+w,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],P),P}();function v(P,C,g){var _;if(g===3||g===4){var x=g===3?C.pt:C.ks,w=x.k;w.length?_=new d(P,C,g):_=new l(P,C,g)}else g===5?_=new m(P,C):g===6?_=new u(P,C):g===7&&(_=new y(P,C));return _.k&&P.addDynamicProperty(_),_}function S(){return l}function E(){return d}var A={};return A.getShapeProp=v,A.getConstructorFunction=S,A.getKeyframedConstructorFunction=E,A}();/*!
177 Transformation Matrix v2.0
178 (c) Epistemex 2014-2015
179 www.epistemex.com
180 By Ken Fyrstenberg
181 Contributions by leeoniya.
182 License: MIT, header required.
183 */var Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,i=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function s(T){if(T===0)return this;var k=e(T),$=t(T);return this._t(k,-$,0,0,$,k,0,0,0,0,1,0,0,0,0,1)}function o(T){if(T===0)return this;var k=e(T),$=t(T);return this._t(1,0,0,0,0,k,-$,0,0,$,k,0,0,0,0,1)}function l(T){if(T===0)return this;var k=e(T),$=t(T);return this._t(k,0,$,0,0,1,0,0,-$,0,k,0,0,0,0,1)}function f(T){if(T===0)return this;var k=e(T),$=t(T);return this._t(k,-$,0,0,$,k,0,0,0,0,1,0,0,0,0,1)}function d(T,k){return this._t(1,k,T,1,0,0)}function u(T,k){return this.shear(r(T),r(k))}function y(T,k){var $=e(k),N=t(k);return this._t($,N,0,0,-N,$,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(T),1,0,0,0,0,1,0,0,0,0,1)._t($,-N,0,0,N,$,0,0,0,0,1,0,0,0,0,1)}function m(T,k,$){return!$&&$!==0&&($=1),T===1&&k===1&&$===1?this:this._t(T,0,0,0,0,k,0,0,0,0,$,0,0,0,0,1)}function v(T,k,$,N,Q,oe,ce,de,ue,W,re,ee,ne,fe,pe,O){return this.props[0]=T,this.props[1]=k,this.props[2]=$,this.props[3]=N,this.props[4]=Q,this.props[5]=oe,this.props[6]=ce,this.props[7]=de,this.props[8]=ue,this.props[9]=W,this.props[10]=re,this.props[11]=ee,this.props[12]=ne,this.props[13]=fe,this.props[14]=pe,this.props[15]=O,this}function S(T,k,$){return $=$||0,T!==0||k!==0||$!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,T,k,$,1):this}function E(T,k,$,N,Q,oe,ce,de,ue,W,re,ee,ne,fe,pe,O){var F=this.props;if(T===1&&k===0&&$===0&&N===0&&Q===0&&oe===1&&ce===0&&de===0&&ue===0&&W===0&&re===1&&ee===0)return F[12]=F[12]*T+F[15]*ne,F[13]=F[13]*oe+F[15]*fe,F[14]=F[14]*re+F[15]*pe,F[15]*=O,this._identityCalculated=!1,this;var H=F[0],q=F[1],K=F[2],Y=F[3],te=F[4],Z=F[5],X=F[6],J=F[7],ae=F[8],ie=F[9],se=F[10],le=F[11],he=F[12],ge=F[13],me=F[14],ye=F[15];return F[0]=H*T+q*Q+K*ue+Y*ne,F[1]=H*k+q*oe+K*W+Y*fe,F[2]=H*$+q*ce+K*re+Y*pe,F[3]=H*N+q*de+K*ee+Y*O,F[4]=te*T+Z*Q+X*ue+J*ne,F[5]=te*k+Z*oe+X*W+J*fe,F[6]=te*$+Z*ce+X*re+J*pe,F[7]=te*N+Z*de+X*ee+J*O,F[8]=ae*T+ie*Q+se*ue+le*ne,F[9]=ae*k+ie*oe+se*W+le*fe,F[10]=ae*$+ie*ce+se*re+le*pe,F[11]=ae*N+ie*de+se*ee+le*O,F[12]=he*T+ge*Q+me*ue+ye*ne,F[13]=he*k+ge*oe+me*W+ye*fe,F[14]=he*$+ge*ce+me*re+ye*pe,F[15]=he*N+ge*de+me*ee+ye*O,this._identityCalculated=!1,this}function A(T){var k=T.props;return this.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])}function P(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function C(T){for(var k=0;k<16;){if(T.props[k]!==this.props[k])return!1;k+=1}return!0}function g(T){var k;for(k=0;k<16;k+=1)T.props[k]=this.props[k];return T}function _(T){var k;for(k=0;k<16;k+=1)this.props[k]=T[k]}function x(T,k,$){return{x:T*this.props[0]+k*this.props[4]+$*this.props[8]+this.props[12],y:T*this.props[1]+k*this.props[5]+$*this.props[9]+this.props[13],z:T*this.props[2]+k*this.props[6]+$*this.props[10]+this.props[14]}}function w(T,k,$){return T*this.props[0]+k*this.props[4]+$*this.props[8]+this.props[12]}function M(T,k,$){return T*this.props[1]+k*this.props[5]+$*this.props[9]+this.props[13]}function I(T,k,$){return T*this.props[2]+k*this.props[6]+$*this.props[10]+this.props[14]}function B(){var T=this.props[0]*this.props[5]-this.props[1]*this.props[4],k=this.props[5]/T,$=-this.props[1]/T,N=-this.props[4]/T,Q=this.props[0]/T,oe=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/T,ce=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/T,de=new Matrix;return de.props[0]=k,de.props[1]=$,de.props[4]=N,de.props[5]=Q,de.props[12]=oe,de.props[13]=ce,de}function D(T){var k=this.getInverseMatrix();return k.applyToPointArray(T[0],T[1],T[2]||0)}function j(T){var k,$=T.length,N=[];for(k=0;k<$;k+=1)N[k]=D(T[k]);return N}function V(T,k,$){var N=createTypedArray("float32",6);if(this.isIdentity())N[0]=T[0],N[1]=T[1],N[2]=k[0],N[3]=k[1],N[4]=$[0],N[5]=$[1];else{var Q=this.props[0],oe=this.props[1],ce=this.props[4],de=this.props[5],ue=this.props[12],W=this.props[13];N[0]=T[0]*Q+T[1]*ce+ue,N[1]=T[0]*oe+T[1]*de+W,N[2]=k[0]*Q+k[1]*ce+ue,N[3]=k[0]*oe+k[1]*de+W,N[4]=$[0]*Q+$[1]*ce+ue,N[5]=$[0]*oe+$[1]*de+W}return N}function G(T,k,$){var N;return this.isIdentity()?N=[T,k,$]:N=[T*this.props[0]+k*this.props[4]+$*this.props[8]+this.props[12],T*this.props[1]+k*this.props[5]+$*this.props[9]+this.props[13],T*this.props[2]+k*this.props[6]+$*this.props[10]+this.props[14]],N}function U(T,k){if(this.isIdentity())return T+","+k;var $=this.props;return Math.round((T*$[0]+k*$[4]+$[12])*100)/100+","+Math.round((T*$[1]+k*$[5]+$[13])*100)/100}function z(){for(var T=0,k=this.props,$="matrix3d(",N=1e4;T<16;)$+=i(k[T]*N)/N,$+=T===15?")":",",T+=1;return $}function R(T){var k=1e4;return T<1e-6&&T>0||T>-1e-6&&T<0?i(T*k)/k:T}function L(){var T=this.props,k=R(T[0]),$=R(T[1]),N=R(T[4]),Q=R(T[5]),oe=R(T[12]),ce=R(T[13]);return"matrix("+k+","+$+","+N+","+Q+","+oe+","+ce+")"}return function(){this.reset=n,this.rotate=s,this.rotateX=o,this.rotateY=l,this.rotateZ=f,this.skew=u,this.skewFromAxis=y,this.shear=d,this.scale=m,this.setTransform=v,this.translate=S,this.transform=E,this.multiply=A,this.applyToPoint=x,this.applyToX=w,this.applyToY=M,this.applyToZ=I,this.applyToPointArray=G,this.applyToTriplePoints=V,this.applyToPointStringified=U,this.toCSS=z,this.to2dCSS=L,this.clone=g,this.cloneFromProps=_,this.equals=C,this.inversePoints=j,this.inversePoint=D,this.getInverseMatrix=B,this._t=this.transform,this.isIdentity=P,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var i=t[r].split("=");if(decodeURIComponent(i[0])==e)return decodeURIComponent(i[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=r,e.getModifier=i;function r(n,s){t[n]||(t[n]=s)}function i(n,s,o){return new t[n](s,o)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,i,n){var s=[];t<=1?s.push({s:e,e:t}):e>=1?s.push({s:e-1,e:t-1}):(s.push({s:e,e:1}),s.push({s:0,e:t-1}));var o=[],l,f=s.length,d;for(l=0;l<f;l+=1)if(d=s[l],!(d.e*n<i||d.s*n>i+r)){var u,y;d.s*n<=i?u=0:u=(d.s*n-i)/r,d.e*n>=i+r?y=1:y=(d.e*n-i)/r,o.push([u,y])}return o.length||o.push([0,0]),o},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r;if(this._mdf||e){var i=this.o.v%360/360;if(i<0&&(i+=1),this.s.v>1?t=1+i:this.s.v<0?t=0+i:t=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,t>r){var n=t;t=r,r=n}t=Math.round(t*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var s,o,l=this.shapes.length,f,d,u,y,m,v=0;if(r===t)for(o=0;o<l;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(r===1&&t===0||r===0&&t===1){if(this._mdf)for(o=0;o<l;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var S=[],E,A;for(o=0;o<l;o+=1)if(E=this.shapes[o],!E.shape._mdf&&!this._mdf&&!e&&this.m!==2)E.shape.paths=E.localShapeCollection;else{if(s=E.shape.paths,d=s._length,m=0,!E.shape._mdf&&E.pathsData.length)m=E.totalShapeLength;else{for(u=this.releasePathsData(E.pathsData),f=0;f<d;f+=1)y=bez.getSegmentsLength(s.shapes[f]),u.push(y),m+=y.totalLength;E.totalShapeLength=m,E.pathsData=u}v+=m,E.shape._mdf=!0}var P=t,C=r,g=0,_;for(o=l-1;o>=0;o-=1)if(E=this.shapes[o],E.shape._mdf){for(A=E.localShapeCollection,A.releaseShapes(),this.m===2&&l>1?(_=this.calculateShapeEdges(t,r,E.totalShapeLength,g,v),g+=E.totalShapeLength):_=[[P,C]],d=_.length,f=0;f<d;f+=1){P=_[f][0],C=_[f][1],S.length=0,C<=1?S.push({s:E.totalShapeLength*P,e:E.totalShapeLength*C}):P>=1?S.push({s:E.totalShapeLength*(P-1),e:E.totalShapeLength*(C-1)}):(S.push({s:E.totalShapeLength*P,e:E.totalShapeLength}),S.push({s:0,e:E.totalShapeLength*(C-1)}));var x=this.addShapes(E,S[0]);if(S[0].s!==S[0].e){if(S.length>1){var w=E.shape.paths.shapes[E.shape.paths._length-1];if(w.c){var M=x.pop();this.addPaths(x,A),x=this.addShapes(E,S[1],M)}else this.addPaths(x,A),x=this.addShapes(E,S[1])}this.addPaths(x,A)}}E.shape.paths=A}}},TrimModifier.prototype.addPaths=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,i,n,s,o){n.setXYAt(t[0],t[1],"o",s),n.setXYAt(r[0],r[1],"i",s+1),o&&n.setXYAt(e[0],e[1],"v",s),n.setXYAt(i[0],i[1],"v",s+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,i){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),i&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var i=e.pathsData,n=e.shape.paths.shapes,s,o=e.shape.paths._length,l,f,d=0,u,y,m,v,S=[],E,A=!0;for(r?(y=r._length,E=r._length):(r=shapePool.newElement(),y=0,E=0),S.push(r),s=0;s<o;s+=1){for(m=i[s].lengths,r.c=n[s].c,f=n[s].c?m.length:m.length+1,l=1;l<f;l+=1)if(u=m[l-1],d+u.addedLength<t.s)d+=u.addedLength,r.c=!1;else if(d>t.e){r.c=!1;break}else t.s<=d&&t.e>=d+u.addedLength?(this.addSegment(n[s].v[l-1],n[s].o[l-1],n[s].i[l],n[s].v[l],r,y,A),A=!1):(v=bez.getNewSegment(n[s].v[l-1],n[s].v[l],n[s].o[l-1],n[s].i[l],(t.s-d)/u.addedLength,(t.e-d)/u.addedLength,m[l-1]),this.addSegmentFromArray(v,r,y,A),A=!1,r.c=!1),d+=u.addedLength,y+=1;if(n[s].c&&m.length){if(u=m[l-1],d<=t.e){var P=m[l-1].addedLength;t.s<=d&&t.e>=d+P?(this.addSegment(n[s].v[l-1],n[s].o[l-1],n[s].i[0],n[s].v[0],r,y,A),A=!1):(v=bez.getNewSegment(n[s].v[l-1],n[s].v[0],n[s].o[l-1],n[s].i[0],(t.s-d)/P,(t.e-d)/P,m[l-1]),this.addSegmentFromArray(v,r,y,A),A=!1,r.c=!1)}else r.c=!1;d+=u.addedLength,y+=1}if(r._length&&(r.setXYAt(r.v[E][0],r.v[E][1],"i",E),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>t.e)break;s<o-1&&(r=shapePool.newElement(),A=!0,S.push(r),y=0)}return S};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,i=[0,0],n=e._length,s=0;for(s=0;s<n;s+=1)i[0]+=e.v[s][0],i[1]+=e.v[s][1];i[0]/=n,i[1]/=n;var o=shapePool.newElement();o.c=e.c;var l,f,d,u,y,m;for(s=0;s<n;s+=1)l=e.v[s][0]+(i[0]-e.v[s][0])*r,f=e.v[s][1]+(i[1]-e.v[s][1])*r,d=e.o[s][0]+(i[0]-e.o[s][0])*-r,u=e.o[s][1]+(i[1]-e.o[s][1])*-r,y=e.i[s][0]+(i[0]-e.i[s][0])*-r,m=e.i[s][1]+(i[1]-e.i[s][1])*-r,o.setTripleAt(l,f,d,u,y,m,s);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,n,s,o=this.amount.v;if(o!==0){var l,f;for(r=0;r<i;r+=1){if(l=this.shapes[r],f=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,s=l.shape.paths._length,n=0;n<s;n+=1)f.addShape(this.processPath(t[n],o));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(f){var d=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||d,this.a&&f.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&f.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&f.skewFromAxis(-this.sk.v,this.sa.v),this.r?f.rotate(-this.r.v):f.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.data.p.s?this.data.p.z?f.translate(this.px.v,this.py.v,-this.pz.v):f.translate(this.px.v,this.py.v,0):f.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(f){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||f){var d;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var u,y;if(d=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(u=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/d,0),y=this.p.getValueAtTime(this.p.keyframes[0].t/d,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(u=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/d,0),y=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/d,0)):(u=this.p.pv,y=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/d,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){u=[],y=[];var m=this.px,v=this.py;m._caching.lastFrame+m.offsetTime<=m.keyframes[0].t?(u[0]=m.getValueAtTime((m.keyframes[0].t+.01)/d,0),u[1]=v.getValueAtTime((v.keyframes[0].t+.01)/d,0),y[0]=m.getValueAtTime(m.keyframes[0].t/d,0),y[1]=v.getValueAtTime(v.keyframes[0].t/d,0)):m._caching.lastFrame+m.offsetTime>=m.keyframes[m.keyframes.length-1].t?(u[0]=m.getValueAtTime(m.keyframes[m.keyframes.length-1].t/d,0),u[1]=v.getValueAtTime(v.keyframes[v.keyframes.length-1].t/d,0),y[0]=m.getValueAtTime((m.keyframes[m.keyframes.length-1].t-.01)/d,0),y[1]=v.getValueAtTime((v.keyframes[v.keyframes.length-1].t-.01)/d,0)):(u=[m.pv,v.pv],y[0]=m.getValueAtTime((m._caching.lastFrame+m.offsetTime-.01)/d,m.offsetTime),y[1]=v.getValueAtTime((v._caching.lastFrame+v.offsetTime-.01)/d,v.offsetTime))}else y=e,u=y;this.v.rotate(-Math.atan2(u[1]-y[1],u[0]-y[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 i(){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 n(){}function s(f){this._addDynamicProperty(f),this.elem.addDynamicProperty(f),this._isDirty=!0}function o(f,d,u){if(this.elem=f,this.frameId=-1,this.propType="transform",this.data=d,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(u||f),d.p&&d.p.s?(this.px=PropertyFactory.getProp(f,d.p.x,0,0,this),this.py=PropertyFactory.getProp(f,d.p.y,0,0,this),d.p.z&&(this.pz=PropertyFactory.getProp(f,d.p.z,0,0,this))):this.p=PropertyFactory.getProp(f,d.p||{k:[0,0,0]},1,0,this),d.rx){if(this.rx=PropertyFactory.getProp(f,d.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(f,d.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(f,d.rz,0,degToRads,this),d.or.k[0].ti){var y,m=d.or.k.length;for(y=0;y<m;y+=1)d.or.k[y].to=null,d.or.k[y].ti=null}this.or=PropertyFactory.getProp(f,d.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(f,d.r||{k:0},0,degToRads,this);d.sk&&(this.sk=PropertyFactory.getProp(f,d.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(f,d.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(f,d.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(f,d.s||{k:[100,100,100]},1,.01,this),d.o?this.o=PropertyFactory.getProp(f,d.o,0,.01,f):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:r,precalculateMatrix:i,autoOrient:n},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=s,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function l(f,d,u){return new o(f,d,u)}return{getTransformProperty:l}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,i,n,s){var o=s?-1:1,l=i.s.v[0]+(1-i.s.v[0])*(1-n),f=i.s.v[1]+(1-i.s.v[1])*(1-n);e.translate(i.p.v[0]*o*n,i.p.v[1]*o*n,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*o*n),t.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(s?1/l:l,s?1/f:f),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,i){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]._render=t,e[r].ty==="gr"&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,i,n,s,o=!1;if(this._mdf||e){var l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var f={it:this.cloneElements(this._elements),ty:"gr"};f.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,f),this._groups.splice(0,0,f),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}s=0;var d;for(i=0;i<=this._groups.length-1;i+=1){if(d=s<l,this._groups[i]._render=d,this.changeGroupRender(this._groups[i].it,d),!d){var u=this.elemsData[i].it,y=u[u.length-1];y.transform.op.v!==0?(y.transform.op._mdf=!0,y.transform.op.v=0):y.transform.op._mdf=!1}s+=1}this._currentCopies=l;var m=this.o.v,v=m%1,S=m>0?Math.floor(m):Math.ceil(m),E=this.pMatrix.props,A=this.rMatrix.props,P=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var C=0;if(m>0){for(;C<S;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),C+=1;v&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,v,!1),C+=v)}else if(m<0){for(;C>S;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),C-=1;v&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-v,!0),C-=v)}i=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,s=this._currentCopies;for(var g,_;s;){if(t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,_=r.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),C!==0){for((i!==0&&n===1||i!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(A[0],A[1],A[2],A[3],A[4],A[5],A[6],A[7],A[8],A[9],A[10],A[11],A[12],A[13],A[14],A[15]),this.matrix.transform(P[0],P[1],P[2],P[3],P[4],P[5],P[6],P[7],P[8],P[9],P[10],P[11],P[12],P[13],P[14],P[15]),this.matrix.transform(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],E[9],E[10],E[11],E[12],E[13],E[14],E[15]),g=0;g<_;g+=1)r[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<_;g+=1)r[g]=this.matrix.props[g];C+=1,s-=1,i+=n}}else for(s=this._currentCopies,i=0,n=1;s;)t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,s-=1,i+=n;return o},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r=shapePool.newElement();r.c=e.c;var i,n=e._length,s,o,l,f,d,u,y=0,m,v,S,E,A,P;for(i=0;i<n;i+=1)s=e.v[i],l=e.o[i],o=e.i[i],s[0]===l[0]&&s[1]===l[1]&&s[0]===o[0]&&s[1]===o[1]?(i===0||i===n-1)&&!e.c?(r.setTripleAt(s[0],s[1],l[0],l[1],o[0],o[1],y),y+=1):(i===0?f=e.v[n-1]:f=e.v[i-1],d=Math.sqrt(Math.pow(s[0]-f[0],2)+Math.pow(s[1]-f[1],2)),u=d?Math.min(d/2,t)/d:0,A=s[0]+(f[0]-s[0])*u,m=A,P=s[1]-(s[1]-f[1])*u,v=P,S=m-(m-s[0])*roundCorner,E=v-(v-s[1])*roundCorner,r.setTripleAt(m,v,S,E,A,P,y),y+=1,i===n-1?f=e.v[0]:f=e.v[i+1],d=Math.sqrt(Math.pow(s[0]-f[0],2)+Math.pow(s[1]-f[1],2)),u=d?Math.min(d/2,t)/d:0,S=s[0]+(f[0]-s[0])*u,m=S,E=s[1]+(f[1]-s[1])*u,v=E,A=m-(m-s[0])*roundCorner,P=v-(v-s[1])*roundCorner,r.setTripleAt(m,v,S,E,A,P,y),y+=1):(r.setTripleAt(e.v[i][0],e.v[i][1],e.o[i][0],e.o[i][1],e.i[i][0],e.i[i][1],y),y+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,n,s,o=this.rd.v;if(o!==0){var l,f;for(r=0;r<i;r+=1){if(l=this.shapes[r],f=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,s=l.shape.paths._length,n=0;n<s;n+=1)f.addShape(this.processPath(t[n],o));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(e===0)return[];var i=t*t-4*e*r;if(i<0)return[];var n=-t/(2*e);if(i===0)return[n];var s=Math.sqrt(i)/(2*e);return[n-s,n+s]}function polynomialCoefficients(e,t,r,i){return[-e+3*t-3*r+i,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,i,n){n&&pointEqual(e,t)&&(t=lerpPoint(e,i,1/3)),n&&pointEqual(r,i)&&(r=lerpPoint(e,i,2/3));var s=polynomialCoefficients(e[0],t[0],r[0],i[0]),o=polynomialCoefficients(e[1],t[1],r[1],i[1]);this.a=[s[0],o[0]],this.b=[s[1],o[1]],this.c=[s[2],o[2]],this.d=[s[3],o[3]],this.points=[e,t,r,i]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[t]:[]:[t-i,t+i].filter(function(n){return n>0&&n<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),i=lerpPoint(this.points[2],this.points[3],e),n=lerpPoint(t,r,e),s=lerpPoint(r,i,e),o=lerpPoint(n,s,e);return[new PolynomialBezier(this.points[0],t,n,o,!0),new PolynomialBezier(o,s,i,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],i=e.points[e.points.length-1][t];if(r>i){var n=i;i=r,r=n}for(var s=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<s.length;o+=1)if(s[o]>0&&s[o]<1){var l=e.point(s[o])[t];l<r?r=l:l>i&&(i=l)}return{min:r,max:i}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,r){var i=e.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,r,i,n,s){if(boxIntersect(e,t)){if(r>=s||e.width<=i&&e.height<=i&&t.width<=i&&t.height<=i){n.push([e.t,t.t]);return}var o=splitData(e),l=splitData(t);intersectsImpl(o[0],l[0],r+1,i,n,s),intersectsImpl(o[0],l[1],r+1,i,n,s),intersectsImpl(o[1],l[0],r+1,i,n,s),intersectsImpl(o[1],l[1],r+1,i,n,s)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,i,r),i},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,i){var n=[e[0],e[1],1],s=[t[0],t[1],1],o=[r[0],r[1],1],l=[i[0],i[1],1],f=crossProduct(crossProduct(n,s),crossProduct(o,l));return floatZero(f[2])?null:[f[0]/f[2],f[1]/f[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,r,i,n,s,o){var l=r-Math.PI/2,f=r+Math.PI/2,d=t[0]+Math.cos(r)*i*n,u=t[1]-Math.sin(r)*i*n;e.setTripleAt(d,u,d+Math.cos(l)*s,u-Math.sin(l)*s,d+Math.cos(f)*o,u-Math.sin(f)*o,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],i=-Math.PI*.5,n=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return n}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,i=(t+1)%e.length(),n=e.v[r],s=e.v[i],o=getPerpendicularVector(n,s);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,r,i,n,s,o){var l=getProjectingAngle(t,r),f=t.v[r%t._length],d=t.v[r===0?t._length-1:r-1],u=t.v[(r+1)%t._length],y=s===2?Math.sqrt(Math.pow(f[0]-d[0],2)+Math.pow(f[1]-d[1],2)):0,m=s===2?Math.sqrt(Math.pow(f[0]-u[0],2)+Math.pow(f[1]-u[1],2)):0;setPoint(e,t.v[r%t._length],l,o,i,m/((n+1)*2),y/((n+1)*2))}function zigZagSegment(e,t,r,i,n,s){for(var o=0;o<i;o+=1){var l=(o+1)/(i+1),f=n===2?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,d=t.normalAngle(l),u=t.point(l);setPoint(e,u,d,s,r,f/((i+1)*2),f/((i+1)*2)),s=-s}return s}ZigZagModifier.prototype.processPath=function(e,t,r,i){var n=e._length,s=shapePool.newElement();if(s.c=e.c,e.c||(n-=1),n===0)return s;var o=-1,l=PolynomialBezier.shapeSegment(e,0);zigZagCorner(s,e,0,t,r,i,o);for(var f=0;f<n;f+=1)o=zigZagSegment(s,l,t,r,i,-o),f===n-1&&!e.c?l=null:l=PolynomialBezier.shapeSegment(e,(f+1)%n),zigZagCorner(s,e,f+1,t,r,i,o);return s},ZigZagModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,n,s,o=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),f=this.pointsType.v;if(o!==0){var d,u;for(r=0;r<i;r+=1){if(d=this.shapes[r],u=d.localShapeCollection,!(!d.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),d.shape._mdf=!0,t=d.shape.paths.shapes,s=d.shape.paths._length,n=0;n<s;n+=1)u.addShape(this.processPath(t[n],o,l,f));d.shape.paths=d.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,r){var i=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,i,r),polarOffset(t,i,r)]}function offsetSegment(e,t){var r,i,n,s,o,l,f;f=linearOffset(e.points[0],e.points[1],t),r=f[0],i=f[1],f=linearOffset(e.points[1],e.points[2],t),n=f[0],s=f[1],f=linearOffset(e.points[2],e.points[3],t),o=f[0],l=f[1];var d=lineIntersection(r,i,n,s);d===null&&(d=i);var u=lineIntersection(o,l,n,s);return u===null&&(u=o),new PolynomialBezier(r,d,u,l)}function joinLines(e,t,r,i,n){var s=t.points[3],o=r.points[0];if(i===3||pointEqual(s,o))return s;if(i===2){var l=-t.tangentAngle(1),f=-r.tangentAngle(0)+Math.PI,d=lineIntersection(s,polarOffset(s,l+Math.PI/2,100),o,polarOffset(o,l+Math.PI/2,100)),u=d?pointDistance(d,s):pointDistance(s,o)/2,y=polarOffset(s,l,2*u*roundCorner);return e.setXYAt(y[0],y[1],"o",e.length()-1),y=polarOffset(o,f,2*u*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],y[0],y[1],e.length()),o}var m=pointEqual(s,t.points[2])?t.points[0]:t.points[2],v=pointEqual(o,r.points[1])?r.points[3]:r.points[1],S=lineIntersection(m,s,o,v);return S&&pointDistance(S,s)<n?(e.setTripleAt(S[0],S[1],S[0],S[1],S[0],S[1],e.length()),S):s}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),i=t.slice(),n=getIntersection(e[e.length-1],t[0]);return n&&(r[e.length-1]=e[e.length-1].split(n[0])[0],i[0]=t[0].split(n[1])[1]),e.length>1&&t.length>1&&(n=getIntersection(e[0],t[t.length-1]),n)?[[e[0].split(n[0])[0]],[t[t.length-1].split(n[1])[1]]]:[r,i]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r=e.inflectionPoints(),i,n,s,o;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return s=e.split(r[0]),i=s[0],n=s[1],[offsetSegment(i,t),offsetSegment(n,t)];s=e.split(r[0]),i=s[0];var l=(r[1]-r[0])/(1-r[0]);return s=s[1].split(l),o=s[0],n=s[1],[offsetSegment(i,t),offsetSegment(o,t),offsetSegment(n,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,r,i){var n=shapePool.newElement();n.c=e.c;var s=e.length();e.c||(s-=1);var o,l,f,d=[];for(o=0;o<s;o+=1)f=PolynomialBezier.shapeSegment(e,o),d.push(offsetSegmentSplit(f,t));if(!e.c)for(o=s-1;o>=0;o-=1)f=PolynomialBezier.shapeSegmentInverted(e,o),d.push(offsetSegmentSplit(f,t));d=pruneIntersections(d);var u=null,y=null;for(o=0;o<d.length;o+=1){var m=d[o];for(y&&(u=joinLines(n,y,m[0],r,i)),y=m[m.length-1],l=0;l<m.length;l+=1)f=m[l],u&&pointEqual(f.points[0],u)?n.setXYAt(f.points[1][0],f.points[1][1],"o",n.length()-1):n.setTripleAt(f.points[0][0],f.points[0][1],f.points[1][0],f.points[1][1],f.points[0][0],f.points[0][1],n.length()),n.setTripleAt(f.points[3][0],f.points[3][1],f.points[3][0],f.points[3][1],f.points[2][0],f.points[2][1],n.length()),u=f.points[3]}return d.length&&joinLines(n,y,d[0][0],r,i),n},OffsetPathModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,n,s,o=this.amount.v,l=this.miterLimit.v,f=this.lineJoin;if(o!==0){var d,u;for(r=0;r<i;r+=1){if(d=this.shapes[r],u=d.localShapeCollection,!(!d.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),d.shape._mdf=!0,t=d.shape.paths.shapes,s=d.shape.paths._length,n=0;n<s;n+=1)u.addShape(this.processPath(t[n],o,f,l));d.shape.paths=d.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",i="normal",n=t.length,s,o=0;o<n;o+=1)switch(s=t[o].toLowerCase(),s){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200";break}return{style:i,weight:e.fWeight||r}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=127988,n=917631,s=917601,o=917626,l=65039,f=8205,d=127462,u=127487,y=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function m(R){var L=R.split(","),T,k=L.length,$=[];for(T=0;T<k;T+=1)L[T]!=="sans-serif"&&L[T]!=="monospace"&&$.push(L[T]);return $.join(",")}function v(R,L){var T=createTag("span");T.setAttribute("aria-hidden",!0),T.style.fontFamily=L;var k=createTag("span");k.innerText="giItT1WQy@!-/#",T.style.position="absolute",T.style.left="-10000px",T.style.top="-10000px",T.style.fontSize="300px",T.style.fontVariant="normal",T.style.fontStyle="normal",T.style.fontWeight="normal",T.style.letterSpacing="0",T.appendChild(k),document.body.appendChild(T);var $=k.offsetWidth;return k.style.fontFamily=m(R)+", "+L,{node:k,w:$,parent:T}}function S(){var R,L=this.fonts.length,T,k,$=L;for(R=0;R<L;R+=1)this.fonts[R].loaded?$-=1:this.fonts[R].fOrigin==="n"||this.fonts[R].origin===0?this.fonts[R].loaded=!0:(T=this.fonts[R].monoCase.node,k=this.fonts[R].monoCase.w,T.offsetWidth!==k?($-=1,this.fonts[R].loaded=!0):(T=this.fonts[R].sansCase.node,k=this.fonts[R].sansCase.w,T.offsetWidth!==k&&($-=1,this.fonts[R].loaded=!0)),this.fonts[R].loaded&&(this.fonts[R].sansCase.parent.parentNode.removeChild(this.fonts[R].sansCase.parent),this.fonts[R].monoCase.parent.parentNode.removeChild(this.fonts[R].monoCase.parent)));$!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function E(R,L){var T=document.body&&L?"svg":"canvas",k,$=getFontProperties(R);if(T==="svg"){var N=createNS("text");N.style.fontSize="100px",N.setAttribute("font-family",R.fFamily),N.setAttribute("font-style",$.style),N.setAttribute("font-weight",$.weight),N.textContent="1",R.fClass?(N.style.fontFamily="inherit",N.setAttribute("class",R.fClass)):N.style.fontFamily=R.fFamily,L.appendChild(N),k=N}else{var Q=new OffscreenCanvas(500,500).getContext("2d");Q.font=$.style+" "+$.weight+" 100px "+R.fFamily,k=Q}function oe(ce){return T==="svg"?(k.textContent=ce,k.getComputedTextLength()):k.measureText(ce).width}return{measureText:oe}}function A(R,L){if(!R){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=R.list;return}if(!document.body){this.isLoaded=!0,R.list.forEach(function(re){re.helper=E(re),re.cache={}}),this.fonts=R.list;return}var T=R.list,k,$=T.length,N=$;for(k=0;k<$;k+=1){var Q=!0,oe,ce;if(T[k].loaded=!1,T[k].monoCase=v(T[k].fFamily,"monospace"),T[k].sansCase=v(T[k].fFamily,"sans-serif"),!T[k].fPath)T[k].loaded=!0,N-=1;else if(T[k].fOrigin==="p"||T[k].origin===3){if(oe=document.querySelectorAll('style[f-forigin="p"][f-family="'+T[k].fFamily+'"], style[f-origin="3"][f-family="'+T[k].fFamily+'"]'),oe.length>0&&(Q=!1),Q){var de=createTag("style");de.setAttribute("f-forigin",T[k].fOrigin),de.setAttribute("f-origin",T[k].origin),de.setAttribute("f-family",T[k].fFamily),de.type="text/css",de.innerText="@font-face {font-family: "+T[k].fFamily+"; font-style: normal; src: url('"+T[k].fPath+"');}",L.appendChild(de)}}else if(T[k].fOrigin==="g"||T[k].origin===1){for(oe=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ce=0;ce<oe.length;ce+=1)oe[ce].href.indexOf(T[k].fPath)!==-1&&(Q=!1);if(Q){var ue=createTag("link");ue.setAttribute("f-forigin",T[k].fOrigin),ue.setAttribute("f-origin",T[k].origin),ue.type="text/css",ue.rel="stylesheet",ue.href=T[k].fPath,document.body.appendChild(ue)}}else if(T[k].fOrigin==="t"||T[k].origin===2){for(oe=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ce=0;ce<oe.length;ce+=1)T[k].fPath===oe[ce].src&&(Q=!1);if(Q){var W=createTag("link");W.setAttribute("f-forigin",T[k].fOrigin),W.setAttribute("f-origin",T[k].origin),W.setAttribute("rel","stylesheet"),W.setAttribute("href",T[k].fPath),L.appendChild(W)}}T[k].helper=E(T[k],L),T[k].cache={},this.fonts.push(T[k])}N===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function P(R){if(R){this.chars||(this.chars=[]);var L,T=R.length,k,$=this.chars.length,N;for(L=0;L<T;L+=1){for(k=0,N=!1;k<$;)this.chars[k].style===R[L].style&&this.chars[k].fFamily===R[L].fFamily&&this.chars[k].ch===R[L].ch&&(N=!0),k+=1;N||(this.chars.push(R[L]),$+=1)}}}function C(R,L,T){for(var k=0,$=this.chars.length;k<$;){if(this.chars[k].ch===R&&this.chars[k].style===L&&this.chars[k].fFamily===T)return this.chars[k];k+=1}return(typeof R=="string"&&R.charCodeAt(0)!==13||!R)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",R,L,T)),t}function g(R,L,T){var k=this.getFontByName(L),$=R;if(!k.cache[$]){var N=k.helper;if(R===" "){var Q=N.measureText("|"+R+"|"),oe=N.measureText("||");k.cache[$]=(Q-oe)/100}else k.cache[$]=N.measureText(R)/100}return k.cache[$]*T}function _(R){for(var L=0,T=this.fonts.length;L<T;){if(this.fonts[L].fName===R)return this.fonts[L];L+=1}return this.fonts[0]}function x(R){var L=0,T=R.charCodeAt(0);if(T>=55296&&T<=56319){var k=R.charCodeAt(1);k>=56320&&k<=57343&&(L=(T-55296)*1024+k-56320+65536)}return L}function w(R,L){var T=R.toString(16)+L.toString(16);return y.indexOf(T)!==-1}function M(R){return R===f}function I(R){return R===l}function B(R){var L=x(R);return L>=d&&L<=u}function D(R){return B(R.substr(0,2))&&B(R.substr(2,2))}function j(R){return r.indexOf(R)!==-1}function V(R,L){var T=x(R.substr(L,2));if(T!==i)return!1;var k=0;for(L+=2;k<5;){if(T=x(R.substr(L,2)),T<s||T>o)return!1;k+=1,L+=2}return x(R.substr(L,2))===n}function G(){this.isLoaded=!0}var U=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)};U.isModifier=w,U.isZeroWidthJoiner=M,U.isFlagEmoji=D,U.isRegionalCode=B,U.isCombinedCharacter=j,U.isRegionalFlag=V,U.isVariationSelector=I,U.BLACK_FLAG_CODE_POINT=i;var z={addChars:P,addFonts:A,getCharData:C,getFontByName:_,measureText:g,checkLoadedFonts:S,setIsLoaded:G};return U.prototype=z,U}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},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(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?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 t,r=this.renderableComponents.length;for(t=0;t<r;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r=e.ef||[];this.effectElements=[];var i,n=r.length,s;for(i=0;i<n;i+=1)s=new GroupEffect(r[i],t),this.effectElements.push(s)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,i=this.data.ef.length,n,s=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,s[r].ty){case 0:n=new SliderEffect(s[r],t,this);break;case 1:n=new AngleEffect(s[r],t,this);break;case 2:n=new ColorEffect(s[r],t,this);break;case 3:n=new PointEffect(s[r],t,this);break;case 4:case 7:n=new CheckboxEffect(s[r],t,this);break;case 10:n=new LayerIndexEffect(s[r],t,this);break;case 11:n=new MaskIndexEffect(s[r],t,this);break;case 5:n=new EffectsManager(s[r],t);break;default:n=new NoValueEffect(s[r]);break}n&&this.effectElements.push(n)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,r=this.data.masksProperties.length;t<r;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var r=t("layer"),i=t("effects"),n=t("shape"),s=t("text"),o=t("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var l=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(l),this.data.ty===0||this.data.xt?this.compInterface=o(this):this.data.ty===4?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=s(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=t},initBaseData:function(t,r,i){this.globalData=r,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,r){var i,n=this.dynamicProperties.length;for(i=0;i<n;i+=1)(r||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,r=this.layers.length,i;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(i=this.layers[t],i.ip-i.st<=e-this.layers[t].st&&i.op-i.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,r=e.length,i,n=this.layers.length;for(t=0;t<r;t+=1)for(i=0;i<n;){if(this.layers[i].id===e[t].id){this.layers[i]=e[t];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var i=this.elements,n=this.layers,s=0,o=n.length;s<o;)n[s].ind==t&&(!i[s]||i[s]===!0?(this.buildItem(s),this.addPendingElement(e)):(r.push(i[s]),i[s].setAsParent(),n[s].parent!==void 0?this.buildElementParenting(e,n[s].parent,r):e.setHierarchy(r))),s+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),r;if(typeof t=="number")r=this.elements[t];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===t){r=this.elements[i];break}}return e.length===0?r:r.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,r=this.finalTransform.mat,i=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<n;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,r.cloneFromProps(t),i=0;i<n;i+=1)r.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,r=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<r;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<r;t+=1){var n=this.localTransforms[t].matrix;i.multiply(n)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var s=this.finalTransform.localOpacity;for(t=0;t<r;t+=1)s*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=s}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var r=0,i=t.length;for(r=0;r<i;r+=1)this.localTransforms.push(t[r])}}},globalToLocal:function(t){var r=[];r.push(this.finalTransform);for(var i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&r.splice(0,0,n.finalTransform),n=n.comp):i=!1;var s,o=r.length,l;for(s=0;s<o;s+=1)l=r[s].mat.applyToPointArray(0,0,0),t=[t[0]-l[0],t[1]-l[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i=this.globalData.defs,n,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l=this.masksProperties,f=0,d=[],u,y,m=createElementID(),v,S,E,A,P="clipPath",C="clip-path";for(n=0;n<s;n+=1)if((l[n].mode!=="a"&&l[n].mode!=="n"||l[n].inv||l[n].o.k!==100||l[n].o.x)&&(P="mask",C="mask"),(l[n].mode==="s"||l[n].mode==="i")&&f===0?(v=createNS("rect"),v.setAttribute("fill","#ffffff"),v.setAttribute("width",this.element.comp.data.w||0),v.setAttribute("height",this.element.comp.data.h||0),d.push(v)):v=null,o=createNS("path"),l[n].mode==="n")this.viewData[n]={op:PropertyFactory.getProp(this.element,l[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[n],3),elem:o,lastPath:""},i.appendChild(o);else{f+=1,o.setAttribute("fill",l[n].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var g;if(l[n].x.k!==0?(P="mask",C="mask",A=PropertyFactory.getProp(this.element,l[n].x,0,null,this.element),g=createElementID(),S=createNS("filter"),S.setAttribute("id",g),E=createNS("feMorphology"),E.setAttribute("operator","erode"),E.setAttribute("in","SourceGraphic"),E.setAttribute("radius","0"),S.appendChild(E),i.appendChild(S),o.setAttribute("stroke",l[n].mode==="s"?"#000000":"#ffffff")):(E=null,A=null),this.storedData[n]={elem:o,x:A,expan:E,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},l[n].mode==="i"){y=d.length;var _=createNS("g");for(u=0;u<y;u+=1)_.appendChild(d[u]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",m+"_"+f),x.appendChild(o),i.appendChild(x),_.setAttribute("mask","url("+getLocationHref()+"#"+m+"_"+f+")"),d.length=0,d.push(_)}else d.push(o);l[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,l[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[n],3),invRect:v},this.viewData[n].prop.k||this.drawPath(l[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(P),s=d.length,n=0;n<s;n+=1)this.maskElement.appendChild(d[n]);f>0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(C,"url("+getLocationHref()+"#"+m+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r<i;r+=1)if((this.viewData[r].prop._mdf||e)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||e)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),this.masksProperties[r].mode!=="n"&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[r].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||e))){var n=this.storedData[r].expan;this.storedData[r].x.v<0?(this.storedData[r].lastOperator!=="erode"&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),n.setAttribute("radius",-this.storedData[r].x.v)):(this.storedData[r].lastOperator!=="dilate"&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",this.storedData[r].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,r){var i=" M"+t.v[0][0]+","+t.v[0][1],n,s;for(s=t._length,n=1;n<s;n+=1)i+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&s>1&&(i+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==i){var o="";r.elem&&(t.c&&(o=e.inv?this.solidPath+i:i),r.elem.setAttribute("d",o)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=r;function t(i,n){var s=createNS("filter");return s.setAttribute("id",i),n!==!0&&(s.setAttribute("filterUnits","objectBoundingBox"),s.setAttribute("x","0%"),s.setAttribute("y","0%"),s.setAttribute("width","100%"),s.setAttribute("height","100%")),s}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),i}return e}(),featureSupport=function(){var e={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))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,n=createElementID(),s=filtersFactory.createFilter(n,!0),o=0;this.filters=[];var l;for(t=0;t<i;t+=1){l=null;var f=e.data.ef[t].ty;if(registeredEffects$1[f]){var d=registeredEffects$1[f].effect;l=new d(s,e.effectsManager.effectElements[t],e,idPrefix+o,r),r=idPrefix+o,registeredEffects$1[f].countsAsEffect&&(o+=1)}l&&this.filters.push(l)}o&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+n+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,r=this.filters.length,i=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&i.push(this.filters[t]);return i};function registerEffect$1(e,t,r){registeredEffects$1[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var r=createNS("g");r.setAttribute("id",this.layerId),r.appendChild(this.layerElement),t=r,this.globalData.defs.appendChild(r)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var s=createElementID();if(i.setAttribute("id",s),i.appendChild(n),this.globalData.defs.appendChild(i),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var r=this.layerId+"_"+t,i,n,s,o;if(t===1||t===3){var l=createNS("mask");l.setAttribute("id",r),l.setAttribute("mask-type",t===3?"luminance":"alpha"),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(s),this.globalData.defs.appendChild(l),!featureSupport.maskType&&t===1&&(l.setAttribute("mask-type","luminance"),i=createElementID(),n=filtersFactory.createFilter(i),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),o.appendChild(s),l.appendChild(o),o.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var f=createNS("mask");f.setAttribute("id",r),f.setAttribute("mask-type","alpha");var d=createNS("g");f.appendChild(d),i=createElementID(),n=filtersFactory.createFilter(i);var u=createNS("feComponentTransfer");u.setAttribute("in","SourceGraphic"),n.appendChild(u);var y=createNS("feFuncA");y.setAttribute("type","table"),y.setAttribute("tableValues","1.0 0.0"),u.appendChild(y),this.globalData.defs.appendChild(n);var m=createNS("rect");m.setAttribute("width",this.comp.data.w),m.setAttribute("height",this.comp.data.h),m.setAttribute("x","0"),m.setAttribute("y","0"),m.setAttribute("fill","#ffffff"),m.setAttribute("op
183acity","0"),d.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),d.appendChild(m),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),d.appendChild(s),featureSupport.maskType||(f.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),d.appendChild(m),o.appendChild(this.layerElement),d.appendChild(o)),this.globalData.defs.appendChild(f)}this.matteMasks[t]=r}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(r,i,n){this.initFrame(),this.initBaseData(r,i,n),this.initTransform(r,i,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var r=this.baseElement||this.layerElement;r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var r=this.baseElement||this.layerElement;r.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(r){this._mdf=!1,this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var r,i=this.shapeModifiers.length;for(r=0;r<i;r+=1)this.shapeModifiers[r].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var r=0,i=this.shapeModifiers.length;r<i;)if(this.shapeModifiers[r].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,r=this.shapes.length;for(t=0;t<r;t+=1)this.shapes[t].sh.reset();r=this.shapeModifiers.length;var i;for(t=r-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,i=0,n=r.length;i<n;){if(r[i].elem===t)return r[i].pos;i+=1}return 0},addProcessedElement:function(t,r){for(var i=this.processedElements,n=i.length;n;)if(n-=1,i[n].elem===t){i[n].pos=r;return}i.push(new ProcessedElement(t,r))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var i=0,n=e.length;i<n;){if(e[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,r,i){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var n,s=t.length||0,o;for(n=0;n<s;n+=1)o=PropertyFactory.getProp(e,t[n].v,0,0,this),this.k=o.k||this.k,this.dataProps[n]={n:t[n].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&
vendor: 50,878 bytes, line 183
183!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<r;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var i=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,i=this.o.length/2,n;r<i;){if(n=Math.abs(e[r*4]-e[t*4+r*2]),n>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r=this.data.p*4,i,n;for(t=0;t<r;t+=1)i=t%4===0?100:255,n=Math.round(this.prop.v[t]*i),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(r=this.prop.v.length,t=this.data.p*4;t<r;t+=1)i=t%2===0?100:1,n=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==n&&(this.o[t-this.data.p*4]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),i=createNS(t.t===1?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n=[],s,o,l;for(l=t.g.p*4,o=0;o<l;o+=4)s=createNS("stop"),i.appendChild(s),n.push(s);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,s=createNS("mask"),o=createNS("path");s.appendChild(o);var l=createElementID(),f=createElementID();s.setAttribute("id",f);var d=createNS(e.t===1?"linearGradient":"radialGradient");d.setAttribute("id",l),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),n=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(i=e.g.p*4;i<n;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(r),u.push(r);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),e.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=d,this.ms=s,this.ost=u,this.maskId=f,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,r,i,n){if(r===0)return"";var s=t.o,o=t.i,l=t.v,f,d=" M"+n.applyToPointStringified(l[0][0],l[0][1]);for(f=1;f<r;f+=1)d+=" C"+n.applyToPointStringified(s[f-1][0],s[f-1][1])+" "+n.applyToPointStringified(o[f][0],o[f][1])+" "+n.applyToPointStringified(l[f][0],l[f][1]);return i&&r&&(d+=" C"+n.applyToPointStringified(s[f-1][0],s[f-1][1])+" "+n.applyToPointStringified(o[0][0],o[0][1])+" "+n.applyToPointStringified(l[0][0],l[0][1]),d+="z"),d},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,r={createRenderFunction:i};function i(y){switch(y.ty){case"fl":return l;case"gf":return d;case"gs":return f;case"st":return u;case"sh":case"el":case"rc":case"sr":return o;case"tr":return n;case"no":return s;default:return null}}function n(y,m,v){(v||m.transform.op._mdf)&&m.transform.container.setAttribute("opacity",m.transform.op.v),(v||m.transform.mProps._mdf)&&m.transform.container.setAttribute("transform",m.transform.mProps.v.to2dCSS())}function s(){}function o(y,m,v){var S,E,A,P,C,g,_=m.styles.length,x=m.lvl,w,M,I,B;for(g=0;g<_;g+=1){if(P=m.sh._mdf||v,m.styles[g].lvl<x){for(M=t.reset(),I=x-m.styles[g].lvl,B=m.transformers.length-1;!P&&I>0;)P=m.transformers[B].mProps._mdf||P,I-=1,B-=1;if(P)for(I=x-m.styles[g].lvl,B=m.transformers.length-1;I>0;)M.multiply(m.transformers[B].mProps.v),I-=1,B-=1}else M=e;if(w=m.sh.paths,E=w._length,P){for(A="",S=0;S<E;S+=1)C=w.shapes[S],C&&C._length&&(A+=buildShapeString(C,C._length,C.c,M));m.caches[g]=A}else A=m.caches[g];m.styles[g].d+=y.hd===!0?"":A,m.styles[g]._mdf=P||m.styles[g]._mdf}}function l(y,m,v){var S=m.style;(m.c._mdf||v)&&S.pElem.setAttribute("fill","rgb("+bmFloor(m.c.v[0])+","+bmFloor(m.c.v[1])+","+bmFloor(m.c.v[2])+")"),(m.o._mdf||v)&&S.pElem.setAttribute("fill-opacity",m.o.v)}function f(y,m,v){d(y,m,v),u(y,m,v)}function d(y,m,v){var S=m.gf,E=m.g._hasOpacity,A=m.s.v,P=m.e.v;if(m.o._mdf||v){var C=y.ty==="gf"?"fill-opacity":"stroke-opacity";m.style.pElem.setAttribute(C,m.o.v)}if(m.s._mdf||v){var g=y.t===1?"x1":"cx",_=g==="x1"?"y1":"cy";S.setAttribute(g,A[0]),S.setAttribute(_,A[1]),E&&!m.g._collapsable&&(m.of.setAttribute(g,A[0]),m.of.setAttribute(_,A[1]))}var x,w,M,I;if(m.g._cmdf||v){x=m.cst;var B=m.g.c;for(M=x.length,w=0;w<M;w+=1)I=x[w],I.setAttribute("offset",B[w*4]+"%"),I.setAttribute("stop-color","rgb("+B[w*4+1]+","+B[w*4+2]+","+B[w*4+3]+")")}if(E&&(m.g._omdf||v)){var D=m.g.o;for(m.g._collapsable?x=m.cst:x=m.ost,M=x.length,w=0;w<M;w+=1)I=x[w],m.g._collapsable||I.setAttribute("offset",D[w*2]+"%"),I.setAttribute("stop-opacity",D[w*2+1])}if(y.t===1)(m.e._mdf||v)&&(S.setAttribute("x2",P[0]),S.setAttribute("y2",P[1]),E&&!m.g._collapsable&&(m.of.setAttribute("x2",P[0]),m.of.setAttribute("y2",P[1])));else{var j;if((m.s._mdf||m.e._mdf||v)&&(j=Math.sqrt(Math.pow(A[0]-P[0],2)+Math.pow(A[1]-P[1],2)),S.setAttribute("r",j),E&&!m.g._collapsable&&m.of.setAttribute("r",j)),m.e._mdf||m.h._mdf||m.a._mdf||v){j||(j=Math.sqrt(Math.pow(A[0]-P[0],2)+Math.pow(A[1]-P[1],2)));var V=Math.atan2(P[1]-A[1],P[0]-A[0]),G=m.h.v;G>=1?G=.99:G<=-1&&(G=-.99);var U=j*G,z=Math.cos(V+m.a.v)*U+A[0],R=Math.sin(V+m.a.v)*U+A[1];S.setAttribute("fx",z),S.setAttribute("fy",R),E&&!m.g._collapsable&&(m.of.setAttribute("fx",z),m.of.setAttribute("fy",R))}}}function u(y,m,v){var S=m.style,E=m.d;E&&(E._mdf||v)&&E.dashStr&&(S.pElem.setAttribute("stroke-dasharray",E.dashStr),S.pElem.setAttribute("stroke-dashoffset",E.dashoffset[0])),m.c&&(m.c._mdf||v)&&S.pElem.setAttribute("stroke","rgb("+bmFloor(m.c.v[0])+","+bmFloor(m.c.v[1])+","+bmFloor(m.c.v[2])+")"),(m.o._mdf||v)&&S.pElem.setAttribute("stroke-opacity",m.o.v),(m.w._mdf||v)&&(S.pElem.setAttribute("stroke-width",m.w.v),S.msElem&&S.msElem.setAttribute("stroke-width",m.w.v))}return r}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,r,i,n=this.stylesList.length,s,o=[],l=!1;for(i=0;i<n;i+=1){for(s=this.stylesList[i],l=!1,o.length=0,e=0;e<t;e+=1)r=this.shapes[e],r.styles.indexOf(s)!==-1&&(o.push(r),l=r._isAnimated||l);o.length>1&&l&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,i=new SVGStyleData(e,t),n=i.pElem;if(e.ty==="st")r=new SVGStrokeStyleData(this,e,i);else if(e.ty==="fl")r=new SVGFillStyleData(this,e,i);else if(e.ty==="gf"||e.ty==="gs"){var s=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new s(this,e,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),n.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else e.ty==="no"&&(r=new SVGNoStyleData(this,e,i));return(e.ty==="st"||e.ty==="gs")&&(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),n.setAttribute("fill-opacity","0"),e.lj===1&&n.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&n.setAttribute("fill-rule","evenodd"),e.ln&&n.setAttribute("id",e.ln),e.cl&&n.setAttribute("class",e.cl),e.bm&&(n.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(i),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),i=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var i=4;e.ty==="rc"?i=5:e.ty==="el"?i=6:e.ty==="sr"&&(i=7);var n=ShapePropertyFactory.getShapeProp(this,e,i,this),s=new SVGShapeData(t,r,n);return this.shapes.push(s),this.addShapeToModifiers(s),this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)this.stylesList[r].closed||t.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,i,n,s,o){var l=[].concat(s),f,d=e.length-1,u,y,m=[],v=[],S,E,A;for(f=d;f>=0;f-=1){if(A=this.searchProcessedElement(e[f]),A?t[f]=r[A-1]:e[f]._render=o,e[f].ty==="fl"||e[f].ty==="st"||e[f].ty==="gf"||e[f].ty==="gs"||e[f].ty==="no")A?t[f].style.closed=!1:t[f]=this.createStyleElement(e[f],n),e[f]._render&&t[f].style.pElem.parentNode!==i&&i.appendChild(t[f].style.pElem),m.push(t[f].style);else if(e[f].ty==="gr"){if(!A)t[f]=this.createGroupElement(e[f]);else for(y=t[f].it.length,u=0;u<y;u+=1)t[f].prevViewData[u]=t[f].it[u];this.searchShapes(e[f].it,t[f].it,t[f].prevViewData,t[f].gr,n+1,l,o),e[f]._render&&t[f].gr.parentNode!==i&&i.appendChild(t[f].gr)}else e[f].ty==="tr"?(A||(t[f]=this.createTransformElement(e[f],i)),S=t[f].transform,l.push(S)):e[f].ty==="sh"||e[f].ty==="rc"||e[f].ty==="el"||e[f].ty==="sr"?(A||(t[f]=this.createShapeElement(e[f],l,n)),this.setElementStyles(t[f])):e[f].ty==="tm"||e[f].ty==="rd"||e[f].ty==="ms"||e[f].ty==="pb"||e[f].ty==="zz"||e[f].ty==="op"?(A?(E=t[f],E.closed=!1):(E=ShapeModifiers.getModifier(e[f].ty),E.init(this,e[f]),t[f]=E,this.shapeModifiers.push(E)),v.push(E)):e[f].ty==="rp"&&(A?(E=t[f],E.closed=!0):(E=ShapeModifiers.getModifier(e[f].ty),t[f]=E,E.init(this,e,f,t),this.shapeModifiers.push(E),o=!1),v.push(E));this.addProcessedElement(e[f],f+1)}for(d=m.length,f=0;f<d;f+=1)m[f].closed=!0;for(d=v.length,f=0;f<d;f+=1)v[f].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,r;for(e=0;e<t;e+=1)r=this.animatedContents[e],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,r,i,n,s){this.o=e,this.sw=t,this.sc=r,this.fc=i,this.m=n,this.p=s,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,r,i,n,s){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,o=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,o=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,o=!0),s.length&&(this.p[0]!==s[0]||this.p[1]!==s[1]||this.p[4]!==s[4]||this.p[5]!==s[5]||this.p[12]!==s[12]||this.p[13]!==s[13])&&(this.p=s,this._mdf.p=!0,o=!0),o};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var i,n=this.effectsSequence.length,s=e||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)r!==this.keysIndex?s=this.effectsSequence[i](s,s.t):s=this.effectsSequence[i](this.currentData,s.t);t!==s&&this.setCurrentData(s),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,i=e.length;r<=i-1&&!(r===i-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,i=e.length,n,s,o=!1,l=!1,f="";r<i;)o=l,l=!1,n=e.charCodeAt(r),f=e.charAt(r),FontManager.isCombinedCharacter(n)?o=!0:n>=55296&&n<=56319?FontManager.isRegionalFlag(e,r)?f=e.substr(r,14):(s=e.charCodeAt(r+1),s>=56320&&s<=57343&&(FontManager.isModifier(n,s)?(f=e.substr(r,2),o=!0):FontManager.isFlagEmoji(e.substr(r,4))?f=e.substr(r,4):f=e.substr(r,2))):n>56319?(s=e.charCodeAt(r+1),FontManager.isVariationSelector(n)&&(o=!0)):FontManager.isZeroWidthJoiner(n)&&(o=!0,l=!0),o?(t[t.length-1]+=f,o=!1):t.push(f),r+=f.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,i=[],n,s,o,l=0,f,d=r.m.g,u=0,y=0,m=0,v=[],S=0,E=0,A,P,C=t.getFontByName(e.f),g,_=0,x=getFontProperties(C);e.fWeight=x.weight,e.fStyle=x.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),s=e.finalText.length,e.finalLineHeight=e.lh;var w=e.tr/1e3*e.finalSize,M;if(e.sz)for(var I=!0,B=e.sz[0],D=e.sz[1],j,V;I;){V=this.buildFinalText(e.t),j=0,S=0,s=V.length,w=e.tr/1e3*e.finalSize;var G=-1;for(n=0;n<s;n+=1)M=V[n].charCodeAt(0),o=!1,V[n]===" "?G=n:(M===13||M===3)&&(S=0,o=!0,j+=e.finalLineHeight||e.finalSize*1.2),t.chars?(g=t.getCharData(V[n],C.fStyle,C.fFamily),_=o?0:g.w*e.finalSize/100):_=t.measureText(V[n],e.f,e.finalSize),S+_>B&&V[n]!==" "?(G===-1?s+=1:n=G,j+=e.finalLineHeight||e.finalSize*1.2,V.splice(n,G===n?1:0,"\r"),G=-1,S=0):(S+=_,S+=w);j+=C.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&D<j?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=V,s=e.finalText.length,I=!1)}S=-w,_=0;var U=0,z;for(n=0;n<s;n+=1)if(o=!1,z=e.finalText[n],M=z.charCodeAt(0),M===13||M===3?(U=0,v.push(S),E=S>E?S:E,S=-2*w,f="",o=!0,m+=1):f=z,t.chars?(g=t.getCharData(z,C.fStyle,t.getFontByName(e.f).fFamily),_=o?0:g.w*e.finalSize/100):_=t.measureText(f,e.f,e.finalSize),z===" "?U+=_+w:(S+=_+w+U,U=0),i.push({l:_,an:_,add:u,n:o,anIndexes:[],val:f,line:m,animatorJustifyOffset:0}),d==2){if(u+=_,f===""||f===" "||n===s-1){for((f===""||f===" ")&&(u-=_);y<=n;)i[y].an=u,i[y].ind=l,i[y].extra=_,y+=1;l+=1,u=0}}else if(d==3){if(u+=_,f===""||n===s-1){for(f===""&&(u-=_);y<=n;)i[y].an=u,i[y].ind=l,i[y].extra=_,y+=1;u=0,l+=1}}else i[l].ind=l,i[l].extra=0,l+=1;if(e.l=i,E=S>E?S:E,v.push(S),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=E,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=v;var R=r.a,L,T;P=R.length;var k,$,N=[];for(A=0;A<P;A+=1){for(L=R[A],L.a.sc&&(e.strokeColorAnim=!0),L.a.sw&&(e.strokeWidthAnim=!0),(L.a.fc||L.a.fh||L.a.fs||L.a.fb)&&(e.fillColorAnim=!0),$=0,k=L.s.b,n=0;n<s;n+=1)T=i[n],T.anIndexes[A]=$,(k==1&&T.val!==""||k==2&&T.val!==""&&T.val!==" "||k==3&&(T.n||T.val==" "||n==s-1)||k==4&&(T.n||n==s-1))&&(L.s.rn===1&&N.push($),$+=1);r.a[A].s.totalChars=$;var Q=-1,oe;if(L.s.rn===1)for(n=0;n<s;n+=1)T=i[n],Q!=T.anIndexes[A]&&(Q=T.anIndexes[A],oe=N.splice(Math.floor(Math.random()*N.length),1)[0]),T.anIndexes[A]=oe}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=C.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function i(s,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=s,this.comp=s.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(s),this.s=PropertyFactory.getProp(s,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(s,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(s,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(s,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(s,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(s,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(s,o.a,0,.01,this),this.dynamicProperties.length||this.getValue()}i.prototype={getMult:function(o){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var l=0,f=0,d=1,u=1;this.ne.v>0?l=this.ne.v/100:f=-this.ne.v/100,this.xe.v>0?d=1-this.xe.v/100:u=1+this.xe.v/100;var y=BezierFactory.getBezierEasing(l,f,d,u).get,m=0,v=this.finalS,S=this.finalE,E=this.data.sh;if(E===2)S===v?m=o>=S?1:0:m=e(0,t(.5/(S-v)+(o-v)/(S-v),1)),m=y(m);else if(E===3)S===v?m=o>=S?0:1:m=1-e(0,t(.5/(S-v)+(o-v)/(S-v),1)),m=y(m);else if(E===4)S===v?m=0:(m=e(0,t(.5/(S-v)+(o-v)/(S-v),1)),m<.5?m*=2:m=1-2*(m-.5)),m=y(m);else if(E===5){if(S===v)m=0;else{var A=S-v;o=t(e(0,o+.5-v),S-v);var P=-A/2+o,C=A/2;m=Math.sqrt(1-P*P/(C*C))}m=y(m)}else E===6?(S===v?m=0:(o=t(e(0,o+.5-v),S-v),m=(1+Math.cos(Math.PI+Math.PI*2*o/(S-v)))/2),m=y(m)):(o>=r(v)&&(o-v<0?m=e(0,t(t(S,1)-(v-o),1)):m=e(0,t(S-o,1))),m=y(m));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var _=.5-g*.5;m<_?m=0:(m=(m-_)/g,m>1&&(m=1))}return m*this.a.v},getValue:function(o){this.iterateDynamicProperties(),this._mdf=o||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,o&&this.data.r===2&&(this.e.v=this._currentTextLength);var l=this.data.r===2?1:100/this.data.totalChars,f=this.o.v/l,d=this.s.v/l+f,u=this.e.v/l+f;if(d>u){var y=d;d=u,u=y}this.finalS=d,this.finalE=u}},extendPrototype([DynamicPropertyContainer],i);function n(s,o,l){return new i(s,o)}return{getTextSelectorProp:n}}();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},n=PropertyFactory.getProp,s=t.a;this.a={r:s.r?n(e,s.r,0,degToRads,r):i,rx:s.rx?n(e,s.rx,0,degToRads,r):i,ry:s.ry?n(e,s.ry,0,degToRads,r):i,sk:s.sk?n(e,s.sk,0,degToRads,r):i,sa:s.sa?n(e,s.sa,0,degToRads,r):i,s:s.s?n(e,s.s,1,.01,r):i,a:s.a?n(e,s.a,1,0,r):i,o:s.o?n(e,s.o,0,.01,r):i,p:s.p?n(e,s.p,1,0,r):i,sw:s.sw?n(e,s.sw,0,0,r):i,sc:s.sc?n(e,s.sc,1,0,r):i,fc:s.fc?n(e,s.fc,1,0,r):i,fh:s.fh?n(e,s.fh,0,0,r):i,fs:s.fs?n(e,s.fs,0,.01,r):i,fb:s.fb?n(e,s.fb,0,.01,r):i,t:s.t?n(e,s.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,r,i=PropertyFactory.getProp;for(e=0;e<t;e+=1)r=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,r,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var r=this._moreOptions.alignment.v,i=this._animatorsData,n=this._textData,s=this.mHelper,o=this._renderType,l=this.renderedLetters.length,f,d,u,y,m=e.l,v,S,E,A,P,C,g,_,x,w,M,I,B,D,j;if(this._hasMaskedPath){if(j=this._pathData.m,!this._pathData.n||this._pathData._mdf){var V=j.v;this._pathData.r.v&&(V=V.reverse()),v={tLength:0,segments:[]},y=V._length-1;var G;for(I=0,u=0;u<y;u+=1)G=bez.buildBezierData(V.v[u],V.v[u+1],[V.o[u][0]-V.v[u][0],V.o[u][1]-V.v[u][1]],[V.i[u+1][0]-V.v[u+1][0],V.i[u+1][1]-V.v[u+1][1]]),v.tLength+=G.segmentLength,v.segments.push(G),I+=G.segmentLength;u=y,j.v.c&&(G=bez.buildBezierData(V.v[u],V.v[0],[V.o[u][0]-V.v[u][0],V.o[u][1]-V.v[u][1]],[V.i[0][0]-V.v[0][0],V.i[0][1]-V.v[0][1]]),v.tLength+=G.segmentLength,v.segments.push(G),I+=G.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,S=this._pathData.f.v,g=0,C=1,A=0,P=!0,w=v.segments,S<0&&j.v.c)for(v.tLength<Math.abs(S)&&(S=-Math.abs(S)%v.tLength),g=w.length-1,x=w[g].points,C=x.length-1;S<0;)S+=x[C].partialLength,C-=1,C<0&&(g-=1,x=w[g].points,C=x.length-1);x=w[g].points,_=x[C-1],E=x[C],M=E.partialLength}y=m.length,f=0,d=0;var U=e.finalSize*1.2*.714,z=!0,R,L,T,k,$;k=i.length;var N,Q=-1,oe,ce,de,ue=S,W=g,re=C,ee=-1,ne,fe,pe,O,F,H,q,K,Y="",te=this.defaultPropsArray,Z;if(e.j===2||e.j===1){var X=0,J=0,ae=e.j===2?-.5:-1,ie=0,se=!0;for(u=0;u<y;u+=1)if(m[u].n){for(X&&(X+=J);ie<u;)m[ie].animatorJustifyOffset=X,ie+=1;X=0,se=!0}else{for(T=0;T<k;T+=1)R=i[T].a,R.t.propType&&(se&&e.j===2&&(J+=R.t.v*ae),L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),N.length?X+=R.t.v*N[0]*ae:X+=R.t.v*N*ae);se=!1}for(X&&(X+=J);ie<u;)m[ie].animatorJustifyOffset=X,ie+=1}for(u=0;u<y;u+=1){if(s.reset(),ne=1,m[u].n)f=0,d+=e.yOffset,d+=z?1:0,S=ue,z=!1,this._hasMaskedPath&&(g=W,C=re,x=w[g].points,_=x[C-1],E=x[C],M=E.partialLength,A=0),Y="",K="",H="",Z="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(ee!==m[u].line){switch(e.j){case 1:S+=I-e.lineWidths[m[u].line];break;case 2:S+=(I-e.lineWidths[m[u].line])/2;break}ee=m[u].line}Q!==m[u].ind&&(m[Q]&&(S+=m[Q].extra),S+=m[u].an/2,Q=m[u].ind),S+=r[0]*m[u].an*.005;var le=0;for(T=0;T<k;T+=1)R=i[T].a,R.p.propType&&(L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),N.length?le+=R.p.v[0]*N[0]:le+=R.p.v[0]*N),R.a.propType&&(L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),N.length?le+=R.a.v[0]*N[0]:le+=R.a.v[0]*N);for(P=!0,this._pathData.a.v&&(S=m[0].an*.5+(I-this._pathData.f.v-m[0].an*.5-m[m.length-1].an*.5)*Q/(y-1),S+=this._pathData.f.v);P;)A+M>=S+le||!x?(B=(S+le-A)/E.partialLength,ce=_.point[0]+(E.point[0]-_.point[0])*B,de=_.point[1]+(E.point[1]-_.point[1])*B,s.translate(-r[0]*m[u].an*.005,-(r[1]*U)*.01),P=!1):x&&(A+=E.partialLength,C+=1,C>=x.length&&(C=0,g+=1,w[g]?x=w[g].points:j.v.c?(C=0,g=0,x=w[g].points):(A-=E.partialLength,x=null)),x&&(_=E,E=x[C],M=E.partialLength));oe=m[u].an/2-m[u].add,s.translate(-oe,0,0)}else oe=m[u].an/2-m[u].add,s.translate(-oe,0,0),s.translate(-r[0]*m[u].an*.005,-r[1]*U*.01,0);for(T=0;T<k;T+=1)R=i[T].a,R.t.propType&&(L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),(f!==0||e.j!==0)&&(this._hasMaskedPath?N.length?S+=R.t.v*N[0]:S+=R.t.v*N:N.length?f+=R.t.v*N[0]:f+=R.t.v*N));for(e.strokeWidthAnim&&(pe=e.sw||0),e.strokeColorAnim&&(e.sc?fe=[e.sc[0],e.sc[1],e.sc[2]]:fe=[0,0,0]),e.fillColorAnim&&e.fc&&(O=[e.fc[0],e.fc[1],e.fc[2]]),T=0;T<k;T+=1)R=i[T].a,R.a.propType&&(L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),N.length?s.translate(-R.a.v[0]*N[0],-R.a.v[1]*N[1],R.a.v[2]*N[2]):s.translate(-R.a.v[0]*N,-R.a.v[1]*N,R.a.v[2]*N));for(T=0;T<k;T+=1)R=i[T].a,R.s.propType&&(L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),N.length?s.scale(1+(R.s.v[0]-1)*N[0],1+(R.s.v[1]-1)*N[1],1):s.scale(1+(R.s.v[0]-1)*N,1+(R.s.v[1]-1)*N,1));for(T=0;T<k;T+=1){if(R=i[T].a,L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),R.sk.propType&&(N.length?s.skewFromAxis(-R.sk.v*N[0],R.sa.v*N[1]):s.skewFromAxis(-R.sk.v*N,R.sa.v*N)),R.r.propType&&(N.length?s.rotateZ(-R.r.v*N[2]):s.rotateZ(-R.r.v*N)),R.ry.propType&&(N.length?s.rotateY(R.ry.v*N[1]):s.rotateY(R.ry.v*N)),R.rx.propType&&(N.length?s.rotateX(R.rx.v*N[0]):s.rotateX(R.rx.v*N)),R.o.propType&&(N.length?ne+=(R.o.v*N[0]-ne)*N[0]:ne+=(R.o.v*N-ne)*N),e.strokeWidthAnim&&R.sw.propType&&(N.length?pe+=R.sw.v*N[0]:pe+=R.sw.v*N),e.strokeColorAnim&&R.sc.propType)for(F=0;F<3;F+=1)N.length?fe[F]+=(R.sc.v[F]-fe[F])*N[0]:fe[F]+=(R.sc.v[F]-fe[F])*N;if(e.fillColorAnim&&e.fc){if(R.fc.propType)for(F=0;F<3;F+=1)N.length?O[F]+=(R.fc.v[F]-O[F])*N[0]:O[F]+=(R.fc.v[F]-O[F])*N;R.fh.propType&&(N.length?O=addHueToRGB(O,R.fh.v*N[0]):O=addHueToRGB(O,R.fh.v*N)),R.fs.propType&&(N.length?O=addSaturationToRGB(O,R.fs.v*N[0]):O=addSaturationToRGB(O,R.fs.v*N)),R.fb.propType&&(N.length?O=addBrightnessToRGB(O,R.fb.v*N[0]):O=addBrightnessToRGB(O,R.fb.v*N))}}for(T=0;T<k;T+=1)R=i[T].a,R.p.propType&&(L=i[T].s,N=L.getMult(m[u].anIndexes[T],n.a[T].s.totalChars),this._hasMaskedPath?N.length?s.translate(0,R.p.v[1]*N[0],-R.p.v[2]*N[1]):s.translate(0,R.p.v[1]*N,-R.p.v[2]*N):N.length?s.translate(R.p.v[0]*N[0],R.p.v[1]*N[1],-R.p.v[2]*N[2]):s.translate(R.p.v[0]*N,R.p.v[1]*N,-R.p.v[2]*N));if(e.strokeWidthAnim&&(H=pe<0?0:pe),e.strokeColorAnim&&(q="rgb("+Math.round(fe[0]*255)+","+Math.round(fe[1]*255)+","+Math.round(fe[2]*255)+")"),e.fillColorAnim&&e.fc&&(K="rgb("+Math.round(O[0]*255)+","+Math.round(O[1]*255)+","+Math.round(O[2]*255)+")"),this._hasMaskedPath){if(s.translate(0,-e.ls),s.translate(0,r[1]*U*.01+d,0),this._pathData.p.v){D=(E.point[1]-_.point[1])/(E.point[0]-_.point[0]);var he=Math.atan(D)*180/Math.PI;E.point[0]<_.point[0]&&(he+=180),s.rotate(-he*Math.PI/180)}s.translate(ce,de,0),S-=r[0]*m[u].an*.005,m[u+1]&&Q!==m[u+1].ind&&(S+=m[u].an/2,S+=e.tr*.001*e.finalSize)}else{switch(s.translate(f,d,0),e.ps&&s.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:s.translate(m[u].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[m[u].line]),0,0);break;case 2:s.translate(m[u].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[m[u].line])/2,0,0);break}s.translate(0,-e.ls),s.translate(oe,0,0),s.translate(r[0]*m[u].an*.005,r[1]*U*.01,0),f+=m[u].l+e.tr*.001*e.finalSize}o==="html"?Y=s.toCSS():o==="svg"?Y=s.to2dCSS():te=[s.props[0],s.props[1],s.props[2],s.props[3],s.props[4],s.props[5],s.props[6],s.props[7],s.props[8],s.props[9],s.props[10],s.props[11],s.props[12],s.props[13],s.props[14],s.props[15]],Z=ne}l<=u?($=new LetterProps(Z,H,q,K,Y,te),this.renderedLetters.push($),l+=1,this.lettersChangedFlag=!0):($=this.renderedLetters[u],this.lettersChangedFlag=$.update(Z,H,q,K,Y,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var r,i=t.length,n,s="";for(r=0;r<i;r+=1)t[r].ty==="sh"&&(n=t[r].ks.k,s+=buildShapeString(n,n.i.length,!0,e));return s},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,i,n){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0);break}t.translate(i,n,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,i=[],n="";t<r;)e[t]==="\r"||e[t]==="�"?(i.push(n),n=""):n+=e[t],t+=1;return i.push(n),i},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=t,i.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var n=r.fWeight,s=r.fStyle;this.layerElement.setAttribute("font-style",s),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var o=r.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var f,d=this.mHelper,u="",y=this.data.singleShape,m=0,v=0,S=!0,E=r.tr*.001*r.finalSize;if(y&&!l&&!r.sz){var A=this.textContainer,P="start";switch(r.j){case 1:P="end";break;case 2:P="middle";break;default:P="start";break}A.setAttribute("text-anchor",P),A.setAttribute("letter-spacing",E);var C=this.buildTextContents(r.finalText);for(t=C.length,v=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)f=this.textSpans[e].span||createNS("tspan"),f.textContent=C[e],f.setAttribute("x",0),f.setAttribute("y",v),f.style.display="inherit",A.appendChild(f),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=f,v+=r.finalLineHeight;this.layerElement.appendChild(A)}else{var g=this.textSpans.length,_;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!y||e===0){if(f=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(f.setAttribute("stroke-linecap","butt"),f.setAttribute("stroke-linejoin","round"),f.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=f,l){var x=createNS("g");f.appendChild(x),this.textSpans[e].childSpan=x}this.textSpans[e].span=f,this.layerElement.appendChild(f)}f.style.display="inherit"}if(d.reset(),y&&(o[e].n&&(m=-E,v+=r.yOffset,v+=S?1:0,S=!1),this.applyTextPropertiesToMatrix(r,d,o[e].line,m,v),m+=o[e].l||0,m+=E),l){_=this.globalData.fontManager.getCharData(r.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var w;if(_.t===1)w=new SVGCompElement(_.data,this.globalData,this);else{var M=emptyShapeData;_.data&&_.data.shapes&&(M=this.buildShapeData(_.data,r.finalSize)),w=new SVGShapeElement(M,this.globalData,this)}if(this.textSpans[e].glyph){var I=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(I.layerElement),I.destroy()}this.textSpans[e].glyph=w,w._debug=!0,w.prepareFrame(0),w.renderFrame(),this.textSpans[e].childSpan.appendChild(w.layerElement),_.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else y&&f.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),f.textContent=o[e].val,f.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}y&&f&&f.setAttribute("d",u)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)r=this.textSpans[e].glyph,r&&(r.prepareFrame(this.comp.renderedFrame-this.data.st),r._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,t,r=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;t=i.length;var n,s,o;for(e=0;e<t;e+=1)i[e].n||(n=r[e],s=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),n._mdf.m&&s.setAttribute("transform",n.m),n._mdf.o&&s.setAttribute("opacity",n.o),n._mdf.sw&&s.setAttribute("stroke-width",n.sw),n._mdf.sc&&s.setAttribute("stroke",n.sc),n._mdf.fc&&s.setAttribute("fill",n.fc))}};function ISolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",e.w),i.setAttribute("height",e.h),i.setAttribute("x",0),i.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var i="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(i===-1)return;if(!this.elements[i]||this.elements[i]===!0)this.buildItem(i),this.addPendingElement(r);else{var n=t[i],s=n.getMatte(this.layers[e].tt);r.setMatte(s)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var i="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,n=this.elements[i],s=n.getMatte(this.layers[t].tt);e.setMatte(s);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var i=0,n;i<t;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=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))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var i=createNS("title"),n=createElementID();i.setAttribute("id",n),i.textContent=t.title,this.svgElement.appendChild(i),r+=n}if(t&&t.description){var s=createNS("desc"),o=createElementID();s.setAttribute("id",o),s.textContent=t.description,this.svgElement.appendChild(s),r+=" "+o}r&&this.svgElement.setAttribute("aria-labelledby",r);var l=createNS("defs");this.svgElement.appendChild(l);var f=createNS("g");this.svgElement.appendChild(f),this.layerElement=f,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:l,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var r,i=t.length,n="_";for(r=0;r<i;r+=1)n+=t[r].transform.key+"_";var s=this.sequences[n];return s||(s={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=s,this.sequenceList.push(s)),s},processSequence:function(t,r){for(var i=0,n=t.transforms.length,s=r;i<n&&!r;){if(t.transforms[i].transform.mProps._mdf){s=!0;break}i+=1}if(s)for(t.finalTransform.reset(),i=n-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=s},processSequences:function(t){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",r=null,i=null,n=null;function s(){var f=createNS("svg"),d=createNS("filter"),u=createNS("feColorMatrix");return d.setAttribute("id",t),u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","sRGB"),u.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),d.appendChild(u),f.appendChild(d),f.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(f.style.display="none"),f}function o(){r||(n=s(),document.body.appendChild(n),r=createTag("canvas"),i=r.getContext("2d"),i.filter="url
183(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function l(f){return r||o(),r.width=f.width,r.height=f.height,i.filter="url(#"+t+")",r}return{load:o,get:l}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,r=e.data.ef?e.data.ef.length:0;this.filters=[];var i;for(t=0;t<r;t+=1){i=null;var n=e.data.ef[t].ty;if(registeredEffects[n]){var s=registeredEffects[n].effect;i=new s(e.effectsManager.effectElements[t],e)}i&&this.filters.push(i)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,i=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&i.push(this.filters[t]);return i};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,n=!1;for(r=0;r<i;r+=1)this.masksProperties[r].mode!=="n"&&(n=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,r,i=this.masksProperties.length,n,s,o;for(t.beginPath(),r=0;r<i;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),o=this.viewData[r].v,n=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(n[0],n[1]);var l,f=o._length;for(l=1;l<f;l+=1)s=e.applyToTriplePoints(o.o[l-1],o.i[l],o.v[l]),t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);s=e.applyToTriplePoints(o.o[l-1],o.i[0],o.v[0]),t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),s=n.getContext("2d");s.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,
vendor: 113,846 bytes, line 183
1830,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n=4;t.ty==="rc"?n=5:t.ty==="el"?n=6:t.ty==="sr"&&(n=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,n,e);var s,o=r.length,l;for(s=0;s<o;s+=1)r[s].closed||(l={transforms:i.addTransformSequence(r[s].transforms),trNodes:[]},this.styledShapes.push(l),r[s].elements.push(l))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},i={};if(e.ty==="fl"||e.ty==="st"?(i.c=PropertyFactory.getProp(this,e.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(i.s=PropertyFactory.getProp(this,e.s,1,null,this),i.e=PropertyFactory.getProp(this,e.e,1,null,this),i.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,e.g,this)),i.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],e.lj==1&&(r.ml=e.ml),i.w=PropertyFactory.getProp(this,e.w,0,null,this),i.w.k||(r.wi=i.w.v),e.d){var n=new DashProperty(this,e.d,"canvas",this);i.d=n,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,i,n){var s,o=e.length-1,l,f,d=[],u=[],y,m,v,S=[].concat(n);for(s=o;s>=0;s-=1){if(y=this.searchProcessedElement(e[s]),y?t[s]=r[y-1]:e[s]._shouldRender=i,e[s].ty==="fl"||e[s].ty==="st"||e[s].ty==="gf"||e[s].ty==="gs")y?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],S),d.push(t[s].style);else if(e[s].ty==="gr"){if(!y)t[s]=this.createGroupElement(e[s]);else for(f=t[s].it.length,l=0;l<f;l+=1)t[s].prevViewData[l]=t[s].it[l];this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,i,S)}else e[s].ty==="tr"?(y||(v=this.createTransformElement(e[s]),t[s]=v),S.push(t[s]),this.addTransformToStyleList(t[s])):e[s].ty==="sh"||e[s].ty==="rc"||e[s].ty==="el"||e[s].ty==="sr"?y||(t[s]=this.createShapeElement(e[s])):e[s].ty==="tm"||e[s].ty==="rd"||e[s].ty==="pb"||e[s].ty==="zz"||e[s].ty==="op"?(y?(m=t[s],m.closed=!1):(m=ShapeModifiers.getModifier(e[s].ty),m.init(this,e[s]),t[s]=m,this.shapeModifiers.push(m)),u.push(m)):e[s].ty==="rp"&&(y?(m=t[s],m.closed=!0):(m=ShapeModifiers.getModifier(e[s].ty),t[s]=m,m.init(this,e,s,t),this.shapeModifiers.push(m),i=!1),u.push(m));this.addProcessedElement(e[s],s+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),o=u.length,s=0;s<o;s+=1)u[s].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,r,i,n,s,o,l,f=this.globalData.renderer,d=this.globalData.canvasContext,u,y;for(e=0;e<t;e+=1)if(y=this.stylesList[e],u=y.type,!((u==="st"||u==="gs")&&y.wi===0||!y.data._shouldRender||y.coOp===0||this.globalData.currentGlobalAlpha===0)){for(f.save(),o=y.elements,u==="st"||u==="gs"?(f.ctxStrokeStyle(u==="st"?y.co:y.grd),f.ctxLineWidth(y.wi),f.ctxLineCap(y.lc),f.ctxLineJoin(y.lj),f.ctxMiterLimit(y.ml||0)):f.ctxFillStyle(u==="fl"?y.co:y.grd),f.ctxOpacity(y.coOp),u!=="st"&&u!=="gs"&&d.beginPath(),f.ctxTransform(y.preTransforms.finalTransform.props),i=o.length,r=0;r<i;r+=1){for((u==="st"||u==="gs")&&(d.beginPath(),y.da&&(d.setLineDash(y.da),d.lineDashOffset=y.do)),l=o[r].trNodes,s=l.length,n=0;n<s;n+=1)l[n].t==="m"?d.moveTo(l[n].p[0],l[n].p[1]):l[n].t==="c"?d.bezierCurveTo(l[n].pts[0],l[n].pts[1],l[n].pts[2],l[n].pts[3],l[n].pts[4],l[n].pts[5]):d.closePath();(u==="st"||u==="gs")&&(f.ctxStroke(),y.da&&d.setLineDash(this.dashResetter))}u!=="st"&&u!=="gs"&&this.globalData.renderer.ctxFill(y.r),f.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,i){var n,s=t.length-1,o;for(o=e,n=s;n>=0;n-=1)t[n].ty==="tr"?(o=r[n].transform,this.renderShapeTransform(e,o)):t[n].ty==="sh"||t[n].ty==="el"||t[n].ty==="rc"||t[n].ty==="sr"?this.renderPath(t[n],r[n]):t[n].ty==="fl"?this.renderFill(t[n],r[n],o):t[n].ty==="st"?this.renderStroke(t[n],r[n],o):t[n].ty==="gf"||t[n].ty==="gs"?this.renderGradientFill(t[n],r[n],o):t[n].ty==="gr"?this.renderShape(o,t[n].it,r[n].it):t[n].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,i=t.paths,n,s,o,l=i._length;r.length=0;var f=e.transforms.finalTransform;for(o=0;o<l;o+=1){var d=i.shapes[o];if(d&&d.v){for(s=d._length,n=1;n<s;n+=1)n===1&&r.push({t:"m",p:f.applyToPointArray(d.v[0][0],d.v[0][1],0)}),r.push({t:"c",pts:f.applyToTriplePoints(d.o[n-1],d.i[n],d.v[n])});s===1&&r.push({t:"m",p:f.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&s&&(r.push({t:"c",pts:f.applyToTriplePoints(d.o[n-1],d.i[0],d.v[0])}),r.push({t:"z"}))}}e.trNodes=r}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var r,i=t.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var i=t.style;(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var i=t.style,n;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var s=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(e.t===1)n=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var f=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),d=Math.atan2(l[1]-o[1],l[0]-o[0]),u=t.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var y=f*u,m=Math.cos(d+t.a.v)*y+o[0],v=Math.sin(d+t.a.v)*y+o[1];n=s.createRadialGradient(m,v,0,o[0],o[1],f)}var S,E=e.g.p,A=t.g.c,P=1;for(S=0;S<E;S+=1)t.g._hasOpacity&&t.g._collapsable&&(P=t.g.o[S*2+1]),n.addColorStop(A[S*4]/100,"rgba("+A[S*4+1]+","+A[S*4+2]+","+A[S*4+3]+","+P+")");i.grd=n}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var i=t.style,n=t.d;n&&(n._mdf||this._isFirstFrame)&&(i.da=n.dashArray,i.do=n.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(i.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var i=this.globalData.fontManager.getFontByName(e.f),n,s,o=e.l,l=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,s=e.finalText.length;var f,d,u,y,m,v,S,E,A,P,C=this.data.singleShape,g=e.tr*.001*e.finalSize,_=0,x=0,w=!0,M=0;for(n=0;n<s;n+=1){f=this.globalData.fontManager.getCharData(e.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),d=f&&f.data||{},l.reset(),C&&o[n].n&&(_=-g,x+=e.yOffset,x+=w?1:0,w=!1),m=d.shapes?d.shapes[0].it:[],S=m.length,l.scale(e.finalSize/100,e.finalSize/100),C&&this.applyTextPropertiesToMatrix(e,l,o[n].line,_,x),A=createSizedArray(S-1);var I=0;for(v=0;v<S;v+=1)if(m[v].ty==="sh"){for(y=m[v].ks.k.i.length,E=m[v].ks.k,P=[],u=1;u<y;u+=1)u===1&&P.push(l.applyToX(E.v[0][0],E.v[0][1],0),l.applyToY(E.v[0][0],E.v[0][1],0)),P.push(l.applyToX(E.o[u-1][0],E.o[u-1][1],0),l.applyToY(E.o[u-1][0],E.o[u-1][1],0),l.applyToX(E.i[u][0],E.i[u][1],0),l.applyToY(E.i[u][0],E.i[u][1],0),l.applyToX(E.v[u][0],E.v[u][1],0),l.applyToY(E.v[u][0],E.v[u][1],0));P.push(l.applyToX(E.o[u-1][0],E.o[u-1][1],0),l.applyToY(E.o[u-1][0],E.o[u-1][1],0),l.applyToX(E.i[0][0],E.i[0][1],0),l.applyToY(E.i[0][0],E.i[0][1],0),l.applyToX(E.v[0][0],E.v[0][1],0),l.applyToY(E.v[0][0],E.v[0][1],0)),A[I]=P,I+=1}C&&(_+=o[n].l,_+=g),this.textSpans[M]?this.textSpans[M].elem=A:this.textSpans[M]={elem:A},M+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var e=this.canvasContext;e.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var t,r,i,n,s,o,l=this.textAnimator.renderedLetters,f=this.textProperty.currentData.l;r=f.length;var d,u=null,y=null,m=null,v,S,E=this.globalData.renderer;for(t=0;t<r;t+=1)if(!f[t].n){if(d=l[t],d&&(E.save(),E.ctxTransform(d.p),E.ctxOpacity(d.o)),this.fill){for(d&&d.fc?u!==d.fc&&(E.ctxFillStyle(d.fc),u=d.fc):u!==this.values.fill&&(u=this.values.fill,E.ctxFillStyle(this.values.fill)),v=this.textSpans[t].elem,n=v.length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(S=v[i],o=S.length,this.globalData.canvasContext.moveTo(S[0],S[1]),s=2;s<o;s+=6)this.globalData.canvasContext.bezierCurveTo(S[s],S[s+1],S[s+2],S[s+3],S[s+4],S[s+5]);this.globalData.canvasContext.closePath(),E.ctxFill()}if(this.stroke){for(d&&d.sw?m!==d.sw&&(m=d.sw,E.ctxLineWidth(d.sw)):m!==this.values.sWidth&&(m=this.values.sWidth,E.ctxLineWidth(this.values.sWidth)),d&&d.sc?y!==d.sc&&(y=d.sc,E.ctxStrokeStyle(d.sc)):y!==this.values.stroke&&(y=this.values.stroke,E.ctxStrokeStyle(this.values.stroke)),v=this.textSpans[t].elem,n=v.length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(S=v[i],o=S.length,this.globalData.canvasContext.moveTo(S[0],S[1]),s=2;s<o;s+=6)this.globalData.canvasContext.bezierCurveTo(S[s],S[s+1],S[s+2],S[s+3],S[s+4],S[s+5]);this.globalData.canvasContext.closePath(),E.ctxStroke()}d&&this.globalData.renderer.restore()}};function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),r=this.img.width,i=this.img.height,n=r/i,s=this.assetData.w/this.assetData.h,o,l,f=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;n>s&&f==="xMidYMid slice"||n<s&&f!=="xMidYMid slice"?(l=i,o=l*s):(o=r,l=o/s),t.drawImage(this.img,(r-o)/2,(i-l)/2,o,l,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,i){this.canvasContext.fillRect(e,t,r,i)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var r,i;e?(r=e,i=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr);var n,s;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),l=o[1]||"meet",f=o[0]||"xMidYMid",d=f.substr(0,4),u=f.substr(4);n=r/i,s=this.transformCanvas.w/this.transformCanvas.h,s>n&&l==="meet"||s<n&&l==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),d==="xMid"&&(s<n&&l==="meet"||s>n&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:d==="xMax"&&(s<n&&l==="meet"||s>n&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,u==="YMid"&&(s>n&&l==="meet"||s<n&&l==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:u==="YMax"&&(s>n&&l==="meet"||s<n&&l==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e<t;e+=1){var r=new CanvasContext;this.stack[e]=r}this._length=t,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],r=t.transform,i,n=this.cTr.props;for(i=0;i<16;i+=1)n[i]=r[i];if(e){this.nativeContext.restore();var s=this.stack[this.cArrPos+1];this.appliedFillStyle=s.fillStyle,this.appliedStrokeStyle=s.strokeStyle,this.appliedLineWidth=s.lineWidth,this.appliedLineCap=s.lineCap,this.appliedLineJoin=s.lineJoin,this.appliedMiterLimit=s.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.stack[this.cArrPos],i;for(i=0;i<16;i+=1)r.transform[i]=t[i];this.cArrPos+=1;var n=this.stack[this.cArrPos];n.opacity=r.opacity,n.fillStyle=r.fillStyle,n.strokeStyle=r.strokeStyle,n.lineWidth=r.lineWidth,n.lineCap=r.lineCap,n.lineJoin=r.lineJoin,n.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var r=t.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,r,i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,i)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,r=this.layers.length;for(t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();t.transform=r,t.webkitTransform=r}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r=e.sh.v,i=e.transformers,n,s=r._length,o,l,f,d;if(!(s<=1)){for(n=0;n<s-1;n+=1)o=this.getTransformedPoint(i,r.v[n]),l=this.getTransformedPoint(i,r.o[n]),f=this.getTransformedPoint(i,r.i[n+1]),d=this.getTransformedPoint(i,r.v[n+1]),this.checkBounds(o,l,f,d,t);r.c&&(o=this.getTransformedPoint(i,r.v[n]),l=this.getTransformedPoint(i,r.o[n]),f=this.getTransformedPoint(i,r.i[0]),d=this.getTransformedPoint(i,r.v[0]),this.checkBounds(o,l,f,d,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,i,n){this.getBoundsOfCurve(e,t,r,i);var s=this.shapeBoundingBox;n.x=bmMin(s.left,n.x),n.xMax=bmMax(s.right,n.xMax),n.y=bmMin(s.top,n.y),n.yMax=bmMax(s.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,i){for(var n=[[e[0],i[0]],[e[1],i[1]]],s,o,l,f,d,u,y,m=0;m<2;++m)o=6*e[m]-12*t[m]+6*r[m],s=-3*e[m]+9*t[m]-9*r[m]+3*i[m],l=3*t[m]-3*e[m],o|=0,s|=0,l|=0,s===0&&o===0||(s===0?(f=-l/o,f>0&&f<1&&n[m].push(this.calculateF(f,e,t,r,i,m))):(d=o*o-4*l*s,d>=0&&(u=(-o+bmSqrt(d))/(2*s),u>0&&u<1&&n[m].push(this.calculateF(u,e,t,r,i,m)),y=(-o-bmSqrt(d))/(2*s),y>0&&y<1&&n[m].push(this.calculateF(y,e,t,r,i,m)))));this.shapeBoundingBox.left=bmMin.apply(null,n[0]),this.shapeBoundingBox.top=bmMin.apply(null,n[1]),this.shapeBoundingBox.right=bmMax.apply(null,n[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,n[1])},HShapeElement.prototype.calculateF=function(e,t,r,i,n,s){return bmPow(1-e,3)*t[s]+3*bmPow(1-e,2)*e*r[s]+3*(1-e)*bmPow(e,2)*i[s]+bmPow(e,3)*n[s]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var i=0;i<e.keyframes.length;i+=1){var n=e.keyframes[i].s;n>r&&(r=n)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=n,i.webkitTransform=n}}};function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var i=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{t.fontFamily=i.fFamily;var n=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=n}var o,l,f=e.l;l=f.length;var d,u,y,m=this.mHelper,v,S="",E=0;for(o=0;o<l;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[E]?d=this.textPaths[E]:(d=createNS("path"),d.setAttribute("stroke-linecap",lineCapEnum[1]),d.setAttribute("stroke-linejoin",lineJoinEnum[2]),d.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[E]?(u=this.textSpans[E],y=u.children[0]):(u=createTag("div"),u.style.lineHeight=0,y=createNS("svg"),y.appendChild(d),styleDiv(u)))):this.isMasked?d=this.textPaths[E]?this.textPaths[E]:createNS("text"):this.textSpans[E]?(u=this.textSpans[E],d=this.textPaths[E]):(u=createTag("span"),styleDiv(u),d=createTag("span"),styleDiv(d),u.appendChild(d)),this.globalData.fontManager.chars){var A=this.globalData.fontManager.getCharData(e.finalText[o],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),P;if(A?P=A.data:P=null,m.reset(),P&&P.shapes&&P.shapes.length&&(v=P.shapes[0].it,m.scale(e.finalSize/100,e.finalSize/100),S=this.createPathShape(m,v),d.setAttribute("d",S)),this.isMasked)this.innerElem.appendChild(d);else{if(this.innerElem.appendChild(u),P&&P.shapes){document.body.appendChild(y);var C=y.getBBox();y.setAttribute("width",C.width+2),y.setAttribute("height",C.height+2),y.setAttribute("viewBox",C.x-1+" "+(C.y-1)+" "+(C.width+2)+" "+(C.height+2));var g=y.style,_="translate("+(C.x-1)+"px,"+(C.y-1)+"px)";g.transform=_,g.webkitTransform=_,f[o].yOffset=C.y-1}else y.setAttribute("width",1),y.setAttribute("height",1);u.appendChild(y)}}else if(d.textContent=f[o].val,d.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(d);else{this.innerElem.appendChild(u);var x=d.style,w="translate3d(0,"+-e.finalSize/1.2+"px,0)";x.transform=w,x.webkitTransform=w}this.isMasked?this.textSpans[E]=d:this.textSpans[E]=u,this.textSpans[E].style.display="block",this.textPaths[E]=d,E+=1}for(;E<this.textSpans.length;)this.textSpans[E].style.display="none",E+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var r,i,n=0,s=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;i=o.length;var l,f,d;for(r=0;r<i;r+=1)o[r].n?n+=1:(f=this.textSpans[r],d=this.textPaths[r],l=s[n],n+=1,l._mdf.m&&(this.isMasked?f.setAttribute("transform",l.m):(f.style.webkitTransform=l.m,f.style.transform=l.m)),f.style.opacity=l.o,l.sw&&l._mdf.sw&&d.setAttribute("stroke-width",l.sw),l.sc&&l._mdf.sc&&d.setAttribute("stroke",l.sc),l.fc&&l._mdf.fc&&(d.setAttribute("fill",l.fc),d.style.color=l.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height));var y=1;if(this.currentBBox.w!==u.width+y*2||this.currentBBox.h!==u.height+y*2||this.currentBBox.x!==u.x-y||this.currentBBox.y!==u.y-y){this.currentBBox.w=u.width+y*2,this.currentBBox.h=u.height+y*2,this.currentBBox.x=u.x-y,this.currentBBox.y=u.y-y,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var m="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=m,e.webkitTransform=m}}}};function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,e.pe,0,0,this),e.ks.p.s?(this.px=i(this,e.ks.p.x,1,0,this),this.py=i(this,e.ks.p.y,1,0,this),this.pz=i(this,e.ks.p.z,1,0,this)):this.p=i(this,e.ks.p,1,0,this),e.ks.a&&(this.a=i(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var n,s=e.ks.or.k.length;for(n=0;n<s;n+=1)e.ks.or.k[n].to=null,e.ks.or.k[n].ti=null}this.or=i(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,e.ks.rx,0,degToRads,this),this.ry=i(this,e.ks.ry,0,degToRads,this),this.rz=i(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,r,i,n;for(e=0;e<t;e+=1)if(r=this.comp.threeDElements[e],r.type==="3d"){i=r.perspectiveElem.style,n=r.container.style;var s=this.pe.v+"px",o="0px 0px 0px",l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=s,i.webkitPerspective=s,n.transformOrigin=o,n.mozTransformOrigin=o,n.webkitTransformOrigin=o,i.transform=l,i.webkitTransform=l}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,r;if(this.hierarchy)for(r=this.hierarchy.length,t=0;t<r;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(r=this.hierarchy.length-1,t=r;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var n;this.p?n=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:n=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var s=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),o=[n[0]/s,n[1]/s,n[2]/s],l=Math.sqrt(o[2]*o[2]+o[0]*o[0]),f=Math.atan2(o[1],l),d=Math.atan2(o[0],-o[2]);this.mat.rotateY(d).rotateX(-f)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var y,m,v;for(t=0;t<r;t+=1)if(y=this.comp.threeDElements[t],y.type==="3d"){if(u){var S=this.mat.toCSS();v=y.container.style,v.transform=S,v.webkitTransform=S}this.pe._mdf&&(m=y.perspectiveElem.style,m.perspective=this.pe.v+"px",m.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var i=this.layers[t];if(!i.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var n=0,s,o,l;n<t;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement&&(o=this.elements[n],l=this.layers[n].ddd?this.getThreeDContainerByPos(n):o.getBaseElement(),s=l||s),n+=1;s?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,s):(!i.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),i,n;styleDiv(r);var s=createTag("div");if(styleDiv(s),t==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var o="50% 50%";i.webkitTransformOrigin=o,i.mozTransformOrigin=o,i.transformOrigin=o,n=s.style;var l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=l,n.webkitTransform=l}r.appendChild(s);var f={container:s,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(f),f},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,i="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(i!=="3d"&&(i="3d",r=this.createThreeDContainer(e,"3d")),r.endPos=Math.max(r.endPos,e)):(i!=="2d"&&(i="2d",r=this.createThreeDContainer(e,"2d")),r.endPos=Math.max(r.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,i=this.threeDElements.length;r<i;){if(t<=this.threeDElements[r].endPos){for(var n=this.threeDElements[r].startPos,s;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(s=this.elements[n].getBaseElement()),n+=1;s?this.threeDElements[r].container.insertBefore(e,s):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,i=t.style;i.width=e.w+"px",i.height=e.h+"px",this.resizerElem=t,styleDiv(t),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),i.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var s=createNS("defs");n.appendChild(s),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=s,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,r=e/t,i=this.globalData.compSize.w/this.globalData.compSize.h,n,s,o,l;i>r?(n=e/this.globalData.compSize.w,s=e/this.globalData.compSize.w,o=0,l=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(n=t/this.globalData.compSize.h,s=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,l=0);var f=this.resizerElem.style;f.webkitTransform="matrix3d("+n+",0,0,0,0,"+s+",0,0,0,0,1,0,"+o+","+l+",0,1)",f.transform=f.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r<i;r+=1){var n=this.threeDElements[r].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,i=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t],i,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}};function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var r=0,i;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(e,i):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function t(r){for(var i=0,n=e.layers.length;i<n;){if(e.layers[i].nm===r||e.layers[i].ind===r)return e.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}();function _typeof$2(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(r){return typeof r}:_typeof$2=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$2(e)}function seedRandom(e,t){var r=this,i=256,n=6,s=52,o="random",l=t.pow(i,n),f=t.pow(2,s),d=f*2,u=i-1,y;function m(g,_,x){var w=[];_=_===!0?{entropy:!0}:_||{};var M=A(E(_.entropy?[g,C(e)]:g===null?P():g,3),w),I=new v(w),B=function(){for(var j=I.g(n),V=l,G=0;j<f;)j=(j+G)*i,V*=i,G=I.g(1);for(;j>=d;)j/=2,V/=2,G>>>=1;return(j+G)/V};return B.int32=function(){return I.g(4)|0},B.quick=function(){return I.g(4)/4294967296},B.double=B,A(C(I.S),e),(_.pass||x||function(D,j,V,G){return G&&(G.S&&S(G,I),D.state=function(){return S(I,{})}),V?(t[o]=D,j):D})(B,M,"global"in _?_.global:this==t,_.state)}t["seed"+o]=m;function v(g){var _,x=g.length,w=this,M=0,I=w.i=w.j=0,B=w.S=[];for(x||(g=[x++]);M<i;)B[M]=M++;for(M=0;M<i;M++)B[M]=B[I=u&I+g[M%x]+(_=B[M])],B[I]=_;w.g=function(D){for(var j,V=0,G=w.i,U=w.j,z=w.S;D--;)j=z[G=u&G+1],V=V*i+z[u&(z[G]=z[U=u&U+j])+(z[U]=j)];return w.i=G,w.j=U,V}}function S(g,_){return _.i=g.i,_.j=g.j,_.S=g.S.slice(),_}function E(g,_){var x=[],w=_typeof$2(g),M;if(_&&w=="object")for(M in g)try{x.push(E(g[M],_-1))}catch{}return x.length?x:w=="string"?g:g+"\0"}function A(g,_){for(var x=g+"",w,M=0;M<x.length;)_[u&M]=u&(w^=_[u&M]*19)+x.charCodeAt(M++);return C(_)}function P(){try{var g=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(g),C(g)}catch{var _=r.navigator,x=_&&_.plugins;return[+new Date,r,x,r.screen,C(e)]}}function C(g){return String.fromCharCode.apply(0,g)}A(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(r){return typeof r}:_typeof$1=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var r,i=e.length,n=[];for(r=0;r<i;r+=1)n[r]=-e[r];return n}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof$1(e),i=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(i,t)||r==="string"||i==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,s=e.length,o=t.length,l=[];n<s||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?l[n]=e[n]+t[n]:l[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return l}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),i=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(i,t))return r==="string"&&(e=parseInt(e,10)),i==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,s=e.length,o=t.length,l=[];n<s||n<o;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?l[n]=e[n]-t[n]:l[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return l}return 0}function mul(e,t){var r=_typeof$1(e),i=_typeof$1(t),n;if(isNumerable(r,e)&&isNumerable(i,t))return e*t;var s,o;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(o=e.length,n=createTypedArray("float32",o),s=0;s<o;s+=1)n[s]=e[s]*t;return n}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),s=0;s<o;s+=1)n[s]=e*t[s];return n}return 0}function div(e,t){var r=_typeof$1(e),i=_typeof$1(t),n;if(isNumerable(r,e)&&isNumerable(i,t))return e/t;var s,o;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(o=e.length,n=createTypedArray("float32",o),s=0;s<o;s+=1)n[s]=e[s]/t;return n}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),s=0;s<o;s+=1)n[s]=e/t[s];return n}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var i=r;r=t,t=i}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,i=Math.min(e.length,t.length),n=0;for(r=0;r<i;r+=1)n+=Math.pow(t[r]-e[r],2);return Math.sqrt(n)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],r=e[1],i=e[2],n=Math.max(t,r,i),s=Math.min(t,r,i),o,l,f=(n+s)/2;if(n===s)o=0,l=0;else{var d=n-s;switch(l=f>.5?d/(2-n-s):d/(n+s),n){case t:o=(r-i)/d+(r<i?6:0);break;case r:o=(i-t)/d+2;break;case i:o=(t-r)/d+4;break}o/=6}return[o,l,f,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],i=e[2],n,s,o;if(r===0)n=i,o=i,s=i;else{var l=i<.5?i*(1+r):i+r-i*r,f=2*i-l;n=hue2rgb(f,l,t+1/3),s=hue2rgb(f,l,t),o=hue2rgb(f,l,t-1/3)}return[n,s,o,e[3]]}function linear(e,t,r,i,n){if((i===void 0||n===void 0)&&(i=t,n=r,t=0,r=1),r<t){var s=r;r=t,t=s}if(e<=t)return i;if(e>=r)return n;var o=r===t?0:(e-t)/(r-t);if(!i.length)return i+(n-i)*o;var l,f=i.length,d=createTypedArray("float32",f);for(l=0;l<f;l+=1)d[l]=i[l]+(n[l]-i[l])*o;return d}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var r,i=t.length;e||(e=createTypedArray("float32",i));var n=createTypedArray("float32",i),s=BMMath.random();for(r=0;r<i;r+=1)n[r]=e[r]+s*(t[r]-e[r]);return n}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,r,i){var n,s=e.length,o=shapePool.newElement();o.setPathData(!!i,s);var l=[0,0],f,d;for(n=0;n<s;n+=1)f=t&&t[n]?t[n]:l,d=r&&r[n]?r[n]:l,o.setTripleAt(e[n][0],e[n][1],d[0]+e[n][0],d[1]+e[n][1],f[0]+e[n][0],f[1]+e[n][1],n,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function e(t,r){var i,n,s=this.pv.length?this.pv.length:1,o=createTypedArray("float32",s);t=5;var l=Math.floor(time*t);for(i=0,n=0;i<l;){for(n=0;n<s;n+=1)o[n]+=-r+r*2*BMMath.random();i+=1}var f=time*t,d=f-Math.floor(f),u=createTypedArray("float32",s);if(s>1){for(n=0;n<s;n+=1)u[n]=this.pv[n]+o[n]+(-r+r*2*BMMath.random())*d;return u}return this.pv+o[0]+(-r+r*2*BMMath.random())*d}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,n=-Math.atan2(r[1],r[2])/degToRads;return[n,i,0]}function easeOut(e,t,r,i,n){return applyEase(easeOutBez,e,t,r,i,n)}function easeIn(e,t,r,i,n){return applyEase(easeInBez,e,t,r,i,n)}function ease(e,t,r,i,n){return applyEase(easeInOutBez,e,t,r,i,n)}function applyEase(e,t,r,i,n,s){n===void 0?(n=r,s=i):t=(t-r)/(i-r),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(n)){var l,f=n.length,d=createTypedArray("float32",f);for(l=0;l<f;l+=1)d[l]=(s[l]-n[l])*o+n[l];return d}return(s-n)*o+n}function nearestKey(e){var t,r=data.k.length,i,n;if(!data.k.length||typeof data.k[0]=="number")i=0,n=0;else if(i=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)i=1,n=data.k[0].t;else{for(t=0;t<r-1;t+=1)if(e===data.k[t].t){i=t+1,n=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(i=t+2,n=data.k[t+1].t):(i=t+1,n=data.k[t].t);break}i===-1&&(i=t+1,n=data.k[t].t)}var s={};return s.index=i,s.time=n/elem.comp.globalData.frameRate,s}function key(e){var t,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=n.length,r=0;r<i;r+=1)t[r]=n[r],t.value[r]=n[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(r){var i=0,n=[];function s(){i+=1}function o(){i-=1,i===0&&f()}function l(d){n.indexOf(d)===-1&&n.push(d)}function f(){var d,u=n.length;for(d=0;d<u;d+=1)n[d].release();n.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=s,r.renderer.globalData.popExpression=o,r.renderer.globalData.registerExpressionProperty=l}return e}(),MaskManagerInterface=function(){function e(r,i){this._mask=r,this._data=i}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(i){var n=createSizedArray(i.viewData.length),s,o=i.viewData.length;for(s=0;s<o;s+=1)n[s]=new e(i.viewData[s],i.masksProperties[s]);var l=function(d){for(s=0;s<o;){if(i.masksProperties[s].nm===d)return n[s];s+=1}return null};return l};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(o,l,f){Object.defineProperty(o,"velocity",{get:function(){return l.getVelocityAtTime(l.comp.currentFrame)}}),o.numKeys=l.keyframes?l.keyframes.length:0,o.key=function(d){if(!o.numKeys)return 0;var u="";"s"in l.keyframes[d-1]?u=l.keyframes[d-1].s:"e"in l.keyframes[d-2]?u=l.keyframes[d-2].e:u=l.keyframes[d-2].s;var y=f==="unidimensional"?new Number(u):Object.assign({},u);return y.time=l.keyframes[d-1].t/l.elem.comp.globalData.frameRate,y.value=f==="unidimensional"?u[0]:u,y},o.valueAtTime=l.getValueAtTime,o.speedAtTime=l.getSpeedAtTime,o.velocityAtTime=l.getVelocityAtTime,o.propertyGroup=l.propertyGroup}function i(o){(!o||!("pv"in o))&&(o=e);var l=1/o.mult,f=o.pv*l,d=new Number(f);return d.value=f,r(d,o,"unidimensional"),function(){return o.k&&o.getValue(),f=o.v*l,d.value!==f&&(d=new Number(f),d.value=f,r(d,o,"unidimensional")),d}}function n(o){(!o||!("pv"in o))&&(o=t);var l=1/o.mult,f=o.data&&o.data.l||o.pv.length,d=createTypedArray("float32",f),u=createTypedArray("float32",f);return d.value=u,r(d,o,"multidimensional"),function(){o.k&&o.getValue();for(var y=0;y<f;y+=1)u[y]=o.v[y]*l,d[y]=u[y];return d}}function s(){return e}return function(o){return o?o.propType==="unidimensional"?i(o):n(o):s}}(),TransformExpressionInterface=function(){return function(e){function t(o){switch(o){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var r,i,n,s;return e.p?s=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),i=ExpressionPropertyInterface(e.py),e.pz&&(n=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?s():[r(),i(),n?n():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}}(),LayerExpressionInterface=function(){function e(d){var u=new Matrix;if(d!==void 0){var y=this._elem.finalTransform.mProp.getValueAtTime(d);y.clone(u)}else{var m=this._elem.finalTransform.mProp;m.applyToMatrix(u)}return u}function t(d,u){var y=this.getMatrix(u);return y.props[12]=0,y.props[13]=0,y.props[14]=0,this.applyPoint(y,d)}function r(d,u){var y=this.getMatrix(u);return this.applyPoint(y,d)}function i(d,u){var y=this.getMatrix(u);return y.props[12]=0,y.props[13]=0,y.props[14]=0,this.invertPoint(y,d)}function n(d,u){var y=this.getMatrix(u);return this.invertPoint(y,d)}function s(d,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var y,m=this._elem.hierarchy.length;for(y=0;y<m;y+=1)this._elem.hierarchy[y].finalTransform.mProp.applyToMatrix(d)}return d.applyToPointArray(u[0],u[1],u[2]||0)}function o(d,u){if(this._elem.hierarchy&&this._elem.hierarchy.length){var y,m=this._elem.hierarchy.length;for(y=0;y<m;y+=1)this._elem.hierarchy[y].finalTransform.mProp.applyToMatrix(d)}return d.inversePoint(u)}function l(d){var u=new Matrix;if(u.reset(),this._elem.finalTransform.mProp.applyToMatrix(u),this._elem.hierarchy&&this._elem.hierarchy.length){var y,m=this._elem.hierarchy.length;for(y=0;y<m;y+=1)this._elem.hierarchy[y].finalTransform.mProp.applyToMatrix(u);return u.inversePoint(d)}return u.inversePoint(d)}function f(){return[1,1,1,1]}return function(d){var u;function y(E){v.mask=new MaskManagerInterface(E,d)}function m(E){v.effect=E}function v(E){switch(E){case"ADBE Root Vectors Group":case"Contents":case 2:return v.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return v.effect;case"ADBE Text Properties":return v.textInterface;default:return null}}v.getMatrix=e,v.invertPoint=o,v.applyPoint=s,v.toWorld=r,v.toWorldVec=t,v.fromWorld=n,v.fromWorldVec=i,v.toComp=r,v.fromComp=l,v.sampleImage=f,v.sourceRectAtTime=d.sourceRectAtTime.bind(d),v._elem=d,u=TransformExpressionInterface(d.finalTransform.mProp);var S=getDescriptor(u,"anchorPoint");return Object.defineProperties(v,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:S,anchor_point:S,transform:{get:function(){return u}},active:{get:function(){return d.isInRange}}}),v.startTime=d.data.st,v.index=d.data.ind,v.source=d.data.refId,v.height=d.data.ty===0?d.data.h:100,v.width=d.data.ty===0?d.data.w:100,v.inPoint=d.data.ip/d.comp.globalData.frameRate,v.outPoint=d.data.op/d.comp.globalData.frameRate,v._name=d.data.nm,v.registerMaskInterface=y,v.registerEffectsInterface=m,v}}(),propertyGroupFactory=function(){return function(e,t){return function(r){return r=r===void 0?1:r,r<=0?e:t(r-1)}}}(),PropertyInterface=function(){return function(e,t){var r={_name:e};function i(n){return n=n===void 0?1:n,n<=0?r:t(n-1)}return i}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(n,s){if(n.effectsManager){var o=[],l=n.data.ef,f,d=n.effectsManager.effectElements.length;for(f=0;f<d;f+=1)o.push(r(l[f],n.effectsManager.effectElements[f],s,n));var u=n.data.ef||[],y=function(v){for(f=0,d=u.length;f<d;){if(v===u[f].nm||v===u[f].mn||v===u[f].ix)return o[f];f+=1}return null};return Object.defineProperty(y,"numProperties",{get:function(){return u.length}}),y}return null}function r(n,s,o,l){function f(v){for(var S=n.ef,E=0,A=S.length;E<A;){if(v===S[E].nm||v===S[E].mn||v===S[E].ix)return S[E].ty===5?u[E]:u[E]();E+=1}throw new Error}var d=propertyGroupFactory(f,o),u=[],y,m=n.ef.length;for(y=0;y<m;y+=1)n.ef[y].ty===5?u.push(r(n.ef[y],s.effectElements[y],s.effectElements[y].propertyGroup,l)):u.push(i(s.effectElements[y],n.ef[y].ty,l,d));return n.mn==="ADBE Color Control"&&Object.defineProperty(f,"color",{get:function(){return u[0]()}}),Object.defineProperties(f,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:d}}),f.enabled=n.en!==0,f.active=f.enabled,f}function i(n,s,o,l){var f=ExpressionPropertyInterface(n.p);function d(){return s===10?o.comp.compInterface(n.p.v):f()}return n.p.setGroupProperty&&n.p.setGroupProperty(PropertyInterface("",l)),d}return e}(),ShapePathInterface=function(){return function(t,r,i){var n=r.sh;function s(l){return l==="Shape"||l==="shape"||l==="Path"||l==="path"||l==="ADBE Vector Shape"||l===2?s.path:null}var o=propertyGroupFactory(s,i);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(s,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),s}}(),ShapeExpressionInterface=function(){function e(S,E,A){var P=[],C,g=S?S.length:0;for(C=0;C<g;C+=1)S[C].ty==="gr"?P.push(r(S[C],E[C],A)):S[C].ty==="fl"?P.push(i(S[C],E[C],A)):S[C].ty==="st"?P.push(o(S[C],E[C],A)):S[C].ty==="tm"?P.push(l(S[C],E[C],A)):S[C].ty==="tr"||(S[C].ty==="el"?P.push(d(S[C],E[C],A)):S[C].ty==="sr"?P.push(u(S[C],E[C],A)):S[C].ty==="sh"?P.push(ShapePathInterface(S[C],E[C],A)):S[C].ty==="rc"?P.push(y(S[C],E[C],A)):S[C].ty==="rd"?P.push(m(S[C],E[C],A)):S[C].ty==="rp"?P.push(v(S[C],E[C],A)):S[C].ty==="gf"?P.push(n(S[C],E[C],A)):P.push(s(S[C],E[C])));return P}function t(S,E,A){var P,C=function(x){for(var w=0,M=P.length;w<M;){if(P[w]._name===x||P[w].mn===x||P[w].propertyIndex===x||P[w].ix===x||P[w].ind===x)return P[w];w+=1}return typeof x=="number"?P[x-1]:null};C.propertyGroup=propertyGroupFactory(C,A),P=e(S.it,E.it,C.propertyGroup),C.numProperties=P.length;var g=f(S.it[S.it.length-1],E.it[E.it.length-1],C.propertyGroup);return C.transform=g,C.propertyIndex=S.cix,C._name=S.nm,C}function r(S,E,A){var P=function(x){switch(x){case"ADBE Vectors Group":case"Contents":case 2:return P.content;default:return P.transform}};P.propertyGroup=propertyGroupFactory(P,A);var C=t(S,E,P.propertyGroup),g=f(S.it[S.it.length-1],E.it[E.it.length-1],P.propertyGroup);return P.content=C,P.transform=g,Object.defineProperty(P,"_name",{get:function(){return S.nm}}),P.numProperties=S.np,P.propertyIndex=S.ix,P.nm=S.nm,P.mn=S.mn,P}function i(S,E,A){function P(C){return C==="Color"||C==="color"?P.color:C==="Opacity"||C==="opacity"?P.opacity:null}return Object.defineProperties(P,{color:{get:ExpressionPropertyInterface(E.c)},opacity:{get:ExpressionPropertyInterface(E.o)},_name:{value:S.nm},mn:{value:S.mn}}),E.c.setGroupProperty(PropertyInterface("Color",A)),E.o.setGroupProperty(PropertyInterface("Opacity",A)),P}function n(S,E,A){function P(C){return C==="Start Point"||C==="start point"?P.startPoint:C==="End Point"||C==="end point"?P.endPoint:C==="Opacity"||C==="opacity"?P.opacity:null}return Object.defineProperties(P,{startPoint:{get:ExpressionPropertyInterface(E.s)},endPoint:{get:ExpressionPropertyInterface(E.e)},opacity:{get:ExpressionPropertyInterface(E.o)},type:{get:function(){return"a"}},_name:{value:S.nm},mn:{value:S.mn}}),E.s.setGroupProperty(PropertyInterface("Start Point",A)),E.e.setGroupProperty(PropertyInterface("End Point",A)),E.o.setGroupProperty(PropertyInterface("Opacity",A)),P}function s(){function S(){return null}return S}function o(S,E,A){var P=propertyGroupFactory(M,A),C=propertyGroupFactory(w,P);function g(I){Object.defineProperty(w,S.d[I].nm,{get:ExpressionPropertyInterface(E.d.dataProps[I].p)})}var _,x=S.d?S.d.length:0,w={};for(_=0;_<x;_+=1)g(_),E.d.dataProps[_].p.setGroupProperty(C);function M(I){return I==="Color"||I==="color"?M.color:I==="Opacity"||I==="opacity"?M.opacity:I==="Stroke Width"||I==="stroke width"?M.strokeWidth:null}return Object.defineProperties(M,{color:{get:ExpressionPropertyInterface(E.c)},opacity:{get:ExpressionPropertyInterface(E.o)},strokeWidth:{get:ExpressionPropertyInterface(E.w)},dash:{get:function(){return w}},_name:{value:S.nm},mn:{value:S.mn}}),E.c.setGroupProperty(PropertyInterface("Color",P)),E.o.setGroupProperty(PropertyInterface("Opacity",P)),E.w.setGroupProperty(PropertyInterface("Stroke Width",P)),M}function l(S,E,A){function P(g){return g===S.e.ix||g==="End"||g==="end"?P.end:g===S.s.ix?P.start:g===S.o.ix?P.offset:null}var C=propertyGroupFactory(P,A);return P.propertyIndex=S.ix,E.s.setGroupProperty(PropertyInterface("Start",C)),E.e.setGroupProperty(PropertyInterface("End",C)),E.o.setGroupProperty(PropertyInterface("Offset",C)),P.propertyIndex=S.ix,P.propertyGroup=A,Object.defineProperties(P,{start:{get:ExpressionPropertyInterface(E.s)},end:{get:ExpressionPropertyInterface(E.e)},offset:{get:ExpressionPropertyInterface(E.o)},_name:{value:S.nm}}),P.mn=S.mn,P}function f(S,E,A){function P(g){return S.a.ix===g||g==="Anchor Point"?P.anchorPoint:S.o.ix===g||g==="Opacity"?P.opacity:S.p.ix===g||g==="Position"?P.position:S.r.ix===g||g==="Rotation"||g==="ADBE Vector Rotation"?P.rotation:S.s.ix===g||g==="Scale"?P.scale:S.sk&&S.sk.ix===g||g==="Skew"?P.skew:S.sa&&S.sa.ix===g||g==="Skew Axis"?P.skewAxis:null}var C=propertyGroupFactory(P,A);return E.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",C)),E.transform.mProps.p.setGroupProperty(PropertyInterface("Position",C)),E.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",C)),E.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",C)),E.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",C)),E.transform.mProps.sk&&(E.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",C)),E.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",C))),E.transform.op.setGroupProperty(PropertyInterface("Opacity",C)),Object.defineProperties(P,{opacity:{get:ExpressionPropertyInterface(E.transform.mProps.o)},position:{get:ExpressionPropertyInterface(E.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(E.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(E.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(E.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(E.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(E.transform.mProps.sa)},_name:{value:S.nm}}),P.ty="tr",P.mn=S.mn,P.propertyGroup=A,P}function d(S,E,A){function P(_){return S.p.ix===_?P.position:S.s.ix===_?P.size:null}var C=propertyGroupFactory(P,A);P.propertyIndex=S.ix;var g=E.sh.ty==="tm"?E.sh.prop:E.sh;return g.s.setGroupProperty(PropertyInterface("Size",C)),g.p.setGroupProperty(PropertyInterface("Position",C)),Object.defineProperties(P,{size:{get:ExpressionPropertyInterface(g.s)},position:{get:ExpressionPropertyInterface(g.p)},_name:{value:S.nm}}),P.mn=S.mn,P}function u(S,E,A){function P(_){return S.p.ix===_?P.position:S.r.ix===_?P.rotation:S.pt.ix===_?P.points:S.or.ix===_||_==="ADBE Vector Star Outer Radius"?P.outerRadius:S.os.ix===_?P.outerRoundness:S.ir&&(S.ir.ix===_||_==="ADBE Vector Star Inner Radius")?P.innerRadius:S.is&&S.is.ix===_?P.innerRoundness:null}var C=propertyGroupFactory(P,A),g=E.sh.ty==="tm"?E.sh.prop:E.sh;return P.propertyIndex=S.ix,g.or.setGroupProperty(PropertyInterface("Outer Radius",C)),g.os.setGroupProperty(PropertyInterface("Outer Roundness",C)),g.pt.setGroupProperty(PropertyInterface("Points",C)),g.p.setGroupProperty(PropertyInterface("Position",C)),g.r.setGroupProperty(PropertyInterface("Rotation",C)),S.ir&&(g.ir.setGroupProperty(PropertyInterface("Inner Radius",C)),g.is.setGroupProperty(PropertyInterface("Inner Roundness",C))),Object.defineProperties(P,{position:{get:ExpressionPropertyInterface(g.p)},rotation:{get:ExpressionPropertyInterface(g.r)},points:{get:ExpressionPropertyInterface(g.pt)},outerRadius:{get:ExpressionPropertyInterface(g.or)},outerRoundness:{get:ExpressionPropertyInterface(g.os)},innerRadius:{get:ExpressionPropertyInterface(g.ir)},innerRoundness:{get:ExpressionPropertyInterface(g.is)},_name:{value:S.nm}}),P.mn=S.mn,P}function y(S,E,A){function P(_){return S.p.ix===_?P.position:S.r.ix===_?P.roundness:S.s.ix===_||_==="Size"||_==="ADBE Vector Rect Size"?P.size:null}var C=propertyGroupFactory(P,A),g=E.sh.ty==="tm"?E.sh.prop:E.sh;return P.propertyIndex=S.ix,g.p.setGroupProperty(PropertyInterface("Position",C)),g.s.setGroupProperty(PropertyInterface("Size",C)),g.r.setGroupProperty(PropertyInterface("Rotation",C)),Object.defineProperties(P,{position:{get:ExpressionPropertyInterface(g.p)},roundness:{get:ExpressionPropertyInterface(g.r)},size:{get:ExpressionPropertyInterface(g.s)},_name:{value:S.nm}}),P.mn=S.mn,P}function m(S,E,A){function P(_){return S.r.ix===_||_==="Round Corners 1"?P.radius:null}var C=propertyGroupFactory(P,A),g=E;return P.propertyIndex=S.ix,g.rd.setGroupProperty(PropertyInterface("Radius",C)),Object.defineProperties(P,{radius:{get:ExpressionPropertyInterface(g.rd)},_name:{value:S.nm}}),P.mn=S.mn,P}function v(S,E,A){function P(_){return S.c.ix===_||_==="Copies"?P.copies:S.o.ix===_||_==="Offset"?P.offset:null}var C=propertyGroupFactory(P,A),g=E;return P.propertyIndex=S.ix,g.c.setGroupProperty(PropertyInterface("Copies",C)),g.o.setGroupProperty(PropertyInterface("Offset",C)),Object.defineProperties(P,{copies:{get:ExpressionPropertyInterface(g.c)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:S.nm}}),P.mn=S.mn,P}return function(S,E,A){var P;function C(_){if(typeof _=="number")return _=_===void 0?1:_,_===0?A:P[_-1];for(var x=0,w=P.length;x<w;){if(P[x]._name===_)return P[x];x+=1}return null}function g(){return A}return C.propertyGroup=propertyGroupFactory(C,g),P=e(S,E,C.propertyGroup),C.numProperties=P.length,C._name="Contents",C}}(),TextExpressionInterface=function(){return function(e){var t;function r(i){switch(i){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return(!t||n!==t.value)&&(t=new String(n),t.value=n||new String(n),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r}}();function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(e)}var FootageInterface=function(){var e=function(i){var n="",s=i.getFootageData();function o(){return n="",s=i.getFootageData(),l}function l(f){if(s[f])return n=f,s=s[f],_typeof(s)==="object"?l:s;var d=f.indexOf(n);if(d!==-1){var u=parseInt(f.substr(d+n.length),10);return s=s[u],_typeof(s)==="object"?l:s}return""}return o},t=function(i){function n(s){return s==="Outline"?n.outlineInterface():null}return n._name="Outline",n.outlineInterface=e(i),n};return function(r){function i(n){return n==="Data"?i.dataInterface:null}return i._name="Data",i.dataInterface=t(r),i}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(o,l,f){l.x&&(f.k=!0,f.x=!0,f.initiateExpression=ExpressionManager.initiateExpression,f.effectsSequence.push(f.initiateExpression(o,l,f).bind(f)))}function t(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function r(o){var l=-.01,f=this.getValueAtTime(o),d=this.getValueAtTime(o+l),u=0;if(f.length){var y;for(y=0;y<f.length;y+=1)u+=Math.pow(d[y]-f[y],2);u=Math.sqrt(u)*100}else u=0;return u}function i(o){if(this.vel!==void 0)return this.vel;var l=-.001,f=this.getValueAtTime(o),d=this.getValueAtTime(o+l),u;if(f.length){u=createTypedArray("float32",f.length);var y;for(y=0;y<f.length;y+=1)u[y]=(d[y]-f[y])/l}else u=(d-f)/l;return u}function n(){return this.pv}function s(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:t,getStaticValueAtTime:n,setGroupProperty:s}}();function addPropertyDecorator(){function e(m,v,S){if(!this.k||!this.keyframes)return this.pv;m=m?m.toLowerCase():"";var E=this.comp.renderedFrame,A=this.keyframes,P=A[A.length-1].t;if(E<=P)return this.pv;var C,g;S?(v?C=Math.abs(P-this.elem.comp.globalData.frameRate*v):C=Math.max(0,P-this.elem.data.ip),g=P-C):((!v||v>A.length-1)&&(v=A.length-1),g=A[A.length-1-v].t,C=P-g);var _,x,w;if(m==="pingpong"){var M=Math.floor((E-g)/C);if(M%2!==0)return this.getValueAtTime((C-(E-g)%C+g)/this.comp.globalData.frameRate,0)}else if(m==="offset"){var I=this.getValueAtTime(g/this.comp.globalData.frameRate,0),B=this.getValueAtTime(P/this.comp.globalData.frameRate,0),D=this.getValueAtTime(((E-g)%C+g)/this.comp.globalData.frameRate,0),j=Math.floor((E-g)/C);if(this.pv.length){for(w=new Array(I.length),x=w.length,_=0;_<x;_+=1)w[_]=(B[_]-I[_])*j+D[_];return w}return(B-I)*j+D}else if(m==="continue"){var V=this.getValueAtTime(P/this.comp.globalData.frameRate,0),G=this.getValueAtTime((P-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(w=new Array(V.length),x=w.length,_=0;_<x;_+=1)w[_]=V[_]+(V[_]-G[_])*((E-P)/this.comp.globalData.frameRate)/5e-4;return w}return V+(V-G)*((E-P)/.001)}return this.getValueAtTime(((E-g)%C+g)/this.comp.globalData.frameRate,0)}function t(m,v,S){if(!this.k)return this.pv;m=m?m.toLowerCase():"";var E=this.comp.renderedFrame,A=this.keyframes,P=A[0].t;if(E>=P)return this.pv;var C,g;S?(v?C=Math.abs(this.elem.comp.globalData.frameRate*v):C=Math.max(0,this.elem.data.op-P),g=P+C):((!v||v>A.length-1)&&(v=A.length-1),g=A[v].t,C=g-P);var _,x,w;if(m==="pingpong"){var M=Math.floor((P-E)/C);if(M%2===0)return this.getValueAtTime(((P-E)%C+P)/this.comp.globalData.frameRate,0)}else if(m==="offset"){var I=this.getValueAtTime(P/this.comp.globalData.frameRate,0),B=this.getValueAtTime(g/this.comp.globalData.frameRate,0),D=this.getValueAtTime((C-(P-E)%C+P)/this.comp.globalData.frameRate,0),j=Math.floor((P-E)/C)+1;if(this.pv.length){for(w=new Array(I.length),x=w.length,_=0;_<x;_+=1)w[_]=D[_]-(B[_]-I[_])*j;return w}return D-(B-I)*j}else if(m==="continue"){var V=this.getValueAtTime(P/this.comp.globalData.frameRate,0),G=this.getValueAtTime((P+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(w=new Array(V.length),x=w.length,_=0;_<x;_+=1)w[_]=V[_]+(V[_]-G[_])*(P-E)/.001;return w}return V+(V-G)*(P-E)/.001}return this.getValueAtTime((C-((P-E)%C+P))/this.comp.globalData.frameRate,0)}function r(m,v){if(!this.k)return this.pv;if(m=(m||.4)*.5,v=Math.floor(v||5),v<=1)return this.pv;var S=this.comp.renderedFrame/this.comp.globalData.frameRate,E=S-m,A=S+m,P=v>1?(A-E)/(v-1):1,C=0,g=0,_;this.pv.length?_=createTypedArray("float32",this.pv.length):_=0;for(var x;C<v;){if(x=this.getValueAtTime(E+C*P),this.pv.length)for(g=0;g<this.pv.length;g+=1)_[g]+=x[g];else _+=x;C+=1}if(this.pv.length)for(g=0;g<this.pv.length;g+=1)_[g]/=v;else _/=v;return _}function i(m){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var v=this._transformCachingAtTime.v;if(v.cloneFromProps(this.pre.props),this.appliedTransformations<1){var S=this.a.getValueAtTime(m);v.translate(-S[0]*this.a.mult,-S[1]*this.a.mult,S[2]*this.a.mult)}if(this.appliedTransformations<2){var E=this.s.getValueAtTime(m);v.scale(E[0]*this.s.mult,E[1]*this.s.mult,E[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var A=this.sk.getValueAtTime(m),P=this.sa.getValueAtTime(m);v.skewFromAxis(-A*this.sk.mult,P*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var C=this.r.getValueAtTime(m);v.rotate(-C*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var g=this.rz.getValueAtTime(m),_=this.ry.getValueAtTime(m),x=this.rx.getValueAtTime(m),w=this.or.getValueAtTime(m);v.rotateZ(-g*this.rz.mult).rotateY(_*this.ry.mult).rotateX(x*this.rx.mult).rotateZ(-w[2]*this.or.mult).rotateY(w[1]*this.or.mult).rotateX(w[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var M=this.px.getValueAtTime(m),I=this.py.getValueAtTime(m);if(this.data.p.z){var B=this.pz.getValueAtTime(m);v.translate(M*this.px.mult,I*this.py.mult,-B*this.pz.mult)}else v.translate(M*this.px.mult,I*this.py.mult,0)}else{var D=this.p.getValueAtTime(m);v.translate(D[0]*this.p.mult,D[1]*this.p.mult,-D[2]*this.p.mult)}return v}function n(){return this.v.clone(new Matrix)}var s=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(m,v,S){var E=s(m,v,S);return E.dynamicProperties.length?E.getValueAtTime=i.bind(E):E.getValueAtTime=n.bind(E),E.setGroupProperty=expressionHelpers.setGroupProperty,E};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(m,v,S,E,A){var P=o(m,v,S,E,A);P.kf?P.getValueAtTime=expressionHelpers.getValueAtTime.bind(P):P.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(P),P.setGroupProperty=expressionHelpers.setGroupProperty,P.loopOut=e,P.loopIn=t,P.smooth=r,P.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(P),P.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(P),P.numKeys=v.a===1?v.k.length:0,P.propertyIndex=v.ix;var C=0;return S!==0&&(C=createTypedArray("float32",v.a===1?v.k[0].s.length:v.k.length)),P._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:C},expressionHelpers.searchExpressions(m,v,P),P.k&&A.addDynamicProperty(P),P};function l(m){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),m*=this.elem.globalData.frameRate,m-=this.offsetTime,m!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<m?this._caching.lastIndex:0,this._cachingAtTime.lastTime=m,this.interpolateShape(m,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var f=ShapePropertyFactory.getConstructorFunction(),d=ShapePropertyFactory.getKeyframedConstructorFunction();function u(){}u.prototype={vertices:function(v,S){this.k&&this.getValue();var E=this.v;S!==void 0&&(E=this.getValueAtTime(S,0));var A,P=E._length,C=E[v],g=E.v,_=createSizedArray(P);for(A=0;A<P;A+=1)v==="i"||v==="o"?_[A]=[C[A][0]-g[A][0],C[A][1]-g[A][1]]:_[A]=[C[A][0],C[A][1]];return _},points:function(v){return this.vertices("v",v)},inTangents:function(v){return this.vertices("i",v)},outTangents:function(v){return this.vertices("o",v)},isClosed:function(){return this.v.c},pointOnPath:function(v,S){var E=this.v;S!==void 0&&(E=this.getValueAtTime(S,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(E));for(var A=this._segmentsLength,P=A.lengths,C=A.totalLength*v,g=0,_=P.length,x=0,w;g<_;){if(x+P[g].addedLength>C){var M=g,I=E.c&&g===_-1?0:g+1,B=(C-x)/P[g].addedLength;w=bez.getPointInSegment(E.v[M],E.v[I],E.o[M],E.i[I],B,P[g]);break}else x+=P[g].addedLength;g+=1}return w||(w=E.c?[E.v[0][0],E.v[0][1]]:[E.v[E._length-1][0],E.v[E._length-1][1]]),w},vectorOnPath:function(v,S,E){v==1?v=this.v.c:v==0&&(v=.999);var A=this.pointOnPath(v,S),P=this.pointOnPath(v+.001,S),C=P[0]-A[0],g=P[1]-A[1],_=Math.sqrt(Math.pow(C,2)+Math.pow(g,2));if(_===0)return[0,0];var x=E==="tangent"?[C/_,g/_]:[-g/_,C/_];return x},tangentOnPath:function(v,S){return this.vectorOnPath(v,S,"tangent")},normalOnPath:function(v,S){return this.vectorOnPath(v,S,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],f),extendPrototype([u],d),d.prototype.getValueAtTime=l,d.prototype.initiateExpression=ExpressionManager.initiateExpression;var y=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(m,v,S,E,A){var P=y(m,v,S,E,A);return P.propertyIndex=v.ix,P.lock=!1,S===3?expressionHelpers.searchExpressions(m,v.pt,P):S===4&&expressionHelpers.searchExpressions(m,v.ks,P),P.k&&m.addDynamicProperty(P),P}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,r){var i=this.calculateExpression(r);if(t.t!==i){var n={};return this.copyData(n,t),n.t=i.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),r=this.searchExpressions();return this.kf=t||r,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,r){var i=createNS("feMerge");i.setAttribute("result",t);var n,s;for(s=0;s<r.length;s+=1)n=createNS("feMergeNode"),n.setAttribute("in",r[s]),i.appendChild(n),i.appendChild(n);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,i,n){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=s,s.setAttribute("result",i+"_tint_1"),e.appendChild(s),s=createNS("feColorMatrix"),s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",i+"_tint_2"),e.appendChild(s),this.matrixFilter=s;var o=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);e.appendChild(o)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+i+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,r,i){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i),e.appendChild(n),this.matrixFilter=n}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}};function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,r,i,n;for(this.filterManager.effectElements[1].p.v===1?(n=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,n=i+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),i;i<n;i+=1)t=createNS("path"),r.appendChild(t),this.paths.push({p:t,m:i});if(this.filterManager.effectElements[10].p.v===3){var s=createNS("mask"),o=createElementID();s.setAttribute("id",o),s.setAttribute("mask-type","alpha"),s.appendChild(r),this.elem.globalData.defs.appendChild(s);var l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)l.appendChild(e[0]);this.elem.layerElement.appendChild(l),this.masker=s,r.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,r=this.paths.length,i,n;for(t=0;t<r;t+=1)if(this.paths[t].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||i.prop._mdf)&&n.setAttribute("d",i.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var s;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,f=n.getTotalLength();s="0 0 0 "+f*o+" ";var d=f*(l-o),u=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,y=Math.floor(d/u),m;for(m=0;m<y;m+=1)s+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";s+="0 "+f*10+" 0 0"}else s="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",s)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var v=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(v[0]*255)+","+bmFloor(v[1]*255)+","+bmFloor(v[2]*255)+")")}};function SVGTritoneFilter(e,t,r,i){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(n);var s=createNS("feComponentTransfer");s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),this.matrixFilter=s;var o=createNS("feFuncR");o.setAttribute("type","table"),s.appendChild(o),this.feFuncR=o;var l=createNS("feFuncG");l.setAttribute("type","table"),s.appendChild(l),this.feFuncG=l;var f=createNS("feFuncB");f.setAttribute("type","table"),s.appendChild(f),this.feFuncB=f,e.appendChild(s)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,n=i[0]+" "+r[0]+" "+t[0],s=i[1]+" "+r[1]+" "+t[1],o=i[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,r,i){this.filterManager=t;var n=this.filterManager.effectElements,s=createNS("feComponentTransfer");(n[10].p.k||n[10].p.v!==0||n[11].p.k||n[11].p.v!==1||n[12].p.k||n[12].p.v!==1||n[13].p.k||n[13].p.v!==0||n[14].p.k||n[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",s)),(n[17].p.k||n[17].p.v!==0||n[18].p.k||n[18].p.v!==1||n[19].p.k||n[19].p.v!==1||n[20].p.k||n[20].p.v!==0||n[21].p.k||n[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",s)),(n[24].p.k||n[24].p.v!==0||n[25].p.k||n[25].p.v!==1||n[26].p.k||n[26].p.v!==1||n[27].p.k||n[27].p.v!==0||n[28].p.k||n[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",s)),(n[31].p.k||n[31].p.v!==0||n[32].p.k||n[32].p.v!==1||n[33].p.k||n[33].p.v!==1||n[34].p.k||n[34].p.v!==0||n[35].p.k||n[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",s)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(s.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(s)),(n[3].p.k||n[3].p.v!==0||n[4].p.k||n[4].p.v!==1||n[5].p.k||n[5].p.v!==1||n[6].p.k||n[6].p.v!==0||n[7].p.k||n[7].p.v!==1)&&(s=createNS("feComponentTransfer"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),e.appendChild(s),this.feFuncRComposed=this.createFeFunc("feFuncR",s),this.feFuncGComposed=this.createFeFunc("feFuncG",s),this.feFuncBComposed=this.createFeFunc("feFuncB",s))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,i,n){for(var s=0,o=256,l,f=Math.min(e,t),d=Math.max(e,t),u=Array.call(null,{length:o}),y,m=0,v=n-i,S=t-e;s<=256;)l=s/256,l<=f?y=S<0?n:i:l>=d?y=S<0?i:n:y=i+v*Math.pow((l-e)/S,1/r),u[m]=y,m+=1,s+=256/(o-1);return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,r,i,n){var s=t.container.globalData.renderConfig.filterSize,o=t.data.fs||s;e.setAttribute("x",o.x||s.x),e.setAttribute("y",o.y||s.y),e.setAttribute("width",o.width||s.width),e.setAttribute("height",o.height||s.height),this.filterManager=t;var l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",i+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var f=createNS("feOffset");f.setAttribute("dx","25"),f.setAttribute("dy","0"),f.setAttribute("in",i+"_drop_shadow_1"),f.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=f,e.appendChild(f);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=d,e.appendChild(d);var u=createNS("feComposite");u.setAttribute("in",i+"_drop_shadow_3"),u.setAttribute("in2",i+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(u);var y=this.createMergeNode(i,[i+"_drop_shadow_4",n]);e.appendChild(y)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(i),s=r*Math.sin(i);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",s)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var i=r.children,n=0,s=i.length;n<s&&i[n]!==e.layerElement;)n+=1;var o;n<=s-2&&(o=i[n+1]);var l=createNS("use");l.setAttribute("href","#"+t),o?r.insertBefore(l,o):r.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",t.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var n=e.globalData.defs;n.appendChild(i);var s=createNS("symbol");s.setAttribute("id",r),this.replaceInParent(t,r),s.appendChild(t.layerElement),n.appendChild(s);var o=createNS("use");o.setAttribute("href","#"+r),i.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,i=t.length;r<i;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,r,i){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("result",i),e.appendChild(n),this.feGaussianBlur=n}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,r=this.filterManager.effectElements[0].p.v*t,i=this.filterManager.effectElements[1].p.v,n=i==3?0:r,s=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+s);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,r=t[0].p.v,i=t[1].p.v,n=t[2].p.v===1,s=t[3].p.v,o=n?s:t[4].p.v,l=t[5].p.v,f=t[6].p.v,d=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(o*.01,s*.01,1),this.matrix.rotate(-d
vendor: 5,160 bytes, line 183
183*degToRads),this.matrix.skewFromAxis(-l*degToRads,(f+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie,lottie.exports);var lottieExports=lottie.exports;const Lottie=getDefaultExportFromCjs(lottieExports);(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".lottie-animation-container{width:var(--lottie-animation-container-width);height:var(--lottie-animation-container-height);background-color:var(--lottie-animation-container-background-color);overflow:hidden;margin:var(--lottie-animation-margin)}.lottie-animation-container svg{transform:scale(var(--lottie-animation-scale))}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();var __defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))__hasOwnProp.call(t,r)&&__defNormalProp(e,r,t[r]);if(__getOwnPropSymbols)for(var r of __getOwnPropSymbols(t))__propIsEnum.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>__defProps(e,__getOwnPropDescs(t)),es6=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var i,n,s;if(Array.isArray(t)){if(i=t.length,i!=r.length)return!1;for(n=i;n--!==0;)if(!e(t[n],r[n]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(i=t.length,i!=r.length)return!1;for(n=i;n--!==0;)if(t[n]!==r[n])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(s=Object.keys(t),i=s.length,i!==Object.keys(r).length)return!1;for(n=i;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[n]))return!1;for(n=i;n--!==0;){var o=s[n];if(!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r};function klona(e){var t,r,i;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(i=e[t])&&typeof i=="object"?klona(i):i;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:klona(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(i=e[t])&&typeof i=="object"?klona(i):i;return r}return e}var _export_sfc$1=(e,t)=>{const r=e.__vccOpts||e;for(const[i,n]of t)r[i]=n;return r};const _sfc_main$5=defineComponent({props:{animationData:{type:Object,default:()=>({})},animationLink:{type:String,default:""},loop:{type:[Boolean,Number],default:!0},autoPlay:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},speed:{type:Number,default:1},delay:{type:Number,default:0},direction:{type:String,default:"forward"},pauseOnHover:{type:Boolean,default:!1},playOnHover:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},pauseAnimation:{type:Boolean,default:!1},noMargin:{type:Boolean,default:!1},scale:{type:Number,default:1},renderer:{type:String,default:"svg"},rendererSettings:{type:Object,default:()=>({})},assetsPath:{type:String,default:""}},emits:{onComplete:null,onLoopComplete:null,onEnterFrame:null,onSegmentStart:null,onAnimationLoaded:null},setup(e,{emit:t}){const r=ref();let i,n=null,s=1;watchEffect(async()=>
vendor: 1,241 bytes, line 183
183{if(r.value){if(e.animationLink!="")try{i=await(await fetch(e.animationLink)).json()}catch(w){console.error(w);return}else if(es6(e.animationData,{})===!1)i=klona(e.animationData);else throw new Error("You must provide either animationLink or animationData");o()}});const o=()=>{if(!r.value||!i)return;n==null||n.destroy(),n=null;let w=e.autoPlay,M=e.loop;e.playOnHover&&(w=!1),typeof M=="number"&&M>0&&(M=M-1),e.delay>0&&(w=!1);const I={container:r.value,renderer:e.renderer,loop:M,autoplay:w,animationData:i,assetsPath:e.assetsPath};es6(e.rendererSettings,{})===!1&&(I.rendererSettings=e.rendererSettings),e.scale!==1&&(I.rendererSettings=__spreadProps(__spreadValues({},I.rendererSettings),{viewBoxOnly:!0})),n=Lottie.loadAnimation(I),setTimeout(()=>{w=e.autoPlay,e.playOnHover?n==null||n.pause():w?n==null||n.play():n==null||n.pause(),t("onAnimationLoaded")},e.delay),n.setSpeed(e.speed),e.direction==="reverse"&&n.setDirection(-1),e.direction==="normal"&&n.setDirection(1),(e.pauseAnimation||e.playOnHover)&&n.pause(),n.addEventListener("loopComplete",()=>{e.direction==="alternate"&&(n==null||n.stop(),s=s===-1?1:-1,n==null||n.setDirection(s),n==null||n.play()),t("onLoopComplete")}),n.addEventListener("complete",()=>{t("onComplete")}
183),n.addEventListener("enterFrame",()=>{t("onEnterFrame")}),n.addEventListener("segmentStart",()=>{t("onSegmentStart")})},l=computed(()=>{let w=e.width,M=e.height;return typeof e.width=="number"&&(w=`${e.width}px`),typeof e.height=="number"&&(M=`${e.height}px`),{"--lottie-animation-container-width":w,"--lottie-animation-container-height":M,"--lottie-animation-container-background-color":e.backgroundColor,"--lottie-animation-margin":e.noMargin?"0":"0 auto","--lottie-animation-scale":e.scale!=1?e.scale:""}}),f=()=>{n&&e.pauseOnHover&&n.pause(),n&&e.playOnHover&&n.play()},d=()=>{n&&e.pauseOnHover&&n.play(),n&&e.playOnHover&&n.pause()};return watch(()=>e.pauseAnimation,()=>{if((e.pauseOnHover||e.playOnHover)&&e.pauseAnimation){console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover");return}n&&(e.pauseAnimation?n.pause():n.play())}),{lottieAnimationContainer:r,hoverEnded:d,hoverStarted:f,getCurrentStyle:l,play:()=>{n&&n.play()},pause:()=>{n&&n.pause()},stop:()=>{n&&n.stop()},destroy:()=>{n&&n.destroy()},setSpeed:(w=1)=>{if(w<=0)throw new Error("Speed must be greater than 0");n&&n.setSpeed(w)},setDirection:w=>{n&&(w==="forward"?n.setDirection(1):w==="reverse"&&n.setDirection(-1))},goToAndStop:(w,M=!0)=>{n&&n.goToAndStop(w,M)},goToAndPlay:(w,M=!0)=>{n&&n.goToAndPlay(w,M)},playSegments:(w,M=!1)=>{n&&n.playSegments(w,M)},setSubFrame:(w=!0)=>{n&&n.setSubframe(w)},getDuration:(w=!0)=>{if(n)return n.getDuration(w)},updateDocumentData:(w,M=0)=>{n&&n.renderer.elements[M].updateDocumentData(w)}}}});function _sfc_render(e,t,r,i,n,s){return openBlock(),createElementBlock("div",{ref:"lottieAnimationContainer",class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...o)=>e.hoverStarted&&e.hoverStarted(...o)),onMouseleave:t[1]||(t[1]=(...o)=>e.hoverEnded&&e.hoverEnded(...o))},null,36)}
183var Vue3Lottie=_export_sfc$1(_sfc_main$5,[["render",_sfc_render]]);const Vue3Lottie_client_bMZiOS6AB0=defineNuxtPlugin(e=>{e.vueApp.component("Vue3Lottie",Vue3Lottie)}),appsflyer_client_ZaPojsRzII=defineNuxtPlugin(()=>{const t=useRuntimeConfig().public.appsFlyerId;useHead({script:[{src:`https://websdk.appsflyer.com?af_id=${t}`,async:!0}]})}),facebook_pixel_client_DZvV2r4W6e=defineNuxtPlugin(()=>{const e="272559074145730",t=()=>{window.fbq=window.fbq||function(){(window.fbq.q=window.fbq.q||[]).push(arguments)},window.fbq("init",e),window.fbq("track","PageView")};useHead({script:[{src:"https://connect.facebook.net/en_US/fbevents.js",async:!0,id:"facebook-pixel-script",onload:()=>t()}]}),onMounted(()=>{const r=document.getElementById("facebook-pixel-script");r&&(r.onload=t)})}),fetch_14DdzPiXUB=defineNuxtPlugin(e=>{const t=useRuntimeConfig();return{provide:{fetch:$fetch.create({onRequest({options:i}){i.headers.set("Authorization",`Bearer ${t.public.devToken}`)}})}}}),freshchat_client_FKGaKxjq8Z=defineNuxtPlugin(()=>{const e=useRuntimeConfig(),t=()=>{window.fcWidget&&window.fcWidget.init({token:e.public.freshchatToken,host:e.public.freshchatURL})};useHead({script:[{src:`${e.public.freshchatURL}/js/widget.js`,async:!0,id:"Freshchat-js-sdk",onload:()=>t()}]}),onMounted(()=>{const r=document.getElementById("Freshchat-js-sdk");r&&(r.onload=t)})}),google_analytic_client_jlUduj3px9=defineNuxtPlugin(()=>{const e="UA-158762007-1",t=()=>{window.dataLayer=window.dataLayer||[];function r(){window.dataLayer.push(arguments)}r("js",new Date),r("config",e)};useHead({script:[{src:`https://www.googletagmanager.com/gtag/js?id=${e}`,async:!0,id:"google-analytics-script",onload:()=>t()}]}),onMounted(()=>{const r=document.getElementById("google-analytics-script");r&&(r.onload=t)})}),gtag_manager_hyg7cn824e=defineNuxtPlugin(()=>{const e="GTM-5GDJZLRC",t=()=>{if(window.dataLayer)return;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"gtm.js","gtm.start":new Date().getTime()});const i=document.createElement("script");i.async=!0,i.src=`https://www.googletagmanager.com/gtm.js?id=${e}`,document.head.appendChild(i)},r=()=>localStorage.getItem("cookie_consent")==="true";onMounted(()=>{r()&&t()}),useHead({noscript:[{children:`<iframe src="https://www.googletagmanager.com/ns.html?id=${e}" height="0" width="0" style="display:none;visibility:hidden"></iframe>`}]})}),hotjar_client_HJG8no80GI=defineNuxtPlugin(()=>{const e=useRuntimeConfig(),t=6,r=()=>{window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window._hjSettings={hjid:e.public.hotjar_id,hjsv:t}};useHead({script:[{src:`https://static.hotjar.com/c/hotjar-${e.public.hotjar_id}.js?sv=${t}`,async:!0,id:"hotjar-script",onload:()=>r()}]}),onMounted(()=>{const i=document.getElementById("hotjar-script");i&&(i.onload=r)})}),useLoading=()=>useState("loading",()=>!0),loading_client_xQex0Whljb=defineNuxtPlugin(e=>{const t=useLoading();t.value=!0,e.hook("page:start",()=>{t.value=!0}),e.hook("page:finish",()=>{t.value=!1})}),smartech_client_1TMKBjhio5=defineNuxtPlugin(()=>{const e=useRuntimeConfig(),t=e.public.smartechCreateKey,r=e.public.smartechRegisterKey;useHead({script:[{src:"//cdnt.netcoresmartech.com/smartechclient.js",async:!0,onload:()=>{window.smartech("create",t),window.smartech("register",r),window.smartech("identify",""),window.trackEvent=i=>{window.smartech&&window.smartech("dispatch",i,{})}}}]})}),_hoisted_1$2={key:0},_hoisted_2={key:1},_hoisted_3={key:2},_hoisted_4={key:3},_hoisted_5={key:4},_hoisted_6={key:5},_hoisted_7={key:6},_hoisted_8={key:7},_hoisted_9={key:8},_hoisted_10={key:9},_sfc_main$4=defineComponent({__name:"vue-awesome-paginate",props:{totalItems:{type:Number,required:!0},itemsPerPage:{type:Number,default:10,validator:e=>{if(e<=0){const t="itemsPerPage attribute must be greater than 0.";throw console.error(t),new TypeError(t)}return!0}},currentPage:{type:Number,default:1,validator:e=>{const t="currentPage attribute must be greater than 0.";if(e<=0)throw console.error(t),new TypeError(t);return!0}},modelValue:{type:Number,required:!0,validator:e=>{const t="v-model is required and must be greater than 0.";if(e<=0)throw console.error(t),new TypeError(t);return!0}},maxPagesShown:{type:Number,default:5,validator:e=>{const t="maxPagesShown attribute must be greater than 0.";if(e<=0)throw console.error(t),new TypeError(t);return!0}},dir:{type:String,default:"ltr",validator:e=>{const t='dir attribute must be either "ltr" or "rtl".';if(e!=="ltr"&&e!=="rtl")throw console.error(t),new TypeError(t);return!0}},type:{type:String,default:"button",validator:e=>{const t=["link","button"],r="type attribute must be one of the following: "+t.join(", ");
183if(t.indexOf(e)===-1)throw console.error(r),new TypeError(r);return!0}},onClick:{type:Function,default:()=>{}},locale:{type:String,default:"en",validator:e=>{const t=["en","ar","ir"],r="locale attribute must be one of the following: "+t.join(", ");if(t.indexOf(e)===-1)throw console.error(r),new TypeError(r);return!0}},prevButtonContent:{type:String,default:"<"},nextButtonContent:{type:String,default:">"},hidePrevNext:{type:Boolean,default:!1},hidePrevNextWhenEnds:{type:Boolean,default:!1},showBreakpointButtons:{type:Boolean,default:!0},disableBreakpointButtons:{type:Boolean,default:!1},startingBreakpointContent:{type:String,default:"..."},endingBreakpointButtonContent:{type:String,default:"..."},showJumpButtons:{type:Boolean,default:!1},linkUrl:{type:String,default:"#"},backwardJumpButtonContent:{type:String,default:"<<"},forwardJumpButtonContent:{type:String,default:">>"},disablePagination:{type:Boolean,default:!1},showEndingButtons:{type:Boolean,default:!1},firstPageContent:{type:String,default:"First"},lastPageContent:{type:String,default:"Last"},backButtonClass:{type:String,default:"back-button"},nextButtonClass:{type:String,default:"next-button"},firstButtonClass:{type:String,default:"first-button"},lastButtonClass:{type:String,default:"last-button"},numberButtonsClass:{type:String,default:"number-buttons"},startingBreakpointButtonClass:{type:String,default:"starting-breakpoint-button"},endingBreakPointButtonClass:{type:String,default:"ending-breakpoint-button"},firstPageButtonClass:{type:String,default:"first-page-button"},lastPageButtonClass:{type:String,default:"last-page-button"},paginateButtonsClass:{type:String,default:"paginate-buttons"},disabledPaginateButtonsClass:{type:String,default:"disabled-paginate-buttons"},activePageClass:{type:String,default:"active-page"},paginationContainerClass:{type:String,default:"pagination-container"},disabledBreakPointButtonClass:{type:String,default:"disabled-breakpoint-button"},backwardJumpButtonClass:{type:String,default:"backward-jump-button"},forwardJumpButtonClass:{type:String,default:"forward-jump-button"},disabledBackwardJumpButtonClass:{type:String,default:"disabled-backward-jump-button"},disabledBackButtonClass:{type:String,default:"disabled-back-button"},disabledFirstButtonClass:{type:String,default:"disabled-first-button"},disabledLastButtonClass:{type:String,default:"disabled-last-button"},disabledNextButtonClass:{type:String,default:"disabled-next-button"},disabledForwardJumpButtonClass:{type:String,default:"disabled-forward-jump-button"}},emits:["update:modelValue","click"],setup(e,{emit:t}){const r=e;if(r.currentPage&&!r.modelValue)throw new Error("currentPage/current-page is now deprecated, use v-model instead to set the current page.");if(!r.modelValue)throw new TypeError("v-model is required for the paginate component.");const i=toRef(r,"modelValue"),n=t,s=g=>{g!==i.value&&(g>f.value||g<1||r.disablePagination||(n("update:modelValue",g),n("click",g)))},o=g=>{switch(r.locale){case"en":return g;case"ar":return g.toLocaleString("ar-SA");case"ir":return g.toLocaleString("fa-IR");default:return g}},l=g=>r.type!=="link"?"":r.linkUrl.replace("[page]",g.toString()),f=computed(()=>Math.ceil(r.totalItems/r.itemsPerPage)),d=computed(()=>{let g,_;if(f.value<=r.maxPagesShown)g=1,_=f.value;else{let w=Math.floor(r.maxPagesShown/2),M=Math.ceil(r.maxPagesShown/2)-1;i.value<=w?(g=1,_=r.maxPagesShown):i.value+M>=f.value?(g=f.value-r.maxPagesShown+1,_=f.value):(g=i.value-w,_=i.value+M)}let x=Array.from(Array(_+1-g).keys()).map(w=>g+w);return r.dir==="rtl"&&(x=x.reverse()),{totalItems:r.totalItems,currentPage:i.value,itemsPerPage:r.itemsPerPage,totalPages:f,startPage:g,endPage:_,pages:x}}),u=computed(()=>r.dir==="rtl"),y=computed(()=>u.value?!r.hidePrevNextWhenEnds||i.value!==f.value:!r.hidePrevNextWhenEnds||i.value!==1),m=computed(()=>u.value?!r.hidePrevNextWhenEnds||i.value!==1:!r.hidePrevNextWhenEnds||i.value!==f.value),v=computed(()=>u.value?d.value.pages[0]<f.value-1:d.value.pages[0]>=3),S=computed(()=>u.value?d.value.pages[d.value.pages.length-1]>=3:d.value.pages[d.value.pages.length-1]<f.value-1),E=computed(()=>u.value?d.value.pages[0]<f.value:d.value.pages[0]>=2),A=computed(()=>u.value?d.value.pages[d.value.pages.length-1]>=2:d.value.pages[d.value.pages.length-1]<f.value),P=computed(()=>i.value!==1),C=computed(()=>i.value!==f.value);if(r.type==="link"&&r.linkUrl==="#")throw console.error("linkUrl attribute is required if type attribute is 'link'"),new TypeError("linkUrl attribute is required if type attribute is 'link'");if(r.type==="link"&&!r.linkUrl.includes("[page]"))throw console.error("linkUrl attribute must contain '[page]' substring"),new TypeError("linkUrl attribute must contain '[page]' substring");return(g,_)=>(openBlock(),createElementBlock("ul",{id:"componentContainer",class:normalizeClass(e.paginationContainerClass)},[e.showEndingButtons&&P.value?(openBlock(),createElementBlock("li",_hoisted_1$2,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?f.value:1),onClick:_[0]||(_[0]=withModifiers(x=>s(u.value?f.value:1),["prevent"])),class:normalizeClass([e.firstPageButtonClass,e.paginateButtonsClass,e.disablePagination?e.disabledPaginateButtonsClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[renderSlot(g.$slots,"first-page-button",{},()=>[createTextVNode(toDisplayString(e.firstPageContent),1)])]),_:3},8,["href","class","disabled"]))])):createCommentVNode("",!0),e.showJumpButtons&&v.value?(openBlock(),createElementBlock("li",_hoisted_2,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?i.value+Math.ceil(e.maxPagesShown/2):i.value-Math.ceil(e.maxPagesShown/2)),onClick:_[1]||(_[1]=withModifiers(x=>s(u.value?i.value+Math.ceil(e.maxPagesShown/2):i.value-Math.ceil(e.maxPagesShown/2)),["prevent"])),class:normalizeClass([e.backwardJumpButtonClass,e.paginateButtonsClass,e.disablePagination?e.disabledPaginateButtonsClass:"",e.disablePagination?e.disabledBackwardJumpButtonClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[renderSlot(g.$slots,"backward-jump-button",{},()=>[createTextVNode(toDisplayString(e.backwardJumpButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):createCommentVNode("",!0),!e.hidePrevNext&&y.value?(openBlock(),createElementBlock("li",_hoisted_3,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?i.value+1:i.value-1),onClick:_[2]||(_[2]=withModifiers(x=>s(u.value?i.value+1:i.value-1),["prevent"])),class:normalizeClass([e.backButtonClass,e.paginateButtonsClass,e.disablePagination?e.disabledPaginateButtonsClass:"",e.disablePagination?e.disabledBackButtonClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[renderSlot(g.$slots,"prev-button",{},()=>[createTextVNode(toDisplayString(e.prevButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):createCommentVNode("",!0),e.showBreakpointButtons&&E.value?(openBlock(),createElementBlock("li",_hoisted_4,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?f.value:1),onClick:_[3]||(_[3]=withModifiers(x=>s(u.value?f.value:1),["prevent"])),class:normalizeClass([e.firstButtonClass,e.paginateButtonsClass,e.disablePagination?e.disabledPaginateButtonsClass:"",e.disablePagination?e.disabledFirstButtonClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[createTextVNode(toDisplayString(u.value?o(f.value):o(1)),1)]),_:1},8,["href","class","disabled"]))])):createCommentVNode("",!0),e.showBreakpointButtons&&v.value?(openBlock(),createElementBlock("li",_hoisted_5,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(e.disableBreakpointButtons?i.value:u.value?i.value+Math.ceil(e.maxPagesShown/2):i.value-Math.ceil(e.maxPagesShown/2)),onClick:_[4]||(_[4]=withModifiers(x=>s(e.disableBreakpointButtons?i.value:u.value?i.value+Math.ceil(e.maxPagesShown/2):i.value-Math.ceil(e.maxPagesShown/2)),["prevent"])),disabled:e.disableBreakpointButtons||e.disablePagination,class:normalizeClass([e.startingBreakpointButtonClass,e.paginateButtonsClass,e.disableBreakpointButtons||e.disablePagination?`${e.disabledPaginateButtonsClass} ${e.disabledBreakPointButtonClass}`:""])},{default:withCtx(()=>[renderSlot(g.$slots,"starting-breakpoint-button",{},()=>[createTextVNode(toDisplayString(e.startingBreakpointContent),1)])]),_:3},8,["href","disabled","class"]))])):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(d.value.pages,(x,w)=>(openBlock(),createElementBlock("li",{key:w},[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(x),onClick:withModifiers(()=>s(x),["prevent"]),class:normalizeClass([e.paginateButtonsClass,e.numberButtonsClass,x===i.value?e.activePageClass:"",e.disablePagination?e.disabledPaginateButtonsClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[createTextVNode(toDisplayString(o(x)),1)]),_:2},1032,["href","onClick","class","disabled"]))]))),128)),e.showBreakpointButtons&&S.value?(openBlock(),createElementBlock("li",_hoisted_6,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(e.disableBreakpointButtons?i.value:u.value?i.value-Math.ceil(e.maxPagesShown/2):i.value+Math.ceil(e.maxPagesShown/2)),onClick:_[5]||(_[5]=withModifiers(x=>s(e.disableBreakpointButtons?i.value:u.value?i.value-Math.ceil(e.maxPagesShown/2):i.value+Math.ceil(e.maxPagesShown/2)),["prevent"])),disabled:e.disableBreakpointButtons||e.disablePagination,class:normalizeClass([e.endingBreakPointButtonClass,e.paginateButtonsClass,e.disableBreakpointButtons||e.disablePagination?`${e.disabledPaginateButtonsClass} ${e.disabledBreakPointButtonClass}`:""])},{default:withCtx(()=>[renderSlot(g.$slots,"ending-breakpoint-button",{},()=>[createTextVNode(toDisplayString(e.endingBreakpointButtonContent),1)])]),_:3},8,["href","disabled","class"]))])):createCommentVNode("",!0),e.showBreakpointButtons&&A.value?(openBlock(),createElementBlock("li",_hoisted_7,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?1:f.value),onClick:_[6]||(_[6]=withModifiers(x=>s(u.value?1:f.value),["prevent"])),class:normalizeClass([e.lastButtonClass,e.paginateButtonsClass,e.disablePagination?e.disabledPaginateButtonsClass:"",e.disablePagination?e.disabledLastButtonClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[createTextVNode(toDisplayString(u.value?o(1):o(f.value)),1)]),_:1},8,["href","class","disabled"]))])):createCommentVNode("",!0),!e.hidePrevNext&&m.value?(openBlock(),createElementBlock("li",_hoisted_8,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?i.value-1:i.value+1),onClick:_[7]||(_[7]=withModifiers(x=>s(u.value?i.value-1:i.value+1),["prevent"])),class:normalizeClass([e.paginateButtonsClass,e.nextButtonClass,e.disablePagination?e.disabledPaginateButtonsClass:"",e.disablePagination?e.disabledNextButtonClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[renderSlot(g.$slots,"next-button",{},()=>[createTextVNode(toDisplayString(e.nextButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):createCommentVNode("",!0),e.showJumpButtons&&S.value?(openBlock(),createElementBlock("li",_hoisted_9,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?i.value-Math.ceil(e.maxPagesShown/2):i.value+Math.ceil(e.maxPagesShown/2)),onClick:_[8]||(_[8]=withModifiers(x=>s(u.value?i.value-Math.ceil(e.maxPagesShown/2):i.value+Math.ceil(e.maxPagesShown/2)),["prevent"])),class:normalizeClass([e.forwardJumpButtonClass,e.paginateButtonsClass,e.disablePagination?e.disabledPaginateButtonsClass:"",e.disablePagination?e.disabledForwardJumpButtonClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[renderSlot(g.$slots,"forward-jump-button",{},()=>[createTextVNode(toDisplayString(e.forwardJumpButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):createCommentVNode("",!0),e.showEndingButtons&&C.value?(openBlock(),createElementBlock("li",_hoisted_10,[(openBlock(),createBlock(resolveDynamicComponent(e.type==="button"?"button":"a"),{href:l(u.value?1:f.value),onClick:_[9]||(_[9]=withModifiers(x=>s(u.value?1:f.value),["prevent"])),class:normalizeClass([e.lastPageButtonClass,e.paginateButtonsClass,e.disablePagination?e.disabledPaginateButtonsClass:""]),disabled:e.disablePagination},{default:withCtx(()=>[renderSlot(g.$slots,"last-page-button",{},()=>[createTextVNode(toDisplayString(e.lastPageContent),1)])]),_:3},8,["href","class","disabled"]))])):createCommentVNode("",!0)],2))}});var VueAwesomePaginatePlugin={install:e=>
183{e.component("VueAwesomePaginate",_sfc_main$4)}};const vue_awesome_paginate_rvI9ZlY63V=defineNuxtPlugin(e=>{e.vueApp.use(VueAwesomePaginatePlugin)}),plugins=[revive_payload_client_4sVQNw7RlN,unhead_KgADcZ0jPj,plugin$1,payload_client_yVLowv6hDl,navigation_repaint_client_bs2bWDGRIE,check_outdated_build_client_8vK7RkfGxZ,chunk_reload_client_UciE0i6zes,plugin,components_plugin_KR1HBZs4kY,prefetch_client_5tzzN0oIVL,plugin_client_zlbEWIsNDr,motion_jmBwdqbgTJ,Vue3Lottie_client_bMZiOS6AB0,appsflyer_client_ZaPojsRzII,facebook_pixel_client_DZvV2r4W6e,fetch_14DdzPiXUB,freshchat_client_FKGaKxjq8Z,google_analytic_client_jlUduj3px9,gtag_manager_hyg7cn824e,hotjar_client_HJG8no80GI,loading_client_xQex0Whljb,smartech_client_1TMKBjhio5,vue_awesome_paginate_rvI9ZlY63V],RouteProvider=defineComponent({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,r=e.route,i={};for(const n in e.route)Object.defineProperty(i,n,{get:()=>t===e.renderKey?e.route[n]:r[n],enumerable:!0});return provide(PageRouteSymbol,shallowReactive(i)),()=>h(e.vnode,{ref:e.vnodeRef})}}),__nuxt_component_0=defineComponent({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:r,expose:i}){const n=useNuxtApp(),s=ref(),o=inject(PageRouteSymbol,null);let l;i({pageRef:s});const f=inject(LayoutMetaSymbol,null);let d;const u=n.deferHydration();if(n.isHydrating){const y=n.hooks.hookOnce("app:error",u);useRouter$1().beforeEach(y)}return e.pageKey&&watch(()=>e.pageKey,(y,m)=>{y!==m&&n.callHook("page:loading:start")}),()=>h(RouterView,{name:e.name,route:e.route,...t},{default:y=>{const m=haveParentRoutesRendered(o,y.route,y.Component),v=o&&o.matched.length===y.route.matched.length;if(!y.Component){if(d&&!v)return d;u();return}if(d&&f&&!f.isCurrent(y.route))return d;if(m&&o&&(!f||f!=null&&f.isCurrent(o)))return v?d:null;const S=generateRouteKey$1(y,e.pageKey);!n.isHydrating&&!hasChildrenRoutes(o,y.route,y.Component)&&l===S&&n.callHook("page:loading:end"),l=S;const E=!!(e.transition??y.route.meta.pageTransition??appPageTransition),A=E&&_mergeTransitionProps([e.transition,y.route.meta.pageTransition,appPageTransition,{onAfterLeave:()=>{n.callHook("page:transition:finish",y.Component)}}].filter(Boolean)),P=e.keepalive??y.route.meta.keepalive??appKeepalive;return d=_wrapIf(Transition,E&&A,wrapInKeepAlive(P,h(Suspense,{suspensible:!0,onPending:()=>n.callHook("page:start",y.Component),onResolve:()=>{nextTick(()=>n.callHook("page:finish",y.Component).then(()=>n.callHook("page:loading:end")).finally(u))}},{default:()=>{const C=h(RouteProvider,{key:S||void 0,vnode:r.default?h(Fragment,void 0,r.default(y)):y.Component,route:y.route,renderKey:S||void 0,trackRootNodes:E,vnodeRef:s});return P&&(C.type.name=y.Component.type.name||y.Component.type.__name||"RouteProvider"),C}}))).default(),d}})}});function _mergeTransitionProps(e){const t=e.map(r=>({...r,onAfterLeave:r.onAfterLeave?toArray(r.onAfterLeave):void 0}));return defu(...t)}function haveParentRoutesRendered(e,t,r){if(!e)return!1;const i=t.matched.findIndex(n=>{var s;return((s=n.components)==null?void 0:s.default)===(r==null?void 0:r.type)});return!i||i===-1?!1:t.matched.slice(0,i).some((n,s)=>{var o,l,f;return((o=n.components)==null?void 0:o.default)!==((f=(l=e.matched[s])==null?void 0:l.components)==null?void 0:f.default)})||r&&generateRouteKey$1({route:t,Component:r})!==generateRouteKey$1({route:e,Component:r})}function hasChildrenRoutes(e,t,r){return e?t.matched.findIndex(n=>{var s;return((s=n.components)==null?void 0:s.default)===(r==null?void 0:r.type)})<t.matched.length-1:!1}const LayoutLoader=defineComponent({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>h(layouts[e.name],e.layoutProps,t.slots)}}),__nuxt_component_1=defineComponent({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const r=useNuxtApp(),i=inject(PageRouteSymbol),n=i===useRoute$1()?useRoute():i,s=computed(()=>{let f=unref(e.name)??n.meta.layout??"default";return f&&!(f in layouts)&&e.fallback&&(f=unref(e.fallback)),f}),o=ref();t.expose({layoutRef:o});const l=r.deferHydration();if(r.isHydrating){const f=r.hooks.hookOnce("app:error",l);useRouter$1().beforeEach(f)}return()=>{const f=s.value&&s.value in layouts,d=n.meta.layoutTransition??appLayoutTransition;return _wrapIf(Transition,f&&d,{default:()=>h(Suspense,{suspensible:!0,onResolve:()=>{nextTick(l)}},{default:()=>h(LayoutProvider,{layoutProps:mergeProps(t.attrs,{ref:o}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!d},t.slots)})}).default()}}}),LayoutProvider=defineComponent({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const r=e.name;return e.shouldProvide&&provide(LayoutMetaSymbol,{isCurrent:i=>r===(i.meta.layout??"default")}),()=>{var i,n;return!r||typeof r=="string"&&!(r in layouts)?(n=(i=t.slots).default)==null?void 0:n.call(i):h(LayoutLoader,{key:r,layoutProps:e.layoutProps,name:r},t.slots)}}}),_hoisted_1$1={key:0,class:"loader-overlay","aria-live":"polite","aria-busy":"true"},_sfc_main$3=defineComponent({__name:"Loader",props:{show:{type:Boolean}},setup(e){return(t,r)=>t.show?(openBlock(),createElementBlock("div",_hoisted_1$1,r[0]||(r[0]=[createBaseVNode("div",{class:"loader-content"},[createBaseVNode("div",{class:"spinner"}),createBaseVNode("p",{class:"loader-text"},"Loading...")],-1)]))):createCommentVNode("",!0)}}),_export_sfc=(e,t)=>{const r=e.__vccOpts||e;for(const[i,n]of t)r[i]=n;return r},Loader=_export_sfc(_sfc_main$3,[["__scopeId","data-v-6a46a119"]]),_sfc_main$2={__name:"app",setup(e){const t=useRuntimeConfig(),r=useLoading(),i=useRouter(),n=async()=>
183{if(window.smartech&&window.smartech("dispatch","page browse",{}),window.pulse){const s=t.public.VAPID_PUBLIC_KEY;await pulse.enableWebPush(s,"/sw.js")}};return onMounted(()=>{n(),watch(()=>i.currentRoute.value.fullPath,()=>{setTimeout(n,500)})}),(s,o)=>{const l=__nuxt_component_0,f=__nuxt_component_1;return openBlock(),createBlock(f,null,{default:withCtx(()=>[createVNode(Loader,{show:unref(r)},null,8,["show"]),createVNode(l)]),_:1})}}},_sfc_main$1={__name:"nuxt-error-page",props:{error:Object},setup(e){const r=e.error;r.stack&&r.stack.split(`
184`).splice(1).map(y=>({text:y.replace("webpack:/","").replace(".vue",".js").trim(),internal:y.includes("node_modules")&&!y.includes(".cache")||y.includes("internal")||y.includes("new Promise")})).map(y=>`<span class="stack${y.internal?" internal":""}">${y.text}</span>`).join(`
185`);const i=Number(r.statusCode||500),n=i===404,s=r.statusMessage??(n?"Page Not Found":"Internal Server Error"),o=r.message||r.toString(),l=void 0,u=n?defineAsyncComponent(()=>__vitePreload(()=>import("./DFecPiR7.js"),__vite__mapDeps([101,1,102]),import.meta.url)):defineAsyncComponent(()=>__vitePreload(()=>import("./CGym2vQ0.js"),__vite__mapDeps([103,104]),import.meta.url));return(y,m)=>(openBlock(),createBlock(unref(u),normalizeProps(guardReactiveProps({statusCode:unref(i),statusMessage:unref(s),description:unref(o),stack:unref(l)})),null,16))}},_hoisted_1={key:0},_sfc_main={__name:"nuxt-root",setup(e){const t=()=>null,r=useNuxtApp(),i=r.deferHydration();if(r.isHydrating){const f=r.hooks.hookOnce("app:error",i);useRouter$1().beforeEach(f)}const n=!1;provide(PageRouteSymbol,useRoute$1()),r.hooks.callHookWith(f=>f.map(d=>d()),"vue:setup");const s=useError(),o=!1;onErrorCaptured((f,d,u)=>{if(r.hooks.callHook("vue:error",f,d,u).catch(y=>console.error("[nuxt] Error in `vue:error` hook",y)),isNuxtError(f)&&(f.fatal||f.unhandled))return r.runWithContext(()=>showError(f)),!1});const l=!1;return(f,d)=>(openBlock(),createBlock(Suspense,{onResolve:unref(i)},{default:withCtx(()=>[unref(o)?(openBlock(),createElementBlock("div",_hoisted_1)):unref(s)?(openBlock(),createBlock(unref(_sfc_main$1),{key:1,error:unref(s)},null,8,["error"])):unref(l)?(openBlock(),createBlock(unref(t),{key:2,context:unref(l)},null,8,["context"])):unref(n)?(openBlock(),createBlock(resolveDynamicComponent(unref(n)),{key:3})):(openBlock(),createBlock(unref(_sfc_main$2),{key:4}))]),_:1},8,["onResolve"]))}};let entry;{let e;entry=async function(){var o,l;if(e)return e;const i=!!(((o=window.__NUXT__)==null?void 0:o.serverRendered)??((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?createSSRApp(_sfc_main):createApp(_sfc_main),n=createNuxtApp({vueApp:i});async function s(f){await n.callHook("app:error",f),n.payload.error=n.payload.error||createError(f)}i.config.errorHandler=s,n.hook("app:suspense:resolve",()=>{i.config.errorHandler===s&&(i.config.errorHandler=void 0)});try{await applyPlugins(n,plugins)}catch(f){s(f)}try{await n.hooks.callHook("app:created",i),await n.hooks.callHook("app:beforeMount",i),i.mount(vueAppRootContainer),await n.hooks.callHook("app:mounted",i),await nextTick()}catch(f){s(f)}return i},e=entry().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{parseQuery$1 as $,resolveComponent as A,isRef as B,createBlock as C,createStaticVNode as D,reactive as E,Fragment as F,renderSlot as G,normalizeProps as H,guardReactiveProps as I,mergeProps as J,useRouter$1 as K,onUnmounted as L,useLoading as M,Loader as N,withDirectives as O,vShow as P,useRoute$1 as Q,nextTick as R,resolveDirective as S,encodeParam$1 as T,h as U,onUpdated as V,useRoute as W,onNuxtReady as X,requestIdleCallback as Y,cancelIdleCallback as Z,_export_sfc as _,createBaseVNode as a,nuxtLinkDefaults as a0,hasProtocol as a1,resolveRouteObject as a2,joinURL as a3,navigateTo as a4,withTrailingSlash as a5,withoutTrailingSlash as a6,asyncDataDefaults as a7,shallowRef as a8,toRef as a9,watchPostEffect as aA,readonly as aB,Vue3Lottie as aC,vModelText as aD,onBeforeMount as aa,onScopeDispose as ab,createError as ac,getCurrentInstance as ad,getCurrentScope as ae,shallowReadonly as af,toRefs as ag,withKeys as ah,Teleport as ai,effectScope as aj,customRef as ak,toHandlerKey as al,camelize as am,useId as an,watchEffect as ao,resolveDynamicComponent as ap,withModifiers as aq,useSlots as ar,inject as as,provide as at,onBeforeUpdate as au,Comment as av,cloneVNode as aw,vModelSelect as ax,markRaw as ay,mergeDefaults as az,createVNode as b,createElementBlock as c,createTextVNode as d,defineComponent as e,createCommentVNode as f,computed as g,onMounted as h,onBeforeUnmount as i,renderList as j,unref as k,normalizeClass as l,useNuxtApp as m,normalizeStyle as n,openBlock as o,publicAssetsURL as p,withAsyncContext as q,ref as r,useRuntimeConfig as s,toDisplayString as t,useHead as u,defineStore as v,withCtx as w,defineAsyncComponent as x,__vitePreload as y,watch as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.