index-2b2b5dd1-1706107518515.js 447 KB

12345678
  1. import{ba as openBlock,ai as createElementBlock,aj as createBaseVNode,aZ as normalizeClass,d as defineComponent,r as ref,a as useRoute,p as onMounted,M as nextTick,O as onUnmounted,y as watch,f as createVNode,k as createTextVNode,dn as NInputNumber,w as NSpace,j as NButton,v as NImage,dp as getSecond,K as dayjs,x as mergeProps,F as Fragment,c as useUserStore,dq as NSkeleton,c7 as commonjsGlobal,c8 as getDefaultExportFromCjs,U as computed,a$ as normalizeStyle,bD as toRefs,e as reactive,l as NModal,b as useMessage,bC as toRef,N as NForm,g as NFormItem,aV as isVNode,A as NSpin,H as eventGlobal,q as NTabs,t as NTabPane,u as useRouter,W as Transition,dr as NDrawer,ds as NDrawerContent,X as px2vw}from"./index-18b8b0d9-1706107518515.js";import{T as TCPlayer,o as iconplay,p as iconpause,r as iconReplay$2,u as tickMp3,V as Vudio,N as NScrollbar,C as CardPreview,c as lessonCoursewareDetail,q as queryCourseware,v as courseScheduleUpdate}from"./api-2baae04f-1706107518515.js";import{N as NSlider}from"./Slider-c3c0528e-1706107518515.js";import{i as isCollaose,C as CardType}from"./isCollaose-073dfd18-1706107518515.js";import{u as usePrepareStore,a as TrainSettings}from"./index-d5ab64c5-1706107518515.js";import{v as vaildUrl}from"./urlUtils-880ab4ad-1706107518515.js";import{d as dingPng$1,m as moveTop}from"./ding-8e9054d5-1706107518515.js";import{s as state}from"./state-ba682549-1706107518515.js";import{r as resourceTypeArray}from"./searchArray-45783419-1706107518515.js";import{u as useCatchStore}from"./catchData-17d591d4-1706107518515.js";import{T as TheSearch}from"./index-50bf2e43-1706107518515.js";import{a as useThrottleFn,u as useDebounceFn}from"./index-0e750973-1706107518515.js";import{m as materialQueryPage,f as favorite}from"./api-9e73fc39-1706107518515.js";import{T as TheEmpty}from"./index-1aaceba7-1706107518515.js";import{u as useResizeObserver}from"./index-bbc943cc-1706107518515.js";import{T as TheNoticeBar}from"./index-2dfc0ec2-1706107518515.js";import{a as getStudentAfterWork}from"./api-11bede88-1706107518515.js";const 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$2="_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$b={timerWrap,timerTop,timerTopPane,timerTopPaneActive,timerItemInfo,timerItemInset,timerItemInfoTop,dot,dotTop,timerItemTopCore,nowTimerWrap,btnGroupModal:btnGroupModal$2,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[i,s]of t)r[i]=s;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,i,s,a){return openBlock(),createElementBlock("div",{class:normalizeClass(["M-Flipper",[s.flipType,{go:s.isFlipping}]])},[createBaseVNode("div",{class:normalizeClass(["digital front",a._textClass(s.frontTextFromData)])},null,2),createBaseVNode("div",{class:normalizeClass(["digital back",a._textClass(s.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(),i=ref(),s=ref(null),a=ref(null),o=ref(new Date);a.value=setInterval(()=>{o.value=new Date},1e3);const l=ref(0),n=ref(0),f=ref(0),g=ref(!1),C=ref([e,t,r,i]),p=()=>{const T="0000";n.value=0,f.value=0;for(let x=0;x<C.value.length;x++)C.value[x].value.setFront(T[x])},S=new Audio(soundWav),A=()=>{g.value=!0,s.value=setInterval(()=>{const T=getSecond(l.value);if(l.value==4&&S.play(),l.value<=0){E();return}l.value--;const x=getSecond(l.value);for(let M=0;M<C.value.length;M++)T[M]!==x[M]&&C.value[M].value.flipDown(T[M],x[M])},1e3)},c=()=>{setTimeout(()=>{g.value=!1,S.currentTime=0,S.pause(),s.value&&(clearInterval(s.value),s.value=null)},600)},E=()=>{g.value?(c(),l.value=0,S.currentTime=0,S.pause(),setTimeout(()=>{p()},600)):(l.value=0,p())};onMounted(()=>{nextTick(()=>{p()})}),onUnmounted(()=>{S.pause()});const u=T=>{const x=getSecond(l.value);l.value+=T,l.value>3599?l.value=3599:l.value;const M=getSecond(l.value);for(let k=0;k<C.value.length;k++)x[k]!==M[k]&&C.value[k].value.flipDown(x[k],M[k]);n.value=Math.floor(l.value/60),f.value=Math.floor(l.value%60)},m=T=>{const x=getSecond(l.value);l.value-=T,l.value<0?l.value=0:l.value;const M=getSecond(l.value);for(let k=0;k<C.value.length;k++)x[k]!==M[k]&&C.value[k].value.flipUp(x[k],M[k]);n.value=Math.floor(l.value/60),f.value=Math.floor(l.value%60)},d=T=>{let x=parseInt(T.target.value);Number.isNaN(x)&&(x=0),x>59&&(x=59),n.value=x;const M=getSecond(l.value);console.log(n.value),l.value=n.value*60+f.value;const k=getSecond(l.value);console.log(k,M);for(let D=0;D<C.value.length;D++)M[D]!==k[D]&&C.value[D].value.flipUp(M[D],k[D])},y=T=>{let x=parseInt(T.target.value);Number.isNaN(x)&&(x=0),x>59&&(x=59),f.value=x;const M=getSecond(l.value);l.value=n.value*60+f.value;const k=getSecond(l.value);for(let D=0;D<C.value.length;D++)M[D]!==k[D]&&C.value[D].value.flipUp(M[D],k[D])};return watch(()=>l.value,T=>{n.value=Math.floor(T/60),f.value=Math.floor(T%60)}),()=>createVNode("div",{class:styles$b.timerItemWrap},[createVNode("div",{class:styles$b.timerItemInfo},[createVNode("div",{class:styles$b.timerItemInset},[createVNode("div",{class:styles$b.timerItemInfoTop},[createVNode("div",{class:styles$b.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 分")]),createVNode("div",{class:styles$b.FlipClock},[createVNode("div",{class:styles$b.numberWrap},[createVNode(Flipper,{ref:e},null),createVNode(Flipper,{ref:t},null)]),createVNode("div",{class:[styles$b.chioseWrap,g.value?styles$b.chioseHidden:""]},[createVNode("img",{src:add,class:styles$b.add,alt:"",onClick:()=>u(60)},null),createVNode(NInputNumber,{class:styles$b.countInput,min:0,max:59,"show-button":!1,onInput:d,value:n.value,"onUpdate:value":T=>n.value=T},null),createVNode("img",{src:minus,class:styles$b.minus,alt:"",onClick:()=>m(60)},null)])])]),createVNode("div",{class:styles$b.timerItemTopCore},[createVNode("div",{class:styles$b.dot},null),createVNode("div",{class:styles$b.dot},null),createVNode("h4",{class:styles$b.dotBtm},null)]),createVNode("div",{class:styles$b.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 秒 ")]),createVNode("div",{class:styles$b.FlipClock},[createVNode("div",{class:styles$b.numberWrap},[createVNode(Flipper,{ref:r},null),createVNode(Flipper,{ref:i},null)]),createVNode("div",{class:[styles$b.chioseWrap,g.value?styles$b.chioseHidden:""]},[createVNode("img",{src:add,class:styles$b.add,alt:"",onClick:()=>u(1)},null),createVNode(NInputNumber,{class:styles$b.countInput,min:0,max:59,"show-button":!1,value:f.value,"onUpdate:value":T=>f.value=T,onInput:y},null),createVNode("img",{src:minus,class:styles$b.minus,alt:"",onClick:()=>m(1)},null)])])])])])]),createVNode(NSpace,{class:styles$b.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>E()},{default:()=>[createTextVNode("重置")]}),g.value?createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>c()},{default:()=>createVNode("p",{class:styles$b.playText},[createTextVNode("暂停")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$b.palyIcon,src:suspend},null)}):createVNode(NButton,{round:!0,type:"primary",disabled:l.value==0,"icon-placement":"right",onClick:()=>A()},{default:()=>createVNode("p",{class:styles$b.playText},[createTextVNode("开始")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$b.palyIcon,src:playIcon},null)})]})])}}),Positive=defineComponent({name:"timer-positive",setup(){ref("positive"),useRoute();const e=ref(),t=ref(),r=ref(),i=ref(),s=ref(null),a=ref(null),o=ref(new Date);a.value=setInterval(()=>{o.value=new Date},1e3);const l=ref(0),n=ref(!1),f=ref([e,t,r,i]),g=()=>{const A="0000";for(let c=0;c<f.value.length;c++)f.value[c].value.setFront(A[c])},C=()=>{n.value=!0,s.value=setInterval(()=>{const A=getSecond(l.value);l.value++;const c=getSecond(l.value);for(let E=0;E<f.value.length;E++)A[E]!==c[E]&&f.value[E].value.flipDown(A[E],c[E])},1e3)},p=()=>{n.value=!1,s.value&&(clearInterval(s.value),s.value=null)},S=()=>{p(),l.value=0,setTimeout(()=>{g()},600)};return onMounted(()=>{nextTick(()=>{g()})}),()=>createVNode("div",{class:styles$b.timerItemWrap},[createVNode("div",{class:styles$b.timerItemInfo},[createVNode("div",{class:styles$b.timerItemInset},[createVNode("div",{class:styles$b.timerItemInfoTop},[createVNode("div",{class:styles$b.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 分")]),createVNode("div",{class:styles$b.FlipClock},[createVNode("div",{class:styles$b.numberWrap},[createVNode(Flipper,{ref:e},null),createVNode(Flipper,{ref:t},null)])])]),createVNode("div",{class:styles$b.timerItemTopCore},[createVNode("h4",{class:styles$b.dotTop},null),createVNode("div",{class:styles$b.dot},null),createVNode("div",{class:styles$b.dot},null)]),createVNode("div",{class:styles$b.timerItemTopCore},[createVNode("h4",null,[createTextVNode(" 秒")]),createVNode("div",{class:styles$b.FlipClock},[createVNode("div",{class:styles$b.numberWrap},[createVNode(Flipper,{ref:r},null),createVNode(Flipper,{ref:i},null)])])])]),createVNode("div",{class:styles$b.nowTimerWrap},[dayjs(o.value).format("YYYY年MM月DD日 HH:mm:ss")])])]),createVNode(NSpace,{class:styles$b.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>S()},{default:()=>[createTextVNode("重置")]}),n.value?createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>p()},{default:()=>createVNode("p",{class:styles$b.playText},[createTextVNode("暂停")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$b.palyIcon,src:suspend},null)}):createVNode(NButton,{round:!0,type:"primary","icon-placement":"right",onClick:()=>C()},{default:()=>createVNode("p",{class:styles$b.playText},[createTextVNode("开始")]),icon:()=>createVNode(NImage,{previewDisabled:!0,class:styles$b.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$b.timerWrap},[createVNode("div",{class:styles$b.timerTop},[createVNode("div",{class:[styles$b.timerTopPane,e.value=="positive"?styles$b.timerTopPaneActive:""],onClick:()=>{t("positive")}},[createTextVNode("正计时")]),createVNode("div",{class:[styles$b.timerTopPane,e.value=="countdown"?styles$b.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$a={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$a.downMove},[createVNode("img",{src:dingPng$1,class:styles$a.dingPng,alt:""},null),createVNode("img",{src:moveTop,class:styles$a.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$a.submitAppBtn,round:!0,type:"primary",onClick:()=>{t("close")}}),{default:()=>[createTextVNode("我知道了")]})]})])])}}),playContent="_playContent_1u45q_1",assignHomeworkClose="_assignHomeworkClose_1u45q_10",coursewarePlay="_coursewarePlay_1u45q_23",playModel="_playModel_1u45q_29",headerContainer="_headerContainer_1u45q_38",backBtn="_backBtn_1u45q_58",headRight="_headRight_1u45q_70",rightBtn="_rightBtn_1u45q_79",menu="_menu_1u45q_91",tabsContent="_tabsContent_1u45q_102",wraps="_wraps_1u45q_113",itemDiv="_itemDiv_1u45q_120",itemActive="_itemActive_1u45q_133",acitveAnimation="_acitveAnimation_1u45q_136",show="_show_1u45q_139",hide$1="_hide_1u45q_142",rightFixedBtns="_rightFixedBtns_1u45q_155",fullBtn="_fullBtn_1u45q_162",point="_point_1u45q_167",iconUp="_iconUp_1u45q_177",iconDown="_iconDown_1u45q_178",btnsDisabled="_btnsDisabled_1u45q_181",loadWrap="_loadWrap_1u45q_211",drawerContainer="_drawerContainer_1u45q_222",cardContainer="_cardContainer_1u45q_225",sectionAnimate$2="_sectionAnimate_1u45q_254",sectionAnimateUp="_sectionAnimateUp_1u45q_260",switchDisplaySection="_switchDisplaySection_1u45q_266",switchSpace="_switchSpace_1u45q_280",btnItem="_btnItem_1u45q_283",attendClassModal="_attendClassModal_1u45q_305",modelAttendContent="_modelAttendContent_1u45q_329",modelAttendBtnGroup="_modelAttendBtnGroup_1u45q_335",trainClassModal="_trainClassModal_1u45q_343",workContainer="_workContainer_1u45q_349",toolboxImg="_toolboxImg_1u45q_356",isDragIng="_isDragIng_1u45q_365",toolClassImg="_toolClassImg_1u45q_369",booxToolWrap="_booxToolWrap_1u45q_384",booxToolItem="_booxToolItem_1u45q_395",setTimeImage="_setTimeImage_1u45q_412",beatImage="_beatImage_1u45q_418",changePwdModal="_changePwdModal_1u45q_424",imChatModal="_imChatModal_1u45q_427",modeWrap="_modeWrap_1u45q_430",showModalTone="_showModalTone_1u45q_435",studentRemove$1="_studentRemove_1u45q_438",removeVisiable$1="_removeVisiable_1u45q_450",btnGroupModal$1="_btnGroupModal_1u45q_468",iframePpt="_iframePpt_1u45q_475",pptBox="_pptBox_1u45q_480",rightColumn="_rightColumn_1u45q_489",rightItem$1="_rightItem_1u45q_503",active="_active_1u45q_514",rightTips="_rightTips_1u45q_536",itemDisabled="_itemDisabled_1u45q_568",rightColumnZ="_rightColumnZ_1u45q_572",rightColumnHide="_rightColumnHide_1u45q_575",rightHideIcon$1="_rightHideIcon_1u45q_581",rightIconShow="_rightIconShow_1u45q_591",rightIn="_rightIn_1u45q_1",bottomColumn="_bottomColumn_1u45q_603",bottomItem="_bottomItem_1u45q_610",bottomTips="_bottomTips_1u45q_622",selectMusicModal="_selectMusicModal_1u45q_658",styles$9={playContent,assignHomeworkClose,coursewarePlay,playModel,headerContainer,backBtn,headRight,rightBtn,menu,tabsContent,wraps,itemDiv,itemActive,acitveAnimation,show,hide:hide$1,rightFixedBtns,fullBtn,point,iconUp,iconDown,btnsDisabled,loadWrap,drawerContainer,cardContainer,sectionAnimate:sectionAnimate$2,sectionAnimateUp,switchDisplaySection,switchSpace,btnItem,attendClassModal,modelAttendContent,modelAttendBtnGroup,trainClassModal,workContainer,toolboxImg,isDragIng,toolClassImg,booxToolWrap,booxToolItem,setTimeImage,beatImage,changePwdModal,imChatModal,modeWrap,showModalTone,studentRemove:studentRemove$1,removeVisiable:removeVisiable$1,btnGroupModal:btnGroupModal$1,iframePpt,pptBox,rightColumn,rightItem:rightItem$1,active,rightTips,itemDisabled,rightColumnZ,rightColumnHide,rightHideIcon:rightHideIcon$1,rightIconShow,rightIn,bottomColumn,bottomItem,bottomTips,selectMusicModal},plyr="",musicScore="_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$8={musicScore,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(),i=ref(!1),s=usePageVisibility();watch(s,p=>{console.log("🚀 ~ value:",p),p=="hidden"&&(i.value=!1)});const a=ref(),o=ref(!1),l=ref(!1),n=ref(!1),f=/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn/instrument":location.origin+"/instrument",g="".concat(f,"?v=").concat(+new Date,"&showGuide=true&platform=pc&zoom=1.2&modelType=practise&id=").concat(e.music.content,"&Authorization=").concat(r.getToken),C=()=>{fetch(g).then(()=>{n.value=!0,l.value=!1}).catch(()=>{l.value=!0})};return watch(()=>e.music,()=>{n.value||(l.value=!1,e.music.display&&C())}),watch(()=>e.activeModel,()=>{a.value.contentWindow&&e.activeStatus&&a.value.contentWindow.postMessage({api:"attendClassBarStatus",hideMenu:!e.activeModel},"*")}),()=>createVNode("div",{class:styles$8.musicScore},[createVNode("iframe",{ref:a,onLoad:()=>{t("setIframe",a.value),o.value=!0},class:[styles$8.container,"musicIframe"],frameborder:"0",src:g},null),o.value&&createVNode("div",{class:styles$8.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,i=e.length,s;for(r=0;r<i;r+=1){s=e[r].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(t.prototype[a]=s[a])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(r,i){var s=0,a=[],o;switch(r){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<i;s+=1)a.push(o);return a}function t(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):e(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var r=createSizedArray(e.length),i,s=e.length;for(i=0;i<s;i+=1)r[i]=Math.abs(e[i]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,i){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,i){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=i<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,r){var i,s,a,o,l,n,f,g;switch(o=Math.floor(e*6),l=e*6-o,n=r*(1-t),f=r*(1-l*t),g=r*(1-(1-l)*t),o%6){case 0:i=r,s=g,a=n;break;case 1:i=f,s=r,a=n;break;case 2:i=n,s=r,a=g;break;case 3:i=n,s=f,a=r;break;case 4:i=g,s=n,a=r;break;case 5:i=r,s=n,a=f;break}return[i,s,a]}function RGBtoHSV(e,t,r){var i=Math.max(e,t,r),s=Math.min(e,t,r),a=i-s,o,l=i===0?0:a/i,n=i/255;switch(i){case s:o=0;break;case e:o=t-r+a*(t<r?6:0),o/=6*a;break;case t:o=r-e+a*2,o/=6*a;break;case r:o=e-t+a*4,o/=6*a;break}return[o,l,n]}function addSaturationToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+e[i]+e[s]+e[a]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(e)}var dataManager=function(){var e=1,t=[],r,i,s={onmessage:function(){},postMessage:function(S){r({data:S})}},a={postMessage:function(S){s.onmessage({data:S})}};function o(p){if(window.Worker&&window.Blob&&getWebWorker()){var S=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),A=URL.createObjectURL(S);return new Worker(A)}return r=p,s}function l(){i||(i=o(function(S){function A(){function E(L,I){var F,b,P=L.length,B,V,J,Q;for(b=0;b<P;b+=1)if(F=L[b],"ks"in F&&!F.completed){if(F.completed=!0,F.hasMask){var U=F.masksProperties;for(V=U.length,B=0;B<V;B+=1)if(U[B].pt.k.i)T(U[B].pt.k);else for(Q=U[B].pt.k.length,J=0;J<Q;J+=1)U[B].pt.k[J].s&&T(U[B].pt.k[J].s[0]),U[B].pt.k[J].e&&T(U[B].pt.k[J].e[0])}F.ty===0?(F.layers=d(F.refId,I),E(F.layers,I)):F.ty===4?y(F.shapes):F.ty===5&&j(F)}}function u(L,I){if(L){var F=0,b=L.length;for(F=0;F<b;F+=1)L[F].t===1&&(L[F].data.layers=d(L[F].data.refId,I),E(L[F].data.layers,I))}}function m(L,I){for(var F=0,b=I.length;F<b;){if(I[F].id===L)return I[F];F+=1}return null}function d(L,I){var F=m(L,I);return F?F.layers.__used?JSON.parse(JSON.stringify(F.layers)):(F.layers.__used=!0,F.layers):null}function y(L){var I,F=L.length,b,P;for(I=F-1;I>=0;I-=1)if(L[I].ty==="sh")if(L[I].ks.k.i)T(L[I].ks.k);else for(P=L[I].ks.k.length,b=0;b<P;b+=1)L[I].ks.k[b].s&&T(L[I].ks.k[b].s[0]),L[I].ks.k[b].e&&T(L[I].ks.k[b].e[0]);else L[I].ty==="gr"&&y(L[I].it)}function T(L){var I,F=L.i.length;for(I=0;I<F;I+=1)L.i[I][0]+=L.v[I][0],L.i[I][1]+=L.v[I][1],L.o[I][0]+=L.v[I][0],L.o[I][1]+=L.v[I][1]}function x(L,I){var F=I?I.split("."):[100,100,100];return L[0]>F[0]?!0:F[0]>L[0]?!1:L[1]>F[1]?!0:F[1]>L[1]?!1:L[2]>F[2]?!0:F[2]>L[2]?!1:null}var M=function(){var L=[4,4,14];function I(b){var P=b.t.d;b.t.d={k:[{s:P,t:0}]}}function F(b){var P,B=b.length;for(P=0;P<B;P+=1)b[P].ty===5&&I(b[P])}return function(b){if(x(L,b.v)&&(F(b.layers),b.assets)){var P,B=b.assets.length;for(P=0;P<B;P+=1)b.assets[P].layers&&F(b.assets[P].layers)}}}(),k=function(){var L=[4,7,99];return function(I){if(I.chars&&!x(L,I.v)){var F,b=I.chars.length;for(F=0;F<b;F+=1){var P=I.chars[F];P.data&&P.data.shapes&&(y(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[F].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 L=[5,7,15];function I(b){var P=b.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 F(b){var P,B=b.length;for(P=0;P<B;P+=1)b[P].ty===5&&I(b[P])}return function(b){if(x(L,b.v)&&(F(b.layers),b.assets)){var P,B=b.assets.length;for(P=0;P<B;P+=1)b.assets[P].layers&&F(b.assets[P].layers)}}}(),H=function(){var L=[4,1,9];function I(b){var P,B=b.length,V,J;for(P=0;P<B;P+=1)if(b[P].ty==="gr")I(b[P].it);else if(b[P].ty==="fl"||b[P].ty==="st")if(b[P].c.k&&b[P].c.k[0].i)for(J=b[P].c.k.length,V=0;V<J;V+=1)b[P].c.k[V].s&&(b[P].c.k[V].s[0]/=255,b[P].c.k[V].s[1]/=255,b[P].c.k[V].s[2]/=255,b[P].c.k[V].s[3]/=255),b[P].c.k[V].e&&(b[P].c.k[V].e[0]/=255,b[P].c.k[V].e[1]/=255,b[P].c.k[V].e[2]/=255,b[P].c.k[V].e[3]/=255);else b[P].c.k[0]/=255,b[P].c.k[1]/=255,b[P].c.k[2]/=255,b[P].c.k[3]/=255}function F(b){var P,B=b.length;for(P=0;P<B;P+=1)b[P].ty===4&&I(b[P].shapes)}return function(b){if(x(L,b.v)&&(F(b.layers),b.assets)){var P,B=b.assets.length;for(P=0;P<B;P+=1)b.assets[P].layers&&F(b.assets[P].layers)}}}(),G=function(){var L=[4,4,18];function I(b){var P,B=b.length,V,J;for(P=B-1;P>=0;P-=1)if(b[P].ty==="sh")if(b[P].ks.k.i)b[P].ks.k.c=b[P].closed;else for(J=b[P].ks.k.length,V=0;V<J;V+=1)b[P].ks.k[V].s&&(b[P].ks.k[V].s[0].c=b[P].closed),b[P].ks.k[V].e&&(b[P].ks.k[V].e[0].c=b[P].closed);else b[P].ty==="gr"&&I(b[P].it)}function F(b){var P,B,V=b.length,J,Q,U,K;for(B=0;B<V;B+=1){if(P=b[B],P.hasMask){var Z=P.masksProperties;for(Q=Z.length,J=0;J<Q;J+=1)if(Z[J].pt.k.i)Z[J].pt.k.c=Z[J].cl;else for(K=Z[J].pt.k.length,U=0;U<K;U+=1)Z[J].pt.k[U].s&&(Z[J].pt.k[U].s[0].c=Z[J].cl),Z[J].pt.k[U].e&&(Z[J].pt.k[U].e[0].c=Z[J].cl)}P.ty===4&&I(P.shapes)}}return function(b){if(x(L,b.v)&&(F(b.layers),b.assets)){var P,B=b.assets.length;for(P=0;P<B;P+=1)b.assets[P].layers&&F(b.assets[P].layers)}}}();function R(L){L.__complete||(H(L),M(L),k(L),D(L),G(L),E(L.layers,L.assets),u(L.chars,L.assets),L.__complete=!0)}function j(L){L.t.a.length===0&&"m"in L.t.p}var W={};return W.completeData=R,W.checkColors=H,W.checkChars=k,W.checkPathProperties=D,W.checkShapes=G,W.completeLayers=E,W}if(a.dataManager||(a.dataManager=A()),a.assetLoader||(a.assetLoader=function(){function E(m){var d=m.getResponseHeader("content-type");return d&&m.responseType==="json"&&d.indexOf("json")!==-1||m.response&&_typeof$5(m.response)==="object"?m.response:m.response&&typeof m.response=="string"?JSON.parse(m.response):m.responseText?JSON.parse(m.responseText):null}function u(m,d,y,T){var x,M=new XMLHttpRequest;try{M.responseType="json"}catch(k){}M.onreadystatechange=function(){if(M.readyState===4)if(M.status===200)x=E(M),y(x);else try{x=E(M),y(x)}catch(k){T&&T(k)}};try{M.open(["G","E","T"].join(""),m,!0)}catch(k){M.open(["G","E","T"].join(""),d+"/"+m,!0)}M.send()}return{load:u}}()),S.data.type==="loadAnimation")a.assetLoader.load(S.data.path,S.data.fullPath,function(E){a.dataManager.completeData(E),a.postMessage({id:S.data.id,payload:E,status:"success"})},function(){a.postMessage({id:S.data.id,status:"error"})});else if(S.data.type==="complete"){var c=S.data.animation;a.dataManager.completeData(c),a.postMessage({id:S.data.id,payload:c,status:"success"})}else S.data.type==="loadData"&&a.assetLoader.load(S.data.path,S.data.fullPath,function(E){a.postMessage({id:S.data.id,payload:E,status:"success"})},function(){a.postMessage({id:S.data.id,status:"error"})})}),i.onmessage=function(p){var S=p.data,A=S.id,c=t[A];t[A]=null,S.status==="success"?c.onComplete(S.payload):c.onError&&c.onError()})}function n(p,S){e+=1;var A="processId_"+e;return t[A]={onComplete:p,onError:S},A}function f(p,S,A){l();var c=n(S,A);i.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:c})}function g(p,S,A){l();var c=n(S,A);i.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:c})}function C(p,S,A){l();var c=n(S,A);i.postMessage({type:"complete",animation:p,id:c})}return{loadAnimation:f,loadData:g,completeAnimation:C}}(),ImagePreloader=function(){var e=function(){var u=createTag("canvas");u.width=1,u.height=1;var m=u.getContext("2d");return m.fillStyle="rgba(0,0,0,0)",m.fillRect(0,0,1,1),u}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(u,m,d){var y="";if(u.e)y=u.p;else if(m){var T=u.p;T.indexOf("images/")!==-1&&(T=T.split("/")[1]),y=m+T}else y=d,y+=u.u?u.u:"",y+=u.p;return y}function s(u){var m=0,d=setInterval((function(){var y=u.getBBox();(y.width||m>500)&&(this._imageLoaded(),clearInterval(d)),m+=1}).bind(this),50)}function a(u){var m=i(u,this.assetsPath,this.path),d=createNS("image");isSafari?this.testImageLoaded(d):d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",(function(){y.img=e,this._imageLoaded()}).bind(this),!1),d.setAttributeNS("http://www.w3.org/1999/xlink","href",m),this._elementHelper.append?this._elementHelper.append(d):this._elementHelper.appendChild(d);var y={img:d,assetData:u};return y}function o(u){var m=i(u,this.assetsPath,this.path),d=createTag("img");d.crossOrigin="anonymous",d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",(function(){y.img=e,this._imageLoaded()}).bind(this),!1),d.src=m;var y={img:d,assetData:u};return y}function l(u){var m={assetData:u},d=i(u,this.assetsPath,this.path);return dataManager.loadData(d,(function(y){m.img=y,this._footageLoaded()}).bind(this),(function(){m.img={},this._footageLoaded()}).bind(this)),m}function n(u,m){this.imagesLoadedCb=m;var d,y=u.length;for(d=0;d<y;d+=1)u[d].layers||(!u[d].t||u[d].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(u[d]))):u[d].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(u[d]))))}function f(u){this.path=u||""}function g(u){this.assetsPath=u||""}function C(u){for(var m=0,d=this.images.length;m<d;){if(this.images[m].assetData===u)return this.images[m].img;m+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function S(){return this.totalImages===this.loadedAssets}function A(){return this.totalFootages===this.loadedFootagesCount}function c(u,m){u==="svg"?(this._elementHelper=m,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=s.bind(this),this.createFootageData=l.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return E.prototype={loadAssets:n,setAssetsPath:g,setPath:f,loadedImages:S,loadedFootages:A,destroy:p,getAsset:C,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:r,setCacheType:c},E}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,r){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](r)},addEventListener:function(t,r){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(r),(function(){this.removeEventListener(t,r)}).bind(this)},removeEventListener:function(t,r){if(!r)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===r&&(this._cbs[t].splice(i,1),i-=1,s-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var r=t.split("\r\n"),i={},s,a=0,o=0;o<r.length;o+=1)s=r[o].split(":"),s.length===2&&(i[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return i}return function(t){for(var r=[],i=0;i<t.length;i+=1){var s=t[i],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(t[i].cm)}catch(o){try{a.payload=e(t[i].cm)}catch(l){a.payload={name:t[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(r){for(var i=0,s=this.compositions.length;i<s;){if(this.compositions[i].data&&this.compositions[i].data.nm===r)return this.compositions[i].prepareFrame&&this.compositions[i].data.xt&&this.compositions[i].prepareFrame(this.currentFrame),this.compositions[i].compInterface;i+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(t,r){renderers[t]=r};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(r){return typeof r}:_typeof$4=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},i=e.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";s==="false"?r.loop=!1:s==="true"?r.loop=!0:s!==""&&(r.loop=parseInt(s,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=a!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var o=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";o==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,i=t.length,s=e.layers,a,o=s.length;for(a=0;a<o;a+=1)for(r=0;r<i;){if(t[r].id===s[a].id){t[r]=s[a];break}r+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(e.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r=typeof e=="number"?e:void 0,i=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if(t=this.markers[r],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var s=this.getMarkerData(e);s&&this.goToAndStop(s.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var s=this.getMarkerData(e);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(i,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,t=0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,i=e.length;for(r=0;r<i;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{var i=this.renderer.getElementByPath(e);i.updateDocumentData(t,r)}catch(s){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,i=0,s=0,a=!0,o=!1;function l(I){for(var F=0,b=I.target;F<i;)t[F].animation===b&&(t.splice(F,1),F-=1,i-=1,b.isPaused||C()),F+=1}function n(I,F){if(!I)return null;for(var b=0;b<i;){if(t[b].elem===I&&t[b].elem!==null)return t[b].animation;b+=1}var P=new AnimationItem;return p(P,I),P.setData(I,F),P}function f(){var I,F=t.length,b=[];for(I=0;I<F;I+=1)b.push(t[I].animation);return b}function g(){s+=1,H()}function C(){s-=1}function p(I,F){I.addEventListener("destroy",l),I.addEventListener("_active",g),I.addEventListener("_idle",C),t.push({elem:F,animation:I}),i+=1}function S(I){var F=new AnimationItem;return p(F,null),F.setParams(I),F}function A(I,F){var b;for(b=0;b<i;b+=1)t[b].animation.setSpeed(I,F)}function c(I,F){var b;for(b=0;b<i;b+=1)t[b].animation.setDirection(I,F)}function E(I){var F;for(F=0;F<i;F+=1)t[F].animation.play(I)}function u(I){var F=I-r,b;for(b=0;b<i;b+=1)t[b].animation.advanceTime(F);r=I,s&&!o?window.requestAnimationFrame(u):a=!0}function m(I){r=I,window.requestAnimationFrame(u)}function d(I){var F;for(F=0;F<i;F+=1)t[F].animation.pause(I)}function y(I,F,b){var P;for(P=0;P<i;P+=1)t[P].animation.goToAndStop(I,F,b)}function T(I){var F;for(F=0;F<i;F+=1)t[F].animation.stop(I)}function x(I){var F;for(F=0;F<i;F+=1)t[F].animation.togglePause(I)}function M(I){var F;for(F=i-1;F>=0;F-=1)t[F].animation.destroy(I)}function k(I,F,b){var P=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),B,V=P.length;for(B=0;B<V;B+=1)b&&P[B].setAttribute("data-bm-type",b),n(P[B],I);if(F&&V===0){b||(b="svg");var J=document.getElementsByTagName("body")[0];J.innerText="";var Q=createTag("div");Q.style.width="100%",Q.style.height="100%",Q.setAttribute("data-bm-type",b),J.appendChild(Q),n(Q,I)}}function D(){var I;for(I=0;I<i;I+=1)t[I].animation.resize()}function H(){!o&&s&&a&&(window.requestAnimationFrame(m),a=!1)}function G(){o=!0}function R(){o=!1,H()}function j(I,F){var b;for(b=0;b<i;b+=1)t[b].animation.setVolume(I,F)}function W(I){var F;for(F=0;F<i;F+=1)t[F].animation.mute(I)}function L(I){var F;for(F=0;F<i;F+=1)t[F].animation.unmute(I)}return e.registerAnimation=n,e.loadAnimation=S,e.setSpeed=A,e.setDirection=c,e.play=E,e.pause=d,e.stop=T,e.togglePause=x,e.searchAnimations=k,e.resize=D,e.goToAndStop=y,e.destroy=M,e.freeze=G,e.unfreeze=R,e.setVolume=j,e.mute=W,e.unmute=L,e.getRegisteredAnimations=f,e}(),BezierFactory=function(){var e={};e.getBezierEasing=r;var t={};function r(m,d,y,T,x){var M=x||("bez_"+m+"_"+d+"_"+y+"_"+T).replace(/\./g,"p");if(t[M])return t[M];var k=new u([m,d,y,T]);return t[M]=k,k}var i=4,s=.001,a=1e-7,o=10,l=11,n=1/(l-1),f=typeof Float32Array=="function";function g(m,d){return 1-3*d+3*m}function C(m,d){return 3*d-6*m}function p(m){return 3*m}function S(m,d,y){return((g(d,y)*m+C(d,y))*m+p(d))*m}function A(m,d,y){return 3*g(d,y)*m*m+2*C(d,y)*m+p(d)}function c(m,d,y,T,x){var M,k,D=0;do k=d+(y-d)/2,M=S(k,T,x)-m,M>0?y=k:d=k;while(Math.abs(M)>a&&++D<o);return k}function E(m,d,y,T){for(var x=0;x<i;++x){var M=A(d,y,T);if(M===0)return d;var k=S(d,y,T)-m;d-=k/M}return d}function u(m){this._p=m,this._mSampleValues=f?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(d){var y=this._p[0],T=this._p[1],x=this._p[2],M=this._p[3];return this._precomputed||this._precompute(),y===T&&x===M?d:d===0?0:d===1?1:S(this._getTForX(d),T,M)},_precompute:function(){var d=this._p[0],y=this._p[1],T=this._p[2],x=this._p[3];this._precomputed=!0,(d!==y||T!==x)&&this._calcSampleValues()},_calcSampleValues:function(){for(var d=this._p[0],y=this._p[2],T=0;T<l;++T)this._mSampleValues[T]=S(T*n,d,y)},_getTForX:function(d){for(var y=this._p[0],T=this._p[2],x=this._mSampleValues,M=0,k=1,D=l-1;k!==D&&x[k]<=d;++k)M+=n;--k;var H=(d-x[k])/(x[k+1]-x[k]),G=M+H*n,R=A(G,y,T);return R>=s?E(d,G,y,T):R===0?G:c(d,M,M+n,y,T)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var i=0,s=e,a=createSizedArray(s),o={newElement:l,release:n};function l(){var f;return i?(i-=1,f=a[i]):f=t(),f}function n(f){i===s&&(a=pooling.double(a),s*=2),r&&r(f),a[i]=f,i+=1}return o}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(r){var i,s=r.lengths.length;for(i=0;i<s;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(p,S,A,c,E,u){var m=p*c+S*E+A*u-E*c-u*p-A*S;return m>-.001&&m<.001}function r(p,S,A,c,E,u,m,d,y){if(A===0&&u===0&&y===0)return t(p,S,c,E,m,d);var T=e.sqrt(e.pow(c-p,2)+e.pow(E-S,2)+e.pow(u-A,2)),x=e.sqrt(e.pow(m-p,2)+e.pow(d-S,2)+e.pow(y-A,2)),M=e.sqrt(e.pow(m-c,2)+e.pow(d-E,2)+e.pow(y-u,2)),k;return T>x?T>M?k=T-x-M:k=M-x-T:M>x?k=M-x-T:k=x-T-M,k>-1e-4&&k<1e-4}var i=function(){return function(p,S,A,c){var E=getDefaultCurveSegments(),u,m,d,y,T,x=0,M,k=[],D=[],H=bezierLengthPool.newElement();for(d=A.length,u=0;u<E;u+=1){for(T=u/(E-1),M=0,m=0;m<d;m+=1)y=bmPow(1-T,3)*p[m]+3*bmPow(1-T,2)*T*A[m]+3*(1-T)*bmPow(T,2)*c[m]+bmPow(T,3)*S[m],k[m]=y,D[m]!==null&&(M+=bmPow(k[m]-D[m],2)),D[m]=k[m];M&&(M=bmSqrt(M),x+=M),H.percents[u]=T,H.lengths[u]=x}return H.addedLength=x,H}}();function s(p){var S=segmentsLengthPool.newElement(),A=p.c,c=p.v,E=p.o,u=p.i,m,d=p._length,y=S.lengths,T=0;for(m=0;m<d-1;m+=1)y[m]=i(c[m],c[m+1],E[m],u[m+1]),T+=y[m].addedLength;return A&&d&&(y[m]=i(c[m],c[0],E[m],u[0]),T+=y[m].addedLength),S.totalLength=T,S}function a(p){this.segmentLength=0,this.points=new Array(p)}function o(p,S){this.partialLength=p,this.point=S}var l=function(){var p={};return function(S,A,c,E){var u=(S[0]+"_"+S[1]+"_"+A[0]+"_"+A[1]+"_"+c[0]+"_"+c[1]+"_"+E[0]+"_"+E[1]).replace(/\./g,"p");if(!p[u]){var m=getDefaultCurveSegments(),d,y,T,x,M,k=0,D,H,G=null;S.length===2&&(S[0]!==A[0]||S[1]!==A[1])&&t(S[0],S[1],A[0],A[1],S[0]+c[0],S[1]+c[1])&&t(S[0],S[1],A[0],A[1],A[0]+E[0],A[1]+E[1])&&(m=2);var R=new a(m);for(T=c.length,d=0;d<m;d+=1){for(H=createSizedArray(T),M=d/(m-1),D=0,y=0;y<T;y+=1)x=bmPow(1-M,3)*S[y]+3*bmPow(1-M,2)*M*(S[y]+c[y])+3*(1-M)*bmPow(M,2)*(A[y]+E[y])+bmPow(M,3)*A[y],H[y]=x,G!==null&&(D+=bmPow(H[y]-G[y],2));D=bmSqrt(D),k+=D,R.points[d]=new o(D,H),G=H}R.segmentLength=k,p[u]=R}return p[u]}}();function n(p,S){var A=S.percents,c=S.lengths,E=A.length,u=bmFloor((E-1)*p),m=p*S.addedLength,d=0;if(u===E-1||u===0||m===c[u])return A[u];for(var y=c[u]>m?-1:1,T=!0;T;)if(c[u]<=m&&c[u+1]>m?(d=(m-c[u])/(c[u+1]-c[u]),T=!1):u+=y,u<0||u>=E-1){if(u===E-1)return A[u];T=!1}return A[u]+(A[u+1]-A[u])*d}function f(p,S,A,c,E,u){var m=n(E,u),d=1-m,y=e.round((d*d*d*p[0]+(m*d*d+d*m*d+d*d*m)*A[0]+(m*m*d+d*m*m+m*d*m)*c[0]+m*m*m*S[0])*1e3)/1e3,T=e.round((d*d*d*p[1]+(m*d*d+d*m*d+d*d*m)*A[1]+(m*m*d+d*m*m+m*d*m)*c[1]+m*m*m*S[1])*1e3)/1e3;return[y,T]}var g=createTypedArray("float32",8);function C(p,S,A,c,E,u,m){E<0?E=0:E>1&&(E=1);var d=n(E,m);u=u>1?1:u;var y=n(u,m),T,x=p.length,M=1-d,k=1-y,D=M*M*M,H=d*M*M*3,G=d*d*M*3,R=d*d*d,j=M*M*k,W=d*M*k+M*d*k+M*M*y,L=d*d*k+M*d*y+d*M*y,I=d*d*y,F=M*k*k,b=d*k*k+M*y*k+M*k*y,P=d*y*k+M*y*y+d*k*y,B=d*y*y,V=k*k*k,J=y*k*k+k*y*k+k*k*y,Q=y*y*k+k*y*y+y*k*y,U=y*y*y;for(T=0;T<x;T+=1)g[T*4]=e.round((D*p[T]+H*A[T]+G*c[T]+R*S[T])*1e3)/1e3,g[T*4+1]=e.round((j*p[T]+W*A[T]+L*c[T]+I*S[T])*1e3)/1e3,g[T*4+2]=e.round((F*p[T]+b*A[T]+P*c[T]+B*S[T])*1e3)/1e3,g[T*4+3]=e.round((V*p[T]+J*A[T]+Q*c[T]+U*S[T])*1e3)/1e3;return g}return{getSegmentsLength:s,getNewSegment:C,getPointInSegment:f,buildBezierData:l,pointOnLine2D:t,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r=this.offsetTime,i;this.propType==="multidimensional"&&(i=createTypedArray("float32",this.pv.length));for(var s=t.lastIndex,a=s,o=this.keyframes.length-1,l=!0,n,f,g;l;){if(n=this.keyframes[a],f=this.keyframes[a+1],a===o-1&&e>=f.t-r){n.h&&(n=f),s=0;break}if(f.t-r>e){s=a;break}a<o-1?a+=1:(s=0,l=!1)}g=this.keyframesMetadata[a]||{};var C,p,S,A,c,E,u=f.t-r,m=n.t-r,d;if(n.to){g.bezierData||(g.bezierData=bez.buildBezierData(n.s,f.s||n.e,n.to,n.ti));var y=g.bezierData;if(e>=u||e<m){var T=e>=u?y.points.length-1:0;for(p=y.points[T].point.length,C=0;C<p;C+=1)i[C]=y.points[T].point[C]}else{g.__fnct?E=g.__fnct:(E=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,g.__fnct=E),S=E((e-m)/(u-m));var x=y.segmentLength*S,M,k=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(c=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,l=!0,A=y.points.length;l;){if(k+=y.points[c].partialLength,x===0||S===0||c===y.points.length-1){for(p=y.points[c].point.length,C=0;C<p;C+=1)i[C]=y.points[c].point[C];break}else if(x>=k&&x<k+y.points[c+1].partialLength){for(M=(x-k)/y.points[c+1].partialLength,p=y.points[c].point.length,C=0;C<p;C+=1)i[C]=y.points[c].point[C]+(y.points[c+1].point[C]-y.points[c].point[C])*M;break}c<A-1?c+=1:l=!1}t._lastPoint=c,t._lastAddedLength=k-y.points[c].partialLength,t._lastKeyframeIndex=a}}else{var D,H,G,R,j;if(o=n.s.length,d=f.s||n.e,this.sh&&n.h!==1)if(e>=u)i[0]=d[0],i[1]=d[1],i[2]=d[2];else if(e<=m)i[0]=n.s[0],i[1]=n.s[1],i[2]=n.s[2];else{var W=createQuaternion(n.s),L=createQuaternion(d),I=(e-m)/(u-m);quaternionToEuler(i,slerp(W,L,I))}else for(a=0;a<o;a+=1)n.h!==1&&(e>=u?S=1:e<m?S=0:(n.o.x.constructor===Array?(g.__fnct||(g.__fnct=[]),g.__fnct[a]?E=g.__fnct[a]:(D=n.o.x[a]===void 0?n.o.x[0]:n.o.x[a],H=n.o.y[a]===void 0?n.o.y[0]:n.o.y[a],G=n.i.x[a]===void 0?n.i.x[0]:n.i.x[a],R=n.i.y[a]===void 0?n.i.y[0]:n.i.y[a],E=BezierFactory.getBezierEasing(D,H,G,R).get,g.__fnct[a]=E)):g.__fnct?E=g.__fnct:(D=n.o.x,H=n.o.y,G=n.i.x,R=n.i.y,E=BezierFactory.getBezierEasing(D,H,G,R).get,n.keyframeMetadata=E),S=E((e-m)/(u-m)))),d=f.s||n.e,j=n.h===1?n.s[a]:n.s[a]+(d[a]-n.s[a])*S,this.propType==="multidimensional"?i[a]=j:i=j}return t.lastIndex=s,i}function slerp(e,t,r){var i=[],s=e[0],a=e[1],o=e[2],l=e[3],n=t[0],f=t[1],g=t[2],C=t[3],p,S,A,c,E;return S=s*n+a*f+o*g+l*C,S<0&&(S=-S,n=-n,f=-f,g=-g,C=-C),1-S>1e-6?(p=Math.acos(S),A=Math.sin(p),c=Math.sin((1-r)*p)/A,E=Math.sin(r*p)/A):(c=1-r,E=r),i[0]=c*s+E*n,i[1]=c*a+E*f,i[2]=c*o+E*g,i[3]=c*l+E*C,i}function quaternionToEuler(e,t){var r=t[0],i=t[1],s=t[2],a=t[3],o=Math.atan2(2*i*a-2*r*s,1-2*i*i-2*s*s),l=Math.asin(2*r*i+2*s*a),n=Math.atan2(2*r*a-2*i*s,1-2*r*r-2*s*s);e[0]=o/degToRads,e[1]=l/degToRads,e[2]=n/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,i=e[2]*degToRads,s=Math.cos(t/2),a=Math.cos(r/2),o=Math.cos(i/2),l=Math.sin(t/2),n=Math.sin(r/2),f=Math.sin(i/2),g=s*a*o-l*n*f,C=l*n*o+s*a*f,p=l*a*o+s*n*f,S=s*n*o-l*a*f;return[C,p,S,g]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,i){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,r,i){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=t.k[s]*this.mult,this.pv[s]=t.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,i){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,r,i){this.propType="multidimensional";var s,a=t.k.length,o,l,n,f;for(s=0;s<a-1;s+=1)t.k[s].to&&t.k[s].s&&t.k[s+1]&&t.k[s+1].s&&(o=t.k[s].s,l=t.k[s+1].s,n=t.k[s].to,f=t.k[s].ti,(o.length===2&&!(o[0]===l[0]&&o[1]===l[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],o[0]+n[0],o[1]+n[1])&&bez.pointOnLine2D(o[0],o[1],l[0],l[1],l[0]+f[0],l[1]+f[1])||o.length===3&&!(o[0]===l[0]&&o[1]===l[1]&&o[2]===l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],o[0]+n[0],o[1]+n[1],o[2]+n[2])&&bez.pointOnLine3D(o[0],o[1],o[2],l[0],l[1],l[2],l[0]+f[0],l[1]+f[1],l[2]+f[2]))&&(t.k[s].to=null,t.k[s].ti=null),o[0]===l[0]&&o[1]===l[1]&&n[0]===0&&n[1]===0&&f[0]===0&&f[1]===0&&(o.length===2||o[2]===l[2]&&n[2]===0&&f[2]===0)&&(t.k[s].to=null,t.k[s].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var g=t.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),s=0;s<g;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=addEffect}var PropertyFactory=function(){function e(r,i,s,a,o){i.sid&&(i=r.globalData.slotManager.getProp(i));var l;if(!i.k.length)l=new ValueProperty(r,i,a,o);else if(typeof i.k[0]=="number")l=new MultiDimensionalProperty(r,i,a,o);else switch(s){case 0:l=new KeyframedValueProperty(r,i,a,o);break;case 1:l=new KeyframedMultidimensionalProperty(r,i,a,o);break}return l.effectsSequence.length&&o.addDynamicProperty(l),l}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,r=this.dynamicProperties.length;for(t=0;t<r;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,i,s){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=e,a[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,s,a,o,l){this.setXYAt(e,t,"v",o,l),this.setXYAt(r,i,"o",o,l),this.setXYAt(s,a,"i",o,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a=this._length-1,o=this._length,l;for(l=s;l<o;l+=1)e.setTripleAt(t[a][0],t[a][1],i[a][0],i[a][1],r[a][0],r[a][1],l,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(s){var a=s._length,o;for(o=0;o<a;o+=1)pointPool.release(s.v[o]),pointPool.release(s.i[o]),pointPool.release(s.o[o]),s.v[o]=null,s.i[o]=null,s.o[o]=null;s._length=0,s.c=!1}function r(s){var a=i.newElement(),o,l=s._length===void 0?s.v.length:s._length;for(a.setLength(l),a.c=s.c,o=0;o<l;o+=1)a.setTripleAt(s.v[o][0],s.v[o][1],s.o[o][0],s.o[o][1],s.i[o][0],s.i[o][1],o);return a}var i=poolFactory(4,e,t);return i.clone=r,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:s,release:a},t=0,r=4,i=createSizedArray(r);function s(){var o;return t?(t-=1,o=i[t]):o=new ShapeCollection,o}function a(o){var l,n=o._length;for(l=0;l<n;l+=1)shapePool.release(o.shapes[l]);o._length=0,t===r&&(i=pooling.double(i),r*=2),i[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(u,m,d){var y=d.lastIndex,T,x,M,k,D,H,G,R,j,W=this.keyframes;if(u<W[0].t-this.offsetTime)T=W[0].s[0],M=!0,y=0;else if(u>=W[W.length-1].t-this.offsetTime)T=W[W.length-1].s?W[W.length-1].s[0]:W[W.length-2].e[0],M=!0;else{for(var L=y,I=W.length-1,F=!0,b,P,B;F&&(b=W[L],P=W[L+1],!(P.t-this.offsetTime>u));)L<I-1?L+=1:F=!1;if(B=this.keyframesMetadata[L]||{},M=b.h===1,y=L,!M){if(u>=P.t-this.offsetTime)R=1;else if(u<b.t-this.offsetTime)R=0;else{var V;B.__fnct?V=B.__fnct:(V=BezierFactory.getBezierEasing(b.o.x,b.o.y,b.i.x,b.i.y).get,B.__fnct=V),R=V((u-(b.t-this.offsetTime))/(P.t-this.offsetTime-(b.t-this.offsetTime)))}x=P.s?P.s[0]:b.e[0]}T=b.s[0]}for(H=m._length,G=T.i[0].length,d.lastIndex=y,k=0;k<H;k+=1)for(D=0;D<G;D+=1)j=M?T.i[k][D]:T.i[k][D]+(x.i[k][D]-T.i[k][D])*R,m.i[k][D]=j,j=M?T.o[k][D]:T.o[k][D]+(x.o[k][D]-T.o[k][D])*R,m.o[k][D]=j,j=M?T.v[k][D]:T.v[k][D]+(x.v[k][D]-T.v[k][D])*R,m.v[k][D]=j}function r(){var u=this.comp.renderedFrame-this.offsetTime,m=this.keyframes[0].t-this.offsetTime,d=this.keyframes[this.keyframes.length-1].t-this.offsetTime,y=this._caching.lastFrame;return y!==e&&(y<m&&u<m||y>d&&u>d)||(this._caching.lastIndex=y<u?this._caching.lastIndex:0,this.interpolateShape(u,this.pv,this._caching)),this._caching.lastFrame=u,this.pv}function i(){this.paths=this.localShapeCollection}function s(u,m){if(u._length!==m._length||u.c!==m.c)return!1;var d,y=u._length;for(d=0;d<y;d+=1)if(u.v[d][0]!==m.v[d][0]||u.v[d][1]!==m.v[d][1]||u.o[d][0]!==m.o[d][0]||u.o[d][1]!==m.o[d][1]||u.i[d][0]!==m.i[d][0]||u.i[d][1]!==m.i[d][1])return!1;return!0}function a(u){s(this.v,u)||(this.v=shapePool.clone(u),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var u;this.kf?u=this.pv:this.data.ks?u=this.data.ks.k:u=this.data.pt.k;var m,d=this.effectsSequence.length;for(m=0;m<d;m+=1)u=this.effectsSequence[m](u);this.setVValue(u),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(u,m,d){this.propType="shape",this.comp=u.comp,this.container=u,this.elem=u,this.data=m,this.k=!1,this.kf=!1,this._mdf=!1;var y=d===3?m.pt.k:m.ks.k;this.v=shapePool.clone(y),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function n(u){this.effectsSequence.push(u),this.container.addDynamicProperty(this)}l.prototype.interpolateShape=t,l.prototype.getValue=o,l.prototype.setVValue=a,l.prototype.addEffect=n;function f(u,m,d){this.propType="shape",this.comp=u.comp,this.elem=u,this.container=u,this.offsetTime=u.data.st,this.keyframes=d===3?m.pt.k:m.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var y=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,y),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=i,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}f.prototype.getValue=o,f.prototype.interpolateShape=t,f.prototype.setVValue=a,f.prototype.addEffect=n;var g=function(){var u=roundCorner;function m(d,y){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=y.d,this.elem=d,this.comp=d.comp,this.frameId=-1,this.initDynamicPropertyContainer(d),this.p=PropertyFactory.getProp(d,y.p,1,0,this),this.s=PropertyFactory.getProp(d,y.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return m.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var y=this.p.v[0],T=this.p.v[1],x=this.s.v[0]/2,M=this.s.v[1]/2,k=this.d!==3,D=this.v;D.v[0][0]=y,D.v[0][1]=T-M,D.v[1][0]=k?y+x:y-x,D.v[1][1]=T,D.v[2][0]=y,D.v[2][1]=T+M,D.v[3][0]=k?y-x:y+x,D.v[3][1]=T,D.i[0][0]=k?y-x*u:y+x*u,D.i[0][1]=T-M,D.i[1][0]=k?y+x:y-x,D.i[1][1]=T-M*u,D.i[2][0]=k?y+x*u:y-x*u,D.i[2][1]=T+M,D.i[3][0]=k?y-x:y+x,D.i[3][1]=T+M*u,D.o[0][0]=k?y+x*u:y-x*u,D.o[0][1]=T-M,D.o[1][0]=k?y+x:y-x,D.o[1][1]=T+M*u,D.o[2][0]=k?y-x*u:y+x*u,D.o[2][1]=T+M,D.o[3][0]=k?y-x:y+x,D.o[3][1]=T-M*u}},extendPrototype([DynamicPropertyContainer],m),m}(),C=function(){function u(m,d){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=m,this.comp=m.comp,this.data=d,this.frameId=-1,this.d=d.d,this.initDynamicPropertyContainer(m),d.sy===1?(this.ir=PropertyFactory.getProp(m,d.ir,0,0,this),this.is=PropertyFactory.getProp(m,d.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(m,d.pt,0,0,this),this.p=PropertyFactory.getProp(m,d.p,1,0,this),this.r=PropertyFactory.getProp(m,d.r,0,degToRads,this),this.or=PropertyFactory.getProp(m,d.or,0,0,this),this.os=PropertyFactory.getProp(m,d.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 u.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var d=Math.floor(this.pt.v)*2,y=Math.PI*2/d,T=!0,x=this.or.v,M=this.ir.v,k=this.os.v,D=this.is.v,H=2*Math.PI*x/(d*2),G=2*Math.PI*M/(d*2),R,j,W,L,I=-Math.PI/2;I+=this.r.v;var F=this.data.d===3?-1:1;for(this.v._length=0,R=0;R<d;R+=1){j=T?x:M,W=T?k:D,L=T?H:G;var b=j*Math.cos(I),P=j*Math.sin(I),B=b===0&&P===0?0:P/Math.sqrt(b*b+P*P),V=b===0&&P===0?0:-b/Math.sqrt(b*b+P*P);b+=+this.p.v[0],P+=+this.p.v[1],this.v.setTripleAt(b,P,b-B*L*W*F,P-V*L*W*F,b+B*L*W*F,P+V*L*W*F,R,!0),T=!T,I+=y*F}},convertPolygonToPath:function(){var d=Math.floor(this.pt.v),y=Math.PI*2/d,T=this.or.v,x=this.os.v,M=2*Math.PI*T/(d*4),k,D=-Math.PI*.5,H=this.data.d===3?-1:1;for(D+=this.r.v,this.v._length=0,k=0;k<d;k+=1){var G=T*Math.cos(D),R=T*Math.sin(D),j=G===0&&R===0?0:R/Math.sqrt(G*G+R*R),W=G===0&&R===0?0:-G/Math.sqrt(G*G+R*R);G+=+this.p.v[0],R+=+this.p.v[1],this.v.setTripleAt(G,R,G-j*M*x*H,R-W*M*x*H,G+j*M*x*H,R+W*M*x*H,k,!0),D+=y*H}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],u),u}(),p=function(){function u(m,d){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=m,this.comp=m.comp,this.frameId=-1,this.d=d.d,this.initDynamicPropertyContainer(m),this.p=PropertyFactory.getProp(m,d.p,1,0,this),this.s=PropertyFactory.getProp(m,d.s,1,0,this),this.r=PropertyFactory.getProp(m,d.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return u.prototype={convertRectToPath:function(){var d=this.p.v[0],y=this.p.v[1],T=this.s.v[0]/2,x=this.s.v[1]/2,M=bmMin(T,x,this.r.v),k=M*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(d+T,y-x+M,d+T,y-x+M,d+T,y-x+k,0,!0),this.v.setTripleAt(d+T,y+x-M,d+T,y+x-k,d+T,y+x-M,1,!0),M!==0?(this.v.setTripleAt(d+T-M,y+x,d+T-M,y+x,d+T-k,y+x,2,!0),this.v.setTripleAt(d-T+M,y+x,d-T+k,y+x,d-T+M,y+x,3,!0),this.v.setTripleAt(d-T,y+x-M,d-T,y+x-M,d-T,y+x-k,4,!0),this.v.setTripleAt(d-T,y-x+M,d-T,y-x+k,d-T,y-x+M,5,!0),this.v.setTripleAt(d-T+M,y-x,d-T+M,y-x,d-T+k,y-x,6,!0),this.v.setTripleAt(d+T-M,y-x,d+T-k,y-x,d+T-M,y-x,7,!0)):(this.v.setTripleAt(d-T,y+x,d-T+k,y+x,d-T,y+x,2),this.v.setTripleAt(d-T,y-x,d-T,y-x+k,d-T,y-x,3))):(this.v.setTripleAt(d+T,y-x+M,d+T,y-x+k,d+T,y-x+M,0,!0),M!==0?(this.v.setTripleAt(d+T-M,y-x,d+T-M,y-x,d+T-k,y-x,1,!0),this.v.setTripleAt(d-T+M,y-x,d-T+k,y-x,d-T+M,y-x,2,!0),this.v.setTripleAt(d-T,y-x+M,d-T,y-x+M,d-T,y-x+k,3,!0),this.v.setTripleAt(d-T,y+x-M,d-T,y+x-k,d-T,y+x-M,4,!0),this.v.setTripleAt(d-T+M,y+x,d-T+M,y+x,d-T+k,y+x,5,!0),this.v.setTripleAt(d+T-M,y+x,d+T-k,y+x,d+T-M,y+x,6,!0),this.v.setTripleAt(d+T,y+x-M,d+T,y+x-M,d+T,y+x-k,7,!0)):(this.v.setTripleAt(d-T,y-x,d-T+k,y-x,d-T,y-x,1,!0),this.v.setTripleAt(d-T,y+x,d-T,y+x-k,d-T,y+x,2,!0),this.v.setTripleAt(d+T,y+x,d+T-k,y+x,d+T,y+x,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],u),u}();function S(u,m,d){var y;if(d===3||d===4){var T=d===3?m.pt:m.ks,x=T.k;x.length?y=new f(u,m,d):y=new l(u,m,d)}else d===5?y=new p(u,m):d===6?y=new g(u,m):d===7&&(y=new C(u,m));return y.k&&u.addDynamicProperty(y),y}function A(){return l}function c(){return f}var E={};return E.getShapeProp=S,E.getConstructorFunction=A,E.getKeyframedConstructorFunction=c,E}();/*!
  2. Transformation Matrix v2.0
  3. (c) Epistemex 2014-2015
  4. www.epistemex.com
  5. By Ken Fyrstenberg
  6. Contributions by leeoniya.
  7. License: MIT, header required.
  8. */var Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,i=Math.round;function s(){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 a(b){if(b===0)return this;var P=e(b),B=t(b);return this._t(P,-B,0,0,B,P,0,0,0,0,1,0,0,0,0,1)}function o(b){if(b===0)return this;var P=e(b),B=t(b);return this._t(1,0,0,0,0,P,-B,0,0,B,P,0,0,0,0,1)}function l(b){if(b===0)return this;var P=e(b),B=t(b);return this._t(P,0,B,0,0,1,0,0,-B,0,P,0,0,0,0,1)}function n(b){if(b===0)return this;var P=e(b),B=t(b);return this._t(P,-B,0,0,B,P,0,0,0,0,1,0,0,0,0,1)}function f(b,P){return this._t(1,P,b,1,0,0)}function g(b,P){return this.shear(r(b),r(P))}function C(b,P){var B=e(P),V=t(P);return this._t(B,V,0,0,-V,B,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(b),1,0,0,0,0,1,0,0,0,0,1)._t(B,-V,0,0,V,B,0,0,0,0,1,0,0,0,0,1)}function p(b,P,B){return!B&&B!==0&&(B=1),b===1&&P===1&&B===1?this:this._t(b,0,0,0,0,P,0,0,0,0,B,0,0,0,0,1)}function S(b,P,B,V,J,Q,U,K,Z,re,le,he,oe,_,O,z){return this.props[0]=b,this.props[1]=P,this.props[2]=B,this.props[3]=V,this.props[4]=J,this.props[5]=Q,this.props[6]=U,this.props[7]=K,this.props[8]=Z,this.props[9]=re,this.props[10]=le,this.props[11]=he,this.props[12]=oe,this.props[13]=_,this.props[14]=O,this.props[15]=z,this}function A(b,P,B){return B=B||0,b!==0||P!==0||B!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,b,P,B,1):this}function c(b,P,B,V,J,Q,U,K,Z,re,le,he,oe,_,O,z){var N=this.props;if(b===1&&P===0&&B===0&&V===0&&J===0&&Q===1&&U===0&&K===0&&Z===0&&re===0&&le===1&&he===0)return N[12]=N[12]*b+N[15]*oe,N[13]=N[13]*Q+N[15]*_,N[14]=N[14]*le+N[15]*O,N[15]*=z,this._identityCalculated=!1,this;var X=N[0],$=N[1],Y=N[2],q=N[3],ee=N[4],ae=N[5],ie=N[6],ne=N[7],te=N[8],se=N[9],ce=N[10],fe=N[11],pe=N[12],ue=N[13],de=N[14],me=N[15];return N[0]=X*b+$*J+Y*Z+q*oe,N[1]=X*P+$*Q+Y*re+q*_,N[2]=X*B+$*U+Y*le+q*O,N[3]=X*V+$*K+Y*he+q*z,N[4]=ee*b+ae*J+ie*Z+ne*oe,N[5]=ee*P+ae*Q+ie*re+ne*_,N[6]=ee*B+ae*U+ie*le+ne*O,N[7]=ee*V+ae*K+ie*he+ne*z,N[8]=te*b+se*J+ce*Z+fe*oe,N[9]=te*P+se*Q+ce*re+fe*_,N[10]=te*B+se*U+ce*le+fe*O,N[11]=te*V+se*K+ce*he+fe*z,N[12]=pe*b+ue*J+de*Z+me*oe,N[13]=pe*P+ue*Q+de*re+me*_,N[14]=pe*B+ue*U+de*le+me*O,N[15]=pe*V+ue*K+de*he+me*z,this._identityCalculated=!1,this}function E(b){var P=b.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 u(){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 m(b){for(var P=0;P<16;){if(b.props[P]!==this.props[P])return!1;P+=1}return!0}function d(b){var P;for(P=0;P<16;P+=1)b.props[P]=this.props[P];return b}function y(b){var P;for(P=0;P<16;P+=1)this.props[P]=b[P]}function T(b,P,B){return{x:b*this.props[0]+P*this.props[4]+B*this.props[8]+this.props[12],y:b*this.props[1]+P*this.props[5]+B*this.props[9]+this.props[13],z:b*this.props[2]+P*this.props[6]+B*this.props[10]+this.props[14]}}function x(b,P,B){return b*this.props[0]+P*this.props[4]+B*this.props[8]+this.props[12]}function M(b,P,B){return b*this.props[1]+P*this.props[5]+B*this.props[9]+this.props[13]}function k(b,P,B){return b*this.props[2]+P*this.props[6]+B*this.props[10]+this.props[14]}function D(){var b=this.props[0]*this.props[5]-this.props[1]*this.props[4],P=this.props[5]/b,B=-this.props[1]/b,V=-this.props[4]/b,J=this.props[0]/b,Q=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/b,U=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/b,K=new Matrix;return K.props[0]=P,K.props[1]=B,K.props[4]=V,K.props[5]=J,K.props[12]=Q,K.props[13]=U,K}function H(b){var P=this.getInverseMatrix();return P.applyToPointArray(b[0],b[1],b[2]||0)}function G(b){var P,B=b.length,V=[];for(P=0;P<B;P+=1)V[P]=H(b[P]);return V}function R(b,P,B){var V=createTypedArray("float32",6);if(this.isIdentity())V[0]=b[0],V[1]=b[1],V[2]=P[0],V[3]=P[1],V[4]=B[0],V[5]=B[1];else{var J=this.props[0],Q=this.props[1],U=this.props[4],K=this.props[5],Z=this.props[12],re=this.props[13];V[0]=b[0]*J+b[1]*U+Z,V[1]=b[0]*Q+b[1]*K+re,V[2]=P[0]*J+P[1]*U+Z,V[3]=P[0]*Q+P[1]*K+re,V[4]=B[0]*J+B[1]*U+Z,V[5]=B[0]*Q+B[1]*K+re}return V}function j(b,P,B){var V;return this.isIdentity()?V=[b,P,B]:V=[b*this.props[0]+P*this.props[4]+B*this.props[8]+this.props[12],b*this.props[1]+P*this.props[5]+B*this.props[9]+this.props[13],b*this.props[2]+P*this.props[6]+B*this.props[10]+this.props[14]],V}function W(b,P){if(this.isIdentity())return b+","+P;var B=this.props;return Math.round((b*B[0]+P*B[4]+B[12])*100)/100+","+Math.round((b*B[1]+P*B[5]+B[13])*100)/100}function L(){for(var b=0,P=this.props,B="matrix3d(",V=1e4;b<16;)B+=i(P[b]*V)/V,B+=b===15?")":",",b+=1;return B}function I(b){var P=1e4;return b<1e-6&&b>0||b>-1e-6&&b<0?i(b*P)/P:b}function F(){var b=this.props,P=I(b[0]),B=I(b[1]),V=I(b[4]),J=I(b[5]),Q=I(b[12]),U=I(b[13]);return"matrix("+P+","+B+","+V+","+J+","+Q+","+U+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=o,this.rotateY=l,this.rotateZ=n,this.skew=g,this.skewFromAxis=C,this.shear=f,this.scale=p,this.setTransform=S,this.translate=A,this.transform=c,this.multiply=E,this.applyToPoint=T,this.applyToX=x,this.applyToY=M,this.applyToZ=k,this.applyToPointArray=j,this.applyToTriplePoints=R,this.applyToPointStringified=W,this.toCSS=L,this.to2dCSS=F,this.clone=d,this.cloneFromProps=y,this.equals=m,this.inversePoints=G,this.inversePoint=H,this.getInverseMatrix=D,this._t=this.transform,this.isIdentity=u,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var i=t[r].split("=");if(decodeURIComponent(i[0])==e)return decodeURIComponent(i[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=r,e.getModifier=i;function r(s,a){t[s]||(t[s]=a)}function i(s,a,o){return new t[s](a,o)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,i,s){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o=[],l,n=a.length,f;for(l=0;l<n;l+=1)if(f=a[l],!(f.e*s<i||f.s*s>i+r)){var g,C;f.s*s<=i?g=0:g=(f.s*s-i)/r,f.e*s>=i+r?C=1:C=(f.e*s-i)/r,o.push([g,C])}return o.length||o.push([0,0]),o},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r;if(this._mdf||e){var i=this.o.v%360/360;if(i<0&&(i+=1),this.s.v>1?t=1+i:this.s.v<0?t=0+i:t=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,t>r){var s=t;t=r,r=s}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 a,o,l=this.shapes.length,n,f,g,C,p,S=0;if(r===t)for(o=0;o<l;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(r===1&&t===0||r===0&&t===1){if(this._mdf)for(o=0;o<l;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var A=[],c,E;for(o=0;o<l;o+=1)if(c=this.shapes[o],!c.shape._mdf&&!this._mdf&&!e&&this.m!==2)c.shape.paths=c.localShapeCollection;else{if(a=c.shape.paths,f=a._length,p=0,!c.shape._mdf&&c.pathsData.length)p=c.totalShapeLength;else{for(g=this.releasePathsData(c.pathsData),n=0;n<f;n+=1)C=bez.getSegmentsLength(a.shapes[n]),g.push(C),p+=C.totalLength;c.totalShapeLength=p,c.pathsData=g}S+=p,c.shape._mdf=!0}var u=t,m=r,d=0,y;for(o=l-1;o>=0;o-=1)if(c=this.shapes[o],c.shape._mdf){for(E=c.localShapeCollection,E.releaseShapes(),this.m===2&&l>1?(y=this.calculateShapeEdges(t,r,c.totalShapeLength,d,S),d+=c.totalShapeLength):y=[[u,m]],f=y.length,n=0;n<f;n+=1){u=y[n][0],m=y[n][1],A.length=0,m<=1?A.push({s:c.totalShapeLength*u,e:c.totalShapeLength*m}):u>=1?A.push({s:c.totalShapeLength*(u-1),e:c.totalShapeLength*(m-1)}):(A.push({s:c.totalShapeLength*u,e:c.totalShapeLength}),A.push({s:0,e:c.totalShapeLength*(m-1)}));var T=this.addShapes(c,A[0]);if(A[0].s!==A[0].e){if(A.length>1){var x=c.shape.paths.shapes[c.shape.paths._length-1];if(x.c){var M=T.pop();this.addPaths(T,E),T=this.addShapes(c,A[1],M)}else this.addPaths(T,E),T=this.addShapes(c,A[1])}this.addPaths(T,E)}}c.shape.paths=E}}},TrimModifier.prototype.addPaths=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,i,s,a,o){s.setXYAt(t[0],t[1],"o",a),s.setXYAt(r[0],r[1],"i",a+1),o&&s.setXYAt(e[0],e[1],"v",a),s.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,i){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),i&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var i=e.pathsData,s=e.shape.paths.shapes,a,o=e.shape.paths._length,l,n,f=0,g,C,p,S,A=[],c,E=!0;for(r?(C=r._length,c=r._length):(r=shapePool.newElement(),C=0,c=0),A.push(r),a=0;a<o;a+=1){for(p=i[a].lengths,r.c=s[a].c,n=s[a].c?p.length:p.length+1,l=1;l<n;l+=1)if(g=p[l-1],f+g.addedLength<t.s)f+=g.addedLength,r.c=!1;else if(f>t.e){r.c=!1;break}else t.s<=f&&t.e>=f+g.addedLength?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[l],s[a].v[l],r,C,E),E=!1):(S=bez.getNewSegment(s[a].v[l-1],s[a].v[l],s[a].o[l-1],s[a].i[l],(t.s-f)/g.addedLength,(t.e-f)/g.addedLength,p[l-1]),this.addSegmentFromArray(S,r,C,E),E=!1,r.c=!1),f+=g.addedLength,C+=1;if(s[a].c&&p.length){if(g=p[l-1],f<=t.e){var u=p[l-1].addedLength;t.s<=f&&t.e>=f+u?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[0],s[a].v[0],r,C,E),E=!1):(S=bez.getNewSegment(s[a].v[l-1],s[a].v[0],s[a].o[l-1],s[a].i[0],(t.s-f)/u,(t.e-f)/u,p[l-1]),this.addSegmentFromArray(S,r,C,E),E=!1,r.c=!1)}else r.c=!1;f+=g.addedLength,C+=1}if(r._length&&(r.setXYAt(r.v[c][0],r.v[c][1],"i",c),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>t.e)break;a<o-1&&(r=shapePool.newElement(),E=!0,A.push(r),C=0)}return A};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,i=[0,0],s=e._length,a=0;for(a=0;a<s;a+=1)i[0]+=e.v[a][0],i[1]+=e.v[a][1];i[0]/=s,i[1]/=s;var o=shapePool.newElement();o.c=e.c;var l,n,f,g,C,p;for(a=0;a<s;a+=1)l=e.v[a][0]+(i[0]-e.v[a][0])*r,n=e.v[a][1]+(i[1]-e.v[a][1])*r,f=e.o[a][0]+(i[0]-e.o[a][0])*-r,g=e.o[a][1]+(i[1]-e.o[a][1])*-r,C=e.i[a][0]+(i[0]-e.i[a][0])*-r,p=e.i[a][1]+(i[1]-e.i[a][1])*-r,o.setTripleAt(l,n,f,g,C,p,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,a,o=this.amount.v;if(o!==0){var l,n;for(r=0;r<i;r+=1){if(l=this.shapes[r],n=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(n.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)n.addShape(this.processPath(t[s],o));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(n){var f=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||f,this.a&&n.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&n.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&n.skewFromAxis(-this.sk.v,this.sa.v),this.r?n.rotate(-this.r.v):n.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?n.translate(this.px.v,this.py.v,-this.pz.v):n.translate(this.px.v,this.py.v,0):n.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(n){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||n){var f;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 g,C;if(f=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(g=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/f,0),C=this.p.getValueAtTime(this.p.keyframes[0].t/f,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(g=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/f,0),C=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/f,0)):(g=this.p.pv,C=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/f,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){g=[],C=[];var p=this.px,S=this.py;p._caching.lastFrame+p.offsetTime<=p.keyframes[0].t?(g[0]=p.getValueAtTime((p.keyframes[0].t+.01)/f,0),g[1]=S.getValueAtTime((S.keyframes[0].t+.01)/f,0),C[0]=p.getValueAtTime(p.keyframes[0].t/f,0),C[1]=S.getValueAtTime(S.keyframes[0].t/f,0)):p._caching.lastFrame+p.offsetTime>=p.keyframes[p.keyframes.length-1].t?(g[0]=p.getValueAtTime(p.keyframes[p.keyframes.length-1].t/f,0),g[1]=S.getValueAtTime(S.keyframes[S.keyframes.length-1].t/f,0),C[0]=p.getValueAtTime((p.keyframes[p.keyframes.length-1].t-.01)/f,0),C[1]=S.getValueAtTime((S.keyframes[S.keyframes.length-1].t-.01)/f,0)):(g=[p.pv,S.pv],C[0]=p.getValueAtTime((p._caching.lastFrame+p.offsetTime-.01)/f,p.offsetTime),C[1]=S.getValueAtTime((S._caching.lastFrame+S.offsetTime-.01)/f,S.offsetTime))}else C=e,g=C;this.v.rotate(-Math.atan2(g[1]-C[1],g[0]-C[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function s(){}function a(n){this._addDynamicProperty(n),this.elem.addDynamicProperty(n),this._isDirty=!0}function o(n,f,g){if(this.elem=n,this.frameId=-1,this.propType="transform",this.data=f,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(g||n),f.p&&f.p.s?(this.px=PropertyFactory.getProp(n,f.p.x,0,0,this),this.py=PropertyFactory.getProp(n,f.p.y,0,0,this),f.p.z&&(this.pz=PropertyFactory.getProp(n,f.p.z,0,0,this))):this.p=PropertyFactory.getProp(n,f.p||{k:[0,0,0]},1,0,this),f.rx){if(this.rx=PropertyFactory.getProp(n,f.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(n,f.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(n,f.rz,0,degToRads,this),f.or.k[0].ti){var C,p=f.or.k.length;for(C=0;C<p;C+=1)f.or.k[C].to=null,f.or.k[C].ti=null}this.or=PropertyFactory.getProp(n,f.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(n,f.r||{k:0},0,degToRads,this);f.sk&&(this.sk=PropertyFactory.getProp(n,f.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(n,f.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(n,f.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(n,f.s||{k:[100,100,100]},1,.01,this),f.o?this.o=PropertyFactory.getProp(n,f.o,0,.01,n):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:r,precalculateMatrix:i,autoOrient:s},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function l(n,f,g){return new o(n,f,g)}return{getTransformProperty:l}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,i,s,a){var o=a?-1:1,l=i.s.v[0]+(1-i.s.v[0])*(1-s),n=i.s.v[1]+(1-i.s.v[1])*(1-s);e.translate(i.p.v[0]*o*s,i.p.v[1]*o*s,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*o*s),t.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/l:l,a?1/n:n),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,i){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]._render=t,e[r].ty==="gr"&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,i,s,a,o=!1;if(this._mdf||e){var l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var n={it:this.cloneElements(this._elements),ty:"gr"};n.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,n),this._groups.splice(0,0,n),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var f;for(i=0;i<=this._groups.length-1;i+=1){if(f=a<l,this._groups[i]._render=f,this.changeGroupRender(this._groups[i].it,f),!f){var g=this.elemsData[i].it,C=g[g.length-1];C.transform.op.v!==0?(C.transform.op._mdf=!0,C.transform.op.v=0):C.transform.op._mdf=!1}a+=1}this._currentCopies=l;var p=this.o.v,S=p%1,A=p>0?Math.floor(p):Math.ceil(p),c=this.pMatrix.props,E=this.rMatrix.props,u=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m=0;if(p>0){for(;m<A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),m+=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,S,!1),m+=S)}else if(p<0){for(;m>A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),m-=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-S,!0),m-=S)}i=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var d,y;a;){if(t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,y=r.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),m!==0){for((i!==0&&s===1||i!==this._currentCopies-1&&s===-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(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),this.matrix.transform(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]),d=0;d<y;d+=1)r[d]=this.matrix.props[d];this.matrix.reset()}else for(this.matrix.reset(),d=0;d<y;d+=1)r[d]=this.matrix.props[d];m+=1,a-=1,i+=s}}else for(a=this._currentCopies,i=0,s=1;a;)t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,i+=s;return o},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r=shapePool.newElement();r.c=e.c;var i,s=e._length,a,o,l,n,f,g,C=0,p,S,A,c,E,u;for(i=0;i<s;i+=1)a=e.v[i],l=e.o[i],o=e.i[i],a[0]===l[0]&&a[1]===l[1]&&a[0]===o[0]&&a[1]===o[1]?(i===0||i===s-1)&&!e.c?(r.setTripleAt(a[0],a[1],l[0],l[1],o[0],o[1],C),C+=1):(i===0?n=e.v[s-1]:n=e.v[i-1],f=Math.sqrt(Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2)),g=f?Math.min(f/2,t)/f:0,E=a[0]+(n[0]-a[0])*g,p=E,u=a[1]-(a[1]-n[1])*g,S=u,A=p-(p-a[0])*roundCorner,c=S-(S-a[1])*roundCorner,r.setTripleAt(p,S,A,c,E,u,C),C+=1,i===s-1?n=e.v[0]:n=e.v[i+1],f=Math.sqrt(Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2)),g=f?Math.min(f/2,t)/f:0,A=a[0]+(n[0]-a[0])*g,p=A,c=a[1]+(n[1]-a[1])*g,S=c,E=p-(p-a[0])*roundCorner,u=S-(S-a[1])*roundCorner,r.setTripleAt(p,S,A,c,E,u,C),C+=1):(r.setTripleAt(e.v[i][0],e.v[i][1],e.o[i][0],e.o[i][1],e.i[i][0],e.i[i][1],C),C+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,a,o=this.rd.v;if(o!==0){var l,n;for(r=0;r<i;r+=1){if(l=this.shapes[r],n=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(n.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,s=0;s<a;s+=1)n.addShape(this.processPath(t[s],o));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(e===0)return[];var i=t*t-4*e*r;if(i<0)return[];var s=-t/(2*e);if(i===0)return[s];var a=Math.sqrt(i)/(2*e);return[s-a,s+a]}function polynomialCoefficients(e,t,r,i){return[-e+3*t-3*r+i,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,i,s){s&&pointEqual(e,t)&&(t=lerpPoint(e,i,1/3)),s&&pointEqual(r,i)&&(r=lerpPoint(e,i,2/3));var a=polynomialCoefficients(e[0],t[0],r[0],i[0]),o=polynomialCoefficients(e[1],t[1],r[1],i[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[3]],this.points=[e,t,r,i]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[t]:[]:[t-i,t+i].filter(function(s){return s>0&&s<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),i=lerpPoint(this.points[2],this.points[3],e),s=lerpPoint(t,r,e),a=lerpPoint(r,i,e),o=lerpPoint(s,a,e);return[new PolynomialBezier(this.points[0],t,s,o,!0),new PolynomialBezier(o,a,i,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],i=e.points[e.points.length-1][t];if(r>i){var s=i;i=r,r=s}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var l=e.point(a[o])[t];l<r?r=l:l>i&&(i=l)}return{min:r,max:i}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,r){var i=e.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,r,i,s,a){if(boxIntersect(e,t)){if(r>=a||e.width<=i&&e.height<=i&&t.width<=i&&t.height<=i){s.push([e.t,t.t]);return}var o=splitData(e),l=splitData(t);intersectsImpl(o[0],l[0],r+1,i,s,a),intersectsImpl(o[0],l[1],r+1,i,s,a),intersectsImpl(o[1],l[0],r+1,i,s,a),intersectsImpl(o[1],l[1],r+1,i,s,a)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,i,r),i},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,i){var s=[e[0],e[1],1],a=[t[0],t[1],1],o=[r[0],r[1],1],l=[i[0],i[1],1],n=crossProduct(crossProduct(s,a),crossProduct(o,l));return floatZero(n[2])?null:[n[0]/n[2],n[1]/n[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,r,i,s,a,o){var l=r-Math.PI/2,n=r+Math.PI/2,f=t[0]+Math.cos(r)*i*s,g=t[1]-Math.sin(r)*i*s;e.setTripleAt(f,g,f+Math.cos(l)*a,g-Math.sin(l)*a,f+Math.cos(n)*o,g-Math.sin(n)*o,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],i=-Math.PI*.5,s=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return s}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,i=(t+1)%e.length(),s=e.v[r],a=e.v[i],o=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,r,i,s,a,o){var l=getProjectingAngle(t,r),n=t.v[r%t._length],f=t.v[r===0?t._length-1:r-1],g=t.v[(r+1)%t._length],C=a===2?Math.sqrt(Math.pow(n[0]-f[0],2)+Math.pow(n[1]-f[1],2)):0,p=a===2?Math.sqrt(Math.pow(n[0]-g[0],2)+Math.pow(n[1]-g[1],2)):0;setPoint(e,t.v[r%t._length],l,o,i,p/((s+1)*2),C/((s+1)*2))}function zigZagSegment(e,t,r,i,s,a){for(var o=0;o<i;o+=1){var l=(o+1)/(i+1),n=s===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,f=t.normalAngle(l),g=t.point(l);setPoint(e,g,f,a,r,n/((i+1)*2),n/((i+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(e,t,r,i){var s=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(s-=1),s===0)return a;var o=-1,l=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,r,i,o);for(var n=0;n<s;n+=1)o=zigZagSegment(a,l,t,r,i,-o),n===s-1&&!e.c?l=null:l=PolynomialBezier.shapeSegment(e,(n+1)%s),zigZagCorner(a,e,n+1,t,r,i,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,a,o=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),n=this.pointsType.v;if(o!==0){var f,g;for(r=0;r<i;r+=1){if(f=this.shapes[r],g=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,s=0;s<a;s+=1)g.addShape(this.processPath(t[s],o,l,n));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,r){var i=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,i,r),polarOffset(t,i,r)]}function offsetSegment(e,t){var r,i,s,a,o,l,n;n=linearOffset(e.points[0],e.points[1],t),r=n[0],i=n[1],n=linearOffset(e.points[1],e.points[2],t),s=n[0],a=n[1],n=linearOffset(e.points[2],e.points[3],t),o=n[0],l=n[1];var f=lineIntersection(r,i,s,a);f===null&&(f=i);var g=lineIntersection(o,l,s,a);return g===null&&(g=o),new PolynomialBezier(r,f,g,l)}function joinLines(e,t,r,i,s){var a=t.points[3],o=r.points[0];if(i===3||pointEqual(a,o))return a;if(i===2){var l=-t.tangentAngle(1),n=-r.tangentAngle(0)+Math.PI,f=lineIntersection(a,polarOffset(a,l+Math.PI/2,100),o,polarOffset(o,l+Math.PI/2,100)),g=f?pointDistance(f,a):pointDistance(a,o)/2,C=polarOffset(a,l,2*g*roundCorner);return e.setXYAt(C[0],C[1],"o",e.length()-1),C=polarOffset(o,n,2*g*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],C[0],C[1],e.length()),o}var p=pointEqual(a,t.points[2])?t.points[0]:t.points[2],S=pointEqual(o,r.points[1])?r.points[3]:r.points[1],A=lineIntersection(p,a,o,S);return A&&pointDistance(A,a)<s?(e.setTripleAt(A[0],A[1],A[0],A[1],A[0],A[1],e.length()),A):a}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),i=t.slice(),s=getIntersection(e[e.length-1],t[0]);return s&&(r[e.length-1]=e[e.length-1].split(s[0])[0],i[0]=t[0].split(s[1])[1]),e.length>1&&t.length>1&&(s=getIntersection(e[0],t[t.length-1]),s)?[[e[0].split(s[0])[0]],[t[t.length-1].split(s[1])[1]]]:[r,i]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r=e.inflectionPoints(),i,s,a,o;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return a=e.split(r[0]),i=a[0],s=a[1],[offsetSegment(i,t),offsetSegment(s,t)];a=e.split(r[0]),i=a[0];var l=(r[1]-r[0])/(1-r[0]);return a=a[1].split(l),o=a[0],s=a[1],[offsetSegment(i,t),offsetSegment(o,t),offsetSegment(s,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,r,i){var s=shapePool.newElement();s.c=e.c;var a=e.length();e.c||(a-=1);var o,l,n,f=[];for(o=0;o<a;o+=1)n=PolynomialBezier.shapeSegment(e,o),f.push(offsetSegmentSplit(n,t));if(!e.c)for(o=a-1;o>=0;o-=1)n=PolynomialBezier.shapeSegmentInverted(e,o),f.push(offsetSegmentSplit(n,t));f=pruneIntersections(f);var g=null,C=null;for(o=0;o<f.length;o+=1){var p=f[o];for(C&&(g=joinLines(s,C,p[0],r,i)),C=p[p.length-1],l=0;l<p.length;l+=1)n=p[l],g&&pointEqual(n.points[0],g)?s.setXYAt(n.points[1][0],n.points[1][1],"o",s.length()-1):s.setTripleAt(n.points[0][0],n.points[0][1],n.points[1][0],n.points[1][1],n.points[0][0],n.points[0][1],s.length()),s.setTripleAt(n.points[3][0],n.points[3][1],n.points[3][0],n.points[3][1],n.points[2][0],n.points[2][1],s.length()),g=n.points[3]}return f.length&&joinLines(s,C,f[0][0],r,i),s},OffsetPathModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,a,o=this.amount.v,l=this.miterLimit.v,n=this.lineJoin;if(o!==0){var f,g;for(r=0;r<i;r+=1){if(f=this.shapes[r],g=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),f.shape._mdf=!0,t=f.shape.paths.shapes,a=f.shape.paths._length,s=0;s<a;s+=1)g.addShape(this.processPath(t[s],o,n,l));f.shape.paths=f.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",i="normal",s=t.length,a,o=0;o<s;o+=1)switch(a=t[o].toLowerCase(),a){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200";break}return{style:i,weight:e.fWeight||r}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=127988,s=917631,a=917601,o=917626,l=65039,n=8205,f=127462,g=127487,C=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function p(I){var F=I.split(","),b,P=F.length,B=[];for(b=0;b<P;b+=1)F[b]!=="sans-serif"&&F[b]!=="monospace"&&B.push(F[b]);return B.join(",")}function S(I,F){var b=createTag("span");b.setAttribute("aria-hidden",!0),b.style.fontFamily=F;var P=createTag("span");P.innerText="giItT1WQy@!-/#",b.style.position="absolute",b.style.left="-10000px",b.style.top="-10000px",b.style.fontSize="300px",b.style.fontVariant="normal",b.style.fontStyle="normal",b.style.fontWeight="normal",b.style.letterSpacing="0",b.appendChild(P),document.body.appendChild(b);var B=P.offsetWidth;return P.style.fontFamily=p(I)+", "+F,{node:P,w:B,parent:b}}function A(){var I,F=this.fonts.length,b,P,B=F;for(I=0;I<F;I+=1)this.fonts[I].loaded?B-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(b=this.fonts[I].monoCase.node,P=this.fonts[I].monoCase.w,b.offsetWidth!==P?(B-=1,this.fonts[I].loaded=!0):(b=this.fonts[I].sansCase.node,P=this.fonts[I].sansCase.w,b.offsetWidth!==P&&(B-=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)));B!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function c(I,F){var b=document.body&&F?"svg":"canvas",P,B=getFontProperties(I);if(b==="svg"){var V=createNS("text");V.style.fontSize="100px",V.setAttribute("font-family",I.fFamily),V.setAttribute("font-style",B.style),V.setAttribute("font-weight",B.weight),V.textContent="1",I.fClass?(V.style.fontFamily="inherit",V.setAttribute("class",I.fClass)):V.style.fontFamily=I.fFamily,F.appendChild(V),P=V}else{var J=new OffscreenCanvas(500,500).getContext("2d");J.font=B.style+" "+B.weight+" 100px "+I.fFamily,P=J}function Q(U){return b==="svg"?(P.textContent=U,P.getComputedTextLength()):P.measureText(U).width}return{measureText:Q}}function E(I,F){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(le){le.helper=c(le),le.cache={}}),this.fonts=I.list;return}var b=I.list,P,B=b.length,V=B;for(P=0;P<B;P+=1){var J=!0,Q,U;if(b[P].loaded=!1,b[P].monoCase=S(b[P].fFamily,"monospace"),b[P].sansCase=S(b[P].fFamily,"sans-serif"),!b[P].fPath)b[P].loaded=!0,V-=1;else if(b[P].fOrigin==="p"||b[P].origin===3){if(Q=document.querySelectorAll('style[f-forigin="p"][f-family="'+b[P].fFamily+'"], style[f-origin="3"][f-family="'+b[P].fFamily+'"]'),Q.length>0&&(J=!1),J){var K=createTag("style");K.setAttribute("f-forigin",b[P].fOrigin),K.setAttribute("f-origin",b[P].origin),K.setAttribute("f-family",b[P].fFamily),K.type="text/css",K.innerText="@font-face {font-family: "+b[P].fFamily+"; font-style: normal; src: url('"+b[P].fPath+"');}",F.appendChild(K)}}else if(b[P].fOrigin==="g"||b[P].origin===1){for(Q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),U=0;U<Q.length;U+=1)Q[U].href.indexOf(b[P].fPath)!==-1&&(J=!1);if(J){var Z=createTag("link");Z.setAttribute("f-forigin",b[P].fOrigin),Z.setAttribute("f-origin",b[P].origin),Z.type="text/css",Z.rel="stylesheet",Z.href=b[P].fPath,document.body.appendChild(Z)}}else if(b[P].fOrigin==="t"||b[P].origin===2){for(Q=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),U=0;U<Q.length;U+=1)b[P].fPath===Q[U].src&&(J=!1);if(J){var re=createTag("link");re.setAttribute("f-forigin",b[P].fOrigin),re.setAttribute("f-origin",b[P].origin),re.setAttribute("rel","stylesheet"),re.setAttribute("href",b[P].fPath),F.appendChild(re)}}b[P].helper=c(b[P],F),b[P].cache={},this.fonts.push(b[P])}V===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function u(I){if(I){this.chars||(this.chars=[]);var F,b=I.length,P,B=this.chars.length,V;for(F=0;F<b;F+=1){for(P=0,V=!1;P<B;)this.chars[P].style===I[F].style&&this.chars[P].fFamily===I[F].fFamily&&this.chars[P].ch===I[F].ch&&(V=!0),P+=1;V||(this.chars.push(I[F]),B+=1)}}}function m(I,F,b){for(var P=0,B=this.chars.length;P<B;){if(this.chars[P].ch===I&&this.chars[P].style===F&&this.chars[P].fFamily===b)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,F,b)),t}function d(I,F,b){var P=this.getFontByName(F),B=I;if(!P.cache[B]){var V=P.helper;if(I===" "){var J=V.measureText("|"+I+"|"),Q=V.measureText("||");P.cache[B]=(J-Q)/100}else P.cache[B]=V.measureText(I)/100}return P.cache[B]*b}function y(I){for(var F=0,b=this.fonts.length;F<b;){if(this.fonts[F].fName===I)return this.fonts[F];F+=1}return this.fonts[0]}function T(I){var F=0,b=I.charCodeAt(0);if(b>=55296&&b<=56319){var P=I.charCodeAt(1);P>=56320&&P<=57343&&(F=(b-55296)*1024+P-56320+65536)}return F}function x(I,F){var b=I.toString(16)+F.toString(16);return C.indexOf(b)!==-1}function M(I){return I===n}function k(I){return I===l}function D(I){var F=T(I);return F>=f&&F<=g}function H(I){return D(I.substr(0,2))&&D(I.substr(2,2))}function G(I){return r.indexOf(I)!==-1}function R(I,F){var b=T(I.substr(F,2));if(b!==i)return!1;var P=0;for(F+=2;P<5;){if(b=T(I.substr(F,2)),b<a||b>o)return!1;P+=1,F+=2}return T(I.substr(F,2))===s}function j(){this.isLoaded=!0}var W=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)};W.isModifier=x,W.isZeroWidthJoiner=M,W.isFlagEmoji=H,W.isRegionalCode=D,W.isCombinedCharacter=G,W.isRegionalFlag=R,W.isVariationSelector=k,W.BLACK_FLAG_CODE_POINT=i;var L={addChars:u,addFonts:E,getCharData:m,getFontByName:y,measureText:d,checkLoadedFonts:A,setIsLoaded:j};return W.prototype=L,W}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,r=this.renderableComponents.length;for(t=0;t<r;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r=e.ef||[];this.effectElements=[];var i,s=r.length,a;for(i=0;i<s;i+=1)a=new GroupEffect(r[i],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,i=this.data.ef.length,s,a=this.data.ef;for(r=0;r<i;r+=1){switch(s=null,a[r].ty){case 0:s=new SliderEffect(a[r],t,this);break;case 1:s=new AngleEffect(a[r],t,this);break;case 2:s=new ColorEffect(a[r],t,this);break;case 3:s=new PointEffect(a[r],t,this);break;case 4:case 7:s=new CheckboxEffect(a[r],t,this);break;case 10:s=new LayerIndexEffect(a[r],t,this);break;case 11:s=new MaskIndexEffect(a[r],t,this);break;case 5:s=new EffectsManager(a[r],t);break;default:s=new NoValueEffect(a[r]);break}s&&this.effectElements.push(s)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,r=this.data.masksProperties.length;t<r;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var r=t("layer"),i=t("effects"),s=t("shape"),a=t("text"),o=t("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var l=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(l),this.data.ty===0||this.data.xt?this.compInterface=o(this):this.data.ty===4?(this.layerInterface.shapeInterface=s(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=t},initBaseData:function(t,r,i){this.globalData=r,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,r){var i,s=this.dynamicProperties.length;for(i=0;i<s;i+=1)(r||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,r=this.layers.length,i;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(i=this.layers[t],i.ip-i.st<=e-this.layers[t].st&&i.op-i.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,r=e.length,i,s=this.layers.length;for(t=0;t<r;t+=1)for(i=0;i<s;){if(this.layers[i].id===e[t].id){this.layers[i]=e[t];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var i=this.elements,s=this.layers,a=0,o=s.length;a<o;)s[a].ind==t&&(!i[a]||i[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(r.push(i[a]),i[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(e,s[a].parent,r):e.setHierarchy(r))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),r;if(typeof t=="number")r=this.elements[t];else{var i,s=this.elements.length;for(i=0;i<s;i+=1)if(this.elements[i].data.nm===t){r=this.elements[i];break}}return e.length===0?r:r.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,r=this.finalTransform.mat,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,r.cloneFromProps(t),i=0;i<s;i+=1)r.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,r=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<r;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<r;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(t=0;t<r;t+=1)a*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var r=0,i=t.length;for(r=0;r<i;r+=1)this.localTransforms.push(t[r])}}},globalToLocal:function(t){var r=[];r.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&r.splice(0,0,s.finalTransform),s=s.comp):i=!1;var a,o=r.length,l;for(a=0;a<o;a+=1)l=r[a].mat.applyToPointArray(0,0,0),t=[t[0]-l[0],t[1]-l[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i=this.globalData.defs,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,l=this.masksProperties,n=0,f=[],g,C,p=createElementID(),S,A,c,E,u="clipPath",m="clip-path";for(s=0;s<a;s+=1)if((l[s].mode!=="a"&&l[s].mode!=="n"||l[s].inv||l[s].o.k!==100||l[s].o.x)&&(u="mask",m="mask"),(l[s].mode==="s"||l[s].mode==="i")&&n===0?(S=createNS("rect"),S.setAttribute("fill","#ffffff"),S.setAttribute("width",this.element.comp.data.w||0),S.setAttribute("height",this.element.comp.data.h||0),f.push(S)):S=null,o=createNS("path"),l[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),elem:o,lastPath:""},i.appendChild(o);else{n+=1,o.setAttribute("fill",l[s].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var d;if(l[s].x.k!==0?(u="mask",m="mask",E=PropertyFactory.getProp(this.element,l[s].x,0,null,this.element),d=createElementID(),A=createNS("filter"),A.setAttribute("id",d),c=createNS("feMorphology"),c.setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),A.appendChild(c),i.appendChild(A),o.setAttribute("stroke",l[s].mode==="s"?"#000000":"#ffffff")):(c=null,E=null),this.storedData[s]={elem:o,x:E,expan:c,lastPath:"",lastOperator:"",filterId:d,lastRadius:0},l[s].mode==="i"){C=f.length;var y=createNS("g");for(g=0;g<C;g+=1)y.appendChild(f[g]);var T=createNS("mask");T.setAttribute("mask-type","alpha"),T.setAttribute("id",p+"_"+n),T.appendChild(o),i.appendChild(T),y.setAttribute("mask","url("+getLocationHref()+"#"+p+"_"+n+")"),f.length=0,f.push(y)}else f.push(o);l[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,l[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,l[s],3),invRect:S},this.viewData[s].prop.k||this.drawPath(l[s],this.viewData[s].prop.v,this.viewData[s])}for(this.maskElement=createNS(u),a=f.length,s=0;s<a;s+=1)this.maskElement.appendChild(f[s]);n>0&&(this.maskElement.setAttribute("id",p),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+p+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r<i;r+=1)if((this.viewData[r].prop._mdf||e)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||e)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),this.masksProperties[r].mode!=="n"&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[r].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||e))){var s=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+")")),s.setAttribute("radius",-this.storedData[r].x.v)):(this.storedData[r].lastOperator!=="dilate"&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",this.storedData[r].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,r){var i=" M"+t.v[0][0]+","+t.v[0][1],s,a;for(a=t._length,s=1;s<a;s+=1)i+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[s][0]+","+t.i[s][1]+" "+t.v[s][0]+","+t.v[s][1];if(t.c&&a>1&&(i+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==i){var o="";r.elem&&(t.c&&(o=e.inv?this.solidPath+i:i),r.elem.setAttribute("d",o)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=r;function t(i,s){var a=createNS("filter");return a.setAttribute("id",i),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;this.filters=[];var l;for(t=0;t<i;t+=1){l=null;var n=e.data.ef[t].ty;if(registeredEffects$1[n]){var f=registeredEffects$1[n].effect;l=new f(a,e.effectsManager.effectElements[t],e,idPrefix+o,r),r=idPrefix+o,registeredEffects$1[n].countsAsEffect&&(o+=1)}l&&this.filters.push(l)}o&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,r=this.filters.length,i=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&i.push(this.filters[t]);return i};function registerEffect$1(e,t,r){registeredEffects$1[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var r=createNS("g");r.setAttribute("id",this.layerId),r.appendChild(this.layerElement),t=r,this.globalData.defs.appendChild(r)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),s=createNS("path");s.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(i.setAttribute("id",a),i.appendChild(s),this.globalData.defs.appendChild(i),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var r=this.layerId+"_"+t,i,s,a,o;if(t===1||t===3){var l=createNS("mask");l.setAttribute("id",r),l.setAttribute("mask-type",t===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(a),this.globalData.defs.appendChild(l),!featureSupport.maskType&&t===1&&(l.setAttribute("mask-type","luminance"),i=createElementID(),s=filtersFactory.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),o.appendChild(a),l.appendChild(o),o.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var n=createNS("mask");n.setAttribute("id",r),n.setAttribute("mask-type","alpha");var f=createNS("g");n.appendChild(f),i=createElementID(),s=filtersFactory.createFilter(i);var g=createNS("feComponentTransfer");g.setAttribute("in","SourceGraphic"),s.appendChild(g);var C=createNS("feFuncA");C.setAttribute("type","table"),C.setAttribute("tableValues","1.0 0.0"),g.appendChild(C),this.globalData.defs.appendChild(s);var p=createNS("rect");p.setAttribute("width",this.comp.data.w),p.setAttribute("height",this.comp.data.h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("fill","#ffffff"),p.setAttribute("opacity","0"),f.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),f.appendChild(p),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),f.appendChild(a),featureSupport.maskType||(n.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),o=createNS("g"),f.appendChild(p),o.appendChild(this.layerElement),f.appendChild(o)),this.globalData.defs.appendChild(n)}this.matteMasks[t]=r}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(r,i,s){this.initFrame(),this.initBaseData(r,i,s),this.initTransform(r,i,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var r=this.baseElement||this.layerElement;r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var r=this.baseElement||this.layerElement;r.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(r){this._mdf=!1,this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var r,i=this.shapeModifiers.length;for(r=0;r<i;r+=1)this.shapeModifiers[r].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var r=0,i=this.shapeModifiers.length;r<i;)if(this.shapeModifiers[r].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,r=this.shapes.length;for(t=0;t<r;t+=1)this.shapes[t].sh.reset();r=this.shapeModifiers.length;var i;for(t=r-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,i=0,s=r.length;i<s;){if(r[i].elem===t)return r[i].pos;i+=1}return 0},addProcessedElement:function(t,r){for(var i=this.processedElements,s=i.length;s;)if(s-=1,i[s].elem===t){i[s].pos=r;return}i.push(new ProcessedElement(t,r))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var i=0,s=e.length;i<s;){if(e[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,r,i){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,a=t.length||0,o;for(s=0;s<a;s+=1)o=PropertyFactory.getProp(e,t[s].v,0,0,this),this.k=o.k||this.k,this.dataProps[s]={n:t[s].n,p:o};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 i=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,i=this.o.length/2,s;r<i;){if(s=Math.abs(e[r*4]-e[t*4+r*2]),s>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r=this.data.p*4,i,s;for(t=0;t<r;t+=1)i=t%4===0?100:255,s=Math.round(this.prop.v[t]*i),this.c[t]!==s&&(this.c[t]=s,this._cmdf=!e);if(this.o.length)for(r=this.prop.v.length,t=this.data.p*4;t<r;t+=1)i=t%2===0?100:1,s=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==s&&(this.o[t-this.data.p*4]=s,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),i=createNS(t.t===1?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s=[],a,o,l;for(l=t.g.p*4,o=0;o<l;o+=4)a=createNS("stop"),i.appendChild(a),s.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,s,a=createNS("mask"),o=createNS("path");a.appendChild(o);var l=createElementID(),n=createElementID();a.setAttribute("id",n);var f=createNS(e.t===1?"linearGradient":"radialGradient");f.setAttribute("id",l),f.setAttribute("spreadMethod","pad"),f.setAttribute("gradientUnits","userSpaceOnUse"),s=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var g=this.stops;for(i=e.g.p*4;i<s;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),f.appendChild(r),g.push(r);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),e.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=f,this.ms=a,this.ost=g,this.maskId=n,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,r,i,s){if(r===0)return"";var a=t.o,o=t.i,l=t.v,n,f=" M"+s.applyToPointStringified(l[0][0],l[0][1]);for(n=1;n<r;n+=1)f+=" C"+s.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+s.applyToPointStringified(o[n][0],o[n][1])+" "+s.applyToPointStringified(l[n][0],l[n][1]);return i&&r&&(f+=" C"+s.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+s.applyToPointStringified(o[0][0],o[0][1])+" "+s.applyToPointStringified(l[0][0],l[0][1]),f+="z"),f},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,r={createRenderFunction:i};function i(C){switch(C.ty){case"fl":return l;case"gf":return f;case"gs":return n;case"st":return g;case"sh":case"el":case"rc":case"sr":return o;case"tr":return s;case"no":return a;default:return null}}function s(C,p,S){(S||p.transform.op._mdf)&&p.transform.container.setAttribute("opacity",p.transform.op.v),(S||p.transform.mProps._mdf)&&p.transform.container.setAttribute("transform",p.transform.mProps.v.to2dCSS())}function a(){}function o(C,p,S){var A,c,E,u,m,d,y=p.styles.length,T=p.lvl,x,M,k,D;for(d=0;d<y;d+=1){if(u=p.sh._mdf||S,p.styles[d].lvl<T){for(M=t.reset(),k=T-p.styles[d].lvl,D=p.transformers.length-1;!u&&k>0;)u=p.transformers[D].mProps._mdf||u,k-=1,D-=1;if(u)for(k=T-p.styles[d].lvl,D=p.transformers.length-1;k>0;)M.multiply(p.transformers[D].mProps.v),k-=1,D-=1}else M=e;if(x=p.sh.paths,c=x._length,u){for(E="",A=0;A<c;A+=1)m=x.shapes[A],m&&m._length&&(E+=buildShapeString(m,m._length,m.c,M));p.caches[d]=E}else E=p.caches[d];p.styles[d].d+=C.hd===!0?"":E,p.styles[d]._mdf=u||p.styles[d]._mdf}}function l(C,p,S){var A=p.style;(p.c._mdf||S)&&A.pElem.setAttribute("fill","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||S)&&A.pElem.setAttribute("fill-opacity",p.o.v)}function n(C,p,S){f(C,p,S),g(C,p,S)}function f(C,p,S){var A=p.gf,c=p.g._hasOpacity,E=p.s.v,u=p.e.v;if(p.o._mdf||S){var m=C.ty==="gf"?"fill-opacity":"stroke-opacity";p.style.pElem.setAttribute(m,p.o.v)}if(p.s._mdf||S){var d=C.t===1?"x1":"cx",y=d==="x1"?"y1":"cy";A.setAttribute(d,E[0]),A.setAttribute(y,E[1]),c&&!p.g._collapsable&&(p.of.setAttribute(d,E[0]),p.of.setAttribute(y,E[1]))}var T,x,M,k;if(p.g._cmdf||S){T=p.cst;var D=p.g.c;for(M=T.length,x=0;x<M;x+=1)k=T[x],k.setAttribute("offset",D[x*4]+"%"),k.setAttribute("stop-color","rgb("+D[x*4+1]+","+D[x*4+2]+","+D[x*4+3]+")")}if(c&&(p.g._omdf||S)){var H=p.g.o;for(p.g._collapsable?T=p.cst:T=p.ost,M=T.length,x=0;x<M;x+=1)k=T[x],p.g._collapsable||k.setAttribute("offset",H[x*2]+"%"),k.setAttribute("stop-opacity",H[x*2+1])}if(C.t===1)(p.e._mdf||S)&&(A.setAttribute("x2",u[0]),A.setAttribute("y2",u[1]),c&&!p.g._collapsable&&(p.of.setAttribute("x2",u[0]),p.of.setAttribute("y2",u[1])));else{var G;if((p.s._mdf||p.e._mdf||S)&&(G=Math.sqrt(Math.pow(E[0]-u[0],2)+Math.pow(E[1]-u[1],2)),A.setAttribute("r",G),c&&!p.g._collapsable&&p.of.setAttribute("r",G)),p.e._mdf||p.h._mdf||p.a._mdf||S){G||(G=Math.sqrt(Math.pow(E[0]-u[0],2)+Math.pow(E[1]-u[1],2)));var R=Math.atan2(u[1]-E[1],u[0]-E[0]),j=p.h.v;j>=1?j=.99:j<=-1&&(j=-.99);var W=G*j,L=Math.cos(R+p.a.v)*W+E[0],I=Math.sin(R+p.a.v)*W+E[1];A.setAttribute("fx",L),A.setAttribute("fy",I),c&&!p.g._collapsable&&(p.of.setAttribute("fx",L),p.of.setAttribute("fy",I))}}}function g(C,p,S){var A=p.style,c=p.d;c&&(c._mdf||S)&&c.dashStr&&(A.pElem.setAttribute("stroke-dasharray",c.dashStr),A.pElem.setAttribute("stroke-dashoffset",c.dashoffset[0])),p.c&&(p.c._mdf||S)&&A.pElem.setAttribute("stroke","rgb("+bmFloor(p.c.v[0])+","+bmFloor(p.c.v[1])+","+bmFloor(p.c.v[2])+")"),(p.o._mdf||S)&&A.pElem.setAttribute("stroke-opacity",p.o.v),(p.w._mdf||S)&&(A.pElem.setAttribute("stroke-width",p.w.v),A.msElem&&A.msElem.setAttribute("stroke-width",p.w.v))}return r}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,r,i,s=this.stylesList.length,a,o=[],l=!1;for(i=0;i<s;i+=1){for(a=this.stylesList[i],l=!1,o.length=0,e=0;e<t;e+=1)r=this.shapes[e],r.styles.indexOf(a)!==-1&&(o.push(r),l=r._isAnimated||l);o.length>1&&l&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,i=new SVGStyleData(e,t),s=i.pElem;if(e.ty==="st")r=new SVGStrokeStyleData(this,e,i);else if(e.ty==="fl")r=new SVGFillStyleData(this,e,i);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new a(this,e,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),s.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else e.ty==="no"&&(r=new SVGNoStyleData(this,e,i));return(e.ty==="st"||e.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),s.setAttribute("fill-opacity","0"),e.lj===1&&s.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&s.setAttribute("fill-rule","evenodd"),e.ln&&s.setAttribute("id",e.ln),e.cl&&s.setAttribute("class",e.cl),e.bm&&(s.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(i),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),i=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var i=4;e.ty==="rc"?i=5:e.ty==="el"?i=6:e.ty==="sr"&&(i=7);var s=ShapePropertyFactory.getShapeProp(this,e,i,this),a=new SVGShapeData(t,r,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)this.stylesList[r].closed||t.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,i,s,a,o){var l=[].concat(a),n,f=e.length-1,g,C,p=[],S=[],A,c,E;for(n=f;n>=0;n-=1){if(E=this.searchProcessedElement(e[n]),E?t[n]=r[E-1]:e[n]._render=o,e[n].ty==="fl"||e[n].ty==="st"||e[n].ty==="gf"||e[n].ty==="gs"||e[n].ty==="no")E?t[n].style.closed=!1:t[n]=this.createStyleElement(e[n],s),e[n]._render&&t[n].style.pElem.parentNode!==i&&i.appendChild(t[n].style.pElem),p.push(t[n].style);else if(e[n].ty==="gr"){if(!E)t[n]=this.createGroupElement(e[n]);else for(C=t[n].it.length,g=0;g<C;g+=1)t[n].prevViewData[g]=t[n].it[g];this.searchShapes(e[n].it,t[n].it,t[n].prevViewData,t[n].gr,s+1,l,o),e[n]._render&&t[n].gr.parentNode!==i&&i.appendChild(t[n].gr)}else e[n].ty==="tr"?(E||(t[n]=this.createTransformElement(e[n],i)),A=t[n].transform,l.push(A)):e[n].ty==="sh"||e[n].ty==="rc"||e[n].ty==="el"||e[n].ty==="sr"?(E||(t[n]=this.createShapeElement(e[n],l,s)),this.setElementStyles(t[n])):e[n].ty==="tm"||e[n].ty==="rd"||e[n].ty==="ms"||e[n].ty==="pb"||e[n].ty==="zz"||e[n].ty==="op"?(E?(c=t[n],c.closed=!1):(c=ShapeModifiers.getModifier(e[n].ty),c.init(this,e[n]),t[n]=c,this.shapeModifiers.push(c)),S.push(c)):e[n].ty==="rp"&&(E?(c=t[n],c.closed=!0):(c=ShapeModifiers.getModifier(e[n].ty),t[n]=c,c.init(this,e,n,t),this.shapeModifiers.push(c),o=!1),S.push(c));this.addProcessedElement(e[n],n+1)}for(f=p.length,n=0;n<f;n+=1)p[n].closed=!0;for(f=S.length,n=0;n<f;n+=1)S[n].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,r;for(e=0;e<t;e+=1)r=this.animatedContents[e],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,r,i,s,a){this.o=e,this.sw=t,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,r,i,s,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,o=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,o=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)r!==this.keysIndex?a=this.effectsSequence[i](a,a.t):a=this.effectsSequence[i](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,i=e.length;r<=i-1&&!(r===i-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,i=e.length,s,a,o=!1,l=!1,n="";r<i;)o=l,l=!1,s=e.charCodeAt(r),n=e.charAt(r),FontManager.isCombinedCharacter(s)?o=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(e,r)?n=e.substr(r,14):(a=e.charCodeAt(r+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(n=e.substr(r,2),o=!0):FontManager.isFlagEmoji(e.substr(r,4))?n=e.substr(r,4):n=e.substr(r,2))):s>56319?(a=e.charCodeAt(r+1),FontManager.isVariationSelector(s)&&(o=!0)):FontManager.isZeroWidthJoiner(s)&&(o=!0,l=!0),o?(t[t.length-1]+=n,o=!1):t.push(n),r+=n.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,i=[],s,a,o,l=0,n,f=r.m.g,g=0,C=0,p=0,S=[],A=0,c=0,E,u,m=t.getFontByName(e.f),d,y=0,T=getFontProperties(m);e.fWeight=T.weight,e.fStyle=T.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var x=e.tr/1e3*e.finalSize,M;if(e.sz)for(var k=!0,D=e.sz[0],H=e.sz[1],G,R;k;){R=this.buildFinalText(e.t),G=0,A=0,a=R.length,x=e.tr/1e3*e.finalSize;var j=-1;for(s=0;s<a;s+=1)M=R[s].charCodeAt(0),o=!1,R[s]===" "?j=s:(M===13||M===3)&&(A=0,o=!0,G+=e.finalLineHeight||e.finalSize*1.2),t.chars?(d=t.getCharData(R[s],m.fStyle,m.fFamily),y=o?0:d.w*e.finalSize/100):y=t.measureText(R[s],e.f,e.finalSize),A+y>D&&R[s]!==" "?(j===-1?a+=1:s=j,G+=e.finalLineHeight||e.finalSize*1.2,R.splice(s,j===s?1:0,"\r"),j=-1,A=0):(A+=y,A+=x);G+=m.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&H<G?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=R,a=e.finalText.length,k=!1)}A=-x,y=0;var W=0,L;for(s=0;s<a;s+=1)if(o=!1,L=e.finalText[s],M=L.charCodeAt(0),M===13||M===3?(W=0,S.push(A),c=A>c?A:c,A=-2*x,n="",o=!0,p+=1):n=L,t.chars?(d=t.getCharData(L,m.fStyle,t.getFontByName(e.f).fFamily),y=o?0:d.w*e.finalSize/100):y=t.measureText(n,e.f,e.finalSize),L===" "?W+=y+x:(A+=y+x+W,W=0),i.push({l:y,an:y,add:g,n:o,anIndexes:[],val:n,line:p,animatorJustifyOffset:0}),f==2){if(g+=y,n===""||n===" "||s===a-1){for((n===""||n===" ")&&(g-=y);C<=s;)i[C].an=g,i[C].ind=l,i[C].extra=y,C+=1;l+=1,g=0}}else if(f==3){if(g+=y,n===""||s===a-1){for(n===""&&(g-=y);C<=s;)i[C].an=g,i[C].ind=l,i[C].extra=y,C+=1;g=0,l+=1}}else i[l].ind=l,i[l].extra=0,l+=1;if(e.l=i,c=A>c?A:c,S.push(A),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=c,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=S;var I=r.a,F,b;u=I.length;var P,B,V=[];for(E=0;E<u;E+=1){for(F=I[E],F.a.sc&&(e.strokeColorAnim=!0),F.a.sw&&(e.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(e.fillColorAnim=!0),B=0,P=F.s.b,s=0;s<a;s+=1)b=i[s],b.anIndexes[E]=B,(P==1&&b.val!==""||P==2&&b.val!==""&&b.val!==" "||P==3&&(b.n||b.val==" "||s==a-1)||P==4&&(b.n||s==a-1))&&(F.s.rn===1&&V.push(B),B+=1);r.a[E].s.totalChars=B;var J=-1,Q;if(F.s.rn===1)for(s=0;s<a;s+=1)b=i[s],J!=b.anIndexes[E]&&(J=b.anIndexes[E],Q=V.splice(Math.floor(Math.random()*V.length),1)[0]),b.anIndexes[E]=Q}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=m.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function i(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue()}i.prototype={getMult:function(o){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var l=0,n=0,f=1,g=1;this.ne.v>0?l=this.ne.v/100:n=-this.ne.v/100,this.xe.v>0?f=1-this.xe.v/100:g=1+this.xe.v/100;var C=BezierFactory.getBezierEasing(l,n,f,g).get,p=0,S=this.finalS,A=this.finalE,c=this.data.sh;if(c===2)A===S?p=o>=A?1:0:p=e(0,t(.5/(A-S)+(o-S)/(A-S),1)),p=C(p);else if(c===3)A===S?p=o>=A?0:1:p=1-e(0,t(.5/(A-S)+(o-S)/(A-S),1)),p=C(p);else if(c===4)A===S?p=0:(p=e(0,t(.5/(A-S)+(o-S)/(A-S),1)),p<.5?p*=2:p=1-2*(p-.5)),p=C(p);else if(c===5){if(A===S)p=0;else{var E=A-S;o=t(e(0,o+.5-S),A-S);var u=-E/2+o,m=E/2;p=Math.sqrt(1-u*u/(m*m))}p=C(p)}else c===6?(A===S?p=0:(o=t(e(0,o+.5-S),A-S),p=(1+Math.cos(Math.PI+Math.PI*2*o/(A-S)))/2),p=C(p)):(o>=r(S)&&(o-S<0?p=e(0,t(t(A,1)-(S-o),1)):p=e(0,t(A-o,1))),p=C(p));if(this.sm.v!==100){var d=this.sm.v*.01;d===0&&(d=1e-8);var y=.5-d*.5;p<y?p=0:(p=(p-y)/d,p>1&&(p=1))}return p*this.a.v},getValue:function(o){this.iterateDynamicProperties(),this._mdf=o||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,o&&this.data.r===2&&(this.e.v=this._currentTextLength);var l=this.data.r===2?1:100/this.data.totalChars,n=this.o.v/l,f=this.s.v/l+n,g=this.e.v/l+n;if(f>g){var C=f;f=g,g=C}this.finalS=f,this.finalE=g}},extendPrototype([DynamicPropertyContainer],i);function s(a,o,l){return new i(a,o)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},s=PropertyFactory.getProp,a=t.a;this.a={r:a.r?s(e,a.r,0,degToRads,r):i,rx:a.rx?s(e,a.rx,0,degToRads,r):i,ry:a.ry?s(e,a.ry,0,degToRads,r):i,sk:a.sk?s(e,a.sk,0,degToRads,r):i,sa:a.sa?s(e,a.sa,0,degToRads,r):i,s:a.s?s(e,a.s,1,.01,r):i,a:a.a?s(e,a.a,1,0,r):i,o:a.o?s(e,a.o,0,.01,r):i,p:a.p?s(e,a.p,1,0,r):i,sw:a.sw?s(e,a.sw,0,0,r):i,sc:a.sc?s(e,a.sc,1,0,r):i,fc:a.fc?s(e,a.fc,1,0,r):i,fh:a.fh?s(e,a.fh,0,0,r):i,fs:a.fs?s(e,a.fs,0,.01,r):i,fb:a.fb?s(e,a.fb,0,.01,r):i,t:a.t?s(e,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,r,i=PropertyFactory.getProp;for(e=0;e<t;e+=1)r=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,r,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var r=this._moreOptions.alignment.v,i=this._animatorsData,s=this._textData,a=this.mHelper,o=this._renderType,l=this.renderedLetters.length,n,f,g,C,p=e.l,S,A,c,E,u,m,d,y,T,x,M,k,D,H,G;if(this._hasMaskedPath){if(G=this._pathData.m,!this._pathData.n||this._pathData._mdf){var R=G.v;this._pathData.r.v&&(R=R.reverse()),S={tLength:0,segments:[]},C=R._length-1;var j;for(k=0,g=0;g<C;g+=1)j=bez.buildBezierData(R.v[g],R.v[g+1],[R.o[g][0]-R.v[g][0],R.o[g][1]-R.v[g][1]],[R.i[g+1][0]-R.v[g+1][0],R.i[g+1][1]-R.v[g+1][1]]),S.tLength+=j.segmentLength,S.segments.push(j),k+=j.segmentLength;g=C,G.v.c&&(j=bez.buildBezierData(R.v[g],R.v[0],[R.o[g][0]-R.v[g][0],R.o[g][1]-R.v[g][1]],[R.i[0][0]-R.v[0][0],R.i[0][1]-R.v[0][1]]),S.tLength+=j.segmentLength,S.segments.push(j),k+=j.segmentLength),this._pathData.pi=S}if(S=this._pathData.pi,A=this._pathData.f.v,d=0,m=1,E=0,u=!0,x=S.segments,A<0&&G.v.c)for(S.tLength<Math.abs(A)&&(A=-Math.abs(A)%S.tLength),d=x.length-1,T=x[d].points,m=T.length-1;A<0;)A+=T[m].partialLength,m-=1,m<0&&(d-=1,T=x[d].points,m=T.length-1);T=x[d].points,y=T[m-1],c=T[m],M=c.partialLength}C=p.length,n=0,f=0;var W=e.finalSize*1.2*.714,L=!0,I,F,b,P,B;P=i.length;var V,J=-1,Q,U,K,Z=A,re=d,le=m,he=-1,oe,_,O,z,N,X,$,Y,q="",ee=this.defaultPropsArray,ae;if(e.j===2||e.j===1){var ie=0,ne=0,te=e.j===2?-.5:-1,se=0,ce=!0;for(g=0;g<C;g+=1)if(p[g].n){for(ie&&(ie+=ne);se<g;)p[se].animatorJustifyOffset=ie,se+=1;ie=0,ce=!0}else{for(b=0;b<P;b+=1)I=i[b].a,I.t.propType&&(ce&&e.j===2&&(ne+=I.t.v*te),F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),V.length?ie+=I.t.v*V[0]*te:ie+=I.t.v*V*te);ce=!1}for(ie&&(ie+=ne);se<g;)p[se].animatorJustifyOffset=ie,se+=1}for(g=0;g<C;g+=1){if(a.reset(),oe=1,p[g].n)n=0,f+=e.yOffset,f+=L?1:0,A=Z,L=!1,this._hasMaskedPath&&(d=re,m=le,T=x[d].points,y=T[m-1],c=T[m],M=c.partialLength,E=0),q="",Y="",X="",ae="",ee=this.defaultPropsArray;else{if(this._hasMaskedPath){if(he!==p[g].line){switch(e.j){case 1:A+=k-e.lineWidths[p[g].line];break;case 2:A+=(k-e.lineWidths[p[g].line])/2;break}he=p[g].line}J!==p[g].ind&&(p[J]&&(A+=p[J].extra),A+=p[g].an/2,J=p[g].ind),A+=r[0]*p[g].an*.005;var fe=0;for(b=0;b<P;b+=1)I=i[b].a,I.p.propType&&(F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),V.length?fe+=I.p.v[0]*V[0]:fe+=I.p.v[0]*V),I.a.propType&&(F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),V.length?fe+=I.a.v[0]*V[0]:fe+=I.a.v[0]*V);for(u=!0,this._pathData.a.v&&(A=p[0].an*.5+(k-this._pathData.f.v-p[0].an*.5-p[p.length-1].an*.5)*J/(C-1),A+=this._pathData.f.v);u;)E+M>=A+fe||!T?(D=(A+fe-E)/c.partialLength,U=y.point[0]+(c.point[0]-y.point[0])*D,K=y.point[1]+(c.point[1]-y.point[1])*D,a.translate(-r[0]*p[g].an*.005,-(r[1]*W)*.01),u=!1):T&&(E+=c.partialLength,m+=1,m>=T.length&&(m=0,d+=1,x[d]?T=x[d].points:G.v.c?(m=0,d=0,T=x[d].points):(E-=c.partialLength,T=null)),T&&(y=c,c=T[m],M=c.partialLength));Q=p[g].an/2-p[g].add,a.translate(-Q,0,0)}else Q=p[g].an/2-p[g].add,a.translate(-Q,0,0),a.translate(-r[0]*p[g].an*.005,-r[1]*W*.01,0);for(b=0;b<P;b+=1)I=i[b].a,I.t.propType&&(F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),(n!==0||e.j!==0)&&(this._hasMaskedPath?V.length?A+=I.t.v*V[0]:A+=I.t.v*V:V.length?n+=I.t.v*V[0]:n+=I.t.v*V));for(e.strokeWidthAnim&&(O=e.sw||0),e.strokeColorAnim&&(e.sc?_=[e.sc[0],e.sc[1],e.sc[2]]:_=[0,0,0]),e.fillColorAnim&&e.fc&&(z=[e.fc[0],e.fc[1],e.fc[2]]),b=0;b<P;b+=1)I=i[b].a,I.a.propType&&(F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),V.length?a.translate(-I.a.v[0]*V[0],-I.a.v[1]*V[1],I.a.v[2]*V[2]):a.translate(-I.a.v[0]*V,-I.a.v[1]*V,I.a.v[2]*V));for(b=0;b<P;b+=1)I=i[b].a,I.s.propType&&(F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),V.length?a.scale(1+(I.s.v[0]-1)*V[0],1+(I.s.v[1]-1)*V[1],1):a.scale(1+(I.s.v[0]-1)*V,1+(I.s.v[1]-1)*V,1));for(b=0;b<P;b+=1){if(I=i[b].a,F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),I.sk.propType&&(V.length?a.skewFromAxis(-I.sk.v*V[0],I.sa.v*V[1]):a.skewFromAxis(-I.sk.v*V,I.sa.v*V)),I.r.propType&&(V.length?a.rotateZ(-I.r.v*V[2]):a.rotateZ(-I.r.v*V)),I.ry.propType&&(V.length?a.rotateY(I.ry.v*V[1]):a.rotateY(I.ry.v*V)),I.rx.propType&&(V.length?a.rotateX(I.rx.v*V[0]):a.rotateX(I.rx.v*V)),I.o.propType&&(V.length?oe+=(I.o.v*V[0]-oe)*V[0]:oe+=(I.o.v*V-oe)*V),e.strokeWidthAnim&&I.sw.propType&&(V.length?O+=I.sw.v*V[0]:O+=I.sw.v*V),e.strokeColorAnim&&I.sc.propType)for(N=0;N<3;N+=1)V.length?_[N]+=(I.sc.v[N]-_[N])*V[0]:_[N]+=(I.sc.v[N]-_[N])*V;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(N=0;N<3;N+=1)V.length?z[N]+=(I.fc.v[N]-z[N])*V[0]:z[N]+=(I.fc.v[N]-z[N])*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(b=0;b<P;b+=1)I=i[b].a,I.p.propType&&(F=i[b].s,V=F.getMult(p[g].anIndexes[b],s.a[b].s.totalChars),this._hasMaskedPath?V.length?a.translate(0,I.p.v[1]*V[0],-I.p.v[2]*V[1]):a.translate(0,I.p.v[1]*V,-I.p.v[2]*V):V.length?a.translate(I.p.v[0]*V[0],I.p.v[1]*V[1],-I.p.v[2]*V[2]):a.translate(I.p.v[0]*V,I.p.v[1]*V,-I.p.v[2]*V));if(e.strokeWidthAnim&&(X=O<0?0:O),e.strokeColorAnim&&($="rgb("+Math.round(_[0]*255)+","+Math.round(_[1]*255)+","+Math.round(_[2]*255)+")"),e.fillColorAnim&&e.fc&&(Y="rgb("+Math.round(z[0]*255)+","+Math.round(z[1]*255)+","+Math.round(z[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,r[1]*W*.01+f,0),this._pathData.p.v){H=(c.point[1]-y.point[1])/(c.point[0]-y.point[0]);var pe=Math.atan(H)*180/Math.PI;c.point[0]<y.point[0]&&(pe+=180),a.rotate(-pe*Math.PI/180)}a.translate(U,K,0),A-=r[0]*p[g].an*.005,p[g+1]&&J!==p[g+1].ind&&(A+=p[g].an/2,A+=e.tr*.001*e.finalSize)}else{switch(a.translate(n,f,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(p[g].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[g].line]),0,0);break;case 2:a.translate(p[g].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[p[g].line])/2,0,0);break}a.translate(0,-e.ls),a.translate(Q,0,0),a.translate(r[0]*p[g].an*.005,r[1]*W*.01,0),n+=p[g].l+e.tr*.001*e.finalSize}o==="html"?q=a.toCSS():o==="svg"?q=a.to2dCSS():ee=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],ae=oe}l<=g?(B=new LetterProps(ae,X,$,Y,q,ee),this.renderedLetters.push(B),l+=1,this.lettersChangedFlag=!0):(B=this.renderedLetters[g],this.lettersChangedFlag=B.update(ae,X,$,Y,q,ee)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var r,i=t.length,s,a="";for(r=0;r<i;r+=1)t[r].ty==="sh"&&(s=t[r].ks.k,a+=buildShapeString(s,s.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,i,s){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0);break}t.translate(i,s,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,i=[],s="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(i.push(s),s=""):s+=e[t],t+=1;return i.push(s),i},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=t,i.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var s=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",r.t);var o=r.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var n,f=this.mHelper,g="",C=this.data.singleShape,p=0,S=0,A=!0,c=r.tr*.001*r.finalSize;if(C&&!l&&!r.sz){var E=this.textContainer,u="start";switch(r.j){case 1:u="end";break;case 2:u="middle";break;default:u="start";break}E.setAttribute("text-anchor",u),E.setAttribute("letter-spacing",c);var m=this.buildTextContents(r.finalText);for(t=m.length,S=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)n=this.textSpans[e].span||createNS("tspan"),n.textContent=m[e],n.setAttribute("x",0),n.setAttribute("y",S),n.style.display="inherit",E.appendChild(n),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=n,S+=r.finalLineHeight;this.layerElement.appendChild(E)}else{var d=this.textSpans.length,y;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!C||e===0){if(n=d>e?this.textSpans[e].span:createNS(l?"g":"text"),d<=e){if(n.setAttribute("stroke-linecap","butt"),n.setAttribute("stroke-linejoin","round"),n.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=n,l){var T=createNS("g");n.appendChild(T),this.textSpans[e].childSpan=T}this.textSpans[e].span=n,this.layerElement.appendChild(n)}n.style.display="inherit"}if(f.reset(),C&&(o[e].n&&(p=-c,S+=r.yOffset,S+=A?1:0,A=!1),this.applyTextPropertiesToMatrix(r,f,o[e].line,p,S),p+=o[e].l||0,p+=c),l){y=this.globalData.fontManager.getCharData(r.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var x;if(y.t===1)x=new SVGCompElement(y.data,this.globalData,this);else{var M=emptyShapeData;y.data&&y.data.shapes&&(M=this.buildShapeData(y.data,r.finalSize)),x=new SVGShapeElement(M,this.globalData,this)}if(this.textSpans[e].glyph){var k=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(k.layerElement),k.destroy()}this.textSpans[e].glyph=x,x._debug=!0,x.prepareFrame(0),x.renderFrame(),this.textSpans[e].childSpan.appendChild(x.layerElement),y.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else C&&n.setAttribute("transform","translate("+f.props[12]+","+f.props[13]+")"),n.textContent=o[e].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}C&&n&&n.setAttribute("d",g)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)r=this.textSpans[e].glyph,r&&(r.prepareFrame(this.comp.renderedFrame-this.data.st),r._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,t,r=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;t=i.length;var s,a,o;for(e=0;e<t;e+=1)i[e].n||(s=r[e],a=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.fc))}};function ISolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",e.w),i.setAttribute("height",e.h),i.setAttribute("x",0),i.setAttribute("y",0);var s=createElementID();r.setAttribute("id",s),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var i="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(i===-1)return;if(!this.elements[i]||this.elements[i]===!0)this.buildItem(i),this.addPendingElement(r);else{var s=t[i],a=s.getMatte(this.layers[e].tt);r.setMatte(a)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var i="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,s=this.elements[i],a=s.getMatte(this.layers[t].tt);e.setMatte(a);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var i=0,s;i<t;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&(s=this.elements[i].getBaseElement()),i+=1;s?this.layerElement.insertBefore(r,s):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=t.title,this.svgElement.appendChild(i),r+=s}if(t&&t.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+o}r&&this.svgElement.setAttribute("aria-labelledby",r);var l=createNS("defs");this.svgElement.appendChild(l);var n=createNS("g");this.svgElement.appendChild(n),this.layerElement=n,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:l,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var r,i=t.length,s="_";for(r=0;r<i;r+=1)s+=t[r].transform.key+"_";var a=this.sequences[s];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[s]=a,this.sequenceList.push(a)),a},processSequence:function(t,r){for(var i=0,s=t.transforms.length,a=r;i<s&&!r;){if(t.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(t.finalTransform.reset(),i=s-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=a},processSequences:function(t){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",r=null,i=null,s=null;function a(){var n=createNS("svg"),f=createNS("filter"),g=createNS("feColorMatrix");return f.setAttribute("id",t),g.setAttribute("type","matrix"),g.setAttribute("color-interpolation-filters","sRGB"),g.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"),f.appendChild(g),n.appendChild(f),n.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(n.style.display="none"),n}function o(){r||(s=a(),document.body.appendChild(s),r=createTag("canvas"),i=r.getContext("2d"),i.filter="url(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function l(n){return r||o(),r.width=n.width,r.height=n.height,i.filter="url(#"+t+")",r}return{load:o,get:l}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,r=e.data.ef?e.data.ef.length:0;this.filters=[];var i;for(t=0;t<r;t+=1){i=null;var s=e.data.ef[t].ty;if(registeredEffects[s]){var a=registeredEffects[s].effect;i=new a(e.effectsManager.effectElements[t],e)}i&&this.filters.push(i)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,i=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&i.push(this.filters[t]);return i};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,s=!1;for(r=0;r<i;r+=1)this.masksProperties[r].mode!=="n"&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,r,i=this.masksProperties.length,s,a,o;for(t.beginPath(),r=0;r<i;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),o=this.viewData[r].v,s=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(s[0],s[1]);var l,n=o._length;for(l=1;l<n;l+=1)a=e.applyToTriplePoints(o.o[l-1],o.i[l],o.v[l]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(o.o[l-1],o.i[0],o.v[0]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=s.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,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,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,s,e);var a,o=r.length,l;for(a=0;a<o;a+=1)r[a].closed||(l={transforms:i.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(l),r[a].elements.push(l))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},i={};if(e.ty==="fl"||e.ty==="st"?(i.c=PropertyFactory.getProp(this,e.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(i.s=PropertyFactory.getProp(this,e.s,1,null,this),i.e=PropertyFactory.getProp(this,e.e,1,null,this),i.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,e.g,this)),i.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],e.lj==1&&(r.ml=e.ml),i.w=PropertyFactory.getProp(this,e.w,0,null,this),i.w.k||(r.wi=i.w.v),e.d){var s=new DashProperty(this,e.d,"canvas",this);i.d=s,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,i,s){var a,o=e.length-1,l,n,f=[],g=[],C,p,S,A=[].concat(s);for(a=o;a>=0;a-=1){if(C=this.searchProcessedElement(e[a]),C?t[a]=r[C-1]:e[a]._shouldRender=i,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")C?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],A),f.push(t[a].style);else if(e[a].ty==="gr"){if(!C)t[a]=this.createGroupElement(e[a]);else for(n=t[a].it.length,l=0;l<n;l+=1)t[a].prevViewData[l]=t[a].it[l];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,i,A)}else e[a].ty==="tr"?(C||(S=this.createTransformElement(e[a]),t[a]=S),A.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?C||(t[a]=this.createShapeElement(e[a])):e[a].ty==="tm"||e[a].ty==="rd"||e[a].ty==="pb"||e[a].ty==="zz"||e[a].ty==="op"?(C?(p=t[a],p.closed=!1):(p=ShapeModifiers.getModifier(e[a].ty),p.init(this,e[a]),t[a]=p,this.shapeModifiers.push(p)),g.push(p)):e[a].ty==="rp"&&(C?(p=t[a],p.closed=!0):(p=ShapeModifiers.getModifier(e[a].ty),t[a]=p,p.init(this,e,a,t),this.shapeModifiers.push(p),i=!1),g.push(p));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),o=g.length,a=0;a<o;a+=1)g[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,r,i,s,a,o,l,n=this.globalData.renderer,f=this.globalData.canvasContext,g,C;for(e=0;e<t;e+=1)if(C=this.stylesList[e],g=C.type,!((g==="st"||g==="gs")&&C.wi===0||!C.data._shouldRender||C.coOp===0||this.globalData.currentGlobalAlpha===0)){for(n.save(),o=C.elements,g==="st"||g==="gs"?(n.ctxStrokeStyle(g==="st"?C.co:C.grd),n.ctxLineWidth(C.wi),n.ctxLineCap(C.lc),n.ctxLineJoin(C.lj),n.ctxMiterLimit(C.ml||0)):n.ctxFillStyle(g==="fl"?C.co:C.grd),n.ctxOpacity(C.coOp),g!=="st"&&g!=="gs"&&f.beginPath(),n.ctxTransform(C.preTransforms.finalTransform.props),i=o.length,r=0;r<i;r+=1){for((g==="st"||g==="gs")&&(f.beginPath(),C.da&&(f.setLineDash(C.da),f.lineDashOffset=C.do)),l=o[r].trNodes,a=l.length,s=0;s<a;s+=1)l[s].t==="m"?f.moveTo(l[s].p[0],l[s].p[1]):l[s].t==="c"?f.bezierCurveTo(l[s].pts[0],l[s].pts[1],l[s].pts[2],l[s].pts[3],l[s].pts[4],l[s].pts[5]):f.closePath();(g==="st"||g==="gs")&&(n.ctxStroke(),C.da&&f.setLineDash(this.dashResetter))}g!=="st"&&g!=="gs"&&this.globalData.renderer.ctxFill(C.r),n.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,i){var s,a=t.length-1,o;for(o=e,s=a;s>=0;s-=1)t[s].ty==="tr"?(o=r[s].transform,this.renderShapeTransform(e,o)):t[s].ty==="sh"||t[s].ty==="el"||t[s].ty==="rc"||t[s].ty==="sr"?this.renderPath(t[s],r[s]):t[s].ty==="fl"?this.renderFill(t[s],r[s],o):t[s].ty==="st"?this.renderStroke(t[s],r[s],o):t[s].ty==="gf"||t[s].ty==="gs"?this.renderGradientFill(t[s],r[s],o):t[s].ty==="gr"?this.renderShape(o,t[s].it,r[s].it):t[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,i=t.paths,s,a,o,l=i._length;r.length=0;var n=e.transforms.finalTransform;for(o=0;o<l;o+=1){var f=i.shapes[o];if(f&&f.v){for(a=f._length,s=1;s<a;s+=1)s===1&&r.push({t:"m",p:n.applyToPointArray(f.v[0][0],f.v[0][1],0)}),r.push({t:"c",pts:n.applyToTriplePoints(f.o[s-1],f.i[s],f.v[s])});a===1&&r.push({t:"m",p:n.applyToPointArray(f.v[0][0],f.v[0][1],0)}),f.c&&a&&(r.push({t:"c",pts:n.applyToTriplePoints(f.o[s-1],f.i[0],f.v[0])}),r.push({t:"z"}))}}e.trNodes=r}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var r,i=t.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var i=t.style;(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var i=t.style,s;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var a=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(e.t===1)s=a.createLinearGradient(o[0],o[1],l[0],l[1]);else{var n=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),f=Math.atan2(l[1]-o[1],l[0]-o[0]),g=t.h.v;g>=1?g=.99:g<=-1&&(g=-.99);var C=n*g,p=Math.cos(f+t.a.v)*C+o[0],S=Math.sin(f+t.a.v)*C+o[1];s=a.createRadialGradient(p,S,0,o[0],o[1],n)}var A,c=e.g.p,E=t.g.c,u=1;for(A=0;A<c;A+=1)t.g._hasOpacity&&t.g._collapsable&&(u=t.g.o[A*2+1]),s.addColorStop(E[A*4]/100,"rgba("+E[A*4+1]+","+E[A*4+2]+","+E[A*4+3]+","+u+")");i.grd=s}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var i=t.style,s=t.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(i.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var i=this.globalData.fontManager.getFontByName(e.f),s,a,o=e.l,l=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var n,f,g,C,p,S,A,c,E,u,m=this.data.singleShape,d=e.tr*.001*e.finalSize,y=0,T=0,x=!0,M=0;for(s=0;s<a;s+=1){n=this.globalData.fontManager.getCharData(e.finalText[s],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),f=n&&n.data||{},l.reset(),m&&o[s].n&&(y=-d,T+=e.yOffset,T+=x?1:0,x=!1),p=f.shapes?f.shapes[0].it:[],A=p.length,l.scale(e.finalSize/100,e.finalSize/100),m&&this.applyTextPropertiesToMatrix(e,l,o[s].line,y,T),E=createSizedArray(A-1);var k=0;for(S=0;S<A;S+=1)if(p[S].ty==="sh"){for(C=p[S].ks.k.i.length,c=p[S].ks.k,u=[],g=1;g<C;g+=1)g===1&&u.push(l.applyToX(c.v[0][0],c.v[0][1],0),l.applyToY(c.v[0][0],c.v[0][1],0)),u.push(l.applyToX(c.o[g-1][0],c.o[g-1][1],0),l.applyToY(c.o[g-1][0],c.o[g-1][1],0),l.applyToX(c.i[g][0],c.i[g][1],0),l.applyToY(c.i[g][0],c.i[g][1],0),l.applyToX(c.v[g][0],c.v[g][1],0),l.applyToY(c.v[g][0],c.v[g][1],0));u.push(l.applyToX(c.o[g-1][0],c.o[g-1][1],0),l.applyToY(c.o[g-1][0],c.o[g-1][1],0),l.applyToX(c.i[0][0],c.i[0][1],0),l.applyToY(c.i[0][0],c.i[0][1],0),l.applyToX(c.v[0][0],c.v[0][1],0),l.applyToY(c.v[0][0],c.v[0][1],0)),E[k]=u,k+=1}m&&(y+=o[s].l,y+=d),this.textSpans[M]?this.textSpans[M].elem=E:this.textSpans[M]={elem:E},M+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var e=this.canvasContext;e.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var t,r,i,s,a,o,l=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;r=n.length;var f,g=null,C=null,p=null,S,A,c=this.globalData.renderer;for(t=0;t<r;t+=1)if(!n[t].n){if(f=l[t],f&&(c.save(),c.ctxTransform(f.p),c.ctxOpacity(f.o)),this.fill){for(f&&f.fc?g!==f.fc&&(c.ctxFillStyle(f.fc),g=f.fc):g!==this.values.fill&&(g=this.values.fill,c.ctxFillStyle(this.values.fill)),S=this.textSpans[t].elem,s=S.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(A=S[i],o=A.length,this.globalData.canvasContext.moveTo(A[0],A[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(A[a],A[a+1],A[a+2],A[a+3],A[a+4],A[a+5]);this.globalData.canvasContext.closePath(),c.ctxFill()}if(this.stroke){for(f&&f.sw?p!==f.sw&&(p=f.sw,c.ctxLineWidth(f.sw)):p!==this.values.sWidth&&(p=this.values.sWidth,c.ctxLineWidth(this.values.sWidth)),f&&f.sc?C!==f.sc&&(C=f.sc,c.ctxStrokeStyle(f.sc)):C!==this.values.stroke&&(C=this.values.stroke,c.ctxStrokeStyle(this.values.stroke)),S=this.textSpans[t].elem,s=S.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(A=S[i],o=A.length,this.globalData.canvasContext.moveTo(A[0],A[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(A[a],A[a+1],A[a+2],A[a+3],A[a+4],A[a+5]);this.globalData.canvasContext.closePath(),c.ctxStroke()}f&&this.globalData.renderer.restore()}};function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),r=this.img.width,i=this.img.height,s=r/i,a=this.assetData.w/this.assetData.h,o,l,n=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&n==="xMidYMid slice"||s<a&&n!=="xMidYMid slice"?(l=i,o=l*a):(o=r,l=o/a),t.drawImage(this.img,(r-o)/2,(i-l)/2,o,l,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,i){this.canvasContext.fillRect(e,t,r,i)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var r,i;e?(r=e,i=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr);var s,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),l=o[1]||"meet",n=o[0]||"xMidYMid",f=n.substr(0,4),g=n.substr(4);s=r/i,a=this.transformCanvas.w/this.transformCanvas.h,a>s&&l==="meet"||a<s&&l==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),f==="xMid"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:f==="xMax"&&(a<s&&l==="meet"||a>s&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,g==="YMid"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:g==="YMax"&&(a>s&&l==="meet"||a<s&&l==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e<t;e+=1){var r=new CanvasContext;this.stack[e]=r}this._length=t,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],r=t.transform,i,s=this.cTr.props;for(i=0;i<16;i+=1)s[i]=r[i];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.stack[this.cArrPos],i;for(i=0;i<16;i+=1)r.transform[i]=t[i];this.cArrPos+=1;var s=this.stack[this.cArrPos];s.opacity=r.opacity,s.fillStyle=r.fillStyle,s.strokeStyle=r.strokeStyle,s.lineWidth=r.lineWidth,s.lineCap=r.lineCap,s.lineJoin=r.lineJoin,s.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var r=t.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,r,i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,i)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,r=this.layers.length;for(t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();t.transform=r,t.webkitTransform=r}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r=e.sh.v,i=e.transformers,s,a=r._length,o,l,n,f;if(!(a<=1)){for(s=0;s<a-1;s+=1)o=this.getTransformedPoint(i,r.v[s]),l=this.getTransformedPoint(i,r.o[s]),n=this.getTransformedPoint(i,r.i[s+1]),f=this.getTransformedPoint(i,r.v[s+1]),this.checkBounds(o,l,n,f,t);r.c&&(o=this.getTransformedPoint(i,r.v[s]),l=this.getTransformedPoint(i,r.o[s]),n=this.getTransformedPoint(i,r.i[0]),f=this.getTransformedPoint(i,r.v[0]),this.checkBounds(o,l,n,f,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,i,s){this.getBoundsOfCurve(e,t,r,i);var a=this.shapeBoundingBox;s.x=bmMin(a.left,s.x),s.xMax=bmMax(a.right,s.xMax),s.y=bmMin(a.top,s.y),s.yMax=bmMax(a.bottom,s.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,i){for(var s=[[e[0],i[0]],[e[1],i[1]]],a,o,l,n,f,g,C,p=0;p<2;++p)o=6*e[p]-12*t[p]+6*r[p],a=-3*e[p]+9*t[p]-9*r[p]+3*i[p],l=3*t[p]-3*e[p],o|=0,a|=0,l|=0,a===0&&o===0||(a===0?(n=-l/o,n>0&&n<1&&s[p].push(this.calculateF(n,e,t,r,i,p))):(f=o*o-4*l*a,f>=0&&(g=(-o+bmSqrt(f))/(2*a),g>0&&g<1&&s[p].push(this.calculateF(g,e,t,r,i,p)),C=(-o-bmSqrt(f))/(2*a),C>0&&C<1&&s[p].push(this.calculateF(C,e,t,r,i,p)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(e,t,r,i,s,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*i[a]+bmPow(e,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var i=0;i<e.keyframes.length;i+=1){var s=e.keyframes[i].s;s>r&&(r=s)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=s,i.webkitTransform=s}}};function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var i=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{t.fontFamily=i.fFamily;var s=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=s}var o,l,n=e.l;l=n.length;var f,g,C,p=this.mHelper,S,A="",c=0;for(o=0;o<l;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[c]?f=this.textPaths[c]:(f=createNS("path"),f.setAttribute("stroke-linecap",lineCapEnum[1]),f.setAttribute("stroke-linejoin",lineJoinEnum[2]),f.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[c]?(g=this.textSpans[c],C=g.children[0]):(g=createTag("div"),g.style.lineHeight=0,C=createNS("svg"),C.appendChild(f),styleDiv(g)))):this.isMasked?f=this.textPaths[c]?this.textPaths[c]:createNS("text"):this.textSpans[c]?(g=this.textSpans[c],f=this.textPaths[c]):(g=createTag("span"),styleDiv(g),f=createTag("span"),styleDiv(f),g.appendChild(f)),this.globalData.fontManager.chars){var E=this.globalData.fontManager.getCharData(e.finalText[o],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),u;if(E?u=E.data:u=null,p.reset(),u&&u.shapes&&u.shapes.length&&(S=u.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),A=this.createPathShape(p,S),f.setAttribute("d",A)),this.isMasked)this.innerElem.appendChild(f);else{if(this.innerElem.appendChild(g),u&&u.shapes){document.body.appendChild(C);var m=C.getBBox();C.setAttribute("width",m.width+2),C.setAttribute("height",m.height+2),C.setAttribute("viewBox",m.x-1+" "+(m.y-1)+" "+(m.width+2)+" "+(m.height+2));var d=C.style,y="translate("+(m.x-1)+"px,"+(m.y-1)+"px)";d.transform=y,d.webkitTransform=y,n[o].yOffset=m.y-1}else C.setAttribute("width",1),C.setAttribute("height",1);g.appendChild(C)}}else if(f.textContent=n[o].val,f.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(f);else{this.innerElem.appendChild(g);var T=f.style,x="translate3d(0,"+-e.finalSize/1.2+"px,0)";T.transform=x,T.webkitTransform=x}this.isMasked?this.textSpans[c]=f:this.textSpans[c]=g,this.textSpans[c].style.display="block",this.textPaths[c]=f,c+=1}for(;c<this.textSpans.length;)this.textSpans[c].style.display="none",c+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var r,i,s=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;i=o.length;var l,n,f;for(r=0;r<i;r+=1)o[r].n?s+=1:(n=this.textSpans[r],f=this.textPaths[r],l=a[s],s+=1,l._mdf.m&&(this.isMasked?n.setAttribute("transform",l.m):(n.style.webkitTransform=l.m,n.style.transform=l.m)),n.style.opacity=l.o,l.sw&&l._mdf.sw&&f.setAttribute("stroke-width",l.sw),l.sc&&l._mdf.sc&&f.setAttribute("stroke",l.sc),l.fc&&l._mdf.fc&&(f.setAttribute("fill",l.fc),f.style.color=l.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var g=this.innerElem.getBBox();this.currentBBox.w!==g.width&&(this.currentBBox.w=g.width,this.svgElement.setAttribute("width",g.width)),this.currentBBox.h!==g.height&&(this.currentBBox.h=g.height,this.svgElement.setAttribute("height",g.height));var C=1;if(this.currentBBox.w!==g.width+C*2||this.currentBBox.h!==g.height+C*2||this.currentBBox.x!==g.x-C||this.currentBBox.y!==g.y-C){this.currentBBox.w=g.width+C*2,this.currentBBox.h=g.height+C*2,this.currentBBox.x=g.x-C,this.currentBBox.y=g.y-C,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var p="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=p,e.webkitTransform=p}}}};function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,e.pe,0,0,this),e.ks.p.s?(this.px=i(this,e.ks.p.x,1,0,this),this.py=i(this,e.ks.p.y,1,0,this),this.pz=i(this,e.ks.p.z,1,0,this)):this.p=i(this,e.ks.p,1,0,this),e.ks.a&&(this.a=i(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var s,a=e.ks.or.k.length;for(s=0;s<a;s+=1)e.ks.or.k[s].to=null,e.ks.or.k[s].ti=null}this.or=i(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,e.ks.rx,0,degToRads,this),this.ry=i(this,e.ks.ry,0,degToRads,this),this.rz=i(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,r,i,s;for(e=0;e<t;e+=1)if(r=this.comp.threeDElements[e],r.type==="3d"){i=r.perspectiveElem.style,s=r.container.style;var a=this.pe.v+"px",o="0px 0px 0px",l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=a,i.webkitPerspective=a,s.transformOrigin=o,s.mozTransformOrigin=o,s.webkitTransformOrigin=o,i.transform=l,i.webkitTransform=l}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,r;if(this.hierarchy)for(r=this.hierarchy.length,t=0;t<r;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(r=this.hierarchy.length-1,t=r;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),o=[s[0]/a,s[1]/a,s[2]/a],l=Math.sqrt(o[2]*o[2]+o[0]*o[0]),n=Math.atan2(o[1],l),f=Math.atan2(o[0],-o[2]);this.mat.rotateY(f).rotateX(-n)}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 g=!this._prevMat.equals(this.mat);if((g||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var C,p,S;for(t=0;t<r;t+=1)if(C=this.comp.threeDElements[t],C.type==="3d"){if(g){var A=this.mat.toCSS();S=C.container.style,S.transform=A,S.webkitTransform=A}this.pe._mdf&&(p=C.perspectiveElem.style,p.perspective=this.pe.v+"px",p.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var i=this.layers[t];if(!i.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var s=0,a,o,l;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(o=this.elements[s],l=this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement(),a=l||a),s+=1;a?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,a):(!i.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),i,s;styleDiv(r);var a=createTag("div");if(styleDiv(a),t==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var o="50% 50%";i.webkitTransformOrigin=o,i.mozTransformOrigin=o,i.transformOrigin=o,s=a.style;var l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=l,s.webkitTransform=l}r.appendChild(a);var n={container:a,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(n),n},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,i="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(i!=="3d"&&(i="3d",r=this.createThreeDContainer(e,"3d")),r.endPos=Math.max(r.endPos,e)):(i!=="2d"&&(i="2d",r=this.createThreeDContainer(e,"2d")),r.endPos=Math.max(r.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,i=this.threeDElements.length;r<i;){if(t<=this.threeDElements[r].endPos){for(var s=this.threeDElements[r].startPos,a;s<t;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=1;a?this.threeDElements[r].container.insertBefore(e,a):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,i=t.style;i.width=e.w+"px",i.height=e.h+"px",this.resizerElem=t,styleDiv(t),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),i.overflow="hidden";var s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var a=createNS("defs");s.appendChild(a),this.data=e,this.setupGlobalData(e,s),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,r=e/t,i=this.globalData.compSize.w/this.globalData.compSize.h,s,a,o,l;i>r?(s=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,o=0,l=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(s=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,l=0);var n=this.resizerElem.style;n.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+l+",0,1)",n.transform=n.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r<i;r+=1){var s=this.threeDElements[r].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,i=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var s=this.createComp(e[t],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}};function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var r=0,i;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(e,i):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function t(r){for(var i=0,s=e.layers.length;i<s;){if(e.layers[i].nm===r||e.layers[i].ind===r)return e.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}();function _typeof$2(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(r){return typeof r}:_typeof$2=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$2(e)}function seedRandom(e,t){var r=this,i=256,s=6,a=52,o="random",l=t.pow(i,s),n=t.pow(2,a),f=n*2,g=i-1,C;function p(d,y,T){var x=[];y=y===!0?{entropy:!0}:y||{};var M=E(c(y.entropy?[d,m(e)]:d===null?u():d,3),x),k=new S(x),D=function(){for(var G=k.g(s),R=l,j=0;G<n;)G=(G+j)*i,R*=i,j=k.g(1);for(;G>=f;)G/=2,R/=2,j>>>=1;return(G+j)/R};return D.int32=function(){return k.g(4)|0},D.quick=function(){return k.g(4)/4294967296},D.double=D,E(m(k.S),e),(y.pass||T||function(H,G,R,j){return j&&(j.S&&A(j,k),H.state=function(){return A(k,{})}),R?(t[o]=H,G):H})(D,M,"global"in y?y.global:this==t,y.state)}t["seed"+o]=p;function S(d){var y,T=d.length,x=this,M=0,k=x.i=x.j=0,D=x.S=[];for(T||(d=[T++]);M<i;)D[M]=M++;for(M=0;M<i;M++)D[M]=D[k=g&k+d[M%T]+(y=D[M])],D[k]=y;x.g=function(H){for(var G,R=0,j=x.i,W=x.j,L=x.S;H--;)G=L[j=g&j+1],R=R*i+L[g&(L[j]=L[W=g&W+G])+(L[W]=G)];return x.i=j,x.j=W,R}}function A(d,y){return y.i=d.i,y.j=d.j,y.S=d.S.slice(),y}function c(d,y){var T=[],x=_typeof$2(d),M;if(y&&x=="object")for(M in d)try{T.push(c(d[M],y-1))}catch(k){}return T.length?T:x=="string"?d:d+"\0"}function E(d,y){for(var T=d+"",x,M=0;M<T.length;)y[g&M]=g&(x^=y[g&M]*19)+T.charCodeAt(M++);return m(y)}function u(){try{var d=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(d),m(d)}catch(x){var y=r.navigator,T=y&&y.plugins;return[+new Date,r,T,r.screen,m(e)]}}function m(d){return String.fromCharCode.apply(0,d)}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,i=e.length,s=[];for(r=0;r<i;r+=1)s[r]=-e[r];return s}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof$1(e),i=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(i,t)||r==="string"||i==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,a=e.length,o=t.length,l=[];s<a||s<o;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?l[s]=e[s]+t[s]:l[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return l}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),i=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(i,t))return r==="string"&&(e=parseInt(e,10)),i==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,a=e.length,o=t.length,l=[];s<a||s<o;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?l[s]=e[s]-t[s]:l[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return l}return 0}function mul(e,t){var r=_typeof$1(e),i=_typeof$1(t),s;if(isNumerable(r,e)&&isNumerable(i,t))return e*t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e[a]*t;return s}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e*t[a];return s}return 0}function div(e,t){var r=_typeof$1(e),i=_typeof$1(t),s;if(isNumerable(r,e)&&isNumerable(i,t))return e/t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e[a]/t;return s}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=e/t[a];return s}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var i=r;r=t,t=i}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,i=Math.min(e.length,t.length),s=0;for(r=0;r<i;r+=1)s+=Math.pow(t[r]-e[r],2);return Math.sqrt(s)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],r=e[1],i=e[2],s=Math.max(t,r,i),a=Math.min(t,r,i),o,l,n=(s+a)/2;if(s===a)o=0,l=0;else{var f=s-a;switch(l=n>.5?f/(2-s-a):f/(s+a),s){case t:o=(r-i)/f+(r<i?6:0);break;case r:o=(i-t)/f+2;break;case i:o=(t-r)/f+4;break}o/=6}return[o,l,n,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],i=e[2],s,a,o;if(r===0)s=i,o=i,a=i;else{var l=i<.5?i*(1+r):i+r-i*r,n=2*i-l;s=hue2rgb(n,l,t+1/3),a=hue2rgb(n,l,t),o=hue2rgb(n,l,t-1/3)}return[s,a,o,e[3]]}function linear(e,t,r,i,s){if((i===void 0||s===void 0)&&(i=t,s=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return i;if(e>=r)return s;var o=r===t?0:(e-t)/(r-t);if(!i.length)return i+(s-i)*o;var l,n=i.length,f=createTypedArray("float32",n);for(l=0;l<n;l+=1)f[l]=i[l]+(s[l]-i[l])*o;return f}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var r,i=t.length;e||(e=createTypedArray("float32",i));var s=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)s[r]=e[r]+a*(t[r]-e[r]);return s}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,r,i){var s,a=e.length,o=shapePool.newElement();o.setPathData(!!i,a);var l=[0,0],n,f;for(s=0;s<a;s+=1)n=t&&t[s]?t[s]:l,f=r&&r[s]?r[s]:l,o.setTripleAt(e[s][0],e[s][1],f[0]+e[s][0],f[1]+e[s][1],n[0]+e[s][0],n[1]+e[s][1],s,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function e(t,r){var i,s,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);t=5;var l=Math.floor(time*t);for(i=0,s=0;i<l;){for(s=0;s<a;s+=1)o[s]+=-r+r*2*BMMath.random();i+=1}var n=time*t,f=n-Math.floor(n),g=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)g[s]=this.pv[s]+o[s]+(-r+r*2*BMMath.random())*f;return g}return this.pv+o[0]+(-r+r*2*BMMath.random())*f}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,s=-Math.atan2(r[1],r[2])/degToRads;return[s,i,0]}function easeOut(e,t,r,i,s){return applyEase(easeOutBez,e,t,r,i,s)}function easeIn(e,t,r,i,s){return applyEase(easeInBez,e,t,r,i,s)}function ease(e,t,r,i,s){return applyEase(easeInOutBez,e,t,r,i,s)}function applyEase(e,t,r,i,s,a){s===void 0?(s=r,a=i):t=(t-r)/(i-r),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(s)){var l,n=s.length,f=createTypedArray("float32",n);for(l=0;l<n;l+=1)f[l]=(a[l]-s[l])*o+s[l];return f}return(a-s)*o+s}function nearestKey(e){var t,r=data.k.length,i,s;if(!data.k.length||typeof data.k[0]=="number")i=0,s=0;else if(i=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)i=1,s=data.k[0].t;else{for(t=0;t<r-1;t+=1)if(e===data.k[t].t){i=t+1,s=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(i=t+2,s=data.k[t+1].t):(i=t+1,s=data.k[t].t);break}i===-1&&(i=t+1,s=data.k[t].t)}var a={};return a.index=i,a.time=s/elem.comp.globalData.frameRate,a}function key(e){var t,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=s.length,r=0;r<i;r+=1)t[r]=s[r],t.value[r]=s[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(r){var i=0,s=[];function a(){i+=1}function o(){i-=1,i===0&&n()}function l(f){s.indexOf(f)===-1&&s.push(f)}function n(){var f,g=s.length;for(f=0;f<g;f+=1)s[f].release();s.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=a,r.renderer.globalData.popExpression=o,r.renderer.globalData.registerExpressionProperty=l}return e}(),MaskManagerInterface=function(){function e(r,i){this._mask=r,this._data=i}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(i){var s=createSizedArray(i.viewData.length),a,o=i.viewData.length;for(a=0;a<o;a+=1)s[a]=new e(i.viewData[a],i.masksProperties[a]);var l=function(f){for(a=0;a<o;){if(i.masksProperties[a].nm===f)return s[a];a+=1}return null};return l};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(o,l,n){Object.defineProperty(o,"velocity",{get:function(){return l.getVelocityAtTime(l.comp.currentFrame)}}),o.numKeys=l.keyframes?l.keyframes.length:0,o.key=function(f){if(!o.numKeys)return 0;var g="";"s"in l.keyframes[f-1]?g=l.keyframes[f-1].s:"e"in l.keyframes[f-2]?g=l.keyframes[f-2].e:g=l.keyframes[f-2].s;var C=n==="unidimensional"?new Number(g):Object.assign({},g);return C.time=l.keyframes[f-1].t/l.elem.comp.globalData.frameRate,C.value=n==="unidimensional"?g[0]:g,C},o.valueAtTime=l.getValueAtTime,o.speedAtTime=l.getSpeedAtTime,o.velocityAtTime=l.getVelocityAtTime,o.propertyGroup=l.propertyGroup}function i(o){(!o||!("pv"in o))&&(o=e);var l=1/o.mult,n=o.pv*l,f=new Number(n);return f.value=n,r(f,o,"unidimensional"),function(){return o.k&&o.getValue(),n=o.v*l,f.value!==n&&(f=new Number(n),f.value=n,r(f,o,"unidimensional")),f}}function s(o){(!o||!("pv"in o))&&(o=t);var l=1/o.mult,n=o.data&&o.data.l||o.pv.length,f=createTypedArray("float32",n),g=createTypedArray("float32",n);return f.value=g,r(f,o,"multidimensional"),function(){o.k&&o.getValue();for(var C=0;C<n;C+=1)g[C]=o.v[C]*l,f[C]=g[C];return f}}function a(){return e}return function(o){return o?o.propType==="unidimensional"?i(o):s(o):a}}(),TransformExpressionInterface=function(){return function(e){function t(o){switch(o){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var r,i,s,a;return e.p?a=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),i=ExpressionPropertyInterface(e.py),e.pz&&(s=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[r(),i(),s?s():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(f){var g=new Matrix;if(f!==void 0){var C=this._elem.finalTransform.mProp.getValueAtTime(f);C.clone(g)}else{var p=this._elem.finalTransform.mProp;p.applyToMatrix(g)}return g}function t(f,g){var C=this.getMatrix(g);return C.props[12]=0,C.props[13]=0,C.props[14]=0,this.applyPoint(C,f)}function r(f,g){var C=this.getMatrix(g);return this.applyPoint(C,f)}function i(f,g){var C=this.getMatrix(g);return C.props[12]=0,C.props[13]=0,C.props[14]=0,this.invertPoint(C,f)}function s(f,g){var C=this.getMatrix(g);return this.invertPoint(C,f)}function a(f,g){if(this._elem.hierarchy&&this._elem.hierarchy.length){var C,p=this._elem.hierarchy.length;for(C=0;C<p;C+=1)this._elem.hierarchy[C].finalTransform.mProp.applyToMatrix(f)}return f.applyToPointArray(g[0],g[1],g[2]||0)}function o(f,g){if(this._elem.hierarchy&&this._elem.hierarchy.length){var C,p=this._elem.hierarchy.length;for(C=0;C<p;C+=1)this._elem.hierarchy[C].finalTransform.mProp.applyToMatrix(f)}return f.inversePoint(g)}function l(f){var g=new Matrix;if(g.reset(),this._elem.finalTransform.mProp.applyToMatrix(g),this._elem.hierarchy&&this._elem.hierarchy.length){var C,p=this._elem.hierarchy.length;for(C=0;C<p;C+=1)this._elem.hierarchy[C].finalTransform.mProp.applyToMatrix(g);return g.inversePoint(f)}return g.inversePoint(f)}function n(){return[1,1,1,1]}return function(f){var g;function C(c){S.mask=new MaskManagerInterface(c,f)}function p(c){S.effect=c}function S(c){switch(c){case"ADBE Root Vectors Group":case"Contents":case 2:return S.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return g;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return S.effect;case"ADBE Text Properties":return S.textInterface;default:return null}}S.getMatrix=e,S.invertPoint=o,S.applyPoint=a,S.toWorld=r,S.toWorldVec=t,S.fromWorld=s,S.fromWorldVec=i,S.toComp=r,S.fromComp=l,S.sampleImage=n,S.sourceRectAtTime=f.sourceRectAtTime.bind(f),S._elem=f,g=TransformExpressionInterface(f.finalTransform.mProp);var A=getDescriptor(g,"anchorPoint");return Object.defineProperties(S,{hasParent:{get:function(){return f.hierarchy.length}},parent:{get:function(){return f.hierarchy[0].layerInterface}},rotation:getDescriptor(g,"rotation"),scale:getDescriptor(g,"scale"),position:getDescriptor(g,"position"),opacity:getDescriptor(g,"opacity"),anchorPoint:A,anchor_point:A,transform:{get:function(){return g}},active:{get:function(){return f.isInRange}}}),S.startTime=f.data.st,S.index=f.data.ind,S.source=f.data.refId,S.height=f.data.ty===0?f.data.h:100,S.width=f.data.ty===0?f.data.w:100,S.inPoint=f.data.ip/f.comp.globalData.frameRate,S.outPoint=f.data.op/f.comp.globalData.frameRate,S._name=f.data.nm,S.registerMaskInterface=C,S.registerEffectsInterface=p,S}}(),propertyGroupFactory=function(){return function(e,t){return function(r){return r=r===void 0?1:r,r<=0?e:t(r-1)}}}(),PropertyInterface=function(){return function(e,t){var r={_name:e};function i(s){return s=s===void 0?1:s,s<=0?r:t(s-1)}return i}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(s,a){if(s.effectsManager){var o=[],l=s.data.ef,n,f=s.effectsManager.effectElements.length;for(n=0;n<f;n+=1)o.push(r(l[n],s.effectsManager.effectElements[n],a,s));var g=s.data.ef||[],C=function(S){for(n=0,f=g.length;n<f;){if(S===g[n].nm||S===g[n].mn||S===g[n].ix)return o[n];n+=1}return null};return Object.defineProperty(C,"numProperties",{get:function(){return g.length}}),C}return null}function r(s,a,o,l){function n(S){for(var A=s.ef,c=0,E=A.length;c<E;){if(S===A[c].nm||S===A[c].mn||S===A[c].ix)return A[c].ty===5?g[c]:g[c]();c+=1}throw new Error}var f=propertyGroupFactory(n,o),g=[],C,p=s.ef.length;for(C=0;C<p;C+=1)s.ef[C].ty===5?g.push(r(s.ef[C],a.effectElements[C],a.effectElements[C].propertyGroup,l)):g.push(i(a.effectElements[C],s.ef[C].ty,l,f));return s.mn==="ADBE Color Control"&&Object.defineProperty(n,"color",{get:function(){return g[0]()}}),Object.defineProperties(n,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:f}}),n.enabled=s.en!==0,n.active=n.enabled,n}function i(s,a,o,l){var n=ExpressionPropertyInterface(s.p);function f(){return a===10?o.comp.compInterface(s.p.v):n()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",l)),f}return e}(),ShapePathInterface=function(){return function(t,r,i){var s=r.sh;function a(l){return l==="Shape"||l==="shape"||l==="Path"||l==="path"||l==="ADBE Vector Shape"||l===2?a.path:null}var o=propertyGroupFactory(a,i);return s.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(a,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),a}}(),ShapeExpressionInterface=function(){function e(A,c,E){var u=[],m,d=A?A.length:0;for(m=0;m<d;m+=1)A[m].ty==="gr"?u.push(r(A[m],c[m],E)):A[m].ty==="fl"?u.push(i(A[m],c[m],E)):A[m].ty==="st"?u.push(o(A[m],c[m],E)):A[m].ty==="tm"?u.push(l(A[m],c[m],E)):A[m].ty==="tr"||(A[m].ty==="el"?u.push(f(A[m],c[m],E)):A[m].ty==="sr"?u.push(g(A[m],c[m],E)):A[m].ty==="sh"?u.push(ShapePathInterface(A[m],c[m],E)):A[m].ty==="rc"?u.push(C(A[m],c[m],E)):A[m].ty==="rd"?u.push(p(A[m],c[m],E)):A[m].ty==="rp"?u.push(S(A[m],c[m],E)):A[m].ty==="gf"?u.push(s(A[m],c[m],E)):u.push(a(A[m],c[m])));return u}function t(A,c,E){var u,m=function(T){for(var x=0,M=u.length;x<M;){if(u[x]._name===T||u[x].mn===T||u[x].propertyIndex===T||u[x].ix===T||u[x].ind===T)return u[x];x+=1}return typeof T=="number"?u[T-1]:null};m.propertyGroup=propertyGroupFactory(m,E),u=e(A.it,c.it,m.propertyGroup),m.numProperties=u.length;var d=n(A.it[A.it.length-1],c.it[c.it.length-1],m.propertyGroup);return m.transform=d,m.propertyIndex=A.cix,m._name=A.nm,m}function r(A,c,E){var u=function(T){switch(T){case"ADBE Vectors Group":case"Contents":case 2:return u.content;default:return u.transform}};u.propertyGroup=propertyGroupFactory(u,E);var m=t(A,c,u.propertyGroup),d=n(A.it[A.it.length-1],c.it[c.it.length-1],u.propertyGroup);return u.content=m,u.transform=d,Object.defineProperty(u,"_name",{get:function(){return A.nm}}),u.numProperties=A.np,u.propertyIndex=A.ix,u.nm=A.nm,u.mn=A.mn,u}function i(A,c,E){function u(m){return m==="Color"||m==="color"?u.color:m==="Opacity"||m==="opacity"?u.opacity:null}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(c.c)},opacity:{get:ExpressionPropertyInterface(c.o)},_name:{value:A.nm},mn:{value:A.mn}}),c.c.setGroupProperty(PropertyInterface("Color",E)),c.o.setGroupProperty(PropertyInterface("Opacity",E)),u}function s(A,c,E){function u(m){return m==="Start Point"||m==="start point"?u.startPoint:m==="End Point"||m==="end point"?u.endPoint:m==="Opacity"||m==="opacity"?u.opacity:null}return Object.defineProperties(u,{startPoint:{get:ExpressionPropertyInterface(c.s)},endPoint:{get:ExpressionPropertyInterface(c.e)},opacity:{get:ExpressionPropertyInterface(c.o)},type:{get:function(){return"a"}},_name:{value:A.nm},mn:{value:A.mn}}),c.s.setGroupProperty(PropertyInterface("Start Point",E)),c.e.setGroupProperty(PropertyInterface("End Point",E)),c.o.setGroupProperty(PropertyInterface("Opacity",E)),u}function a(){function A(){return null}return A}function o(A,c,E){var u=propertyGroupFactory(M,E),m=propertyGroupFactory(x,u);function d(k){Object.defineProperty(x,A.d[k].nm,{get:ExpressionPropertyInterface(c.d.dataProps[k].p)})}var y,T=A.d?A.d.length:0,x={};for(y=0;y<T;y+=1)d(y),c.d.dataProps[y].p.setGroupProperty(m);function M(k){return k==="Color"||k==="color"?M.color:k==="Opacity"||k==="opacity"?M.opacity:k==="Stroke Width"||k==="stroke width"?M.strokeWidth:null}return Object.defineProperties(M,{color:{get:ExpressionPropertyInterface(c.c)},opacity:{get:ExpressionPropertyInterface(c.o)},strokeWidth:{get:ExpressionPropertyInterface(c.w)},dash:{get:function(){return x}},_name:{value:A.nm},mn:{value:A.mn}}),c.c.setGroupProperty(PropertyInterface("Color",u)),c.o.setGroupProperty(PropertyInterface("Opacity",u)),c.w.setGroupProperty(PropertyInterface("Stroke Width",u)),M}function l(A,c,E){function u(d){return d===A.e.ix||d==="End"||d==="end"?u.end:d===A.s.ix?u.start:d===A.o.ix?u.offset:null}var m=propertyGroupFactory(u,E);return u.propertyIndex=A.ix,c.s.setGroupProperty(PropertyInterface("Start",m)),c.e.setGroupProperty(PropertyInterface("End",m)),c.o.setGroupProperty(PropertyInterface("Offset",m)),u.propertyIndex=A.ix,u.propertyGroup=E,Object.defineProperties(u,{start:{get:ExpressionPropertyInterface(c.s)},end:{get:ExpressionPropertyInterface(c.e)},offset:{get:ExpressionPropertyInterface(c.o)},_name:{value:A.nm}}),u.mn=A.mn,u}function n(A,c,E){function u(d){return A.a.ix===d||d==="Anchor Point"?u.anchorPoint:A.o.ix===d||d==="Opacity"?u.opacity:A.p.ix===d||d==="Position"?u.position:A.r.ix===d||d==="Rotation"||d==="ADBE Vector Rotation"?u.rotation:A.s.ix===d||d==="Scale"?u.scale:A.sk&&A.sk.ix===d||d==="Skew"?u.skew:A.sa&&A.sa.ix===d||d==="Skew Axis"?u.skewAxis:null}var m=propertyGroupFactory(u,E);return c.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",m)),c.transform.mProps.p.setGroupProperty(PropertyInterface("Position",m)),c.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",m)),c.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",m)),c.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",m)),c.transform.mProps.sk&&(c.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",m)),c.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",m))),c.transform.op.setGroupProperty(PropertyInterface("Opacity",m)),Object.defineProperties(u,{opacity:{get:ExpressionPropertyInterface(c.transform.mProps.o)},position:{get:ExpressionPropertyInterface(c.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(c.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(c.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(c.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(c.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(c.transform.mProps.sa)},_name:{value:A.nm}}),u.ty="tr",u.mn=A.mn,u.propertyGroup=E,u}function f(A,c,E){function u(y){return A.p.ix===y?u.position:A.s.ix===y?u.size:null}var m=propertyGroupFactory(u,E);u.propertyIndex=A.ix;var d=c.sh.ty==="tm"?c.sh.prop:c.sh;return d.s.setGroupProperty(PropertyInterface("Size",m)),d.p.setGroupProperty(PropertyInterface("Position",m)),Object.defineProperties(u,{size:{get:ExpressionPropertyInterface(d.s)},position:{get:ExpressionPropertyInterface(d.p)},_name:{value:A.nm}}),u.mn=A.mn,u}function g(A,c,E){function u(y){return A.p.ix===y?u.position:A.r.ix===y?u.rotation:A.pt.ix===y?u.points:A.or.ix===y||y==="ADBE Vector Star Outer Radius"?u.outerRadius:A.os.ix===y?u.outerRoundness:A.ir&&(A.ir.ix===y||y==="ADBE Vector Star Inner Radius")?u.innerRadius:A.is&&A.is.ix===y?u.innerRoundness:null}var m=propertyGroupFactory(u,E),d=c.sh.ty==="tm"?c.sh.prop:c.sh;return u.propertyIndex=A.ix,d.or.setGroupProperty(PropertyInterface("Outer Radius",m)),d.os.setGroupProperty(PropertyInterface("Outer Roundness",m)),d.pt.setGroupProperty(PropertyInterface("Points",m)),d.p.setGroupProperty(PropertyInterface("Position",m)),d.r.setGroupProperty(PropertyInterface("Rotation",m)),A.ir&&(d.ir.setGroupProperty(PropertyInterface("Inner Radius",m)),d.is.setGroupProperty(PropertyInterface("Inner Roundness",m))),Object.defineProperties(u,{position:{get:ExpressionPropertyInterface(d.p)},rotation:{get:ExpressionPropertyInterface(d.r)},points:{get:ExpressionPropertyInterface(d.pt)},outerRadius:{get:ExpressionPropertyInterface(d.or)},outerRoundness:{get:ExpressionPropertyInterface(d.os)},innerRadius:{get:ExpressionPropertyInterface(d.ir)},innerRoundness:{get:ExpressionPropertyInterface(d.is)},_name:{value:A.nm}}),u.mn=A.mn,u}function C(A,c,E){function u(y){return A.p.ix===y?u.position:A.r.ix===y?u.roundness:A.s.ix===y||y==="Size"||y==="ADBE Vector Rect Size"?u.size:null}var m=propertyGroupFactory(u,E),d=c.sh.ty==="tm"?c.sh.prop:c.sh;return u.propertyIndex=A.ix,d.p.setGroupProperty(PropertyInterface("Position",m)),d.s.setGroupProperty(PropertyInterface("Size",m)),d.r.setGroupProperty(PropertyInterface("Rotation",m)),Object.defineProperties(u,{position:{get:ExpressionPropertyInterface(d.p)},roundness:{get:ExpressionPropertyInterface(d.r)},size:{get:ExpressionPropertyInterface(d.s)},_name:{value:A.nm}}),u.mn=A.mn,u}function p(A,c,E){function u(y){return A.r.ix===y||y==="Round Corners 1"?u.radius:null}var m=propertyGroupFactory(u,E),d=c;return u.propertyIndex=A.ix,d.rd.setGroupProperty(PropertyInterface("Radius",m)),Object.defineProperties(u,{radius:{get:ExpressionPropertyInterface(d.rd)},_name:{value:A.nm}}),u.mn=A.mn,u}function S(A,c,E){function u(y){return A.c.ix===y||y==="Copies"?u.copies:A.o.ix===y||y==="Offset"?u.offset:null}var m=propertyGroupFactory(u,E),d=c;return u.propertyIndex=A.ix,d.c.setGroupProperty(PropertyInterface("Copies",m)),d.o.setGroupProperty(PropertyInterface("Offset",m)),Object.defineProperties(u,{copies:{get:ExpressionPropertyInterface(d.c)},offset:{get:ExpressionPropertyInterface(d.o)},_name:{value:A.nm}}),u.mn=A.mn,u}return function(A,c,E){var u;function m(y){if(typeof y=="number")return y=y===void 0?1:y,y===0?E:u[y-1];for(var T=0,x=u.length;T<x;){if(u[T]._name===y)return u[T];T+=1}return null}function d(){return E}return m.propertyGroup=propertyGroupFactory(m,d),u=e(A,c,m.propertyGroup),m.numProperties=u.length,m._name="Contents",m}}(),TextExpressionInterface=function(){return function(e){var t;function r(i){switch(i){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var s=e.textProperty.currentData.t;return(!t||s!==t.value)&&(t=new String(s),t.value=s||new String(s),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r}}();function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(e)}var FootageInterface=function(){var e=function(i){var s="",a=i.getFootageData();function o(){return s="",a=i.getFootageData(),l}function l(n){if(a[n])return s=n,a=a[n],_typeof(a)==="object"?l:a;var f=n.indexOf(s);if(f!==-1){var g=parseInt(n.substr(f+s.length),10);return a=a[g],_typeof(a)==="object"?l:a}return""}return o},t=function(i){function s(a){return a==="Outline"?s.outlineInterface():null}return s._name="Outline",s.outlineInterface=e(i),s};return function(r){function i(s){return s==="Data"?i.dataInterface:null}return i._name="Data",i.dataInterface=t(r),i}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(o,l,n){l.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(o,l,n).bind(n)))}function t(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function r(o){var l=-.01,n=this.getValueAtTime(o),f=this.getValueAtTime(o+l),g=0;if(n.length){var C;for(C=0;C<n.length;C+=1)g+=Math.pow(f[C]-n[C],2);g=Math.sqrt(g)*100}else g=0;return g}function i(o){if(this.vel!==void 0)return this.vel;var l=-.001,n=this.getValueAtTime(o),f=this.getValueAtTime(o+l),g;if(n.length){g=createTypedArray("float32",n.length);var C;for(C=0;C<n.length;C+=1)g[C]=(f[C]-n[C])/l}else g=(f-n)/l;return g}function s(){return this.pv}function a(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:t,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function e(p,S,A){if(!this.k||!this.keyframes)return this.pv;p=p?p.toLowerCase():"";var c=this.comp.renderedFrame,E=this.keyframes,u=E[E.length-1].t;if(c<=u)return this.pv;var m,d;A?(S?m=Math.abs(u-this.elem.comp.globalData.frameRate*S):m=Math.max(0,u-this.elem.data.ip),d=u-m):((!S||S>E.length-1)&&(S=E.length-1),d=E[E.length-1-S].t,m=u-d);var y,T,x;if(p==="pingpong"){var M=Math.floor((c-d)/m);if(M%2!==0)return this.getValueAtTime((m-(c-d)%m+d)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var k=this.getValueAtTime(d/this.comp.globalData.frameRate,0),D=this.getValueAtTime(u/this.comp.globalData.frameRate,0),H=this.getValueAtTime(((c-d)%m+d)/this.comp.globalData.frameRate,0),G=Math.floor((c-d)/m);if(this.pv.length){for(x=new Array(k.length),T=x.length,y=0;y<T;y+=1)x[y]=(D[y]-k[y])*G+H[y];return x}return(D-k)*G+H}else if(p==="continue"){var R=this.getValueAtTime(u/this.comp.globalData.frameRate,0),j=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(x=new Array(R.length),T=x.length,y=0;y<T;y+=1)x[y]=R[y]+(R[y]-j[y])*((c-u)/this.comp.globalData.frameRate)/5e-4;return x}return R+(R-j)*((c-u)/.001)}return this.getValueAtTime(((c-d)%m+d)/this.comp.globalData.frameRate,0)}function t(p,S,A){if(!this.k)return this.pv;p=p?p.toLowerCase():"";var c=this.comp.renderedFrame,E=this.keyframes,u=E[0].t;if(c>=u)return this.pv;var m,d;A?(S?m=Math.abs(this.elem.comp.globalData.frameRate*S):m=Math.max(0,this.elem.data.op-u),d=u+m):((!S||S>E.length-1)&&(S=E.length-1),d=E[S].t,m=d-u);var y,T,x;if(p==="pingpong"){var M=Math.floor((u-c)/m);if(M%2===0)return this.getValueAtTime(((u-c)%m+u)/this.comp.globalData.frameRate,0)}else if(p==="offset"){var k=this.getValueAtTime(u/this.comp.globalData.frameRate,0),D=this.getValueAtTime(d/this.comp.globalData.frameRate,0),H=this.getValueAtTime((m-(u-c)%m+u)/this.comp.globalData.frameRate,0),G=Math.floor((u-c)/m)+1;if(this.pv.length){for(x=new Array(k.length),T=x.length,y=0;y<T;y+=1)x[y]=H[y]-(D[y]-k[y])*G;return x}return H-(D-k)*G}else if(p==="continue"){var R=this.getValueAtTime(u/this.comp.globalData.frameRate,0),j=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(x=new Array(R.length),T=x.length,y=0;y<T;y+=1)x[y]=R[y]+(R[y]-j[y])*(u-c)/.001;return x}return R+(R-j)*(u-c)/.001}return this.getValueAtTime((m-((u-c)%m+u))/this.comp.globalData.frameRate,0)}function r(p,S){if(!this.k)return this.pv;if(p=(p||.4)*.5,S=Math.floor(S||5),S<=1)return this.pv;var A=this.comp.renderedFrame/this.comp.globalData.frameRate,c=A-p,E=A+p,u=S>1?(E-c)/(S-1):1,m=0,d=0,y;this.pv.length?y=createTypedArray("float32",this.pv.length):y=0;for(var T;m<S;){if(T=this.getValueAtTime(c+m*u),this.pv.length)for(d=0;d<this.pv.length;d+=1)y[d]+=T[d];else y+=T;m+=1}if(this.pv.length)for(d=0;d<this.pv.length;d+=1)y[d]/=S;else y/=S;return y}function i(p){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var S=this._transformCachingAtTime.v;if(S.cloneFromProps(this.pre.props),this.appliedTransformations<1){var A=this.a.getValueAtTime(p);S.translate(-A[0]*this.a.mult,-A[1]*this.a.mult,A[2]*this.a.mult)}if(this.appliedTransformations<2){var c=this.s.getValueAtTime(p);S.scale(c[0]*this.s.mult,c[1]*this.s.mult,c[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var E=this.sk.getValueAtTime(p),u=this.sa.getValueAtTime(p);S.skewFromAxis(-E*this.sk.mult,u*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var m=this.r.getValueAtTime(p);S.rotate(-m*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var d=this.rz.getValueAtTime(p),y=this.ry.getValueAtTime(p),T=this.rx.getValueAtTime(p),x=this.or.getValueAtTime(p);S.rotateZ(-d*this.rz.mult).rotateY(y*this.ry.mult).rotateX(T*this.rx.mult).rotateZ(-x[2]*this.or.mult).rotateY(x[1]*this.or.mult).rotateX(x[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var M=this.px.getValueAtTime(p),k=this.py.getValueAtTime(p);if(this.data.p.z){var D=this.pz.getValueAtTime(p);S.translate(M*this.px.mult,k*this.py.mult,-D*this.pz.mult)}else S.translate(M*this.px.mult,k*this.py.mult,0)}else{var H=this.p.getValueAtTime(p);S.translate(H[0]*this.p.mult,H[1]*this.p.mult,-H[2]*this.p.mult)}return S}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(p,S,A){var c=a(p,S,A);return c.dynamicProperties.length?c.getValueAtTime=i.bind(c):c.getValueAtTime=s.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(p,S,A,c,E){var u=o(p,S,A,c,E);u.kf?u.getValueAtTime=expressionHelpers.getValueAtTime.bind(u):u.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=e,u.loopIn=t,u.smooth=r,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=S.a===1?S.k.length:0,u.propertyIndex=S.ix;var m=0;return A!==0&&(m=createTypedArray("float32",S.a===1?S.k[0].s.length:S.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:m},expressionHelpers.searchExpressions(p,S,u),u.k&&E.addDynamicProperty(u),u};function l(p){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),p*=this.elem.globalData.frameRate,p-=this.offsetTime,p!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<p?this._caching.lastIndex:0,this._cachingAtTime.lastTime=p,this.interpolateShape(p,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var n=ShapePropertyFactory.getConstructorFunction(),f=ShapePropertyFactory.getKeyframedConstructorFunction();function g(){}g.prototype={vertices:function(S,A){this.k&&this.getValue();var c=this.v;A!==void 0&&(c=this.getValueAtTime(A,0));var E,u=c._length,m=c[S],d=c.v,y=createSizedArray(u);for(E=0;E<u;E+=1)S==="i"||S==="o"?y[E]=[m[E][0]-d[E][0],m[E][1]-d[E][1]]:y[E]=[m[E][0],m[E][1]];return y},points:function(S){return this.vertices("v",S)},inTangents:function(S){return this.vertices("i",S)},outTangents:function(S){return this.vertices("o",S)},isClosed:function(){return this.v.c},pointOnPath:function(S,A){var c=this.v;A!==void 0&&(c=this.getValueAtTime(A,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(c));for(var E=this._segmentsLength,u=E.lengths,m=E.totalLength*S,d=0,y=u.length,T=0,x;d<y;){if(T+u[d].addedLength>m){var M=d,k=c.c&&d===y-1?0:d+1,D=(m-T)/u[d].addedLength;x=bez.getPointInSegment(c.v[M],c.v[k],c.o[M],c.i[k],D,u[d]);break}else T+=u[d].addedLength;d+=1}return x||(x=c.c?[c.v[0][0],c.v[0][1]]:[c.v[c._length-1][0],c.v[c._length-1][1]]),x},vectorOnPath:function(S,A,c){S==1?S=this.v.c:S==0&&(S=.999);var E=this.pointOnPath(S,A),u=this.pointOnPath(S+.001,A),m=u[0]-E[0],d=u[1]-E[1],y=Math.sqrt(Math.pow(m,2)+Math.pow(d,2));if(y===0)return[0,0];var T=c==="tangent"?[m/y,d/y]:[-d/y,m/y];return T},tangentOnPath:function(S,A){return this.vectorOnPath(S,A,"tangent")},normalOnPath:function(S,A){return this.vectorOnPath(S,A,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([g],n),extendPrototype([g],f),f.prototype.getValueAtTime=l,f.prototype.initiateExpression=ExpressionManager.initiateExpression;var C=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(p,S,A,c,E){var u=C(p,S,A,c,E);return u.propertyIndex=S.ix,u.lock=!1,A===3?expressionHelpers.searchExpressions(p,S.pt,u):A===4&&expressionHelpers.searchExpressions(p,S.ks,u),u.k&&p.addDynamicProperty(u),u}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,r){var i=this.calculateExpression(r);if(t.t!==i){var s={};return this.copyData(s,t),s.t=i.toString(),s.__complete=!1,s}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),r=this.searchExpressions();return this.kf=t||r,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,r){var i=createNS("feMerge");i.setAttribute("result",t);var s,a;for(a=0;a<r.length;a+=1)s=createNS("feMergeNode"),s.setAttribute("in",r[a]),i.appendChild(s),i.appendChild(s);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,i,s){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",i+"_tint_1"),e.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(i,[s,i+"_tint_1",i+"_tint_2"]);e.appendChild(o)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+i+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,r,i){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",i),e.appendChild(s),this.matrixFilter=s}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}};function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,r,i,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,s=i+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),i;i<s;i+=1)t=createNS("path"),r.appendChild(t),this.paths.push({p:t,m:i});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(r),this.elem.globalData.defs.appendChild(a);var l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)l.appendChild(e[0]);this.elem.layerElement.appendChild(l),this.masker=a,r.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,r=this.paths.length,i,s;for(t=0;t<r;t+=1)if(this.paths[t].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[t].m],s=this.paths[t].p,(e||this.filterManager._mdf||i.prop._mdf)&&s.setAttribute("d",i.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,n=s.getTotalLength();a="0 0 0 "+n*o+" ";var f=n*(l-o),g=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,C=Math.floor(f/g),p;for(p=0;p<C;p+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+n*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.setAttribute("stroke-dasharray",a)}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 S=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(S[0]*255)+","+bmFloor(S[1]*255)+","+bmFloor(S[2]*255)+")")}};function SVGTritoneFilter(e,t,r,i){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.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(s);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var l=createNS("feFuncG");l.setAttribute("type","table"),a.appendChild(l),this.feFuncG=l;var n=createNS("feFuncB");n.setAttribute("type","table"),a.appendChild(n),this.feFuncB=n,e.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,s=i[0]+" "+r[0]+" "+t[0],a=i[1]+" "+r[1]+" "+t[1],o=i[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,r,i){this.filterManager=t;var s=this.filterManager.effectElements,a=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,i,s){for(var a=0,o=256,l,n=Math.min(e,t),f=Math.max(e,t),g=Array.call(null,{length:o}),C,p=0,S=s-i,A=t-e;a<=256;)l=a/256,l<=n?C=A<0?s:i:l>=f?C=A<0?i:s:C=i+S*Math.pow((l-e)/A,1/r),g[p]=C,p+=1,a+=256/(o-1);return g.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,r,i,s){var a=t.container.globalData.renderConfig.filterSize,o=t.data.fs||a;e.setAttribute("x",o.x||a.x),e.setAttribute("y",o.y||a.y),e.setAttribute("width",o.width||a.width),e.setAttribute("height",o.height||a.height),this.filterManager=t;var l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",i+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var n=createNS("feOffset");n.setAttribute("dx","25"),n.setAttribute("dy","0"),n.setAttribute("in",i+"_drop_shadow_1"),n.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=n,e.appendChild(n);var f=createNS("feFlood");f.setAttribute("flood-color","#00ff00"),f.setAttribute("flood-opacity","1"),f.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=f,e.appendChild(f);var g=createNS("feComposite");g.setAttribute("in",i+"_drop_shadow_3"),g.setAttribute("in2",i+"_drop_shadow_2"),g.setAttribute("operator","in"),g.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(g);var C=this.createMergeNode(i,[i+"_drop_shadow_4",s]);e.appendChild(C)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var i=r.children,s=0,a=i.length;s<a&&i[s]!==e.layerElement;)s+=1;var o;s<=a-2&&(o=i[s+1]);var l=createNS("use");l.setAttribute("href","#"+t),o?r.insertBefore(l,o):r.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",t.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var s=e.globalData.defs;s.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),s.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+r),i.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,i=t.length;r<i;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,r,i){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("result",i),e.appendChild(s),this.feGaussianBlur=s}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,r=this.filterManager.effectElements[0].p.v*t,i=this.filterManager.effectElements[1].p.v,s=i==3?0:r,a=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+a);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,r=t[0].p.v,i=t[1].p.v,s=t[2].p.v===1,a=t[3].p.v,o=s?a:t[4].p.v,l=t[5].p.v,n=t[6].p.v,f=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-f*degToRads),this.matrix.skewFromAxis(-l*degToRads,(n+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie,lottie.exports);var lottieExports=lottie.exports;const Lottie=getDefaultExportFromCjs(lottieExports);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 i=!0}catch(a){}var s=nativeObjectToString$1.call(e);return i&&(t?e[symToStringTag$1]=r:delete e[symToStringTag$1]),s}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,i=e.length;for(t||(t=Array(i));++r<i;)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,i=e==null?0:e.length;++r<i&&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 i=e[t];(!(hasOwnProperty$9.call(e,t)&&eq(i,r))||r===void 0&&!(t in e))&&baseAssignValue(e,t,r)}function copyObject(e,t,r,i){var s=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var l=t[a],n=i?i(r[l],e[l],l,r,e):void 0;n===void 0&&(n=e[l]),s?baseAssignValue(r,l,n):assignValue(r,l,n)}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,i=Array(e);++r<e;)i[r]=t(r);return i}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),i=!r&&isArguments$1(e),s=!r&&!i&&isBuffer$1(e),a=!r&&!i&&!s&&isTypedArray$1(e),o=r||i||s||a,l=o?baseTimes(e.length,String):[],n=l.length;for(var f in e)(t||hasOwnProperty$7.call(e,f))&&!(o&&(f=="length"||s&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||isIndex(f,n)))&&l.push(f);return l}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 i in e)i=="constructor"&&(t||!hasOwnProperty$5.call(e,i))||r.push(i);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 i=e[t];this.set(i[0],i[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 i=t.length-1;return r==i?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__,i=assocIndexOf(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[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),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}function MapCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[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,i=t.length,s=e.length;++r<i;)e[s+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 i=r.__data__;if(!Map$1||i.length<LARGE_ARRAY_SIZE-1)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new MapCache(i)}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&&copyObject(t,keys(t),e)}function baseAssignIn(e,t){return e&&copyObject(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,i=allocUnsafe?allocUnsafe(r):new e.constructor(r);return e.copy(i),i}function arrayFilter(e,t){for(var r=-1,i=e==null?0:e.length,s=0,a=[];++r<i;){var o=e[r];t(o,r,e)&&(a[s++]=o)}return a}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 i=t(e);return isArray$1(e)?i:arrayPush(i,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,i=r?toSource(r):"";if(i)switch(i){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 i=e.constructor;switch(t){case arrayBufferTag$2:return cloneArrayBuffer(e);case boolTag$2:case dateTag$2:return new i(+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 i;case numberTag$2:case stringTag$2:return new i(e);case regexpTag$2:return cloneRegExp(e);case setTag$3:return new i;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,i,s,a){var o,l=t&CLONE_DEEP_FLAG$1,n=t&CLONE_FLAT_FLAG,f=t&CLONE_SYMBOLS_FLAG$1;if(r&&(o=s?r(e,i,s,a):r(e)),o!==void 0)return o;if(!isObject(e))return e;var g=isArray$1(e);if(g){if(o=initCloneArray(e),!l)return copyArray(e,o)}else{var C=getTag$1(e),p=C==funcTag||C==genTag;if(isBuffer$1(e))return cloneBuffer(e,l);if(C==objectTag$1||C==argsTag$1||p&&!s){if(o=n||p?{}:initCloneObject(e),!l)return n?copySymbolsIn(e,baseAssignIn(o,e)):copySymbols(e,baseAssign(o,e))}else{if(!cloneableTags[C])return s?e:{};o=initCloneByTag(e,C,l)}}a||(a=new Stack);var S=a.get(e);if(S)return S;a.set(e,o),isSet$1(e)?e.forEach(function(E){o.add(baseClone(E,t,r,E,e,a))}):isMap$1(e)&&e.forEach(function(E,u){o.set(u,baseClone(E,t,r,u,e,a))});var A=f?n?getAllKeysIn:getAllKeys:n?keysIn:keys,c=g?void 0:A(e);return arrayEach(c||e,function(E,u){c&&(u=E,E=e[u]),assignValue(o,u,baseClone(E,t,r,u,e,a))}),o}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,i=e==null?0:e.length;++r<i;)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,i,s,a){var o=r&COMPARE_PARTIAL_FLAG$3,l=e.length,n=t.length;if(l!=n&&!(o&&n>l))return!1;var f=a.get(e),g=a.get(t);if(f&&g)return f==t&&g==e;var C=-1,p=!0,S=r&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(a.set(e,t),a.set(t,e);++C<l;){var A=e[C],c=t[C];if(i)var E=o?i(c,A,C,t,e,a):i(A,c,C,e,t,a);if(E!==void 0){if(E)continue;p=!1;break}if(S){if(!arraySome(t,function(u,m){if(!cacheHas(S,m)&&(A===u||s(A,u,r,i,a)))return S.push(m)})){p=!1;break}}else if(!(A===c||s(A,c,r,i,a))){p=!1;break}}return a.delete(e),a.delete(t),p}function mapToArray(e){var t=-1,r=Array(e.size);return e.forEach(function(i,s){r[++t]=[s,i]}),r}function setToArray(e){var t=-1,r=Array(e.size);return e.forEach(function(i){r[++t]=i}),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,i,s,a,o){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||!a(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 l=mapToArray;case setTag:var n=i&COMPARE_PARTIAL_FLAG$2;if(l||(l=setToArray),e.size!=t.size&&!n)return!1;var f=o.get(e);if(f)return f==t;i|=COMPARE_UNORDERED_FLAG,o.set(e,t);var g=equalArrays(l(e),l(t),i,s,a,o);return o.delete(e),g;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,i,s,a){var o=r&COMPARE_PARTIAL_FLAG$1,l=getAllKeys(e),n=l.length,f=getAllKeys(t),g=f.length;if(n!=g&&!o)return!1;for(var C=n;C--;){var p=l[C];if(!(o?p in t:hasOwnProperty$1.call(t,p)))return!1}var S=a.get(e),A=a.get(t);if(S&&A)return S==t&&A==e;var c=!0;a.set(e,t),a.set(t,e);for(var E=o;++C<n;){p=l[C];var u=e[p],m=t[p];if(i)var d=o?i(m,u,p,t,e,a):i(u,m,p,e,t,a);if(!(d===void 0?u===m||s(u,m,r,i,a):d)){c=!1;break}E||(E=p=="constructor")}if(c&&!E){var y=e.constructor,T=t.constructor;y!=T&&"constructor"in e&&"constructor"in t&&!(typeof y=="function"&&y instanceof y&&typeof T=="function"&&T instanceof T)&&(c=!1)}return a.delete(e),a.delete(t),c}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,i,s,a){var o=isArray$1(e),l=isArray$1(t),n=o?arrayTag:getTag$1(e),f=l?arrayTag:getTag$1(t);n=n==argsTag?objectTag:n,f=f==argsTag?objectTag:f;var g=n==objectTag,C=f==objectTag,p=n==f;if(p&&isBuffer$1(e)){if(!isBuffer$1(t))return!1;o=!0,g=!1}if(p&&!g)return a||(a=new Stack),o||isTypedArray$1(e)?equalArrays(e,t,r,i,s,a):equalByTag(e,t,n,r,i,s,a);if(!(r&COMPARE_PARTIAL_FLAG)){var S=g&&hasOwnProperty.call(e,"__wrapped__"),A=C&&hasOwnProperty.call(t,"__wrapped__");if(S||A){var c=S?e.value():e,E=A?t.value():t;return a||(a=new Stack),s(c,E,r,i,a)}}return p?(a||(a=new Stack),equalObjects(e,t,r,i,s,a)):!1}function baseIsEqual(e,t,r,i,s){return e===t?!0:e==null||t==null||!isObjectLike(e)&&!isObjectLike(t)?e!==e&&t!==t:baseIsEqualDeep(e,t,r,i,baseIsEqual,s)}function isEqual(e,t){return baseIsEqual(e,t)}var _export_sfc=(e,t)=>{const r=e.__vccOpts||e;for(const[i,s]of t)r[i]=s;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 i=ref("");let s=1;const a=k=>document.querySelector('[data-id="'.concat(k,'"]'))!==null,o=async k=>{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(j){console.error(j);return}let G=e.loop;typeof G=="number"&&G>0&&(G=G-1),e.delay>0&&(D=!1);const R={container:k,renderer:e.renderer,loop:G,autoplay:D,animationData:H,assetsPath:e.assetsPath};isEqual(e.rendererSettings,{})===!1&&(R.rendererSettings=e.rendererSettings),r=Lottie.loadAnimation(R),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(),s=s*-1,r.setDirection(s),r.play()),t("onLoopComplete")}),r.addEventListener("complete",()=>{t("onComplete")}),r.addEventListener("enterFrame",()=>{t("onEnterFrame")}),r.addEventListener("segmentStart",()=>{t("onSegmentStart")})},l=computed(()=>{let k=e.width,D=e.height;return typeof e.width=="number"&&(k="".concat(e.width,"px")),typeof e.height=="number"&&(D="".concat(e.height,"px")),{"--lottie-animation-container-width":k,"--lottie-animation-container-height":D,"--lottie-animation-container-background-color":e.backgroundColor}}),n=()=>{r&&e.pauseOnHover&&r.pause(),r&&e.playOnHover&&r.play()},f=()=>{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 g=()=>{r&&r.play()},C=()=>{r&&r.pause()},p=()=>{r&&r.stop()},S=()=>{r&&r.destroy()},A=(k=1)=>{if(k<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(k)},c=k=>{r&&(k==="forward"?r.setDirection(1):k==="reverse"&&r.setDirection(-1))},E=(k,D=!0)=>{r&&r.goToAndStop(k,D)},u=(k,D=!0)=>{r&&r.goToAndPlay(k,D)},m=(k,D=!1)=>{r&&r.playSegments(k,D)},d=(k=!0)=>{r&&r.setSubframe(k)},y=(k=!0)=>{if(r)return r.getDuration(k)},T=(k,D=0)=>{r&&r.renderer.elements[D].updateDocumentData(k)},x=k=>{for(var D="",H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",G=H.length,R=0;R<k;R++)D+=H.charAt(Math.floor(Math.random()*G));return D},M=k=>{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(a(k)){clearInterval(D);const H=document.querySelector('[data-id="'.concat(k,'" ]'));H&&o(H)}},0)};return onMounted(async()=>{i.value=x(20),M(i.value)}),{elementid:i,hoverEnded:f,hoverStarted:n,getCurrentStyle:l,play:g,pause:C,stop:p,destroy:S,setSpeed:A,setDirection:c,goToAndStop:E,goToAndPlay:u,playSegments:m,setSubFrame:d,getDuration:y,updateDocumentData:T}}}),_hoisted_1=["data-id"];function _sfc_render(e,t,r,i,s,a){return openBlock(),createElementBlock("div",{"data-id":e.elementid,class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...o)=>e.hoverStarted&&e.hoverStarted(...o)),onMouseleave:t[1]||(t[1]=(...o)=>e.hoverEnded&&e.hoverEnded(...o))},null,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+FlKZq6tQmwg1R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3iGVprAvn2nq5XyV7IIyYlpay/hW6NNvQU8b/tv8hijRx67vHqoFPc/rU8VdbRpwzmbyZZtskBq8z+WMy1f+pQs2hWEc3MdoKBrn1yV5GG707xOEUhkQ7TCYUn++lL5wAbs+t1SVcUqsAK0+lvXQusk9+OW8lXeXLv97onf+PdnAlz/RvEdqyMiv5VTs0EebEambuaeKtK7oqSvv4O72hTou8xvfZ3mdZxBkEhOWPeof0VIldsZLieY7v5f+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_1eueq_1",sectionAnimate$1="_sectionAnimate_1eueq_5",controls$1="_controls_1eueq_11",time$1="_time_1eueq_24",line$1="_line_1eueq_36",actions$1="_actions_1eueq_43",actionWrap$1="_actionWrap_1eueq_51",actionBtn$1="_actionBtn_1eueq_54",iconReplay$1="_iconReplay_1eueq_65",slider$1="_slider_1eueq_74",styles$7={videoWrap,sectionAnimate:sectionAnimate$1,controls:controls$1,time:time$1,line:line$1,actions:actions$1,actionWrap:actionWrap$1,actionBtn:actionBtn$1,iconReplay:iconReplay$1,slider:slider$1},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"],setup(e,{emit:t,expose:r}){const{item:i,isEmtry:s}=toRefs(e),a=reactive({paused:!0,currentTimeNum:0,currentTime:"00:00",durationNum:0,duration:"00:00",showBar:!0,showAction:!0}),o=ref(),l=ref(),n=ref("video"+Date.now()+Math.floor(Math.random()*100)),f=c=>{if(c>0){const E=Math.floor(c/60),u=c%60;return(E<10?"0"+E:E)+":"+(u<10?"0"+u:u)}else return"00:00"},g=()=>{l.value&&(l.value.src(i.value.content),t("reset"))},C=c=>{a.showBar=c},p=()=>{l.value&&l.value.currentTime(0)},S=c=>{c==null||c.stopPropagation(),a.paused?(l.value.play(),a.paused=!1):(l.value.pause(),a.paused=!0),t("togglePlay",a.paused)};onMounted(()=>{l.value=TCPlayer(n.value,{appID:"",controls:!1}),l.value&&(l.value.poster(e.item.coverImg),l.value.src(i.value.content),l.value.one("loadedmetadata",()=>{console.log(" Loading metadata"),a.duration=f(Math.round(l.value.duration())),a.durationNum=l.value.duration(),t("canplay",l.value)}),l.value.on("play",()=>{t("close"),t("canplay")}),l.value.on("timeupdate",()=>{var c;a.currentTime=f(Math.round(((c=l.value)==null?void 0:c.currentTime())||0)),a.currentTimeNum=l.value.currentTime()}),l.value.on("ended",()=>{a.paused=!0,t("ended")}),l.value.on("pause",()=>{a.paused=!0,t("pause")}),l.value.on("playing",()=>{a.paused=!1}),l.value.on("canplay",c=>{console.log("canplay"),a.duration=f(Math.round(l.value.duration())),a.durationNum=l.value.duration(),t("canplay")}),l.value.on("error",c=>{t("error"),console.log(c,"error")}))});const A=()=>{l.value.currentTime(0),l.value.pause()};return onUnmounted(()=>{l.value&&(l.value.pause(),l.value.src(""),l.value.dispose())}),watch(()=>e.item,(c,E)=>{l.value.pause(),l.value.currentTime(0),l.value.poster(e.item.coverImg),l.value.src(i.value.content),a.paused=!0}),watch(()=>e.showModel,()=>{a.showAction=e.showModel}),r({onPlay:g,stop:A,toggleHideControl:C}),()=>createVNode("div",{class:styles$7.videoWrap},[createVNode("video",{style:{width:"100%",height:"100%"},ref:o,id:n.value,preload:"auto",playsinline:!0,"webkit-playsinline":!0,"x5-video-player-type":"h5"},null),createVNode("div",{class:[styles$7.controls,a.showAction?"":styles$7.sectionAnimate],onClick:c=>{c.stopPropagation(),!l.value.paused()&&(t("close"),t("reset"))}},[createVNode("div",{class:styles$7.actions},[createVNode("div",{class:styles$7.actionWrap},[createVNode("button",{class:styles$7.actionBtn,onClick:S},[a.paused?createVNode("img",{class:styles$7.playIcon,src:iconplay},null):createVNode("img",{class:styles$7.playIcon,src:iconpause},null)])]),createVNode("div",{class:styles$7.time},[createVNode("div",{class:"plyr__time plyr__time--current","aria-label":"Current time"},[a.currentTime]),createVNode("span",{class:styles$7.line},[createTextVNode("/")]),createVNode("div",{class:"plyr__time plyr__time--duration","aria-label":"Duration"},[a.duration])])]),createVNode("div",{class:styles$7.slider},[createVNode(NSlider,{value:a.currentTimeNum,step:.01,max:a.durationNum,tooltip:!1,"onUpdate:value":c=>{l.value.currentTime(c),a.currentTimeNum=c,a.currentTime=f(Math.round(c||0))}},null)]),createVNode("div",{class:styles$7.actions},[createVNode("div",{class:styles$7.actionWrap},[createVNode("button",{class:styles$7.iconReplay,onClick:p},[createVNode("img",{src:iconReplay$2},null)])])])])])}}),pen="_pen_apyjn_1",open="_open_apyjn_9",whiteboard="_whiteboard_apyjn_12",hide="_hide_apyjn_15",iframe="_iframe_apyjn_18",dely="_dely_apyjn_24",rightItem="_rightItem_apyjn_27",img="_img_apyjn_42",removeVisiable="_removeVisiable_apyjn_50",studentRemove="_studentRemove_apyjn_56",btnGroupModal="_btnGroupModal_apyjn_68",styles$6={pen,open,whiteboard,hide,iframe,dely,rightItem,img,removeVisiable,studentRemove,btnGroupModal},Pen=defineComponent({name:"pen-page",props:{show:{type:Boolean,default:!1},type:{type:String,default:"pen"},close:{type:Function,default:()=>({})}},setup(e){const{show:t,type:r}=toRefs(e),i=reactive({status:!1,title:r.value==="pen"?"退出批注":"退出白板",content:r.value==="pen"?"确认是否退出批注?":"确认是否退出白板?"}),s=ref(!0),a=/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn/":location.origin,o="".concat(a,"/classroom-whiteboard?t=").concat(+new Date);return()=>createVNode("div",{class:[styles$6.pen,r.value==="whiteboard"?styles$6.whiteboard:"",s.value?styles$6.dely:"",t.value?styles$6.open:styles$6.hide]},[createVNode("iframe",{class:styles$6.iframe,frameborder:"0",width:"100vw",height:"100vh",src:o,onLoad:()=>{s.value=!1}},null),createVNode("div",{class:styles$6.rightItem,onClick:()=>i.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:i.status,"onUpdate:show":l=>i.status=l,preset:"card",title:i.title,class:["modalTitle",styles$6.removeVisiable]},{default:()=>[createVNode("div",{class:styles$6.studentRemove},[createVNode("p",null,[i.content]),createVNode(NSpace,{class:styles$6.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{type:"default",round:!0,onClick:()=>{i.status=!1}},{default:()=>[createTextVNode("取消")]}),createVNode(NButton,{type:"primary",round:!0,onClick:()=>{i.status=!1,e.close()}},{default:()=>[createTextVNode("确认")]})]})])]})])}}),audioWrap="_audioWrap_1q8t6_1",audioContainer="_audioContainer_1q8t6_6",audio="_audio_1q8t6_1",tempVudio="_tempVudio_1q8t6_22",sectionAnimate="_sectionAnimate_1q8t6_34",controls="_controls_1q8t6_40",time="_time_1q8t6_53",line="_line_1q8t6_65",actions="_actions_1q8t6_72",actionWrap="_actionWrap_1q8t6_80",actionBtn="_actionBtn_1q8t6_83",iconReplay="_iconReplay_1q8t6_95",slider="_slider_1q8t6_104",styles$5={audioWrap,audioContainer,audio,tempVudio,sectionAnimate,controls,time,line,actions,actionWrap,actionBtn,iconReplay,slider},AudioPay=defineComponent({name:"audio-play",props:{item:{type:Object,default:()=>({})},isEmtry:{type:Boolean,default:!1}},emits:["loadedmetadata","togglePlay","ended","reset"],setup(e,{emit:t,expose:r}){const i=reactive({paused:!0,currentTimeNum:0,currentTime:"00:00",durationNum:0,duration:"00:00",showBar:!0,afterMa3:!0}),s=ref(),a=ref();let o=null;const l=c=>{var E,u,m;console.log(c,"e",c),c==null||c.stopPropagation(),a.value.paused?(n(a.value,s.value),a.value.play(),i.afterMa3=!1):(E=a.value)==null||E.pause(),i.paused=(u=a.value)==null?void 0:u.paused,(m=c.target)==null||m.focus(),t("togglePlay",i.paused)},n=(c,E)=>{o||(o=new Vudio(c,E,{effect:"waveform",accuracy:256,width:1024,height:600,waveform:{maxHeight:200,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),o.dance())},f=c=>{if(c>0){const E=Math.floor(c/60),u=c%60;return(E<10?"0"+E:E)+":"+(u<10?"0"+u:u)}else return"00:00"},g=c=>{i.showBar=c},C=()=>{a.value&&(a.value.currentTime=0)};let p=null;const S=ref(),A=ref();return nextTick(()=>{p=new Vudio(A.value,S.value,{effect:"waveform",accuracy:256,width:1024,height:600,waveform:{maxHeight:200,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),p.dance()}),r({toggleHideControl:g}),()=>createVNode("div",{class:styles$5.audioWrap},[createVNode("div",{class:styles$5.audioContainer},[createVNode("audio",{ref:a,crossorigin:"anonymous",src:e.item.content+"?time=1",onEnded:()=>{i.paused=!0,t("ended")},onTimeupdate:()=>{var c,E;i.currentTime=f(Math.round(((c=a.value)==null?void 0:c.currentTime)||0)),i.currentTimeNum=((E=a.value)==null?void 0:E.currentTime)||0},onLoadedmetadata:()=>{var c,E;i.duration=f(Math.round((c=a.value)==null?void 0:c.duration)),i.durationNum=(E=a.value)==null?void 0:E.duration,e.item.autoPlay&&a.value&&a.value.play(),a.value&&(a.value.stop=()=>{var u;(u=a.value)==null||u.pause(),i.paused=!0,t("togglePlay",i.paused)},a.value.onPlay=()=>{var u;(u=a.value)==null||u.play(),i.paused=!1,n(a.value,s.value),t("togglePlay",i.paused)}),t("loadedmetadata",a.value)}},null),createVNode("canvas",{ref:s},null),i.afterMa3&&createVNode("div",{class:styles$5.tempVudio},[createVNode("audio",{ref:A,src:tickMp3},null),createVNode("canvas",{ref:S},null)])]),createVNode("div",{class:[styles$5.controls,i.showBar?"":styles$5.sectionAnimate],onClick:c=>{c.stopPropagation(),t("reset")}},[createVNode("div",{class:styles$5.actions},[createVNode("div",{class:styles$5.actionWrap},[createVNode("div",{class:styles$5.actionBtn,onClick:l},[i.paused?createVNode("img",{class:styles$5.playIcon,src:iconplay},null):createVNode("img",{class:styles$5.playIcon,src:iconpause},null)])]),createVNode("div",{class:styles$5.time},[createVNode("div",{class:"plyr__time plyr__time--current","aria-label":"Current time"},[i.currentTime]),createVNode("span",{class:styles$5.line},[createTextVNode("/")]),createVNode("div",{class:"plyr__time plyr__time--duration","aria-label":"Duration"},[i.duration])])]),createVNode("div",{class:styles$5.slider},[createVNode(NSlider,{value:i.currentTimeNum,step:.01,max:i.durationNum,tooltip:!1,"onUpdate:value":c=>{a.value.currentTime=c,i.currentTimeNum=c,i.currentTime=f(Math.round(c||0))}},null)]),createVNode("div",{class:styles$5.actions},[createVNode("div",{class:styles$5.actionWrap},[createVNode("button",{class:styles$5.iconReplay,onClick:C},[createVNode("img",{src:iconReplay$2},null)])])])])])}}),scrollBar="_scrollBar_1amzv_1",treeParent="_treeParent_1amzv_5",treeChild="_treeChild_1amzv_8",treeItem="_treeItem_1amzv_11",title="_title_1amzv_23",dir="_dir_1amzv_33",titleSelect="_titleSelect_1amzv_42",arrow="_arrow_1amzv_50",arrowSelect="_arrowSelect_1amzv_57",childArrow="_childArrow_1amzv_61",childItem="_childItem_1amzv_64",childSelect="_childSelect_1amzv_71",styles$4={scrollBar,treeParent,treeChild,treeItem,title,dir,titleSelect,arrow,arrowSelect,childArrow,childItem,childSelect},Chapter=defineComponent({name:"chapter-modal",props:{treeList:{type:Array,default:()=>[]},itemActive:{type:String,default:""}},emits:["handleSelect"],setup(e,{emit:t}){const r=useMessage(),{treeList:i,itemActive:s}=toRefs(e),a=(o,l,n=[])=>{for(const f of l){if(f.knowledgeList&&f.knowledgeList.length>0){const g=a(o,f.knowledgeList,[...n,f.id]);if(g.includes(o))return g}if(f.id===o)return[...n,o]}return n};return watch(()=>e.itemActive,()=>{const o=a(s.value,i.value);o.length>0&&i.value.forEach(l=>{l.id==o[0]?l.selected=!0:l.selected=!1})}),onMounted(()=>{const o=a(s.value,i.value);o.length>0&&i.value.forEach(l=>{l.id==o[0]&&(l.selected=!0)})}),()=>createVNode(NScrollbar,{class:styles$4.scrollBar},{default:()=>[createVNode("div",{class:[styles$4.listSection]},[i.value.map((o,l)=>createVNode("div",{class:styles$4.treeParent,key:"parent"+l},[createVNode("div",{class:[styles$4.treeItem,styles$4.parentItem],onClick:()=>{i.value.forEach(n=>{o.id!==n.id&&(n.selected=!1)}),o.selected=!o.selected}},[o.knowledgeList&&o.knowledgeList.length>0&&createVNode("span",{class:[styles$4.arrow,o.selected?styles$4.arrowSelect:""]},null),createVNode("p",{class:[styles$4.title,o.selected?styles$4.titleSelect:""]},[createVNode("span",{class:[styles$4.dir,o.selected?styles$4.dirSelect:""]},null),o.name])]),o.selected&&o.knowledgeList&&o.knowledgeList.map((n,f)=>createVNode("div",{key:"child"+f,class:[styles$4.treeItem,styles$4.childItem,styles$4.animation,s.value===n.id?styles$4.childSelect:""],onClick:()=>{if(s.value!=n.id){if(!n.containMaterial){r.error("该章节暂无课件");return}t("handleSelect",{itemActive:n.id,itemName:n.name})}}},[createVNode("span",{class:styles$4.childArrow},null),createVNode("p",{class:styles$4.title},[n.name])]))]))])]})}}),iconNote="data:image/png;base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GGv+bJbErWxnXbvuqBniNvgDpCZlQcPFe3HXkhloXwXrdzK6x9LqY3dFsAGInsAgTF93dut3K52etABJOyzzhfvuNDoLcguWQPtvX3ve6rQGSOS2+7659uE+9C/KpcgTuVqnaZjUlUOuAZICxst0zKMI21nEsda6/ukh9RJTadNnzNgQtXT90PrswtWr4XLWqbnBvmCNpm3cXpQaS6e8ckCxaIUSfKzTwOQvnr77dpeRQwP/RgTPlNtX+/uXFVOtCPyehaO5AAeliA23zHAYkQnQYkAiQPwAx6ttjxPVacAAAAABJRU5ErkJggg==",rightIconPackUp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAiCAYAAAA3WXuFAAAAAXNSR0IArs4c6QAAAVJJREFUWEfN2LFKxEAQxvH/p4WF4hspFiKIbyBWVoJYaOX5AN7Zi2Bhow+gWGihjc8kdsLIwgly5C6zm9nFtNmd+WXYzISIf3bJ6zGzI+AM+AYmku69e3PWuUBmtg28zQQeSZrkJPOs9YLGwHlHwHCUF3QAPMx5wlCUF7QEPAN7tVEuUEKY2QrwCOzWRLlBrVBZoBaobFBtVBGoJqoYVAs1CFQDNRgUjQoBOVG3ktKAXniFgZyoa0kni0ShoD+oNGZ2OhJ/SVprDVoFXoGNjsSfktabgcwsYV6AzTlJx5IumoAiMAkacoYcmGNJN31vWAgoEjMYFI0ZBKqBKQbVwhSBamKyQbUxWaAWGDfIzJaBd2BrTi9x95m+XuRqjGZ2CNzVxuRU6BIYdYDCKvMb21uhNLk/ZkZNOMZdoel3zj5wOv0dcyXpqe88lNx3VagkcOmeH+RKoiN5EdldAAAAAElFTkSuQmCC",rightIconMusic="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAAAXNSR0IArs4c6QAACMhJREFUeF7tW3nQtlMdvi6JQkYiMYiJVEJCDA1FzDeUZWgapc8ySJbUTE0xjaxjRosZykSfNduESotC9NVEdi2aUFF/0J7KUmm5Ohfn+dzP+c593+e+n/t58M77m3n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_close_fj7p5_37",listContainer$1="_listContainer_fj7p5_44",styles$3={selectMusic,close,listContainer:listContainer$1},searchGroup$1="_searchGroup_u66to_1",btnType$1="_btnType_u66to_5",inputSearch$1="_inputSearch_u66to_39",searchCatatory$1="_searchCatatory_u66to_60",addTrain$1="_addTrain_u66to_67",spaceSection$1="_spaceSection_u66to_79",collapseWrap$1="_collapseWrap_u66to_85",collaoseBtn$1="_collaoseBtn_u66to_91",isStart$1="_isStart_u66to_96",isHidden$1="_isHidden_u66to_99",hideButton$1="_hideButton_u66to_103",styles$2={searchGroup:searchGroup$1,btnType:btnType$1,inputSearch:inputSearch$1,searchCatatory:searchCatatory$1,addTrain:addTrain$1,spaceSection:spaceSection$1,collapseWrap:collapseWrap$1,collaoseBtn:collaoseBtn$1,isStart:isStart$1,isHidden:isHidden$1,hideButton:hideButton$1};function _isSlot$1(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode(e)}const ResourceSearchGroup=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),i=useCatchStore(),s=reactive({type:"MUSIC",name:"",subjectId:r.value,bookVersionId:null}),a=ref([]),o=()=>{t("search",s)},l=useThrottleFn(()=>o(),500),n=ref(),f=ref([]),g=ref(0),C=ref(0),p=ref(0),S=ref(!1),A=ref(!1),c=m=>{m!=null&&m.selfElRef&&f.value.push(m.selfElRef.parentNode)},E=m=>{S.value=m,u()},u=()=>{try{f.value=[...new Set(f.value)];let m=-1;f.value.forEach((d,y)=>{y===0?(p.value=1,m=d.offsetLeft):d.offsetLeft===m&&y!=0&&p.value++,S.value?d.style.display="block":p.value>1?d.style.display="none":d.style.display="block"}),A.value=!0}catch(m){}};return onMounted(async()=>{var m,d;resourceTypeArray.forEach(y=>{a.value.push(y)}),await i.getMusicSheetCategory(),await i.getSubjects(),s.type==="MUSIC"&&(g.value=(m=n.value)==null?void 0:m.offsetHeight,C.value=((d=n.value)==null?void 0:d.offsetHeight)/p.value,u())}),()=>{let m,d;return createVNode("div",{class:styles$2.searchGroup},[createVNode("div",{class:styles$2.searchCatatory},[createVNode(NSpace,{size:"small",class:styles$2.btnType},_isSlot$1(m=a.value.map(y=>createVNode(NButton,{type:s.type===y.value?"primary":"default",secondary:s.type!==y.value,round:!0,size:"small",focusable:!1,onClick:()=>{s.type=y.value,o();try{nextTick(()=>{var T,x;s.type==="MUSIC"?(g.value=(T=n.value)==null?void 0:T.offsetHeight,C.value=((x=n.value)==null?void 0:x.offsetHeight)/p.value,u()):f.value=[]})}catch(T){}}},{default:()=>[y.label]})))?m:{default:()=>[m]}),createVNode(TheSearch,{class:styles$2.inputSearch,round:!0,onSearch:y=>{s.name=y,l()}},null)]),createVNode(NForm,{labelAlign:"left",labelPlacement:"left"},{default:()=>[s.type==="MUSIC"&&e.type==="shareResources"&&createVNode("div",{class:styles$2.collapsSection},[createVNode(NFormItem,{label:"教材:"},{default:()=>[createVNode("div",{class:[styles$2.collapseWrap,A.value?"":styles$2.hideButton,S.value?"":styles$2.isHidden],ref:n},[createVNode(NSpace,{class:[styles$2.spaceSection]},{default:()=>[i.getAllMusicCategories.map(y=>createVNode(NButton,{ref:c,secondary:s.bookVersionId===y.id,quaternary:s.bookVersionId!==y.id,strong:!0,focusable:!1,type:s.bookVersionId===y.id?"primary":"default",onClick:()=>{s.bookVersionId=y.id,o()}},{default:()=>[y.name]})),p.value>1&&createVNode("div",{style:{height:"var(--n-blank-height)",position:"absolute",display:"flex",alignItems:"center"},onClick:()=>{E(!S.value)}},[createVNode(NImage,{previewDisabled:!0,src:isCollaose,class:[styles$2.collaoseBtn,S.value?styles$2.isStart:""]},null)])]})])]})]),createVNode(NFormItem,{label:"声部:"},{default:()=>[createVNode(NSpace,{class:styles$2.spaceSection},_isSlot$1(d=i.getSubjectAllList.map(y=>createVNode(NButton,{secondary:s.subjectId===y.id,quaternary:s.subjectId!==y.id,strong:!0,focusable:!1,type:s.subjectId===y.id?"primary":"default",onClick:()=>{s.subjectId=y.id,o()}},{default:()=>[y.name]})))?d:{default:()=>[d]})]})]})])}}}),listContainer="_listContainer_ie6td_1",emptySection="_emptySection_ie6td_4",list="_list_ie6td_1",itemWrap="_itemWrap_ie6td_17",itemWrapBox="_itemWrapBox_ie6td_22",styles$1={listContainer,emptySection,list,itemWrap,itemWrapBox},searchGroup="_searchGroup_kvha3_1",btnType="_btnType_kvha3_5",inputSearch="_inputSearch_kvha3_40",searchCatatory="_searchCatatory_kvha3_64",addTrain="_addTrain_kvha3_71",spaceSection="_spaceSection_kvha3_83",collapseWrap="_collapseWrap_kvha3_90",collaoseBtn="_collaoseBtn_kvha3_96",isStart="_isStart_kvha3_101",isHidden="_isHidden_kvha3_104",hideButton="_hideButton_kvha3_108",styles={searchGroup,btnType,inputSearch,searchCatatory,addTrain,spaceSection,collapseWrap,collaoseBtn,isStart,isHidden,hideButton};function _isSlot(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),i=useCatchStore(),s=reactive({type:"MUSIC",name:"",subjectId:r.value,bookVersionId:null}),a=ref([]),o=()=>{t("search",s)},l=useThrottleFn(()=>o(),500);return onMounted(async()=>{resourceTypeArray.forEach(n=>{a.value.push(n)}),await i.getMusicSheetCategory(),await i.getSubjects()}),()=>{let n;return createVNode("div",{class:styles.searchGroup},[createVNode(NForm,{labelAlign:"left",labelPlacement:"left"},{default:()=>[createVNode(NFormItem,{label:"声部:"},{default:()=>[createVNode(NSpace,{class:styles.spaceSection},_isSlot(n=i.getSubjectAllList.map(f=>createVNode(NButton,{secondary:s.subjectId===f.id,quaternary:s.subjectId!==f.id,strong:!0,focusable:!1,type:s.subjectId===f.id?"primary":"default",onClick:()=>{s.subjectId=f.id,o()}},{default:()=>[f.name]})))?n:{default:()=>[n]})]}),createVNode(TheSearch,{class:styles.inputSearch,round:!0,onSearch:f=>{s.name=f,l()}},null)]})])}}}),formatType=e=>{if(e==="shareResources")return 2;if(e==="myResources")return 3;if(e==="myCollect")return 4},SelectItem=defineComponent({name:"share-resources",props:{type:{type:String,default:"shareResources"},from:{type:String,default:""}},setup(e){const t=usePrepareStore(),{type:r}=toRefs(e),i="resourceSearchGroup"+ +new Date,s=reactive({searchHeight:"0px",loading:!1,finshed:!1,pagination:{page:1,rows:20},searchGroup:{type:"MUSIC",name:"",bookVersionId:null,subjectId:t.getSubjectId,sourceType:formatType(r.value),enableFlag:!0},tableList:[],show:!1,item:{}}),a=async()=>{try{s.pagination.page===1&&(s.loading=!0);const{data:f}=await materialQueryPage({...s.searchGroup,...s.pagination});s.loading=!1;const g=f.rows||[],C=[];g.forEach(p=>{const S=t.getCoursewareList.findIndex(A=>A.materialId===p.id);C.push({id:p.id,coverImg:p.coverImg,type:p.type,title:p.name,isCollect:!!p.favoriteFlag,isSelected:p.sourceFrom==="PLATFORM",content:p.content,exist:S!==-1})}),s.tableList.push(...C),s.finshed=f.pages<=f.current}catch(f){s.loading=!1}},o=useDebounceFn(f=>{s.pagination.page=1,s.tableList=[],s.searchGroup=Object.assign(s.searchGroup,f),a()},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){}};watch(()=>t.coursewareList,()=>{s.tableList.forEach(f=>{const g=t.getCoursewareList.findIndex(C=>C.materialId===f.id);f.exist=g!==-1})},{deep:!0,immediate:!0});const n=async f=>{try{await favorite({materialId:f.id,favoriteFlag:f.isCollect?0:1,type:f.type}),f.isCollect=!f.isCollect}catch(g){}};return onMounted(()=>{a(),useResizeObserver(document.querySelector("."+i),f=>{const g=f[0],{height:C}=g.contentRect;s.searchHeight=C+"px"})}),()=>createVNode("div",null,[createVNode("div",{class:i},[e.from==="class"?createVNode(ClassSearchGroup,{type:e.type,subjectId:t.getSubjectId,onSearch:f=>o(f)},null):createVNode(ResourceSearchGroup,{type:e.type,subjectId:t.getSubjectId,onSearch:f=>o(f)},null)]),createVNode(NScrollbar,{class:styles$1.listContainer,style:{"max-height":"calc(85vh - var(--modal-lesson-tab-height) - ".concat(s.searchHeight," - 12px) ")},onScroll:f=>{var S,A,c;const g=(S=f.target)==null?void 0:S.clientHeight,C=(A=f.target)==null?void 0:A.scrollTop,p=(c=f.target)==null?void 0:c.scrollHeight;g+C+20>=p&&!s.finshed&&!s.loading&&(s.pagination.page=s.pagination.page+1,a())}},{default:()=>[createVNode(NSpin,{show:s.loading,size:"small"},{default:()=>[createVNode("div",{style:{"min-height":"calc(85vh - var(--modal-lesson-tab-height) - ".concat(s.searchHeight," - 12px)")},class:[styles$1.listSection,!s.loading&&s.tableList.length<=0?styles$1.emptySection:""]},[s.tableList.length>0&&createVNode("div",{class:styles$1.list},[s.tableList.map(f=>createVNode("div",{class:styles$1.itemWrap},[createVNode("div",{class:styles$1.itemWrapBox},[createVNode(CardType,{isShowAdd:!0,item:f,isShowCollect:!0,isShowAddDisabled:!t.getIsEditResource,onAdd:g=>l(g),disabledMouseHover:!1,onCollect:g=>n(g),onClick:()=>{f.type!=="IMG"&&(s.show=!0,s.item=f)}},null)])]))]),!s.loading&&s.tableList.length<=0&&createVNode(TheEmpty,null,null)])]})]}),createVNode(CardPreview,{size:e.from==="class"?"large":"default",show:s.show,"onUpdate:show":f=>s.show=f,item:s.item},null)])}}),SelectResources=defineComponent({name:"select-music",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"),i=>{const s=i[0],{height:a}=s.contentRect;console.log(a,"height - 11"),document.documentElement.style.setProperty("--modal-lesson-tab-height",a+"px")})}),()=>createVNode("div",{class:[styles$3.selectMusic,"select-resource"]},[createVNode(NTabs,{animated:!0,value:r.value,paneClass:styles$3.paneTitle,justifyContent:"center",paneWrapperClass:styles$3.paneWrapperContainer,"onUpdate:value":i=>{r.value=i}},{default:()=>[createVNode(NTabPane,{name:"myResources",tab:e.from==="class"?"我的曲目":"我的资源"},{default:()=>[createVNode(SelectItem,{type:"myResources",from:e.from},null)]}),createVNode(NTabPane,{name:"shareResources",tab:e.from==="class"?"共享曲目":"共享资源"},{default:()=>[createVNode(SelectItem,{type:"shareResources",from:e.from},null)]}),createVNode(NTabPane,{name:"myCollect",tab:"我的收藏"},{default:()=>[createVNode(SelectItem,{type:"myCollect",from:e.from},null)]})]})])}}),AttendClass=defineComponent({name:"CoursewarePlay",props:{type:{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(),i=useRoute(),s=useRouter(),a=useUserStore(),o=reactive({width:"100vw"});onUnmounted(()=>{});const l=ref(),n=reactive({type:"class",subjectId:"",lessonCourseId:"",lessonCoursewareDetailId:"",detailId:"",classGroupId:"",classId:"",preStudentNum:"",knowledgePointList:[],itemList:[],videoRefs:{},audioRefs:{},modelAttendStatus:!1,modalAttendMessage:"本节课未设置课后作业,是否继续?",modelTrainStatus:!1,homeworkStatus:!0,removeVisiable:!1,removeTitle:"",removeContent:"",removeCourseStatus:!1,selectResourceStatus:!1,videoState:"init",videoItemRef:null,animationState:"start"}),f=reactive({nowTime:0,model:!0,isAnimation:!0,timer:null,item:null});ref(!1);const g=async()=>{try{const O=(await queryCourseware({coursewareDetailKnowledgeId:n.detailId,subjectId:n.subjectId,pag:1,rows:99})).data.rows||[],z=[];O.forEach(N=>{N.removeFlag||z.push({id:N.id,materialId:N.materialId,coverImg:N.coverImg,type:N.materialType,title:N.materialName,isCollect:!!N.favoriteFlag,isSelected:N.source==="PLATFORM",content:N.content})}),n.knowledgePointList=z,n.itemList=n.knowledgePointList.map(N=>({...N,iframeRef:null,videoEle:null,audioEle:null,autoPlay:!1,isprepare:!1,isRender:!1})),setTimeout(()=>{n.animationState="end"},500)}catch(_){}},C=ref(!1),p=ref(!1),S=ref(!1),A=_=>{var O,z,N,X,$,Y,q;if(((O=_.data)==null?void 0:O.api)==="headerTogge"&&(f.model=_.data.show||_.data.playState!="play"),((z=_.data)==null?void 0:z.api)==="onAttendToggleMenu"&&(f.model=!f.model),((N=_.data)==null?void 0:N.api)==="api_fingerPreView"&&(clearInterval(f.timer),f.model=!_.data.state),((X=_.data)==null?void 0:X.api)==="documentBodyKeyup"&&((($=_.data)==null?void 0:$.code)==="ArrowLeft"&&(F(),L("up")),((Y=_.data)==null?void 0:Y.code)==="ArrowRight"&&(F(),L("down"))),((q=_.data)==null?void 0:q.api)==="onLogin"){const ee=document;ee.exitFullscreen?ee.exitFullscreen():ee.mozCancelFullScreen?ee.mozCancelFullScreen():ee.webkitExitFullscreen&&ee.webkitExitFullscreen(),a.logout(),s.replace("/login")}};onMounted(()=>{const _=i.query;n.type=e.type||_.type,n.subjectId=e.subjectId||_.subjectId,n.detailId=e.detailId||_.detailId,n.lessonCourseId=e.lessonCourseId||_.lessonCourseId,n.classGroupId=e.classGroupId||_.classGroupId,n.classId=e.classId||_.classId,n.preStudentNum=e.preStudentNum||_.preStudentNum,window.addEventListener("message",A),g(),u(),n.type==="preview"&&K.splice(1,1)});const c=reactive({open:!1,activeIndex:0,toolOpen:!1,chapterOpen:!1,chapterDetails:[],chapterLoading:!1}),E=(_,O,z=[])=>{for(const N of O){if(N.knowledgeList&&N.knowledgeList.length>0){const X=E(_,N.knowledgeList,[...z,N.id]);if(X.includes(_))return X}if(N.id===_)return[...z,_]}return z},u=async()=>{try{const _=await lessonCoursewareDetail({id:n.lessonCourseId,subjectId:n.subjectId});c.chapterDetails=_.data.lessonList||[];const O=E(n.detailId,c.chapterDetails);n.lessonCoursewareDetailId=O[0]}catch(_){}},m=async()=>{try{if(!n.classId)return;await courseScheduleUpdate({lessonCoursewareKnowledgeDetailId:n.detailId,id:n.classId})}catch(_){}},d=computed(()=>{let _="";return c.chapterDetails.forEach(O=>{var z;O.id===n.lessonCoursewareDetailId&&((z=O.knowledgeList)==null||z.forEach(N=>{N.id===n.detailId&&(_=N.name)}))}),_}),y=()=>{var _,O,z,N,X;for(let $=0;$<n.itemList.length;$++){const Y=n.itemList[$];if(Y.type==="VIDEO"&&Y.videoEle)try{(_=Y.videoEle)==null||_.currentTime(0),(O=Y.videoEle)==null||O.pause()}catch(q){}Y.type==="SONG"&&Y.audioEle&&((z=Y.audioEle)==null||z.stop()),Y.type==="MUSIC"&&((X=(N=Y.iframeRef)==null?void 0:N.contentWindow)==null||X.postMessage({api:"setPlayState"},"*"))}},T=_=>{const O=n.itemList.findIndex(z=>z.id==_);O>-1&&j(O)},x=()=>{clearTimeout(f.timer),r.destroyAll(),f.timer=setTimeout(()=>{f.model=!1,Object.values(n.videoRefs).map(_=>_==null?void 0:_.toggleHideControl(!1)),Object.values(n.audioRefs).map(_=>_==null?void 0:_.toggleHideControl(!1))},4e3)},M=()=>{clearTimeout(f.timer),r.destroyAll(),f.model=!1,Object.values(n.videoRefs).map(_=>_==null?void 0:_.toggleHideControl(!1)),Object.values(n.audioRefs).map(_=>_==null?void 0:_.toggleHideControl(!1))},k=(_=!0)=>{f.model=_,Object.values(n.videoRefs).map(O=>O==null?void 0:O.toggleHideControl(_)),Object.values(n.audioRefs).map(O=>O==null?void 0:O.toggleHideControl(_))},D=_=>{if(_&&_.type==="VIDEO"){const O=_.videoEle;O&&(O.paused?(r.destroyAll(),O.play()):(r.warning("已暂停"),O.pause()))}},H=ref(3),G=[{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"}}],R=ref(),j=_=>{c.activeIndex!=_&&(n.animationState="start",n.videoState="init",y(),clearTimeout(R.value),f.model=!0,W(c.activeIndex,_),c.activeIndex=_,nextTick(()=>{oe()}),R.value=setTimeout(()=>{const O=n.itemList[_];O&&(O.type=="MUSIC"&&(f.model=!0),O.type==="SONG"&&(clearTimeout(f.timer),r.destroyAll()),O.type==="VIDEO"&&(clearTimeout(f.timer),r.destroyAll(),nextTick(()=>{var z;O.error&&((z=O.videoEle)==null||z.src(O.content),O.error=!1),n.animationState="end"})),O.type)},f.isAnimation?800:0))},W=(_,O)=>{const z=n.itemList[_],N=n.itemList[O];if(N){if(N.knowledgePointId!=z.knowledgePointId){f.isAnimation=!0;return}const X=z.videoEle,$=N.videoEle;X&&X.duration<8&&_<O||$&&$.duration<8&&_>O?f.isAnimation=!1:f.isAnimation=!0}else f.isAnimation=!((z==null?void 0:z.adviseStudyTimeSecond)<8)},L=async _=>{var O,z,N,X;if(_==="up"){if(c.activeIndex>0){j(c.activeIndex-1);return}let $=c.chapterDetails.findIndex(te=>te.id==n.lessonCoursewareDetailId);const Y=((O=c.chapterDetails[$])==null?void 0:O.knowledgeList)||[];let q=Y.findIndex(te=>te.id==n.detailId),ee=!1,ae="",ie="";for(;q>=0&&(q--,q>=0&&Y[q].containMaterial&&(ee=!0,ae=Y[q].lessonCoursewareDetailId,ie=Y[q].id),!ee););if(ee){c.chapterLoading=!0,n.detailId=ie,n.lessonCoursewareDetailId=ae,n.type!=="preview"&&await m(),await g(),c.activeIndex=n.itemList.length-1||0,c.chapterOpen=!1,c.chapterLoading=!1;return}let ne=!1;for(;$>=0;){$--;const te=((z=c.chapterDetails[$])==null?void 0:z.knowledgeList)||[];let se=te.length;for(;se>0&&(te[se-1].containMaterial&&(ne=!0,ae=te[se-1].lessonCoursewareDetailId,ie=te[se-1].id),se--,!ne););if(ne)break}if(ne){c.chapterLoading=!0,n.detailId=ie,n.lessonCoursewareDetailId=ae,await g(),c.activeIndex=n.itemList.length-1||0,c.chapterLoading=!1;return}}else{if(c.activeIndex<n.itemList.length-1){j(c.activeIndex+1);return}let $=c.chapterDetails.findIndex(te=>te.id==n.lessonCoursewareDetailId);const Y=((N=c.chapterDetails[$])==null?void 0:N.knowledgeList)||[];let q=Y.findIndex(te=>te.id==n.detailId),ee=!1,ae="",ie="";for(;q<Y.length-1&&(q++,q>=0&&Y[q].containMaterial&&(ee=!0,ae=Y[q].lessonCoursewareDetailId,ie=Y[q].id),!ee););if(ee){c.chapterLoading=!0,n.detailId=ie,n.lessonCoursewareDetailId=ae,n.type!=="preview"&&await m(),await g(),c.activeIndex=0,c.chapterOpen=!1,c.chapterLoading=!1;return}let ne=!1;for(;$<=c.chapterDetails.length-1;){$++;const te=((X=c.chapterDetails[$])==null?void 0:X.knowledgeList)||[];let se=0;for(;se<=te.length-1&&(te[se].containMaterial&&(ne=!0,ae=te[se].lessonCoursewareDetailId,ie=te[se].id),se++,!ne););if(ne)break}if(ne){c.chapterLoading=!0,n.detailId=ie,n.lessonCoursewareDetailId=ae,n.type!=="preview"&&await m(),await g(),c.activeIndex=0,c.chapterOpen=!1,c.chapterLoading=!1;return}}},I=()=>{var O,z;const _=n.itemList[c.activeIndex];(_==null?void 0:_.type)=="VIDEO"&&!((O=_.videoEle)!=null&&O.paused)&&x(),(_==null?void 0:_.type)=="SONG"&&!((z=_.audioEle)!=null&&z.paused)&&x()};document.body.addEventListener("keyup",_=>{console.log(_,"e"),_.code==="ArrowLeft"?(F(),L("up")):_.code==="ArrowRight"?(F(),L("down")):_.code});const F=(_=!0)=>{clearTimeout(f.timer),f.model=_,Object.values(n.videoRefs).map(O=>O==null?void 0:O.toggleHideControl(_)),Object.values(n.audioRefs).map(O=>O==null?void 0:O.toggleHideControl(_))},b=reactive({type:"",penShow:!1,whiteboardShow:!1}),P=_=>{switch(y(),M(),c.toolOpen=!1,b.type=_.type,_.type){case"pen":b.penShow=!0;break;case"whiteboard":b.whiteboardShow=!0}},B=()=>{b.type="init",k(),x()},V=_=>{_=="setTimeIcon"&&(S.value=!0),_=="beatIcon"&&(C.value=!0),_=="toneIcon"&&(p.value=!0)},J=computed(()=>{var $,Y;if(c.activeIndex>0)return!0;let _=c.chapterDetails.findIndex(q=>q.id==n.lessonCoursewareDetailId);const O=(($=c.chapterDetails[_])==null?void 0:$.knowledgeList)||[];let z=O.findIndex(q=>q.id==n.detailId);if(_<=0&&z<=0)return!1;let N=!1;for(;z>=0;)z--,z>=0&&O[z].containMaterial&&(N=!0);if(N)return!0;if(_<=0)return!1;let X=!1;for(;_>=0;){_--;const q=((Y=c.chapterDetails[_])==null?void 0:Y.knowledgeList)||[];let ee=q.length;for(;ee>0;)q[ee-1].containMaterial&&(X=!0),ee--;if(X)return!0}return!1}),Q=computed(()=>{var $,Y;if(c.activeIndex<n.itemList.length-1)return!0;let _=c.chapterDetails.findIndex(q=>q.id==n.lessonCoursewareDetailId);const O=(($=c.chapterDetails[_])==null?void 0:$.knowledgeList)||[];let z=O.findIndex(q=>q.id==n.detailId);if(_>=c.chapterDetails.length-1&&z>=O.length-1)return!1;let N=!1;for(;z<O.length-1;)z++,z>=0&&O[z].containMaterial&&(N=!0);if(N)return!0;if(_>=c.chapterDetails.length-1)return!1;let X=!1;for(;_<c.chapterDetails.length-1;){_++;const q=((Y=c.chapterDetails[_])==null?void 0:Y.knowledgeList)||[];let ee=0;for(;ee<=q.length-1;)q[ee].containMaterial&&(X=!0),ee++;if(X)return!0}return!1}),U=computed(()=>{const _=n.itemList[c.activeIndex];return _&&_.type&&_.type.toLocaleUpperCase()==="VIDEO"?_:{}}),K=reactive([{name:"结束课程",name2:"结束预览",icon:rightIconEnd,id:1},{name:"布置作业",icon:rightIconArrange,id:2},{name:"曲目资源",icon:rightIconMusic,id:9},{name:"批注",icon:rightIconPostil,id:3},{name:"白板",icon:rightIconWhiteboard,id:4},{name:"节拍器",icon:rightIconMetronome,id:5},{name:"调音器",icon:rightIconTuner,id:6},{name:"计时器",icon:rightIconTimer,id:7},{name:"收起",icon:rightIconPackUp,id:8}]),Z=reactive([{name:"切换章节",icon:bottomIconSwitch,id:1},{name:"资源列表",icon:bottomIconResource,id:2},{name:"上一张",icon:bottomIconPre,id:3},{name:"下一张",icon:bottomIconNext,id:4}]),re=ref(!0),le=async _=>{switch(_){case 1:if(n.type==="preview")y(),n.removeVisiable=!0,n.removeTitle="结束预览",n.removeContent="请确认是否结束预览?";else{const z=await getStudentAfterWork({courseScheduleId:n.classId,page:1,rows:99});z.data.rows&&z.data.rows.length?(n.removeContent="请确认是否结束课程?",n.removeCourseStatus=!1):(n.removeContent="本次课堂尚未布置作业,是否结束课程?",n.removeCourseStatus=!0),n.removeVisiable=!0,n.removeTitle="结束课程"}break;case 2:if(n.preStudentNum<=0)return;const O=await getStudentAfterWork({courseScheduleId:n.classId,page:1,rows:99});O.data.rows&&O.data.rows.length?(n.modalAttendMessage="本次课程已布置作业,是否继续?",n.modelAttendStatus=!0):(n.modelTrainStatus=!0,n.modelAttendStatus=!1);break;case 3:P({type:"pen",icon:iconNote,name:"批注"});break;case 4:P({type:"whiteboard",icon:iconWhite,name:"白板"});break;case 5:V("beatIcon");break;case 6:V("toneIcon");break;case 7:V("setTimeIcon");break;case 8:re.value=!1;break;case 9:y(),n.selectResourceStatus=!0;break}},he=_=>{switch(_){case 1:c.chapterOpen=!0;break;case 2:c.open=!0,nextTick(()=>{oe()});break;case 3:if(!J.value)return;L("up");break;case 4:if(!Q.value)return;L("down");break}},oe=()=>{const _=document.querySelectorAll(".drawerCardItemRef");c.activeIndex>=0&&_[c.activeIndex]&&_[c.activeIndex].scrollIntoView()};return()=>createVNode("div",{id:"playContent",class:[styles$9.playContent,"wrap"]},[createVNode("div",{onClick:()=>{clearTimeout(f.timer),f.model=!f.model,Object.values(n.videoRefs).map(_=>_==null?void 0:_.toggleHideControl(f.model)),Object.values(n.audioRefs).map(_=>_==null?void 0:_.toggleHideControl(f.model))}},[createVNode("div",{class:styles$9.coursewarePlay,style:{width:o.width}},[c.chapterLoading?"":createVNode("div",{class:styles$9.wraps},[createVNode("div",{style:U.value.type&&n.animationState==="end"&&n.videoState==="play"?{zIndex:15,opacity:1}:{opacity:0,zIndex:-1},class:styles$9.itemDiv},[createVNode(VideoPlay,{ref:_=>n.videoItemRef=_,item:U.value,showModel:f.model,onClose:x,onCanplay:()=>{n.videoState="play"},onPause:()=>{clearTimeout(f.timer),f.model=!0},onEnded:()=>{const _=c.activeIndex+1;_<n.itemList.length&&j(_)}},null)]),n.itemList.map((_,O)=>{const z=Math.abs(c.activeIndex-O)<2;return Math.abs(c.activeIndex-O)>4,z?createVNode("div",{key:"index"+O,class:[styles$9.itemDiv,c.activeIndex===O&&styles$9.itemActive,f.isAnimation&&styles$9.acitveAnimation,Math.abs(c.activeIndex-O)<2?styles$9.show:styles$9.hide],style:O<c.activeIndex?G[H.value].prev:O>c.activeIndex?G[H.value].next:{},onClick:N=>{if(N.stopPropagation(),clearTimeout(f.timer),Date.now()-f.nowTime<300){D(_);return}f.nowTime=Date.now(),f.timer=setTimeout(()=>{f.model=!f.model,Object.values(n.videoRefs).map(X=>X==null?void 0:X.toggleHideControl(f.model)),Object.values(n.audioRefs).map(X=>X==null?void 0:X.toggleHideControl(f.model)),f.model&&x()},300)}},[_.type==="VIDEO"?createVNode(Fragment,null,[createVNode("img",{src:_.coverImg,onLoad:()=>{_.isprepare=!0}},null),createVNode(Transition,{name:"van-fade"},{default:()=>[createVNode("div",{class:styles$9.loadWrap},[createVNode(Vue3Lottie,{animationData:playLoadData},null)])]})]):_.type==="IMG"?createVNode("img",{src:_.content},null):_.type==="SONG"?createVNode(AudioPay,{item:_,ref:N=>n.audioRefs[O]=N,onLoadedmetadata:N=>{_.audioEle=N,_.isprepare=!0},onTogglePlay:N=>{_.autoPlay=!1,N||c.open?clearTimeout(f.timer):x()},onEnded:()=>{const N=c.activeIndex+1;N<n.itemList.length&&j(N)},onReset:()=>{var N;(N=_.audioEle)!=null&&N.paused||x()}},null):_.type==="PPT"?createVNode("iframe",{src:"https://view.officeapps.live.com/op/embed.aspx?src=".concat(encodeURIComponent(_.content)),width:"100%",height:"100%",frameborder:"1"},null):createVNode(MusicScore,{activeModel:f.model,activeStatus:c.activeIndex===O,"data-vid":_.id,music:_,onSetIframe:N=>{_.iframeRef=N}},null)]):null})])])]),createVNode("div",{class:[styles$9.rightColumn,re.value?"":styles$9.rightColumnHide,b.type!=="init"&&(b.penShow||b.whiteboardShow)?styles$9.rightColumnZ:""]},[K.map((_,O)=>createVNode("div",{class:[styles$9.rightItem,_.id===2&&n.preStudentNum<=0?styles$9.itemDisabled:""],onClick:()=>le(_.id)},[createVNode("img",{src:_.icon},null),createVNode("div",{class:styles$9.rightTips},[O===0&&n.type==="preview"?_.name2:_.name])]))]),!re.value&&createVNode("img",{class:[styles$9.rightHideIcon,re.value?"":styles$9.rightIconShow],src:rightHideIcon,onClick:()=>re.value=!0},null),createVNode("div",{class:styles$9.bottomColumn},[Z.map((_,O)=>createVNode("div",{class:[styles$9.bottomItem,_.id===3&&!J.value||_.id===4&&!Q.value?styles$9.itemDisabled:""],onClick:()=>he(_.id)},[createVNode("img",{src:_.icon},null),createVNode("div",{class:styles$9.bottomTips},[_.name])]))]),createVNode(NDrawer,{show:c.open,"onUpdate:show":_=>c.open=_,class:styles$9.drawerContainer,onAfterLeave:I,showMask:!1},{default:()=>[createVNode(NDrawerContent,{closable:!0},{header:()=>createVNode(TheNoticeBar,{text:d.value||"资源列表"},null),default:()=>createVNode("div",{ref:l,id:"drawerCardRef"},[n.knowledgePointList.map((_,O)=>createVNode("div",{class:[styles$9.cardContainer,"drawerCardItemRef"]},[createVNode(CardType,{item:_,isActive:c.activeIndex===O,isCollect:!1,isShowCollect:!1,onClick:z=>{c.open=!1,T(z.id)}},null)]))])})]}),createVNode(NDrawer,{show:c.chapterOpen,"onUpdate:show":_=>c.chapterOpen=_,class:styles$9.drawerContainer,onAfterLeave:I,showMask:!1,displayDirective:"show"},{default:()=>[createVNode(NDrawerContent,{title:"切换章节",closable:!0},{default:()=>[createVNode(Chapter,{treeList:c.chapterDetails,itemActive:n.detailId,onHandleSelect:async _=>{c.chapterLoading=!0;try{n.detailId=_.itemActive;const O=E(_.itemActive,c.chapterDetails);n.lessonCoursewareDetailId=O[0],n.type!=="preview"&&await m(),await g(),c.activeIndex=0,c.chapterOpen=!1}catch(O){}c.chapterLoading=!1}},null)]})]}),b.penShow&&createVNode(Pen,{show:b.type==="pen",type:b.type,close:()=>B()},null),b.whiteboardShow&&createVNode(Pen,{show:b.type==="whiteboard",type:b.type,close:()=>B()},null),createVNode(NModal,{transformOrigin:"center",show:n.modelAttendStatus,"onUpdate:show":_=>n.modelAttendStatus=_,preset:"card",title:"课后作业",class:["modalTitle",styles$9.removeVisiable]},{default:()=>[createVNode("div",{class:styles$9.studentRemove},[createVNode("p",null,[n.modalAttendMessage]),createVNode(NSpace,{class:styles$9.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{type:"default",round:!0,onClick:()=>{n.modelTrainStatus=!0,n.modelAttendStatus=!1}},{default:()=>[createTextVNode("布置作业")]}),createVNode(NButton,{type:"primary",round:!0,onClick:()=>{y(),n.modelAttendStatus=!1}},{default:()=>[createTextVNode("取消")]})]})])]}),createVNode(NModal,{transformOrigin:"center",show:n.modelTrainStatus,"onUpdate:show":_=>n.modelTrainStatus=_,preset:"card",class:[styles$9.attendClassModal,styles$9.trainClassModal],title:"作业设置"},{default:()=>[createVNode(TrainSettings,{detailId:n.detailId,subjectId:n.subjectId,courseScheduleId:n.classId,classGroupId:n.classGroupId,onClose:()=>n.modelTrainStatus=!1,onConfirm:()=>{n.modelTrainStatus=!1}},null)]}),createVNode(NModal,{transformOrigin:"center",class:["modalTitle background"],title:"节拍器",preset:"card",show:C.value,"onUpdate:show":_=>C.value=_,style:{width:"687px"}},{default:()=>[createVNode("div",{class:styles$9.modeWrap},[createVNode("iframe",{src:"".concat(vaildUrl(),"/metronome/?id=").concat(new Date().getTime()),scrolling:"no",frameborder:"0",width:"100%",height:"650px"},null)])]}),createVNode(NModal,{transformOrigin:"center",class:["background"],show:p.value,"onUpdate:show":_=>p.value=_},{default:()=>[createVNode("div",null,[createVNode(PlaceholderTone,{onClose:()=>{p.value=!1}},null)])]}),createVNode(NModal,{transformOrigin:"center",show:S.value,"onUpdate:show":_=>S.value=_,class:["modalTitle background"],title:"计时器",preset:"card",style:{width:px2vw(772)}},{default:()=>[createVNode("div",null,[createVNode(TimerMeter,null,null)])]}),createVNode(NModal,{show:n.selectResourceStatus,"onUpdate:show":_=>n.selectResourceStatus=_,class:["modalTitle",styles$9.selectMusicModal],preset:"card",title:"选择资源"},{default:()=>[createVNode(SelectResources,{from:"class"},null)]}),createVNode(NModal,{transformOrigin:"center",show:n.removeVisiable,"onUpdate:show":_=>n.removeVisiable=_,preset:"card",class:["modalTitle",styles$9.removeVisiable],title:n.removeTitle},{default:()=>[createVNode("div",{class:styles$9.studentRemove},[createVNode("p",null,[n.removeContent]),createVNode(NSpace,{class:styles$9.btnGroupModal,justify:"center"},{default:()=>[createVNode(NButton,{round:!0,onClick:()=>{n.removeCourseStatus?state.application?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen(),t("close")):window.close():n.removeVisiable=!1}},{default:()=>[n.removeCourseStatus?"结束课程":"取消"]}),createVNode(NButton,{round:!0,type:"primary",onClick:()=>{n.removeCourseStatus?(n.modelTrainStatus=!0,n.removeVisiable=!1):state.application?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen(),t("close")):window.close()}},{default:()=>[n.removeCourseStatus?"布置作业":"确定"]})]})])]})])}}),index=Object.freeze(Object.defineProperty({__proto__:null,default:AttendClass},Symbol.toStringTag,{value:"Module"}));export{AttendClass as A,Pen as P,SelectResources as S,TimerMeter as T,PlaceholderTone as a,index as i};