1234567891011121314151617 |
- <<<<<<<< HEAD:dist/index-31fe0016-1713538570197.js
- import{bL as BaseTransition,bM as BaseTransitionPropsValidators,bN as Comment,bO as EffectScope,F as Fragment,bP as KeepAlive,bQ as ReactiveEffect,bR as Static,bS as Suspense,bT as Teleport,bU as Text,Y as Transition,bE as TransitionGroup,bV as VueElement,bW as assertNumber,bX as callWithAsyncErrorHandling,bY as callWithErrorHandling,bZ as camelize,b_ as capitalize,a2 as cloneVNode,b$ as compatUtils,W as computed,c0 as createApp,c1 as createBlock,c2 as createCommentVNode,bt as createElementBlock,bu as createBaseVNode,c3 as createHydrationRenderer,c4 as createPropsRestProxy,c5 as createRenderer,c6 as createSSRApp,c7 as createSlots,c8 as createStaticVNode,k as createTextVNode,f as createVNode,c9 as customRef,ca as defineAsyncComponent,d as defineComponent,cb as defineCustomElement,cc as defineEmits,cd as defineExpose,ce as defineModel,cf as defineOptions,cg as defineProps,ch as defineSSRCustomElement,ci as defineSlots,cj as devtools,ck as effect,cl as effectScope,cm as getCurrentInstance,cn as getCurrentScope,co as getTransitionRawChildren,cp as guardReactiveProps,a9 as h$1,cq as handleError,cr as hasInjectionContext,cs as hydrate,ct as initCustomFormatter,cu as initDirectivesForSSR,a4 as inject,cv as isMemoSame,cw as isProxy,bh as isReactive,cx as isReadonly,cy as isRef,cz as isRuntimeOnly,cA as isShallow,B as isVNode,cB as markRaw,cC as mergeDefaults,cD as mergeModels,x as mergeProps,Q as nextTick,cE as normalizeClass,cF as normalizeProps,ar as normalizeStyle,cG as onActivated,cH as onBeforeMount,o as onBeforeUnmount,a8 as onBeforeUpdate,cI as onDeactivated,cJ as onErrorCaptured,p as onMounted,cK as onRenderTracked,cL as onRenderTriggered,cM as onScopeDispose,cN as onServerPrefetch,R as onUnmounted,aj as onUpdated,bs as openBlock,cO as popScopeId,a3 as provide,cP as proxyRefs,cQ as pushScopeId,cR as queuePostFlushCb,e as reactive,cS as readonly,r as ref,cT as registerRuntimeCompiler,cU as render,cV as renderList,cW as renderSlot,X as resolveComponent,cX as resolveDirective,cY as resolveDynamicComponent,cZ as resolveFilter,c_ as resolveTransitionHooks,c$ as setBlockTracking,d0 as setDevtoolsHook,d1 as setTransitionHooks,d2 as shallowReactive,d3 as shallowReadonly,d4 as shallowRef,d5 as ssrContextKey,d6 as ssrUtils,d7 as stop,d8 as toDisplayString,d9 as toHandlerKey,da as toHandlers,db as toRaw,ah as toRef,bI as toRefs,dc as toValue,dd as transformVNodeArgs,de as triggerRef,bw as unref,df as useAttrs,dg as useCssModule,dh as useCssVars,di as useModel,dj as useSSRContext,dk as useSlots,dl as useTransitionState,dm as vModelCheckbox,dn as vModelDynamic,dp as vModelRadio,dq as vModelSelect,aB as vModelText,aq as vShow,dr as version$1,ds as warn,y as watch,ai as watchEffect,dt as watchPostEffect,du as watchSyncEffect,dv as withAsyncContext,dw as withCtx,dx as withDefaults,ap as withDirectives,dy as withKeys,dz as withMemo,dA as withModifiers,dB as withScopeId,a as useRoute,dC as NInputNumber,w as NSpace,j as NButton,v as NImage,dD as getSecond,M as dayjs,c as useUserStore,D as iframeDislableKeyboard,dE as NSkeleton,bF as commonjsGlobal,bG as getDefaultExportFromCjs,l as NModal,b as useMessage,N as NForm,g as NFormItem,ay as NPopselect,C as NSpin,A as eventGlobal,q as NTabs,t as NTabPane,T as NTooltip,S as NPopover,G as NSelect,dF as getAugmentedNamespace,m as NCheckbox,av as NCheckboxGroup,aJ as NAvatar,h as NInput,aG as NDatePicker,aH as request$1,n as useDialog,u as useRouter,dG as NDrawer,dH as NDrawerContent,Z as px2vw,s as storage,dI as ACCESS_TOKEN_ADMIN}from"./index-b2343721-1713538570197.js";import{a as vaildMusicScoreUrl,v as vaildUrl}from"./urlUtils-ae95598a-1713538570197.js";import{T as TCPlayer,r as iconplay,u as iconpause,v as iconSpeed,w as tickMp3,x as iconReplay$2,V as Vudio,C as CardPreview,i as teacherChapterLessonCoursewareList,g as gradeToCN,q as lessonTrainingAdd,o as evaluateDifficult,y as lessonPreTrainingV2Detail,z as lessonPreTrainingDelete,A as lessonPreTrainingV2Save,c as lessonCoursewareDetail,L as ListenModal,I as InstruemntDetail,M as MusicDetail,B as TheotyDetail,d as api_teacherChapterLessonCoursewareDetail,D as courseScheduleUpdate}from"./index-57c90c04-1713538570197.js";import{N as NSlider}from"./Slider-c8b0e55e-1713538570197.js";import{d as dingPng$1,m as moveTop}from"./ding-8e9054d5-1713538570197.js";import{s as state}from"./state-a295dc13-1713538570197.js";import{N as NScrollbar}from"./Scrollbar-7840b5d4-1713538570197.js";import{r as resourceTypeArray}from"./searchArray-8a310045-1713538570197.js";import{u as useCatchStore}from"./catchData-14d07821-1713538570197.js";import{T as TheSearch}from"./index-95896ef2-1713538570197.js";import{i as isCollaose,C as CardType,m as materialQueryPage,f as favorite}from"./api-2c5a2b36-1713538570197.js";import{a as useThrottleFn,u as useDebounceFn}from"./index-8d8ab9a1-1713538570197.js";import{T as TheEmpty}from"./index-a09c0e92-1713538570197.js";import{u as usePrepareStore,T as TrainUpdate,S as SelectMusic$1}from"./index-838a29da-1713538570197.js";import{u as useResizeObserver}from"./index-57203ea3-1713538570197.js";import{g as getStudentList$1,b as getStudentAfterWork}from"./api-2433dab2-1713538570197.js";import{T as TheNoticeBar}from"./index-a9944152-1713538570197.js";import{T as TrainType}from"./index-a2be37cb-1713538570197.js";import{g as getGradeYearList,c as classGroupList}from"./api-52c5c962-1713538570197.js";import{d as defultHeade}from"./teacherIcon-b8e3946d-1713538570197.js";import{S as SearchInput}from"./index-251c9e26-1713538570197.js";import{i as getStudentList}from"./api-6b172978-1713538570197.js";const compile=()=>{},vue_runtime_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,EffectScope,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text,Transition,TransitionGroup,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize,cloneVNode,compatUtils,compile,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,get devtools(){return devtools},effect,effectScope,getCurrentInstance,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h:h$1,handleError,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$1,warn,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"})),timerWrap="_timerWrap_1ilvi_1",timerTop="_timerTop_1ilvi_8",timerTopPane="_timerTopPane_1ilvi_19",timerTopPaneActive="_timerTopPaneActive_1ilvi_25",timerItemInfo="_timerItemInfo_1ilvi_30",timerItemInset="_timerItemInset_1ilvi_38",timerItemInfoTop="_timerItemInfoTop_1ilvi_43",dot="_dot_1ilvi_50",dotTop="_dotTop_1ilvi_58",timerItemTopCore="_timerItemTopCore_1ilvi_62",nowTimerWrap="_nowTimerWrap_1ilvi_74",btnGroupModal$4="_btnGroupModal_1ilvi_86",palyIcon="_palyIcon_1ilvi_93",playText="_playText_1ilvi_97",countInput="_countInput_1ilvi_100",dotBtm="_dotBtm_1ilvi_120",chioseWrap="_chioseWrap_1ilvi_124",add$1="_add_1ilvi_144",minus$1="_minus_1ilvi_149",chioseHidden="_chioseHidden_1ilvi_154",numberWrap="_numberWrap_1ilvi_157",styles$n={timerWrap,timerTop,timerTopPane,timerTopPaneActive,timerItemInfo,timerItemInset,timerItemInfoTop,dot,dotTop,timerItemTopCore,nowTimerWrap,btnGroupModal:btnGroupModal$4,palyIcon,playText,countInput,dotBtm,chioseWrap,add:add$1,minus:minus$1,chioseHidden,numberWrap},flipper_vue_vue_type_style_index_0_lang="",_export_sfc$1=(e,t)=>{const r=e.__vccOpts||e;for(const[a,n]of t)r[a]=n;return r},_sfc_main$1={name:"FlipClock",data(){return{isFlipping:!1,flipType:"down",frontTextFromData:0,backTextFromData:1}},props:{frontText:{type:[Number,String],default:0},backText:{type:[Number,String],default:1},duration:{type:Number,default:600}},methods:{_textClass(e){return"number"+e},_flip(e,t,r){console.log(e,t,r,"=====>"),this.frontTextFromData=t,this.backTextFromData=r,this.flipType=e,this.isFlipping=!0,setTimeout(()=>{this.isFlipping=!1,this.frontTextFromData=r},this.duration)},flipDown(e,t){this._flip("down",e,t)},flipUp(e,t){this._flip("up",e,t)},setFront(e){this.frontTextFromData=e},setBack(e){this.backTextFromData=e}},created(){this.frontTextFromData=this.frontText,this.backTextFromData=this.backText}};function _sfc_render$1(e,t,r,a,n,i){return openBlock(),createElementBlock("div",{class:normalizeClass(["M-Flipper",[n.flipType,{go:n.isFlipping}]])},[createBaseVNode("div",{class:normalizeClass(["digital front",i._textClass(n.frontTextFromData)])},null,2),createBaseVNode("div",{class:normalizeClass(["digital back",i._textClass(n.backTextFromData)])},null,2)],2)}const Flipper=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]),playIcon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAcCAYAAABlL09dAAAAAXNSR0IArs4c6QAAAR1JREFUSEvV1rFOwlAYxfH/eQx2VgcfBJ+AOMqCE5uB6OITyAPwCPogKBMOOhITQuLkaq45iU1KKL2X9nbgWzq0/X03/dpzKzoqhRAE3AAD4BNYSFq17Wf4HngoQb/AEzCT9NO0geEvoFcBbICxpJcmuOEQufEZuJXkRsmVAhvzI5kCc0l+VNFKhQtoCYwk+Vhbp8LGkobbBC5WWjvcNnDRoHK4OeDK4eaCy8O9lrTODbvBN3DRBWx8clbwDrjMveJXYCjpPRfsLJk5bossyQE7Vh2ve+nXBjbkOPWXd1BNYIfQ3DFat8OcCmePzYPh5MjjyuGkwB9A/8hmenQ4KfAd8Fi6MGmHiMK+IIQwAq6A7f9L/ha7MXbef0Gd1B+5cJ8q7osJlgAAAABJRU5ErkJggg==",suspend="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAcCAYAAAB75n/uAAAAAXNSR0IArs4c6QAAAMlJREFUSEvtlj0OwUEQxX+voXARtZBwAgWVA2hVOgfQ6FQ0DkLCBSioxRncgObJikr+X4msaqfaZF/ey8zO7BsRORT4bQ+AOdAEbuEsaVdV23YDWAAjoA4cgJmkuz7k2wyyYVUR23ug/8VxBVpB4Ay0MwQukjplWdjuAccc3DgIPIBaBuApKaRbGLYnwCYHtAwCzmOQ9H6jorA9BVY5mHUSCC2eSpS6KA1amoP0m/7FD6Jb5q+m3wVORaYfdqJ4a0v0xausz3+9fwE+w+v3NO9E8gAAAABJRU5ErkJggg==",add="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAJhJREFUWEftlzEOQEAURPffgwOhRkPrUFoa1NaBuMeXLyTqsQmS2X7mT95uMvvFgaeffOLUtYdcXFPl6YJYCSIyTT/6VVWjY77IVhVpjHjBAbph1vvAuswgL0hkgxmABEiABEggGIGr1a5iQQoF0ViBWYvKvdUQoycaC/GBAOfH4rUrQBEGe4QMQAIkQAIk8FsCry+nodbzHQqVmosCTFkgAAAAAElFTkSuQmCC",minus="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAECAYAAADvRz3UAAAAAXNSR0IArs4c6QAAADNJREFUKFNjXLJ6myfDf4ZZ////l2GgI2BkZHzCwMiQxrhk1bbH9LYc5k+QIwaBAwY4CgCYmB5vQGvODAAAAABJRU5ErkJggg==",soundWav=""+new URL("timer-ee5a21d4.wav",import.meta.url).href,Countdown=defineComponent({name:"timer-countdown",setup(){ref("positive"),useRoute();const e=ref(),t=ref(),r=ref(),a=ref(),n=ref(null),i=ref(null),s=ref(new Date);i.value=setInterval(()=>{s.value=new Date},1e3);const o=ref(0),l=ref(0),c=ref(0),f=ref(!1),g=ref([e,t,r,a]),u=()=>{const C="0000";l.value=0,c.value=0;for(let T=0;T<g.value.length;T++)g.value[T].value.setFront(C[T])},p=new Audio(soundWav),d=()=>{f.value=!0,n.value=setInterval(()=>{const C=getSecond(o.value);if(o.value==4&&p.play(),o.value<=0){E();return}o.value--;const T=getSecond(o.value);for(let F=0;F<g.value.length;F++)C[F]!==T[F]&&g.value[F].value.flipDown(C[F],T[F])},1e3)},m=()=>{setTimeout(()=>{f.value=!1,p.currentTime=0,p.pause(),n.value&&(clearInterval(n.value),n.value=null)},600)},E=()=>{f.value?(m(),o.value=0,p.currentTime=0,p.pause(),setTimeout(()=>{u()},600)):(o.value=0,u())};onMounted(()=>{nextTick(()=>{u()})}),onUnmounted(()=>{p.pause()});const y=C=>{const T=getSecond(o.value);o.value+=C,o.value>3599?o.value=3599:o.value;const F=getSecond(o.value);for(let M=0;M<g.value.length;M++)T[M]!==F[M]&&g.value[M].value.flipDown(T[M],F[M]);l.value=Math.floor(o.value/60),c.value=Math.floor(o.value%60)},S=C=>{const T=getSecond(o.value);o.value-=C,o.value<0?o.value=0:o.value;const F=getSecond(o.value);for(let M=0;M<g.value.length;M++)T[M]!==F[M]&&g.value[M].value.flipUp(T[M],F[M]);l.value=Math.floor(o.value/60),c.value=Math.floor(o.value%60)},b=C=>{let T=parseInt(C.target.value);Number.isNaN(T)&&(T=0),T>59&&(T=59),l.value=T;const F=getSecond(o.value);console.log(l.value),o.value=l.value*60+c.value;const M=getSecond(o.value);console.log(M,F);for(let D=0;D<g.value.length;D++)F[D]!==M[D]&&g.value[D].value.flipUp(F[D],M[D])},A=C=>{let T=parseInt(C.target.value);Number.isNaN(T)&&(T=0),T>59&&(T=59),c.value=T;const F=getSecond(o.value);o.value=l.value*60+c.value;const M=getSecond(o.value);for(let D=0;D<g.value.length;D++)F[D]!==M[D]&&g.value[D].value.flipUp(F[D],M[D])};return watch(()=>o.value,C=>{l.value=Math.floor(C/60),c.value=Math.floor(C%60)}),()=>createVNode("div",{class:styles$n.timerItemWrap},[createVNode("div",{class:styles$n.timerItemInfo},[createVNode("div",{class:styles$n.timerItemInset},[createVNode("div",{class:styles$n.timerItemInfoTop},[createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 分")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:e},null),createVNode(Flipper,{ref:t},null)]),createVNode("div",{class:[styles$n.chioseWrap,f.value?styles$n.chioseHidden:""]},[createVNode("img",{src:add,class:styles$n.add,alt:"",onClick:()=>y(60)},null),createVNode(NInputNumber,{class:styles$n.countInput,min:0,max:59,"show-button":!1,onInput:b,value:l.value,"onUpdate:value":C=>l.value=C},null),createVNode("img",{src:minus,class:styles$n.minus,alt:"",onClick:()=>S(60)},null)])])]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("div",{class:styles$n.dot},null),createVNode("div",{class:styles$n.dot},null),createVNode("h4",{class:styles$n.dotBtm},null)]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 秒 ")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:r},null),createVNode(Flipper,{ref:a},null)]),createVNode("div",{class:[styles$n.chioseWrap,f.value?styles$n.chioseHidden:""]},[createVNode("img",{src:add,class:styles$n.add,alt:"",onClick:()=>y(1)},null),createVNode(NInputNumber,{class:styles$n.countInput,min:0,max:59,"show-button":!1,value:c.value,"onUpdate:value":C=>c.value=C,onInput:A},null),createVNode("img",{src:minus,class:styles$n.minus,alt:"",onClick:()=>S(1)},null)])])])])])]),createVNode(NSpace,{class:styles$n.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>E()},{default:()=>[createTextVNode("重置")]}),f.value?createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>m()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("暂停")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:suspend},null)}):createVNode(NButton,{round:!0,type:"primary",disabled:o.value==0,"icon-placement":"right",onClick:()=>d()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("开始")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:playIcon},null)})]})])}}),Positive=defineComponent({name:"timer-positive",setup(){ref("positive"),useRoute();const e=ref(),t=ref(),r=ref(),a=ref(),n=ref(null),i=ref(null),s=ref(new Date);i.value=setInterval(()=>{s.value=new Date},1e3);const o=ref(0),l=ref(!1),c=ref([e,t,r,a]),f=()=>{const d="0000";for(let m=0;m<c.value.length;m++)c.value[m].value.setFront(d[m])},g=()=>{l.value=!0,n.value=setInterval(()=>{const d=getSecond(o.value);o.value++;const m=getSecond(o.value);for(let E=0;E<c.value.length;E++)d[E]!==m[E]&&c.value[E].value.flipDown(d[E],m[E])},1e3)},u=()=>{l.value=!1,n.value&&(clearInterval(n.value),n.value=null)},p=()=>{u(),o.value=0,setTimeout(()=>{f()},600)};return onMounted(()=>{nextTick(()=>{f()})}),()=>createVNode("div",{class:styles$n.timerItemWrap},[createVNode("div",{class:styles$n.timerItemInfo},[createVNode("div",{class:styles$n.timerItemInset},[createVNode("div",{class:styles$n.timerItemInfoTop},[createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 分")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:e},null),createVNode(Flipper,{ref:t},null)])])]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",{class:styles$n.dotTop},null),createVNode("div",{class:styles$n.dot},null),createVNode("div",{class:styles$n.dot},null)]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 秒")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:r},null),createVNode(Flipper,{ref:a},null)])])])]),createVNode("div",{class:styles$n.nowTimerWrap},[dayjs(s.value).format("YYYY年MM月DD日 HH:mm:ss")])])]),createVNode(NSpace,{class:styles$n.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>p()},{default:()=>[createTextVNode("重置")]}),l.value?createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>u()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("暂停")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:suspend},null)}):createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>g()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("开始")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:playIcon},null)})]})])}}),TimerMeter=defineComponent({name:"data-module",setup(){const e=ref("positive");useRoute();const t=r=>{e.value=r};return()=>createVNode("div",null,[createVNode("div",{class:styles$n.timerWrap},[createVNode("div",{class:styles$n.timerTop},[createVNode("div",{class:[styles$n.timerTopPane,e.value=="positive"?styles$n.timerTopPaneActive:""],onClick:()=>{t("positive")}},[createTextVNode("正计时")]),createVNode("div",{class:[styles$n.timerTopPane,e.value=="countdown"?styles$n.timerTopPaneActive:""],onClick:()=>{t("countdown")}},[createTextVNode("倒计时")])]),e.value=="positive"?createVNode(Positive,null,null):createVNode(Countdown,null,null)])])}}),downMove="_downMove_137wx_1",downMoveBg="_downMoveBg_137wx_9",dingPng="_dingPng_137wx_16",closeAble="_closeAble_137wx_25",submitAppBtn="_submitAppBtn_137wx_53",styles$m={downMove,downMoveBg,dingPng,closeAble,submitAppBtn},PlaceholderTone=defineComponent({props:["item","message"],emits:["close"],name:"placeholderTone",setup(e,{emit:t}){return()=>createVNode(Fragment,null,[createVNode("div",{class:styles$m.downMove},[createVNode("img",{src:dingPng$1,class:styles$m.dingPng,alt:""},null),createVNode("img",{src:moveTop,class:styles$m.downMoveBg,alt:""},null),createVNode("h2",null,[createTextVNode("温馨提示")]),createVNode("p",null,[e.message||"调音器功能暂未开放,敬请期待!"]),createVNode(NSpace,{style:{padding:"25px 0 0 0"},justify:"center"},{default:()=>[createVNode(NButton,mergeProps({id:"submitBtn"},{class:styles$m.submitAppBtn,round:!0,type:"primary",onClick:()=>{t("close")}}),{default:()=>[createTextVNode("我知道了")]})]})])])}}),playContent="_playContent_1v44m_1",assignHomeworkClose="_assignHomeworkClose_1v44m_10",coursewarePlay="_coursewarePlay_1v44m_23",playModel="_playModel_1v44m_29",headerContainer="_headerContainer_1v44m_38",backBtn="_backBtn_1v44m_58",headRight="_headRight_1v44m_70",rightBtn="_rightBtn_1v44m_79",menu$1="_menu_1v44m_91",tabsContent="_tabsContent_1v44m_102",wraps="_wraps_1v44m_113",itemDiv="_itemDiv_1v44m_119",itemActive="_itemActive_1v44m_132",acitveAnimation="_acitveAnimation_1v44m_135",show="_show_1v44m_138",hide$2="_hide_1v44m_141",rightFixedBtns="_rightFixedBtns_1v44m_154",fullBtn="_fullBtn_1v44m_161",point="_point_1v44m_166",iconUp="_iconUp_1v44m_176",iconDown="_iconDown_1v44m_177",btnsDisabled="_btnsDisabled_1v44m_180",loadWrap="_loadWrap_1v44m_210",drawerContainer="_drawerContainer_1v44m_221",cardContainer$1="_cardContainer_1v44m_227",sectionAnimate$2="_sectionAnimate_1v44m_256",sectionAnimateUp="_sectionAnimateUp_1v44m_262",switchDisplaySection="_switchDisplaySection_1v44m_268",switchSpace="_switchSpace_1v44m_282",btnItem$1="_btnItem_1v44m_285",attendClassModal="_attendClassModal_1v44m_307",modelAttendContent="_modelAttendContent_1v44m_331",modelAttendBtnGroup="_modelAttendBtnGroup_1v44m_337",trainClassModal="_trainClassModal_1v44m_345",workContainer="_workContainer_1v44m_351",toolboxImg="_toolboxImg_1v44m_355",isDragIng="_isDragIng_1v44m_364",toolClassImg="_toolClassImg_1v44m_368",booxToolWrap="_booxToolWrap_1v44m_383",booxToolItem="_booxToolItem_1v44m_394",setTimeImage="_setTimeImage_1v44m_411",beatImage="_beatImage_1v44m_417",changePwdModal="_changePwdModal_1v44m_423",imChatModal="_imChatModal_1v44m_426",modeWrap="_modeWrap_1v44m_429",showModalTone="_showModalTone_1v44m_434",studentRemove$3="_studentRemove_1v44m_437",removeVisiable$2="_removeVisiable_1v44m_449",btnGroupModal$3="_btnGroupModal_1v44m_467",iframePpt="_iframePpt_1v44m_474",pptBox="_pptBox_1v44m_479",rightColumn="_rightColumn_1v44m_488",rightItem$1="_rightItem_1v44m_502",active$1="_active_1v44m_513",rightTips="_rightTips_1v44m_535",itemDisabled="_itemDisabled_1v44m_567",itemHide="_itemHide_1v44m_571",rightColumnZ="_rightColumnZ_1v44m_574",rightColumnHide="_rightColumnHide_1v44m_577",rightHideIcon$1="_rightHideIcon_1v44m_583",rightIconShow="_rightIconShow_1v44m_593",rightIn="_rightIn_1v44m_1",instrumentContainer="_instrumentContainer_1v44m_605",bottomColumn="_bottomColumn_1v44m_610",bottomItem="_bottomItem_1v44m_617",bottomTips="_bottomTips_1v44m_629",selectMusicModal$1="_selectMusicModal_1v44m_665",selectClassModal="_selectClassModal_1v44m_678",workVisiable="_workVisiable_1v44m_681",workTrain="_workTrain_1v44m_688",resourceMain="_resourceMain_1v44m_701",styles$l={playContent,assignHomeworkClose,coursewarePlay,playModel,headerContainer,backBtn,headRight,rightBtn,menu:menu$1,tabsContent,wraps,itemDiv,itemActive,acitveAnimation,show,hide:hide$2,rightFixedBtns,fullBtn,point,iconUp,iconDown,btnsDisabled,loadWrap,drawerContainer,cardContainer:cardContainer$1,sectionAnimate:sectionAnimate$2,sectionAnimateUp,switchDisplaySection,switchSpace,btnItem:btnItem$1,attendClassModal,modelAttendContent,modelAttendBtnGroup,trainClassModal,workContainer,toolboxImg,isDragIng,toolClassImg,booxToolWrap,booxToolItem,setTimeImage,beatImage,changePwdModal,imChatModal,modeWrap,showModalTone,studentRemove:studentRemove$3,removeVisiable:removeVisiable$2,btnGroupModal:btnGroupModal$3,iframePpt,pptBox,rightColumn,rightItem:rightItem$1,active:active$1,rightTips,itemDisabled,itemHide,rightColumnZ,rightColumnHide,rightHideIcon:rightHideIcon$1,rightIconShow,rightIn,instrumentContainer,bottomColumn,bottomItem,bottomTips,selectMusicModal:selectMusicModal$1,selectClassModal,workVisiable,workTrain,resourceMain},plyr="",musicScore$1="_musicScore_6u588_1",container="_container_6u588_7",musicModel="_musicModel_6u588_15",errorModel="_errorModel_6u588_22",startBtn="_startBtn_6u588_34",loading="_loading_6u588_44",skeletonWrap="_skeletonWrap_6u588_50",skeleton="_skeleton_6u588_50",styles$k={musicScore:musicScore$1,container,musicModel,errorModel,startBtn,loading,skeletonWrap,skeleton};var inBrowser=typeof window<"u",visibility;function usePageVisibility(){if(!visibility&&(visibility=ref("visible"),inBrowser)){const e=()=>{visibility.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return visibility}const MusicScore=defineComponent({name:"musicScore",props:{music:{type:Object,default:()=>({})},activeModel:{type:Boolean},activeStatus:{type:Boolean}},emits:["setIframe"],setup(e,{emit:t}){const r=useUserStore(),a=ref(!1),n=usePageVisibility();watch(n,g=>{console.log("🚀 ~ value:",g),g=="hidden"&&(a.value=!1)});const i=ref(),s=ref(!1),o=ref(!1),l=ref(!1),c="".concat(vaildMusicScoreUrl(),"/instrument/?v=").concat(+new Date,"&showGuide=true&platform=pc&zoom=1.2&modelType=practise&id=").concat(e.music.content,"&Authorization=").concat(r.getToken),f=()=>{fetch(c).then(()=>{l.value=!0,o.value=!1}).catch(()=>{o.value=!0})};return watch(()=>e.music,()=>{l.value||(o.value=!1,e.music.display&&f())}),watch(()=>e.activeModel,()=>{i.value.contentWindow&&e.activeStatus&&i.value.contentWindow.postMessage({api:"attendClassBarStatus",hideMenu:!e.activeModel},"*")}),()=>createVNode("div",{class:styles$k.musicScore},[createVNode("iframe",{ref:i,onLoad:g=>{t("setIframe",i.value),s.value=!0,iframeDislableKeyboard(g.target)},class:[styles$k.container,"musicIframe"],frameborder:"0",src:c},null),s.value&&createVNode("div",{class:styles$k.skeletonWrap},[createVNode("div",null,[createVNode(NSkeleton,{text:!0,repeat:8},null)])])])}});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,a=e.length,n;for(r=0;r<a;r+=1){n=e[r].prototype;for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t.prototype[i]=n[i])}}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,a=this.audios.length;for(r=0;r<a;r+=1)this.audios[r].pause()},resume:function(){var r,a=this.audios.length;for(r=0;r<a;r+=1)this.audios[r].resume()},setRate:function(r){var a,n=this.audios.length;for(a=0;a<n;a+=1)this.audios[a].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,a=this.audios.length;for(r=0;r<a;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(r,a){var n=0,i=[],s;switch(r){case"int16":case"uint8c":s=1;break;default:s=1.1;break}for(n=0;n<a;n+=1)i.push(s);return i}function t(r,a){return r==="float32"?new Float32Array(a):r==="int16"?new Int16Array(a):r==="uint8c"?new Uint8ClampedArray(a):e(r,a)}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),a,n=e.length;for(a=0;a<n;a+=1)r[a]=Math.abs(e[a]);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"}function BMEnterFrameEvent(e,t,r,a){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=a<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,a){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=a<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 a,n,i,s,o,l,c,f;switch(s=Math.floor(e*6),o=e*6-s,l=r*(1-t),c=r*(1-o*t),f=r*(1-(1-o)*t),s%6){case 0:a=r,n=f,i=l;break;case 1:a=c,n=r,i=l;break;case 2:a=l,n=r,i=f;break;case 3:a=l,n=c,i=r;break;case 4:a=f,n=l,i=r;break;case 5:a=r,n=l,i=c;break}return[a,n,i]}function RGBtoHSV(e,t,r){var a=Math.max(e,t,r),n=Math.min(e,t,r),i=a-n,s,o=a===0?0:i/a,l=a/255;switch(a){case n:s=0;break;case e:s=t-r+i*(t<r?6:0),s/=6*i;break;case t:s=r-e+i*2,s/=6*i;break;case r:s=e-t+i*4,s/=6*i;break}return[s,o,l]}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(a,n,i){return a<0&&(a=0),n<0&&(n=0),i<0&&(i=0),"#"+e[a]+e[n]+e[i]}}(),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,a,n={onmessage:function(){},postMessage:function(p){r({data:p})}},i={postMessage:function(p){n.onmessage({data:p})}};function s(u){if(window.Worker&&window.Blob&&getWebWorker()){var p=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),d=URL.createObjectURL(p);return new Worker(d)}return r=u,n}function o(){a||(a=s(function(p){function d(){function E(O,I){var N,x,P=O.length,R,V,J,Y;for(x=0;x<P;x+=1)if(N=O[x],"ks"in N&&!N.completed){if(N.completed=!0,N.hasMask){var X=N.masksProperties;for(V=X.length,R=0;R<V;R+=1)if(X[R].pt.k.i)C(X[R].pt.k);else for(Y=X[R].pt.k.length,J=0;J<Y;J+=1)X[R].pt.k[J].s&&C(X[R].pt.k[J].s[0]),X[R].pt.k[J].e&&C(X[R].pt.k[J].e[0])}N.ty===0?(N.layers=b(N.refId,I),E(N.layers,I)):N.ty===4?A(N.shapes):N.ty===5&&_(N)}}function y(O,I){if(O){var N=0,x=O.length;for(N=0;N<x;N+=1)O[N].t===1&&(O[N].data.layers=b(O[N].data.refId,I),E(O[N].data.layers,I))}}function S(O,I){for(var N=0,x=I.length;N<x;){if(I[N].id===O)return I[N];N+=1}return null}function b(O,I){var N=S(O,I);return N?N.layers.__used?JSON.parse(JSON.stringify(N.layers)):(N.layers.__used=!0,N.layers):null}function A(O){var I,N=O.length,x,P;for(I=N-1;I>=0;I-=1)if(O[I].ty==="sh")if(O[I].ks.k.i)C(O[I].ks.k);else for(P=O[I].ks.k.length,x=0;x<P;x+=1)O[I].ks.k[x].s&&C(O[I].ks.k[x].s[0]),O[I].ks.k[x].e&&C(O[I].ks.k[x].e[0]);else O[I].ty==="gr"&&A(O[I].it)}function C(O){var I,N=O.i.length;for(I=0;I<N;I+=1)O.i[I][0]+=O.v[I][0],O.i[I][1]+=O.v[I][1],O.o[I][0]+=O.v[I][0],O.o[I][1]+=O.v[I][1]}function T(O,I){var N=I?I.split("."):[100,100,100];return O[0]>N[0]?!0:N[0]>O[0]?!1:O[1]>N[1]?!0:N[1]>O[1]?!1:O[2]>N[2]?!0:N[2]>O[2]?!1:null}var F=function(){var O=[4,4,14];function I(x){var P=x.t.d;x.t.d={k:[{s:P,t:0}]}}function N(x){var P,R=x.length;for(P=0;P<R;P+=1)x[P].ty===5&&I(x[P])}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}(),M=function(){var O=[4,7,99];return function(I){if(I.chars&&!T(O,I.v)){var N,x=I.chars.length;for(N=0;N<x;N+=1){var P=I.chars[N];P.data&&P.data.shapes&&(A(P.data.shapes),P.data.ip=0,P.data.op=99999,P.data.st=0,P.data.sr=1,P.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}},I.chars[N].t||(P.data.shapes.push({ty:"no"}),P.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"})))}}}}(),D=function(){var O=[5,7,15];function I(x){var P=x.t.p;typeof P.a=="number"&&(P.a={a:0,k:P.a}),typeof P.p=="number"&&(P.p={a:0,k:P.p}),typeof P.r=="number"&&(P.r={a:0,k:P.r})}function N(x){var P,R=x.length;for(P=0;P<R;P+=1)x[P].ty===5&&I(x[P])}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}(),H=function(){var O=[4,1,9];function I(x){var P,R=x.length,V,J;for(P=0;P<R;P+=1)if(x[P].ty==="gr")I(x[P].it);else if(x[P].ty==="fl"||x[P].ty==="st")if(x[P].c.k&&x[P].c.k[0].i)for(J=x[P].c.k.length,V=0;V<J;V+=1)x[P].c.k[V].s&&(x[P].c.k[V].s[0]/=255,x[P].c.k[V].s[1]/=255,x[P].c.k[V].s[2]/=255,x[P].c.k[V].s[3]/=255),x[P].c.k[V].e&&(x[P].c.k[V].e[0]/=255,x[P].c.k[V].e[1]/=255,x[P].c.k[V].e[2]/=255,x[P].c.k[V].e[3]/=255);else x[P].c.k[0]/=255,x[P].c.k[1]/=255,x[P].c.k[2]/=255,x[P].c.k[3]/=255}function N(x){var P,R=x.length;for(P=0;P<R;P+=1)x[P].ty===4&&I(x[P].shapes)}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}(),j=function(){var O=[4,4,18];function I(x){var P,R=x.length,V,J;for(P=R-1;P>=0;P-=1)if(x[P].ty==="sh")if(x[P].ks.k.i)x[P].ks.k.c=x[P].closed;else for(J=x[P].ks.k.length,V=0;V<J;V+=1)x[P].ks.k[V].s&&(x[P].ks.k[V].s[0].c=x[P].closed),x[P].ks.k[V].e&&(x[P].ks.k[V].e[0].c=x[P].closed);else x[P].ty==="gr"&&I(x[P].it)}function N(x){var P,R,V=x.length,J,Y,X,re;for(R=0;R<V;R+=1){if(P=x[R],P.hasMask){var Z=P.masksProperties;for(Y=Z.length,J=0;J<Y;J+=1)if(Z[J].pt.k.i)Z[J].pt.k.c=Z[J].cl;else for(re=Z[J].pt.k.length,X=0;X<re;X+=1)Z[J].pt.k[X].s&&(Z[J].pt.k[X].s[0].c=Z[J].cl),Z[J].pt.k[X].e&&(Z[J].pt.k[X].e[0].c=Z[J].cl)}P.ty===4&&I(P.shapes)}}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}();function B(O){O.__complete||(H(O),F(O),M(O),D(O),j(O),E(O.layers,O.assets),y(O.chars,O.assets),O.__complete=!0)}function _(O){O.t.a.length===0&&"m"in O.t.p}var $={};return $.completeData=B,$.checkColors=H,$.checkChars=M,$.checkPathProperties=D,$.checkShapes=j,$.completeLayers=E,$}if(i.dataManager||(i.dataManager=d()),i.assetLoader||(i.assetLoader=function(){function E(S){var b=S.getResponseHeader("content-type");return b&&S.responseType==="json"&&b.indexOf("json")!==-1||S.response&&_typeof$5(S.response)==="object"?S.response:S.response&&typeof S.response=="string"?JSON.parse(S.response):S.responseText?JSON.parse(S.responseText):null}function y(S,b,A,C){var T,F=new XMLHttpRequest;try{F.responseType="json"}catch(M){}F.onreadystatechange=function(){if(F.readyState===4)if(F.status===200)T=E(F),A(T);else try{T=E(F),A(T)}catch(M){C&&C(M)}};try{F.open(["G","E","T"].join(""),S,!0)}catch(M){F.open(["G","E","T"].join(""),b+"/"+S,!0)}F.send()}return{load:y}}()),p.data.type==="loadAnimation")i.assetLoader.load(p.data.path,p.data.fullPath,function(E){i.dataManager.completeData(E),i.postMessage({id:p.data.id,payload:E,status:"success"})},function(){i.postMessage({id:p.data.id,status:"error"})});else if(p.data.type==="complete"){var m=p.data.animation;i.dataManager.completeData(m),i.postMessage({id:p.data.id,payload:m,status:"success"})}else p.data.type==="loadData"&&i.assetLoader.load(p.data.path,p.data.fullPath,function(E){i.postMessage({id:p.data.id,payload:E,status:"success"})},function(){i.postMessage({id:p.data.id,status:"error"})})}),a.onmessage=function(u){var p=u.data,d=p.id,m=t[d];t[d]=null,p.status==="success"?m.onComplete(p.payload):m.onError&&m.onError()})}function l(u,p){e+=1;var d="processId_"+e;return t[d]={onComplete:u,onError:p},d}function c(u,p,d){o();var m=l(p,d);a.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:m})}function f(u,p,d){o();var m=l(p,d);a.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:m})}function g(u,p,d){o();var m=l(p,d);a.postMessage({type:"complete",animation:u,id:m})}return{loadAnimation:c,loadData:f,completeAnimation:g}}(),ImagePreloader=function(){var e=function(){var y=createTag("canvas");y.width=1,y.height=1;var S=y.getContext("2d");return S.fillStyle="rgba(0,0,0,0)",S.fillRect(0,0,1,1),y}();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 a(y,S,b){var A="";if(y.e)A=y.p;else if(S){var C=y.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),A=S+C}else A=b,A+=y.u?y.u:"",A+=y.p;return A}function n(y){var S=0,b=setInterval((function(){var A=y.getBBox();(A.width||S>500)&&(this._imageLoaded(),clearInterval(b)),S+=1}).bind(this),50)}function i(y){var S=a(y,this.assetsPath,this.path),b=createNS("image");isSafari?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",S),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var A={img:b,assetData:y};return A}function s(y){var S=a(y,this.assetsPath,this.path),b=createTag("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),b.src=S;var A={img:b,assetData:y};return A}function o(y){var S={assetData:y},b=a(y,this.assetsPath,this.path);return dataManager.loadData(b,(function(A){S.img=A,this._footageLoaded()}).bind(this),(function(){S.img={},this._footageLoaded()}).bind(this)),S}function l(y,S){this.imagesLoadedCb=S;var b,A=y.length;for(b=0;b<A;b+=1)y[b].layers||(!y[b].t||y[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[b]))):y[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[b]))))}function c(y){this.path=y||""}function f(y){this.assetsPath=y||""}function g(y){for(var S=0,b=this.images.length;S<b;){if(this.images[S].assetData===y)return this.images[S].img;S+=1}return null}function u(){this.imagesLoadedCb=null,this.images.length=0}function p(){return this.totalImages===this.loadedAssets}function d(){return this.totalFootages===this.loadedFootagesCount}function m(y,S){y==="svg"?(this._elementHelper=S,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function E(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return E.prototype={loadAssets:l,setAssetsPath:f,setPath:c,loadedImages:p,loadedFootages:d,destroy:u,getAsset:g,createImgData:s,createImageData:i,imageLoaded:t,footageLoaded:r,setCacheType:m},E}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,r){if(this._cbs[t])for(var a=this._cbs[t],n=0;n<a.length;n+=1)a[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 a=0,n=this._cbs[t].length;a<n;)this._cbs[t][a]===r&&(this._cbs[t].splice(a,1),a-=1,n-=1),a+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var r=t.split("\r\n"),a={},n,i=0,s=0;s<r.length;s+=1)n=r[s].split(":"),n.length===2&&(a[n[0]]=n[1].trim(),i+=1);if(i===0)throw new Error;return a}return function(t){for(var r=[],a=0;a<t.length;a+=1){var n=t[a],i={time:n.tm,duration:n.dr};try{i.payload=JSON.parse(t[a].cm)}catch(s){try{i.payload=e(t[a].cm)}catch(o){i.payload={name:t[a].cm}}}r.push(i)}return r}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(r){for(var a=0,n=this.compositions.length;a<n;){if(this.compositions[a].data&&this.compositions[a].data.nm===r)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=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},a=e.attributes;r.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",r.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var n=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";n==="false"?r.loop=!1:n==="true"?r.loop=!0:n!==""&&(r.loop=parseInt(n,10));var i=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;r.autoplay=i!=="false",r.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var s=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";s==="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,a=t.length,n=e.layers,i,s=n.length;for(i=0;i<s;i+=1)for(r=0;r<a;){if(t[r].id===n[i].id){t[r]=n[i];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(a=e.assets.length,r=0;r<a;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,a=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(r,a)},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 a=Number(e);if(isNaN(a)){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 a=Number(e);if(isNaN(a)){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(a,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,a=e.length;for(r=0;r<a;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 a=this.renderer.getElementByPath(e);a.updateDocumentData(t,r)}catch(n){}},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,a=0,n=0,i=!0,s=!1;function o(I){for(var N=0,x=I.target;N<a;)t[N].animation===x&&(t.splice(N,1),N-=1,a-=1,x.isPaused||g()),N+=1}function l(I,N){if(!I)return null;for(var x=0;x<a;){if(t[x].elem===I&&t[x].elem!==null)return t[x].animation;x+=1}var P=new AnimationItem;return u(P,I),P.setData(I,N),P}function c(){var I,N=t.length,x=[];for(I=0;I<N;I+=1)x.push(t[I].animation);return x}function f(){n+=1,H()}function g(){n-=1}function u(I,N){I.addEventListener("destroy",o),I.addEventListener("_active",f),I.addEventListener("_idle",g),t.push({elem:N,animation:I}),a+=1}function p(I){var N=new AnimationItem;return u(N,null),N.setParams(I),N}function d(I,N){var x;for(x=0;x<a;x+=1)t[x].animation.setSpeed(I,N)}function m(I,N){var x;for(x=0;x<a;x+=1)t[x].animation.setDirection(I,N)}function E(I){var N;for(N=0;N<a;N+=1)t[N].animation.play(I)}function y(I){var N=I-r,x;for(x=0;x<a;x+=1)t[x].animation.advanceTime(N);r=I,n&&!s?window.requestAnimationFrame(y):i=!0}function S(I){r=I,window.requestAnimationFrame(y)}function b(I){var N;for(N=0;N<a;N+=1)t[N].animation.pause(I)}function A(I,N,x){var P;for(P=0;P<a;P+=1)t[P].animation.goToAndStop(I,N,x)}function C(I){var N;for(N=0;N<a;N+=1)t[N].animation.stop(I)}function T(I){var N;for(N=0;N<a;N+=1)t[N].animation.togglePause(I)}function F(I){var N;for(N=a-1;N>=0;N-=1)t[N].animation.destroy(I)}function M(I,N,x){var P=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),R,V=P.length;for(R=0;R<V;R+=1)x&&P[R].setAttribute("data-bm-type",x),l(P[R],I);if(N&&V===0){x||(x="svg");var J=document.getElementsByTagName("body")[0];J.innerText="";var Y=createTag("div");Y.style.width="100%",Y.style.height="100%",Y.setAttribute("data-bm-type",x),J.appendChild(Y),l(Y,I)}}function D(){var I;for(I=0;I<a;I+=1)t[I].animation.resize()}function H(){!s&&n&&i&&(window.requestAnimationFrame(S),i=!1)}function j(){s=!0}function B(){s=!1,H()}function _(I,N){var x;for(x=0;x<a;x+=1)t[x].animation.setVolume(I,N)}function $(I){var N;for(N=0;N<a;N+=1)t[N].animation.mute(I)}function O(I){var N;for(N=0;N<a;N+=1)t[N].animation.unmute(I)}return e.registerAnimation=l,e.loadAnimation=p,e.setSpeed=d,e.setDirection=m,e.play=E,e.pause=b,e.stop=C,e.togglePause=T,e.searchAnimations=M,e.resize=D,e.goToAndStop=A,e.destroy=F,e.freeze=j,e.unfreeze=B,e.setVolume=_,e.mute=$,e.unmute=O,e.getRegisteredAnimations=c,e}(),BezierFactory=function(){var e={};e.getBezierEasing=r;var t={};function r(S,b,A,C,T){var F=T||("bez_"+S+"_"+b+"_"+A+"_"+C).replace(/\./g,"p");if(t[F])return t[F];var M=new y([S,b,A,C]);return t[F]=M,M}var a=4,n=.001,i=1e-7,s=10,o=11,l=1/(o-1),c=typeof Float32Array=="function";function f(S,b){return 1-3*b+3*S}function g(S,b){return 3*b-6*S}function u(S){return 3*S}function p(S,b,A){return((f(b,A)*S+g(b,A))*S+u(b))*S}function d(S,b,A){return 3*f(b,A)*S*S+2*g(b,A)*S+u(b)}function m(S,b,A,C,T){var F,M,D=0;do M=b+(A-b)/2,F=p(M,C,T)-S,F>0?A=M:b=M;while(Math.abs(F)>i&&++D<s);return M}function E(S,b,A,C){for(var T=0;T<a;++T){var F=d(b,A,C);if(F===0)return b;var M=p(b,A,C)-S;b-=M/F}return b}function y(S){this._p=S,this._mSampleValues=c?new Float32Array(o):new Array(o),this._precomputed=!1,this.get=this.get.bind(this)}return y.prototype={get:function(b){var A=this._p[0],C=this._p[1],T=this._p[2],F=this._p[3];return this._precomputed||this._precompute(),A===C&&T===F?b:b===0?0:b===1?1:p(this._getTForX(b),C,F)},_precompute:function(){var b=this._p[0],A=this._p[1],C=this._p[2],T=this._p[3];this._precomputed=!0,(b!==A||C!==T)&&this._calcSampleValues()},_calcSampleValues:function(){for(var b=this._p[0],A=this._p[2],C=0;C<o;++C)this._mSampleValues[C]=p(C*l,b,A)},_getTForX:function(b){for(var A=this._p[0],C=this._p[2],T=this._mSampleValues,F=0,M=1,D=o-1;M!==D&&T[M]<=b;++M)F+=l;--M;var H=(b-T[M])/(T[M+1]-T[M]),j=F+H*l,B=d(j,A,C);return B>=n?E(b,j,A,C):B===0?j:m(b,F,F+l,A,C)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var a=0,n=e,i=createSizedArray(n),s={newElement:o,release:l};function o(){var c;return a?(a-=1,c=i[a]):c=t(),c}function l(c){a===n&&(i=pooling.double(i),n*=2),r&&r(c),i[a]=c,a+=1}return s}}(),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 a,n=r.lengths.length;for(a=0;a<n;a+=1)bezierLengthPool.release(r.lengths[a]);r.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(u,p,d,m,E,y){var S=u*m+p*E+d*y-E*m-y*u-d*p;return S>-.001&&S<.001}function r(u,p,d,m,E,y,S,b,A){if(d===0&&y===0&&A===0)return t(u,p,m,E,S,b);var C=e.sqrt(e.pow(m-u,2)+e.pow(E-p,2)+e.pow(y-d,2)),T=e.sqrt(e.pow(S-u,2)+e.pow(b-p,2)+e.pow(A-d,2)),F=e.sqrt(e.pow(S-m,2)+e.pow(b-E,2)+e.pow(A-y,2)),M;return C>T?C>F?M=C-T-F:M=F-T-C:F>T?M=F-T-C:M=T-C-F,M>-1e-4&&M<1e-4}var a=function(){return function(u,p,d,m){var E=getDefaultCurveSegments(),y,S,b,A,C,T=0,F,M=[],D=[],H=bezierLengthPool.newElement();for(b=d.length,y=0;y<E;y+=1){for(C=y/(E-1),F=0,S=0;S<b;S+=1)A=bmPow(1-C,3)*u[S]+3*bmPow(1-C,2)*C*d[S]+3*(1-C)*bmPow(C,2)*m[S]+bmPow(C,3)*p[S],M[S]=A,D[S]!==null&&(F+=bmPow(M[S]-D[S],2)),D[S]=M[S];F&&(F=bmSqrt(F),T+=F),H.percents[y]=C,H.lengths[y]=T}return H.addedLength=T,H}}();function n(u){var p=segmentsLengthPool.newElement(),d=u.c,m=u.v,E=u.o,y=u.i,S,b=u._length,A=p.lengths,C=0;for(S=0;S<b-1;S+=1)A[S]=a(m[S],m[S+1],E[S],y[S+1]),C+=A[S].addedLength;return d&&b&&(A[S]=a(m[S],m[0],E[S],y[0]),C+=A[S].addedLength),p.totalLength=C,p}function i(u){this.segmentLength=0,this.points=new Array(u)}function s(u,p){this.partialLength=u,this.point=p}var o=function(){var u={};return function(p,d,m,E){var y=(p[0]+"_"+p[1]+"_"+d[0]+"_"+d[1]+"_"+m[0]+"_"+m[1]+"_"+E[0]+"_"+E[1]).replace(/\./g,"p");if(!u[y]){var S=getDefaultCurveSegments(),b,A,C,T,F,M=0,D,H,j=null;p.length===2&&(p[0]!==d[0]||p[1]!==d[1])&&t(p[0],p[1],d[0],d[1],p[0]+m[0],p[1]+m[1])&&t(p[0],p[1],d[0],d[1],d[0]+E[0],d[1]+E[1])&&(S=2);var B=new i(S);for(C=m.length,b=0;b<S;b+=1){for(H=createSizedArray(C),F=b/(S-1),D=0,A=0;A<C;A+=1)T=bmPow(1-F,3)*p[A]+3*bmPow(1-F,2)*F*(p[A]+m[A])+3*(1-F)*bmPow(F,2)*(d[A]+E[A])+bmPow(F,3)*d[A],H[A]=T,j!==null&&(D+=bmPow(H[A]-j[A],2));D=bmSqrt(D),M+=D,B.points[b]=new s(D,H),j=H}B.segmentLength=M,u[y]=B}return u[y]}}();function l(u,p){var d=p.percents,m=p.lengths,E=d.length,y=bmFloor((E-1)*u),S=u*p.addedLength,b=0;if(y===E-1||y===0||S===m[y])return d[y];for(var A=m[y]>S?-1:1,C=!0;C;)if(m[y]<=S&&m[y+1]>S?(b=(S-m[y])/(m[y+1]-m[y]),C=!1):y+=A,y<0||y>=E-1){if(y===E-1)return d[y];C=!1}return d[y]+(d[y+1]-d[y])*b}function c(u,p,d,m,E,y){var S=l(E,y),b=1-S,A=e.round((b*b*b*u[0]+(S*b*b+b*S*b+b*b*S)*d[0]+(S*S*b+b*S*S+S*b*S)*m[0]+S*S*S*p[0])*1e3)/1e3,C=e.round((b*b*b*u[1]+(S*b*b+b*S*b+b*b*S)*d[1]+(S*S*b+b*S*S+S*b*S)*m[1]+S*S*S*p[1])*1e3)/1e3;return[A,C]}var f=createTypedArray("float32",8);function g(u,p,d,m,E,y,S){E<0?E=0:E>1&&(E=1);var b=l(E,S);y=y>1?1:y;var A=l(y,S),C,T=u.length,F=1-b,M=1-A,D=F*F*F,H=b*F*F*3,j=b*b*F*3,B=b*b*b,_=F*F*M,$=b*F*M+F*b*M+F*F*A,O=b*b*M+F*b*A+b*F*A,I=b*b*A,N=F*M*M,x=b*M*M+F*A*M+F*M*A,P=b*A*M+F*A*A+b*M*A,R=b*A*A,V=M*M*M,J=A*M*M+M*A*M+M*M*A,Y=A*A*M+M*A*A+A*M*A,X=A*A*A;for(C=0;C<T;C+=1)f[C*4]=e.round((D*u[C]+H*d[C]+j*m[C]+B*p[C])*1e3)/1e3,f[C*4+1]=e.round((_*u[C]+$*d[C]+O*m[C]+I*p[C])*1e3)/1e3,f[C*4+2]=e.round((N*u[C]+x*d[C]+P*m[C]+R*p[C])*1e3)/1e3,f[C*4+3]=e.round((V*u[C]+J*d[C]+Y*m[C]+X*p[C])*1e3)/1e3;return f}return{getSegmentsLength:n,getNewSegment:g,getPointInSegment:c,buildBezierData:o,pointOnLine2D:t,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r=this.offsetTime,a;this.propType==="multidimensional"&&(a=createTypedArray("float32",this.pv.length));for(var n=t.lastIndex,i=n,s=this.keyframes.length-1,o=!0,l,c,f;o;){if(l=this.keyframes[i],c=this.keyframes[i+1],i===s-1&&e>=c.t-r){l.h&&(l=c),n=0;break}if(c.t-r>e){n=i;break}i<s-1?i+=1:(n=0,o=!1)}f=this.keyframesMetadata[i]||{};var g,u,p,d,m,E,y=c.t-r,S=l.t-r,b;if(l.to){f.bezierData||(f.bezierData=bez.buildBezierData(l.s,c.s||l.e,l.to,l.ti));var A=f.bezierData;if(e>=y||e<S){var C=e>=y?A.points.length-1:0;for(u=A.points[C].point.length,g=0;g<u;g+=1)a[g]=A.points[C].point[g]}else{f.__fnct?E=f.__fnct:(E=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,f.__fnct=E),p=E((e-S)/(y-S));var T=A.segmentLength*p,F,M=t.lastFrame<e&&t._lastKeyframeIndex===i?t._lastAddedLength:0;for(m=t.lastFrame<e&&t._lastKeyframeIndex===i?t._lastPoint:0,o=!0,d=A.points.length;o;){if(M+=A.points[m].partialLength,T===0||p===0||m===A.points.length-1){for(u=A.points[m].point.length,g=0;g<u;g+=1)a[g]=A.points[m].point[g];break}else if(T>=M&&T<M+A.points[m+1].partialLength){for(F=(T-M)/A.points[m+1].partialLength,u=A.points[m].point.length,g=0;g<u;g+=1)a[g]=A.points[m].point[g]+(A.points[m+1].point[g]-A.points[m].point[g])*F;break}m<d-1?m+=1:o=!1}t._lastPoint=m,t._lastAddedLength=M-A.points[m].partialLength,t._lastKeyframeIndex=i}}else{var D,H,j,B,_;if(s=l.s.length,b=c.s||l.e,this.sh&&l.h!==1)if(e>=y)a[0]=b[0],a[1]=b[1],a[2]=b[2];else if(e<=S)a[0]=l.s[0],a[1]=l.s[1],a[2]=l.s[2];else{var $=createQuaternion(l.s),O=createQuaternion(b),I=(e-S)/(y-S);quaternionToEuler(a,slerp($,O,I))}else for(i=0;i<s;i+=1)l.h!==1&&(e>=y?p=1:e<S?p=0:(l.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[i]?E=f.__fnct[i]:(D=l.o.x[i]===void 0?l.o.x[0]:l.o.x[i],H=l.o.y[i]===void 0?l.o.y[0]:l.o.y[i],j=l.i.x[i]===void 0?l.i.x[0]:l.i.x[i],B=l.i.y[i]===void 0?l.i.y[0]:l.i.y[i],E=BezierFactory.getBezierEasing(D,H,j,B).get,f.__fnct[i]=E)):f.__fnct?E=f.__fnct:(D=l.o.x,H=l.o.y,j=l.i.x,B=l.i.y,E=BezierFactory.getBezierEasing(D,H,j,B).get,l.keyframeMetadata=E),p=E((e-S)/(y-S)))),b=c.s||l.e,_=l.h===1?l.s[i]:l.s[i]+(b[i]-l.s[i])*p,this.propType==="multidimensional"?a[i]=_:a=_}return t.lastIndex=n,a}function slerp(e,t,r){var a=[],n=e[0],i=e[1],s=e[2],o=e[3],l=t[0],c=t[1],f=t[2],g=t[3],u,p,d,m,E;return p=n*l+i*c+s*f+o*g,p<0&&(p=-p,l=-l,c=-c,f=-f,g=-g),1-p>1e-6?(u=Math.acos(p),d=Math.sin(u),m=Math.sin((1-r)*u)/d,E=Math.sin(r*u)/d):(m=1-r,E=r),a[0]=m*n+E*l,a[1]=m*i+E*c,a[2]=m*s+E*f,a[3]=m*o+E*g,a}function quaternionToEuler(e,t){var r=t[0],a=t[1],n=t[2],i=t[3],s=Math.atan2(2*a*i-2*r*n,1-2*a*a-2*n*n),o=Math.asin(2*r*a+2*n*i),l=Math.atan2(2*r*i-2*a*n,1-2*r*r-2*n*n);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,a=e[2]*degToRads,n=Math.cos(t/2),i=Math.cos(r/2),s=Math.cos(a/2),o=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(a/2),f=n*i*s-o*l*c,g=o*l*s+n*i*c,u=o*i*s+n*l*c,p=n*l*s-o*i*c;return[g,u,p,f]}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 a=this.interpolateValue(e,this._caching);this.pv=a}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,a=this.v.length;r<a;)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,a){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=a,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,a){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var n,i=t.k.length;for(this.v=createTypedArray("float32",i),this.pv=createTypedArray("float32",i),this.vel=createTypedArray("float32",i),n=0;n<i;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,a){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=a,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,a){this.propType="multidimensional";var n,i=t.k.length,s,o,l,c;for(n=0;n<i-1;n+=1)t.k[n].to&&t.k[n].s&&t.k[n+1]&&t.k[n+1].s&&(s=t.k[n].s,o=t.k[n+1].s,l=t.k[n].to,c=t.k[n].ti,(s.length===2&&!(s[0]===o[0]&&s[1]===o[1])&&bez.pointOnLine2D(s[0],s[1],o[0],o[1],s[0]+l[0],s[1]+l[1])&&bez.pointOnLine2D(s[0],s[1],o[0],o[1],o[0]+c[0],o[1]+c[1])||s.length===3&&!(s[0]===o[0]&&s[1]===o[1]&&s[2]===o[2])&&bez.pointOnLine3D(s[0],s[1],s[2],o[0],o[1],o[2],s[0]+l[0],s[1]+l[1],s[2]+l[2])&&bez.pointOnLine3D(s[0],s[1],s[2],o[0],o[1],o[2],o[0]+c[0],o[1]+c[1],o[2]+c[2]))&&(t.k[n].to=null,t.k[n].ti=null),s[0]===o[0]&&s[1]===o[1]&&l[0]===0&&l[1]===0&&c[0]===0&&c[1]===0&&(s.length===2||s[2]===o[2]&&l[2]===0&&c[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=a,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var f=t.k[0].s.length;for(this.v=createTypedArray("float32",f),this.pv=createTypedArray("float32",f),n=0;n<f;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",f)},this.addEffect=addEffect}var PropertyFactory=function(){function e(r,a,n,i,s){a.sid&&(a=r.globalData.slotManager.getProp(a));var o;if(!a.k.length)o=new ValueProperty(r,a,i,s);else if(typeof a.k[0]=="number")o=new MultiDimensionalProperty(r,a,i,s);else switch(n){case 0:o=new KeyframedValueProperty(r,a,i,s);break;case 1:o=new KeyframedMultidimensionalProperty(r,a,i,s);break}return o.effectsSequence.length&&s.addDynamicProperty(o),o}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,a,n){var i;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":i=this.v;break;case"i":i=this.i;break;case"o":i=this.o;break;default:i=[];break}(!i[a]||i[a]&&!n)&&(i[a]=pointPool.newElement()),i[a][0]=e,i[a][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,a,n,i,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,a,"o",s,o),this.setXYAt(n,i,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,a=this.i,n=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],a[0][0],a[0][1],r[0][0],r[0][1],0,!1),n=1);var i=this._length-1,s=this._length,o;for(o=n;o<s;o+=1)e.setTripleAt(t[i][0],t[i][1],a[i][0],a[i][1],r[i][0],r[i][1],o,!1),i-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(n){var i=n._length,s;for(s=0;s<i;s+=1)pointPool.release(n.v[s]),pointPool.release(n.i[s]),pointPool.release(n.o[s]),n.v[s]=null,n.i[s]=null,n.o[s]=null;n._length=0,n.c=!1}function r(n){var i=a.newElement(),s,o=n._length===void 0?n.v.length:n._length;for(i.setLength(o),i.c=n.c,s=0;s<o;s+=1)i.setTripleAt(n.v[s][0],n.v[s][1],n.o[s][0],n.o[s][1],n.i[s][0],n.i[s][1],s);return i}var a=poolFactory(4,e,t);return a.clone=r,a}();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:i},t=0,r=4,a=createSizedArray(r);function n(){var s;return t?(t-=1,s=a[t]):s=new ShapeCollection,s}function i(s){var o,l=s._length;for(o=0;o<l;o+=1)shapePool.release(s.shapes[o]);s._length=0,t===r&&(a=pooling.double(a),r*=2),a[t]=s,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(y,S,b){var A=b.lastIndex,C,T,F,M,D,H,j,B,_,$=this.keyframes;if(y<$[0].t-this.offsetTime)C=$[0].s[0],F=!0,A=0;else if(y>=$[$.length-1].t-this.offsetTime)C=$[$.length-1].s?$[$.length-1].s[0]:$[$.length-2].e[0],F=!0;else{for(var O=A,I=$.length-1,N=!0,x,P,R;N&&(x=$[O],P=$[O+1],!(P.t-this.offsetTime>y));)O<I-1?O+=1:N=!1;if(R=this.keyframesMetadata[O]||{},F=x.h===1,A=O,!F){if(y>=P.t-this.offsetTime)B=1;else if(y<x.t-this.offsetTime)B=0;else{var V;R.__fnct?V=R.__fnct:(V=BezierFactory.getBezierEasing(x.o.x,x.o.y,x.i.x,x.i.y).get,R.__fnct=V),B=V((y-(x.t-this.offsetTime))/(P.t-this.offsetTime-(x.t-this.offsetTime)))}T=P.s?P.s[0]:x.e[0]}C=x.s[0]}for(H=S._length,j=C.i[0].length,b.lastIndex=A,M=0;M<H;M+=1)for(D=0;D<j;D+=1)_=F?C.i[M][D]:C.i[M][D]+(T.i[M][D]-C.i[M][D])*B,S.i[M][D]=_,_=F?C.o[M][D]:C.o[M][D]+(T.o[M][D]-C.o[M][D])*B,S.o[M][D]=_,_=F?C.v[M][D]:C.v[M][D]+(T.v[M][D]-C.v[M][D])*B,S.v[M][D]=_}function r(){var y=this.comp.renderedFrame-this.offsetTime,S=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<S&&y<S||A>b&&y>b)||(this._caching.lastIndex=A<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function a(){this.paths=this.localShapeCollection}function n(y,S){if(y._length!==S._length||y.c!==S.c)return!1;var b,A=y._length;for(b=0;b<A;b+=1)if(y.v[b][0]!==S.v[b][0]||y.v[b][1]!==S.v[b][1]||y.o[b][0]!==S.o[b][0]||y.o[b][1]!==S.o[b][1]||y.i[b][0]!==S.i[b][0]||y.i[b][1]!==S.i[b][1])return!1;return!0}function i(y){n(this.v,y)||(this.v=shapePool.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function s(){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 y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var S,b=this.effectsSequence.length;for(S=0;S<b;S+=1)y=this.effectsSequence[S](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(y,S,b){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=S,this.k=!1,this.kf=!1,this._mdf=!1;var A=b===3?S.pt.k:S.ks.k;this.v=shapePool.clone(A),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function l(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this)}o.prototype.interpolateShape=t,o.prototype.getValue=s,o.prototype.setVValue=i,o.prototype.addEffect=l;function c(y,S,b){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=b===3?S.pt.k:S.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=a,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}c.prototype.getValue=s,c.prototype.interpolateShape=t,c.prototype.setVValue=i,c.prototype.addEffect=l;var f=function(){var y=roundCorner;function S(b,A){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=PropertyFactory.getProp(b,A.p,1,0,this),this.s=PropertyFactory.getProp(b,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return S.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],C=this.p.v[1],T=this.s.v[0]/2,F=this.s.v[1]/2,M=this.d!==3,D=this.v;D.v[0][0]=A,D.v[0][1]=C-F,D.v[1][0]=M?A+T:A-T,D.v[1][1]=C,D.v[2][0]=A,D.v[2][1]=C+F,D.v[3][0]=M?A-T:A+T,D.v[3][1]=C,D.i[0][0]=M?A-T*y:A+T*y,D.i[0][1]=C-F,D.i[1][0]=M?A+T:A-T,D.i[1][1]=C-F*y,D.i[2][0]=M?A+T*y:A-T*y,D.i[2][1]=C+F,D.i[3][0]=M?A-T:A+T,D.i[3][1]=C+F*y,D.o[0][0]=M?A+T*y:A-T*y,D.o[0][1]=C-F,D.o[1][0]=M?A+T:A-T,D.o[1][1]=C+F*y,D.o[2][0]=M?A-T*y:A+T*y,D.o[2][1]=C+F,D.o[3][0]=M?A-T:A+T,D.o[3][1]=C-F*y}},extendPrototype([DynamicPropertyContainer],S),S}(),g=function(){function y(S,b){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=S,this.comp=S.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),b.sy===1?(this.ir=PropertyFactory.getProp(S,b.ir,0,0,this),this.is=PropertyFactory.getProp(S,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(S,b.pt,0,0,this),this.p=PropertyFactory.getProp(S,b.p,1,0,this),this.r=PropertyFactory.getProp(S,b.r,0,degToRads,this),this.or=PropertyFactory.getProp(S,b.or,0,0,this),this.os=PropertyFactory.getProp(S,b.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 y.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var b=Math.floor(this.pt.v)*2,A=Math.PI*2/b,C=!0,T=this.or.v,F=this.ir.v,M=this.os.v,D=this.is.v,H=2*Math.PI*T/(b*2),j=2*Math.PI*F/(b*2),B,_,$,O,I=-Math.PI/2;I+=this.r.v;var N=this.data.d===3?-1:1;for(this.v._length=0,B=0;B<b;B+=1){_=C?T:F,$=C?M:D,O=C?H:j;var x=_*Math.cos(I),P=_*Math.sin(I),R=x===0&&P===0?0:P/Math.sqrt(x*x+P*P),V=x===0&&P===0?0:-x/Math.sqrt(x*x+P*P);x+=+this.p.v[0],P+=+this.p.v[1],this.v.setTripleAt(x,P,x-R*O*$*N,P-V*O*$*N,x+R*O*$*N,P+V*O*$*N,B,!0),C=!C,I+=A*N}},convertPolygonToPath:function(){var b=Math.floor(this.pt.v),A=Math.PI*2/b,C=this.or.v,T=this.os.v,F=2*Math.PI*C/(b*4),M,D=-Math.PI*.5,H=this.data.d===3?-1:1;for(D+=this.r.v,this.v._length=0,M=0;M<b;M+=1){var j=C*Math.cos(D),B=C*Math.sin(D),_=j===0&&B===0?0:B/Math.sqrt(j*j+B*B),$=j===0&&B===0?0:-j/Math.sqrt(j*j+B*B);j+=+this.p.v[0],B+=+this.p.v[1],this.v.setTripleAt(j,B,j-_*F*T*H,B-$*F*T*H,j+_*F*T*H,B+$*F*T*H,M,!0),D+=A*H}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],y),y}(),u=function(){function y(S,b){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=S,this.comp=S.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),this.p=PropertyFactory.getProp(S,b.p,1,0,this),this.s=PropertyFactory.getProp(S,b.s,1,0,this),this.r=PropertyFactory.getProp(S,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return y.prototype={convertRectToPath:function(){var b=this.p.v[0],A=this.p.v[1],C=this.s.v[0]/2,T=this.s.v[1]/2,F=bmMin(C,T,this.r.v),M=F*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(b+C,A-T+F,b+C,A-T+F,b+C,A-T+M,0,!0),this.v.setTripleAt(b+C,A+T-F,b+C,A+T-M,b+C,A+T-F,1,!0),F!==0?(this.v.setTripleAt(b+C-F,A+T,b+C-F,A+T,b+C-M,A+T,2,!0),this.v.setTripleAt(b-C+F,A+T,b-C+M,A+T,b-C+F,A+T,3,!0),this.v.setTripleAt(b-C,A+T-F,b-C,A+T-F,b-C,A+T-M,4,!0),this.v.setTripleAt(b-C,A-T+F,b-C,A-T+M,b-C,A-T+F,5,!0),this.v.setTripleAt(b-C+F,A-T,b-C+F,A-T,b-C+M,A-T,6,!0),this.v.setTripleAt(b+C-F,A-T,b+C-M,A-T,b+C-F,A-T,7,!0)):(this.v.setTripleAt(b-C,A+T,b-C+M,A+T,b-C,A+T,2),this.v.setTripleAt(b-C,A-T,b-C,A-T+M,b-C,A-T,3))):(this.v.setTripleAt(b+C,A-T+F,b+C,A-T+M,b+C,A-T+F,0,!0),F!==0?(this.v.setTripleAt(b+C-F,A-T,b+C-F,A-T,b+C-M,A-T,1,!0),this.v.setTripleAt(b-C+F,A-T,b-C+M,A-T,b-C+F,A-T,2,!0),this.v.setTripleAt(b-C,A-T+F,b-C,A-T+F,b-C,A-T+M,3,!0),this.v.setTripleAt(b-C,A+T-F,b-C,A+T-M,b-C,A+T-F,4,!0),this.v.setTripleAt(b-C+F,A+T,b-C+F,A+T,b-C+M,A+T,5,!0),this.v.setTripleAt(b+C-F,A+T,b+C-M,A+T,b+C-F,A+T,6,!0),this.v.setTripleAt(b+C,A+T-F,b+C,A+T-F,b+C,A+T-M,7,!0)):(this.v.setTripleAt(b-C,A-T,b-C+M,A-T,b-C,A-T,1,!0),this.v.setTripleAt(b-C,A+T,b-C,A+T-M,b-C,A+T,2,!0),this.v.setTripleAt(b+C,A+T,b+C-M,A+T,b+C,A+T,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},extendPrototype([DynamicPropertyContainer],y),y}();function p(y,S,b){var A;if(b===3||b===4){var C=b===3?S.pt:S.ks,T=C.k;T.length?A=new c(y,S,b):A=new o(y,S,b)}else b===5?A=new u(y,S):b===6?A=new f(y,S):b===7&&(A=new g(y,S));return A.k&&y.addDynamicProperty(A),A}function d(){return o}function m(){return c}var E={};return E.getShapeProp=p,E.getConstructorFunction=d,E.getKeyframedConstructorFunction=m,E}();/*!
- ========
- import{bL as BaseTransition,bM as BaseTransitionPropsValidators,bN as Comment,bO as EffectScope,F as Fragment,bP as KeepAlive,bQ as ReactiveEffect,bR as Static,bS as Suspense,bT as Teleport,bU as Text,Y as Transition,bE as TransitionGroup,bV as VueElement,bW as assertNumber,bX as callWithAsyncErrorHandling,bY as callWithErrorHandling,bZ as camelize,b_ as capitalize,a2 as cloneVNode,b$ as compatUtils,W as computed,c0 as createApp,c1 as createBlock,c2 as createCommentVNode,bt as createElementBlock,bu as createBaseVNode,c3 as createHydrationRenderer,c4 as createPropsRestProxy,c5 as createRenderer,c6 as createSSRApp,c7 as createSlots,c8 as createStaticVNode,k as createTextVNode,f as createVNode,c9 as customRef,ca as defineAsyncComponent,d as defineComponent,cb as defineCustomElement,cc as defineEmits,cd as defineExpose,ce as defineModel,cf as defineOptions,cg as defineProps,ch as defineSSRCustomElement,ci as defineSlots,cj as devtools,ck as effect,cl as effectScope,cm as getCurrentInstance,cn as getCurrentScope,co as getTransitionRawChildren,cp as guardReactiveProps,a9 as h$1,cq as handleError,cr as hasInjectionContext,cs as hydrate,ct as initCustomFormatter,cu as initDirectivesForSSR,a4 as inject,cv as isMemoSame,cw as isProxy,bh as isReactive,cx as isReadonly,cy as isRef,cz as isRuntimeOnly,cA as isShallow,B as isVNode,cB as markRaw,cC as mergeDefaults,cD as mergeModels,x as mergeProps,Q as nextTick,cE as normalizeClass,cF as normalizeProps,ar as normalizeStyle,cG as onActivated,cH as onBeforeMount,o as onBeforeUnmount,a8 as onBeforeUpdate,cI as onDeactivated,cJ as onErrorCaptured,p as onMounted,cK as onRenderTracked,cL as onRenderTriggered,cM as onScopeDispose,cN as onServerPrefetch,R as onUnmounted,aj as onUpdated,bs as openBlock,cO as popScopeId,a3 as provide,cP as proxyRefs,cQ as pushScopeId,cR as queuePostFlushCb,e as reactive,cS as readonly,r as ref,cT as registerRuntimeCompiler,cU as render,cV as renderList,cW as renderSlot,X as resolveComponent,cX as resolveDirective,cY as resolveDynamicComponent,cZ as resolveFilter,c_ as resolveTransitionHooks,c$ as setBlockTracking,d0 as setDevtoolsHook,d1 as setTransitionHooks,d2 as shallowReactive,d3 as shallowReadonly,d4 as shallowRef,d5 as ssrContextKey,d6 as ssrUtils,d7 as stop,d8 as toDisplayString,d9 as toHandlerKey,da as toHandlers,db as toRaw,ah as toRef,bI as toRefs,dc as toValue,dd as transformVNodeArgs,de as triggerRef,bw as unref,df as useAttrs,dg as useCssModule,dh as useCssVars,di as useModel,dj as useSSRContext,dk as useSlots,dl as useTransitionState,dm as vModelCheckbox,dn as vModelDynamic,dp as vModelRadio,dq as vModelSelect,aB as vModelText,aq as vShow,dr as version$1,ds as warn,y as watch,ai as watchEffect,dt as watchPostEffect,du as watchSyncEffect,dv as withAsyncContext,dw as withCtx,dx as withDefaults,ap as withDirectives,dy as withKeys,dz as withMemo,dA as withModifiers,dB as withScopeId,a as useRoute,dC as NInputNumber,w as NSpace,j as NButton,v as NImage,dD as getSecond,M as dayjs,c as useUserStore,D as iframeDislableKeyboard,dE as NSkeleton,bF as commonjsGlobal,bG as getDefaultExportFromCjs,l as NModal,b as useMessage,N as NForm,g as NFormItem,ay as NPopselect,C as NSpin,A as eventGlobal,q as NTabs,t as NTabPane,T as NTooltip,S as NPopover,G as NSelect,dF as getAugmentedNamespace,m as NCheckbox,av as NCheckboxGroup,aJ as NAvatar,h as NInput,aG as NDatePicker,aH as request$1,n as useDialog,u as useRouter,dG as NDrawer,dH as NDrawerContent,Z as px2vw,s as storage,dI as ACCESS_TOKEN_ADMIN}from"./index-0351d306-1713776975640.js";import{a as vaildMusicScoreUrl,v as vaildUrl}from"./urlUtils-ae95598a-1713776975640.js";import{T as TCPlayer,r as iconplay,u as iconpause,v as iconSpeed,w as tickMp3,x as iconReplay$2,V as Vudio,C as CardPreview,i as teacherChapterLessonCoursewareList,g as gradeToCN,q as lessonTrainingAdd,o as evaluateDifficult,y as lessonPreTrainingV2Detail,z as lessonPreTrainingDelete,A as lessonPreTrainingV2Save,c as lessonCoursewareDetail,L as ListenModal,I as InstruemntDetail,M as MusicDetail,B as TheotyDetail,d as api_teacherChapterLessonCoursewareDetail,D as courseScheduleUpdate}from"./index-32c01c9a-1713776975640.js";import{N as NSlider}from"./Slider-28bbbe95-1713776975640.js";import{d as dingPng$1,m as moveTop}from"./ding-8e9054d5-1713776975640.js";import{s as state}from"./state-4ca674d0-1713776975640.js";import{N as NScrollbar}from"./Scrollbar-8f625fd4-1713776975640.js";import{r as resourceTypeArray}from"./searchArray-e4373c9f-1713776975640.js";import{u as useCatchStore}from"./catchData-62d7c1d5-1713776975640.js";import{T as TheSearch}from"./index-fba87834-1713776975640.js";import{i as isCollaose,C as CardType,m as materialQueryPage,f as favorite}from"./api-54500616-1713776975640.js";import{a as useThrottleFn,u as useDebounceFn}from"./index-a343176c-1713776975640.js";import{T as TheEmpty}from"./index-42cfe010-1713776975640.js";import{u as usePrepareStore,T as TrainUpdate,S as SelectMusic$1}from"./index-6f42fd6f-1713776975640.js";import{u as useResizeObserver}from"./index-807b681d-1713776975640.js";import{g as getStudentList$1,b as getStudentAfterWork}from"./api-7efd3008-1713776975640.js";import{T as TheNoticeBar}from"./index-61e00372-1713776975640.js";import{T as TrainType}from"./index-7c24704a-1713776975640.js";import{g as getGradeYearList,c as classGroupList}from"./api-cc60e428-1713776975640.js";import{d as defultHeade}from"./teacherIcon-b8e3946d-1713776975640.js";import{S as SearchInput}from"./index-18292c25-1713776975640.js";import{i as getStudentList}from"./api-d811e5be-1713776975640.js";const compile=()=>{},vue_runtime_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,EffectScope,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text,Transition,TransitionGroup,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize,cloneVNode,compatUtils,compile,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,get devtools(){return devtools},effect,effectScope,getCurrentInstance,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h:h$1,handleError,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$1,warn,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"})),timerWrap="_timerWrap_1ilvi_1",timerTop="_timerTop_1ilvi_8",timerTopPane="_timerTopPane_1ilvi_19",timerTopPaneActive="_timerTopPaneActive_1ilvi_25",timerItemInfo="_timerItemInfo_1ilvi_30",timerItemInset="_timerItemInset_1ilvi_38",timerItemInfoTop="_timerItemInfoTop_1ilvi_43",dot="_dot_1ilvi_50",dotTop="_dotTop_1ilvi_58",timerItemTopCore="_timerItemTopCore_1ilvi_62",nowTimerWrap="_nowTimerWrap_1ilvi_74",btnGroupModal$4="_btnGroupModal_1ilvi_86",palyIcon="_palyIcon_1ilvi_93",playText="_playText_1ilvi_97",countInput="_countInput_1ilvi_100",dotBtm="_dotBtm_1ilvi_120",chioseWrap="_chioseWrap_1ilvi_124",add$1="_add_1ilvi_144",minus$1="_minus_1ilvi_149",chioseHidden="_chioseHidden_1ilvi_154",numberWrap="_numberWrap_1ilvi_157",styles$n={timerWrap,timerTop,timerTopPane,timerTopPaneActive,timerItemInfo,timerItemInset,timerItemInfoTop,dot,dotTop,timerItemTopCore,nowTimerWrap,btnGroupModal:btnGroupModal$4,palyIcon,playText,countInput,dotBtm,chioseWrap,add:add$1,minus:minus$1,chioseHidden,numberWrap},flipper_vue_vue_type_style_index_0_lang="",_export_sfc$1=(e,t)=>{const r=e.__vccOpts||e;for(const[a,n]of t)r[a]=n;return r},_sfc_main$1={name:"FlipClock",data(){return{isFlipping:!1,flipType:"down",frontTextFromData:0,backTextFromData:1}},props:{frontText:{type:[Number,String],default:0},backText:{type:[Number,String],default:1},duration:{type:Number,default:600}},methods:{_textClass(e){return"number"+e},_flip(e,t,r){console.log(e,t,r,"=====>"),this.frontTextFromData=t,this.backTextFromData=r,this.flipType=e,this.isFlipping=!0,setTimeout(()=>{this.isFlipping=!1,this.frontTextFromData=r},this.duration)},flipDown(e,t){this._flip("down",e,t)},flipUp(e,t){this._flip("up",e,t)},setFront(e){this.frontTextFromData=e},setBack(e){this.backTextFromData=e}},created(){this.frontTextFromData=this.frontText,this.backTextFromData=this.backText}};function _sfc_render$1(e,t,r,a,n,i){return openBlock(),createElementBlock("div",{class:normalizeClass(["M-Flipper",[n.flipType,{go:n.isFlipping}]])},[createBaseVNode("div",{class:normalizeClass(["digital front",i._textClass(n.frontTextFromData)])},null,2),createBaseVNode("div",{class:normalizeClass(["digital back",i._textClass(n.backTextFromData)])},null,2)],2)}const Flipper=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]),playIcon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAcCAYAAABlL09dAAAAAXNSR0IArs4c6QAAAR1JREFUSEvV1rFOwlAYxfH/eQx2VgcfBJ+AOMqCE5uB6OITyAPwCPogKBMOOhITQuLkaq45iU1KKL2X9nbgWzq0/X03/dpzKzoqhRAE3AAD4BNYSFq17Wf4HngoQb/AEzCT9NO0geEvoFcBbICxpJcmuOEQufEZuJXkRsmVAhvzI5kCc0l+VNFKhQtoCYwk+Vhbp8LGkobbBC5WWjvcNnDRoHK4OeDK4eaCy8O9lrTODbvBN3DRBWx8clbwDrjMveJXYCjpPRfsLJk5bossyQE7Vh2ve+nXBjbkOPWXd1BNYIfQ3DFat8OcCmePzYPh5MjjyuGkwB9A/8hmenQ4KfAd8Fi6MGmHiMK+IIQwAq6A7f9L/ha7MXbef0Gd1B+5cJ8q7osJlgAAAABJRU5ErkJggg==",suspend="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAcCAYAAAB75n/uAAAAAXNSR0IArs4c6QAAAMlJREFUSEvtlj0OwUEQxX+voXARtZBwAgWVA2hVOgfQ6FQ0DkLCBSioxRncgObJikr+X4msaqfaZF/ey8zO7BsRORT4bQ+AOdAEbuEsaVdV23YDWAAjoA4cgJmkuz7k2wyyYVUR23ug/8VxBVpB4Ay0MwQukjplWdjuAccc3DgIPIBaBuApKaRbGLYnwCYHtAwCzmOQ9H6jorA9BVY5mHUSCC2eSpS6KA1amoP0m/7FD6Jb5q+m3wVORaYfdqJ4a0v0xausz3+9fwE+w+v3NO9E8gAAAABJRU5ErkJggg==",add="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAJhJREFUWEftlzEOQEAURPffgwOhRkPrUFoa1NaBuMeXLyTqsQmS2X7mT95uMvvFgaeffOLUtYdcXFPl6YJYCSIyTT/6VVWjY77IVhVpjHjBAbph1vvAuswgL0hkgxmABEiABEggGIGr1a5iQQoF0ViBWYvKvdUQoycaC/GBAOfH4rUrQBEGe4QMQAIkQAIk8FsCry+nodbzHQqVmosCTFkgAAAAAElFTkSuQmCC",minus="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAECAYAAADvRz3UAAAAAXNSR0IArs4c6QAAADNJREFUKFNjXLJ6myfDf4ZZ////l2GgI2BkZHzCwMiQxrhk1bbH9LYc5k+QIwaBAwY4CgCYmB5vQGvODAAAAABJRU5ErkJggg==",soundWav=""+new URL("timer-ee5a21d4.wav",import.meta.url).href,Countdown=defineComponent({name:"timer-countdown",setup(){ref("positive"),useRoute();const e=ref(),t=ref(),r=ref(),a=ref(),n=ref(null),i=ref(null),s=ref(new Date);i.value=setInterval(()=>{s.value=new Date},1e3);const o=ref(0),l=ref(0),c=ref(0),f=ref(!1),g=ref([e,t,r,a]),u=()=>{const C="0000";l.value=0,c.value=0;for(let T=0;T<g.value.length;T++)g.value[T].value.setFront(C[T])},p=new Audio(soundWav),d=()=>{f.value=!0,n.value=setInterval(()=>{const C=getSecond(o.value);if(o.value==4&&p.play(),o.value<=0){E();return}o.value--;const T=getSecond(o.value);for(let F=0;F<g.value.length;F++)C[F]!==T[F]&&g.value[F].value.flipDown(C[F],T[F])},1e3)},m=()=>{setTimeout(()=>{f.value=!1,p.currentTime=0,p.pause(),n.value&&(clearInterval(n.value),n.value=null)},600)},E=()=>{f.value?(m(),o.value=0,p.currentTime=0,p.pause(),setTimeout(()=>{u()},600)):(o.value=0,u())};onMounted(()=>{nextTick(()=>{u()})}),onUnmounted(()=>{p.pause()});const y=C=>{const T=getSecond(o.value);o.value+=C,o.value>3599?o.value=3599:o.value;const F=getSecond(o.value);for(let M=0;M<g.value.length;M++)T[M]!==F[M]&&g.value[M].value.flipDown(T[M],F[M]);l.value=Math.floor(o.value/60),c.value=Math.floor(o.value%60)},S=C=>{const T=getSecond(o.value);o.value-=C,o.value<0?o.value=0:o.value;const F=getSecond(o.value);for(let M=0;M<g.value.length;M++)T[M]!==F[M]&&g.value[M].value.flipUp(T[M],F[M]);l.value=Math.floor(o.value/60),c.value=Math.floor(o.value%60)},b=C=>{let T=parseInt(C.target.value);Number.isNaN(T)&&(T=0),T>59&&(T=59),l.value=T;const F=getSecond(o.value);console.log(l.value),o.value=l.value*60+c.value;const M=getSecond(o.value);console.log(M,F);for(let D=0;D<g.value.length;D++)F[D]!==M[D]&&g.value[D].value.flipUp(F[D],M[D])},A=C=>{let T=parseInt(C.target.value);Number.isNaN(T)&&(T=0),T>59&&(T=59),c.value=T;const F=getSecond(o.value);o.value=l.value*60+c.value;const M=getSecond(o.value);for(let D=0;D<g.value.length;D++)F[D]!==M[D]&&g.value[D].value.flipUp(F[D],M[D])};return watch(()=>o.value,C=>{l.value=Math.floor(C/60),c.value=Math.floor(C%60)}),()=>createVNode("div",{class:styles$n.timerItemWrap},[createVNode("div",{class:styles$n.timerItemInfo},[createVNode("div",{class:styles$n.timerItemInset},[createVNode("div",{class:styles$n.timerItemInfoTop},[createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 分")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:e},null),createVNode(Flipper,{ref:t},null)]),createVNode("div",{class:[styles$n.chioseWrap,f.value?styles$n.chioseHidden:""]},[createVNode("img",{src:add,class:styles$n.add,alt:"",onClick:()=>y(60)},null),createVNode(NInputNumber,{class:styles$n.countInput,min:0,max:59,"show-button":!1,onInput:b,value:l.value,"onUpdate:value":C=>l.value=C},null),createVNode("img",{src:minus,class:styles$n.minus,alt:"",onClick:()=>S(60)},null)])])]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("div",{class:styles$n.dot},null),createVNode("div",{class:styles$n.dot},null),createVNode("h4",{class:styles$n.dotBtm},null)]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 秒 ")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:r},null),createVNode(Flipper,{ref:a},null)]),createVNode("div",{class:[styles$n.chioseWrap,f.value?styles$n.chioseHidden:""]},[createVNode("img",{src:add,class:styles$n.add,alt:"",onClick:()=>y(1)},null),createVNode(NInputNumber,{class:styles$n.countInput,min:0,max:59,"show-button":!1,value:c.value,"onUpdate:value":C=>c.value=C,onInput:A},null),createVNode("img",{src:minus,class:styles$n.minus,alt:"",onClick:()=>S(1)},null)])])])])])]),createVNode(NSpace,{class:styles$n.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>E()},{default:()=>[createTextVNode("重置")]}),f.value?createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>m()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("暂停")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:suspend},null)}):createVNode(NButton,{round:!0,type:"primary",disabled:o.value==0,"icon-placement":"right",onClick:()=>d()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("开始")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:playIcon},null)})]})])}}),Positive=defineComponent({name:"timer-positive",setup(){ref("positive"),useRoute();const e=ref(),t=ref(),r=ref(),a=ref(),n=ref(null),i=ref(null),s=ref(new Date);i.value=setInterval(()=>{s.value=new Date},1e3);const o=ref(0),l=ref(!1),c=ref([e,t,r,a]),f=()=>{const d="0000";for(let m=0;m<c.value.length;m++)c.value[m].value.setFront(d[m])},g=()=>{l.value=!0,n.value=setInterval(()=>{const d=getSecond(o.value);o.value++;const m=getSecond(o.value);for(let E=0;E<c.value.length;E++)d[E]!==m[E]&&c.value[E].value.flipDown(d[E],m[E])},1e3)},u=()=>{l.value=!1,n.value&&(clearInterval(n.value),n.value=null)},p=()=>{u(),o.value=0,setTimeout(()=>{f()},600)};return onMounted(()=>{nextTick(()=>{f()})}),()=>createVNode("div",{class:styles$n.timerItemWrap},[createVNode("div",{class:styles$n.timerItemInfo},[createVNode("div",{class:styles$n.timerItemInset},[createVNode("div",{class:styles$n.timerItemInfoTop},[createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 分")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:e},null),createVNode(Flipper,{ref:t},null)])])]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",{class:styles$n.dotTop},null),createVNode("div",{class:styles$n.dot},null),createVNode("div",{class:styles$n.dot},null)]),createVNode("div",{class:styles$n.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 秒")]),createVNode("div",{class:styles$n.FlipClock},[createVNode("div",{class:styles$n.numberWrap},[createVNode(Flipper,{ref:r},null),createVNode(Flipper,{ref:a},null)])])])]),createVNode("div",{class:styles$n.nowTimerWrap},[dayjs(s.value).format("YYYY年MM月DD日 HH:mm:ss")])])]),createVNode(NSpace,{class:styles$n.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>p()},{default:()=>[createTextVNode("重置")]}),l.value?createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>u()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("暂停")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:suspend},null)}):createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>g()},{default:()=>createVNode("p",{class:styles$n.playText},[createTextVNode("开始")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$n.palyIcon,src:playIcon},null)})]})])}}),TimerMeter=defineComponent({name:"data-module",setup(){const e=ref("positive");useRoute();const t=r=>{e.value=r};return()=>createVNode("div",null,[createVNode("div",{class:styles$n.timerWrap},[createVNode("div",{class:styles$n.timerTop},[createVNode("div",{class:[styles$n.timerTopPane,e.value=="positive"?styles$n.timerTopPaneActive:""],onClick:()=>{t("positive")}},[createTextVNode("正计时")]),createVNode("div",{class:[styles$n.timerTopPane,e.value=="countdown"?styles$n.timerTopPaneActive:""],onClick:()=>{t("countdown")}},[createTextVNode("倒计时")])]),e.value=="positive"?createVNode(Positive,null,null):createVNode(Countdown,null,null)])])}}),downMove="_downMove_137wx_1",downMoveBg="_downMoveBg_137wx_9",dingPng="_dingPng_137wx_16",closeAble="_closeAble_137wx_25",submitAppBtn="_submitAppBtn_137wx_53",styles$m={downMove,downMoveBg,dingPng,closeAble,submitAppBtn},PlaceholderTone=defineComponent({props:["item","message"],emits:["close"],name:"placeholderTone",setup(e,{emit:t}){return()=>createVNode(Fragment,null,[createVNode("div",{class:styles$m.downMove},[createVNode("img",{src:dingPng$1,class:styles$m.dingPng,alt:""},null),createVNode("img",{src:moveTop,class:styles$m.downMoveBg,alt:""},null),createVNode("h2",null,[createTextVNode("温馨提示")]),createVNode("p",null,[e.message||"调音器功能暂未开放,敬请期待!"]),createVNode(NSpace,{style:{padding:"25px 0 0 0"},justify:"center"},{default:()=>[createVNode(NButton,mergeProps({id:"submitBtn"},{class:styles$m.submitAppBtn,round:!0,type:"primary",onClick:()=>{t("close")}}),{default:()=>[createTextVNode("我知道了")]})]})])])}}),playContent="_playContent_1v44m_1",assignHomeworkClose="_assignHomeworkClose_1v44m_10",coursewarePlay="_coursewarePlay_1v44m_23",playModel="_playModel_1v44m_29",headerContainer="_headerContainer_1v44m_38",backBtn="_backBtn_1v44m_58",headRight="_headRight_1v44m_70",rightBtn="_rightBtn_1v44m_79",menu$1="_menu_1v44m_91",tabsContent="_tabsContent_1v44m_102",wraps="_wraps_1v44m_113",itemDiv="_itemDiv_1v44m_119",itemActive="_itemActive_1v44m_132",acitveAnimation="_acitveAnimation_1v44m_135",show="_show_1v44m_138",hide$2="_hide_1v44m_141",rightFixedBtns="_rightFixedBtns_1v44m_154",fullBtn="_fullBtn_1v44m_161",point="_point_1v44m_166",iconUp="_iconUp_1v44m_176",iconDown="_iconDown_1v44m_177",btnsDisabled="_btnsDisabled_1v44m_180",loadWrap="_loadWrap_1v44m_210",drawerContainer="_drawerContainer_1v44m_221",cardContainer$1="_cardContainer_1v44m_227",sectionAnimate$2="_sectionAnimate_1v44m_256",sectionAnimateUp="_sectionAnimateUp_1v44m_262",switchDisplaySection="_switchDisplaySection_1v44m_268",switchSpace="_switchSpace_1v44m_282",btnItem$1="_btnItem_1v44m_285",attendClassModal="_attendClassModal_1v44m_307",modelAttendContent="_modelAttendContent_1v44m_331",modelAttendBtnGroup="_modelAttendBtnGroup_1v44m_337",trainClassModal="_trainClassModal_1v44m_345",workContainer="_workContainer_1v44m_351",toolboxImg="_toolboxImg_1v44m_355",isDragIng="_isDragIng_1v44m_364",toolClassImg="_toolClassImg_1v44m_368",booxToolWrap="_booxToolWrap_1v44m_383",booxToolItem="_booxToolItem_1v44m_394",setTimeImage="_setTimeImage_1v44m_411",beatImage="_beatImage_1v44m_417",changePwdModal="_changePwdModal_1v44m_423",imChatModal="_imChatModal_1v44m_426",modeWrap="_modeWrap_1v44m_429",showModalTone="_showModalTone_1v44m_434",studentRemove$3="_studentRemove_1v44m_437",removeVisiable$2="_removeVisiable_1v44m_449",btnGroupModal$3="_btnGroupModal_1v44m_467",iframePpt="_iframePpt_1v44m_474",pptBox="_pptBox_1v44m_479",rightColumn="_rightColumn_1v44m_488",rightItem$1="_rightItem_1v44m_502",active$1="_active_1v44m_513",rightTips="_rightTips_1v44m_535",itemDisabled="_itemDisabled_1v44m_567",itemHide="_itemHide_1v44m_571",rightColumnZ="_rightColumnZ_1v44m_574",rightColumnHide="_rightColumnHide_1v44m_577",rightHideIcon$1="_rightHideIcon_1v44m_583",rightIconShow="_rightIconShow_1v44m_593",rightIn="_rightIn_1v44m_1",instrumentContainer="_instrumentContainer_1v44m_605",bottomColumn="_bottomColumn_1v44m_610",bottomItem="_bottomItem_1v44m_617",bottomTips="_bottomTips_1v44m_629",selectMusicModal$1="_selectMusicModal_1v44m_665",selectClassModal="_selectClassModal_1v44m_678",workVisiable="_workVisiable_1v44m_681",workTrain="_workTrain_1v44m_688",resourceMain="_resourceMain_1v44m_701",styles$l={playContent,assignHomeworkClose,coursewarePlay,playModel,headerContainer,backBtn,headRight,rightBtn,menu:menu$1,tabsContent,wraps,itemDiv,itemActive,acitveAnimation,show,hide:hide$2,rightFixedBtns,fullBtn,point,iconUp,iconDown,btnsDisabled,loadWrap,drawerContainer,cardContainer:cardContainer$1,sectionAnimate:sectionAnimate$2,sectionAnimateUp,switchDisplaySection,switchSpace,btnItem:btnItem$1,attendClassModal,modelAttendContent,modelAttendBtnGroup,trainClassModal,workContainer,toolboxImg,isDragIng,toolClassImg,booxToolWrap,booxToolItem,setTimeImage,beatImage,changePwdModal,imChatModal,modeWrap,showModalTone,studentRemove:studentRemove$3,removeVisiable:removeVisiable$2,btnGroupModal:btnGroupModal$3,iframePpt,pptBox,rightColumn,rightItem:rightItem$1,active:active$1,rightTips,itemDisabled,itemHide,rightColumnZ,rightColumnHide,rightHideIcon:rightHideIcon$1,rightIconShow,rightIn,instrumentContainer,bottomColumn,bottomItem,bottomTips,selectMusicModal:selectMusicModal$1,selectClassModal,workVisiable,workTrain,resourceMain},plyr="",musicScore$1="_musicScore_6u588_1",container="_container_6u588_7",musicModel="_musicModel_6u588_15",errorModel="_errorModel_6u588_22",startBtn="_startBtn_6u588_34",loading="_loading_6u588_44",skeletonWrap="_skeletonWrap_6u588_50",skeleton="_skeleton_6u588_50",styles$k={musicScore:musicScore$1,container,musicModel,errorModel,startBtn,loading,skeletonWrap,skeleton};var inBrowser=typeof window<"u",visibility;function usePageVisibility(){if(!visibility&&(visibility=ref("visible"),inBrowser)){const e=()=>{visibility.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return visibility}const MusicScore=defineComponent({name:"musicScore",props:{music:{type:Object,default:()=>({})},activeModel:{type:Boolean},activeStatus:{type:Boolean}},emits:["setIframe"],setup(e,{emit:t}){const r=useUserStore(),a=ref(!1),n=usePageVisibility();watch(n,g=>{console.log("🚀 ~ value:",g),g=="hidden"&&(a.value=!1)});const i=ref(),s=ref(!1),o=ref(!1),l=ref(!1),c="".concat(vaildMusicScoreUrl(),"/instrument/?v=").concat(+new Date,"&showGuide=true&platform=pc&zoom=1.2&modelType=practise&id=").concat(e.music.content,"&Authorization=").concat(r.getToken),f=()=>{fetch(c).then(()=>{l.value=!0,o.value=!1}).catch(()=>{o.value=!0})};return watch(()=>e.music,()=>{l.value||(o.value=!1,e.music.display&&f())}),watch(()=>e.activeModel,()=>{i.value.contentWindow&&e.activeStatus&&i.value.contentWindow.postMessage({api:"attendClassBarStatus",hideMenu:!e.activeModel},"*")}),()=>createVNode("div",{class:styles$k.musicScore},[createVNode("iframe",{ref:i,onLoad:g=>{t("setIframe",i.value),s.value=!0,iframeDislableKeyboard(g.target)},class:[styles$k.container,"musicIframe"],frameborder:"0",src:c},null),s.value&&createVNode("div",{class:styles$k.skeletonWrap},[createVNode("div",null,[createVNode(NSkeleton,{text:!0,repeat:8},null)])])])}});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,a=e.length,n;for(r=0;r<a;r+=1){n=e[r].prototype;for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t.prototype[i]=n[i])}}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,a=this.audios.length;for(r=0;r<a;r+=1)this.audios[r].pause()},resume:function(){var r,a=this.audios.length;for(r=0;r<a;r+=1)this.audios[r].resume()},setRate:function(r){var a,n=this.audios.length;for(a=0;a<n;a+=1)this.audios[a].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,a=this.audios.length;for(r=0;r<a;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(r,a){var n=0,i=[],s;switch(r){case"int16":case"uint8c":s=1;break;default:s=1.1;break}for(n=0;n<a;n+=1)i.push(s);return i}function t(r,a){return r==="float32"?new Float32Array(a):r==="int16"?new Int16Array(a):r==="uint8c"?new Uint8ClampedArray(a):e(r,a)}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),a,n=e.length;for(a=0;a<n;a+=1)r[a]=Math.abs(e[a]);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"}function BMEnterFrameEvent(e,t,r,a){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=a<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,a){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=a<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 a,n,i,s,o,l,c,f;switch(s=Math.floor(e*6),o=e*6-s,l=r*(1-t),c=r*(1-o*t),f=r*(1-(1-o)*t),s%6){case 0:a=r,n=f,i=l;break;case 1:a=c,n=r,i=l;break;case 2:a=l,n=r,i=f;break;case 3:a=l,n=c,i=r;break;case 4:a=f,n=l,i=r;break;case 5:a=r,n=l,i=c;break}return[a,n,i]}function RGBtoHSV(e,t,r){var a=Math.max(e,t,r),n=Math.min(e,t,r),i=a-n,s,o=a===0?0:i/a,l=a/255;switch(a){case n:s=0;break;case e:s=t-r+i*(t<r?6:0),s/=6*i;break;case t:s=r-e+i*2,s/=6*i;break;case r:s=e-t+i*4,s/=6*i;break}return[s,o,l]}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(a,n,i){return a<0&&(a=0),n<0&&(n=0),i<0&&(i=0),"#"+e[a]+e[n]+e[i]}}(),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,a,n={onmessage:function(){},postMessage:function(p){r({data:p})}},i={postMessage:function(p){n.onmessage({data:p})}};function s(u){if(window.Worker&&window.Blob&&getWebWorker()){var p=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),d=URL.createObjectURL(p);return new Worker(d)}return r=u,n}function o(){a||(a=s(function(p){function d(){function E(O,I){var N,x,P=O.length,R,V,J,Y;for(x=0;x<P;x+=1)if(N=O[x],"ks"in N&&!N.completed){if(N.completed=!0,N.hasMask){var X=N.masksProperties;for(V=X.length,R=0;R<V;R+=1)if(X[R].pt.k.i)C(X[R].pt.k);else for(Y=X[R].pt.k.length,J=0;J<Y;J+=1)X[R].pt.k[J].s&&C(X[R].pt.k[J].s[0]),X[R].pt.k[J].e&&C(X[R].pt.k[J].e[0])}N.ty===0?(N.layers=b(N.refId,I),E(N.layers,I)):N.ty===4?A(N.shapes):N.ty===5&&_(N)}}function y(O,I){if(O){var N=0,x=O.length;for(N=0;N<x;N+=1)O[N].t===1&&(O[N].data.layers=b(O[N].data.refId,I),E(O[N].data.layers,I))}}function S(O,I){for(var N=0,x=I.length;N<x;){if(I[N].id===O)return I[N];N+=1}return null}function b(O,I){var N=S(O,I);return N?N.layers.__used?JSON.parse(JSON.stringify(N.layers)):(N.layers.__used=!0,N.layers):null}function A(O){var I,N=O.length,x,P;for(I=N-1;I>=0;I-=1)if(O[I].ty==="sh")if(O[I].ks.k.i)C(O[I].ks.k);else for(P=O[I].ks.k.length,x=0;x<P;x+=1)O[I].ks.k[x].s&&C(O[I].ks.k[x].s[0]),O[I].ks.k[x].e&&C(O[I].ks.k[x].e[0]);else O[I].ty==="gr"&&A(O[I].it)}function C(O){var I,N=O.i.length;for(I=0;I<N;I+=1)O.i[I][0]+=O.v[I][0],O.i[I][1]+=O.v[I][1],O.o[I][0]+=O.v[I][0],O.o[I][1]+=O.v[I][1]}function T(O,I){var N=I?I.split("."):[100,100,100];return O[0]>N[0]?!0:N[0]>O[0]?!1:O[1]>N[1]?!0:N[1]>O[1]?!1:O[2]>N[2]?!0:N[2]>O[2]?!1:null}var F=function(){var O=[4,4,14];function I(x){var P=x.t.d;x.t.d={k:[{s:P,t:0}]}}function N(x){var P,R=x.length;for(P=0;P<R;P+=1)x[P].ty===5&&I(x[P])}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}(),M=function(){var O=[4,7,99];return function(I){if(I.chars&&!T(O,I.v)){var N,x=I.chars.length;for(N=0;N<x;N+=1){var P=I.chars[N];P.data&&P.data.shapes&&(A(P.data.shapes),P.data.ip=0,P.data.op=99999,P.data.st=0,P.data.sr=1,P.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}},I.chars[N].t||(P.data.shapes.push({ty:"no"}),P.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"})))}}}}(),D=function(){var O=[5,7,15];function I(x){var P=x.t.p;typeof P.a=="number"&&(P.a={a:0,k:P.a}),typeof P.p=="number"&&(P.p={a:0,k:P.p}),typeof P.r=="number"&&(P.r={a:0,k:P.r})}function N(x){var P,R=x.length;for(P=0;P<R;P+=1)x[P].ty===5&&I(x[P])}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}(),H=function(){var O=[4,1,9];function I(x){var P,R=x.length,V,J;for(P=0;P<R;P+=1)if(x[P].ty==="gr")I(x[P].it);else if(x[P].ty==="fl"||x[P].ty==="st")if(x[P].c.k&&x[P].c.k[0].i)for(J=x[P].c.k.length,V=0;V<J;V+=1)x[P].c.k[V].s&&(x[P].c.k[V].s[0]/=255,x[P].c.k[V].s[1]/=255,x[P].c.k[V].s[2]/=255,x[P].c.k[V].s[3]/=255),x[P].c.k[V].e&&(x[P].c.k[V].e[0]/=255,x[P].c.k[V].e[1]/=255,x[P].c.k[V].e[2]/=255,x[P].c.k[V].e[3]/=255);else x[P].c.k[0]/=255,x[P].c.k[1]/=255,x[P].c.k[2]/=255,x[P].c.k[3]/=255}function N(x){var P,R=x.length;for(P=0;P<R;P+=1)x[P].ty===4&&I(x[P].shapes)}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}(),j=function(){var O=[4,4,18];function I(x){var P,R=x.length,V,J;for(P=R-1;P>=0;P-=1)if(x[P].ty==="sh")if(x[P].ks.k.i)x[P].ks.k.c=x[P].closed;else for(J=x[P].ks.k.length,V=0;V<J;V+=1)x[P].ks.k[V].s&&(x[P].ks.k[V].s[0].c=x[P].closed),x[P].ks.k[V].e&&(x[P].ks.k[V].e[0].c=x[P].closed);else x[P].ty==="gr"&&I(x[P].it)}function N(x){var P,R,V=x.length,J,Y,X,re;for(R=0;R<V;R+=1){if(P=x[R],P.hasMask){var Z=P.masksProperties;for(Y=Z.length,J=0;J<Y;J+=1)if(Z[J].pt.k.i)Z[J].pt.k.c=Z[J].cl;else for(re=Z[J].pt.k.length,X=0;X<re;X+=1)Z[J].pt.k[X].s&&(Z[J].pt.k[X].s[0].c=Z[J].cl),Z[J].pt.k[X].e&&(Z[J].pt.k[X].e[0].c=Z[J].cl)}P.ty===4&&I(P.shapes)}}return function(x){if(T(O,x.v)&&(N(x.layers),x.assets)){var P,R=x.assets.length;for(P=0;P<R;P+=1)x.assets[P].layers&&N(x.assets[P].layers)}}}();function B(O){O.__complete||(H(O),F(O),M(O),D(O),j(O),E(O.layers,O.assets),y(O.chars,O.assets),O.__complete=!0)}function _(O){O.t.a.length===0&&"m"in O.t.p}var $={};return $.completeData=B,$.checkColors=H,$.checkChars=M,$.checkPathProperties=D,$.checkShapes=j,$.completeLayers=E,$}if(i.dataManager||(i.dataManager=d()),i.assetLoader||(i.assetLoader=function(){function E(S){var b=S.getResponseHeader("content-type");return b&&S.responseType==="json"&&b.indexOf("json")!==-1||S.response&&_typeof$5(S.response)==="object"?S.response:S.response&&typeof S.response=="string"?JSON.parse(S.response):S.responseText?JSON.parse(S.responseText):null}function y(S,b,A,C){var T,F=new XMLHttpRequest;try{F.responseType="json"}catch(M){}F.onreadystatechange=function(){if(F.readyState===4)if(F.status===200)T=E(F),A(T);else try{T=E(F),A(T)}catch(M){C&&C(M)}};try{F.open(["G","E","T"].join(""),S,!0)}catch(M){F.open(["G","E","T"].join(""),b+"/"+S,!0)}F.send()}return{load:y}}()),p.data.type==="loadAnimation")i.assetLoader.load(p.data.path,p.data.fullPath,function(E){i.dataManager.completeData(E),i.postMessage({id:p.data.id,payload:E,status:"success"})},function(){i.postMessage({id:p.data.id,status:"error"})});else if(p.data.type==="complete"){var m=p.data.animation;i.dataManager.completeData(m),i.postMessage({id:p.data.id,payload:m,status:"success"})}else p.data.type==="loadData"&&i.assetLoader.load(p.data.path,p.data.fullPath,function(E){i.postMessage({id:p.data.id,payload:E,status:"success"})},function(){i.postMessage({id:p.data.id,status:"error"})})}),a.onmessage=function(u){var p=u.data,d=p.id,m=t[d];t[d]=null,p.status==="success"?m.onComplete(p.payload):m.onError&&m.onError()})}function l(u,p){e+=1;var d="processId_"+e;return t[d]={onComplete:u,onError:p},d}function c(u,p,d){o();var m=l(p,d);a.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:m})}function f(u,p,d){o();var m=l(p,d);a.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:m})}function g(u,p,d){o();var m=l(p,d);a.postMessage({type:"complete",animation:u,id:m})}return{loadAnimation:c,loadData:f,completeAnimation:g}}(),ImagePreloader=function(){var e=function(){var y=createTag("canvas");y.width=1,y.height=1;var S=y.getContext("2d");return S.fillStyle="rgba(0,0,0,0)",S.fillRect(0,0,1,1),y}();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 a(y,S,b){var A="";if(y.e)A=y.p;else if(S){var C=y.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),A=S+C}else A=b,A+=y.u?y.u:"",A+=y.p;return A}function n(y){var S=0,b=setInterval((function(){var A=y.getBBox();(A.width||S>500)&&(this._imageLoaded(),clearInterval(b)),S+=1}).bind(this),50)}function i(y){var S=a(y,this.assetsPath,this.path),b=createNS("image");isSafari?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",S),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var A={img:b,assetData:y};return A}function s(y){var S=a(y,this.assetsPath,this.path),b=createTag("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),b.src=S;var A={img:b,assetData:y};return A}function o(y){var S={assetData:y},b=a(y,this.assetsPath,this.path);return dataManager.loadData(b,(function(A){S.img=A,this._footageLoaded()}).bind(this),(function(){S.img={},this._footageLoaded()}).bind(this)),S}function l(y,S){this.imagesLoadedCb=S;var b,A=y.length;for(b=0;b<A;b+=1)y[b].layers||(!y[b].t||y[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[b]))):y[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[b]))))}function c(y){this.path=y||""}function f(y){this.assetsPath=y||""}function g(y){for(var S=0,b=this.images.length;S<b;){if(this.images[S].assetData===y)return this.images[S].img;S+=1}return null}function u(){this.imagesLoadedCb=null,this.images.length=0}function p(){return this.totalImages===this.loadedAssets}function d(){return this.totalFootages===this.loadedFootagesCount}function m(y,S){y==="svg"?(this._elementHelper=S,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function E(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return E.prototype={loadAssets:l,setAssetsPath:f,setPath:c,loadedImages:p,loadedFootages:d,destroy:u,getAsset:g,createImgData:s,createImageData:i,imageLoaded:t,footageLoaded:r,setCacheType:m},E}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,r){if(this._cbs[t])for(var a=this._cbs[t],n=0;n<a.length;n+=1)a[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 a=0,n=this._cbs[t].length;a<n;)this._cbs[t][a]===r&&(this._cbs[t].splice(a,1),a-=1,n-=1),a+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var r=t.split("\r\n"),a={},n,i=0,s=0;s<r.length;s+=1)n=r[s].split(":"),n.length===2&&(a[n[0]]=n[1].trim(),i+=1);if(i===0)throw new Error;return a}return function(t){for(var r=[],a=0;a<t.length;a+=1){var n=t[a],i={time:n.tm,duration:n.dr};try{i.payload=JSON.parse(t[a].cm)}catch(s){try{i.payload=e(t[a].cm)}catch(o){i.payload={name:t[a].cm}}}r.push(i)}return r}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(r){for(var a=0,n=this.compositions.length;a<n;){if(this.compositions[a].data&&this.compositions[a].data.nm===r)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=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},a=e.attributes;r.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",r.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var n=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";n==="false"?r.loop=!1:n==="true"?r.loop=!0:n!==""&&(r.loop=parseInt(n,10));var i=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;r.autoplay=i!=="false",r.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var s=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";s==="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,a=t.length,n=e.layers,i,s=n.length;for(i=0;i<s;i+=1)for(r=0;r<a;){if(t[r].id===n[i].id){t[r]=n[i];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(a=e.assets.length,r=0;r<a;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,a=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(r,a)},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 a=Number(e);if(isNaN(a)){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 a=Number(e);if(isNaN(a)){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(a,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,a=e.length;for(r=0;r<a;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 a=this.renderer.getElementByPath(e);a.updateDocumentData(t,r)}catch(n){}},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,a=0,n=0,i=!0,s=!1;function o(I){for(var N=0,x=I.target;N<a;)t[N].animation===x&&(t.splice(N,1),N-=1,a-=1,x.isPaused||g()),N+=1}function l(I,N){if(!I)return null;for(var x=0;x<a;){if(t[x].elem===I&&t[x].elem!==null)return t[x].animation;x+=1}var P=new AnimationItem;return u(P,I),P.setData(I,N),P}function c(){var I,N=t.length,x=[];for(I=0;I<N;I+=1)x.push(t[I].animation);return x}function f(){n+=1,H()}function g(){n-=1}function u(I,N){I.addEventListener("destroy",o),I.addEventListener("_active",f),I.addEventListener("_idle",g),t.push({elem:N,animation:I}),a+=1}function p(I){var N=new AnimationItem;return u(N,null),N.setParams(I),N}function d(I,N){var x;for(x=0;x<a;x+=1)t[x].animation.setSpeed(I,N)}function m(I,N){var x;for(x=0;x<a;x+=1)t[x].animation.setDirection(I,N)}function E(I){var N;for(N=0;N<a;N+=1)t[N].animation.play(I)}function y(I){var N=I-r,x;for(x=0;x<a;x+=1)t[x].animation.advanceTime(N);r=I,n&&!s?window.requestAnimationFrame(y):i=!0}function S(I){r=I,window.requestAnimationFrame(y)}function b(I){var N;for(N=0;N<a;N+=1)t[N].animation.pause(I)}function A(I,N,x){var P;for(P=0;P<a;P+=1)t[P].animation.goToAndStop(I,N,x)}function C(I){var N;for(N=0;N<a;N+=1)t[N].animation.stop(I)}function T(I){var N;for(N=0;N<a;N+=1)t[N].animation.togglePause(I)}function F(I){var N;for(N=a-1;N>=0;N-=1)t[N].animation.destroy(I)}function M(I,N,x){var P=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),R,V=P.length;for(R=0;R<V;R+=1)x&&P[R].setAttribute("data-bm-type",x),l(P[R],I);if(N&&V===0){x||(x="svg");var J=document.getElementsByTagName("body")[0];J.innerText="";var Y=createTag("div");Y.style.width="100%",Y.style.height="100%",Y.setAttribute("data-bm-type",x),J.appendChild(Y),l(Y,I)}}function D(){var I;for(I=0;I<a;I+=1)t[I].animation.resize()}function H(){!s&&n&&i&&(window.requestAnimationFrame(S),i=!1)}function j(){s=!0}function B(){s=!1,H()}function _(I,N){var x;for(x=0;x<a;x+=1)t[x].animation.setVolume(I,N)}function $(I){var N;for(N=0;N<a;N+=1)t[N].animation.mute(I)}function O(I){var N;for(N=0;N<a;N+=1)t[N].animation.unmute(I)}return e.registerAnimation=l,e.loadAnimation=p,e.setSpeed=d,e.setDirection=m,e.play=E,e.pause=b,e.stop=C,e.togglePause=T,e.searchAnimations=M,e.resize=D,e.goToAndStop=A,e.destroy=F,e.freeze=j,e.unfreeze=B,e.setVolume=_,e.mute=$,e.unmute=O,e.getRegisteredAnimations=c,e}(),BezierFactory=function(){var e={};e.getBezierEasing=r;var t={};function r(S,b,A,C,T){var F=T||("bez_"+S+"_"+b+"_"+A+"_"+C).replace(/\./g,"p");if(t[F])return t[F];var M=new y([S,b,A,C]);return t[F]=M,M}var a=4,n=.001,i=1e-7,s=10,o=11,l=1/(o-1),c=typeof Float32Array=="function";function f(S,b){return 1-3*b+3*S}function g(S,b){return 3*b-6*S}function u(S){return 3*S}function p(S,b,A){return((f(b,A)*S+g(b,A))*S+u(b))*S}function d(S,b,A){return 3*f(b,A)*S*S+2*g(b,A)*S+u(b)}function m(S,b,A,C,T){var F,M,D=0;do M=b+(A-b)/2,F=p(M,C,T)-S,F>0?A=M:b=M;while(Math.abs(F)>i&&++D<s);return M}function E(S,b,A,C){for(var T=0;T<a;++T){var F=d(b,A,C);if(F===0)return b;var M=p(b,A,C)-S;b-=M/F}return b}function y(S){this._p=S,this._mSampleValues=c?new Float32Array(o):new Array(o),this._precomputed=!1,this.get=this.get.bind(this)}return y.prototype={get:function(b){var A=this._p[0],C=this._p[1],T=this._p[2],F=this._p[3];return this._precomputed||this._precompute(),A===C&&T===F?b:b===0?0:b===1?1:p(this._getTForX(b),C,F)},_precompute:function(){var b=this._p[0],A=this._p[1],C=this._p[2],T=this._p[3];this._precomputed=!0,(b!==A||C!==T)&&this._calcSampleValues()},_calcSampleValues:function(){for(var b=this._p[0],A=this._p[2],C=0;C<o;++C)this._mSampleValues[C]=p(C*l,b,A)},_getTForX:function(b){for(var A=this._p[0],C=this._p[2],T=this._mSampleValues,F=0,M=1,D=o-1;M!==D&&T[M]<=b;++M)F+=l;--M;var H=(b-T[M])/(T[M+1]-T[M]),j=F+H*l,B=d(j,A,C);return B>=n?E(b,j,A,C):B===0?j:m(b,F,F+l,A,C)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var a=0,n=e,i=createSizedArray(n),s={newElement:o,release:l};function o(){var c;return a?(a-=1,c=i[a]):c=t(),c}function l(c){a===n&&(i=pooling.double(i),n*=2),r&&r(c),i[a]=c,a+=1}return s}}(),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 a,n=r.lengths.length;for(a=0;a<n;a+=1)bezierLengthPool.release(r.lengths[a]);r.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(u,p,d,m,E,y){var S=u*m+p*E+d*y-E*m-y*u-d*p;return S>-.001&&S<.001}function r(u,p,d,m,E,y,S,b,A){if(d===0&&y===0&&A===0)return t(u,p,m,E,S,b);var C=e.sqrt(e.pow(m-u,2)+e.pow(E-p,2)+e.pow(y-d,2)),T=e.sqrt(e.pow(S-u,2)+e.pow(b-p,2)+e.pow(A-d,2)),F=e.sqrt(e.pow(S-m,2)+e.pow(b-E,2)+e.pow(A-y,2)),M;return C>T?C>F?M=C-T-F:M=F-T-C:F>T?M=F-T-C:M=T-C-F,M>-1e-4&&M<1e-4}var a=function(){return function(u,p,d,m){var E=getDefaultCurveSegments(),y,S,b,A,C,T=0,F,M=[],D=[],H=bezierLengthPool.newElement();for(b=d.length,y=0;y<E;y+=1){for(C=y/(E-1),F=0,S=0;S<b;S+=1)A=bmPow(1-C,3)*u[S]+3*bmPow(1-C,2)*C*d[S]+3*(1-C)*bmPow(C,2)*m[S]+bmPow(C,3)*p[S],M[S]=A,D[S]!==null&&(F+=bmPow(M[S]-D[S],2)),D[S]=M[S];F&&(F=bmSqrt(F),T+=F),H.percents[y]=C,H.lengths[y]=T}return H.addedLength=T,H}}();function n(u){var p=segmentsLengthPool.newElement(),d=u.c,m=u.v,E=u.o,y=u.i,S,b=u._length,A=p.lengths,C=0;for(S=0;S<b-1;S+=1)A[S]=a(m[S],m[S+1],E[S],y[S+1]),C+=A[S].addedLength;return d&&b&&(A[S]=a(m[S],m[0],E[S],y[0]),C+=A[S].addedLength),p.totalLength=C,p}function i(u){this.segmentLength=0,this.points=new Array(u)}function s(u,p){this.partialLength=u,this.point=p}var o=function(){var u={};return function(p,d,m,E){var y=(p[0]+"_"+p[1]+"_"+d[0]+"_"+d[1]+"_"+m[0]+"_"+m[1]+"_"+E[0]+"_"+E[1]).replace(/\./g,"p");if(!u[y]){var S=getDefaultCurveSegments(),b,A,C,T,F,M=0,D,H,j=null;p.length===2&&(p[0]!==d[0]||p[1]!==d[1])&&t(p[0],p[1],d[0],d[1],p[0]+m[0],p[1]+m[1])&&t(p[0],p[1],d[0],d[1],d[0]+E[0],d[1]+E[1])&&(S=2);var B=new i(S);for(C=m.length,b=0;b<S;b+=1){for(H=createSizedArray(C),F=b/(S-1),D=0,A=0;A<C;A+=1)T=bmPow(1-F,3)*p[A]+3*bmPow(1-F,2)*F*(p[A]+m[A])+3*(1-F)*bmPow(F,2)*(d[A]+E[A])+bmPow(F,3)*d[A],H[A]=T,j!==null&&(D+=bmPow(H[A]-j[A],2));D=bmSqrt(D),M+=D,B.points[b]=new s(D,H),j=H}B.segmentLength=M,u[y]=B}return u[y]}}();function l(u,p){var d=p.percents,m=p.lengths,E=d.length,y=bmFloor((E-1)*u),S=u*p.addedLength,b=0;if(y===E-1||y===0||S===m[y])return d[y];for(var A=m[y]>S?-1:1,C=!0;C;)if(m[y]<=S&&m[y+1]>S?(b=(S-m[y])/(m[y+1]-m[y]),C=!1):y+=A,y<0||y>=E-1){if(y===E-1)return d[y];C=!1}return d[y]+(d[y+1]-d[y])*b}function c(u,p,d,m,E,y){var S=l(E,y),b=1-S,A=e.round((b*b*b*u[0]+(S*b*b+b*S*b+b*b*S)*d[0]+(S*S*b+b*S*S+S*b*S)*m[0]+S*S*S*p[0])*1e3)/1e3,C=e.round((b*b*b*u[1]+(S*b*b+b*S*b+b*b*S)*d[1]+(S*S*b+b*S*S+S*b*S)*m[1]+S*S*S*p[1])*1e3)/1e3;return[A,C]}var f=createTypedArray("float32",8);function g(u,p,d,m,E,y,S){E<0?E=0:E>1&&(E=1);var b=l(E,S);y=y>1?1:y;var A=l(y,S),C,T=u.length,F=1-b,M=1-A,D=F*F*F,H=b*F*F*3,j=b*b*F*3,B=b*b*b,_=F*F*M,$=b*F*M+F*b*M+F*F*A,O=b*b*M+F*b*A+b*F*A,I=b*b*A,N=F*M*M,x=b*M*M+F*A*M+F*M*A,P=b*A*M+F*A*A+b*M*A,R=b*A*A,V=M*M*M,J=A*M*M+M*A*M+M*M*A,Y=A*A*M+M*A*A+A*M*A,X=A*A*A;for(C=0;C<T;C+=1)f[C*4]=e.round((D*u[C]+H*d[C]+j*m[C]+B*p[C])*1e3)/1e3,f[C*4+1]=e.round((_*u[C]+$*d[C]+O*m[C]+I*p[C])*1e3)/1e3,f[C*4+2]=e.round((N*u[C]+x*d[C]+P*m[C]+R*p[C])*1e3)/1e3,f[C*4+3]=e.round((V*u[C]+J*d[C]+Y*m[C]+X*p[C])*1e3)/1e3;return f}return{getSegmentsLength:n,getNewSegment:g,getPointInSegment:c,buildBezierData:o,pointOnLine2D:t,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r=this.offsetTime,a;this.propType==="multidimensional"&&(a=createTypedArray("float32",this.pv.length));for(var n=t.lastIndex,i=n,s=this.keyframes.length-1,o=!0,l,c,f;o;){if(l=this.keyframes[i],c=this.keyframes[i+1],i===s-1&&e>=c.t-r){l.h&&(l=c),n=0;break}if(c.t-r>e){n=i;break}i<s-1?i+=1:(n=0,o=!1)}f=this.keyframesMetadata[i]||{};var g,u,p,d,m,E,y=c.t-r,S=l.t-r,b;if(l.to){f.bezierData||(f.bezierData=bez.buildBezierData(l.s,c.s||l.e,l.to,l.ti));var A=f.bezierData;if(e>=y||e<S){var C=e>=y?A.points.length-1:0;for(u=A.points[C].point.length,g=0;g<u;g+=1)a[g]=A.points[C].point[g]}else{f.__fnct?E=f.__fnct:(E=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,f.__fnct=E),p=E((e-S)/(y-S));var T=A.segmentLength*p,F,M=t.lastFrame<e&&t._lastKeyframeIndex===i?t._lastAddedLength:0;for(m=t.lastFrame<e&&t._lastKeyframeIndex===i?t._lastPoint:0,o=!0,d=A.points.length;o;){if(M+=A.points[m].partialLength,T===0||p===0||m===A.points.length-1){for(u=A.points[m].point.length,g=0;g<u;g+=1)a[g]=A.points[m].point[g];break}else if(T>=M&&T<M+A.points[m+1].partialLength){for(F=(T-M)/A.points[m+1].partialLength,u=A.points[m].point.length,g=0;g<u;g+=1)a[g]=A.points[m].point[g]+(A.points[m+1].point[g]-A.points[m].point[g])*F;break}m<d-1?m+=1:o=!1}t._lastPoint=m,t._lastAddedLength=M-A.points[m].partialLength,t._lastKeyframeIndex=i}}else{var D,H,j,B,_;if(s=l.s.length,b=c.s||l.e,this.sh&&l.h!==1)if(e>=y)a[0]=b[0],a[1]=b[1],a[2]=b[2];else if(e<=S)a[0]=l.s[0],a[1]=l.s[1],a[2]=l.s[2];else{var $=createQuaternion(l.s),O=createQuaternion(b),I=(e-S)/(y-S);quaternionToEuler(a,slerp($,O,I))}else for(i=0;i<s;i+=1)l.h!==1&&(e>=y?p=1:e<S?p=0:(l.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[i]?E=f.__fnct[i]:(D=l.o.x[i]===void 0?l.o.x[0]:l.o.x[i],H=l.o.y[i]===void 0?l.o.y[0]:l.o.y[i],j=l.i.x[i]===void 0?l.i.x[0]:l.i.x[i],B=l.i.y[i]===void 0?l.i.y[0]:l.i.y[i],E=BezierFactory.getBezierEasing(D,H,j,B).get,f.__fnct[i]=E)):f.__fnct?E=f.__fnct:(D=l.o.x,H=l.o.y,j=l.i.x,B=l.i.y,E=BezierFactory.getBezierEasing(D,H,j,B).get,l.keyframeMetadata=E),p=E((e-S)/(y-S)))),b=c.s||l.e,_=l.h===1?l.s[i]:l.s[i]+(b[i]-l.s[i])*p,this.propType==="multidimensional"?a[i]=_:a=_}return t.lastIndex=n,a}function slerp(e,t,r){var a=[],n=e[0],i=e[1],s=e[2],o=e[3],l=t[0],c=t[1],f=t[2],g=t[3],u,p,d,m,E;return p=n*l+i*c+s*f+o*g,p<0&&(p=-p,l=-l,c=-c,f=-f,g=-g),1-p>1e-6?(u=Math.acos(p),d=Math.sin(u),m=Math.sin((1-r)*u)/d,E=Math.sin(r*u)/d):(m=1-r,E=r),a[0]=m*n+E*l,a[1]=m*i+E*c,a[2]=m*s+E*f,a[3]=m*o+E*g,a}function quaternionToEuler(e,t){var r=t[0],a=t[1],n=t[2],i=t[3],s=Math.atan2(2*a*i-2*r*n,1-2*a*a-2*n*n),o=Math.asin(2*r*a+2*n*i),l=Math.atan2(2*r*i-2*a*n,1-2*r*r-2*n*n);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,a=e[2]*degToRads,n=Math.cos(t/2),i=Math.cos(r/2),s=Math.cos(a/2),o=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(a/2),f=n*i*s-o*l*c,g=o*l*s+n*i*c,u=o*i*s+n*l*c,p=n*l*s-o*i*c;return[g,u,p,f]}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 a=this.interpolateValue(e,this._caching);this.pv=a}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,a=this.v.length;r<a;)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,a){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=a,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,a){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var n,i=t.k.length;for(this.v=createTypedArray("float32",i),this.pv=createTypedArray("float32",i),this.vel=createTypedArray("float32",i),n=0;n<i;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,a){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=a,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,a){this.propType="multidimensional";var n,i=t.k.length,s,o,l,c;for(n=0;n<i-1;n+=1)t.k[n].to&&t.k[n].s&&t.k[n+1]&&t.k[n+1].s&&(s=t.k[n].s,o=t.k[n+1].s,l=t.k[n].to,c=t.k[n].ti,(s.length===2&&!(s[0]===o[0]&&s[1]===o[1])&&bez.pointOnLine2D(s[0],s[1],o[0],o[1],s[0]+l[0],s[1]+l[1])&&bez.pointOnLine2D(s[0],s[1],o[0],o[1],o[0]+c[0],o[1]+c[1])||s.length===3&&!(s[0]===o[0]&&s[1]===o[1]&&s[2]===o[2])&&bez.pointOnLine3D(s[0],s[1],s[2],o[0],o[1],o[2],s[0]+l[0],s[1]+l[1],s[2]+l[2])&&bez.pointOnLine3D(s[0],s[1],s[2],o[0],o[1],o[2],o[0]+c[0],o[1]+c[1],o[2]+c[2]))&&(t.k[n].to=null,t.k[n].ti=null),s[0]===o[0]&&s[1]===o[1]&&l[0]===0&&l[1]===0&&c[0]===0&&c[1]===0&&(s.length===2||s[2]===o[2]&&l[2]===0&&c[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=a,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var f=t.k[0].s.length;for(this.v=createTypedArray("float32",f),this.pv=createTypedArray("float32",f),n=0;n<f;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",f)},this.addEffect=addEffect}var PropertyFactory=function(){function e(r,a,n,i,s){a.sid&&(a=r.globalData.slotManager.getProp(a));var o;if(!a.k.length)o=new ValueProperty(r,a,i,s);else if(typeof a.k[0]=="number")o=new MultiDimensionalProperty(r,a,i,s);else switch(n){case 0:o=new KeyframedValueProperty(r,a,i,s);break;case 1:o=new KeyframedMultidimensionalProperty(r,a,i,s);break}return o.effectsSequence.length&&s.addDynamicProperty(o),o}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,a,n){var i;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":i=this.v;break;case"i":i=this.i;break;case"o":i=this.o;break;default:i=[];break}(!i[a]||i[a]&&!n)&&(i[a]=pointPool.newElement()),i[a][0]=e,i[a][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,a,n,i,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,a,"o",s,o),this.setXYAt(n,i,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,a=this.i,n=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],a[0][0],a[0][1],r[0][0],r[0][1],0,!1),n=1);var i=this._length-1,s=this._length,o;for(o=n;o<s;o+=1)e.setTripleAt(t[i][0],t[i][1],a[i][0],a[i][1],r[i][0],r[i][1],o,!1),i-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(n){var i=n._length,s;for(s=0;s<i;s+=1)pointPool.release(n.v[s]),pointPool.release(n.i[s]),pointPool.release(n.o[s]),n.v[s]=null,n.i[s]=null,n.o[s]=null;n._length=0,n.c=!1}function r(n){var i=a.newElement(),s,o=n._length===void 0?n.v.length:n._length;for(i.setLength(o),i.c=n.c,s=0;s<o;s+=1)i.setTripleAt(n.v[s][0],n.v[s][1],n.o[s][0],n.o[s][1],n.i[s][0],n.i[s][1],s);return i}var a=poolFactory(4,e,t);return a.clone=r,a}();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:i},t=0,r=4,a=createSizedArray(r);function n(){var s;return t?(t-=1,s=a[t]):s=new ShapeCollection,s}function i(s){var o,l=s._length;for(o=0;o<l;o+=1)shapePool.release(s.shapes[o]);s._length=0,t===r&&(a=pooling.double(a),r*=2),a[t]=s,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(y,S,b){var A=b.lastIndex,C,T,F,M,D,H,j,B,_,$=this.keyframes;if(y<$[0].t-this.offsetTime)C=$[0].s[0],F=!0,A=0;else if(y>=$[$.length-1].t-this.offsetTime)C=$[$.length-1].s?$[$.length-1].s[0]:$[$.length-2].e[0],F=!0;else{for(var O=A,I=$.length-1,N=!0,x,P,R;N&&(x=$[O],P=$[O+1],!(P.t-this.offsetTime>y));)O<I-1?O+=1:N=!1;if(R=this.keyframesMetadata[O]||{},F=x.h===1,A=O,!F){if(y>=P.t-this.offsetTime)B=1;else if(y<x.t-this.offsetTime)B=0;else{var V;R.__fnct?V=R.__fnct:(V=BezierFactory.getBezierEasing(x.o.x,x.o.y,x.i.x,x.i.y).get,R.__fnct=V),B=V((y-(x.t-this.offsetTime))/(P.t-this.offsetTime-(x.t-this.offsetTime)))}T=P.s?P.s[0]:x.e[0]}C=x.s[0]}for(H=S._length,j=C.i[0].length,b.lastIndex=A,M=0;M<H;M+=1)for(D=0;D<j;D+=1)_=F?C.i[M][D]:C.i[M][D]+(T.i[M][D]-C.i[M][D])*B,S.i[M][D]=_,_=F?C.o[M][D]:C.o[M][D]+(T.o[M][D]-C.o[M][D])*B,S.o[M][D]=_,_=F?C.v[M][D]:C.v[M][D]+(T.v[M][D]-C.v[M][D])*B,S.v[M][D]=_}function r(){var y=this.comp.renderedFrame-this.offsetTime,S=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<S&&y<S||A>b&&y>b)||(this._caching.lastIndex=A<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function a(){this.paths=this.localShapeCollection}function n(y,S){if(y._length!==S._length||y.c!==S.c)return!1;var b,A=y._length;for(b=0;b<A;b+=1)if(y.v[b][0]!==S.v[b][0]||y.v[b][1]!==S.v[b][1]||y.o[b][0]!==S.o[b][0]||y.o[b][1]!==S.o[b][1]||y.i[b][0]!==S.i[b][0]||y.i[b][1]!==S.i[b][1])return!1;return!0}function i(y){n(this.v,y)||(this.v=shapePool.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function s(){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 y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var S,b=this.effectsSequence.length;for(S=0;S<b;S+=1)y=this.effectsSequence[S](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(y,S,b){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=S,this.k=!1,this.kf=!1,this._mdf=!1;var A=b===3?S.pt.k:S.ks.k;this.v=shapePool.clone(A),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function l(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this)}o.prototype.interpolateShape=t,o.prototype.getValue=s,o.prototype.setVValue=i,o.prototype.addEffect=l;function c(y,S,b){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=b===3?S.pt.k:S.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=a,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}c.prototype.getValue=s,c.prototype.interpolateShape=t,c.prototype.setVValue=i,c.prototype.addEffect=l;var f=function(){var y=roundCorner;function S(b,A){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=PropertyFactory.getProp(b,A.p,1,0,this),this.s=PropertyFactory.getProp(b,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return S.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],C=this.p.v[1],T=this.s.v[0]/2,F=this.s.v[1]/2,M=this.d!==3,D=this.v;D.v[0][0]=A,D.v[0][1]=C-F,D.v[1][0]=M?A+T:A-T,D.v[1][1]=C,D.v[2][0]=A,D.v[2][1]=C+F,D.v[3][0]=M?A-T:A+T,D.v[3][1]=C,D.i[0][0]=M?A-T*y:A+T*y,D.i[0][1]=C-F,D.i[1][0]=M?A+T:A-T,D.i[1][1]=C-F*y,D.i[2][0]=M?A+T*y:A-T*y,D.i[2][1]=C+F,D.i[3][0]=M?A-T:A+T,D.i[3][1]=C+F*y,D.o[0][0]=M?A+T*y:A-T*y,D.o[0][1]=C-F,D.o[1][0]=M?A+T:A-T,D.o[1][1]=C+F*y,D.o[2][0]=M?A-T*y:A+T*y,D.o[2][1]=C+F,D.o[3][0]=M?A-T:A+T,D.o[3][1]=C-F*y}},extendPrototype([DynamicPropertyContainer],S),S}(),g=function(){function y(S,b){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=S,this.comp=S.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),b.sy===1?(this.ir=PropertyFactory.getProp(S,b.ir,0,0,this),this.is=PropertyFactory.getProp(S,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(S,b.pt,0,0,this),this.p=PropertyFactory.getProp(S,b.p,1,0,this),this.r=PropertyFactory.getProp(S,b.r,0,degToRads,this),this.or=PropertyFactory.getProp(S,b.or,0,0,this),this.os=PropertyFactory.getProp(S,b.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 y.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var b=Math.floor(this.pt.v)*2,A=Math.PI*2/b,C=!0,T=this.or.v,F=this.ir.v,M=this.os.v,D=this.is.v,H=2*Math.PI*T/(b*2),j=2*Math.PI*F/(b*2),B,_,$,O,I=-Math.PI/2;I+=this.r.v;var N=this.data.d===3?-1:1;for(this.v._length=0,B=0;B<b;B+=1){_=C?T:F,$=C?M:D,O=C?H:j;var x=_*Math.cos(I),P=_*Math.sin(I),R=x===0&&P===0?0:P/Math.sqrt(x*x+P*P),V=x===0&&P===0?0:-x/Math.sqrt(x*x+P*P);x+=+this.p.v[0],P+=+this.p.v[1],this.v.setTripleAt(x,P,x-R*O*$*N,P-V*O*$*N,x+R*O*$*N,P+V*O*$*N,B,!0),C=!C,I+=A*N}},convertPolygonToPath:function(){var b=Math.floor(this.pt.v),A=Math.PI*2/b,C=this.or.v,T=this.os.v,F=2*Math.PI*C/(b*4),M,D=-Math.PI*.5,H=this.data.d===3?-1:1;for(D+=this.r.v,this.v._length=0,M=0;M<b;M+=1){var j=C*Math.cos(D),B=C*Math.sin(D),_=j===0&&B===0?0:B/Math.sqrt(j*j+B*B),$=j===0&&B===0?0:-j/Math.sqrt(j*j+B*B);j+=+this.p.v[0],B+=+this.p.v[1],this.v.setTripleAt(j,B,j-_*F*T*H,B-$*F*T*H,j+_*F*T*H,B+$*F*T*H,M,!0),D+=A*H}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],y),y}(),u=function(){function y(S,b){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=S,this.comp=S.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),this.p=PropertyFactory.getProp(S,b.p,1,0,this),this.s=PropertyFactory.getProp(S,b.s,1,0,this),this.r=PropertyFactory.getProp(S,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return y.prototype={convertRectToPath:function(){var b=this.p.v[0],A=this.p.v[1],C=this.s.v[0]/2,T=this.s.v[1]/2,F=bmMin(C,T,this.r.v),M=F*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(b+C,A-T+F,b+C,A-T+F,b+C,A-T+M,0,!0),this.v.setTripleAt(b+C,A+T-F,b+C,A+T-M,b+C,A+T-F,1,!0),F!==0?(this.v.setTripleAt(b+C-F,A+T,b+C-F,A+T,b+C-M,A+T,2,!0),this.v.setTripleAt(b-C+F,A+T,b-C+M,A+T,b-C+F,A+T,3,!0),this.v.setTripleAt(b-C,A+T-F,b-C,A+T-F,b-C,A+T-M,4,!0),this.v.setTripleAt(b-C,A-T+F,b-C,A-T+M,b-C,A-T+F,5,!0),this.v.setTripleAt(b-C+F,A-T,b-C+F,A-T,b-C+M,A-T,6,!0),this.v.setTripleAt(b+C-F,A-T,b+C-M,A-T,b+C-F,A-T,7,!0)):(this.v.setTripleAt(b-C,A+T,b-C+M,A+T,b-C,A+T,2),this.v.setTripleAt(b-C,A-T,b-C,A-T+M,b-C,A-T,3))):(this.v.setTripleAt(b+C,A-T+F,b+C,A-T+M,b+C,A-T+F,0,!0),F!==0?(this.v.setTripleAt(b+C-F,A-T,b+C-F,A-T,b+C-M,A-T,1,!0),this.v.setTripleAt(b-C+F,A-T,b-C+M,A-T,b-C+F,A-T,2,!0),this.v.setTripleAt(b-C,A-T+F,b-C,A-T+F,b-C,A-T+M,3,!0),this.v.setTripleAt(b-C,A+T-F,b-C,A+T-M,b-C,A+T-F,4,!0),this.v.setTripleAt(b-C+F,A+T,b-C+F,A+T,b-C+M,A+T,5,!0),this.v.setTripleAt(b+C-F,A+T,b+C-M,A+T,b+C-F,A+T,6,!0),this.v.setTripleAt(b+C,A+T-F,b+C,A+T-F,b+C,A+T-M,7,!0)):(this.v.setTripleAt(b-C,A-T,b-C+M,A-T,b-C,A-T,1,!0),this.v.setTripleAt(b-C,A+T,b-C,A+T-M,b-C,A+T,2,!0),this.v.setTripleAt(b+C,A+T,b+C-M,A+T,b+C,A+T,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},extendPrototype([DynamicPropertyContainer],y),y}();function p(y,S,b){var A;if(b===3||b===4){var C=b===3?S.pt:S.ks,T=C.k;T.length?A=new c(y,S,b):A=new o(y,S,b)}else b===5?A=new u(y,S):b===6?A=new f(y,S):b===7&&(A=new g(y,S));return A.k&&y.addDynamicProperty(A),A}function d(){return o}function m(){return c}var E={};return E.getShapeProp=p,E.getConstructorFunction=d,E.getKeyframedConstructorFunction=m,E}();/*!
- >>>>>>>> iteration-20240417-subject:dist/index-2d42fc9d-1713776975640.js
- Transformation Matrix v2.0
- (c) Epistemex 2014-2015
- www.epistemex.com
- By Ken Fyrstenberg
- Contributions by leeoniya.
- License: MIT, header required.
- */var Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,a=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 i(x){if(x===0)return this;var P=e(x),R=t(x);return this._t(P,-R,0,0,R,P,0,0,0,0,1,0,0,0,0,1)}function s(x){if(x===0)return this;var P=e(x),R=t(x);return this._t(1,0,0,0,0,P,-R,0,0,R,P,0,0,0,0,1)}function o(x){if(x===0)return this;var P=e(x),R=t(x);return this._t(P,0,R,0,0,1,0,0,-R,0,P,0,0,0,0,1)}function l(x){if(x===0)return this;var P=e(x),R=t(x);return this._t(P,-R,0,0,R,P,0,0,0,0,1,0,0,0,0,1)}function c(x,P){return this._t(1,P,x,1,0,0)}function f(x,P){return this.shear(r(x),r(P))}function g(x,P){var R=e(P),V=t(P);return this._t(R,V,0,0,-V,R,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(x),1,0,0,0,0,1,0,0,0,0,1)._t(R,-V,0,0,V,R,0,0,0,0,1,0,0,0,0,1)}function u(x,P,R){return!R&&R!==0&&(R=1),x===1&&P===1&&R===1?this:this._t(x,0,0,0,0,P,0,0,0,0,R,0,0,0,0,1)}function p(x,P,R,V,J,Y,X,re,Z,ce,ye,be,Ee,Se,k,z){return this.props[0]=x,this.props[1]=P,this.props[2]=R,this.props[3]=V,this.props[4]=J,this.props[5]=Y,this.props[6]=X,this.props[7]=re,this.props[8]=Z,this.props[9]=ce,this.props[10]=ye,this.props[11]=be,this.props[12]=Ee,this.props[13]=Se,this.props[14]=k,this.props[15]=z,this}function d(x,P,R){return R=R||0,x!==0||P!==0||R!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,x,P,R,1):this}function m(x,P,R,V,J,Y,X,re,Z,ce,ye,be,Ee,Se,k,z){var U=this.props;if(x===1&&P===0&&R===0&&V===0&&J===0&&Y===1&&X===0&&re===0&&Z===0&&ce===0&&ye===1&&be===0)return U[12]=U[12]*x+U[15]*Ee,U[13]=U[13]*Y+U[15]*Se,U[14]=U[14]*ye+U[15]*k,U[15]*=z,this._identityCalculated=!1,this;var Q=U[0],ae=U[1],ie=U[2],he=U[3],te=U[4],ue=U[5],fe=U[6],Ae=U[7],pe=U[8],se=U[9],Te=U[10],xe=U[11],Ie=U[12],we=U[13],G=U[14],L=U[15];return U[0]=Q*x+ae*J+ie*Z+he*Ee,U[1]=Q*P+ae*Y+ie*ce+he*Se,U[2]=Q*R+ae*X+ie*ye+he*k,U[3]=Q*V+ae*re+ie*be+he*z,U[4]=te*x+ue*J+fe*Z+Ae*Ee,U[5]=te*P+ue*Y+fe*ce+Ae*Se,U[6]=te*R+ue*X+fe*ye+Ae*k,U[7]=te*V+ue*re+fe*be+Ae*z,U[8]=pe*x+se*J+Te*Z+xe*Ee,U[9]=pe*P+se*Y+Te*ce+xe*Se,U[10]=pe*R+se*X+Te*ye+xe*k,U[11]=pe*V+se*re+Te*be+xe*z,U[12]=Ie*x+we*J+G*Z+L*Ee,U[13]=Ie*P+we*Y+G*ce+L*Se,U[14]=Ie*R+we*X+G*ye+L*k,U[15]=Ie*V+we*re+G*be+L*z,this._identityCalculated=!1,this}function E(x){var P=x.props;return this.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])}function y(){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 S(x){for(var P=0;P<16;){if(x.props[P]!==this.props[P])return!1;P+=1}return!0}function b(x){var P;for(P=0;P<16;P+=1)x.props[P]=this.props[P];return x}function A(x){var P;for(P=0;P<16;P+=1)this.props[P]=x[P]}function C(x,P,R){return{x:x*this.props[0]+P*this.props[4]+R*this.props[8]+this.props[12],y:x*this.props[1]+P*this.props[5]+R*this.props[9]+this.props[13],z:x*this.props[2]+P*this.props[6]+R*this.props[10]+this.props[14]}}function T(x,P,R){return x*this.props[0]+P*this.props[4]+R*this.props[8]+this.props[12]}function F(x,P,R){return x*this.props[1]+P*this.props[5]+R*this.props[9]+this.props[13]}function M(x,P,R){return x*this.props[2]+P*this.props[6]+R*this.props[10]+this.props[14]}function D(){var x=this.props[0]*this.props[5]-this.props[1]*this.props[4],P=this.props[5]/x,R=-this.props[1]/x,V=-this.props[4]/x,J=this.props[0]/x,Y=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/x,X=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/x,re=new Matrix;return re.props[0]=P,re.props[1]=R,re.props[4]=V,re.props[5]=J,re.props[12]=Y,re.props[13]=X,re}function H(x){var P=this.getInverseMatrix();return P.applyToPointArray(x[0],x[1],x[2]||0)}function j(x){var P,R=x.length,V=[];for(P=0;P<R;P+=1)V[P]=H(x[P]);return V}function B(x,P,R){var V=createTypedArray("float32",6);if(this.isIdentity())V[0]=x[0],V[1]=x[1],V[2]=P[0],V[3]=P[1],V[4]=R[0],V[5]=R[1];else{var J=this.props[0],Y=this.props[1],X=this.props[4],re=this.props[5],Z=this.props[12],ce=this.props[13];V[0]=x[0]*J+x[1]*X+Z,V[1]=x[0]*Y+x[1]*re+ce,V[2]=P[0]*J+P[1]*X+Z,V[3]=P[0]*Y+P[1]*re+ce,V[4]=R[0]*J+R[1]*X+Z,V[5]=R[0]*Y+R[1]*re+ce}return V}function _(x,P,R){var V;return this.isIdentity()?V=[x,P,R]:V=[x*this.props[0]+P*this.props[4]+R*this.props[8]+this.props[12],x*this.props[1]+P*this.props[5]+R*this.props[9]+this.props[13],x*this.props[2]+P*this.props[6]+R*this.props[10]+this.props[14]],V}function $(x,P){if(this.isIdentity())return x+","+P;var R=this.props;return Math.round((x*R[0]+P*R[4]+R[12])*100)/100+","+Math.round((x*R[1]+P*R[5]+R[13])*100)/100}function O(){for(var x=0,P=this.props,R="matrix3d(",V=1e4;x<16;)R+=a(P[x]*V)/V,R+=x===15?")":",",x+=1;return R}function I(x){var P=1e4;return x<1e-6&&x>0||x>-1e-6&&x<0?a(x*P)/P:x}function N(){var x=this.props,P=I(x[0]),R=I(x[1]),V=I(x[4]),J=I(x[5]),Y=I(x[12]),X=I(x[13]);return"matrix("+P+","+R+","+V+","+J+","+Y+","+X+")"}return function(){this.reset=n,this.rotate=i,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=f,this.skewFromAxis=g,this.shear=c,this.scale=u,this.setTransform=p,this.translate=d,this.transform=m,this.multiply=E,this.applyToPoint=C,this.applyToX=T,this.applyToY=F,this.applyToZ=M,this.applyToPointArray=_,this.applyToTriplePoints=B,this.applyToPointStringified=$,this.toCSS=O,this.to2dCSS=N,this.clone=b,this.cloneFromProps=A,this.equals=S,this.inversePoints=j,this.inversePoint=H,this.getInverseMatrix=D,this._t=this.transform,this.isIdentity=y,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 a=t[r].split("=");if(decodeURIComponent(a[0])==e)return decodeURIComponent(a[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=a;function r(n,i){t[n]||(t[n]=i)}function a(n,i,s){return new t[n](i,s)}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,a,n){var i=[];t<=1?i.push({s:e,e:t}):e>=1?i.push({s:e-1,e:t-1}):(i.push({s:e,e:1}),i.push({s:0,e:t-1}));var s=[],o,l=i.length,c;for(o=0;o<l;o+=1)if(c=i[o],!(c.e*n<a||c.s*n>a+r)){var f,g;c.s*n<=a?f=0:f=(c.s*n-a)/r,c.e*n>=a+r?g=1:g=(c.e*n-a)/r,s.push([f,g])}return s.length||s.push([0,0]),s},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 a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?t=1+a:this.s.v<0?t=0+a:t=this.s.v+a,this.e.v>1?r=1+a:this.e.v<0?r=0+a:r=this.e.v+a,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 i,s,o=this.shapes.length,l,c,f,g,u,p=0;if(r===t)for(s=0;s<o;s+=1)this.shapes[s].localShapeCollection.releaseShapes(),this.shapes[s].shape._mdf=!0,this.shapes[s].shape.paths=this.shapes[s].localShapeCollection,this._mdf&&(this.shapes[s].pathsData.length=0);else if(r===1&&t===0||r===0&&t===1){if(this._mdf)for(s=0;s<o;s+=1)this.shapes[s].pathsData.length=0,this.shapes[s].shape._mdf=!0}else{var d=[],m,E;for(s=0;s<o;s+=1)if(m=this.shapes[s],!m.shape._mdf&&!this._mdf&&!e&&this.m!==2)m.shape.paths=m.localShapeCollection;else{if(i=m.shape.paths,c=i._length,u=0,!m.shape._mdf&&m.pathsData.length)u=m.totalShapeLength;else{for(f=this.releasePathsData(m.pathsData),l=0;l<c;l+=1)g=bez.getSegmentsLength(i.shapes[l]),f.push(g),u+=g.totalLength;m.totalShapeLength=u,m.pathsData=f}p+=u,m.shape._mdf=!0}var y=t,S=r,b=0,A;for(s=o-1;s>=0;s-=1)if(m=this.shapes[s],m.shape._mdf){for(E=m.localShapeCollection,E.releaseShapes(),this.m===2&&o>1?(A=this.calculateShapeEdges(t,r,m.totalShapeLength,b,p),b+=m.totalShapeLength):A=[[y,S]],c=A.length,l=0;l<c;l+=1){y=A[l][0],S=A[l][1],d.length=0,S<=1?d.push({s:m.totalShapeLength*y,e:m.totalShapeLength*S}):y>=1?d.push({s:m.totalShapeLength*(y-1),e:m.totalShapeLength*(S-1)}):(d.push({s:m.totalShapeLength*y,e:m.totalShapeLength}),d.push({s:0,e:m.totalShapeLength*(S-1)}));var C=this.addShapes(m,d[0]);if(d[0].s!==d[0].e){if(d.length>1){var T=m.shape.paths.shapes[m.shape.paths._length-1];if(T.c){var F=C.pop();this.addPaths(C,E),C=this.addShapes(m,d[1],F)}else this.addPaths(C,E),C=this.addShapes(m,d[1])}this.addPaths(C,E)}}m.shape.paths=E}}},TrimModifier.prototype.addPaths=function(e,t){var r,a=e.length;for(r=0;r<a;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,a,n,i,s){n.setXYAt(t[0],t[1],"o",i),n.setXYAt(r[0],r[1],"i",i+1),s&&n.setXYAt(e[0],e[1],"v",i),n.setXYAt(a[0],a[1],"v",i+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,a){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),a&&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 a=e.pathsData,n=e.shape.paths.shapes,i,s=e.shape.paths._length,o,l,c=0,f,g,u,p,d=[],m,E=!0;for(r?(g=r._length,m=r._length):(r=shapePool.newElement(),g=0,m=0),d.push(r),i=0;i<s;i+=1){for(u=a[i].lengths,r.c=n[i].c,l=n[i].c?u.length:u.length+1,o=1;o<l;o+=1)if(f=u[o-1],c+f.addedLength<t.s)c+=f.addedLength,r.c=!1;else if(c>t.e){r.c=!1;break}else t.s<=c&&t.e>=c+f.addedLength?(this.addSegment(n[i].v[o-1],n[i].o[o-1],n[i].i[o],n[i].v[o],r,g,E),E=!1):(p=bez.getNewSegment(n[i].v[o-1],n[i].v[o],n[i].o[o-1],n[i].i[o],(t.s-c)/f.addedLength,(t.e-c)/f.addedLength,u[o-1]),this.addSegmentFromArray(p,r,g,E),E=!1,r.c=!1),c+=f.addedLength,g+=1;if(n[i].c&&u.length){if(f=u[o-1],c<=t.e){var y=u[o-1].addedLength;t.s<=c&&t.e>=c+y?(this.addSegment(n[i].v[o-1],n[i].o[o-1],n[i].i[0],n[i].v[0],r,g,E),E=!1):(p=bez.getNewSegment(n[i].v[o-1],n[i].v[0],n[i].o[o-1],n[i].i[0],(t.s-c)/y,(t.e-c)/y,u[o-1]),this.addSegmentFromArray(p,r,g,E),E=!1,r.c=!1)}else r.c=!1;c+=f.addedLength,g+=1}if(r._length&&(r.setXYAt(r.v[m][0],r.v[m][1],"i",m),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),c>t.e)break;i<s-1&&(r=shapePool.newElement(),E=!0,d.push(r),g=0)}return d};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,a=[0,0],n=e._length,i=0;for(i=0;i<n;i+=1)a[0]+=e.v[i][0],a[1]+=e.v[i][1];a[0]/=n,a[1]/=n;var s=shapePool.newElement();s.c=e.c;var o,l,c,f,g,u;for(i=0;i<n;i+=1)o=e.v[i][0]+(a[0]-e.v[i][0])*r,l=e.v[i][1]+(a[1]-e.v[i][1])*r,c=e.o[i][0]+(a[0]-e.o[i][0])*-r,f=e.o[i][1]+(a[1]-e.o[i][1])*-r,g=e.i[i][0]+(a[0]-e.i[i][0])*-r,u=e.i[i][1]+(a[1]-e.i[i][1])*-r,s.setTripleAt(o,l,c,f,g,u,i);return s},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,a=this.shapes.length,n,i,s=this.amount.v;if(s!==0){var o,l;for(r=0;r<a;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)l.addShape(this.processPath(t[n],s));o.shape.paths=o.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(l){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.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?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var c;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 f,g;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(f=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),g=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(f=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),g=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(f=this.p.pv,g=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){f=[],g=[];var u=this.px,p=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(f[0]=u.getValueAtTime((u.keyframes[0].t+.01)/c,0),f[1]=p.getValueAtTime((p.keyframes[0].t+.01)/c,0),g[0]=u.getValueAtTime(u.keyframes[0].t/c,0),g[1]=p.getValueAtTime(p.keyframes[0].t/c,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(f[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/c,0),f[1]=p.getValueAtTime(p.keyframes[p.keyframes.length-1].t/c,0),g[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/c,0),g[1]=p.getValueAtTime((p.keyframes[p.keyframes.length-1].t-.01)/c,0)):(f=[u.pv,p.pv],g[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/c,u.offsetTime),g[1]=p.getValueAtTime((p._caching.lastFrame+p.offsetTime-.01)/c,p.offsetTime))}else g=e,f=g;this.v.rotate(-Math.atan2(f[1]-g[1],f[0]-g[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function a(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function i(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function s(l,c,f){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(f||l),c.p&&c.p.s?(this.px=PropertyFactory.getProp(l,c.p.x,0,0,this),this.py=PropertyFactory.getProp(l,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(l,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(l,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,c.rz,0,degToRads,this),c.or.k[0].ti){var g,u=c.or.k.length;for(g=0;g<u;g+=1)c.or.k[g].to=null,c.or.k[g].ti=null}this.or=PropertyFactory.getProp(l,c.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(l,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(l,c.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}s.prototype={applyToMatrix:t,getValue:r,precalculateMatrix:a,autoOrient:n},extendPrototype([DynamicPropertyContainer],s),s.prototype.addDynamicProperty=i,s.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function o(l,c,f){return new s(l,c,f)}return{getTransformProperty:o}}();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,a,n,i){var s=i?-1:1,o=a.s.v[0]+(1-a.s.v[0])*(1-n),l=a.s.v[1]+(1-a.s.v[1])*(1-n);e.translate(a.p.v[0]*s*n,a.p.v[1]*s*n,a.p.v[2]),t.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),t.rotate(-a.r.v*s*n),t.translate(a.a.v[0],a.a.v[1],a.a.v[2]),r.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),r.scale(i?1/o:o,i?1/l:l),r.translate(a.a.v[0],a.a.v[1],a.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,a){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=a,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,a=e.length;for(r=0;r<a;r+=1)e[r]._render=t,e[r].ty==="gr"&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,a,n,i,s=!1;if(this._mdf||e){var o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.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,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}i=0;var c;for(a=0;a<=this._groups.length-1;a+=1){if(c=i<o,this._groups[a]._render=c,this.changeGroupRender(this._groups[a].it,c),!c){var f=this.elemsData[a].it,g=f[f.length-1];g.transform.op.v!==0?(g.transform.op._mdf=!0,g.transform.op.v=0):g.transform.op._mdf=!1}i+=1}this._currentCopies=o;var u=this.o.v,p=u%1,d=u>0?Math.floor(u):Math.ceil(u),m=this.pMatrix.props,E=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var S=0;if(u>0){for(;S<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),S+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),S+=p)}else if(u<0){for(;S>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),S-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),S-=p)}a=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,i=this._currentCopies;for(var b,A;i;){if(t=this.elemsData[a].it,r=t[t.length-1].transform.mProps.v.props,A=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)*(a/(this._currentCopies-1)),S!==0){for((a!==0&&n===1||a!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),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]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),b=0;b<A;b+=1)r[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<A;b+=1)r[b]=this.matrix.props[b];S+=1,i-=1,a+=n}}else for(i=this._currentCopies,a=0,n=1;i;)t=this.elemsData[a].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,i-=1,a+=n;return s},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 a,n=e._length,i,s,o,l,c,f,g=0,u,p,d,m,E,y;for(a=0;a<n;a+=1)i=e.v[a],o=e.o[a],s=e.i[a],i[0]===o[0]&&i[1]===o[1]&&i[0]===s[0]&&i[1]===s[1]?(a===0||a===n-1)&&!e.c?(r.setTripleAt(i[0],i[1],o[0],o[1],s[0],s[1],g),g+=1):(a===0?l=e.v[n-1]:l=e.v[a-1],c=Math.sqrt(Math.pow(i[0]-l[0],2)+Math.pow(i[1]-l[1],2)),f=c?Math.min(c/2,t)/c:0,E=i[0]+(l[0]-i[0])*f,u=E,y=i[1]-(i[1]-l[1])*f,p=y,d=u-(u-i[0])*roundCorner,m=p-(p-i[1])*roundCorner,r.setTripleAt(u,p,d,m,E,y,g),g+=1,a===n-1?l=e.v[0]:l=e.v[a+1],c=Math.sqrt(Math.pow(i[0]-l[0],2)+Math.pow(i[1]-l[1],2)),f=c?Math.min(c/2,t)/c:0,d=i[0]+(l[0]-i[0])*f,u=d,m=i[1]+(l[1]-i[1])*f,p=m,E=u-(u-i[0])*roundCorner,y=p-(p-i[1])*roundCorner,r.setTripleAt(u,p,d,m,E,y,g),g+=1):(r.setTripleAt(e.v[a][0],e.v[a][1],e.o[a][0],e.o[a][1],e.i[a][0],e.i[a][1],g),g+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,a=this.shapes.length,n,i,s=this.rd.v;if(s!==0){var o,l;for(r=0;r<a;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)l.addShape(this.processPath(t[n],s));o.shape.paths=o.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 a=t*t-4*e*r;if(a<0)return[];var n=-t/(2*e);if(a===0)return[n];var i=Math.sqrt(a)/(2*e);return[n-i,n+i]}function polynomialCoefficients(e,t,r,a){return[-e+3*t-3*r+a,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,a,n){n&&pointEqual(e,t)&&(t=lerpPoint(e,a,1/3)),n&&pointEqual(r,a)&&(r=lerpPoint(e,a,2/3));var i=polynomialCoefficients(e[0],t[0],r[0],a[0]),s=polynomialCoefficients(e[1],t[1],r[1],a[1]);this.a=[i[0],s[0]],this.b=[i[1],s[1]],this.c=[i[2],s[2]],this.d=[i[3],s[3]],this.points=[e,t,r,a]}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 a=Math.sqrt(r);return floatZero(a)?a>0&&a<1?[t]:[]:[t-a,t+a].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),a=lerpPoint(this.points[2],this.points[3],e),n=lerpPoint(t,r,e),i=lerpPoint(r,a,e),s=lerpPoint(n,i,e);return[new PolynomialBezier(this.points[0],t,n,s,!0),new PolynomialBezier(s,i,a,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],a=e.points[e.points.length-1][t];if(r>a){var n=a;a=r,r=n}for(var i=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),s=0;s<i.length;s+=1)if(i[s]>0&&i[s]<1){var o=e.point(i[s])[t];o<r?r=o:o>a&&(a=o)}return{min:r,max:a}}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 a=e.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.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,a,n,i){if(boxIntersect(e,t)){if(r>=i||e.width<=a&&e.height<=a&&t.width<=a&&t.height<=a){n.push([e.t,t.t]);return}var s=splitData(e),o=splitData(t);intersectsImpl(s[0],o[0],r+1,a,n,i),intersectsImpl(s[0],o[1],r+1,a,n,i),intersectsImpl(s[1],o[0],r+1,a,n,i),intersectsImpl(s[1],o[1],r+1,a,n,i)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var a=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,a,r),a},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,a){var n=[e[0],e[1],1],i=[t[0],t[1],1],s=[r[0],r[1],1],o=[a[0],a[1],1],l=crossProduct(crossProduct(n,i),crossProduct(s,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[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,a,n,i,s){var o=r-Math.PI/2,l=r+Math.PI/2,c=t[0]+Math.cos(r)*a*n,f=t[1]-Math.sin(r)*a*n;e.setTripleAt(c,f,c+Math.cos(o)*i,f-Math.sin(o)*i,c+Math.cos(l)*s,f-Math.sin(l)*s,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],a=-Math.PI*.5,n=[Math.cos(a)*r[0]-Math.sin(a)*r[1],Math.sin(a)*r[0]+Math.cos(a)*r[1]];return n}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,a=(t+1)%e.length(),n=e.v[r],i=e.v[a],s=getPerpendicularVector(n,i);return Math.atan2(0,1)-Math.atan2(s[1],s[0])}function zigZagCorner(e,t,r,a,n,i,s){var o=getProjectingAngle(t,r),l=t.v[r%t._length],c=t.v[r===0?t._length-1:r-1],f=t.v[(r+1)%t._length],g=i===2?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,u=i===2?Math.sqrt(Math.pow(l[0]-f[0],2)+Math.pow(l[1]-f[1],2)):0;setPoint(e,t.v[r%t._length],o,s,a,u/((n+1)*2),g/((n+1)*2))}function zigZagSegment(e,t,r,a,n,i){for(var s=0;s<a;s+=1){var o=(s+1)/(a+1),l=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,c=t.normalAngle(o),f=t.point(o);setPoint(e,f,c,i,r,l/((a+1)*2),l/((a+1)*2)),i=-i}return i}ZigZagModifier.prototype.processPath=function(e,t,r,a){var n=e._length,i=shapePool.newElement();if(i.c=e.c,e.c||(n-=1),n===0)return i;var s=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(i,e,0,t,r,a,s);for(var l=0;l<n;l+=1)s=zigZagSegment(i,o,t,r,a,-s),l===n-1&&!e.c?o=null:o=PolynomialBezier.shapeSegment(e,(l+1)%n),zigZagCorner(i,e,l+1,t,r,a,s);return i},ZigZagModifier.prototype.processShapes=function(e){var t,r,a=this.shapes.length,n,i,s=this.amplitude.v,o=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(s!==0){var c,f;for(r=0;r<a;r+=1){if(c=this.shapes[r],f=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,i=c.shape.paths._length,n=0;n<i;n+=1)f.addShape(this.processPath(t[n],s,o,l));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,r){var a=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,a,r),polarOffset(t,a,r)]}function offsetSegment(e,t){var r,a,n,i,s,o,l;l=linearOffset(e.points[0],e.points[1],t),r=l[0],a=l[1],l=linearOffset(e.points[1],e.points[2],t),n=l[0],i=l[1],l=linearOffset(e.points[2],e.points[3],t),s=l[0],o=l[1];var c=lineIntersection(r,a,n,i);c===null&&(c=a);var f=lineIntersection(s,o,n,i);return f===null&&(f=s),new PolynomialBezier(r,c,f,o)}function joinLines(e,t,r,a,n){var i=t.points[3],s=r.points[0];if(a===3||pointEqual(i,s))return i;if(a===2){var o=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,c=lineIntersection(i,polarOffset(i,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),f=c?pointDistance(c,i):pointDistance(i,s)/2,g=polarOffset(i,o,2*f*roundCorner);return e.setXYAt(g[0],g[1],"o",e.length()-1),g=polarOffset(s,l,2*f*roundCorner),e.setTripleAt(s[0],s[1],s[0],s[1],g[0],g[1],e.length()),s}var u=pointEqual(i,t.points[2])?t.points[0]:t.points[2],p=pointEqual(s,r.points[1])?r.points[3]:r.points[1],d=lineIntersection(u,i,s,p);return d&&pointDistance(d,i)<n?(e.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],e.length()),d):i}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(),a=t.slice(),n=getIntersection(e[e.length-1],t[0]);return n&&(r[e.length-1]=e[e.length-1].split(n[0])[0],a[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,a]}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(),a,n,i,s;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return i=e.split(r[0]),a=i[0],n=i[1],[offsetSegment(a,t),offsetSegment(n,t)];i=e.split(r[0]),a=i[0];var o=(r[1]-r[0])/(1-r[0]);return i=i[1].split(o),s=i[0],n=i[1],[offsetSegment(a,t),offsetSegment(s,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,a){var n=shapePool.newElement();n.c=e.c;var i=e.length();e.c||(i-=1);var s,o,l,c=[];for(s=0;s<i;s+=1)l=PolynomialBezier.shapeSegment(e,s),c.push(offsetSegmentSplit(l,t));if(!e.c)for(s=i-1;s>=0;s-=1)l=PolynomialBezier.shapeSegmentInverted(e,s),c.push(offsetSegmentSplit(l,t));c=pruneIntersections(c);var f=null,g=null;for(s=0;s<c.length;s+=1){var u=c[s];for(g&&(f=joinLines(n,g,u[0],r,a)),g=u[u.length-1],o=0;o<u.length;o+=1)l=u[o],f&&pointEqual(l.points[0],f)?n.setXYAt(l.points[1][0],l.points[1][1],"o",n.length()-1):n.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],n.length()),n.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],n.length()),f=l.points[3]}return c.length&&joinLines(n,g,c[0][0],r,a),n},OffsetPathModifier.prototype.processShapes=function(e){var t,r,a=this.shapes.length,n,i,s=this.amount.v,o=this.miterLimit.v,l=this.lineJoin;if(s!==0){var c,f;for(r=0;r<a;r+=1){if(c=this.shapes[r],f=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!e))for(f.releaseShapes(),c.shape._mdf=!0,t=c.shape.paths.shapes,i=c.shape.paths._length,n=0;n<i;n+=1)f.addShape(this.processPath(t[n],s,l,o));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",a="normal",n=t.length,i,s=0;s<n;s+=1)switch(i=t[s].toLowerCase(),i){case"italic":a="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:a,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 a=127988,n=917631,i=917601,s=917626,o=65039,l=8205,c=127462,f=127487,g=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(I){var N=I.split(","),x,P=N.length,R=[];for(x=0;x<P;x+=1)N[x]!=="sans-serif"&&N[x]!=="monospace"&&R.push(N[x]);return R.join(",")}function p(I,N){var x=createTag("span");x.setAttribute("aria-hidden",!0),x.style.fontFamily=N;var P=createTag("span");P.innerText="giItT1WQy@!-/#",x.style.position="absolute",x.style.left="-10000px",x.style.top="-10000px",x.style.fontSize="300px",x.style.fontVariant="normal",x.style.fontStyle="normal",x.style.fontWeight="normal",x.style.letterSpacing="0",x.appendChild(P),document.body.appendChild(x);var R=P.offsetWidth;return P.style.fontFamily=u(I)+", "+N,{node:P,w:R,parent:x}}function d(){var I,N=this.fonts.length,x,P,R=N;for(I=0;I<N;I+=1)this.fonts[I].loaded?R-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(x=this.fonts[I].monoCase.node,P=this.fonts[I].monoCase.w,x.offsetWidth!==P?(R-=1,this.fonts[I].loaded=!0):(x=this.fonts[I].sansCase.node,P=this.fonts[I].sansCase.w,x.offsetWidth!==P&&(R-=1,this.fonts[I].loaded=!0)),this.fonts[I].loaded&&(this.fonts[I].sansCase.parent.parentNode.removeChild(this.fonts[I].sansCase.parent),this.fonts[I].monoCase.parent.parentNode.removeChild(this.fonts[I].monoCase.parent)));R!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function m(I,N){var x=document.body&&N?"svg":"canvas",P,R=getFontProperties(I);if(x==="svg"){var V=createNS("text");V.style.fontSize="100px",V.setAttribute("font-family",I.fFamily),V.setAttribute("font-style",R.style),V.setAttribute("font-weight",R.weight),V.textContent="1",I.fClass?(V.style.fontFamily="inherit",V.setAttribute("class",I.fClass)):V.style.fontFamily=I.fFamily,N.appendChild(V),P=V}else{var J=new OffscreenCanvas(500,500).getContext("2d");J.font=R.style+" "+R.weight+" 100px "+I.fFamily,P=J}function Y(X){return x==="svg"?(P.textContent=X,P.getComputedTextLength()):P.measureText(X).width}return{measureText:Y}}function E(I,N){if(!I){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=I.list;return}if(!document.body){this.isLoaded=!0,I.list.forEach(function(ye){ye.helper=m(ye),ye.cache={}}),this.fonts=I.list;return}var x=I.list,P,R=x.length,V=R;for(P=0;P<R;P+=1){var J=!0,Y,X;if(x[P].loaded=!1,x[P].monoCase=p(x[P].fFamily,"monospace"),x[P].sansCase=p(x[P].fFamily,"sans-serif"),!x[P].fPath)x[P].loaded=!0,V-=1;else if(x[P].fOrigin==="p"||x[P].origin===3){if(Y=document.querySelectorAll('style[f-forigin="p"][f-family="'+x[P].fFamily+'"], style[f-origin="3"][f-family="'+x[P].fFamily+'"]'),Y.length>0&&(J=!1),J){var re=createTag("style");re.setAttribute("f-forigin",x[P].fOrigin),re.setAttribute("f-origin",x[P].origin),re.setAttribute("f-family",x[P].fFamily),re.type="text/css",re.innerText="@font-face {font-family: "+x[P].fFamily+"; font-style: normal; src: url('"+x[P].fPath+"');}",N.appendChild(re)}}else if(x[P].fOrigin==="g"||x[P].origin===1){for(Y=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),X=0;X<Y.length;X+=1)Y[X].href.indexOf(x[P].fPath)!==-1&&(J=!1);if(J){var Z=createTag("link");Z.setAttribute("f-forigin",x[P].fOrigin),Z.setAttribute("f-origin",x[P].origin),Z.type="text/css",Z.rel="stylesheet",Z.href=x[P].fPath,document.body.appendChild(Z)}}else if(x[P].fOrigin==="t"||x[P].origin===2){for(Y=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),X=0;X<Y.length;X+=1)x[P].fPath===Y[X].src&&(J=!1);if(J){var ce=createTag("link");ce.setAttribute("f-forigin",x[P].fOrigin),ce.setAttribute("f-origin",x[P].origin),ce.setAttribute("rel","stylesheet"),ce.setAttribute("href",x[P].fPath),N.appendChild(ce)}}x[P].helper=m(x[P],N),x[P].cache={},this.fonts.push(x[P])}V===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function y(I){if(I){this.chars||(this.chars=[]);var N,x=I.length,P,R=this.chars.length,V;for(N=0;N<x;N+=1){for(P=0,V=!1;P<R;)this.chars[P].style===I[N].style&&this.chars[P].fFamily===I[N].fFamily&&this.chars[P].ch===I[N].ch&&(V=!0),P+=1;V||(this.chars.push(I[N]),R+=1)}}}function S(I,N,x){for(var P=0,R=this.chars.length;P<R;){if(this.chars[P].ch===I&&this.chars[P].style===N&&this.chars[P].fFamily===x)return this.chars[P];P+=1}return(typeof I=="string"&&I.charCodeAt(0)!==13||!I)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",I,N,x)),t}function b(I,N,x){var P=this.getFontByName(N),R=I;if(!P.cache[R]){var V=P.helper;if(I===" "){var J=V.measureText("|"+I+"|"),Y=V.measureText("||");P.cache[R]=(J-Y)/100}else P.cache[R]=V.measureText(I)/100}return P.cache[R]*x}function A(I){for(var N=0,x=this.fonts.length;N<x;){if(this.fonts[N].fName===I)return this.fonts[N];N+=1}return this.fonts[0]}function C(I){var N=0,x=I.charCodeAt(0);if(x>=55296&&x<=56319){var P=I.charCodeAt(1);P>=56320&&P<=57343&&(N=(x-55296)*1024+P-56320+65536)}return N}function T(I,N){var x=I.toString(16)+N.toString(16);return g.indexOf(x)!==-1}function F(I){return I===l}function M(I){return I===o}function D(I){var N=C(I);return N>=c&&N<=f}function H(I){return D(I.substr(0,2))&&D(I.substr(2,2))}function j(I){return r.indexOf(I)!==-1}function B(I,N){var x=C(I.substr(N,2));if(x!==a)return!1;var P=0;for(N+=2;P<5;){if(x=C(I.substr(N,2)),x<i||x>s)return!1;P+=1,N+=2}return C(I.substr(N,2))===n}function _(){this.isLoaded=!0}var $=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)};$.isModifier=T,$.isZeroWidthJoiner=F,$.isFlagEmoji=H,$.isRegionalCode=D,$.isCombinedCharacter=j,$.isRegionalFlag=B,$.isVariationSelector=M,$.BLACK_FLAG_CODE_POINT=a;var O={addChars:y,addFonts:E,getCharData:S,getFontByName:A,measureText:b,checkLoadedFonts:d,setIsLoaded:_};return $.prototype=O,$}();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 a,n=r.length,i;for(a=0;a<n;a+=1)i=new GroupEffect(r[a],t),this.effectElements.push(i)}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,a=this.data.ef.length,n,i=this.data.ef;for(r=0;r<a;r+=1){switch(n=null,i[r].ty){case 0:n=new SliderEffect(i[r],t,this);break;case 1:n=new AngleEffect(i[r],t,this);break;case 2:n=new ColorEffect(i[r],t,this);break;case 3:n=new PointEffect(i[r],t,this);break;case 4:case 7:n=new CheckboxEffect(i[r],t,this);break;case 10:n=new LayerIndexEffect(i[r],t,this);break;case 11:n=new MaskIndexEffect(i[r],t,this);break;case 5:n=new EffectsManager(i[r],t);break;default:n=new NoValueEffect(i[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"),a=t("effects"),n=t("shape"),i=t("text"),s=t("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),this.data.ty===0||this.data.xt?this.compInterface=s(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=i(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,a){this.globalData=r,this.comp=a,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 a,n=this.dynamicProperties.length;for(a=0;a<n;a+=1)(r||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._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 a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),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,a;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(a=this.layers[t],a.ip-a.st<=e-this.layers[t].st&&a.op-a.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,a,n=this.layers.length;for(t=0;t<r;t+=1)for(a=0;a<n;){if(this.layers[a].id===e[t].id){this.layers[a]=e[t];break}a+=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 a=this.elements,n=this.layers,i=0,s=n.length;i<s;)n[i].ind==t&&(!a[i]||a[i]===!0?(this.buildItem(i),this.addPendingElement(e)):(r.push(a[i]),a[i].setAsParent(),n[i].parent!==void 0?this.buildElementParenting(e,n[i].parent,r):e.setHierarchy(r))),i+=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 a=this.createComp(e[t]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},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 a,n=this.elements.length;for(a=0;a<n;a+=1)if(this.elements[a].data.nm===t){r=this.elements[a];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,a=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<n;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,r.cloneFromProps(t),a=0;a<n;a+=1)r.multiply(this.hierarchy[a].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 a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),t=1;t<r;t+=1){var n=this.localTransforms[t].matrix;a.multiply(n)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(t=0;t<r;t+=1)i*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=i}}},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,a=t.length;for(r=0;r<a;r+=1)this.localTransforms.push(t[r])}}},globalToLocal:function(t){var r=[];r.push(this.finalTransform);for(var a=!0,n=this.comp;a;)n.finalTransform?(n.data.hasMask&&r.splice(0,0,n.finalTransform),n=n.comp):a=!1;var i,s=r.length,o;for(i=0;i<s;i+=1)o=r[i].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[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 a=this.globalData.defs,n,i=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(i),this.solidPath="";var s,o=this.masksProperties,l=0,c=[],f,g,u=createElementID(),p,d,m,E,y="clipPath",S="clip-path";for(n=0;n<i;n+=1)if((o[n].mode!=="a"&&o[n].mode!=="n"||o[n].inv||o[n].o.k!==100||o[n].o.x)&&(y="mask",S="mask"),(o[n].mode==="s"||o[n].mode==="i")&&l===0?(p=createNS("rect"),p.setAttribute("fill","#ffffff"),p.setAttribute("width",this.element.comp.data.w||0),p.setAttribute("height",this.element.comp.data.h||0),c.push(p)):p=null,s=createNS("path"),o[n].mode==="n")this.viewData[n]={op:PropertyFactory.getProp(this.element,o[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[n],3),elem:s,lastPath:""},a.appendChild(s);else{l+=1,s.setAttribute("fill",o[n].mode==="s"?"#000000":"#ffffff"),s.setAttribute("clip-rule","nonzero");var b;if(o[n].x.k!==0?(y="mask",S="mask",E=PropertyFactory.getProp(this.element,o[n].x,0,null,this.element),b=createElementID(),d=createNS("filter"),d.setAttribute("id",b),m=createNS("feMorphology"),m.setAttribute("operator","erode"),m.setAttribute("in","SourceGraphic"),m.setAttribute("radius","0"),d.appendChild(m),a.appendChild(d),s.setAttribute("stroke",o[n].mode==="s"?"#000000":"#ffffff")):(m=null,E=null),this.storedData[n]={elem:s,x:E,expan:m,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},o[n].mode==="i"){g=c.length;var A=createNS("g");for(f=0;f<g;f+=1)A.appendChild(c[f]);var C=createNS("mask");C.setAttribute("mask-type","alpha"),C.setAttribute("id",u+"_"+l),C.appendChild(s),a.appendChild(C),A.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+l+")"),c.length=0,c.push(A)}else c.push(s);o[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:s,lastPath:"",op:PropertyFactory.getProp(this.element,o[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[n],3),invRect:p},this.viewData[n].prop.k||this.drawPath(o[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(y),i=c.length,n=0;n<i;n+=1)this.maskElement.appendChild(c[n]);l>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(S,"url("+getLocationHref()+"#"+u+")"),a.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,a=this.masksProperties.length;for(r=0;r<a;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 a=" M"+t.v[0][0]+","+t.v[0][1],n,i;for(i=t._length,n=1;n<i;n+=1)a+=" 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&&i>1&&(a+=" 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!==a){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),r.lastPath=a}},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(a,n){var i=createNS("filter");return i.setAttribute("id",a),n!==!0&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i}function r(){var a=createNS("feColorMatrix");return a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),a}return 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",a=e.data.ef?e.data.ef.length:0,n=createElementID(),i=filtersFactory.createFilter(n,!0),s=0;this.filters=[];var o;for(t=0;t<a;t+=1){o=null;var l=e.data.ef[t].ty;if(registeredEffects$1[l]){var c=registeredEffects$1[l].effect;o=new c(i,e.effectsManager.effectElements[t],e,idPrefix+s,r),r=idPrefix+s,registeredEffects$1[l].countsAsEffect&&(s+=1)}o&&this.filters.push(o)}s&&(e.globalData.defs.appendChild(i),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,a=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&a.push(this.filters[t]);return a};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 a=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 i=createElementID();if(a.setAttribute("id",i),a.appendChild(n),this.globalData.defs.appendChild(a),this.checkMasks()){var s=createNS("g");s.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),s.appendChild(this.layerElement),this.transformedElement=s,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}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,a,n,i,s;if(t===1||t===3){var o=createNS("mask");o.setAttribute("id",r),o.setAttribute("mask-type",t===3?"luminance":"alpha"),i=createNS("use"),i.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(i),this.globalData.defs.appendChild(o),!featureSupport.maskType&&t===1&&(o.setAttribute("mask-type","luminance"),a=createElementID(),n=filtersFactory.createFilter(a),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),s=createNS("g"),s.appendChild(i),o.appendChild(s),s.setAttribute("filter","url("+getLocationHref()+"#"+a+")"))}else if(t===2){var l=createNS("mask");l.setAttribute("id",r),l.setAttribute("mask-type","alpha");var c=createNS("g");l.appendChild(c),a=createElementID(),n=filtersFactory.createFilter(a);var f=createNS("feComponentTransfer");f.setAttribute("in","SourceGraphic"),n.appendChild(f);var g=createNS("feFuncA");g.setAttribute("type","table"),g.setAttribute("tableValues","1.0 0.0"),f.appendChild(g),this.globalData.defs.appendChild(n);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),c.setAttribute("filter","url("+getLocationHref()+"#"+a+")"),c.appendChild(u),i=createNS("use"),i.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),c.appendChild(i),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),s=createNS("g"),c.appendChild(u),s.appendChild(this.layerElement),c.appendChild(s)),this.globalData.defs.appendChild(l)}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,a,n){this.initFrame(),this.initBaseData(r,a,n),this.initTransform(r,a,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,a=this.shapeModifiers.length;for(r=0;r<a;r+=1)this.shapeModifiers[r].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var r=0,a=this.shapeModifiers.length;r<a;)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 a;for(t=r-1;t>=0&&(a=this.shapeModifiers[t].processShapes(this._isFirstFrame),!a);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,a=0,n=r.length;a<n;){if(r[a].elem===t)return r[a].pos;a+=1}return 0},addProcessedElement:function(t,r){for(var a=this.processedElements,n=a.length;n;)if(n-=1,a[n].elem===t){a[n].pos=r;return}a.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 a=0,n=e.length;a<n;){if(e[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=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,a){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(a);var n,i=t.length||0,s;for(n=0;n<i;n+=1)s=PropertyFactory.getProp(e,t[n].v,0,0,this),this.k=s.k||this.k,this.dataProps[n]={n:t[n].n,p:s};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!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 a=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",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,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,a=this.o.length/2,n;r<a;){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,a,n;for(t=0;t<r;t+=1)a=t%4===0?100:255,n=Math.round(this.prop.v[t]*a),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)a=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(),a=createNS(t.t===1?"linearGradient":"radialGradient");a.setAttribute("id",r),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var n=[],i,s,o;for(o=t.g.p*4,s=0;s<o;s+=4)i=createNS("stop"),a.appendChild(i),n.push(i);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=a,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,a,n,i=createNS("mask"),s=createNS("path");i.appendChild(s);var o=createElementID(),l=createElementID();i.setAttribute("id",l);var c=createNS(e.t===1?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),n=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var f=this.stops;for(a=e.g.p*4;a<n;a+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),f.push(r);s.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),e.ty==="gs"&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&s.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=i,this.ost=f,this.maskId=l,t.msElem=s}},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,a,n){if(r===0)return"";var i=t.o,s=t.i,o=t.v,l,c=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(l=1;l<r;l+=1)c+=" C"+n.applyToPointStringified(i[l-1][0],i[l-1][1])+" "+n.applyToPointStringified(s[l][0],s[l][1])+" "+n.applyToPointStringified(o[l][0],o[l][1]);return a&&r&&(c+=" C"+n.applyToPointStringified(i[l-1][0],i[l-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),c+="z"),c},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,r={createRenderFunction:a};function a(g){switch(g.ty){case"fl":return o;case"gf":return c;case"gs":return l;case"st":return f;case"sh":case"el":case"rc":case"sr":return s;case"tr":return n;case"no":return i;default:return null}}function n(g,u,p){(p||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(p||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS())}function i(){}function s(g,u,p){var d,m,E,y,S,b,A=u.styles.length,C=u.lvl,T,F,M,D;for(b=0;b<A;b+=1){if(y=u.sh._mdf||p,u.styles[b].lvl<C){for(F=t.reset(),M=C-u.styles[b].lvl,D=u.transformers.length-1;!y&&M>0;)y=u.transformers[D].mProps._mdf||y,M-=1,D-=1;if(y)for(M=C-u.styles[b].lvl,D=u.transformers.length-1;M>0;)F.multiply(u.transformers[D].mProps.v),M-=1,D-=1}else F=e;if(T=u.sh.paths,m=T._length,y){for(E="",d=0;d<m;d+=1)S=T.shapes[d],S&&S._length&&(E+=buildShapeString(S,S._length,S.c,F));u.caches[b]=E}else E=u.caches[b];u.styles[b].d+=g.hd===!0?"":E,u.styles[b]._mdf=y||u.styles[b]._mdf}}function o(g,u,p){var d=u.style;(u.c._mdf||p)&&d.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||p)&&d.pElem.setAttribute("fill-opacity",u.o.v)}function l(g,u,p){c(g,u,p),f(g,u,p)}function c(g,u,p){var d=u.gf,m=u.g._hasOpacity,E=u.s.v,y=u.e.v;if(u.o._mdf||p){var S=g.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(S,u.o.v)}if(u.s._mdf||p){var b=g.t===1?"x1":"cx",A=b==="x1"?"y1":"cy";d.setAttribute(b,E[0]),d.setAttribute(A,E[1]),m&&!u.g._collapsable&&(u.of.setAttribute(b,E[0]),u.of.setAttribute(A,E[1]))}var C,T,F,M;if(u.g._cmdf||p){C=u.cst;var D=u.g.c;for(F=C.length,T=0;T<F;T+=1)M=C[T],M.setAttribute("offset",D[T*4]+"%"),M.setAttribute("stop-color","rgb("+D[T*4+1]+","+D[T*4+2]+","+D[T*4+3]+")")}if(m&&(u.g._omdf||p)){var H=u.g.o;for(u.g._collapsable?C=u.cst:C=u.ost,F=C.length,T=0;T<F;T+=1)M=C[T],u.g._collapsable||M.setAttribute("offset",H[T*2]+"%"),M.setAttribute("stop-opacity",H[T*2+1])}if(g.t===1)(u.e._mdf||p)&&(d.setAttribute("x2",y[0]),d.setAttribute("y2",y[1]),m&&!u.g._collapsable&&(u.of.setAttribute("x2",y[0]),u.of.setAttribute("y2",y[1])));else{var j;if((u.s._mdf||u.e._mdf||p)&&(j=Math.sqrt(Math.pow(E[0]-y[0],2)+Math.pow(E[1]-y[1],2)),d.setAttribute("r",j),m&&!u.g._collapsable&&u.of.setAttribute("r",j)),u.e._mdf||u.h._mdf||u.a._mdf||p){j||(j=Math.sqrt(Math.pow(E[0]-y[0],2)+Math.pow(E[1]-y[1],2)));var B=Math.atan2(y[1]-E[1],y[0]-E[0]),_=u.h.v;_>=1?_=.99:_<=-1&&(_=-.99);var $=j*_,O=Math.cos(B+u.a.v)*$+E[0],I=Math.sin(B+u.a.v)*$+E[1];d.setAttribute("fx",O),d.setAttribute("fy",I),m&&!u.g._collapsable&&(u.of.setAttribute("fx",O),u.of.setAttribute("fy",I))}}}function f(g,u,p){var d=u.style,m=u.d;m&&(m._mdf||p)&&m.dashStr&&(d.pElem.setAttribute("stroke-dasharray",m.dashStr),d.pElem.setAttribute("stroke-dashoffset",m.dashoffset[0])),u.c&&(u.c._mdf||p)&&d.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||p)&&d.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||p)&&(d.pElem.setAttribute("stroke-width",u.w.v),d.msElem&&d.msElem.setAttribute("stroke-width",u.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,a,n=this.stylesList.length,i,s=[],o=!1;for(a=0;a<n;a+=1){for(i=this.stylesList[a],o=!1,s.length=0,e=0;e<t;e+=1)r=this.shapes[e],r.styles.indexOf(i)!==-1&&(s.push(r),o=r._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},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,a=new SVGStyleData(e,t),n=a.pElem;if(e.ty==="st")r=new SVGStrokeStyleData(this,e,a);else if(e.ty==="fl")r=new SVGFillStyleData(this,e,a);else if(e.ty==="gf"||e.ty==="gs"){var i=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new i(this,e,a),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,a));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(a),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),a=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var a=4;e.ty==="rc"?a=5:e.ty==="el"?a=6:e.ty==="sr"&&(a=7);var n=ShapePropertyFactory.getShapeProp(this,e,a,this),i=new SVGShapeData(t,r,n);return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,a=this.animatedContents.length;r<a;){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,a=this.stylesList.length;for(r=0;r<a;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,a,n,i,s){var o=[].concat(i),l,c=e.length-1,f,g,u=[],p=[],d,m,E;for(l=c;l>=0;l-=1){if(E=this.searchProcessedElement(e[l]),E?t[l]=r[E-1]:e[l]._render=s,e[l].ty==="fl"||e[l].ty==="st"||e[l].ty==="gf"||e[l].ty==="gs"||e[l].ty==="no")E?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],n),e[l]._render&&t[l].style.pElem.parentNode!==a&&a.appendChild(t[l].style.pElem),u.push(t[l].style);else if(e[l].ty==="gr"){if(!E)t[l]=this.createGroupElement(e[l]);else for(g=t[l].it.length,f=0;f<g;f+=1)t[l].prevViewData[f]=t[l].it[f];this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,n+1,o,s),e[l]._render&&t[l].gr.parentNode!==a&&a.appendChild(t[l].gr)}else e[l].ty==="tr"?(E||(t[l]=this.createTransformElement(e[l],a)),d=t[l].transform,o.push(d)):e[l].ty==="sh"||e[l].ty==="rc"||e[l].ty==="el"||e[l].ty==="sr"?(E||(t[l]=this.createShapeElement(e[l],o,n)),this.setElementStyles(t[l])):e[l].ty==="tm"||e[l].ty==="rd"||e[l].ty==="ms"||e[l].ty==="pb"||e[l].ty==="zz"||e[l].ty==="op"?(E?(m=t[l],m.closed=!1):(m=ShapeModifiers.getModifier(e[l].ty),m.init(this,e[l]),t[l]=m,this.shapeModifiers.push(m)),p.push(m)):e[l].ty==="rp"&&(E?(m=t[l],m.closed=!0):(m=ShapeModifiers.getModifier(e[l].ty),t[l]=m,m.init(this,e,l,t),this.shapeModifiers.push(m),s=!1),p.push(m));this.addProcessedElement(e[l],l+1)}for(c=u.length,l=0;l<c;l+=1)u[l].closed=!0;for(c=p.length,l=0;l<c;l+=1)p[l].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,a,n,i){this.o=e,this.sw=t,this.sc=r,this.fc=a,this.m=n,this.p=i,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!a,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,r,a,n,i){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 s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,s=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,s=!0),i.length&&(this.p[0]!==i[0]||this.p[1]!==i[1]||this.p[4]!==i[4]||this.p[5]!==i[5]||this.p[12]!==i[12]||this.p[13]!==i[13])&&(this.p=i,this._mdf.p=!0,s=!0),s};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 a,n=this.effectsSequence.length,i=e||this.data.d.k[this.keysIndex].s;for(a=0;a<n;a+=1)r!==this.keysIndex?i=this.effectsSequence[a](i,i.t):i=this.effectsSequence[a](this.currentData,i.t);t!==i&&this.setCurrentData(i),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,a=e.length;r<=a-1&&!(r===a-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,a=e.length,n,i,s=!1,o=!1,l="";r<a;)s=o,o=!1,n=e.charCodeAt(r),l=e.charAt(r),FontManager.isCombinedCharacter(n)?s=!0:n>=55296&&n<=56319?FontManager.isRegionalFlag(e,r)?l=e.substr(r,14):(i=e.charCodeAt(r+1),i>=56320&&i<=57343&&(FontManager.isModifier(n,i)?(l=e.substr(r,2),s=!0):FontManager.isFlagEmoji(e.substr(r,4))?l=e.substr(r,4):l=e.substr(r,2))):n>56319?(i=e.charCodeAt(r+1),FontManager.isVariationSelector(n)&&(s=!0)):FontManager.isZeroWidthJoiner(n)&&(s=!0,o=!0),s?(t[t.length-1]+=l,s=!1):t.push(l),r+=l.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,a=[],n,i,s,o=0,l,c=r.m.g,f=0,g=0,u=0,p=[],d=0,m=0,E,y,S=t.getFontByName(e.f),b,A=0,C=getFontProperties(S);e.fWeight=C.weight,e.fStyle=C.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),i=e.finalText.length,e.finalLineHeight=e.lh;var T=e.tr/1e3*e.finalSize,F;if(e.sz)for(var M=!0,D=e.sz[0],H=e.sz[1],j,B;M;){B=this.buildFinalText(e.t),j=0,d=0,i=B.length,T=e.tr/1e3*e.finalSize;var _=-1;for(n=0;n<i;n+=1)F=B[n].charCodeAt(0),s=!1,B[n]===" "?_=n:(F===13||F===3)&&(d=0,s=!0,j+=e.finalLineHeight||e.finalSize*1.2),t.chars?(b=t.getCharData(B[n],S.fStyle,S.fFamily),A=s?0:b.w*e.finalSize/100):A=t.measureText(B[n],e.f,e.finalSize),d+A>D&&B[n]!==" "?(_===-1?i+=1:n=_,j+=e.finalLineHeight||e.finalSize*1.2,B.splice(n,_===n?1:0,"\r"),_=-1,d=0):(d+=A,d+=T);j+=S.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&H<j?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=B,i=e.finalText.length,M=!1)}d=-T,A=0;var $=0,O;for(n=0;n<i;n+=1)if(s=!1,O=e.finalText[n],F=O.charCodeAt(0),F===13||F===3?($=0,p.push(d),m=d>m?d:m,d=-2*T,l="",s=!0,u+=1):l=O,t.chars?(b=t.getCharData(O,S.fStyle,t.getFontByName(e.f).fFamily),A=s?0:b.w*e.finalSize/100):A=t.measureText(l,e.f,e.finalSize),O===" "?$+=A+T:(d+=A+T+$,$=0),a.push({l:A,an:A,add:f,n:s,anIndexes:[],val:l,line:u,animatorJustifyOffset:0}),c==2){if(f+=A,l===""||l===" "||n===i-1){for((l===""||l===" ")&&(f-=A);g<=n;)a[g].an=f,a[g].ind=o,a[g].extra=A,g+=1;o+=1,f=0}}else if(c==3){if(f+=A,l===""||n===i-1){for(l===""&&(f-=A);g<=n;)a[g].an=f,a[g].ind=o,a[g].extra=A,g+=1;f=0,o+=1}}else a[o].ind=o,a[o].extra=0,o+=1;if(e.l=a,m=d>m?d:m,p.push(d),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=m,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=p;var I=r.a,N,x;y=I.length;var P,R,V=[];for(E=0;E<y;E+=1){for(N=I[E],N.a.sc&&(e.strokeColorAnim=!0),N.a.sw&&(e.strokeWidthAnim=!0),(N.a.fc||N.a.fh||N.a.fs||N.a.fb)&&(e.fillColorAnim=!0),R=0,P=N.s.b,n=0;n<i;n+=1)x=a[n],x.anIndexes[E]=R,(P==1&&x.val!==""||P==2&&x.val!==""&&x.val!==" "||P==3&&(x.n||x.val==" "||n==i-1)||P==4&&(x.n||n==i-1))&&(N.s.rn===1&&V.push(R),R+=1);r.a[E].s.totalChars=R;var J=-1,Y;if(N.s.rn===1)for(n=0;n<i;n+=1)x=a[n],J!=x.anIndexes[E]&&(J=x.anIndexes[E],Y=V.splice(Math.floor(Math.random()*V.length),1)[0]),x.anIndexes[E]=Y}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=S.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 a(i,s){this._currentTextLength=-1,this.k=!1,this.data=s,this.elem=i,this.comp=i.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(i),this.s=PropertyFactory.getProp(i,s.s||{k:0},0,0,this),"e"in s?this.e=PropertyFactory.getProp(i,s.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(i,s.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(i,s.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(i,s.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(i,s.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(i,s.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(s){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,l=0,c=1,f=1;this.ne.v>0?o=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?c=1-this.xe.v/100:f=1+this.xe.v/100;var g=BezierFactory.getBezierEasing(o,l,c,f).get,u=0,p=this.finalS,d=this.finalE,m=this.data.sh;if(m===2)d===p?u=s>=d?1:0:u=e(0,t(.5/(d-p)+(s-p)/(d-p),1)),u=g(u);else if(m===3)d===p?u=s>=d?0:1:u=1-e(0,t(.5/(d-p)+(s-p)/(d-p),1)),u=g(u);else if(m===4)d===p?u=0:(u=e(0,t(.5/(d-p)+(s-p)/(d-p),1)),u<.5?u*=2:u=1-2*(u-.5)),u=g(u);else if(m===5){if(d===p)u=0;else{var E=d-p;s=t(e(0,s+.5-p),d-p);var y=-E/2+s,S=E/2;u=Math.sqrt(1-y*y/(S*S))}u=g(u)}else m===6?(d===p?u=0:(s=t(e(0,s+.5-p),d-p),u=(1+Math.cos(Math.PI+Math.PI*2*s/(d-p)))/2),u=g(u)):(s>=r(p)&&(s-p<0?u=e(0,t(t(d,1)-(p-s),1)):u=e(0,t(d-s,1))),u=g(u));if(this.sm.v!==100){var b=this.sm.v*.01;b===0&&(b=1e-8);var A=.5-b*.5;u<A?u=0:(u=(u-A)/b,u>1&&(u=1))}return u*this.a.v},getValue:function(s){this.iterateDynamicProperties(),this._mdf=s||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,s&&this.data.r===2&&(this.e.v=this._currentTextLength);var o=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/o,c=this.s.v/o+l,f=this.e.v/o+l;if(c>f){var g=c;c=f,f=g}this.finalS=c,this.finalE=f}},extendPrototype([DynamicPropertyContainer],a);function n(i,s,o){return new a(i,s)}return{getTextSelectorProp:n}}();function TextAnimatorDataProperty(e,t,r){var a={propType:!1},n=PropertyFactory.getProp,i=t.a;this.a={r:i.r?n(e,i.r,0,degToRads,r):a,rx:i.rx?n(e,i.rx,0,degToRads,r):a,ry:i.ry?n(e,i.ry,0,degToRads,r):a,sk:i.sk?n(e,i.sk,0,degToRads,r):a,sa:i.sa?n(e,i.sa,0,degToRads,r):a,s:i.s?n(e,i.s,1,.01,r):a,a:i.a?n(e,i.a,1,0,r):a,o:i.o?n(e,i.o,0,.01,r):a,p:i.p?n(e,i.p,1,0,r):a,sw:i.sw?n(e,i.sw,0,0,r):a,sc:i.sc?n(e,i.sc,1,0,r):a,fc:i.fc?n(e,i.fc,1,0,r):a,fh:i.fh?n(e,i.fh,0,0,r):a,fs:i.fs?n(e,i.fs,0,.01,r):a,fb:i.fb?n(e,i.fb,0,.01,r):a,t:i.t?n(e,i.t,0,0,r):a},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,a=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:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(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=a(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,a=this._animatorsData,n=this._textData,i=this.mHelper,s=this._renderType,o=this.renderedLetters.length,l,c,f,g,u=e.l,p,d,m,E,y,S,b,A,C,T,F,M,D,H,j;if(this._hasMaskedPath){if(j=this._pathData.m,!this._pathData.n||this._pathData._mdf){var B=j.v;this._pathData.r.v&&(B=B.reverse()),p={tLength:0,segments:[]},g=B._length-1;var _;for(M=0,f=0;f<g;f+=1)_=bez.buildBezierData(B.v[f],B.v[f+1],[B.o[f][0]-B.v[f][0],B.o[f][1]-B.v[f][1]],[B.i[f+1][0]-B.v[f+1][0],B.i[f+1][1]-B.v[f+1][1]]),p.tLength+=_.segmentLength,p.segments.push(_),M+=_.segmentLength;f=g,j.v.c&&(_=bez.buildBezierData(B.v[f],B.v[0],[B.o[f][0]-B.v[f][0],B.o[f][1]-B.v[f][1]],[B.i[0][0]-B.v[0][0],B.i[0][1]-B.v[0][1]]),p.tLength+=_.segmentLength,p.segments.push(_),M+=_.segmentLength),this._pathData.pi=p}if(p=this._pathData.pi,d=this._pathData.f.v,b=0,S=1,E=0,y=!0,T=p.segments,d<0&&j.v.c)for(p.tLength<Math.abs(d)&&(d=-Math.abs(d)%p.tLength),b=T.length-1,C=T[b].points,S=C.length-1;d<0;)d+=C[S].partialLength,S-=1,S<0&&(b-=1,C=T[b].points,S=C.length-1);C=T[b].points,A=C[S-1],m=C[S],F=m.partialLength}g=u.length,l=0,c=0;var $=e.finalSize*1.2*.714,O=!0,I,N,x,P,R;P=a.length;var V,J=-1,Y,X,re,Z=d,ce=b,ye=S,be=-1,Ee,Se,k,z,U,Q,ae,ie,he="",te=this.defaultPropsArray,ue;if(e.j===2||e.j===1){var fe=0,Ae=0,pe=e.j===2?-.5:-1,se=0,Te=!0;for(f=0;f<g;f+=1)if(u[f].n){for(fe&&(fe+=Ae);se<f;)u[se].animatorJustifyOffset=fe,se+=1;fe=0,Te=!0}else{for(x=0;x<P;x+=1)I=a[x].a,I.t.propType&&(Te&&e.j===2&&(Ae+=I.t.v*pe),N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),V.length?fe+=I.t.v*V[0]*pe:fe+=I.t.v*V*pe);Te=!1}for(fe&&(fe+=Ae);se<f;)u[se].animatorJustifyOffset=fe,se+=1}for(f=0;f<g;f+=1){if(i.reset(),Ee=1,u[f].n)l=0,c+=e.yOffset,c+=O?1:0,d=Z,O=!1,this._hasMaskedPath&&(b=ce,S=ye,C=T[b].points,A=C[S-1],m=C[S],F=m.partialLength,E=0),he="",ie="",Q="",ue="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(be!==u[f].line){switch(e.j){case 1:d+=M-e.lineWidths[u[f].line];break;case 2:d+=(M-e.lineWidths[u[f].line])/2;break}be=u[f].line}J!==u[f].ind&&(u[J]&&(d+=u[J].extra),d+=u[f].an/2,J=u[f].ind),d+=r[0]*u[f].an*.005;var xe=0;for(x=0;x<P;x+=1)I=a[x].a,I.p.propType&&(N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),V.length?xe+=I.p.v[0]*V[0]:xe+=I.p.v[0]*V),I.a.propType&&(N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),V.length?xe+=I.a.v[0]*V[0]:xe+=I.a.v[0]*V);for(y=!0,this._pathData.a.v&&(d=u[0].an*.5+(M-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*J/(g-1),d+=this._pathData.f.v);y;)E+F>=d+xe||!C?(D=(d+xe-E)/m.partialLength,X=A.point[0]+(m.point[0]-A.point[0])*D,re=A.point[1]+(m.point[1]-A.point[1])*D,i.translate(-r[0]*u[f].an*.005,-(r[1]*$)*.01),y=!1):C&&(E+=m.partialLength,S+=1,S>=C.length&&(S=0,b+=1,T[b]?C=T[b].points:j.v.c?(S=0,b=0,C=T[b].points):(E-=m.partialLength,C=null)),C&&(A=m,m=C[S],F=m.partialLength));Y=u[f].an/2-u[f].add,i.translate(-Y,0,0)}else Y=u[f].an/2-u[f].add,i.translate(-Y,0,0),i.translate(-r[0]*u[f].an*.005,-r[1]*$*.01,0);for(x=0;x<P;x+=1)I=a[x].a,I.t.propType&&(N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),(l!==0||e.j!==0)&&(this._hasMaskedPath?V.length?d+=I.t.v*V[0]:d+=I.t.v*V:V.length?l+=I.t.v*V[0]:l+=I.t.v*V));for(e.strokeWidthAnim&&(k=e.sw||0),e.strokeColorAnim&&(e.sc?Se=[e.sc[0],e.sc[1],e.sc[2]]:Se=[0,0,0]),e.fillColorAnim&&e.fc&&(z=[e.fc[0],e.fc[1],e.fc[2]]),x=0;x<P;x+=1)I=a[x].a,I.a.propType&&(N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),V.length?i.translate(-I.a.v[0]*V[0],-I.a.v[1]*V[1],I.a.v[2]*V[2]):i.translate(-I.a.v[0]*V,-I.a.v[1]*V,I.a.v[2]*V));for(x=0;x<P;x+=1)I=a[x].a,I.s.propType&&(N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),V.length?i.scale(1+(I.s.v[0]-1)*V[0],1+(I.s.v[1]-1)*V[1],1):i.scale(1+(I.s.v[0]-1)*V,1+(I.s.v[1]-1)*V,1));for(x=0;x<P;x+=1){if(I=a[x].a,N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),I.sk.propType&&(V.length?i.skewFromAxis(-I.sk.v*V[0],I.sa.v*V[1]):i.skewFromAxis(-I.sk.v*V,I.sa.v*V)),I.r.propType&&(V.length?i.rotateZ(-I.r.v*V[2]):i.rotateZ(-I.r.v*V)),I.ry.propType&&(V.length?i.rotateY(I.ry.v*V[1]):i.rotateY(I.ry.v*V)),I.rx.propType&&(V.length?i.rotateX(I.rx.v*V[0]):i.rotateX(I.rx.v*V)),I.o.propType&&(V.length?Ee+=(I.o.v*V[0]-Ee)*V[0]:Ee+=(I.o.v*V-Ee)*V),e.strokeWidthAnim&&I.sw.propType&&(V.length?k+=I.sw.v*V[0]:k+=I.sw.v*V),e.strokeColorAnim&&I.sc.propType)for(U=0;U<3;U+=1)V.length?Se[U]+=(I.sc.v[U]-Se[U])*V[0]:Se[U]+=(I.sc.v[U]-Se[U])*V;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(U=0;U<3;U+=1)V.length?z[U]+=(I.fc.v[U]-z[U])*V[0]:z[U]+=(I.fc.v[U]-z[U])*V;I.fh.propType&&(V.length?z=addHueToRGB(z,I.fh.v*V[0]):z=addHueToRGB(z,I.fh.v*V)),I.fs.propType&&(V.length?z=addSaturationToRGB(z,I.fs.v*V[0]):z=addSaturationToRGB(z,I.fs.v*V)),I.fb.propType&&(V.length?z=addBrightnessToRGB(z,I.fb.v*V[0]):z=addBrightnessToRGB(z,I.fb.v*V))}}for(x=0;x<P;x+=1)I=a[x].a,I.p.propType&&(N=a[x].s,V=N.getMult(u[f].anIndexes[x],n.a[x].s.totalChars),this._hasMaskedPath?V.length?i.translate(0,I.p.v[1]*V[0],-I.p.v[2]*V[1]):i.translate(0,I.p.v[1]*V,-I.p.v[2]*V):V.length?i.translate(I.p.v[0]*V[0],I.p.v[1]*V[1],-I.p.v[2]*V[2]):i.translate(I.p.v[0]*V,I.p.v[1]*V,-I.p.v[2]*V));if(e.strokeWidthAnim&&(Q=k<0?0:k),e.strokeColorAnim&&(ae="rgb("+Math.round(Se[0]*255)+","+Math.round(Se[1]*255)+","+Math.round(Se[2]*255)+")"),e.fillColorAnim&&e.fc&&(ie="rgb("+Math.round(z[0]*255)+","+Math.round(z[1]*255)+","+Math.round(z[2]*255)+")"),this._hasMaskedPath){if(i.translate(0,-e.ls),i.translate(0,r[1]*$*.01+c,0),this._pathData.p.v){H=(m.point[1]-A.point[1])/(m.point[0]-A.point[0]);var Ie=Math.atan(H)*180/Math.PI;m.point[0]<A.point[0]&&(Ie+=180),i.rotate(-Ie*Math.PI/180)}i.translate(X,re,0),d-=r[0]*u[f].an*.005,u[f+1]&&J!==u[f+1].ind&&(d+=u[f].an/2,d+=e.tr*.001*e.finalSize)}else{switch(i.translate(l,c,0),e.ps&&i.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:i.translate(u[f].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[f].line]),0,0);break;case 2:i.translate(u[f].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[f].line])/2,0,0);break}i.translate(0,-e.ls),i.translate(Y,0,0),i.translate(r[0]*u[f].an*.005,r[1]*$*.01,0),l+=u[f].l+e.tr*.001*e.finalSize}s==="html"?he=i.toCSS():s==="svg"?he=i.to2dCSS():te=[i.props[0],i.props[1],i.props[2],i.props[3],i.props[4],i.props[5],i.props[6],i.props[7],i.props[8],i.props[9],i.props[10],i.props[11],i.props[12],i.props[13],i.props[14],i.props[15]],ue=Ee}o<=f?(R=new LetterProps(ue,Q,ae,ie,he,te),this.renderedLetters.push(R),o+=1,this.lettersChangedFlag=!0):(R=this.renderedLetters[f],this.lettersChangedFlag=R.update(ue,Q,ae,ie,he,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,a=t.length,n,i="";for(r=0;r<a;r+=1)t[r].ty==="sh"&&(n=t[r].ks.k,i+=buildShapeString(n,n.i.length,!0,e));return i},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,a,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(a,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,a=[],n="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(a.push(n),n=""):n+=e[t],t+=1;return a.push(n),a},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var a=r.it[r.it.length-1];a.s&&(a.s.k[0]=t,a.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 a=this.globalData.fontManager.getFontByName(r.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var n=r.fWeight,i=r.fStyle;this.layerElement.setAttribute("font-style",i),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var s=r.l||[],o=!!this.globalData.fontManager.chars;t=s.length;var l,c=this.mHelper,f="",g=this.data.singleShape,u=0,p=0,d=!0,m=r.tr*.001*r.finalSize;if(g&&!o&&!r.sz){var E=this.textContainer,y="start";switch(r.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}E.setAttribute("text-anchor",y),E.setAttribute("letter-spacing",m);var S=this.buildTextContents(r.finalText);for(t=S.length,p=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)l=this.textSpans[e].span||createNS("tspan"),l.textContent=S[e],l.setAttribute("x",0),l.setAttribute("y",p),l.style.display="inherit",E.appendChild(l),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=l,p+=r.finalLineHeight;this.layerElement.appendChild(E)}else{var b=this.textSpans.length,A;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!o||!g||e===0){if(l=b>e?this.textSpans[e].span:createNS(o?"g":"text"),b<=e){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=l,o){var C=createNS("g");l.appendChild(C),this.textSpans[e].childSpan=C}this.textSpans[e].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(c.reset(),g&&(s[e].n&&(u=-m,p+=r.yOffset,p+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(r,c,s[e].line,u,p),u+=s[e].l||0,u+=m),o){A=this.globalData.fontManager.getCharData(r.finalText[e],a.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var T;if(A.t===1)T=new SVGCompElement(A.data,this.globalData,this);else{var F=emptyShapeData;A.data&&A.data.shapes&&(F=this.buildShapeData(A.data,r.finalSize)),T=new SVGShapeElement(F,this.globalData,this)}if(this.textSpans[e].glyph){var M=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(M.layerElement),M.destroy()}this.textSpans[e].glyph=T,T._debug=!0,T.prepareFrame(0),T.renderFrame(),this.textSpans[e].childSpan.appendChild(T.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else g&&l.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),l.textContent=s[e].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}g&&l&&l.setAttribute("d",f)}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,a=this.textProperty.currentData.l;t=a.length;var n,i,s;for(e=0;e<t;e+=1)a[e].n||(n=r[e],i=this.textSpans[e].span,s=this.textSpans[e].glyph,s&&s.renderFrame(),n._mdf.m&&i.setAttribute("transform",n.m),n._mdf.o&&i.setAttribute("opacity",n.o),n._mdf.sw&&i.setAttribute("stroke-width",n.sw),n._mdf.sc&&i.setAttribute("stroke",n.sc),n._mdf.fc&&i.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"),a=createNS("rect");a.setAttribute("width",e.w),a.setAttribute("height",e.h),a.setAttribute("x",0),a.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(a),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 a="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(r);else{var n=t[a],i=n.getMatte(this.layers[e].tt);r.setMatte(i)}}}},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 a="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,n=this.elements[a],i=n.getMatte(this.layers[t].tt);e.setMatte(i);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 a=0,n;a<t;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(n=this.elements[a].getBaseElement()),a+=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,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=a-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 a=createNS("title"),n=createElementID();a.setAttribute("id",n),a.textContent=t.title,this.svgElement.appendChild(a),r+=n}if(t&&t.description){var i=createNS("desc"),s=createElementID();i.setAttribute("id",s),i.textContent=t.description,this.svgElement.appendChild(i),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,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:o,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,a=t.length,n="_";for(r=0;r<a;r+=1)n+=t[r].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(t,r){for(var a=0,n=t.transforms.length,i=r;a<n&&!r;){if(t.transforms[a].transform.mProps._mdf){i=!0;break}a+=1}if(i)for(t.finalTransform.reset(),a=n-1;a>=0;a-=1)t.finalTransform.multiply(t.transforms[a].transform.mProps.v);t._mdf=i},processSequences:function(t){var r,a=this.sequenceList.length;for(r=0;r<a;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,a=null,n=null;function i(){var l=createNS("svg"),c=createNS("filter"),f=createNS("feColorMatrix");return c.setAttribute("id",t),f.setAttribute("type","matrix"),f.setAttribute("color-interpolation-filters","sRGB"),f.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"),c.appendChild(f),l.appendChild(c),l.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(l.style.display="none"),l}function s(){r||(n=i(),document.body.appendChild(n),r=createTag("canvas"),a=r.getContext("2d"),a.filter="url(#"+t+")",a.fillStyle="rgba(0,0,0,0)",a.fillRect(0,0,1,1))}function o(l){return r||s(),r.width=l.width,r.height=l.height,a.filter="url(#"+t+")",r}return{load:s,get:o}};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 a;for(t=0;t<r;t+=1){a=null;var n=e.data.ef[t].ty;if(registeredEffects[n]){var i=registeredEffects[n].effect;a=new i(e.effectsManager.effectElements[t],e)}a&&this.filters.push(a)}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,a=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&a.push(this.filters[t]);return a};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,a=this.masksProperties.length,n=!1;for(r=0;r<a;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,a=this.masksProperties.length,n,i,s;for(t.beginPath(),r=0;r<a;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)),s=this.viewData[r].v,n=e.applyToPointArray(s.v[0][0],s.v[0][1],0),t.moveTo(n[0],n[1]);var o,l=s._length;for(o=1;o<l;o+=1)i=e.applyToTriplePoints(s.o[o-1],s.i[o],s.v[o]),t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=e.applyToTriplePoints(s.o[o-1],s.i[0],s.v[0]),t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[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 a=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(a),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 a=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(a.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),i=n.getContext("2d");i.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,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,a){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 i,s=r.length,o;for(i=0;i<s;i+=1)r[i].closed||(o={transforms:a.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(o),r[i].elements.push(o))}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},a={};if(e.ty==="fl"||e.ty==="st"?(a.c=PropertyFactory.getProp(this,e.c,1,255,this),a.c.k||(r.co="rgb("+bmFloor(a.c.v[0])+","+bmFloor(a.c.v[1])+","+bmFloor(a.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(a.s=PropertyFactory.getProp(this,e.s,1,null,this),a.e=PropertyFactory.getProp(this,e.e,1,null,this),a.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),a.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),a.g=new GradientProperty(this,e.g,this)),a.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),a.w=PropertyFactory.getProp(this,e.w,0,null,this),a.w.k||(r.wi=a.w.v),e.d){var n=new DashProperty(this,e.d,"canvas",this);a.d=n,a.d.k||(r.da=a.d.dashArray,r.do=a.d.dashoffset[0])}}else r.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(r),a.style=r,a},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,a,n){var i,s=e.length-1,o,l,c=[],f=[],g,u,p,d=[].concat(n);for(i=s;i>=0;i-=1){if(g=this.searchProcessedElement(e[i]),g?t[i]=r[g-1]:e[i]._shouldRender=a,e[i].ty==="fl"||e[i].ty==="st"||e[i].ty==="gf"||e[i].ty==="gs")g?t[i].style.closed=!1:t[i]=this.createStyleElement(e[i],d),c.push(t[i].style);else if(e[i].ty==="gr"){if(!g)t[i]=this.createGroupElement(e[i]);else for(l=t[i].it.length,o=0;o<l;o+=1)t[i].prevViewData[o]=t[i].it[o];this.searchShapes(e[i].it,t[i].it,t[i].prevViewData,a,d)}else e[i].ty==="tr"?(g||(p=this.createTransformElement(e[i]),t[i]=p),d.push(t[i]),this.addTransformToStyleList(t[i])):e[i].ty==="sh"||e[i].ty==="rc"||e[i].ty==="el"||e[i].ty==="sr"?g||(t[i]=this.createShapeElement(e[i])):e[i].ty==="tm"||e[i].ty==="rd"||e[i].ty==="pb"||e[i].ty==="zz"||e[i].ty==="op"?(g?(u=t[i],u.closed=!1):(u=ShapeModifiers.getModifier(e[i].ty),u.init(this,e[i]),t[i]=u,this.shapeModifiers.push(u)),f.push(u)):e[i].ty==="rp"&&(g?(u=t[i],u.closed=!0):(u=ShapeModifiers.getModifier(e[i].ty),t[i]=u,u.init(this,e,i,t),this.shapeModifiers.push(u),a=!1),f.push(u));this.addProcessedElement(e[i],i+1)}for(this.removeTransformFromStyleList(),this.closeStyles(c),s=f.length,i=0;i<s;i+=1)f[i].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,a,n,i,s,o,l=this.globalData.renderer,c=this.globalData.canvasContext,f,g;for(e=0;e<t;e+=1)if(g=this.stylesList[e],f=g.type,!((f==="st"||f==="gs")&&g.wi===0||!g.data._shouldRender||g.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),s=g.elements,f==="st"||f==="gs"?(l.ctxStrokeStyle(f==="st"?g.co:g.grd),l.ctxLineWidth(g.wi),l.ctxLineCap(g.lc),l.ctxLineJoin(g.lj),l.ctxMiterLimit(g.ml||0)):l.ctxFillStyle(f==="fl"?g.co:g.grd),l.ctxOpacity(g.coOp),f!=="st"&&f!=="gs"&&c.beginPath(),l.ctxTransform(g.preTransforms.finalTransform.props),a=s.length,r=0;r<a;r+=1){for((f==="st"||f==="gs")&&(c.beginPath(),g.da&&(c.setLineDash(g.da),c.lineDashOffset=g.do)),o=s[r].trNodes,i=o.length,n=0;n<i;n+=1)o[n].t==="m"?c.moveTo(o[n].p[0],o[n].p[1]):o[n].t==="c"?c.bezierCurveTo(o[n].pts[0],o[n].pts[1],o[n].pts[2],o[n].pts[3],o[n].pts[4],o[n].pts[5]):c.closePath();(f==="st"||f==="gs")&&(l.ctxStroke(),g.da&&c.setLineDash(this.dashResetter))}f!=="st"&&f!=="gs"&&this.globalData.renderer.ctxFill(g.r),l.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,a){var n,i=t.length-1,s;for(s=e,n=i;n>=0;n-=1)t[n].ty==="tr"?(s=r[n].transform,this.renderShapeTransform(e,s)):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],s):t[n].ty==="st"?this.renderStroke(t[n],r[n],s):t[n].ty==="gf"||t[n].ty==="gs"?this.renderGradientFill(t[n],r[n],s):t[n].ty==="gr"?this.renderShape(s,t[n].it,r[n].it):t[n].ty;a&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,a=t.paths,n,i,s,o=a._length;r.length=0;var l=e.transforms.finalTransform;for(s=0;s<o;s+=1){var c=a.shapes[s];if(c&&c.v){for(i=c._length,n=1;n<i;n+=1)n===1&&r.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),r.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[n],c.v[n])});i===1&&r.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&i&&(r.push({t:"c",pts:l.applyToTriplePoints(c.o[n-1],c.i[0],c.v[0])}),r.push({t:"z"}))}}e.trNodes=r}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var r,a=t.styledShapes.length;for(r=0;r<a;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var a=t.style;(t.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(a.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var a=t.style,n;if(!a.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var i=this.globalData.canvasContext,s=t.s.v,o=t.e.v;if(e.t===1)n=i.createLinearGradient(s[0],s[1],o[0],o[1]);else{var l=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)),c=Math.atan2(o[1]-s[1],o[0]-s[0]),f=t.h.v;f>=1?f=.99:f<=-1&&(f=-.99);var g=l*f,u=Math.cos(c+t.a.v)*g+s[0],p=Math.sin(c+t.a.v)*g+s[1];n=i.createRadialGradient(u,p,0,s[0],s[1],l)}var d,m=e.g.p,E=t.g.c,y=1;for(d=0;d<m;d+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[d*2+1]),n.addColorStop(E[d*4]/100,"rgba("+E[d*4+1]+","+E[d*4+2]+","+E[d*4+3]+","+y+")");a.grd=n}a.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var a=t.style,n=t.d;n&&(n._mdf||this._isFirstFrame)&&(a.da=n.dashArray,a.do=n.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(a.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(a.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 a=this.globalData.fontManager.getFontByName(e.f),n,i,s=e.l,o=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var l,c,f,g,u,p,d,m,E,y,S=this.data.singleShape,b=e.tr*.001*e.finalSize,A=0,C=0,T=!0,F=0;for(n=0;n<i;n+=1){l=this.globalData.fontManager.getCharData(e.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),c=l&&l.data||{},o.reset(),S&&s[n].n&&(A=-b,C+=e.yOffset,C+=T?1:0,T=!1),u=c.shapes?c.shapes[0].it:[],d=u.length,o.scale(e.finalSize/100,e.finalSize/100),S&&this.applyTextPropertiesToMatrix(e,o,s[n].line,A,C),E=createSizedArray(d-1);var M=0;for(p=0;p<d;p+=1)if(u[p].ty==="sh"){for(g=u[p].ks.k.i.length,m=u[p].ks.k,y=[],f=1;f<g;f+=1)f===1&&y.push(o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),y.push(o.applyToX(m.o[f-1][0],m.o[f-1][1],0),o.applyToY(m.o[f-1][0],m.o[f-1][1],0),o.applyToX(m.i[f][0],m.i[f][1],0),o.applyToY(m.i[f][0],m.i[f][1],0),o.applyToX(m.v[f][0],m.v[f][1],0),o.applyToY(m.v[f][0],m.v[f][1],0));y.push(o.applyToX(m.o[f-1][0],m.o[f-1][1],0),o.applyToY(m.o[f-1][0],m.o[f-1][1],0),o.applyToX(m.i[0][0],m.i[0][1],0),o.applyToY(m.i[0][0],m.i[0][1],0),o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),E[M]=y,M+=1}S&&(A+=s[n].l,A+=b),this.textSpans[F]?this.textSpans[F].elem=E:this.textSpans[F]={elem:E},F+=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,a,n,i,s,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var c,f=null,g=null,u=null,p,d,m=this.globalData.renderer;for(t=0;t<r;t+=1)if(!l[t].n){if(c=o[t],c&&(m.save(),m.ctxTransform(c.p),m.ctxOpacity(c.o)),this.fill){for(c&&c.fc?f!==c.fc&&(m.ctxFillStyle(c.fc),f=c.fc):f!==this.values.fill&&(f=this.values.fill,m.ctxFillStyle(this.values.fill)),p=this.textSpans[t].elem,n=p.length,this.globalData.canvasContext.beginPath(),a=0;a<n;a+=1)for(d=p[a],s=d.length,this.globalData.canvasContext.moveTo(d[0],d[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(d[i],d[i+1],d[i+2],d[i+3],d[i+4],d[i+5]);this.globalData.canvasContext.closePath(),m.ctxFill()}if(this.stroke){for(c&&c.sw?u!==c.sw&&(u=c.sw,m.ctxLineWidth(c.sw)):u!==this.values.sWidth&&(u=this.values.sWidth,m.ctxLineWidth(this.values.sWidth)),c&&c.sc?g!==c.sc&&(g=c.sc,m.ctxStrokeStyle(c.sc)):g!==this.values.stroke&&(g=this.values.stroke,m.ctxStrokeStyle(this.values.stroke)),p=this.textSpans[t].elem,n=p.length,this.globalData.canvasContext.beginPath(),a=0;a<n;a+=1)for(d=p[a],s=d.length,this.globalData.canvasContext.moveTo(d[0],d[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(d[i],d[i+1],d[i+2],d[i+3],d[i+4],d[i+5]);this.globalData.canvasContext.closePath(),m.ctxStroke()}c&&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,a=this.img.height,n=r/a,i=this.assetData.w/this.assetData.h,s,o,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;n>i&&l==="xMidYMid slice"||n<i&&l!=="xMidYMid slice"?(o=a,s=o*i):(s=r,o=s/i),t.drawImage(this.img,(r-s)/2,(a-o)/2,s,o,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,a){this.canvasContext.fillRect(e,t,r,a)},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,a;e?(r=e,a=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=a):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,a=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=a*this.renderConfig.dpr);var n,i;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",c=l.substr(0,4),f=l.substr(4);n=r/a,i=this.transformCanvas.w/this.transformCanvas.h,i>n&&o==="meet"||i<n&&o==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=a/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=a/(this.transformCanvas.h/this.renderConfig.dpr)),c==="xMid"&&(i<n&&o==="meet"||i>n&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(a/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(i<n&&o==="meet"||i>n&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(a/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,f==="YMid"&&(i>n&&o==="meet"||i<n&&o==="slice")?this.transformCanvas.ty=(a-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:f==="YMax"&&(i>n&&o==="meet"||i<n&&o==="slice")?this.transformCanvas.ty=(a-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=a/(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,a=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=a-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=a-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,a,n=this.cTr.props;for(a=0;a<16;a+=1)n[a]=r[a];if(e){this.nativeContext.restore();var i=this.stack[this.cArrPos+1];this.appliedFillStyle=i.fillStyle,this.appliedStrokeStyle=i.strokeStyle,this.appliedLineWidth=i.lineWidth,this.appliedLineCap=i.lineCap,this.appliedLineJoin=i.lineJoin,this.appliedMiterLimit=i.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],a;for(a=0;a<16;a+=1)r.transform[a]=t[a];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,a){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,a)},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,a=e.length;for(r=0;r<a;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,a=e.transformers,n,i=r._length,s,o,l,c;if(!(i<=1)){for(n=0;n<i-1;n+=1)s=this.getTransformedPoint(a,r.v[n]),o=this.getTransformedPoint(a,r.o[n]),l=this.getTransformedPoint(a,r.i[n+1]),c=this.getTransformedPoint(a,r.v[n+1]),this.checkBounds(s,o,l,c,t);r.c&&(s=this.getTransformedPoint(a,r.v[n]),o=this.getTransformedPoint(a,r.o[n]),l=this.getTransformedPoint(a,r.i[0]),c=this.getTransformedPoint(a,r.v[0]),this.checkBounds(s,o,l,c,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,a,n){this.getBoundsOfCurve(e,t,r,a);var i=this.shapeBoundingBox;n.x=bmMin(i.left,n.x),n.xMax=bmMax(i.right,n.xMax),n.y=bmMin(i.top,n.y),n.yMax=bmMax(i.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,a){for(var n=[[e[0],a[0]],[e[1],a[1]]],i,s,o,l,c,f,g,u=0;u<2;++u)s=6*e[u]-12*t[u]+6*r[u],i=-3*e[u]+9*t[u]-9*r[u]+3*a[u],o=3*t[u]-3*e[u],s|=0,i|=0,o|=0,i===0&&s===0||(i===0?(l=-o/s,l>0&&l<1&&n[u].push(this.calculateF(l,e,t,r,a,u))):(c=s*s-4*o*i,c>=0&&(f=(-s+bmSqrt(c))/(2*i),f>0&&f<1&&n[u].push(this.calculateF(f,e,t,r,a,u)),g=(-s-bmSqrt(c))/(2*i),g>0&&g<1&&n[u].push(this.calculateF(g,e,t,r,a,u)))));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,a,n,i){return bmPow(1-e,3)*t[i]+3*bmPow(1-e,2)*e*r[i]+3*(1-e)*bmPow(e,2)*a[i]+bmPow(e,3)*n[i]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,a=e.length;for(r=0;r<a;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 a=0;a<e.keyframes.length;a+=1){var n=e.keyframes[a].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 a=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";a.transform=n,a.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 a=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{t.fontFamily=a.fFamily;var n=e.fWeight,i=e.fStyle;t.fontStyle=i,t.fontWeight=n}var s,o,l=e.l;o=l.length;var c,f,g,u=this.mHelper,p,d="",m=0;for(s=0;s<o;s+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?c=this.textPaths[m]:(c=createNS("path"),c.setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?(f=this.textSpans[m],g=f.children[0]):(f=createTag("div"),f.style.lineHeight=0,g=createNS("svg"),g.appendChild(c),styleDiv(f)))):this.isMasked?c=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(f=this.textSpans[m],c=this.textPaths[m]):(f=createTag("span"),styleDiv(f),c=createTag("span"),styleDiv(c),f.appendChild(c)),this.globalData.fontManager.chars){var E=this.globalData.fontManager.getCharData(e.finalText[s],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),y;if(E?y=E.data:y=null,u.reset(),y&&y.shapes&&y.shapes.length&&(p=y.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),d=this.createPathShape(u,p),c.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(c);else{if(this.innerElem.appendChild(f),y&&y.shapes){document.body.appendChild(g);var S=g.getBBox();g.setAttribute("width",S.width+2),g.setAttribute("height",S.height+2),g.setAttribute("viewBox",S.x-1+" "+(S.y-1)+" "+(S.width+2)+" "+(S.height+2));var b=g.style,A="translate("+(S.x-1)+"px,"+(S.y-1)+"px)";b.transform=A,b.webkitTransform=A,l[s].yOffset=S.y-1}else g.setAttribute("width",1),g.setAttribute("height",1);f.appendChild(g)}}else if(c.textContent=l[s].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else{this.innerElem.appendChild(f);var C=c.style,T="translate3d(0,"+-e.finalSize/1.2+"px,0)";C.transform=T,C.webkitTransform=T}this.isMasked?this.textSpans[m]=c:this.textSpans[m]=f,this.textSpans[m].style.display="block",this.textPaths[m]=c,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=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,a,n=0,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;a=s.length;var o,l,c;for(r=0;r<a;r+=1)s[r].n?n+=1:(l=this.textSpans[r],c=this.textPaths[r],o=i[n],n+=1,o._mdf.m&&(this.isMasked?l.setAttribute("transform",o.m):(l.style.webkitTransform=o.m,l.style.transform=o.m)),l.style.opacity=o.o,o.sw&&o._mdf.sw&&c.setAttribute("stroke-width",o.sw),o.sc&&o._mdf.sc&&c.setAttribute("stroke",o.sc),o.fc&&o._mdf.fc&&(c.setAttribute("fill",o.fc),c.style.color=o.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var f=this.innerElem.getBBox();this.currentBBox.w!==f.width&&(this.currentBBox.w=f.width,this.svgElement.setAttribute("width",f.width)),this.currentBBox.h!==f.height&&(this.currentBBox.h=f.height,this.svgElement.setAttribute("height",f.height));var g=1;if(this.currentBBox.w!==f.width+g*2||this.currentBBox.h!==f.height+g*2||this.currentBBox.x!==f.x-g||this.currentBBox.y!==f.y-g){this.currentBBox.w=f.width+g*2,this.currentBBox.h=f.height+g*2,this.currentBBox.x=f.x-g,this.currentBBox.y=f.y-g,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=u,e.webkitTransform=u}}}};function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var a=PropertyFactory.getProp;if(this.pe=a(this,e.pe,0,0,this),e.ks.p.s?(this.px=a(this,e.ks.p.x,1,0,this),this.py=a(this,e.ks.p.y,1,0,this),this.pz=a(this,e.ks.p.z,1,0,this)):this.p=a(this,e.ks.p,1,0,this),e.ks.a&&(this.a=a(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var n,i=e.ks.or.k.length;for(n=0;n<i;n+=1)e.ks.or.k[n].to=null,e.ks.or.k[n].ti=null}this.or=a(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=a(this,e.ks.rx,0,degToRads,this),this.ry=a(this,e.ks.ry,0,degToRads,this),this.rz=a(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,a,n;for(e=0;e<t;e+=1)if(r=this.comp.threeDElements[e],r.type==="3d"){a=r.perspectiveElem.style,n=r.container.style;var i=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";a.perspective=i,a.webkitPerspective=i,n.transformOrigin=s,n.mozTransformOrigin=s,n.webkitTransformOrigin=s,a.transform=o,a.webkitTransform=o}},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 a=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-a.p.v[0],-a.p.v[1],a.p.v[2]),this.mat.rotateX(-a.or.v[0]).rotateY(-a.or.v[1]).rotateZ(a.or.v[2]),this.mat.rotateX(-a.rx.v).rotateY(-a.ry.v).rotateZ(a.rz.v),this.mat.scale(1/a.s.v[0],1/a.s.v[1],1/a.s.v[2]),this.mat.translate(a.a.v[0],a.a.v[1],a.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 i=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),s=[n[0]/i,n[1]/i,n[2]/i],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),c=Math.atan2(s[0],-s[2]);this.mat.rotateY(c).rotateX(-l)}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 f=!this._prevMat.equals(this.mat);if((f||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var g,u,p;for(t=0;t<r;t+=1)if(g=this.comp.threeDElements[t],g.type==="3d"){if(f){var d=this.mat.toCSS();p=g.container.style,p.transform=d,p.webkitTransform=d}this.pe._mdf&&(u=g.perspectiveElem.style,u.perspective=this.pe.v+"px",u.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 a=this.layers[t];if(!a.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var n=0,i,s,o;n<t;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement&&(s=this.elements[n],o=this.layers[n].ddd?this.getThreeDContainerByPos(n):s.getBaseElement(),i=o||i),n+=1;i?(!a.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,i):(!a.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"),a,n;styleDiv(r);var i=createTag("div");if(styleDiv(i),t==="3d"){a=r.style,a.width=this.globalData.compSize.w+"px",a.height=this.globalData.compSize.h+"px";var s="50% 50%";a.webkitTransformOrigin=s,a.mozTransformOrigin=s,a.transformOrigin=s,n=i.style;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=o,n.webkitTransform=o}r.appendChild(i);var l={container:i,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,a="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(a!=="3d"&&(a="3d",r=this.createThreeDContainer(e,"3d")),r.endPos=Math.max(r.endPos,e)):(a!=="2d"&&(a="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,a=this.threeDElements.length;r<a;){if(t<=this.threeDElements[r].endPos){for(var n=this.threeDElements[r].startPos,i;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(i=this.elements[n].getBaseElement()),n+=1;i?this.threeDElements[r].container.insertBefore(e,i):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,a=t.style;a.width=e.w+"px",a.height=e.h+"px",this.resizerElem=t,styleDiv(t),a.transformStyle="flat",a.mozTransformStyle="flat",a.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),a.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var i=createNS("defs");n.appendChild(i),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=i,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,a=this.globalData.compSize.w/this.globalData.compSize.h,n,i,s,o;a>r?(n=e/this.globalData.compSize.w,i=e/this.globalData.compSize.w,s=0,o=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(n=t/this.globalData.compSize.h,i=t/this.globalData.compSize.h,s=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,o=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+n+",0,0,0,0,"+i+",0,0,0,0,1,0,"+s+","+o+",0,1)",l.transform=l.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,a=this.threeDElements.length;for(r=0;r<a;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,a=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t],a,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,a;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(a=this.elements[r].getBaseElement()),r+=1;a?this.layerElement.insertBefore(e,a):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 a=0,n=e.layers.length;a<n;){if(e.layers[a].nm===r||e.layers[a].ind===r)return e.elements[a].layerInterface;a+=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,a=256,n=6,i=52,s="random",o=t.pow(a,n),l=t.pow(2,i),c=l*2,f=a-1,g;function u(b,A,C){var T=[];A=A===!0?{entropy:!0}:A||{};var F=E(m(A.entropy?[b,S(e)]:b===null?y():b,3),T),M=new p(T),D=function(){for(var j=M.g(n),B=o,_=0;j<l;)j=(j+_)*a,B*=a,_=M.g(1);for(;j>=c;)j/=2,B/=2,_>>>=1;return(j+_)/B};return D.int32=function(){return M.g(4)|0},D.quick=function(){return M.g(4)/4294967296},D.double=D,E(S(M.S),e),(A.pass||C||function(H,j,B,_){return _&&(_.S&&d(_,M),H.state=function(){return d(M,{})}),B?(t[s]=H,j):H})(D,F,"global"in A?A.global:this==t,A.state)}t["seed"+s]=u;function p(b){var A,C=b.length,T=this,F=0,M=T.i=T.j=0,D=T.S=[];for(C||(b=[C++]);F<a;)D[F]=F++;for(F=0;F<a;F++)D[F]=D[M=f&M+b[F%C]+(A=D[F])],D[M]=A;T.g=function(H){for(var j,B=0,_=T.i,$=T.j,O=T.S;H--;)j=O[_=f&_+1],B=B*a+O[f&(O[_]=O[$=f&$+j])+(O[$]=j)];return T.i=_,T.j=$,B}}function d(b,A){return A.i=b.i,A.j=b.j,A.S=b.S.slice(),A}function m(b,A){var C=[],T=_typeof$2(b),F;if(A&&T=="object")for(F in b)try{C.push(m(b[F],A-1))}catch(M){}return C.length?C:T=="string"?b:b+"\0"}function E(b,A){for(var C=b+"",T,F=0;F<C.length;)A[f&F]=f&(T^=A[f&F]*19)+C.charCodeAt(F++);return S(A)}function y(){try{var b=new Uint8Array(a);return(r.crypto||r.msCrypto).getRandomValues(b),S(b)}catch(T){var A=r.navigator,C=A&&A.plugins;return[+new Date,r,C,r.screen,S(e)]}}function S(b){return String.fromCharCode.apply(0,b)}E(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,a=e.length,n=[];for(r=0;r<a;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),a=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(a,t)||r==="string"||a==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(a,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,i=e.length,s=t.length,o=[];n<i||n<s;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?o[n]=e[n]+t[n]:o[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return o}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),a=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(a,t))return r==="string"&&(e=parseInt(e,10)),a==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(a,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,i=e.length,s=t.length,o=[];n<i||n<s;)(typeof e[n]=="number"||e[n]instanceof Number)&&(typeof t[n]=="number"||t[n]instanceof Number)?o[n]=e[n]-t[n]:o[n]=t[n]===void 0?e[n]:e[n]||t[n],n+=1;return o}return 0}function mul(e,t){var r=_typeof$1(e),a=_typeof$1(t),n;if(isNumerable(r,e)&&isNumerable(a,t))return e*t;var i,s;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(s=e.length,n=createTypedArray("float32",s),i=0;i<s;i+=1)n[i]=e[i]*t;return n}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(s=t.length,n=createTypedArray("float32",s),i=0;i<s;i+=1)n[i]=e*t[i];return n}return 0}function div(e,t){var r=_typeof$1(e),a=_typeof$1(t),n;if(isNumerable(r,e)&&isNumerable(a,t))return e/t;var i,s;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(s=e.length,n=createTypedArray("float32",s),i=0;i<s;i+=1)n[i]=e[i]/t;return n}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(s=t.length,n=createTypedArray("float32",s),i=0;i<s;i+=1)n[i]=e/t[i];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 a=r;r=t,t=a}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,a=Math.min(e.length,t.length),n=0;for(r=0;r<a;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],a=e[2],n=Math.max(t,r,a),i=Math.min(t,r,a),s,o,l=(n+i)/2;if(n===i)s=0,o=0;else{var c=n-i;switch(o=l>.5?c/(2-n-i):c/(n+i),n){case t:s=(r-a)/c+(r<a?6:0);break;case r:s=(a-t)/c+2;break;case a:s=(t-r)/c+4;break}s/=6}return[s,o,l,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],a=e[2],n,i,s;if(r===0)n=a,s=a,i=a;else{var o=a<.5?a*(1+r):a+r-a*r,l=2*a-o;n=hue2rgb(l,o,t+1/3),i=hue2rgb(l,o,t),s=hue2rgb(l,o,t-1/3)}return[n,i,s,e[3]]}function linear(e,t,r,a,n){if((a===void 0||n===void 0)&&(a=t,n=r,t=0,r=1),r<t){var i=r;r=t,t=i}if(e<=t)return a;if(e>=r)return n;var s=r===t?0:(e-t)/(r-t);if(!a.length)return a+(n-a)*s;var o,l=a.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=a[o]+(n[o]-a[o])*s;return c}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var r,a=t.length;e||(e=createTypedArray("float32",a));var n=createTypedArray("float32",a),i=BMMath.random();for(r=0;r<a;r+=1)n[r]=e[r]+i*(t[r]-e[r]);return n}e===void 0&&(e=0);var s=BMMath.random();return e+s*(t-e)}function createPath(e,t,r,a){var n,i=e.length,s=shapePool.newElement();s.setPathData(!!a,i);var o=[0,0],l,c;for(n=0;n<i;n+=1)l=t&&t[n]?t[n]:o,c=r&&r[n]?r[n]:o,s.setTripleAt(e[n][0],e[n][1],c[0]+e[n][0],c[1]+e[n][1],l[0]+e[n][0],l[1]+e[n][1],n,!0);return s}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 a,n,i=this.pv.length?this.pv.length:1,s=createTypedArray("float32",i);t=5;var o=Math.floor(time*t);for(a=0,n=0;a<o;){for(n=0;n<i;n+=1)s[n]+=-r+r*2*BMMath.random();a+=1}var l=time*t,c=l-Math.floor(l),f=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)f[n]=this.pv[n]+s[n]+(-r+r*2*BMMath.random())*c;return f}return this.pv+s[0]+(-r+r*2*BMMath.random())*c}).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]],a=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,a,0]}function easeOut(e,t,r,a,n){return applyEase(easeOutBez,e,t,r,a,n)}function easeIn(e,t,r,a,n){return applyEase(easeInBez,e,t,r,a,n)}function ease(e,t,r,a,n){return applyEase(easeInOutBez,e,t,r,a,n)}function applyEase(e,t,r,a,n,i){n===void 0?(n=r,i=a):t=(t-r)/(a-r),t>1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(n)){var o,l=n.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=(i[o]-n[o])*s+n[o];return c}return(i-n)*s+n}function nearestKey(e){var t,r=data.k.length,a,n;if(!data.k.length||typeof data.k[0]=="number")a=0,n=0;else if(a=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)a=1,n=data.k[0].t;else{for(t=0;t<r-1;t+=1)if(e===data.k[t].t){a=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?(a=t+2,n=data.k[t+1].t):(a=t+1,n=data.k[t].t);break}a===-1&&(a=t+1,n=data.k[t].t)}var i={};return i.index=a,i.time=n/elem.comp.globalData.frameRate,i}function key(e){var t,r,a;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(a=n.length,r=0;r<a;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 a=0,n=[];function i(){a+=1}function s(){a-=1,a===0&&l()}function o(c){n.indexOf(c)===-1&&n.push(c)}function l(){var c,f=n.length;for(c=0;c<f;c+=1)n[c].release();n.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=i,r.renderer.globalData.popExpression=s,r.renderer.globalData.registerExpressionProperty=o}return e}(),MaskManagerInterface=function(){function e(r,a){this._mask=r,this._data=a}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(a){var n=createSizedArray(a.viewData.length),i,s=a.viewData.length;for(i=0;i<s;i+=1)n[i]=new e(a.viewData[i],a.masksProperties[i]);var o=function(c){for(i=0;i<s;){if(a.masksProperties[i].nm===c)return n[i];i+=1}return null};return o};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(s,o,l){Object.defineProperty(s,"velocity",{get:function(){return o.getVelocityAtTime(o.comp.currentFrame)}}),s.numKeys=o.keyframes?o.keyframes.length:0,s.key=function(c){if(!s.numKeys)return 0;var f="";"s"in o.keyframes[c-1]?f=o.keyframes[c-1].s:"e"in o.keyframes[c-2]?f=o.keyframes[c-2].e:f=o.keyframes[c-2].s;var g=l==="unidimensional"?new Number(f):Object.assign({},f);return g.time=o.keyframes[c-1].t/o.elem.comp.globalData.frameRate,g.value=l==="unidimensional"?f[0]:f,g},s.valueAtTime=o.getValueAtTime,s.speedAtTime=o.getSpeedAtTime,s.velocityAtTime=o.getVelocityAtTime,s.propertyGroup=o.propertyGroup}function a(s){(!s||!("pv"in s))&&(s=e);var o=1/s.mult,l=s.pv*o,c=new Number(l);return c.value=l,r(c,s,"unidimensional"),function(){return s.k&&s.getValue(),l=s.v*o,c.value!==l&&(c=new Number(l),c.value=l,r(c,s,"unidimensional")),c}}function n(s){(!s||!("pv"in s))&&(s=t);var o=1/s.mult,l=s.data&&s.data.l||s.pv.length,c=createTypedArray("float32",l),f=createTypedArray("float32",l);return c.value=f,r(c,s,"multidimensional"),function(){s.k&&s.getValue();for(var g=0;g<l;g+=1)f[g]=s.v[g]*o,c[g]=f[g];return c}}function i(){return e}return function(s){return s?s.propType==="unidimensional"?a(s):n(s):i}}(),TransformExpressionInterface=function(){return function(e){function t(s){switch(s){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,a,n,i;return e.p?i=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),a=ExpressionPropertyInterface(e.py),e.pz&&(n=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?i():[r(),a(),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(c){var f=new Matrix;if(c!==void 0){var g=this._elem.finalTransform.mProp.getValueAtTime(c);g.clone(f)}else{var u=this._elem.finalTransform.mProp;u.applyToMatrix(f)}return f}function t(c,f){var g=this.getMatrix(f);return g.props[12]=0,g.props[13]=0,g.props[14]=0,this.applyPoint(g,c)}function r(c,f){var g=this.getMatrix(f);return this.applyPoint(g,c)}function a(c,f){var g=this.getMatrix(f);return g.props[12]=0,g.props[13]=0,g.props[14]=0,this.invertPoint(g,c)}function n(c,f){var g=this.getMatrix(f);return this.invertPoint(g,c)}function i(c,f){if(this._elem.hierarchy&&this._elem.hierarchy.length){var g,u=this._elem.hierarchy.length;for(g=0;g<u;g+=1)this._elem.hierarchy[g].finalTransform.mProp.applyToMatrix(c)}return c.applyToPointArray(f[0],f[1],f[2]||0)}function s(c,f){if(this._elem.hierarchy&&this._elem.hierarchy.length){var g,u=this._elem.hierarchy.length;for(g=0;g<u;g+=1)this._elem.hierarchy[g].finalTransform.mProp.applyToMatrix(c)}return c.inversePoint(f)}function o(c){var f=new Matrix;if(f.reset(),this._elem.finalTransform.mProp.applyToMatrix(f),this._elem.hierarchy&&this._elem.hierarchy.length){var g,u=this._elem.hierarchy.length;for(g=0;g<u;g+=1)this._elem.hierarchy[g].finalTransform.mProp.applyToMatrix(f);return f.inversePoint(c)}return f.inversePoint(c)}function l(){return[1,1,1,1]}return function(c){var f;function g(m){p.mask=new MaskManagerInterface(m,c)}function u(m){p.effect=m}function p(m){switch(m){case"ADBE Root Vectors Group":case"Contents":case 2:return p.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return f;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return p.effect;case"ADBE Text Properties":return p.textInterface;default:return null}}p.getMatrix=e,p.invertPoint=s,p.applyPoint=i,p.toWorld=r,p.toWorldVec=t,p.fromWorld=n,p.fromWorldVec=a,p.toComp=r,p.fromComp=o,p.sampleImage=l,p.sourceRectAtTime=c.sourceRectAtTime.bind(c),p._elem=c,f=TransformExpressionInterface(c.finalTransform.mProp);var d=getDescriptor(f,"anchorPoint");return Object.defineProperties(p,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(f,"rotation"),scale:getDescriptor(f,"scale"),position:getDescriptor(f,"position"),opacity:getDescriptor(f,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return f}},active:{get:function(){return c.isInRange}}}),p.startTime=c.data.st,p.index=c.data.ind,p.source=c.data.refId,p.height=c.data.ty===0?c.data.h:100,p.width=c.data.ty===0?c.data.w:100,p.inPoint=c.data.ip/c.comp.globalData.frameRate,p.outPoint=c.data.op/c.comp.globalData.frameRate,p._name=c.data.nm,p.registerMaskInterface=g,p.registerEffectsInterface=u,p}}(),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 a(n){return n=n===void 0?1:n,n<=0?r:t(n-1)}return a}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(n,i){if(n.effectsManager){var s=[],o=n.data.ef,l,c=n.effectsManager.effectElements.length;for(l=0;l<c;l+=1)s.push(r(o[l],n.effectsManager.effectElements[l],i,n));var f=n.data.ef||[],g=function(p){for(l=0,c=f.length;l<c;){if(p===f[l].nm||p===f[l].mn||p===f[l].ix)return s[l];l+=1}return null};return Object.defineProperty(g,"numProperties",{get:function(){return f.length}}),g}return null}function r(n,i,s,o){function l(p){for(var d=n.ef,m=0,E=d.length;m<E;){if(p===d[m].nm||p===d[m].mn||p===d[m].ix)return d[m].ty===5?f[m]:f[m]();m+=1}throw new Error}var c=propertyGroupFactory(l,s),f=[],g,u=n.ef.length;for(g=0;g<u;g+=1)n.ef[g].ty===5?f.push(r(n.ef[g],i.effectElements[g],i.effectElements[g].propertyGroup,o)):f.push(a(i.effectElements[g],n.ef[g].ty,o,c));return n.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return f[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:c}}),l.enabled=n.en!==0,l.active=l.enabled,l}function a(n,i,s,o){var l=ExpressionPropertyInterface(n.p);function c(){return i===10?s.comp.compInterface(n.p.v):l()}return n.p.setGroupProperty&&n.p.setGroupProperty(PropertyInterface("",o)),c}return e}(),ShapePathInterface=function(){return function(t,r,a){var n=r.sh;function i(o){return o==="Shape"||o==="shape"||o==="Path"||o==="path"||o==="ADBE Vector Shape"||o===2?i.path:null}var s=propertyGroupFactory(i,a);return n.setGroupProperty(PropertyInterface("Path",s)),Object.defineProperties(i,{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:a}}),i}}(),ShapeExpressionInterface=function(){function e(d,m,E){var y=[],S,b=d?d.length:0;for(S=0;S<b;S+=1)d[S].ty==="gr"?y.push(r(d[S],m[S],E)):d[S].ty==="fl"?y.push(a(d[S],m[S],E)):d[S].ty==="st"?y.push(s(d[S],m[S],E)):d[S].ty==="tm"?y.push(o(d[S],m[S],E)):d[S].ty==="tr"||(d[S].ty==="el"?y.push(c(d[S],m[S],E)):d[S].ty==="sr"?y.push(f(d[S],m[S],E)):d[S].ty==="sh"?y.push(ShapePathInterface(d[S],m[S],E)):d[S].ty==="rc"?y.push(g(d[S],m[S],E)):d[S].ty==="rd"?y.push(u(d[S],m[S],E)):d[S].ty==="rp"?y.push(p(d[S],m[S],E)):d[S].ty==="gf"?y.push(n(d[S],m[S],E)):y.push(i(d[S],m[S])));return y}function t(d,m,E){var y,S=function(C){for(var T=0,F=y.length;T<F;){if(y[T]._name===C||y[T].mn===C||y[T].propertyIndex===C||y[T].ix===C||y[T].ind===C)return y[T];T+=1}return typeof C=="number"?y[C-1]:null};S.propertyGroup=propertyGroupFactory(S,E),y=e(d.it,m.it,S.propertyGroup),S.numProperties=y.length;var b=l(d.it[d.it.length-1],m.it[m.it.length-1],S.propertyGroup);return S.transform=b,S.propertyIndex=d.cix,S._name=d.nm,S}function r(d,m,E){var y=function(C){switch(C){case"ADBE Vectors Group":case"Contents":case 2:return y.content;default:return y.transform}};y.propertyGroup=propertyGroupFactory(y,E);var S=t(d,m,y.propertyGroup),b=l(d.it[d.it.length-1],m.it[m.it.length-1],y.propertyGroup);return y.content=S,y.transform=b,Object.defineProperty(y,"_name",{get:function(){return d.nm}}),y.numProperties=d.np,y.propertyIndex=d.ix,y.nm=d.nm,y.mn=d.mn,y}function a(d,m,E){function y(S){return S==="Color"||S==="color"?y.color:S==="Opacity"||S==="opacity"?y.opacity:null}return Object.defineProperties(y,{color:{get:ExpressionPropertyInterface(m.c)},opacity:{get:ExpressionPropertyInterface(m.o)},_name:{value:d.nm},mn:{value:d.mn}}),m.c.setGroupProperty(PropertyInterface("Color",E)),m.o.setGroupProperty(PropertyInterface("Opacity",E)),y}function n(d,m,E){function y(S){return S==="Start Point"||S==="start point"?y.startPoint:S==="End Point"||S==="end point"?y.endPoint:S==="Opacity"||S==="opacity"?y.opacity:null}return Object.defineProperties(y,{startPoint:{get:ExpressionPropertyInterface(m.s)},endPoint:{get:ExpressionPropertyInterface(m.e)},opacity:{get:ExpressionPropertyInterface(m.o)},type:{get:function(){return"a"}},_name:{value:d.nm},mn:{value:d.mn}}),m.s.setGroupProperty(PropertyInterface("Start Point",E)),m.e.setGroupProperty(PropertyInterface("End Point",E)),m.o.setGroupProperty(PropertyInterface("Opacity",E)),y}function i(){function d(){return null}return d}function s(d,m,E){var y=propertyGroupFactory(F,E),S=propertyGroupFactory(T,y);function b(M){Object.defineProperty(T,d.d[M].nm,{get:ExpressionPropertyInterface(m.d.dataProps[M].p)})}var A,C=d.d?d.d.length:0,T={};for(A=0;A<C;A+=1)b(A),m.d.dataProps[A].p.setGroupProperty(S);function F(M){return M==="Color"||M==="color"?F.color:M==="Opacity"||M==="opacity"?F.opacity:M==="Stroke Width"||M==="stroke width"?F.strokeWidth:null}return Object.defineProperties(F,{color:{get:ExpressionPropertyInterface(m.c)},opacity:{get:ExpressionPropertyInterface(m.o)},strokeWidth:{get:ExpressionPropertyInterface(m.w)},dash:{get:function(){return T}},_name:{value:d.nm},mn:{value:d.mn}}),m.c.setGroupProperty(PropertyInterface("Color",y)),m.o.setGroupProperty(PropertyInterface("Opacity",y)),m.w.setGroupProperty(PropertyInterface("Stroke Width",y)),F}function o(d,m,E){function y(b){return b===d.e.ix||b==="End"||b==="end"?y.end:b===d.s.ix?y.start:b===d.o.ix?y.offset:null}var S=propertyGroupFactory(y,E);return y.propertyIndex=d.ix,m.s.setGroupProperty(PropertyInterface("Start",S)),m.e.setGroupProperty(PropertyInterface("End",S)),m.o.setGroupProperty(PropertyInterface("Offset",S)),y.propertyIndex=d.ix,y.propertyGroup=E,Object.defineProperties(y,{start:{get:ExpressionPropertyInterface(m.s)},end:{get:ExpressionPropertyInterface(m.e)},offset:{get:ExpressionPropertyInterface(m.o)},_name:{value:d.nm}}),y.mn=d.mn,y}function l(d,m,E){function y(b){return d.a.ix===b||b==="Anchor Point"?y.anchorPoint:d.o.ix===b||b==="Opacity"?y.opacity:d.p.ix===b||b==="Position"?y.position:d.r.ix===b||b==="Rotation"||b==="ADBE Vector Rotation"?y.rotation:d.s.ix===b||b==="Scale"?y.scale:d.sk&&d.sk.ix===b||b==="Skew"?y.skew:d.sa&&d.sa.ix===b||b==="Skew Axis"?y.skewAxis:null}var S=propertyGroupFactory(y,E);return m.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",S)),m.transform.mProps.p.setGroupProperty(PropertyInterface("Position",S)),m.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",S)),m.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",S)),m.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",S)),m.transform.mProps.sk&&(m.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",S)),m.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",S))),m.transform.op.setGroupProperty(PropertyInterface("Opacity",S)),Object.defineProperties(y,{opacity:{get:ExpressionPropertyInterface(m.transform.mProps.o)},position:{get:ExpressionPropertyInterface(m.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(m.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(m.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(m.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(m.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(m.transform.mProps.sa)},_name:{value:d.nm}}),y.ty="tr",y.mn=d.mn,y.propertyGroup=E,y}function c(d,m,E){function y(A){return d.p.ix===A?y.position:d.s.ix===A?y.size:null}var S=propertyGroupFactory(y,E);y.propertyIndex=d.ix;var b=m.sh.ty==="tm"?m.sh.prop:m.sh;return b.s.setGroupProperty(PropertyInterface("Size",S)),b.p.setGroupProperty(PropertyInterface("Position",S)),Object.defineProperties(y,{size:{get:ExpressionPropertyInterface(b.s)},position:{get:ExpressionPropertyInterface(b.p)},_name:{value:d.nm}}),y.mn=d.mn,y}function f(d,m,E){function y(A){return d.p.ix===A?y.position:d.r.ix===A?y.rotation:d.pt.ix===A?y.points:d.or.ix===A||A==="ADBE Vector Star Outer Radius"?y.outerRadius:d.os.ix===A?y.outerRoundness:d.ir&&(d.ir.ix===A||A==="ADBE Vector Star Inner Radius")?y.innerRadius:d.is&&d.is.ix===A?y.innerRoundness:null}var S=propertyGroupFactory(y,E),b=m.sh.ty==="tm"?m.sh.prop:m.sh;return y.propertyIndex=d.ix,b.or.setGroupProperty(PropertyInterface("Outer Radius",S)),b.os.setGroupProperty(PropertyInterface("Outer Roundness",S)),b.pt.setGroupProperty(PropertyInterface("Points",S)),b.p.setGroupProperty(PropertyInterface("Position",S)),b.r.setGroupProperty(PropertyInterface("Rotation",S)),d.ir&&(b.ir.setGroupProperty(PropertyInterface("Inner Radius",S)),b.is.setGroupProperty(PropertyInterface("Inner Roundness",S))),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(b.p)},rotation:{get:ExpressionPropertyInterface(b.r)},points:{get:ExpressionPropertyInterface(b.pt)},outerRadius:{get:ExpressionPropertyInterface(b.or)},outerRoundness:{get:ExpressionPropertyInterface(b.os)},innerRadius:{get:ExpressionPropertyInterface(b.ir)},innerRoundness:{get:ExpressionPropertyInterface(b.is)},_name:{value:d.nm}}),y.mn=d.mn,y}function g(d,m,E){function y(A){return d.p.ix===A?y.position:d.r.ix===A?y.roundness:d.s.ix===A||A==="Size"||A==="ADBE Vector Rect Size"?y.size:null}var S=propertyGroupFactory(y,E),b=m.sh.ty==="tm"?m.sh.prop:m.sh;return y.propertyIndex=d.ix,b.p.setGroupProperty(PropertyInterface("Position",S)),b.s.setGroupProperty(PropertyInterface("Size",S)),b.r.setGroupProperty(PropertyInterface("Rotation",S)),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(b.p)},roundness:{get:ExpressionPropertyInterface(b.r)},size:{get:ExpressionPropertyInterface(b.s)},_name:{value:d.nm}}),y.mn=d.mn,y}function u(d,m,E){function y(A){return d.r.ix===A||A==="Round Corners 1"?y.radius:null}var S=propertyGroupFactory(y,E),b=m;return y.propertyIndex=d.ix,b.rd.setGroupProperty(PropertyInterface("Radius",S)),Object.defineProperties(y,{radius:{get:ExpressionPropertyInterface(b.rd)},_name:{value:d.nm}}),y.mn=d.mn,y}function p(d,m,E){function y(A){return d.c.ix===A||A==="Copies"?y.copies:d.o.ix===A||A==="Offset"?y.offset:null}var S=propertyGroupFactory(y,E),b=m;return y.propertyIndex=d.ix,b.c.setGroupProperty(PropertyInterface("Copies",S)),b.o.setGroupProperty(PropertyInterface("Offset",S)),Object.defineProperties(y,{copies:{get:ExpressionPropertyInterface(b.c)},offset:{get:ExpressionPropertyInterface(b.o)},_name:{value:d.nm}}),y.mn=d.mn,y}return function(d,m,E){var y;function S(A){if(typeof A=="number")return A=A===void 0?1:A,A===0?E:y[A-1];for(var C=0,T=y.length;C<T;){if(y[C]._name===A)return y[C];C+=1}return null}function b(){return E}return S.propertyGroup=propertyGroupFactory(S,b),y=e(d,m,S.propertyGroup),S.numProperties=y.length,S._name="Contents",S}}(),TextExpressionInterface=function(){return function(e){var t;function r(a){switch(a){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(a){var n="",i=a.getFootageData();function s(){return n="",i=a.getFootageData(),o}function o(l){if(i[l])return n=l,i=i[l],_typeof(i)==="object"?o:i;var c=l.indexOf(n);if(c!==-1){var f=parseInt(l.substr(c+n.length),10);return i=i[f],_typeof(i)==="object"?o:i}return""}return s},t=function(a){function n(i){return i==="Outline"?n.outlineInterface():null}return n._name="Outline",n.outlineInterface=e(a),n};return function(r){function a(n){return n==="Data"?a.dataInterface:null}return a._name="Data",a.dataInterface=t(r),a}}(),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(s,o,l){o.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(s,o,l).bind(l)))}function t(s){return s*=this.elem.globalData.frameRate,s-=this.offsetTime,s!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<s?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(s,this._cachingAtTime),this._cachingAtTime.lastFrame=s),this._cachingAtTime.value}function r(s){var o=-.01,l=this.getValueAtTime(s),c=this.getValueAtTime(s+o),f=0;if(l.length){var g;for(g=0;g<l.length;g+=1)f+=Math.pow(c[g]-l[g],2);f=Math.sqrt(f)*100}else f=0;return f}function a(s){if(this.vel!==void 0)return this.vel;var o=-.001,l=this.getValueAtTime(s),c=this.getValueAtTime(s+o),f;if(l.length){f=createTypedArray("float32",l.length);var g;for(g=0;g<l.length;g+=1)f[g]=(c[g]-l[g])/o}else f=(c-l)/o;return f}function n(){return this.pv}function i(s){this.propertyGroup=s}return{searchExpressions:e,getSpeedAtTime:r,getVelocityAtTime:a,getValueAtTime:t,getStaticValueAtTime:n,setGroupProperty:i}}();function addPropertyDecorator(){function e(u,p,d){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var m=this.comp.renderedFrame,E=this.keyframes,y=E[E.length-1].t;if(m<=y)return this.pv;var S,b;d?(p?S=Math.abs(y-this.elem.comp.globalData.frameRate*p):S=Math.max(0,y-this.elem.data.ip),b=y-S):((!p||p>E.length-1)&&(p=E.length-1),b=E[E.length-1-p].t,S=y-b);var A,C,T;if(u==="pingpong"){var F=Math.floor((m-b)/S);if(F%2!==0)return this.getValueAtTime((S-(m-b)%S+b)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var M=this.getValueAtTime(b/this.comp.globalData.frameRate,0),D=this.getValueAtTime(y/this.comp.globalData.frameRate,0),H=this.getValueAtTime(((m-b)%S+b)/this.comp.globalData.frameRate,0),j=Math.floor((m-b)/S);if(this.pv.length){for(T=new Array(M.length),C=T.length,A=0;A<C;A+=1)T[A]=(D[A]-M[A])*j+H[A];return T}return(D-M)*j+H}else if(u==="continue"){var B=this.getValueAtTime(y/this.comp.globalData.frameRate,0),_=this.getValueAtTime((y-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(T=new Array(B.length),C=T.length,A=0;A<C;A+=1)T[A]=B[A]+(B[A]-_[A])*((m-y)/this.comp.globalData.frameRate)/5e-4;return T}return B+(B-_)*((m-y)/.001)}return this.getValueAtTime(((m-b)%S+b)/this.comp.globalData.frameRate,0)}function t(u,p,d){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var m=this.comp.renderedFrame,E=this.keyframes,y=E[0].t;if(m>=y)return this.pv;var S,b;d?(p?S=Math.abs(this.elem.comp.globalData.frameRate*p):S=Math.max(0,this.elem.data.op-y),b=y+S):((!p||p>E.length-1)&&(p=E.length-1),b=E[p].t,S=b-y);var A,C,T;if(u==="pingpong"){var F=Math.floor((y-m)/S);if(F%2===0)return this.getValueAtTime(((y-m)%S+y)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var M=this.getValueAtTime(y/this.comp.globalData.frameRate,0),D=this.getValueAtTime(b/this.comp.globalData.frameRate,0),H=this.getValueAtTime((S-(y-m)%S+y)/this.comp.globalData.frameRate,0),j=Math.floor((y-m)/S)+1;if(this.pv.length){for(T=new Array(M.length),C=T.length,A=0;A<C;A+=1)T[A]=H[A]-(D[A]-M[A])*j;return T}return H-(D-M)*j}else if(u==="continue"){var B=this.getValueAtTime(y/this.comp.globalData.frameRate,0),_=this.getValueAtTime((y+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(T=new Array(B.length),C=T.length,A=0;A<C;A+=1)T[A]=B[A]+(B[A]-_[A])*(y-m)/.001;return T}return B+(B-_)*(y-m)/.001}return this.getValueAtTime((S-((y-m)%S+y))/this.comp.globalData.frameRate,0)}function r(u,p){if(!this.k)return this.pv;if(u=(u||.4)*.5,p=Math.floor(p||5),p<=1)return this.pv;var d=this.comp.renderedFrame/this.comp.globalData.frameRate,m=d-u,E=d+u,y=p>1?(E-m)/(p-1):1,S=0,b=0,A;this.pv.length?A=createTypedArray("float32",this.pv.length):A=0;for(var C;S<p;){if(C=this.getValueAtTime(m+S*y),this.pv.length)for(b=0;b<this.pv.length;b+=1)A[b]+=C[b];else A+=C;S+=1}if(this.pv.length)for(b=0;b<this.pv.length;b+=1)A[b]/=p;else A/=p;return A}function a(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var p=this._transformCachingAtTime.v;if(p.cloneFromProps(this.pre.props),this.appliedTransformations<1){var d=this.a.getValueAtTime(u);p.translate(-d[0]*this.a.mult,-d[1]*this.a.mult,d[2]*this.a.mult)}if(this.appliedTransformations<2){var m=this.s.getValueAtTime(u);p.scale(m[0]*this.s.mult,m[1]*this.s.mult,m[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var E=this.sk.getValueAtTime(u),y=this.sa.getValueAtTime(u);p.skewFromAxis(-E*this.sk.mult,y*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var S=this.r.getValueAtTime(u);p.rotate(-S*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var b=this.rz.getValueAtTime(u),A=this.ry.getValueAtTime(u),C=this.rx.getValueAtTime(u),T=this.or.getValueAtTime(u);p.rotateZ(-b*this.rz.mult).rotateY(A*this.ry.mult).rotateX(C*this.rx.mult).rotateZ(-T[2]*this.or.mult).rotateY(T[1]*this.or.mult).rotateX(T[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var F=this.px.getValueAtTime(u),M=this.py.getValueAtTime(u);if(this.data.p.z){var D=this.pz.getValueAtTime(u);p.translate(F*this.px.mult,M*this.py.mult,-D*this.pz.mult)}else p.translate(F*this.px.mult,M*this.py.mult,0)}else{var H=this.p.getValueAtTime(u);p.translate(H[0]*this.p.mult,H[1]*this.p.mult,-H[2]*this.p.mult)}return p}function n(){return this.v.clone(new Matrix)}var i=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,p,d){var m=i(u,p,d);return m.dynamicProperties.length?m.getValueAtTime=a.bind(m):m.getValueAtTime=n.bind(m),m.setGroupProperty=expressionHelpers.setGroupProperty,m};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(u,p,d,m,E){var y=s(u,p,d,m,E);y.kf?y.getValueAtTime=expressionHelpers.getValueAtTime.bind(y):y.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y.loopOut=e,y.loopIn=t,y.smooth=r,y.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(y),y.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(y),y.numKeys=p.a===1?p.k.length:0,y.propertyIndex=p.ix;var S=0;return d!==0&&(S=createTypedArray("float32",p.a===1?p.k[0].s.length:p.k.length)),y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:S},expressionHelpers.searchExpressions(u,p,y),y.k&&E.addDynamicProperty(y),y};function o(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function f(){}f.prototype={vertices:function(p,d){this.k&&this.getValue();var m=this.v;d!==void 0&&(m=this.getValueAtTime(d,0));var E,y=m._length,S=m[p],b=m.v,A=createSizedArray(y);for(E=0;E<y;E+=1)p==="i"||p==="o"?A[E]=[S[E][0]-b[E][0],S[E][1]-b[E][1]]:A[E]=[S[E][0],S[E][1]];return A},points:function(p){return this.vertices("v",p)},inTangents:function(p){return this.vertices("i",p)},outTangents:function(p){return this.vertices("o",p)},isClosed:function(){return this.v.c},pointOnPath:function(p,d){var m=this.v;d!==void 0&&(m=this.getValueAtTime(d,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(m));for(var E=this._segmentsLength,y=E.lengths,S=E.totalLength*p,b=0,A=y.length,C=0,T;b<A;){if(C+y[b].addedLength>S){var F=b,M=m.c&&b===A-1?0:b+1,D=(S-C)/y[b].addedLength;T=bez.getPointInSegment(m.v[F],m.v[M],m.o[F],m.i[M],D,y[b]);break}else C+=y[b].addedLength;b+=1}return T||(T=m.c?[m.v[0][0],m.v[0][1]]:[m.v[m._length-1][0],m.v[m._length-1][1]]),T},vectorOnPath:function(p,d,m){p==1?p=this.v.c:p==0&&(p=.999);var E=this.pointOnPath(p,d),y=this.pointOnPath(p+.001,d),S=y[0]-E[0],b=y[1]-E[1],A=Math.sqrt(Math.pow(S,2)+Math.pow(b,2));if(A===0)return[0,0];var C=m==="tangent"?[S/A,b/A]:[-b/A,S/A];return C},tangentOnPath:function(p,d){return this.vectorOnPath(p,d,"tangent")},normalOnPath:function(p,d){return this.vectorOnPath(p,d,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([f],l),extendPrototype([f],c),c.prototype.getValueAtTime=o,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var g=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,p,d,m,E){var y=g(u,p,d,m,E);return y.propertyIndex=p.ix,y.lock=!1,d===3?expressionHelpers.searchExpressions(u,p.pt,y):d===4&&expressionHelpers.searchExpressions(u,p.ks,y),y.k&&u.addDynamicProperty(y),y}}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 a=this.calculateExpression(r);if(t.t!==a){var n={};return this.copyData(n,t),n.t=a.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 a=createNS("feMerge");a.setAttribute("result",t);var n,i;for(i=0;i<r.length;i+=1)n=createNS("feMergeNode"),n.setAttribute("in",r[i]),a.appendChild(n),a.appendChild(n);return a}};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,a,n){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=i,i.setAttribute("result",a+"_tint_1"),e.appendChild(i),i=createNS("feColorMatrix"),i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",a+"_tint_2"),e.appendChild(i),this.matrixFilter=i;var s=this.createMergeNode(a,[n,a+"_tint_1",a+"_tint_2"]);e.appendChild(s)}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,a=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+a+" 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,a){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",a),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,a,n;for(this.filterManager.effectElements[1].p.v===1?(n=this.elem.maskManager.masksProperties.length,a=0):(a=this.filterManager.effectElements[0].p.v-1,n=a+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),a;a<n;a+=1)t=createNS("path"),r.appendChild(t),this.paths.push({p:t,m:a});if(this.filterManager.effectElements[10].p.v===3){var i=createNS("mask"),s=createElementID();i.setAttribute("id",s),i.setAttribute("mask-type","alpha"),i.appendChild(r),this.elem.globalData.defs.appendChild(i);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");e[0];)o.appendChild(e[0]);this.elem.layerElement.appendChild(o),this.masker=i,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,a,n;for(t=0;t<r;t+=1)if(this.paths[t].m!==-1&&(a=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||a.prop._mdf)&&n.setAttribute("d",a.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||a.prop._mdf)){var i;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var s=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=n.getTotalLength();i="0 0 0 "+l*s+" ";var c=l*(o-s),f=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,g=Math.floor(c/f),u;for(u=0;u<g;u+=1)i+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";i+="0 "+l*10+" 0 0"}else i="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",i)}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 p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(p[0]*255)+","+bmFloor(p[1]*255)+","+bmFloor(p[2]*255)+")")}};function SVGTritoneFilter(e,t,r,a){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 i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("result",a),this.matrixFilter=i;var s=createNS("feFuncR");s.setAttribute("type","table"),i.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),i.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),i.appendChild(l),this.feFuncB=l,e.appendChild(i)}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,a=this.filterManager.effectElements[2].p.v,n=a[0]+" "+r[0]+" "+t[0],i=a[1]+" "+r[1]+" "+t[1],s=a[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",i),this.feFuncB.setAttribute("tableValues",s)}};function SVGProLevelsFilter(e,t,r,a){this.filterManager=t;var n=this.filterManager.effectElements,i=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",i)),(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",i)),(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",i)),(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",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(i)),(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)&&(i=createNS("feComponentTransfer"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("result",a),e.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}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,a,n){for(var i=0,s=256,o,l=Math.min(e,t),c=Math.max(e,t),f=Array.call(null,{length:s}),g,u=0,p=n-a,d=t-e;i<=256;)o=i/256,o<=l?g=d<0?n:a:o>=c?g=d<0?a:n:g=a+p*Math.pow((o-e)/d,1/r),f[u]=g,u+=1,i+=256/(s-1);return f.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,a,n){var i=t.container.globalData.renderConfig.filterSize,s=t.data.fs||i;e.setAttribute("x",s.x||i.x),e.setAttribute("y",s.y||i.y),e.setAttribute("width",s.width||i.width),e.setAttribute("height",s.height||i.height),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",a+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,e.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",a+"_drop_shadow_1"),l.setAttribute("result",a+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",a+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var f=createNS("feComposite");f.setAttribute("in",a+"_drop_shadow_3"),f.setAttribute("in2",a+"_drop_shadow_2"),f.setAttribute("operator","in"),f.setAttribute("result",a+"_drop_shadow_4"),e.appendChild(f);var g=this.createMergeNode(a,[a+"_drop_shadow_4",n]);e.appendChild(g)}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,a=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(a),i=r*Math.sin(a);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",i)}}};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 a=r.children,n=0,i=a.length;n<i&&a[n]!==e.layerElement;)n+=1;var s;n<=i-2&&(s=a[n+1]);var o=createNS("use");o.setAttribute("href","#"+t),s?r.insertBefore(o,s):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),a=createNS("mask");a.setAttribute("id",t.layerId),a.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var n=e.globalData.defs;n.appendChild(a);var i=createNS("symbol");i.setAttribute("id",r),this.replaceInParent(t,r),i.appendChild(t.layerElement),n.appendChild(i);var s=createNS("use");s.setAttribute("href","#"+r),a.appendChild(s),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,a=t.length;r<a;)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,a){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",a),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,a=this.filterManager.effectElements[1].p.v,n=a==3?0:r,i=a==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+i);var s=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",s)}};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,a=t[1].p.v,n=t[2].p.v===1,i=t[3].p.v,s=n?i:t[4].p.v,o=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(s*.01,i*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+90)*degToRads),this.matrix.translate(a[0],a[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);var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$e=Object.prototype,hasOwnProperty$b=objectProto$e.hasOwnProperty,nativeObjectToString$1=objectProto$e.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty$b.call(e,symToStringTag$1),r=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var a=!0}catch(i){}var n=nativeObjectToString$1.call(e);return a&&(t?e[symToStringTag$1]=r:delete e[symToStringTag$1]),n}var objectProto$d=Object.prototype,nativeObjectToString=objectProto$d.toString;function objectToString(e){return nativeObjectToString.call(e)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?getRawTag(e):objectToString(e)}function isObjectLike(e){return e!=null&&typeof e=="object"}var isArray=Array.isArray,isArray$1=isArray;function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject(e))return!1;var t=baseGetTag(e);return t==funcTag$2||t==genTag$1||t==asyncTag||t==proxyTag}var coreJsData=root$1["__core-js_shared__"],coreJsData$1=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(e){if(e!=null){try{return funcToString$1.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$c=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$a=objectProto$c.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject(e)||isMasked(e))return!1;var t=isFunction(e)?reIsNative:reIsHostCtor;return t.test(toSource(e))}function getValue(e,t){return e==null?void 0:e[t]}function getNative(e,t){var r=getValue(e,t);return baseIsNative(r)?r:void 0}var WeakMap=getNative(root$1,"WeakMap"),WeakMap$1=WeakMap,objectCreate=Object.create,baseCreate=function(){function e(){}return function(t){if(!isObject(t))return{};if(objectCreate)return objectCreate(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),baseCreate$1=baseCreate;function copyArray(e,t){var r=-1,a=e.length;for(t||(t=Array(a));++r<a;)t[r]=e[r];return t}var defineProperty=function(){try{var e=getNative(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),defineProperty$1=defineProperty;function arrayEach(e,t){for(var r=-1,a=e==null?0:e.length;++r<a&&t(e[r],r,e)!==!1;);return e}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var r=typeof e;return t=t==null?MAX_SAFE_INTEGER$1:t,!!t&&(r=="number"||r!="symbol"&&reIsUint.test(e))&&e>-1&&e%1==0&&e<t}function baseAssignValue(e,t,r){t=="__proto__"&&defineProperty$1?defineProperty$1(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function eq(e,t){return e===t||e!==e&&t!==t}var objectProto$b=Object.prototype,hasOwnProperty$9=objectProto$b.hasOwnProperty;function assignValue(e,t,r){var a=e[t];(!(hasOwnProperty$9.call(e,t)&&eq(a,r))||r===void 0&&!(t in e))&&baseAssignValue(e,t,r)}function copyObject(e,t,r,a){var n=!r;r||(r={});for(var i=-1,s=t.length;++i<s;){var o=t[i],l=a?a(r[o],e[o],o,r,e):void 0;l===void 0&&(l=e[o]),n?baseAssignValue(r,o,l):assignValue(r,o,l)}return r}var MAX_SAFE_INTEGER=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var objectProto$a=Object.prototype;function isPrototype(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||objectProto$a;return e===r}function baseTimes(e,t){for(var r=-1,a=Array(e);++r<e;)a[r]=t(r);return a}var argsTag$3="[object Arguments]";function baseIsArguments(e){return isObjectLike(e)&&baseGetTag(e)==argsTag$3}var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty,propertyIsEnumerable$1=objectProto$9.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(e){return isObjectLike(e)&&hasOwnProperty$8.call(e,"callee")&&!propertyIsEnumerable$1.call(e,"callee")},isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$1=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$1?Buffer$1.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,isBuffer$1=isBuffer,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(e){return isObjectLike(e)&&isLength(e.length)&&!!typedArrayTags[baseGetTag(e)]}function baseUnary(e){return function(t){return e(t)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var e=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return e||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(t){}}(),nodeUtil$1=nodeUtil,nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray$1=isTypedArray,objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function arrayLikeKeys(e,t){var r=isArray$1(e),a=!r&&isArguments$1(e),n=!r&&!a&&isBuffer$1(e),i=!r&&!a&&!n&&isTypedArray$1(e),s=r||a||n||i,o=s?baseTimes(e.length,String):[],l=o.length;for(var c in e)(t||hasOwnProperty$7.call(e,c))&&!(s&&(c=="length"||n&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||isIndex(c,l)))&&o.push(c);return o}function overArg(e,t){return function(r){return e(t(r))}}var nativeKeys=overArg(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys$1(e);var t=[];for(var r in Object(e))hasOwnProperty$6.call(e,r)&&r!="constructor"&&t.push(r);return t}function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}function nativeKeysIn(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function baseKeysIn(e){if(!isObject(e))return nativeKeysIn(e);var t=isPrototype(e),r=[];for(var a in e)a=="constructor"&&(t||!hasOwnProperty$5.call(e,a))||r.push(a);return r}function keysIn(e){return isArrayLike(e)?arrayLikeKeys(e,!0):baseKeysIn(e)}var nativeCreate=getNative(Object,"create"),nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate$1){var r=t[e];return r===HASH_UNDEFINED$2?void 0:r}return hasOwnProperty$4.call(t,e)?t[e]:void 0}var objectProto$4=Object.prototype,hasOwnProperty$3=objectProto$4.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate$1?t[e]!==void 0:hasOwnProperty$3.call(t,e)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate$1&&t===void 0?HASH_UNDEFINED$1:t,this}function Hash(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq(e[r][0],t))return r;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);if(r<0)return!1;var a=t.length-1;return r==a?t.pop():splice.call(t,r,1),--this.size,!0}function listCacheGet(e){var t=this.__data__,r=assocIndexOf(t,e);return r<0?void 0:t[r][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var r=this.__data__,a=assocIndexOf(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this}function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map=getNative(root$1,"Map"),Map$1=Map;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function getMapData(e,t){var r=e.__data__;return isKeyable(t)?r[typeof t=="string"?"string":"hash"]:r.map}function mapCacheDelete(e){var t=getMapData(this,e).delete(e);return this.size-=t?1:0,t}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){var r=getMapData(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this}function MapCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function arrayPush(e,t){for(var r=-1,a=t.length,n=e.length;++r<a;)e[n+r]=t[r];return e}var getPrototype=overArg(Object.getPrototypeOf,Object),getPrototype$1=getPrototype;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function stackGet(e){return this.__data__.get(e)}function stackHas(e){return this.__data__.has(e)}var LARGE_ARRAY_SIZE=200;function stackSet(e,t){var r=this.__data__;if(r instanceof ListCache){var a=r.__data__;if(!Map$1||a.length<LARGE_ARRAY_SIZE-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new MapCache(a)}return r.set(e,t),this.size=r.size,this}function Stack(e){var t=this.__data__=new ListCache(e);this.size=t.size}Stack.prototype.clear=stackClear;Stack.prototype.delete=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function baseAssign(e,t){return e&©Object(t,keys(t),e)}function baseAssignIn(e,t){return e&©Object(t,keysIn(t),e)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer(e,t){if(t)return e.slice();var r=e.length,a=allocUnsafe?allocUnsafe(r):new e.constructor(r);return e.copy(a),a}function arrayFilter(e,t){for(var r=-1,a=e==null?0:e.length,n=0,i=[];++r<a;){var s=e[r];t(s,r,e)&&(i[n++]=s)}return i}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(e){return e==null?[]:(e=Object(e),arrayFilter(nativeGetSymbols$1(e),function(t){return propertyIsEnumerable.call(e,t)}))}:stubArray,getSymbols$1=getSymbols;function copySymbols(e,t){return copyObject(e,getSymbols$1(e),t)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(e){for(var t=[];e;)arrayPush(t,getSymbols$1(e)),e=getPrototype$1(e);return t}:stubArray,getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(e,t){return copyObject(e,getSymbolsIn$1(e),t)}function baseGetAllKeys(e,t,r){var a=t(e);return isArray$1(e)?a:arrayPush(a,r(e))}function getAllKeys(e){return baseGetAllKeys(e,keys,getSymbols$1)}function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,getSymbolsIn$1)}var DataView=getNative(root$1,"DataView"),DataView$1=DataView,Promise$1=getNative(root$1,"Promise"),Promise$2=Promise$1,Set$1=getNative(root$1,"Set"),Set$1$1=Set$1,mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$1),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$1$1),weakMapCtorString=toSource(WeakMap$1),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$1&&getTag(new Map$1)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$1$1&&getTag(new Set$1$1)!=setTag$4||WeakMap$1&&getTag(new WeakMap$1)!=weakMapTag$1)&&(getTag=function(e){var t=baseGetTag(e),r=t==objectTag$2?e.constructor:void 0,a=r?toSource(r):"";if(a)switch(a){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return t});var getTag$1=getTag,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function initCloneArray(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&hasOwnProperty$2.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Uint8Array$1=root$1.Uint8Array,Uint8Array$1$1=Uint8Array$1;function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);return new Uint8Array$1$1(t).set(new Uint8Array$1$1(e)),t}function cloneDataView(e,t){var r=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var reFlags=/\w*$/;function cloneRegExp(e){var t=new e.constructor(e.source,reFlags.exec(e));return t.lastIndex=e.lastIndex,t}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(e){return symbolValueOf$1?Object(symbolValueOf$1.call(e)):{}}function cloneTypedArray(e,t){var r=t?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(e,t,r){var a=e.constructor;switch(t){case arrayBufferTag$2:return cloneArrayBuffer(e);case boolTag$2:case dateTag$2:return new a(+e);case dataViewTag$2:return cloneDataView(e,r);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(e,r);case mapTag$3:return new a;case numberTag$2:case stringTag$2:return new a(e);case regexpTag$2:return cloneRegExp(e);case setTag$3:return new a;case symbolTag$2:return cloneSymbol(e)}}function initCloneObject(e){return typeof e.constructor=="function"&&!isPrototype(e)?baseCreate$1(getPrototype$1(e)):{}}var mapTag$2="[object Map]";function baseIsMap(e){return isObjectLike(e)&&getTag$1(e)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,isMap$1=isMap,setTag$2="[object Set]";function baseIsSet(e){return isObjectLike(e)&&getTag$1(e)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,isSet$1=isSet,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(e,t,r,a,n,i){var s,o=t&CLONE_DEEP_FLAG$1,l=t&CLONE_FLAT_FLAG,c=t&CLONE_SYMBOLS_FLAG$1;if(r&&(s=n?r(e,a,n,i):r(e)),s!==void 0)return s;if(!isObject(e))return e;var f=isArray$1(e);if(f){if(s=initCloneArray(e),!o)return copyArray(e,s)}else{var g=getTag$1(e),u=g==funcTag||g==genTag;if(isBuffer$1(e))return cloneBuffer(e,o);if(g==objectTag$1||g==argsTag$1||u&&!n){if(s=l||u?{}:initCloneObject(e),!o)return l?copySymbolsIn(e,baseAssignIn(s,e)):copySymbols(e,baseAssign(s,e))}else{if(!cloneableTags[g])return n?e:{};s=initCloneByTag(e,g,o)}}i||(i=new Stack);var p=i.get(e);if(p)return p;i.set(e,s),isSet$1(e)?e.forEach(function(E){s.add(baseClone(E,t,r,E,e,i))}):isMap$1(e)&&e.forEach(function(E,y){s.set(y,baseClone(E,t,r,y,e,i))});var d=c?l?getAllKeysIn:getAllKeys:l?keysIn:keys,m=f?void 0:d(e);return arrayEach(m||e,function(E,y){m&&(y=E,E=e[y]),assignValue(s,y,baseClone(E,t,r,y,e,i))}),s}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(e){return baseClone(e,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(e){return this.__data__.set(e,HASH_UNDEFINED),this}function setCacheHas(e){return this.__data__.has(e)}function SetCache(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new MapCache;++t<r;)this.add(e[t])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(e,t){for(var r=-1,a=e==null?0:e.length;++r<a;)if(t(e[r],r,e))return!0;return!1}function cacheHas(e,t){return e.has(t)}var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(e,t,r,a,n,i){var s=r&COMPARE_PARTIAL_FLAG$3,o=e.length,l=t.length;if(o!=l&&!(s&&l>o))return!1;var c=i.get(e),f=i.get(t);if(c&&f)return c==t&&f==e;var g=-1,u=!0,p=r&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(i.set(e,t),i.set(t,e);++g<o;){var d=e[g],m=t[g];if(a)var E=s?a(m,d,g,t,e,i):a(d,m,g,e,t,i);if(E!==void 0){if(E)continue;u=!1;break}if(p){if(!arraySome(t,function(y,S){if(!cacheHas(p,S)&&(d===y||n(d,y,r,a,i)))return p.push(S)})){u=!1;break}}else if(!(d===m||n(d,m,r,a,i))){u=!1;break}}return i.delete(e),i.delete(t),u}function mapToArray(e){var t=-1,r=Array(e.size);return e.forEach(function(a,n){r[++t]=[n,a]}),r}function setToArray(e){var t=-1,r=Array(e.size);return e.forEach(function(a){r[++t]=a}),r}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(e,t,r,a,n,i,s){switch(r){case dataViewTag:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case arrayBufferTag:return!(e.byteLength!=t.byteLength||!i(new Uint8Array$1$1(e),new Uint8Array$1$1(t)));case boolTag:case dateTag:case numberTag:return eq(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var o=mapToArray;case setTag:var l=a&COMPARE_PARTIAL_FLAG$2;if(o||(o=setToArray),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;a|=COMPARE_UNORDERED_FLAG,s.set(e,t);var f=equalArrays(o(e),o(t),a,n,i,s);return s.delete(e),f;case symbolTag:if(symbolValueOf)return symbolValueOf.call(e)==symbolValueOf.call(t)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(e,t,r,a,n,i){var s=r&COMPARE_PARTIAL_FLAG$1,o=getAllKeys(e),l=o.length,c=getAllKeys(t),f=c.length;if(l!=f&&!s)return!1;for(var g=l;g--;){var u=o[g];if(!(s?u in t:hasOwnProperty$1.call(t,u)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var m=!0;i.set(e,t),i.set(t,e);for(var E=s;++g<l;){u=o[g];var y=e[u],S=t[u];if(a)var b=s?a(S,y,u,t,e,i):a(y,S,u,e,t,i);if(!(b===void 0?y===S||n(y,S,r,a,i):b)){m=!1;break}E||(E=u=="constructor")}if(m&&!E){var A=e.constructor,C=t.constructor;A!=C&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof C=="function"&&C instanceof C)&&(m=!1)}return i.delete(e),i.delete(t),m}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(e,t,r,a,n,i){var s=isArray$1(e),o=isArray$1(t),l=s?arrayTag:getTag$1(e),c=o?arrayTag:getTag$1(t);l=l==argsTag?objectTag:l,c=c==argsTag?objectTag:c;var f=l==objectTag,g=c==objectTag,u=l==c;if(u&&isBuffer$1(e)){if(!isBuffer$1(t))return!1;s=!0,f=!1}if(u&&!f)return i||(i=new Stack),s||isTypedArray$1(e)?equalArrays(e,t,r,a,n,i):equalByTag(e,t,l,r,a,n,i);if(!(r&COMPARE_PARTIAL_FLAG)){var p=f&&hasOwnProperty.call(e,"__wrapped__"),d=g&&hasOwnProperty.call(t,"__wrapped__");if(p||d){var m=p?e.value():e,E=d?t.value():t;return i||(i=new Stack),n(m,E,r,a,i)}}return u?(i||(i=new Stack),equalObjects(e,t,r,a,n,i)):!1}function baseIsEqual(e,t,r,a,n){return e===t?!0:e==null||t==null||!isObjectLike(e)&&!isObjectLike(t)?e!==e&&t!==t:baseIsEqualDeep(e,t,r,a,baseIsEqual,n)}function isEqual(e,t){return baseIsEqual(e,t)}var _export_sfc=(e,t)=>{const r=e.__vccOpts||e;for(const[a,n]of t)r[a]=n;return r};const _sfc_main=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},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}){let r=ref(null);const a=ref("");let n=1;const i=M=>document.querySelector('[data-id="'.concat(M,'"]'))!==null,s=async M=>{let D=e.autoPlay;e.playOnHover&&(D=!1);let H={};if(isEqual(e.animationData,{})===!1&&(H=cloneDeep(e.animationData)),e.animationLink!="")try{H=await(await fetch(e.animationLink)).json()}catch(_){console.error(_);return}let j=e.loop;typeof j=="number"&&j>0&&(j=j-1),e.delay>0&&(D=!1);const B={container:M,renderer:e.renderer,loop:j,autoplay:D,animationData:H,assetsPath:e.assetsPath};isEqual(e.rendererSettings,{})===!1&&(B.rendererSettings=e.rendererSettings),r=Lottie.loadAnimation(B),setTimeout(()=>{D=e.autoPlay,e.playOnHover?r.pause():D?r.play():r.pause(),t("onAnimationLoaded")},e.delay),r.setSpeed(e.speed),e.direction==="reverse"&&r.setDirection(-1),e.direction==="normal"&&r.setDirection(1),(e.pauseAnimation||e.playOnHover)&&r.pause(),r.addEventListener("loopComplete",()=>{e.direction==="alternate"&&(r.stop(),n=n*-1,r.setDirection(n),r.play()),t("onLoopComplete")}),r.addEventListener("complete",()=>{t("onComplete")}),r.addEventListener("enterFrame",()=>{t("onEnterFrame")}),r.addEventListener("segmentStart",()=>{t("onSegmentStart")})},o=computed(()=>{let M=e.width,D=e.height;return typeof e.width=="number"&&(M="".concat(e.width,"px")),typeof e.height=="number"&&(D="".concat(e.height,"px")),{"--lottie-animation-container-width":M,"--lottie-animation-container-height":D,"--lottie-animation-container-background-color":e.backgroundColor}}),l=()=>{r&&e.pauseOnHover&&r.pause(),r&&e.playOnHover&&r.play()},c=()=>{r&&e.pauseOnHover&&r.play(),r&&e.playOnHover&&r.pause()};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}r&&(e.pauseAnimation?r.pause():r.play())});const f=()=>{r&&r.play()},g=()=>{r&&r.pause()},u=()=>{r&&r.stop()},p=()=>{r&&r.destroy()},d=(M=1)=>{if(M<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(M)},m=M=>{r&&(M==="forward"?r.setDirection(1):M==="reverse"&&r.setDirection(-1))},E=(M,D=!0)=>{r&&r.goToAndStop(M,D)},y=(M,D=!0)=>{r&&r.goToAndPlay(M,D)},S=(M,D=!1)=>{r&&r.playSegments(M,D)},b=(M=!0)=>{r&&r.setSubframe(M)},A=(M=!0)=>{if(r)return r.getDuration(M)},C=(M,D=0)=>{r&&r.renderer.elements[D].updateDocumentData(M)},T=M=>{for(var D="",H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",j=H.length,B=0;B<M;B++)D+=H.charAt(Math.floor(Math.random()*j));return D},F=M=>{if(e.pauseOnHover&&e.playOnHover)throw new Error("You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.");if(e.animationLink===""&&isEqual(e.animationData,{}))throw new Error("You must provide either animationLink or animationData");const D=setInterval(()=>{if(i(M)){clearInterval(D);const H=document.querySelector('[data-id="'.concat(M,'" ]'));H&&s(H)}},0)};return onMounted(async()=>{a.value=T(20),F(a.value)}),{elementid:a,hoverEnded:c,hoverStarted:l,getCurrentStyle:o,play:f,pause:g,stop:u,destroy:p,setSpeed:d,setDirection:m,goToAndStop:E,goToAndPlay:y,playSegments:S,setSubFrame:b,getDuration:A,updateDocumentData:C}}}),_hoisted_1=["data-id"];function _sfc_render(e,t,r,a,n,i){return openBlock(),createElementBlock("div",{"data-id":e.elementid,class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...s)=>e.hoverStarted&&e.hoverStarted(...s)),onMouseleave:t[1]||(t[1]=(...s)=>e.hoverEnded&&e.hoverEnded(...s))},null,44,_hoisted_1)}var Vue3Lottie=_export_sfc(_sfc_main,[["render",_sfc_render]]);const v="5.7.1",fr=60,ip=0,op=120,w=2436,h=1125,nm="合成 1",ddd=0,assets=[{id:"image_0",w:195,h:264,u:"",p:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAAEICAYAAADiJ0BpAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAgAElEQVR4nO19ebxlRXXut85tGhBoZGjAhEkRISjJQ5QYYwjghBFiVMQ5xhiHRJOoz0jEiahIElEjUcOLmJ8xosGg4hRFoy2IedHggMg8NUQF6WZqmga6++4vf1StqlW19xnu1Hc3d31w+5yzd1WtqtprrqpzBFsh7r9p1aOmNzdHgTyK4AFosFKEKwksBxj+JwEBQMZa8TV+ZvwcitC0Hu+T4R6YmpFUj6bdXDYWCKVqurlwqgMBpCiby5CESEm37Kul30Ay8dwJ4C6Qt1HkFwJ+F4PBBZze8Vu7PubEu0bP8NKELHYHJgV5zbb3rb7p+U3D14H8VeWUNpMAaDE6K2Yu7xkilQABqJlV38dylmlrgUvXbT9HCeEQASI5om/luFQZJBqxXSPU9wrwiW22HZyx06/90U/qeV7K2CqE4d4bv/lETvOjIPcLPGe0YnzIlmktoymzgsgMXDGk3lbhyEyE+FlKZq6tQmwg1RcphbBi4lxO6Yf22/03n5H72U2/qq8W0sxPukNCRAjyzF1WLDtJDn7Z3TN+KA9A9FoYSA7uvXHV36Hha0jGZ0qjlZEYCqg1JFQtF0xh3Z7KrTB1Ev18v9DMlqnQwcTI9WKbNPdzHRbFIFkA2/S72syC1KZPU6+ir1cIyEBukin+7i6PftUlrQewxNBbYSA5dd/qVR9vmuYFACptnUppWWA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xvfZ3mdZxBkEhOWPeof0VIldsZLieY7v5f+Z6kSiZRGbarsiXMDeJ8aU2TqYMneZt+kjV2d7a08aWfANQSXWnpJSoZM5Pa86alKYrhN0Pj7PB2lfvVlX59J7hkRdTFLljtUKvYnjakrlBsLbZ/qPNJZX6Se/lOFy2OocUix2CBpczskB0zthsQ0DWkNsEnv2KSoDO9AsrzNhGv09jQq/55xs5XNQ0rOxET5Ul745RG223vl1VNVSl4L/GKqSktVWnw5VSXt7JDXNJVmo3nGy4rT0lRKCgn0NJWZ+r1x8gwsU5RxsZS7B8xzE6vSCjPNkKlpKiVFpcEtlPSiZZrM8v9MVZnnloFS6oZUFTjZntY0lXkyS0lTubPNPBmHD7bhgKn1wGFuNw9mw4mTZx8BjuWWABH2MYxr+olnw225PdDSVKLcGOAGbo4Fzi43AUqayg320VcPcrlNAGzSVGqKymtnf8CHXExR4SGuOC1NxbEYHuO8+H1SVIDLaSpAS1X55m+wfPLaT3jCy5cvefLpH0r7n1+ZF9s0la/4is9+/q/LNxDuuX3wa5rKv6/8EycY65bo+YM2AAAAAElFTkSuQmCC",e:1}],layers=[{ddd:0,ind:1,ty:2,nm:"加载视频@3x.png",cl:"png",refId:"image_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[1218,562,0],ix:2},a:{a:0,k:[97.5,132,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:300,st:0,bm:0},{ddd:0,ind:2,ty:2,nm:"进度条@3x.png",cl:"png",refId:"image_1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:60,s:[100],e:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:61,s:[0],e:[0]},{t:120}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[678,587.5,0],ix:2},a:{a:0,k:[0,1.5,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[0,100,100],e:[100,100,100]},{t:60}],ix:6}},ao:0,ip:0,op:300,st:0,bm:0},{ddd:0,ind:3,ty:2,nm:"进度条@3x.png",cl:"png",refId:"image_1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0],e:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:60,s:[0],e:[100]},{t:61}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[1758,589,0],ix:2},a:{a:0,k:[1080,3,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:60,s:[100,100,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:61,s:[100,100,100],e:[0,100,100]},{t:120}],ix:6}},ao:0,ip:0,op:300,st:0,bm:0}],markers=[],playLoadData={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},videoWrap="_videoWrap_170f4_1",videoPop="_videoPop_170f4_6",sectionAnimate$1="_sectionAnimate_170f4_14",controls$1="_controls_170f4_20",time$1="_time_170f4_34",line$1="_line_170f4_46",actions$1="_actions_170f4_53",actionWrap$1="_actionWrap_170f4_61",actionBtn$1="_actionBtn_170f4_65",actionBtnSpeed="_actionBtnSpeed_170f4_77",iconReplay$1="_iconReplay_170f4_88",slider$1="_slider_170f4_99",sliderPopup="_sliderPopup_170f4_107",iconAdd$1="_iconAdd_170f4_121",iconCut="_iconCut_170f4_122",disabled$1="_disabled_170f4_131",sliderPoint="_sliderPoint_170f4_139",styles$j={videoWrap,videoPop,sectionAnimate:sectionAnimate$1,controls:controls$1,time:time$1,line:line$1,actions:actions$1,actionWrap:actionWrap$1,actionBtn:actionBtn$1,actionBtnSpeed,iconReplay:iconReplay$1,slider:slider$1,sliderPopup,iconAdd:iconAdd$1,iconCut,disabled:disabled$1,sliderPoint},iconLoop=""+new URL("icon-loop-6bac787f.svg",import.meta.url).href,VideoPlay=defineComponent({name:"video-play",props:{item:{type:Object,default:()=>({})},showModel:{type:Boolean,default:!1},isEmtry:{type:Boolean,default:!1}},emits:["canplay","pause","togglePlay","ended","reset","error","close","loadedmetadata"],setup(e,{emit:t,expose:r}){const{item:a,isEmtry:n}=toRefs(e),i=reactive({paused:!0,currentTimeNum:0,currentTime:"00:00",durationNum:0,duration:"00:00",showBar:!0,showAction:!0,loop:!1,speedControl:!1,speedStyle:{left:"1px"},defaultSpeed:1}),s=ref(),o=ref(),l=ref("video"+Date.now()+Math.floor(Math.random()*100)),c="speed"+Date.now()+Math.floor(Math.random()*100),f=C=>{if(C>0){const T=Math.floor(C/60),F=C%60;return(T<10?"0"+T:T)+":"+(F<10?"0"+F:F)}else return"00:00"},g=()=>{o.value&&(o.value.src(a.value.content),t("reset"))},u=C=>{i.showBar=C,i.speedControl=!1},p=()=>{i.speedControl=!1,o.value&&o.value.currentTime(0)},d=C=>{C==null||C.stopPropagation(),i.paused?(o.value.play(),i.paused=!1):(o.value.pause(),i.paused=!0),t("togglePlay",i.paused)},m=null;let E=0;const y=()=>{E>5||(clearTimeout(m),nextTick(()=>{var C;(C=o.value)==null||C.play().catch(T=>{})}),E++)},S=()=>{o.value&&(o.value.poster(e.item.coverImg),o.value.src(a.value.content),o.value.playbackRate(i.defaultSpeed),o.value.one("loadedmetadata",()=>{o.value.playbackRate(i.defaultSpeed),i.duration=f(Math.round(o.value.duration())),i.durationNum=o.value.duration(),t("canplay"),t("loadedmetadata",o.value),a.value.autoPlay&&o.value&&nextTick(()=>{E=0,o.value.currentTime(0),nextTick(y)})}),o.value.on("play",()=>{t("close"),t("canplay")}),o.value.on("timeupdate",()=>{var C;i.currentTime=f(Math.round(((C=o.value)==null?void 0:C.currentTime())||0)),i.currentTimeNum=o.value.currentTime()}),o.value.on("ended",()=>{i.paused=!0,t("ended")}),o.value.on("pause",()=>{i.paused=!0,t("pause")}),o.value.on("playing",()=>{i.paused=!1}),o.value.on("canplay",C=>{i.duration=f(Math.round(o.value.duration())),i.durationNum=o.value.duration(),t("canplay")}),o.value.on("error",C=>{t("error"),console.log(C,"error")}))};onMounted(()=>{var C;o.value=TCPlayer(l.value,{appID:"",controls:!1}),S(),(C=document.getElementById(c))==null||C.addEventListener("click",T=>{T.stopPropagation(),i.speedControl=!i.speedControl})});const b=()=>{o.value.currentTime(0),o.value.pause()},A=()=>{o.value.pause()};return onUnmounted(()=>{o.value&&(o.value.pause(),o.value.src(""),o.value.dispose())}),watch(()=>e.item,()=>{var C;o.value.pause(),o.value.currentTime(0),(C=a.value)!=null&&C.id&&(S(),i.paused=!0)}),watch(()=>e.showModel,()=>{i.showAction=e.showModel,i.speedControl=!1}),r({onPlay:g,stop:b,pause:A,toggleHideControl:u}),()=>createVNode("div",{class:styles$j.videoWrap},[createVNode("video",{style:{width:"100%",height:"100%"},ref:s,id:l.value,preload:"auto",playsinline:!0,"webkit-playsinline":!0,"x5-video-player-type":"h5"},null),createVNode("div",{class:styles$j.videoPop},null),createVNode("div",{class:[styles$j.controls,i.showAction?"":styles$j.sectionAnimate],onClick:C=>{C.stopPropagation(),!o.value.paused()&&(t("close"),t("reset"))}},[createVNode("div",{class:styles$j.actions},[createVNode("div",{class:styles$j.actionWrap},[createVNode("div",{class:styles$j.actionBtn,onClick:()=>{i.speedControl=!1,d()}},[i.paused?createVNode("img",{class:styles$j.playIcon,src:iconplay},null):createVNode("img",{class:styles$j.playIcon,src:iconpause},null)]),createVNode("button",{class:styles$j.iconReplay,onClick:p},[createVNode("img",{src:iconLoop},null)]),createVNode("div",{class:styles$j.actionBtnSpeed,id:c},[createVNode("img",{src:iconSpeed},null),createVNode("div",{style:{display:i.speedControl?"block":"none"}},[createVNode("div",{class:styles$j.sliderPopup,onClick:C=>{C.stopPropagation()}},[createVNode("i",{class:styles$j.iconAdd,onClick:()=>{i.defaultSpeed>=1.5||o.value&&(i.defaultSpeed=(i.defaultSpeed*10+1)/10,o.value.playbackRate(i.defaultSpeed))}},null),createVNode(NSlider,{value:i.defaultSpeed,step:.1,max:1.5,min:.5,vertical:!0,tooltip:!1,"onUpdate:value":C=>{i.defaultSpeed=C,o.value&&o.value.playbackRate(i.defaultSpeed)}},{thumb:()=>createVNode("div",{class:styles$j.sliderPoint},[i.defaultSpeed,createVNode("span",null,[createTextVNode("x")])])}),createVNode("i",{class:[styles$j.iconCut],onClick:()=>{i.defaultSpeed<=.5||o.value&&(i.defaultSpeed=(i.defaultSpeed*10-1)/10,o.value.playbackRate(i.defaultSpeed))}},null)])])])])]),createVNode("div",{class:styles$j.slider},[createVNode(NSlider,{value:i.currentTimeNum,step:.01,max:i.durationNum,tooltip:!1,"onUpdate:value":C=>{i.speedControl=!1,o.value.currentTime(C),i.currentTimeNum=C,i.currentTime=f(Math.round(C||0))}},null)]),createVNode("div",{class:styles$j.actions},[createVNode("div",{class:styles$j.actionWrap},[createVNode("div",{class:styles$j.time},[createVNode("div",{class:"plyr__time plyr__time--current","aria-label":"Current time"},[i.currentTime]),createVNode("span",{class:styles$j.line},[createTextVNode("/")]),createVNode("div",{class:"plyr__time plyr__time--duration","aria-label":"Duration"},[i.duration])])])])])])}}),pen="_pen_apyjn_1",open="_open_apyjn_9",whiteboard="_whiteboard_apyjn_12",hide$1="_hide_apyjn_15",iframe="_iframe_apyjn_18",dely="_dely_apyjn_24",rightItem="_rightItem_apyjn_27",img="_img_apyjn_42",removeVisiable$1="_removeVisiable_apyjn_50",studentRemove$2="_studentRemove_apyjn_56",btnGroupModal$2="_btnGroupModal_apyjn_68",styles$i={pen,open,whiteboard,hide:hide$1,iframe,dely,rightItem,img,removeVisiable:removeVisiable$1,studentRemove:studentRemove$2,btnGroupModal:btnGroupModal$2},Pen=defineComponent({name:"pen-page",props:{show:{type:Boolean,default:!1},type:{type:String,default:"pen"},close:{type:Function,default:()=>({})},callStudents:{type:Array,default:()=>[]}},setup(e){const{show:t,type:r}=toRefs(e),a="penIframeRef".concat(+new Date),n=reactive({status:!1,title:r.value==="pen"?"退出批注":"退出白板",content:r.value==="pen"?"确认是否退出批注?":"确认是否退出白板?"}),i=ref(!0),s=/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn/":location.origin;let o="".concat(s,"/classroom-whiteboard?t=").concat(+new Date);return e.type==="call"&&(o="".concat(s,"/roll-call/index.html?t=").concat(+new Date)),()=>createVNode("div",{class:[styles$i.pen,r.value==="whiteboard"?styles$i.whiteboard:"",i.value?styles$i.dely:"",t.value?styles$i.open:styles$i.hide]},[createVNode("iframe",{class:styles$i.iframe,id:a,frameborder:"0",width:"100vw",height:"100vh",src:o,onLoad:l=>{if(i.value=!1,e.type==="call"){const c=document.getElementById(a);c&&c.contentWindow.renderData&&c.contentWindow.renderData(e.callStudents)}iframeDislableKeyboard(l.target)}},null),e.type!=="call"&&createVNode("div",{class:styles$i.rightItem,onClick:()=>n.status=!0},[createVNode("svg",{width:"28px",height:"28px",viewBox:"0 0 34 34",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[createVNode("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[createVNode("g",{transform:"translate(-1842.000000, -1016.000000)",stroke:"#FFFFFF"},[createVNode("g",{transform:"translate(980.000000, 1006.000000)"},[createVNode("g",{transform:"translate(862.000000, 10.000000)"},[createVNode("g",{transform:"translate(4.000000, 5.000000)"},[createVNode("g",{transform:"translate(8.058241, 5.009812)",fill:"#FFFFFF","fill-rule":"nonzero","stroke-width":"0.3"},[createVNode("path",{d:"M11.6084252,-0.15 C11.9880433,-0.15 12.3676614,-0.00518057514 12.6573002,0.284458275 L12.6573002,0.284458275 L18.3141545,5.94131252 C18.6037933,6.23095137 18.7486128,6.61056948 18.7486128,6.99018758 C18.7486128,7.36980569 18.6037933,7.74942379 18.3141545,8.03906264 L18.3141545,8.03906264 L12.6573002,13.6959169 C12.3676614,13.9855557 11.9880433,14.1303752 11.6084252,14.1303752 C11.2288071,14.1303752 10.849189,13.9855557 10.5595501,13.6959169 C10.2699113,13.406278 10.1250918,13.0266599 10.1250918,12.6470418 C10.1250918,12.2674237 10.2699113,11.8878056 10.5595368,11.5981801 L10.5595368,11.5981801 L13.6839174,8.47301484 L1.33333333,8.47352092 C0.923722144,8.47352092 0.552888811,8.30749318 0.284458275,8.03906264 C0.0160277386,7.77063211 -0.15,7.39979877 -0.15,6.99018758 C-0.15,6.61194961 -0.00841906355,6.26678575 0.224608408,6.00476938 C0.462154637,5.73767211 0.794779811,5.55707713 1.16932931,5.51583101 L1.16932931,5.51583101 L13.6841044,5.50627626 L10.5595501,2.38220839 C10.2699113,2.09256954 10.1250918,1.71295144 10.1250918,1.33333333 C10.1250918,0.953715229 10.2699113,0.574097124 10.5595501,0.284458275 C10.849189,-0.00518057514 11.2288071,-0.15 11.6084252,-0.15 Z"},null)]),createVNode("path",{d:"M15,24 L3,24 C1.34314575,24 -1.1293615e-15,22.6568542 0,21 L0,3 C-2.02906125e-16,1.34314575 1.34314575,3.04359188e-16 3,0 L15,0 L15,0","stroke-width":"3.5","stroke-linecap":"round","stroke-linejoin":"round"},null)])])])])])])]),createVNode(NModal,{transformOrigin:"center",show:n.status,"onUpdate:show":l=>n.status=l,preset:"card",title:n.title,class:["modalTitle",styles$i.removeVisiable]},{default:()=>[createVNode("div",{class:styles$i.studentRemove},[createVNode("p",null,[n.content]),createVNode(NSpace,{class:styles$i.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{type:"default",round:!0,onClick:()=>{n.status=!1}},{default:()=>[createTextVNode("取消")]}),createVNode(NButton,{type:"primary",round:!0,onClick:()=>{n.status=!1,e.close()}},{default:()=>[createTextVNode("确认")]})]})])]})])}}),audioWrap="_audioWrap_1euma_1",audioContainer="_audioContainer_1euma_6",audio="_audio_1euma_1",tempVudio="_tempVudio_1euma_22",sectionAnimate="_sectionAnimate_1euma_34",controls="_controls_1euma_40",time="_time_1euma_53",line="_line_1euma_65",actions="_actions_1euma_72",actionWrap="_actionWrap_1euma_80",actionBtn="_actionBtn_1euma_84",iconReplay="_iconReplay_1euma_96",slider="_slider_1euma_108",styles$h={audioWrap,audioContainer,audio,tempVudio,sectionAnimate,controls,time,line,actions,actionWrap,actionBtn,iconReplay,slider},AudioPay=defineComponent({name:"audio-play",props:{item:{type:Object,default:()=>({})},activeStatus:{type:Boolean,default:!1},isEmtry:{type:Boolean,default:!1}},emits:["loadedmetadata","togglePlay","ended","reset"],setup(e,{emit:t,expose:r}){const a=reactive({paused:!0,currentTimeNum:0,currentTime:"00:00",durationNum:0,duration:"00:00",showBar:!0,afterMa3:!0,count:0}),n=ref(),i=ref();let s=null;const o=m=>{var E,y,S;m==null||m.stopPropagation(),i.value.paused?(i.value.play(),a.afterMa3=!1):(E=i.value)==null||E.pause(),a.paused=(y=i.value)==null?void 0:y.paused,(S=m==null?void 0:m.target)==null||S.focus(),t("togglePlay",a.paused)},l=(m,E)=>{s||(s=new Vudio(m,E,{effect:"waveform",accuracy:256,width:1024,height:600,waveform:{maxHeight:200,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),s.dance())},c=m=>{if(m>0){const E=Math.floor(m/60),y=m%60;return(E<10?"0"+E:E)+":"+(y<10?"0"+y:y)}else return"00:00"},f=m=>{a.showBar=m},g=()=>{i.value&&(i.value.currentTime=0)};let u=null;const p=ref(),d=ref();return nextTick(()=>{u=new Vudio(d.value,p.value,{effect:"waveform",accuracy:256,width:1024,height:600,waveform:{maxHeight:200,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),u.dance()}),watch(()=>e.activeStatus,m=>{a.count=0,m&&e.item.autoPlay?(s=null,o()):i.value.pause()}),r({toggleHideControl:f}),()=>createVNode("div",{class:styles$h.audioWrap},[createVNode("div",{class:styles$h.audioContainer},[createVNode("audio",{ref:i,crossorigin:"anonymous",src:e.item.content+"?time=1",onEnded:()=>{a.paused=!0,t("ended")},onTimeupdate:()=>{var m,E;a.currentTime=c(Math.round(((m=i.value)==null?void 0:m.currentTime)||0)),a.currentTimeNum=((E=i.value)==null?void 0:E.currentTime)||0,a.count<=1&&(a.count+=1,l(i.value,n.value))},onLoadedmetadata:()=>{var m,E;a.duration=c(Math.round((m=i.value)==null?void 0:m.duration)),a.durationNum=(E=i.value)==null?void 0:E.duration,e.item.autoPlay&&i.value&&e.activeStatus&&o(),i.value&&(i.value.stop=()=>{var y;(y=i.value)==null||y.pause(),a.paused=!0,t("togglePlay",a.paused)},i.value.onPlay=()=>{var y;(y=i.value)==null||y.play(),a.paused=!1,l(i.value,n.value),t("togglePlay",a.paused)}),t("loadedmetadata",i.value)}},null),createVNode("canvas",{ref:n},null),a.afterMa3&&createVNode("div",{class:styles$h.tempVudio},[createVNode("audio",{ref:d,src:tickMp3},null),createVNode("canvas",{ref:p},null)])]),createVNode("div",{class:[styles$h.controls,a.showBar?"":styles$h.sectionAnimate],onClick:m=>{m.stopPropagation(),t("reset")}},[createVNode("div",{class:styles$h.actions},[createVNode("div",{class:styles$h.actionWrap},[createVNode("div",{class:styles$h.actionBtn,onClick:o},[a.paused?createVNode("img",{class:styles$h.playIcon,src:iconplay},null):createVNode("img",{class:styles$h.playIcon,src:iconpause},null)]),createVNode("button",{class:styles$h.iconReplay,onClick:g},[createVNode("img",{src:iconReplay$2},null)])])]),createVNode("div",{class:styles$h.slider},[createVNode(NSlider,{value:a.currentTimeNum,step:.01,max:a.durationNum,tooltip:!1,"onUpdate:value":m=>{i.value.currentTime=m,a.currentTimeNum=m,a.currentTime=c(Math.round(m||0))}},null)]),createVNode("div",{class:styles$h.actions},[createVNode("div",{class:styles$h.time},[createVNode("div",{class:"plyr__time plyr__time--current","aria-label":"Current time"},[a.currentTime]),createVNode("span",{class:styles$h.line},[createTextVNode("/")]),createVNode("div",{class:"plyr__time plyr__time--duration","aria-label":"Duration"},[a.duration])])])])])}}),scrollBar="_scrollBar_1kpz6_1",treeParent$1="_treeParent_1kpz6_5",treeChild$1="_treeChild_1kpz6_8",treeItem$1="_treeItem_1kpz6_11",childItem$1="_childItem_1kpz6_21",title$1="_title_1kpz6_21",dir="_dir_1kpz6_34",titleSelect$1="_titleSelect_1kpz6_43",arrow$1="_arrow_1kpz6_50",arrowSelect$1="_arrowSelect_1kpz6_57",childArrow$1="_childArrow_1kpz6_61",childSelect$1="_childSelect_1kpz6_71",styles$g={scrollBar,treeParent:treeParent$1,treeChild:treeChild$1,treeItem:treeItem$1,childItem:childItem$1,title:title$1,dir,titleSelect:titleSelect$1,arrow:arrow$1,arrowSelect:arrowSelect$1,childArrow:childArrow$1,childSelect:childSelect$1},Chapter=defineComponent({name:"chapter-modal",props:{treeList:{type:Array,default:()=>[]},itemActive:{type:String,default:""}},emits:["handleSelect"],setup(e,{emit:t}){const r=useMessage(),{treeList:a,itemActive:n}=toRefs(e),i=(s,o,l=[])=>{for(const c of o){if(c.knowledgeList&&c.knowledgeList.length>0){const f=i(s,c.knowledgeList,[...l,c.id]);if(f.includes(s))return f}if(c.id===s)return[...l,s]}return l};return watch(()=>e.itemActive,()=>{const s=i(n.value,a.value);s.length>0&&a.value.forEach(o=>{o.id==s[0]?o.selected=!0:o.selected=!1})}),onMounted(()=>{const s=i(n.value,a.value);s.length>0&&a.value.forEach(o=>{o.id==s[0]&&(o.selected=!0)})}),()=>createVNode(NScrollbar,{class:styles$g.scrollBar},{default:()=>[createVNode("div",{class:[styles$g.listSection]},[a.value.map((s,o)=>createVNode("div",{class:styles$g.treeParent,key:"parent"+o},[createVNode("div",{class:[styles$g.treeItem,styles$g.parentItem],onClick:()=>{a.value.forEach(l=>{s.id!==l.id&&(l.selected=!1)}),s.selected=!s.selected}},[s.knowledgeList&&s.knowledgeList.length>0&&createVNode("span",{class:[styles$g.arrow,s.selected?styles$g.arrowSelect:""]},null),createVNode("p",{class:[styles$g.title,s.selected?styles$g.titleSelect:""]},[createVNode("span",{class:[styles$g.dir,s.selected?styles$g.dirSelect:""]},null),s.name])]),s.selected&&s.knowledgeList&&s.knowledgeList.map((l,c)=>createVNode("div",{key:"child"+c,class:[styles$g.treeItem,styles$g.childItem,styles$g.animation,n.value===l.id?styles$g.childSelect:""],onClick:()=>{if(n.value!=l.id){if(l.coursewareNum<=0){r.error("该章节暂无课件");return}t("handleSelect",{itemActive:l.id,itemName:l.name})}}},[createVNode("span",{class:styles$g.childArrow},null),createVNode("p",{class:styles$g.title},[l.name])]))]))])]})}}),iconNote="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAMAAADxPgR5AAAAwFBMVEUAAADk9P/k8//l9f/n9f/l9P/l9P/l8//l9P/l8//m8//m9P/o9v/q///k9P/k9P/l9P/k9P/m9P/l9P/l9P/l9f/n9v/o8//p+P/m9//p9P/////l8//l8//l9P/k8/8wmP9Wq/9Rqf80mv9Bof83nP/S6v94vf/d8P/X7f/F5P9yuf9mtP88nv/K5v+73v9IpP+Ixf/A4f9/wP9st/+j0/+w2f+bzv+Uy/9Zrf/O6P+OyP9fsP/h8v+13P+p1v+YamAyAAAAH3RSTlMA+cdMSs777eGYgnArDNG/uLSMi4lqVEIiHhcFxsWpm2xOQwAABJ5JREFUaN7Vm2lT6lAMhlso+yIgV3G7OdhS9lVAWcT//6/uaKNHKU2TUu7g88UZmOlrw8mb9JzUkNGwCrnKQzmbMc1MtvxQyRWshnEiSlYtZcIBzFTNKsWtVswn0kCQTuSL8andFlLAIFW4jUXuupoGJunq9dFyyQSISCSPkrsqg5jUVfSVcgGRuChGS4O6CREx6xHSxMrCEWQtodzdJRzJ5Z1E7yYBR5O4EeRCBmIgw86QPxATf3h6eYiNPEcvBzGSC9f7C7HyV3Z/p7/HPMROnr8+T79Wk3ASkoH+koGTkLkJ8E+5n3XHy8XbrAshJA77qtSv3WlTeTxuRiFOfrAegYh121bf6LtAYR2ot7L69zZUP2k9k/XRX5HrIOFJ+XkCgrqvfzGlen76VNex3+eI+qUXhQwH0+fp/Cu6L1RntdcPgoCx8nCW4DGbeB/YYwjmZ/dYliSfgxH0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19Z+u645vbW3tcJSByQCNg52dnZ3i/PwlOaD7wWr1kYSfllHlYrlc/lgqlb5pkbpBiPn5+dLAwMAI+9hwcXHxa7FYnOKAFP/izelcLy9P1j3aS7I9tiyowOCSmLaKkoRd4KZWUYHBJTFtFSUJu8BNraICg0ti2ipKEnaBm1pFBQaXxLRVlCTsAje1igoMLolpqyhJ2AVuahUVGFwS021FjWncxMJsRCsuBmpMczVj2uUZ0wDRmJaW7D41okkpA821JgqQHHYCN22fo/4erJHwI8WmChwkPiFQdpERraEZqDHNvhmsEe3b/ZzXKYUj71Ef1JgRCwzYiKEZQWW1H4MSPKO0H2wThDViVFEQWPvhU1HlVnCcGBsl5o8US9Q4sf9BGvvA8pV1NwAAAABJRU5ErkJggg==",selectMusic="_selectMusic_fj7p5_1",close="_close_fj7p5_37",listContainer$4="_listContainer_fj7p5_44",styles$f={selectMusic,close,listContainer:listContainer$4},searchGroup$4="_searchGroup_6st40_1",btnType$3="_btnType_6st40_5",inputSearch$3="_inputSearch_6st40_41",searchCatatory$1="_searchCatatory_6st40_62",addTrain$1="_addTrain_6st40_69",spaceSection$1="_spaceSection_6st40_81",collapseWrap$1="_collapseWrap_6st40_87",collaoseBtn$1="_collaoseBtn_6st40_93",isStart$1="_isStart_6st40_98",isHidden$1="_isHidden_6st40_101",hideButton$1="_hideButton_6st40_105",popSelect$1="_popSelect_6st40_110",spaceSection2$1="_spaceSection2_6st40_120",textBtn$1="_textBtn_6st40_125",iconArrow$1="_iconArrow_6st40_137",textBtnActive$1="_textBtnActive_6st40_146",styles$e={searchGroup:searchGroup$4,btnType:btnType$3,inputSearch:inputSearch$3,searchCatatory:searchCatatory$1,addTrain:addTrain$1,spaceSection:spaceSection$1,collapseWrap:collapseWrap$1,collaoseBtn:collaoseBtn$1,isStart:isStart$1,isHidden:isHidden$1,hideButton:hideButton$1,popSelect:popSelect$1,spaceSection2:spaceSection2$1,textBtn:textBtn$1,iconArrow:iconArrow$1,textBtnActive:textBtnActive$1};function _isSlot$3(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode(e)}const ResourceSearchGroup$2=defineComponent({name:"resource-search-group",props:{type:{type:String,default:"shareResources"},subjectId:{type:String,default:null}},emits:["search"],setup(e,{emit:t}){const r=toRef(e.subjectId),a=useCatchStore(),n=reactive({type:"MUSIC",name:"",subjectId:r.value,bookVersionId:null}),i=reactive({tempSubjectId:null}),s=ref([]),o=()=>{t("search",n)},l=useThrottleFn(()=>o(),500),c=ref(),f=ref([]),g=ref(0),u=ref(0),p=ref(0),d=ref(!1),m=ref(!1),E=A=>{A!=null&&A.selfElRef&&f.value.push(A.selfElRef.parentNode)},y=A=>{d.value=A,S()},S=()=>{try{f.value=[...new Set(f.value)];let A=-1;f.value.forEach((C,T)=>{T===0?(p.value=1,A=C.offsetLeft):C.offsetLeft===A&&T!=0&&p.value++,d.value?C.style.display="block":p.value>1?C.style.display="none":C.style.display="block"}),m.value=!0}catch(A){}},b=A=>{const C={};return A==null||A.forEach(T=>{T.id===n.subjectId&&(C.selected=!0,C.name=T.name)}),C};return onMounted(async()=>{var A,C;resourceTypeArray.forEach(T=>{s.value.push(T)}),await a.getMusicSheetCategory(),await a.getSubjects(),n.subjectId=null,n.type==="MUSIC"&&(g.value=(A=c.value)==null?void 0:A.offsetHeight,u.value=((C=c.value)==null?void 0:C.offsetHeight)/p.value,S())}),()=>{let A,C;return createVNode("div",{class:styles$e.searchGroup},[createVNode("div",{class:styles$e.searchCatatory},[createVNode(NSpace,{size:"small",class:styles$e.btnType},_isSlot$3(A=s.value.map(T=>createVNode(NButton,{type:n.type===T.value?"primary":"default",secondary:n.type!==T.value,round:!0,size:"small",focusable:!1,onClick:()=>{n.type=T.value,n.subjectId=null,o();try{nextTick(()=>{var F,M;n.type==="MUSIC"?(g.value=(F=c.value)==null?void 0:F.offsetHeight,u.value=((M=c.value)==null?void 0:M.offsetHeight)/p.value,S()):f.value=[]})}catch(F){}}},{default:()=>[T.label]})))?A:{default:()=>[A]}),createVNode(TheSearch,{class:styles$e.inputSearch,round:!0,onSearch:T=>{n.name=T,l()}},null)]),createVNode(NForm,{labelAlign:"left",labelPlacement:"left"},{default:()=>[n.type==="MUSIC"&&e.type==="shareResources"&&createVNode("div",{class:styles$e.collapsSection},[createVNode(NFormItem,{label:"教材:"},{default:()=>[createVNode("div",{class:[styles$e.collapseWrap,m.value?"":styles$e.hideButton,d.value?"":styles$e.isHidden],ref:c},[createVNode(NSpace,{class:[styles$e.spaceSection]},{default:()=>[a.getAllMusicCategories.map(T=>createVNode(NButton,{ref:E,secondary:n.bookVersionId===T.id,quaternary:n.bookVersionId!==T.id,strong:!0,focusable:!1,type:n.bookVersionId===T.id?"primary":"default",onClick:()=>{n.bookVersionId=T.id,o()}},{default:()=>[T.name]})),p.value>1&&createVNode("div",{style:{height:"var(--n-blank-height)",position:"absolute",display:"flex",alignItems:"center"},onClick:()=>{y(!d.value)}},[createVNode(NImage,{previewDisabled:!0,src:isCollaose,class:[styles$e.collaoseBtn,d.value?styles$e.isStart:""]},null)])]})])]})]),createVNode(NFormItem,{label:"声部:"},{default:()=>[createVNode(NSpace,{class:styles$e.spaceSection2},_isSlot$3(C=a.getSubjectInstruments.map(T=>T.instruments&&T.instruments.length>1&&n.type==="MUSIC"?createVNode(NPopselect,{options:T.instruments,trigger:"hover",value:i.tempSubjectId,"onUpdate:value":[F=>i.tempSubjectId=F,()=>{n.type==="MUSIC"&&(n.subjectId=i.tempSubjectId),o()}],key:T.value,class:[styles$e.popSelect]},{default:()=>[createVNode("span",{class:[styles$e.textBtn,b(T.instruments).selected&&styles$e.textBtnActive]},[b(T.instruments).name||T.name,createVNode("i",{class:styles$e.iconArrow},null)])]}):createVNode("span",{class:[styles$e.textBtn,(n.type==="MUSIC"?n.subjectId===T.value:n.subjectId===T.id)&&styles$e.textBtnActive],onClick:()=>{n.type==="MUSIC"?n.subjectId=T.value:n.subjectId=T.id,i.tempSubjectId=null,o()}},[T.name])))?C:{default:()=>[C]})]})]})])}}}),listContainer$3="_listContainer_ie6td_1",emptySection$3="_emptySection_ie6td_4",list$4="_list_ie6td_1",itemWrap$1="_itemWrap_ie6td_17",itemWrapBox$1="_itemWrapBox_ie6td_22",styles$d={listContainer:listContainer$3,emptySection:emptySection$3,list:list$4,itemWrap:itemWrap$1,itemWrapBox:itemWrapBox$1},searchGroup$3="_searchGroup_sj4lp_1",btnType$2="_btnType_sj4lp_5",inputSearch$2="_inputSearch_sj4lp_41",searchCatatory="_searchCatatory_sj4lp_65",addTrain="_addTrain_sj4lp_72",spaceSection="_spaceSection_sj4lp_84",collapseWrap="_collapseWrap_sj4lp_91",collaoseBtn="_collaoseBtn_sj4lp_97",isStart="_isStart_sj4lp_102",isHidden="_isHidden_sj4lp_105",hideButton="_hideButton_sj4lp_109",popSelect="_popSelect_sj4lp_114",spaceSection2="_spaceSection2_sj4lp_124",textBtn="_textBtn_sj4lp_129",iconArrow="_iconArrow_sj4lp_141",textBtnActive="_textBtnActive_sj4lp_150",styles$c={searchGroup:searchGroup$3,btnType:btnType$2,inputSearch:inputSearch$2,searchCatatory,addTrain,spaceSection,collapseWrap,collaoseBtn,isStart,isHidden,hideButton,popSelect,spaceSection2,textBtn,iconArrow,textBtnActive};function _isSlot$2(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode(e)}const ClassSearchGroup=defineComponent({name:"resource-search-group",props:{type:{type:String,default:"shareResources"},subjectId:{type:String,default:""}},emits:["search"],setup(e,{emit:t}){const r=toRef(e.subjectId),a=useCatchStore(),n=reactive({type:"MUSIC",name:"",subjectId:r.value,bookVersionId:null}),i=ref([]),s=()=>{t("search",n)},o=useThrottleFn(()=>s(),500),l=c=>{const f={};return c==null||c.forEach(g=>{g.id===n.subjectId&&(f.selected=!0,f.name=g.name)}),f};return onMounted(async()=>{resourceTypeArray.forEach(c=>{i.value.push(c)}),await a.getMusicSheetCategory(),await a.getSubjects(),a.getSubjectInstruments.forEach(c=>{c.id==e.subjectId&&(c.instruments.length>0?n.subjectId=c.instruments[0].value:n.subjectId=c.value)})}),()=>{let c;return createVNode("div",{class:styles$c.searchGroup},[createVNode(NForm,{labelAlign:"left",labelPlacement:"left"},{default:()=>[createVNode(NFormItem,{label:"声部:"},{default:()=>[createVNode(NSpace,{class:[styles$c.spaceSection,styles$c.spaceSection2]},_isSlot$2(c=a.getSubjectInstruments.map(f=>f.instruments&&f.instruments.length>1?createVNode(NPopselect,{options:f.instruments,trigger:"hover",value:n.subjectId,"onUpdate:value":[g=>n.subjectId=g,()=>{s()}],key:f.value,class:[styles$c.popSelect]},{default:()=>[createVNode("span",{class:[styles$c.textBtn,l(f.instruments).selected&&styles$c.textBtnActive]},[l(f.instruments).name||f.name,createVNode("i",{class:styles$c.iconArrow},null)])]}):createVNode("span",{class:[styles$c.textBtn,n.subjectId===f.value&&styles$c.textBtnActive],onClick:()=>{n.subjectId=f.value,s()}},[f.name])))?c:{default:()=>[c]})]}),createVNode(TheSearch,{class:styles$c.inputSearch,round:!0,onSearch:f=>{n.name=f,o()}},null)]})])}}}),formatType$2=e=>{if(e==="shareResources")return 2;if(e==="myResources")return 3;if(e==="myCollect")return 4;if(e==="relateResources")return 5},SelectItem=defineComponent({name:"share-resources",props:{type:{type:String,default:"shareResources"},from:{type:String,default:""}},setup(e){const t=usePrepareStore(),r=useCatchStore();useMessage();const{type:a}=toRefs(e),n="resourceSearchGroup"+ +new Date,i=reactive({searchHeight:"0px",loading:!1,finshed:!1,pagination:{page:1,rows:20},searchGroup:{type:"MUSIC",name:"",bookVersionId:null,subjectId:null,sourceType:formatType$2(a.value),musicalInstrumentId:null,enableFlag:!0},tableList:[],show:!1,item:{}}),s=async()=>{try{i.pagination.page===1&&(i.loading=!0);const{data:f}=await materialQueryPage({...i.searchGroup,...i.pagination,lessonCoursewareKnowledgeId:e.type==="relateResources"||e.type==="shareResources"?t.getSelectKey:null});i.loading=!1;const g=f.rows||[],u=[];g.forEach(p=>{u.push({id:p.id,coverImg:p.coverImg,type:p.type,title:p.name,isCollect:!!p.favoriteFlag,isSelected:p.sourceFrom==="PLATFORM",content:p.content})}),i.tableList.push(...u),i.finshed=f.pages<=f.current}catch(f){i.loading=!1}},o=useDebounceFn(f=>{if(i.pagination.page=1,i.tableList=[],f.type==="MUSIC"){const{subjectId:g,...u}=f;i.searchGroup=Object.assign(i.searchGroup,{...u,musicalInstrumentId:g,subjectId:null})}else i.searchGroup=Object.assign(i.searchGroup,{...f,musicalInstrumentId:null});s()},500),l=async f=>{try{eventGlobal.emit("onPrepareAddItem",{materialId:f.id,coverImg:f.coverImg,type:f.type,title:f.title,isCollect:f.isCollect,isSelected:f.isSelected,content:f.content,removeFlag:!1})}catch(g){}},c=async f=>{try{await favorite({materialId:f.id,favoriteFlag:f.isCollect?0:1,type:f.type}),f.isCollect=!f.isCollect}catch(g){}};return onMounted(async()=>{await r.getSubjects(),s(),useResizeObserver(document.querySelector("."+n),f=>{const g=f[0],{height:u}=g.contentRect;i.searchHeight=u+"px"})}),()=>createVNode("div",null,[createVNode("div",{class:n},[e.from==="class"?createVNode(ClassSearchGroup,{type:e.type,subjectId:t.getSubjectId,onSearch:f=>o(f)},null):createVNode(ResourceSearchGroup$2,{type:e.type,onSearch:f=>o(f)},null)]),createVNode(NScrollbar,{class:styles$d.listContainer,style:{"max-height":"calc(85vh - var(--modal-lesson-tab-height) - ".concat(i.searchHeight," - 12px) ")},onScroll:f=>{var d,m,E;const g=(d=f.target)==null?void 0:d.clientHeight,u=(m=f.target)==null?void 0:m.scrollTop,p=(E=f.target)==null?void 0:E.scrollHeight;g+u+20>=p&&!i.finshed&&!i.loading&&(i.pagination.page=i.pagination.page+1,s())}},{default:()=>[createVNode(NSpin,{show:i.loading,size:"small"},{default:()=>[createVNode("div",{style:{"min-height":"calc(85vh - var(--modal-lesson-tab-height) - ".concat(i.searchHeight," - 12px)")},class:[styles$d.listSection,!i.loading&&i.tableList.length<=0?styles$d.emptySection:""]},[i.tableList.length>0&&createVNode("div",{class:styles$d.list},[i.tableList.map(f=>createVNode("div",{class:styles$d.itemWrap},[createVNode("div",{class:styles$d.itemWrapBox},[createVNode(CardType,{isShowAdd:e.from!=="class",item:f,isShowCollect:!0,onAdd:g=>l(g),disabledMouseHover:!1,onCollect:g=>c(g),onClick:()=>{f.type!=="IMG"&&(i.show=!0,i.item=f)}},null)])]))]),!i.loading&&i.tableList.length<=0&&createVNode(TheEmpty,null,null)])]})]}),createVNode(CardPreview,{size:e.from==="class"?"large":"default",show:i.show,"onUpdate:show":f=>i.show=f,item:i.item},null)])}}),SelectResources=defineComponent({name:"select-resources",props:{type:{type:String,default:"myResources"},from:{type:String,default:""}},emits:["select"],setup(e){const{type:t}=toRefs(e),r=ref(t.value);return onMounted(()=>{useResizeObserver(document.querySelector(".select-resource .n-tabs-nav--top"),a=>{const n=a[0],{height:i}=n.contentRect;console.log(i,"height - 11"),document.documentElement.style.setProperty("--modal-lesson-tab-height",i+"px")})}),()=>createVNode("div",{class:[styles$f.selectMusic,"select-resource"]},[createVNode(NTabs,{animated:!0,value:r.value,paneClass:styles$f.paneTitle,justifyContent:"center",paneWrapperClass:styles$f.paneWrapperContainer,"onUpdate:value":a=>{r.value=a}},{default:()=>[e.from!=="class"&&createVNode(NTabPane,{name:"relateResources",tab:"相关资源"},{default:()=>[createVNode(SelectItem,{type:"relateResources"},null)]}),createVNode(NTabPane,{name:"shareResources",tab:e.from==="class"?"共享曲目":"共享资源"},{default:()=>[createVNode(SelectItem,{type:"shareResources",from:e.from},null)]}),createVNode(NTabPane,{name:"myResources",tab:e.from==="class"?"我的曲目":"我的资源"},{default:()=>[createVNode(SelectItem,{type:"myResources",from:e.from},null)]}),createVNode(NTabPane,{name:"myCollect",tab:"我的收藏"},{default:()=>[createVNode(SelectItem,{type:"myCollect",from:e.from},null)]})]})])}}),selectClass="_selectClass_e7hco_1",selectClassScroll="_selectClassScroll_e7hco_4",searchGroup$2="_searchGroup_e7hco_8",list$3="_list_e7hco_11",listEmpty="_listEmpty_e7hco_20",itemWrap="_itemWrap_e7hco_25",itemWrapBox="_itemWrapBox_e7hco_28",styles$b={selectClass,selectClassScroll,searchGroup:searchGroup$2,list:list$3,listEmpty,itemWrap,itemWrapBox},coursewareType="_coursewareType_1hpyc_1",footer="_footer_1hpyc_13",coursewareTypeHover="_coursewareTypeHover_1hpyc_18",addBtn="_addBtn_1hpyc_18",coursewareTypeHocoursewareTypeShow="_coursewareTypeHocoursewareTypeShow_1hpyc_22",cover="_cover_1hpyc_44",defaultLook="_defaultLook_1hpyc_58",isShowAdd="_isShowAdd_1hpyc_82",iconNoWork="_iconNoWork_1hpyc_90",status="_status_1hpyc_100",hideP="_hideP_1hpyc_121",preview="_preview_1hpyc_124",previewBtn="_previewBtn_1hpyc_144",coursewareText="_coursewareText_1hpyc_151",name$1="_name_1hpyc_154",iconEditName="_iconEditName_1hpyc_169",subjectName="_subjectName_1hpyc_176",editName="_editName_1hpyc_182",operationBottom="_operationBottom_1hpyc_201",actionClass="_actionClass_1hpyc_221",actionWork="_actionWork_1hpyc_239",menu="_menu_1hpyc_249",iconEdit="_iconEdit_1hpyc_169",iconDelete="_iconDelete_1hpyc_273",popoverItem="_popoverItem_1hpyc_286",iconLook="_iconLook_1hpyc_320",iconAdd="_iconAdd_1hpyc_321",styles$a={coursewareType,footer,coursewareTypeHover,addBtn,coursewareTypeHocoursewareTypeShow,cover,defaultLook,isShowAdd,function:"_function_1hpyc_85",iconNoWork,status,hideP,preview,previewBtn,coursewareText,name:name$1,iconEditName,subjectName,editName,operationBottom,actionClass,actionWork,menu,iconEdit,iconDelete,popoverItem,iconLook,iconAdd},CoursewareType=defineComponent({name:"courseware-type",props:{item:{type:Object,default:()=>({})},isHoverShowAdd:{type:Boolean,default:!0},isShowAdd:{type:Boolean,default:!1},isEditName:{type:Boolean,default:!1},operate:{type:Boolean,default:!1},isShowPreviewBtn:{type:Boolean,default:!1},isShowOpenFlag:{type:Boolean,default:!0}},emits:["add","editName","edit","delete","startClass","click","work","look"],setup(e,{emit:t}){return()=>createVNode("div",{class:[styles$a.coursewareType,e.isHoverShowAdd?styles$a.coursewareTypeHover:styles$a.coursewareTypeHocoursewareTypeShow]},[createVNode("div",{class:[styles$a.cover,e.isShowPreviewBtn&&styles$a.hideP,e.isShowAdd&&styles$a.isShowAdd],onClick:()=>t("click")},[e.item.openFlag&&e.isShowOpenFlag&&createVNode("span",{class:styles$a.status},[createTextVNode("公开")]),createVNode(NImage,{objectFit:"cover",previewDisabled:!0,src:e.item.coverImg},null),createVNode("i",{class:styles$a.defaultLook},null),e.isShowPreviewBtn&&createVNode("div",{class:styles$a.preview},[createVNode(NButton,{strong:!0,secondary:!0,class:styles$a.previewBtn},{default:()=>[createTextVNode("使用课件")]})]),e.item.isNotWork&&createVNode("i",{class:styles$a.iconNoWork},null),e.isShowAdd&&createVNode("div",{class:styles$a.function},[createVNode(NTooltip,{showArrow:!1,duration:30,animated:!1},{trigger:()=>createVNode("i",{class:styles$a.iconLook,onClick:()=>t("look")},null),default:()=>"预览课件"}),createVNode(NTooltip,{showArrow:!1,duration:30,animated:!1},{trigger:()=>createVNode("i",{class:styles$a.iconAdd,onClick:()=>t("add")},null),default:()=>"添加到我的课件"})])]),createVNode("div",{class:styles$a.operationBottom},[createVNode("div",{class:styles$a.coursewareText},[createVNode("div",{class:[styles$a.name]},[createVNode("span",null,[e.item.name])]),createVNode("div",{class:styles$a.subjectName},[e.item.subjectNames])]),e.operate&&createVNode("div",{class:styles$a.footer},[createVNode("div",{class:styles$a.actionClass,onClick:()=>t("startClass")},[createTextVNode("开始上课")]),createVNode(NSpace,null,{default:()=>[createVNode("div",{class:[styles$a.actionClass,styles$a.actionWork],onClick:()=>t("work")},[createTextVNode("作业")]),createVNode(NPopover,{trigger:"hover",showArrow:!1,to:!1,duration:50},{trigger:()=>createVNode("div",{class:[styles$a.menu]},null),default:()=>createVNode("div",{class:styles$a.popoverList},[createVNode("div",{class:styles$a.popoverItem,onClick:()=>t("edit")},[createVNode("i",{class:styles$a.iconEdit},null),createVNode("span",null,[createTextVNode("编辑课件")])]),createVNode("div",{class:styles$a.popoverItem,onClick:()=>t("delete")},[createVNode("i",{class:styles$a.iconDelete},null),createVNode("span",null,[createTextVNode("删除课件")])])])})]})])])])}}),SelectClass=defineComponent({name:"select-class",props:{courseId:{type:String,default:""},subjectId:{type:String,default:""},lessonCoursewareSubjectList:{type:Array,default:()=>[]},classId:{type:String,default:""}},emits:["confirm","close"],setup(e,{emit:t}){const r=reactive({loading:!1,subjectId:e.subjectId?Number(e.subjectId):"",tableList:[]}),a=async()=>{r.loading=!0;try{const{data:n}=await teacherChapterLessonCoursewareList({coursewareDetailKnowledgeId:e.courseId,subjectId:e.classId?r.subjectId:null});if(!Array.isArray(n))return;const i=[];n.forEach(s=>{var l;const o=(l=s.chapterKnowledgeList[0])==null?void 0:l.chapterKnowledgeMaterialList[0];i.push({id:s.id,openFlag:s.openFlag,openFlagEnable:s.openFlagEnable,subjectNames:s.subjectNames,fromChapterLessonCoursewareId:s.fromChapterLessonCoursewareId,name:s.name,coverImg:o==null?void 0:o.bizInfo.coverImg,type:o==null?void 0:o.bizInfo.type})}),r.tableList=i}catch(n){}r.loading=!1};return onMounted(()=>{if(e.subjectId){const n=Number(e.subjectId);let i=!1;e.lessonCoursewareSubjectList.forEach(s=>{s.id===n&&(i=!0)}),i||(r.subjectId="")}a()}),()=>createVNode("div",{class:styles$b.selectClass},[e.classId&&createVNode("div",{class:styles$b.searchGroup},[createVNode(NSelect,{options:[{id:"",name:"全部声部"},...e.lessonCoursewareSubjectList],valueField:"id",labelField:"name",style:{width:"220px"},placeholder:"请选择声部",value:r.subjectId,"onUpdate:value":[n=>r.subjectId=n,()=>{a()}]},null)]),createVNode(NSpin,{show:r.loading},{default:()=>[createVNode(NScrollbar,{class:styles$b.selectClassScroll},{default:()=>[createVNode("div",{class:[styles$b.list,!r.loading&&r.tableList.length<=0&&styles$b.listEmpty]},[r.tableList.map(n=>createVNode("div",{class:[styles$b.itemWrap,styles$b.itemBlock,"row-nav"]},[createVNode("div",{class:styles$b.itemWrapBox},[createVNode(CoursewareType,{isShowPreviewBtn:!0,isShowOpenFlag:!1,item:n,onClick:()=>{t("confirm",{itemActive:e.courseId,chapterId:n.id})}},null)])])),!r.loading&&r.tableList.length<=0&&createVNode(TheEmpty,null,null)])]})]})])}}),listSection$3="_listSection_pxyhz_1",className$1="_className_pxyhz_4",classNameIcon="_classNameIcon_pxyhz_11",classNameContent="_classNameContent_pxyhz_20",treeParent="_treeParent_pxyhz_29",cardContainer="_cardContainer_pxyhz_33",parentSelect="_parentSelect_pxyhz_39",treeChild="_treeChild_pxyhz_48",treeItem="_treeItem_pxyhz_51",title="_title_pxyhz_60",titleSelect="_titleSelect_pxyhz_70",arrow="_arrow_pxyhz_74",arrowSelect="_arrowSelect_pxyhz_81",childArrow="_childArrow_pxyhz_85",childItem="_childItem_pxyhz_88",childSelect="_childSelect_pxyhz_95",styles$9={listSection:listSection$3,className:className$1,classNameIcon,classNameContent,treeParent,cardContainer,parentSelect,treeChild,treeItem,title,titleSelect,arrow,arrowSelect,childArrow,childItem,childSelect},SourceList=defineComponent({name:"source-list",props:{knowledgePointList:{type:Array,default:()=>[]},activeItem:{type:Object,default:()=>({})},courseActiveIndex:{type:Number,default:0},teacherChapterName:{type:String,default:""}},emits:["confirm"],setup(e,{emit:t}){const r=ref(e.courseActiveIndex);watch(()=>e.courseActiveIndex,()=>{r.value=e.courseActiveIndex});const a=computed(()=>{let n=0;return e.knowledgePointList.forEach(i=>{i.list.forEach((s,o)=>{s.id===e.activeItem.id&&(n=o)})}),n});return()=>createVNode("div",{class:[styles$9.listSection],id:"drawerCardRef"},[e.teacherChapterName&&createVNode("div",{class:styles$9.className},[createVNode("i",{class:styles$9.classNameIcon},null),createVNode("p",{class:styles$9.classNameContent},[e.teacherChapterName])]),e.knowledgePointList.map((n,i)=>createVNode("div",{class:[styles$9.treeParent,r.value===i&&styles$9.parentSelect],key:"parent"+i},[createVNode("div",{class:[styles$9.treeItem,styles$9.parentItem],onClick:()=>{r.value===i?r.value=-1:r.value=i}},[createVNode("span",{class:[styles$9.arrow,r.value===i?styles$9.arrowSelect:""]},null),createVNode("p",{class:[styles$9.title,r.value===i?styles$9.titleSelect:""]},[n.title])]),r.value===i&&n.list&&n.list.map((s,o)=>createVNode("div",{class:[styles$9.cardContainer,"drawerCardItemRef"]},[createVNode(CardType,{item:s,isActive:a.value===o&&r.value===e.courseActiveIndex,isCollect:!1,isShowCollect:!1,onClick:()=>{t("confirm",s)}},null)]))]))])}}),musicScore="_musicScore_17kro_1",styles$8={musicScore},RhythmModal=defineComponent({name:"song-modal",props:{item:{type:Object,default:()=>({})},activeStatus:{type:Boolean,default:!1}},emits:["setIframe"],setup(e,{emit:t}){const r=useUserStore(),a=ref(),n=ref(!1);let i="".concat(location.origin,"/classroom-app/#/tempo-practice?v=").concat(+new Date,"&platform=modal&dataJson=").concat(e.item.dataJson,"&Authorization=").concat(r.getToken,"&win=pc");return/(localhost)/.test(location.host)&&(i="http://localhost:9002/#/tempo-practice?v=".concat(+new Date,"&platform=modal&dataJson=").concat(e.item.dataJson,"&Authorization=").concat(r.getToken,"&win=pc")),watch(()=>e.activeStatus,()=>{var s;e.activeStatus||(s=a.value.contentWindow)==null||s.postMessage({api:"resetPlay"},"*")}),()=>createVNode("div",{class:styles$8.musicScore},[createVNode("iframe",{ref:a,onLoad:s=>{t("setIframe",a.value),n.value=!0,iframeDislableKeyboard(s.target)},class:[styles$8.container,"musicIframe"],frameborder:"0",src:i},null)])}}),btnGroup$1="_btnGroup_kuktb_1",tipsContainer="_tipsContainer_kuktb_48",tipsLeft="_tipsLeft_kuktb_60",tips="_tips_kuktb_48",iconTips="_iconTips_kuktb_69",btnNoTips="_btnNoTips_kuktb_74",btnItem="_btnItem_kuktb_80",btnTitle="_btnTitle_kuktb_84",btnGroupClass="_btnGroupClass_kuktb_93",listContainer$2="_listContainer_kuktb_96",listSection$2="_listSection_kuktb_100",listContainerDrag="_listContainerDrag_kuktb_103",emptySection$2="_emptySection_kuktb_109",list$2="_list_kuktb_96",itemBlock="_itemBlock_kuktb_123",trainEditModal$2="_trainEditModal_kuktb_126",assignHomework="_assignHomework_kuktb_129",assignHomeworkContainer="_assignHomeworkContainer_kuktb_132",updateBtnGroup="_updateBtnGroup_kuktb_135",active="_active_kuktb_147",studentSection$1="_studentSection_kuktb_151",selectStudentBtn="_selectStudentBtn_kuktb_155",disabled="_disabled_kuktb_164",firstName="_firstName_kuktb_168",studentList="_studentList_kuktb_171",studentItem$1="_studentItem_kuktb_179",removeVisiable="_removeVisiable_kuktb_197",studentRemove$1="_studentRemove_kuktb_203",btnGroupModal$1="_btnGroupModal_kuktb_215",removeVisiable1="_removeVisiable1_kuktb_222",styles$7={btnGroup:btnGroup$1,tipsContainer,tipsLeft,tips,iconTips,btnNoTips,btnItem,btnTitle,btnGroupClass,listContainer:listContainer$2,listSection:listSection$2,listContainerDrag,emptySection:emptySection$2,list:list$2,itemBlock,trainEditModal:trainEditModal$2,assignHomework,assignHomeworkContainer,updateBtnGroup,switch:"_switch_kuktb_143",active,studentSection:studentSection$1,selectStudentBtn,disabled,firstName,studentList,studentItem:studentItem$1,removeVisiable,studentRemove:studentRemove$1,btnGroupModal:btnGroupModal$1,removeVisiable1};var vuedraggable_umd={exports:{}};const require$$0=getAugmentedNamespace(vue_runtime_esmBundler);/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(a){_defineProperty(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(t){return typeof t}:_typeof=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(e)}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _extends(){return _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={},a=Object.keys(e),n,i;for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&(r[n]=e[n]);return r}function _objectWithoutProperties(e,t){if(e==null)return{};var r=_objectWithoutPropertiesLoose(e,t),a,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)a=i[n],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _unsupportedIterableToArray(e,t){if(e){if(typeof e=="string")return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var version="1.14.0";function userAgent(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on(e,t,r){e.addEventListener(t,r,!IE11OrLess&&captureMode)}function off(e,t,r){e.removeEventListener(t,r,!IE11OrLess&&captureMode)}function matches(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(r){return!1}return!1}}function getParentOrHost(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function closest(e,t,r,a){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&matches(e,t):matches(e,t))||a&&e===r)return e;if(e===r)break}while(e=getParentOrHost(e))}return null}var R_SPACE=/\s+/g;function toggleClass(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var a=(" "+e.className+" ").replace(R_SPACE," ").replace(" "+t+" "," ");e.className=(a+(r?" "+t:"")).replace(R_SPACE," ")}}function css(e,t,r){var a=e&&e.style;if(a){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in a)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),a[t]=r+(typeof r=="string"?"":"px")}}function matrix(e,t){var r="";if(typeof e=="string")r=e;else do{var a=css(e,"transform");a&&a!=="none"&&(r=a+" "+r)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(r)}function find(e,t,r){if(e){var a=e.getElementsByTagName(t),n=0,i=a.length;if(r)for(;n<i;n++)r(a[n],n);return a}return[]}function getWindowScrollingElement(){var e=document.scrollingElement;return e||document.documentElement}function getRect(e,t,r,a,n){if(!(!e.getBoundingClientRect&&e!==window)){var i,s,o,l,c,f,g;if(e!==window&&e.parentNode&&e!==getWindowScrollingElement()?(i=e.getBoundingClientRect(),s=i.top,o=i.left,l=i.bottom,c=i.right,f=i.height,g=i.width):(s=0,o=0,l=window.innerHeight,c=window.innerWidth,f=window.innerHeight,g=window.innerWidth),(t||r)&&e!==window&&(n=n||e.parentNode,!IE11OrLess))do if(n&&n.getBoundingClientRect&&(css(n,"transform")!=="none"||r&&css(n,"position")!=="static")){var u=n.getBoundingClientRect();s-=u.top+parseInt(css(n,"border-top-width")),o-=u.left+parseInt(css(n,"border-left-width")),l=s+i.height,c=o+i.width;break}while(n=n.parentNode);if(a&&e!==window){var p=matrix(n||e),d=p&&p.a,m=p&&p.d;p&&(s/=m,o/=d,g/=d,f/=m,l=s+f,c=o+g)}return{top:s,left:o,bottom:l,right:c,width:g,height:f}}}function isScrolledPast(e,t,r){for(var a=getParentAutoScrollElement(e,!0),n=getRect(e)[t];a;){var i=getRect(a)[r],s=void 0;if(r==="top"||r==="left"?s=n>=i:s=n<=i,!s)return a;if(a===getWindowScrollingElement())break;a=getParentAutoScrollElement(a,!1)}return!1}function getChild(e,t,r,a){for(var n=0,i=0,s=e.children;i<s.length;){if(s[i].style.display!=="none"&&s[i]!==Sortable.ghost&&(a||s[i]!==Sortable.dragged)&&closest(s[i],r.draggable,e,!1)){if(n===t)return s[i];n++}i++}return null}function lastChild(e,t){for(var r=e.lastElementChild;r&&(r===Sortable.ghost||css(r,"display")==="none"||t&&!matches(r,t));)r=r.previousElementSibling;return r||null}function index$1(e,t){var r=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Sortable.clone&&(!t||matches(e,t))&&r++;return r}function getRelativeScrollOffset(e){var t=0,r=0,a=getWindowScrollingElement();if(e)do{var n=matrix(e),i=n.a,s=n.d;t+=e.scrollLeft*i,r+=e.scrollTop*s}while(e!==a&&(e=e.parentNode));return[t,r]}function indexOfObject(e,t){for(var r in e)if(e.hasOwnProperty(r)){for(var a in t)if(t.hasOwnProperty(a)&&t[a]===e[r][a])return Number(r)}return-1}function getParentAutoScrollElement(e,t){if(!e||!e.getBoundingClientRect)return getWindowScrollingElement();var r=e,a=!1;do if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var n=css(r);if(r.clientWidth<r.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||r.clientHeight<r.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!r.getBoundingClientRect||r===document.body)return getWindowScrollingElement();if(a||t)return r;a=!0}}while(r=r.parentNode);return getWindowScrollingElement()}function extend(e,t){if(e&&t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function isRectEqual(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var _throttleTimeout;function throttle(e,t){return function(){if(!_throttleTimeout){var r=arguments,a=this;r.length===1?e.call(a,r[0]):e.apply(a,r),_throttleTimeout=setTimeout(function(){_throttleTimeout=void 0},t)}}}function cancelThrottle(){clearTimeout(_throttleTimeout),_throttleTimeout=void 0}function scrollBy(e,t,r){e.scrollLeft+=t,e.scrollTop+=r}function clone(e){var t=window.Polymer,r=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):r?r(e).clone(!0)[0]:e.cloneNode(!0)}function setRect(e,t){css(e,"position","absolute"),css(e,"top",t.top),css(e,"left",t.left),css(e,"width",t.width),css(e,"height",t.height)}function unsetRect(e){css(e,"position",""),css(e,"top",""),css(e,"left",""),css(e,"width",""),css(e,"height","")}var expando="Sortable"+new Date().getTime();function AnimationStateManager(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var a=[].slice.call(this.el.children);a.forEach(function(n){if(!(css(n,"display")==="none"||n===Sortable.ghost)){e.push({target:n,rect:getRect(n)});var i=_objectSpread2({},e[e.length-1].rect);if(n.thisAnimationDuration){var s=matrix(n,!0);s&&(i.top-=s.f,i.left-=s.e)}n.fromRect=i}})}},addAnimationState:function(a){e.push(a)},removeAnimationState:function(a){e.splice(indexOfObject(e,{target:a}),1)},animateAll:function(a){var n=this;if(!this.options.animation){clearTimeout(t),typeof a=="function"&&a();return}var i=!1,s=0;e.forEach(function(o){var l=0,c=o.target,f=c.fromRect,g=getRect(c),u=c.prevFromRect,p=c.prevToRect,d=o.rect,m=matrix(c,!0);m&&(g.top-=m.f,g.left-=m.e),c.toRect=g,c.thisAnimationDuration&&isRectEqual(u,g)&&!isRectEqual(f,g)&&(d.top-g.top)/(d.left-g.left)===(f.top-g.top)/(f.left-g.left)&&(l=calculateRealTime(d,u,p,n.options)),isRectEqual(g,f)||(c.prevFromRect=f,c.prevToRect=g,l||(l=n.options.animation),n.animate(c,d,g,l)),l&&(i=!0,s=Math.max(s,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),i?t=setTimeout(function(){typeof a=="function"&&a()},s):typeof a=="function"&&a(),e=[]},animate:function(a,n,i,s){if(s){css(a,"transition",""),css(a,"transform","");var o=matrix(this.el),l=o&&o.a,c=o&&o.d,f=(n.left-i.left)/(l||1),g=(n.top-i.top)/(c||1);a.animatingX=!!f,a.animatingY=!!g,css(a,"transform","translate3d("+f+"px,"+g+"px,0)"),this.forRepaintDummy=repaint(a),css(a,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:"")),css(a,"transform","translate3d(0,0,0)"),typeof a.animated=="number"&&clearTimeout(a.animated),a.animated=setTimeout(function(){css(a,"transition",""),css(a,"transform",""),a.animated=!1,a.animatingX=!1,a.animatingY=!1},s)}}}}function repaint(e){return e.offsetWidth}function calculateRealTime(e,t,r,a){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-r.top,2)+Math.pow(t.left-r.left,2))*a.animation}var plugins=[],defaults={initializeByDefault:!0},PluginManager={mount:function e(t){for(var r in defaults)defaults.hasOwnProperty(r)&&!(r in t)&&(t[r]=defaults[r]);plugins.forEach(function(a){if(a.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),plugins.push(t)},pluginEvent:function e(t,r,a){var n=this;this.eventCanceled=!1,a.cancel=function(){n.eventCanceled=!0};var i=t+"Global";plugins.forEach(function(s){r[s.pluginName]&&(r[s.pluginName][i]&&r[s.pluginName][i](_objectSpread2({sortable:r},a)),r.options[s.pluginName]&&r[s.pluginName][t]&&r[s.pluginName][t](_objectSpread2({sortable:r},a)))})},initializePlugins:function e(t,r,a,n){plugins.forEach(function(o){var l=o.pluginName;if(!(!t.options[l]&&!o.initializeByDefault)){var c=new o(t,r,t.options);c.sortable=t,c.options=t.options,t[l]=c,_extends(a,c.defaults)}});for(var i in t.options)if(t.options.hasOwnProperty(i)){var s=this.modifyOption(t,i,t.options[i]);typeof s<"u"&&(t.options[i]=s)}},getEventProperties:function e(t,r){var a={};return plugins.forEach(function(n){typeof n.eventProperties=="function"&&_extends(a,n.eventProperties.call(r[n.pluginName],t))}),a},modifyOption:function e(t,r,a){var n;return plugins.forEach(function(i){t[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[r]=="function"&&(n=i.optionListeners[r].call(t[i.pluginName],a))}),n}};function dispatchEvent(e){var t=e.sortable,r=e.rootEl,a=e.name,n=e.targetEl,i=e.cloneEl,s=e.toEl,o=e.fromEl,l=e.oldIndex,c=e.newIndex,f=e.oldDraggableIndex,g=e.newDraggableIndex,u=e.originalEvent,p=e.putSortable,d=e.extraEventProperties;if(t=t||r&&r[expando],!!t){var m,E=t.options,y="on"+a.charAt(0).toUpperCase()+a.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?m=new CustomEvent(a,{bubbles:!0,cancelable:!0}):(m=document.createEvent("Event"),m.initEvent(a,!0,!0)),m.to=s||r,m.from=o||r,m.item=n||r,m.clone=i,m.oldIndex=l,m.newIndex=c,m.oldDraggableIndex=f,m.newDraggableIndex=g,m.originalEvent=u,m.pullMode=p?p.lastPutMode:void 0;var S=_objectSpread2(_objectSpread2({},d),PluginManager.getEventProperties(a,t));for(var b in S)m[b]=S[b];r&&r.dispatchEvent(m),E[y]&&E[y].call(t,m)}}var _excluded=["evt"],pluginEvent=function e(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.evt,i=_objectWithoutProperties(a,_excluded);PluginManager.pluginEvent.bind(Sortable)(t,r,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:n,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(o){_dispatchEvent({sortable:r,name:o,originalEvent:n})}},i))};function _dispatchEvent(e){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},e))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(documentExists){if(IE11OrLess)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),_detectDirection=function e(t,r){var a=css(t),n=parseInt(a.width)-parseInt(a.paddingLeft)-parseInt(a.paddingRight)-parseInt(a.borderLeftWidth)-parseInt(a.borderRightWidth),i=getChild(t,0,r),s=getChild(t,1,r),o=i&&css(i),l=s&&css(s),c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+getRect(i).width,f=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+getRect(s).width;if(a.display==="flex")return a.flexDirection==="column"||a.flexDirection==="column-reverse"?"vertical":"horizontal";if(a.display==="grid")return a.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&o.float&&o.float!=="none"){var g=o.float==="left"?"left":"right";return s&&(l.clear==="both"||l.clear===g)?"vertical":"horizontal"}return i&&(o.display==="block"||o.display==="flex"||o.display==="table"||o.display==="grid"||c>=n&&a[CSSFloatProperty]==="none"||s&&a[CSSFloatProperty]==="none"&&c+f>n)?"vertical":"horizontal"},_dragElInRowColumn=function e(t,r,a){var n=a?t.left:t.top,i=a?t.right:t.bottom,s=a?t.width:t.height,o=a?r.left:r.top,l=a?r.right:r.bottom,c=a?r.width:r.height;return n===o||i===l||n+s/2===o+c/2},_detectNearestEmptySortable=function e(t,r){var a;return sortables.some(function(n){var i=n[expando].options.emptyInsertThreshold;if(!(!i||lastChild(n))){var s=getRect(n),o=t>=s.left-i&&t<=s.right+i,l=r>=s.top-i&&r<=s.bottom+i;if(o&&l)return a=n}}),a},_prepareGroup=function e(t){function r(i,s){return function(o,l,c,f){var g=o.options.group.name&&l.options.group.name&&o.options.group.name===l.options.group.name;if(i==null&&(s||g))return!0;if(i==null||i===!1)return!1;if(s&&i==="clone")return i;if(typeof i=="function")return r(i(o,l,c,f),s)(o,l,c,f);var u=(s?o:l).options.group.name;return i===!0||typeof i=="string"&&i===u||i.join&&i.indexOf(u)>-1}}var a={},n=t.group;(!n||_typeof(n)!="object")&&(n={name:n}),a.name=n.name,a.checkPull=r(n.pull,!0),a.checkPut=r(n.put),a.revertClone=n.revertClone,t.group=a},_hideGhostForTarget=function e(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","none")},_unhideGhostForTarget=function e(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","")};documentExists&&document.addEventListener("click",function(e){if(ignoreNextClick)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function e(t){if(dragEl){t=t.touches?t.touches[0]:t;var r=_detectNearestEmptySortable(t.clientX,t.clientY);if(r){var a={};for(var n in t)t.hasOwnProperty(n)&&(a[n]=t[n]);a.target=a.rootEl=r,a.preventDefault=void 0,a.stopPropagation=void 0,r[expando]._onDragOver(a)}}},_checkOutsideTargetEl=function e(t){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(t.target)};function Sortable(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=_extends({},t),e[expando]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(s,o){s.setData("Text",o.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,e,r);for(var a in r)!(a in t)&&(t[a]=r[a]);_prepareGroup(t);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=t.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?on(e,"pointerdown",this._onTapStart):(on(e,"mousedown",this._onTapStart),on(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(e,"dragover",this),on(e,"dragenter",this)),sortables.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function e(t){!this.el.contains(t)&&t!==this.el&&(lastTarget=null)},_getDirection:function e(t,r){return typeof this.options.direction=="function"?this.options.direction.call(this,t,r,dragEl):this.options.direction},_onTapStart:function e(t){if(t.cancelable){var r=this,a=this.el,n=this.options,i=n.preventOnFilter,s=t.type,o=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(o||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,f=n.filter;if(_saveInputCheckedState(a),!dragEl&&!(/mousedown|pointerdown/.test(s)&&t.button!==0||n.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Safari&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=closest(l,n.draggable,a,!1),!(l&&l.animated)&&lastDownEl!==l)){if(oldIndex=index$1(l),oldDraggableIndex=index$1(l,n.draggable),typeof f=="function"){if(f.call(this,t,l,this)){_dispatchEvent({sortable:r,rootEl:c,name:"filter",targetEl:l,toEl:a,fromEl:a}),pluginEvent("filter",r,{evt:t}),i&&t.cancelable&&t.preventDefault();return}}else if(f&&(f=f.split(",").some(function(g){if(g=closest(c,g.trim(),a,!1),g)return _dispatchEvent({sortable:r,rootEl:g,name:"filter",targetEl:l,fromEl:a,toEl:a}),pluginEvent("filter",r,{evt:t}),!0}),f)){i&&t.cancelable&&t.preventDefault();return}n.handle&&!closest(c,n.handle,a,!1)||this._prepareDragStart(t,o,l)}}},_prepareDragStart:function e(t,r,a){var n=this,i=n.el,s=n.options,o=i.ownerDocument,l;if(a&&!dragEl&&a.parentNode===i){var c=getRect(a);if(rootEl=i,dragEl=a,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=a,activeGroup=s.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(r||t).clientX,clientY:(r||t).clientY},tapDistanceLeft=tapEvt.clientX-c.left,tapDistanceTop=tapEvt.clientY-c.top,this._lastX=(r||t).clientX,this._lastY=(r||t).clientY,dragEl.style["will-change"]="all",l=function(){if(pluginEvent("delayEnded",n,{evt:t}),Sortable.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!FireFox&&n.nativeDraggable&&(dragEl.draggable=!0),n._triggerDragStart(t,r),_dispatchEvent({sortable:n,name:"choose",originalEvent:t}),toggleClass(dragEl,s.chosenClass,!0)},s.ignore.split(",").forEach(function(f){find(dragEl,f.trim(),_disableDraggable)}),on(o,"dragover",nearestEmptyInsertDetectEvent),on(o,"mousemove",nearestEmptyInsertDetectEvent),on(o,"touchmove",nearestEmptyInsertDetectEvent),on(o,"mouseup",n._onDrop),on(o,"touchend",n._onDrop),on(o,"touchcancel",n._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:t}),s.delay&&(!s.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(o,"mouseup",n._disableDelayedDrag),on(o,"touchend",n._disableDelayedDrag),on(o,"touchcancel",n._disableDelayedDrag),on(o,"mousemove",n._delayedDragTouchMoveHandler),on(o,"touchmove",n._delayedDragTouchMoveHandler),s.supportPointer&&on(o,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(l,s.delay)}else l()}},_delayedDragTouchMoveHandler:function e(t){var r=t.touches?t.touches[0]:t;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function e(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._disableDelayedDrag),off(t,"touchend",this._disableDelayedDrag),off(t,"touchcancel",this._disableDelayedDrag),off(t,"mousemove",this._delayedDragTouchMoveHandler),off(t,"touchmove",this._delayedDragTouchMoveHandler),off(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,r){r=r||t.pointerType=="touch"&&t,!this.nativeDraggable||r?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):r?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(a){}},_dragStarted:function e(t,r){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:r}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var a=this.options;!t&&toggleClass(dragEl,a.dragClass,!1),toggleClass(dragEl,a.ghostClass,!0),Sortable.active=this,t&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function e(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var t=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),r=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),t!==r);)r=t;if(dragEl.parentNode[expando]._isOutsideThisEl(t),r)do{if(r[expando]){var a=void 0;if(a=r[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:t,rootEl:r}),a&&!this.options.dragoverBubble)break}t=r}while(r=r.parentNode);_unhideGhostForTarget()}},_onTouchMove:function e(t){if(tapEvt){var r=this.options,a=r.fallbackTolerance,n=r.fallbackOffset,i=t.touches?t.touches[0]:t,s=ghostEl&&matrix(ghostEl,!0),o=ghostEl&&s&&s.a,l=ghostEl&&s&&s.d,c=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),f=(i.clientX-tapEvt.clientX+n.x)/(o||1)+(c?c[0]-ghostRelativeParentInitialScroll[0]:0)/(o||1),g=(i.clientY-tapEvt.clientY+n.y)/(l||1)+(c?c[1]-ghostRelativeParentInitialScroll[1]:0)/(l||1);if(!Sortable.active&&!awaitingDragStarted){if(a&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<a)return;this._onDragStart(t,!0)}if(ghostEl){s?(s.e+=f-(lastDx||0),s.f+=g-(lastDy||0)):s={a:1,b:0,c:0,d:1,e:f,f:g};var u="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");css(ghostEl,"webkitTransform",u),css(ghostEl,"mozTransform",u),css(ghostEl,"msTransform",u),css(ghostEl,"transform",u),lastDx=f,lastDy=g,touchEvt=i}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!ghostEl){var t=this.options.fallbackOnBody?document.body:rootEl,r=getRect(dragEl,!0,PositionGhostAbsolutely,!0,t),a=this.options;if(PositionGhostAbsolutely){for(ghostRelativeParent=t;css(ghostRelativeParent,"position")==="static"&&css(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document;)ghostRelativeParent=ghostRelativeParent.parentNode;ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement?(ghostRelativeParent===document&&(ghostRelativeParent=getWindowScrollingElement()),r.top+=ghostRelativeParent.scrollTop,r.left+=ghostRelativeParent.scrollLeft):ghostRelativeParent=getWindowScrollingElement(),ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(!0),toggleClass(ghostEl,a.ghostClass,!1),toggleClass(ghostEl,a.fallbackClass,!0),toggleClass(ghostEl,a.dragClass,!0),css(ghostEl,"transition",""),css(ghostEl,"transform",""),css(ghostEl,"box-sizing","border-box"),css(ghostEl,"margin",0),css(ghostEl,"top",r.top),css(ghostEl,"left",r.left),css(ghostEl,"width",r.width),css(ghostEl,"height",r.height),css(ghostEl,"opacity","0.8"),css(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed"),css(ghostEl,"zIndex","100000"),css(ghostEl,"pointerEvents","none"),Sortable.ghost=ghostEl,t.appendChild(ghostEl),css(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function e(t,r){var a=this,n=t.dataTransfer,i=a.options;if(pluginEvent("dragStart",this,{evt:t}),Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this),Sortable.eventCanceled||(cloneEl=clone(dragEl),cloneEl.draggable=!1,cloneEl.style["will-change"]="",this._hideClone(),toggleClass(cloneEl,this.options.chosenClass,!1),Sortable.clone=cloneEl),a.cloneId=_nextTick(function(){pluginEvent("clone",a),!Sortable.eventCanceled&&(a.options.removeCloneOnHide||rootEl.insertBefore(cloneEl,dragEl),a._hideClone(),_dispatchEvent({sortable:a,name:"clone"}))}),!r&&toggleClass(dragEl,i.dragClass,!0),r?(ignoreNextClick=!0,a._loopId=setInterval(a._emulateDragOver,50)):(off(document,"mouseup",a._onDrop),off(document,"touchend",a._onDrop),off(document,"touchcancel",a._onDrop),n&&(n.effectAllowed="move",i.setData&&i.setData.call(a,n,dragEl)),on(document,"drop",a),css(dragEl,"transform","translateZ(0)")),awaitingDragStarted=!0,a._dragStartId=_nextTick(a._dragStarted.bind(a,r,t)),on(document,"selectstart",a),moved=!0,Safari&&css(document.body,"user-select","none")},_onDragOver:function e(t){var r=this.el,a=t.target,n,i,s,o=this.options,l=o.group,c=Sortable.active,f=activeGroup===l,g=o.sort,u=putSortable||c,p,d=this,m=!1;if(_silent)return;function E(x,P){pluginEvent(x,d,_objectSpread2({evt:t,isOwner:f,axis:p?"vertical":"horizontal",revert:s,dragRect:n,targetRect:i,canSort:g,fromSortable:u,target:a,completed:S,onMove:function(V,J){return _onMove(rootEl,r,dragEl,n,V,getRect(V),t,J)},changed:b},P))}function y(){E("dragOverAnimationCapture"),d.captureAnimationState(),d!==u&&u.captureAnimationState()}function S(x){return E("dragOverCompleted",{insertion:x}),x&&(f?c._hideClone():c._showClone(d),d!==u&&(toggleClass(dragEl,putSortable?putSortable.options.ghostClass:c.options.ghostClass,!1),toggleClass(dragEl,o.ghostClass,!0)),putSortable!==d&&d!==Sortable.active?putSortable=d:d===Sortable.active&&putSortable&&(putSortable=null),u===d&&(d._ignoreWhileAnimating=a),d.animateAll(function(){E("dragOverAnimationComplete"),d._ignoreWhileAnimating=null}),d!==u&&(u.animateAll(),u._ignoreWhileAnimating=null)),(a===dragEl&&!dragEl.animated||a===r&&!a.animated)&&(lastTarget=null),!o.dragoverBubble&&!t.rootEl&&a!==document&&(dragEl.parentNode[expando]._isOutsideThisEl(t.target),!x&&nearestEmptyInsertDetectEvent(t)),!o.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function b(){newIndex=index$1(dragEl),newDraggableIndex=index$1(dragEl,o.draggable),_dispatchEvent({sortable:d,name:"change",toEl:r,newIndex,newDraggableIndex,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),a=closest(a,o.draggable,r,!0),E("dragOver"),Sortable.eventCanceled)return m;if(dragEl.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||d._ignoreWhileAnimating===a)return S(!1);if(ignoreNextClick=!1,c&&!o.disabled&&(f?g||(s=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,c,dragEl,t))&&l.checkPut(this,c,dragEl,t))){if(p=this._getDirection(t,a)==="vertical",n=getRect(dragEl),E("dragOverValid"),Sortable.eventCanceled)return m;if(s)return parentEl=rootEl,y(),this._hideClone(),E("revert"),Sortable.eventCanceled||(nextEl?rootEl.insertBefore(dragEl,nextEl):rootEl.appendChild(dragEl)),S(!0);var A=lastChild(r,o.draggable);if(!A||_ghostIsLast(t,p,this)&&!A.animated){if(A===dragEl)return S(!1);if(A&&r===t.target&&(a=A),a&&(i=getRect(a)),_onMove(rootEl,r,dragEl,n,a,i,t,!!a)!==!1)return y(),r.appendChild(dragEl),parentEl=r,b(),S(!0)}else if(A&&_ghostIsFirst(t,p,this)){var C=getChild(r,0,o,!0);if(C===dragEl)return S(!1);if(a=C,i=getRect(a),_onMove(rootEl,r,dragEl,n,a,i,t,!1)!==!1)return y(),r.insertBefore(dragEl,C),parentEl=r,b(),S(!0)}else if(a.parentNode===r){i=getRect(a);var T=0,F,M=dragEl.parentNode!==r,D=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||n,a.animated&&a.toRect||i,p),H=p?"top":"left",j=isScrolledPast(a,"top","top")||isScrolledPast(dragEl,"top","top"),B=j?j.scrollTop:void 0;lastTarget!==a&&(F=i[H],pastFirstInvertThresh=!1,isCircumstantialInvert=!D&&o.invertSwap||M),T=_getSwapDirection(t,a,i,p,D?1:o.swapThreshold,o.invertedSwapThreshold==null?o.swapThreshold:o.invertedSwapThreshold,isCircumstantialInvert,lastTarget===a);var _;if(T!==0){var $=index$1(dragEl);do $-=T,_=parentEl.children[$];while(_&&(css(_,"display")==="none"||_===ghostEl))}if(T===0||_===a)return S(!1);lastTarget=a,lastDirection=T;var O=a.nextElementSibling,I=!1;I=T===1;var N=_onMove(rootEl,r,dragEl,n,a,i,t,I);if(N!==!1)return(N===1||N===-1)&&(I=N===1),_silent=!0,setTimeout(_unsilent,30),y(),I&&!O?r.appendChild(dragEl):a.parentNode.insertBefore(dragEl,I?O:a),j&&scrollBy(j,0,B-j.scrollTop),parentEl=dragEl.parentNode,F!==void 0&&!isCircumstantialInvert&&(targetMoveDistance=Math.abs(F-getRect(a)[H])),b(),S(!0)}if(r.contains(dragEl))return S(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function e(){off(document,"mousemove",this._onTouchMove),off(document,"touchmove",this._onTouchMove),off(document,"pointermove",this._onTouchMove),off(document,"dragover",nearestEmptyInsertDetectEvent),off(document,"mousemove",nearestEmptyInsertDetectEvent),off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._onDrop),off(t,"touchend",this._onDrop),off(t,"pointerup",this._onDrop),off(t,"touchcancel",this._onDrop),off(document,"selectstart",this)},_onDrop:function e(t){var r=this.el,a=this.options;if(newIndex=index$1(dragEl),newDraggableIndex=index$1(dragEl,a.draggable),pluginEvent("drop",this,{evt:t}),parentEl=dragEl&&dragEl.parentNode,newIndex=index$1(dragEl),newDraggableIndex=index$1(dragEl,a.draggable),Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=!1,isCircumstantialInvert=!1,pastFirstInvertThresh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick(this.cloneId),_cancelNextTick(this._dragStartId),this.nativeDraggable&&(off(document,"drop",this),off(r,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari&&css(document.body,"user-select",""),css(dragEl,"transform",""),t&&(moved&&(t.cancelable&&t.preventDefault(),!a.dropBubble&&t.stopPropagation()),ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl),(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone")&&cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),dragEl&&(this.nativeDraggable&&off(dragEl,"dragend",this),_disableDraggable(dragEl),dragEl.style["will-change"]="",moved&&!awaitingDragStarted&&toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,!1),toggleClass(dragEl,this.options.chosenClass,!1),_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:t}),rootEl!==parentEl?(newIndex>=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:t}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:t}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:t}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:t}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:t}),this.save()))),this._nulling()},_nulling:function e(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(t){t.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(t),_globalDragOver(t));break;case"selectstart":t.preventDefault();break}},toArray:function e(){for(var t=[],r,a=this.el.children,n=0,i=a.length,s=this.options;n<i;n++)r=a[n],closest(r,s.draggable,this.el,!1)&&t.push(r.getAttribute(s.dataIdAttr)||_generateId(r));return t},sort:function e(t,r){var a={},n=this.el;this.toArray().forEach(function(i,s){var o=n.children[s];closest(o,this.options.draggable,n,!1)&&(a[i]=o)},this),r&&this.captureAnimationState(),t.forEach(function(i){a[i]&&(n.removeChild(a[i]),n.appendChild(a[i]))}),r&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,r){return closest(t,r||this.options.draggable,this.el,!1)},option:function e(t,r){var a=this.options;if(r===void 0)return a[t];var n=PluginManager.modifyOption(this,t,r);typeof n<"u"?a[t]=n:a[t]=r,t==="group"&&_prepareGroup(a)},destroy:function e(){pluginEvent("destroy",this);var t=this.el;t[expando]=null,off(t,"mousedown",this._onTapStart),off(t,"touchstart",this._onTapStart),off(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(off(t,"dragover",this),off(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(r){r.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables.splice(sortables.indexOf(this.el),1),this.el=t=null},_hideClone:function e(){if(!cloneHidden){if(pluginEvent("hideClone",this),Sortable.eventCanceled)return;css(cloneEl,"display","none"),this.options.removeCloneOnHide&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),cloneHidden=!0}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){if(pluginEvent("showClone",this),Sortable.eventCanceled)return;dragEl.parentNode==rootEl&&!this.options.group.revertClone?rootEl.insertBefore(cloneEl,dragEl):nextEl?rootEl.insertBefore(cloneEl,nextEl):rootEl.appendChild(cloneEl),this.options.group.revertClone&&this.animate(dragEl,cloneEl),css(cloneEl,"display",""),cloneHidden=!1}}};function _globalDragOver(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function _onMove(e,t,r,a,n,i,s,o){var l,c=e[expando],f=c.options.onMove,g;return window.CustomEvent&&!IE11OrLess&&!Edge?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=r,l.draggedRect=a,l.related=n||t,l.relatedRect=i||getRect(t),l.willInsertAfter=o,l.originalEvent=s,e.dispatchEvent(l),f&&(g=f.call(c,l,s)),g}function _disableDraggable(e){e.draggable=!1}function _unsilent(){_silent=!1}function _ghostIsFirst(e,t,r){var a=getRect(getChild(r.el,0,r.options,!0)),n=10;return t?e.clientX<a.left-n||e.clientY<a.top&&e.clientX<a.right:e.clientY<a.top-n||e.clientY<a.bottom&&e.clientX<a.left}function _ghostIsLast(e,t,r){var a=getRect(lastChild(r.el,r.options.draggable)),n=10;return t?e.clientX>a.right+n||e.clientX<=a.right&&e.clientY>a.bottom&&e.clientX>=a.left:e.clientX>a.right&&e.clientY>a.top||e.clientX<=a.right&&e.clientY>a.bottom+n}function _getSwapDirection(e,t,r,a,n,i,s,o){var l=a?e.clientY:e.clientX,c=a?r.height:r.width,f=a?r.top:r.left,g=a?r.bottom:r.right,u=!1;if(!s){if(o&&targetMoveDistance<c*n){if(!pastFirstInvertThresh&&(lastDirection===1?l>f+c*i/2:l<g-c*i/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)u=!0;else if(lastDirection===1?l<f+targetMoveDistance:l>g-targetMoveDistance)return-lastDirection}else if(l>f+c*(1-n)/2&&l<g-c*(1-n)/2)return _getInsertDirection(t)}return u=u||s,u&&(l<f+c*i/2||l>g-c*i/2)?l>f+c/2?1:-1:0}function _getInsertDirection(e){return index$1(dragEl)<index$1(e)?1:-1}function _generateId(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,r=t.length,a=0;r--;)a+=t.charCodeAt(r);return a.toString(36)}function _saveInputCheckedState(e){savedInputChecked.length=0;for(var t=e.getElementsByTagName("input"),r=t.length;r--;){var a=t[r];a.checked&&savedInputChecked.push(a)}}function _nextTick(e){return setTimeout(e,0)}function _cancelNextTick(e){return clearTimeout(e)}documentExists&&on(document,"touchmove",function(e){(Sortable.active||awaitingDragStarted)&&e.cancelable&&e.preventDefault()});Sortable.utils={on,off,css,find,is:function e(t,r){return!!closest(t,r,t,!1)},extend,throttle,closest,toggleClass,clone,index:index$1,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild};Sortable.get=function(e){return e[expando]};Sortable.mount=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t[0].constructor===Array&&(t=t[0]),t.forEach(function(a){if(!a.prototype||!a.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(a));a.utils&&(Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),a.utils)),PluginManager.mount(a)})};Sortable.create=function(e,t){return new Sortable(e,t)};Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=!1,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(r){var a=r.originalEvent;this.sortable.nativeDraggable?on(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on(document,"pointermove",this._handleFallbackAutoScroll):a.touches?on(document,"touchmove",this._handleFallbackAutoScroll):on(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(r){var a=r.originalEvent;!this.options.dragOverBubble&&!a.rootEl&&this._handleAutoScroll(a)},drop:function(){this.sortable.nativeDraggable?off(document,"dragover",this._handleAutoScroll):(off(document,"pointermove",this._handleFallbackAutoScroll),off(document,"touchmove",this._handleFallbackAutoScroll),off(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval(),clearAutoScrolls(),cancelThrottle()},nulling:function(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null,autoScrolls.length=0},_handleFallbackAutoScroll:function(r){this._handleAutoScroll(r,!0)},_handleAutoScroll:function(r,a){var n=this,i=(r.touches?r.touches[0]:r).clientX,s=(r.touches?r.touches[0]:r).clientY,o=document.elementFromPoint(i,s);if(touchEvt$1=r,a||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(r,this.options,o,a);var l=getParentAutoScrollElement(o,!0);scrolling&&(!pointerElemChangedInterval||i!==lastAutoScrollX||s!==lastAutoScrollY)&&(pointerElemChangedInterval&&clearPointerElemChangedInterval(),pointerElemChangedInterval=setInterval(function(){var c=getParentAutoScrollElement(document.elementFromPoint(i,s),!0);c!==l&&(l=c,clearAutoScrolls()),autoScroll(r,n.options,c,a)},10),lastAutoScrollX=i,lastAutoScrollY=s)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(o,!0)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(r,this.options,getParentAutoScrollElement(o,!1),!1)}}},_extends(e,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls(){autoScrolls.forEach(function(e){clearInterval(e.pid)}),autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle(function(e,t,r,a){if(t.scroll){var n=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,o=t.scrollSpeed,l=getWindowScrollingElement(),c=!1,f;scrollRootEl!==r&&(scrollRootEl=r,clearAutoScrolls(),scrollEl=t.scroll,f=t.scrollFn,scrollEl===!0&&(scrollEl=getParentAutoScrollElement(r,!0)));var g=0,u=scrollEl;do{var p=u,d=getRect(p),m=d.top,E=d.bottom,y=d.left,S=d.right,b=d.width,A=d.height,C=void 0,T=void 0,F=p.scrollWidth,M=p.scrollHeight,D=css(p),H=p.scrollLeft,j=p.scrollTop;p===l?(C=b<F&&(D.overflowX==="auto"||D.overflowX==="scroll"||D.overflowX==="visible"),T=A<M&&(D.overflowY==="auto"||D.overflowY==="scroll"||D.overflowY==="visible")):(C=b<F&&(D.overflowX==="auto"||D.overflowX==="scroll"),T=A<M&&(D.overflowY==="auto"||D.overflowY==="scroll"));var B=C&&(Math.abs(S-n)<=s&&H+b<F)-(Math.abs(y-n)<=s&&!!H),_=T&&(Math.abs(E-i)<=s&&j+A<M)-(Math.abs(m-i)<=s&&!!j);if(!autoScrolls[g])for(var $=0;$<=g;$++)autoScrolls[$]||(autoScrolls[$]={});(autoScrolls[g].vx!=B||autoScrolls[g].vy!=_||autoScrolls[g].el!==p)&&(autoScrolls[g].el=p,autoScrolls[g].vx=B,autoScrolls[g].vy=_,clearInterval(autoScrolls[g].pid),(B!=0||_!=0)&&(c=!0,autoScrolls[g].pid=setInterval((function(){a&&this.layer===0&&Sortable.active._onTouchMove(touchEvt$1);var O=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*o:0,I=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*o:0;typeof f=="function"&&f.call(Sortable.dragged.parentNode[expando],I,O,e,touchEvt$1,autoScrolls[this.layer].el)!=="continue"||scrollBy(autoScrolls[this.layer].el,I,O)}).bind({layer:g}),24))),g++}while(t.bubbleScroll&&u!==l&&(u=getParentAutoScrollElement(u,!1)));scrolling=c}},30),drop=function e(t){var r=t.originalEvent,a=t.putSortable,n=t.dragEl,i=t.activeSortable,s=t.dispatchSortableEvent,o=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(r){var c=a||i;o();var f=r.changedTouches&&r.changedTouches.length?r.changedTouches[0]:r,g=document.elementFromPoint(f.clientX,f.clientY);l(),c&&!c.el.contains(g)&&(s("spill"),this.onSpill({dragEl:n,putSortable:a}))}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function e(t){var r=t.oldDraggableIndex;this.startIndex=r},onSpill:function e(t){var r=t.dragEl,a=t.putSortable;this.sortable.captureAnimationState(),a&&a.captureAnimationState();var n=getChild(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(r,n):this.sortable.el.appendChild(r),this.sortable.animateAll(),a&&a.animateAll()},drop};_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function e(t){var r=t.dragEl,a=t.putSortable,n=a||this.sortable;n.captureAnimationState(),r.parentNode&&r.parentNode.removeChild(r),n.animateAll()},drop};_extends(Remove,{pluginName:"removeOnSpill"});var lastSwapEl;function SwapPlugin(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(r){var a=r.dragEl;lastSwapEl=a},dragOverValid:function(r){var a=r.completed,n=r.target,i=r.onMove,s=r.activeSortable,o=r.changed,l=r.cancel;if(s.options.swap){var c=this.sortable.el,f=this.options;if(n&&n!==c){var g=lastSwapEl;i(n)!==!1?(toggleClass(n,f.swapClass,!0),lastSwapEl=n):lastSwapEl=null,g&&g!==lastSwapEl&&toggleClass(g,f.swapClass,!1)}o(),a(!0),l()}},drop:function(r){var a=r.activeSortable,n=r.putSortable,i=r.dragEl,s=n||this.sortable,o=this.options;lastSwapEl&&toggleClass(lastSwapEl,o.swapClass,!1),lastSwapEl&&(o.swap||n&&n.options.swap)&&i!==lastSwapEl&&(s.captureAnimationState(),s!==a&&a.captureAnimationState(),swapNodes(i,lastSwapEl),s.animateAll(),s!==a&&a.animateAll())},nulling:function(){lastSwapEl=null}},_extends(e,{pluginName:"swap",eventProperties:function(){return{swapItem:lastSwapEl}}})}function swapNodes(e,t){var r=e.parentNode,a=t.parentNode,n,i;!r||!a||r.isEqualNode(t)||a.isEqualNode(e)||(n=index$1(e),i=index$1(t),r.isEqualNode(a)&&n<i&&i++,r.insertBefore(t,r.children[n]),a.insertBefore(e,a.children[i]))}var multiDragElements=[],multiDragClones=[],lastMultiDragSelect,multiDragSortable,initialFolding=!1,folding=!1,dragStarted=!1,dragEl$1,clonesFromRect,clonesHidden;function MultiDragPlugin(){function e(t){for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));t.options.supportPointer?on(document,"pointerup",this._deselectMultiDrag):(on(document,"mouseup",this._deselectMultiDrag),on(document,"touchend",this._deselectMultiDrag)),on(document,"keydown",this._checkKeyDown),on(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,i){var s="";multiDragElements.length&&multiDragSortable===t?multiDragElements.forEach(function(o,l){s+=(l?", ":"")+o.textContent}):s=i.textContent,n.setData("Text",s)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(r){var a=r.dragEl;dragEl$1=a},delayEnded:function(){this.isMultiDrag=~multiDragElements.indexOf(dragEl$1)},setupClone:function(r){var a=r.sortable,n=r.cancel;if(this.isMultiDrag){for(var i=0;i<multiDragElements.length;i++)multiDragClones.push(clone(multiDragElements[i])),multiDragClones[i].sortableIndex=multiDragElements[i].sortableIndex,multiDragClones[i].draggable=!1,multiDragClones[i].style["will-change"]="",toggleClass(multiDragClones[i],this.options.selectedClass,!1),multiDragElements[i]===dragEl$1&&toggleClass(multiDragClones[i],this.options.chosenClass,!1);a._hideClone(),n()}},clone:function(r){var a=r.sortable,n=r.rootEl,i=r.dispatchSortableEvent,s=r.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||multiDragElements.length&&multiDragSortable===a&&(insertMultiDragClones(!0,n),i("clone"),s()))},showClone:function(r){var a=r.cloneNowShown,n=r.rootEl,i=r.cancel;this.isMultiDrag&&(insertMultiDragClones(!1,n),multiDragClones.forEach(function(s){css(s,"display","")}),a(),clonesHidden=!1,i())},hideClone:function(r){var a=this;r.sortable;var n=r.cloneNowHidden,i=r.cancel;this.isMultiDrag&&(multiDragClones.forEach(function(s){css(s,"display","none"),a.options.removeCloneOnHide&&s.parentNode&&s.parentNode.removeChild(s)}),n(),clonesHidden=!0,i())},dragStartGlobal:function(r){r.sortable,!this.isMultiDrag&&multiDragSortable&&multiDragSortable.multiDrag._deselectMultiDrag(),multiDragElements.forEach(function(a){a.sortableIndex=index$1(a)}),multiDragElements=multiDragElements.sort(function(a,n){return a.sortableIndex-n.sortableIndex}),dragStarted=!0},dragStarted:function(r){var a=this,n=r.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){multiDragElements.forEach(function(s){s!==dragEl$1&&css(s,"position","absolute")});var i=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(s){s!==dragEl$1&&setRect(s,i)}),folding=!0,initialFolding=!0}n.animateAll(function(){folding=!1,initialFolding=!1,a.options.animation&&multiDragElements.forEach(function(s){unsetRect(s)}),a.options.sort&&removeMultiDragElements()})}},dragOver:function(r){var a=r.target,n=r.completed,i=r.cancel;folding&&~multiDragElements.indexOf(a)&&(n(!1),i())},revert:function(r){var a=r.fromSortable,n=r.rootEl,i=r.sortable,s=r.dragRect;multiDragElements.length>1&&(multiDragElements.forEach(function(o){i.addAnimationState({target:o,rect:folding?getRect(o):s}),unsetRect(o),o.fromRect=s,a.removeAnimationState(o)}),folding=!1,insertMultiDragElements(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(r){var a=r.sortable,n=r.isOwner,i=r.insertion,s=r.activeSortable,o=r.parentEl,l=r.putSortable,c=this.options;if(i){if(n&&s._hideClone(),initialFolding=!1,c.animation&&multiDragElements.length>1&&(folding||!n&&!s.options.sort&&!l)){var f=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(u){u!==dragEl$1&&(setRect(u,f),o.appendChild(u))}),folding=!0}if(!n)if(folding||removeMultiDragElements(),multiDragElements.length>1){var g=clonesHidden;s._showClone(a),s.options.animation&&!clonesHidden&&g&&multiDragClones.forEach(function(u){s.addAnimationState({target:u,rect:clonesFromRect}),u.fromRect=clonesFromRect,u.thisAnimationDuration=null})}else s._showClone(a)}},dragOverAnimationCapture:function(r){var a=r.dragRect,n=r.isOwner,i=r.activeSortable;if(multiDragElements.forEach(function(o){o.thisAnimationDuration=null}),i.options.animation&&!n&&i.multiDrag.isMultiDrag){clonesFromRect=_extends({},a);var s=matrix(dragEl$1,!0);clonesFromRect.top-=s.f,clonesFromRect.left-=s.e}},dragOverAnimationComplete:function(){folding&&(folding=!1,removeMultiDragElements())},drop:function(r){var a=r.originalEvent,n=r.rootEl,i=r.parentEl,s=r.sortable,o=r.dispatchSortableEvent,l=r.oldIndex,c=r.putSortable,f=c||this.sortable;if(a){var g=this.options,u=i.children;if(!dragStarted)if(g.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),toggleClass(dragEl$1,g.selectedClass,!~multiDragElements.indexOf(dragEl$1)),~multiDragElements.indexOf(dragEl$1))multiDragElements.splice(multiDragElements.indexOf(dragEl$1),1),lastMultiDragSelect=null,dispatchEvent({sortable:s,rootEl:n,name:"deselect",targetEl:dragEl$1,originalEvt:a});else{if(multiDragElements.push(dragEl$1),dispatchEvent({sortable:s,rootEl:n,name:"select",targetEl:dragEl$1,originalEvt:a}),a.shiftKey&&lastMultiDragSelect&&s.el.contains(lastMultiDragSelect)){var p=index$1(lastMultiDragSelect),d=index$1(dragEl$1);if(~p&&~d&&p!==d){var m,E;for(d>p?(E=p,m=d):(E=d,m=p+1);E<m;E++)~multiDragElements.indexOf(u[E])||(toggleClass(u[E],g.selectedClass,!0),multiDragElements.push(u[E]),dispatchEvent({sortable:s,rootEl:n,name:"select",targetEl:u[E],originalEvt:a}))}}else lastMultiDragSelect=dragEl$1;multiDragSortable=f}if(dragStarted&&this.isMultiDrag){if(folding=!1,(i[expando].options.sort||i!==n)&&multiDragElements.length>1){var y=getRect(dragEl$1),S=index$1(dragEl$1,":not(."+this.options.selectedClass+")");if(!initialFolding&&g.animation&&(dragEl$1.thisAnimationDuration=null),f.captureAnimationState(),!initialFolding&&(g.animation&&(dragEl$1.fromRect=y,multiDragElements.forEach(function(A){if(A.thisAnimationDuration=null,A!==dragEl$1){var C=folding?getRect(A):y;A.fromRect=C,f.addAnimationState({target:A,rect:C})}})),removeMultiDragElements(),multiDragElements.forEach(function(A){u[S]?i.insertBefore(A,u[S]):i.appendChild(A),S++}),l===index$1(dragEl$1))){var b=!1;multiDragElements.forEach(function(A){if(A.sortableIndex!==index$1(A)){b=!0;return}}),b&&o("update")}multiDragElements.forEach(function(A){unsetRect(A)}),f.animateAll()}multiDragSortable=f}(n===i||c&&c.lastPutMode!=="clone")&&multiDragClones.forEach(function(A){A.parentNode&&A.parentNode.removeChild(A)})}},nullingGlobal:function(){this.isMultiDrag=dragStarted=!1,multiDragClones.length=0},destroyGlobal:function(){this._deselectMultiDrag(),off(document,"pointerup",this._deselectMultiDrag),off(document,"mouseup",this._deselectMultiDrag),off(document,"touchend",this._deselectMultiDrag),off(document,"keydown",this._checkKeyDown),off(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(r){if(!(typeof dragStarted<"u"&&dragStarted)&&multiDragSortable===this.sortable&&!(r&&closest(r.target,this.options.draggable,this.sortable.el,!1))&&!(r&&r.button!==0))for(;multiDragElements.length;){var a=multiDragElements[0];toggleClass(a,this.options.selectedClass,!1),multiDragElements.shift(),dispatchEvent({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:a,originalEvt:r})}},_checkKeyDown:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},_extends(e,{pluginName:"multiDrag",utils:{select:function(r){var a=r.parentNode[expando];!a||!a.options.multiDrag||~multiDragElements.indexOf(r)||(multiDragSortable&&multiDragSortable!==a&&(multiDragSortable.multiDrag._deselectMultiDrag(),multiDragSortable=a),toggleClass(r,a.options.selectedClass,!0),multiDragElements.push(r))},deselect:function(r){var a=r.parentNode[expando],n=multiDragElements.indexOf(r);!a||!a.options.multiDrag||!~n||(toggleClass(r,a.options.selectedClass,!1),multiDragElements.splice(n,1))}},eventProperties:function(){var r=this,a=[],n=[];return multiDragElements.forEach(function(i){a.push({multiDragElement:i,index:i.sortableIndex});var s;folding&&i!==dragEl$1?s=-1:folding?s=index$1(i,":not(."+r.options.selectedClass+")"):s=index$1(i),n.push({multiDragElement:i,index:s})}),{items:_toConsumableArray(multiDragElements),clones:[].concat(multiDragClones),oldIndicies:a,newIndicies:n}},optionListeners:{multiDragKey:function(r){return r=r.toLowerCase(),r==="ctrl"?r="Control":r.length>1&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r}}})}function insertMultiDragElements(e,t){multiDragElements.forEach(function(r,a){var n=t.children[r.sortableIndex+(e?Number(a):0)];n?t.insertBefore(r,n):t.appendChild(r)})}function insertMultiDragClones(e,t){multiDragClones.forEach(function(r,a){var n=t.children[r.sortableIndex+(e?Number(a):0)];n?t.insertBefore(r,n):t.appendChild(r)})}function removeMultiDragElements(){multiDragElements.forEach(function(e){e!==dragEl$1&&e.parentNode&&e.parentNode.removeChild(e)})}Sortable.mount(new AutoScrollPlugin);Sortable.mount(Remove,Revert);const sortable_esm=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:MultiDragPlugin,Sortable,Swap:SwapPlugin,default:Sortable},Symbol.toStringTag,{value:"Module"})),require$$1=getAugmentedNamespace(sortable_esm);(function(e,t){(function(a,n){e.exports=n(require$$0,require$$1)})(typeof self<"u"?self:commonjsGlobal,function(r,a){return function(n){var i={};function s(o){if(i[o])return i[o].exports;var l=i[o]={i:o,l:!1,exports:{}};return n[o].call(l.exports,l,l.exports,s),l.l=!0,l.exports}return s.m=n,s.c=i,s.d=function(o,l,c){s.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:c})},s.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},s.t=function(o,l){if(l&1&&(o=s(o)),l&8||l&4&&typeof o=="object"&&o&&o.__esModule)return o;var c=Object.create(null);if(s.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:o}),l&2&&typeof o!="string")for(var f in o)s.d(c,f,(function(g){return o[g]}).bind(null,f));return c},s.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(l,"a",l),l},s.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},s.p="",s(s.s="fb15")}({"00ee":function(n,i,s){var o=s("b622"),l=o("toStringTag"),c={};c[l]="z",n.exports=String(c)==="[object z]"},"0366":function(n,i,s){var o=s("1c0b");n.exports=function(l,c,f){if(o(l),c===void 0)return l;switch(f){case 0:return function(){return l.call(c)};case 1:return function(g){return l.call(c,g)};case 2:return function(g,u){return l.call(c,g,u)};case 3:return function(g,u,p){return l.call(c,g,u,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(n,i,s){var o=s("fc6a"),l=s("241c").f,c={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(u){try{return l(u)}catch(p){return f.slice()}};n.exports.f=function(p){return f&&c.call(p)=="[object Window]"?g(p):l(o(p))}},"06cf":function(n,i,s){var o=s("83ab"),l=s("d1e7"),c=s("5c6c"),f=s("fc6a"),g=s("c04e"),u=s("5135"),p=s("0cfb"),d=Object.getOwnPropertyDescriptor;i.f=o?d:function(E,y){if(E=f(E),y=g(y,!0),p)try{return d(E,y)}catch(S){}if(u(E,y))return c(!l.f.call(E,y),E[y])}},"0cfb":function(n,i,s){var o=s("83ab"),l=s("d039"),c=s("cc12");n.exports=!o&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,i,s){var o=s("23e7"),l=s("d58f").left,c=s("a640"),f=s("ae40"),g=c("reduce"),u=f("reduce",{1:0});o({target:"Array",proto:!0,forced:!g||!u},{reduce:function(d){return l(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,i,s){var o=s("c6b6"),l=s("9263");n.exports=function(c,f){var g=c.exec;if(typeof g=="function"){var u=g.call(c,f);if(typeof u!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return u}if(o(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,f)}},"159b":function(n,i,s){var o=s("da84"),l=s("fdbc"),c=s("17c2"),f=s("9112");for(var g in l){var u=o[g],p=u&&u.prototype;if(p&&p.forEach!==c)try{f(p,"forEach",c)}catch(d){p.forEach=c}}},"17c2":function(n,i,s){var o=s("b727").forEach,l=s("a640"),c=s("ae40"),f=l("forEach"),g=c("forEach");n.exports=!f||!g?function(p){return o(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,i,s){var o=s("d066");n.exports=o("document","documentElement")},"1c0b":function(n,i){n.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},"1c7e":function(n,i,s){var o=s("b622"),l=o("iterator"),c=!1;try{var f=0,g={next:function(){return{done:!!f++}},return:function(){c=!0}};g[l]=function(){return this},Array.from(g,function(){throw 2})}catch(u){}n.exports=function(u,p){if(!p&&!c)return!1;var d=!1;try{var m={};m[l]=function(){return{next:function(){return{done:d=!0}}}},u(m)}catch(E){}return d}},"1d80":function(n,i){n.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"1dde":function(n,i,s){var o=s("d039"),l=s("b622"),c=s("2d00"),f=l("species");n.exports=function(g){return c>=51||!o(function(){var u=[],p=u.constructor={};return p[f]=function(){return{foo:1}},u[g](Boolean).foo!==1})}},"23cb":function(n,i,s){var o=s("a691"),l=Math.max,c=Math.min;n.exports=function(f,g){var u=o(f);return u<0?l(u+g,0):c(u,g)}},"23e7":function(n,i,s){var o=s("da84"),l=s("06cf").f,c=s("9112"),f=s("6eeb"),g=s("ce4e"),u=s("e893"),p=s("94ca");n.exports=function(d,m){var E=d.target,y=d.global,S=d.stat,b,A,C,T,F,M;if(y?A=o:S?A=o[E]||g(E,{}):A=(o[E]||{}).prototype,A)for(C in m){if(F=m[C],d.noTargetGet?(M=l(A,C),T=M&&M.value):T=A[C],b=p(y?C:E+(S?".":"#")+C,d.forced),!b&&T!==void 0){if(typeof F==typeof T)continue;u(F,T)}(d.sham||T&&T.sham)&&c(F,"sham",!0),f(A,C,F,d)}}},"241c":function(n,i,s){var o=s("ca84"),l=s("7839"),c=l.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(g){return o(g,c)}},"25f0":function(n,i,s){var o=s("6eeb"),l=s("825a"),c=s("d039"),f=s("ad6d"),g="toString",u=RegExp.prototype,p=u[g],d=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),m=p.name!=g;(d||m)&&o(RegExp.prototype,g,function(){var y=l(this),S=String(y.source),b=y.flags,A=String(b===void 0&&y instanceof RegExp&&!("flags"in u)?f.call(y):b);return"/"+S+"/"+A},{unsafe:!0})},"2ca0":function(n,i,s){var o=s("23e7"),l=s("06cf").f,c=s("50c4"),f=s("5a34"),g=s("1d80"),u=s("ab13"),p=s("c430"),d="".startsWith,m=Math.min,E=u("startsWith"),y=!p&&!E&&!!function(){var S=l(String.prototype,"startsWith");return S&&!S.writable}();o({target:"String",proto:!0,forced:!y&&!E},{startsWith:function(b){var A=String(g(this));f(b);var C=c(m(arguments.length>1?arguments[1]:void 0,A.length)),T=String(b);return d?d.call(A,T,C):A.slice(C,C+T.length)===T}})},"2d00":function(n,i,s){var o=s("da84"),l=s("342f"),c=o.process,f=c&&c.versions,g=f&&f.v8,u,p;g?(u=g.split("."),p=u[0]+u[1]):l&&(u=l.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=l.match(/Chrome\/(\d+)/),u&&(p=u[1]))),n.exports=p&&+p},"342f":function(n,i,s){var o=s("d066");n.exports=o("navigator","userAgent")||""},"35a1":function(n,i,s){var o=s("f5df"),l=s("3f8c"),c=s("b622"),f=c("iterator");n.exports=function(g){if(g!=null)return g[f]||g["@@iterator"]||l[o(g)]}},"37e8":function(n,i,s){var o=s("83ab"),l=s("9bf2"),c=s("825a"),f=s("df75");n.exports=o?Object.defineProperties:function(u,p){c(u);for(var d=f(p),m=d.length,E=0,y;m>E;)l.f(u,y=d[E++],p[y]);return u}},"3bbe":function(n,i,s){var o=s("861d");n.exports=function(l){if(!o(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(n,i,s){var o=s("6547").charAt,l=s("69f3"),c=s("7dd0"),f="String Iterator",g=l.set,u=l.getterFor(f);c(String,"String",function(p){g(this,{type:f,string:String(p),index:0})},function(){var d=u(this),m=d.string,E=d.index,y;return E>=m.length?{value:void 0,done:!0}:(y=o(m,E),d.index+=y.length,{value:y,done:!1})})},"3f8c":function(n,i){n.exports={}},4160:function(n,i,s){var o=s("23e7"),l=s("17c2");o({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(n,i,s){var o=s("da84");n.exports=o},"44ad":function(n,i,s){var o=s("d039"),l=s("c6b6"),c="".split;n.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return l(f)=="String"?c.call(f,""):Object(f)}:Object},"44d2":function(n,i,s){var o=s("b622"),l=s("7c73"),c=s("9bf2"),f=o("unscopables"),g=Array.prototype;g[f]==null&&c.f(g,f,{configurable:!0,value:l(null)}),n.exports=function(u){g[f][u]=!0}},"44e7":function(n,i,s){var o=s("861d"),l=s("c6b6"),c=s("b622"),f=c("match");n.exports=function(g){var u;return o(g)&&((u=g[f])!==void 0?!!u:l(g)=="RegExp")}},4930:function(n,i,s){var o=s("d039");n.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())})},"4d64":function(n,i,s){var o=s("fc6a"),l=s("50c4"),c=s("23cb"),f=function(g){return function(u,p,d){var m=o(u),E=l(m.length),y=c(d,E),S;if(g&&p!=p){for(;E>y;)if(S=m[y++],S!=S)return!0}else for(;E>y;y++)if((g||y in m)&&m[y]===p)return g||y||0;return!g&&-1}};n.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(n,i,s){var o=s("23e7"),l=s("b727").filter,c=s("1dde"),f=s("ae40"),g=c("filter"),u=f("filter");o({target:"Array",proto:!0,forced:!g||!u},{filter:function(d){return l(this,d,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,i,s){var o=s("0366"),l=s("7b0b"),c=s("9bdd"),f=s("e95a"),g=s("50c4"),u=s("8418"),p=s("35a1");n.exports=function(m){var E=l(m),y=typeof this=="function"?this:Array,S=arguments.length,b=S>1?arguments[1]:void 0,A=b!==void 0,C=p(E),T=0,F,M,D,H,j,B;if(A&&(b=o(b,S>2?arguments[2]:void 0,2)),C!=null&&!(y==Array&&f(C)))for(H=C.call(E),j=H.next,M=new y;!(D=j.call(H)).done;T++)B=A?c(H,b,[D.value,T],!0):D.value,u(M,T,B);else for(F=g(E.length),M=new y(F);F>T;T++)B=A?b(E[T],T):E[T],u(M,T,B);return M.length=T,M}},"4fad":function(n,i,s){var o=s("23e7"),l=s("6f53").entries;o({target:"Object",stat:!0},{entries:function(f){return l(f)}})},"50c4":function(n,i,s){var o=s("a691"),l=Math.min;n.exports=function(c){return c>0?l(o(c),9007199254740991):0}},5135:function(n,i){var s={}.hasOwnProperty;n.exports=function(o,l){return s.call(o,l)}},5319:function(n,i,s){var o=s("d784"),l=s("825a"),c=s("7b0b"),f=s("50c4"),g=s("a691"),u=s("1d80"),p=s("8aa5"),d=s("14c3"),m=Math.max,E=Math.min,y=Math.floor,S=/\$([$&'`]|\d\d?|<[^>]*>)/g,b=/\$([$&'`]|\d\d?)/g,A=function(C){return C===void 0?C:String(C)};o("replace",2,function(C,T,F,M){var D=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,H=M.REPLACE_KEEPS_$0,j=D?"$":"$0";return[function($,O){var I=u(this),N=$==null?void 0:$[C];return N!==void 0?N.call($,I,O):T.call(String(I),$,O)},function(_,$){if(!D&&H||typeof $=="string"&&$.indexOf(j)===-1){var O=F(T,_,this,$);if(O.done)return O.value}var I=l(_),N=String(this),x=typeof $=="function";x||($=String($));var P=I.global;if(P){var R=I.unicode;I.lastIndex=0}for(var V=[];;){var J=d(I,N);if(J===null||(V.push(J),!P))break;var Y=String(J[0]);Y===""&&(I.lastIndex=p(N,f(I.lastIndex),R))}for(var X="",re=0,Z=0;Z<V.length;Z++){J=V[Z];for(var ce=String(J[0]),ye=m(E(g(J.index),N.length),0),be=[],Ee=1;Ee<J.length;Ee++)be.push(A(J[Ee]));var Se=J.groups;if(x){var k=[ce].concat(be,ye,N);Se!==void 0&&k.push(Se);var z=String($.apply(void 0,k))}else z=B(ce,N,ye,be,Se,$);ye>=re&&(X+=N.slice(re,ye)+z,re=ye+ce.length)}return X+N.slice(re)}];function B(_,$,O,I,N,x){var P=O+_.length,R=I.length,V=b;return N!==void 0&&(N=c(N),V=S),T.call(x,V,function(J,Y){var X;switch(Y.charAt(0)){case"$":return"$";case"&":return _;case"`":return $.slice(0,O);case"'":return $.slice(P);case"<":X=N[Y.slice(1,-1)];break;default:var re=+Y;if(re===0)return J;if(re>R){var Z=y(re/10);return Z===0?J:Z<=R?I[Z-1]===void 0?Y.charAt(1):I[Z-1]+Y.charAt(1):J}X=I[re-1]}return X===void 0?"":X})}})},5692:function(n,i,s){var o=s("c430"),l=s("c6cd");(n.exports=function(c,f){return l[c]||(l[c]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,i,s){var o=s("d066"),l=s("241c"),c=s("7418"),f=s("825a");n.exports=o("Reflect","ownKeys")||function(u){var p=l.f(f(u)),d=c.f;return d?p.concat(d(u)):p}},"5a34":function(n,i,s){var o=s("44e7");n.exports=function(l){if(o(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(n,i){n.exports=function(s,o){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:o}}},"5db7":function(n,i,s){var o=s("23e7"),l=s("a2bf"),c=s("7b0b"),f=s("50c4"),g=s("1c0b"),u=s("65f0");o({target:"Array",proto:!0},{flatMap:function(d){var m=c(this),E=f(m.length),y;return g(d),y=u(m,0),y.length=l(y,m,m,E,0,1,d,arguments.length>1?arguments[1]:void 0),y}})},6547:function(n,i,s){var o=s("a691"),l=s("1d80"),c=function(f){return function(g,u){var p=String(l(g)),d=o(u),m=p.length,E,y;return d<0||d>=m?f?"":void 0:(E=p.charCodeAt(d),E<55296||E>56319||d+1===m||(y=p.charCodeAt(d+1))<56320||y>57343?f?p.charAt(d):E:f?p.slice(d,d+2):(E-55296<<10)+(y-56320)+65536)}};n.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(n,i,s){var o=s("861d"),l=s("e8b5"),c=s("b622"),f=c("species");n.exports=function(g,u){var p;return l(g)&&(p=g.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:o(p)&&(p=p[f],p===null&&(p=void 0))),new(p===void 0?Array:p)(u===0?0:u)}},"69f3":function(n,i,s){var o=s("7f9a"),l=s("da84"),c=s("861d"),f=s("9112"),g=s("5135"),u=s("f772"),p=s("d012"),d=l.WeakMap,m,E,y,S=function(D){return y(D)?E(D):m(D,{})},b=function(D){return function(H){var j;if(!c(H)||(j=E(H)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return j}};if(o){var A=new d,C=A.get,T=A.has,F=A.set;m=function(D,H){return F.call(A,D,H),H},E=function(D){return C.call(A,D)||{}},y=function(D){return T.call(A,D)}}else{var M=u("state");p[M]=!0,m=function(D,H){return f(D,M,H),H},E=function(D){return g(D,M)?D[M]:{}},y=function(D){return g(D,M)}}n.exports={set:m,get:E,has:y,enforce:S,getterFor:b}},"6eeb":function(n,i,s){var o=s("da84"),l=s("9112"),c=s("5135"),f=s("ce4e"),g=s("8925"),u=s("69f3"),p=u.get,d=u.enforce,m=String(String).split("String");(n.exports=function(E,y,S,b){var A=b?!!b.unsafe:!1,C=b?!!b.enumerable:!1,T=b?!!b.noTargetGet:!1;if(typeof S=="function"&&(typeof y=="string"&&!c(S,"name")&&l(S,"name",y),d(S).source=m.join(typeof y=="string"?y:"")),E===o){C?E[y]=S:f(y,S);return}else A?!T&&E[y]&&(C=!0):delete E[y];C?E[y]=S:l(E,y,S)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||g(this)})},"6f53":function(n,i,s){var o=s("83ab"),l=s("df75"),c=s("fc6a"),f=s("d1e7").f,g=function(u){return function(p){for(var d=c(p),m=l(d),E=m.length,y=0,S=[],b;E>y;)b=m[y++],(!o||f.call(d,b))&&S.push(u?[b,d[b]]:d[b]);return S}};n.exports={entries:g(!0),values:g(!1)}},"73d9":function(n,i,s){var o=s("44d2");o("flatMap")},7418:function(n,i){i.f=Object.getOwnPropertySymbols},"746f":function(n,i,s){var o=s("428f"),l=s("5135"),c=s("e538"),f=s("9bf2").f;n.exports=function(g){var u=o.Symbol||(o.Symbol={});l(u,g)||f(u,g,{value:c.f(g)})}},7839:function(n,i){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,i,s){var o=s("1d80");n.exports=function(l){return Object(o(l))}},"7c73":function(n,i,s){var o=s("825a"),l=s("37e8"),c=s("7839"),f=s("d012"),g=s("1be4"),u=s("cc12"),p=s("f772"),d=">",m="<",E="prototype",y="script",S=p("IE_PROTO"),b=function(){},A=function(D){return m+y+d+D+m+"/"+y+d},C=function(D){D.write(A("")),D.close();var H=D.parentWindow.Object;return D=null,H},T=function(){var D=u("iframe"),H="java"+y+":",j;return D.style.display="none",g.appendChild(D),D.src=String(H),j=D.contentWindow.document,j.open(),j.write(A("document.F=Object")),j.close(),j.F},F,M=function(){try{F=document.domain&&new ActiveXObject("htmlfile")}catch(H){}M=F?C(F):T();for(var D=c.length;D--;)delete M[E][c[D]];return M()};f[S]=!0,n.exports=Object.create||function(H,j){var B;return H!==null?(b[E]=o(H),B=new b,b[E]=null,B[S]=H):B=M(),j===void 0?B:l(B,j)}},"7dd0":function(n,i,s){var o=s("23e7"),l=s("9ed3"),c=s("e163"),f=s("d2bb"),g=s("d44e"),u=s("9112"),p=s("6eeb"),d=s("b622"),m=s("c430"),E=s("3f8c"),y=s("ae93"),S=y.IteratorPrototype,b=y.BUGGY_SAFARI_ITERATORS,A=d("iterator"),C="keys",T="values",F="entries",M=function(){return this};n.exports=function(D,H,j,B,_,$,O){l(j,H,B);var I=function(Z){if(Z===_&&V)return V;if(!b&&Z in P)return P[Z];switch(Z){case C:return function(){return new j(this,Z)};case T:return function(){return new j(this,Z)};case F:return function(){return new j(this,Z)}}return function(){return new j(this)}},N=H+" Iterator",x=!1,P=D.prototype,R=P[A]||P["@@iterator"]||_&&P[_],V=!b&&R||I(_),J=H=="Array"&&P.entries||R,Y,X,re;if(J&&(Y=c(J.call(new D)),S!==Object.prototype&&Y.next&&(!m&&c(Y)!==S&&(f?f(Y,S):typeof Y[A]!="function"&&u(Y,A,M)),g(Y,N,!0,!0),m&&(E[N]=M))),_==T&&R&&R.name!==T&&(x=!0,V=function(){return R.call(this)}),(!m||O)&&P[A]!==V&&u(P,A,V),E[H]=V,_)if(X={values:I(T),keys:$?V:I(C),entries:I(F)},O)for(re in X)(b||x||!(re in P))&&p(P,re,X[re]);else o({target:H,proto:!0,forced:b||x},X);return X}},"7f9a":function(n,i,s){var o=s("da84"),l=s("8925"),c=o.WeakMap;n.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(n,i,s){var o=s("861d");n.exports=function(l){if(!o(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(n,i,s){var o=s("d039");n.exports=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,i,s){var o=s("c04e"),l=s("9bf2"),c=s("5c6c");n.exports=function(f,g,u){var p=o(g);p in f?l.f(f,p,c(0,u)):f[p]=u}},"861d":function(n,i){n.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},8875:function(n,i,s){var o,l,c;(function(f,g){l=[],o=g,c=typeof o=="function"?o.apply(i,l):o,c!==void 0&&(n.exports=c)})(typeof self<"u"?self:this,function(){function f(){var g=Object.getOwnPropertyDescriptor(document,"currentScript");if(!g&&"currentScript"in document&&document.currentScript||g&&g.get!==f&&document.currentScript)return document.currentScript;try{throw new Error}catch(F){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,d=u.exec(F.stack)||p.exec(F.stack),m=d&&d[1]||!1,E=d&&d[2]||!1,y=document.location.href.replace(document.location.hash,""),S,b,A,C=document.getElementsByTagName("script");m===y&&(S=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(E-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),A=S.replace(b,"$1").trim());for(var T=0;T<C.length;T++)if(C[T].readyState==="interactive"||C[T].src===m||m===y&&C[T].innerHTML&&C[T].innerHTML.trim()===A)return C[T];return null}}return f})},8925:function(n,i,s){var o=s("c6cd"),l=Function.toString;typeof o.inspectSource!="function"&&(o.inspectSource=function(c){return l.call(c)}),n.exports=o.inspectSource},"8aa5":function(n,i,s){var o=s("6547").charAt;n.exports=function(l,c,f){return c+(f?o(l,c).length:1)}},"8bbf":function(n,i){n.exports=r},"90e3":function(n,i){var s=0,o=Math.random();n.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++s+o).toString(36)}},9112:function(n,i,s){var o=s("83ab"),l=s("9bf2"),c=s("5c6c");n.exports=o?function(f,g,u){return l.f(f,g,c(1,u))}:function(f,g,u){return f[g]=u,f}},9263:function(n,i,s){var o=s("ad6d"),l=s("9f7f"),c=RegExp.prototype.exec,f=String.prototype.replace,g=c,u=function(){var E=/a/,y=/b*/g;return c.call(E,"a"),c.call(y,"a"),E.lastIndex!==0||y.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,d=/()??/.exec("")[1]!==void 0,m=u||d||p;m&&(g=function(y){var S=this,b,A,C,T,F=p&&S.sticky,M=o.call(S),D=S.source,H=0,j=y;return F&&(M=M.replace("y",""),M.indexOf("g")===-1&&(M+="g"),j=String(y).slice(S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&y[S.lastIndex-1]!=="\n")&&(D="(?: "+D+")",j=" "+j,H++),A=new RegExp("^(?:"+D+")",M)),d&&(A=new RegExp("^"+D+"$(?!\\s)",M)),u&&(b=S.lastIndex),C=c.call(F?A:S,j),F?C?(C.input=C.input.slice(H),C[0]=C[0].slice(H),C.index=S.lastIndex,S.lastIndex+=C[0].length):S.lastIndex=0:u&&C&&(S.lastIndex=S.global?C.index+C[0].length:b),d&&C&&C.length>1&&f.call(C[0],A,function(){for(T=1;T<arguments.length-2;T++)arguments[T]===void 0&&(C[T]=void 0)}),C}),n.exports=g},"94ca":function(n,i,s){var o=s("d039"),l=/#|\.prototype\./,c=function(d,m){var E=g[f(d)];return E==p?!0:E==u?!1:typeof m=="function"?o(m):!!m},f=c.normalize=function(d){return String(d).replace(l,".").toLowerCase()},g=c.data={},u=c.NATIVE="N",p=c.POLYFILL="P";n.exports=c},"99af":function(n,i,s){var o=s("23e7"),l=s("d039"),c=s("e8b5"),f=s("861d"),g=s("7b0b"),u=s("50c4"),p=s("8418"),d=s("65f0"),m=s("1dde"),E=s("b622"),y=s("2d00"),S=E("isConcatSpreadable"),b=9007199254740991,A="Maximum allowed index exceeded",C=y>=51||!l(function(){var D=[];return D[S]=!1,D.concat()[0]!==D}),T=m("concat"),F=function(D){if(!f(D))return!1;var H=D[S];return H!==void 0?!!H:c(D)},M=!C||!T;o({target:"Array",proto:!0,forced:M},{concat:function(H){var j=g(this),B=d(j,0),_=0,$,O,I,N,x;for($=-1,I=arguments.length;$<I;$++)if(x=$===-1?j:arguments[$],F(x)){if(N=u(x.length),_+N>b)throw TypeError(A);for(O=0;O<N;O++,_++)O in x&&p(B,_,x[O])}else{if(_>=b)throw TypeError(A);p(B,_++,x)}return B.length=_,B}})},"9bdd":function(n,i,s){var o=s("825a");n.exports=function(l,c,f,g){try{return g?c(o(f)[0],f[1]):c(f)}catch(p){var u=l.return;throw u!==void 0&&o(u.call(l)),p}}},"9bf2":function(n,i,s){var o=s("83ab"),l=s("0cfb"),c=s("825a"),f=s("c04e"),g=Object.defineProperty;i.f=o?g:function(p,d,m){if(c(p),d=f(d,!0),c(m),l)try{return g(p,d,m)}catch(E){}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(p[d]=m.value),p}},"9ed3":function(n,i,s){var o=s("ae93").IteratorPrototype,l=s("7c73"),c=s("5c6c"),f=s("d44e"),g=s("3f8c"),u=function(){return this};n.exports=function(p,d,m){var E=d+" Iterator";return p.prototype=l(o,{next:c(1,m)}),f(p,E,!1,!0),g[E]=u,p}},"9f7f":function(n,i,s){var o=s("d039");function l(c,f){return RegExp(c,f)}i.UNSUPPORTED_Y=o(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),i.BROKEN_CARET=o(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(n,i,s){var o=s("e8b5"),l=s("50c4"),c=s("0366"),f=function(g,u,p,d,m,E,y,S){for(var b=m,A=0,C=y?c(y,S,3):!1,T;A<d;){if(A in p){if(T=C?C(p[A],A,u):p[A],E>0&&o(T))b=f(g,u,T,l(T.length),b,E-1)-1;else{if(b>=9007199254740991)throw TypeError("Exceed the acceptable array length");g[b]=T}b++}A++}return b};n.exports=f},a352:function(n,i){n.exports=a},a434:function(n,i,s){var o=s("23e7"),l=s("23cb"),c=s("a691"),f=s("50c4"),g=s("7b0b"),u=s("65f0"),p=s("8418"),d=s("1dde"),m=s("ae40"),E=d("splice"),y=m("splice",{ACCESSORS:!0,0:0,1:2}),S=Math.max,b=Math.min,A=9007199254740991,C="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!E||!y},{splice:function(F,M){var D=g(this),H=f(D.length),j=l(F,H),B=arguments.length,_,$,O,I,N,x;if(B===0?_=$=0:B===1?(_=0,$=H-j):(_=B-2,$=b(S(c(M),0),H-j)),H+_-$>A)throw TypeError(C);for(O=u(D,$),I=0;I<$;I++)N=j+I,N in D&&p(O,I,D[N]);if(O.length=$,_<$){for(I=j;I<H-$;I++)N=I+$,x=I+_,N in D?D[x]=D[N]:delete D[x];for(I=H;I>H-$+_;I--)delete D[I-1]}else if(_>$)for(I=H-$;I>j;I--)N=I+$-1,x=I+_-1,N in D?D[x]=D[N]:delete D[x];for(I=0;I<_;I++)D[I+j]=arguments[I+2];return D.length=H-$+_,O}})},a4d3:function(n,i,s){var o=s("23e7"),l=s("da84"),c=s("d066"),f=s("c430"),g=s("83ab"),u=s("4930"),p=s("fdbf"),d=s("d039"),m=s("5135"),E=s("e8b5"),y=s("861d"),S=s("825a"),b=s("7b0b"),A=s("fc6a"),C=s("c04e"),T=s("5c6c"),F=s("7c73"),M=s("df75"),D=s("241c"),H=s("057f"),j=s("7418"),B=s("06cf"),_=s("9bf2"),$=s("d1e7"),O=s("9112"),I=s("6eeb"),N=s("5692"),x=s("f772"),P=s("d012"),R=s("90e3"),V=s("b622"),J=s("e538"),Y=s("746f"),X=s("d44e"),re=s("69f3"),Z=s("b727").forEach,ce=x("hidden"),ye="Symbol",be="prototype",Ee=V("toPrimitive"),Se=re.set,k=re.getterFor(ye),z=Object[be],U=l.Symbol,Q=c("JSON","stringify"),ae=B.f,ie=_.f,he=H.f,te=$.f,ue=N("symbols"),fe=N("op-symbols"),Ae=N("string-to-symbol-registry"),pe=N("symbol-to-string-registry"),se=N("wks"),Te=l.QObject,xe=!Te||!Te[be]||!Te[be].findChild,Ie=g&&d(function(){return F(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a!=7})?function(le,ee,ne){var me=ae(z,ee);me&&delete z[ee],ie(le,ee,ne),me&&le!==z&&ie(z,ee,me)}:ie,we=function(le,ee){var ne=ue[le]=F(U[be]);return Se(ne,{type:ye,tag:le,description:ee}),g||(ne.description=ee),ne},G=p?function(le){return typeof le=="symbol"}:function(le){return Object(le)instanceof U},L=function(ee,ne,me){ee===z&&L(fe,ne,me),S(ee);var ve=C(ne,!0);return S(me),m(ue,ve)?(me.enumerable?(m(ee,ce)&&ee[ce][ve]&&(ee[ce][ve]=!1),me=F(me,{enumerable:T(0,!1)})):(m(ee,ce)||ie(ee,ce,T(1,{})),ee[ce][ve]=!0),Ie(ee,ve,me)):ie(ee,ve,me)},W=function(ee,ne){S(ee);var me=A(ne),ve=M(me).concat(ge(me));return Z(ve,function(Pe){(!g||q.call(me,Pe))&&L(ee,Pe,me[Pe])}),ee},K=function(ee,ne){return ne===void 0?F(ee):W(F(ee),ne)},q=function(ee){var ne=C(ee,!0),me=te.call(this,ne);return this===z&&m(ue,ne)&&!m(fe,ne)?!1:me||!m(this,ne)||!m(ue,ne)||m(this,ce)&&this[ce][ne]?me:!0},oe=function(ee,ne){var me=A(ee),ve=C(ne,!0);if(!(me===z&&m(ue,ve)&&!m(fe,ve))){var Pe=ae(me,ve);return Pe&&m(ue,ve)&&!(m(me,ce)&&me[ce][ve])&&(Pe.enumerable=!0),Pe}},de=function(ee){var ne=he(A(ee)),me=[];return Z(ne,function(ve){!m(ue,ve)&&!m(P,ve)&&me.push(ve)}),me},ge=function(ee){var ne=ee===z,me=he(ne?fe:A(ee)),ve=[];return Z(me,function(Pe){m(ue,Pe)&&(!ne||m(z,Pe))&&ve.push(ue[Pe])}),ve};if(u||(U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var ee=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ne=R(ee),me=function(ve){this===z&&me.call(fe,ve),m(this,ce)&&m(this[ce],ne)&&(this[ce][ne]=!1),Ie(this,ne,T(1,ve))};return g&&xe&&Ie(z,ne,{configurable:!0,set:me}),we(ne,ee)},I(U[be],"toString",function(){return k(this).tag}),I(U,"withoutSetter",function(le){return we(R(le),le)}),$.f=q,_.f=L,B.f=oe,D.f=H.f=de,j.f=ge,J.f=function(le){return we(V(le),le)},g&&(ie(U[be],"description",{configurable:!0,get:function(){return k(this).description}}),f||I(z,"propertyIsEnumerable",q,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),Z(M(se),function(le){Y(le)}),o({target:ye,stat:!0,forced:!u},{for:function(le){var ee=String(le);if(m(Ae,ee))return Ae[ee];var ne=U(ee);return Ae[ee]=ne,pe[ne]=ee,ne},keyFor:function(ee){if(!G(ee))throw TypeError(ee+" is not a symbol");if(m(pe,ee))return pe[ee]},useSetter:function(){xe=!0},useSimple:function(){xe=!1}}),o({target:"Object",stat:!0,forced:!u,sham:!g},{create:K,defineProperty:L,defineProperties:W,getOwnPropertyDescriptor:oe}),o({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:de,getOwnPropertySymbols:ge}),o({target:"Object",stat:!0,forced:d(function(){j.f(1)})},{getOwnPropertySymbols:function(ee){return j.f(b(ee))}}),Q){var Ce=!u||d(function(){var le=U();return Q([le])!="[null]"||Q({a:le})!="{}"||Q(Object(le))!="{}"});o({target:"JSON",stat:!0,forced:Ce},{stringify:function(ee,ne,me){for(var ve=[ee],Pe=1,Fe;arguments.length>Pe;)ve.push(arguments[Pe++]);if(Fe=ne,!(!y(ne)&&ee===void 0||G(ee)))return E(ne)||(ne=function(Ne,Me){if(typeof Fe=="function"&&(Me=Fe.call(this,Ne,Me)),!G(Me))return Me}),ve[1]=ne,Q.apply(null,ve)}})}U[be][Ee]||O(U[be],Ee,U[be].valueOf),X(U,ye),P[ce]=!0},a630:function(n,i,s){var o=s("23e7"),l=s("4df4"),c=s("1c7e"),f=!c(function(g){Array.from(g)});o({target:"Array",stat:!0,forced:f},{from:l})},a640:function(n,i,s){var o=s("d039");n.exports=function(l,c){var f=[][l];return!!f&&o(function(){f.call(null,c||function(){throw 1},1)})}},a691:function(n,i){var s=Math.ceil,o=Math.floor;n.exports=function(l){return isNaN(l=+l)?0:(l>0?o:s)(l)}},ab13:function(n,i,s){var o=s("b622"),l=o("match");n.exports=function(c){var f=/./;try{"/./"[c](f)}catch(g){try{return f[l]=!1,"/./"[c](f)}catch(u){}}return!1}},ac1f:function(n,i,s){var o=s("23e7"),l=s("9263");o({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(n,i,s){var o=s("825a");n.exports=function(){var l=o(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(n,i,s){var o=s("83ab"),l=s("d039"),c=s("5135"),f=Object.defineProperty,g={},u=function(p){throw p};n.exports=function(p,d){if(c(g,p))return g[p];d||(d={});var m=[][p],E=c(d,"ACCESSORS")?d.ACCESSORS:!1,y=c(d,0)?d[0]:u,S=c(d,1)?d[1]:void 0;return g[p]=!!m&&!l(function(){if(E&&!o)return!0;var b={length:-1};E?f(b,1,{enumerable:!0,get:u}):b[1]=1,m.call(b,y,S)})}},ae93:function(n,i,s){var o=s("e163"),l=s("9112"),c=s("5135"),f=s("b622"),g=s("c430"),u=f("iterator"),p=!1,d=function(){return this},m,E,y;[].keys&&(y=[].keys(),"next"in y?(E=o(o(y)),E!==Object.prototype&&(m=E)):p=!0),m==null&&(m={}),!g&&!c(m,u)&&l(m,u,d),n.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:p}},b041:function(n,i,s){var o=s("00ee"),l=s("f5df");n.exports=o?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(n,i,s){var o=s("83ab"),l=s("9bf2").f,c=Function.prototype,f=c.toString,g=/^\s*function ([^ (]*)/,u="name";o&&!(u in c)&&l(c,u,{configurable:!0,get:function(){try{return f.call(this).match(g)[1]}catch(p){return""}}})},b622:function(n,i,s){var o=s("da84"),l=s("5692"),c=s("5135"),f=s("90e3"),g=s("4930"),u=s("fdbf"),p=l("wks"),d=o.Symbol,m=u?d:d&&d.withoutSetter||f;n.exports=function(E){return c(p,E)||(g&&c(d,E)?p[E]=d[E]:p[E]=m("Symbol."+E)),p[E]}},b64b:function(n,i,s){var o=s("23e7"),l=s("7b0b"),c=s("df75"),f=s("d039"),g=f(function(){c(1)});o({target:"Object",stat:!0,forced:g},{keys:function(p){return c(l(p))}})},b727:function(n,i,s){var o=s("0366"),l=s("44ad"),c=s("7b0b"),f=s("50c4"),g=s("65f0"),u=[].push,p=function(d){var m=d==1,E=d==2,y=d==3,S=d==4,b=d==6,A=d==5||b;return function(C,T,F,M){for(var D=c(C),H=l(D),j=o(T,F,3),B=f(H.length),_=0,$=M||g,O=m?$(C,B):E?$(C,0):void 0,I,N;B>_;_++)if((A||_ in H)&&(I=H[_],N=j(I,_,D),d)){if(m)O[_]=N;else if(N)switch(d){case 3:return!0;case 5:return I;case 6:return _;case 2:u.call(O,I)}else if(S)return!1}return b?-1:y||S?S:O}};n.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(n,i,s){var o=s("861d");n.exports=function(l,c){if(!o(l))return l;var f,g;if(c&&typeof(f=l.toString)=="function"&&!o(g=f.call(l))||typeof(f=l.valueOf)=="function"&&!o(g=f.call(l))||!c&&typeof(f=l.toString)=="function"&&!o(g=f.call(l)))return g;throw TypeError("Can't convert object to primitive value")}},c430:function(n,i){n.exports=!1},c6b6:function(n,i){var s={}.toString;n.exports=function(o){return s.call(o).slice(8,-1)}},c6cd:function(n,i,s){var o=s("da84"),l=s("ce4e"),c="__core-js_shared__",f=o[c]||l(c,{});n.exports=f},c740:function(n,i,s){var o=s("23e7"),l=s("b727").findIndex,c=s("44d2"),f=s("ae40"),g="findIndex",u=!0,p=f(g);g in[]&&Array(1)[g](function(){u=!1}),o({target:"Array",proto:!0,forced:u||!p},{findIndex:function(m){return l(this,m,arguments.length>1?arguments[1]:void 0)}}),c(g)},c8ba:function(n,i){var s;s=function(){return this}();try{s=s||new Function("return this")()}catch(o){typeof window=="object"&&(s=window)}n.exports=s},c975:function(n,i,s){var o=s("23e7"),l=s("4d64").indexOf,c=s("a640"),f=s("ae40"),g=[].indexOf,u=!!g&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),d=f("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:u||!p||!d},{indexOf:function(E){return u?g.apply(this,arguments)||0:l(this,E,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,i,s){var o=s("5135"),l=s("fc6a"),c=s("4d64").indexOf,f=s("d012");n.exports=function(g,u){var p=l(g),d=0,m=[],E;for(E in p)!o(f,E)&&o(p,E)&&m.push(E);for(;u.length>d;)o(p,E=u[d++])&&(~c(m,E)||m.push(E));return m}},caad:function(n,i,s){var o=s("23e7"),l=s("4d64").includes,c=s("44d2"),f=s("ae40"),g=f("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:!g},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(n,i,s){var o=s("da84"),l=s("861d"),c=o.document,f=l(c)&&l(c.createElement);n.exports=function(g){return f?c.createElement(g):{}}},ce4e:function(n,i,s){var o=s("da84"),l=s("9112");n.exports=function(c,f){try{l(o,c,f)}catch(g){o[c]=f}return f}},d012:function(n,i){n.exports={}},d039:function(n,i){n.exports=function(s){try{return!!s()}catch(o){return!0}}},d066:function(n,i,s){var o=s("428f"),l=s("da84"),c=function(f){return typeof f=="function"?f:void 0};n.exports=function(f,g){return arguments.length<2?c(o[f])||c(l[f]):o[f]&&o[f][g]||l[f]&&l[f][g]}},d1e7:function(n,i,s){var o={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!o.call({1:2},1);i.f=c?function(g){var u=l(this,g);return!!u&&u.enumerable}:o},d28b:function(n,i,s){var o=s("746f");o("iterator")},d2bb:function(n,i,s){var o=s("825a"),l=s("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(f,[]),c=f instanceof Array}catch(u){}return function(p,d){return o(p),l(d),c?g.call(p,d):p.__proto__=d,p}}():void 0)},d3b7:function(n,i,s){var o=s("00ee"),l=s("6eeb"),c=s("b041");o||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(n,i,s){var o=s("9bf2").f,l=s("5135"),c=s("b622"),f=c("toStringTag");n.exports=function(g,u,p){g&&!l(g=p?g:g.prototype,f)&&o(g,f,{configurable:!0,value:u})}},d58f:function(n,i,s){var o=s("1c0b"),l=s("7b0b"),c=s("44ad"),f=s("50c4"),g=function(u){return function(p,d,m,E){o(d);var y=l(p),S=c(y),b=f(y.length),A=u?b-1:0,C=u?-1:1;if(m<2)for(;;){if(A in S){E=S[A],A+=C;break}if(A+=C,u?A<0:b<=A)throw TypeError("Reduce of empty array with no initial value")}for(;u?A>=0:b>A;A+=C)A in S&&(E=d(E,S[A],A,y));return E}};n.exports={left:g(!1),right:g(!0)}},d784:function(n,i,s){s("ac1f");var o=s("6eeb"),l=s("d039"),c=s("b622"),f=s("9263"),g=s("9112"),u=c("species"),p=!l(function(){var S=/./;return S.exec=function(){var b=[];return b.groups={a:"7"},b},"".replace(S,"$<a>")!=="7"}),d=function(){return"a".replace(/./,"$0")==="$0"}(),m=c("replace"),E=function(){return/./[m]?/./[m]("a","$0")==="":!1}(),y=!l(function(){var S=/(?:)/,b=S.exec;S.exec=function(){return b.apply(this,arguments)};var A="ab".split(S);return A.length!==2||A[0]!=="a"||A[1]!=="b"});n.exports=function(S,b,A,C){var T=c(S),F=!l(function(){var _={};return _[T]=function(){return 7},""[S](_)!=7}),M=F&&!l(function(){var _=!1,$=/a/;return S==="split"&&($={},$.constructor={},$.constructor[u]=function(){return $},$.flags="",$[T]=/./[T]),$.exec=function(){return _=!0,null},$[T](""),!_});if(!F||!M||S==="replace"&&!(p&&d&&!E)||S==="split"&&!y){var D=/./[T],H=A(T,""[S],function(_,$,O,I,N){return $.exec===f?F&&!N?{done:!0,value:D.call($,O,I)}:{done:!0,value:_.call(O,$,I)}:{done:!1}},{REPLACE_KEEPS_$0:d,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:E}),j=H[0],B=H[1];o(String.prototype,S,j),o(RegExp.prototype,T,b==2?function(_,$){return B.call(_,this,$)}:function(_){return B.call(_,this)})}C&&g(RegExp.prototype[T],"sham",!0)}},d81d:function(n,i,s){var o=s("23e7"),l=s("b727").map,c=s("1dde"),f=s("ae40"),g=c("map"),u=f("map");o({target:"Array",proto:!0,forced:!g||!u},{map:function(d){return l(this,d,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,i,s){(function(o){var l=function(c){return c&&c.Math==Math&&c};n.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof o=="object"&&o)||Function("return this")()}).call(this,s("c8ba"))},dbb4:function(n,i,s){var o=s("23e7"),l=s("83ab"),c=s("56ef"),f=s("fc6a"),g=s("06cf"),u=s("8418");o({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(d){for(var m=f(d),E=g.f,y=c(m),S={},b=0,A,C;y.length>b;)C=E(m,A=y[b++]),C!==void 0&&u(S,A,C);return S}})},dbf1:function(n,i,s){(function(o){s.d(i,"a",function(){return c});function l(){return typeof window<"u"?window.console:o.console}var c=l()}).call(this,s("c8ba"))},ddb0:function(n,i,s){var o=s("da84"),l=s("fdbc"),c=s("e260"),f=s("9112"),g=s("b622"),u=g("iterator"),p=g("toStringTag"),d=c.values;for(var m in l){var E=o[m],y=E&&E.prototype;if(y){if(y[u]!==d)try{f(y,u,d)}catch(b){y[u]=d}if(y[p]||f(y,p,m),l[m]){for(var S in c)if(y[S]!==c[S])try{f(y,S,c[S])}catch(b){y[S]=c[S]}}}}},df75:function(n,i,s){var o=s("ca84"),l=s("7839");n.exports=Object.keys||function(f){return o(f,l)}},e01a:function(n,i,s){var o=s("23e7"),l=s("83ab"),c=s("da84"),f=s("5135"),g=s("861d"),u=s("9bf2").f,p=s("e893"),d=c.Symbol;if(l&&typeof d=="function"&&(!("description"in d.prototype)||d().description!==void 0)){var m={},E=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),F=this instanceof E?new d(T):T===void 0?d():d(T);return T===""&&(m[F]=!0),F};p(E,d);var y=E.prototype=d.prototype;y.constructor=E;var S=y.toString,b=String(d("test"))=="Symbol(test)",A=/^Symbol\((.*)\)[^)]+$/;u(y,"description",{configurable:!0,get:function(){var T=g(this)?this.valueOf():this,F=S.call(T);if(f(m,T))return"";var M=b?F.slice(7,-1):F.replace(A,"$1");return M===""?void 0:M}}),o({global:!0,forced:!0},{Symbol:E})}},e163:function(n,i,s){var o=s("5135"),l=s("7b0b"),c=s("f772"),f=s("e177"),g=c("IE_PROTO"),u=Object.prototype;n.exports=f?Object.getPrototypeOf:function(p){return p=l(p),o(p,g)?p[g]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?u:null}},e177:function(n,i,s){var o=s("d039");n.exports=!o(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(n,i,s){var o=s("fc6a"),l=s("44d2"),c=s("3f8c"),f=s("69f3"),g=s("7dd0"),u="Array Iterator",p=f.set,d=f.getterFor(u);n.exports=g(Array,"Array",function(m,E){p(this,{type:u,target:o(m),index:0,kind:E})},function(){var m=d(this),E=m.target,y=m.kind,S=m.index++;return!E||S>=E.length?(m.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:S,done:!1}:y=="values"?{value:E[S],done:!1}:{value:[S,E[S]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(n,i,s){var o=s("23e7"),l=s("d039"),c=s("fc6a"),f=s("06cf").f,g=s("83ab"),u=l(function(){f(1)}),p=!g||u;o({target:"Object",stat:!0,forced:p,sham:!g},{getOwnPropertyDescriptor:function(m,E){return f(c(m),E)}})},e538:function(n,i,s){var o=s("b622");i.f=o},e893:function(n,i,s){var o=s("5135"),l=s("56ef"),c=s("06cf"),f=s("9bf2");n.exports=function(g,u){for(var p=l(u),d=f.f,m=c.f,E=0;E<p.length;E++){var y=p[E];o(g,y)||d(g,y,m(u,y))}}},e8b5:function(n,i,s){var o=s("c6b6");n.exports=Array.isArray||function(c){return o(c)=="Array"}},e95a:function(n,i,s){var o=s("b622"),l=s("3f8c"),c=o("iterator"),f=Array.prototype;n.exports=function(g){return g!==void 0&&(l.Array===g||f[c]===g)}},f5df:function(n,i,s){var o=s("00ee"),l=s("c6b6"),c=s("b622"),f=c("toStringTag"),g=l(function(){return arguments}())=="Arguments",u=function(p,d){try{return p[d]}catch(m){}};n.exports=o?l:function(p){var d,m,E;return p===void 0?"Undefined":p===null?"Null":typeof(m=u(d=Object(p),f))=="string"?m:g?l(d):(E=l(d))=="Object"&&typeof d.callee=="function"?"Arguments":E}},f772:function(n,i,s){var o=s("5692"),l=s("90e3"),c=o("keys");n.exports=function(f){return c[f]||(c[f]=l(f))}},fb15:function(n,i,s){if(s.r(i),typeof window<"u"){var o=window.document.currentScript;{var l=s("8875");o=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(s.p=c[1])}s("99af"),s("4de4"),s("4160"),s("c975"),s("d81d"),s("a434"),s("159b"),s("a4d3"),s("e439"),s("dbb4"),s("b64b");function f(G,L,W){return L in G?Object.defineProperty(G,L,{value:W,enumerable:!0,configurable:!0,writable:!0}):G[L]=W,G}function g(G,L){var W=Object.keys(G);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(G);L&&(K=K.filter(function(q){return Object.getOwnPropertyDescriptor(G,q).enumerable})),W.push.apply(W,K)}return W}function u(G){for(var L=1;L<arguments.length;L++){var W=arguments[L]!=null?arguments[L]:{};L%2?g(Object(W),!0).forEach(function(K){f(G,K,W[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(G,Object.getOwnPropertyDescriptors(W)):g(Object(W)).forEach(function(K){Object.defineProperty(G,K,Object.getOwnPropertyDescriptor(W,K))})}return G}function p(G){if(Array.isArray(G))return G}s("e01a"),s("d28b"),s("e260"),s("d3b7"),s("3ca3"),s("ddb0");function d(G,L){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(G)))){var W=[],K=!0,q=!1,oe=void 0;try{for(var de=G[Symbol.iterator](),ge;!(K=(ge=de.next()).done)&&(W.push(ge.value),!(L&&W.length===L));K=!0);}catch(Ce){q=!0,oe=Ce}finally{try{!K&&de.return!=null&&de.return()}finally{if(q)throw oe}}return W}}s("a630"),s("fb6a"),s("b0c0"),s("25f0");function m(G,L){(L==null||L>G.length)&&(L=G.length);for(var W=0,K=new Array(L);W<L;W++)K[W]=G[W];return K}function E(G,L){if(G){if(typeof G=="string")return m(G,L);var W=Object.prototype.toString.call(G).slice(8,-1);if(W==="Object"&&G.constructor&&(W=G.constructor.name),W==="Map"||W==="Set")return Array.from(G);if(W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W))return m(G,L)}}function y(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(G,L){return p(G)||d(G,L)||E(G,L)||y()}function b(G){if(Array.isArray(G))return m(G)}function A(G){if(typeof Symbol<"u"&&Symbol.iterator in Object(G))return Array.from(G)}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(G){return b(G)||A(G)||E(G)||C()}var F=s("a352"),M=s.n(F);function D(G){G.parentElement!==null&&G.parentElement.removeChild(G)}function H(G,L,W){var K=W===0?G.children[0]:G.children[W-1].nextSibling;G.insertBefore(L,K)}var j=s("dbf1");s("13d5"),s("4fad"),s("ac1f"),s("5319");function B(G){var L=Object.create(null);return function(K){var q=L[K];return q||(L[K]=G(K))}}var _=/-(\w)/g,$=B(function(G){return G.replace(_,function(L,W){return W.toUpperCase()})});s("5db7"),s("73d9");var O=["Start","Add","Remove","Update","End"],I=["Choose","Unchoose","Sort","Filter","Clone"],N=["Move"],x=[N,O,I].flatMap(function(G){return G}).map(function(G){return"on".concat(G)}),P={manage:N,manageAndEmit:O,emit:I};function R(G){return x.indexOf(G)!==-1}s("caad"),s("2ca0");var V=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function J(G){return V.includes(G)}function Y(G){return["transition-group","TransitionGroup"].includes(G)}function X(G){return["id","class","role","style"].includes(G)||G.startsWith("data-")||G.startsWith("aria-")||G.startsWith("on")}function re(G){return G.reduce(function(L,W){var K=S(W,2),q=K[0],oe=K[1];return L[q]=oe,L},{})}function Z(G){var L=G.$attrs,W=G.componentData,K=W===void 0?{}:W,q=re(Object.entries(L).filter(function(oe){var de=S(oe,2),ge=de[0];return de[1],X(ge)}));return u(u({},q),K)}function ce(G){var L=G.$attrs,W=G.callBackBuilder,K=re(ye(L));Object.entries(W).forEach(function(oe){var de=S(oe,2),ge=de[0],Ce=de[1];P[ge].forEach(function(le){K["on".concat(le)]=Ce(le)})});var q="[data-draggable]".concat(K.draggable||"");return u(u({},K),{},{draggable:q})}function ye(G){return Object.entries(G).filter(function(L){var W=S(L,2),K=W[0];return W[1],!X(K)}).map(function(L){var W=S(L,2),K=W[0],q=W[1];return[$(K),q]}).filter(function(L){var W=S(L,2),K=W[0];return W[1],!R(K)})}s("c740");function be(G,L){if(!(G instanceof L))throw new TypeError("Cannot call a class as a function")}function Ee(G,L){for(var W=0;W<L.length;W++){var K=L[W];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(G,K.key,K)}}function Se(G,L,W){return L&&Ee(G.prototype,L),W&&Ee(G,W),G}var k=function(L){var W=L.el;return W},z=function(L,W){return L.__draggable_context=W},U=function(L){return L.__draggable_context},Q=function(){function G(L){var W=L.nodes,K=W.header,q=W.default,oe=W.footer,de=L.root,ge=L.realList;be(this,G),this.defaultNodes=q,this.children=[].concat(T(K),T(q),T(oe)),this.externalComponent=de.externalComponent,this.rootTransition=de.transition,this.tag=de.tag,this.realList=ge}return Se(G,[{key:"render",value:function(W,K){var q=this.tag,oe=this.children,de=this._isRootComponent,ge=de?{default:function(){return oe}}:oe;return W(q,K,ge)}},{key:"updated",value:function(){var W=this.defaultNodes,K=this.realList;W.forEach(function(q,oe){z(k(q),{element:K[oe],index:oe})})}},{key:"getUnderlyingVm",value:function(W){return U(W)}},{key:"getVmIndexFromDomIndex",value:function(W,K){var q=this.defaultNodes,oe=q.length,de=K.children,ge=de.item(W);if(ge===null)return oe;var Ce=U(ge);if(Ce)return Ce.index;if(oe===0)return 0;var le=k(q[0]),ee=T(de).findIndex(function(ne){return ne===le});return W<ee?0:oe}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),G}(),ae=s("8bbf");function ie(G,L){var W=G[L];return W?W():[]}function he(G){var L=G.$slots,W=G.realList,K=G.getKey,q=W||[],oe=["header","footer"].map(function(ne){return ie(L,ne)}),de=S(oe,2),ge=de[0],Ce=de[1],le=L.item;if(!le)throw new Error("draggable element must have an item slot");var ee=q.flatMap(function(ne,me){return le({element:ne,index:me}).map(function(ve){return ve.key=K(ne),ve.props=u(u({},ve.props||{}),{},{"data-draggable":!0}),ve})});if(ee.length!==q.length)throw new Error("Item slot must have only one child");return{header:ge,footer:Ce,default:ee}}function te(G){var L=Y(G),W=!J(G)&&!L;return{transition:L,externalComponent:W,tag:W?Object(ae.resolveComponent)(G):L?ae.TransitionGroup:G}}function ue(G){var L=G.$slots,W=G.tag,K=G.realList,q=G.getKey,oe=he({$slots:L,realList:K,getKey:q}),de=te(W);return new Q({nodes:oe,root:de,realList:K})}function fe(G,L){var W=this;Object(ae.nextTick)(function(){return W.$emit(G.toLowerCase(),L)})}function Ae(G){var L=this;return function(W,K){if(L.realList!==null)return L["onDrag".concat(G)](W,K)}}function pe(G){var L=this,W=Ae.call(this,G);return function(K,q){W.call(L,K,q),fe.call(L,G,K)}}var se=null,Te={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(L){return L}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},xe=["update:modelValue","change"].concat(T([].concat(T(P.manageAndEmit),T(P.emit)).map(function(G){return G.toLowerCase()}))),Ie=Object(ae.defineComponent)({name:"draggable",inheritAttrs:!1,props:Te,emits:xe,data:function(){return{error:!1}},render:function(){try{this.error=!1;var L=this.$slots,W=this.$attrs,K=this.tag,q=this.componentData,oe=this.realList,de=this.getKey,ge=ue({$slots:L,tag:K,realList:oe,getKey:de});this.componentStructure=ge;var Ce=Z({$attrs:W,componentData:q});return ge.render(ae.h,Ce)}catch(le){return this.error=!0,Object(ae.h)("pre",{style:{color:"red"}},le.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&j.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var L=this;if(!this.error){var W=this.$attrs,K=this.$el,q=this.componentStructure;q.updated();var oe=ce({$attrs:W,callBackBuilder:{manageAndEmit:function(Ce){return pe.call(L,Ce)},emit:function(Ce){return fe.bind(L,Ce)},manage:function(Ce){return Ae.call(L,Ce)}}}),de=K.nodeType===1?K:K.parentElement;this._sortable=new M.a(de,oe),this.targetDomElement=de,de.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var L=this.list;return L||this.modelValue},getKey:function(){var L=this.itemKey;return typeof L=="function"?L:function(W){return W[L]}}},watch:{$attrs:{handler:function(L){var W=this._sortable;W&&ye(L).forEach(function(K){var q=S(K,2),oe=q[0],de=q[1];W.option(oe,de)})},deep:!0}},methods:{getUnderlyingVm:function(L){return this.componentStructure.getUnderlyingVm(L)||null},getUnderlyingPotencialDraggableComponent:function(L){return L.__draggable_component__},emitChanges:function(L){var W=this;Object(ae.nextTick)(function(){return W.$emit("change",L)})},alterList:function(L){if(this.list){L(this.list);return}var W=T(this.modelValue);L(W),this.$emit("update:modelValue",W)},spliceList:function(){var L=arguments,W=function(q){return q.splice.apply(q,T(L))};this.alterList(W)},updatePosition:function(L,W){var K=function(oe){return oe.splice(W,0,oe.splice(L,1)[0])};this.alterList(K)},getRelatedContextFromMoveEvent:function(L){var W=L.to,K=L.related,q=this.getUnderlyingPotencialDraggableComponent(W);if(!q)return{component:q};var oe=q.realList,de={list:oe,component:q};if(W!==K&&oe){var ge=q.getUnderlyingVm(K)||{};return u(u({},ge),de)}return de},getVmIndexFromDomIndex:function(L){return this.componentStructure.getVmIndexFromDomIndex(L,this.targetDomElement)},onDragStart:function(L){this.context=this.getUnderlyingVm(L.item),L.item._underlying_vm_=this.clone(this.context.element),se=L.item},onDragAdd:function(L){var W=L.item._underlying_vm_;if(W!==void 0){D(L.item);var K=this.getVmIndexFromDomIndex(L.newIndex);this.spliceList(K,0,W);var q={element:W,newIndex:K};this.emitChanges({added:q})}},onDragRemove:function(L){if(H(this.$el,L.item,L.oldIndex),L.pullMode==="clone"){D(L.clone);return}var W=this.context,K=W.index,q=W.element;this.spliceList(K,1);var oe={element:q,oldIndex:K};this.emitChanges({removed:oe})},onDragUpdate:function(L){D(L.item),H(L.from,L.item,L.oldIndex);var W=this.context.index,K=this.getVmIndexFromDomIndex(L.newIndex);this.updatePosition(W,K);var q={element:this.context.element,oldIndex:W,newIndex:K};this.emitChanges({moved:q})},computeFutureIndex:function(L,W){if(!L.element)return 0;var K=T(W.to.children).filter(function(ge){return ge.style.display!=="none"}),q=K.indexOf(W.related),oe=L.component.getVmIndexFromDomIndex(q),de=K.indexOf(se)!==-1;return de||!W.willInsertAfter?oe:oe+1},onDragMove:function(L,W){var K=this.move,q=this.realList;if(!K||!q)return!0;var oe=this.getRelatedContextFromMoveEvent(L),de=this.computeFutureIndex(oe,L),ge=u(u({},this.context),{},{futureIndex:de}),Ce=u(u({},L),{},{relatedContext:oe,draggedContext:ge});return K(Ce,W)},onDragEnd:function(){se=null}}}),we=Ie;i.default=we},fb6a:function(n,i,s){var o=s("23e7"),l=s("861d"),c=s("e8b5"),f=s("23cb"),g=s("50c4"),u=s("fc6a"),p=s("8418"),d=s("b622"),m=s("1dde"),E=s("ae40"),y=m("slice"),S=E("slice",{ACCESSORS:!0,0:0,1:2}),b=d("species"),A=[].slice,C=Math.max;o({target:"Array",proto:!0,forced:!y||!S},{slice:function(F,M){var D=u(this),H=g(D.length),j=f(F,H),B=f(M===void 0?H:M,H),_,$,O;if(c(D)&&(_=D.constructor,typeof _=="function"&&(_===Array||c(_.prototype))?_=void 0:l(_)&&(_=_[b],_===null&&(_=void 0)),_===Array||_===void 0))return A.call(D,j,B);for($=new(_===void 0?Array:_)(C(B-j,0)),O=0;j<B;j++,O++)j in D&&p($,O,D[j]);return $.length=O,$}})},fc6a:function(n,i,s){var o=s("44ad"),l=s("1d80");n.exports=function(c){return o(l(c))}},fdbc:function(n,i){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,i,s){var o=s("4930");n.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(vuedraggable_umd);var vuedraggable_umdExports=vuedraggable_umd.exports;const Draggable=getDefaultExportFromCjs(vuedraggable_umdExports),assignStudent="_assignStudent_1x76e_1",studentListGroup="_studentListGroup_1x76e_4",selectStudentGroup="_selectStudentGroup_1x76e_5",searchSection="_searchSection_1x76e_11",searchSpace="_searchSpace_1x76e_14",studentSection="_studentSection_1x76e_21",checkboxAll="_checkboxAll_1x76e_24",nums="_nums_1x76e_34",student="_student_1x76e_4",loadingSection="_loadingSection_1x76e_43",studentItem="_studentItem_1x76e_46",studentInfo="_studentInfo_1x76e_58",studentImg="_studentImg_1x76e_63",studentValue="_studentValue_1x76e_69",userInfo="_userInfo_1x76e_72",name="_name_1x76e_76",iconMember="_iconMember_1x76e_87",className="_className_1x76e_95",phone="_phone_1x76e_106",selectCount="_selectCount_1x76e_112",hide="_hide_1x76e_141",iconClose="_iconClose_1x76e_144",btnGroup="_btnGroup_1x76e_167",styles$6={assignStudent,studentListGroup,selectStudentGroup,searchSection,searchSpace,studentSection,checkboxAll,nums,student,loadingSection,studentItem,studentInfo,studentImg,studentValue,userInfo,name,iconMember,className,phone,selectCount,hide,iconClose,btnGroup};function _isSlot$1(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode(e)}const AssignStudent=defineComponent({name:"assign-student",props:{classList:{type:Array,default:()=>[]},studentList:{type:Array,default:()=>[]},currentGradeNum:{type:[String||Number],default:""},selectIds:{type:Array,default:()=>[]},classGroupId:{type:String,default:""}},emits:["close","confirm"],setup(e,{emit:t}){const r=useCatchStore(),a=reactive({studentName:"",loading:!1,finshed:!1,checkAllStatus:!1,indeterminate:!1,searchFrom:{upgradeFlag:!0,currentGradeNum:e.currentGradeNum||"",gradeYear:null,classGroupId:e.classGroupId||"",subjectId:"",keyword:""},pagination:{page:1,rows:20,pageTotal:0},tableList:[],checkboxIds:[],selectStudents:[],selectKeyword:"",popSelectYearList:[]}),n=async()=>{try{const{data:u}=await getGradeYearList(),p=u||[];p.forEach(d=>{d.name=d.name+"学年"}),a.popSelectYearList=p||[],p.length>0&&!a.searchFrom.gradeYear&&(a.searchFrom.gradeYear=p[0].id)}catch(u){}},i=async()=>{try{a.pagination.page===1&&(a.loading=!0,a.tableList=[]);const{data:u}=await getStudentList({...a.searchFrom,...a.pagination});a.loading=!1;const p=u.rows||[];a.tableList.push(...p),a.finshed=u.pages<=u.current,c()}catch(u){a.loading=!1}},s=()=>{a.pagination.page=1,i()},o=computed(()=>{let u=!0;return a.selectStudents.forEach(p=>{p.hide||(u=!1)}),u}),l=useThrottleFn(()=>{a.pagination.page=a.pagination.page+1,i()},500),c=()=>{if(a.checkboxIds.length<=0||a.tableList.length<=0){a.indeterminate=!1,a.checkAllStatus=!1;return}let u=0;a.tableList.forEach(p=>{a.checkboxIds.includes(p.id)&&(u++,a.selectStudents.findIndex(m=>m.id===p.id)===-1&&a.selectStudents.push(p))}),u>=a.tableList.length?(a.checkAllStatus=!0,a.indeterminate=!1):(a.checkAllStatus=!1,a.indeterminate=!0)},f=u=>{const p=a.checkboxIds.findIndex(d=>d===u.id);if(p!==-1){a.checkboxIds.splice(p,1);const d=a.selectStudents.findIndex(m=>m.id===u.id);d!==-1&&a.selectStudents.splice(d,1),c()}},g=()=>{const u=[];a.selectStudents.forEach(p=>{u.push({id:p.id,name:p.nickname,avatar:p.avatar})}),t("confirm",u)};return onMounted(async()=>{var u;a.checkboxIds=e.selectIds||[],a.loading=!0,await r.getSubjects(),await n(),await i(),a.selectStudents=(u=e.studentList)==null?void 0:u.map(p=>({...p,nickname:p.name}))}),()=>{let u;return createVNode("div",{class:styles$6.assignStudent},[createVNode("div",{class:styles$6.studentListGroup},[createVNode("div",{class:styles$6.searchSection},[createVNode("div",{class:styles$6.searchSpace},[createVNode(NSelect,{placeholder:"全部班级",disabled:!!e.classGroupId,value:a.searchFrom.classGroupId,"onUpdate:value":[p=>a.searchFrom.classGroupId=p,()=>s()],options:[{label:"全部班级",value:""},...e.classList]},null),createVNode(NSelect,{options:[{label:"全部声部",value:""},...r.getSubjectList],placeholder:"全部声部",value:a.searchFrom.subjectId,"onUpdate:value":[p=>a.searchFrom.subjectId=p,()=>s()]},null)]),createVNode(SearchInput,mergeProps({placeholder:"请输入学生姓名/手机号"},{class:styles$6.searchInput,searchWord:a.searchFrom.keyword,onChangeValue:p=>{a.searchFrom.keyword=p},onClear:()=>{a.searchFrom.keyword="",s()},onKeyup:p=>{p.code==="Enter"&&s()}}),null)]),createVNode("div",{class:styles$6.studentSection},[createVNode("div",{class:styles$6.checkboxAll},[createVNode(NCheckbox,{checked:a.checkAllStatus,"onUpdate:checked":[p=>a.checkAllStatus=p,p=>{if(p){const d=[];a.tableList.forEach(m=>{d.push(m.id)}),a.checkboxIds=d}else a.checkboxIds=[],a.selectStudents=[],a.indeterminate=!1;c()}],indeterminate:a.indeterminate},null),createVNode("p",null,[createTextVNode("全选 "),createVNode("span",{class:styles$6.nums},[createTextVNode("("),a.tableList.length,createTextVNode(")")])," ",createTextVNode(":")])])]),createVNode(NScrollbar,{class:styles$6.student,onScroll:p=>{var y,S,b;const d=(y=p.target)==null?void 0:y.clientHeight,m=(S=p.target)==null?void 0:S.scrollTop,E=(b=p.target)==null?void 0:b.scrollHeight;d+m+20>=E&&!a.finshed&&!a.loading&&l()}},{default:()=>[createVNode(NSpin,{show:a.loading,class:styles$6.loadingSection},{default:()=>[createVNode(NCheckboxGroup,{value:a.checkboxIds,"onUpdate:value":[p=>a.checkboxIds=p,()=>{a.selectStudents=[],c()}]},_isSlot$1(u=a.tableList.map(p=>createVNode(NCheckbox,{value:p.id,class:[styles$6.studentItem]},{default:()=>[createVNode("div",{class:styles$6.studentInfo},[createVNode(NAvatar,{src:p.avatar||defultHeade,class:styles$6.studentImg},null),createVNode("div",{class:styles$6.studentValue},[createVNode("div",{class:styles$6.userInfo},[createVNode("span",{class:styles$6.name},[p.nickname]),p.membership&&createVNode("i",{class:styles$6.iconMember},null),p.classGroupName&&createVNode("span",{class:styles$6.className},[p.classGroupName])]),createVNode("div",{class:styles$6.phone},[p.phone])])])]})))?u:{default:()=>[u]}),a.tableList.length<=0&&!a.loading&&createVNode(TheEmpty,null,null)]})]})]),createVNode("div",{class:styles$6.selectStudentGroup},[createVNode("div",{class:styles$6.selectCount},[createTextVNode("当前选中 "),createVNode("span",null,[createTextVNode("("),a.selectStudents.length,createTextVNode(") ")]),createTextVNode(":")]),createVNode("div",{class:styles$6.searchSection},[createVNode(SearchInput,mergeProps({placeholder:"请输入学生姓名"},{class:styles$6.searchInput,searchWord:a.selectKeyword,onChangeValue:p=>{a.selectKeyword=p,a.selectStudents.forEach(d=>{var m;((m=d.nickname)==null?void 0:m.indexOf(p))===-1?d.hide=!0:d.hide=!1})}}),null)]),createVNode(NScrollbar,{class:styles$6.student},{default:()=>[a.selectStudents.map(p=>createVNode("div",{class:[styles$6.studentItem,p.hide&&styles$6.hide]},[createVNode("div",{class:styles$6.studentInfo},[createVNode(NAvatar,{src:p.avatar||defultHeade,class:styles$6.studentImg},null),createVNode("span",{class:styles$6.name},[p.nickname])]),createVNode("i",{class:styles$6.iconClose,onClick:()=>f(p)},null)])),o.value&&createVNode(TheEmpty,null,null)]}),createVNode(NSpace,{justify:"end",class:styles$6.btnGroup},{default:()=>[createVNode(NButton,{type:"default",onClick:()=>t("close")},{default:()=>[createTextVNode("取消")]}),createVNode(NButton,{type:"primary",onClick:g},{default:()=>[createTextVNode("保存")]})]})])])}}}),AssignHomework=defineComponent({name:"assign-homework",props:{classGroupId:{type:String,default:""},courseScheduleId:{type:String,default:""},chapterLessonCoursewareId:{type:String,default:""},item:{type:Object,default:()=>({})},trainList:{type:Array,default:()=>[]},homeworkType:{type:String,default:"CLASSWORK"}},emits:["close","confirm"],setup(e,{emit:t}){const r=useMessage(),a=usePrepareStore(),n=reactive({currentTime:dayjs(dayjs().format("YYYY-MM-DD")).valueOf(),homeworkObj:"CLASS",homeworkType:e.homeworkType,workVisiable:!1,id:null,uploading:!1,title:e.item.title,courseScheduleId:e.courseScheduleId||null,chapterLessonCoursewareId:e.chapterLessonCoursewareId||null,gradeList:[],classList:[],currentGradeNum:null,expireDate:dayjs().add(7,"day").format("YYYY-MM-DD HH:mm"),classGroupId:null,studentList:[],selectIds:[]}),i=ref(),s=async()=>{try{const c=e.classGroupId||a.getClassGroupId,{data:f}=await classGroupList({upgradeFlag:!0}),g=f||[],u=[];g.forEach(p=>{const d=[];p.classGroupList.forEach(m=>{d.push({label:m.currentClass+"班",value:m.id,lastStudy:m.lastStudy,preStudentNum:m.preStudentNum}),m.id===c&&(n.currentGradeNum=m.currentGradeNum,n.classGroupId=[m.id])}),u.push({label:gradeToCN[p.currentGradeNum],value:p.currentGradeNum,childrens:d})}),n.gradeList=u,n.currentGradeNum&&o()}catch(c){}},o=async()=>{try{n.gradeList.forEach(c=>{c.value===n.currentGradeNum&&(n.classList=c.childrens)})}catch(c){}},l=async()=>{var c;(c=i.value)==null||c.validate(async f=>{if(!f){n.uploading=!0;try{const g=e.item.lessonPreTrainingDetails||[],u=[];g.forEach(d=>{u.push({trainingType:d.trainingType,musicId:d.musicId,trainingConfigJsonObject:d.trainingConfigJson})});const p={name:n.title,homeworkObj:n.homeworkObj,homeworkType:n.homeworkType,lessonTrainingDetails:u,expireDate:dayjs(n.expireDate).format("YYYY-MM-DD HH:mm:ss"),classGroupId:n.classGroupId?n.classGroupId.join(","):null,studentIds:null,courseScheduleId:n.courseScheduleId,chapterLessonCoursewareId:n.chapterLessonCoursewareId};if(n.homeworkObj==="PERSON"){p.classGroupId="";const d=[];n.studentList.forEach(m=>{d.push(m.id)}),p.studentIds=d.join(",")}await lessonTrainingAdd(p),r.success("布置成功"),t("close"),t("confirm")}catch(g){}n.uploading=!1}})};return onMounted(async()=>{await s()}),()=>createVNode("div",{class:styles$7.assignHomeworkContainer},[createVNode(NForm,{ref:i,model:n,labelAlign:"right",labelWidth:"auto",labelPlacement:"left"},{default:()=>[createVNode(NFormItem,{label:"布置方式",path:"homeworkObj",rule:[{required:!0,message:"请选择布置方式"}]},{default:()=>[createVNode(NSpace,null,{default:()=>[createVNode(NButton,{secondary:!0,class:[styles$7.switch,n.homeworkObj==="CLASS"?styles$7.active:""],onClick:()=>n.homeworkObj="CLASS"},{default:()=>[createTextVNode("按班级布置")]}),createVNode(NButton,{secondary:!0,class:[styles$7.switch,n.homeworkObj==="PERSON"?styles$7.active:""],onClick:()=>n.homeworkObj="PERSON"},{default:()=>[createTextVNode("按学生布置")]})]})]}),createVNode(NFormItem,{label:"作业标题",path:"title",rule:[{required:!0,message:"请输入作业标题",trigger:"blur"}]},{default:()=>[createVNode(NInput,{value:n.title,"onUpdate:value":c=>n.title=c,placeholder:"请选择作业标题",clearable:!0},null)]}),createVNode(NFormItem,{label:"年级",path:"currentGradeNum",rule:[{required:!0,message:"请选择年级",trigger:"change",type:"number"}]},{default:()=>[createVNode(NSelect,{disabled:!!e.classGroupId,value:n.currentGradeNum,"onUpdate:value":[c=>n.currentGradeNum=c,()=>{n.classGroupId=null,o()}],placeholder:"请选择年级",options:n.gradeList,clearable:!0},null)]}),n.homeworkObj==="CLASS"?createVNode(NFormItem,{label:"班级",path:"classGroupId",rule:[{required:!0,message:"请选择班级",trigger:"change",type:"array"}]},{default:()=>[createVNode(NSelect,{disabled:!!e.classGroupId,options:n.classList,value:n.classGroupId,"onUpdate:value":c=>n.classGroupId=c,placeholder:"请选择班级",clearable:!0,multiple:!0},null)]}):createVNode(NFormItem,{label:"学生",path:"studentList",rule:[{required:!0,message:"请选择学生",trigger:"change",type:"array"}],class:styles$7.studentSection},{default:()=>[createVNode("span",{class:[styles$7.selectStudentBtn,!n.currentGradeNum&&styles$7.disabled],onClick:()=>{if(!n.currentGradeNum)return;const c=[];n.studentList.forEach(f=>{c.push(f.id)}),n.selectIds=c,n.workVisiable=!0}},[createTextVNode("选择学生")]),n.studentList.length>0&&createVNode(NScrollbar,{class:styles$7.studentList},{default:()=>[createVNode("span",{class:styles$7.firstName},[createTextVNode("当前选中("),n.studentList.length||0,createTextVNode("):")]),n.studentList.map((c,f)=>createVNode("span",{class:styles$7.studentItem},[c.name," ",createVNode("i",{class:styles$7.iconDelete,onClick:()=>{n.studentList.splice(f,1)}},null)]))]})]}),createVNode(NFormItem,{label:"截止时间",path:"expireDate",rule:[{required:!0,message:"请选择截止时间",trigger:"change"}]},{default:()=>[createVNode(NDatePicker,{"formatted-value":n.expireDate,"onUpdate:formatted-value":c=>n.expireDate=c,type:"datetime",clearable:!0,format:"yyyy-MM-dd HH:mm",style:{width:"100%"},isDateDisabled:c=>c<n.currentTime},null)]}),createVNode(NSpace,{class:styles$7.updateBtnGroup},{default:()=>[createVNode(NButton,{strong:!0,type:"default",round:!0,onClick:()=>t("close")},{default:()=>[createTextVNode("取消布置")]}),createVNode(NButton,{strong:!0,type:"primary",round:!0,disabled:n.uploading,loading:n.uploading,onClick:l},{default:()=>[createTextVNode("确认布置")]})]})]}),createVNode(NModal,{show:n.workVisiable,"onUpdate:show":c=>n.workVisiable=c,preset:"card",showIcon:!1,class:["modalTitle background"],title:"选择学生",style:{width:"640px"},blockScroll:!1},{default:()=>[createVNode(AssignStudent,{classGroupId:e.classGroupId,currentGradeNum:n.currentGradeNum,selectIds:n.selectIds,studentList:n.studentList,classList:n.classList,onClose:()=>n.workVisiable=!1,onConfirm:c=>{n.studentList=c||[],n.workVisiable=!1}},null)]})])}}),searchGroup$1="_searchGroup_5ue74_1",searchSelect$1="_searchSelect_5ue74_4",inputSearch$1="_inputSearch_5ue74_18",searchBtn$1="_searchBtn_5ue74_22",btnType$1="_btnType_5ue74_28",styles$5={searchGroup:searchGroup$1,searchSelect:searchSelect$1,inputSearch:inputSearch$1,searchBtn:searchBtn$1,btnType:btnType$1},ResourceSearchGroup$1=defineComponent({name:"resource-search-group",props:{type:{type:String,default:"myMusic"}},emits:["search"],setup(e,{emit:t}){const r=useCatchStore(),a=reactive({name:"",musicSheetCategoriesId:null}),n=()=>{t("search",a)},i=useThrottleFn(()=>n(),500);return onMounted(async()=>{await r.getMusicSheetCategory(),await r.getSubjects()}),()=>createVNode(Fragment,null,[createVNode("div",{class:styles$5.searchGroup},[e.type!=="myMusic"&&createVNode("div",{class:styles$5.searchSelect},[createVNode(NSelect,{placeholder:"全部教材",options:[{name:"全部教材",id:null},...r.getMusicCategories],clearable:!0,labelField:"name",valueField:"id",value:a.musicSheetCategoriesId,"onUpdate:value":[s=>a.musicSheetCategoriesId=s,()=>{n()}]},null)]),createVNode(NInput,{type:"text",placeholder:"请输入搜索关键词",clearable:!0,value:a.name,"onUpdate:value":s=>a.name=s,class:styles$5.inputSearch,onKeyup:s=>{s.code==="Enter"&&i()},onClear:()=>{a.name="",i()}},{prefix:()=>createVNode("span",{class:"icon-search-input",onClick:()=>i()},null)})])])}}),listContainer$1="_listContainer_f34ns_1",listNoMusic$1="_listNoMusic_f34ns_5",listSection$1="_listSection_f34ns_8",emptySection$1="_emptySection_f34ns_14",list$1="_list_f34ns_1",trainEditModal$1="_trainEditModal_f34ns_28",styles$4={listContainer:listContainer$1,listNoMusic:listNoMusic$1,listSection:listSection$1,emptySection:emptySection$1,list:list$1,trainEditModal:trainEditModal$1},formatType$1=e=>{if(e==="sahreMusic")return 2;if(e==="myMusic")return 3;if(e==="collectMusic")return 4},typeFormat=(e,t)=>{let r=[];return e==="EVALUATION"?r=["".concat(evaluateDifficult[t.evaluateDifficult]),t.practiceChapterBegin||t.practiceChapterEnd?"".concat(t.practiceChapterBegin,"-").concat(t.practiceChapterEnd,"小节"):"全部小节","".concat(t.trainingTimes,"分合格")]:r=["".concat(t.practiceChapterBegin,"-").concat(t.practiceChapterEnd,"小节"),"速度".concat(t.practiceSpeed),"".concat(t.trainingTimes,"分钟")],r},SelectMusic=defineComponent({name:"share-resources",props:{type:{type:String,default:"myMusic"},cardType:{type:String,default:""}},setup(e){const t=usePrepareStore(),r=reactive({loading:!1,finshed:!1,pagination:{page:1,rows:20},searchGroup:{name:"",type:"MUSIC",musicSheetCategoriesId:"",sourceType:formatType$1(e.type),status:1,versionFlag:!1,musicSubject:null},tableList:[],editStatus:!1,editItem:{},show:!1,item:{}}),a=async()=>{try{if(!t.getSubjectId&&!["homerowk-record","prepare"].includes(e.cardType))return;r.pagination.page===1&&(r.loading=!0);const{data:l}=await materialQueryPage({...r.searchGroup,...r.pagination});r.loading=!1;const c=l.rows||[],f=[];c.forEach(g=>{const u=t.getTrainList.findIndex(p=>p.musicId===g.id);f.push({id:g.id,coverImg:g.coverImg||g.musicSvg,type:"MUSIC",title:g.name,isCollect:!!g.favoriteFlag,isSelected:g.sourceFrom==="PLATFORM",content:g.id,xmlFileUrl:g.xmlFileUrl})}),r.tableList.push(...f),r.finshed=l.pages<=l.current}catch(l){r.loading=!1}},n=async l=>{r.pagination.page=1,r.tableList=[],r.searchGroup=Object.assign(r.searchGroup,l),a()};watch(()=>t.getSubjectId,()=>{n(r.searchGroup)});const i=useThrottleFn(()=>{r.pagination.page=r.pagination.page+1,a()},500),s=async l=>{var g;let c="init",f=null;try{const u=await request$1.get(l.xmlFileUrl,{mode:"cors"});f=(g=new DOMParser().parseFromString(u,"text/xml").getElementsByTagName("part")[0])==null?void 0:g.getElementsByTagName("measure"),c="success"}catch(u){c="error"}c=="success"?l.practiceChapterMax=f.length:l.practiceChapterMax=0,l.coursewareKnowledgeDetailId=t.getSelectKey,l.subjectId=t.getSubjectId,r.editItem=l,r.editStatus=!0},o=async l=>{try{await favorite({materialId:l.id,favoriteFlag:l.isCollect?0:1,type:l.type}),l.isCollect=!l.isCollect}catch(c){}};return onMounted(()=>{a(),eventGlobal.on("onTrainDragItem",(l,c)=>{s(l)})}),()=>createVNode("div",null,[createVNode(ResourceSearchGroup$1,{type:e.type,onSearch:l=>n(l)},null),createVNode(NScrollbar,{class:[styles$4.listContainer,e.type==="myMusic"?styles$4.listNoMusic:""],onScroll:l=>{var u,p,d;const c=(u=l.target)==null?void 0:u.clientHeight,f=(p=l.target)==null?void 0:p.scrollTop,g=(d=l.target)==null?void 0:d.scrollHeight;c+f+20>=g&&!r.finshed&&!r.loading&&i()}},{default:()=>[createVNode(NSpin,{show:r.loading,size:"small"},{default:()=>[createVNode("div",{class:[styles$4.listSection,!r.loading&&r.tableList.length<=0?styles$4.emptySection:""]},[r.tableList.length>0&&createVNode("div",{class:styles$4.list},[r.tableList.map(l=>createVNode(CardType,{isShowAdd:!0,item:l,draggable:!0,isShowCollect:!0,disabledMouseHover:!1,onClick:()=>{l.type!=="IMG"&&(r.show=!0,r.item=l)},onAdd:c=>s(c),onCollect:c=>o(c)},null))]),!r.loading&&r.tableList.length<=0&&createVNode(TheEmpty,null,null)])]})]}),createVNode(CardPreview,{show:r.show,"onUpdate:show":l=>r.show=l,item:r.item},null),createVNode(NModal,{show:r.editStatus,"onUpdate:show":l=>r.editStatus=l,class:["modalTitle background",styles$4.trainEditModal],preset:"card",title:"作业设置"},{default:()=>[createVNode(TrainUpdate,{item:r.editItem,type:"homework",onClose:()=>r.editStatus=!1,onConfirm:l=>{const c=typeFormat(l.trainingType,l.trainingConfigJson),f={...l,id:null,musicName:r.editItem.title,typeList:c};eventGlobal.emit("onTrainAddItem",f)}},null)]})])}}),studentRemove="_studentRemove_rji4n_1",btnGroupModal="_btnGroupModal_rji4n_13",styles$3={studentRemove,btnGroupModal},TheMessageDialog=defineComponent({name:"the-message-dialog",props:{cancelButtonText:{type:String,default:"取消"},confirmButtonText:{type:String,default:"确定"},content:{type:String,default:""},contentDirection:{type:String,default:"center"},loading:{type:Boolean,default:!1}},emits:["close","confirm"],setup(e,{emit:t}){return()=>createVNode("div",{class:styles$3.studentRemove},[createVNode("p",{style:{textAlign:e.contentDirection},innerHTML:e.content},null),createVNode(NSpace,{class:styles$3.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>t("close")},{default:()=>[e.cancelButtonText]}),createVNode(NButton,{round:!0,type:"primary",loading:e.loading,disabled:e.loading,onClick:()=>{t("confirm")}},{default:()=>[e.confirmButtonText]})]})])}}),Train=defineComponent({name:"courseware-modal",props:{lessonPreTraining:{type:Object,default:()=>({})},cardType:{type:String,default:""},classGroupId:{type:String,default:""},coursewareKnowledgeDetailId:{type:String,default:""},courseScheduleId:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){var g;console.log(e.courseScheduleId,"courseScheduleId"),useCatchStore();const r=usePrepareStore(),a=useDialog(),n=useMessage(),i=reactive({title:(g=e.lessonPreTraining)==null?void 0:g.title,preBtnLoading:!1,showAttendClass:!1,list:[],drag:!0,loadingStatus:!1,trainList:[],assignHomeworkStatus:!1,editStatus:!1,editItem:{},removeIds:[],removeVisiable1:!1,preSaveVisiable:!1}),s=async()=>{var u,p;i.loadingStatus=!0;try{if(!((u=e.lessonPreTraining)!=null&&u.id))return i.loadingStatus=!1;const{data:d}=await lessonPreTrainingV2Detail({id:(p=e.lessonPreTraining)==null?void 0:p.id}),m=d.lessonPreTrainingDetails||[],E=[];i.title=d.title,m.forEach(S=>{let b=[];const A=S.trainingConfigJson;S.trainingType==="EVALUATION"?b=["".concat(evaluateDifficult[A.evaluateDifficult]),A.practiceChapterBegin||A.practiceChapterEnd?"".concat(A.practiceChapterBegin,"-").concat(A.practiceChapterEnd,"小节"):"全部小节","".concat(A.trainingTimes,"分合格")]:b=["".concat(A.practiceChapterBegin,"-").concat(A.practiceChapterEnd,"小节"),"速度".concat(A.practiceSpeed),"".concat(A.trainingTimes,"分钟")],E.push({typeList:b||[],...S})}),r.setTrainList(E||[]);const y=[];E.forEach(S=>{i.removeIds.includes(S.id)||y.push(S)}),i.trainList=y||[]}catch(d){}i.loadingStatus=!1};watch(()=>r.getSelectKey,()=>{eventGlobal.emit("teacher-slideshow",!1),t("change",{status:!1}),i.trainList=[],s()});const o=u=>{i.removeIds.push(u.id);const p=i.trainList.findIndex(d=>d.id===u.id);i.trainList.splice(p,1)},l=async u=>{try{a.warning({title:"提示",content:"该训练已下架,是否删除?",positiveText:"确定",negativeText:"取消",onPositiveClick:async()=>{i.removeIds.push(u.id),await lessonPreTrainingDelete({ids:u.id}),n.success("删除成功"),s()}})}catch(p){}},c=async()=>{var u,p;i.preBtnLoading=!0;try{const d=[];i.trainList.forEach(m=>{d.push({trainingType:m.trainingType,musicId:m.musicId,trainingConfigJson:m.trainingConfigJson,musicName:m.musicName})}),await lessonPreTrainingV2Save({title:i.title,id:(u=e.lessonPreTraining)==null?void 0:u.id,coursewareKnowledgeDetailId:e.coursewareKnowledgeDetailId||r.getSelectKey,lessonPreTrainingDetails:d,chapterLessonCoursewareId:(p=e.lessonPreTraining)==null?void 0:p.chapterId}),n.success("保存成功"),r.setIsEditTrain(!1),i.removeIds=[],t("change",{status:!1})}catch(d){}i.preBtnLoading=!1},f=()=>{const u=document.querySelector("#model-homework-height");u&&useResizeObserver(u,p=>{const d=p[0],{height:m}=d.contentRect;u.style.setProperty("--window-page-lesson-height",m+"px")})};return onMounted(async()=>{f(),await s(),eventGlobal.on("onTrainAddItem",u=>{i.drag=!0,u.id=u.id||new Date().getTime()+"__tmp",i.trainList.push(u),r.setTrainList(i.trainList)})}),onUnmounted(()=>{i.trainList=[],r.setTrainList([])}),()=>createVNode("div",{class:styles$7.coursewareModal},[createVNode("div",{class:styles$7.btnGroup},[createVNode(NSpace,null,{default:()=>[createVNode("div",{class:styles$7.btnItem},[createVNode("span",{class:styles$7.btnTitle},[createVNode("i",{style:{color:"#ea4132",fontStyle:"normal"}},[createTextVNode("*")]),createTextVNode("标题:")]),createVNode(NInput,{placeholder:"请输入标题",value:i.title,"onUpdate:value":u=>i.title=u,maxlength:100},null)])]}),createVNode("div",{class:styles$7.spaceBtnGroup},[createVNode(NButton,{bordered:!1,type:"error",disabled:i.trainList.length<=0,onClick:()=>{i.removeVisiable1=!0}},{default:()=>[createTextVNode("清空")]}),createVNode(NButton,{bordered:!1,type:"error",onClick:()=>{r.setIsEditTrain(!1),i.removeIds=[],t("change",{status:!1})}},{default:()=>[createTextVNode("取消")]}),(e.cardType!=="homeworkRecord"||e.courseScheduleId)&&createVNode(NButton,{bordered:!1,type:"default",disabled:i.trainList.length<=0,onClick:()=>{if(!i.title){n.error("请输入标题");return}let u=0;if(i.trainList.forEach(p=>{p.removeFlag||u++}),u<=0){n.error("作业内容不能为空");return}i.preSaveVisiable=!0}},{default:()=>[createTextVNode("保存")]}),(e.cardType==="homeworkRecord"||e.courseScheduleId)&&createVNode(NButton,{type:"primary",disabled:i.trainList.length<=0,onClick:()=>{if(!i.title){n.error("请输入标题");return}let u=0;if(i.trainList.forEach(p=>{p.removeFlag||u++}),u<=0){n.error("作业内容不能为空");return}i.assignHomeworkStatus=!0}},{default:()=>[createTextVNode("立即布置")]})])]),createVNode(NScrollbar,{class:[styles$7.listContainer,"train-container"]},{default:()=>[createVNode(NSpin,{show:i.loadingStatus},{default:()=>[createVNode("div",{class:[styles$7.listSection,"train-listSection",!i.loadingStatus&&r.getTrainList.length<=0?styles$7.emptySection:""],onDragenter:u=>{u.preventDefault()},onDragover:u=>{u.preventDefault()},onDrop:u=>{let p=u.dataTransfer.getData("text");console.log(p,"dropItem",p),p=p?JSON.parse(p):{},p.id&&eventGlobal.emit("onTrainDragItem",p)}},[i.trainList.length>0&&createVNode(Fragment,null,[createVNode(Draggable,{modelValue:i.trainList,"onUpdate:modelValue":u=>i.trainList=u,itemKey:"id",componentData:{itemKey:"id",tag:"div",animation:200,group:"description",disabled:!1},class:styles$7.list},{item:u=>{const p=u.element;return createVNode("div",{"data-id":p.musicId,class:styles$7.itemBlock},[createVNode(TrainType,{item:p,isDelete:!0,type:"prepare",onDelete:d=>o(d),offShelf:!!p.removeFlag,onOffShelf:()=>l(p),onEdit:d=>{const{trainingConfigJson:m,id:E,musicId:y,...S}=d;i.editItem={...S,id:y,trainId:E,...m},i.editStatus=!0}},null)])}})]),!i.loadingStatus&&r.getTrainList.length<=0&&createVNode(TheEmpty,{description:"暂无作业"},null)])]})]}),createVNode(NModal,{show:i.editStatus,"onUpdate:show":u=>i.editStatus=u,class:["modalTitle background",styles$7.trainEditModal],preset:"card",title:"作业设置"},{default:()=>[createVNode(TrainUpdate,{item:i.editItem,onClose:()=>i.editStatus=!1,onConfirm:u=>{i.editItem={};const p=typeFormat(u.trainingType,u.trainingConfigJson),d={...u,typeList:p};i.trainList.forEach(m=>{m.id===d.id&&(m.trainingConfigJson=d.trainingConfigJson,m.trainingType=d.trainingType,m.typeList=d.typeList)}),r.setTrainList(i.trainList)}},null)]}),createVNode(NModal,{show:i.assignHomeworkStatus,"onUpdate:show":u=>i.assignHomeworkStatus=u,preset:"card",showIcon:!1,class:["modalTitle background",styles$7.assignHomework],title:"布置作业",blockScroll:!1},{default:()=>[createVNode(AssignHomework,{classGroupId:e.classGroupId,courseScheduleId:e.courseScheduleId,chapterLessonCoursewareId:e.lessonPreTraining.chapterId,homeworkType:e.courseScheduleId?"HOMEWORK":"CLASSWORK",item:{title:i.title,lessonPreTrainingDetails:i.trainList},onClose:()=>i.assignHomeworkStatus=!1,onConfirm:()=>{e.cardType==="homeworkRecord"&&(i.trainList=[],r.setTrainList([]),t("change",{state:!1}))}},null)]}),createVNode(NModal,{show:i.removeVisiable1,"onUpdate:show":u=>i.removeVisiable1=u,preset:"card",class:["modalTitle",styles$7.removeVisiable1],title:"清空资源"},{default:()=>[createVNode("div",{class:styles$7.studentRemove},[createVNode("p",null,[createTextVNode("请确认是否要清空作业?")]),createVNode(NSpace,{class:styles$7.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,type:"primary",onClick:()=>{i.trainList.forEach(u=>{i.removeIds.push(u.id)}),i.trainList=[],r.setTrainList([]),i.removeVisiable1=!1}},{default:()=>[createTextVNode("确定")]}),createVNode(NButton,{round:!0,onClick:()=>i.removeVisiable1=!1},{default:()=>[createTextVNode("取消")]})]})])]}),createVNode(NModal,{show:i.preSaveVisiable,"onUpdate:show":u=>i.preSaveVisiable=u,preset:"card",class:["modalTitle",styles$7.removeVisiable1],title:"保存"},{default:()=>[createVNode(TheMessageDialog,{content:"是否保存当前页面编辑内容?",cancelButtonText:"取消",confirmButtonText:"保存",onClose:()=>i.preSaveVisiable=!1,onConfirm:()=>c()},null)]})])}}),iconScreen="_iconScreen_1pu5x_40",homerowkTabs="_homerowkTabs_1pu5x_51",selectMusicModal="_selectMusicModal_1pu5x_61",trainEditModal="_trainEditModal_1pu5x_74",styles$2={"resource-main":"_resource-main_1pu5x_1",iconScreen,homerowkTabs,selectMusicModal,trainEditModal},searchGroup="_searchGroup_1vu4z_1",searchSelect="_searchSelect_1vu4z_4",inputSearch="_inputSearch_1vu4z_21",searchBtn="_searchBtn_1vu4z_28",btnType="_btnType_1vu4z_34",styles$1={searchGroup,searchSelect,inputSearch,searchBtn,btnType};function _isSlot(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode(e)}const ResourceSearchGroup=defineComponent({name:"resource-search-group",emits:["search"],props:{type:{type:String,default:"relateResources"}},setup(e,{emit:t}){const r=useCatchStore(),a=reactive({type:"MUSIC",name:"",bookVersionId:null}),n=ref([]),i=()=>{t("search",a)},s=useThrottleFn(()=>i(),500);return onMounted(async()=>{await r.getMusicSheetCategory(),resourceTypeArray.forEach(o=>{n.value.push(o)})}),()=>{let o;return createVNode(Fragment,null,[createVNode("div",{class:styles$1.searchGroup},[createVNode(NSpace,{size:"small",class:styles$1.btnType},_isSlot(o=n.value.map(l=>createVNode(NButton,{type:a.type===l.value?"primary":"default",secondary:a.type!==l.value,round:!0,size:"small",focusable:!1,onClick:()=>{a.type=l.value,s()}},{default:()=>[l.label]})))?o:{default:()=>[o]}),a.type==="MUSIC"&&e.type==="shareResources"&&createVNode("div",{class:styles$1.searchSelect},[createVNode(NSelect,{placeholder:"全部教材",options:[{name:"全部教材",id:null},...r.getMusicCategories],clearable:!0,labelField:"name",valueField:"id",value:a.bookVersionId,"onUpdate:value":[l=>a.bookVersionId=l,()=>{i()}]},null)]),createVNode(NInput,{type:"text",placeholder:"请输入搜索关键词",clearable:!0,value:a.name,"onUpdate:value":l=>a.name=l,class:styles$1.inputSearch,onKeyup:l=>{l.code==="Enter"&&s()},onClear:()=>{a.name="",s()}},{prefix:()=>createVNode("span",{class:"icon-search-input",onClick:()=>s()},null)})])])}}}),listContainer="_listContainer_15hpr_1",listNoMusic="_listNoMusic_15hpr_5",listSection="_listSection_15hpr_8",emptySection="_emptySection_15hpr_14",list="_list_15hpr_1",styles={listContainer,listNoMusic,listSection,emptySection,list},formatType=e=>{if(e==="shareResources")return 2;if(e==="myResources")return 3;if(e==="myCollect")return 4;if(e==="relateResources")return 5},ResourceItem=defineComponent({name:"share-resources",props:{type:{type:String,default:"relateResources"}},setup(e){const t=usePrepareStore();useMessage(),useDialog();const r=reactive({loading:!1,finshed:!1,pagination:{page:1,rows:20},searchGroup:{type:"MUSIC",name:"",bookVersionId:null,subjectId:null,sourceType:formatType(e.type),enableFlag:!0},tableList:[],show:!1,item:{}}),a=async()=>{try{r.pagination.page===1&&(r.loading=!0);const{data:c}=await materialQueryPage({...r.searchGroup,...r.pagination,lessonCoursewareKnowledgeId:e.type==="relateResources"||e.type==="shareResources"?t.getSelectKey:null});r.loading=!1;const f=c.rows||[],g=[];f.forEach(u=>{const p=t.getCoursewareList.findIndex(d=>d.materialId===u.id);g.push({id:u.id,coverImg:u.coverImg,type:u.type,title:u.name,isCollect:!!u.favoriteFlag,isSelected:u.sourceFrom==="PLATFORM",content:u.content})}),r.pagination.page===1?r.tableList=g:r.tableList.push(...g),r.finshed=c.pages<=c.current}catch(c){r.loading=!1}},n=async c=>{r.pagination.page=1,r.tableList=[],r.searchGroup=Object.assign(r.searchGroup,c),a()},i=useDebounceFn(c=>{r.pagination.page=r.pagination.page+1,r.pagination.page=1,r.tableList=[],r.searchGroup=Object.assign(r.searchGroup,c),a()},500);watch(()=>t.getSubjectId,()=>{n(r.searchGroup)});const s=useThrottleFn(()=>{r.pagination.page=r.pagination.page+1,a()},500),o=async c=>{try{eventGlobal.emit("onPrepareAddItem",{materialId:c.id,coverImg:c.coverImg,type:c.type,title:c.title,isCollect:c.isCollect,isSelected:c.isSelected,content:c.content,removeFlag:!1})}catch(f){}},l=async c=>{try{await favorite({materialId:c.id,favoriteFlag:c.isCollect?0:1,type:c.type}),c.isCollect=!c.isCollect}catch(f){}};return onMounted(()=>{a()}),()=>createVNode("div",null,[createVNode(ResourceSearchGroup,{type:e.type,onSearch:c=>{r.searchGroup=Object.assign(r.searchGroup,c),i(c)}},null),createVNode(NScrollbar,{class:[styles.listContainer,"listContainerResource",r.searchGroup.type!=="MUSIC"||["myResources","myCollect","relateResources"].includes(e.type)?[styles.listNoMusic,"listNoMusicResource"]:""],onScroll:c=>{var p,d,m;const f=(p=c.target)==null?void 0:p.clientHeight,g=(d=c.target)==null?void 0:d.scrollTop,u=(m=c.target)==null?void 0:m.scrollHeight;f+g+20>=u&&!r.finshed&&!r.loading&&s()}},{default:()=>[createVNode(NSpin,{show:r.loading,size:"small"},{default:()=>[createVNode("div",{class:[styles.listSection,"listSectionResource",!r.loading&&r.tableList.length<=0?[styles.emptySection,"emptySectionResource"]:""]},[r.tableList.length>0&&createVNode("div",{class:styles.list},[r.tableList.map(c=>createVNode(CardType,{isShowAdd:!0,item:c,isShowCollect:!0,draggable:!0,disabledMouseHover:!1,onClick:()=>{c.type!=="IMG"&&(r.show=!0,r.item=c)},onCollect:f=>l(f),onAdd:f=>o(f)},null))]),!r.loading&&r.tableList.length<=0&&createVNode(TheEmpty,null,null)])]})]}),createVNode(CardPreview,{show:r.show,"onUpdate:show":c=>r.show=c,item:r.item},null)])}}),ResourceMain=defineComponent({name:"resource-main",props:{cardType:{type:String,default:""}},setup(e,{expose:t}){const r=usePrepareStore(),a=reactive({tabType:"relateResources",tabWorkType:"myMusic",selectMusicStatus:!1,selectResourceStatus:!1,editStatus:!1,editItem:{}}),n=ref(),i=ref(),s=async l=>{var g;let c="init",f=null;try{const u=await request$1.get(l.xmlFileUrl,{mode:"cors"});f=(g=new DOMParser().parseFromString(u,"text/xml").getElementsByTagName("part")[0])==null?void 0:g.getElementsByTagName("measure"),c="success"}catch(u){c="error"}c=="success"?l.practiceChapterMax=f.length:l.practiceChapterMax=0,l.coursewareKnowledgeDetailId=r.getSelectKey,l.subjectId=r.getSubjectId,a.editItem=l,a.editStatus=!0},o=()=>{nextTick(()=>{var l,c;(l=n.value)==null||l.syncBarPosition(),(c=i.value)==null||c.syncBarPosition()})};return onMounted(()=>{o()}),t({resetTabPosition:o}),()=>createVNode("div",{class:[styles$2["resource-main"],a.selectMusicStatus||a.selectResourceStatus?styles$2.resourceClose:""]},[r.getTabType==="courseware"&&!["homerowk-record","prepare"].includes(e.cardType)?createVNode(NTabs,{ref:n,animated:!0,class:styles$2.homerowkTabs,value:a.tabType,paneClass:styles$2.paneTitle,paneWrapperClass:styles$2.paneWrapperContainer,"onUpdate:value":l=>{a.tabType=l}},{suffix:()=>createVNode("div",{class:styles$2.iconScreen,onClick:()=>{a.selectResourceStatus=!0,r.setSelectResourceStatus(!0)}},[createVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[createVNode("g",{fill:"none"},[createVNode("path",{d:"M5 6a1 1 0 0 1 1-1h2a1 1 0 0 0 0-2H6a3 3 0 0 0-3 3v2a1 1 0 0 0 2 0V6zm0 12a1 1 0 0 0 1 1h2a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3v-2a1 1 0 1 1 2 0v2zM18 5a1 1 0 0 1 1 1v2a1 1 0 1 0 2 0V6a3 3 0 0 0-3-3h-2a1 1 0 1 0 0 2h2zm1 13a1 1 0 0 1-1 1h-2a1 1 0 1 0 0 2h2a3 3 0 0 0 3-3v-2a1 1 0 1 0-2 0v2z",fill:"#198CFE"},null)])])]),default:()=>createVNode(Fragment,null,[createVNode(NTabPane,{name:"relateResources",tab:"相关资源"},{default:()=>[createVNode(ResourceItem,{type:"relateResources"},null)]}),createVNode(NTabPane,{name:"shareResources",tab:"共享资源"},{default:()=>[createVNode(ResourceItem,{type:"shareResources"},null)]}),createVNode(NTabPane,{name:"myResources",tab:"我的资源"},{default:()=>[createVNode(ResourceItem,{type:"myResources"},null)]}),createVNode(NTabPane,{name:"myCollect",tab:"我的收藏"},{default:()=>[createVNode(ResourceItem,{type:"myCollect"},null)]})])}):createVNode(NTabs,{ref:i,animated:!0,value:a.tabWorkType,paneClass:styles$2.paneTitle,paneWrapperClass:styles$2.paneWrapperContainer,"onUpdate:value":l=>{a.tabWorkType=l}},{suffix:()=>createVNode("div",{class:styles$2.iconScreen,onClick:()=>{a.selectMusicStatus=!0,r.setSelectMusicStatus(!0)}},[createVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},[createVNode("g",{fill:"none"},[createVNode("path",{d:"M5 6a1 1 0 0 1 1-1h2a1 1 0 0 0 0-2H6a3 3 0 0 0-3 3v2a1 1 0 0 0 2 0V6zm0 12a1 1 0 0 0 1 1h2a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3v-2a1 1 0 1 1 2 0v2zM18 5a1 1 0 0 1 1 1v2a1 1 0 1 0 2 0V6a3 3 0 0 0-3-3h-2a1 1 0 1 0 0 2h2zm1 13a1 1 0 0 1-1 1h-2a1 1 0 1 0 0 2h2a3 3 0 0 0 3-3v-2a1 1 0 1 0-2 0v2z",fill:"#198CFE"},null)])])]),default:()=>createVNode(Fragment,null,[createVNode(NTabPane,{name:"myMusic",tab:"我的曲目"},{default:()=>[createVNode(SelectMusic,{cardType:e.cardType,type:"myMusic"},null)]}),createVNode(NTabPane,{name:"sahreMusic",tab:"共享曲目"},{default:()=>[createVNode(SelectMusic,{cardType:e.cardType,type:"sahreMusic"},null)]}),createVNode(NTabPane,{name:"collectMusic",tab:"收藏曲目"},{default:()=>[createVNode(SelectMusic,{cardType:e.cardType,type:"collectMusic"},null)]})])}),createVNode(NModal,{show:a.selectResourceStatus,"onUpdate:show":[l=>a.selectResourceStatus=l,l=>{l||r.setSelectResourceStatus(l)}],class:["modalTitle",styles$2.selectMusicModal],preset:"card",title:"选择资源"},{default:()=>[createVNode(SelectResources,{type:a.tabType},null)]}),createVNode(NModal,{show:a.selectMusicStatus,"onUpdate:show":[l=>a.selectMusicStatus=l,l=>{l||r.setSelectMusicStatus(l)}],class:["modalTitle",styles$2.selectMusicModal],preset:"card",title:"选择曲目"},{default:()=>[createVNode(SelectMusic$1,{onAdd:l=>s(l)},null)]}),createVNode(NModal,{show:a.editStatus,"onUpdate:show":l=>a.editStatus=l,class:["modalTitle background",styles$2.trainEditModal],preset:"card",title:"作业设置"},{default:()=>[createVNode(TrainUpdate,{item:a.editItem,onClose:()=>a.editStatus=!1,onConfirm:l=>{const c=typeFormat(l.trainingType,l.trainingConfigJson),f={...l,id:null,musicName:a.editItem.title,typeList:c};eventGlobal.emit("onTrainAddItem",f)}},null)]})])}}),AttendClass=defineComponent({name:"CoursewarePlay",props:{type:{type:String,default:""},courseId:{type:String,default:""},subjectId:{type:[String,Number],default:""},lessonCourseId:{type:[String,Number],default:""},detailId:{type:String,default:""},classGroupId:{type:String,default:""},classId:{type:String,defaault:""},preStudentNum:{type:[String,Number],default:""}},emits:["close"],setup(e,{emit:t}){const r=useMessage(),a=useRoute(),n=useRouter(),i=useUserStore(),s=reactive({width:"100vw"});onUnmounted(()=>{});const o=reactive({type:"class",courseId:"",subjectId:"",lessonCourseId:"",lessonCoursewareDetailId:"",lessonCoursewareSubjectList:[],detailId:"",classGroupId:"",classId:"",preStudentNum:"",knowledgePointList:[],itemList:[],videoRefs:{},audioRefs:{},modelAttendStatus:!1,modalAttendMessage:"本节课未设置课后作业,是否继续?",modelTrainStatus:!1,selectClassStatus:!1,homeworkStatus:!0,removeVisiable:!1,removeTitle:"",removeContent:"",removeCourseStatus:!1,teacherChapterName:"",lessonPreTrainingId:null,selectResourceStatus:!1,videoState:"init",videoItemRef:null,animationState:"start"}),l=reactive({isAutoPlay:!1,nowTime:0,model:!0,isAnimation:!0,timer:null,item:null});ref(!1);const c=async()=>{try{const k=await api_teacherChapterLessonCoursewareDetail(o.courseId);o.teacherChapterName=k.data.name||"",o.lessonPreTrainingId=k.data.lessonPreTrainingId;const z=k.data.chapterKnowledgeList||[],U=[],Q=[];z.forEach((ae,ie)=>{if(!Array.isArray(ae.chapterKnowledgeMaterialList))return;const he=[];ae.chapterKnowledgeMaterialList.forEach(te=>{te.removeFlag||he.push({id:te.id,materialId:te.bizId,coverImg:te.bizInfo.coverImg,type:te.type,title:te.bizInfo.name,dataJson:te.dataJson,isCollect:!!te.favoriteFlag,isSelected:te.source==="PLATFORM",content:te.bizInfo.content,parentIndex:ie})}),U.push({title:ae.name,list:he}),Q.push(...he)}),console.log(U,"temp",z),o.knowledgePointList=U,o.itemList=Q==null?void 0:Q.map(ae=>({...ae,iframeRef:null,videoEle:null,audioEle:null,autoPlay:k.data.autoPlay||!1,isprepare:!1,isRender:!1})),setTimeout(()=>{o.animationState="end"},500)}catch(k){console.log(k)}},f=ref(!1),g=ref(!1),u=ref(!1),p=k=>{var z,U,Q,ae,ie,he,te,ue;if(((z=k.data)==null?void 0:z.api)==="headerTogge"&&(l.model=k.data.show||k.data.playState!="play"),((U=k.data)==null?void 0:U.api)==="onAttendToggleMenu"&&(l.model=!l.model),((Q=k.data)==null?void 0:Q.api)==="api_fingerPreView"&&(clearInterval(l.timer),l.model=!k.data.state),((ae=k.data)==null?void 0:ae.api)==="documentBodyKeyup"&&(((ie=k.data)==null?void 0:ie.code)==="ArrowLeft"&&(I(),$("up")),((he=k.data)==null?void 0:he.code)==="ArrowRight"&&(I(),$("down"))),((te=k.data)==null?void 0:te.api)==="callBack"&&P(),((ue=k.data)==null?void 0:ue.api)==="onLogin"){const fe=document;fe.exitFullscreen?fe.exitFullscreen():fe.mozCancelFullScreen?fe.mozCancelFullScreen():fe.webkitExitFullscreen&&fe.webkitExitFullscreen(),i.logout(),n.replace("/login")}};onMounted(()=>{const k=a.query;o.type=e.type||k.type,o.courseId=e.courseId||k.courseId,o.subjectId=e.subjectId||k.subjectId,o.detailId=e.detailId||k.detailId,o.lessonCourseId=e.lessonCourseId||k.lessonCourseId,o.classGroupId=e.classGroupId||k.classGroupId,o.classId=e.classId||k.classId,o.preStudentNum=e.preStudentNum||k.preStudentNum,window.addEventListener("message",p),c(),E(),o.type==="preview"&&X.splice(6,1),ye()});const d=reactive({open:!1,activeIndex:0,courseActiveIndex:0,toolOpen:!1,chapterOpen:!1,chapterDetails:[],courseId:null,chapterLoading:!1});watch(()=>[d.open,d.chapterOpen],k=>{setTimeout(()=>{const z=document.querySelectorAll(".n-drawer-container");k[0]||k[1]?z==null||z.forEach(U=>{U.classList.remove("n-drawer-container-relative")}):z==null||z.forEach(U=>{U.classList.add("n-drawer-container-relative")})},200)});const m=(k,z,U=[])=>{for(const Q of z){if(Q.knowledgeList&&Q.knowledgeList.length>0){const ae=m(k,Q.knowledgeList,[...U,Q.id]);if(ae.includes(k))return ae}if(Q.id===k)return[...U,k]}return U},E=async()=>{try{const k=await lessonCoursewareDetail({id:o.lessonCourseId,subjectId:o.subjectId});d.chapterDetails=k.data.lessonList||[];const z=m(o.detailId,d.chapterDetails);o.lessonCoursewareDetailId=z[0],o.lessonCoursewareSubjectList=k.data.subjectList||[]}catch(k){}},y=async()=>{try{if(!o.classId)return;await courseScheduleUpdate({lessonCoursewareKnowledgeDetailId:o.detailId,id:o.classId})}catch(k){}},S=computed(()=>{let k="";return d.chapterDetails.forEach(z=>{var U;z.id===o.lessonCoursewareDetailId&&((U=z.knowledgeList)==null||U.forEach(Q=>{Q.id===o.detailId&&(k=Q.name)}))}),k}),b=(k=!0)=>{var z,U,Q,ae,ie,he,te,ue,fe,Ae;for(let pe=0;pe<o.itemList.length;pe++){const se=o.itemList[pe];if(se.type==="VIDEO"&&se.videoEle)try{k&&((z=se.videoEle)==null||z.currentTime(0)),(U=se.videoEle)==null||U.pause()}catch(Te){}se.type==="SONG"&&se.audioEle&&((Q=se.audioEle)==null||Q.stop()),se.type==="MUSIC"&&((ie=(ae=se.iframeRef)==null?void 0:ae.contentWindow)==null||ie.postMessage({api:"setPlayState"},"*")),(se.type==="INSTRUMENT"||se.type==="MUSICIAN"||se.type==="MUSIC_WIKI")&&((he=se.iframeRef)==null||he.handleChangeAudio("pause")),se.type==="RHYTHM"&&((ue=(te=se.iframeRef)==null?void 0:te.contentWindow)==null||ue.postMessage({api:"setPlayState",data:!1},"*")),se.type==="LISTEN"&&((Ae=(fe=se.iframeRef)==null?void 0:fe.contentWindow)==null||Ae.postMessage({api:"setPlayState"},"*"))}},A=k=>{const z=o.itemList.findIndex(U=>U.id==k);z>-1&&B(z)},C=()=>{clearTimeout(l.timer),r.destroyAll(),l.timer=setTimeout(()=>{l.model=!1,Object.values(o.videoRefs).map(k=>k==null?void 0:k.toggleHideControl(!1)),Object.values(o.audioRefs).map(k=>k==null?void 0:k.toggleHideControl(!1))},4e3)},T=()=>{clearTimeout(l.timer),r.destroyAll(),l.model=!1,Object.values(o.videoRefs).map(k=>k==null?void 0:k.toggleHideControl(!1)),Object.values(o.audioRefs).map(k=>k==null?void 0:k.toggleHideControl(!1))},F=(k=!0)=>{l.model=k,Object.values(o.videoRefs).map(z=>z==null?void 0:z.toggleHideControl(k)),Object.values(o.audioRefs).map(z=>z==null?void 0:z.toggleHideControl(k))},M=k=>{if(k&&k.type==="VIDEO"){const z=k.videoEle;z&&(z.paused?(r.destroyAll(),z.play()):(r.warning("已暂停"),z.pause()))}},D=ref(3),H=[{prev:{transform:"translate3d(0, 0, -800px) rotateX(180deg)"},next:{transform:"translate3d(0, 0, -800px) rotateX(-180deg)"}},{prev:{transform:"translate3d(-100%, 0, -800px)"},next:{transform:"translate3d(100%, 0, -800px)"}},{prev:{transform:"translate3d(-50%, 0, -800px) rotateY(80deg)"},next:{transform:"translate3d(50%, 0, -800px) rotateY(-80deg)"}},{prev:{transform:"translate3d(-100%, 0, -800px) rotateY(-120deg)"},next:{transform:"translate3d(100%, 0, -800px) rotateY(120deg)"}},{prev:{transform:"translate3d(-50%, 50%, -800px) rotateZ(-14deg)",opacity:0},next:{transform:"translate3d(50%, 50%, -800px) rotateZ(14deg)",opacity:0}},{prev:{transform:"translateZ(-800px) rotate3d(0, -1, 0, 90deg)",opacity:0},next:{transform:"translateZ(-800px) rotate3d(0, 1, 0, 90deg)",opacity:0},current:{transitionDelay:"700ms"}}],j=ref(),B=k=>{d.activeIndex!=k&&(o.animationState="start",o.videoState="init",b(),clearTimeout(j.value),l.model=!0,_(d.activeIndex,k),d.activeIndex=k,nextTick(()=>{Ee()}),j.value=setTimeout(()=>{const z=o.itemList[k];z&&(z.type=="MUSIC"&&(l.model=!0),z.type==="SONG"&&(clearTimeout(l.timer),r.destroyAll()),z.type==="VIDEO"&&(clearTimeout(l.timer),r.destroyAll(),nextTick(()=>{var U;z.error&&((U=z.videoEle)==null||U.src(z.content),z.error=!1),o.animationState="end"})),z.type)},l.isAnimation?800:0))},_=(k,z)=>{const U=o.itemList[k],Q=o.itemList[z];if(Q){if(Q.knowledgePointId!=U.knowledgePointId){l.isAnimation=!0;return}const ae=U.videoEle,ie=Q.videoEle;ae&&ae.duration<8&&k<z||ie&&ie.duration<8&&k>z?l.isAnimation=!1:l.isAnimation=!0}else l.isAnimation=!((U==null?void 0:U.adviseStudyTimeSecond)<8)},$=async k=>{var z,U,Q,ae;if(k==="up"){if(d.activeIndex>0){B(d.activeIndex-1);return}let ie=d.chapterDetails.findIndex(pe=>pe.id==o.lessonCoursewareDetailId);const he=((z=d.chapterDetails[ie])==null?void 0:z.knowledgeList)||[];let te=he.findIndex(pe=>pe.id==o.detailId),ue=!1,fe="";for(;te>=0&&(te--,te>=0&&he[te].coursewareNum>0&&(ue=!0,he[te].lessonCoursewareDetailId,fe=he[te].id),!ue););if(ue){d.courseId=fe,o.selectClassStatus=!0;return}let Ae=!1;for(;ie>=0;){ie--;const pe=((U=d.chapterDetails[ie])==null?void 0:U.knowledgeList)||[];let se=pe.length;for(;se>0&&(pe[se-1].coursewareNum>0&&(Ae=!0,pe[se-1].lessonCoursewareDetailId,fe=pe[se-1].id),se--,!Ae););if(Ae)break}if(Ae){d.courseId=fe,o.selectClassStatus=!0;return}}else{if(d.activeIndex<o.itemList.length-1){B(d.activeIndex+1);return}let ie=d.chapterDetails.findIndex(pe=>pe.id==o.lessonCoursewareDetailId);const he=((Q=d.chapterDetails[ie])==null?void 0:Q.knowledgeList)||[];let te=he.findIndex(pe=>pe.id==o.detailId),ue=!1,fe="";for(;te<he.length-1&&(te++,te>=0&&he[te].coursewareNum>0&&(ue=!0,he[te].lessonCoursewareDetailId,fe=he[te].id),!ue););if(ue){d.courseId=fe,o.selectClassStatus=!0;return}let Ae=!1;for(;ie<=d.chapterDetails.length-1;){ie++;const pe=((ae=d.chapterDetails[ie])==null?void 0:ae.knowledgeList)||[];let se=0;for(;se<=pe.length-1&&(pe[se].coursewareNum>0&&(Ae=!0,pe[se].lessonCoursewareDetailId,fe=pe[se].id),se++,!Ae););if(Ae)break}if(Ae){d.courseId=fe,o.selectClassStatus=!0;return}}},O=()=>{var z,U;const k=o.itemList[d.activeIndex];(k==null?void 0:k.type)=="VIDEO"&&!((z=k.videoEle)!=null&&z.paused)&&C(),(k==null?void 0:k.type)=="SONG"&&!((U=k.audioEle)!=null&&U.paused)&&C()};document.body.addEventListener("keyup",k=>{k.code==="ArrowLeft"?(I(),$("up")):k.code==="ArrowRight"?(I(),$("down")):k.code}),watch(()=>d.activeIndex,()=>{const k=o.itemList[d.activeIndex];d.courseActiveIndex=k.parentIndex});const I=(k=!0)=>{clearTimeout(l.timer),l.model=k,Object.values(o.videoRefs).map(z=>z==null?void 0:z.toggleHideControl(k)),Object.values(o.audioRefs).map(z=>z==null?void 0:z.toggleHideControl(k))},N=reactive({type:"",penShow:!1,whiteboardShow:!1,callShow:!1,callStudentList:[]}),x=k=>{switch(b(!1),T(),d.toolOpen=!1,N.type=k.type,k.type){case"pen":N.penShow=!0;break;case"whiteboard":N.whiteboardShow=!0;break;case"call":N.callShow=!0;break}},P=()=>{N.type="init",F(),C()},R=k=>{k=="setTimeIcon"&&(u.value=!0),k=="beatIcon"&&(f.value=!0),k=="toneIcon"&&(g.value=!0)},V=computed(()=>{var ie,he;if(d.activeIndex>0)return!0;let k=d.chapterDetails.findIndex(te=>te.id==o.lessonCoursewareDetailId);const z=((ie=d.chapterDetails[k])==null?void 0:ie.knowledgeList)||[];let U=z.findIndex(te=>te.id==o.detailId);if(k<=0&&U<=0)return!1;let Q=!1;for(;U>=0;)U--,U>=0&&z[U].coursewareNum>0&&(Q=!0);if(Q)return!0;if(k<=0)return!1;let ae=!1;for(;k>=0;){k--;const te=((he=d.chapterDetails[k])==null?void 0:he.knowledgeList)||[];let ue=te.length;for(;ue>0;)te[ue-1].coursewareNum>0&&(ae=!0),ue--;if(ae)return!0}return!1}),J=computed(()=>{var ie,he;if(d.activeIndex<o.itemList.length-1)return!0;let k=d.chapterDetails.findIndex(te=>te.id==o.lessonCoursewareDetailId);const z=((ie=d.chapterDetails[k])==null?void 0:ie.knowledgeList)||[];let U=z.findIndex(te=>te.id==o.detailId);if(k>=d.chapterDetails.length-1&&U>=z.length-1)return!1;let Q=!1;for(;U<z.length-1;)U++,U>=0&&z[U].coursewareNum>0&&(Q=!0);if(Q)return!0;if(k>=d.chapterDetails.length-1)return!1;let ae=!1;for(;k<d.chapterDetails.length-1;){k++;const te=((he=d.chapterDetails[k])==null?void 0:he.knowledgeList)||[];let ue=0;for(;ue<=te.length-1;)te[ue].coursewareNum>0&&(ae=!0),ue++;if(ae)return!0}return!1}),Y=computed(()=>{const k=o.itemList[d.activeIndex];return k&&k.type&&k.type.toLocaleUpperCase()==="VIDEO"?k:{}}),X=reactive([{name:"曲目资源",name2:"曲目资源",icon:rightIconMusic,id:9},{name:"批注",icon:rightIconPostil,id:3},{name:"白板",icon:rightIconWhiteboard,id:4},{name:"节拍器",icon:rightIconMetronome,id:5},{name:"计时器",icon:rightIconTimer,id:7},{name:"点名",icon:rightIconCall,id:10},{name:"布置作业",icon:rightIconArrange,id:2},{name:"结束课程",name2:"结束预览",icon:rightIconEnd,id:1},{name:"收起",icon:rightIconPackUp,id:8}]),re=reactive([{name:"切换章节",icon:bottomIconSwitch,id:1},{name:"资源列表",icon:bottomIconResource,id:2},{name:"上一张",icon:bottomIconPre,id:3},{name:"下一张",icon:bottomIconNext,id:4}]),Z=ref(!1),ce=async k=>{switch(k!==8&&b(!1),k){case 1:if(o.type==="preview")o.removeVisiable=!0,o.removeTitle="结束预览",o.removeContent="请确认是否结束预览?";else{const U=await getStudentAfterWork({courseScheduleId:o.classId,page:1,rows:99});U.data.rows&&U.data.rows.length?(o.removeContent="请确认是否结束课程?",o.removeCourseStatus=!1):(o.removeContent="本次课堂尚未布置作业,是否结束课程?",o.removeCourseStatus=!0),o.removeVisiable=!0,o.removeTitle="结束课程"}break;case 2:if(o.preStudentNum<=0)return;const z=await getStudentAfterWork({courseScheduleId:o.classId,page:1,rows:99});z.data.rows&&z.data.rows.length?(o.modalAttendMessage="本次课程已布置作业,是否继续?",o.modelAttendStatus=!0):(o.modelTrainStatus=!0,nextTick(()=>{Se()}),o.modelAttendStatus=!1);break;case 3:x({type:"pen",icon:iconNote,name:"批注"});break;case 4:x({type:"whiteboard",icon:iconWhite,name:"白板"});break;case 5:R("beatIcon");break;case 6:R("toneIcon");break;case 7:R("setTimeIcon");break;case 8:Z.value=!1;break;case 9:b(!1),o.selectResourceStatus=!0;break;case 10:if(N.callStudentList.length>0){x({type:"call",icon:iconWhite,name:"点名"});return}break}},ye=async()=>{if(o.classId)try{const z=(await getStudentList$1({classGroupId:o.classGroupId,page:1,rows:999})).data||{};if(Array.isArray(z.rows)&&z.rows.length>0){const U=[];z.rows.forEach(Q=>{U.push({name:Q.nickname,img:Q.avatar})}),N.callStudentList=[...U]}}catch(k){}},be=k=>{switch(k){case 1:d.chapterOpen=!0;break;case 2:d.open=!0,nextTick(()=>{Ee()});break;case 3:if(!V.value)return;$("up");break;case 4:if(!J.value)return;$("down");break}},Ee=()=>{const k=document.querySelectorAll(".drawerCardItemRef");d.activeIndex>=0&&k[d.activeIndex]&&k[d.activeIndex].scrollIntoView()},Se=()=>{const k=document.querySelector("#model-homework-height");k&&useResizeObserver(k,z=>{const U=z[0],{height:Q}=U.contentRect;k.style.setProperty("--window-page-lesson-height",Q+"px")})};return()=>createVNode("div",{id:"playContent",class:[styles$l.playContent,"wrap"]},[createVNode("div",{onClick:()=>{clearTimeout(l.timer),l.model=!l.model,Object.values(o.videoRefs).map(k=>k==null?void 0:k.toggleHideControl(l.model)),Object.values(o.audioRefs).map(k=>k==null?void 0:k.toggleHideControl(l.model))}},[createVNode("div",{class:styles$l.coursewarePlay,style:{width:s.width}},[d.chapterLoading?"":createVNode("div",{class:styles$l.wraps},[createVNode("div",{style:Y.value.type&&o.animationState==="end"&&o.videoState==="play"?{zIndex:15,opacity:1}:{opacity:0,zIndex:-1},class:styles$l.itemDiv},[createVNode(VideoPlay,{ref:k=>o.videoItemRef=k,item:Y.value,showModel:l.model,onClose:C,onLoadedmetadata:k=>{o.itemList[d.activeIndex]&&(o.itemList[d.activeIndex].videoEle=k)},onCanplay:()=>{o.videoState="play"},onPause:()=>{clearTimeout(l.timer),l.model=!0},onEnded:()=>{}},null)]),o.itemList.map((k,z)=>{const U=Math.abs(d.activeIndex-z)<2;return Math.abs(d.activeIndex-z)>4,U?createVNode("div",{key:"index"+z,class:[styles$l.itemDiv,d.activeIndex===z&&styles$l.itemActive,l.isAnimation&&styles$l.acitveAnimation,Math.abs(d.activeIndex-z)<2?styles$l.show:styles$l.hide],style:z<d.activeIndex?H[D.value].prev:z>d.activeIndex?H[D.value].next:{},onClick:Q=>{if(Q.stopPropagation(),clearTimeout(l.timer),Date.now()-l.nowTime<300){M(k);return}l.nowTime=Date.now(),l.timer=setTimeout(()=>{l.model=!l.model,Object.values(o.videoRefs).map(ae=>ae==null?void 0:ae.toggleHideControl(l.model)),Object.values(o.audioRefs).map(ae=>ae==null?void 0:ae.toggleHideControl(l.model)),l.model&&C()},300)}},[k.type==="VIDEO"?createVNode(Fragment,null,[createVNode("img",{src:k.coverImg,onLoad:()=>{k.isprepare=!0}},null),createVNode(Transition,{name:"van-fade"},{default:()=>[createVNode("div",{class:styles$l.loadWrap},[createVNode(Vue3Lottie,{animationData:playLoadData},null)])]})]):k.type==="IMG"?createVNode("img",{src:k.content},null):k.type==="SONG"?createVNode(AudioPay,{item:k,activeStatus:d.activeIndex===z,ref:Q=>o.audioRefs[z]=Q,onLoadedmetadata:Q=>{k.audioEle=Q,k.isprepare=!0},onTogglePlay:Q=>{Q||d.open?clearTimeout(l.timer):C()},onEnded:()=>{},onReset:()=>{var Q;(Q=k.audioEle)!=null&&Q.paused||C()}},null):k.type==="PPT"?createVNode("iframe",{src:"https://view.officeapps.live.com/op/embed.aspx?src=".concat(encodeURIComponent(k.content)),width:"100%",height:"100%",frameborder:"1"},null):k.type==="RHYTHM"?createVNode(RhythmModal,{item:k,activeStatus:d.activeIndex===z,onSetIframe:Q=>{k.iframeRef=Q}},null):k.type==="LISTEN"?createVNode(ListenModal,{item:k,"data-vid":k.id,activeStatus:d.activeIndex===z,onSetIframe:Q=>{k.iframeRef=Q}},null):k.type==="INSTRUMENT"||k.type==="MUSICIAN"?createVNode(InstruemntDetail,{type:"preview",id:k.content,contentType:k.type,activeStatus:d.activeIndex===z,ref:Q=>k.iframeRef=Q},null):k.type==="MUSIC_WIKI"?createVNode(MusicDetail,{type:"preview",id:k.content,contentType:k.type,activeStatus:d.activeIndex===z,ref:Q=>k.iframeRef=Q},null):k.type==="THEORY"?createVNode(TheotyDetail,{type:"preview",id:k.content,activeStatus:d.activeIndex===z,ref:Q=>k.iframeRef=Q},null):createVNode(MusicScore,{activeModel:l.model,activeStatus:d.activeIndex===z,"data-vid":k.id,music:k,onSetIframe:Q=>{k.iframeRef=Q}},null)]):null})])])]),createVNode("div",{class:[styles$l.rightColumn,Z.value?"":styles$l.rightColumnHide,N.type!=="init"&&(N.penShow||N.whiteboardShow)?styles$l.rightColumnZ:""]},[X.map((k,z)=>createVNode("div",{class:[styles$l.rightItem,k.id===2&&o.preStudentNum<=0||k.id===10&&N.callStudentList.length<=0?styles$l.itemDisabled:"",k.id===10&&!o.classId?styles$l.itemHide:""],onClick:()=>ce(k.id)},[createVNode(NTooltip,{showArrow:!1,placement:"left"},{trigger:()=>createVNode("img",{src:k.icon},null),default:createVNode(Fragment,null,[z===X.length-2&&o.type==="preview"?k.name2:k.name])})]))]),!Z.value&&createVNode("img",{class:[styles$l.rightHideIcon,Z.value?"":styles$l.rightIconShow],src:rightHideIcon,onClick:()=>Z.value=!0},null),createVNode("div",{class:styles$l.bottomColumn},[re.map((k,z)=>createVNode("div",{class:[styles$l.bottomItem,k.id===3&&!V.value||k.id===4&&!J.value?styles$l.itemDisabled:""],onClick:()=>be(k.id)},[createVNode(NTooltip,{showArrow:!1,placement:"top"},{trigger:()=>createVNode("img",{src:k.icon},null),default:createVNode(Fragment,null,[k.name])})]))]),createVNode(NDrawer,{show:d.open,"onUpdate:show":k=>d.open=k,class:[styles$l.drawerContainer,styles$l.drawerContainerSource],onAfterLeave:O,showMask:!1,blockScroll:!1,trapFocus:!1},{default:()=>[createVNode(NDrawerContent,{closable:!0},{header:()=>createVNode(TheNoticeBar,{text:S.value||"资源列表"},null),default:()=>createVNode(SourceList,{teacherChapterName:o.teacherChapterName,knowledgePointList:o.knowledgePointList,courseActiveIndex:d.courseActiveIndex,activeItem:o.itemList[d.activeIndex],onConfirm:k=>{d.open=!1,A(k.id)}},null)})]}),createVNode(NDrawer,{show:d.chapterOpen,"onUpdate:show":k=>d.chapterOpen=k,class:styles$l.drawerContainer,onAfterLeave:O,showMask:!1,maskClosable:!o.selectClassStatus,blockScroll:!1,trapFocus:!1},{default:()=>[createVNode(NDrawerContent,{title:"切换章节",closable:!0},{default:()=>[createVNode(Chapter,{treeList:d.chapterDetails,itemActive:o.detailId,onHandleSelect:async k=>{d.courseId=k.itemActive,o.selectClassStatus=!0}},null)]})]}),N.penShow&&createVNode(Pen,{show:N.type==="pen",type:N.type,close:()=>P()},null),N.whiteboardShow&&createVNode(Pen,{show:N.type==="whiteboard",type:N.type,close:()=>P()},null),N.callShow&&createVNode(Pen,{callStudents:N.callStudentList,show:N.type==="call",type:N.type,close:()=>P()},null),createVNode(NModal,{transformOrigin:"center",show:o.selectClassStatus,"onUpdate:show":k=>o.selectClassStatus=k,preset:"card",class:["modalTitle background",styles$l.selectClassModal],title:"选择课件"},{default:()=>[createVNode(SelectClass,{classId:o.classId,courseId:d.courseId,subjectId:o.subjectId,lessonCoursewareSubjectList:o.lessonCoursewareSubjectList,onConfirm:async k=>{d.chapterLoading=!0;try{o.selectClassStatus=!1,o.detailId=k.itemActive,o.courseId=k.chapterId;const z=m(k.itemActive,d.chapterDetails);o.lessonCoursewareDetailId=z[0],o.type!=="preview"&&await y(),await c(),d.activeIndex=0,d.chapterOpen=!1}catch(z){}d.chapterLoading=!1}},null)]}),createVNode(NModal,{transformOrigin:"center",show:o.modelAttendStatus,"onUpdate:show":k=>o.modelAttendStatus=k,preset:"card",title:"课后作业",class:["modalTitle",styles$l.removeVisiable]},{default:()=>[createVNode("div",{class:styles$l.studentRemove},[createVNode("p",null,[o.modalAttendMessage]),createVNode(NSpace,{class:styles$l.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{type:"default",round:!0,onClick:()=>{o.modelTrainStatus=!0,nextTick(()=>{Se()}),o.modelAttendStatus=!1}},{default:()=>[createTextVNode("布置作业")]}),createVNode(NButton,{type:"primary",round:!0,onClick:()=>{b(),o.modelAttendStatus=!1}},{default:()=>[createTextVNode("取消")]})]})])]}),createVNode(NModal,{show:o.modelTrainStatus,"onUpdate:show":k=>o.modelTrainStatus=k,preset:"card",class:["modalTitle background",styles$l.workVisiable],title:"布置作业"},{default:()=>[createVNode("div",{id:"model-homework-height",class:styles$l.workContainer},[createVNode("div",{class:styles$l.workTrain},[createVNode(Train,{cardType:"homeworkRecord",lessonPreTraining:{title:o.lessonPreTrainingId?"":o.teacherChapterName+"-课后作业",chapterId:o.courseId,id:o.lessonPreTrainingId},classGroupId:o.classGroupId,courseScheduleId:o.classId,onChange:k=>{o.modelTrainStatus=k.status}},null)]),createVNode("div",{class:styles$l.resourceMain},[createVNode(ResourceMain,{cardType:"homerowk-record"},null)])])]}),createVNode(NModal,{transformOrigin:"center",class:["modalTitle background"],title:"节拍器",preset:"card",show:f.value,"onUpdate:show":k=>f.value=k,style:{width:"687px"}},{default:()=>[createVNode("div",{class:styles$l.modeWrap},[createVNode("iframe",{src:"".concat(vaildUrl(),"/metronome/?id=").concat(new Date().getTime()),scrolling:"no",frameborder:"0",width:"100%",onLoad:k=>{iframeDislableKeyboard(k.target)},height:"650px"},null)])]}),createVNode(NModal,{transformOrigin:"center",class:["background"],show:g.value,"onUpdate:show":k=>g.value=k},{default:()=>[createVNode("div",null,[createVNode(PlaceholderTone,{onClose:()=>{g.value=!1}},null)])]}),createVNode(NModal,{transformOrigin:"center",show:u.value,"onUpdate:show":k=>u.value=k,class:["modalTitle background"],title:"计时器",preset:"card",style:{width:px2vw(772)}},{default:()=>[createVNode("div",null,[createVNode(TimerMeter,null,null)])]}),createVNode(NModal,{show:o.selectResourceStatus,"onUpdate:show":k=>o.selectResourceStatus=k,class:["modalTitle",styles$l.selectMusicModal],preset:"card",title:"选择资源"},{default:()=>[createVNode(SelectResources,{from:"class"},null)]}),createVNode(NModal,{transformOrigin:"center",show:o.removeVisiable,"onUpdate:show":k=>o.removeVisiable=k,preset:"card",class:["modalTitle",styles$l.removeVisiable],title:o.removeTitle},{default:()=>[createVNode("div",{class:styles$l.studentRemove},[createVNode("p",null,[o.removeContent]),createVNode(NSpace,{class:styles$l.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>{o.removeCourseStatus?state.application?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen(),t("close")):window.close():o.removeVisiable=!1}},{default:()=>[o.removeCourseStatus?"结束课程":"取消"]}),createVNode(NButton,{round:!0,type:"primary",onClick:()=>{o.removeCourseStatus?(o.modelTrainStatus=!0,o.removeVisiable=!1,nextTick(()=>{Se()})):state.application?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen(),t("close")):(window.close(),a.query.source==="admin"&&(storage.remove(ACCESS_TOKEN_ADMIN),window.parent.postMessage({api:"iframe_exit"},"*")))}},{default:()=>[o.removeCourseStatus?"布置作业":"确定"]})]})])]})])}}),index=Object.freeze(Object.defineProperty({__proto__:null,default:AttendClass},Symbol.toStringTag,{value:"Module"}));export{AttendClass as A,CoursewareType as C,Draggable as D,Pen as P,ResourceMain as R,TimerMeter as T,PlaceholderTone as a,TheMessageDialog as b,Train as c,index as i};
|