123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- import{c as createNamespace,n as numericProp,m as makeStringProp,b as makeNumericProp,t as truthProp,az as makeNumberProp,d as defineComponent,e as computed,w as watch,aA as cancelRaf,aB as raf,a as createVNode,aC as getSizeStyle,aD as isObject$1,k as withInstall,aE as inject,aF as provide,av as onBeforeUnmount,r as ref,aG as onBeforeUpdate,aH as toRef,aI as h$1,T as Transition,z as nextTick,S as browser,P as useRoute,E as storage,G as ACCESS_TOKEN,X as queryString,a8 as vaildMusicScoreUrl$1,an as listenerMessage,K as state,R as Popup,U as postMessage,D as request,x as reactive,F as Fragment,am as commonjsGlobal,aj as getDefaultExportFromCjs,y as onMounted,aJ as openBlock,aK as createElementBlock,aL as normalizeStyle,aM as toRefs,aN as getSecondRPM$1,A as createTextVNode,N as showToast,a3 as isVNode,a2 as MEmpty,aO as usePageVisibility,Q as onUnmounted,aP as closeToast,I as Icon}from"./index-869d77fb.js";import{T as TCPlayer}from"./tcplayer.v4.8.0.min-74106fe8.js";import{T as TheVip}from"./index-1c48197c.js";import{S as Skeleton}from"./index-bb269343.js";import{C as Collapse,a as CollapseItem}from"./index-e6220561.js";import{S as Slider}from"./index-43d9e077.js";import{S as SelectCoursewarePop,j as api_classLessonCoursewareDetail,k as api_lessonCoursewareDetail,b as api_classDetailCourseware,a as api_lessonDetailCourseware}from"./index-31bc4566.js";import{c as createInjectionKey,a as commonLight,b as c,d as cB,e as cM,f as cE,g as fadeInScaleUpTransition,i as insideModal,h as insidePopover,u as useConfig,j as useTheme,k as useMergedState,l as useThemeClass,m as isMounted,n as useAdjustedTo,V as VBinder,o as VTarget,r as resolveSlot,p as VFollower,q as on,s as off,t as call,N as NImage}from"./Image-7b636fbd.js";import{I as Image$1}from"./index-e76f2a88.js";import{N as NoticeBar}from"./index-09c5ac7f.js";import"./index-1c6c2ec0.js";const[name,bem]=createNamespace("circle");let uid=0;const format=e=>Math.min(Math.max(+e,0),100);function getPath(e,t){const r=e?1:0;return`M ${t/2} ${t/2} m 0, -500 a 500, 500 0 1, ${r} 0, 1000 a 500, 500 0 1, ${r} 0, -1000`}const circleProps={text:String,size:numericProp,fill:makeStringProp("none"),rate:makeNumericProp(100),speed:makeNumericProp(0),color:[String,Object],clockwise:truthProp,layerColor:String,currentRate:makeNumberProp(0),strokeWidth:makeNumericProp(40),strokeLinecap:String,startPosition:makeStringProp("top")};var stdin_default=defineComponent({name,props:circleProps,emits:["update:currentRate"],setup(e,{emit:t,slots:r}){const i=`van-circle-${uid++}`,a=computed(()=>+e.strokeWidth+1e3),s=computed(()=>getPath(e.clockwise,a.value)),n=computed(()=>{const f={top:0,right:90,bottom:180,left:270}[e.startPosition];if(f)return{transform:`rotate(${f}deg)`}});watch(()=>e.rate,b=>{let f;const P=Date.now(),A=e.currentRate,m=format(b),E=Math.abs((A-m)*1e3/+e.speed),d=()=>{const u=Date.now(),S=Math.min((u-P)/E,1)*(m-A)+A;t("update:currentRate",format(parseFloat(S.toFixed(1)))),(m>A?S<m:S>m)&&(f=raf(d))};e.speed?(f&&cancelRaf(f),f=raf(d)):t("update:currentRate",m)},{immediate:!0});const o=()=>{const{strokeWidth:f,currentRate:P,strokeLinecap:A}=e,m=3140*P/100,E=isObject$1(e.color)?`url(#${i})`:e.color,d={stroke:E,strokeWidth:`${+f+1}px`,strokeLinecap:A,strokeDasharray:`${m}px 3140px`};return createVNode("path",{d:s.value,style:d,class:bem("hover"),stroke:E},null)},l=()=>{const b={fill:e.fill,stroke:e.layerColor,strokeWidth:`${e.strokeWidth}px`};return createVNode("path",{class:bem("layer"),style:b,d:s.value},null)},p=()=>{const{color:b}=e;if(!isObject$1(b))return;const f=Object.keys(b).sort((P,A)=>parseFloat(P)-parseFloat(A)).map((P,A)=>createVNode("stop",{key:A,offset:P,"stop-color":b[P]},null));return createVNode("defs",null,[createVNode("linearGradient",{id:i,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[f])])},y=()=>{if(r.default)return r.default();if(e.text)return createVNode("div",{class:bem("text")},[e.text])};return()=>createVNode("div",{class:bem(),style:getSizeStyle(e.size)},[createVNode("svg",{viewBox:`0 0 ${a.value} ${a.value}`,style:n.value},[p(),l(),o()]),y()])}});const Circle=withInstall(stdin_default),formItemInjectionKey=createInjectionKey("n-form-item");function useFormItem(e,{defaultSize:t="medium",mergedSize:r,mergedDisabled:i}={}){const a=inject(formItemInjectionKey,null);provide(formItemInjectionKey,null);const s=computed(r?()=>r(a):()=>{const{size:l}=e;if(l)return l;if(a){const{mergedSize:p}=a;if(p.value!==void 0)return p.value}return t}),n=computed(i?()=>i(a):()=>{const{disabled:l}=e;return l!==void 0?l:a?a.disabled.value:!1}),o=computed(()=>{const{status:l}=e;return l||(a==null?void 0:a.mergedValidationStatus.value)});return onBeforeUnmount(()=>{a&&a.restoreValidation()}),{mergedSizeRef:s,mergedDisabledRef:n,mergedStatusRef:o,nTriggerFormBlur(){a&&a.handleContentBlur()},nTriggerFormChange(){a&&a.handleContentChange()},nTriggerFormFocus(){a&&a.handleContentFocus()},nTriggerFormInput(){a&&a.handleContentInput()}}}const sizeVariables={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},self$1=e=>{const t="rgba(0, 0, 0, .85)",r="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:i,primaryColor:a,baseColor:s,cardColor:n,modalColor:o,popoverColor:l,borderRadius:p,fontSize:y,opacityDisabled:b}=e;return Object.assign(Object.assign({},sizeVariables),{fontSize:y,markFontSize:y,railColor:i,railColorHover:i,fillColor:a,fillColorHover:a,opacityDisabled:b,handleColor:"#FFF",dotColor:n,dotColorModal:o,dotColorPopover:l,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:r,indicatorTextColor:s,indicatorBorderRadius:p,dotBorder:`2px solid ${i}`,dotBorderActive:`2px solid ${a}`,dotBoxShadow:""})},sliderLight={name:"Slider",common:commonLight,self:self$1},sliderLight$1=sliderLight;function isTouchEvent(e){return window.TouchEvent&&e instanceof window.TouchEvent}function useRefs(){const e=ref(new Map),t=r=>i=>{e.value.set(r,i)};return onBeforeUpdate(()=>{e.value.clear()}),[e,t]}const style=c([cB("slider",`
- display: block;
- padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;
- position: relative;
- z-index: 0;
- width: 100%;
- cursor: pointer;
- user-select: none;
- -webkit-user-select: none;
- `,[cM("reverse",[cB("slider-handles",[cB("slider-handle-wrapper",`
- transform: translate(50%, -50%);
- `)]),cB("slider-dots",[cB("slider-dot",`
- transform: translateX(50%, -50%);
- `)]),cM("vertical",[cB("slider-handles",[cB("slider-handle-wrapper",`
- transform: translate(-50%, -50%);
- `)]),cB("slider-marks",[cB("slider-mark",`
- transform: translateY(calc(-50% + var(--n-dot-height) / 2));
- `)]),cB("slider-dots",[cB("slider-dot",`
- transform: translateX(-50%) translateY(0);
- `)])])]),cM("vertical",`
- padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);
- width: var(--n-rail-width-vertical);
- height: 100%;
- `,[cB("slider-handles",`
- top: calc(var(--n-handle-size) / 2);
- right: 0;
- bottom: calc(var(--n-handle-size) / 2);
- left: 0;
- `,[cB("slider-handle-wrapper",`
- top: unset;
- left: 50%;
- transform: translate(-50%, 50%);
- `)]),cB("slider-rail",`
- height: 100%;
- `,[cE("fill",`
- top: unset;
- right: 0;
- bottom: unset;
- left: 0;
- `)]),cM("with-mark",`
- width: var(--n-rail-width-vertical);
- margin: 0 32px 0 8px;
- `),cB("slider-marks",`
- top: calc(var(--n-handle-size) / 2);
- right: unset;
- bottom: calc(var(--n-handle-size) / 2);
- left: 22px;
- font-size: var(--n-mark-font-size);
- `,[cB("slider-mark",`
- transform: translateY(50%);
- white-space: nowrap;
- `)]),cB("slider-dots",`
- top: calc(var(--n-handle-size) / 2);
- right: unset;
- bottom: calc(var(--n-handle-size) / 2);
- left: 50%;
- `,[cB("slider-dot",`
- transform: translateX(-50%) translateY(50%);
- `)])]),cM("disabled",`
- cursor: not-allowed;
- opacity: var(--n-opacity-disabled);
- `,[cB("slider-handle",`
- cursor: not-allowed;
- `)]),cM("with-mark",`
- width: 100%;
- margin: 8px 0 32px 0;
- `),c("&:hover",[cB("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[cE("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),cB("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),cM("active",[cB("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[cE("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),cB("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),cB("slider-marks",`
- position: absolute;
- top: 18px;
- left: calc(var(--n-handle-size) / 2);
- right: calc(var(--n-handle-size) / 2);
- `,[cB("slider-mark",`
- position: absolute;
- transform: translateX(-50%);
- white-space: nowrap;
- `)]),cB("slider-rail",`
- width: 100%;
- position: relative;
- height: var(--n-rail-height);
- background-color: var(--n-rail-color);
- transition: background-color .3s var(--n-bezier);
- border-radius: calc(var(--n-rail-height) / 2);
- `,[cE("fill",`
- position: absolute;
- top: 0;
- bottom: 0;
- border-radius: calc(var(--n-rail-height) / 2);
- transition: background-color .3s var(--n-bezier);
- background-color: var(--n-fill-color);
- `)]),cB("slider-handles",`
- position: absolute;
- top: 0;
- right: calc(var(--n-handle-size) / 2);
- bottom: 0;
- left: calc(var(--n-handle-size) / 2);
- `,[cB("slider-handle-wrapper",`
- outline: none;
- position: absolute;
- top: 50%;
- transform: translate(-50%, -50%);
- cursor: pointer;
- display: flex;
- `,[cB("slider-handle",`
- height: var(--n-handle-size);
- width: var(--n-handle-size);
- border-radius: 50%;
- overflow: hidden;
- transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier);
- background-color: var(--n-handle-color);
- box-shadow: var(--n-handle-box-shadow);
- `,[c("&:hover",`
- box-shadow: var(--n-handle-box-shadow-hover);
- `)]),c("&:focus",[cB("slider-handle",`
- box-shadow: var(--n-handle-box-shadow-focus);
- `,[c("&:hover",`
- box-shadow: var(--n-handle-box-shadow-active);
- `)])])])]),cB("slider-dots",`
- position: absolute;
- top: 50%;
- left: calc(var(--n-handle-size) / 2);
- right: calc(var(--n-handle-size) / 2);
- `,[cM("transition-disabled",[cB("slider-dot","transition: none;")]),cB("slider-dot",`
- transition:
- border-color .3s var(--n-bezier),
- box-shadow .3s var(--n-bezier),
- background-color .3s var(--n-bezier);
- position: absolute;
- transform: translate(-50%, -50%);
- height: var(--n-dot-height);
- width: var(--n-dot-width);
- border-radius: var(--n-dot-border-radius);
- overflow: hidden;
- box-sizing: border-box;
- border: var(--n-dot-border);
- background-color: var(--n-dot-color);
- `,[cM("active","border: var(--n-dot-border-active);")])])]),cB("slider-handle-indicator",`
- font-size: var(--n-font-size);
- padding: 6px 10px;
- border-radius: var(--n-indicator-border-radius);
- color: var(--n-indicator-text-color);
- background-color: var(--n-indicator-color);
- box-shadow: var(--n-indicator-box-shadow);
- `,[fadeInScaleUpTransition()]),cB("slider-handle-indicator",`
- font-size: var(--n-font-size);
- padding: 6px 10px;
- border-radius: var(--n-indicator-border-radius);
- color: var(--n-indicator-text-color);
- background-color: var(--n-indicator-color);
- box-shadow: var(--n-indicator-box-shadow);
- `,[cM("top",`
- margin-bottom: 12px;
- `),cM("right",`
- margin-left: 12px;
- `),cM("bottom",`
- margin-top: 12px;
- `),cM("left",`
- margin-right: 12px;
- `),fadeInScaleUpTransition()]),insideModal(cB("slider",[cB("slider-dot","background-color: var(--n-dot-color-modal);")])),insidePopover(cB("slider",[cB("slider-dot","background-color: var(--n-dot-color-popover);")]))]),eventButtonLeft=0,sliderProps=Object.assign(Object.assign({},useTheme.props),{to:useAdjustedTo.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),NSlider=defineComponent({name:"Slider",props:sliderProps,setup(e){const{mergedClsPrefixRef:t,namespaceRef:r,inlineThemeDisabled:i}=useConfig(e),a=useTheme("Slider","-slider",style,sliderLight$1,e,t),s=ref(null),[n,o]=useRefs(),[l,p]=useRefs(),y=ref(new Set),b=useFormItem(e),{mergedDisabledRef:f}=b,P=computed(()=>{const{step:z}=e;if(Number(z)<=0||z==="mark")return 0;const j=z.toString();let Q=0;return j.includes(".")&&(Q=j.length-j.indexOf(".")-1),Q}),A=ref(e.defaultValue),m=toRef(e,"value"),E=useMergedState(m,A),d=computed(()=>{const{value:z}=E;return(e.range?z:[z]).map($)}),u=computed(()=>d.value.length>2),g=computed(()=>e.placement===void 0?e.vertical?"right":"top":e.placement),S=computed(()=>{const{marks:z}=e;return z?Object.keys(z).map(parseFloat):null}),T=ref(-1),M=ref(-1),k=ref(-1),_=ref(!1),L=ref(!1),U=computed(()=>{const{vertical:z,reverse:j}=e;return z?j?"top":"bottom":j?"right":"left"}),H=computed(()=>{if(u.value)return;const z=d.value,j=B(e.range?Math.min(...z):e.min),Q=B(e.range?Math.max(...z):z[0]),{value:te}=U;return e.vertical?{[te]:`${j}%`,height:`${Q-j}%`}:{[te]:`${j}%`,width:`${Q-j}%`}}),R=computed(()=>{const z=[],{marks:j}=e;if(j){const Q=d.value.slice();Q.sort((fe,me)=>fe-me);const{value:te}=U,{value:ne}=u,{range:he}=e,de=ne?()=>!1:fe=>he?fe>=Q[0]&&fe<=Q[Q.length-1]:fe<=Q[0];for(const fe of Object.keys(j)){const me=Number(fe);z.push({active:de(me),label:j[fe],style:{[te]:`${B(me)}%`}})}}return z});function W(z,j){const Q=B(z),{value:te}=U;return{[te]:`${Q}%`,zIndex:j===T.value?1:0}}function K(z){return e.showTooltip||k.value===z||T.value===z&&_.value}function O(z){return _.value?!(T.value===z&&M.value===z):!0}function I(z){var j;~z&&(T.value=z,(j=n.value.get(z))===null||j===void 0||j.focus())}function F(){l.value.forEach((z,j)=>{K(j)&&z.syncPosition()})}function C(z){const{"onUpdate:value":j,onUpdateValue:Q}=e,{nTriggerFormInput:te,nTriggerFormChange:ne}=b;Q&&call(Q,z),j&&call(j,z),A.value=z,te(),ne()}function x(z){const{range:j}=e;if(j){if(Array.isArray(z)){const{value:Q}=d;z.join()!==Q.join()&&C(z)}}else Array.isArray(z)||d.value[0]!==z&&C(z)}function D(z,j){if(e.range){const Q=d.value.slice();Q.splice(j,1,z),x(Q)}else x(z)}function V(z,j,Q){const te=Q!==void 0;Q||(Q=z-j>0?1:-1);const ne=S.value||[],{step:he}=e;if(he==="mark"){const me=Y(z,ne.concat(j),te?Q:void 0);return me?me.value:j}if(he<=0)return j;const{value:de}=P;let fe;if(te){const me=Number((j/he).toFixed(de)),ye=Math.floor(me),Ae=me>ye?ye:ye-1,be=me<ye?ye:ye+1;fe=Y(j,[Number((Ae*he).toFixed(de)),Number((be*he).toFixed(de)),...ne],Q)}else{const me=q(z);fe=Y(z,[...ne,me])}return fe?$(fe.value):j}function $(z){return Math.min(e.max,Math.max(e.min,z))}function B(z){const{max:j,min:Q}=e;return(z-Q)/(j-Q)*100}function N(z){const{max:j,min:Q}=e;return Q+(j-Q)*z}function q(z){const{step:j,min:Q}=e;if(Number(j)<=0||j==="mark")return z;const te=Math.round((z-Q)/j)*j+Q;return Number(te.toFixed(P.value))}function Y(z,j=S.value,Q){if(!(j!=null&&j.length))return null;let te=null,ne=-1;for(;++ne<j.length;){const he=j[ne]-z,de=Math.abs(he);(Q===void 0||he*Q>0)&&(te===null||de<te.distance)&&(te={index:ne,distance:de,value:j[ne]})}return te}function re(z){const j=s.value;if(!j)return;const Q=isTouchEvent(z)?z.touches[0]:z,te=j.getBoundingClientRect();let ne;return e.vertical?ne=(te.bottom-Q.clientY)/te.height:ne=(Q.clientX-te.left)/te.width,e.reverse&&(ne=1-ne),N(ne)}function se(z){if(f.value||!e.keyboard)return;const{vertical:j,reverse:Q}=e;switch(z.key){case"ArrowUp":z.preventDefault(),ie(j&&Q?-1:1);break;case"ArrowRight":z.preventDefault(),ie(!j&&Q?-1:1);break;case"ArrowDown":z.preventDefault(),ie(j&&Q?1:-1);break;case"ArrowLeft":z.preventDefault(),ie(!j&&Q?1:-1);break}}function ie(z){const j=T.value;if(j===-1)return;const{step:Q}=e,te=d.value[j],ne=Number(Q)<=0||Q==="mark"?te:te+Q*z;D(V(ne,te,z>0?1:-1),j)}function X(z){var j,Q;if(f.value||!isTouchEvent(z)&&z.button!==eventButtonLeft)return;const te=re(z);if(te===void 0)return;const ne=d.value.slice(),he=e.range?(Q=(j=Y(te,ne))===null||j===void 0?void 0:j.index)!==null&&Q!==void 0?Q:-1:0;he!==-1&&(z.preventDefault(),I(he),ae(),D(V(te,d.value[he]),he))}function ae(){_.value||(_.value=!0,on("touchend",document,G),on("mouseup",document,G),on("touchmove",document,Z),on("mousemove",document,Z))}function oe(){_.value&&(_.value=!1,off("touchend",document,G),off("mouseup",document,G),off("touchmove",document,Z),off("mousemove",document,Z))}function Z(z){const{value:j}=T;if(!_.value||j===-1){oe();return}const Q=re(z);D(V(Q,d.value[j]),j)}function G(){oe()}function J(z){T.value=z,f.value||(k.value=z)}function ee(z){T.value===z&&(T.value=-1,oe()),k.value===z&&(k.value=-1)}function le(z){k.value=z}function ve(z){k.value===z&&(k.value=-1)}watch(T,(z,j)=>void nextTick(()=>M.value=j)),watch(E,()=>{if(e.marks){if(L.value)return;L.value=!0,nextTick(()=>{L.value=!1})}nextTick(F)}),onBeforeUnmount(()=>{oe()});const ge=computed(()=>{const{self:{markFontSize:z,railColor:j,railColorHover:Q,fillColor:te,fillColorHover:ne,handleColor:he,opacityDisabled:de,dotColor:fe,dotColorModal:me,handleBoxShadow:ye,handleBoxShadowHover:Ae,handleBoxShadowActive:be,handleBoxShadowFocus:Se,dotBorder:Pe,dotBoxShadow:Ce,railHeight:xe,railWidthVertical:Ee,handleSize:Te,dotHeight:we,dotWidth:Ie,dotBorderRadius:Me,fontSize:_e,dotBorderActive:ke,dotColorPopover:Fe},common:{cubicBezierEaseInOut:Ve}}=a.value;return{"--n-bezier":Ve,"--n-dot-border":Pe,"--n-dot-border-active":ke,"--n-dot-border-radius":Me,"--n-dot-box-shadow":Ce,"--n-dot-color":fe,"--n-dot-color-modal":me,"--n-dot-color-popover":Fe,"--n-dot-height":we,"--n-dot-width":Ie,"--n-fill-color":te,"--n-fill-color-hover":ne,"--n-font-size":_e,"--n-handle-box-shadow":ye,"--n-handle-box-shadow-active":be,"--n-handle-box-shadow-focus":Se,"--n-handle-box-shadow-hover":Ae,"--n-handle-color":he,"--n-handle-size":Te,"--n-opacity-disabled":de,"--n-rail-color":j,"--n-rail-color-hover":Q,"--n-rail-height":xe,"--n-rail-width-vertical":Ee,"--n-mark-font-size":z}}),pe=i?useThemeClass("slider",void 0,ge,e):void 0,ce=computed(()=>{const{self:{fontSize:z,indicatorColor:j,indicatorBoxShadow:Q,indicatorTextColor:te,indicatorBorderRadius:ne}}=a.value;return{"--n-font-size":z,"--n-indicator-border-radius":ne,"--n-indicator-box-shadow":Q,"--n-indicator-color":j,"--n-indicator-text-color":te}}),ue=i?useThemeClass("slider-indicator",void 0,ce,e):void 0;return{mergedClsPrefix:t,namespace:r,uncontrolledValue:A,mergedValue:E,mergedDisabled:f,mergedPlacement:g,isMounted:isMounted(),adjustedTo:useAdjustedTo(e),dotTransitionDisabled:L,markInfos:R,isShowTooltip:K,shouldKeepTooltipTransition:O,handleRailRef:s,setHandleRefs:o,setFollowerRefs:p,fillStyle:H,getHandleStyle:W,activeIndex:T,arrifiedValues:d,followerEnabledIndexSet:y,handleRailMouseDown:X,handleHandleFocus:J,handleHandleBlur:ee,handleHandleMouseEnter:le,handleHandleMouseLeave:ve,handleRailKeyDown:se,indicatorCssVars:i?void 0:ce,indicatorThemeClass:ue==null?void 0:ue.themeClass,indicatorOnRender:ue==null?void 0:ue.onRender,cssVars:i?void 0:ge,themeClass:pe==null?void 0:pe.themeClass,onRender:pe==null?void 0:pe.onRender}},render(){var e;const{mergedClsPrefix:t,themeClass:r,formatTooltip:i}=this;return(e=this.onRender)===null||e===void 0||e.call(this),h$1("div",{class:[`${t}-slider`,r,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:this.activeIndex!==-1,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},h$1("div",{class:`${t}-slider-rail`},h$1("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?h$1("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(a=>h$1("div",{key:a.label,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:a.active}],style:a.style}))):null,h$1("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((a,s)=>{const n=this.isShowTooltip(s);return h$1(VBinder,null,{default:()=>[h$1(VTarget,null,{default:()=>h$1("div",{ref:this.setHandleRefs(s),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(a,s),onFocus:()=>{this.handleHandleFocus(s)},onBlur:()=>{this.handleHandleBlur(s)},onMouseenter:()=>{this.handleHandleMouseEnter(s)},onMouseleave:()=>{this.handleHandleMouseLeave(s)}},resolveSlot(this.$slots.thumb,()=>[h$1("div",{class:`${t}-slider-handle`})]))}),this.tooltip&&h$1(VFollower,{ref:this.setFollowerRefs(s),show:n,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(s),teleportDisabled:this.adjustedTo===useAdjustedTo.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>h$1(Transition,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(s),onEnter:()=>{this.followerEnabledIndexSet.add(s)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(s)}},{default:()=>{var o;return n?((o=this.indicatorOnRender)===null||o===void 0||o.call(this),h$1("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof i=="function"?i(a):a)):null}})})]})})),this.marks?h$1("div",{class:`${t}-slider-marks`},this.markInfos.map(a=>h$1("div",{key:a.label,class:`${t}-slider-mark`,style:a.style},a.label))):null))}}),iconBack=""+new URL("back-137ab198.svg",import.meta.url).href,playContent="_playContent_tp6pf_1",coursewarePlay="_coursewarePlay_tp6pf_9",playModel="_playModel_tp6pf_15",headerContainer="_headerContainer_tp6pf_24",backBtn="_backBtn_tp6pf_42",headRight="_headRight_tp6pf_55",rightBtn="_rightBtn_tp6pf_64",menu="_menu_tp6pf_76",tabsContent="_tabsContent_tp6pf_86",wraps="_wraps_tp6pf_97",itemDiv="_itemDiv_tp6pf_103",tempoPracticeGroup="_tempoPracticeGroup_tp6pf_116",itemActive$2="_itemActive_tp6pf_119",acitveAnimation="_acitveAnimation_tp6pf_122",show="_show_tp6pf_125",hide$2="_hide_tp6pf_128",rightFixedBtns="_rightFixedBtns_tp6pf_141",fullBtn="_fullBtn_tp6pf_148",btnsDisabled="_btnsDisabled_tp6pf_167",popup="_popup_tp6pf_171",overlayClass="_overlayClass_tp6pf_175",loadWrap="_loadWrap_tp6pf_203",styles$b={playContent,coursewarePlay,playModel,headerContainer,backBtn,headRight,rightBtn,menu,tabsContent,wraps,itemDiv,tempoPracticeGroup,itemActive:itemActive$2,acitveAnimation,show,hide:hide$2,rightFixedBtns,fullBtn,btnsDisabled,popup,overlayClass,loadWrap},musicScore="_musicScore_18k28_1",container$5="_container_18k28_8",musicModel$2="_musicModel_18k28_16",errorModel="_errorModel_18k28_23",startBtn="_startBtn_18k28_35",loading="_loading_18k28_44",skeletonWrap$2="_skeletonWrap_18k28_50",skeleton="_skeleton_18k28_50",styles$a={musicScore,container:container$5,musicModel:musicModel$2,errorModel,startBtn,loading,skeletonWrap:skeletonWrap$2,skeleton},iconStart=""+new URL("icon-start-4118ae28.svg",import.meta.url).href,MusicScore=defineComponent({name:"musicScore",props:{pageVisibility:{type:String,default:""},show:{type:Boolean,default:!1},music:{type:Object,default:()=>{}},activeModel:{type:Boolean}},emits:["setIframe"],setup(e,{emit:t}){const r=browser();useRoute();const i=ref(!1);watch(()=>e.pageVisibility,A=>{var m,E;A=="hidden"&&(i.value=!1),A=="hidden"&&e.show&&((E=(m=a.value)==null?void 0:m.contentWindow)==null||E.postMessage({api:"setPlayState"},"*"))}),watch(()=>e.show,A=>{var m,E;A||(E=(m=a.value)==null?void 0:m.contentWindow)==null||E.postMessage({api:"setPlayState"},"*")});const a=ref(),s=ref(!1),n=ref(!1),o=ref(!1),l=ref(!1),p=storage.get(ACCESS_TOKEN);let y=queryString.stringifyUrl({url:vaildMusicScoreUrl$1()+"/instrument",query:{id:e.music.content,modelType:"practise",Authorization:p,showGuide:!0,iscurseplay:"play"}});const b=()=>{fetch(y).then(()=>{o.value=!0,n.value=!1}).catch(A=>{n.value=!0})};watch(e.music,()=>{o.value||(n.value=!1,e.music.display&&b())});const f=()=>{var E;if(!((E=state.user.data)!=null&&E.vipMember)||i.value)return;r.ios||(i.value=!0);const A=storage.get(ACCESS_TOKEN);let m=queryString.stringifyUrl({url:vaildMusicScoreUrl$1()+"/instrument",query:{id:e.music.content,Authorization:A,showGuide:!0}});postMessage({api:"openAccompanyWebView",content:{url:m,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,c_orientation:0}},()=>{r.ios&&(i.value=!0)})},P=async()=>{const A=await request.get("/edu-app/user/getUserInfo",{initRequest:!0,requestType:"form",hideLoading:!0});(A==null?void 0:A.code)===200&&(state.user.data.vipMember=A.data.vipMember)};return listenerMessage("webViewOnResume",()=>{i.value=!1,P()}),()=>{var A;return createVNode("div",{class:styles$a.musicScore},[createVNode("iframe",{ref:a,onLoad:m=>{t("setIframe",a.value),s.value=!0},class:[styles$a.container,"musicIframe"],frameborder:"0",src:y},null),s.value&&createVNode("div",{style:{display:e.activeModel||!((A=state.user.data)!=null&&A.vipMember)?"":"none"},class:styles$a.startBtn,onClick:m=>{m.stopPropagation(),f()}},[createVNode("img",{src:iconStart},null)]),createVNode("div",{class:styles$a.skeletonWrap},[createVNode(Skeleton,{class:styles$a.skeleton,row:8},null)]),createVNode(Popup,{teleport:"body",class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:l.value,"onUpdate:show":m=>l.value=m},{default:()=>[createVNode(TheVip,{onClose:m=>{m&&postMessage({api:"openWebView",content:{url:`${location.origin}${location.pathname}#/member-center`,orientation:1}}),l.value=!1}},null)]})])}}}),iconMenu=""+new URL("icon-menu-107c1ebd.svg",import.meta.url).href,iconChange=""+new URL("icon-change-4e3ae26f.svg",import.meta.url).href,iconUp=""+new URL("icon-up-44f779eb.svg",import.meta.url).href,iconDown=""+new URL("icon-down-254707d8.svg",import.meta.url).href,container$4="_container_12rfb_1",pointHead$1="_pointHead_12rfb_12",content$4="_content_12rfb_25",matItem="_matItem_12rfb_35",cover="_cover_12rfb_42",title$2="_title_12rfb_51",typeImg="_typeImg_12rfb_61",tag="_tag_12rfb_66",tName="_tName_12rfb_78",itemActive$1="_itemActive_12rfb_87",kjColumn="_kjColumn_12rfb_93",kjLeft="_kjLeft_12rfb_101",kjRight="_kjRight_12rfb_120",collapse$1="_collapse_12rfb_124",collapseItem$1="_collapseItem_12rfb_124",collapseKnow="_collapseKnow_12rfb_127",item$2="_item_12rfb_87",arrow$1="_arrow_12rfb_158",firstArrow="_firstArrow_12rfb_163",itemImage$1="_itemImage_12rfb_166",activeItem$1="_activeItem_12rfb_171",activeItem2="_activeItem2_12rfb_181",styles$9={container:container$4,pointHead:pointHead$1,content:content$4,matItem,cover,title:title$2,typeImg,tag,tName,itemActive:itemActive$1,kjColumn,kjLeft,kjRight,collapse:collapse$1,collapseItem:collapseItem$1,collapseKnow,item:item$2,arrow:arrow$1,firstArrow,itemImage:itemImage$1,activeItem:activeItem$1,activeItem2},iconMulv=""+new URL("icon-mulv-62ebfce7.svg",import.meta.url).href,chapterDown=""+new URL("chapter-down-arrow-568e9ee5.svg",import.meta.url).href,chapterDefault=""+new URL("chapter-default-arrow-de63989d.svg",import.meta.url).href,moreIcon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABJxJREFUaEPdmmtoHFUUx/9nujOTtmmTJjFNUIrWpD6gaGhMKwbBD6ZUChZRW5EqtD5KW6TYB36qYEVErQZRsYql0g8aLVIqVIKKX0QSSQkoFmtWrZVqTXZj82p3ZrJz5E72kWw3mXsnu9uMA/tpzzn3/5t77r3n3juEAjwjzLW2jXtAWAPGTcxoJKCSCYtEeGKMMHCRCH0gnAGjyzDwzSKi/tk2T0EDDDFXJR08wozNzGgROhVjMRG+J8LReTo+qiAaVPT3zFUbxQBzveZgD7t4GsDCII3m8RkjDYdcHa9dQ/S3SkxpgB5mfbmFXS6wH0C5SiMKtqMa8MJvJtqbiRwZPymAIeYGx8YnYDTJBC2ATa9u4uEKoqhfLF+AmMUbAHw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xqZFcJkCHQNGMCki6Qc7ogkDpUVQcKb1fhOVIfq9CNDkIyLHRA5pmfDG7ovq36G7ITxvA6OtoNmQZkiGJdS2TQ66gZvaNYp3z00dtrwuF1tGsF62NdSB1FtqAtGL7jtKA56NB6oZuxLyvwLqwF+Zqq42orTfXEcZgYb9JUax5ZTTV8TCiwm86Y2CnC+4+Qz7cwJv4E9IQFtr47gy846IKawhp8vlGuCZJQlRM1yvVCrxM2JfYYPbY4OaUUUECc6E222Yn10vArKE+c+OVWNWeJlJZUUJiu8ymoEoaRFjOa3KqBnU0niVVGMRjAJFpARuo6UcaUeQy5jKzMi/mF367t/3m4ggIYfOYaAAAAAElFTkSuQmCC",Points=defineComponent({name:"points",props:{allList:{type:Array,default:()=>[]},kjId:{type:String,default:""},zsdId:{type:String,default:""},currentCourse:{type:Object,default:{}},popShow:{type:Boolean,default:!1},data:{type:Array,default:()=>[]},itemActive:{type:String,default:""},itemName:{type:String,default:""}},emits:["handleSelect","courseSelect"],setup(e,{emit:t}){useRoute();const r={SONG:audioIcon,VIDEO:vedioIcon,IMG:imgIcon,MUSIC:songIcon,PPT:pptIcon,LISTEN:otherIcon,RHYTHM:otherIcon,THEORY:otherIcon,MUSIC_WIKI:otherIcon,INSTRUMENT:otherIcon,MUSICIAN:otherIcon},i=reactive({allList:e.allList,kjId:e.kjId,zsdId:e.zsdId,currentCourse:e.currentCourse});return watch(()=>e.allList,()=>{i.kjId=e.kjId,i.zsdId=e.zsdId}),watch(()=>e.popShow,()=>{console.log("刷新123",e.allList,e.currentCourse),i.currentCourse=e.currentCourse,i.kjId=e.kjId,i.zsdId=e.zsdId}),()=>{var a,s;return createVNode("div",{class:styles$9.container},[createVNode("div",{class:styles$9.pointHead},[createVNode("img",{src:iconMulv},null),e.itemName]),createVNode("div",{class:styles$9.kjColumn},[createVNode("div",{class:styles$9.kjLeft},[createVNode("img",{src:titleIcon},null),createVNode("span",null,[(a=i.currentCourse)==null?void 0:a.name])]),((s=i.allList)==null?void 0:s.length)>1&&createVNode("img",{class:styles$9.kjRight,src:moreIcon,onClick:()=>{console.log(i.allList),t("courseSelect")}},null)]),createVNode("div",{class:styles$9.content},[createVNode(Collapse,{class:styles$9.collapse,modelValue:i.zsdId,"onUpdate:modelValue":n=>{i.zsdId=n},border:!1,accordion:!0},{default:()=>{var n,o;return[(o=(n=i.currentCourse)==null?void 0:n.knowledgeList)==null?void 0:o.map(l=>createVNode(CollapseItem,{center:!0,class:[styles$9.collapseItem,styles$9.collapseKnow,i.zsdId===l.id?styles$9.activeItem2:""],border:!1,isLink:!1,title:l.name,titleClass:"van-ellipsis",titleStyle:{width:"80%"},name:l.id},{default:()=>createVNode(Fragment,null,[l.materialInfo.map((p,y)=>createVNode("div",{class:[styles$9.matItem,e.itemActive==p.id?styles$9.itemActive:""],onClick:()=>{var b;console.log(i.allList),t("handleSelect",{itemActive:p.id,zsdId:l.id,kjId:(b=i.currentCourse)==null?void 0:b.id})}},[createVNode("div",{class:styles$9.cover},[createVNode("img",{src:p.url},null)]),createVNode("div",{class:styles$9.title},[createVNode("img",{class:styles$9.typeImg,src:r[p.type]},null),createVNode("div",{class:styles$9.tName},[p.name])])]))]),icon:()=>createVNode("img",{class:styles$9.arrow,src:i.zsdId===l.id?chapterDown:chapterDefault},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,a;for(r=0;r<i;r+=1){a=e[r].prototype;for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t.prototype[s]=a[s])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,a=this.audios.length;for(i=0;i<a;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 a=0,s=[],n;switch(r){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(a=0;a<i;a+=1)s.push(n);return s}function t(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):e(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var r=createSizedArray(e.length),i,a=e.length;for(i=0;i<a;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,a,s,n,o,l,p,y;switch(n=Math.floor(e*6),o=e*6-n,l=r*(1-t),p=r*(1-o*t),y=r*(1-(1-o)*t),n%6){case 0:i=r,a=y,s=l;break;case 1:i=p,a=r,s=l;break;case 2:i=l,a=r,s=y;break;case 3:i=l,a=p,s=r;break;case 4:i=y,a=l,s=r;break;case 5:i=r,a=l,s=p;break}return[i,a,s]}function RGBtoHSV(e,t,r){var i=Math.max(e,t,r),a=Math.min(e,t,r),s=i-a,n,o=i===0?0:s/i,l=i/255;switch(i){case a:n=0;break;case e:n=t-r+s*(t<r?6:0),n/=6*s;break;case t:n=r-e+s*2,n/=6*s;break;case r:n=e-t+s*4,n/=6*s;break}return[n,o,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(i,a,s){return i<0&&(i=0),a<0&&(a=0),s<0&&(s=0),"#"+e[i]+e[a]+e[s]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(e)}var dataManager=function(){var e=1,t=[],r,i,a={onmessage:function(){},postMessage:function(P){r({data:P})}},s={postMessage:function(P){a.onmessage({data:P})}};function n(f){if(window.Worker&&window.Blob&&getWebWorker()){var P=new Blob(["var _workerSelf = self; self.onmessage = ",f.toString()],{type:"text/javascript"}),A=URL.createObjectURL(P);return new Worker(A)}return r=f,a}function o(){i||(i=n(function(P){function A(){function E(O,I){var F,C,x=O.length,D,V,$,B;for(C=0;C<x;C+=1)if(F=O[C],"ks"in F&&!F.completed){if(F.completed=!0,F.hasMask){var N=F.masksProperties;for(V=N.length,D=0;D<V;D+=1)if(N[D].pt.k.i)T(N[D].pt.k);else for(B=N[D].pt.k.length,$=0;$<B;$+=1)N[D].pt.k[$].s&&T(N[D].pt.k[$].s[0]),N[D].pt.k[$].e&&T(N[D].pt.k[$].e[0])}F.ty===0?(F.layers=g(F.refId,I),E(F.layers,I)):F.ty===4?S(F.shapes):F.ty===5&&W(F)}}function d(O,I){if(O){var F=0,C=O.length;for(F=0;F<C;F+=1)O[F].t===1&&(O[F].data.layers=g(O[F].data.refId,I),E(O[F].data.layers,I))}}function u(O,I){for(var F=0,C=I.length;F<C;){if(I[F].id===O)return I[F];F+=1}return null}function g(O,I){var F=u(O,I);return F?F.layers.__used?JSON.parse(JSON.stringify(F.layers)):(F.layers.__used=!0,F.layers):null}function S(O){var I,F=O.length,C,x;for(I=F-1;I>=0;I-=1)if(O[I].ty==="sh")if(O[I].ks.k.i)T(O[I].ks.k);else for(x=O[I].ks.k.length,C=0;C<x;C+=1)O[I].ks.k[C].s&&T(O[I].ks.k[C].s[0]),O[I].ks.k[C].e&&T(O[I].ks.k[C].e[0]);else O[I].ty==="gr"&&S(O[I].it)}function T(O){var I,F=O.i.length;for(I=0;I<F;I+=1)O.i[I][0]+=O.v[I][0],O.i[I][1]+=O.v[I][1],O.o[I][0]+=O.v[I][0],O.o[I][1]+=O.v[I][1]}function M(O,I){var F=I?I.split("."):[100,100,100];return O[0]>F[0]?!0:F[0]>O[0]?!1:O[1]>F[1]?!0:F[1]>O[1]?!1:O[2]>F[2]?!0:F[2]>O[2]?!1:null}var k=function(){var O=[4,4,14];function I(C){var x=C.t.d;C.t.d={k:[{s:x,t:0}]}}function F(C){var x,D=C.length;for(x=0;x<D;x+=1)C[x].ty===5&&I(C[x])}return function(C){if(M(O,C.v)&&(F(C.layers),C.assets)){var x,D=C.assets.length;for(x=0;x<D;x+=1)C.assets[x].layers&&F(C.assets[x].layers)}}}(),_=function(){var O=[4,7,99];return function(I){if(I.chars&&!M(O,I.v)){var F,C=I.chars.length;for(F=0;F<C;F+=1){var x=I.chars[F];x.data&&x.data.shapes&&(S(x.data.shapes),x.data.ip=0,x.data.op=99999,x.data.st=0,x.data.sr=1,x.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||(x.data.shapes.push({ty:"no"}),x.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"})))}}}}(),L=function(){var O=[5,7,15];function I(C){var x=C.t.p;typeof x.a=="number"&&(x.a={a:0,k:x.a}),typeof x.p=="number"&&(x.p={a:0,k:x.p}),typeof x.r=="number"&&(x.r={a:0,k:x.r})}function F(C){var x,D=C.length;for(x=0;x<D;x+=1)C[x].ty===5&&I(C[x])}return function(C){if(M(O,C.v)&&(F(C.layers),C.assets)){var x,D=C.assets.length;for(x=0;x<D;x+=1)C.assets[x].layers&&F(C.assets[x].layers)}}}(),U=function(){var O=[4,1,9];function I(C){var x,D=C.length,V,$;for(x=0;x<D;x+=1)if(C[x].ty==="gr")I(C[x].it);else if(C[x].ty==="fl"||C[x].ty==="st")if(C[x].c.k&&C[x].c.k[0].i)for($=C[x].c.k.length,V=0;V<$;V+=1)C[x].c.k[V].s&&(C[x].c.k[V].s[0]/=255,C[x].c.k[V].s[1]/=255,C[x].c.k[V].s[2]/=255,C[x].c.k[V].s[3]/=255),C[x].c.k[V].e&&(C[x].c.k[V].e[0]/=255,C[x].c.k[V].e[1]/=255,C[x].c.k[V].e[2]/=255,C[x].c.k[V].e[3]/=255);else C[x].c.k[0]/=255,C[x].c.k[1]/=255,C[x].c.k[2]/=255,C[x].c.k[3]/=255}function F(C){var x,D=C.length;for(x=0;x<D;x+=1)C[x].ty===4&&I(C[x].shapes)}return function(C){if(M(O,C.v)&&(F(C.layers),C.assets)){var x,D=C.assets.length;for(x=0;x<D;x+=1)C.assets[x].layers&&F(C.assets[x].layers)}}}(),H=function(){var O=[4,4,18];function I(C){var x,D=C.length,V,$;for(x=D-1;x>=0;x-=1)if(C[x].ty==="sh")if(C[x].ks.k.i)C[x].ks.k.c=C[x].closed;else for($=C[x].ks.k.length,V=0;V<$;V+=1)C[x].ks.k[V].s&&(C[x].ks.k[V].s[0].c=C[x].closed),C[x].ks.k[V].e&&(C[x].ks.k[V].e[0].c=C[x].closed);else C[x].ty==="gr"&&I(C[x].it)}function F(C){var x,D,V=C.length,$,B,N,q;for(D=0;D<V;D+=1){if(x=C[D],x.hasMask){var Y=x.masksProperties;for(B=Y.length,$=0;$<B;$+=1)if(Y[$].pt.k.i)Y[$].pt.k.c=Y[$].cl;else for(q=Y[$].pt.k.length,N=0;N<q;N+=1)Y[$].pt.k[N].s&&(Y[$].pt.k[N].s[0].c=Y[$].cl),Y[$].pt.k[N].e&&(Y[$].pt.k[N].e[0].c=Y[$].cl)}x.ty===4&&I(x.shapes)}}return function(C){if(M(O,C.v)&&(F(C.layers),C.assets)){var x,D=C.assets.length;for(x=0;x<D;x+=1)C.assets[x].layers&&F(C.assets[x].layers)}}}();function R(O){O.__complete||(U(O),k(O),_(O),L(O),H(O),E(O.layers,O.assets),d(O.chars,O.assets),O.__complete=!0)}function W(O){O.t.a.length===0&&"m"in O.t.p}var K={};return K.completeData=R,K.checkColors=U,K.checkChars=_,K.checkPathProperties=L,K.checkShapes=H,K.completeLayers=E,K}if(s.dataManager||(s.dataManager=A()),s.assetLoader||(s.assetLoader=function(){function E(u){var g=u.getResponseHeader("content-type");return g&&u.responseType==="json"&&g.indexOf("json")!==-1||u.response&&_typeof$5(u.response)==="object"?u.response:u.response&&typeof u.response=="string"?JSON.parse(u.response):u.responseText?JSON.parse(u.responseText):null}function d(u,g,S,T){var M,k=new XMLHttpRequest;try{k.responseType="json"}catch(_){}k.onreadystatechange=function(){if(k.readyState===4)if(k.status===200)M=E(k),S(M);else try{M=E(k),S(M)}catch(_){T&&T(_)}};try{k.open(["G","E","T"].join(""),u,!0)}catch(_){k.open(["G","E","T"].join(""),g+"/"+u,!0)}k.send()}return{load:d}}()),P.data.type==="loadAnimation")s.assetLoader.load(P.data.path,P.data.fullPath,function(E){s.dataManager.completeData(E),s.postMessage({id:P.data.id,payload:E,status:"success"})},function(){s.postMessage({id:P.data.id,status:"error"})});else if(P.data.type==="complete"){var m=P.data.animation;s.dataManager.completeData(m),s.postMessage({id:P.data.id,payload:m,status:"success"})}else P.data.type==="loadData"&&s.assetLoader.load(P.data.path,P.data.fullPath,function(E){s.postMessage({id:P.data.id,payload:E,status:"success"})},function(){s.postMessage({id:P.data.id,status:"error"})})}),i.onmessage=function(f){var P=f.data,A=P.id,m=t[A];t[A]=null,P.status==="success"?m.onComplete(P.payload):m.onError&&m.onError()})}function l(f,P){e+=1;var A="processId_"+e;return t[A]={onComplete:f,onError:P},A}function p(f,P,A){o();var m=l(P,A);i.postMessage({type:"loadAnimation",path:f,fullPath:window.location.origin+window.location.pathname,id:m})}function y(f,P,A){o();var m=l(P,A);i.postMessage({type:"loadData",path:f,fullPath:window.location.origin+window.location.pathname,id:m})}function b(f,P,A){o();var m=l(P,A);i.postMessage({type:"complete",animation:f,id:m})}return{loadAnimation:p,loadData:y,completeAnimation:b}}(),ImagePreloader=function(){var e=function(){var d=createTag("canvas");d.width=1,d.height=1;var u=d.getContext("2d");return u.fillStyle="rgba(0,0,0,0)",u.fillRect(0,0,1,1),d}();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(d,u,g){var S="";if(d.e)S=d.p;else if(u){var T=d.p;T.indexOf("images/")!==-1&&(T=T.split("/")[1]),S=u+T}else S=g,S+=d.u?d.u:"",S+=d.p;return S}function a(d){var u=0,g=setInterval(function(){var S=d.getBBox();(S.width||u>500)&&(this._imageLoaded(),clearInterval(g)),u+=1}.bind(this),50)}function s(d){var u=i(d,this.assetsPath,this.path),g=createNS("image");isSafari?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",function(){S.img=e,this._imageLoaded()}.bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",u),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var S={img:g,assetData:d};return S}function n(d){var u=i(d,this.assetsPath,this.path),g=createTag("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",function(){S.img=e,this._imageLoaded()}.bind(this),!1),g.src=u;var S={img:g,assetData:d};return S}function o(d){var u={assetData:d},g=i(d,this.assetsPath,this.path);return dataManager.loadData(g,function(S){u.img=S,this._footageLoaded()}.bind(this),function(){u.img={},this._footageLoaded()}.bind(this)),u}function l(d,u){this.imagesLoadedCb=u;var g,S=d.length;for(g=0;g<S;g+=1)d[g].layers||(!d[g].t||d[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(d[g]))):d[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(d[g]))))}function p(d){this.path=d||""}function y(d){this.assetsPath=d||""}function b(d){for(var u=0,g=this.images.length;u<g;){if(this.images[u].assetData===d)return this.images[u].img;u+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function P(){return this.totalImages===this.loadedAssets}function A(){return this.totalFootages===this.loadedFootagesCount}function m(d,u){d==="svg"?(this._elementHelper=u,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=a.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return E.prototype={loadAssets:l,setAssetsPath:y,setPath:p,loadedImages:P,loadedFootages:A,destroy:f,getAsset:b,createImgData:n,createImageData:s,imageLoaded:t,footageLoaded:r,setCacheType:m},E}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,r){if(this._cbs[t])for(var i=this._cbs[t],a=0;a<i.length;a+=1)i[a](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,a=this._cbs[t].length;i<a;)this._cbs[t][i]===r&&(this._cbs[t].splice(i,1),i-=1,a-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function e(t){for(var r=t.split(`\r
- `),i={},a,s=0,n=0;n<r.length;n+=1)a=r[n].split(":"),a.length===2&&(i[a[0]]=a[1].trim(),s+=1);if(s===0)throw new Error;return i}return function(t){for(var r=[],i=0;i<t.length;i+=1){var a=t[i],s={time:a.tm,duration:a.dr};try{s.payload=JSON.parse(t[i].cm)}catch(n){try{s.payload=e(t[i].cm)}catch(o){s.payload={name:t[i].cm}}}r.push(s)}return r}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(r){for(var i=0,a=this.compositions.length;i<a;){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 a=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:"";a==="false"?r.loop=!1:a==="true"?r.loop=!0:a!==""&&(r.loop=parseInt(a,10));var s=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=s!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var n=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:"";n==="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,a=e.layers,s,n=a.length;for(s=0;s<n;s+=1)for(r=0;r<i;){if(t[r].id===a[s].id){t[r]=a[s];break}r+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(e.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r=typeof e=="number"?e:void 0,i=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if(t=this.markers[r],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var a=this.getMarkerData(e);a&&this.goToAndStop(a.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 a=this.getMarkerData(e);a&&(a.duration?this.playSegments([a.time,a.time+a.duration],!0):this.goToAndStop(a.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(a){}},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,a=0,s=!0,n=!1;function o(I){for(var F=0,C=I.target;F<i;)t[F].animation===C&&(t.splice(F,1),F-=1,i-=1,C.isPaused||b()),F+=1}function l(I,F){if(!I)return null;for(var C=0;C<i;){if(t[C].elem===I&&t[C].elem!==null)return t[C].animation;C+=1}var x=new AnimationItem;return f(x,I),x.setData(I,F),x}function p(){var I,F=t.length,C=[];for(I=0;I<F;I+=1)C.push(t[I].animation);return C}function y(){a+=1,U()}function b(){a-=1}function f(I,F){I.addEventListener("destroy",o),I.addEventListener("_active",y),I.addEventListener("_idle",b),t.push({elem:F,animation:I}),i+=1}function P(I){var F=new AnimationItem;return f(F,null),F.setParams(I),F}function A(I,F){var C;for(C=0;C<i;C+=1)t[C].animation.setSpeed(I,F)}function m(I,F){var C;for(C=0;C<i;C+=1)t[C].animation.setDirection(I,F)}function E(I){var F;for(F=0;F<i;F+=1)t[F].animation.play(I)}function d(I){var F=I-r,C;for(C=0;C<i;C+=1)t[C].animation.advanceTime(F);r=I,a&&!n?window.requestAnimationFrame(d):s=!0}function u(I){r=I,window.requestAnimationFrame(d)}function g(I){var F;for(F=0;F<i;F+=1)t[F].animation.pause(I)}function S(I,F,C){var x;for(x=0;x<i;x+=1)t[x].animation.goToAndStop(I,F,C)}function T(I){var F;for(F=0;F<i;F+=1)t[F].animation.stop(I)}function M(I){var F;for(F=0;F<i;F+=1)t[F].animation.togglePause(I)}function k(I){var F;for(F=i-1;F>=0;F-=1)t[F].animation.destroy(I)}function _(I,F,C){var x=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),D,V=x.length;for(D=0;D<V;D+=1)C&&x[D].setAttribute("data-bm-type",C),l(x[D],I);if(F&&V===0){C||(C="svg");var $=document.getElementsByTagName("body")[0];$.innerText="";var B=createTag("div");B.style.width="100%",B.style.height="100%",B.setAttribute("data-bm-type",C),$.appendChild(B),l(B,I)}}function L(){var I;for(I=0;I<i;I+=1)t[I].animation.resize()}function U(){!n&&a&&s&&(window.requestAnimationFrame(u),s=!1)}function H(){n=!0}function R(){n=!1,U()}function W(I,F){var C;for(C=0;C<i;C+=1)t[C].animation.setVolume(I,F)}function K(I){var F;for(F=0;F<i;F+=1)t[F].animation.mute(I)}function O(I){var F;for(F=0;F<i;F+=1)t[F].animation.unmute(I)}return e.registerAnimation=l,e.loadAnimation=P,e.setSpeed=A,e.setDirection=m,e.play=E,e.pause=g,e.stop=T,e.togglePause=M,e.searchAnimations=_,e.resize=L,e.goToAndStop=S,e.destroy=k,e.freeze=H,e.unfreeze=R,e.setVolume=W,e.mute=K,e.unmute=O,e.getRegisteredAnimations=p,e}(),BezierFactory=function(){var e={};e.getBezierEasing=r;var t={};function r(u,g,S,T,M){var k=M||("bez_"+u+"_"+g+"_"+S+"_"+T).replace(/\./g,"p");if(t[k])return t[k];var _=new d([u,g,S,T]);return t[k]=_,_}var i=4,a=.001,s=1e-7,n=10,o=11,l=1/(o-1),p=typeof Float32Array=="function";function y(u,g){return 1-3*g+3*u}function b(u,g){return 3*g-6*u}function f(u){return 3*u}function P(u,g,S){return((y(g,S)*u+b(g,S))*u+f(g))*u}function A(u,g,S){return 3*y(g,S)*u*u+2*b(g,S)*u+f(g)}function m(u,g,S,T,M){var k,_,L=0;do _=g+(S-g)/2,k=P(_,T,M)-u,k>0?S=_:g=_;while(Math.abs(k)>s&&++L<n);return _}function E(u,g,S,T){for(var M=0;M<i;++M){var k=A(g,S,T);if(k===0)return g;var _=P(g,S,T)-u;g-=_/k}return g}function d(u){this._p=u,this._mSampleValues=p?new Float32Array(o):new Array(o),this._precomputed=!1,this.get=this.get.bind(this)}return d.prototype={get:function(g){var S=this._p[0],T=this._p[1],M=this._p[2],k=this._p[3];return this._precomputed||this._precompute(),S===T&&M===k?g:g===0?0:g===1?1:P(this._getTForX(g),T,k)},_precompute:function(){var g=this._p[0],S=this._p[1],T=this._p[2],M=this._p[3];this._precomputed=!0,(g!==S||T!==M)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],S=this._p[2],T=0;T<o;++T)this._mSampleValues[T]=P(T*l,g,S)},_getTForX:function(g){for(var S=this._p[0],T=this._p[2],M=this._mSampleValues,k=0,_=1,L=o-1;_!==L&&M[_]<=g;++_)k+=l;--_;var U=(g-M[_])/(M[_+1]-M[_]),H=k+U*l,R=A(H,S,T);return R>=a?E(g,H,S,T):R===0?H:m(g,k,k+l,S,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,a=e,s=createSizedArray(a),n={newElement:o,release:l};function o(){var p;return i?(i-=1,p=s[i]):p=t(),p}function l(p){i===a&&(s=pooling.double(s),a*=2),r&&r(p),s[i]=p,i+=1}return n}}(),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,a=r.lengths.length;for(i=0;i<a;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(f,P,A,m,E,d){var u=f*m+P*E+A*d-E*m-d*f-A*P;return u>-.001&&u<.001}function r(f,P,A,m,E,d,u,g,S){if(A===0&&d===0&&S===0)return t(f,P,m,E,u,g);var T=e.sqrt(e.pow(m-f,2)+e.pow(E-P,2)+e.pow(d-A,2)),M=e.sqrt(e.pow(u-f,2)+e.pow(g-P,2)+e.pow(S-A,2)),k=e.sqrt(e.pow(u-m,2)+e.pow(g-E,2)+e.pow(S-d,2)),_;return T>M?T>k?_=T-M-k:_=k-M-T:k>M?_=k-M-T:_=M-T-k,_>-1e-4&&_<1e-4}var i=function(){return function(f,P,A,m){var E=getDefaultCurveSegments(),d,u,g,S,T,M=0,k,_=[],L=[],U=bezierLengthPool.newElement();for(g=A.length,d=0;d<E;d+=1){for(T=d/(E-1),k=0,u=0;u<g;u+=1)S=bmPow(1-T,3)*f[u]+3*bmPow(1-T,2)*T*A[u]+3*(1-T)*bmPow(T,2)*m[u]+bmPow(T,3)*P[u],_[u]=S,L[u]!==null&&(k+=bmPow(_[u]-L[u],2)),L[u]=_[u];k&&(k=bmSqrt(k),M+=k),U.percents[d]=T,U.lengths[d]=M}return U.addedLength=M,U}}();function a(f){var P=segmentsLengthPool.newElement(),A=f.c,m=f.v,E=f.o,d=f.i,u,g=f._length,S=P.lengths,T=0;for(u=0;u<g-1;u+=1)S[u]=i(m[u],m[u+1],E[u],d[u+1]),T+=S[u].addedLength;return A&&g&&(S[u]=i(m[u],m[0],E[u],d[0]),T+=S[u].addedLength),P.totalLength=T,P}function s(f){this.segmentLength=0,this.points=new Array(f)}function n(f,P){this.partialLength=f,this.point=P}var o=function(){var f={};return function(P,A,m,E){var d=(P[0]+"_"+P[1]+"_"+A[0]+"_"+A[1]+"_"+m[0]+"_"+m[1]+"_"+E[0]+"_"+E[1]).replace(/\./g,"p");if(!f[d]){var u=getDefaultCurveSegments(),g,S,T,M,k,_=0,L,U,H=null;P.length===2&&(P[0]!==A[0]||P[1]!==A[1])&&t(P[0],P[1],A[0],A[1],P[0]+m[0],P[1]+m[1])&&t(P[0],P[1],A[0],A[1],A[0]+E[0],A[1]+E[1])&&(u=2);var R=new s(u);for(T=m.length,g=0;g<u;g+=1){for(U=createSizedArray(T),k=g/(u-1),L=0,S=0;S<T;S+=1)M=bmPow(1-k,3)*P[S]+3*bmPow(1-k,2)*k*(P[S]+m[S])+3*(1-k)*bmPow(k,2)*(A[S]+E[S])+bmPow(k,3)*A[S],U[S]=M,H!==null&&(L+=bmPow(U[S]-H[S],2));L=bmSqrt(L),_+=L,R.points[g]=new n(L,U),H=U}R.segmentLength=_,f[d]=R}return f[d]}}();function l(f,P){var A=P.percents,m=P.lengths,E=A.length,d=bmFloor((E-1)*f),u=f*P.addedLength,g=0;if(d===E-1||d===0||u===m[d])return A[d];for(var S=m[d]>u?-1:1,T=!0;T;)if(m[d]<=u&&m[d+1]>u?(g=(u-m[d])/(m[d+1]-m[d]),T=!1):d+=S,d<0||d>=E-1){if(d===E-1)return A[d];T=!1}return A[d]+(A[d+1]-A[d])*g}function p(f,P,A,m,E,d){var u=l(E,d),g=1-u,S=e.round((g*g*g*f[0]+(u*g*g+g*u*g+g*g*u)*A[0]+(u*u*g+g*u*u+u*g*u)*m[0]+u*u*u*P[0])*1e3)/1e3,T=e.round((g*g*g*f[1]+(u*g*g+g*u*g+g*g*u)*A[1]+(u*u*g+g*u*u+u*g*u)*m[1]+u*u*u*P[1])*1e3)/1e3;return[S,T]}var y=createTypedArray("float32",8);function b(f,P,A,m,E,d,u){E<0?E=0:E>1&&(E=1);var g=l(E,u);d=d>1?1:d;var S=l(d,u),T,M=f.length,k=1-g,_=1-S,L=k*k*k,U=g*k*k*3,H=g*g*k*3,R=g*g*g,W=k*k*_,K=g*k*_+k*g*_+k*k*S,O=g*g*_+k*g*S+g*k*S,I=g*g*S,F=k*_*_,C=g*_*_+k*S*_+k*_*S,x=g*S*_+k*S*S+g*_*S,D=g*S*S,V=_*_*_,$=S*_*_+_*S*_+_*_*S,B=S*S*_+_*S*S+S*_*S,N=S*S*S;for(T=0;T<M;T+=1)y[T*4]=e.round((L*f[T]+U*A[T]+H*m[T]+R*P[T])*1e3)/1e3,y[T*4+1]=e.round((W*f[T]+K*A[T]+O*m[T]+I*P[T])*1e3)/1e3,y[T*4+2]=e.round((F*f[T]+C*A[T]+x*m[T]+D*P[T])*1e3)/1e3,y[T*4+3]=e.round((V*f[T]+$*A[T]+B*m[T]+N*P[T])*1e3)/1e3;return y}return{getSegmentsLength:a,getNewSegment:b,getPointInSegment:p,buildBezierData:o,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 a=t.lastIndex,s=a,n=this.keyframes.length-1,o=!0,l,p,y;o;){if(l=this.keyframes[s],p=this.keyframes[s+1],s===n-1&&e>=p.t-r){l.h&&(l=p),a=0;break}if(p.t-r>e){a=s;break}s<n-1?s+=1:(a=0,o=!1)}y=this.keyframesMetadata[s]||{};var b,f,P,A,m,E,d=p.t-r,u=l.t-r,g;if(l.to){y.bezierData||(y.bezierData=bez.buildBezierData(l.s,p.s||l.e,l.to,l.ti));var S=y.bezierData;if(e>=d||e<u){var T=e>=d?S.points.length-1:0;for(f=S.points[T].point.length,b=0;b<f;b+=1)i[b]=S.points[T].point[b]}else{y.__fnct?E=y.__fnct:(E=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,y.__fnct=E),P=E((e-u)/(d-u));var M=S.segmentLength*P,k,_=t.lastFrame<e&&t._lastKeyframeIndex===s?t._lastAddedLength:0;for(m=t.lastFrame<e&&t._lastKeyframeIndex===s?t._lastPoint:0,o=!0,A=S.points.length;o;){if(_+=S.points[m].partialLength,M===0||P===0||m===S.points.length-1){for(f=S.points[m].point.length,b=0;b<f;b+=1)i[b]=S.points[m].point[b];break}else if(M>=_&&M<_+S.points[m+1].partialLength){for(k=(M-_)/S.points[m+1].partialLength,f=S.points[m].point.length,b=0;b<f;b+=1)i[b]=S.points[m].point[b]+(S.points[m+1].point[b]-S.points[m].point[b])*k;break}m<A-1?m+=1:o=!1}t._lastPoint=m,t._lastAddedLength=_-S.points[m].partialLength,t._lastKeyframeIndex=s}}else{var L,U,H,R,W;if(n=l.s.length,g=p.s||l.e,this.sh&&l.h!==1)if(e>=d)i[0]=g[0],i[1]=g[1],i[2]=g[2];else if(e<=u)i[0]=l.s[0],i[1]=l.s[1],i[2]=l.s[2];else{var K=createQuaternion(l.s),O=createQuaternion(g),I=(e-u)/(d-u);quaternionToEuler(i,slerp(K,O,I))}else for(s=0;s<n;s+=1)l.h!==1&&(e>=d?P=1:e<u?P=0:(l.o.x.constructor===Array?(y.__fnct||(y.__fnct=[]),y.__fnct[s]?E=y.__fnct[s]:(L=l.o.x[s]===void 0?l.o.x[0]:l.o.x[s],U=l.o.y[s]===void 0?l.o.y[0]:l.o.y[s],H=l.i.x[s]===void 0?l.i.x[0]:l.i.x[s],R=l.i.y[s]===void 0?l.i.y[0]:l.i.y[s],E=BezierFactory.getBezierEasing(L,U,H,R).get,y.__fnct[s]=E)):y.__fnct?E=y.__fnct:(L=l.o.x,U=l.o.y,H=l.i.x,R=l.i.y,E=BezierFactory.getBezierEasing(L,U,H,R).get,l.keyframeMetadata=E),P=E((e-u)/(d-u)))),g=p.s||l.e,W=l.h===1?l.s[s]:l.s[s]+(g[s]-l.s[s])*P,this.propType==="multidimensional"?i[s]=W:i=W}return t.lastIndex=a,i}function slerp(e,t,r){var i=[],a=e[0],s=e[1],n=e[2],o=e[3],l=t[0],p=t[1],y=t[2],b=t[3],f,P,A,m,E;return P=a*l+s*p+n*y+o*b,P<0&&(P=-P,l=-l,p=-p,y=-y,b=-b),1-P>1e-6?(f=Math.acos(P),A=Math.sin(f),m=Math.sin((1-r)*f)/A,E=Math.sin(r*f)/A):(m=1-r,E=r),i[0]=m*a+E*l,i[1]=m*s+E*p,i[2]=m*n+E*y,i[3]=m*o+E*b,i}function quaternionToEuler(e,t){var r=t[0],i=t[1],a=t[2],s=t[3],n=Math.atan2(2*i*s-2*r*a,1-2*i*i-2*a*a),o=Math.asin(2*r*i+2*a*s),l=Math.atan2(2*r*s-2*i*a,1-2*r*r-2*a*a);e[0]=n/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,i=e[2]*degToRads,a=Math.cos(t/2),s=Math.cos(r/2),n=Math.cos(i/2),o=Math.sin(t/2),l=Math.sin(r/2),p=Math.sin(i/2),y=a*s*n-o*l*p,b=o*l*n+a*s*p,f=o*s*n+a*l*p,P=a*l*n-o*s*p;return[b,f,P,y]}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 a,s=t.k.length;for(this.v=createTypedArray("float32",s),this.pv=createTypedArray("float32",s),this.vel=createTypedArray("float32",s),a=0;a<s;a+=1)this.v[a]=t.k[a]*this.mult,this.pv[a]=t.k[a];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 a,s=t.k.length,n,o,l,p;for(a=0;a<s-1;a+=1)t.k[a].to&&t.k[a].s&&t.k[a+1]&&t.k[a+1].s&&(n=t.k[a].s,o=t.k[a+1].s,l=t.k[a].to,p=t.k[a].ti,(n.length===2&&!(n[0]===o[0]&&n[1]===o[1])&&bez.pointOnLine2D(n[0],n[1],o[0],o[1],n[0]+l[0],n[1]+l[1])&&bez.pointOnLine2D(n[0],n[1],o[0],o[1],o[0]+p[0],o[1]+p[1])||n.length===3&&!(n[0]===o[0]&&n[1]===o[1]&&n[2]===o[2])&&bez.pointOnLine3D(n[0],n[1],n[2],o[0],o[1],o[2],n[0]+l[0],n[1]+l[1],n[2]+l[2])&&bez.pointOnLine3D(n[0],n[1],n[2],o[0],o[1],o[2],o[0]+p[0],o[1]+p[1],o[2]+p[2]))&&(t.k[a].to=null,t.k[a].ti=null),n[0]===o[0]&&n[1]===o[1]&&l[0]===0&&l[1]===0&&p[0]===0&&p[1]===0&&(n.length===2||n[2]===o[2]&&l[2]===0&&p[2]===0)&&(t.k[a].to=null,t.k[a].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 y=t.k[0].s.length;for(this.v=createTypedArray("float32",y),this.pv=createTypedArray("float32",y),a=0;a<y;a+=1)this.v[a]=initFrame,this.pv[a]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",y)},this.addEffect=addEffect}var PropertyFactory=function(){function e(r,i,a,s,n){i.sid&&(i=r.globalData.slotManager.getProp(i));var o;if(!i.k.length)o=new ValueProperty(r,i,s,n);else if(typeof i.k[0]=="number")o=new MultiDimensionalProperty(r,i,s,n);else switch(a){case 0:o=new KeyframedValueProperty(r,i,s,n);break;case 1:o=new KeyframedMultidimensionalProperty(r,i,s,n);break}return o.effectsSequence.length&&n.addDynamicProperty(o),o}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,r=this.dynamicProperties.length;for(t=0;t<r;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,i,a){var s;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":s=this.v;break;case"i":s=this.i;break;case"o":s=this.o;break;default:s=[];break}(!s[i]||s[i]&&!a)&&(s[i]=pointPool.newElement()),s[i][0]=e,s[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,a,s,n,o){this.setXYAt(e,t,"v",n,o),this.setXYAt(r,i,"o",n,o),this.setXYAt(a,s,"i",n,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,a=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),a=1);var s=this._length-1,n=this._length,o;for(o=a;o<n;o+=1)e.setTripleAt(t[s][0],t[s][1],i[s][0],i[s][1],r[s][0],r[s][1],o,!1),s-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(a){var s=a._length,n;for(n=0;n<s;n+=1)pointPool.release(a.v[n]),pointPool.release(a.i[n]),pointPool.release(a.o[n]),a.v[n]=null,a.i[n]=null,a.o[n]=null;a._length=0,a.c=!1}function r(a){var s=i.newElement(),n,o=a._length===void 0?a.v.length:a._length;for(s.setLength(o),s.c=a.c,n=0;n<o;n+=1)s.setTripleAt(a.v[n][0],a.v[n][1],a.o[n][0],a.o[n][1],a.i[n][0],a.i[n][1],n);return s}var i=poolFactory(4,e,t);return i.clone=r,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:a,release:s},t=0,r=4,i=createSizedArray(r);function a(){var n;return t?(t-=1,n=i[t]):n=new ShapeCollection,n}function s(n){var o,l=n._length;for(o=0;o<l;o+=1)shapePool.release(n.shapes[o]);n._length=0,t===r&&(i=pooling.double(i),r*=2),i[t]=n,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(d,u,g){var S=g.lastIndex,T,M,k,_,L,U,H,R,W,K=this.keyframes;if(d<K[0].t-this.offsetTime)T=K[0].s[0],k=!0,S=0;else if(d>=K[K.length-1].t-this.offsetTime)T=K[K.length-1].s?K[K.length-1].s[0]:K[K.length-2].e[0],k=!0;else{for(var O=S,I=K.length-1,F=!0,C,x,D;F&&(C=K[O],x=K[O+1],!(x.t-this.offsetTime>d));)O<I-1?O+=1:F=!1;if(D=this.keyframesMetadata[O]||{},k=C.h===1,S=O,!k){if(d>=x.t-this.offsetTime)R=1;else if(d<C.t-this.offsetTime)R=0;else{var V;D.__fnct?V=D.__fnct:(V=BezierFactory.getBezierEasing(C.o.x,C.o.y,C.i.x,C.i.y).get,D.__fnct=V),R=V((d-(C.t-this.offsetTime))/(x.t-this.offsetTime-(C.t-this.offsetTime)))}M=x.s?x.s[0]:C.e[0]}T=C.s[0]}for(U=u._length,H=T.i[0].length,g.lastIndex=S,_=0;_<U;_+=1)for(L=0;L<H;L+=1)W=k?T.i[_][L]:T.i[_][L]+(M.i[_][L]-T.i[_][L])*R,u.i[_][L]=W,W=k?T.o[_][L]:T.o[_][L]+(M.o[_][L]-T.o[_][L])*R,u.o[_][L]=W,W=k?T.v[_][L]:T.v[_][L]+(M.v[_][L]-T.v[_][L])*R,u.v[_][L]=W}function r(){var d=this.comp.renderedFrame-this.offsetTime,u=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<u&&d<u||S>g&&d>g)||(this._caching.lastIndex=S<d?this._caching.lastIndex:0,this.interpolateShape(d,this.pv,this._caching)),this._caching.lastFrame=d,this.pv}function i(){this.paths=this.localShapeCollection}function a(d,u){if(d._length!==u._length||d.c!==u.c)return!1;var g,S=d._length;for(g=0;g<S;g+=1)if(d.v[g][0]!==u.v[g][0]||d.v[g][1]!==u.v[g][1]||d.o[g][0]!==u.o[g][0]||d.o[g][1]!==u.o[g][1]||d.i[g][0]!==u.i[g][0]||d.i[g][1]!==u.i[g][1])return!1;return!0}function s(d){a(this.v,d)||(this.v=shapePool.clone(d),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function n(){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 d;this.kf?d=this.pv:this.data.ks?d=this.data.ks.k:d=this.data.pt.k;var u,g=this.effectsSequence.length;for(u=0;u<g;u+=1)d=this.effectsSequence[u](d);this.setVValue(d),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(d,u,g){this.propType="shape",this.comp=d.comp,this.container=d,this.elem=d,this.data=u,this.k=!1,this.kf=!1,this._mdf=!1;var S=g===3?u.pt.k:u.ks.k;this.v=shapePool.clone(S),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 l(d){this.effectsSequence.push(d),this.container.addDynamicProperty(this)}o.prototype.interpolateShape=t,o.prototype.getValue=n,o.prototype.setVValue=s,o.prototype.addEffect=l;function p(d,u,g){this.propType="shape",this.comp=d.comp,this.elem=d,this.container=d,this.offsetTime=d.data.st,this.keyframes=g===3?u.pt.k:u.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),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)]}p.prototype.getValue=n,p.prototype.interpolateShape=t,p.prototype.setVValue=s,p.prototype.addEffect=l;var y=function(){var d=roundCorner;function u(g,S){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=PropertyFactory.getProp(g,S.p,1,0,this),this.s=PropertyFactory.getProp(g,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return u.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 S=this.p.v[0],T=this.p.v[1],M=this.s.v[0]/2,k=this.s.v[1]/2,_=this.d!==3,L=this.v;L.v[0][0]=S,L.v[0][1]=T-k,L.v[1][0]=_?S+M:S-M,L.v[1][1]=T,L.v[2][0]=S,L.v[2][1]=T+k,L.v[3][0]=_?S-M:S+M,L.v[3][1]=T,L.i[0][0]=_?S-M*d:S+M*d,L.i[0][1]=T-k,L.i[1][0]=_?S+M:S-M,L.i[1][1]=T-k*d,L.i[2][0]=_?S+M*d:S-M*d,L.i[2][1]=T+k,L.i[3][0]=_?S-M:S+M,L.i[3][1]=T+k*d,L.o[0][0]=_?S+M*d:S-M*d,L.o[0][1]=T-k,L.o[1][0]=_?S+M:S-M,L.o[1][1]=T+k*d,L.o[2][0]=_?S-M*d:S+M*d,L.o[2][1]=T+k,L.o[3][0]=_?S-M:S+M,L.o[3][1]=T-k*d}},extendPrototype([DynamicPropertyContainer],u),u}(),b=function(){function d(u,g){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=u,this.comp=u.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(u),g.sy===1?(this.ir=PropertyFactory.getProp(u,g.ir,0,0,this),this.is=PropertyFactory.getProp(u,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(u,g.pt,0,0,this),this.p=PropertyFactory.getProp(u,g.p,1,0,this),this.r=PropertyFactory.getProp(u,g.r,0,degToRads,this),this.or=PropertyFactory.getProp(u,g.or,0,0,this),this.os=PropertyFactory.getProp(u,g.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return d.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var g=Math.floor(this.pt.v)*2,S=Math.PI*2/g,T=!0,M=this.or.v,k=this.ir.v,_=this.os.v,L=this.is.v,U=2*Math.PI*M/(g*2),H=2*Math.PI*k/(g*2),R,W,K,O,I=-Math.PI/2;I+=this.r.v;var F=this.data.d===3?-1:1;for(this.v._length=0,R=0;R<g;R+=1){W=T?M:k,K=T?_:L,O=T?U:H;var C=W*Math.cos(I),x=W*Math.sin(I),D=C===0&&x===0?0:x/Math.sqrt(C*C+x*x),V=C===0&&x===0?0:-C/Math.sqrt(C*C+x*x);C+=+this.p.v[0],x+=+this.p.v[1],this.v.setTripleAt(C,x,C-D*O*K*F,x-V*O*K*F,C+D*O*K*F,x+V*O*K*F,R,!0),T=!T,I+=S*F}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),S=Math.PI*2/g,T=this.or.v,M=this.os.v,k=2*Math.PI*T/(g*4),_,L=-Math.PI*.5,U=this.data.d===3?-1:1;for(L+=this.r.v,this.v._length=0,_=0;_<g;_+=1){var H=T*Math.cos(L),R=T*Math.sin(L),W=H===0&&R===0?0:R/Math.sqrt(H*H+R*R),K=H===0&&R===0?0:-H/Math.sqrt(H*H+R*R);H+=+this.p.v[0],R+=+this.p.v[1],this.v.setTripleAt(H,R,H-W*k*M*U,R-K*k*M*U,H+W*k*M*U,R+K*k*M*U,_,!0),L+=S*U}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],d),d}(),f=function(){function d(u,g){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=u,this.comp=u.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(u),this.p=PropertyFactory.getProp(u,g.p,1,0,this),this.s=PropertyFactory.getProp(u,g.s,1,0,this),this.r=PropertyFactory.getProp(u,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return d.prototype={convertRectToPath:function(){var g=this.p.v[0],S=this.p.v[1],T=this.s.v[0]/2,M=this.s.v[1]/2,k=bmMin(T,M,this.r.v),_=k*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+T,S-M+k,g+T,S-M+k,g+T,S-M+_,0,!0),this.v.setTripleAt(g+T,S+M-k,g+T,S+M-_,g+T,S+M-k,1,!0),k!==0?(this.v.setTripleAt(g+T-k,S+M,g+T-k,S+M,g+T-_,S+M,2,!0),this.v.setTripleAt(g-T+k,S+M,g-T+_,S+M,g-T+k,S+M,3,!0),this.v.setTripleAt(g-T,S+M-k,g-T,S+M-k,g-T,S+M-_,4,!0),this.v.setTripleAt(g-T,S-M+k,g-T,S-M+_,g-T,S-M+k,5,!0),this.v.setTripleAt(g-T+k,S-M,g-T+k,S-M,g-T+_,S-M,6,!0),this.v.setTripleAt(g+T-k,S-M,g+T-_,S-M,g+T-k,S-M,7,!0)):(this.v.setTripleAt(g-T,S+M,g-T+_,S+M,g-T,S+M,2),this.v.setTripleAt(g-T,S-M,g-T,S-M+_,g-T,S-M,3))):(this.v.setTripleAt(g+T,S-M+k,g+T,S-M+_,g+T,S-M+k,0,!0),k!==0?(this.v.setTripleAt(g+T-k,S-M,g+T-k,S-M,g+T-_,S-M,1,!0),this.v.setTripleAt(g-T+k,S-M,g-T+_,S-M,g-T+k,S-M,2,!0),this.v.setTripleAt(g-T,S-M+k,g-T,S-M+k,g-T,S-M+_,3,!0),this.v.setTripleAt(g-T,S+M-k,g-T,S+M-_,g-T,S+M-k,4,!0),this.v.setTripleAt(g-T+k,S+M,g-T+k,S+M,g-T+_,S+M,5,!0),this.v.setTripleAt(g+T-k,S+M,g+T-_,S+M,g+T-k,S+M,6,!0),this.v.setTripleAt(g+T,S+M-k,g+T,S+M-k,g+T,S+M-_,7,!0)):(this.v.setTripleAt(g-T,S-M,g-T+_,S-M,g-T,S-M,1,!0),this.v.setTripleAt(g-T,S+M,g-T,S+M-_,g-T,S+M,2,!0),this.v.setTripleAt(g+T,S+M,g+T-_,S+M,g+T,S+M,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],d),d}();function P(d,u,g){var S;if(g===3||g===4){var T=g===3?u.pt:u.ks,M=T.k;M.length?S=new p(d,u,g):S=new o(d,u,g)}else g===5?S=new f(d,u):g===6?S=new y(d,u):g===7&&(S=new b(d,u));return S.k&&d.addDynamicProperty(S),S}function A(){return o}function m(){return p}var E={};return E.getShapeProp=P,E.getConstructorFunction=A,E.getKeyframedConstructorFunction=m,E}();/*!
- Transformation Matrix v2.0
- (c) Epistemex 2014-2015
- www.epistemex.com
- By Ken Fyrstenberg
- Contributions by leeoniya.
- License: MIT, header required.
- */var Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,i=Math.round;function a(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function s(C){if(C===0)return this;var x=e(C),D=t(C);return this._t(x,-D,0,0,D,x,0,0,0,0,1,0,0,0,0,1)}function n(C){if(C===0)return this;var x=e(C),D=t(C);return this._t(1,0,0,0,0,x,-D,0,0,D,x,0,0,0,0,1)}function o(C){if(C===0)return this;var x=e(C),D=t(C);return this._t(x,0,D,0,0,1,0,0,-D,0,x,0,0,0,0,1)}function l(C){if(C===0)return this;var x=e(C),D=t(C);return this._t(x,-D,0,0,D,x,0,0,0,0,1,0,0,0,0,1)}function p(C,x){return this._t(1,x,C,1,0,0)}function y(C,x){return this.shear(r(C),r(x))}function b(C,x){var D=e(x),V=t(x);return this._t(D,V,0,0,-V,D,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(C),1,0,0,0,0,1,0,0,0,0,1)._t(D,-V,0,0,V,D,0,0,0,0,1,0,0,0,0,1)}function f(C,x,D){return!D&&D!==0&&(D=1),C===1&&x===1&&D===1?this:this._t(C,0,0,0,0,x,0,0,0,0,D,0,0,0,0,1)}function P(C,x,D,V,$,B,N,q,Y,re,se,ie,X,ae,oe,Z){return this.props[0]=C,this.props[1]=x,this.props[2]=D,this.props[3]=V,this.props[4]=$,this.props[5]=B,this.props[6]=N,this.props[7]=q,this.props[8]=Y,this.props[9]=re,this.props[10]=se,this.props[11]=ie,this.props[12]=X,this.props[13]=ae,this.props[14]=oe,this.props[15]=Z,this}function A(C,x,D){return D=D||0,C!==0||x!==0||D!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,C,x,D,1):this}function m(C,x,D,V,$,B,N,q,Y,re,se,ie,X,ae,oe,Z){var G=this.props;if(C===1&&x===0&&D===0&&V===0&&$===0&&B===1&&N===0&&q===0&&Y===0&&re===0&&se===1&&ie===0)return G[12]=G[12]*C+G[15]*X,G[13]=G[13]*B+G[15]*ae,G[14]=G[14]*se+G[15]*oe,G[15]*=Z,this._identityCalculated=!1,this;var J=G[0],ee=G[1],le=G[2],ve=G[3],ge=G[4],pe=G[5],ce=G[6],ue=G[7],z=G[8],j=G[9],Q=G[10],te=G[11],ne=G[12],he=G[13],de=G[14],fe=G[15];return G[0]=J*C+ee*$+le*Y+ve*X,G[1]=J*x+ee*B+le*re+ve*ae,G[2]=J*D+ee*N+le*se+ve*oe,G[3]=J*V+ee*q+le*ie+ve*Z,G[4]=ge*C+pe*$+ce*Y+ue*X,G[5]=ge*x+pe*B+ce*re+ue*ae,G[6]=ge*D+pe*N+ce*se+ue*oe,G[7]=ge*V+pe*q+ce*ie+ue*Z,G[8]=z*C+j*$+Q*Y+te*X,G[9]=z*x+j*B+Q*re+te*ae,G[10]=z*D+j*N+Q*se+te*oe,G[11]=z*V+j*q+Q*ie+te*Z,G[12]=ne*C+he*$+de*Y+fe*X,G[13]=ne*x+he*B+de*re+fe*ae,G[14]=ne*D+he*N+de*se+fe*oe,G[15]=ne*V+he*q+de*ie+fe*Z,this._identityCalculated=!1,this}function E(C){var x=C.props;return this.transform(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15])}function d(){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 u(C){for(var x=0;x<16;){if(C.props[x]!==this.props[x])return!1;x+=1}return!0}function g(C){var x;for(x=0;x<16;x+=1)C.props[x]=this.props[x];return C}function S(C){var x;for(x=0;x<16;x+=1)this.props[x]=C[x]}function T(C,x,D){return{x:C*this.props[0]+x*this.props[4]+D*this.props[8]+this.props[12],y:C*this.props[1]+x*this.props[5]+D*this.props[9]+this.props[13],z:C*this.props[2]+x*this.props[6]+D*this.props[10]+this.props[14]}}function M(C,x,D){return C*this.props[0]+x*this.props[4]+D*this.props[8]+this.props[12]}function k(C,x,D){return C*this.props[1]+x*this.props[5]+D*this.props[9]+this.props[13]}function _(C,x,D){return C*this.props[2]+x*this.props[6]+D*this.props[10]+this.props[14]}function L(){var C=this.props[0]*this.props[5]-this.props[1]*this.props[4],x=this.props[5]/C,D=-this.props[1]/C,V=-this.props[4]/C,$=this.props[0]/C,B=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/C,N=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/C,q=new Matrix;return q.props[0]=x,q.props[1]=D,q.props[4]=V,q.props[5]=$,q.props[12]=B,q.props[13]=N,q}function U(C){var x=this.getInverseMatrix();return x.applyToPointArray(C[0],C[1],C[2]||0)}function H(C){var x,D=C.length,V=[];for(x=0;x<D;x+=1)V[x]=U(C[x]);return V}function R(C,x,D){var V=createTypedArray("float32",6);if(this.isIdentity())V[0]=C[0],V[1]=C[1],V[2]=x[0],V[3]=x[1],V[4]=D[0],V[5]=D[1];else{var $=this.props[0],B=this.props[1],N=this.props[4],q=this.props[5],Y=this.props[12],re=this.props[13];V[0]=C[0]*$+C[1]*N+Y,V[1]=C[0]*B+C[1]*q+re,V[2]=x[0]*$+x[1]*N+Y,V[3]=x[0]*B+x[1]*q+re,V[4]=D[0]*$+D[1]*N+Y,V[5]=D[0]*B+D[1]*q+re}return V}function W(C,x,D){var V;return this.isIdentity()?V=[C,x,D]:V=[C*this.props[0]+x*this.props[4]+D*this.props[8]+this.props[12],C*this.props[1]+x*this.props[5]+D*this.props[9]+this.props[13],C*this.props[2]+x*this.props[6]+D*this.props[10]+this.props[14]],V}function K(C,x){if(this.isIdentity())return C+","+x;var D=this.props;return Math.round((C*D[0]+x*D[4]+D[12])*100)/100+","+Math.round((C*D[1]+x*D[5]+D[13])*100)/100}function O(){for(var C=0,x=this.props,D="matrix3d(",V=1e4;C<16;)D+=i(x[C]*V)/V,D+=C===15?")":",",C+=1;return D}function I(C){var x=1e4;return C<1e-6&&C>0||C>-1e-6&&C<0?i(C*x)/x:C}function F(){var C=this.props,x=I(C[0]),D=I(C[1]),V=I(C[4]),$=I(C[5]),B=I(C[12]),N=I(C[13]);return"matrix("+x+","+D+","+V+","+$+","+B+","+N+")"}return function(){this.reset=a,this.rotate=s,this.rotateX=n,this.rotateY=o,this.rotateZ=l,this.skew=y,this.skewFromAxis=b,this.shear=p,this.scale=f,this.setTransform=P,this.translate=A,this.transform=m,this.multiply=E,this.applyToPoint=T,this.applyToX=M,this.applyToY=k,this.applyToZ=_,this.applyToPointArray=W,this.applyToTriplePoints=R,this.applyToPointStringified=K,this.toCSS=O,this.to2dCSS=F,this.clone=g,this.cloneFromProps=S,this.equals=u,this.inversePoints=H,this.inversePoint=U,this.getInverseMatrix=L,this._t=this.transform,this.isIdentity=d,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(a,s){t[a]||(t[a]=s)}function i(a,s,n){return new t[a](s,n)}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,a){var s=[];t<=1?s.push({s:e,e:t}):e>=1?s.push({s:e-1,e:t-1}):(s.push({s:e,e:1}),s.push({s:0,e:t-1}));var n=[],o,l=s.length,p;for(o=0;o<l;o+=1)if(p=s[o],!(p.e*a<i||p.s*a>i+r)){var y,b;p.s*a<=i?y=0:y=(p.s*a-i)/r,p.e*a>=i+r?b=1:b=(p.e*a-i)/r,n.push([y,b])}return n.length||n.push([0,0]),n},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 a=t;t=r,r=a}t=Math.round(t*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var s,n,o=this.shapes.length,l,p,y,b,f,P=0;if(r===t)for(n=0;n<o;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(r===1&&t===0||r===0&&t===1){if(this._mdf)for(n=0;n<o;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var A=[],m,E;for(n=0;n<o;n+=1)if(m=this.shapes[n],!m.shape._mdf&&!this._mdf&&!e&&this.m!==2)m.shape.paths=m.localShapeCollection;else{if(s=m.shape.paths,p=s._length,f=0,!m.shape._mdf&&m.pathsData.length)f=m.totalShapeLength;else{for(y=this.releasePathsData(m.pathsData),l=0;l<p;l+=1)b=bez.getSegmentsLength(s.shapes[l]),y.push(b),f+=b.totalLength;m.totalShapeLength=f,m.pathsData=y}P+=f,m.shape._mdf=!0}var d=t,u=r,g=0,S;for(n=o-1;n>=0;n-=1)if(m=this.shapes[n],m.shape._mdf){for(E=m.localShapeCollection,E.releaseShapes(),this.m===2&&o>1?(S=this.calculateShapeEdges(t,r,m.totalShapeLength,g,P),g+=m.totalShapeLength):S=[[d,u]],p=S.length,l=0;l<p;l+=1){d=S[l][0],u=S[l][1],A.length=0,u<=1?A.push({s:m.totalShapeLength*d,e:m.totalShapeLength*u}):d>=1?A.push({s:m.totalShapeLength*(d-1),e:m.totalShapeLength*(u-1)}):(A.push({s:m.totalShapeLength*d,e:m.totalShapeLength}),A.push({s:0,e:m.totalShapeLength*(u-1)}));var T=this.addShapes(m,A[0]);if(A[0].s!==A[0].e){if(A.length>1){var M=m.shape.paths.shapes[m.shape.paths._length-1];if(M.c){var k=T.pop();this.addPaths(T,E),T=this.addShapes(m,A[1],k)}else this.addPaths(T,E),T=this.addShapes(m,A[1])}this.addPaths(T,E)}}m.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,a,s,n){a.setXYAt(t[0],t[1],"o",s),a.setXYAt(r[0],r[1],"i",s+1),n&&a.setXYAt(e[0],e[1],"v",s),a.setXYAt(i[0],i[1],"v",s+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,i){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),i&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var i=e.pathsData,a=e.shape.paths.shapes,s,n=e.shape.paths._length,o,l,p=0,y,b,f,P,A=[],m,E=!0;for(r?(b=r._length,m=r._length):(r=shapePool.newElement(),b=0,m=0),A.push(r),s=0;s<n;s+=1){for(f=i[s].lengths,r.c=a[s].c,l=a[s].c?f.length:f.length+1,o=1;o<l;o+=1)if(y=f[o-1],p+y.addedLength<t.s)p+=y.addedLength,r.c=!1;else if(p>t.e){r.c=!1;break}else t.s<=p&&t.e>=p+y.addedLength?(this.addSegment(a[s].v[o-1],a[s].o[o-1],a[s].i[o],a[s].v[o],r,b,E),E=!1):(P=bez.getNewSegment(a[s].v[o-1],a[s].v[o],a[s].o[o-1],a[s].i[o],(t.s-p)/y.addedLength,(t.e-p)/y.addedLength,f[o-1]),this.addSegmentFromArray(P,r,b,E),E=!1,r.c=!1),p+=y.addedLength,b+=1;if(a[s].c&&f.length){if(y=f[o-1],p<=t.e){var d=f[o-1].addedLength;t.s<=p&&t.e>=p+d?(this.addSegment(a[s].v[o-1],a[s].o[o-1],a[s].i[0],a[s].v[0],r,b,E),E=!1):(P=bez.getNewSegment(a[s].v[o-1],a[s].v[0],a[s].o[o-1],a[s].i[0],(t.s-p)/d,(t.e-p)/d,f[o-1]),this.addSegmentFromArray(P,r,b,E),E=!1,r.c=!1)}else r.c=!1;p+=y.addedLength,b+=1}if(r._length&&(r.setXYAt(r.v[m][0],r.v[m][1],"i",m),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),p>t.e)break;s<n-1&&(r=shapePool.newElement(),E=!0,A.push(r),b=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],a=e._length,s=0;for(s=0;s<a;s+=1)i[0]+=e.v[s][0],i[1]+=e.v[s][1];i[0]/=a,i[1]/=a;var n=shapePool.newElement();n.c=e.c;var o,l,p,y,b,f;for(s=0;s<a;s+=1)o=e.v[s][0]+(i[0]-e.v[s][0])*r,l=e.v[s][1]+(i[1]-e.v[s][1])*r,p=e.o[s][0]+(i[0]-e.o[s][0])*-r,y=e.o[s][1]+(i[1]-e.o[s][1])*-r,b=e.i[s][0]+(i[0]-e.i[s][0])*-r,f=e.i[s][1]+(i[1]-e.i[s][1])*-r,n.setTripleAt(o,l,p,y,b,f,s);return n},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,a,s,n=this.amount.v;if(n!==0){var o,l;for(r=0;r<i;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,s=o.shape.paths._length,a=0;a<s;a+=1)l.addShape(this.processPath(t[a],n));o.shape.paths=o.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(l){var p=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||p,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var p;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 y,b;if(p=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(y=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/p,0),b=this.p.getValueAtTime(this.p.keyframes[0].t/p,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(y=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/p,0),b=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/p,0)):(y=this.p.pv,b=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/p,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){y=[],b=[];var f=this.px,P=this.py;f._caching.lastFrame+f.offsetTime<=f.keyframes[0].t?(y[0]=f.getValueAtTime((f.keyframes[0].t+.01)/p,0),y[1]=P.getValueAtTime((P.keyframes[0].t+.01)/p,0),b[0]=f.getValueAtTime(f.keyframes[0].t/p,0),b[1]=P.getValueAtTime(P.keyframes[0].t/p,0)):f._caching.lastFrame+f.offsetTime>=f.keyframes[f.keyframes.length-1].t?(y[0]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/p,0),y[1]=P.getValueAtTime(P.keyframes[P.keyframes.length-1].t/p,0),b[0]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/p,0),b[1]=P.getValueAtTime((P.keyframes[P.keyframes.length-1].t-.01)/p,0)):(y=[f.pv,P.pv],b[0]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/p,f.offsetTime),b[1]=P.getValueAtTime((P._caching.lastFrame+P.offsetTime-.01)/p,P.offsetTime))}else b=e,y=b;this.v.rotate(-Math.atan2(y[1]-b[1],y[0]-b[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 a(){}function s(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function n(l,p,y){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=p,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(y||l),p.p&&p.p.s?(this.px=PropertyFactory.getProp(l,p.p.x,0,0,this),this.py=PropertyFactory.getProp(l,p.p.y,0,0,this),p.p.z&&(this.pz=PropertyFactory.getProp(l,p.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,p.p||{k:[0,0,0]},1,0,this),p.rx){if(this.rx=PropertyFactory.getProp(l,p.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,p.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,p.rz,0,degToRads,this),p.or.k[0].ti){var b,f=p.or.k.length;for(b=0;b<f;b+=1)p.or.k[b].to=null,p.or.k[b].ti=null}this.or=PropertyFactory.getProp(l,p.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,p.r||{k:0},0,degToRads,this);p.sk&&(this.sk=PropertyFactory.getProp(l,p.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,p.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,p.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,p.s||{k:[100,100,100]},1,.01,this),p.o?this.o=PropertyFactory.getProp(l,p.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}n.prototype={applyToMatrix:t,getValue:r,precalculateMatrix:i,autoOrient:a},extendPrototype([DynamicPropertyContainer],n),n.prototype.addDynamicProperty=s,n.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function o(l,p,y){return new n(l,p,y)}return{getTransformProperty:o}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,i,a,s){var n=s?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-a),l=i.s.v[1]+(1-i.s.v[1])*(1-a);e.translate(i.p.v[0]*n*a,i.p.v[1]*n*a,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*n*a),t.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(s?1/o:o,s?1/l:l),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,a,s,n=!1;if(this._mdf||e){var o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),n=!0}s=0;var p;for(i=0;i<=this._groups.length-1;i+=1){if(p=s<o,this._groups[i]._render=p,this.changeGroupRender(this._groups[i].it,p),!p){var y=this.elemsData[i].it,b=y[y.length-1];b.transform.op.v!==0?(b.transform.op._mdf=!0,b.transform.op.v=0):b.transform.op._mdf=!1}s+=1}this._currentCopies=o;var f=this.o.v,P=f%1,A=f>0?Math.floor(f):Math.ceil(f),m=this.pMatrix.props,E=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var u=0;if(f>0){for(;u<A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),u+=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,P,!1),u+=P)}else if(f<0){for(;u>A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),u-=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-P,!0),u-=P)}i=this.data.m===1?0:this._currentCopies-1,a=this.data.m===1?1:-1,s=this._currentCopies;for(var g,S;s;){if(t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,S=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)),u!==0){for((i!==0&&a===1||i!==this._currentCopies-1&&a===-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(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),g=0;g<S;g+=1)r[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<S;g+=1)r[g]=this.matrix.props[g];u+=1,s-=1,i+=a}}else for(s=this._currentCopies,i=0,a=1;s;)t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,s-=1,i+=a;return n},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,a=e._length,s,n,o,l,p,y,b=0,f,P,A,m,E,d;for(i=0;i<a;i+=1)s=e.v[i],o=e.o[i],n=e.i[i],s[0]===o[0]&&s[1]===o[1]&&s[0]===n[0]&&s[1]===n[1]?(i===0||i===a-1)&&!e.c?(r.setTripleAt(s[0],s[1],o[0],o[1],n[0],n[1],b),b+=1):(i===0?l=e.v[a-1]:l=e.v[i-1],p=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),y=p?Math.min(p/2,t)/p:0,E=s[0]+(l[0]-s[0])*y,f=E,d=s[1]-(s[1]-l[1])*y,P=d,A=f-(f-s[0])*roundCorner,m=P-(P-s[1])*roundCorner,r.setTripleAt(f,P,A,m,E,d,b),b+=1,i===a-1?l=e.v[0]:l=e.v[i+1],p=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),y=p?Math.min(p/2,t)/p:0,A=s[0]+(l[0]-s[0])*y,f=A,m=s[1]+(l[1]-s[1])*y,P=m,E=f-(f-s[0])*roundCorner,d=P-(P-s[1])*roundCorner,r.setTripleAt(f,P,A,m,E,d,b),b+=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],b),b+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,a,s,n=this.rd.v;if(n!==0){var o,l;for(r=0;r<i;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,s=o.shape.paths._length,a=0;a<s;a+=1)l.addShape(this.processPath(t[a],n));o.shape.paths=o.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(e===0)return[];var i=t*t-4*e*r;if(i<0)return[];var a=-t/(2*e);if(i===0)return[a];var s=Math.sqrt(i)/(2*e);return[a-s,a+s]}function polynomialCoefficients(e,t,r,i){return[-e+3*t-3*r+i,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,i,a){a&&pointEqual(e,t)&&(t=lerpPoint(e,i,1/3)),a&&pointEqual(r,i)&&(r=lerpPoint(e,i,2/3));var s=polynomialCoefficients(e[0],t[0],r[0],i[0]),n=polynomialCoefficients(e[1],t[1],r[1],i[1]);this.a=[s[0],n[0]],this.b=[s[1],n[1]],this.c=[s[2],n[2]],this.d=[s[3],n[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(a){return a>0&&a<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),a=lerpPoint(t,r,e),s=lerpPoint(r,i,e),n=lerpPoint(a,s,e);return[new PolynomialBezier(this.points[0],t,a,n,!0),new PolynomialBezier(n,s,i,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],i=e.points[e.points.length-1][t];if(r>i){var a=i;i=r,r=a}for(var s=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),n=0;n<s.length;n+=1)if(s[n]>0&&s[n]<1){var o=e.point(s[n])[t];o<r?r=o:o>i&&(i=o)}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,a,s){if(boxIntersect(e,t)){if(r>=s||e.width<=i&&e.height<=i&&t.width<=i&&t.height<=i){a.push([e.t,t.t]);return}var n=splitData(e),o=splitData(t);intersectsImpl(n[0],o[0],r+1,i,a,s),intersectsImpl(n[0],o[1],r+1,i,a,s),intersectsImpl(n[1],o[0],r+1,i,a,s),intersectsImpl(n[1],o[1],r+1,i,a,s)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,i,r),i},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,i){var a=[e[0],e[1],1],s=[t[0],t[1],1],n=[r[0],r[1],1],o=[i[0],i[1],1],l=crossProduct(crossProduct(a,s),crossProduct(n,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,r,i,a,s,n){var o=r-Math.PI/2,l=r+Math.PI/2,p=t[0]+Math.cos(r)*i*a,y=t[1]-Math.sin(r)*i*a;e.setTripleAt(p,y,p+Math.cos(o)*s,y-Math.sin(o)*s,p+Math.cos(l)*n,y-Math.sin(l)*n,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],i=-Math.PI*.5,a=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return a}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,i=(t+1)%e.length(),a=e.v[r],s=e.v[i],n=getPerpendicularVector(a,s);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(e,t,r,i,a,s,n){var o=getProjectingAngle(t,r),l=t.v[r%t._length],p=t.v[r===0?t._length-1:r-1],y=t.v[(r+1)%t._length],b=s===2?Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)):0,f=s===2?Math.sqrt(Math.pow(l[0]-y[0],2)+Math.pow(l[1]-y[1],2)):0;setPoint(e,t.v[r%t._length],o,n,i,f/((a+1)*2),b/((a+1)*2))}function zigZagSegment(e,t,r,i,a,s){for(var n=0;n<i;n+=1){var o=(n+1)/(i+1),l=a===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,p=t.normalAngle(o),y=t.point(o);setPoint(e,y,p,s,r,l/((i+1)*2),l/((i+1)*2)),s=-s}return s}ZigZagModifier.prototype.processPath=function(e,t,r,i){var a=e._length,s=shapePool.newElement();if(s.c=e.c,e.c||(a-=1),a===0)return s;var n=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(s,e,0,t,r,i,n);for(var l=0;l<a;l+=1)n=zigZagSegment(s,o,t,r,i,-n),l===a-1&&!e.c?o=null:o=PolynomialBezier.shapeSegment(e,(l+1)%a),zigZagCorner(s,e,l+1,t,r,i,n);return s},ZigZagModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,a,s,n=this.amplitude.v,o=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(n!==0){var p,y;for(r=0;r<i;r+=1){if(p=this.shapes[r],y=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!e))for(y.releaseShapes(),p.shape._mdf=!0,t=p.shape.paths.shapes,s=p.shape.paths._length,a=0;a<s;a+=1)y.addShape(this.processPath(t[a],n,o,l));p.shape.paths=p.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,a,s,n,o,l;l=linearOffset(e.points[0],e.points[1],t),r=l[0],i=l[1],l=linearOffset(e.points[1],e.points[2],t),a=l[0],s=l[1],l=linearOffset(e.points[2],e.points[3],t),n=l[0],o=l[1];var p=lineIntersection(r,i,a,s);p===null&&(p=i);var y=lineIntersection(n,o,a,s);return y===null&&(y=n),new PolynomialBezier(r,p,y,o)}function joinLines(e,t,r,i,a){var s=t.points[3],n=r.points[0];if(i===3||pointEqual(s,n))return s;if(i===2){var o=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,p=lineIntersection(s,polarOffset(s,o+Math.PI/2,100),n,polarOffset(n,o+Math.PI/2,100)),y=p?pointDistance(p,s):pointDistance(s,n)/2,b=polarOffset(s,o,2*y*roundCorner);return e.setXYAt(b[0],b[1],"o",e.length()-1),b=polarOffset(n,l,2*y*roundCorner),e.setTripleAt(n[0],n[1],n[0],n[1],b[0],b[1],e.length()),n}var f=pointEqual(s,t.points[2])?t.points[0]:t.points[2],P=pointEqual(n,r.points[1])?r.points[3]:r.points[1],A=lineIntersection(f,s,n,P);return A&&pointDistance(A,s)<a?(e.setTripleAt(A[0],A[1],A[0],A[1],A[0],A[1],e.length()),A):s}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),i=t.slice(),a=getIntersection(e[e.length-1],t[0]);return a&&(r[e.length-1]=e[e.length-1].split(a[0])[0],i[0]=t[0].split(a[1])[1]),e.length>1&&t.length>1&&(a=getIntersection(e[0],t[t.length-1]),a)?[[e[0].split(a[0])[0]],[t[t.length-1].split(a[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,a,s,n;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return s=e.split(r[0]),i=s[0],a=s[1],[offsetSegment(i,t),offsetSegment(a,t)];s=e.split(r[0]),i=s[0];var o=(r[1]-r[0])/(1-r[0]);return s=s[1].split(o),n=s[0],a=s[1],[offsetSegment(i,t),offsetSegment(n,t),offsetSegment(a,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 a=shapePool.newElement();a.c=e.c;var s=e.length();e.c||(s-=1);var n,o,l,p=[];for(n=0;n<s;n+=1)l=PolynomialBezier.shapeSegment(e,n),p.push(offsetSegmentSplit(l,t));if(!e.c)for(n=s-1;n>=0;n-=1)l=PolynomialBezier.shapeSegmentInverted(e,n),p.push(offsetSegmentSplit(l,t));p=pruneIntersections(p);var y=null,b=null;for(n=0;n<p.length;n+=1){var f=p[n];for(b&&(y=joinLines(a,b,f[0],r,i)),b=f[f.length-1],o=0;o<f.length;o+=1)l=f[o],y&&pointEqual(l.points[0],y)?a.setXYAt(l.points[1][0],l.points[1][1],"o",a.length()-1):a.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],a.length()),a.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],a.length()),y=l.points[3]}return p.length&&joinLines(a,b,p[0][0],r,i),a},OffsetPathModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,a,s,n=this.amount.v,o=this.miterLimit.v,l=this.lineJoin;if(n!==0){var p,y;for(r=0;r<i;r+=1){if(p=this.shapes[r],y=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!e))for(y.releaseShapes(),p.shape._mdf=!0,t=p.shape.paths.shapes,s=p.shape.paths._length,a=0;a<s;a+=1)y.addShape(this.processPath(t[a],n,l,o));p.shape.paths=p.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",i="normal",a=t.length,s,n=0;n<a;n+=1)switch(s=t[n].toLowerCase(),s){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200";break}return{style:i,weight:e.fWeight||r}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=127988,a=917631,s=917601,n=917626,o=65039,l=8205,p=127462,y=127487,b=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(I){var F=I.split(","),C,x=F.length,D=[];for(C=0;C<x;C+=1)F[C]!=="sans-serif"&&F[C]!=="monospace"&&D.push(F[C]);return D.join(",")}function P(I,F){var C=createTag("span");C.setAttribute("aria-hidden",!0),C.style.fontFamily=F;var x=createTag("span");x.innerText="giItT1WQy@!-/#",C.style.position="absolute",C.style.left="-10000px",C.style.top="-10000px",C.style.fontSize="300px",C.style.fontVariant="normal",C.style.fontStyle="normal",C.style.fontWeight="normal",C.style.letterSpacing="0",C.appendChild(x),document.body.appendChild(C);var D=x.offsetWidth;return x.style.fontFamily=f(I)+", "+F,{node:x,w:D,parent:C}}function A(){var I,F=this.fonts.length,C,x,D=F;for(I=0;I<F;I+=1)this.fonts[I].loaded?D-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(C=this.fonts[I].monoCase.node,x=this.fonts[I].monoCase.w,C.offsetWidth!==x?(D-=1,this.fonts[I].loaded=!0):(C=this.fonts[I].sansCase.node,x=this.fonts[I].sansCase.w,C.offsetWidth!==x&&(D-=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)));D!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function m(I,F){var C=document.body&&F?"svg":"canvas",x,D=getFontProperties(I);if(C==="svg"){var V=createNS("text");V.style.fontSize="100px",V.setAttribute("font-family",I.fFamily),V.setAttribute("font-style",D.style),V.setAttribute("font-weight",D.weight),V.textContent="1",I.fClass?(V.style.fontFamily="inherit",V.setAttribute("class",I.fClass)):V.style.fontFamily=I.fFamily,F.appendChild(V),x=V}else{var $=new OffscreenCanvas(500,500).getContext("2d");$.font=D.style+" "+D.weight+" 100px "+I.fFamily,x=$}function B(N){return C==="svg"?(x.textContent=N,x.getComputedTextLength()):x.measureText(N).width}return{measureText:B}}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(se){se.helper=m(se),se.cache={}}),this.fonts=I.list;return}var C=I.list,x,D=C.length,V=D;for(x=0;x<D;x+=1){var $=!0,B,N;if(C[x].loaded=!1,C[x].monoCase=P(C[x].fFamily,"monospace"),C[x].sansCase=P(C[x].fFamily,"sans-serif"),!C[x].fPath)C[x].loaded=!0,V-=1;else if(C[x].fOrigin==="p"||C[x].origin===3){if(B=document.querySelectorAll('style[f-forigin="p"][f-family="'+C[x].fFamily+'"], style[f-origin="3"][f-family="'+C[x].fFamily+'"]'),B.length>0&&($=!1),$){var q=createTag("style");q.setAttribute("f-forigin",C[x].fOrigin),q.setAttribute("f-origin",C[x].origin),q.setAttribute("f-family",C[x].fFamily),q.type="text/css",q.innerText="@font-face {font-family: "+C[x].fFamily+"; font-style: normal; src: url('"+C[x].fPath+"');}",F.appendChild(q)}}else if(C[x].fOrigin==="g"||C[x].origin===1){for(B=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),N=0;N<B.length;N+=1)B[N].href.indexOf(C[x].fPath)!==-1&&($=!1);if($){var Y=createTag("link");Y.setAttribute("f-forigin",C[x].fOrigin),Y.setAttribute("f-origin",C[x].origin),Y.type="text/css",Y.rel="stylesheet",Y.href=C[x].fPath,document.body.appendChild(Y)}}else if(C[x].fOrigin==="t"||C[x].origin===2){for(B=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),N=0;N<B.length;N+=1)C[x].fPath===B[N].src&&($=!1);if($){var re=createTag("link");re.setAttribute("f-forigin",C[x].fOrigin),re.setAttribute("f-origin",C[x].origin),re.setAttribute("rel","stylesheet"),re.setAttribute("href",C[x].fPath),F.appendChild(re)}}C[x].helper=m(C[x],F),C[x].cache={},this.fonts.push(C[x])}V===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function d(I){if(I){this.chars||(this.chars=[]);var F,C=I.length,x,D=this.chars.length,V;for(F=0;F<C;F+=1){for(x=0,V=!1;x<D;)this.chars[x].style===I[F].style&&this.chars[x].fFamily===I[F].fFamily&&this.chars[x].ch===I[F].ch&&(V=!0),x+=1;V||(this.chars.push(I[F]),D+=1)}}}function u(I,F,C){for(var x=0,D=this.chars.length;x<D;){if(this.chars[x].ch===I&&this.chars[x].style===F&&this.chars[x].fFamily===C)return this.chars[x];x+=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,C)),t}function g(I,F,C){var x=this.getFontByName(F),D=I;if(!x.cache[D]){var V=x.helper;if(I===" "){var $=V.measureText("|"+I+"|"),B=V.measureText("||");x.cache[D]=($-B)/100}else x.cache[D]=V.measureText(I)/100}return x.cache[D]*C}function S(I){for(var F=0,C=this.fonts.length;F<C;){if(this.fonts[F].fName===I)return this.fonts[F];F+=1}return this.fonts[0]}function T(I){var F=0,C=I.charCodeAt(0);if(C>=55296&&C<=56319){var x=I.charCodeAt(1);x>=56320&&x<=57343&&(F=(C-55296)*1024+x-56320+65536)}return F}function M(I,F){var C=I.toString(16)+F.toString(16);return b.indexOf(C)!==-1}function k(I){return I===l}function _(I){return I===o}function L(I){var F=T(I);return F>=p&&F<=y}function U(I){return L(I.substr(0,2))&&L(I.substr(2,2))}function H(I){return r.indexOf(I)!==-1}function R(I,F){var C=T(I.substr(F,2));if(C!==i)return!1;var x=0;for(F+=2;x<5;){if(C=T(I.substr(F,2)),C<s||C>n)return!1;x+=1,F+=2}return T(I.substr(F,2))===a}function W(){this.isLoaded=!0}var K=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)};K.isModifier=M,K.isZeroWidthJoiner=k,K.isFlagEmoji=U,K.isRegionalCode=L,K.isCombinedCharacter=H,K.isRegionalFlag=R,K.isVariationSelector=_,K.BLACK_FLAG_CODE_POINT=i;var O={addChars:d,addFonts:E,getCharData:u,getFontByName:S,measureText:g,checkLoadedFonts:A,setIsLoaded:W};return K.prototype=O,K}();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,a=r.length,s;for(i=0;i<a;i+=1)s=new GroupEffect(r[i],t),this.effectElements.push(s)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,i=this.data.ef.length,a,s=this.data.ef;for(r=0;r<i;r+=1){switch(a=null,s[r].ty){case 0:a=new SliderEffect(s[r],t,this);break;case 1:a=new AngleEffect(s[r],t,this);break;case 2:a=new ColorEffect(s[r],t,this);break;case 3:a=new PointEffect(s[r],t,this);break;case 4:case 7:a=new CheckboxEffect(s[r],t,this);break;case 10:a=new LayerIndexEffect(s[r],t,this);break;case 11:a=new MaskIndexEffect(s[r],t,this);break;case 5:a=new EffectsManager(s[r],t);break;default:a=new NoValueEffect(s[r]);break}a&&this.effectElements.push(a)}};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"),a=t("shape"),s=t("text"),n=t("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),this.data.ty===0||this.data.xt?this.compInterface=n(this):this.data.ty===4?(this.layerInterface.shapeInterface=a(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=s(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=t},initBaseData:function(t,r,i){this.globalData=r,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,r){var i,a=this.dynamicProperties.length;for(i=0;i<a;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,a=this.layers.length;for(t=0;t<r;t+=1)for(i=0;i<a;){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,a=this.layers,s=0,n=a.length;s<n;)a[s].ind==t&&(!i[s]||i[s]===!0?(this.buildItem(s),this.addPendingElement(e)):(r.push(i[s]),i[s].setAsParent(),a[s].parent!==void 0?this.buildElementParenting(e,a[s].parent,r):e.setHierarchy(r))),s+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),r;if(typeof t=="number")r=this.elements[t];else{var i,a=this.elements.length;for(i=0;i<a;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,a=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<a;){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<a;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 a=this.localTransforms[t].matrix;i.multiply(a)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var s=this.finalTransform.localOpacity;for(t=0;t<r;t+=1)s*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=s}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var r=0,i=t.length;for(r=0;r<i;r+=1)this.localTransforms.push(t[r])}}},globalToLocal:function(t){var r=[];r.push(this.finalTransform);for(var i=!0,a=this.comp;i;)a.finalTransform?(a.data.hasMask&&r.splice(0,0,a.finalTransform),a=a.comp):i=!1;var s,n=r.length,o;for(s=0;s<n;s+=1)o=r[s].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i=this.globalData.defs,a,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var n,o=this.masksProperties,l=0,p=[],y,b,f=createElementID(),P,A,m,E,d="clipPath",u="clip-path";for(a=0;a<s;a+=1)if((o[a].mode!=="a"&&o[a].mode!=="n"||o[a].inv||o[a].o.k!==100||o[a].o.x)&&(d="mask",u="mask"),(o[a].mode==="s"||o[a].mode==="i")&&l===0?(P=createNS("rect"),P.setAttribute("fill","#ffffff"),P.setAttribute("width",this.element.comp.data.w||0),P.setAttribute("height",this.element.comp.data.h||0),p.push(P)):P=null,n=createNS("path"),o[a].mode==="n")this.viewData[a]={op:PropertyFactory.getProp(this.element,o[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[a],3),elem:n,lastPath:""},i.appendChild(n);else{l+=1,n.setAttribute("fill",o[a].mode==="s"?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero");var g;if(o[a].x.k!==0?(d="mask",u="mask",E=PropertyFactory.getProp(this.element,o[a].x,0,null,this.element),g=createElementID(),A=createNS("filter"),A.setAttribute("id",g),m=createNS("feMorphology"),m.setAttribute("operator","erode"),m.setAttribute("in","SourceGraphic"),m.setAttribute("radius","0"),A.appendChild(m),i.appendChild(A),n.setAttribute("stroke",o[a].mode==="s"?"#000000":"#ffffff")):(m=null,E=null),this.storedData[a]={elem:n,x:E,expan:m,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},o[a].mode==="i"){b=p.length;var S=createNS("g");for(y=0;y<b;y+=1)S.appendChild(p[y]);var T=createNS("mask");T.setAttribute("mask-type","alpha"),T.setAttribute("id",f+"_"+l),T.appendChild(n),i.appendChild(T),S.setAttribute("mask","url("+getLocationHref()+"#"+f+"_"+l+")"),p.length=0,p.push(S)}else p.push(n);o[a].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[a]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,o[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[a],3),invRect:P},this.viewData[a].prop.k||this.drawPath(o[a],this.viewData[a].prop.v,this.viewData[a])}for(this.maskElement=createNS(d),s=p.length,a=0;a<s;a+=1)this.maskElement.appendChild(p[a]);l>0&&(this.maskElement.setAttribute("id",f),this.element.maskedElement.setAttribute(u,"url("+getLocationHref()+"#"+f+")"),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 a=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+")")),a.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],a,s;for(s=t._length,a=1;a<s;a+=1)i+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[a][0]+","+t.i[a][1]+" "+t.v[a][0]+","+t.v[a][1];if(t.c&&s>1&&(i+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==i){var n="";r.elem&&(t.c&&(n=e.inv?this.solidPath+i:i),r.elem.setAttribute("d",n)),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,a){var s=createNS("filter");return s.setAttribute("id",i),a!==!0&&(s.setAttribute("filterUnits","objectBoundingBox"),s.setAttribute("x","0%"),s.setAttribute("y","0%"),s.setAttribute("width","100%"),s.setAttribute("height","100%")),s}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),n=0;this.filters=[];var o;for(t=0;t<i;t+=1){o=null;var l=e.data.ef[t].ty;if(registeredEffects$1[l]){var p=registeredEffects$1[l].effect;o=new p(s,e.effectsManager.effectElements[t],e,idPrefix+n,r),r=idPrefix+n,registeredEffects$1[l].countsAsEffect&&(n+=1)}o&&this.filters.push(o)}n&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),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"),a=createNS("path");a.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var s=createElementID();if(i.setAttribute("id",s),i.appendChild(a),this.globalData.defs.appendChild(i),this.checkMasks()){var n=createNS("g");n.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),n.appendChild(this.layerElement),this.transformedElement=n,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var r=this.layerId+"_"+t,i,a,s,n;if(t===1||t===3){var o=createNS("mask");o.setAttribute("id",r),o.setAttribute("mask-type",t===3?"luminance":"alpha"),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(s),this.globalData.defs.appendChild(o),!featureSupport.maskType&&t===1&&(o.setAttribute("mask-type","luminance"),i=createElementID(),a=filtersFactory.createFilter(i),this.globalData.defs.appendChild(a),a.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),n.appendChild(s),o.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var l=createNS("mask");l.setAttribute("id",r),l.setAttribute("mask-type","alpha");var p=createNS("g");l.appendChild(p),i=createElementID(),a=filtersFactory.createFilter(i);var y=createNS("feComponentTransfer");y.setAttribute("in","SourceGraphic"),a.appendChild(y);var b=createNS("feFuncA");b.setAttribute("type","table"),b.setAttribute("tableValues","1.0 0.0"),y.appendChild(b),this.globalData.defs.appendChild(a);var f=createNS("rect");f.setAttribute("width",this.comp.data.w),f.setAttribute("height",this.comp.data.h),f.setAttribute("x","0"),f.setAttribute("y","0"),f.setAttribute("fill","#ffffff"),f.setAttribute("opacity","0"),p.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),p.appendChild(f),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),p.appendChild(s),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),a.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),p.appendChild(f),n.appendChild(this.layerElement),p.appendChild(n)),this.globalData.defs.appendChild(l)}this.matteMasks[t]=r}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(r,i,a){this.initFrame(),this.initBaseData(r,i,a),this.initTransform(r,i,a),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,a=r.length;i<a;){if(r[i].elem===t)return r[i].pos;i+=1}return 0},addProcessedElement:function(t,r){for(var i=this.processedElements,a=i.length;a;)if(a-=1,i[a].elem===t){i[a].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,a=e.length;i<a;){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 a,s=t.length||0,n;for(a=0;a<s;a+=1)n=PropertyFactory.getProp(e,t[a].v,0,0,this),this.k=n.k||this.k,this.dataProps[a]={n:t[a].n,p:n};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,a;r<i;){if(a=Math.abs(e[r*4]-e[t*4+r*2]),a>.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,a;for(t=0;t<r;t+=1)i=t%4===0?100:255,a=Math.round(this.prop.v[t]*i),this.c[t]!==a&&(this.c[t]=a,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,a=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==a&&(this.o[t-this.data.p*4]=a,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 a=[],s,n,o;for(o=t.g.p*4,n=0;n<o;n+=4)s=createNS("stop"),i.appendChild(s),a.push(s);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=a},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,a,s=createNS("mask"),n=createNS("path");s.appendChild(n);var o=createElementID(),l=createElementID();s.setAttribute("id",l);var p=createNS(e.t===1?"linearGradient":"radialGradient");p.setAttribute("id",o),p.setAttribute("spreadMethod","pad"),p.setAttribute("gradientUnits","userSpaceOnUse"),a=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var y=this.stops;for(i=e.g.p*4;i<a;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),p.appendChild(r),y.push(r);n.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),e.ty==="gs"&&(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&n.setAttribute("stroke-miterlimit",e.ml)),this.of=p,this.ms=s,this.ost=y,this.maskId=l,t.msElem=n}},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,a){if(r===0)return"";var s=t.o,n=t.i,o=t.v,l,p=" M"+a.applyToPointStringified(o[0][0],o[0][1]);for(l=1;l<r;l+=1)p+=" C"+a.applyToPointStringified(s[l-1][0],s[l-1][1])+" "+a.applyToPointStringified(n[l][0],n[l][1])+" "+a.applyToPointStringified(o[l][0],o[l][1]);return i&&r&&(p+=" C"+a.applyToPointStringified(s[l-1][0],s[l-1][1])+" "+a.applyToPointStringified(n[0][0],n[0][1])+" "+a.applyToPointStringified(o[0][0],o[0][1]),p+="z"),p},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,r={createRenderFunction:i};function i(b){switch(b.ty){case"fl":return o;case"gf":return p;case"gs":return l;case"st":return y;case"sh":case"el":case"rc":case"sr":return n;case"tr":return a;case"no":return s;default:return null}}function a(b,f,P){(P||f.transform.op._mdf)&&f.transform.container.setAttribute("opacity",f.transform.op.v),(P||f.transform.mProps._mdf)&&f.transform.container.setAttribute("transform",f.transform.mProps.v.to2dCSS())}function s(){}function n(b,f,P){var A,m,E,d,u,g,S=f.styles.length,T=f.lvl,M,k,_,L;for(g=0;g<S;g+=1){if(d=f.sh._mdf||P,f.styles[g].lvl<T){for(k=t.reset(),_=T-f.styles[g].lvl,L=f.transformers.length-1;!d&&_>0;)d=f.transformers[L].mProps._mdf||d,_-=1,L-=1;if(d)for(_=T-f.styles[g].lvl,L=f.transformers.length-1;_>0;)k.multiply(f.transformers[L].mProps.v),_-=1,L-=1}else k=e;if(M=f.sh.paths,m=M._length,d){for(E="",A=0;A<m;A+=1)u=M.shapes[A],u&&u._length&&(E+=buildShapeString(u,u._length,u.c,k));f.caches[g]=E}else E=f.caches[g];f.styles[g].d+=b.hd===!0?"":E,f.styles[g]._mdf=d||f.styles[g]._mdf}}function o(b,f,P){var A=f.style;(f.c._mdf||P)&&A.pElem.setAttribute("fill","rgb("+bmFloor(f.c.v[0])+","+bmFloor(f.c.v[1])+","+bmFloor(f.c.v[2])+")"),(f.o._mdf||P)&&A.pElem.setAttribute("fill-opacity",f.o.v)}function l(b,f,P){p(b,f,P),y(b,f,P)}function p(b,f,P){var A=f.gf,m=f.g._hasOpacity,E=f.s.v,d=f.e.v;if(f.o._mdf||P){var u=b.ty==="gf"?"fill-opacity":"stroke-opacity";f.style.pElem.setAttribute(u,f.o.v)}if(f.s._mdf||P){var g=b.t===1?"x1":"cx",S=g==="x1"?"y1":"cy";A.setAttribute(g,E[0]),A.setAttribute(S,E[1]),m&&!f.g._collapsable&&(f.of.setAttribute(g,E[0]),f.of.setAttribute(S,E[1]))}var T,M,k,_;if(f.g._cmdf||P){T=f.cst;var L=f.g.c;for(k=T.length,M=0;M<k;M+=1)_=T[M],_.setAttribute("offset",L[M*4]+"%"),_.setAttribute("stop-color","rgb("+L[M*4+1]+","+L[M*4+2]+","+L[M*4+3]+")")}if(m&&(f.g._omdf||P)){var U=f.g.o;for(f.g._collapsable?T=f.cst:T=f.ost,k=T.length,M=0;M<k;M+=1)_=T[M],f.g._collapsable||_.setAttribute("offset",U[M*2]+"%"),_.setAttribute("stop-opacity",U[M*2+1])}if(b.t===1)(f.e._mdf||P)&&(A.setAttribute("x2",d[0]),A.setAttribute("y2",d[1]),m&&!f.g._collapsable&&(f.of.setAttribute("x2",d[0]),f.of.setAttribute("y2",d[1])));else{var H;if((f.s._mdf||f.e._mdf||P)&&(H=Math.sqrt(Math.pow(E[0]-d[0],2)+Math.pow(E[1]-d[1],2)),A.setAttribute("r",H),m&&!f.g._collapsable&&f.of.setAttribute("r",H)),f.e._mdf||f.h._mdf||f.a._mdf||P){H||(H=Math.sqrt(Math.pow(E[0]-d[0],2)+Math.pow(E[1]-d[1],2)));var R=Math.atan2(d[1]-E[1],d[0]-E[0]),W=f.h.v;W>=1?W=.99:W<=-1&&(W=-.99);var K=H*W,O=Math.cos(R+f.a.v)*K+E[0],I=Math.sin(R+f.a.v)*K+E[1];A.setAttribute("fx",O),A.setAttribute("fy",I),m&&!f.g._collapsable&&(f.of.setAttribute("fx",O),f.of.setAttribute("fy",I))}}}function y(b,f,P){var A=f.style,m=f.d;m&&(m._mdf||P)&&m.dashStr&&(A.pElem.setAttribute("stroke-dasharray",m.dashStr),A.pElem.setAttribute("stroke-dashoffset",m.dashoffset[0])),f.c&&(f.c._mdf||P)&&A.pElem.setAttribute("stroke","rgb("+bmFloor(f.c.v[0])+","+bmFloor(f.c.v[1])+","+bmFloor(f.c.v[2])+")"),(f.o._mdf||P)&&A.pElem.setAttribute("stroke-opacity",f.o.v),(f.w._mdf||P)&&(A.pElem.setAttribute("stroke-width",f.w.v),A.msElem&&A.msElem.setAttribute("stroke-width",f.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,a=this.stylesList.length,s,n=[],o=!1;for(i=0;i<a;i+=1){for(s=this.stylesList[i],o=!1,n.length=0,e=0;e<t;e+=1)r=this.shapes[e],r.styles.indexOf(s)!==-1&&(n.push(r),o=r._isAnimated||o);n.length>1&&o&&this.setShapesAsAnimated(n)}},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),a=i.pElem;if(e.ty==="st")r=new SVGStrokeStyleData(this,e,i);else if(e.ty==="fl")r=new SVGFillStyleData(this,e,i);else if(e.ty==="gf"||e.ty==="gs"){var s=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new s(this,e,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),a.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else e.ty==="no"&&(r=new SVGNoStyleData(this,e,i));return(e.ty==="st"||e.ty==="gs")&&(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),a.setAttribute("fill-opacity","0"),e.lj===1&&a.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&a.setAttribute("fill-rule","evenodd"),e.ln&&a.setAttribute("id",e.ln),e.cl&&a.setAttribute("class",e.cl),e.bm&&(a.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 a=ShapePropertyFactory.getShapeProp(this,e,i,this),s=new SVGShapeData(t,r,a);return this.shapes.push(s),this.addShapeToModifiers(s),this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)this.stylesList[r].closed||t.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,i,a,s,n){var o=[].concat(s),l,p=e.length-1,y,b,f=[],P=[],A,m,E;for(l=p;l>=0;l-=1){if(E=this.searchProcessedElement(e[l]),E?t[l]=r[E-1]:e[l]._render=n,e[l].ty==="fl"||e[l].ty==="st"||e[l].ty==="gf"||e[l].ty==="gs"||e[l].ty==="no")E?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],a),e[l]._render&&t[l].style.pElem.parentNode!==i&&i.appendChild(t[l].style.pElem),f.push(t[l].style);else if(e[l].ty==="gr"){if(!E)t[l]=this.createGroupElement(e[l]);else for(b=t[l].it.length,y=0;y<b;y+=1)t[l].prevViewData[y]=t[l].it[y];this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,a+1,o,n),e[l]._render&&t[l].gr.parentNode!==i&&i.appendChild(t[l].gr)}else e[l].ty==="tr"?(E||(t[l]=this.createTransformElement(e[l],i)),A=t[l].transform,o.push(A)):e[l].ty==="sh"||e[l].ty==="rc"||e[l].ty==="el"||e[l].ty==="sr"?(E||(t[l]=this.createShapeElement(e[l],o,a)),this.setElementStyles(t[l])):e[l].ty==="tm"||e[l].ty==="rd"||e[l].ty==="ms"||e[l].ty==="pb"||e[l].ty==="zz"||e[l].ty==="op"?(E?(m=t[l],m.closed=!1):(m=ShapeModifiers.getModifier(e[l].ty),m.init(this,e[l]),t[l]=m,this.shapeModifiers.push(m)),P.push(m)):e[l].ty==="rp"&&(E?(m=t[l],m.closed=!0):(m=ShapeModifiers.getModifier(e[l].ty),t[l]=m,m.init(this,e,l,t),this.shapeModifiers.push(m),n=!1),P.push(m));this.addProcessedElement(e[l],l+1)}for(p=f.length,l=0;l<p;l+=1)f[l].closed=!0;for(p=P.length,l=0;l<p;l+=1)P[l].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,r;for(e=0;e<t;e+=1)r=this.animatedContents[e],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,r,i,a,s){this.o=e,this.sw=t,this.sc=r,this.fc=i,this.m=a,this.p=s,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,r,i,a,s){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var n=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,n=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,n=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,n=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,n=!0),this.m!==a&&(this.m=a,this._mdf.m=!0,n=!0),s.length&&(this.p[0]!==s[0]||this.p[1]!==s[1]||this.p[4]!==s[4]||this.p[5]!==s[5]||this.p[12]!==s[12]||this.p[13]!==s[13])&&(this.p=s,this._mdf.p=!0,n=!0),n};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,a=this.effectsSequence.length,s=e||this.data.d.k[this.keysIndex].s;for(i=0;i<a;i+=1)r!==this.keysIndex?s=this.effectsSequence[i](s,s.t):s=this.effectsSequence[i](this.currentData,s.t);t!==s&&this.setCurrentData(s),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,i=e.length;r<=i-1&&!(r===i-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,i=e.length,a,s,n=!1,o=!1,l="";r<i;)n=o,o=!1,a=e.charCodeAt(r),l=e.charAt(r),FontManager.isCombinedCharacter(a)?n=!0:a>=55296&&a<=56319?FontManager.isRegionalFlag(e,r)?l=e.substr(r,14):(s=e.charCodeAt(r+1),s>=56320&&s<=57343&&(FontManager.isModifier(a,s)?(l=e.substr(r,2),n=!0):FontManager.isFlagEmoji(e.substr(r,4))?l=e.substr(r,4):l=e.substr(r,2))):a>56319?(s=e.charCodeAt(r+1),FontManager.isVariationSelector(a)&&(n=!0)):FontManager.isZeroWidthJoiner(a)&&(n=!0,o=!0),n?(t[t.length-1]+=l,n=!1):t.push(l),r+=l.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,i=[],a,s,n,o=0,l,p=r.m.g,y=0,b=0,f=0,P=[],A=0,m=0,E,d,u=t.getFontByName(e.f),g,S=0,T=getFontProperties(u);e.fWeight=T.weight,e.fStyle=T.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),s=e.finalText.length,e.finalLineHeight=e.lh;var M=e.tr/1e3*e.finalSize,k;if(e.sz)for(var _=!0,L=e.sz[0],U=e.sz[1],H,R;_;){R=this.buildFinalText(e.t),H=0,A=0,s=R.length,M=e.tr/1e3*e.finalSize;var W=-1;for(a=0;a<s;a+=1)k=R[a].charCodeAt(0),n=!1,R[a]===" "?W=a:(k===13||k===3)&&(A=0,n=!0,H+=e.finalLineHeight||e.finalSize*1.2),t.chars?(g=t.getCharData(R[a],u.fStyle,u.fFamily),S=n?0:g.w*e.finalSize/100):S=t.measureText(R[a],e.f,e.finalSize),A+S>L&&R[a]!==" "?(W===-1?s+=1:a=W,H+=e.finalLineHeight||e.finalSize*1.2,R.splice(a,W===a?1:0,"\r"),W=-1,A=0):(A+=S,A+=M);H+=u.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&U<H?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=R,s=e.finalText.length,_=!1)}A=-M,S=0;var K=0,O;for(a=0;a<s;a+=1)if(n=!1,O=e.finalText[a],k=O.charCodeAt(0),k===13||k===3?(K=0,P.push(A),m=A>m?A:m,A=-2*M,l="",n=!0,f+=1):l=O,t.chars?(g=t.getCharData(O,u.fStyle,t.getFontByName(e.f).fFamily),S=n?0:g.w*e.finalSize/100):S=t.measureText(l,e.f,e.finalSize),O===" "?K+=S+M:(A+=S+M+K,K=0),i.push({l:S,an:S,add:y,n,anIndexes:[],val:l,line:f,animatorJustifyOffset:0}),p==2){if(y+=S,l===""||l===" "||a===s-1){for((l===""||l===" ")&&(y-=S);b<=a;)i[b].an=y,i[b].ind=o,i[b].extra=S,b+=1;o+=1,y=0}}else if(p==3){if(y+=S,l===""||a===s-1){for(l===""&&(y-=S);b<=a;)i[b].an=y,i[b].ind=o,i[b].extra=S,b+=1;y=0,o+=1}}else i[o].ind=o,i[o].extra=0,o+=1;if(e.l=i,m=A>m?A:m,P.push(A),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=m,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=P;var I=r.a,F,C;d=I.length;var x,D,V=[];for(E=0;E<d;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),D=0,x=F.s.b,a=0;a<s;a+=1)C=i[a],C.anIndexes[E]=D,(x==1&&C.val!==""||x==2&&C.val!==""&&C.val!==" "||x==3&&(C.n||C.val==" "||a==s-1)||x==4&&(C.n||a==s-1))&&(F.s.rn===1&&V.push(D),D+=1);r.a[E].s.totalChars=D;var $=-1,B;if(F.s.rn===1)for(a=0;a<s;a+=1)C=i[a],$!=C.anIndexes[E]&&($=C.anIndexes[E],B=V.splice(Math.floor(Math.random()*V.length),1)[0]),C.anIndexes[E]=B}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=u.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function i(s,n){this._currentTextLength=-1,this.k=!1,this.data=n,this.elem=s,this.comp=s.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(s),this.s=PropertyFactory.getProp(s,n.s||{k:0},0,0,this),"e"in n?this.e=PropertyFactory.getProp(s,n.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(s,n.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(s,n.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(s,n.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(s,n.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(s,n.a,0,.01,this),this.dynamicProperties.length||this.getValue()}i.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,l=0,p=1,y=1;this.ne.v>0?o=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?p=1-this.xe.v/100:y=1+this.xe.v/100;var b=BezierFactory.getBezierEasing(o,l,p,y).get,f=0,P=this.finalS,A=this.finalE,m=this.data.sh;if(m===2)A===P?f=n>=A?1:0:f=e(0,t(.5/(A-P)+(n-P)/(A-P),1)),f=b(f);else if(m===3)A===P?f=n>=A?0:1:f=1-e(0,t(.5/(A-P)+(n-P)/(A-P),1)),f=b(f);else if(m===4)A===P?f=0:(f=e(0,t(.5/(A-P)+(n-P)/(A-P),1)),f<.5?f*=2:f=1-2*(f-.5)),f=b(f);else if(m===5){if(A===P)f=0;else{var E=A-P;n=t(e(0,n+.5-P),A-P);var d=-E/2+n,u=E/2;f=Math.sqrt(1-d*d/(u*u))}f=b(f)}else m===6?(A===P?f=0:(n=t(e(0,n+.5-P),A-P),f=(1+Math.cos(Math.PI+Math.PI*2*n/(A-P)))/2),f=b(f)):(n>=r(P)&&(n-P<0?f=e(0,t(t(A,1)-(P-n),1)):f=e(0,t(A-n,1))),f=b(f));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var S=.5-g*.5;f<S?f=0:(f=(f-S)/g,f>1&&(f=1))}return f*this.a.v},getValue:function(n){this.iterateDynamicProperties(),this._mdf=n||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,n&&this.data.r===2&&(this.e.v=this._currentTextLength);var o=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/o,p=this.s.v/o+l,y=this.e.v/o+l;if(p>y){var b=p;p=y,y=b}this.finalS=p,this.finalE=y}},extendPrototype([DynamicPropertyContainer],i);function a(s,n,o){return new i(s,n)}return{getTextSelectorProp:a}}();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},a=PropertyFactory.getProp,s=t.a;this.a={r:s.r?a(e,s.r,0,degToRads,r):i,rx:s.rx?a(e,s.rx,0,degToRads,r):i,ry:s.ry?a(e,s.ry,0,degToRads,r):i,sk:s.sk?a(e,s.sk,0,degToRads,r):i,sa:s.sa?a(e,s.sa,0,degToRads,r):i,s:s.s?a(e,s.s,1,.01,r):i,a:s.a?a(e,s.a,1,0,r):i,o:s.o?a(e,s.o,0,.01,r):i,p:s.p?a(e,s.p,1,0,r):i,sw:s.sw?a(e,s.sw,0,0,r):i,sc:s.sc?a(e,s.sc,1,0,r):i,fc:s.fc?a(e,s.fc,1,0,r):i,fh:s.fh?a(e,s.fh,0,0,r):i,fs:s.fs?a(e,s.fs,0,.01,r):i,fb:s.fb?a(e,s.fb,0,.01,r):i,t:s.t?a(e,s.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,r,i=PropertyFactory.getProp;for(e=0;e<t;e+=1)r=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,r,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var r=this._moreOptions.alignment.v,i=this._animatorsData,a=this._textData,s=this.mHelper,n=this._renderType,o=this.renderedLetters.length,l,p,y,b,f=e.l,P,A,m,E,d,u,g,S,T,M,k,_,L,U,H;if(this._hasMaskedPath){if(H=this._pathData.m,!this._pathData.n||this._pathData._mdf){var R=H.v;this._pathData.r.v&&(R=R.reverse()),P={tLength:0,segments:[]},b=R._length-1;var W;for(_=0,y=0;y<b;y+=1)W=bez.buildBezierData(R.v[y],R.v[y+1],[R.o[y][0]-R.v[y][0],R.o[y][1]-R.v[y][1]],[R.i[y+1][0]-R.v[y+1][0],R.i[y+1][1]-R.v[y+1][1]]),P.tLength+=W.segmentLength,P.segments.push(W),_+=W.segmentLength;y=b,H.v.c&&(W=bez.buildBezierData(R.v[y],R.v[0],[R.o[y][0]-R.v[y][0],R.o[y][1]-R.v[y][1]],[R.i[0][0]-R.v[0][0],R.i[0][1]-R.v[0][1]]),P.tLength+=W.segmentLength,P.segments.push(W),_+=W.segmentLength),this._pathData.pi=P}if(P=this._pathData.pi,A=this._pathData.f.v,g=0,u=1,E=0,d=!0,M=P.segments,A<0&&H.v.c)for(P.tLength<Math.abs(A)&&(A=-Math.abs(A)%P.tLength),g=M.length-1,T=M[g].points,u=T.length-1;A<0;)A+=T[u].partialLength,u-=1,u<0&&(g-=1,T=M[g].points,u=T.length-1);T=M[g].points,S=T[u-1],m=T[u],k=m.partialLength}b=f.length,l=0,p=0;var K=e.finalSize*1.2*.714,O=!0,I,F,C,x,D;x=i.length;var V,$=-1,B,N,q,Y=A,re=g,se=u,ie=-1,X,ae,oe,Z,G,J,ee,le,ve="",ge=this.defaultPropsArray,pe;if(e.j===2||e.j===1){var ce=0,ue=0,z=e.j===2?-.5:-1,j=0,Q=!0;for(y=0;y<b;y+=1)if(f[y].n){for(ce&&(ce+=ue);j<y;)f[j].animatorJustifyOffset=ce,j+=1;ce=0,Q=!0}else{for(C=0;C<x;C+=1)I=i[C].a,I.t.propType&&(Q&&e.j===2&&(ue+=I.t.v*z),F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),V.length?ce+=I.t.v*V[0]*z:ce+=I.t.v*V*z);Q=!1}for(ce&&(ce+=ue);j<y;)f[j].animatorJustifyOffset=ce,j+=1}for(y=0;y<b;y+=1){if(s.reset(),X=1,f[y].n)l=0,p+=e.yOffset,p+=O?1:0,A=Y,O=!1,this._hasMaskedPath&&(g=re,u=se,T=M[g].points,S=T[u-1],m=T[u],k=m.partialLength,E=0),ve="",le="",J="",pe="",ge=this.defaultPropsArray;else{if(this._hasMaskedPath){if(ie!==f[y].line){switch(e.j){case 1:A+=_-e.lineWidths[f[y].line];break;case 2:A+=(_-e.lineWidths[f[y].line])/2;break}ie=f[y].line}$!==f[y].ind&&(f[$]&&(A+=f[$].extra),A+=f[y].an/2,$=f[y].ind),A+=r[0]*f[y].an*.005;var te=0;for(C=0;C<x;C+=1)I=i[C].a,I.p.propType&&(F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),V.length?te+=I.p.v[0]*V[0]:te+=I.p.v[0]*V),I.a.propType&&(F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),V.length?te+=I.a.v[0]*V[0]:te+=I.a.v[0]*V);for(d=!0,this._pathData.a.v&&(A=f[0].an*.5+(_-this._pathData.f.v-f[0].an*.5-f[f.length-1].an*.5)*$/(b-1),A+=this._pathData.f.v);d;)E+k>=A+te||!T?(L=(A+te-E)/m.partialLength,N=S.point[0]+(m.point[0]-S.point[0])*L,q=S.point[1]+(m.point[1]-S.point[1])*L,s.translate(-r[0]*f[y].an*.005,-(r[1]*K)*.01),d=!1):T&&(E+=m.partialLength,u+=1,u>=T.length&&(u=0,g+=1,M[g]?T=M[g].points:H.v.c?(u=0,g=0,T=M[g].points):(E-=m.partialLength,T=null)),T&&(S=m,m=T[u],k=m.partialLength));B=f[y].an/2-f[y].add,s.translate(-B,0,0)}else B=f[y].an/2-f[y].add,s.translate(-B,0,0),s.translate(-r[0]*f[y].an*.005,-r[1]*K*.01,0);for(C=0;C<x;C+=1)I=i[C].a,I.t.propType&&(F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),(l!==0||e.j!==0)&&(this._hasMaskedPath?V.length?A+=I.t.v*V[0]:A+=I.t.v*V:V.length?l+=I.t.v*V[0]:l+=I.t.v*V));for(e.strokeWidthAnim&&(oe=e.sw||0),e.strokeColorAnim&&(e.sc?ae=[e.sc[0],e.sc[1],e.sc[2]]:ae=[0,0,0]),e.fillColorAnim&&e.fc&&(Z=[e.fc[0],e.fc[1],e.fc[2]]),C=0;C<x;C+=1)I=i[C].a,I.a.propType&&(F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),V.length?s.translate(-I.a.v[0]*V[0],-I.a.v[1]*V[1],I.a.v[2]*V[2]):s.translate(-I.a.v[0]*V,-I.a.v[1]*V,I.a.v[2]*V));for(C=0;C<x;C+=1)I=i[C].a,I.s.propType&&(F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),V.length?s.scale(1+(I.s.v[0]-1)*V[0],1+(I.s.v[1]-1)*V[1],1):s.scale(1+(I.s.v[0]-1)*V,1+(I.s.v[1]-1)*V,1));for(C=0;C<x;C+=1){if(I=i[C].a,F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),I.sk.propType&&(V.length?s.skewFromAxis(-I.sk.v*V[0],I.sa.v*V[1]):s.skewFromAxis(-I.sk.v*V,I.sa.v*V)),I.r.propType&&(V.length?s.rotateZ(-I.r.v*V[2]):s.rotateZ(-I.r.v*V)),I.ry.propType&&(V.length?s.rotateY(I.ry.v*V[1]):s.rotateY(I.ry.v*V)),I.rx.propType&&(V.length?s.rotateX(I.rx.v*V[0]):s.rotateX(I.rx.v*V)),I.o.propType&&(V.length?X+=(I.o.v*V[0]-X)*V[0]:X+=(I.o.v*V-X)*V),e.strokeWidthAnim&&I.sw.propType&&(V.length?oe+=I.sw.v*V[0]:oe+=I.sw.v*V),e.strokeColorAnim&&I.sc.propType)for(G=0;G<3;G+=1)V.length?ae[G]+=(I.sc.v[G]-ae[G])*V[0]:ae[G]+=(I.sc.v[G]-ae[G])*V;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(G=0;G<3;G+=1)V.length?Z[G]+=(I.fc.v[G]-Z[G])*V[0]:Z[G]+=(I.fc.v[G]-Z[G])*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(C=0;C<x;C+=1)I=i[C].a,I.p.propType&&(F=i[C].s,V=F.getMult(f[y].anIndexes[C],a.a[C].s.totalChars),this._hasMaskedPath?V.length?s.translate(0,I.p.v[1]*V[0],-I.p.v[2]*V[1]):s.translate(0,I.p.v[1]*V,-I.p.v[2]*V):V.length?s.translate(I.p.v[0]*V[0],I.p.v[1]*V[1],-I.p.v[2]*V[2]):s.translate(I.p.v[0]*V,I.p.v[1]*V,-I.p.v[2]*V));if(e.strokeWidthAnim&&(J=oe<0?0:oe),e.strokeColorAnim&&(ee="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),e.fillColorAnim&&e.fc&&(le="rgb("+Math.round(Z[0]*255)+","+Math.round(Z[1]*255)+","+Math.round(Z[2]*255)+")"),this._hasMaskedPath){if(s.translate(0,-e.ls),s.translate(0,r[1]*K*.01+p,0),this._pathData.p.v){U=(m.point[1]-S.point[1])/(m.point[0]-S.point[0]);var ne=Math.atan(U)*180/Math.PI;m.point[0]<S.point[0]&&(ne+=180),s.rotate(-ne*Math.PI/180)}s.translate(N,q,0),A-=r[0]*f[y].an*.005,f[y+1]&&$!==f[y+1].ind&&(A+=f[y].an/2,A+=e.tr*.001*e.finalSize)}else{switch(s.translate(l,p,0),e.ps&&s.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:s.translate(f[y].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[f[y].line]),0,0);break;case 2:s.translate(f[y].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[f[y].line])/2,0,0);break}s.translate(0,-e.ls),s.translate(B,0,0),s.translate(r[0]*f[y].an*.005,r[1]*K*.01,0),l+=f[y].l+e.tr*.001*e.finalSize}n==="html"?ve=s.toCSS():n==="svg"?ve=s.to2dCSS():ge=[s.props[0],s.props[1],s.props[2],s.props[3],s.props[4],s.props[5],s.props[6],s.props[7],s.props[8],s.props[9],s.props[10],s.props[11],s.props[12],s.props[13],s.props[14],s.props[15]],pe=X}o<=y?(D=new LetterProps(pe,J,ee,le,ve,ge),this.renderedLetters.push(D),o+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[y],this.lettersChangedFlag=D.update(pe,J,ee,le,ve,ge)||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,a,s="";for(r=0;r<i;r+=1)t[r].ty==="sh"&&(a=t[r].ks.k,s+=buildShapeString(a,a.i.length,!0,e));return s},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,i,a){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,a,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=[],a="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(i.push(a),a=""):a+=e[t],t+=1;return i.push(a),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 a=r.fWeight,s=r.fStyle;this.layerElement.setAttribute("font-style",s),this.layerElement.setAttribute("font-weight",a)}this.layerElement.setAttribute("aria-label",r.t);var n=r.l||[],o=!!this.globalData.fontManager.chars;t=n.length;var l,p=this.mHelper,y="",b=this.data.singleShape,f=0,P=0,A=!0,m=r.tr*.001*r.finalSize;if(b&&!o&&!r.sz){var E=this.textContainer,d="start";switch(r.j){case 1:d="end";break;case 2:d="middle";break;default:d="start";break}E.setAttribute("text-anchor",d),E.setAttribute("letter-spacing",m);var u=this.buildTextContents(r.finalText);for(t=u.length,P=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)l=this.textSpans[e].span||createNS("tspan"),l.textContent=u[e],l.setAttribute("x",0),l.setAttribute("y",P),l.style.display="inherit",E.appendChild(l),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=l,P+=r.finalLineHeight;this.layerElement.appendChild(E)}else{var g=this.textSpans.length,S;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!o||!b||e===0){if(l=g>e?this.textSpans[e].span:createNS(o?"g":"text"),g<=e){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=l,o){var T=createNS("g");l.appendChild(T),this.textSpans[e].childSpan=T}this.textSpans[e].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(p.reset(),b&&(n[e].n&&(f=-m,P+=r.yOffset,P+=A?1:0,A=!1),this.applyTextPropertiesToMatrix(r,p,n[e].line,f,P),f+=n[e].l||0,f+=m),o){S=this.globalData.fontManager.getCharData(r.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var M;if(S.t===1)M=new SVGCompElement(S.data,this.globalData,this);else{var k=emptyShapeData;S.data&&S.data.shapes&&(k=this.buildShapeData(S.data,r.finalSize)),M=new SVGShapeElement(k,this.globalData,this)}if(this.textSpans[e].glyph){var _=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(_.layerElement),_.destroy()}this.textSpans[e].glyph=M,M._debug=!0,M.prepareFrame(0),M.renderFrame(),this.textSpans[e].childSpan.appendChild(M.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else b&&l.setAttribute("transform","translate("+p.props[12]+","+p.props[13]+")"),l.textContent=n[e].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}b&&l&&l.setAttribute("d",y)}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 a,s,n;for(e=0;e<t;e+=1)i[e].n||(a=r[e],s=this.textSpans[e].span,n=this.textSpans[e].glyph,n&&n.renderFrame(),a._mdf.m&&s.setAttribute("transform",a.m),a._mdf.o&&s.setAttribute("opacity",a.o),a._mdf.sw&&s.setAttribute("stroke-width",a.sw),a._mdf.sc&&s.setAttribute("stroke",a.sc),a._mdf.fc&&s.setAttribute("fill",a.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 a=createElementID();r.setAttribute("id",a),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),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 a=t[i],s=a.getMatte(this.layers[e].tt);r.setMatte(s)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var i="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,a=this.elements[i],s=a.getMatte(this.layers[t].tt);e.setMatte(s);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var i=0,a;i<t;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&(a=this.elements[i].getBaseElement()),i+=1;a?this.layerElement.insertBefore(r,a):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"),a=createElementID();i.setAttribute("id",a),i.textContent=t.title,this.svgElement.appendChild(i),r+=a}if(t&&t.description){var s=createNS("desc"),n=createElementID();s.setAttribute("id",n),s.textContent=t.description,this.svgElement.appendChild(s),r+=" "+n}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var r,i=t.length,a="_";for(r=0;r<i;r+=1)a+=t[r].transform.key+"_";var s=this.sequences[a];return s||(s={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[a]=s,this.sequenceList.push(s)),s},processSequence:function(t,r){for(var i=0,a=t.transforms.length,s=r;i<a&&!r;){if(t.transforms[i].transform.mProps._mdf){s=!0;break}i+=1}if(s)for(t.finalTransform.reset(),i=a-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=s},processSequences:function(t){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",r=null,i=null,a=null;function s(){var l=createNS("svg"),p=createNS("filter"),y=createNS("feColorMatrix");return p.setAttribute("id",t),y.setAttribute("type","matrix"),y.setAttribute("color-interpolation-filters","sRGB"),y.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"),p.appendChild(y),l.appendChild(p),l.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(l.style.display="none"),l}function n(){r||(a=s(),document.body.appendChild(a),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 o(l){return r||n(),r.width=l.width,r.height=l.height,i.filter="url(#"+t+")",r}return{load:n,get:o}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,r=e.data.ef?e.data.ef.length:0;this.filters=[];var i;for(t=0;t<r;t+=1){i=null;var a=e.data.ef[t].ty;if(registeredEffects[a]){var s=registeredEffects[a].effect;i=new s(e.effectsManager.effectElements[t],e)}i&&this.filters.push(i)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,i=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&i.push(this.filters[t]);return i};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,a=!1;for(r=0;r<i;r+=1)this.masksProperties[r].mode!=="n"&&(a=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=a,a&&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,a,s,n;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)),n=this.viewData[r].v,a=e.applyToPointArray(n.v[0][0],n.v[0][1],0),t.moveTo(a[0],a[1]);var o,l=n._length;for(o=1;o<l;o+=1)s=e.applyToTriplePoints(n.o[o-1],n.i[o],n.v[o]),t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);s=e.applyToTriplePoints(n.o[o-1],n.i[0],n.v[0]),t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var a=assetLoader.getLumaCanvas(this.canvasContext.canvas),s=a.getContext("2d");s.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(a,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 a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var s,n=r.length,o;for(s=0;s<n;s+=1)r[s].closed||(o={transforms:i.addTransformSequence(r[s].transforms),trNodes:[]},this.styledShapes.push(o),r[s].elements.push(o))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},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 a=new DashProperty(this,e.d,"canvas",this);i.d=a,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,a){var s,n=e.length-1,o,l,p=[],y=[],b,f,P,A=[].concat(a);for(s=n;s>=0;s-=1){if(b=this.searchProcessedElement(e[s]),b?t[s]=r[b-1]:e[s]._shouldRender=i,e[s].ty==="fl"||e[s].ty==="st"||e[s].ty==="gf"||e[s].ty==="gs")b?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],A),p.push(t[s].style);else if(e[s].ty==="gr"){if(!b)t[s]=this.createGroupElement(e[s]);else for(l=t[s].it.length,o=0;o<l;o+=1)t[s].prevViewData[o]=t[s].it[o];this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,i,A)}else e[s].ty==="tr"?(b||(P=this.createTransformElement(e[s]),t[s]=P),A.push(t[s]),this.addTransformToStyleList(t[s])):e[s].ty==="sh"||e[s].ty==="rc"||e[s].ty==="el"||e[s].ty==="sr"?b||(t[s]=this.createShapeElement(e[s])):e[s].ty==="tm"||e[s].ty==="rd"||e[s].ty==="pb"||e[s].ty==="zz"||e[s].ty==="op"?(b?(f=t[s],f.closed=!1):(f=ShapeModifiers.getModifier(e[s].ty),f.init(this,e[s]),t[s]=f,this.shapeModifiers.push(f)),y.push(f)):e[s].ty==="rp"&&(b?(f=t[s],f.closed=!0):(f=ShapeModifiers.getModifier(e[s].ty),t[s]=f,f.init(this,e,s,t),this.shapeModifiers.push(f),i=!1),y.push(f));this.addProcessedElement(e[s],s+1)}for(this.removeTransformFromStyleList(),this.closeStyles(p),n=y.length,s=0;s<n;s+=1)y[s].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,r,i,a,s,n,o,l=this.globalData.renderer,p=this.globalData.canvasContext,y,b;for(e=0;e<t;e+=1)if(b=this.stylesList[e],y=b.type,!((y==="st"||y==="gs")&&b.wi===0||!b.data._shouldRender||b.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),n=b.elements,y==="st"||y==="gs"?(l.ctxStrokeStyle(y==="st"?b.co:b.grd),l.ctxLineWidth(b.wi),l.ctxLineCap(b.lc),l.ctxLineJoin(b.lj),l.ctxMiterLimit(b.ml||0)):l.ctxFillStyle(y==="fl"?b.co:b.grd),l.ctxOpacity(b.coOp),y!=="st"&&y!=="gs"&&p.beginPath(),l.ctxTransform(b.preTransforms.finalTransform.props),i=n.length,r=0;r<i;r+=1){for((y==="st"||y==="gs")&&(p.beginPath(),b.da&&(p.setLineDash(b.da),p.lineDashOffset=b.do)),o=n[r].trNodes,s=o.length,a=0;a<s;a+=1)o[a].t==="m"?p.moveTo(o[a].p[0],o[a].p[1]):o[a].t==="c"?p.bezierCurveTo(o[a].pts[0],o[a].pts[1],o[a].pts[2],o[a].pts[3],o[a].pts[4],o[a].pts[5]):p.closePath();(y==="st"||y==="gs")&&(l.ctxStroke(),b.da&&p.setLineDash(this.dashResetter))}y!=="st"&&y!=="gs"&&this.globalData.renderer.ctxFill(b.r),l.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,i){var a,s=t.length-1,n;for(n=e,a=s;a>=0;a-=1)t[a].ty==="tr"?(n=r[a].transform,this.renderShapeTransform(e,n)):t[a].ty==="sh"||t[a].ty==="el"||t[a].ty==="rc"||t[a].ty==="sr"?this.renderPath(t[a],r[a]):t[a].ty==="fl"?this.renderFill(t[a],r[a],n):t[a].ty==="st"?this.renderStroke(t[a],r[a],n):t[a].ty==="gf"||t[a].ty==="gs"?this.renderGradientFill(t[a],r[a],n):t[a].ty==="gr"?this.renderShape(n,t[a].it,r[a].it):t[a].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,a,s,n,o=i._length;r.length=0;var l=e.transforms.finalTransform;for(n=0;n<o;n+=1){var p=i.shapes[n];if(p&&p.v){for(s=p._length,a=1;a<s;a+=1)a===1&&r.push({t:"m",p:l.applyToPointArray(p.v[0][0],p.v[0][1],0)}),r.push({t:"c",pts:l.applyToTriplePoints(p.o[a-1],p.i[a],p.v[a])});s===1&&r.push({t:"m",p:l.applyToPointArray(p.v[0][0],p.v[0][1],0)}),p.c&&s&&(r.push({t:"c",pts:l.applyToTriplePoints(p.o[a-1],p.i[0],p.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,a;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var s=this.globalData.canvasContext,n=t.s.v,o=t.e.v;if(e.t===1)a=s.createLinearGradient(n[0],n[1],o[0],o[1]);else{var l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)),p=Math.atan2(o[1]-n[1],o[0]-n[0]),y=t.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=l*y,f=Math.cos(p+t.a.v)*b+n[0],P=Math.sin(p+t.a.v)*b+n[1];a=s.createRadialGradient(f,P,0,n[0],n[1],l)}var A,m=e.g.p,E=t.g.c,d=1;for(A=0;A<m;A+=1)t.g._hasOpacity&&t.g._collapsable&&(d=t.g.o[A*2+1]),a.addColorStop(E[A*4]/100,"rgba("+E[A*4+1]+","+E[A*4+2]+","+E[A*4+3]+","+d+")");i.grd=a}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var i=t.style,a=t.d;a&&(a._mdf||this._isFirstFrame)&&(i.da=a.dashArray,i.do=a.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),a,s,n=e.l,o=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,s=e.finalText.length;var l,p,y,b,f,P,A,m,E,d,u=this.data.singleShape,g=e.tr*.001*e.finalSize,S=0,T=0,M=!0,k=0;for(a=0;a<s;a+=1){l=this.globalData.fontManager.getCharData(e.finalText[a],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),p=l&&l.data||{},o.reset(),u&&n[a].n&&(S=-g,T+=e.yOffset,T+=M?1:0,M=!1),f=p.shapes?p.shapes[0].it:[],A=f.length,o.scale(e.finalSize/100,e.finalSize/100),u&&this.applyTextPropertiesToMatrix(e,o,n[a].line,S,T),E=createSizedArray(A-1);var _=0;for(P=0;P<A;P+=1)if(f[P].ty==="sh"){for(b=f[P].ks.k.i.length,m=f[P].ks.k,d=[],y=1;y<b;y+=1)y===1&&d.push(o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),d.push(o.applyToX(m.o[y-1][0],m.o[y-1][1],0),o.applyToY(m.o[y-1][0],m.o[y-1][1],0),o.applyToX(m.i[y][0],m.i[y][1],0),o.applyToY(m.i[y][0],m.i[y][1],0),o.applyToX(m.v[y][0],m.v[y][1],0),o.applyToY(m.v[y][0],m.v[y][1],0));d.push(o.applyToX(m.o[y-1][0],m.o[y-1][1],0),o.applyToY(m.o[y-1][0],m.o[y-1][1],0),o.applyToX(m.i[0][0],m.i[0][1],0),o.applyToY(m.i[0][0],m.i[0][1],0),o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),E[_]=d,_+=1}u&&(S+=n[a].l,S+=g),this.textSpans[k]?this.textSpans[k].elem=E:this.textSpans[k]={elem:E},k+=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,a,s,n,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var p,y=null,b=null,f=null,P,A,m=this.globalData.renderer;for(t=0;t<r;t+=1)if(!l[t].n){if(p=o[t],p&&(m.save(),m.ctxTransform(p.p),m.ctxOpacity(p.o)),this.fill){for(p&&p.fc?y!==p.fc&&(m.ctxFillStyle(p.fc),y=p.fc):y!==this.values.fill&&(y=this.values.fill,m.ctxFillStyle(this.values.fill)),P=this.textSpans[t].elem,a=P.length,this.globalData.canvasContext.beginPath(),i=0;i<a;i+=1)for(A=P[i],n=A.length,this.globalData.canvasContext.moveTo(A[0],A[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(A[s],A[s+1],A[s+2],A[s+3],A[s+4],A[s+5]);this.globalData.canvasContext.closePath(),m.ctxFill()}if(this.stroke){for(p&&p.sw?f!==p.sw&&(f=p.sw,m.ctxLineWidth(p.sw)):f!==this.values.sWidth&&(f=this.values.sWidth,m.ctxLineWidth(this.values.sWidth)),p&&p.sc?b!==p.sc&&(b=p.sc,m.ctxStrokeStyle(p.sc)):b!==this.values.stroke&&(b=this.values.stroke,m.ctxStrokeStyle(this.values.stroke)),P=this.textSpans[t].elem,a=P.length,this.globalData.canvasContext.beginPath(),i=0;i<a;i+=1)for(A=P[i],n=A.length,this.globalData.canvasContext.moveTo(A[0],A[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(A[s],A[s+1],A[s+2],A[s+3],A[s+4],A[s+5]);this.globalData.canvasContext.closePath(),m.ctxStroke()}p&&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,a=r/i,s=this.assetData.w/this.assetData.h,n,o,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&l==="xMidYMid slice"||a<s&&l!=="xMidYMid slice"?(o=i,n=o*s):(n=r,o=n/s),t.drawImage(this.img,(r-n)/2,(i-o)/2,n,o,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,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 a,s;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var n=this.renderConfig.preserveAspectRatio.split(" "),o=n[1]||"meet",l=n[0]||"xMidYMid",p=l.substr(0,4),y=l.substr(4);a=r/i,s=this.transformCanvas.w/this.transformCanvas.h,s>a&&o==="meet"||s<a&&o==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),p==="xMid"&&(s<a&&o==="meet"||s>a&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:p==="xMax"&&(s<a&&o==="meet"||s>a&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,y==="YMid"&&(s>a&&o==="meet"||s<a&&o==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:y==="YMax"&&(s>a&&o==="meet"||s<a&&o==="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,a=this.cTr.props;for(i=0;i<16;i+=1)a[i]=r[i];if(e){this.nativeContext.restore();var s=this.stack[this.cArrPos+1];this.appliedFillStyle=s.fillStyle,this.appliedStrokeStyle=s.strokeStyle,this.appliedLineWidth=s.lineWidth,this.appliedLineCap=s.lineCap,this.appliedLineJoin=s.lineJoin,this.appliedMiterLimit=s.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.stack[this.cArrPos],i;for(i=0;i<16;i+=1)r.transform[i]=t[i];this.cArrPos+=1;var a=this.stack[this.cArrPos];a.opacity=r.opacity,a.fillStyle=r.fillStyle,a.strokeStyle=r.strokeStyle,a.lineWidth=r.lineWidth,a.lineCap=r.lineCap,a.lineJoin=r.lineJoin,a.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,a,s=r._length,n,o,l,p;if(!(s<=1)){for(a=0;a<s-1;a+=1)n=this.getTransformedPoint(i,r.v[a]),o=this.getTransformedPoint(i,r.o[a]),l=this.getTransformedPoint(i,r.i[a+1]),p=this.getTransformedPoint(i,r.v[a+1]),this.checkBounds(n,o,l,p,t);r.c&&(n=this.getTransformedPoint(i,r.v[a]),o=this.getTransformedPoint(i,r.o[a]),l=this.getTransformedPoint(i,r.i[0]),p=this.getTransformedPoint(i,r.v[0]),this.checkBounds(n,o,l,p,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,i,a){this.getBoundsOfCurve(e,t,r,i);var s=this.shapeBoundingBox;a.x=bmMin(s.left,a.x),a.xMax=bmMax(s.right,a.xMax),a.y=bmMin(s.top,a.y),a.yMax=bmMax(s.bottom,a.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 a=[[e[0],i[0]],[e[1],i[1]]],s,n,o,l,p,y,b,f=0;f<2;++f)n=6*e[f]-12*t[f]+6*r[f],s=-3*e[f]+9*t[f]-9*r[f]+3*i[f],o=3*t[f]-3*e[f],n|=0,s|=0,o|=0,s===0&&n===0||(s===0?(l=-o/n,l>0&&l<1&&a[f].push(this.calculateF(l,e,t,r,i,f))):(p=n*n-4*o*s,p>=0&&(y=(-n+bmSqrt(p))/(2*s),y>0&&y<1&&a[f].push(this.calculateF(y,e,t,r,i,f)),b=(-n-bmSqrt(p))/(2*s),b>0&&b<1&&a[f].push(this.calculateF(b,e,t,r,i,f)))));this.shapeBoundingBox.left=bmMin.apply(null,a[0]),this.shapeBoundingBox.top=bmMin.apply(null,a[1]),this.shapeBoundingBox.right=bmMax.apply(null,a[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,a[1])},HShapeElement.prototype.calculateF=function(e,t,r,i,a,s){return bmPow(1-e,3)*t[s]+3*bmPow(1-e,2)*e*r[s]+3*(1-e)*bmPow(e,2)*i[s]+bmPow(e,3)*a[s]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var i=0;i<e.keyframes.length;i+=1){var a=e.keyframes[i].s;a>r&&(r=a)}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,a="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=a,i.webkitTransform=a}}};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 a=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=a}var n,o,l=e.l;o=l.length;var p,y,b,f=this.mHelper,P,A="",m=0;for(n=0;n<o;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?p=this.textPaths[m]:(p=createNS("path"),p.setAttribute("stroke-linecap",lineCapEnum[1]),p.setAttribute("stroke-linejoin",lineJoinEnum[2]),p.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?(y=this.textSpans[m],b=y.children[0]):(y=createTag("div"),y.style.lineHeight=0,b=createNS("svg"),b.appendChild(p),styleDiv(y)))):this.isMasked?p=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(y=this.textSpans[m],p=this.textPaths[m]):(y=createTag("span"),styleDiv(y),p=createTag("span"),styleDiv(p),y.appendChild(p)),this.globalData.fontManager.chars){var E=this.globalData.fontManager.getCharData(e.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),d;if(E?d=E.data:d=null,f.reset(),d&&d.shapes&&d.shapes.length&&(P=d.shapes[0].it,f.scale(e.finalSize/100,e.finalSize/100),A=this.createPathShape(f,P),p.setAttribute("d",A)),this.isMasked)this.innerElem.appendChild(p);else{if(this.innerElem.appendChild(y),d&&d.shapes){document.body.appendChild(b);var u=b.getBBox();b.setAttribute("width",u.width+2),b.setAttribute("height",u.height+2),b.setAttribute("viewBox",u.x-1+" "+(u.y-1)+" "+(u.width+2)+" "+(u.height+2));var g=b.style,S="translate("+(u.x-1)+"px,"+(u.y-1)+"px)";g.transform=S,g.webkitTransform=S,l[n].yOffset=u.y-1}else b.setAttribute("width",1),b.setAttribute("height",1);y.appendChild(b)}}else if(p.textContent=l[n].val,p.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(p);else{this.innerElem.appendChild(y);var T=p.style,M="translate3d(0,"+-e.finalSize/1.2+"px,0)";T.transform=M,T.webkitTransform=M}this.isMasked?this.textSpans[m]=p:this.textSpans[m]=y,this.textSpans[m].style.display="block",this.textPaths[m]=p,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var r,i,a=0,s=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;i=n.length;var o,l,p;for(r=0;r<i;r+=1)n[r].n?a+=1:(l=this.textSpans[r],p=this.textPaths[r],o=s[a],a+=1,o._mdf.m&&(this.isMasked?l.setAttribute("transform",o.m):(l.style.webkitTransform=o.m,l.style.transform=o.m)),l.style.opacity=o.o,o.sw&&o._mdf.sw&&p.setAttribute("stroke-width",o.sw),o.sc&&o._mdf.sc&&p.setAttribute("stroke",o.sc),o.fc&&o._mdf.fc&&(p.setAttribute("fill",o.fc),p.style.color=o.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var y=this.innerElem.getBBox();this.currentBBox.w!==y.width&&(this.currentBBox.w=y.width,this.svgElement.setAttribute("width",y.width)),this.currentBBox.h!==y.height&&(this.currentBBox.h=y.height,this.svgElement.setAttribute("height",y.height));var b=1;if(this.currentBBox.w!==y.width+b*2||this.currentBBox.h!==y.height+b*2||this.currentBBox.x!==y.x-b||this.currentBBox.y!==y.y-b){this.currentBBox.w=y.width+b*2,this.currentBBox.h=y.height+b*2,this.currentBBox.x=y.x-b,this.currentBBox.y=y.y-b,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var f="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=f,e.webkitTransform=f}}}};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 a,s=e.ks.or.k.length;for(a=0;a<s;a+=1)e.ks.or.k[a].to=null,e.ks.or.k[a].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,a;for(e=0;e<t;e+=1)if(r=this.comp.threeDElements[e],r.type==="3d"){i=r.perspectiveElem.style,a=r.container.style;var s=this.pe.v+"px",n="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=s,i.webkitPerspective=s,a.transformOrigin=n,a.mozTransformOrigin=n,a.webkitTransformOrigin=n,i.transform=o,i.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,r;if(this.hierarchy)for(r=this.hierarchy.length,t=0;t<r;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(r=this.hierarchy.length-1,t=r;t>=0;t-=1){var 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 a;this.p?a=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:a=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var s=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),n=[a[0]/s,a[1]/s,a[2]/s],o=Math.sqrt(n[2]*n[2]+n[0]*n[0]),l=Math.atan2(n[1],o),p=Math.atan2(n[0],-n[2]);this.mat.rotateY(p).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var y=!this._prevMat.equals(this.mat);if((y||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var b,f,P;for(t=0;t<r;t+=1)if(b=this.comp.threeDElements[t],b.type==="3d"){if(y){var A=this.mat.toCSS();P=b.container.style,P.transform=A,P.webkitTransform=A}this.pe._mdf&&(f=b.perspectiveElem.style,f.perspective=this.pe.v+"px",f.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 a=0,s,n,o;a<t;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement&&(n=this.elements[a],o=this.layers[a].ddd?this.getThreeDContainerByPos(a):n.getBaseElement(),s=o||s),a+=1;s?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,s):(!i.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),i,a;styleDiv(r);var s=createTag("div");if(styleDiv(s),t==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var n="50% 50%";i.webkitTransformOrigin=n,i.mozTransformOrigin=n,i.transformOrigin=n,a=s.style;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";a.transform=o,a.webkitTransform=o}r.appendChild(s);var l={container:s,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,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 a=this.threeDElements[r].startPos,s;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(s=this.elements[a].getBaseElement()),a+=1;s?this.threeDElements[r].container.insertBefore(e,s):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,i=t.style;i.width=e.w+"px",i.height=e.h+"px",this.resizerElem=t,styleDiv(t),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),i.overflow="hidden";var a=createNS("svg");a.setAttribute("width","1"),a.setAttribute("height","1"),styleDiv(a),this.resizerElem.appendChild(a);var s=createNS("defs");a.appendChild(s),this.data=e,this.setupGlobalData(e,a),this.globalData.defs=s,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,r=e/t,i=this.globalData.compSize.w/this.globalData.compSize.h,a,s,n,o;i>r?(a=e/this.globalData.compSize.w,s=e/this.globalData.compSize.w,n=0,o=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(a=t/this.globalData.compSize.h,s=t/this.globalData.compSize.h,n=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,o=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+a+",0,0,0,0,"+s+",0,0,0,0,1,0,"+n+","+o+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r<i;r+=1){var a=this.threeDElements[r].perspectiveElem.style;a.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",a.perspective=a.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 a=this.createComp(e[t],i,this.globalData.comp,null);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}};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,a=e.layers.length;i<a;){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,a=6,s=52,n="random",o=t.pow(i,a),l=t.pow(2,s),p=l*2,y=i-1,b;function f(g,S,T){var M=[];S=S===!0?{entropy:!0}:S||{};var k=E(m(S.entropy?[g,u(e)]:g===null?d():g,3),M),_=new P(M),L=function(){for(var H=_.g(a),R=o,W=0;H<l;)H=(H+W)*i,R*=i,W=_.g(1);for(;H>=p;)H/=2,R/=2,W>>>=1;return(H+W)/R};return L.int32=function(){return _.g(4)|0},L.quick=function(){return _.g(4)/4294967296},L.double=L,E(u(_.S),e),(S.pass||T||function(U,H,R,W){return W&&(W.S&&A(W,_),U.state=function(){return A(_,{})}),R?(t[n]=U,H):U})(L,k,"global"in S?S.global:this==t,S.state)}t["seed"+n]=f;function P(g){var S,T=g.length,M=this,k=0,_=M.i=M.j=0,L=M.S=[];for(T||(g=[T++]);k<i;)L[k]=k++;for(k=0;k<i;k++)L[k]=L[_=y&_+g[k%T]+(S=L[k])],L[_]=S;M.g=function(U){for(var H,R=0,W=M.i,K=M.j,O=M.S;U--;)H=O[W=y&W+1],R=R*i+O[y&(O[W]=O[K=y&K+H])+(O[K]=H)];return M.i=W,M.j=K,R}}function A(g,S){return S.i=g.i,S.j=g.j,S.S=g.S.slice(),S}function m(g,S){var T=[],M=_typeof$2(g),k;if(S&&M=="object")for(k in g)try{T.push(m(g[k],S-1))}catch(_){}return T.length?T:M=="string"?g:g+"\0"}function E(g,S){for(var T=g+"",M,k=0;k<T.length;)S[y&k]=y&(M^=S[y&k]*19)+T.charCodeAt(k++);return u(S)}function d(){try{var g=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(g),u(g)}catch(M){var S=r.navigator,T=S&&S.plugins;return[+new Date,r,T,r.screen,u(e)]}}function u(g){return String.fromCharCode.apply(0,g)}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,a=[];for(r=0;r<i;r+=1)a[r]=-e[r];return a}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 a=0,s=e.length,n=t.length,o=[];a<s||a<n;)(typeof e[a]=="number"||e[a]instanceof Number)&&(typeof t[a]=="number"||t[a]instanceof Number)?o[a]=e[a]+t[a]:o[a]=t[a]===void 0?e[a]:e[a]||t[a],a+=1;return o}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 a=0,s=e.length,n=t.length,o=[];a<s||a<n;)(typeof e[a]=="number"||e[a]instanceof Number)&&(typeof t[a]=="number"||t[a]instanceof Number)?o[a]=e[a]-t[a]:o[a]=t[a]===void 0?e[a]:e[a]||t[a],a+=1;return o}return 0}function mul(e,t){var r=_typeof$1(e),i=_typeof$1(t),a;if(isNumerable(r,e)&&isNumerable(i,t))return e*t;var s,n;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(n=e.length,a=createTypedArray("float32",n),s=0;s<n;s+=1)a[s]=e[s]*t;return a}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,a=createTypedArray("float32",n),s=0;s<n;s+=1)a[s]=e*t[s];return a}return 0}function div(e,t){var r=_typeof$1(e),i=_typeof$1(t),a;if(isNumerable(r,e)&&isNumerable(i,t))return e/t;var s,n;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(n=e.length,a=createTypedArray("float32",n),s=0;s<n;s+=1)a[s]=e[s]/t;return a}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,a=createTypedArray("float32",n),s=0;s<n;s+=1)a[s]=e/t[s];return a}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),a=0;for(r=0;r<i;r+=1)a+=Math.pow(t[r]-e[r],2);return Math.sqrt(a)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],r=e[1],i=e[2],a=Math.max(t,r,i),s=Math.min(t,r,i),n,o,l=(a+s)/2;if(a===s)n=0,o=0;else{var p=a-s;switch(o=l>.5?p/(2-a-s):p/(a+s),a){case t:n=(r-i)/p+(r<i?6:0);break;case r:n=(i-t)/p+2;break;case i:n=(t-r)/p+4;break}n/=6}return[n,o,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],i=e[2],a,s,n;if(r===0)a=i,n=i,s=i;else{var o=i<.5?i*(1+r):i+r-i*r,l=2*i-o;a=hue2rgb(l,o,t+1/3),s=hue2rgb(l,o,t),n=hue2rgb(l,o,t-1/3)}return[a,s,n,e[3]]}function linear(e,t,r,i,a){if((i===void 0||a===void 0)&&(i=t,a=r,t=0,r=1),r<t){var s=r;r=t,t=s}if(e<=t)return i;if(e>=r)return a;var n=r===t?0:(e-t)/(r-t);if(!i.length)return i+(a-i)*n;var o,l=i.length,p=createTypedArray("float32",l);for(o=0;o<l;o+=1)p[o]=i[o]+(a[o]-i[o])*n;return p}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 a=createTypedArray("float32",i),s=BMMath.random();for(r=0;r<i;r+=1)a[r]=e[r]+s*(t[r]-e[r]);return a}e===void 0&&(e=0);var n=BMMath.random();return e+n*(t-e)}function createPath(e,t,r,i){var a,s=e.length,n=shapePool.newElement();n.setPathData(!!i,s);var o=[0,0],l,p;for(a=0;a<s;a+=1)l=t&&t[a]?t[a]:o,p=r&&r[a]?r[a]:o,n.setTripleAt(e[a][0],e[a][1],p[0]+e[a][0],p[1]+e[a][1],l[0]+e[a][0],l[1]+e[a][1],a,!0);return n}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,a,s=this.pv.length?this.pv.length:1,n=createTypedArray("float32",s);t=5;var o=Math.floor(time*t);for(i=0,a=0;i<o;){for(a=0;a<s;a+=1)n[a]+=-r+r*2*BMMath.random();i+=1}var l=time*t,p=l-Math.floor(l),y=createTypedArray("float32",s);if(s>1){for(a=0;a<s;a+=1)y[a]=this.pv[a]+n[a]+(-r+r*2*BMMath.random())*p;return y}return this.pv+n[0]+(-r+r*2*BMMath.random())*p}.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,a=-Math.atan2(r[1],r[2])/degToRads;return[a,i,0]}function easeOut(e,t,r,i,a){return applyEase(easeOutBez,e,t,r,i,a)}function easeIn(e,t,r,i,a){return applyEase(easeInBez,e,t,r,i,a)}function ease(e,t,r,i,a){return applyEase(easeInOutBez,e,t,r,i,a)}function applyEase(e,t,r,i,a,s){a===void 0?(a=r,s=i):t=(t-r)/(i-r),t>1?t=1:t<0&&(t=0);var n=e(t);if($bm_isInstanceOfArray(a)){var o,l=a.length,p=createTypedArray("float32",l);for(o=0;o<l;o+=1)p[o]=(s[o]-a[o])*n+a[o];return p}return(s-a)*n+a}function nearestKey(e){var t,r=data.k.length,i,a;if(!data.k.length||typeof data.k[0]=="number")i=0,a=0;else if(i=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)i=1,a=data.k[0].t;else{for(t=0;t<r-1;t+=1)if(e===data.k[t].t){i=t+1,a=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,a=data.k[t+1].t):(i=t+1,a=data.k[t].t);break}i===-1&&(i=t+1,a=data.k[t].t)}var s={};return s.index=i,s.time=a/elem.comp.globalData.frameRate,s}function key(e){var t,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=a.length,r=0;r<i;r+=1)t[r]=a[r],t.value[r]=a[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,a=[];function s(){i+=1}function n(){i-=1,i===0&&l()}function o(p){a.indexOf(p)===-1&&a.push(p)}function l(){var p,y=a.length;for(p=0;p<y;p+=1)a[p].release();a.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=s,r.renderer.globalData.popExpression=n,r.renderer.globalData.registerExpressionProperty=o}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 a=createSizedArray(i.viewData.length),s,n=i.viewData.length;for(s=0;s<n;s+=1)a[s]=new e(i.viewData[s],i.masksProperties[s]);var o=function(p){for(s=0;s<n;){if(i.masksProperties[s].nm===p)return a[s];s+=1}return null};return o};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(n,o,l){Object.defineProperty(n,"velocity",{get:function(){return o.getVelocityAtTime(o.comp.currentFrame)}}),n.numKeys=o.keyframes?o.keyframes.length:0,n.key=function(p){if(!n.numKeys)return 0;var y="";"s"in o.keyframes[p-1]?y=o.keyframes[p-1].s:"e"in o.keyframes[p-2]?y=o.keyframes[p-2].e:y=o.keyframes[p-2].s;var b=l==="unidimensional"?new Number(y):Object.assign({},y);return b.time=o.keyframes[p-1].t/o.elem.comp.globalData.frameRate,b.value=l==="unidimensional"?y[0]:y,b},n.valueAtTime=o.getValueAtTime,n.speedAtTime=o.getSpeedAtTime,n.velocityAtTime=o.getVelocityAtTime,n.propertyGroup=o.propertyGroup}function i(n){(!n||!("pv"in n))&&(n=e);var o=1/n.mult,l=n.pv*o,p=new Number(l);return p.value=l,r(p,n,"unidimensional"),function(){return n.k&&n.getValue(),l=n.v*o,p.value!==l&&(p=new Number(l),p.value=l,r(p,n,"unidimensional")),p}}function a(n){(!n||!("pv"in n))&&(n=t);var o=1/n.mult,l=n.data&&n.data.l||n.pv.length,p=createTypedArray("float32",l),y=createTypedArray("float32",l);return p.value=y,r(p,n,"multidimensional"),function(){n.k&&n.getValue();for(var b=0;b<l;b+=1)y[b]=n.v[b]*o,p[b]=y[b];return p}}function s(){return e}return function(n){return n?n.propType==="unidimensional"?i(n):a(n):s}}(),TransformExpressionInterface=function(){return function(e){function t(n){switch(n){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,a,s;return e.p?s=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),i=ExpressionPropertyInterface(e.py),e.pz&&(a=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?s():[r(),i(),a?a():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(p){var y=new Matrix;if(p!==void 0){var b=this._elem.finalTransform.mProp.getValueAtTime(p);b.clone(y)}else{var f=this._elem.finalTransform.mProp;f.applyToMatrix(y)}return y}function t(p,y){var b=this.getMatrix(y);return b.props[12]=0,b.props[13]=0,b.props[14]=0,this.applyPoint(b,p)}function r(p,y){var b=this.getMatrix(y);return this.applyPoint(b,p)}function i(p,y){var b=this.getMatrix(y);return b.props[12]=0,b.props[13]=0,b.props[14]=0,this.invertPoint(b,p)}function a(p,y){var b=this.getMatrix(y);return this.invertPoint(b,p)}function s(p,y){if(this._elem.hierarchy&&this._elem.hierarchy.length){var b,f=this._elem.hierarchy.length;for(b=0;b<f;b+=1)this._elem.hierarchy[b].finalTransform.mProp.applyToMatrix(p)}return p.applyToPointArray(y[0],y[1],y[2]||0)}function n(p,y){if(this._elem.hierarchy&&this._elem.hierarchy.length){var b,f=this._elem.hierarchy.length;for(b=0;b<f;b+=1)this._elem.hierarchy[b].finalTransform.mProp.applyToMatrix(p)}return p.inversePoint(y)}function o(p){var y=new Matrix;if(y.reset(),this._elem.finalTransform.mProp.applyToMatrix(y),this._elem.hierarchy&&this._elem.hierarchy.length){var b,f=this._elem.hierarchy.length;for(b=0;b<f;b+=1)this._elem.hierarchy[b].finalTransform.mProp.applyToMatrix(y);return y.inversePoint(p)}return y.inversePoint(p)}function l(){return[1,1,1,1]}return function(p){var y;function b(m){P.mask=new MaskManagerInterface(m,p)}function f(m){P.effect=m}function P(m){switch(m){case"ADBE Root Vectors Group":case"Contents":case 2:return P.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return y;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return P.effect;case"ADBE Text Properties":return P.textInterface;default:return null}}P.getMatrix=e,P.invertPoint=n,P.applyPoint=s,P.toWorld=r,P.toWorldVec=t,P.fromWorld=a,P.fromWorldVec=i,P.toComp=r,P.fromComp=o,P.sampleImage=l,P.sourceRectAtTime=p.sourceRectAtTime.bind(p),P._elem=p,y=TransformExpressionInterface(p.finalTransform.mProp);var A=getDescriptor(y,"anchorPoint");return Object.defineProperties(P,{hasParent:{get:function(){return p.hierarchy.length}},parent:{get:function(){return p.hierarchy[0].layerInterface}},rotation:getDescriptor(y,"rotation"),scale:getDescriptor(y,"scale"),position:getDescriptor(y,"position"),opacity:getDescriptor(y,"opacity"),anchorPoint:A,anchor_point:A,transform:{get:function(){return y}},active:{get:function(){return p.isInRange}}}),P.startTime=p.data.st,P.index=p.data.ind,P.source=p.data.refId,P.height=p.data.ty===0?p.data.h:100,P.width=p.data.ty===0?p.data.w:100,P.inPoint=p.data.ip/p.comp.globalData.frameRate,P.outPoint=p.data.op/p.comp.globalData.frameRate,P._name=p.data.nm,P.registerMaskInterface=b,P.registerEffectsInterface=f,P}}(),propertyGroupFactory=function(){return function(e,t){return function(r){return r=r===void 0?1:r,r<=0?e:t(r-1)}}}(),PropertyInterface=function(){return function(e,t){var r={_name:e};function i(a){return a=a===void 0?1:a,a<=0?r:t(a-1)}return i}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(a,s){if(a.effectsManager){var n=[],o=a.data.ef,l,p=a.effectsManager.effectElements.length;for(l=0;l<p;l+=1)n.push(r(o[l],a.effectsManager.effectElements[l],s,a));var y=a.data.ef||[],b=function(P){for(l=0,p=y.length;l<p;){if(P===y[l].nm||P===y[l].mn||P===y[l].ix)return n[l];l+=1}return null};return Object.defineProperty(b,"numProperties",{get:function(){return y.length}}),b}return null}function r(a,s,n,o){function l(P){for(var A=a.ef,m=0,E=A.length;m<E;){if(P===A[m].nm||P===A[m].mn||P===A[m].ix)return A[m].ty===5?y[m]:y[m]();m+=1}throw new Error}var p=propertyGroupFactory(l,n),y=[],b,f=a.ef.length;for(b=0;b<f;b+=1)a.ef[b].ty===5?y.push(r(a.ef[b],s.effectElements[b],s.effectElements[b].propertyGroup,o)):y.push(i(s.effectElements[b],a.ef[b].ty,o,p));return a.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return y[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return a.np}},_name:{value:a.nm},propertyGroup:{value:p}}),l.enabled=a.en!==0,l.active=l.enabled,l}function i(a,s,n,o){var l=ExpressionPropertyInterface(a.p);function p(){return s===10?n.comp.compInterface(a.p.v):l()}return a.p.setGroupProperty&&a.p.setGroupProperty(PropertyInterface("",o)),p}return e}(),ShapePathInterface=function(){return function(t,r,i){var a=r.sh;function s(o){return o==="Shape"||o==="shape"||o==="Path"||o==="path"||o==="ADBE Vector Shape"||o===2?s.path:null}var n=propertyGroupFactory(s,i);return a.setGroupProperty(PropertyInterface("Path",n)),Object.defineProperties(s,{path:{get:function(){return a.k&&a.getValue(),a}},shape:{get:function(){return a.k&&a.getValue(),a}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),s}}(),ShapeExpressionInterface=function(){function e(A,m,E){var d=[],u,g=A?A.length:0;for(u=0;u<g;u+=1)A[u].ty==="gr"?d.push(r(A[u],m[u],E)):A[u].ty==="fl"?d.push(i(A[u],m[u],E)):A[u].ty==="st"?d.push(n(A[u],m[u],E)):A[u].ty==="tm"?d.push(o(A[u],m[u],E)):A[u].ty==="tr"||(A[u].ty==="el"?d.push(p(A[u],m[u],E)):A[u].ty==="sr"?d.push(y(A[u],m[u],E)):A[u].ty==="sh"?d.push(ShapePathInterface(A[u],m[u],E)):A[u].ty==="rc"?d.push(b(A[u],m[u],E)):A[u].ty==="rd"?d.push(f(A[u],m[u],E)):A[u].ty==="rp"?d.push(P(A[u],m[u],E)):A[u].ty==="gf"?d.push(a(A[u],m[u],E)):d.push(s(A[u],m[u])));return d}function t(A,m,E){var d,u=function(T){for(var M=0,k=d.length;M<k;){if(d[M]._name===T||d[M].mn===T||d[M].propertyIndex===T||d[M].ix===T||d[M].ind===T)return d[M];M+=1}return typeof T=="number"?d[T-1]:null};u.propertyGroup=propertyGroupFactory(u,E),d=e(A.it,m.it,u.propertyGroup),u.numProperties=d.length;var g=l(A.it[A.it.length-1],m.it[m.it.length-1],u.propertyGroup);return u.transform=g,u.propertyIndex=A.cix,u._name=A.nm,u}function r(A,m,E){var d=function(T){switch(T){case"ADBE Vectors Group":case"Contents":case 2:return d.content;default:return d.transform}};d.propertyGroup=propertyGroupFactory(d,E);var u=t(A,m,d.propertyGroup),g=l(A.it[A.it.length-1],m.it[m.it.length-1],d.propertyGroup);return d.content=u,d.transform=g,Object.defineProperty(d,"_name",{get:function(){return A.nm}}),d.numProperties=A.np,d.propertyIndex=A.ix,d.nm=A.nm,d.mn=A.mn,d}function i(A,m,E){function d(u){return u==="Color"||u==="color"?d.color:u==="Opacity"||u==="opacity"?d.opacity:null}return Object.defineProperties(d,{color:{get:ExpressionPropertyInterface(m.c)},opacity:{get:ExpressionPropertyInterface(m.o)},_name:{value:A.nm},mn:{value:A.mn}}),m.c.setGroupProperty(PropertyInterface("Color",E)),m.o.setGroupProperty(PropertyInterface("Opacity",E)),d}function a(A,m,E){function d(u){return u==="Start Point"||u==="start point"?d.startPoint:u==="End Point"||u==="end point"?d.endPoint:u==="Opacity"||u==="opacity"?d.opacity:null}return Object.defineProperties(d,{startPoint:{get:ExpressionPropertyInterface(m.s)},endPoint:{get:ExpressionPropertyInterface(m.e)},opacity:{get:ExpressionPropertyInterface(m.o)},type:{get:function(){return"a"}},_name:{value:A.nm},mn:{value:A.mn}}),m.s.setGroupProperty(PropertyInterface("Start Point",E)),m.e.setGroupProperty(PropertyInterface("End Point",E)),m.o.setGroupProperty(PropertyInterface("Opacity",E)),d}function s(){function A(){return null}return A}function n(A,m,E){var d=propertyGroupFactory(k,E),u=propertyGroupFactory(M,d);function g(_){Object.defineProperty(M,A.d[_].nm,{get:ExpressionPropertyInterface(m.d.dataProps[_].p)})}var S,T=A.d?A.d.length:0,M={};for(S=0;S<T;S+=1)g(S),m.d.dataProps[S].p.setGroupProperty(u);function k(_){return _==="Color"||_==="color"?k.color:_==="Opacity"||_==="opacity"?k.opacity:_==="Stroke Width"||_==="stroke width"?k.strokeWidth:null}return Object.defineProperties(k,{color:{get:ExpressionPropertyInterface(m.c)},opacity:{get:ExpressionPropertyInterface(m.o)},strokeWidth:{get:ExpressionPropertyInterface(m.w)},dash:{get:function(){return M}},_name:{value:A.nm},mn:{value:A.mn}}),m.c.setGroupProperty(PropertyInterface("Color",d)),m.o.setGroupProperty(PropertyInterface("Opacity",d)),m.w.setGroupProperty(PropertyInterface("Stroke Width",d)),k}function o(A,m,E){function d(g){return g===A.e.ix||g==="End"||g==="end"?d.end:g===A.s.ix?d.start:g===A.o.ix?d.offset:null}var u=propertyGroupFactory(d,E);return d.propertyIndex=A.ix,m.s.setGroupProperty(PropertyInterface("Start",u)),m.e.setGroupProperty(PropertyInterface("End",u)),m.o.setGroupProperty(PropertyInterface("Offset",u)),d.propertyIndex=A.ix,d.propertyGroup=E,Object.defineProperties(d,{start:{get:ExpressionPropertyInterface(m.s)},end:{get:ExpressionPropertyInterface(m.e)},offset:{get:ExpressionPropertyInterface(m.o)},_name:{value:A.nm}}),d.mn=A.mn,d}function l(A,m,E){function d(g){return A.a.ix===g||g==="Anchor Point"?d.anchorPoint:A.o.ix===g||g==="Opacity"?d.opacity:A.p.ix===g||g==="Position"?d.position:A.r.ix===g||g==="Rotation"||g==="ADBE Vector Rotation"?d.rotation:A.s.ix===g||g==="Scale"?d.scale:A.sk&&A.sk.ix===g||g==="Skew"?d.skew:A.sa&&A.sa.ix===g||g==="Skew Axis"?d.skewAxis:null}var u=propertyGroupFactory(d,E);return m.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",u)),m.transform.mProps.p.setGroupProperty(PropertyInterface("Position",u)),m.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",u)),m.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",u)),m.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",u)),m.transform.mProps.sk&&(m.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",u)),m.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",u))),m.transform.op.setGroupProperty(PropertyInterface("Opacity",u)),Object.defineProperties(d,{opacity:{get:ExpressionPropertyInterface(m.transform.mProps.o)},position:{get:ExpressionPropertyInterface(m.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(m.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(m.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(m.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(m.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(m.transform.mProps.sa)},_name:{value:A.nm}}),d.ty="tr",d.mn=A.mn,d.propertyGroup=E,d}function p(A,m,E){function d(S){return A.p.ix===S?d.position:A.s.ix===S?d.size:null}var u=propertyGroupFactory(d,E);d.propertyIndex=A.ix;var g=m.sh.ty==="tm"?m.sh.prop:m.sh;return g.s.setGroupProperty(PropertyInterface("Size",u)),g.p.setGroupProperty(PropertyInterface("Position",u)),Object.defineProperties(d,{size:{get:ExpressionPropertyInterface(g.s)},position:{get:ExpressionPropertyInterface(g.p)},_name:{value:A.nm}}),d.mn=A.mn,d}function y(A,m,E){function d(S){return A.p.ix===S?d.position:A.r.ix===S?d.rotation:A.pt.ix===S?d.points:A.or.ix===S||S==="ADBE Vector Star Outer Radius"?d.outerRadius:A.os.ix===S?d.outerRoundness:A.ir&&(A.ir.ix===S||S==="ADBE Vector Star Inner Radius")?d.innerRadius:A.is&&A.is.ix===S?d.innerRoundness:null}var u=propertyGroupFactory(d,E),g=m.sh.ty==="tm"?m.sh.prop:m.sh;return d.propertyIndex=A.ix,g.or.setGroupProperty(PropertyInterface("Outer Radius",u)),g.os.setGroupProperty(PropertyInterface("Outer Roundness",u)),g.pt.setGroupProperty(PropertyInterface("Points",u)),g.p.setGroupProperty(PropertyInterface("Position",u)),g.r.setGroupProperty(PropertyInterface("Rotation",u)),A.ir&&(g.ir.setGroupProperty(PropertyInterface("Inner Radius",u)),g.is.setGroupProperty(PropertyInterface("Inner Roundness",u))),Object.defineProperties(d,{position:{get:ExpressionPropertyInterface(g.p)},rotation:{get:ExpressionPropertyInterface(g.r)},points:{get:ExpressionPropertyInterface(g.pt)},outerRadius:{get:ExpressionPropertyInterface(g.or)},outerRoundness:{get:ExpressionPropertyInterface(g.os)},innerRadius:{get:ExpressionPropertyInterface(g.ir)},innerRoundness:{get:ExpressionPropertyInterface(g.is)},_name:{value:A.nm}}),d.mn=A.mn,d}function b(A,m,E){function d(S){return A.p.ix===S?d.position:A.r.ix===S?d.roundness:A.s.ix===S||S==="Size"||S==="ADBE Vector Rect Size"?d.size:null}var u=propertyGroupFactory(d,E),g=m.sh.ty==="tm"?m.sh.prop:m.sh;return d.propertyIndex=A.ix,g.p.setGroupProperty(PropertyInterface("Position",u)),g.s.setGroupProperty(PropertyInterface("Size",u)),g.r.setGroupProperty(PropertyInterface("Rotation",u)),Object.defineProperties(d,{position:{get:ExpressionPropertyInterface(g.p)},roundness:{get:ExpressionPropertyInterface(g.r)},size:{get:ExpressionPropertyInterface(g.s)},_name:{value:A.nm}}),d.mn=A.mn,d}function f(A,m,E){function d(S){return A.r.ix===S||S==="Round Corners 1"?d.radius:null}var u=propertyGroupFactory(d,E),g=m;return d.propertyIndex=A.ix,g.rd.setGroupProperty(PropertyInterface("Radius",u)),Object.defineProperties(d,{radius:{get:ExpressionPropertyInterface(g.rd)},_name:{value:A.nm}}),d.mn=A.mn,d}function P(A,m,E){function d(S){return A.c.ix===S||S==="Copies"?d.copies:A.o.ix===S||S==="Offset"?d.offset:null}var u=propertyGroupFactory(d,E),g=m;return d.propertyIndex=A.ix,g.c.setGroupProperty(PropertyInterface("Copies",u)),g.o.setGroupProperty(PropertyInterface("Offset",u)),Object.defineProperties(d,{copies:{get:ExpressionPropertyInterface(g.c)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:A.nm}}),d.mn=A.mn,d}return function(A,m,E){var d;function u(S){if(typeof S=="number")return S=S===void 0?1:S,S===0?E:d[S-1];for(var T=0,M=d.length;T<M;){if(d[T]._name===S)return d[T];T+=1}return null}function g(){return E}return u.propertyGroup=propertyGroupFactory(u,g),d=e(A,m,u.propertyGroup),u.numProperties=d.length,u._name="Contents",u}}(),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 a=e.textProperty.currentData.t;return(!t||a!==t.value)&&(t=new String(a),t.value=a||new String(a),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 a="",s=i.getFootageData();function n(){return a="",s=i.getFootageData(),o}function o(l){if(s[l])return a=l,s=s[l],_typeof(s)==="object"?o:s;var p=l.indexOf(a);if(p!==-1){var y=parseInt(l.substr(p+a.length),10);return s=s[y],_typeof(s)==="object"?o:s}return""}return n},t=function(i){function a(s){return s==="Outline"?a.outlineInterface():null}return a._name="Outline",a.outlineInterface=e(i),a};return function(r){function i(a){return a==="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(n,o,l){o.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(n,o,l).bind(l)))}function t(n){return n*=this.elem.globalData.frameRate,n-=this.offsetTime,n!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<n?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(n,this._cachingAtTime),this._cachingAtTime.lastFrame=n),this._cachingAtTime.value}function r(n){var o=-.01,l=this.getValueAtTime(n),p=this.getValueAtTime(n+o),y=0;if(l.length){var b;for(b=0;b<l.length;b+=1)y+=Math.pow(p[b]-l[b],2);y=Math.sqrt(y)*100}else y=0;return y}function i(n){if(this.vel!==void 0)return this.vel;var o=-.001,l=this.getValueAtTime(n),p=this.getValueAtTime(n+o),y;if(l.length){y=createTypedArray("float32",l.length);var b;for(b=0;b<l.length;b+=1)y[b]=(p[b]-l[b])/o}else y=(p-l)/o;return y}function a(){return this.pv}function s(n){this.propertyGroup=n}return{searchExpressions:e,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:t,getStaticValueAtTime:a,setGroupProperty:s}}();function addPropertyDecorator(){function e(f,P,A){if(!this.k||!this.keyframes)return this.pv;f=f?f.toLowerCase():"";var m=this.comp.renderedFrame,E=this.keyframes,d=E[E.length-1].t;if(m<=d)return this.pv;var u,g;A?(P?u=Math.abs(d-this.elem.comp.globalData.frameRate*P):u=Math.max(0,d-this.elem.data.ip),g=d-u):((!P||P>E.length-1)&&(P=E.length-1),g=E[E.length-1-P].t,u=d-g);var S,T,M;if(f==="pingpong"){var k=Math.floor((m-g)/u);if(k%2!==0)return this.getValueAtTime((u-(m-g)%u+g)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var _=this.getValueAtTime(g/this.comp.globalData.frameRate,0),L=this.getValueAtTime(d/this.comp.globalData.frameRate,0),U=this.getValueAtTime(((m-g)%u+g)/this.comp.globalData.frameRate,0),H=Math.floor((m-g)/u);if(this.pv.length){for(M=new Array(_.length),T=M.length,S=0;S<T;S+=1)M[S]=(L[S]-_[S])*H+U[S];return M}return(L-_)*H+U}else if(f==="continue"){var R=this.getValueAtTime(d/this.comp.globalData.frameRate,0),W=this.getValueAtTime((d-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(R.length),T=M.length,S=0;S<T;S+=1)M[S]=R[S]+(R[S]-W[S])*((m-d)/this.comp.globalData.frameRate)/5e-4;return M}return R+(R-W)*((m-d)/.001)}return this.getValueAtTime(((m-g)%u+g)/this.comp.globalData.frameRate,0)}function t(f,P,A){if(!this.k)return this.pv;f=f?f.toLowerCase():"";var m=this.comp.renderedFrame,E=this.keyframes,d=E[0].t;if(m>=d)return this.pv;var u,g;A?(P?u=Math.abs(this.elem.comp.globalData.frameRate*P):u=Math.max(0,this.elem.data.op-d),g=d+u):((!P||P>E.length-1)&&(P=E.length-1),g=E[P].t,u=g-d);var S,T,M;if(f==="pingpong"){var k=Math.floor((d-m)/u);if(k%2===0)return this.getValueAtTime(((d-m)%u+d)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var _=this.getValueAtTime(d/this.comp.globalData.frameRate,0),L=this.getValueAtTime(g/this.comp.globalData.frameRate,0),U=this.getValueAtTime((u-(d-m)%u+d)/this.comp.globalData.frameRate,0),H=Math.floor((d-m)/u)+1;if(this.pv.length){for(M=new Array(_.length),T=M.length,S=0;S<T;S+=1)M[S]=U[S]-(L[S]-_[S])*H;return M}return U-(L-_)*H}else if(f==="continue"){var R=this.getValueAtTime(d/this.comp.globalData.frameRate,0),W=this.getValueAtTime((d+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(M=new Array(R.length),T=M.length,S=0;S<T;S+=1)M[S]=R[S]+(R[S]-W[S])*(d-m)/.001;return M}return R+(R-W)*(d-m)/.001}return this.getValueAtTime((u-((d-m)%u+d))/this.comp.globalData.frameRate,0)}function r(f,P){if(!this.k)return this.pv;if(f=(f||.4)*.5,P=Math.floor(P||5),P<=1)return this.pv;var A=this.comp.renderedFrame/this.comp.globalData.frameRate,m=A-f,E=A+f,d=P>1?(E-m)/(P-1):1,u=0,g=0,S;this.pv.length?S=createTypedArray("float32",this.pv.length):S=0;for(var T;u<P;){if(T=this.getValueAtTime(m+u*d),this.pv.length)for(g=0;g<this.pv.length;g+=1)S[g]+=T[g];else S+=T;u+=1}if(this.pv.length)for(g=0;g<this.pv.length;g+=1)S[g]/=P;else S/=P;return S}function i(f){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var P=this._transformCachingAtTime.v;if(P.cloneFromProps(this.pre.props),this.appliedTransformations<1){var A=this.a.getValueAtTime(f);P.translate(-A[0]*this.a.mult,-A[1]*this.a.mult,A[2]*this.a.mult)}if(this.appliedTransformations<2){var m=this.s.getValueAtTime(f);P.scale(m[0]*this.s.mult,m[1]*this.s.mult,m[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var E=this.sk.getValueAtTime(f),d=this.sa.getValueAtTime(f);P.skewFromAxis(-E*this.sk.mult,d*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var u=this.r.getValueAtTime(f);P.rotate(-u*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var g=this.rz.getValueAtTime(f),S=this.ry.getValueAtTime(f),T=this.rx.getValueAtTime(f),M=this.or.getValueAtTime(f);P.rotateZ(-g*this.rz.mult).rotateY(S*this.ry.mult).rotateX(T*this.rx.mult).rotateZ(-M[2]*this.or.mult).rotateY(M[1]*this.or.mult).rotateX(M[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var k=this.px.getValueAtTime(f),_=this.py.getValueAtTime(f);if(this.data.p.z){var L=this.pz.getValueAtTime(f);P.translate(k*this.px.mult,_*this.py.mult,-L*this.pz.mult)}else P.translate(k*this.px.mult,_*this.py.mult,0)}else{var U=this.p.getValueAtTime(f);P.translate(U[0]*this.p.mult,U[1]*this.p.mult,-U[2]*this.p.mult)}return P}function a(){return this.v.clone(new Matrix)}var s=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(f,P,A){var m=s(f,P,A);return m.dynamicProperties.length?m.getValueAtTime=i.bind(m):m.getValueAtTime=a.bind(m),m.setGroupProperty=expressionHelpers.setGroupProperty,m};var n=PropertyFactory.getProp;PropertyFactory.getProp=function(f,P,A,m,E){var d=n(f,P,A,m,E);d.kf?d.getValueAtTime=expressionHelpers.getValueAtTime.bind(d):d.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d.loopOut=e,d.loopIn=t,d.smooth=r,d.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(d),d.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(d),d.numKeys=P.a===1?P.k.length:0,d.propertyIndex=P.ix;var u=0;return A!==0&&(u=createTypedArray("float32",P.a===1?P.k[0].s.length:P.k.length)),d._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(f,P,d),d.k&&E.addDynamicProperty(d),d};function o(f){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),f*=this.elem.globalData.frameRate,f-=this.offsetTime,f!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<f?this._caching.lastIndex:0,this._cachingAtTime.lastTime=f,this.interpolateShape(f,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),p=ShapePropertyFactory.getKeyframedConstructorFunction();function y(){}y.prototype={vertices:function(P,A){this.k&&this.getValue();var m=this.v;A!==void 0&&(m=this.getValueAtTime(A,0));var E,d=m._length,u=m[P],g=m.v,S=createSizedArray(d);for(E=0;E<d;E+=1)P==="i"||P==="o"?S[E]=[u[E][0]-g[E][0],u[E][1]-g[E][1]]:S[E]=[u[E][0],u[E][1]];return S},points:function(P){return this.vertices("v",P)},inTangents:function(P){return this.vertices("i",P)},outTangents:function(P){return this.vertices("o",P)},isClosed:function(){return this.v.c},pointOnPath:function(P,A){var m=this.v;A!==void 0&&(m=this.getValueAtTime(A,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(m));for(var E=this._segmentsLength,d=E.lengths,u=E.totalLength*P,g=0,S=d.length,T=0,M;g<S;){if(T+d[g].addedLength>u){var k=g,_=m.c&&g===S-1?0:g+1,L=(u-T)/d[g].addedLength;M=bez.getPointInSegment(m.v[k],m.v[_],m.o[k],m.i[_],L,d[g]);break}else T+=d[g].addedLength;g+=1}return M||(M=m.c?[m.v[0][0],m.v[0][1]]:[m.v[m._length-1][0],m.v[m._length-1][1]]),M},vectorOnPath:function(P,A,m){P==1?P=this.v.c:P==0&&(P=.999);var E=this.pointOnPath(P,A),d=this.pointOnPath(P+.001,A),u=d[0]-E[0],g=d[1]-E[1],S=Math.sqrt(Math.pow(u,2)+Math.pow(g,2));if(S===0)return[0,0];var T=m==="tangent"?[u/S,g/S]:[-g/S,u/S];return T},tangentOnPath:function(P,A){return this.vectorOnPath(P,A,"tangent")},normalOnPath:function(P,A){return this.vectorOnPath(P,A,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([y],l),extendPrototype([y],p),p.prototype.getValueAtTime=o,p.prototype.initiateExpression=ExpressionManager.initiateExpression;var b=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(f,P,A,m,E){var d=b(f,P,A,m,E);return d.propertyIndex=P.ix,d.lock=!1,A===3?expressionHelpers.searchExpressions(f,P.pt,d):A===4&&expressionHelpers.searchExpressions(f,P.ks,d),d.k&&f.addDynamicProperty(d),d}}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 a={};return this.copyData(a,t),a.t=i.toString(),a.__complete=!1,a}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 a,s;for(s=0;s<r.length;s+=1)a=createNS("feMergeNode"),a.setAttribute("in",r[s]),i.appendChild(a),i.appendChild(a);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,a){this.filterManager=t;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=s,s.setAttribute("result",i+"_tint_1"),e.appendChild(s),s=createNS("feColorMatrix"),s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",i+"_tint_2"),e.appendChild(s),this.matrixFilter=s;var n=this.createMergeNode(i,[a,i+"_tint_1",i+"_tint_2"]);e.appendChild(n)}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 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),e.appendChild(a),this.matrixFilter=a}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,a;for(this.filterManager.effectElements[1].p.v===1?(a=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,a=i+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),i;i<a;i+=1)t=createNS("path"),r.appendChild(t),this.paths.push({p:t,m:i});if(this.filterManager.effectElements[10].p.v===3){var s=createNS("mask"),n=createElementID();s.setAttribute("id",n),s.setAttribute("mask-type","alpha"),s.appendChild(r),this.elem.globalData.defs.appendChild(s);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+n+")");e[0];)o.appendChild(e[0]);this.elem.layerElement.appendChild(o),this.masker=s,r.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,r=this.paths.length,i,a;for(t=0;t<r;t+=1)if(this.paths[t].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[t].m],a=this.paths[t].p,(e||this.filterManager._mdf||i.prop._mdf)&&a.setAttribute("d",i.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var s;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var n=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=a.getTotalLength();s="0 0 0 "+l*n+" ";var p=l*(o-n),y=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,b=Math.floor(p/y),f;for(f=0;f<b;f+=1)s+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";s+="0 "+l*10+" 0 0"}else s="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;a.setAttribute("stroke-dasharray",s)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var P=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(P[0]*255)+","+bmFloor(P[1]*255)+","+bmFloor(P[2]*255)+")")}};function SVGTritoneFilter(e,t,r,i){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.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(a);var s=createNS("feComponentTransfer");s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),this.matrixFilter=s;var n=createNS("feFuncR");n.setAttribute("type","table"),s.appendChild(n),this.feFuncR=n;var o=createNS("feFuncG");o.setAttribute("type","table"),s.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),s.appendChild(l),this.feFuncB=l,e.appendChild(s)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,a=i[0]+" "+r[0]+" "+t[0],s=i[1]+" "+r[1]+" "+t[1],n=i[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",a),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",n)}};function SVGProLevelsFilter(e,t,r,i){this.filterManager=t;var a=this.filterManager.effectElements,s=createNS("feComponentTransfer");(a[10].p.k||a[10].p.v!==0||a[11].p.k||a[11].p.v!==1||a[12].p.k||a[12].p.v!==1||a[13].p.k||a[13].p.v!==0||a[14].p.k||a[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",s)),(a[17].p.k||a[17].p.v!==0||a[18].p.k||a[18].p.v!==1||a[19].p.k||a[19].p.v!==1||a[20].p.k||a[20].p.v!==0||a[21].p.k||a[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",s)),(a[24].p.k||a[24].p.v!==0||a[25].p.k||a[25].p.v!==1||a[26].p.k||a[26].p.v!==1||a[27].p.k||a[27].p.v!==0||a[28].p.k||a[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",s)),(a[31].p.k||a[31].p.v!==0||a[32].p.k||a[32].p.v!==1||a[33].p.k||a[33].p.v!==1||a[34].p.k||a[34].p.v!==0||a[35].p.k||a[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",s)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(s.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(s)),(a[3].p.k||a[3].p.v!==0||a[4].p.k||a[4].p.v!==1||a[5].p.k||a[5].p.v!==1||a[6].p.k||a[6].p.v!==0||a[7].p.k||a[7].p.v!==1)&&(s=createNS("feComponentTransfer"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),e.appendChild(s),this.feFuncRComposed=this.createFeFunc("feFuncR",s),this.feFuncGComposed=this.createFeFunc("feFuncG",s),this.feFuncBComposed=this.createFeFunc("feFuncB",s))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,i,a){for(var s=0,n=256,o,l=Math.min(e,t),p=Math.max(e,t),y=Array.call(null,{length:n}),b,f=0,P=a-i,A=t-e;s<=256;)o=s/256,o<=l?b=A<0?a:i:o>=p?b=A<0?i:a:b=i+P*Math.pow((o-e)/A,1/r),y[f]=b,f+=1,s+=256/(n-1);return y.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,a){var s=t.container.globalData.renderConfig.filterSize,n=t.data.fs||s;e.setAttribute("x",n.x||s.x),e.setAttribute("y",n.y||s.y),e.setAttribute("width",n.width||s.width),e.setAttribute("height",n.height||s.height),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",i+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,e.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",i+"_drop_shadow_1"),l.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var p=createNS("feFlood");p.setAttribute("flood-color","#00ff00"),p.setAttribute("flood-opacity","1"),p.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=p,e.appendChild(p);var y=createNS("feComposite");y.setAttribute("in",i+"_drop_shadow_3"),y.setAttribute("in2",i+"_drop_shadow_2"),y.setAttribute("operator","in"),y.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(y);var b=this.createMergeNode(i,[i+"_drop_shadow_4",a]);e.appendChild(b)}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,a=r*Math.cos(i),s=r*Math.sin(i);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",s)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var i=r.children,a=0,s=i.length;a<s&&i[a]!==e.layerElement;)a+=1;var n;a<=s-2&&(n=i[a+1]);var o=createNS("use");o.setAttribute("href","#"+t),n?r.insertBefore(o,n):r.appendChild(o)}},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 a=e.globalData.defs;a.appendChild(i);var s=createNS("symbol");s.setAttribute("id",r),this.replaceInParent(t,r),s.appendChild(t.layerElement),a.appendChild(s);var n=createNS("use");n.setAttribute("href","#"+r),i.appendChild(n),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 a=createNS("feGaussianBlur");a.setAttribute("result",i),e.appendChild(a),this.feGaussianBlur=a}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,a=i==3?0:r,s=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",a+" "+s);var n=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",n)}};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,a=t[2].p.v===1,s=t[3].p.v,n=a?s:t[4].p.v,o=t[5].p.v,l=t[6].p.v,p=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(n*.01,s*.01,1),this.matrix.rotate(-p*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+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(s){}var a=nativeObjectToString$1.call(e);return i&&(t?e[symToStringTag$1]=r:delete e[symToStringTag$1]),a}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 a=!r;r||(r={});for(var s=-1,n=t.length;++s<n;){var o=t[s],l=i?i(r[o],e[o],o,r,e):void 0;l===void 0&&(l=e[o]),a?baseAssignValue(r,o,l):assignValue(r,o,l)}return r}var MAX_SAFE_INTEGER=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var objectProto$a=Object.prototype;function isPrototype(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||objectProto$a;return e===r}function baseTimes(e,t){for(var r=-1,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),a=!r&&!i&&isBuffer$1(e),s=!r&&!i&&!a&&isTypedArray$1(e),n=r||i||a||s,o=n?baseTimes(e.length,String):[],l=o.length;for(var p in e)(t||hasOwnProperty$7.call(e,p))&&!(n&&(p=="length"||a&&(p=="offset"||p=="parent")||s&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||isIndex(p,l)))&&o.push(p);return o}function overArg(e,t){return function(r){return e(t(r))}}var nativeKeys=overArg(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys$1(e);var t=[];for(var r in Object(e))hasOwnProperty$6.call(e,r)&&r!="constructor"&&t.push(r);return t}function keys(e){return isArrayLike(e)?arrayLikeKeys(e):baseKeys(e)}function nativeKeysIn(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function baseKeysIn(e){if(!isObject(e))return nativeKeysIn(e);var t=isPrototype(e),r=[];for(var 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$1=getNative(root$1,"Map"),Map$1$1=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1$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,a=e.length;++r<i;)e[a+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$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&©Object(t,keys(t),e)}function baseAssignIn(e,t){return e&©Object(t,keysIn(t),e)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer(e,t){if(t)return e.slice();var r=e.length,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,a=0,s=[];++r<i;){var n=e[r];t(n,r,e)&&(s[a++]=n)}return s}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$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$1&&getTag(new Map$1$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,a,s){var n,o=t&CLONE_DEEP_FLAG$1,l=t&CLONE_FLAT_FLAG,p=t&CLONE_SYMBOLS_FLAG$1;if(r&&(n=a?r(e,i,a,s):r(e)),n!==void 0)return n;if(!isObject(e))return e;var y=isArray$1(e);if(y){if(n=initCloneArray(e),!o)return copyArray(e,n)}else{var b=getTag$1(e),f=b==funcTag||b==genTag;if(isBuffer$1(e))return cloneBuffer(e,o);if(b==objectTag$1||b==argsTag$1||f&&!a){if(n=l||f?{}:initCloneObject(e),!o)return l?copySymbolsIn(e,baseAssignIn(n,e)):copySymbols(e,baseAssign(n,e))}else{if(!cloneableTags[b])return a?e:{};n=initCloneByTag(e,b,o)}}s||(s=new Stack);var P=s.get(e);if(P)return P;s.set(e,n),isSet$1(e)?e.forEach(function(E){n.add(baseClone(E,t,r,E,e,s))}):isMap$1(e)&&e.forEach(function(E,d){n.set(d,baseClone(E,t,r,d,e,s))});var A=p?l?getAllKeysIn:getAllKeys:l?keysIn:keys,m=y?void 0:A(e);return arrayEach(m||e,function(E,d){m&&(d=E,E=e[d]),assignValue(n,d,baseClone(E,t,r,d,e,s))}),n}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,a,s){var n=r&COMPARE_PARTIAL_FLAG$3,o=e.length,l=t.length;if(o!=l&&!(n&&l>o))return!1;var p=s.get(e),y=s.get(t);if(p&&y)return p==t&&y==e;var b=-1,f=!0,P=r&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(s.set(e,t),s.set(t,e);++b<o;){var A=e[b],m=t[b];if(i)var E=n?i(m,A,b,t,e,s):i(A,m,b,e,t,s);if(E!==void 0){if(E)continue;f=!1;break}if(P){if(!arraySome(t,function(d,u){if(!cacheHas(P,u)&&(A===d||a(A,d,r,i,s)))return P.push(u)})){f=!1;break}}else if(!(A===m||a(A,m,r,i,s))){f=!1;break}}return s.delete(e),s.delete(t),f}function mapToArray(e){var t=-1,r=Array(e.size);return e.forEach(function(i,a){r[++t]=[a,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,a,s,n){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||!s(new Uint8Array$1$1(e),new Uint8Array$1$1(t)));case boolTag:case dateTag:case numberTag:return eq(+e,+t);case errorTag:return e.name==t.name&&e.message==t.message;case regexpTag:case stringTag:return e==t+"";case mapTag:var o=mapToArray;case setTag:var l=i&COMPARE_PARTIAL_FLAG$2;if(o||(o=setToArray),e.size!=t.size&&!l)return!1;var p=n.get(e);if(p)return p==t;i|=COMPARE_UNORDERED_FLAG,n.set(e,t);var y=equalArrays(o(e),o(t),i,a,s,n);return n.delete(e),y;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,a,s){var n=r&COMPARE_PARTIAL_FLAG$1,o=getAllKeys(e),l=o.length,p=getAllKeys(t),y=p.length;if(l!=y&&!n)return!1;for(var b=l;b--;){var f=o[b];if(!(n?f in t:hasOwnProperty$1.call(t,f)))return!1}var P=s.get(e),A=s.get(t);if(P&&A)return P==t&&A==e;var m=!0;s.set(e,t),s.set(t,e);for(var E=n;++b<l;){f=o[b];var d=e[f],u=t[f];if(i)var g=n?i(u,d,f,t,e,s):i(d,u,f,e,t,s);if(!(g===void 0?d===u||a(d,u,r,i,s):g)){m=!1;break}E||(E=f=="constructor")}if(m&&!E){var S=e.constructor,T=t.constructor;S!=T&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof T=="function"&&T instanceof T)&&(m=!1)}return s.delete(e),s.delete(t),m}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(e,t,r,i,a,s){var n=isArray$1(e),o=isArray$1(t),l=n?arrayTag:getTag$1(e),p=o?arrayTag:getTag$1(t);l=l==argsTag?objectTag:l,p=p==argsTag?objectTag:p;var y=l==objectTag,b=p==objectTag,f=l==p;if(f&&isBuffer$1(e)){if(!isBuffer$1(t))return!1;n=!0,y=!1}if(f&&!y)return s||(s=new Stack),n||isTypedArray$1(e)?equalArrays(e,t,r,i,a,s):equalByTag(e,t,l,r,i,a,s);if(!(r&COMPARE_PARTIAL_FLAG)){var P=y&&hasOwnProperty.call(e,"__wrapped__"),A=b&&hasOwnProperty.call(t,"__wrapped__");if(P||A){var m=P?e.value():e,E=A?t.value():t;return s||(s=new Stack),a(m,E,r,i,s)}}return f?(s||(s=new Stack),equalObjects(e,t,r,i,a,s)):!1}function baseIsEqual(e,t,r,i,a){return e===t?!0:e==null||t==null||!isObjectLike(e)&&!isObjectLike(t)?e!==e&&t!==t:baseIsEqualDeep(e,t,r,i,baseIsEqual,a)}function isEqual(e,t){return baseIsEqual(e,t)}var _export_sfc=(e,t)=>{const r=e.__vccOpts||e;for(const[i,a]of t)r[i]=a;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 a=1;const s=_=>document.querySelector(`[data-id="${_}"]`)!==null,n=async _=>{let L=e.autoPlay;e.playOnHover&&(L=!1);let U={};if(isEqual(e.animationData,{})===!1&&(U=cloneDeep(e.animationData)),e.animationLink!="")try{U=await(await fetch(e.animationLink)).json()}catch(W){console.error(W);return}let H=e.loop;typeof H=="number"&&H>0&&(H=H-1),e.delay>0&&(L=!1);const R={container:_,renderer:e.renderer,loop:H,autoplay:L,animationData:U,assetsPath:e.assetsPath};isEqual(e.rendererSettings,{})===!1&&(R.rendererSettings=e.rendererSettings),r=Lottie.loadAnimation(R),setTimeout(()=>{L=e.autoPlay,e.playOnHover?r.pause():L?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(),a=a*-1,r.setDirection(a),r.play()),t("onLoopComplete")}),r.addEventListener("complete",()=>{t("onComplete")}),r.addEventListener("enterFrame",()=>{t("onEnterFrame")}),r.addEventListener("segmentStart",()=>{t("onSegmentStart")})},o=computed(()=>{let _=e.width,L=e.height;return typeof e.width=="number"&&(_=`${e.width}px`),typeof e.height=="number"&&(L=`${e.height}px`),{"--lottie-animation-container-width":_,"--lottie-animation-container-height":L,"--lottie-animation-container-background-color":e.backgroundColor}}),l=()=>{r&&e.pauseOnHover&&r.pause(),r&&e.playOnHover&&r.play()},p=()=>{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 y=()=>{r&&r.play()},b=()=>{r&&r.pause()},f=()=>{r&&r.stop()},P=()=>{r&&r.destroy()},A=(_=1)=>{if(_<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(_)},m=_=>{r&&(_==="forward"?r.setDirection(1):_==="reverse"&&r.setDirection(-1))},E=(_,L=!0)=>{r&&r.goToAndStop(_,L)},d=(_,L=!0)=>{r&&r.goToAndPlay(_,L)},u=(_,L=!1)=>{r&&r.playSegments(_,L)},g=(_=!0)=>{r&&r.setSubframe(_)},S=(_=!0)=>{if(r)return r.getDuration(_)},T=(_,L=0)=>{r&&r.renderer.elements[L].updateDocumentData(_)},M=_=>{for(var L="",U="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",H=U.length,R=0;R<_;R++)L+=U.charAt(Math.floor(Math.random()*H));return L},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 L=setInterval(()=>{if(s(_)){clearInterval(L);const U=document.querySelector(`[data-id="${_}" ]`);U&&n(U)}},0)};return onMounted(async()=>{i.value=M(20),k(i.value)}),{elementid:i,hoverEnded:p,hoverStarted:l,getCurrentStyle:o,play:y,pause:b,stop:f,destroy:P,setSpeed:A,setDirection:m,goToAndStop:E,goToAndPlay:d,playSegments:u,setSubFrame:g,getDuration:S,updateDocumentData:T}}}),_hoisted_1=["data-id"];function _sfc_render(e,t,r,i,a,s){return openBlock(),createElementBlock("div",{"data-id":e.elementid,class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...n)=>e.hoverStarted&&e.hoverStarted(...n)),onMouseleave:t[1]||(t[1]=(...n)=>e.hoverEnded&&e.hoverEnded(...n))},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/luFQZJBqxXSPU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XctsGTZT0m1wJTlKO4XpwwLRPMRl1amXcdINdWkr9HhUD/8ovZKVdqsc+PWWq+jduU8nbuLyWlxtY27qpBzmHS+NV3iGVprAvn2nq5XyV7IIyYlpay/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$1="_videoWrap_q0ooo_1",content$3="_content_q0ooo_6",contentWrap$1="_contentWrap_q0ooo_10",tempVudio="_tempVudio_q0ooo_18",controls$1="_controls_q0ooo_25",hide$1="_hide_q0ooo_37",time$2="_time_q0ooo_40",slider$1="_slider_q0ooo_48",actions$1="_actions_q0ooo_66",actionWrap$1="_actionWrap_q0ooo_74",actionBtn$1="_actionBtn_q0ooo_77",playIcon$1="_playIcon_q0ooo_92",btnPlay$1="_btnPlay_q0ooo_95",btnPause$1="_btnPause_q0ooo_98",loopBtn$1="_loopBtn_q0ooo_105",active$1="_active_q0ooo_111",styles$8={videoWrap:videoWrap$1,content:content$3,contentWrap:contentWrap$1,tempVudio,controls:controls$1,hide:hide$1,time:time$2,slider:slider$1,actions:actions$1,actionWrap:actionWrap$1,actionBtn:actionBtn$1,playIcon:playIcon$1,btnPlay:btnPlay$1,btnPause:btnPause$1,loopBtn:loopBtn$1,active:active$1},iconLoop=""+new URL("icon-loop-d829c914.svg",import.meta.url).href,iconLoopActive=""+new URL("icon-loop-active-cd128045.svg",import.meta.url).href,iconplay$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAACQklEQVRoBe2ZzysEYRjHd/1IKSclDtRGodxcKWWduCkX5R+QkM2FAykX8k+sk9ysk5xozxyQInEhDkr5FVqfp7w1jd3Zmdmdmfeteerb++7zzvu+n+87s7sz7yQSccQrEK+A0SuQ9ENfKBSa6dePvlE+mUx++Bkn9D6A16BV9IVUPFKZRrWhA3mdEMh5RV2kPCE34HXMUI8H8KkIuD2VJdEWKpibyYBqt5M6fH6hbQHVuxk7lGOA6XEALtV0TsNwKIDlJvFpQBnbodJRbo5A2ys0IEZe0RJqCBS01OBM7OcSotu/uCIzWmoer/karx2qcHwnY+QwsYekXlFEYUABj1E5w8QaalTJwEomqdYlxFD/4pbMuB/4KM+AlVd+oXYxcYB6rQ3l6roYUJxpKqeY2EBNKulU6mZAWOXfO4MuMTEpCafQ0YDilfupbUwcoZRK2kudDShWucPNY6JLJaylCQaEtxWtSMUephgQ7hE7vHw2yUCd6Qb2TTZwA/yyqQaOAR9i5+PONAP3AE8BPlgKXgzp+CX+gmsLdQOeFUinKPrNduoQcNsh488AfuF2Hl3OgFzfE4CnvcCLyajPwCcMm2gd8DcB8hpRGpDf9VnAr71CW4+PwoAAzwGes4IEXudusNJHStlWWUZGbqvI46KRG1uytZgO/PJwMwEgKeQ2ZHM3g7Ta3K0D6NmFA3kM1G97Xc4SYIsOBvR/wfFnQnbS3i1GHqhH9orJ70u+Fsz0Ibnxkpd8P2IujngF4hWIV8DzCvwCJiXIZfS6dB4AAAAASUVORK5CYII=",iconpause$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAABJElEQVRoBe1ZQQ6DMAyD/YuPsV/xjr2DvWLrHAkOLaAGOdWEcKRoa4md1OZUuk4hBaSAFLiEAimlATkh5yXt/8AObxzIcN5sLjQYkV9kGR9sjFnxiYVhkeG82QhoYArZoEdhz047YRhkOG82vC3QxOytxbQBVjZA2IR30xaN7J2vxbwBVjZAGMLbV/qYA6lWY897hKdurYnifayEV/3VAf7tnByQA6QCeoVIAWm4HKAlJAnkACkgDZcDtIQkgRwgBaThcoCWkCSQA6SANFwO0BKSBHKAFJCG38KBt0MmT01J48FUazwOvMrOO2tPTQnzYDw1JW++xh1mk2vwVrz59MsKzZ7Ivbt822M+cDThPTqEORH+KQicTXh3D6FNKSAFpEC4Aj8w8BfWLCtJSQAAAABJRU5ErkJggg==";var vudio={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){var r={effect:"waveform",accuracy:128,width:256,height:100,waveform:{maxHeight:80,minHeight:1,spacing:1,color:"#f00",shadowBlur:0,shadowColor:"#f00",fadeSide:!0,horizontalAlign:"center",verticalAlign:"middle",prettify:!0},lighting:{maxHeight:80,lineWidth:0,color:"#f00",shadowBlur:0,shadowColor:"#f00",fadeSide:!0,horizontalAlign:"center",verticalAlign:"middle"}};function i(s,n,o){if(["[object HTMLAudioSource]","[object HTMLAudioElement]","[object MediaStream]"].indexOf(Object.prototype.toString.call(s))===-1)throw new TypeError("Invaild Audio Source");if(Object.prototype.toString.call(n)!=="[object HTMLCanvasElement]")throw new TypeError("Invaild Canvas Element");this.audioSrc=s,this.canvasEle=n,this.option=a(r,o),this.meta={},this.stat=0,this.freqByteData=null,this.__init()}function a(){var s={};return Array.prototype.forEach.call(arguments,function(n){var o;for(o in n)Object.prototype.hasOwnProperty.call(n,o)&&(Object.prototype.toString.call(n[o])==="[object Object]"?s[o]=a(s[o],n[o]):s[o]=n[o])}),s}return i.prototype={__init:function(){var s=new(window.AudioContext||window.webkitAudioContext||window.mozAudioContext),n=Object.prototype.toString.call(this.audioSrc)!=="[object MediaStream]"?s.createMediaElementSource(this.audioSrc):s.createMediaStreamSource(this.audioSrc),o=window.devicePixelRatio||1;this.analyser=s.createAnalyser(),this.meta.spr=s.sampleRate,n.connect(this.analyser),this.analyser.fftSize=this.option.accuracy*2,this.analyser.connect(s.destination),this.freqByteData=new Uint8Array(this.analyser.frequencyBinCount),this.context2d=this.canvasEle.getContext("2d"),this.width=this.option.width,this.height=this.option.height,this.context2d.canvas.width=this.width*o,this.context2d.canvas.height=this.height*o,this.context2d.scale(o,o)},__rebuildData:function(s,n){var o;return n==="center"?o=[].concat(Array.from(s).reverse().splice(this.option.accuracy/2,this.option.accuracy/2),Array.from(s).splice(0,this.option.accuracy/2)):n==="left"?o=s:n==="right"?o=Array.from(s).reverse():o=[].concat(Array.from(s).reverse().splice(this.option.accuracy/2,this.option.accuracy/2),Array.from(s).splice(0,this.option.accuracy/2)),o},__animate:function(){this.stat===1&&(this.analyser.getByteFrequencyData(this.freqByteData),typeof this.__effects()[this.option.effect]=="function"&&this.__effects()[this.option.effect](this.freqByteData),requestAnimationFrame(this.__animate.bind(this)))},__testFrame:function(){this.analyser.getByteFrequencyData(this.freqByteData),typeof this.__effects()[this.option.effect]=="function"&&this.__effects()[this.option.effect](this.freqByteData)},__effects:function(){var s=this;return{lighting:function(n){var o=s.option.lighting,l=s.__rebuildData(n,o.horizontalAlign),p=o.maxHeight/2,y=!0,b,f;o.horizontalAlign,s.context2d.clearRect(0,0,s.width,s.height),s.context2d.lineWidth=o.lineWidth,s.context2d.strokeStyle=o.color,s.context2d.beginPath(),l.forEach(function(P,A){b=s.width/s.option.accuracy*A,f=P/256*p,o.verticalAlign==="middle"?f=(s.height-P)/2-p/2:o.verticalAlign==="bottom"?f=s.height-P:o.verticalAlign==="top"?f=P:f=(s.height-P)/2-p/2,y?(s.context2d.moveTo(b,f),y=!1):s.context2d.lineTo(b,f)}),s.context2d.stroke()},waveform:function(n){var o=s.option.waveform,l=o.fadeSide,p=o.prettify,y=s.__rebuildData(n,o.horizontalAlign),b,f,P,A,m,E,d,u;o.horizontalAlign!=="center"&&(l=!1,p=!1),s.context2d.clearRect(0,0,s.width,s.height),y.forEach(function(g,S){f=(s.width-s.option.accuracy*o.spacing)/s.option.accuracy,A=S*(f+o.spacing),o.spacing!==1&&(A+=o.spacing/2),p?S<=s.option.accuracy/2?b=(1-(s.option.accuracy/2-1-S)/(s.option.accuracy/2))*o.maxHeight:b=(1-(S-s.option.accuracy/2)/(s.option.accuracy/2))*o.maxHeight:b=o.maxHeight,P=g/256*b,P=P<o.minHeight?o.minHeight:P,o.verticalAlign==="middle"?m=(s.height-P)/2:o.verticalAlign==="top"?m=0:o.verticalAlign==="bottom"?m=s.height-P:m=(s.height-P)/2,E=o.color,E instanceof Array?(d=s.context2d.createLinearGradient(A,m,A,m+P),E.forEach(function(T,M){T instanceof Array?(u=T[0],T=T[1]):M===0||M===E.length-1?u=M/(E.length-1):u=M/E.length+.5/E.length,d.addColorStop(u,T)}),s.context2d.fillStyle=d):s.context2d.fillStyle=E,o.shadowBlur>0&&(s.context2d.shadowBlur=o.shadowBlur,s.context2d.shadowColor=o.shadowColor),l?S<=s.option.accuracy/2?s.context2d.globalAlpha=1-(s.option.accuracy/2-1-S)/(s.option.accuracy/2):s.context2d.globalAlpha=1-(S-s.option.accuracy/2)/(s.option.accuracy/2):s.context2d.globalAlpha=1,s.context2d.fillRect(A,m,f,P)})}}},dance:function(){return this.stat===0&&(this.stat=1,this.__animate()),this},pause:function(){return this.stat=0,this},setOption:function(s){this.option=a(this.option,s)}},i})})(vudio);var vudioExports=vudio.exports;const Vudio=getDefaultExportFromCjs(vudioExports),tickMp3=""+new URL("tick-b5f22461.mp3",import.meta.url).href,AudioItem=defineComponent({name:"video-play",props:{item:{type:Object,default:()=>({})},show:{type:Boolean,default:!1},pageVisibility:{type:String,default:""},showModel:{type:Boolean,default:!1},isEmtry:{type:Boolean,default:!1}},emits:["loadedmetadata","togglePlay","ended","reset","close"],setup(e,{emit:t}){const{item:r,isEmtry:i}=toRefs(e),a=reactive({timer:null,currentTime:0,duration:.1,loop:!1,dragStatus:!1,playState:"pause",vudio:null,afterMa3:!0}),s=ref(),n=ref(),o=ref();watch(()=>e.show,E=>{E||(n.value.pause(),a.playState="pause")}),watch(()=>e.pageVisibility,E=>{E==="hidden"&&e.show&&(n.value.pause(),a.playState="pause")});const l=()=>{n.value.paused?(p(n.value,s.value),n.value.play(),a.playState="play"):(n.value.pause(),a.playState="pause")},p=(E,d)=>{if(!a.vudio){const u=o.value.getBoundingClientRect()||{width:200,height:200};a.vudio=new Vudio(E,d,{effect:"waveform",accuracy:128,width:u.width,height:u.height,waveform:{maxHeight:160,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),a.vudio.dance()}},y=()=>{a.duration=n.value.duration},b=E=>{a.currentTime=E,clearTimeout(a.timer),a.timer=setTimeout(()=>{n.value.currentTime=E,a.timer=null},60)},f=()=>{a.playState="pause"};let P=null;const A=ref(),m=ref();return nextTick(()=>{const E=o.value.getBoundingClientRect()||{width:200,height:200};P=new Vudio(m.value,A.value,{effect:"waveform",accuracy:128,width:E.width,height:E.height,waveform:{maxHeight:160,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),P.dance()}),()=>createVNode("div",{class:styles$8.videoWrap},[createVNode("div",{class:styles$8.content},[createVNode("div",{ref:o,class:styles$8.contentWrap},[createVNode("canvas",{ref:s},null),createVNode("audio",{src:i.value?"":r.value.content,ref:n,loop:a.loop,onLoadedmetadata:y,onTimeupdate:()=>{a.timer&&a.playState==="pause"||a.dragStatus||(a.currentTime=n.value.currentTime)},onError:()=>{console.log("error"),n.value.pause(),a.playState="pause"},onPause:()=>{console.log("pause"),a.playState="pause"},onEnded:f,crossorigin:"anonymous",playsinline:"false"},null),a.afterMa3&&createVNode("div",{class:styles$8.tempVudio},[createVNode("audio",{ref:m,src:tickMp3},null),createVNode("canvas",{ref:A},null)])])]),createVNode("div",{class:[styles$8.controls,e.showModel?"":styles$8.hide],onClick:E=>{E.stopPropagation()},onTouchmove:E=>{t("close")}},[createVNode("div",{class:styles$8.time},[createVNode("div",null,[getSecondRPM$1(a.currentTime)]),createVNode("div",null,[getSecondRPM$1(a.duration)])]),createVNode("div",{class:[styles$8.slider]},[createVNode(Slider,{step:.01,class:styles$8.timeProgress,modelValue:a.currentTime,"onUpdate:modelValue":[E=>a.currentTime=E,E=>{b(E)}],max:a.duration,onDragStart:()=>{a.dragStatus=!0,console.log("onDragStart")},onDragEnd:()=>{a.dragStatus=!1,console.log("onDragEnd")}},null)]),createVNode("div",{class:styles$8.actions,onClick:()=>t("close")},[createVNode("div",{class:styles$8.actionBtn,onClick:()=>l()},[createVNode("img",{src:a.playState==="pause"?iconplay$1:iconpause$1},null)]),createVNode("div",{class:styles$8.actionBtn,onClick:()=>a.loop=!a.loop},[createVNode("img",{src:a.loop?iconLoopActive:iconLoop},null)])])])])}}),videoWrap="_videoWrap_1o3d4_1",content$2="_content_1o3d4_6",contentWrap="_contentWrap_1o3d4_10",videoSection="_videoSection_1o3d4_17",controls="_controls_1o3d4_24",hide="_hide_1o3d4_36",time$1="_time_1o3d4_39",slider="_slider_1o3d4_47",actions="_actions_1o3d4_60",actionWrap="_actionWrap_1o3d4_68",actionBtn="_actionBtn_1o3d4_71",playIcon="_playIcon_1o3d4_86",btnPlay="_btnPlay_1o3d4_89",btnPause="_btnPause_1o3d4_92",loopBtn="_loopBtn_1o3d4_99",active="_active_1o3d4_105",styles$7={videoWrap,content:content$2,contentWrap,videoSection,controls,hide,time:time$1,slider,actions,actionWrap,actionBtn,playIcon,btnPlay,btnPause,loopBtn,active},tcplayer_min="",iconplay=""+new URL("icon-play-6bc42262.svg",import.meta.url).href,iconpause=""+new URL("icon-pause-fe805220.svg",import.meta.url).href,VideoItem=defineComponent({name:"video-play",props:{item:{type:Object,default:()=>({})},pageVisibility:{type:String,default:""},show:{type:Boolean,default:!1},showModel:{type:Boolean,default:!1},isEmtry:{type:Boolean,default:!1}},emits:["canplay","pause","togglePlay","ended","reset","close","error"],setup(e,{emit:t,expose:r}){const i="video"+Date.now()+Math.floor(Math.random()*100),a=ref(),{item:s,isEmtry:n}=toRefs(e),o=reactive({timer:null,currentTime:0,duration:0,loop:!1,playState:"pause",vudio:null,reload:!1}),l=ref();watch(()=>e.show,m=>{y("pause")}),watch(()=>e.pageVisibility,m=>{m==="hidden"&&e.show&&y("pause")});let p=null;const y=m=>{var E;clearTimeout(p),m==="play"?p=setTimeout(()=>{var d;(d=a.value)==null||d.play(),o.playState="play"},100):((E=a.value)==null||E.pause(),o.playState="pause"),t("togglePlay",o.playState)},b=()=>{a.value&&(a.value.src(s.value.content),t("reset"))},f=m=>{o.currentTime=m,clearTimeout(o.timer),o.timer=setTimeout(()=>{a.value.currentTime(m),o.timer=null},300)},P=()=>{a.value=TCPlayer(i,{appID:"",controls:!1}),a.value&&(console.log(a.value),a.value.poster(e.item.coverImg),a.value.src(s.value.content),a.value.one("loadedmetadata",m=>{console.log(" Loading metadata",m),o.reload=!1,o.duration=a.value.duration(),t("canplay",a.value)}),a.value.on("play",()=>{t("close"),t("canplay")}),a.value.on("pause",()=>{o.playState="pause",t("pause")}),a.value.on("timeupdate",()=>{o.timer||(o.currentTime=a.value.currentTime())}),a.value.on("ended",()=>{o.playState="pause"}),a.value.on("playing",()=>{o.playState="play"}),a.value.on("canplay",m=>{console.log("canplay"),o.duration=a.value.duration(),t("canplay")}),a.value.on("error",m=>{t("error"),console.log(m,"error")}))};return watch(()=>e.item,(m,E)=>{a.value.currentTime(0),a.value.poster(e.item.coverImg),a.value.src(s.value.content),o.playState="pause"}),onMounted(()=>{P()}),r({onPlay:b,pause:()=>{a.value.pause()}}),()=>createVNode("div",{class:styles$7.videoWrap},[createVNode("div",{class:styles$7.content},[createVNode("div",{ref:l,class:styles$7.contentWrap},[createVNode("video",{style:{width:"100%",height:"100%"},id:i,preload:"auto",playsinline:!0,"webkit-playsinline":!0,"x5-video-player-type":"h5"},null)]),createVNode("div",{class:styles$7.videoSection},null)]),createVNode("div",{class:[styles$7.controls,e.showModel?"":styles$7.hide],onClick:m=>{m.stopPropagation(),!a.value.paused()&&t("close")},onTouchmove:m=>{a.value.paused()||t("close")}},[createVNode("div",{class:styles$7.time},[createVNode("div",null,[getSecondRPM$1(o.currentTime)]),createVNode("div",null,[getSecondRPM$1(o.duration)])]),createVNode("div",{class:styles$7.slider},[createVNode(NSlider,{tooltip:!1,step:.01,class:styles$7.timeProgress,value:o.currentTime,max:o.duration,"onUpdate:value":m=>f(m)},null)]),createVNode("div",{class:styles$7.actions},[createVNode("div",{class:styles$7.actionBtn,onClick:()=>y(o.playState==="pause"?"play":"pause")},[createVNode("img",{src:o.playState==="pause"?iconplay:iconpause},null)]),createVNode("div",{class:styles$7.actionBtn,onClick:()=>{o.loop=!o.loop,a.value.loop(o.loop)}},[createVNode("img",{src:o.loop?iconLoopActive:iconLoop},null)])])])])}}),container$3="_container_17c45_1",pointHead="_pointHead_17c45_12",content$1="_content_17c45_25",collapse="_collapse_17c45_35",collapseItem="_collapseItem_17c45_35",item$1="_item_17c45_50",arrow="_arrow_17c45_59",itemImage="_itemImage_17c45_64",activeItem="_activeItem_17c45_69",itemActive="_itemActive_17c45_77",styles$6={container:container$3,pointHead,content:content$1,collapse,collapseItem,item:item$1,arrow,itemImage,activeItem,itemActive},iconMenuChapter=""+new URL("icon-menu-chapter-bd664df8.svg",import.meta.url).href,chapterVideo=""+new URL("chapter-video-91c7709a.svg",import.meta.url).href;function _isSlot(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode(e)}const Chapter=defineComponent({name:"chapter",props:{detail:{type:Object,default:()=>[]},itemActive:{type:String,default:""},active:{type:String,default:""},popShow:{type:Boolean,default:!1}},emits:["handleSelect"],setup(e,{emit:t}){const{detail:r,itemActive:i,active:a}=toRefs(e),s=reactive({active:a.value,coursewareList:[],parentItem:{}});return ref(!1),watch(()=>e.itemActive,()=>{s.active=a.value}),watch(()=>e.popShow,()=>{e.popShow&&(s.active=e.active)}),()=>{let n;return createVNode("div",{class:styles$6.container},[createVNode("div",{class:styles$6.pointHead},[createVNode("img",{src:iconMenuChapter},null),createTextVNode("切换章节")]),createVNode("div",{class:styles$6.content},[createVNode(Collapse,{class:styles$6.collapse,modelValue:s.active,"onUpdate:modelValue":o=>{s.active=o},border:!1,accordion:!0},_isSlot(n=r.value.map(o=>createVNode(CollapseItem,{center:!0,class:[styles$6.collapseItem,s.active===o.id?styles$6.activeItem:""],border:!1,isLink:!1,title:o.name,titleClass:"van-ellipsis",titleStyle:{width:"80%"},name:o.id},{default:()=>createVNode(Fragment,null,[o.knowledgeList.map(l=>createVNode("div",{class:[styles$6.item,i.value==l.id?styles$6.itemActive:""],onClick:()=>{var y,b,f,P;if(i.value==l.id)return;if(!l.containMaterial){showToast("该章节暂无课件");return}t("handleSelect",{itemActive:l.id,itemName:l.name,coursewareNum:l.coursewareNum,tabActive:o.id,tabName:o.name});const p="lastTime"+((P=(f=(b=(y=state)==null?void 0:y.user)==null?void 0:b.data)==null?void 0:f.phone)!=null?P:"");localStorage.setItem(p,l.id)}},[createVNode(Image$1,{src:chapterVideo,class:styles$6.itemImage},null),createVNode("span",{style:{width:"80%"},class:"van-ellipsis"},[l.name])]))]),icon:()=>createVNode("img",{class:styles$6.arrow,src:s.active===o.id?chapterDown:chapterDefault},null)})))?n:{default:()=>[n]})])])}}}),knowledgeBg$1="_knowledgeBg_u84ac_1",content="_content_u84ac_7",styles$5={knowledgeBg:knowledgeBg$1,content},Theory=defineComponent({name:"Theory",props:{id:{type:String,default:()=>""}},emits:["close","select"],setup(e,{emit:t}){const r=useRoute(),i=reactive({detailId:r.query.detailId,loading:!1,dataInfo:{},title:" "}),a=async()=>{i.loading=!0;try{const{data:s}=await request.get("/edu-app/lessonCoursewareKnowledgeDetail/detail/"+e.id);i.dataInfo=s,i.title=s.name}catch(s){}i.loading=!1};return onMounted(async()=>{await a()}),()=>{var s,n;return createVNode("div",{class:styles$5.knowledgeBg},[createVNode("div",{class:styles$5.content},[((s=i.dataInfo)==null?void 0:s.desc)&&createVNode("div",{innerHTML:i.dataInfo.desc},null),!((n=i.dataInfo)!=null&&n.desc)&&!i.loading&&createVNode("div",null,[createVNode(MEmpty,{description:"暂无内容",style:{paddingTop:"40px"}},null)])])])}}}),knowledgeBg="_knowledgeBg_1cxq0_1",wrapBottom="_wrapBottom_1cxq0_9",left="_left_1cxq0_13",insTop="_insTop_1cxq0_23",musician="_musician_1cxq0_39",insName="_insName_1cxq0_44",insTro="_insTro_1cxq0_50",imgSection="_imgSection_1cxq0_54",img$1="_img_1cxq0_54",pan="_pan_1cxq0_79",songName="_songName_1cxq0_99",songWords="_songWords_1cxq0_110",songColumn="_songColumn_1cxq0_122",insList="_insList_1cxq0_137",li="_li_1cxq0_145",liBg="_liBg_1cxq0_155",playingIcon="_playingIcon_1cxq0_167",liName="_liName_1cxq0_175",liPlay="_liPlay_1cxq0_188",hidePlayLoading="_hidePlayLoading_1cxq0_192",liActive="_liActive_1cxq0_196",emptyBox="_emptyBox_1cxq0_201",right="_right_1cxq0_226",title$1="_title_1cxq0_234",desc="_desc_1cxq0_247",styles$4={knowledgeBg,wrapBottom,left,insTop,musician,insName,insTro,imgSection,img:img$1,pan,songName,songWords,songColumn,insList,li,liBg,playingIcon,liName,liPlay,hidePlayLoading,liActive,emptyBox,right,title:title$1,desc},musicBg=""+new URL("music_bg-7bc33289.png",import.meta.url).href,pBg=""+new URL("plh-647f98e3.png",import.meta.url).href,titleIcon1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAB75JREFUaEPFWltsFFUY/v7dXqHiJQEKAjFQeAAaCNFegMhFo4F6gYdyLRESQKOJMdHAi5JYowbiA2/K5cEEBYQHDLFQoNIWJCkQlYZQJRQk6QstVK5Lu7O785sztz1z5kx3y0qZsGE658zM//3/91/O+YeQ5TG/mUsSKdQwsJAZM4h5IohGMHMhGOKffTgn7F1IX7cuuePuOVEczPcIdI2BdjBOxkrQ0LGAHmQjGmWaVN3IZZF8bAZjJTMPt96bSbhcx4EYQPuYsfWPt6lzIBlDAZQd4cLSItSbJj4Cc4H3EFfbsiYlzarWUC2jKsBThgQ6rSAyCNh+Jx9bOhdTXAdEC+ClZi4tSPEhBqrS3FA0rwBx6SMLLFPGY5g7QUM7Hzh5HGiL5tPS8zV0QwURAFDdyuWRBBqYeTzEqCqo/8FazvsopvOJTD6jBUddRKj5fQldlEH4ANiaxzkGjw9zRtXkqj8ExmV6yf6jpUzQyrJViKirP4GKjmVpS3gABOdHF3CLjzaKJgbkcyZKZCG8aQIpA0glGKkkwKbzA0Dk/CLUlrxH8zs/tH3CAzC3ibeazJsCzupo8H/kc4B2ZhIw+hhJw7GAhnaypQnYdmVjdLMHQIRKysMlL9roNK+ExsFSRVWAdT/bght9fsEDoVq1LpHBCWPa1Q+KOi0LzG7iXWBer0YBX25yAOQRsGQc8PpYYGIJMExcyOGIJRidt4HDVxk/XQaMVDrZ+SKbrEBxTtjd+W50A4kMG0/iBpwkpQuHr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l1O3P++0RPgTw7tTtJJt7Ff+K5LuyUMmimqsx+rr2D6rtP2SNEz319k7a4wMYHOFeJpxnFW7mZXu+KZ9PVNHae7Mpa6cp4J2bgRk1T6xGIyp6HlZd3E3B8roc20d5iBU/5CylDVXGghUHPcLkbNgjhPRIZE7zed0k6Ykb2SwkevTtnVTZ4JB3ff0Yt3a2YZSZ4zuTVhjTmpD/VxbDWt6uW+poyu3o4tx2jStwXM06tpjkni0j3N3EOA3FPYmmWvNeGpoCcKUAFMqNr+hVa9rt8QADTRaB9e/d59jki6g0xqtLRRwl2alE0E7KZ7EMzHnAR9ItWUvidm8cKcyosWJpxq75hVZV9icAmswBA2/dl7HNqkGsPMLdzTl+Doz+mvfC0iJVhmPa9HH2JYFQ40XQXabmtaypqVW2Xa+dwwHm+E8N0nZpIp901fEptb2T77EoQUUQDpZn8IjeVo3idnhStTZYdYR784z9DGzT+2hVI5WldclselfSBTSyhH6Ogh97eB6GJFTaQpvfqwIwaNXeDAwohdvBvAbACibqgOLW1D7arOPTLENUYPm5DeNdEJ1VCiea5Oc2W2v7uc1/ATegqZ8U1TLXAAAAAElFTkSuQmCC",emptyIcon=""+new URL("ins-empty-icon-2a35220a.png",import.meta.url).href,container$2="_container_1f5wc_1",containerModal="_containerModal_1f5wc_15",hidden="_hidden_1f5wc_19",item="_item_1f5wc_23",img="_img_1f5wc_29",rotateImg="_rotateImg_1f5wc_1",imgRotate="_imgRotate_1f5wc_51",svgcontainer="_svgcontainer_1f5wc_57",progress="_progress_1f5wc_62",title="_title_1f5wc_74",titleName="_titleName_1f5wc_77",playBtns="_playBtns_1f5wc_92",btn1="_btn1_1f5wc_97",playBtn="_playBtn_1f5wc_92",timeWrap="_timeWrap_1f5wc_116",timeProgress="_timeProgress_1f5wc_133",time="_time_1f5wc_116",styles$3={container:container$2,containerModal,hidden,item,img,rotateImg,imgRotate,svgcontainer,progress,title,titleName,playBtns,btn1,playBtn,timeWrap,timeProgress,time},icon_pre="data:image/png;base64,iVBORw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0EUhb9TWAVSCVmAuIlkD4KNTYqAYGNl6uwhre5ALAxkBakFuzSCpRtIII3VDSe8Kfx9b5wpvM3AvHe+uXfunSOaiIgT4EjSS9rLWRURA+ARGDXCZ+BS0joX9ABcfBK9AzNgLim6AJ3RFuj/8PMKmEh6a4MZ1HbiBriWdP8brAso6Q0y0OAvkQOy2CW6VJf8IXJBFvsq5m6GJDflEH8BJa3HY5zGpARkoDO6kXRXCkrZndUCLf4dqLg0X/ZU0m1JacXtrzKQVZ5I8aPtbCM7oFfD2BbAeQ2rPQaWwLCBPQFX2eafMomI04OvSK9t/vzd9z3mWooBqQP50QAAAABJRU5ErkJggg==",icon_pause="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAYCAYAAAD3Va0xAAAAAXNSR0IArs4c6QAAALFJREFUOE/tlbsJQkEQRc9VBBuwAC1AwdQqTIwsz8jEKkwFLeBZgA0IolcWDPbzdBPDnXDhnFkuzIwAbI+BGdBJuoe3WuWMbK+AAzABbsBa0vGXqJexfQbmEXiRtKiISsb2ExhE4EvSsCIqGdvOIUmqiEqmiZLIeuNoGbWMssFqs5YEElbt3/ZRB0wj/VVSOARfy3bJ2N4AO2AEPICtpH1FVDKfcxR+sAROkkK3atlOmDeNFNADM6ZBwAAAAABJRU5ErkJggg==",getSecondRPM=(e,t)=>{if(isNaN(e))return"00:00";const r=Math.floor(e/60).toString().padStart(2,"0"),i=Math.floor(e%60).toString().padStart(2,"0");return t==="cn"?r+"分"+i+"秒":r+":"+i},PlayItem=defineComponent({name:"playItem",props:{item:{type:Object,default:()=>({})},show:{type:Boolean,default:!1},playState:{type:String,default:"pause"},type:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){let r=null;const i=reactive({isFirst:!0,duration:.1,currentTime:0}),a=ref(),s=()=>{var l;if(i.duration=(l=a.value)==null?void 0:l.duration,i.isFirst){i.isFirst=!1;return}e.playState==="play"&&a.value.play()},n=l=>{a.value.pause(),i.currentTime=l,clearTimeout(r),r=setTimeout(()=>{a.value.currentTime=l,e.playState==="play"&&a.value.play(),r=null},300)},o=computed(()=>`${getSecondRPM(i.currentTime)} / ${getSecondRPM(i.duration)}`);return watch(()=>e.playState,l=>{l==="play"?a.value.play():a.value.pause()}),()=>createVNode("div",{class:[styles$3.container,styles$3.containerModal,e.show?styles$3.show:styles$3.hidden]},[createVNode("div",{class:[styles$3.item]},[createVNode("div",{class:[styles$3.img,e.playState!=="play"&&styles$3.imgRotate]},[createVNode(NImage,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:"https://oss.dayaedu.com/klx/16983720423251690789356356.png",onLoad:l=>{l.target.dataset.loaded="true"}},null),createVNode("svg",{class:styles$3.svgcontainer},[createVNode("defs",null,[createVNode("linearGradient",{id:"GradientProgress"},[createVNode("stop",{"stop-color":"#5BECFF",offset:"0%"},null),createVNode("stop",{"stop-color":"#259CFE",offset:"100%"},null)])])]),createVNode(Circle,{class:styles$3.progress,startPosition:"bottom",currentRate:i.currentTime/i.duration*100,strokeWidth:50},null)]),createVNode("div",{class:styles$3.title},[createVNode("div",{class:styles$3.titleName},[e.item.name])]),createVNode("div",{class:styles$3.playBtns},[createVNode("img",{class:styles$3.btn1,src:icon_pre,onClick:l=>{l.stopPropagation(),t("change","pre")}},null),createVNode("div",{class:styles$3.playBtn,onClick:l=>{l.stopPropagation(),t("change",e.playState==="pause"?"play":"pause")}},[createVNode("img",{style:{display:e.playState==="pause"?"":"none"},src:icon_play},null),createVNode("img",{style:{display:e.playState==="play"?"":"none"},src:icon_pause},null)]),createVNode("img",{class:styles$3.btn1,src:icon_next,onClick:l=>{l.stopPropagation(),t("change","next")}},null)]),createVNode("div",{class:styles$3.timeWrap},[createVNode(Slider,{step:.01,class:styles$3.timeProgress,modelValue:i.currentTime,"onUpdate:modelValue":[l=>i.currentTime=l,l=>{n(l)}],max:i.duration,onDragStart:()=>{},onDragEnd:()=>{}},null),createVNode("div",{class:styles$3.time},[o.value]),createVNode("audio",{ref:a,src:e.item.url,onLoadedmetadata:s,onEnded:()=>{t("change","pause")},onTimeupdate:()=>{var l;r||(i.currentTime=(l=a.value)==null?void 0:l.currentTime)}},null)])])])}}),audioAnimate="_audioAnimate_ncv9v_1",musicWave="_musicWave_ncv9v_1",styles$2={audioAnimate,musicWave},PlayLoading=defineComponent({name:"playLoading",setup(){return()=>createVNode("div",{class:styles$2.audioAnimate},[createVNode("div",null,null),createVNode("div",null,null),createVNode("div",null,null),createVNode("div",null,null)])}}),InstrumentInfo=defineComponent({name:"InstrumentInfo",props:{id:{type:String,default:""},type:{type:String,default:""},show:{type:Boolean,default:!1}},emits:["close","select"],setup(e,{emit:t}){const r=useRoute(),i=ref(!1),a=reactive({detailId:r.query.detailId,loading:!1,dataInfo:{},musicList:[],title:" ",playState:"pause",showPlayer:!1,listActive:0}),s=computed(()=>a.musicList[a.listActive]||{}),n=async()=>{a.loading=!0;try{const{data:p}=await request.get("/edu-app/knowledgeWiki/detail/"+e.id);p.intros=p.intros.replace(/<video/gi,'<video class="video-music" style="width: 100% !important;" controlslist="nodownload" poster="https://oss.dayaedu.com/ktqy/1701759849244.png"'),a.dataInfo=p||{},a.musicList=p.knowledgeWikiResources.map(y=>({id:y.id,name:y.name,url:y.url}))}catch(p){}a.loading=!1},o=p=>{i.value||(i.value=!0);const y=a.musicList.findIndex(b=>b.id===p.id);y>-1&&(a.listActive===y?a.playState=a.playState==="play"?"pause":"play":a.playState="play",a.showPlayer=!0,a.listActive=y)},l=p=>{p==="play"?a.playState="play":p==="pause"?a.playState="pause":p==="pre"?a.musicList[a.listActive-1]&&o(a.musicList[a.listActive-1]):p==="next"&&a.musicList[a.listActive+1]&&o(a.musicList[a.listActive+1])};return watch(()=>e.show,p=>{if(p)a.dataInfo={},a.musicList=[],n();else{l("pause");try{const y=document.querySelectorAll(".video-music");y&&y.length>0&&y.forEach(b=>{b.pause()})}catch(y){}}}),onMounted(async()=>{await n()}),()=>{var p,y,b,f;return createVNode("div",{class:[styles$4.knowledgeBg,a.showPlayer?styles$4.wrapBottom:""]},[createVNode("div",{class:styles$4.left},[e.type==="wiki"&&createVNode("div",{class:styles$4.insTop},[createVNode("div",{class:styles$4.imgSection},[createVNode("img",{class:styles$4.img,src:a.dataInfo.avatar||musicBg},null),createVNode("div",{class:styles$4.pan},[createVNode("img",{src:a.dataInfo.avatar||musicBg},null)])]),createVNode(NoticeBar,{text:a.dataInfo.name,color:"#000",class:styles$4.songName,delay:1.5,background:"none"},null),createVNode("div",{class:styles$4.songWords},[a.dataInfo.lyricists&&createVNode("span",null,[createTextVNode("作词:"),a.dataInfo.lyricists]),a.dataInfo.composers&&createVNode("span",null,[createTextVNode("作曲:"),a.dataInfo.composers])])]),e.type==="instrument"&&createVNode("div",{class:styles$4.insTop},[createVNode("img",{src:a.dataInfo.avatar||pBg},null),createVNode("div",{class:styles$4.insName},[a.dataInfo.name||""]),createVNode("div",{class:styles$4.insTro},[((y=(p=a.dataInfo.knowledgeWikiCategories)==null?void 0:p[0])==null?void 0:y.knowledgeWikiCategoryTypeName)||""])]),e.type==="musician"&&createVNode("div",{class:styles$4.insTop},[createVNode("img",{class:styles$4.musician,src:a.dataInfo.avatar||pBg},null),createVNode("div",{class:styles$4.insName},[a.dataInfo.name||""]),createVNode("div",{class:styles$4.insTro},[((f=(b=a.dataInfo.knowledgeWikiCategories)==null?void 0:b[0])==null?void 0:f.knowledgeWikiCategoryTypeName)||""])]),createVNode("div",{class:styles$4.songColumn},[createVNode("img",{src:songIcon},null),createVNode("span",null,[e.type==="wiki"?"名曲鉴赏":"代表作"])]),createVNode("div",{class:styles$4.insList},[a.musicList.length>0&&createVNode(Fragment,null,[a.musicList.map((P,A)=>createVNode("div",{class:[styles$4.li,i.value&&a.listActive===A?styles$4.liActive:""],onClick:m=>{m.stopPropagation(),o(P)}},[createVNode("div",{class:styles$4.liBg},[createVNode("img",{src:musicBg},null),createVNode("div",{class:[a.listActive===A&&a.playState==="play"?styles$4.playingIcon:styles$4.hidePlayLoading]},[createVNode(PlayLoading,null,null)])]),createVNode(NoticeBar,{text:P.name,color:"#131415",class:styles$4.liName,delay:1.5,background:"none"},null)]))]),a.musicList.length<=0&&createVNode("div",{class:styles$4.emptyBox},[createVNode("img",{src:emptyIcon},null),createVNode("span",null,[createTextVNode("暂无曲目~")])])])]),createVNode("div",{class:styles$4.right},[createVNode("div",{class:styles$4.title},[createVNode("img",{class:styles$4.liBg,src:e.type==="musician"?titleIcon2:titleIcon1},null),e.type==="wiki"?"名曲故事":e.type==="instrument"?"乐器简介":e.type==="musician"?"个人简介":""]),createVNode("div",{class:styles$4.desc,innerHTML:a.dataInfo.intros},null),!a.loading&&!a.dataInfo.intros&&createVNode(MEmpty,{description:"暂无内容"},null)]),a.musicList.length!==0&&createVNode(PlayItem,{show:a.showPlayer,playState:a.playState,item:s.value,onChange:P=>l(P)},null)])}}}),tempoItem$1="_tempoItem_1vlff_1",container$1="_container_1vlff_8",musicModel$1="_musicModel_1vlff_16",skeletonWrap$1="_skeletonWrap_1vlff_23",styles$1={tempoItem:tempoItem$1,container:container$1,musicModel:musicModel$1,skeletonWrap:skeletonWrap$1},TempoItem=defineComponent({name:"tempo-item",props:{pageVisibility:{type:String,default:""},show:{type:Boolean,default:!1},dataJson:{type:String,default:""}},emits:["setIframe"],setup(e,{emit:t}){const r=ref(),i=ref(!1),a=ref(!1);watch(()=>e.pageVisibility,o=>{var l,p;o=="hidden"&&(i.value=!1),o=="hidden"&&e.show&&((p=(l=r.value)==null?void 0:l.contentWindow)==null||p.postMessage({api:"setPlayState"},"*"))}),watch(()=>e.show,o=>{var l,p;o||(p=(l=r.value)==null?void 0:l.contentWindow)==null||p.postMessage({api:"setPlayState"},"*")});const s=storage.get(ACCESS_TOKEN),n=`${location.origin}/classroom-app/#/tempo-practice?dataJson=${e.dataJson}&Authorization=${s}&modeType=courseware`;return()=>createVNode("div",{class:styles$1.tempoItem},[createVNode("iframe",{ref:r,onLoad:o=>{t("setIframe",r.value),a.value=!0},class:[styles$1.container],frameborder:"0",src:n},null)])}}),tempoItem="_tempoItem_1vlff_1",container="_container_1vlff_8",musicModel="_musicModel_1vlff_16",skeletonWrap="_skeletonWrap_1vlff_23",styles={tempoItem,container,musicModel,skeletonWrap};function vaildMusicScoreUrl(){const e=window.location.href;let t="";return/192/.test(e)||/localhost/.test(e)?t="https://mec.colexiu.com":/test/.test(e)?t="https://test.kt.colexiu.com":/dev/.test(e)?t="https://dev.kt.colexiu.com":t="https://mec.colexiu.com",t}const ListenItem=defineComponent({name:"tempo-item",props:{pageVisibility:{type:String,default:""},show:{type:Boolean,default:!1},activeModel:{type:Boolean,default:!1},item:{type:Object,default:()=>({})}},emits:["setIframe"],setup(e,{emit:t}){const r=ref(),i=ref(!1),a=ref(!1);watch(()=>e.pageVisibility,o=>{var l,p;o=="hidden"&&(i.value=!1),o=="hidden"&&e.show&&((p=(l=r.value)==null?void 0:l.contentWindow)==null||p.postMessage({api:"setPlayState"},"*"))}),watch(()=>e.show,o=>{var l,p;o||(p=(l=r.value)==null?void 0:l.contentWindow)==null||p.postMessage({api:"setPlayState",data:{code:e.item.content}},"*")});const s=storage.get(ACCESS_TOKEN);let n=`${vaildMusicScoreUrl()}/instrument/#/view-figner?Authorization=${s}&code=${e.item.content}&type=listenMode&linkSource=class&isPreView=true`;return/(localhost|192)/.test(location.host)&&(n=`https://test.kt.colexiu.com/instrument/#/view-figner?Authorization=${s}&code=${e.item.content}&type=listenMode&linkSource=class&isPreView=true`),()=>createVNode("div",{class:styles.tempoItem},[createVNode("iframe",{ref:r,onLoad:o=>{t("setIframe",r.value),a.value=!0},class:[styles.container],frameborder:"0",src:n},null)])}}),index=defineComponent({name:"CoursewarePlay",setup(){var x,D,V,$;const e=usePageVisibility(),t="lastTime"+(($=(V=(D=(x=state)==null?void 0:x.user)==null?void 0:D.data)==null?void 0:V.phone)!=null?$:""),r=ref(!1),i=ref(!1),a=reactive({width:"100vw"}),s=()=>{let B=Math.min(screen.width,screen.height),N=Math.max(screen.width,screen.height),q=B*(16/9);if(q>N){a.width="100vw";return}else a.width=q+"px"},n=(B=0)=>{s(),postMessage({api:"setStatusBarVisibility",content:{isVisibility:B}}),postMessage({api:"keepScreenLongLight",content:{isOpenLight:!!B}})};n(),onUnmounted(()=>{n(1),window.removeEventListener("message",m)});const o=async()=>{var B,N;try{if(l.query.tab=="course"){const q=await api_classLessonCoursewareDetail({id:f.courseId,subjectId:f.subjectId});(q==null?void 0:q.code)==200&&Array.isArray((B=q==null?void 0:q.data)==null?void 0:B.lessonList)&&(b.courseDetails=q.data.lessonList||[])}else{const q=await api_lessonCoursewareDetail({id:l.query.lessonCoursewareId,subjectId:f.subjectId});(q==null?void 0:q.code)==200&&Array.isArray((N=q==null?void 0:q.data)==null?void 0:N.lessonList)&&(b.courseDetails=q.data.lessonList||[])}}catch(q){}},l=useRoute(),p=ref(),y=ref(!1),b=reactive({allList:[],kjId:l.query.id,currentCourse:{},zsdId:"",knowledgePointList:[],courseDetails:[],itemList:[],videoRefs:{},videoState:"init",videoItemRef:null,animationState:"start",coursewareList:[]}),f=reactive({isAutoPlay:!0,subjectId:l.query.subjectId,lessonCoursewareId:l.query.lessonCoursewareId,lessonCoursewareDetailId:l.query.lessonCoursewareDetailId,coursewareDetailKnowledgeId:l.query.coursewareDetailKnowledgeId,courseId:l.query.courseId,nowTime:0,model:!0,isAnimation:!0,videoBtns:!0,currentTime:0,duration:0,timer:null,item:null}),P=reactive({dyId:"",zjId:""}),A=async()=>{var se,ie,X,ae,oe,Z;b.allList=[];let B=[];if(l.query.tab=="course"){const G=await api_classDetailCourseware({lessonCoursewareKnowledgeDetailId:f.coursewareDetailKnowledgeId});if((G==null?void 0:G.code)===200&&Array.isArray(G.data)){G.data.forEach(ee=>{ee.knowledgeList=ee.resourceList,ee.resourceList.forEach(le=>{le.materialInfo=le.resourceList})}),b.allList=G.data;const J=G.data.find(ee=>ee.id===b.kjId);b.zsdId=(se=J==null?void 0:J.knowledgeList)==null?void 0:se[0].id,B=((ie=J==null?void 0:J.knowledgeList)==null?void 0:ie[0].materialInfo)||[],b.currentCourse=J||{}}}else{const G=await api_lessonDetailCourseware({lessonCoursewareKnowledgeDetailId:f.coursewareDetailKnowledgeId});if((G==null?void 0:G.code)===200&&Array.isArray(G.data)){b.allList=G.data;const J=G.data.find(ee=>ee.id===b.kjId);b.zsdId=(X=J==null?void 0:J.knowledgeList)==null?void 0:X[0].id,B=((ae=J==null?void 0:J.knowledgeList)==null?void 0:ae[0].materialInfo)||[],b.currentCourse=J||{}}}let N=null;B.length>0&&(N=B[0].id,b.knowledgePointList=B.map(G=>({...G,url:G.type==="SONG"?"https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png":G.type==="PPT"?"https://oss.dayaedu.com/ktqy/12/1701931810284.png":G.coverImg})));let q=[];b.allList.forEach(G=>{G.knowledgeList.forEach(J=>{J.materialInfo.forEach(ee=>{ee.zsdId=J.id,ee.kjId=G.id,ee.bizId=l.query.tab=="course"?ee.materialId:ee.bizId,ee.url=ee.type==="SONG"?"https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png":ee.type==="PPT"?"https://oss.dayaedu.com/ktqy/12/1701931810284.png":ee.coverImg}),q=q.concat(J.materialInfo)})});let Y=[];(Z=(oe=b.currentCourse)==null?void 0:oe.knowledgeList)==null||Z.forEach(G=>{G.materialInfo.forEach(J=>{J.zsdId=G.id,J.kjId=b.currentCourse.id,J.bizId=l.query.tab=="course"?J.materialId:J.bizId,J.url=J.type==="SONG"?"https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png":J.type==="PPT"?"https://oss.dayaedu.com/ktqy/12/1701931810284.png":J.coverImg}),Y=Y.concat(G.materialInfo)}),b.itemList=Y.map((G,J)=>(u.itemActive||(u.itemActive=G.id,u.itemName=G.name),{...G,iframeRef:null,videoEle:null,autoPlay:!1,isprepare:!1,isRender:!1}));const re=b.itemList.findIndex(G=>G.id===N);setTimeout(()=>{H(re)},0),console.log("资源",b.itemList,re),setTimeout(()=>{b.animationState="end"},500)},m=B=>{var N,q,Y,re;((N=B.data)==null?void 0:N.api)==="headerTogge"&&(f.model=B.data.show||B.data.playState!="play"),((q=B.data)==null?void 0:q.api)==="api_fingerPreView"&&(clearInterval(f.timer),f.model=!B.data.state),(((Y=B.data)==null?void 0:Y.api)==="clickTempo"||((re=B.data)==null?void 0:re.api)==="clickViewFigner")&&S()};onMounted(()=>{postMessage({api:"courseLoading",content:{show:!1,type:"fullscreen"}}),A(),o(),window.addEventListener("message",m)});const E=ref(),d=()=>{var B;try{(B=E.value)==null||B.handleOut()}catch(N){}postMessage({api:"goBack"})},u=reactive({open:!1,activeIndex:0,itemActive:"",itemName:"",itemPointName:l.query.name,chapterOpen:!1}),g=(B,N,q)=>{const Y=b.itemList.findIndex(re=>re.id==B);Y>-1&&H(Y)},S=()=>{clearTimeout(f.timer),closeToast(),f.model=!f.model,f.timer=setTimeout(()=>{f.model=!1},4e3)},T=()=>{clearTimeout(f.timer),closeToast(),f.model=!0,f.timer=setTimeout(()=>{f.model=!1},4e3)},M=B=>{B&&["VIDEO"].includes(B.type)&&console.log("双击")},k=ref(3),_=[{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)",opacity:0},next:{transform:"translate3d(100%, 0, -800px) rotateY(120deg)",opacity:0}},{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"}}],L=()=>{var B;(B=b.videoItemRef)==null||B.pause()},U=ref(),H=B=>{var q;if(u.activeIndex==B)return;b.animationState="start",b.videoState="init",L(),clearTimeout(U.value),f.model=!0;const N=b.itemList[B];b.kjId=N.kjId,b.zsdId=N.zsdId,u.activeIndex=B,u.itemActive=N.id,u.itemName=N.name,N.type=="MUSIC"?f.model=!0:N.type=="VIDEO"&&(N.error&&((q=b.videoRefs[B])==null||q.onPlay()),setTimeout(()=>{b.animationState="end"},800))},R=async B=>{var N,q,Y,re;if(B==="up"){if(u.activeIndex>0){H(u.activeIndex-1);return}let se=b.courseDetails.findIndex(ee=>ee.id==f.lessonCoursewareDetailId);const ie=((N=b.courseDetails[se])==null?void 0:N.knowledgeList)||[];let X=ie.findIndex(ee=>ee.id==f.coursewareDetailKnowledgeId),ae=!1,oe="",Z="",G={};for(;X>=0&&(X--,X>=0&&ie[X].containMaterial&&(ae=!0,oe=ie[X].lessonCoursewareDetailId,Z=ie[X].id,ie[X].name,G=ie[X]),!ae););if(ae){P.zjId=Z,P.dyId=oe,C({...G,itemActive:Z});return}let J=!1;for(;se>=0;){se--;const ee=((q=b.courseDetails[se])==null?void 0:q.knowledgeList)||[];let le=ee.length;for(;le>0&&(ee[le-1].containMaterial&&(J=!0,oe=ee[le-1].lessonCoursewareDetailId,Z=ee[le-1].id,ee[le-1].name,G=ee[le-1]),le--,!J););if(J)break}if(J){P.zjId=Z,P.dyId=oe,C({...G,itemActive:Z});return}}else{if(u.activeIndex<b.itemList.length-1){H(u.activeIndex+1);return}let se=b.courseDetails.findIndex(ee=>ee.id==f.lessonCoursewareDetailId);const ie=((Y=b.courseDetails[se])==null?void 0:Y.knowledgeList)||[];let X=ie.findIndex(ee=>ee.id==f.coursewareDetailKnowledgeId),ae=!1,oe="",Z="",G={};for(;X<ie.length-1&&(X++,X>=0&&ie[X].containMaterial&&(ae=!0,oe=ie[X].lessonCoursewareDetailId,Z=ie[X].id,ie[X].name,G=ie[X]),!ae););if(ae){P.zjId=Z,P.dyId=oe,C({...G,itemActive:Z});return}let J=!1;for(;se<=b.courseDetails.length-1;){se++;const ee=((re=b.courseDetails[se])==null?void 0:re.knowledgeList)||[];let le=0;for(;le<=ee.length-1&&(ee[le].containMaterial&&(J=!0,oe=ee[le].lessonCoursewareDetailId,Z=ee[le].id,ee[le].name,G=ee[le]),le++,!J););if(J)break}if(J){P.zjId=Z,P.dyId=oe,C({...G,itemActive:Z});return}}},W=()=>{},K=computed(()=>{var se,ie;if(u.activeIndex>0)return!0;let B=b.courseDetails.findIndex(X=>X.id==f.lessonCoursewareDetailId);const N=((se=b.courseDetails[B])==null?void 0:se.knowledgeList)||[];let q=N.findIndex(X=>X.id==f.coursewareDetailKnowledgeId);if(B<=0&&q<=0)return!1;let Y=!1;for(;q>=0;)q--,q>=0&&N[q].containMaterial&&(Y=!0);if(Y)return!0;if(B<=0)return!1;let re=!1;for(;B>=0;){B--;const X=((ie=b.courseDetails[B])==null?void 0:ie.knowledgeList)||[];let ae=X.length;for(;ae>0;)X[ae-1].containMaterial&&(re=!0),ae--;if(re)return!0}return!1}),O=computed(()=>{var se,ie;if(console.log(22222222222),u.activeIndex<b.itemList.length-1)return!0;let B=b.courseDetails.findIndex(X=>X.id==f.lessonCoursewareDetailId);const N=((se=b.courseDetails[B])==null?void 0:se.knowledgeList)||[];let q=N.findIndex(X=>X.id==f.coursewareDetailKnowledgeId);if(B>=b.courseDetails.length-1&&q>=N.length-1)return!1;let Y=!1;for(;q<N.length-1;)q++,q>=0&&N[q].containMaterial&&(Y=!0);if(Y)return!0;if(B>=b.courseDetails.length-1)return!1;let re=!1;for(;B<b.courseDetails.length-1;){B++;const X=((ie=b.courseDetails[B])==null?void 0:ie.knowledgeList)||[];let ae=0;for(;ae<=X.length-1;)X[ae].containMaterial&&(re=!0),ae++;if(re)return!0}return!1}),I=computed(()=>{const B=b.itemList[u.activeIndex];return B&&B.type&&B.type.toLocaleUpperCase()==="VIDEO"?B:{}}),F=async B=>{var Y;if(B.id===b.kjId){r.value=!1;return}if(i.value)return;i.value=!0,b.itemList=[],y.value=!0,l.query.tab=="all"?(f.coursewareDetailKnowledgeId=B.coursewareDetailKnowledgeId,f.lessonCoursewareDetailId=P.dyId,localStorage.setItem(t,B.coursewareDetailKnowledgeId)):(f.lessonCoursewareDetailId=P.dyId,f.coursewareDetailKnowledgeId=P.zjId,localStorage.setItem(t,P.zjId)),u.chapterOpen=!1,r.value=!1,b.kjId=B.id,await A(),u.activeIndex=0,u.itemActive=b.knowledgePointList[0].id,u.itemName=b.knowledgePointList[0].name;const N=b.courseDetails.find(re=>re.id===f.lessonCoursewareDetailId),q=(Y=N==null?void 0:N.knowledgeList)==null?void 0:Y.find(re=>re.id===f.coursewareDetailKnowledgeId);q&&(u.itemPointName=q.name),y.value=!1,i.value=!1},C=async(B,N)=>{var q;if(B.coursewareNum||N)try{N&&(P.zjId=f.coursewareDetailKnowledgeId,P.dyId=f.lessonCoursewareDetailId);const Y=l.query.tab=="all"?await api_lessonDetailCourseware({lessonCoursewareKnowledgeDetailId:N?f.coursewareDetailKnowledgeId:B.itemActive}):await api_classDetailCourseware({lessonCoursewareKnowledgeDetailId:N?f.coursewareDetailKnowledgeId:B.itemActive});(Y==null?void 0:Y.code)==200&&((q=Y.data)!=null&&q.length)&&(b.coursewareList=Y.data,Y.data.length==1?F({...Y.data[0]}):r.value=!0)}catch(Y){}};return()=>createVNode("div",{id:"playContent",class:styles$b.playContent},[createVNode("div",{class:styles$b.coursewarePlay,style:{width:a.width},onClick:()=>S()},[!y.value&&createVNode("div",{class:styles$b.wraps},[createVNode("div",{style:I.value.type&&b.animationState==="end"&&b.videoState==="play"?{zIndex:15,opacity:1}:{opacity:0,zIndex:-1},class:styles$b.itemDiv},[createVNode(VideoItem,{ref:B=>b.videoItemRef=B,item:I.value,showModel:f.model,onClose:T,onCanplay:()=>{b.videoState="play"},onPause:()=>{clearTimeout(f.timer),f.model=!0},onEnded:()=>{}},null)]),b.itemList.map((B,N)=>{const q=B.isRender||Math.abs(u.activeIndex-N)<2,Y=Math.abs(u.activeIndex-N)>4;return q&&(B.isRender=!0),q?createVNode("div",{key:"index"+N,class:[styles$b.itemDiv,u.activeIndex===N&&styles$b.itemActive,f.isAnimation&&styles$b.acitveAnimation,Math.abs(u.activeIndex-N)<2?styles$b.show:styles$b.hide],style:N<u.activeIndex?_[k.value].prev:N>u.activeIndex?_[k.value].next:{},onClick:re=>{if(Date.now()-f.nowTime<300){M(B);return}f.nowTime=Date.now()}},[B.type==="IMG"&&createVNode("img",{src:B.content},null),B.type==="PPT"&&createVNode("iframe",{src:`https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(B.content)}`,width:"100%",height:"100%",frameborder:"1"},null),B.type==="VIDEO"&&createVNode("img",{src:B.coverImg,onLoad:()=>{B.isprepare=!0}},null),B.type==="SONG"&&createVNode(AudioItem,{item:B,show:u.activeIndex===N,pageVisibility:e.value,showModel:f.model,isEmtry:Y,onEnded:()=>{const re=u.activeIndex+1;re<b.itemList.length&&H(re)},onClose:()=>{clearTimeout(f.timer),f.timer=setTimeout(()=>{f.model=!1},4e3)}},null),B.type==="MUSIC"&&createVNode(MusicScore,{pageVisibility:e.value,show:u.activeIndex===N,activeModel:f.model,"data-vid":B.id,music:B},null),B.type==="VIDEO"&&createVNode(Transition,{name:"van-fade"},{default:()=>[b.videoState!=="play"&&createVNode("div",{class:styles$b.loadWrap},[createVNode(Vue3Lottie,{style:{width:"100%",height:"100%"},animationData:playLoadData},null)])]}),B.type==="RHYTHM"&&createVNode(TempoItem,{key:N,class:styles$b.tempoPracticeGroup,dataJson:B.dataJson,show:u.activeIndex===N,pageVisibility:e.value},null),B.type==="THEORY"&&createVNode(Theory,{id:B.bizId},null),createVNode(Fragment,null,[B.type==="MUSIC_WIKI"&&createVNode(InstrumentInfo,{type:"wiki",id:B.bizId,show:u.activeIndex===N},null),B.type==="INSTRUMENT"&&createVNode(InstrumentInfo,{type:"instrument",id:B.bizId,show:u.activeIndex===N},null),B.type==="MUSICIAN"&&createVNode(InstrumentInfo,{type:"musician",id:B.bizId,show:u.activeIndex===N},null),B.type==="LISTEN"&&createVNode(ListenItem,{pageVisibility:e.value,show:u.activeIndex===N,activeModel:f.model,"data-vid":B.id,item:B},null)])]):createVNode("div",{key:"index"+N,class:[styles$b.itemDiv,u.activeIndex===N&&styles$b.itemActive,f.isAnimation&&styles$b.acitveAnimation,Math.abs(u.activeIndex-N)<2?styles$b.show:styles$b.hide],style:N<u.activeIndex?_[k.value].prev:N>u.activeIndex?_[k.value].next:{}},null)})]),createVNode(Transition,{name:"right"},{default:()=>[f.model&&createVNode("div",{class:styles$b.rightFixedBtns,onClick:B=>{B.stopPropagation(),clearTimeout(f.timer)}},[createVNode("div",{class:[styles$b.fullBtn,styles$b.point],onClick:()=>u.chapterOpen=!0},[createVNode("img",{src:iconChange},null),createVNode("span",null,[createTextVNode("切换")])]),createVNode("div",{class:[styles$b.fullBtn,styles$b.point],onClick:()=>u.open=!0},[createVNode("img",{src:iconMenu},null),createVNode("span",null,[createTextVNode("课件")])]),createVNode("div",{class:[styles$b.fullBtn,!K.value&&styles$b.btnsDisabled],onClick:()=>R("up")},[createVNode("img",{src:iconUp},null),createVNode("span",{style:{textAlign:"center"}},[createTextVNode("上一个")])]),createVNode("div",{class:[styles$b.fullBtn,!O.value&&styles$b.btnsDisabled],onClick:()=>R("down")},[createVNode("span",{style:{textAlign:"center"}},[createTextVNode("下一个")]),createVNode("img",{src:iconDown},null)])])]})]),createVNode("div",{style:{transform:f.model?"":"translateY(-100%)"},class:styles$b.headerContainer,ref:p},[createVNode("div",{class:styles$b.backBtn,onClick:()=>d()},[createVNode(Icon,{name:iconBack},null),createTextVNode("返回")]),createVNode("div",{class:styles$b.menu},[u.itemName])]),createVNode(Popup,{class:styles$b.popup,style:{background:"rgba(0,0,0, 0.75)"},overlayClass:styles$b.overlayClass,position:"right",round:!0,show:u.open,"onUpdate:show":B=>u.open=B,onClose:W},{default:()=>[createVNode(Points,{allList:b.allList,currentCourse:b.currentCourse,data:b.knowledgePointList,itemActive:u.itemActive,itemName:u.itemPointName,kjId:b.kjId,zsdId:b.zsdId,popShow:u.open,onHandleSelect:B=>{u.open=!1,g(B.itemActive,B.zsdId,B.kjId)},onCourseSelect:async()=>{u.open=!1,C({},"same")}},null)]}),createVNode(Popup,{class:styles$b.popup,style:{background:"rgba(0,0,0, 0.75)"},overlayClass:styles$b.overlayClass,position:"right",round:!0,show:u.chapterOpen,"onUpdate:show":B=>u.chapterOpen=B,onClose:W},{default:()=>[createVNode(Chapter,{detail:b.courseDetails,itemActive:f.coursewareDetailKnowledgeId,active:f.lessonCoursewareDetailId,popShow:u.chapterOpen,onHandleSelect:async B=>{P.dyId=B.tabActive,P.zjId=B.itemActive,u.itemPointName=B.itemName,C(B)}},null)]}),r.value&&createVNode(SelectCoursewarePop,{list:b.coursewareList,kjId:b.kjId,onClose:()=>{r.value=!1},onSelect:B=>F(B)},null)])}});export{index as default};
|