1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3297],{80882:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var i=r(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=r(42135),s=function(t,e){return i.createElement(a.Z,Object.assign({},t,{ref:e,icon:n}))};s.displayName="DownOutlined";var o=i.forwardRef(s)},18073:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var i=r(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=r(42135),s=function(t,e){return i.createElement(a.Z,Object.assign({},t,{ref:e,icon:n}))};s.displayName="RightOutlined";var o=i.forwardRef(s)},45908:function(t,e,r){"use strict";var i=r(67294);const n=(t,e)=>!Object.is(t,e);e.Z=function(t,e=n){const r=(0,i.useRef)(),a=(0,i.useRef)();return e(a.current,t)&&(r.current=a.current,a.current=t),r.current}},52312:function(t,e,r){"use strict";var i=r(67294);e.Z=()=>{const t=(0,i.useRef)(!1);return(0,i.useEffect)((()=>(t.current=!1,()=>{t.current=!0})),[]),t}},54907:function(t,e,r){"use strict";r.d(e,{Z:function(){return R}});var i=r(87462),n=r(4942),a=r(67294),s=r(74902),o=r(15671),l=r(43144),h=r(60136),c=r(29388),p=r(71002),f=r(94184),u=r.n(f),m=r(96774),d=r.n(m),g=r(50344),y=r(93481),v=r(97685),x=a.forwardRef((function(t,e){var r,i=t.prefixCls,s=t.forceRender,o=t.className,l=t.style,h=t.children,c=t.isActive,p=t.role,f=a.useState(c||s),m=(0,v.Z)(f,2),d=m[0],g=m[1];return a.useEffect((function(){(s||c)&&g(!0)}),[s,c]),d?a.createElement("div",{ref:e,className:u()("".concat(i,"-content"),(r={},(0,n.Z)(r,"".concat(i,"-content-active"),c),(0,n.Z)(r,"".concat(i,"-content-inactive"),!c),r),o),style:l,role:p},a.createElement("div",{className:"".concat(i,"-content-box")},h)):null}));x.displayName="PanelContent";var b=x,S=function(t){(0,h.Z)(r,t);var e=(0,c.Z)(r);function r(){var t;return(0,o.Z)(this,r),(t=e.apply(this,arguments)).handleItemClick=function(){var e=t.props,r=e.onItemClick,i=e.panelKey;"function"===typeof r&&r(i)},t.handleKeyPress=function(e){"Enter"!==e.key&&13!==e.keyCode&&13!==e.which||t.handleItemClick()},t}return(0,l.Z)(r,[{key:"shouldComponentUpdate",value:function(t){return!d()(this.props,t)}},{key:"render",value:function(){var t,e,r=this,s=this.props,o=s.className,l=s.id,h=s.style,c=s.prefixCls,p=s.header,f=s.headerClass,m=s.children,d=s.isActive,g=s.showArrow,v=s.destroyInactivePanel,x=s.accordion,S=s.forceRender,P=s.openMotion,C=s.expandIcon,E=s.extra,A=s.collapsible,_="disabled"===A,T=u()("".concat(c,"-header"),(t={},(0,n.Z)(t,f,f),(0,n.Z)(t,"".concat(c,"-header-collapsible-only"),"header"===A),t)),M=u()((e={},(0,n.Z)(e,"".concat(c,"-item"),!0),(0,n.Z)(e,"".concat(c,"-item-active"),d),(0,n.Z)(e,"".concat(c,"-item-disabled"),_),e),o),w=a.createElement("i",{className:"arrow"});return g&&"function"===typeof C&&(w=C(this.props)),a.createElement("div",{className:M,style:h,id:l},a.createElement("div",{className:T,onClick:function(){return"header"!==A&&r.handleItemClick()},role:x?"tab":"button",tabIndex:_?-1:0,"aria-expanded":d,onKeyPress:this.handleKeyPress},g&&w,"header"===A?a.createElement("span",{onClick:this.handleItemClick,className:"".concat(c,"-header-text")},p):p,E&&a.createElement("div",{className:"".concat(c,"-extra")},E)),a.createElement(y.Z,(0,i.Z)({visible:d,leavedClassName:"".concat(c,"-content-hidden")},P,{forceRender:S,removeOnLeave:v}),(function(t,e){var r=t.className,i=t.style;return a.createElement(b,{ref:e,prefixCls:c,className:r,style:i,isActive:d,forceRender:S,role:x?"tabpanel":null},m)})))}}]),r}(a.Component);S.defaultProps={showArrow:!0,isActive:!1,onItemClick:function(){},headerClass:"",forceRender:!1};var P=S;function C(t){var e=t;if(!Array.isArray(e)){var r=(0,p.Z)(e);e="number"===r||"string"===r?[e]:[]}return e.map((function(t){return String(t)}))}var E=function(t){(0,h.Z)(r,t);var e=(0,c.Z)(r);function r(t){var i;(0,o.Z)(this,r),(i=e.call(this,t)).onClickItem=function(t){var e=i.state.activeKey;if(i.props.accordion)e=e[0]===t?[]:[t];else{var r=(e=(0,s.Z)(e)).indexOf(t);r>
1-1?e.splice(r,1):e.push(t)}i.setActiveKey(e)},i.getNewChild=function(t,e){if(!t)return null;var r=i.state.activeKey,n=i.props,s=n.prefixCls,o=n.openMotion,l=n.accordion,h=n.destroyInactivePanel,c=n.expandIcon,p=n.collapsible,f=t.key||String(e),u=t.props,m=u.header,d=u.headerClass,g=u.destroyInactivePanel,y=u.collapsible,v=null!==y&&void 0!==y?y:p,x={key:f,panelKey:f,header:m,headerClass:d,isActive:l?r[0]===f:r.indexOf(f)>-1,prefixCls:s,destroyInactivePanel:null!==g&&void 0!==g?g:h,openMotion:o,accordion:l,children:t.props.children,onItemClick:"disabled"===v?null:i.onClickItem,expandIcon:c,collapsible:v};return"string"===typeof t.type?t:a.cloneElement(t,x)},i.getItems=function(){var t=i.props.children;return(0,g.Z)(t).map(i.getNewChild)},i.setActiveKey=function(t){"activeKey"in i.props||i.setState({activeKey:t}),i.props.onChange(i.props.accordion?t[0]:t)};var n=t.activeKey,l=t.defaultActiveKey;return"activeKey"in t&&(l=n),i.state={activeKey:C(l)},i}return(0,l.Z)(r,[{key:"shouldComponentUpdate",value:function(t,e){return!d()(this.props,t)||!d()(this.state,e)}},{key:"render",value:function(){var t,e=this.props,r=e.prefixCls,i=e.className,s=e.style,o=e.accordion,l=u()((t={},(0,n.Z)(t,r,!0),(0,n.Z)(t,i,!!i),t));return a.createElement("div",{className:l,style:s,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(t){var e={};return"activeKey"in t&&(e.activeKey=C(t.activeKey)),e}}]),r}(a.Component);E.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},E.Panel=P;var A=E,_=(E.Panel,r(18073)),T=r(98423),M=r(59844),w=r(21687),k=function(t){(0,w.Z)(!("disabled"in t),"Collapse.Panel",'`disabled` is deprecated. Please use `collapsible="disabled"` instead.');var e=a.useContext(M.E_).getPrefixCls,r=t.prefixCls,s=t.className,o=void 0===s?"":s,l=t.showArrow,h=void 0===l||l,c=e("collapse",r),p=u()((0,n.Z)({},"".concat(c,"-no-arrow"),!h),o);return a.createElement(A.Panel,(0,i.Z)({},t,{prefixCls:c,className:p}))},D=r(33603),F=r(96159),I=function(t){var e,r=a.useContext(M.E_),s=r.getPrefixCls,o=r.direction,l=t.prefixCls,h=t.className,c=void 0===h?"":h,p=t.bordered,f=void 0===p||p,m=t.ghost,d=s("collapse",l),y=function(){var e=t.expandIconPosition;return void 0!==e?e:"rtl"===o?"right":"left"}(),v=u()((e={},(0,n.Z)(e,"".concat(d,"-borderless"),!f),(0,n.Z)(e,"".concat(d,"-icon-position-").concat(y),!0),(0,n.Z)(e,"".concat(d,"-rtl"),"rtl"===o),(0,n.Z)(e,"".concat(d,"-ghost"),!!m),e),c),x=(0,i.Z)((0,i.Z)({},D.Z),{motionAppear:!1,leavedClassName:"".concat(d,"-content-hidden")});return a.createElement(A,(0,i.Z)({openMotion:x},t,{bordered:f,expandIcon:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.expandIcon,i=r?r(e):a.createElement(_.Z,{rotate:e.isActive?90:void 0});return(0,F.Tm)(i,(function(){return{className:u()(i.props.className,"".concat(d,"-arrow"))}}))},prefixCls:d,className:v}),function(){var e=t.children;return(0,g.Z)(e).map((function(t,e){var r;if(null===(r=t.props)||void 0===r?void 0:r.disabled){var n=t.key||String(e),a=t.props,s=a.disabled,o=a.collapsible,l=(0,i.Z)((0,i.Z)({},(0,T.Z)(t.props,["disabled"])),{key:n,collapsible:null!==o&&void 0!==o?o:s?"disabled":void 0});return(0,F.Tm)(t,l)}return t}))}())};I.Panel=k;var R=I},18453:function(t,e,r){"use strict";r.d(e,{Z:function(){return z}});var i=r(4942),n=r(87462),a=r(97685),s=r(67294),o=r(45987),l=r(15671),h=r(43144),c=r(60136),p=r(29388),f=r(42017),u=r(1413),m=r(97326),d=r(94184),g=r.n(d),y=r(74204),v=r(15105),x=r(98423);var b={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},S=Object.keys(b).filter((function(t){if("undefined"===typeof document)return!1;var e=document.getElementsByTagName("html")[0];return t in(e?e.style:{})}))[0],P=b[S];function C(t,e,r,i){t.addEventListener?t.addEventListener(e,r,i):t.attachEvent&&t.attachEvent("on".concat(e),r)}function E(t,e,r,i){t.removeEventListener?t.removeEventListener(e,r,i):t.attachEvent&&t.detachEvent("on".concat(e),r)}var A=function(t){return!isNaN(parseFloat(t))&&isFinite(t)}
1,_=!("undefined"!==typeof window&&window.document&&window.document.createElement),T=function t(e,r,i,n){if(!r||r===document||r instanceof Document)return!1;if(r===e.parentNode)return!0;var a=Math.max(Math.abs(i),Math.abs(n))===Math.abs(n),s=Math.max(Math.abs(i),Math.abs(n))===Math.abs(i),o=r.scrollHeight-r.clientHeight,l=r.scrollWidth-r.clientWidth,h=document.defaultView.getComputedStyle(r),c="auto"===h.overflowY||"scroll"===h.overflowY,p="auto"===h.overflowX||"scroll"===h.overflowX,f=o&&c,u=l&&p;return!!(a&&(!f||f&&(r.scrollTop>=o&&n<0||r.scrollTop<=0&&n>0))||s&&(!u||u&&(r.scrollLeft>=l&&i<0||r.scrollLeft<=0&&i>0)))&&t(e,r.parentNode,i,n)},M={},w=function(t){(0,c.Z)(r,t);var e=(0,p.Z)(r);function r(t){var i;return(0,l.Z)(this,r),(i=e.call(this,t)).domFocus=function(){i.dom&&i.dom.focus()},i.removeStartHandler=function(t){t.touches.length>1||(i.startPos={x:t.touches[0].clientX,y:t.touches[0].clientY})},i.removeMoveHandler=function(t){if(!(t.changedTouches.length>1)){var e=t.currentTarget,r=t.changedTouches[0].clientX-i.startPos.x,n=t.changedTouches[0].clientY-i.startPos.y;(e===i.maskDom||e===i.handlerDom||e===i.contentDom&&T(e,t.target,r,n))&&t.cancelable&&t.preventDefault()}},i.transitionEnd=function(t){var e=t.target;E(e,P,i.transitionEnd),e.style.transition=""},i.onKeyDown=function(t){if(t.keyCode===v.Z.ESC){var e=i.props.onClose;t.stopPropagation(),e&&e(t)}},i.onWrapperTransitionEnd=function(t){var e=i.props,r=e.open,n=e.afterVisibleChange;t.target===i.contentWrapper&&t.propertyName.match(/transform$/)&&(i.dom.style.transition="",!r&&i.getCurrentDrawerSome()&&(document.body.style.overflowX="",i.maskDom&&(i.maskDom.style.left="",i.maskDom.style.width="")),n&&n(!!r))},i.openLevelTransition=function(){var t=i.props,e=t.open,r=t.width,n=t.height,a=i.getHorizontalBoolAndPlacementName(),s=a.isHorizontal,o=a.placementName,l=i.contentDom?i.contentDom.getBoundingClientRect()[s?"width":"height"]:0,h=(s?r:n)||l;i.setLevelAndScrolling(e,o,h)},i.setLevelTransform=function(t,e,r,n){var a=i.props,s=a.placement,o=a.levelMove,l=a.duration,h=a.ease,c=a.showMask;i.levelDom.forEach((function(a){a.style.transition="transform ".concat(l," ").concat(h),C(a,P,i.transitionEnd);var p=t?r:0;if(o){var f=function(t,e){var r="function"===typeof t?t(e):t;return Array.isArray(r)?2===r.length?r:[r[0],r[1]]:[r]}(o,{target:a,open:t});p=t?f[0]:f[1]||0}var u="number"===typeof p?"".concat(p,"px"):p,m="left"===s||"top"===s?u:"-".concat(u);m=c&&"right"===s&&n?"calc(".concat(m," + ").concat(n,"px)"):m,a.style.transform=p?"".concat(e,"(").concat(m,")"):""}))},i.setLevelAndScrolling=function(t,e,r){var n=i.props.onChange;if(!_){var a=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?(0,y.Z)(!0):0;i.setLevelTransform(t,e,r,a),i.toggleScrollingToDrawerAndBody(a)}n&&n(t)},i.toggleScrollingToDrawerAndBody=function(t){var e=i.props,r=e.getContainer,n=e.showMask,a=e.open,s=r&&r();if(s&&s.parentNode===document.body&&n){var o=["touchstart"],l=[document.body,i.maskDom,i.handlerDom,i.contentDom];a&&"hidden"!==document.body.style.overflow?(t&&i.addScrollingEffect(t),document.body.style.touchAction="none",l.forEach((function(t,e){t&&C(t,o[e]||"touchmove",e?i.removeMoveHandler:i.removeStartHandler,i.passive)}))):i.getCurrentDrawerSome()&&(document.body.style.touchAction="",t&&i.remScrollingEffect(t),l.forEach((function(t,e){t&&E(t,o[e]||"touchmove",e?i.removeMoveHandler:i.removeStartHandler,i.passive)})))}},i.addScrollingEffect=function(t){var e=i.props,r=e.placement,n=e.duration,a=e.ease,s="width ".concat(n," ").concat(a),o="transform ".concat(n," ").concat(a);switch(i.dom.style.transition="none",r){case"right":i.dom.style.transform="translateX(-".concat(t,"px)");break;case"top":case"bottom":i.dom.style.width="calc(100% - ".concat(t,"px)"),i.dom.style.transform="translateZ(0)"}clearTimeout(i.timeout),i.timeout=setTimeout((function(){i.dom&&(i.dom.style.transition="".concat(o,",").concat(s),i.dom.style.width="",i.dom.style.transform="")}))},i.remScrollingEffect=function(t){var e,r=i.props,n=r.placement,a=r.duration,s=r.ease;S&&(document.body.style.overflowX="hidden"),i.dom.style.transition="none";var o="width ".concat(a," ").concat(s),l="transform ".concat(a," ").concat(s);switch(n){case"left":i.dom.style.width="100%",o="width 0s ".concat(s," ").concat(a);break;case"right":i.dom.style.transform="translateX(".concat(t,"px)"),i.dom.style.width="100%",o="width 0s ".concat(s," ").concat(a),i.maskDom&&(i.maskDom.style.left="-".concat(t,"px"),i.maskDom.style.width="calc(100% + ".concat(t,"px)"));break;case"top":case"bottom":i.dom.style.width="calc(100% + ".concat(t,"px)"),i.dom.style.height="100%",i.dom.style.transform="translateZ(0)",e="height 0s ".concat(s," ").concat(a)}clearTimeout(i.timeout),i.timeout=setTimeout((function(){i.dom&&(i.dom.style.transition="".concat(l,",").concat(e?"".concat(e,","):"").concat(o),i.dom.style.transform="",i.dom.style.width="",i.dom.style.height="")}
1))},i.getCurrentDrawerSome=function(){return!Object.keys(M).some((function(t){return M[t]}))},i.getLevelDom=function(t){var e=t.level,r=t.getContainer;if(!_){var n,a=r&&r(),s=a?a.parentNode:null;if(i.levelDom=[],"all"===e)(s?Array.prototype.slice.call(s.children):[]).forEach((function(t){"SCRIPT"!==t.nodeName&&"STYLE"!==t.nodeName&&"LINK"!==t.nodeName&&t!==a&&i.levelDom.push(t)}));else e&&(n=e,Array.isArray(n)?n:[n]).forEach((function(t){document.querySelectorAll(t).forEach((function(t){i.levelDom.push(t)}))}))}},i.getHorizontalBoolAndPlacementName=function(){var t=i.props.placement,e="left"===t||"right"===t;return{isHorizontal:e,placementName:"translate".concat(e?"X":"Y")}},i.state={_self:(0,m.Z)(i)},i}return(0,h.Z)(r,[{key:"componentDidMount",value:function(){var t=this;if(!_){var e=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return e=!0,null}}))}catch(l){}this.passive=!!e&&{passive:!1}}var r,i=this.props,n=i.open,a=i.getContainer,s=i.showMask,o=a&&a();(this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(9*Math.random()).toString())).toString(16)),this.getLevelDom(this.props),n)&&(o&&o.parentNode===document.body&&(M[this.drawerId]=n),this.openLevelTransition(),this.forceUpdate((function(){t.domFocus()})),s&&(null===(r=this.props.scrollLocker)||void 0===r||r.lock()))}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.open,i=e.getContainer,n=e.scrollLocker,a=e.showMask,s=i&&i();r!==t.open&&(s&&s.parentNode===document.body&&(M[this.drawerId]=!!r),this.openLevelTransition(),r?(this.domFocus(),a&&(null===n||void 0===n||n.lock())):null===n||void 0===n||n.unLock())}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.open,r=t.scrollLocker;delete M[this.drawerId],e&&(this.setLevelTransform(!1),document.body.style.touchAction=""),null===r||void 0===r||r.unLock()}},{key:"render",value:function(){var t,e=this,r=this.props,a=r.className,l=r.children,h=r.style,c=r.width,p=r.height,f=(r.defaultOpen,r.open),m=r.prefixCls,d=r.placement,y=(r.level,r.levelMove,r.ease,r.duration,r.getContainer,r.handler),v=(r.onChange,r.afterVisibleChange,r.showMask),b=r.maskClosable,S=r.maskStyle,P=r.onClose,C=r.onHandleClick,E=r.keyboard,_=(r.getOpenCount,r.scrollLocker,r.contentWrapperStyle),T=(0,o.Z)(r,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","scrollLocker","contentWrapperStyle"]),M=!!this.dom&&f,w=g()(m,(t={},(0,i.Z)(t,"".concat(m,"-").concat(d),!0),(0,i.Z)(t,"".concat(m,"-open"),M),(0,i.Z)(t,a||"",!!a),(0,i.Z)(t,"no-mask",!v),t)),k=this.getHorizontalBoolAndPlacementName().placementName,D="left"===d||"top"===d?"-100%":"100%",F=M?"":"".concat(k,"(").concat(D,")"),I=y&&s.cloneElement(y,{onClick:function(t){y.props.onClick&&y.props.onClick(),C&&C(t)},ref:function(t){e.handlerDom=t}});return s.createElement("div",(0,n.Z)({},(0,x.Z)(T,["switchScrollingEffect"]),{tabIndex:-1,className:w,style:h,ref:function(t){e.dom=t},onKeyDown:M&&E?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),v&&s.createElement("div",{className:"".concat(m,"-mask"),onClick:b?P:void 0,style:S,ref:function(t){e.maskDom=t}}),s.createElement("div",{className:"".concat(m,"-content-wrapper"),style:(0,u.Z)({transform:F,msTransform:F,width:A(c)?"".concat(c,"px"):c,height:A(p)?"".concat(p,"px"):p},_),ref:function(t){e.contentWrapper=t}},s.createElement("div",{className:"".concat(m,"-content"),ref:function(t){e.contentDom=t},onTouchStart:M&&v?this.removeStartHandler:void 0,onTouchMove:M&&v?this.removeMoveHandler:void 0},l),I))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps,i=e._self,n={prevProps:t};if(void 0!==r){var a=t.placement,s=t.level;a!==r.placement&&(i.contentDom=null),s!==r.level&&i.getLevelDom(t)}return n}}]),r}(s.Component),k=function(t){(0,c.Z)(r,t);var e=(0,p.Z)(r);function r(t){var i;(0,l.Z)(this,r),(i=e.call(this,t)).onHandleClick=function(t){var e=i.props,r=e.onHandleClick,n=e.open;if(r&&r(t),"undefined"===typeof n){var a=i.state.open;i.setState({open:!a})}},i.onClose=function(t){var e=i.props,r=e.onClose,n=e.open;r&&r(t),"undefined"===typeof n&&i.setState({open:!1})};var n="undefined"!==typeof t.open?t.open:!!t.defaultOpen;return i.state={open:n},"onMaskClick"in t&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),i}return(0,h.Z)(r,[{key:"render",value:function(){var t=this,e=this.props,r=(e.defaultOpen,e.getContainer),i=e.wrapperClassName,a=e.forceRender,l=e.handler,h=(0,o.Z)(e,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),c=this.state.open;if(!r)return s.createElement("div",{className:i,ref:function(e){t.dom=e}},s.createElement(w,(0,n.Z)({},h,{open:c,handler:l,getContainer:function(){return t.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var p=!!l||a;return s.createElement(f.Z,{visible:c,forceRender:p,getContainer:r,wrapperClassName:i},(function(e){var r=e.visible,i=e.afterClose,a=(0,o.Z)(e,["visible","afterClose"]);return s.createElement(w,(0,n.Z)({},h,a,{open:void 0!==r?r:c,afterVisibleChange:void 0!==i?i:h.afterVisibleChange,handler:l,onClose:t.onClose,onHandleClick:t.onHandleClick}))}
1))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps,i={prevProps:t};return"undefined"!==typeof r&&t.open!==r.open&&(i.open=t.open),i}}]),r}(s.Component);k.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:s.createElement("div",{className:"drawer-handle"},s.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var D=k,F=r(97937),I=r(59844),R=r(93355),V=r(57838),B=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]])}return r},L=s.createContext(null),N=((0,R.b)("top","right","bottom","left"),{distance:180}),O=s.forwardRef((function(t,e){var r=t.width,o=void 0===r?256:r,l=t.height,h=void 0===l?256:l,c=t.closable,p=void 0===c||c,f=t.placement,u=void 0===f?"right":f,m=t.maskClosable,d=void 0===m||m,v=t.mask,x=void 0===v||v,b=t.level,S=void 0===b?null:b,P=t.keyboard,C=void 0===P||P,E=t.push,A=void 0===E?N:E,_=t.closeIcon,T=void 0===_?s.createElement(F.Z,null):_,M=t.bodyStyle,w=t.drawerStyle,k=t.prefixCls,I=t.className,R=t.direction,O=t.visible,G=t.children,z=t.zIndex,H=t.destroyOnClose,j=t.style,Z=t.title,q=t.headerStyle,W=t.onClose,Y=t.footer,$=t.footerStyle,X=B(t,["width","height","closable","placement","maskClosable","mask","level","keyboard","push","closeIcon","bodyStyle","drawerStyle","prefixCls","className","direction","visible","children","zIndex","destroyOnClose","style","title","headerStyle","onClose","footer","footerStyle"]),J=(0,V.Z)(),K=s.useState(!1),U=(0,a.Z)(K,2),Q=U[0],tt=U[1],et=s.useContext(L),rt=s.useRef(!1);s.useEffect((function(){return O&&et&&et.push(),function(){et&&et.pull()}}),[]),s.useEffect((function(){et&&(O?et.push():et.pull())}),[O]);var it=s.useMemo((function(){return{push:function(){A&&tt(!0)},pull:function(){A&&tt(!1)}}}),[A]);s.useImperativeHandle(e,(function(){return it}),[it]);var nt=H&&!O,at=function(){nt&&(O||(rt.current=!0,J()))},st=function(){if(!O&&!x)return{};var t={};return"left"===u||"right"===u?t.width=o:t.height=h,t};function ot(){if(!Z&&!p)return null;var t="".concat(k,Z?"-header":"-header-no-title");return s.createElement("div",{className:t,style:q},Z&&s.createElement("div",{className:"".concat(k,"-title")},Z),p&&p&&s.createElement("button",{type:"button",onClick:W,"aria-label":"Close",className:"".concat(k,"-close"),style:{"--scroll-bar":"".concat((0,y.Z)(),"px")}},T))}var lt=g()((0,i.Z)({"no-mask":!x},"".concat(k,"-rtl"),"rtl"===R),I),ht=x?st():{};return s.createElement(L.Provider,{value:it},s.createElement(D,(0,n.Z)({handler:!1},(0,n.Z)({placement:u,prefixCls:k,maskClosable:d,level:S,keyboard:C,children:G,onClose:W},X),ht,{open:O,showMask:x,style:function(){var t=x?{}:st();return(0,n.Z)((0,n.Z)({zIndex:z,transform:Q?function(t){var e;return e="boolean"===typeof A?A?N.distance:0:A.distance,e=parseFloat(String(e||0)),"left"===t||"right"===t?"translateX(".concat("left"===t?e:-e,"px)"):"top"===t||"bottom"===t?"translateY(".concat("top"===t?e:-e,"px)"):void 0}(u):void 0},t),j)}(),className:lt}),function(){if(rt.current&&!O)return null;rt.current=!1;var t={};return nt&&(t.opacity=0,t.transition="opacity .3s"),s.createElement("div",{className:"".concat(k,"-wrapper-body"),style:(0,n.Z)((0,n.Z)({},t),w),onTransitionEnd:at},ot(),s.createElement("div",{className:"".concat(k,"-body"),style:M},G),function(){if(!Y)return null;var t="".concat(k,"-footer");return s.createElement("div",{className:t,style:$},Y)}())}()))}));O.displayName="Drawer";var G=s.forwardRef((function(t,e){var r=t.prefixCls,i=t.getContainer,a=s.useContext(I.E_),o=a.getPopupContainer,l=a.getPrefixCls,h=a.direction,c=l("drawer",r),p=void 0===i&&o?function(){return o(document.body)}:i;return s.createElement(O,(0,n.Z)({},t,{ref:e,prefixCls:c,getContainer:p,direction:h}
1))}));G.displayName="DrawerWrapper";var z=G},69428:function(t,e,r){"use strict";r.d(e,{Z:function(){return H}});var i=r(87462),n=r(4942),a=r(67294),s=r(94184),o=r.n(s),l=r(71002),h=r(97685),c=r(45987),p=r(15105),f=r(42550),u=r(15671),m=r(43144);function d(){return"function"===typeof BigInt}function g(t){var e=t.trim(),r=e.startsWith("-");r&&(e=e.slice(1)),(e=e.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(e="0".concat(e));var i=e||"0",n=i.split("."),a=n[0]||"0",s=n[1]||"0";"0"===a&&"0"===s&&(r=!1);var o=r?"-":"";return{negative:r,negativeStr:o,trimStr:i,integerStr:a,decimalStr:s,fullStr:"".concat(o).concat(i)}}function y(t){var e=String(t);return!Number.isNaN(Number(e))&&e.includes("e")}function v(t){var e=String(t);if(y(t)){var r=Number(e.slice(e.indexOf("e-")+2)),i=e.match(/\.(\d+)/);return(null===i||void 0===i?void 0:i[1])&&(r+=i[1].length),r}return e.includes(".")&&b(e)?e.length-e.indexOf(".")-1:0}function x(t){var e=String(t);if(y(t)){if(t>Number.MAX_SAFE_INTEGER)return String(d()?BigInt(t).toString():Number.MAX_SAFE_INTEGER);if(t<Number.MIN_SAFE_INTEGER)return String(d()?BigInt(t).toString():Number.MIN_SAFE_INTEGER);e=t.toFixed(v(e))}return g(e).fullStr}function b(t){return"number"===typeof t?!Number.isNaN(t):!!t&&(/^\s*-?\d+(\.\d+)?\s*$/.test(t)||/^\s*-?\d+\.\s*$/.test(t)||/^\s*-?\.\d+\s*$/.test(t))}var S=function(){function t(e){(0,u.Z)(this,t),this.origin="",(e||0===e)&&String(e).trim()?(this.origin=String(e),this.number=Number(e)):this.empty=!0}return(0,m.Z)(t,[{key:"negate",value:function(){return new t(-this.toNumber())}},{key:"add",value:function(e){if(this.isInvalidate())return new t(e);var r=Number(e);if(Number.isNaN(r))return this;var i=this.number+r;if(i>Number.MAX_SAFE_INTEGER)return new t(Number.MAX_SAFE_INTEGER);if(i<Number.MIN_SAFE_INTEGER)return new t(Number.MIN_SAFE_INTEGER);var n=Math.max(v(this.number),v(r));return new t(i.toFixed(n))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(t){return this.toNumber()===(null===t||void 0===t?void 0:t.toNumber())}},{key:"lessEquals",value:function(t){return this.add(t.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t?this.isInvalidate()?"":x(this.number):this.origin}}]),t}(),P=function(){function t(e){if((0,u.Z)(this,t),this.origin="",(e||0===e)&&String(e).trim())if(this.origin=String(e),"-"!==e){var r=e;if(y(r)&&(r=Number(r)),b(r="string"===typeof r?r:x(r))){var i=g(r);this.negative=i.negative;var n=i.trimStr.split(".");this.integer=BigInt(n[0]);var a=n[1]||"0";this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}else this.nan=!0;else this.empty=!0}return(0,m.Z)(t,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(t){var e="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(t,"0"));return BigInt(e)}},{key:"negate",value:function(){var e=new t(this.toString());return e.negative=!e.negative,e}},{key:"add",value:function(e){if(this.isInvalidate())return new t(e);var r=new t(e);if(r.isInvalidate())return this;var i=Math.max(this.getDecimalStr().length,r.getDecimalStr().length),n=g((this.alignDecimal(i)+r.alignDecimal(i)).toString()),a=n.negativeStr,s=n.trimStr,o="".concat(a).concat(s.padStart(i+1,"0"));return new t("".concat(o.slice(0,-i),".").concat(o.slice(-i)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(t){return this.toString()===(null===t||void 0===t?void 0:t.toString())}},{key:"lessEquals",value:function(t){return this.add(t.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return t?this.isInvalidate()?"":g("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),t}();function C(t){return d()?new P(t):new S(t)}function E(t,e,r){if(""===t)return"";var i=g(t),n=i.negativeStr,a=i.integerStr,s=i.decimalStr,o="".concat(e).concat(s),l="".concat(n).concat(a);if(r>=0){var h=Number(s[r]);return h>=5?E(C(t).add("0.".concat("0".repeat(r)).concat(10-h)).toString(),e,r):0===r?l:"".concat(l).concat(e).concat(s.padEnd(r,"0").slice(0,r))}return".0"===o?l:"".concat(l).concat(o)}var A=r(31131);function _(t){var e=t.prefixCls,r=t.upNode,s=t.downNode,l=t.upDisabled,h=t.downDisabled,c=t.onStep,p=a.useRef(),f=a.useRef();f.current=c;var u=function(t,e){t.preventDefault(),f.current(e),p.current=setTimeout((function t(){f.current(e),p.current=setTimeout(t,200)}),600)},m=function(){clearTimeout(p.current)};if(a.useEffect((function(){return m}),[]),(0,A.Z)())return null;var d="".concat(e,"-handler"),g=o()(d,"".concat(d,"-up"),(0,n.Z)({},"".concat(d,"-up-disabled"),l)),y=o()(d,"".concat(d,"-down"),(0,n.Z)({},"".concat(d,"-down-disabled"),h)),v={unselectable:"on",role:"button",onMouseUp:m,onMouseLeave:m};return a.createElement("div",{className:"".concat(d,"-wrap")},a.createElement("span",(0,i.Z)({},v,{onMouseDown:function(t){u(t,!0)},"aria-label":"Increase Value","aria-disabled":l,className:g}),r||a.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-up-inner")})),a.createElement("span",(0,i.Z)({},v,{onMouseDown:function(t){u(t,!1)},"aria-label":"Decrease Value","aria-disabled":h,className:y}),s||a.createElement("span",{unselectable:"on",className:"".concat(e,"-handler-down-inner")})))}var T=r(80334);var M=(0,r(98924).Z)()?a.useLayoutEffect:a.useEffect;function w(t,e){var r=a.useRef(!1);M((function(){if(r.current)return t();r.current=!0}),e)}var k=function(t,e){return t||e.isEmpty()?e.toString():e.toNumber()},D=function(t){var e=C(t);return e.isInvalidate()?null:e},F=a.forwardRef((function(t,e){var r,s=t.prefixCls,u=void 0===s?"rc-input-number":s,m=t.className,d=t.style,g=t.min,y=t.max,S=t.step,P=void 0===S?1:S,A=t.defaultValue,M=t.value,F=t.disabled,I=t.readOnly,R=t.upHandler,V=t.downHandler,B=t.keyboard,L=t.stringMode,N=t.parser,O=t.formatter,G=t.precision,z=t.decimalSeparator,H=t.onChange,j=t.onInput,Z=t.onPressEnter,q=t.onStep,W=(0,c.Z)(t,["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"]),Y="".concat(u,"-input"),$=a.useRef(null),X=a.use
1State(!1),J=(0,h.Z)(X,2),K=J[0],U=J[1],Q=a.useRef(!1),tt=a.useRef(!1),et=a.useState((function(){return C(null!==M&&void 0!==M?M:A)})),rt=(0,h.Z)(et,2),it=rt[0],nt=rt[1];var at=a.useCallback((function(t,e){if(!e)return G>=0?G:Math.max(v(t),v(P))}),[G,P]),st=a.useCallback((function(t){var e=String(t);if(N)return N(e);var r=e;return z&&(r=r.replace(z,".")),r.replace(/[^\w.-]+/g,"")}),[N,z]),ot=a.useCallback((function(t,e){if(O)return O(t);var r="number"===typeof t?x(t):t;if(!e){var i=at(r,e);if(b(r)&&(z||i>=0))r=E(r,z||".",i)}return r}),[O,at,z]),lt=a.useState((function(){var t=null!==A&&void 0!==A?A:M;return it.isInvalidate()&&["string","number"].includes((0,l.Z)(t))?Number.isNaN(t)?"":t:ot(it.toString(),!1)})),ht=(0,h.Z)(lt,2),ct=ht[0],pt=ht[1];function ft(t,e){pt(ot(t.isInvalidate()?t.toString(!1):t.toString(!e),e))}var ut=a.useMemo((function(){return D(y)}),[y]),mt=a.useMemo((function(){return D(g)}),[g]),dt=a.useMemo((function(){return!(!ut||!it||it.isInvalidate())&&ut.lessEquals(it)}),[ut,it]),gt=a.useMemo((function(){return!(!mt||!it||it.isInvalidate())&&it.lessEquals(mt)}),[mt,it]),yt=function(t,e){var r=(0,a.useRef)(null);return[function(){try{var e=t.selectionStart,i=t.selectionEnd,n=t.value,a=n.substring(0,e),s=n.substring(i);r.current={start:e,end:i,value:n,beforeTxt:a,afterTxt:s}}catch(o){}},function(){if(t&&r.current&&e)try{var i=t.value,n=r.current,a=n.beforeTxt,s=n.afterTxt,o=n.start,l=i.length;if(i.endsWith(s))l=i.length-r.current.afterTxt.length;else if(i.startsWith(a))l=a.length;else{var h=a[o-1],c=i.indexOf(h,o-1);-1!==c&&(l=c+1)}t.setSelectionRange(l,l)}catch(p){(0,T.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(p.message))}}]}($.current,K),vt=(0,h.Z)(yt,2),xt=vt[0],bt=vt[1],St=function(t){return ut&&!t.lessEquals(ut)?ut:mt&&!mt.lessEquals(t)?mt:null},Pt=function(t){return!St(t)},Ct=function(t,e){var r,i=t,n=Pt(i)||i.isEmpty();if(i.isEmpty()||e||(i=St(i)||i,n=!0),!I&&!F&&n){var a=i.toString(),s=at(a,e);return s>=0&&(i=C(E(a,".",s))),i.equals(it)||(r=i,void 0===M&&nt(r),null===H||void 0===H||H(i.isEmpty()?null:k(L,i)),void 0===M&&ft(i,e)),i}return it},Et=function(t){if(xt(),pt(t),!tt.current){var e=C(st(t));e.isNaN()||Ct(e,!0)}},At=function(t){var e;if(!(t&&dt||!t&>)){Q.current=!1;var r=C(P);t||(r=r.negate());var i=(it||C(0)).add(r.toString()),n=Ct(i,!1);null===q||void 0===q||q(k(L,n),{offset:P,type:t?"up":"down"}),null===(e=$.current)||void 0===e||e.focus()}},_t=function(t){var e=C(st(ct)),r=e;r=e.isNaN()?it:Ct(e,t),void 0!==M?ft(it,!1):r.isNaN()||ft(r,!1)};return w((function(){it.isInvalidate()||ft(it,!1)}),[G]),w((function(){var t=C(M);nt(t),(t.isNaN()||!Q.current||O)&&ft(t,!1)}),[M]),w((function(){O&&bt()}),[ct]),a.createElement("div",{className:o()(u,m,(r={},(0,n.Z)(r,"".concat(u,"-focused"),K),(0,n.Z)(r,"".concat(u,"-disabled"),F),(0,n.Z)(r,"".concat(u,"-readonly"),I),(0,n.Z)(r,"".concat(u,"-not-a-number"),it.isNaN()),(0,n.Z)(r,"".concat(u,"-out-of-range"),!it.isInvalidate()&&!Pt(it)),r)),style:d,onFocus:function(){U(!0)},onBlur:function(){_t(!1),U(!1),Q.current=!1},onKeyDown:function(t){var e=t.which;Q.current=!0,e===p.Z.ENTER&&(tt.current||(Q.current=!1),_t(!0),null===Z||void 0===Z||Z(t)),!1!==B&&!tt.current&&[p.Z.UP,p.Z.DOWN].includes(e)&&(At(p.Z.UP===e),t.preventDefault())},onKeyUp:function(){Q.current=!1},onCompositionStart:function(){tt.current=!0},onCompositionEnd:function(){tt.current=!1,Et($.current.value)}},a.createElement(_,{prefixCls:u,upNode:R,downNode:V,upDisabled:dt,downDisabled:gt,onStep:At}),a.createElement("div",{className:"".concat(Y,"-wrap")},a.createElement("input",(0,i.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":g,"aria-valuemax":y,"aria-valuenow":it.isInvalidate()?null:it.toString(),step:P},W,{ref:(0,f.sQ)($,e),className:Y,value:ct,onChange:function(t){var e=t.target.value;N||(e=e.replace(/\u3002/g,".")),Et(e),null===j||void 0===j||j(e)},disabled:F,readOnly:I}))))}));F.displayName="InputNumber";var I=F,R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4
16.5-12.7z"}}]},name:"up",theme:"outlined"},V=r(42135),B=function(t,e){return a.createElement(V.Z,Object.assign({},t,{ref:e,icon:R}))};B.displayName="UpOutlined";var L=a.forwardRef(B),N=r(80882),O=r(59844),G=r(97647),z=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]])}return r},H=a.forwardRef((function(t,e){var r,s=a.useContext(O.E_),l=s.getPrefixCls,h=s.direction,c=a.useContext(G.Z),p=t.className,f=t.size,u=t.prefixCls,m=t.bordered,d=void 0===m||m,g=t.readOnly,y=z(t,["className","size","prefixCls","bordered","readOnly"]),v=l("input-number",u),x=a.createElement(L,{className:"".concat(v,"-handler-up-inner")}),b=a.createElement(N.Z,{className:"".concat(v,"-handler-down-inner")}),S=f||c,P=o()((r={},(0,n.Z)(r,"".concat(v,"-lg"),"large"===S),(0,n.Z)(r,"".concat(v,"-sm"),"small"===S),(0,n.Z)(r,"".concat(v,"-rtl"),"rtl"===h),(0,n.Z)(r,"".concat(v,"-readonly"),g),(0,n.Z)(r,"".concat(v,"-borderless"),!d),r),p);return a.createElement(I,(0,i.Z)({ref:e,className:P,upHandler:x,downHandler:b,prefixCls:v,readOnly:g},y))}))},83134:function(t,e,r){"use strict";r.d(e,{ZP:function(){return M}});var i=r(4942),n=r(87462),a=r(67294),s=r(50132),o=r(94184),l=r.n(o),h=r(42550),c=r(59844),p=a.createContext(null),f=p.Provider,u=p,m=r(21687),d=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]])}return r},g=function(t,e){var r,o=a.useContext(u),p=a.useContext(c.E_),f=p.getPrefixCls,g=p.direction,y=a.useRef(),v=(0,h.sQ)(e,y);a.useEffect((function(){(0,m.Z)(!("optionType"in t),"Radio","`optionType` is only support in Radio.Group.")}),[]);var x=t.prefixCls,b=t.className,S=t.children,P=t.style,C=d(t,["prefixCls","className","children","style"]),E=f("radio",x),A=(0,n.Z)({},C);o&&(A.name=o.name,A.onChange=function(e){var r,i;null===(r=t.onChange)||void 0===r||r.call(t,e),null===(i=null===o||void 0===o?void 0:o.onChange)||void 0===i||i.call(o,e)},A.checked=t.value===o.value,A.disabled=t.disabled||o.disabled);var _=l()("".concat(E,"-wrapper"),(r={},(0,i.Z)(r,"".concat(E,"-wrapper-checked"),A.checked),(0,i.Z)(r,"".concat(E,"-wrapper-disabled"),A.disabled),(0,i.Z)(r,"".concat(E,"-wrapper-rtl"),"rtl"===g),r),b);return a.createElement("label",{className:_,style:P,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave},a.createElement(s.Z,(0,n.Z)({},A,{prefixCls:E,ref:v})),void 0!==S?a.createElement("span",null,S):null)},y=a.forwardRef(g);y.displayName="Radio",y.defaultProps={type:"radio"};var v=y,x=r(97685),b=r(21770),S=r(97647);var P=a.forwardRef((function(t,e){var r=a.useContext(c.E_),s=r.getPrefixCls,o=r.direction,h=a.useContext(S.Z),p=(0,b.Z)(t.defaultValue,{value:t.value}),u=(0,x.Z)(p,2),m=u[0],d=u[1];return a.createElement(f,{value:{onChange:function(e){var r=m,i=e.target.value;"value"in t||d(i);var n=t.onChange;n&&i!==r&&n(e)},value:m,disabled:t.disabled,name:t.name}},function(){var r,c=t.prefixCls,p=t.className,f=void 0===p?"":p,u=t.options,d=t.optionType,g=t.buttonStyle,y=void 0===g?"outline":g,x=t.disabled,b=t.children,S=t.size,P=t.style,C=t.id,E=t.onMouseEnter,A=t.onMouseLeave,_=s("radio",c),T="".concat(_,"-group"),M=b;if(u&&u.length>0){var w="button"===d?"".concat(_,"-button"):_;M=u.map((function(t){return"string"===typeof t?a.createElement(v,{key:t,prefixCls:w,disabled:x,value:t,checked:m===t},t):a.createElement(v,{key:"radio-group-value-options-".concat(t.value),prefixCls:w,disabled:t.disabled||x,value:t.value,checked:m===t.value,style:t.style},t.label)}))}var k=S||h,D=l()(T,"".concat(T,"-").concat(y),(r={},(0,i.Z)(r,"".concat(T,"-").concat(k),k),(0,i.Z)(r,"".concat(T,"-rtl"),"rtl"===o),r),f);return a.createElement("div",(0,n.Z)({},function(t){return Object.keys(t).reduce((function(e,r){return"data-"!==r.substr(0,5)&&"aria-"!==r.substr(0,5)&&"role"!==r||"data-__"===r.substr(0,7)||(e[r]=t[r]),e}),{})}(t),{className:D,style:P,onMouseEnter:E,onMouseLeave:A,id:C,ref:e}),M)}())})),C=a.memo(P),E=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]])}return r},A=function(t,e){var r=a.useContext(u),i=a.useContext(c.E_).getPrefixCls,s=t.prefixCls,o=E(t,["prefixCls"]),l=i("radio-button",s);return r&&(o.checked=t.value===r.value,o.disabled=t.disabled||r.disabled),a.createElement(v,(0,n.Z)({prefixCls:l},o,{type:"radio",ref:e}))},_=a.forwardRef(A),T=v;T.Button=_,T.Group=C;var M=T},98255:function(t){t.exports=function(t){function e(i){if(r[i])return r[i].exports;var n=r[i]={exports:{},id:i,loaded:!1};return t[i].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";var i=r(2);
1r(56),r(67),r(62),r(75),r(49),r(64),t.exports=i},function(t,e,r){var i=r(86);t.exports=i},function(t,e,r){var i={Chart:r(91),Util:r(1),Geom:r(17),Shape:r(34),G:r(6),Global:r(3),Vector2:r(7),Theme:r(38),Scale:r(21),Coord:r(27),Plot:r(37),GuideAssist:r(36),Frame:r(10),AnimateAssist:r(24)};t.exports=i},function(t,e,r){"use strict";var i=r(38),n=r(1),a={sizes:{min:1,max:10},scales:{nice:!0},widthRatio:{column:.5,rose:.999999,multiplePie:.75},animateReduceMultiple:1,lineDash:[5,15],setTheme:function(t){n.simpleMix(this,t)}};a.setTheme(i),t.exports=a},function(t,e,r){var i=r(44);t.exports=i},function(t,e,r){"use strict";var i=r(1),n=r(4),a=r(23),s=r(97),o="_origin",l=function(t){l.superclass.constructor.call(this,t)};l.ATTRS={id:"",type:null,container:null,attrs:null,shapeObj:null,createTime:null,generatePoints:!1,styleCfg:{},shapeDatas:[]},i.extend(l,n),i.mixin(l,[s]),i.augment(l,{_mapping:function(t){var e=this,r=e.get("attrs"),n=[],a=e.get("generatePoints");return i.each(t,(function(t){var s={};s[o]=t[o],a&&(s.points=t.points,s.nextPoints=t.nextPoints),i.each(r,(function(r){var n=r.names,a=e._getAttrValues(r,t);i.each(a,(function(t,e){var r=n[e];s[r]=i.isArray(t)&&1===t.length?t[0]:t}))})),n.push(s)})),n},_processShapePoints:function(t){var e=this,r=e.get("shapeObj");i.each(t,(function(t){for(var i=0;i<t.length;i++){var n=t[i],a=e.getAttrValue("shape",n),s=e.getShapePointInfo(n),o=r.getShapePoints(a,s);n.points=o}}))},_getAttrValues:function(t,e){var r=t.scales,n=[];return i.each(r,(function(t){var r=t.dim;"identity"===t.type?n.push(t.value):n.push(e[r])})),t.mappingValues.apply(t,n)},draw:function(t){var e=this,r=[],n=e.get("shapeType")||e.get("type"),s=a.getShape(n);return s._coord=e.getCoord(),e.set("shapeObj",s),e.processData(t),e.get("generatePoints")&&e._processShapePoints(t),i.each(t,(function(t,i){e.beforeMapping(t),e.sortData(t);var n=e._mapping(t);n.length&&e.drawData(n,i),r.push(n)})),r},sortData:function(){},processData:function(){},beforeMapping:function(){},isInCircle:function(){return this.getCoord().isPolar},getShapePointInfo:function(t){var e=this.getXScale(),r=this.getYScale();return{x:e?this._normalizeValues(t[e.dim],e):t.x?t.x:.1,y:r?this._normalizeValues(t[r.dim],r):t.y?t.y:.1,y0:r?r.scale(this.getYMinValue()):void 0,size:this.getSize(t)}},_normalizeValues:function(t,e){var r=[];return i.isArray(t)?i.each(t,(function(t){r.push(e.scale(t))})):r=e.scale(t),r},getDefalutSize:function(){return.1},_getSize:function(t){var e=this.getCoord();return t/(this.isInCircle()&&!e.isTransposed?(e.get("endAngle")-e.get("startAngle"))*e.get("radius"):this.getDimWidth("x"))},getDimWidth:function(t){var e=this.getCoord(),r=e.convertPoint({x:0,y:0}),i=e.convertPoint({x:"x"===t?1:0,y:"x"===t?0:1}),n=0;return r&&i&&(n=Math.sqrt(Math.pow(i.x-r.x,2)+Math.pow(i.y-r.y,2))),n},getSize:function(t){var e=this.getAttrValue("size",t);return i.isNull(e)?this.getDefalutSize():this._getSize(e)},drawData:function(t){var e,r,n,a=this,s=a.get("container"),o=a.get("shapeObj"),l=a.getYDim(),h=a.get("shapeDatas");
1i.each(t,(function(t,c){h.push(t),l&&i.isNull(t._origin[l])||(t.index=c,e=a.getDrawCfg(t),r=a.getDrawShape(t.shape),n=o.drawShape(r,e,s),a.afterDraw(n,t))}))},afterDraw:function(){},getDrawShape:function(t){return i.isArray(t)?t[0]:t},getDrawCfg:function(t){var e=this.get("styleCfg"),r=this.isInCircle(),i={points:t.points,nextPoints:t.nextPoints,color:t.color,isInCircle:r,style:e,size:t.size,shape:t.shape,opacity:t.opacity,x:t.x,y:t.y,origin:t,geomType:this.get("type")};return r&&(i.center=this.getCoord().get("center")),i},getYMinValue:function(){var t=this.getYScale().min;return t>=0?t:0},getAttrValue:function(t,e){var r=this.getAttr(t),i=null;return r&&(i=this._getAttrValues(r,e)[0]),i},getAttr:function(t){var e=this.get("attrs"),r=null;return i.each(e,(function(e){e.type===t&&(r=e)})),r},getCoord:function(){return this.getAttr("position").coord},getXDim:function(){return this.getXScale().dim},getYDim:function(){var t=this.getYScale();return t?t.dim:null},getXScale:function(){return this.getAttr("position").scales[0]},getYScale:function(){return this.getAttr("position").scales[1]}}),t.exports=l},function(t,e,r){"use strict";function i(t,e){var r=t.getContext("2d");if(r.beginPath(),r.save(),r.globalAlpha=e.opacity||1,e.lineDash&&r.setLineDash&&r.setLineDash(e.lineDash),e.fill&&(e.fillStyle=e.fill),delete e.fill,e.stroke&&(e.strokeStyle=e.stroke),delete e.stroke,e.fontStyle||e.fontVariant||e.fontWeight||e.fontSize||e.fontFamily){var i={};a.simpleMix(i,l.defaultFont,e),e.font=[i.fontStyle,i.fontVariant,i.fontWeight,i.fontSize+"px",i.fontFamily].join(" ")}return a.simpleMix(r,e),r}function n(t,e){var r=t.globalAlpha;e.strokeStyle&&(e.strokeOpacity&&(t.globalAlpha=e.strokeOpacity),t.stroke(),t.globalAlpha=r),e.fillStyle&&(t.globalAlpha=e.fillOpacity||t.globalAlpha,t.fill(),(e.fillOpacity||e.strokeOpacity)&&(t.strokeStyle=e.strokeStyle?e.strokeStyle:e.fillStyle,t.globalAlpha=e.strokeOpacity||1,t.stroke())),t.restore()}var a=r(1),s=r(7),o=r(108),l=r(3);t.exports={drawLine:function(t,e,r,a){var s=i(r,a);s.moveTo(t.x,t.y),s.lineTo(e.x,e.y),n(s,a)},drawText:function(t,e,r,n){var a;n.rotate&&(a=n.rotate*Math.PI/180,delete n.rotate);var s=i(r,n);a?(s.translate(e.x,e.y),s.rotate(a),s.fillText(""+t,0,0)):s.fillText(""+t,e.x,e.y),s.restore()},drawCircle:function(t,e,r,a){var s=i(r,a);s.arc(t.x,t.y,e,0,2*Math.PI),s.closePath(),n(s,a)},drawArc:function(t,e,r,a,s,o){var l=i(s,o);l.arc(t.x,t.y,e,r,a),!1!==o.z&&l.closePath(),n(l,o)},radiusRect:function(t,e,r,i,n,a){a.moveTo(t+n,e),a.arcTo(t+r,e,t+r,e+i,n),a.arcTo(t+r,e+i,t,e+i,n),a.arcTo(t,e+i,t,e,n),a.arcTo(t,e,t+r,e,n)},drawRect:function(t,e,r){var a=i(e,r),s=t[0].x,o=t[0].y,l=t[2].x,h=t[1].y;t.forEach((function(t){t.x>l&&(l=t.x),t.x<s&&(s=t.x),t.y>h&&(h=t.y),t.y<o&&(o=t.y)}));
1var c=s,p=o,f=l-s,u=h-o;if(r.radius){var m=Math.min(r.radius,f/2,u/2);this.radiusRect(c,p,f,u,m,a)}else a.rect(c,p,f,u);!1!==r.z&&a.closePath(),n(a,r)},drawShape:function(t,e,r){var a=i(t,e);r(a),e.z&&a.closePath(),n(a,e)},drawLines:function(t,e,r){var a=i(e,r);this.lines(t,a),r.z&&a.closePath(),n(a,r)},lines:function(t,e,r){if(t.length){!1!==r&&e.moveTo(t[0].x,t[0].y);for(var i=1,n=t.length;i<n;i++){var a=t[i];e.lineTo(a.x,a.y)}}},drawFan:function(t,e,r,a){var o=i(r,a),l=new s(1,0),h=new s(t[0].x-e.x,t[0].y-e.y).length(),c=new s(t[1].x-e.x,t[1].y-e.y),p=c.length(),f=new s(t[2].x-e.x,t[2].y-e.y),u=l.angleTo(c),m=l.angleTo(f);u>m&&u-m<1e-4?(o.moveTo(e.x+p,e.y),o.arc(e.x,e.y,p,0,Math.PI),o.arc(e.x,e.y,p,Math.PI,2*Math.PI),o.moveTo(e.x+h,e.y),o.arc(e.x,e.y,h,2*Math.PI,Math.PI,!0),o.arc(e.x,e.y,h,Math.PI,0,!0),o.closePath()):(o.moveTo(t[0].x,t[0].y),o.lineTo(t[1].x,t[1].y),o.arc(e.x,e.y,p,u,m),o.lineTo(t[3].x,t[3].y),o.arc(e.x,e.y,h,m,u,!0),o.closePath()),n(o,a)},drawSmooth:function(t,e,r){if(0!==t.length){var i=this.before(e,r);this.smooth(t,i),this.after(i,r)}},before:function(t,e){return i(t,e)},after:function(t,e){return n(t,e)},smooth:function(t,e,r){var i=[[0,0],[1,1]],n=o.smooth(t,!1,i);!1!==r&&e.moveTo(t[0].x,t[0].y);for(var a=0,s=n.length;a<s;a++){var l=n[a];e.bezierCurveTo(l[1],l[2],l[3],l[4],l[5],l[6])}}}},function(t,e,r){"use strict";function i(t,e){this.x=t,this.y=e}var n=r(1);i.add=function(t,e){return new i(t.x+e.x,t.y+e.y)},i.sub=function(t,e){return new i(t.x-e.x,t.y-e.y)},n.augment(i,{length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},normalize:function(){var t=1/this.length();return new i(this.x*t,this.y*t)},add:function(t){return i.add(this,t)},sub:function(t){return i.sub(this,t)},multiply:function(t){return new i(this.x*t,this.y*t)},dot:function(t){return this.x*t.x+this.y*t.y},angle:function(t){var e=this.dot(t)/(this.length()*t.length());return Math.acos(e)},min:function(t){return this.x>t.x&&(this.x=t.x),this.y>t.y&&(this.y=t.y),this},max:function(t){return this.x<t.x&&(this.x=t.x),this.y<t.y&&(this.y=t.y),this},angleTo:function(t){var e=this.angle(t);return this.direction(t)>=0?e:2*Math.PI-e},zero:function(){return 0===this.x&&0===this.y},direction:function(t){return this.x*t.y-t.x*this.y},distanceTo:function(t){return i.sub(this,t).length()},clone:function(){return new i(this.x,this.y)},getPoint:function(){return{x:this.x,y:this.y}}}),t.exports=i},function(t,e,r){"use strict";var i=r(1),n=["min","max"],a=function(t){i.mix(this,t)};i.augment(a,{xScale:null,yScale:null,cfg:{},parsePoint:function(t,e){var r,a=this,s=a.xScale,o=a.yScale,l=e[0],h=e[1],c=h;if(l=s?-1!==i.indexOf(n,l)?s.scale(s[l]):s.scale(l):1,o){var p=o.scale(c),f=o.scale(o[c]);r=-1!==i.indexOf(n,h)?f:p}else r=1;return t.convertPoint({x:l,y:r})},paint:function(){}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=function(t){i.mix(this,t)};n.prototype={type:"base",names:null,scales:[],min:0,max:10,method:function(t){return t*(this.max-this.min)+this.min},callback:function(){var t,e,r,n=this,a=n.arr,s=n.scales,o=i.toArray(arguments),l=[];return i.each(s,(function(s,h){t=o[h],r=s.scale(t),e=s.translate(t),"identity"===s.type?l.push(s.value):i.isArray(a)?l.push(n._getArrValue(a,s,r,e)):n.method?l.push(n.method(r)):l.push(null)})),l},getNames:function(){var t=this.scales,e=this.names,r=[];return i.each(t,(function(t,i){r.push(e[i])})),r},getDims:function(){var t=this.scales,e=[];return i.each(t,(function(t){e.push(t.dim)})),e},getScale:function(t){return this.scales[this.names.indexOf(t)]},mappingValues:function(){var t=this.scales,e=i.toArray(arguments),r=this.callback,n=e;if(r){for(var a=0;a<e.length;a++)e[a]=this.parseParam(e[a],t[a]);n=r.apply(this,e)}return this.names&&1===this.names.length&&(n=[n]),n},parseParam:function(t,e){var r=t;return e.isLinear||(r=e.scale(t),r=e.invert(r)),r},_getArrValue:function(t,e,r,i){var n=0;return e.isCategory?n=i:e.isLinear&&(n=parseInt(r*(t.length-1),10)),t[n%t.length]}},t.exports=n},function(t,e,r){var i=r(15);r(47),t.exports=i},function(t,e,r){"use strict";var i=r(1);r(18);var n=function(t){i.mix(this,t)};i.augment(n,{bgimageData:null,imageData:null,ratio:1,startPoint:{x:0,y:0},center:{x:200,y:200},radius:160,reduceMultiple:1,duration:1e3,easing:"easeInOut",success:null,paint:function(t){var e=this,r=document.createElement("canvas"),i=t.width,n=t.height,a=i/parseInt(t.style.width,10);e.ratio=a,r.style.width=i+"px",r.style.height=n+"px",r.width=i,r.he
1ight=n,e.draw(t,r)},draw:function(){},animateStep:function(t){var e=this,r=i.animateStep((function(r,i){i%e.reduceMultiple!==0&&1!==r||t(r)}),e.duration,e.easing,e.success);e.animateId=r},clear:function(t){t.getContext("2d").clearRect(0,0,t.width,t.height)},stop:function(){var t=this.animateId;i.stopStep(t)}}),t.exports=n},function(t,e,r){"use strict";var i=r(1),n=function(t){i.mix(this,t),this.init()};i.augment(n,{formatter:null,range:[0,1],ticks:null,init:function(){},getTicks:function(){var t=this,e=t.ticks,r=[];return i.each(e,(function(e){var n;n=i.isObject(e)?e:{text:t.getText(e),value:t.scale(e)},r.push(n)})),r},getText:function(t){var e=this.formatter;return t=e?e(t):t,!i.isNull(t)&&t.toString||(t=""),t.toString()},rangeMin:function(){return this.range[0]},rangeMax:function(){var t=this.range;return t[t.length-1]},invert:function(){},translate:function(t){return t},scale:function(){},clone:function(){var t=this,e=t.constructor,r={};return i.each(t,(function(e,i){r[i]=t[i]})),new e(r)},change:function(t){return this.ticks=null,i.mix(this,t),this.init(),this}}),t.exports=n},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t),this._init()}var n=r(1),a=r(4),s=r(94),o=["color","size","shape"],l=r(10),h="_origin";i.ATTRS={coreType:null,frames:null,attrs:null,container:null,styleCfg:null},n.extend(i,a),n.augment(i,{_init:function(){var t=this.get("coreType"),e=new s[t]({attrs:this.get("attrs"),container:this.get("container"),styleCfg:this.get("styleCfg")});this.set("core",e),this.processCore()},_getGroupScales:function(){var t=this.get("core"),e=[];return n.each(o,(function(r){var i=t.getAttr(r);if(i){var a=i.scales;n.each(a,(function(t){t&&t.isCategory&&-1===n.indexOf(e,t)&&e.push(t)}))}})),e},_groupFrames:function(t){var e=[],r=this._getGroupScales();return n.each(r,(function(t){e.push(t.dim)})),l.group(t,e)},processCore:function(){},initData:function(t){var e=this._groupFrames(t);e=this._saveOriginData(e),e=this.processFrames(e),this.set("frames",e)},processFrames:function(t){return t},_saveOriginData:function(t){return n.each(t,(function(t){var e=t.toJSON();t.addCol(h,e)})),t},draw:function(t){var e=this.get("frames"),r=this.get("core");t&&r.set("container",t);for(var i=[],n=0;n<e.length;n++){var a=e[n];i.push(a.toJSON())}r.draw(i)},getXScale:function(){return this.get("core").getXScale()},getYScale:function(){return this.get("core").getYScale()},_isStack:function(t){var e=!1;return"intervalStack"!==t&&"areaStack"!==t||(e=!0),e},_getSnap:function(t,e){var r,i=0,n=this.get("attrs")[0].dims[1];if(this._isStack(this.get("type"))&&t.dim===n){var a=this.get("frames");for(r=[],a.forEach((function(e){e.data.forEach((function(e){r.push(e[t.dim])}))}));i<r.length&&!(r[0][0]>e);i++){if(r[r.length-1][1]<=e){i=r.length-1;break}if(r[i][0]<=e&&r[i][1]>e)break}}else for((r=t.values).sort((function(t,e){return t-e}));i<r.length&&!((r[0]+r[1])/2>e)&&!((r[i-1]+r[i])/2<=e&&(r[i+1]+r[i])/2>e);i++)if((r[r.length-2]+r[r.length-1])/2<=e){i=r.length-1;break}return r[i]},getSnapRecords:function(t,e){var r=this,i=r.get("coord"),a=r.getXScale(),s=r.getYScale(),o=a.dim,l=s.dim,c=i.invertPoint(t),p=r.get("frames"),f=[];if(e===l){var u=s.invert(c.y);s.isCategory||(u=r._getSnap(s,u)),n.each(p,(function(t){t.each((function(t){(n.isArray(u)?n.equalsArray(t[l],u):t[l]===u)&&f.push(t)}))}))}else{var m=a.invert(c.x);a.isCategory||(m=r._getSnap(a,m)),n.each(p,(function(t){t.each((function(t){var e=n.isNull(t[h])?t[o]:t[h][o];r._isEqual(e,m,a)&&f.push(t)}))}))}return f},_isEqual:function(t,e,r){return"timeCat"===r.type?r._toTimeStamp(t)===e:e===t},getAllShapeData:function(){return this.get("core").get("shapeDatas")}}),t.exports=i},function(t,e,r){"use strict";var i=r(1),n=r(23),a=r(3);i.simpleMix(n.ShapeBase,{parsePoint:function(t){return 1===t.x&&(t.x=.9999999),1===t.y&&(t.y=.9999999),this._coord.convertPoint(t)},parsePoints:function(t){if(!t)return!1;var e=this,r=[];return t.forEach((function(t){r.push(e.parsePoint(t))})),r}}),i.simpleMix(n.GeomShape,{drawShape:function(t,e,r){var i=this.getShape(t);return e.color||(e.color=a.colors[0]),i.drawShape(e,r)}}),t.exports=n},function(t,e,r){var i=r(1),n=function(t,e){this.data=t,i.mix(this,e),this.initFrame()};n.prototype={isFrame:!0,initFrame:function(){var t=this,e=t.data,r=t.colNames(),n=t.arr;if(i.isArray(e[0])&&(n=t.arr=e),!n){n=[];for(var a=0;a<r.length;a++){for(var s=[],o=r[a],l=0;l<e.length;l++)s.push(e[l][o]);n.push(s)}t.arr=n}},contains:function(t){var e=this.colNames();return-1!==i.indexOf(e,t)},colNames:function(){var t=this,e=t.names;if(!e){var r=this.data[0];e=[],r&&i.each(r,(function(t,r){e.push(r)})),t.names=e}return e},rowCount:function(){var t=this.arr;return t&&t.length?t[0].length:0},colCount:function(){var t=this.colNames();return t?t.length:0},colIndex:function(t){return i.indexOf(this.names,t)},colArray:function(t){var e=t;return i.isString(t)&&(e=this.colIndex(t)),this.arr[e]},colReplace:function(t,e){var r=this.arr,n=this.colNames();if(i.isString(t)){var a=t;t=i.indexOf(n,a)}return r[t]=e,this},each:function(t){for(var e=this,r=e.rowCount(),i=0;i<r;i++)t(e._getObject(i),i);return e},rowObject:function(t){return this._getObject(t)},_getObject:function(t,e){var r=this,i=r.arr,n={};e=e||r.colNames();for(var a=0;a<e.length;a++)n[e[a]]=i[a][t];return n},addCol:function(t,e){var r=this;if(i.isFunction(e)){var n=e;e=[],r.each((function(t,r){var i=n(t,r);e.push(i)}))}r.names.push(t),r.arr.push(e)},toArray:function(){return this.arr},toJSON:function(){for(var t=this,e=t.rowCount(),r=[],i=0;i<e;i++)r.push(t._getObject(i));return r}},t.exports=n},function(t,e,r){var i={};i.number=r(60),i.time=r(61),i.category=r(59),t.exports=i},function(t,e,r){"use strict";var i=r(13);i.Line=r(102),i.Point=r(103),i.Interval=r(31),i.IntervalStack=r(101),i.StackMixin=r(32),i.WidthMixin=r(33),t.exp
1orts=i},function(t,e,r){function i(){return++a}var n=r(1),a=0,s={},o=Math.pow,l=Math,h=Math.abs,c={linear:function(t){return t},easeIn:function(t){return o(t,1.7)},easeOut:function(t){return o(t,.48)},easeInOut:function(t){var e=.48-t/1.04,r=l.sqrt(.1734+e*e),i=r-e,n=-r-e,a=o(h(i),1/3)*(i<0?-1:1)+o(h(n),1/3)*(n<0?-1:1)+.5;return 3*(1-a)*a*a+a*a*a},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},elastic:function(t){return t===!!t?t:o(2,-10*t)*l.sin((t-.075)*(2*Math.PI)/.3)+1},bounce:function(t){var e=7.5625,r=2.75;return t<1/r?e*t*t:t<2/r?e*(t-=1.5/r)*t+.75:t<2.5/r?e*(t-=2.25/r)*t+.9375:e*(t-=2.625/r)*t+.984375}};n.mix(n,{animateStep:function(t,e,r,a){function o(t,e,i,a){var p=(new Date).getTime()-l;if(p>=i)return e(1,t),void(a&&a());var f=(n.isFunction(r)?r:c[r||"linear"])(p/i);e(f,t),s[h]=n.requestAnimationFrame((function(){o(t+1,e,i,a)}))}var l=(new Date).getTime(),h=i();return o(0,t,e,a),h},stopStep:function(t){s[t]&&(n.cancelAnimationFrame(s[t]),delete s[t])}}),t.exports=n},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(2).Geom;i.ATTRS={coreType:"Area"},n.extend(i,a),t.exports=i},function(t,e){"use strict";function r(t){for(var e=1;t>10;)e*=10,t/=10;for(;t<1;)e/=10,t*=10;return e}function i(t,e){var r=t.length;if(0===r)return NaN;var i=t[0];if(e<t[0])return NaN;if(e>=t[r-1])return t[r-1];for(var n=1;n<t.length&&!(e<t[n]);n++)i=t[n];return i}function n(t,e){var r,i=t.length;if(0===i)return NaN;if(t[0],e>t[i-1])return NaN;if(e<t[0])return t[0];for(var n=1;n<t.length;n++){if(e<=t[n]){r=t[n];break}t[n]}return r}var a={snapFactorTo:function(t,e,i){var n=1;t<0&&(n=-1);var s=r(t*=n);return n*=s,t/=s,(t="floor"===i?a.snapFloor(e,t):"ceil"===i?a.snapCeiling(e,t):a.snapTo(e,t))*n},snapMultiple:function(t,e,r){return(r?Math.ceil(t/e,10):Math.floor(t/e,10))*e},snapTo:function(t,e){var r=i(t,e),a=n(t,e);if(isNaN(r)||isNaN(a)){if(t[0]>=e)return t[0];var s=t[t.length-1];if(s<=e)return s}return Math.abs(e-r)<Math.abs(a-e)?r:a},snapFloor:function(t,e){return i(t,e)},snapCeiling:function(t,e){return n(t,e)}};t.exports=a},function(t,e,r){var i=r(1),n=r(12);n.Linear=r(82),n.linear=function(t){return new n.Linear(t)},n.Cat=r(22),n.cat=function(t){return new n.Cat(t)},n.Identity=r(81),n.I=function(t){return new n.Identity(t)}
1,n.TimeCat=r(83),n.timeCat=function(t){return new n.TimeCat(t)},n.I_TYPE="identity",n.isCategory=function(t){if("cat"===t)return!0;var e=i.ucfirst(t);return!(!n[e]||!n[e].superclass||"cat"!==n[e].superclass.type)},t.exports=n},function(t,e,r){"use strict";var i=r(12),n=r(1),a=r(16),s=function(t){s.superclass.constructor.call(this,t)};n.extend(s,i),n.augment(s,{type:"cat",tickCount:null,isCategory:!0,init:function(){var t=this,e=t.values,r=t.tickCount;if(n.each(e,(function(t,r){e[r]=t.toString()})),!t.ticks){var i=e;r&&(i=a.category({maxCount:r,data:e}).ticks),this.ticks=i}},getText:function(t){return this.values.indexOf(t)>-1?t=t:n.isNumber(t)&&(t=this.values[Math.round(t)]),s.superclass.getText.call(this,t)},translate:function(t){var e=this.values.indexOf(t);return-1===e&&n.isNumber(t)?e=t:-1===e&&(e=NaN),e},scale:function(t){var e=this.rangeMin(),r=this.rangeMax();return(n.isString(t)||-1!==this.values.indexOf(t))&&(t=this.translate(t)),e+(this.values.length>1?t/(this.values.length-1):t)*(r-e)},invert:function(t){if(n.isString(t))return t;var e=this.rangeMin(),r=this.rangeMax();t<e&&(t=e),t>r&&(t=r);var i=(t-e)/(r-e),a=Math.round(i*(this.values.length-1))%this.values.length;return a=a||0,this.values[a]}}),t.exports=s},function(t,e,r){"use strict";var i=r(1),n={},a={defaultShapeType:null,getShape:function(t){var e=this,r=e[t]||e[e.defaultShapeType]||i.mix({},n.ShapeBase,{getActiveCfg:e.getActiveCfg,getSelectedCfg:e.getSelectedCfg});return r._coord=e._coord,r},getShapePoints:function(t,e){return this.getShape(t).getShapePoints(e)},drawShape:function(t,e,r){return this.getShape(t).drawShape(e,r)}},s={_coord:null,drawShape:function(){},getShapePoints:function(){}};n.registGeom=function(t,e){var r=i.ucfirst(t),s=i.mix({},a,e);return n[r]=s,s.className=r,s},n.registShape=function(t,e,r){var a=i.ucfirst(t),s=n[a],o=s.getShape(),l=i.mix({},o,r);return s[e]=l,l},n.getShape=function(t){return t=t||"point",this[t=i.ucfirst(t)]||n.ShapeBase},n.GeomShape=a,n.ShapeBase=s,t.exports=n},function(t,e,r){"use strict";var i=r(1),n=r(3),a=function(t){i.simpleMix(this,t)};i.augment(a,{animate:null,setImageData:function(t,e){var r=this;r.animate.imageData=t,r.animate.bgImageData=e},setStartPoint:function(t){this.animate.startPoint=t},setPolar:function(t,e){this.animate.center=t,this.animate.radius=e},setCallBack:function(t){var e=this.animate.success,r=null;r=i.isFunction(e)?function(){t(),e()}:t,this.animate.success=r},paint:function(t){var e=this.animate;e.cycle=n.animateReduceMultiple,e.paint(t)},clear:function(){var t=this.animate;t&&t.stop&&t.stop()}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(4),a=r(6),s=r(7),o=function(t){o.superclass.constructor.call(this,t),this.init()};o.ATTRS={ticks:[],tickLine:{},offsetFactor:1,canvas:null,gridPoints:[]},i.extend(o,n),i.augment(o,{init:function(){},draw:function(){var t=this,e=t.get("line"),r=t.get("tickLine"),i=t.get("label");e&&t.drawLine(e),r&&t.drawTicks(r),i&&t.drawLabels(i)},drawGrid:function(){var t=this,e=t.get("grid");if(e){var r,n=t.get("canvas"),s=t.get("gridPoints"),o=t.get("ticks"),l=s.length;i.each(s,(function(t,s){if(i.isFunction(e)){var h=o[s]||{};r=e(h.text,s,l)}else r=e;r&&a.drawLines(t,n,r)}))}},getOffsetPoint:function(){},getAxisVector:function(){},getOffsetVector:function(t,e){var r=this,i=r.getAxisVector(t).normalize(),n=r.get("offsetFactor");return new s(-1*i.y*n,i.x*n).multiply(e)},getSidePoint:function(t,e){var r=this.getOffsetVector(t,e);return{x:t.x+r.x,y:t.y+r.y}},drawTicks:function(t){var e=this,r=e.get("ticks"),n=t.value,s=e.get("canvas");i.each(r,(function(r){var i=e.getOffsetPoint(r.value),o=e.getSidePoint(i,n);a.drawLine(i,o,s,t)}))},getTextAlignInfo:function(t,e){var r=this.getOffsetVector(t,e);return{textAlign:r.x>0?"left":r.x<0?"right":"center",textBaseline:r.y>0?"top":r.y<0?"bottom":"middle"}},drawLabels:function(t){var e,r=this,n=r.get("ticks"),s=r.get("canvas"),o=n.length;i.each(n,(function(n,l){if(e=i.isFunction(t)?t(n.text,l,o):t){var h=r.get("labelOffset"),c=r.getOffsetPoint(n.value),p=r.getSidePoint(c,h),f=i.simpleMix({},r.getTextAlignInfo(c,h),e);a.drawText(f.text||n.text,p,s,f)}}))}
1,drawLine:function(){}}),t.exports=o},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t),this.__init()}var n=r(1),a=r(4);i.ATTRS={type:"cartesian",transposed:!1},n.extend(i,a),n.augment(i,{isRect:!0,isTransposed:!1,__init:function(){var t=this,e=t.get("plot"),r={start:e.get("bl").x,end:e.get("br").x},i={start:e.get("bl").y,end:e.get("tl").y};this.isTransposed=t.get("transposed"),t.set("x",r),t.set("y",i)},convertPoint:function(t){var e=this,r=e.isTransposed,i=r?"y":"x",n=r?"x":"y",a=e.get("x"),s=e.get("y");return{x:a.start+(a.end-a.start)*t[i],y:s.start+(s.end-s.start)*t[n]}},invertPoint:function(t){var e=this,r=e.isTransposed,i=r?"y":"x",n=r?"x":"y",a=e.get("x"),s=e.get("y"),o={};return o[i]=(t.x-a.start)/(a.end-a.start),o[n]=(t.y-s.start)/(s.end-s.start),o}}),t.exports=i},function(t,e,r){"use strict";t.exports={Rect:r(26),Cartesian:r(26),Polar:r(28),Circle:r(28)}},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t),this.__init()}var n=r(1),a=r(4),s=r(7);i.ATTRS={startAngle:-Math.PI/2,endAngle:3*Math.PI/2,inner:0,type:"polar"},n.extend(i,a),n.augment(i,{isPolar:!0,isTransposed:!1,__init:function(){var t,e,r=this,i=r.get("plot"),n=r.get("inner");r.get("startAngle")===-Math.PI&&0===r.get("endAngle")?(t=Math.min(i.get("width")/2,i.get("height")),e={x:(i.get("bl").x+i.get("br").x)/2,y:i.get("bl").y}):(t=Math.min(i.get("width"),i.get("height"))/2,e={x:(i.get("bl").x+i.get("br").x)/2,y:(i.get("tl").y+i.get("bl").y)/2});var a={start:r.get("startAngle"),end:r.get("endAngle")},s={start:t*n,end:t};this.isTransposed=r.get("transposed"),r.set("center",e),r.set("radius",t),r.set("x",a),r.set("y",s)},convertPoint:function(t){var e=this,r=e.get("center"),i=e.isTransposed,n=i?"y":"x",a=i?"x":"y",s=e.get("x"),o=e.get("y"),l=s.start+(s.end-s.start)*t[n],h=o.start+(o.end-o.start)*t[a];return{x:r.x+Math.cos(l)*h,y:r.y+Math.sin(l)*h}},invertPoint:function(t){var e=this,r=e.get("center"),i=e.isTransposed,n=i?"y":"x",a=i?"x":"y",o=e.get("x"),l=e.get("y"),h=new s(1,0),c=new s(t.x-r.x,t.y-r.y);if(c.zero())return{x:0,y:0};for(var p=h.angleTo(c);p>o.end;)p-=2*Math.PI;var f=c.length(),u=(p-o.start)/(o.end-o.start),m=(f-l.start)/(l.end-l.start),d={};return d[n]=u,d[a]=m,d}}),t.exports=i},function(t,e,r){"use strict";var i=r(1);t.exports={splitData:function(t){if(!t.length)return[];for(var e,r=[],n=[],a=this.getYDim(),s=0;s<t.length;s++){var o=t[s];e=o._origin?o._origin[a]:o[a],i.isArray(e)&&i.isNull(e[0])||i.isNull(e)?(r.push(n),n=[]):n.push(o)}return r.push(n),r}}},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(5),s=r(29);n.extend(i,a),n.mixin(i,[s]),i.ATTRS={type:"path",shapeType:"line"},n.augment(i,{drawData:function(t,e){var r,i,a=this,s=this.splitData(t),o=this.get("container"),l=this.get("shapeObj"),h=t[0],c=this.getDrawCfg(h),p=h.y.length||1;h.index=e,(c=this.getDrawCfg(h)).origin=t;var f=a.get("adjusts"),u=f&&-1!==n.indexOf(f,"Stack");a.get("shapeDatas").push(t),i=a.getDrawShape(c.shape),n.each(s,(function(t,e){if(c.splitedIndex=e,1===p)c.points=t,l.drawShape(i,c,o);else for(var n=0;n<p;n++)if(!u||0!==n){if(0===t.length)return;r=[];for(var a=0;a<t.length;a++){var s=t[a];r.push({x:s.x,y:s.y[n]})}c.points=r,c.index=n,l.drawShape(i,c,o)}}))},_getJoinIdAttr:function(){var t=this.get("attrs"),e=[];return n.each(t,(function(t){"position"!==t.type&&e.push(t)})),e}}),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(13),s=r(33);i.ATTRS={coreType:"Interval"},n.extend(i,a),n.mixin(i,[s]),t.exports=i},function(t,e,r){"use strict";var i=r(1),n=r(10),a=function(){};a.ATTRS={isAdjust:!0},i.augment(a,{processFrames:function(t){for(var e=this,r=e.getXScale().dim,a=e.getYScale().dim,s=t.length,o=[],l={},h=[],c=0;c<s;c++){for(var p=t[c].toJSON(),f=0;f<p.length;f++){var u=p[f],m=u[r],d=u[a],g=m.toString();d=i.isArray(d)?d[1]:d,l[g]||(l[g]=0),u[a]=[l[g],d+l[g]],l[g]+=d}o.push(p)}return i.each(o,(function(t){var e=new n(t);h.push(e)})),h}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(3),a=function(){};a.ATTRS={isAdjust:!0},i.augment(a,{processCore:function(){var t=this;this.get("core").getDefalutSize=function(){return t._getDefalutSize()}},_getDefalutSize:function(){var t=this.get("core"),e=t.getCoord(),r=t.getXScale().values,i=n.widthRatio.column;return e.isPolar&&(i=e.isTransposed?1===r.length?n.widthRatio.rose:n.widthRatio.multiplePie:n.widthRatio.rose),i*(1/r.length)}}),t.exports=a},function(t,e,r){"use strict";var i=r(14);
1r(106),r(105),r(104),t.exports=i},function(t,e,r){"use strict";var i=r(1),n={splitPoints:function(t){var e=[],r=t.x,n=t.y;return(n=i.isArray(n)?n:[n]).forEach((function(t,n){var a={x:i.isArray(r)?r[n]:r,y:t};e.push(a)})),e}};t.exports=n},function(t,e,r){"use strict";var i=r(1),n=function(t){i.simpleMix(this,t),this.guides=[]};i.augment(n,{guides:null,xScale:null,yScale:null,addGuide:function(t){this.guides.push(t)},setScale:function(t,e){var r=this.guides;this.xScale=t,this.yScale=e,i.each(r,(function(r){r.xScale=t,r.yScale=e}))},paintFront:function(t,e){var r=this.guides;i.each(r,(function(r){"text"!==r.type&&"html"!==r.type||r.paint(t,e)}))},paintBack:function(t,e){var r=this.guides;i.each(r,(function(r){"text"!==r.type&&"html"!==r.type&&r.paint(t,e)}))},clear:function(t){if(this.guides=[],t){var e=t.getElementsByClassName("guideWapper")[0];e&&t.removeChild(e)}return this}}),t.exports=n},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t),this.__init()}var n=r(1),a=r(4);n.extend(i,a),n.augment(i,{__init:function(){var t=this,e=t.get("start"),r=t.get("end"),i={};i.x=Math.min(e.x,r.x),i.y=Math.min(e.y,r.y),t.set("tl",i);var n={};n.x=Math.max(e.x,r.x),n.y=Math.min(e.y,r.y),t.set("tr",n);var a={};a.x=Math.min(e.x,r.x),a.y=Math.max(e.y,r.y),t.set("bl",a);var s={};s.x=Math.max(e.x,r.x),s.y=Math.max(e.y,r.y),t.set("br",s),t.set("width",s.x-i.x),t.set("height",s.y-i.y)},reset:function(t,e){this.set("start",t),this.set("end",e),this.__init()},isInRange:function(t,e){n.isObject(t)&&(e=t.y,t=t.x);var r=this.get("tl"),i=this.get("br");return r.x<=t&&t<=i.x&&r.y<=e&&e<=i.y}}),t.exports=i},function(t,e,r){"use strict";var i="#999999",n="#E9E9E9",a=r(1),s={label:{fillStyle:"#979797",font:"20px san-serif"},labelOffset:6,line:{stroke:n,lineWidth:1},grid:{stroke:n,lineWidth:1},tickLine:null},o={defaultFont:{fontStyle:"",fontVariant:"",fontWeight:"",fontSize:"10px",fontFamily:'"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\u5fae\u8f6f\u96c5\u9ed1", SimSun, "sans-serif"'},pixelRatio:1,margin:[40,40,40,40],colors:["#4E7CCC","#36B3C3","#4ECDA5","#94E08A","#E2F194","#EDCC72","#F8AB60","#F9815C","#EB4456","#C82B3D"],axis:{bottom:a.mix(!0,{},s,{line:{stroke:i},label:{textBaseline:"hanging"},labelOffset:12,gridAttrs:{},grid:function(t,e,r){return 0===e||e===r-1?null:a.simpleMix({},s.grid,o.axis.bottom.gridAttrs)}}),left:a.mix(!0,{},s,{label:{textAlign:"end"},line:null,tickLine:null}),right:a.mix(!0,{},s,{label:{textAlign:"start"},line:null,tickLine:null,grid:null}),circle:a.mix(!0,{},s,{line:{stroke:i}}),radius:a.mix(!0,{},s,{})}};t.exports=o},function(t,e,r){"use strict";var i=r(9),n=r(1),a=function(t){a.superclass.constructor.call(this,t)};n.extend(a,i),n.augment(a,{type:"color",names:["color"],arr:null}),i.Color=a,i.Position=r(41),i.Size=r(43),i.Shape=r(42),i.Opacity=r(40),t.exports=i},function(t,e,r){"use strict";var i=r(1),n=r(9),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{type:"opacity",names:["opacity"],min:.1,max:1,arr:null}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(9),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{type:"position",names:["x","y","z"],coord:null,parseParam:function(t,e){var r;return i.isArray(t)?(r=[],i.each(t,(function(t){r.push(e.scale(t))}))):r=e.scale(t),r},callback:function(t,e){var r,n,a,s=this.coord;if(t||0===t||(t=.1),e||0===e||(e=.1),i.isArray(e)&&i.isArray(t)){r=[],n=[];for(var o=0,l=0;o<t.length&&l<e.length;o++,l++)a=s.convertPoint({x:t[o],y:e[l]}),r.push(a.x),n.push(a.y)}else if(i.isArray(e))n=[],i.each(e,(function(e){a=s.convertPoint({x:t,y:e}),r&&r!==a.x?(i.isArray(r)||(r=[r]),r.push(a.x)):r=a.x,n.push(a.y)}));else if(i.isArray(t))r=[],i.each(t,(function(t){a=s.convertPoint({x:t,y:e}),n&&n!==a.y?(i.isArray(n)||(n=[n]),n.push(a.y)):n=a.y,r.push(a.x)}));else{var h=s.convertPoint({x:t,y:e});r=h.x,n=h.y}return[r,n]}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(9),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{type:"shape",names:["shape"],arr:null}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(9),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{type:"size",names:["size"],arr:null}),t.exports=a},function(t,e,r){"use strict";function i(t){if(!t._attrs&&t!==n){var e=t.superclass.constructor;e&&!e._attrs&&i(e),t._attrs={},a.mix(!0,t._attrs,e._attrs),a.mix(!0,t._attrs,t.ATTRS)}}var n,a=r(1);n=function(t){i(this.constructor),this._attrs={},this.events={};var e=this.getDefaultCfg();a.mix(this._attrs,e,t)},a.augment(n,{getDefaultCfg:function(){var t=this.constructor._attrs;return a.mix(!0,{},t)}
1,set:function(t,e){var r="_onRender"+a.ucfirst(t);return this[r]&&this[r](e,this._attrs[t]),this._attrs[t]=e,this},get:function(t){return this._attrs[t]},on:function(t,e){var r=this,i=r.events,n=i[t];return n||(n=i[t]=[]),n.push(e),r},fire:function(t,e){var r=this.events[t];r&&a.each(r,(function(t){t(e)}))},off:function(t,e){var r=this,i=r.events[t];return t?(i&&a.remove(i,e),r):(r.events={},r)},offEvents:function(t){var e=this,r=e.events;return t?(r[t]=null,e):(e.events={},e)},destroy:function(){var t=this;return t.destroyed?t:(t._attrs={},t.events={},void(t.destroyed=!0))}}),t.exports=n},function(t,e,r){var i=r(46);t.exports=i},function(t,e){"use strict";function r(t){return t instanceof Date?t:new Date(t)}function i(t,e,r){var i=new Date(r);switch(isNaN(i)&&(i=new Date),e=parseInt(e,10),t){case"s":i=new Date(i.getTime()+1e3*e);break;case"n":i=new Date(i.getTime()+6e4*e);break;case"h":i=new Date(i.getTime()+36e5*e);break;case"d":i=new Date(i.getTime()+864e5*e);break;case"w":i=new Date(i.getTime()+6048e5*e);break;case"m":i=new Date(i.getFullYear(),i.getMonth()+e,i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds());break;case"y":i=new Date(i.getFullYear()+e,i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds())}return i}var n=/^(?:(?!0000)[0-9]{4}([-\/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-\/.]?)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/,a=function(){var t=/w{1}|d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,e=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,r=/[^-+\dA-Z]/g,i=function(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t},n={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUTCDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",localShortDate:"yy\u5e74mm\u6708dd\u65e5",localShortDateTime:"yy\u5e74mm\u6708dd\u65e5 hh:MM:ss TT",localLongDate:"yyyy\u5e74mm\u6708dd\u65e5",localLongDateTime:"yyyy\u5e74mm\u6708dd\u65e5 hh:MM:ss TT",localFullDate:"yyyy\u5e74mm\u6708dd\u65e5 w",localFullDateTime:"yyyy\u5e74mm\u6708dd\u65e5 w hh:MM:ss TT"},a={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};return function(s,o,l){if(1!==arguments.length||"[object String]"!==Object.prototype.toString.call(s)||/\d/.test(s)||(o=s,s=void 0),s=s||0===s?new Date(s):new Date,isNaN(s))throw SyntaxError("invalid date");"UTC:"===(o=String(n[o]||o||n.default)).slice(0,4)&&(o=o.slice(4),l=!0);var h=l?"getUTC":"get",c=s[h+"Date"](),p=s[h+"Day"](),f=s[h+"Month"](),u=s[h+"FullYear"](),m=s[h+"Hours"](),d=s[h+"Minutes"](),g=s[h+"Seconds"](),y=s[h+"Milliseconds"](),v=l?0:s.getTimezoneOffset(),x={d:c,dd:i(c,void 0),ddd:a.dayNames[p],dddd:a.dayNames[p+7],w:a.dayNames[p+14],m:f+1,mm:i(f+1,void 0),mmm:a.monthNames[f],mmmm:a.monthNames[f+12],yy:String(u).slice(2),yyyy:u,h:m%12||12,hh:i(m%12||12,void 0),H:m,HH:i(m,void 0),M:d,MM:i(d,void 0),s:g,ss:i(g,void 0),l:i(y,3),L:i(y>99?Math.round(y/10):y,void 0),t:m<12?"a":"p",tt:m<12?"am":"pm",T:m<12?"A":"P",TT:m<12?"AM":"PM",Z:l?"UTC":(String(s).match(e)||[""]).pop().replace(r,""),o:(v>0?"-":"+")+i(100*Math.floor(Math.abs(v)/60)+Math.abs(v)%60,4),S:["th","st","nd","rd"][c%10>3?0:(c%100-c%10!==10)*c%10]};return o.replace(t,(function(t){return t in x?x[t]:t.slice(1,t.length-1)}))}}(),s={add:function(t,e,r){return i(t,e,r)},addHour:function(t,e){return i("h",t,e)},addMinute:function(t,e){return i("n",t,e)},addSecond:function(t,e){return i("s",t,e)},addDay:function(t,e){return i("d",t,e)}
1,addWeek:function(t,e){return i("w",t,e)},addMonths:function(t,e){return i("m",t,e)},addYear:function(t,e){return i("y",t,e)},isDateEquals:function(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()},isEquals:function(t,e){return t===e||!(!t||!e)&&!(!t.getTime||!e.getTime)&&t.getTime()===e.getTime()},isDateString:function(t){return n.test(t)},format:function(t,e,r){return a(t,e,r)},parse:function(t){return"string"==typeof t&&(t=t.replace(/-/g,"/")),r(t)},today:function(){var t=new Date;return new Date(t.getFullYear(),t.getMonth(),t.getDate())},getDate:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())}};t.exports=s},function(t,e,r){var i=r(1),n=r(48),a=r(15);i.mix(a,{values:function(t,e){for(var r=[],i={},a=t.colArray(e),s=0,o=(a=n.formatArray(a)).length;s<o;s++){var l=a[s];i[l]||void 0===l||(i[l]=!0,r.push(l))}return r},group:function(t,e){if(!e)return[t];var r=a.groupToMap(t,e),i=[];for(var n in r)r.hasOwnProperty(n)&&i.push(r[n]);return i},groupToMap:function(t,e){var r=t.colNames(),n={};if(!e)return{0:t};if(!i.isFunction(e)){var s=i.isArray(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="",r=0,i=s.length;r<i;r++)e+=t[s[r]].toString();return e}}for(var o in t.each((function(t){var r=e(t);n[r]?n[r].push(t):n[r]=[t]})),n)n.hasOwnProperty(o)&&(n[o]=new a(n[o],{names:r.slice(0)}));return n},merge:function(){for(var t=i.toArray(arguments),e=t[0],r=e.colNames(),n=e.colCount(),s=[],o=0;o<n;o++){s[o]=[];for(var l=0;l<t.length;l++){var h=t[l].colArray(o);s[o]=s[o].concat(h)}}return new a(s,{names:r})},sort:function(t,e){var r=function(t,r){return t[e]-r[e]};return n.sort(t,r)}}),t.exports=a},function(t,e,r){function i(t){return function(e,r){var i=t(e,r);return 0===i?e[s]-r[s]:i}}var n=r(1),a=r(15),s="_INDEX";t.exports={filterNull:function(t){var e=[];return n.each(t,(function(t){n.isNull(t)||e.push(t)})),e},mixIf:function(t,e,r){n.each(r,(function(r){t[r]=e[r]}))},formatArray:function(t){var e=[];return n.each(t,(function(t){n.isArray(t)?e=e.concat(t):e.push(t)})),e},sort:function(t,e){var r=t.toJSON();return n.each(r,(function(t,e){return t[s]=e,t})),r.sort(i(e)),new a(r,{names:t.colNames()})}}},function(t,e,r){var i=r(2);i.AnimateAssist=r(50),t.exports=i},function(t,e,r){var i=r(18),n=r(2),a=r(51),s=r(53),o=r(52),l=r(55),h=r(54),c=n.AnimateAssist;i.augment(c,{waveh:function(t){var e={type:"waveh"};e=i.mix({},t,e),this.animate=new l(e)},wavec:function(t){var e={type:"wavec"};e=i.mix({},t,e),this.animate=new h(e)},scalex:function(t){var e={type:"scalex"};e=i.mix({},t,e),this.animate=new a(e)},scaley:function(t){var e={type:"scaley"};e=i.mix({},t,e),this.animate=new s(e)},scalexy:function(t){var e={type:"scalexy"};e=i.mix({},t,e),this.animate=new o(e)}}),t.exports=c},function(t,e,r){"use strict";var i=r(1),n=r(11),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{draw:function(t,e){var r=this,i=r.ratio,n=r.startPoint.x*i,a=t.width,s=t.height,o=t.getContext("2d"),l=e.getContext("2d"),h=r.imageData,c=r.bgImageData;l.putImageData(h,0,0),r.animateStep((function(l){r.clear(t),o.putImageData(c,0,0);var h=n*l/i,p=(a-n)*l/i;o.drawImage(e,0,0,a,s,n*(1-l)/i,0,h+p,s/i)}))}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(11),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{draw:function(t,e){var r=this,i=r.ratio,n=r.center,a=t.width,s=t.height,o=t.getContext("2d"),l=e.getContext("2d"),h=r.imageData,c=r.bgImageData;l.putImageData(h,0,0),r.animateStep((function(l){r.clear(t),o.putImageData(c,0,0),o.drawImage(e,0,0,a,s,n.x*(1-l),n.y*(1-l),a*l/i,s*l/i)}))}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(11),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{draw:function(t,e){var r=this,i=r.ratio,n=r.startPoint.y*i,a=t.width,s=t.height,o=t.getContext("2d"),l=e.getContext("2d"),h=r.imageData,c=r.bgImageData;l.putImageData(h,0,0),r.animateStep((function(l){r.clear(t),o.putImageData(c,0,0);var h=n*l/i,p=(s-n)*l/i;o.drawImage(e,0,0,a,s,0,n*(1-l)/i,a/i,h+p)}))}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(11),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{draw:function(t,e){var r=this,i=t.width,n=t.height,a=t.getContext("2d"),s=e.getContext("2d"),o=r.ratio,l=r.center,h=r.radius,c=r.imageData,p=r.bgImageData;a.putImageData(p,0,0),s.putImageData(c,0,0),r.animateStep((function(s){r.clear(t),a.putImageData(p,0,0),a.save(),r.sector(a,2*Math.PI*s,l,h),a.clip(),a.drawImage(e,0,0,i,n,0,0,i/o,n/o),a.restore(
1)}))},sector:function(t,e,r,i){t.beginPath(),t.strokeStyle="rgba(1, 1, 1, 0)",t.arc(r.x,r.y,i,1.5*Math.PI,1.5*Math.PI+e),t.moveTo(r.x+Math.sin(e)*i,r.y-Math.cos(e)*i),t.lineTo(r.x,r.y),t.lineTo(r.x,r.y-i),t.stroke()}}),t.exports=a},function(t,e,r){"use strict";var i=r(1),n=r(11),a=function(t){a.superclass.constructor.call(this,t)};i.extend(a,n),i.augment(a,{draw:function(t,e){var r=this,i=t.width,n=t.height,a=t.getContext("2d"),s=r.ratio,o=e.getContext("2d"),l=r.imageData,h=r.bgImageData;a.putImageData(h,0,0),o.putImageData(l,0,0),r.animateStep((function(o){r.clear(t),a.putImageData(h,0,0),a.drawImage(e,0,0,i*o,n,0,0,i*o/s,n/s)}))}}),t.exports=a},function(t,e,r){var i=r(2);i.Geom.Area=r(19),i.Geom.AreaStack=r(57),r(58),i.Chart.registGeom("area"),i.Chart.registGeom("areaStack"),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(19),s=r(2).Geom.StackMixin;n.extend(i,a),n.mixin(i,[s]),t.exports=i},function(t,e,r){"use strict";function i(t,e){return Math.abs(t-e)<1e-5}function n(t,e){var r=!0;return s.each(t,(function(t){if(!i(t.x,e.x)||!i(t.y,e.y))return r=!1,!1})),r}function a(t,e){var r=this,i=t.points,a=[],o=[];s.each(i,(function(t){o.push(t[0]),a.push(t[1])}));var l=s.mix({fillStyle:t.color},t.style),c=h.before(e,l);o.reverse(),a=r.parsePoints(a),o=r.parsePoints(o),t.isInCircle?(n(o,t.center)&&(o=[]),r.drawCircleArea(a,o,c)):r.drawRectShape(a,o,c),h.after(c,l)}var s=r(1),o=r(2),l=o.Shape,h=o.G,c=l.registGeom("area",{defaultShapeType:"area"});l.registShape("area","area",{getShapePoints:function(t){var e=t.x,r=t.y,i=t.y0;r=s.isArray(r)?r:[i,r];var n=[];return n.push({x:e,y:r[0]},{x:e,y:r[1]}),n},drawShape:function(t,e){a.call(this,t,e)},drawCircleArea:function(t,e,r){h.lines(t,r),r.lineTo(t[0].x,t[0].y),r.closePath(),e.length&&(h.lines(e,r),r.closePath())},drawRectShape:function(t,e,r){t=t.concat(e),h.lines(t,r),r.closePath()}}),l.registShape("area","smooth",{drawShape:function(t,e){a.call(this,t,e)},drawCircleArea:function(t,e,r){h.smooth(t,r),r.closePath(),e.length&&(h.smooth(e,r),r.closePath())},drawRectShape:function(t,e,r){h.smooth(t,r),r.lineTo(e[0].x,e[0].y),h.smooth(e,r,!1),r.closePath()}}),t.exports=c},function(t,e,r){"use strict";function i(t,e){var r=[];return e?n.isArray(t[0])&&n.each(t[0],(function(e,i){for(var n=e,a=1;a<t.length;a++)n+=t[a][i];r.push(n)})):n.each(t,(function(t){n.isArray(t)?r=r.concat(t):r.push(t)})),r}var n=r(1),a=6,s=function(t){var e={},r=[],n=t.maxCount||a,s=i(t.data);if(s.length<n)r=[].concat(s);else{var o=s.length,l=parseInt(o/(n-1),10),h=s.map((function(t,e){return e%l===0?s.slice(e,e+l):null})).filter((function(t){return t}));r.push(s[0]);for(var c=1;c<h.length&&c<n-1;c++)r.push(h[c][0]);r.push(s[o-1])}return e.categories=s,e.ticks=r,e};t.exports=s},function(t,e,r){"use strict";var i=r(1),n=4,a=6,s=[0,1,2,2.5,3,4,5,7.5,10],o=i.isNull,l=r(20),h=function(t){var e,r=t.min,h=t.max,c=t.interval,p=[],f=t.minCount||n,u=t.maxCount||a,m=(f+u)/2;if(o(c)&&(h===r&&(h=t.min+1,c=1),o(c))){var d=(h-r)/m;c=l.snapFactorTo(d,s,"ceil"),(e=parseInt((h-r)/c,10))>u&&(e=u),e<f&&(e=f),c=l.snapFactorTo((h-r)/e,s,"ceil")}h=l.snapMultiple(h,c,!0),r=l.snapMultiple(r,c,!1),e=Math.round((h-r)/c),r=i.fixedBase(r,c),p.push(r);for(var g=1;g<=e;g++)p.push(i.fixedBase(c*g+r,c));return{min:r,max:i.fixedBase(h,c),interval:c,count:e,ticks:p}};t.exports=h},function(t,e,r){"use strict";function i(t){return new Date(t).getFullYear()}function n(t){return new Date(t,0,1).getTime()}function a(t){return new Date(t).getMonth()}function s(t,e){var r=i(t),n=i(e),s=a(t);return 12*(n-r)+(a(e)-s)%12}function o(t,e){return new Date(t,e,1).getTime()}function l(t,e){return Math.ceil((e-t)/g)}function h(t,e){return Math.ceil((e-t)/d)}function c(t,e){return Math.ceil((e-t)/6e4)}var p=r(1),f=6,u=[1,2,4,6,8,12],m=6e4,d=36e5,g=864e5,y=r(20),v=function(t){var e=t.min,r=t.max,v=t.interval,x=[];if(r===e&&(r=e+g),p.isNull(v)){var b,S=g,P=365*S;b=(v=parseInt((r-e)/(t.maxCount||f)))/P;var C=i(e);if(b>.51){_=Math.ceil(b);for(var E=i(r),A=C;A<=E+_;A+=_)x.push(n(A));v=null}else if(b>.0834){var _=i(e),T=Math.ceil(b/.0834),M=a(e),w=s(e,r);for(A=0;A<=w+T;A+=T)x.push(o(C,A+M));v=null}else if(v>.5*S){_=(I=new Date(e)).getFullYear(),T=I.getMonth(e);var k=I.getDate(),D=Math.ceil(v/S),F=l(e,r);for(v=D*S,A=0;A<F+D;A+=D)x.push(new Date(_,T,k+A).getTime())}else if(v>d){_=(I=new Date(e)).getFullYear(),T=I.getMonth(e),D=I.getDate();var I,R=I.getHours(),V=y.snapTo(u,Math.ceil(v/d)),B=h(e,r);for(v=V*d,A=0;A<=B+V;A+=V)x.push(new Date(_,T,D,R+A).getTime())}else if(v>m){var L=c(e,r),N=Math.ceil(v/m);for(v=N*m,A=0;A<=L+N;A+=N)x.push(e+A*m)}else{v<1e3&&(v=1e3),e=1e3*Math.floor(e/1e3);var O=Math.ceil((r-e)/1e3),G=Math.ceil(v/1e3);for(v=1e3*G,A=0;A<O+G;A+=G)x.push(e+1e3*A)}}if(!x.length){e=1e3*Math.floor(e/1e3);var z=((r=1e3*Math.ceil(r/1e3))-e)/v;for(A=0;A<=z;A++)x.push(p.fixedBase(v*A+e,v))}return{max:r,min:e,interval:v,ticks:x,count:x.length}};t.exports=v},function(t,e,r){var i=r(2);r(63),t.exports=i},function(t,e,r){function i(t){var e=t.sort((function(t,e){return t<e?1:-1})),r=e.length;if(r<4)for(var i=e[r-1],n=0;n<4-r;n++)e.push(i);return e}function n(t,e,r){var n=i(e);return[{x:t,y:n[0]},{x:t,y:n[1]},{x:t-r/2,y:n[2]},{x:t-r/2,y:n[1]},{x:t+r/2,y:n[1]},{x:t+r/2,y:n[2]},{x:t,y:n[2]},{x:t,y:n[3]}]}var a=r(2),s=r(1),o=a.Shape,l=a.G;r(78);var h=o.registShape("schema","candle",{getShapePoints:function(t){return n(t.x,t.y,t.size)},drawShape:function(t,e){var r=this.parsePoints(t.points),i=s.mix({strokeStyle:t.color,fillStyle:t.color},t.style),n=l.before(e,i);n.moveTo(r[0].x,r[0].y),n.lineTo(r[1].x,r[1].y),n.moveTo(r[2].x,r[2].y);for(var a=3;a<6;a++)n.lineTo(r[a].x,r[a].y);n.closePath(),n.moveTo(r[6].x,r[6].y),n.lineTo(r[7].x,r[7].y),l.after(n,i)}});t.exports=h},function(t,e,r){var i=r(2);i.Geom.IntervalDodge=r(66),i.Chart.registGeom("intervalDodge"),t.exports=i},function(t,e,r){"use strict";var i=r(1),n=function(){};n.ATTRS={marginRatio:.5,dodgeRatio:.5},i.augment(n,{getDodgeOffset:function(t,e,r){var i=this,n=t.pre,a=t.next,s=a-n,o=s*i.get("dodgeRatio")/r,l=i.get("marginRatio")*o;return(n+a)/2+(.5*(s-r*o-(r-1)*l)+((e+1)*o+e*l)-.5*o-.5*s)},_numbric:function(t){var e=this.getXScale(),r=e.dim;return i.each(t,(function(t){for(var i=t.colArray(r),n=0;n<i.length;n++)i[n]=e.translate(i[n])})),t},processFrames:function(t){var e=this;return e.getXScale().isCategory&&(t=e._numbric(t),t=e._adjustFrames(t)),t},_adjustFrames:function(t){var e=this,r=t.length,n=e.getXScale().dim;return i.each(t,(function(t,i){for(var a=t.colArray(n),s=0;s<a.length;s++){var o=a[s],l={pre:o-.5,next:o+.5},h=e.getDodgeOffset(l,i,r);a[s]=h}})),t}}),t.exports=n},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(2).Geom.Interval,s=r(65);n.extend(i,a),n.mixin(i,[s]),n.augment(i,{_getDefalutSize:function(){var t=i.superclass._getDefalutSize.call(this),e=this._getGroupScales()[0],r=this.getXScale().values.length,n=t/e.values.length;return 1===r&&(n/=2),n}}),t.exports=i},function(t,e,r){var i=r(2);i.GuideAssist=r(69),t.exports=i},function(t,e,r){"use strict";var i=r(1),n=r(8),a=r(2),s=a.Vector2,o=a.G,l=function(t){l.superclass.constructor.call(this,t)};i.extend(l,n),i.augment(l,{start:[],end:[],cfg:{strokeStyle:"#CCC"},getCfg:function(t){var e=this,r=e.parsePoint(t,e.start),i=e.parsePoint(t,e.end),n=t.get("center"),a=new s(1,0),o=new s.sub(r,n),l=new s.sub(i,n);return{radius:o.length(),startAngle:2*Math.PI-o.angleTo(a,!0),endAngle:2*Math.PI-l.angleTo(a,!0)}},paint:function(t,e){var r=this.getCfg(t),n=i.mix({z:!1},this.cfg,r),a=t.get("center"),s=r.radius,l=r.startAngle,h=r.endAngle;o.drawArc(a,s,l,h,e,n)}}),t.exports=l},function(t,e,r){"use strict";var i=r(2),n=r(1),a=r(8);a.Text=r(73),a.Line=r(71),a.Arc=r(68),a.Html=r(70),a.Rect=r(72);var s=i.GuideAssist;n.augment(s,{_getDefault:function(){return{xScale:this.xScale,yScale:this.yScale}},line:function(t,e,r){var i={type:"line",from:t,to:e,cfg:n.mix({},r)};n.mix(i,this._getDefault());var s=new a.Line(i);return this.addGuide(s),this},text:function(t,e,r){var i={type:"text",position:t,text:e,cfg:n.mix({},r)};n.mix(i,this._getDefault());var s=new a.Text(i);return this.addGuide(s),this}
1,arc:function(t,e,r){var i={type:"arc",start:t,end:e,cfg:n.mix({},r)};n.mix(i,this._getDefault());var s=new a.Arc(i);return this.addGuide(s),this},html:function(t,e,r){var i={type:"html",point:t,html:e,cfg:n.mix({},r)};n.mix(i,this._getDefault());var s=new a.Html(i);return this.addGuide(s),this},rect:function(t,e,r){var i={type:"rect",start:t,end:e,cfg:n.mix({},r)};n.mix(i,this._getDefault());var s=new a.Rect(i);return this.addGuide(s),this}}),t.exports=s},function(t,e,r){"use strict";function i(t,e,r){var i=[];switch(t){case"tl":i[0]=0,i[1]=0;break;case"tr":i[0]=-e,i[1]=0;break;case"bl":i[0]=0,i[1]=Math.floor(-r);break;case"br":i[0]=Math.floor(-e),i[1]=Math.floor(-r);break;case"rc":i[0]=Math.floor(-e),i[1]=Math.floor(-r/2);break;case"lc":i[0]=0,i[1]=Math.floor(-r/2);break;case"tc":i[0]=Math.floor(-e/2),i[1]=Math.floor(-r);break;case"bc":i[0]=Math.floor(-e/2),i[1]=0;break;default:i[0]=Math.floor(-e/2),i[1]=Math.floor(-r/2)}return i}var n=r(1),a=r(8);r(74);var s=function(t){s.superclass.constructor.call(this,t)};n.extend(s,a),n.augment(s,{type:"html",point:[],cfg:{offset:[0,0],align:"cc"},html:"",paint:function(t,e){var r=this,a=r.parsePoint(t,r.point),s=n.createDom(r.html);s=n.modiCSS(s,{position:"absolute",top:Math.floor(a.y)+"px",left:Math.floor(a.x)+"px",visibility:"hidden"});var o,l=e.parentNode;(l=n.modiCSS(l,{position:"relative"})).getElementsByClassName("guideWapper").length>0?o=l.getElementsByClassName("guideWapper")[0]:(o=n.createDom('<div class="guideWapper"></div>'),o=n.modiCSS(o,{position:"absolute",top:0,left:0}),l.appendChild(o)),o.appendChild(s);var h=r.cfg;if(h.align){var c=i(h.align,n.getWidth(s),n.getHeight(s));a.x=a.x+c[0],a.y=a.y+c[1]}if(h.offset){var p=h.offset;a.x=a.x+p[0],a.y=a.y+p[1]}n.modiCSS(s,{top:Math.floor(a.y)+"px",left:Math.floor(a.x)+"px",visibility:"visible"})}}),t.exports=s},function(t,e,r){"use strict";var i=r(1),n=r(8),a=r(2).G,s=function(t){s.superclass.constructor.call(this,t)};i.extend(s,n),i.augment(s,{from:[],to:[],cfg:{strokeStyle:"#000",lineWidth:1},paint:function(t,e){var r=this,i=[];i[0]=r.parsePoint(t,r.from),i[1]=r.parsePoint(t,r.to);var n=r.cfg;a.drawLines(i,e,n)}}),t.exports=s},function(t,e,r){"use strict";var i=r(1),n=r(8),a=r(2).G,s=function(t){s.superclass.constructor.call(this,t)};i.extend(s,n),i.augment(s,{start:[],end:[],cfg:{fillStyle:"#fafafa"},paint:function(t,e){var r=this,i=r.cfg,n=[];n[0]=r.parsePoint(t,r.start),n[1]=r.parsePoint(t,[r.start[0],r.end[1]]),n[2]=r.parsePoint(t,r.end),n[3]=r.parsePoint(t,[r.end[0],r.start[1]]),i.radius?a.drawRect(n,e,i):a.drawLines(n,e,i)}}),t.exports=s},function(t,e,r){"use strict";var i=r(1),n=r(8),a=r(2).G,s=function(t){s.superclass.constructor.call(this,t)};i.extend(s,n),i.augment(s,{position:[],text:"",cfg:{fill:"#000",textAlign:"center"},paint:function(t,e){var r=this,i=r.position,n=r.parsePoint(t,i),s=r.cfg,o=r.text;a.drawText(o,n,e,s)}}),t.exports=s},function(t,e,r){"use strict";var i=r(1);i.mix(i,{modiCSS:function(t,e){var r;for(r in e)!0===e.hasOwnProperty(r)&&(t.style[r]=e[r]);return t},createDom:function(t){var e=document.createElement("div");return t=t.replace(/(^\s*)|(\s*$)/g,""),e.innerHTML=""+t,e.childNodes[0]},getStyle:function(t,e){return window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.currentStyle[e]},getWidth:function(t){var e=this.getStyle(t,"width");return"auto"===e&&(e=t.offsetWidth),parseFloat(e)},getHeight:function(t){var e=this.getStyle(t,"height");return"auto"===e&&(e=t.offsetHeight),parseFloat(e)}}),t.exports=i},function(t,e,r){var i=r(2);i.Geom.Polygon=r(76),r(77),i.Chart.registGeom("polygon"),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(2).Geom;i.ATTRS={coreType:"Polygon"},n.extend(i,a),t.exports=i},function(t,e,r){"use strict";var i=r(1),n=r(2),a=n.Shape,s=n.G,o=a.registGeom("polygon",{defaultShapeType:"polygon"});a.registShape("polygon","polygon",{getShapePoints:function(t){var e=[];return i.each(t.x,(function(r,i){var n=t.y[i];e.push({x:r,y:n})})),e},drawShape:function(t,e){var r=this.parsePoints(t.points),n=i.mix({fillStyle:t.color,z:!0},t.style);s.drawLines(r,e,n)}}),t.exports=o},function(t,e,r){var i=r(2);
1i.Geom.Schema=r(79),r(80),i.Chart.registGeom("schema"),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(2).Geom;i.ATTRS={coreType:"Schema"},n.extend(i,a),n.mixin(i,[a.WidthMixin]),t.exports=i},function(t,e,r){"use strict";var i=r(2).Shape.registGeom("schema",{});t.exports=i},function(t,e,r){"use strict";var i=r(12),n=r(1),a=function(t){a.superclass.constructor.call(this,t)};n.extend(a,i),n.augment(a,{type:"identity",value:null,getText:function(){return this.value.toString()},scale:function(){return 1},invert:function(){return this.value}}),t.exports=a},function(t,e,r){"use strict";var i=r(12),n=r(1),a=r(16),s=function(t){s.superclass.constructor.call(this,t)};n.extend(s,i),n.augment(s,{type:"linear",isLinear:!0,min:null,max:null,nice:!0,tickCount:5,tickInterval:null,init:function(){var t=this;if(t.ticks){var e=t.ticks,r=t.translate(e[0]),i=t.translate(e[e.length-1]);(n.isNull(t.min)||t.min>r)&&(t.min=r),(n.isNull(t.max)||t.max<i)&&(t.max=i)}else t.min=t.translate(t.min),t.max=t.translate(t.max),t.initTicks()},calculateTicks:function(){var t=this,e=t.min,r=t.max,i=t.tickCount,n=t.tickInterval;return a.number({min:e,max:r,minCount:i,maxCount:i,interval:n}).ticks},initTicks:function(){var t=this,e=t.calculateTicks();if(t.nice)t.ticks=e,t.min=e[0],t.max=e[e.length-1];else{var r=[];n.each(e,(function(e){e>=t.min&&e<=t.max&&r.push(e)})),t.ticks=r}},scale:function(t){if(null===t||void 0===t)return NaN;var e=this.max,r=this.min;if(e===r)return 0;var i=(t-r)/(e-r),n=this.rangeMin();return n+i*(this.rangeMax()-n)},invert:function(t){var e=(t-this.rangeMin())/(this.rangeMax()-this.rangeMin());return this.min+e*(this.max-this.min)}}),t.exports=s},function(t,e,r){"use strict";var i=r(22),n=r(1),a=r(45),s=r(16),o=function(t){o.superclass.constructor.call(this,t)};n.extend(o,i),n.augment(o,{type:"timeCat",mask:"yyyy-mm-dd HH:MM:ss",tickCount:5,init:function(){var t=this,e=this.values;e.sort((function(e,r){return(e=t._toTimeStamp(e))-(r=t._toTimeStamp(r))})),n.each(e,(function(r,i){e[i]=t._toTimeStamp(r)})),this.ticks=this.calculateTicks(!0)},calculateTicks:function(t){var e=this,r=e.tickCount,i=s.category({maxCount:r,data:e.values}).ticks;return t&&n.each(i,(function(t,r){i[r]=a.format(t,e.mask)})),i},translate:function(t){t=this._toTimeStamp(t);var e=this.values.indexOf(t);return-1===e&&(e=n.isNumber(t)&&t<this.values.length?t:NaN),e},scale:function(t){var e=this.rangeMin(),r=this.rangeMax(),i=this.translate(t);return e+(this.values.length>1&&i>-1?i/(this.values.length-1):0)*(r-e)},getText:function(t){var e="",r=this.translate(t);r>-1&&(e=this.values[r]);var i=this.formatter;return e=parseInt(e,10),i?i(e):a.format(e,this.mask)},getTicks:function(){var t=this,e=this.calculateTicks(!1),r=[];return n.each(e,(function(e){var i;i=n.isObject(e)?e:{text:t.getText(e),value:t.scale(e)},r.push(i)})),r},_toTimeStamp:function(t){return n.isString(t)&&(t=t.replace(/-/gi,"/").replace("T"," ").replace("Z",""),t=new Date(t).getTime()),n.isDate(t)&&(t=t.getTime()),t}}),t.exports=o},function(t,e,r){var i=r(85);t.exports=i},function(t,e){"use strict";function r(t,e,i){for(var s in i=i||0,e)if(e.hasOwnProperty(s)){var o=e[s];null!==o&&a.isObject(o)?(a.isObject(t[s])||(t[s]={}),i<n?r(t[s],e[s],i+1):t[s]=e[s]):a.isArray(o)?(t[s]=[],t[s]=t[s].concat(o)):void 0!==o&&(t[s]=e[s])}}var i=Object.prototype.toString,n=5,a={substitute:function(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,r){return"\\"===t.charAt(0)?t.slice(1):void 0===e[r]?"":e[r]})):t},ucfirst:function(t){return(t+="").charAt(0).toUpperCase()+t.substring(1)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},isBoolean:function(t){return"boolean"==typeof t},isFunction:function(t){return"function"==typeof t},isArray:"isArray"in Array?Array.isArray:function(t){return"[object Array]"===i.call(t)},isDate:function(t){return"[object Date]"===i.call(t)},isNull:function(t){return void 0===t||null===t},notNull:function(t){return!a.isNull(t)},isBlank:function(t){if(a.isArray(t))return 0===t.length;if(a.isObject(t)){var e=0;return a.each(t,(function(t,r){e++})),0===e}return!1},isObject:"[object Object]"===i.call(null)?function(t){return null!==t&&void 0!==t&&"[object Object]"===i.call(t)&&void 0===t.ownerDocument}:function(t){return"[object Object]"===i.call(t)},extend:function(t,e,r,i){a.isFunction(e)||(r=e,e=t,t=function(){});var n=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function r(){}r.prototype=t;var i=new r;return i.constructor=e,i},s=n(e.prototype,t);return t.prototype=a.mix(s,t.prototype),t.superclass=n(e.prototype,e),a.mix(s,r),a.mix(t,i),t},augment:function(t){for(var e=a.toArray(arguments),r=1;r<e.length;r++){var i=e[r];
1a.isFunction(i)&&(i=i.prototype),a.mix(t.prototype,i)}},toArray:function(t){return t&&t.length?Array.prototype.slice.call(t):[]},mix:function(){var t=a.toArray(arguments),e=t[0];if(!0===e){e=t[1];for(var i=2;i<t.length;i++)r(e,n=t[i])}else for(i=1;i<t.length;i++){var n=t[i];for(var s in n)n.hasOwnProperty(s)&&"constructor"!==s&&(e[s]=n[s])}return e},each:function(t,e){if(t)if(a.isObject(t)){for(var r in t)if(t.hasOwnProperty(r)&&!1===e(t[r],r))break}else if(t.length)for(var i=0;i<t.length&&!1!==e(t[i],i);i++);},requestAnimationFrame:function(t){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return setTimeout(t,16)};return e(t)},cancelAnimationFrame:function(t){var e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||function(t){return clearTimeout(t)};return e(t)}};t.exports=a},function(t,e,r){"use strict";function i(t,e){var r=e.toString(),i=r.indexOf(".");if(-1===i)return Math.round(t);var n=r.substr(i+1).length;return n>20&&(n=20),parseFloat(t.toFixed(n))}function n(t,e){for(var r in e)e.hasOwnProperty(r)&&"constructor"!==r&&void 0!==e[r]&&(t[r]=e[r])}var a=r(84);a.mix(a,{mixin:function(t,e){if(t&&e){t._mixins=e,t.ATTRS=t.ATTRS||{};var r={};a.each(e,(function(e){a.augment(t,e);var i=e.ATTRS;i&&a.mix(r,i)})),t.ATTRS=a.mix(r,t.ATTRS)}},map:function(t,e){var r=[];return a.each(t,(function(t,i){r.push(e(t,i))})),r},filter:function(t,e){var r=[];return a.each(t,(function(t,i){e(t,i)&&r.push(t)})),r},guid:function(){var t={};return function(e){return t[e=e||"g"]?t[e]+=1:t[e]=1,e+t[e]}}(),inArray:function(t,e){return-1!==a.indexOf(t,e)},indexOf:function(t,e){var r=Array.prototype.indexOf;if(r)return r.call(t,e);for(var i=-1,n=0;n<t.length;n++)if(t[n]===e){i=n;break}return i},remove:function(t,e){var r=a.indexOf(t,e);-1!==r&&t.splice(r,1)},empty:function(t){if(!(t instanceof Array))for(var e=t.length-1;e>=0;e--)delete t[e];t.length=0},equalsArray:function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var r=!0,i=0;i<t.length;i++)if(t[i]!==e[i]){r=!1;break}return r},wrapBehavior:function(t,e){var r=function(r){t[e](r)};return t["_wrap_"+e]=r,r},getWrapBehavior:function(t,e){return t["_wrap_"+e]},fixedBase:function(t,e){return i(t,e)},length:function(t){if(a.isArray(t))return t.length;if(a.isObject(t)){var e=0;return a.each(t,(function(){e++})),e}return 0},clone:function(t){if("object"!=typeof t||null===t)return t;var e;if(a.isArray(t)){e=[];for(var r=0,i=t.length;r<i;r++)"object"==typeof t[r]&&null!=t[r]?e[r]=a.clone(t[r]):e[r]=t[r]}else for(var n in e={},t)"object"==typeof t[n]&&null!=t[n]?e[n]=a.clone(t[n]):e[n]=t[n];return e},simpleMix:function(t,e,r,i){return e&&n(t,e),r&&n(t,r),i&&n(t,i),t}}),t.exports=a},function(t,e,r){"use strict";function i(t){var e=t.slice(0);if(e.length>0){var r=e[0],i=e[e.length-1];0!==r.value&&e.unshift({value:0}),1!==i.value&&e.push({value:1})}return e}var n=r(1),a=r(88),s=r(3),o=function(t){this.axisCfg={},n.simpleMix(this,t)};n.augment(o,{axisCfg:{},canvas:null,_isHide:function(t){var e=this.axisCfg;return!e||!1===e[t]},_getLinePosition:function(t,e){var r="";return"x"===t&&(r="bottom"),"y"===t&&(r=e?"right":"left"),r},_getLineCfg:function(t,e,r){var i,n,a=1;return"x"===e?(i={x:0,y:0},n={x:1,y:0}):r?(i={x:1,y:0},n={x:1,y:1}):(i={x:0,y:0},n={x:0,y:1},a=-1),t.isTransposed&&(a*=-1),{offsetFactor:a,start:t.convertPoint(i),end:t.convertPoint(n)}},_getCircleCfg:function(t){return{startAngle:t.get("startAngle"),endAngle:t.get("endAngle"),center:t.get("center"),radius:t.get("radius")}},_getRadiusCfg:function(t){var e,r;return t.isTransposed?(e={x:0,y:0},r={x:1,y:0}):(e={x:0,y:0},r={x:0,y:1}),{offsetFactor:-1,start:t.convertPoint(e),end:t.convertPoint(r)}},_getAxisCfg:function(t,e,r,a,s){var o=this.axisCfg,l=e.getTicks(),h=n.mix(!0,{ticks:l,canvas:this.canvas},s,o[e.dim]);if(h.grid&&r){var c=[],p=i(r.getTicks());n.each(l,(function(e){var r=[];n.each(p,(function(i){var n="x"===a?e.value:i.value,s="x"===a?i.value:e.value,o=t.convertPoint({x:n,y:s});r.push(o)})),c.push(r)})),h.gridPoints=c}return h},_createAxis:function(t,e,r,i,o){var l,h,c,p=this,f=t.get("type"),u=t.isTransposed;if("cartesian"===f){l=a.Line;var m=p._getLinePosition(i,o);h=s.axis[m],c=p._getLineCfg(t,i,o)}
1else"x"===i&&!u||"y"===i&&u?(l=a.Circle,h=s.axis.circle,c=p._getCircleCfg(t)):(l=a.Line,h=s.axis.radius,c=p._getRadiusCfg(t));var d=p._getAxisCfg(t,e,r,i,h),g=new l(d=n.mix(!0,{},d,c));return g.drawGrid(),g},createAxis:function(t,e,r){var i=this,a=[];if(e&&!i._isHide(e.dim)){var s=i._createAxis(t,e,r[0],"x");a.push(s)}n.each(r,(function(r,n){if(!i._isHide(r.dim)){var s=i._createAxis(t,r,e,"y",n);a.push(s)}})),n.each(a,(function(t){t.draw()}))}}),t.exports=o},function(t,e,r){"use strict";t.exports={Line:r(90),Circle:r(89)}},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(25),s=r(6),o=r(7);i.ATTRS={startAngle:-Math.PI/2,endAngle:3*Math.PI/2,radius:null,center:null},n.extend(i,a),n.augment(i,{getOffsetPoint:function(t){var e=this,r=e.get("startAngle"),i=r+(e.get("endAngle")-r)*t;return e._getCirclePoint(i)},_getCirclePoint:function(t,e){var r=this,i=r.get("center");return e=e||r.get("radius"),{x:i.x+Math.cos(t)*e,y:i.y+Math.sin(t)*e}},getTextAlignInfo:function(t,e){var r,i=this.getOffsetVector(t,e),n="middle";return i.x>0?r="left":i.x<0?r="right":(r="center",i.y>0?n="top":i.y<0&&(n="bottom")),{textAlign:r,textBaseline:n}},getAxisVector:function(t){var e=this,r=e.get("center"),i=e.get("offsetFactor");return new o((t.y-r.y)*i,-1*(t.x-r.x)*i)},drawLine:function(t){var e=this,r=e.get("center"),i=e.get("radius"),n=e.get("canvas"),a=e.get("startAngle"),o=e.get("endAngle");s.drawArc(r,i,a,o,n,t)}}),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(25),s=r(6),o=r(7);i.ATTRS={start:null,end:null},n.extend(i,a),n.augment(i,{getOffsetPoint:function(t){var e=this,r=e.get("start"),i=e.get("end"),n=i.x-r.x,a=i.y-r.y;return{x:r.x+n*t,y:r.y+a*t}},getAxisVector:function(){var t=this,e=t.get("start"),r=t.get("end");return new o(r.x-e.x,r.y-e.y)},drawLine:function(t){var e=this,r=e.get("canvas"),i=e.get("start"),n=e.get("end");s.drawLine(i,n,r,t)}}),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t),this.__init()}function n(t){return function(){var e=this,r=new p({chart:e,type:t,coord:e.get("coord")});return e.__addLayer(r),r}}var a=r(4),s=r(37),o=r(1),l=r(10),h=r(27),c=r(17),p=r(107),f=r(109),u=r(87),m=r(36),d=r(3),g=r(92),y=r(24);for(var v in i.ATTRS={id:null,margin:null,data:null,scales:{},coordCfg:{type:"cartesian"},layers:null,geoms:null,colDefs:null},o.extend(i,a),o.augment(i,{source:function(t,e){var r=this;return e&&r.set("colDefs",e),r.__initData(t),r},axis:function(t,e){var r=this,i=r.get("axisAssist");return t?(i.axisCfg=i.axisCfg||{},i.axisCfg[t]=e):i.axisCfg=null,r},createScale:function(t,e){var r=this;e=e||r.get("data");var i=r.get("scales");return i[t]||(i[t]=r._createScale(t,e)),i[t]},_createScale:function(t,e){var r=this,i=r.get("coord").isPolar;return r.get("scaleAssist").createScale(t,e,i)},coord:function(t,e){var r,i=this;return e?(r=e).type=t:r=o.isString(t)?{type:t}:t,i.set("coordCfg",r),i.__initCoord(),i},getPosition:function(t){var e=this,r=e.get("coord"),i=e._getXScale(),n=e._getYScales()[0],a=i.dim,s=i.scale(t[a]),o=n.dim,l=n.scale(t[o]);return r.convertPoint({x:s,y:l})},getRecord:function(t){var e=this,r=e.get("coord"),i=e._getXScale(),n=e._getYScales()[0],a=r.invertPoint(t),s={};return s[i.dim]=i.invert(a.x),s[n.dim]=n.invert(a.y),s},getSnapRecords:function(t,e){return this.get("geoms")[0].getSnapRecords(t,e)},__init:function(){var t=this;t.__initCanvas(),t.set("layers",[]),t.set("geoms",[]),t.set("scaleAssist",new f),t.set("axisAssist",new u({canvas:t.get("canvas")})),t.set("guideAssist",new m),t.set("animateAssist",new y),t.__initData(t.get("data"))},__initData:function(t){t&&(t instanceof l||(t=new l(t)),this.set("data",t));var e=this.get("colDefs");e&&(this.get("scaleAssist").defs=e)},_getRatio:function(){return d.pixelRatio},__initCanvas:function(){var t,e=this,r=e.get("id"),i=e.get("el"),n=e.get("
1context");t=i||document.getElementById(r),n&&t&&!t.getContext&&(t.getContext=function(){return n});var a=g.getWidth(t),s=g.getHeight(t),o=e._getRatio();o&&(t.width=a*o,t.height=s*o,t.getContext("2d").scale(o,o)),e.set("width",a),e.set("height",s),e.set("canvas",t),e.__initLayout()},__initLayout:function(){var t=this,e=t.get("margin");o.isNull(e)&&(e=d.margin,t.set("margin",e));var r,i,n,a,s=t.get("width"),l=t.get("height");o.isNumber(e)?(r=a=e,i=n=e):o.isArray(e)&&(r=e[0],n=o.isNull(e[1])?e[0]:e[1],a=o.isNull(e[2])?e[0]:e[2],i=o.isNull(e[3])?n:e[3]);var h={plot:{start:{x:i,y:r},end:{x:n=s-n,y:a=l-a}},lAxis:{start:{x:0,y:r},end:{x:i,y:l}},rAxis:{start:{x:n,y:r},end:{x:s,y:l}},bAxis:{start:{x:i,y:a},end:{x:n,y:l}}};t.set("layout",h),t.__initPlot()},__initPlot:function(){var t=this,e=t.get("layout"),r=new s({start:e.plot.start,end:e.plot.end});t.set("plot",r),t.__initCoord()},__initCoord:function(){var t=this,e=t.get("plot"),r=o.simpleMix({},t.get("coordCfg"),{plot:e}),i=r.type,n=new(h[o.ucfirst(i)]||h.Cartesian)(r);t.set("coord",n)},__addLayer:function(t){this.get("layers").push(t)},clear:function(){var t=this.get("canvas").parentNode;return this.get("guideAssist").clear(t),this.get("animateAssist").clear(),this.set("layers",[]),this.set("geoms",[]),this.set("scales",{}),this._clearCanvas(),this},destroy:function(){this.clear(),i.superclass.destroy.call(this)},_clearCanvas:function(){var t=this.get("canvas");return t.getContext("2d").clearRect(0,0,t.width,t.height),this},_isDataChange:function(){var t=!1,e=this.get("geoms");return o.each(e,(function(e){if(e.get("isAdjust"))return t=!0,!1})),t},_trainScale:function(t){var e,r=this,i=r._getYScales();t.length>0&&(e=l.merge.apply(null,t)),o.each(i,(function(t){if(t.isLinear){var i=r._createScale(t.dim,e);t.change({min:i.min,max:i.max})}}))},_renderBackGuide:function(){var t=this,e=t.get("canvas"),r=t.get("guideAssist");if(r.guides.length){var i=t.get("coord"),n=t._getXScale(),a=t._getYScales()[0];r.setScale(n,a),r.paintBack(i,e)}},_renderFrontGuide:function(){var t=this,e=t.get("canvas"),r=t.get("guideAssist");if(r&&r.guides.length){var i=t.get("coord"),n=t._getXScale(),a=t._getYScales()[0];r.setScale(n,a),r.paintFront(i,e)}},_renderAnimate:function(t){var e=this,r=e.get("imageData"),i=e.get("bgImageData"),n=e.get("animateAssist"),a=e.get("canvas"),s=e.get("coord"),o=s.get("center"),l=s.get("radius"),h=e.get("geoms")[0].get("core"),c=h.getYScale(),p=h.getYMinValue(),f=s.convertPoint({x:0,y:c.scale(p)});n.animate&&(n.setImageData(r,i),n.setStartPoint(f),n.setPolar(o,l),n.setCallBack(t),n.paint(a))},render:function(){var t,e,r=this,i=r.get("layers"),n=r.get("geoms"),a=r.get("data"),s=r.get("animateAssist"),l=[];for(e=0;e<i.length;e++)(t=i[e].createGeom()).initData(a),l=l.concat(t.get("frames")),n.push(t);return r._isDataChange()&&r._trainScale(l),r.beforeDrawGeom(),s.animate?o.requestAnimationFrame((function(){r.set("bgImageData",r.getImageData()),r._clearCanvas(),r.drawGeom(n),r.set("imageData",r.getImageData()),r._clearCanvas(),r._renderAnimate(r._renderFrontGuide.bind(r))})):(r.drawGeom(n),r._renderFrontGuide()),r},drawGeom:function(t,e){for(var r=0;r<t.length;r++)e?t[r].draw(e):t[r].draw()},beforeDrawGeom:function(){var t=this;t._renderAxis(),t._renderBackGuide()},getImageData:function(){var t=this,e=t.get("canvas").getContext("2d"),r=t.get("width"),i=t.get("height"),n=t._getRatio();return e.getImageData(0,0,r*n,i*n)},_getXScale:function(){return this.get("geoms")[0].getXScale()},_getYScales:function(){var t=this.get("geoms"),e=[];return o.each(t,(function(t){var r=t.getYScale();-1===o.indexOf(e,r)&&e.push(r)})),e},_renderAxis:function(){var t=this,e=t.get("axisAssist"),r=t._getXScale(),i=t._getYScales(),n=t.get("coord");e.createAxis(n,r,i)},guide:function(){return this.get("guideAssist")},animate:function(){return this.get("animateAssist")}}),c)c.hasOwnProperty(v)&&o.isFunction(c[v])&&(v=v[0].toLowerCase()+v.substr(1),i.prototype[v]=n(v));i.registGeom=function(t){t=t[0].toLowerCase()+t.substr(1),i.prototype[t]=n(t)},t.exports=i},function(t,e){"use strict";var r={getStyle:function(t,e){return"undefined"!=typeof window&&window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.currentStyle?t.currentStyle[e]:t.style[e]},getWidth:function(t){var e=r.getStyle(t,"width");return"auto"===e&&(e=t.offsetWidth),parseFloat(e)},getHeight:function(t){var e=r.getStyle(t,"height");return"auto"===e&&(e=t.offsetHeight),parseFloat(e)}};t.exports=r},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(5),s=r(29);n.extend(i,a),n.mixin(i,[s]),i.ATTRS={type:"area",generatePoints:!0},n.augment(i,{sortData:function(t){var e=this.getXScale();if("cat"!==e.type&&"timeCat"!==e.type)return this.sort(t)},drawData:function(t,e){var r,i,a,s,o=this,l=this.splitData(t),h=this.get("container"),c=this.get("shapeObj"),p=t[0];p.index=e,(r=this.getDrawCfg(p)).origin=t,o.get("shapeDatas").push(t),n.each(l,(function(t,e){r.splitedIndex=e,a=[];for(var n=0;n<t.length;n++)s=t[n],a.push(s.points);0!==a.length&&(r.points=a,i=o.getDrawShape(r.shape),c.drawShape(i,r,h))}))}}),t.exports=i},function(t,e,r){var i={};i.Base=r(5),i.Interval=r(95),i.Point=r(98),i.Line=r(96),i.Polygon=r(99),i.Schema=r(100),i.Path=r(30),i.Area=r(93),t.exp
1orts=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(5);i.ATTRS={type:"interval",generatePoints:!0},n.extend(i,a),n.mixin(i),n.augment(i,{getDrawCfg:function(t){var e=this,r=i.superclass.getDrawCfg.call(e,t),n=e.getCoord();return n.isPolar&&(r.z=!0,r.center=n.get("center")),r}}),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(30);n.extend(i,a),i.ATTRS={type:"line"},n.augment(i,{sortData:function(t){var e=this.getXScale();if("cat"!==e.type&&"timeCat"!==e.type)return this.sort(t)}}),t.exports=i},function(t,e){"use strict";t.exports={sort:function(t){var e=this.getXDim();t.sort((function(t,r){return t[e]-r[e]}))}}},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(5);n.extend(i,a),i.ATTRS={type:"point",generatePoints:!0},t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(5);n.extend(i,a),i.ATTRS={type:"polygon",generatePoints:!0},n.augment(i,{getShapePointInfo:function(t){var e,r=a.prototype.getShapePointInfo.call(this,t),i=this,s=r.x,o=r.y;if(!n.isArray(s)||!n.isArray(o)){var l=i.getXScale(),h=i.getYScale(),c=.5/(l.values?l.values.length:l.ticks.length),p=.5/(h.values?h.values.length:h.ticks.length);l.isCategory&&h.isCategory?(s=[s-c,s-c,s+c,s+c],o=[o-p,o+p,o+p,o-p]):n.isArray(s)?(s=[(e=s)[0],e[0],e[1],e[1]],o=[o-p/2,o+p/2,o+p/2,o-p/2]):n.isArray(o)&&(o=[(e=o)[0],e[1],e[1],e[0]],s=[s-c/2,s-c/2,s+c/2,s+c/2])}return n.mix({},t,{x:s,y:o})}}),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(5);n.extend(i,a),i.ATTRS={type:"schema",generatePoints:!0},t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(31),s=r(32);n.extend(i,a),n.mixin(i,[s]),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(13);i.ATTRS={coreType:"Line"},n.extend(i,a),t.exports=i},function(t,e,r){"use strict";function i(t){i.superclass.constructor.call(this,t)}var n=r(1),a=r(13);n.extend(i,a),i.ATTRS={coreType:"Point"}
1,t.exports=i},function(t,e,r){"use strict";function i(t){var e,r,i=t.x,a=t.y,s=t.y0,o=t.size,l=s,h=a;n.isArray(a)&&(h=a[1],l=a[0]),n.isArray(i)?(e=i[0],r=i[1]):(e=i-o/2,r=i+o/2);var c=[];return c.push({x:e,y:l},{x:e,y:h},{x:r,y:h},{x:r,y:l}),c}var n=r(1),a=r(14),s=r(6),o=a.registGeom("interval",{defaultShapeType:"rect"});a.registShape("interval","rect",{getShapePoints:function(t){return i(t)},drawShape:function(t,e){var r=this.parsePoints(t.points),i=n.simpleMix({fillStyle:t.color,z:!0},t.style);if(t.isInCircle){var a=r.slice(0);this._coord.isTransposed&&(a=[r[0],r[3],r[2],r[1]]),s.drawFan(a,t.center,e,i)}else s.drawRect(r,e,i)}}),t.exports=o},function(t,e,r){"use strict";function i(t){return n.simpleMix({strokeStyle:t.color,lineWidth:t.size||o,z:t.isInCircle},t.style)}var n=r(1),a=r(14),s=r(6),o=4,l=r(35),h=r(3),c=a.registGeom("line",{defaultShapeType:"line"});a.registShape("line","line",{getShapePoints:function(t){return l.splitPoints(t)},drawShape:function(t,e){var r=t.points,n=i(t);s.drawLines(r,e,n)}}),a.registShape("line","smooth",{drawShape:function(t,e){var r=t.points,n=i(t);s.drawSmooth(r,e,n)}}),a.registShape("line","dash",{drawShape:function(t,e){var r=t.points,n=i(t);n.lineDash=h.lineDash,s.drawLines(r,e,n)}}),t.exports=c},function(t,e,r){"use strict";function i(t){return{size:t.size||o,style:n.mix({lineWidth:0,strokeStyle:t.color,fillStyle:t.color},t.style)}}var n=r(1),a=r(14),s=r(6),o=5,l=r(35),h=a.registGeom("point",{defaultShapeType:"circle"});a.registShape("point","circle",{getShapePoints:function(t){return l.splitPoints(t)},drawShape:function(t,e){if(0!==t.size){var r=i(t),a=r.size,o=r.style,l=t.x,h=t.y;n.isArray(h)||(h=[h]);for(var c=0;c<h.length;c++)s.drawCircle({x:l,y:h[c]},a,e,o)}}}),a.registShape("point","rect",{drawShape:function(t,e){if(0!==t.size){var r=i(t),a=r.size,o=r.style,l=t.x,h=t.y;n.isArray(h)||(h=[h]),n.each(h,(function(t){s.drawShape(e,o,(function(e){e.rect(l-a,t-a,2*a,2*a)}))}))}}}),t.exports=h},function(t,e,r){"use strict";var i=r(1),n=r(39),a=r(3),s=r(17),o=r(34),l=function(t){i.simpleMix(this,t),this.attrs=[]};i.augment(l,{type:null,attrs:null,chart:null,styleCfg:null,_createScales:function(t){var e=this,r=[];return i.each(t,(function(t){var i=e._createScale(t);r.push(i)})),r},createGeom:function(){var t=this,e=t.type;return new(0,s[i.ucfirst(e)])({type:e,attrs:t.attrs,styleCfg:t.styleCfg,coord:t.coord,container:t.chart.get("canvas")})},_createScale:function(t){return this.chart.createScale(t)},_parseDims:function(t){return i.isString(t)&&-1!==t.indexOf("*")?t=t.replace(/\s+/g,"").split("*"):(i.isNumber(t)||i.isString(t))&&(t=[t]),t},_addAttr:function(t,e){t=i.ucfirst(t);var r=this.attrs,a=new n[t](e);r.push(a)},_createAttr:function(t,e,r){e=this._parseDims(e);var n,s=this._createScales(e),l=[],h=i.ucfirst(this.type),c={dims:e,scales:s};"shape"===t?(n=o[h],i.each(n,(function(t,e){i.isObject(t)&&l.push(e)}))):l=a[t+"s"],i.isFunction(r)?c.callback=r:i.isArray(r)&&(l=r),"position"===t&&(c.coord=this.coord),"size"===t?(c.min=l.min,c.max=l.max):c.arr=l,this._addAttr(t,c)},position:function(t,e){return this._createAttr("position",t,e),this},color:function(t,e){return this._createAttr("color",t,e),this},size:function(t,e){return this._createAttr("size",t,e),this},shape:function(t,e){return this._createAttr("shape",t,e),this},style:function(t){return this.styleCfg=t,this}}),t.exports=l},function(t,e,r){"use strict";function i(t){return new o(t.x,t.y)}function n(t,e){return t.x*=e,t.y*=e,t}function a(t,e,r,a){var s,l,h,c,p,f,u,m,d=[],g=!!a;if(g){for(h=new o(1/0,1/0),c=new o(-1/0,-1/0),m=0,u=t.length;m<u;m++)p=i(t[m]),h.min(p),c.max(p);h.min(i(a[0])),c.max(i(a[1]))}for(m=0,f=t.length;m<f;m++){if(p=i(t[m]),r)s=i(t[m?m-1:f-1]),l=i(t[(m+1)%f]);else{if(0===m||m===f-1){d.push([p.x,p.y]);continue}s=i(t[m-1]),l=i(t[m+1])}var y=o.sub(l,s);n(y,e);var v=p.distanceTo(s),x=p.distanceTo(l),b=v+x;0!==b&&(v/=b,x/=b);var S=n(y.clone(),-v),P=n(y.clone(),x),C=o.add(p,S),E=o.add(p,P);g&&(C.max(h),C.min(c),E.max(h),E.min(c)),d.push([C.x,C.y]),d.push([E.x,E.y])}return r&&d.push(d.shift()),d}function s(t,e,r){for(var i,n,s,o=!!e,l=a(t,.4,o,r),h=t.length,c=[],p=0;p<h-1;p++)i=l[2*p],n=l[2*p+1],s=t[p+1],c.push(["C",i[0],i[1],n[0],n[1],s.x,s.y]);return o&&(i=l[h],n=l[h+1],s=t[0],c.push(["C",i[0],i[1],n[0],n[1],s.x,s.y])),c}var o=r(7);t.exports={smooth:s}},function(t,e,r){"use strict";var i=r(1),n=r(21),a=r(3),s=r(10),o={LINEAR:"linear",CAT:"cat",TIME_CAT:"timeCat"},l=function(t){i.simpleMix(this,t),this.defs=this.defs||{}};i.augment(l,{defs:null,_getDefs:function(){var t=this.defs;return i.mix(!0,{},a.scales,t)},_getRange:function(t,e,r){return t===o.CAT||t===o.TIME_CAT?this._getCatRange(e,r):[0,1]},_getCatRange:function(t,e){var r=t.length;return 1===r?[.5,1]:e?[0,1-1/r]:[1/(2*r),1-1/(2*r)]},_getScaleCfg:function(t,e,r){var i={dim:e};if(r&&r.names.length>0&&r.contains(e)){var n=s.values(r,e);n.length>0&&t!==o.CAT&&t!==o.TIME_CAT&&(i.min=Math.min.apply(null,n),i.max=Math.max.apply(null,n)),i.values=n}return i},_getDefaultType:function(t,e){var r=o.LINEAR,n=e.rowObject(0)[t];return i.isArray(n)&&(n=n[0]),i.isString(n)&&(r=o.CAT),r},_createDefaultScale:function(t,e){var r=this._getDefaultType(t,e),i=this._getScaleCfg(r,t,e);return n[r](i)},createScale:function(t,e,r){var a,s=this,o=s._getDefs();if(i.isNumber(t))a=n.I({value:t,dim:t.toString()});else if(o[t]||-1!==i.indexOf(e.colNames(),t))if(o[t]){var l=o[t],h=l.type||s._getDefaultType(t,e),c=s._getScaleCfg(h,t,e);i.isNull(l.min)||(c.min=l.min),i.isNull(l.max)||(c.max=l.max),i.simpleMix(c,l),c.values||(c.values=[]),i.isNull(c.min)&&(c.min=0),i.isNull(c.max)&&(c.max=0),a=n[h](c)}else a=s._createDefaultScale(t,e);else a=n.I({value:t,dim:t});if(a&&"I"!==a.type&&(!o[t]||!o[t].range)&&a.values){var p=s._getRange(a.type,a.values,r);a.range=p}return a}}),t.exports=l}])},44286:function(t){t.exports=function(t){return t.split("")}},80760:function(t,e,r){var i=r(89881);t.exports=function(t,e){var r=[];return i(t,(function(t,i,n){e(t,i,n)&&r.push(t)})),r}},15742:function(t,e,r){var i=r(57406),n=r(65776),a=Array.prototype.splice;t.exports=function(t,e){for(var r=t?e.length:0,s=r-1;
vendor: 4,097 bytes, line 1
1r--;){var o=e[r];if(r==s||o!==l){var l=o;n(o)?a.call(t,o,1):i(t,o)}}return t}},14259:function(t){t.exports=function(t,e,r){var i=-1,n=t.length;e<0&&(e=-e>n?0:n+e),(r=r>n?n:r)<0&&(r+=n),n=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(n);++i<n;)a[i]=t[i+e];return a}},57406:function(t,e,r){var i=r(71811),n=r(10928),a=r(40292),s=r(40327);t.exports=function(t,e){return e=i(e,t),null==(t=a(t,e))||delete t[s(n(e))]}},40180:function(t,e,r){var i=r(14259);t.exports=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:i(t,e,r)}},5512:function(t,e,r){var i=r(42118);t.exports=function(t,e){for(var r=t.length;r--&&i(e,t[r],0)>-1;);return r}},89817:function(t,e,r){var i=r(42118);t.exports=function(t,e){for(var r=-1,n=t.length;++r<n&&i(e,t[r],0)>-1;);return r}},62689:function(t){var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},40292:function(t,e,r){var i=r(97786),n=r(14259);t.exports=function(t,e){return e.length<2?t:i(t,n(e,0,-1))}},83140:function(t,e,r){var i=r(44286),n=r(62689),a=r(676);t.exports=function(t){return n(t)?a(t):i(t)}},676:function(t){var e="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",n="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",o="(?:"+r+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?",h=l+o+("(?:\\u200d(?:"+[n,a,s].join("|")+")"+l+o+")*"),c="(?:"+[n+r+"?",r,a,s,e].join("|")+")",p=RegExp(i+"(?="+i+")|"+c+h,"g");t.exports=function(t){return t.match(p)||[]}},51584:function(t,e,r){var i=r(44239),n=r(37005);t.exports=function(t){return!0===t||!1===t||n(t)&&"[object Boolean]"==i(t)}},94885:function(t){t.exports=function(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}},43063:function(t,e,r){var i=r(34963),n=r(80760),a=r(67206),s=r(1469),o=r(94885);t.exports=function(t,e){return(s(t)?i:n)(t,o(a(e,3)))}},82729:function(t,e,r){var i=r(67206),n=r(15742);t.exports=function(t,e){var r=[];if(!t||!t.length)return r;var a=-1,s=[],o=t.length;for(e=i(e,3);++a<o;){var l=t[a];e(l,a,t)&&(r.push(l),s.push(a))}return n(t,s),r}},92742:function(t,e,r){var i=r(80531),n=r(27561),a=r(40180),s=r(5512),o=r(89817),l=r(83140),h=r(79833);t.exports=function(t,e,r){if((t=h(t))&&(r||void 0===e))return n(t);if(!t||!(e=i(e)))return t;var c=l(t),p=l(e),f=o(c,p),u=s(c,p)+1;return a(c,f,u).join("")}},69260:function(t,e,r){!function(t,e,r){"use strict";function i(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var n=i(e),a=i(r);function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i}function o(t){if(Array.isArray(t))return t}function l(t,e,r){return(e=y(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,h=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){h=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(h)throw n}}return o}}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEac
vendor: 7,644 bytes, line 1
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e){if(null==t)return{};var r,i,n=m(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function m(t,e){if(null==t)return{};var r={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.includes(i))continue;r[i]=t[i]}return r}function d(t,e){return o(t)||h(t,e)||v(t,e)||c()}function g(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function y(t){var e=g(t,"string");return"symbol"==typeof e?e:e+""}function v(t,e){if(t){if("string"==typeof t)return s(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}var x=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],b=function(t,e){var i=t.animationData,s=t.loop,o=t.autoplay,l=t.initialSegment,h=t.onComplete,c=t.onLoopComplete,p=t.onEnterFrame,m=t.onSegmentStart,g=t.onConfigReady,y=t.onDataReady,v=t.onDataFailed,b=t.onLoadedImages,S=t.onDOMLoaded,P=t.onDestroy;t.lottieRef,t.renderer,t.name,t.assetsPath,t.rendererSettings;var C=u(t,x),E=d(r.useState(!1),2),A=E[0],_=E[1],T=r.useRef(),M=r.useRef(null),w=function(){var t;null===(t=T.current)||void 0===t||t.play()},k=function(){var t;null===(t=T.current)||void 0===t||t.stop()},D=function(){var t;null===(t=T.current)||void 0===t||t.pause()},F=function(t){var e;null===(e=T.current)||void 0===e||e.setSpeed(t)},I=function(t,e){var r;null===(r=T.current)||void 0===r||r.goToAndPlay(t,e)},R=function(t,e){var r;null===(r=T.current)||void 0===r||r.goToAndStop(t,e)},V=function(t){var e;null===(e=T.current)||void 0===e||e.setDirection(t)},B=function(t,e){var r;null===(r=T.current)||void 0===r||r.playSegments(t,e)},L=function(t){var e;null===(e=T.current)||void 0===e||e.setSubframe(t)},N=function(t){var e;return null===(e=T.current)||void 0===e?void 0:e.getDuration(t)},O=function(){var t;null===(t=T.current)||void 0===t||t.destroy(),T.current=void 0},G=function(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(M.current){null===(e=T.current)||void 0===e||e.destroy();var i=f(f(f({},t),r),{},{container:M.current});return T.current=n.default.loadAnimation(i),_(!!T.current),function(){var t;null===(t=T.current)||void 0===t||t.destroy(),T.current=void 0}}};return r.useEffect((function(){var t=G();return function(){return null===t||void 0===t?void 0:t()}}),[i,s]),r.useEffect((function(){T.current&&(T.current.autoplay=!!o)}),[o]),r.useEffect((function(){T.current&&(l?Array.isArray(l)&&l.length&&((T.current.currentRawFrame<l[0]||T.current.currentRawFrame>l[1])&&(T.current.currentRawFrame=l[0]),T.current.setSegment(l[0],l[1])):T.current.resetSegments(!0))}),[l]),r.useEffect((function(){var t=[{name:"complete",handler:h},{name:"loopComplete",handler:c},{name:"enterFrame",handler:p},{name:"segmentStart",handler:m},{name:"config_ready",handler:g},{name:"data_ready",handler:y},{name:"data_failed",handler:v},{name:"loaded_images",handler:b},{name:"DOMLoaded",handler:S},{name:"destroy",handler:P}].filter((function(t){return null!=t.handler}));if(t.length){var e=t.map((function(t){var e;return null===(e=T.current)||void 0===e||e.addEventListener(t.name,t.handler),function(){var e;null===(e=T.current)||void 0===e||e.removeEventListener(t.name,t.handler)}}));return function(){e.forEach((function(t){return t()}))}}}),[h,c,p,m,g,y,v,b,S,P]),{View:a.default.createElement("div",f({style:e,ref:M},C)),play:w,stop:k,pause:D,setSpeed:F,goToAndStop:R,goToAndPlay:I,setDirection:V,playSegments:B,setSubframe:L,getDuration:N,destroy:O,animationContainerRef:M,animationLoaded:A,animationItem:T.current}};function S(t){var e=t.getBoundingClientRect(),r=e.top,i=e.height;return(window.innerHeight-r)/(window.innerHeight+i)}function P(t,e,r){var i=t.getBoundingClientRect(),n=i.top;return{x:(e-i.left)/i.width,y:(r-n)/i.height}}var C=function(t){var e=t.wrapperRef,i=t.animationItem,n=t.mode,a=t.actions;r.useEffect((function(){var t=e.current;if(t&&i&&a.length){i.stop();var r=function(){var e=null,r=function(){var r=S(t),n=a.find((function(t){var e=t.visibility;return e&&r>=e[0]&&r<=e[1]}));if(n){if("seek"===n.type&&n.visibility&&2===n.frames.length){var s=n.frames[0]+Math.ceil((r-n.visibility[0])/(n.visibility[1]-n.visibility[0])*n.frames[1]);i.goToAndStop(s-i.firstFrame-1,!0)}"loop"===n.type&&(null===e||e!==n.frames||i.isPaused)&&(i.playSegments(n.frames,!0),e=n.frames),"play"===n.type&&i.isPaused&&(i.resetSegments(!0),i.play()),"stop"===n.type&&i.goToAndStop(n.frames[0]-i.firstFrame-1,!0)}};return document.addEventListener("scroll",r),function(){document.removeEventListener("scroll",r)}},s=function(){var e=function(e,r){var n=e,s=r;if(-1!==n&&-1!==s){var o=P(t,n,s);n=o.x,s=o.y}var l=a.find((function(t){var e=t.position;return e&&Array.isArray(e.x)&&Array.isArray(e.y)?n>=e.x[0]&&n<=e.x[1]&&s>=e.y[0]&&s<=e.y[1]:!(!e||Number.isNaN(e.x)||Number.isNaN(e.y))&&n===e.x&&s===e.y}));if(l){if("seek"===l.type&&l.position&&Array.isArray(l.position.x)&&Array.isArray(l.position.y)&&2===l.frames.length){var h=(n-l.position.x[0])/(l.position.x[1]-l.position.x[0]),c=(s-l.position.y[0])/(l.position.y[1]-l.position.y[0]);i.playSegments(l.frames,!0),i.goToAndStop(Math.ceil((h+c)/2*(l.frames[1]-l.frames[0])),!0)}"loop"===l.type&&i.playSegments(l.frames,!0),"play"===l.type&&(i.isPaused&&i.resetSegments(!1),i.playSegments(l.frames)),"stop"===l.type&&i.goToAndStop(l.frames[0],!0)}},r=function(t){e(t.clientX,t.clientY)},n=function(){e(-1,-1)};return t.addEventListener("mousemove",r),t.addEventListener("mouseout",n),function(){t.removeEventListener("mousemove",r),t.removeEventListener("mouseout",n)}};switch(n){case"scroll":return r();case"cursor":return s()}}}),[n,i])},E=function(t){var e=t.actions,r=t.mode,i=t.lottieObj,n=i.animationItem,a=i.View,s=i.animationContainerRef;return C({actions:e,animationItem:n,mode:r,wrapperRef:s}),a},A=["style","interactivity"],_=function(t){var e,i,n,a=t.style,s=t.interactivity,o=u(t,A),l=b(o,a),h=l.View,c=l.play,p=l.stop,f=l.pause,m=l.setSpeed,d=l.goToAndStop,g=l.goToAndPlay,y=l.setDirection,v=l.playSegments,x=l.setSubframe,S=l.getDuration,P=l.destroy,C=l.animationContainerRef,_=l.animationLoaded,T=l.animationItem;return r.useEffect((function(){t.lottieRef&&(t.lottieRef.current={play:c,stop:p,pause:f,setSpeed:m,goToAndPlay:g,goToAndStop:d,setDirection:y,playSegments:v,setSubframe:x,getDuration:S,destroy:P,animationContainerRef:C,animationLoaded:_,animationItem:T})}),[null===(e=t.lottieRef)||void 0===e?void 0:e.current]),E({lottieObj:{View:h,play:c,stop:p,pause:f,setSpeed:m,goToAndStop:d,goToAndPlay:g,setDirection:y,playSegments:v,setSubframe:x,getDuration:S,destroy:P,animationContainerRef:C,animationLoaded:_,animationItem:T},actions:null!==(i=null===s||void 0===s?void 0:s.actions)&&void 0!==i?i:[],mode:null!==(n=null===s||void 0===s?void 0:s.mode)&&void 0!==n?n:"scroll"})};Object.defineProperty(t,"LottiePlayer",{enumerable:!0,get:function(){return n.default}}),t.default=_,t.useLottie=b,t.useLottieInteractivity=E,Object.defineProperty(t,"__esMo
1dule",{value:!0})}(e,r(11248),r(67294))},11248:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof document&&"undefined"!==typeof navigator&&(factory=function(){"use strict";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(t){return document.createElement(t)}function extendPrototype(t,e){var r,i,n=t.length;for(r=0;r<n;r+=1)for(var a in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,a)&&(e.prototype[a]=i[a])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var r,i=0,n=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<e;i+=1)n.push(r);return n}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var t,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"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){var e,r=createSizedArray(t.length),i=t.length;for(e=0;e<i;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=function(){var t=0;return function(){return idPrefix$1+"__lottie_element_"+(t+=1)}}();function HSVtoRGB(t,e,r){var i,n,a,s,o,l,h,c;switch(l=r*(1-e),h=r*(1-(o=6*t-(s=Math.floor(6*t)))*e),c=r*(1-(1-o)*e),s%6){case 0:i=r,n=c,a=l;break;case 1:i=h,n=r,a=l;break;case 2:i=l,n=r,a=c;break;case 3:i=l,n=h,a=r;break;case 4:i=c,n=l,a=r;break;case 5:i=r,n=l,a=h}return[i,n,a]}function RGBtoHSV(t,e,r){var i,n=Math.max(t,e,r),a=Math.min(t,e,r),s=n-a,o=0===n?0:s/n,l=n/255;switch(n){case a:i=0;break;case t:i=e-r+s*(e<r?6:0),i/=6*s;break;case e:i=r-t+2*s,i/=6*s;break;case r:i=t-e+4*s,i/=6*s}return[i,o,l]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;
vendor: 21,767 bytes, line 1
1return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,r=1,i=[],n={onmessage:function(){},postMessage:function(e){t({data:e})}},a={postMessage:function(t){n.onmessage({data:t})}};function s(){e||(e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,n}((function(t){if(a.dataManager||(a.dataManager=function(){function t(n,a){var s,o,l,h,p,f,u=n.length;for(o=0;o<u;o+=1)if("ks"in(s=n[o])&&!s.completed){if(s.completed=!0,s.hasMask){var m=s.masksProperties;for(h=m.length,l=0;l<h;l+=1)if(m[l].pt.k.i)i(m[l].pt.k);else for(f=m[l].pt.k.length,p=0;p<f;p+=1)m[l].pt.k[p].s&&i(m[l].pt.k[p].s[0]),m[l].pt.k[p].e&&i(m[l].pt.k[p].e[0])}0===s.ty?(s.layers=e(s.refId,a),t(s.layers,a)):4===s.ty?r(s.shapes):5===s.ty&&c(s)}}function e(t,e){var r=function(t,e){for(var r=0,i=e.length;r<i;){if(e[r].id===t)return e[r];r+=1}return null}(t,e);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(t){var e,n,a;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=t[e].ks.k.length,n=0;n<a;n+=1)t[e].ks.k[n].s&&i(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&i(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function i(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function n(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var a=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)5===t[r].ty&&e(t[r])}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),s=function(){var t=[4,7,99];return function(e){if(e.chars&&!n(t,e.v)){var i,a=e.chars.length;for(i=0;i<a;i+=1){var s=e.chars[i];s.data&&s.data.shapes&&(r(s.data.shapes),s.data.ip=0,s.data.op=99999,s.data.st=0,s.data.sr=1,s.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}},e.chars[i].t||(s.data.shapes.push({ty:"no"}),s.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"})))}}}}(),o=function(){var t=[5,7,15];function e(t){var e=t.t.p;"number"===typeof e.a&&(e.a={a:0,k:e.a}),"number"===typeof e.p&&(e.p={a:0,k:e.p}),"number"===typeof e.r&&(e.r={a:0,k:e.r})}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)5===t[r].ty&&e(t[r])}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),l=function(){var t=[4,1,9];function e(t){var r,i,n,a=t.length;for(r=0;r<a;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(n=t[r].c.k.length,i=0;i<n;i+=1)t[r].c.k[i].s&&(t[r].c.k[i].s[0]/=255,t[r].c.k[i].s[1]/=255,t[r].c.k[i].s[2]/=255,t[r].c.k[i].s[3]/=255),t[r].c.k[i].e&&(t[r].c.k[i].e[0]/=255,t[r].c.k[i].e[1]/=255,t[r].c.k[i].e[2]/=255,t[r].c.k[i].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),h=function(){var t=[4,4,18];function e(t){var r,i,n;for(r=t.length-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(n=t[r].ks.k.length,i=0;i<n;i+=1)t[r].ks.k[i].s&&(t[r].ks.k[i].s[0].c=t[r].closed),t[r].ks.k[i].e&&(t[r].ks.k[i].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,i,n,a,s,o,l=t.length;for(i=0;i<l;i+=1){if((r=t[i]).hasMask){var h=r.masksProperties;for(a=h.length,n=0;n<a;n+=1)if(h[n].pt.k.i)h[n].pt.k.c=h[n].cl;else for(o=h[n].pt.k.length,s=0;s<o;s+=1)h[n].pt.k[s].s&&(h[n].pt.k[s].s[0].c=h[n].cl),h[n].pt.k[s].e&&(h[n].pt.k[s].e[0].c=h[n].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}();function c(t){0===t.t.a.length&&t.t.p}var p={completeData:function(r){r.__complete||(l(r),a(r),s(r),o(r),h(r),t(r.layers,r.assets),function(r,i){if(r){var n=0,a=r.length;for(n=0;n<a;n+=1)1===r[n].t&&(r[n].data.layers=e(r[n].data.refId,i),t(r[n].data.layers,i))}}(r.chars,r.assets),r.__complete=!0)}};return p.checkColors=l,p.checkChars=s,p.checkPathProperties=o,p.checkShapes=h,p.completeLayers=t,p}()),a.assetLoader||(a.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"===typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,r,i,n){var a,s=new XMLHttpRequest;try{s.responseType="json"}catch(o){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)a=t(s),i(a);else try{a=t(s),i(a)}catch(o){n&&n(o)}};try{s.open(["G","E","T"].join(""),e,!0)}catch(l){s.open(["G","E","T"].join(""),r+"/"+e,!0)}s.send()}}}()),"loadAnimation"===t.data.type)a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,r=e.id,n=i[r];i[r]=null,"success"===e.status?n.onComplete(e.payload):n.onError&&n.onError()})}function o(t,e){var n="processId_"+(r+=1);return i[n]={onComplete:t,onError:e},n}return{loadAnimation:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},loadData:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},completeAnimation:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"complete",animation:t,id:n})}}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){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(t,e,r){var i="";if(t.e)i=t.p;else if(e){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),i=e+n}else i=r,i+=t.u?t.u:"",i+=t.p;return i}function n(t){var e=0,r=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=i(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function s(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var i=t.length;for(r=0;r<i;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var r=i(e,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),n.src=r;var a={img:n,assetData:e};return a},createImageData:function(e){var r=i(e,this.assetsPath,this.path),n=createNS("image");isSafari?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var a={img:n,assetData:e};return a},imageLoaded:e,footageLoaded:r,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i<r.length;i+=1)r[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,i=this._cbs[t].length;r<i;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),i={},n=0,a=0;a<r.length;a+=1)2===(e=r[a].split(":")).length&&(i[e[0]]=e[1].trim(),n+=1);if(0===n)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var n=e[i],a={time:n.tm,duration:n.dr};try{a.payload=JSON.parse(e[i].cm)}catch(s){try{a.payload=t(e[i].cm)}catch(o){a.payload={name:e[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(t)}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(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var n=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===n?r.loop=!1:"true"===n?r.loop=!0:""!==n&&(r.loop=parseInt(n,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,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:"","false"===(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:"")&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,n=i.length,a=t.layers,s=a.length;for(r=0;r<s;r+=1)for(e=0;e<n;){if(i[e].id===a[r].id){i[e]=a[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(n=t.assets.length,e=0;e<n;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.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(){this.animationData.segments||(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(t){if(this.renderer)try{this.animationData=t,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(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},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()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var r="number"===typeof t?t:void 0,i="number"===typeof e?e:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},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(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if((e=this.markers[r]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&this.goToAndStop(n.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n
vendor: 4,452 bytes, line 1
1.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!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(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||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(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{this.renderer.getElementByPath(t).updateDocumentData(e,r)}catch(
vendor: 8,633 bytes, line 1
1i){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,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(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,i=0,n=0,a=!0,s=!1;function o(t){for(var r=0,n=t.target;r<i;)e[r].animation===n&&(e.splice(r,1),r-=1,i-=1,n.isPaused||c()),r+=1}function l(t,r){if(!t)return null;for(var n=0;n<i;){if(e[n].elem===t&&null!==e[n].elem)return e[n].animation;n+=1}var a=new AnimationItem;return p(a,t),a.setData(t,r),a}function h(){n+=1,m()}function c(){n-=1}function p(t,r){t.addEventListener("destroy",o),t.addEventListener("_active",h),t.addEventListener("_idle",c),e.push({elem:r,animation:t}),i+=1}function f(t){var o,l=t-r;for(o=0;o<i;o+=1)e[o].animation.advanceTime(l);r=t,n&&!s?window.requestAnimationFrame(f):a=!0}function u(t){r=t,window.requestAnimationFrame(f)}function m(){!s&&n&&a&&(window.requestAnimationFrame(u),a=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return p(e,null),e.setParams(t),e},t.setSpeed=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setSpeed(t,r)},t.setDirection=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setDirection(t,r)},t.play=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.play(t)},t.pause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.pause(t)},t.stop=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.stop(t)},t.togglePause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var i,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=n.length;for(i=0;i<a;i+=1)r&&n[i].setAttribute("data-bm-type",r),l(n[i],t);if(e&&0===a){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,t)}},t.resize=function(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,r,n){var a;for(a=0;a<i;a+=1)e[a].animation.goToAndStop(t,r,n)},t.destroy=function(t){var r;for(r=i-1;r>=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){s=!0},t.unfreeze=function(){s=!1,m()},t.setVolume=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setVolume(t,r)},t.mute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.mute(t)},t.unmute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i.push(e[t].animation);return i},t}(),BezierFactory=function(){var t={getBezierEasing:function(t,r,i,n,a){var s=a||("bez_"+t+"_"+r+"_"+i+"_"+n).replace(/\./g,"p");if(e[s])return e[s];var o=new h([t,r,i,n]);return e[s]=o,o}},e={},r=.1,i="function"===typeof Float32Array;function n(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function o(t,e,r){return((n(e,r)*t+a(e,r))*t+s(e))*t}function l(t,e,r){return 3*n(e,r)*t*t+2*a(e,r)*t+s(e)}function h(t){this._p=t,this._mSampleValues=i?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return h.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],n=this._p[3];return this._precomputed||this._precompute(),e===r&&i===n?t:0===t?0:1===t?1:o(this._getTForX(t),r,n)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<11;++i)this._mSampleValues[i]=o(i*r,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],n=this._mSampleValues,a=0,s=1;10!==s&&n[s]<=t;++s)a+=r;var h=a+(t-n[--s])/(n[s+1]-n[s])*r,c=l(h,e,i);return c>=.001?function(t,e,r,i){for(var n=0;n<4;++n){var a=l(e,r,i);if(0===a)return e;e-=(o(e,r,i)-t)/a}return e}(t,h,e,i):0===c?h:function(t,e,r,i,n){var a,s,l=0;do{(a=o(s=e+(r-e)/2,i,n)-t)>0?r=s:e=s}while(Math.abs(a)>1e-7&&++l<10);return s}(t,a,a+r,e,i)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var i=0,n=t,a=createSizedArray(n);return{newElement:function(){return i?a[i-=1]:e()},release:function(t){i===n&&(a=pooling.double(a),n*=2),r&&r(t),a[i]=t,i+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}));function bezFunction(){var t=Math;function e(t,e,r,i,n,a){var s=t*i+e*n+r*a-n*i-a*t-r*e;return s>-.001&&s<.001}var r=function(t,e,r,i){var n,a,s,o,l,h,c=getDefaultCurveSegments(),p=0,f=[],u=[],m=bezierLengthPool.newElement();for(s=r.length,n=0;n<c;n+=1){for(l=n/(c-1),h=0,a=0;a<s;a+=1)o=bmPow(1-l,3)*t[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*i[a]+bmPow(l,3)*e[a],f[a]=o,null!==u[a]&&(h+=bmPow(f[a]-u[a],2)),u[a]=f[a];h&&(p+=h=bmSqrt(h)),m.percents[n]=l,m.lengths[n]=p}return m.addedLength=p,m};function i(t){this.segmentLength=0,this.points=new Array(t)}function n(t,e){this.partialLength=t,this.point=e}var a=function(){var t={};return function(r,a,s,o){var l=(r[0]+"_"+r[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!t[l]){var h,c,p,f,u,m,d,g=getDefaultCurveSegments(),y=0,v=null;2===r.length&&(r[0]!==a[0]||r[1]!==a[1])&&e(r[0],r[1],a[0],a[1],r[0]+s[0],r[1]+s[1])&&e(r[0],r[1],a[0],a[1],a[0]+o[0],a[1]+o[1])&&(g=2);var x=new i(g);for(p=s.length,h=0;h<g;h+=1){for(d=createSizedArray(p),u=h/(g-1),m=0,c=0;c<p;c+=1)f=bmPow(1-u,3)*r[c]+3*bmPow(1-u,2)*u*(r[c]+s[c])+3*(1-u)*bmPow(u,2)*(a[c]+o[c])+bmPow(u,3)*a[c],d[c]=f,null!==v&&(m+=bmPow(d[c]-v[c],2));y+=m=bmSqrt(m),x.points[h]=new n(m,d),v=d}x.segmentLength=y,t[l]=x}return t[l]}}();function s(t,e){var r=e.percents,i=e.lengths,n=r.length,a=bmFloor((n-1)*t),s=t*e.addedLength,o=0;if(a===n-1||0===a||s===i[a])return r[a];for(var l=i[a]>s?-1:1,h=!0;h;)if(i[a]<=s&&i[a+1]>s?(o=(s-i[a])/(i[a+1]-i[a]),h=!1):a+=l,a<0||a>=n-1){if(a===n-1)return r[a];h=!1}return r[a]+(r[a+1]-r[a])*o}var o=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),n=t.c,a=t.v,s=t.o,o=t.i,l=t._length,h=i.lengths,c=0;for(e=0;e<l-1;e+=1)h[e]=r(a[e],a[e+1],s[e],o[e+1]),c+=h[e].addedLength;return n&&l&&(h[e]=r(a[e],a[0],s[e],o[0]),c+=h[e].addedLength),i.totalLength=c,i},getNewSegment:function(e,r,i,n,a,l,h){a<0?a=0:a>1&&(a=1);var c,p=s(a,h),f=s(l=l>1?1:l,h),u=e.length,m=1-p,d=1-f,g=m*m*m,y=p*m*m*3,v=p*p*m*3,x=p*p*p,b=m*m*d,S=p*m*d+m*p*d+m*m*f,P=p*p*d+m*p*f+p*m*f,C=p*p*f,E=m*d*d,A=p*d*d+m*f*d+m*d*f,_=p*f*d+m*f*f+p*d*f,T=p*f*f,M=d*d*d,w=f*d*d+d*f*d+d*d*f,k=f*f*d+d*f*f+f*d*f,D=f*f*f;for(c=0;c<u;c+=1)o[4*c]=t.round(1e3*(g*e[c]+y*i[c]+v*n[c]+x*r[c]))/1e3,o[4*c+1]=t.round(1e3*(b*e[c]+S*i[c]+P*n[c]+C*r[c]))/1e3,o[4*c+2]=t.round(1e3*(E*e[c]+A*i[c]+_*n[c]+T*r[c])
vendor: 9,245 bytes, line 1
1)/1e3,o[4*c+3]=t.round(1e3*(M*e[c]+w*i[c]+k*n[c]+D*r[c]))/1e3;return o},getPointInSegment:function(e,r,i,n,a,o){var l=s(a,o),h=1-l;return[t.round(1e3*(h*h*h*e[0]+(l*h*h+h*l*h+h*h*l)*i[0]+(l*l*h+h*l*l+l*h*l)*n[0]+l*l*l*r[0]))/1e3,t.round(1e3*(h*h*h*e[1]+(l*h*h+h*l*h+h*h*l)*i[1]+(l*l*h+h*l*l+l*h*l)*n[1]+l*l*l*r[1]))/1e3]},buildBezierData:a,pointOnLine2D:e,pointOnLine3D:function(r,i,n,a,s,o,l,h,c){if(0===n&&0===o&&0===c)return e(r,i,a,s,l,h);var p,f=t.sqrt(t.pow(a-r,2)+t.pow(s-i,2)+t.pow(o-n,2)),u=t.sqrt(t.pow(l-r,2)+t.pow(h-i,2)+t.pow(c-n,2)),m=t.sqrt(t.pow(l-a,2)+t.pow(h-s,2)+t.pow(c-o,2));return(p=f>u?f>m?f-u-m:m-u-f:m>u?m-u-f:u-f-m)>-1e-4&&p<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var n,a,s,o,l,h,c,p,f,u=e.lastIndex,m=u,d=this.keyframes.length-1,g=!0;g;){if(n=this.keyframes[m],a=this.keyframes[m+1],m===d-1&&t>=a.t-i){n.h&&(n=a),u=0;break}if(a.t-i>t){u=m;break}m<d-1?m+=1:(u=0,g=!1)}s=this.keyframesMetadata[m]||{};var y,v=a.t-i,x=n.t-i;if(n.to){s.bezierData||(s.bezierData=bez.buildBezierData(n.s,a.s||n.e,n.to,n.ti));var b=s.bezierData;if(t>=v||t<x){var S=t>=v?b.points.length-1:0;for(l=b.points[S].point.length,o=0;o<l;o+=1)r[o]=b.points[S].point[o]}else{s.__fnct?f=s.__fnct:(f=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,s.__fnct=f),h=f((t-x)/(v-x));var P,C=b.segmentLength*h,E=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastAddedLength:0;for(p=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastPoint:0,g=!0,c=b.points.length;g;){if(E+=b.points[p].partialLength,0===C||0===h||p===b.points.length-1){for(l=b.points[p].point.length,o=0;o<l;o+=1)r[o]=b.points[p].point[o];break}if(C>=E&&C<E+b.points[p+1].partialLength){for(P=(C-E)/b.points[p+1].partialLength,l=b.points[p].point.length,o=0;o<l;o+=1)r[o]=b.points[p].point[o]+(b.points[p+1].point[o]-b.points[p].point[o])*P;break}p<c-1?p+=1:g=!1}e._lastPoint=p,e._lastAddedLength=E-b.points[p].partialLength,e._lastKeyframeIndex=m}}else{var A,_,T,M,w;if(d=n.s.length,y=a.s||n.e,this.sh&&1!==n.h)t>=v?(r[0]=y[0],r[1]=y[1],r[2]=y[2]):t<=x?(r[0]=n.s[0],r[1]=n.s[1],r[2]=n.s[2]):quaternionToEuler(r,slerp(createQuaternion(n.s),createQuaternion(y),(t-x)/(v-x)));else for(m=0;m<d;m+=1)1!==n.h&&(t>=v?h=1:t<x?h=0:(n.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[m]?f=s.__fnct[m]:(A=void 0===n.o.x[m]?n.o.x[0]:n.o.x[m],_=void 0===n.o.y[m]?n.o.y[0]:n.o.y[m],T=void 0===n.i.x[m]?n.i.x[0]:n.i.x[m],M=void 0===n.i.y[m]?n.i.y[0]:n.i.y[m],f=BezierFactory.getBezierEasing(A,_,T,M).get,s.__fnct[m]=f)):s.__fnct?f=s.__fnct:(A=n.o.x,_=n.o.y,T=n.i.x,M=n.i.y,f=BezierFactory.getBezierEasing(A,_,T,M).get,n.keyframeMetadata=f),h=f((t-x)/(v-x)))),y=a.s||n.e,w=1===n.h?n.s[m]:n.s[m]+(y[m]-n.s[m])*h,"multidimensional"===this.propType?r[m]=w:r=w}return e.lastIndex=u,r}function slerp(t,e,r){var i,n,a,s,o,l=[],h=t[0],c=t[1],p=t[2],f=t[3],u=e[0],m=e[1],d=e[2],g=e[3];return(n=h*u+c*m+p*d+f*g)<0&&(n=-n,u=-u,m=-m,d=-d,g=-g),1-n>1e-6?(i=Math.acos(n),a=Math.sin(i),s=Math.sin((1-r)*i)/a,o=Math.sin(r*i)/a):(s=1-r,o=r),l[0]=s*h+o*u,l[1]=s*c+o*m,l[2]=s*p+o*d,l[3]=s*f+o*g,l}function quaternionToEuler(t,e){var r=e[0],i=e[1],n=e[2],a=e[3],s=Math.atan2(2*i*a-2*r*n,1-2*i*i-2*n*n),o=Math.asin(2*r*i+2*n*a),l=Math.atan2(2*r*a-2*i*n,1-2*r*r-2*n*n);t[0]=s/degToRads,t[1]=o/degToRads,t[2]=l/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,n=Math.cos(e/2),a=Math.cos(r/2),s=Math.cos(i/2),o=Math.sin(e/2),l=Math.sin(r/2),h=Math.sin(i/2);return[o*l*s+n*a*h,o*a*s+n*l*h,n*l*s-o*a*h,n*a*s-o*l*h]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)e=t[r]*this.mult,mathAbs(this.v[r]-e)>1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.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(t,e,r,i){var n;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a=e.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),n=0;n<a;n+=1)this.v[n]=e.k[n]*this.mult,this.pv[n]=e.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,r,i){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.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(t,e,r,i){var n;this.propType="multidimensional";var a,s,o,l,h=e.k.length;for(n=0;n<h-1;n+=1)e.k[n].to&&e.k[n].s&&e.k[n+1]&&e.k[n+1].s&&(a=e.k[n].s,s=e.k[n+1].s,o=e.k[n].to,l=e.k[n].ti,(2===a.length&&(a[0]!==s[0]||a[1]!==s[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],a[0]+o[0],a[1]+o[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],s[0]+l[0],s[1]+l[1])||3===a.length&&(a[0]!==s[0]||a[1]!==s[1]||a[2]!==s[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],a[0]+o[0],a[1]+o[1],a[2]+o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],s[0]+l[0],s[1]+l[1],s[2]+l[2]))&&(e.k[n].to=null,e.k[n].ti=null),a[0]===s[0]&&a[1]===s[1]&&0===o[0]&&0===o[1]&&0===l[0]&&0===l[1]&&(2===a.length||a[2]===s[2]&&0===o[2]&&0===l[2])&&(e.k[n].to=null,e.k[n].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var c=e.k[0].s.length;for(this.v=createTypedArray("float32",c),this.pv=createTypedArray("float32",c),n=0;n<c;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",c)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,r,i,n){var a;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"===typeof e.k[0])a=new MultiDimensionalProperty(t,e,i,n);else switch(r){case 0:a=new KeyframedValueProperty(t,e,i,n);break;case 1:a=new KeyframedMultidimensionalProperty(t,e,i,n)}else a=new ValueProperty(t,e,i,n);return a.effectsSequence.length&&n.addDynamicProperty(a),a}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;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=poolFactory(8,(function(){return createTypedArray("float32",2)}));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(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;
vendor: 14,324 bytes, line 1
1)this.doubleArrayLength();this._length=t},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(t,e,r,i,n){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!n)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,n,a,s,o){this.setXYAt(t,e,"v",s,o),this.setXYAt(r,i,"o",s,o),this.setXYAt(n,a,"i",s,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var a,s=this._length-1,o=this._length;for(a=n;a<o;a+=1)t.setTripleAt(e[s][0],e[s][1],i[s][0],i[s][1],r[s][0],r[s][1],a,!1),s-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var t=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}));return t.clone=function(e){var r,i=t.newElement(),n=void 0===e._length?e.v.length:e._length;for(i.setLength(n),i.c=e.c,r=0;r<n;r+=1)i.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],r);return i},t}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:function(){return e?i[e-=1]:new ShapeCollection},release:function(t){var n,a=t._length;for(n=0;n<a;n+=1)shapePool.release(t.shapes[n]);t._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=t,e+=1}},e=0,r=4,i=createSizedArray(r);return t}(),ShapePropertyFactory=function(){var t=-999999;function e(t,e,r){var i,n,a,s,o,l,h,c,p,f=r.lastIndex,u=this.keyframes;if(t<u[0].t-this.offsetTime)i=u[0].s[0],a=!0,f=0;else if(t>=u[u.length-1].t-this.offsetTime)i=u[u.length-1].s?u[u.length-1].s[0]:u[u.length-2].e[0],a=!0;else{for(var m,d,g,y=f,v=u.length-1,x=!0;x&&(m=u[y],!((d=u[y+1]).t-this.offsetTime>t));)y<v-1?y+=1:x=!1;if(g=this.keyframesMetadata[y]||{},f=y,!(a=1===m.h)){if(t>=d.t-this.offsetTime)c=1;else if(t<m.t-this.offsetTime)c=0;else{var b;g.__fnct?b=g.__fnct:(b=BezierFactory.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,g.__fnct=b),c=b((t-(m.t-this.offsetTime))/(d.t-this.offsetTime-(m.t-this.offsetTime)))}n=d.s?d.s[0]:m.e[0]}i=m.s[0]}for(l=e._length,h=i.i[0].length,r.lastIndex=f,s=0;s<l;s+=1)for(o=0;o<h;o+=1)p=a?i.i[s][o]:i.i[s][o]+(n.i[s][o]-i.i[s][o])*c,e.i[s][o]=p,p=a?i.o[s][o]:i.o[s][o]+(n.o[s][o]-i.o[s][o])*c,e.o[s][o]=p,p=a?i.v[s][o]:i.v[s][o]+(n.v[s][o]-i.v[s][o])*c,e.v[s][o]=p}function r(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return n!==t&&(n<r&&e<r||n>i&&e>i)||(this._caching.lastIndex=n<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function n(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,i=t._length;for(r=0;r<i;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var n=3===r?e.pt.k:e.ks.k;this.v=shapePool.clone(n),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 o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(e,n,a){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===a?n.pt.k:n.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=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=n,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=e,l.prototype.setVValue=n,l.prototype.addEffect=o;var h=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.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 e=this.p.v[0],r=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=e,s.v[0][1]=r-n,s.v[1][0]=a?e+i:e-i,s.v[1][1]=r,s.v[2][0]=e,s.v[2][1]=r+n,s.v[3][0]=a?e-i:e+i,s.v[3][1]=r,s.i[0][0]=a?e-i*t:e+i*t,s.i[0][1]=r-n,s.i[1][0]=a?e+i:e-i,s.i[1][1]=r-n*t,s.i[2][0]=a?e+i*t:e-i*t,s.i[2][1]=r+n,s.i[3][0]=a?e-i:e+i,s.i[3][1]=r+n*t,s.o[0][0]=a?e+i*t:e-i*t,s.o[0][1]=r-n,s.o[1][0]=a?e+i:e-i,s.o[1][1]=r+n*t,s.o[2][0]=a?e-i*t:e+i*t,s.o[2][1]=r+n,s.o[3][0]=a?e-i:e+i,s.o[3][1]=r-n*t}},extendPrototype([DynamicPropertyContainer],e),e}(),c=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.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 t.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 t,e,r,i,n=2*Math.floor(this.pt.v),a=2*Math.PI/n,s=!0,o=this.or.v,l=this.ir.v,h=this.os.v,c=this.is.v,p=2*Math.PI*o/(2*n),f=2*Math.PI*l/(2*n),u=-Math.PI/2;u+=this.r.v;var m=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<n;t+=1){r=s?h:c,i=s?p:f;var d=(e=s?o:l)*Math.cos(u),g=e*Math.sin(u),y=0===d&&0===g?0:g/Math.sqrt(d*d+g*g),v=0===d&&0===g?0:-d/Math.sqrt(d*d+g*g);d+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(d,g,d-y*i*r*m,g-v*i*r*m,d+y*i*r*m,g+v*i*r*m,t,!0),s=!s,u+=a*m}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,i=this.or.v,n=this.os.v,a=2*Math.PI*i/(4*e),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=i*Math.cos(s),h=i*Math.sin(s),c=0===l&&0===h?0:h/Math.sqrt(l*l+h*h),p=0===l&&0===h?0:-l/Math.sqrt(l*l+h*h);l+=+this.p.v[0],h+=+this.p.v[1],this.v.setTripleAt(l,h,l-c*a*n*o,h-p*a*n*o,l+c*a*n*o,h+p*a*n*o,t,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),p=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,n=bmMin(r,i,this.r.v),a=n*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+n,t+r,e-i+a,0,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-a,t+r,e+i-n,1,!0),0!==n?(this.v.setTripleAt(t+r-n,e+i,t+r-n,e+i,t+r-a,e+i,2,!0),this.v.setTripleAt(t-r+n,e+i,t-r+a,e+i,t-r+n,e+i,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-n,t-r,e+i-a,4,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+a,t-r,e-i+n,5,!0),this.v.setTripleAt(t-r+n,e-i,t-r+n,e-i,t-r+a,e-i,6,!0),this.v.setTripleAt(t+r-n,e-i,t+r-a,e-i,t+r-n,e-i,7,!0)):(this.v.setTripleAt(t-r,e+i,t-r+a,e+i,t-r,e+i,2),this.v.setTripleAt(t-r,e-i,t-r,e-i+a,t-r,e-i,3))):(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+a,t+r,e-i+n,0,!0),0!==n?(this.v.setTripleAt(t+r-n,e-i,t+r-n,e-i,t+r-a,e-i,1,!0),this.v.setTripleAt(t-r+n,e-i,t-r+a,e-i,t-r+n,e-i,2,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+n,t-r,e-i+a,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-a,t-r,e+i-n,4,!0),this.v.setTripleAt(t-r+n,e+i,t-r+n,e+i,t-r+a,e+i,5,!0),this.v.setTripleAt(t+r-n,e+i,t+r-a,e+i,t+r-n,e+i,6,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-n,t+r,e+i-a,7,!0)):(this.v.setTripleAt(t-r,e-i,t-r+a,e-i,t-r,e-i,1,!0),this.v.setTripleAt(t-r,e+i,t-r,e+i-a,t-r,e+i,2,!0),this.v.setTripleAt(t+r,e+i,t+r-a,e+i,t+r,e+i,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],t),t}(),f={getShapeProp:function(t,e,r){var i;return 3===r||4===r?i=(3===r?e.pt:e.ks).k.length?new l(t,e,r):new s(t,e,r):5===r?i=new p(t,e):6===r?i=new h(t,e):7===r&&(i=new c(t,e)),i.k&&t.addDynamicProperty(i),i},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return f}(),Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1)}function o(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1)}function l(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function h(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(r(t),r(e))}function p(i,n){var a=t(n),s=e(n);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function f(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function u(t,e,r,i,n,a,s,o,l,h,c,p,f,u,m,d){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=i,this.props[4]=n,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=h,this.props[10]=c,this.props[11]=p,this.props[12]=f,this.props[13]=u,this.props[14]=m,this.props[15]=d,this}function m(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function d(t,e,r,i,n,a,s,o,l,h,c,p,f,u,m,d){var g=this.props;if(1===t&&0===e&&0===r&&0===i&&0===n&&1===a&&0===s&&0===o&&0===l&&0===h&&1===c&&0===p)return g[12]=g[12]*t+g[15]*f,g[13]=g[13]*a+g[15]*u,g[14]=g[14]*c+g[15]*m,g[15]*=d,this._identityCalculated=!1,this;var y=g[0],v=g[1],x=g[2],b=g[3],S=g[4],P=g[5],C=g[6],E=g[7],A=g[8],_=g[9],T=g[10],M=g[11],w=g[12],k=g[13],D=g[14],F=g[15];return g[0]=y*t+v*n+x*l+b*f,g[1]=y*e+v*a+x*h+b*u,g[2]=y*r+v*s+x*c+b*m,g[3]=y*i+v*o+x*p+b*d,g[4]=S*t+P*n+C*l+E*f,g[5]=S*e+P*a+C*h+E*u,g[6]=S*r+P*s+C*c+E*m,g[7]=S*i+P*o+C*p+E*d,g[8]=A*t+_*n+T*l+M*f,g[9]=A*e+_*a+T*h+M*u,g[10]=A*r+_*s+T*c+M*m,g[11]=A*i+_*o+T*p+M*d,g[12]=w*t+k*n+D*l+F*f,g[13]=w*e+k*a+D*h+F*u,g[14]=w*r+k*s+D*c+F*m,g[15]=w*i+k*o+D*p+F*d,this._identityCalculated=!1,this}function g(t){var e=t.props;return this.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])}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||
vendor: 7,545 bytes, line 1
10!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function x(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function S(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function P(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function C(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function E(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function A(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,i=-this.props[4]/t,n=this.props[0]/t,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=i,o.props[5]=n,o.props[12]=a,o.props[13]=s,o}function _(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function T(t){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i[e]=_(t[e]);return i}function M(t,e,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=r[0],i[5]=r[1];else{var n=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],h=this.props[13];i[0]=t[0]*n+t[1]*s+l,i[1]=t[0]*a+t[1]*o+h,i[2]=e[0]*n+e[1]*s+l,i[3]=e[0]*a+e[1]*o+h,i[4]=r[0]*n+r[1]*s+l,i[5]=r[0]*a+r[1]*o+h}return i}function w(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function k(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function D(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=i(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function F(t){return t<1e-6&&t>0||t>-1e-6&&t<0?i(1e4*t)/1e4:t}function I(){var t=this.props;return"matrix("+F(t[0])+","+F(t[1])+","+F(t[4])+","+F(t[5])+","+F(t[12])+","+F(t[13])+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=c,this.skewFromAxis=p,this.shear=h,this.scale=f,this.setTransform=u,this.translate=m,this.transform=d,this.multiply=g,this.applyToPoint=S,this.applyToX=P,this.applyToY=C,this.applyToZ=E,this.applyToPointArray=w,this.applyToTriplePoints=M,this.applyToPointStringified=k,this.toCSS=D,this.to2dCSS=I,this.clone=x,this.cloneFromProps=b,this.equals=v,this.inversePoints=T,this.inversePoint=_,this.getInverseMatrix=A,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"===typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}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.13.0";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(err){}var ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,r){e[t]||(e[t]=r)},t.getModifier=function(t,r,i){return new e[t](r,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),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),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=Pro
vendor: 4,310 bytes, line 1
1pertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,n){var a=[];e<=1?a.push({s:t,e:e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var s,o,l=[],h=a.length;for(s=0;s<h;s+=1){var c,p;(o=a[s]).e*n<i||o.s*n>i+r||(c=o.s*n<=i?0:(o.s*n-i)/r,p=o.e*n>=i+r?1:(o.e*n-i)/r,l.push([c,p]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,i,n;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),(e=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var s=e;e=r,r=s}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,l,h,c,p,f=this.shapes.length,u=0;if(r===e)for(n=0;n<f;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(1===r&&0===e||0===r&&1===e){if(this._mdf)for(n=0;n<f;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var m,d,g=[];for(n=0;n<f;n+=1)if((m=this.shapes[n]).shape._mdf||this._mdf||t||2===this.m){if(l=(i=m.shape.paths)._length,p=0,!m.shape._mdf&&m.pathsData.length)p=m.totalShapeLength;else{for(h=this.releasePathsData(m.pathsData),o=0;o<l;o+=1)c=bez.getSegmentsLength(i.shapes[o]),h.push(c),p+=c.totalLength;m.totalShapeLength=p,m.pathsData=h}u+=p,m.shape._mdf=!0}else m.shape.paths=m.localShapeCollection;var y,v=e,x=r,b=0;for(n=f-1;n>=0;n-=1)if((m=this.shapes[n]).shape._mdf){for((d=m.localShapeCollection).releaseShapes(),2===this.m&&f>1?(y=this.calculateShapeEdges(e,r,m.totalShapeLength,b,u),b+=m.totalShapeLength):y=[[v,x]],l=y.length,o=0;o<l;o+=1){v=y[o][0],x=y[o][1],g.length=0,x<=1?g.push({s:m.totalShapeLength*v,e:m.totalShapeLength*x}):v>=1?g.push({s:m.totalShapeLength*(v-1),e:m.totalShapeLength*(x-1)}):(g.push({s:m.totalShapeLength*v,e:m.totalShapeLength}),g.push({s:0,e:m.totalShapeLength*(x-1)}));var S=this.addShapes(m,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(m.shape.paths.shapes[m.shape.paths._length-1].c){var P=S.pop();this.addPaths(S,d),S=this.addShapes(m,g[1],P)}else this.addPaths(S,d),S=this.addShapes(m,g[1]);this.addPaths(S,d)}}m.shape.paths=d}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,n,a,s){n.setXYAt(e[0],e[1],"o",a),n.setXYAt(r[0],r[1],"i",a+1),s&&n.setXYAt(t[0],t[1],"v",a),n.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i,n,a,s,o,l,h,c,p=t.pathsData,f=t.shape.paths.shapes,u=t.shape.paths._length,m=0,d=[],g=!0;for(r?(o=r._length,c=r._length):(r=shapePool.newElement(),o=0,c=0),d.push(r),i=0;i<u;i+=1){for(l=p[i].lengths,r.c=f[i].c,a=f[i].c?l.length:l.length+1,n=1;n<a;n+=1)if(m+(s=l[n-1]).addedLength<e.s)m+=s.addedLength,r.c=!1;else{if(m>e.e){r.c=!1;break}e.s<=m&&e.e>=m+s.addedLength?(this.addSegment(f[i].v[n-1],f[i].o[n-1],f[i].i[n],f[i].v[n],r,o,g),g=!1):(h=bez.getNewSegment(f[i].v[n-1],f[i].v[n],f[i].o[n-1],f[i].i[n],(e.s-m)/s.addedLength,(e.e-m)/s.addedLength,l[n-1]),this.addSegmentFromArray(h,r,o,g),g=!1,r.c=!1),m+=s.addedLength,o+=1}if(f[i].c&&l.length){if(s=l[n-1],m<=e.e){var y=l[n-1].addedLength;e.s<=m&&e.e>=m+y?(this.addSegment(f[i].v[n-1],f[i].o[n-1],f[i].i[0],f[i].v[0],r,o,g),g=!1):(h=bez.getNewSegment(f[i].v[n-1],f[i].v[0],f[i].o[n-1],f[i].i[0],(e.s-m)/y,(e.e-m)/y,l[n-1]),this.addSegmentFromArray(h,r,o,g),g=!1,r.c=!1)}else r.c=!1;m+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[c][0],r.v[c][1],"i",c),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),m>e.e)break;
vendor: 30,248 bytes, line 1
1i<u-1&&(r=shapePool.newElement(),g=!0,d.push(r),o=0)}return d},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,i=[0,0],n=t._length,a=0;for(a=0;a<n;a+=1)i[0]+=t.v[a][0],i[1]+=t.v[a][1];i[0]/=n,i[1]/=n;var s,o,l,h,c,p,f=shapePool.newElement();for(f.c=t.c,a=0;a<n;a+=1)s=t.v[a][0]+(i[0]-t.v[a][0])*r,o=t.v[a][1]+(i[1]-t.v[a][1])*r,l=t.o[a][0]+(i[0]-t.o[a][0])*-r,h=t.o[a][1]+(i[1]-t.o[a][1])*-r,c=t.i[a][0]+(i[0]-t.i[a][0])*-r,p=t.i[a][1]+(i[1]-t.i[a][1])*-r,f.setTripleAt(s,o,l,h,c,p,a);return f},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,n=e.or.k.length;for(i=0;i<n;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.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?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;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 i,n;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],n=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),n[0]=a.getValueAtTime(a.keyframes[0].t/r,0),n[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,s.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),n[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else i=n=t;this.v.rotate(-Math.atan2(i[1]-n[1],i[0]-n[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}},precalculateMatrix:function(){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,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,i){return new e(t,r,i)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,r){return t*(1-r)+e*r}function lerpPoint(t,e,r){return[lerp(t[0],e[0],r),lerp(t[1],e[1],r)]}function quadRoots(t,e,r){if(0===t)return[];var i=e*e-4*t*r;if(i<0)return[];var n=-e/(2*t);if(0===i)return[n];var a=Math.sqrt(i)/(2*t);return[n-a,n+a]}function polynomialCoefficients(t,e,r,i){return[3*e-t-3*r+i,3*t-6*e+3*r,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,r,i,n){n&&pointEqual(t,e)&&(e=lerpPoint(t,i,1/3)),n&&pointEqual(r,i)&&(r=lerpPoint(t,i,2/3));var a=polynomialCoefficients(t[0],e[0],r[0],i[0]),s=polynomialCoefficients(t[1],e[1],r[1],i[1]);this.a=[a[0],s[0]],this.b=[a[1],s[1]],this.c=[a[2],s[2]],this.d=[a[3],s[3]],this.points=[t,e,r,i]}function extrema(t,e){var r=t.points[0][e],i=t.points[t.points.length-1][e];if(r>i){var n=i;i=r,r=n}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),s=0;s<a.length;s+=1)if(a[s]>0&&a[s]<1){var o=t.point(a[s])[e];o<r?r=o:o>i&&(i=o)}return{min:r,max:i}}function intersectData(t,e,r){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return 2*Math.abs(t.cx-e.cx)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function intersectsImpl(t,e,r,i,n,a){if(boxIntersect(t,e))if(r>=a||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i)n.push([t.t,e.t]);else{var s=splitData(t),o=splitData(e);intersectsImpl(s[0],o[0],r+1,i,n,a),intersectsImpl(s[0],o[1],r+1,i,n,a),intersectsImpl(s[1],o[0],r+1,i,n,a),intersectsImpl(s[1],o[1],r+1,i,n,a)}}function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,r,i){var n=[t[0],t[1],1],a=[e[0],e[1],1],s=[r[0],r[1],1],o=[i[0],i[1],1],l=crossProduct(crossProduct(n,a),crossProduct(s,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}function setPoint(t,e,r,i,n,a,s){var o=r-Math.PI/2,l=r+Math.PI/2,h=e[0]+Math.cos(r)*i*n,c=e[1]-Math.sin(r)*i*n;t.setTripleAt(h,c,h+Math.cos(o)*a,c-Math.sin(o)*a,h+Math.cos(l)*s,c-Math.sin(l)*s,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=.5*-Math.PI;return[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]]}function getProjectingAngle(t,e){var r=0===e?t.length()-1:e-1,i=(e+1)%t.length(),n=getPerpendicularVector(t.v[r],t.v[i]);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(t,e,r,i,n,a,s){var o=getProjectingAngle(e,r),l=e.v[r%e._length],h=e.v[0===r?e._length-1:r-1],c=e.v[(r+1)%e._length],p=2===a?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0,f=2===a?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0;setPoint(t,e.v[r%e._length],o,s,i,f/(2*(n+1)),p/(2*(n+1)),a)}function zigZagSegment(t,e,r,i,n,a){for(var s=0;s<i;s+=1){var o=(s+1)/(i+1),l=2===n?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,h=e.normalAngle(o);setPoint(t,e.point(o),h,a,r,l/(2*(i+1)),l/(2*(i+1)),n),a=-a}return a}function linearOffset(t,e,r){var i=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,i,r),polarOffset(e,i,r)]}function offsetSegment(t,e){var r,i,n,a,s,o,l;r=(l=linearOffset(t.points[0],t.points[1],e))[0],i=l[1],n=(l=linearOffset(t.points[1],t.points[2],e))[0],a=l[1],s=(l=linearOffset(t.points[2],t.points[3],e))[0],o=l[1];var h=lineIntersection(r,i,n,a);null===h&&(h=i);var c=lineIntersection(s,o,n,a);return null===c&&(c=s),new PolynomialBezier(r,h,c,o)}function joinLines(t,e,r,i,n){var a=e.points[3],s=r.points[0];if(3===i)return a;if(pointEqual(a,s))return a;if(2===i){var o=-e.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,h=lineIntersection(a,polarOffset(a,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),c=h?pointDistance(h,a):pointDistance(a,s)/2,p=polarOffset(a,o,2*c*roundCorner);return t.setXYAt(p[0],p[1],"o",t.length()-1),p=polarOffset(s,l,2*c*roundCorner),t.setTripleAt(s[0],s[1],s[0],s[1],p[0],p[1],t.length()),s}var f=lineIntersection(pointEqual(a,e.points[2])?e.points[0]:e.points[2],a,s,pointEqual(s,r.points[1])?r.points[3]:r.points[1]);return f&&pointDistance(f,a)<n?(t.setTripleAt(f[0],f[1],f[0],f[1],f[0],f[1],t.length()),f):a}function getIntersection(t,e){var r=t.intersections(e);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(t,e){var r=t.slice(),i=e.slice(),n=getIntersection(t[t.length-1],e[0]);return n&&(r[t.length-1]=t[t.length-1].split(n[0])[0],i[0]=e[0].split(n[1])[1]),t.length>1&&e.length>1&&(n=getIntersection(t[0],e[e.length-1]))?[[t[0].split(n[0])[0]],[e[e.length-1].split(n[1])[1]]]:[r,i]}function pruneIntersections(t){for(var e,r=1;r<t.length;r+=1)e=pruneSegmentIntersection(t[r-1],t[r]),t[r-1]=e[0],t[r]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r,i,n,a,s=t.inflectionPoints();if(0===s.length)return[offsetSegment(t,e)];if(1===s.length||floatEqual(s[1],1))return r=(n=t.split(s[0]))[0],i=n[1],[offsetSegment(r,e),offsetSegment(i,e)];r=(n=t.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(n=n[1].split(o))[0],i=n[1],[offsetSegment(r,e),offsetSegment(a,e),offsetSegment(i,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",n=e.length,a=0;a<n;a+=1)switch(e[a].toLowerCase()){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"}return{style:i,weight:t.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,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(t,e,r,i,n,a){var s=a?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-n),l=i.s.v[1]+(1-i.s.v[1])*(1-n);t.translate(i.p.v[0]*s*n,i.p.v[1]*s*n,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*s*n),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,n,a,s=!1;if(this._mdf||t){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var h={it:this.cloneElements(this._elements),ty:"gr"};h.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,h),this._groups.splice(0,0,h),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,i=0;i<=this._groups.length-1;i+=1){if(o=a<l,this._groups[i]._render=o,this.changeGroupRender(this._groups[i].it,o),!o){var c=this.elemsData[i].it,p=c[c.length-1];0!==p.transform.op.v?(p.transform.op._mdf=!0,p.transform.op.v=0):p.transform.op._mdf=!1}a+=1}this._currentCopies=l;var f=this.o.v,u=f%1,m=f>0?Math.floor(f):Math.ceil(f),d=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,x,b=0;if(f>0){for(;b<m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,u,!1),b+=u)}else if(f<0){for(;b>m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-u,!0),b-=u)}for(i=1===this.data.m?0:this._currentCopies-1,n=1===this.data.m?1:-1,a=this._currentCopies;a;){if(x=(r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==b){for((0!==i&&1===n||i!==this._currentCopies-1&&-1===n)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(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]),v=0;v<x;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<x;v+=1)r[v]=this.matrix.props[v];b+=1,a-=1,i+=n}}else for(a=this._currentCopies,i=0,n=1;a;)r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,i+=n;return s},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,i=shapePool.newElement();i.c=t.c;var n,a,s,o,l,h,c,p,f,u,m,d,g=t._length,y=0;for(r=0;r<g;r+=1)n=t.v[r],s=t.o[r],a=t.i[r],n[0]===s[0]&&n[1]===s[1]&&n[0]===a[0]&&n[1]===a[1]?0!==r&&r!==g-1||t.c?(o=0===r?t.v[g-1]:t.v[r-1],h=(l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(l/2,e)/l:0,c=m=n[0]+(o[0]-n[0])*h,p=d=n[1]-(n[1]-o[1])*h,f=c-(c-n[0])*roundCorner,u=p-(p-n[1])*roundCorner,i.setTripleAt(c,p,f,u,m,d,y),y+=1,o=r===g-1?t.v[0]:t.v[r+1],h=(l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(l/2,e)/l:0,c=f=n[0]+(o[0]-n[0])*h,p=u=n[1]+(o[1]-n[1])*h,m=c-(c-n[0])*roundCorner,d=p-(p-n[1])*roundCorner,i.setTripleAt(c,p,f,u,m,d,y),y+=1):(i.setTripleAt(n[0],n[1],s[0],s[1],a[0],a[1],y),y+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],y),y+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,r=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[e]:[]:[e-i,e+i].filter((function(t){return t>0&&t<1}))},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),i=lerpPoint(this.points[2],this.points[3],t),n=lerpPoint(e,r,t),a=lerpPoint(r,i,t),s=lerpPoint(n,a,t);return[new PolynomialBezier(this.points[0],e,n,s,!0),new PolynomialBezier(s,a,i,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,e,r){void 0===e&&(e=2),void 0===r&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,i,r),i},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(t,e,r,i){var n=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(n-=1),0===n)return a;var s=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,r,i,s);for(var l=0;l<n;l+=1)s=zigZagSegment(a,o,e,r,i,-s),o=l!==n-1||t.c?PolynomialBezier.shapeSegment(t,(l+1)%n):null,zigZagCorner(a,t,l+1,e,r,i,s);return a},ZigZagModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amplitude.v,h=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l,h,c));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(t,e,r,i){var n=shapePool.newElement();n.c=t.c;var a,s,o,l=t.length();t.c||(l-=1);var h=[];for(a=0;a<l;a+=1)o=PolynomialBezier.shapeSegment(t,a),h.push(offsetSegmentSplit(o,e));if(!t.c)for(a=l-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(t,a),h.push(offsetSegmentSplit(o,e));h=pruneIntersections(h);var c=null,p=null;for(a=0;a<h.length;a+=1){var f=h[a];for(p&&(c=joinLines(n,p,f[0],r,i)),p=f[f.length-1],s=0;s<f.length;s+=1)o=f[s],c&&pointEqual(o.points[0],c)?n.setXYAt(o.points[1][0],o.points[1][1],"o",n.length()-1):n.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],n.length()),n.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],n.length()),c=o.points[3]}return h.length&&joinLines(n,p,h[0][0],r,i),n},OffsetPathModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amount.v,h=this.miterLimit.v,c=this.lineJoin;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l,c,h));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t={w:0,size:0,shapes:[],data:{shapes:[]}},e=[];e=e.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 r=127988,i=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function n(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var i=createTag("span");i.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var n=i.offsetWidth;return i.style.fontFamily=function(t){var e,r=t.split(","),i=r.length,n=[];for(e=0;e<i;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&n.push(r[e]);return n.join(",")}(t)+", "+e,{node:i,w:n,parent:r}}function a(t,e){var r,i=document.body&&e?"svg":"canvas",n=getFontProperties(t);if("svg"===i){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",t.fFamily),a.setAttribute("font-style",n.style),a.setAttribute("font-weight",n.weight),a.textContent="1",t.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",t.fClass)):a.style.fontFamily=t.fFamily,e.appendChild(a),r=a}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=n.style+" "+n.weight+" 100px "+t.fFamily,r=s}return{measureText:function(t){return"svg"===i?(r.textContent=t,r.getComputedTextLength()):r.measureText(t).width}}}function s(t){var e=0,r=t.charCodeAt(0);if(r>=55296&&r<=56319){var i=t.charCodeAt(1);i>=56320&&i<=57343&&(e=1024*(r-55296)+i-56320+65536)}return e}function o(t){var e=s(t);return e>=127462&&e<=127487}var l=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)};l.isModifier=function(t,e){var r=t.toString(16)+e.toString(16);return-1!==i.indexOf(r)},l.isZeroWidthJoiner=function(t){return 8205===t},l.isFlagEmoji=function(t){return o(t.substr(0,2))&&o(t.substr(2,2))},l.isRegionalCode=o,l.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},l.isRegionalFlag=function(t,e){var i=s(t.substr(e,2));if(i!==r)return!1;var n=0;for(e+=2;n<5;){if((i=s(t.substr(e,2)))<917601||i>917626)return!1;n+=1,e+=2}return 917631===s(t.substr(e,2))},l.isVariationSelector=function(t){return 65039===t},l.BLACK_FLAG_CODE_POINT=r;var h={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var r,i,n=t.length,a=this.chars.length;for(e=0;e<n;e+=1){for(r=0,i=!1;r<a;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(i=!0),r+=1;i||(this.chars.push(t[e]),a+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=a(t),t.cache={}})),void(this.fonts=t.list);var r,i=t.list,s=i.length,o=s;for(r=0;r<s;r+=1){var l,h,c=!0;if(i[r].loaded=!1,i[r].monoCase=n(i[r].fFamily,"monospace"),i[r].sansCase=n(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin||3===i[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[r].fFamily+'"], style[f-origin="3"][f-family="'+i[r].fFamily+'"]')).length>0&&(c=!1),c){var p=createTag("style");p.setAttribute("f-forigin",i[r].fOrigin),p.setAttribute("f-origin",i[r].origin),p.setAttribute("f-family",i[r].fFamily),p.type="text/css",p.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(p)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),h=0;h<l.length;h+=1)-1!==l[h].href.indexOf(i[r].fPath)&&(c=!1);if(c){var f=createTag("link");f.setAttribute("f-forigin",i[r].fOrigin),f.setAttribute("f-origin",i[r].origin),f.type="text/css",f.rel="stylesheet",f.href=i[r].fPath,document.body.appendChild(f)}}else if("t"===i[r].fOrigin||2===i[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),h=0;h<l.length;h+=1)i[r].fPath===l[h].src&&(c=!1);if(c){var u=createTag("link");u.setAttribute("f-forigin",i[r].fOrigin),u.setAttribute("f-origin",i[r].origin),u.setAttribute("rel","stylesheet"),u.setAttribute("href",i[r].fPath),e.appendChild(u)}}}else i[r].loaded=!0,o-=1;i[r].helper=a(i[r],e),i[r].cache={},this.fonts.push(i[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,r,i){for(var n=0,a=this.chars.length;n<a;){if(this.chars[n].ch===e&&this.chars[n].style===r&&this.chars[n].fFamily===i)return this.chars[n];n+=1}return("string"===typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,r,i)),t},getFontByName:function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,r){var i=this.getFontByName(e),n=t;if(!i.cache[n]){var a=i.helper;if(" "===t){var s=a.measureText("|"+t+"|"),o=a.measureText("||");i.cache[n]=(s-o)/100}else i.cache[n]=a.measureText(t)/100}return i.cache[n]*r},checkLoadedFonts:function(){var t,e,r,i=this.fonts.length,n=i;for(t=0;t<i;t+=1)this.fonts[t].loaded?n-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,r=this.fonts[t].monoCase.w,e.offsetWidth!==r?(n-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,r=this.fonts[t].sansCase.w,e.offsetWidth!==r&&(n-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==n&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return l.prototype=h,l}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}
vendor: 4,670 bytes, line 1
1function RenderableElement(){}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&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?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={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(e){return t[e]||""}}();function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,i=t.ef||[];this.effectElements=[];var n,a=i.length;for(r=0;r<a;r+=1)n=new GroupEffect(i[r],e),this.effectElements.push(n)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,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=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var r;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,n=this.data.ef.length,a=this.data.ef;for(r=0;r<n;r+=1){switch(i=null,a[r].ty){case 0:i=new SliderEffect(a[r],e,this);break;case 1:i=new AngleEffect(a[r],e,this);break;case 2:i=new ColorEffect(a[r],e,this);break;case 3:i=new PointEffect(a[r],e,this);break;case 4:case 7:i=new CheckboxEffect(a[r],e,this);break;case 10:i=new LayerIndexEffect(a[r],e,this);break;case 11:i=new MaskIndexEffect(a[r],e,this);break;case 5:i=new EffectsManager(a[r],e,this);break;default:i=new NoValueEffect(a[r],e,this)}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),r=t("effects"),i=t("shape"),n=t("text"),a=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);
vendor: 11,093 bytes, line 1
1var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=a(this):4===this.data.ty?(this.layerInterface.shapeInterface=i(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=n(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,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(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},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 t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}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(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*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(){},BaseRenderer.prototype.checkLayers=function(t){var e,r,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,i=t.length,n=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<n;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,n=this.layers,a=0,s=n.length;a<s;)n[a].ind==e&&(i[a]&&!0!==i[a]?(r.push(i[a]),i[a].setAsParent(),void 0!==n[a].parent?this.buildElementParenting(t,n[a].parent,r):t.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(t))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(t){var e,r=this.elements.length;for(e=0;e<r;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,r=t.shift();if("number"===typeof r)e=this.elements[r];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===r){e=this.elements[i];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),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=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,n,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,h,c,p,f,u=this.masksProperties,m=0,d=[],g=createElementID(),y="clipPath",v="clip-path";for(i=0;i<s;i+=1)if(("a"!==u[i].mode&&"n"!==u[i].mode||u[i].inv||100!==u[i].o.k||u[i].o.x)&&(y="mask",v="mask"),"s"!==u[i].mode&&"i"!==u[i].mode||0!==m?h=null:((h=createNS("rect")).setAttribute("fill","#ffffff"),h.setAttribute("width",this.element.comp.data.w||0),h.setAttribute("height",this.element.comp.data.h||0),d.push(h)),n=createNS("path"),"n"===u[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,u[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,u[i],3),elem:n,lastPath:""},a.appendChild(n);else{var x;if(m+=1,n.setAttribute("fill","s"===u[i].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==u[i].x.k?(y="mask",v="mask",f=PropertyFactory.getProp(this.element,u[i].x,0,null,this.element),x=createElementID(),(c=createNS("filter")).setAttribute("id",x),(p=createNS("feMorphology")).setAttribute("operator","erode"),p.setAttribute("in","SourceGraphic"),p.setAttribute("radius","0"),c.appendChild(p),a.appendChild(c),n.setAttribute("stroke","s"===u[i].mode?"#000000":"#ffffff")):(p=null,f=null),this.storedData[i]={elem:n,x:f,expan:p,lastPath:"",lastOperator:"",filterId:x,lastRadius:0},"i"===u[i].mode){l=d.length;var b=createNS("g");for(o=0;o<l;o+=1)b.appendChild(d[o]);var S=createNS("mask");S.setAttribute("mask-type","alpha"),S.setAttribute("id",g+"_"+m),S.appendChild(n),a.appendChild(S),b.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+m+")"),d.length=0,d.push(b)}else d.push(n);u[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,u[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,u[i],3),invRect:h},this.viewData[i].prop.k||this.drawPath(u[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(y),s=d.length,i=0;i<s;i+=1)this.maskElement.appendChild(d[i]);m>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}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,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)e.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.localTransforms&&!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,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)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 r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),t=1;t<e;t+=1){var i=this.localTransforms[t].matrix;r.multiply(i)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var n=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)n*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=n}}}
vendor: 4,314 bytes, line 1
1,searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,r=t.length;for(e=0;e<r;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r,i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&e.splice(0,0,n.finalTransform),n=n.comp):i=!1;var a,s=e.length;for(r=0;r<s;r+=1)a=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var n=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),n.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var i,n,a=" M"+e.v[0][0]+","+e.v[0][1];for(n=e._length,i=1;i<n;i+=1)a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&n>1&&(a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var s="";r.elem&&(e.c&&(s=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={createFilter:function(t,e){var r=createNS("filter");return r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}};return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!==typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,r,i="SourceGraphic",n=t.data.ef?t.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],e=0;e<n;e+=1){r=null;var l=t.data.ef[e].ty;registeredEffects$1[l]&&(r=new(0,registeredEffects$1[l].effect)(s,t.effectsManager.effectElements[e],t,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)),r&&this.filters.push(r)}o&&(t.globalData.defs.appendChild(s),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect$1(t,e,r){registeredEffects$1[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}
vendor: 13,657 bytes, line 1
1function RenderableDOMElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,r=this.filters.length,i=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&i.push(this.filters[e]);return i},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 e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}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),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),i=createNS("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var n=createElementID();if(r.setAttribute("id",n),r.appendChild(i),this.globalData.defs.appendChild(r),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")")}0!==this.data.bm&&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 e,r,i,n,a=this.layerId+"_"+t;if(1===t||3===t){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type",3===t?"luminance":"alpha"),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(i),this.globalData.defs.appendChild(s),featureSupport.maskType||1!==t||(s.setAttribute("mask-type","luminance"),e=createElementID(),r=filtersFactory.createFilter(e),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(i),s.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),e=createElementID(),r=filtersFactory.createFilter(e);var h=createNS("feComponentTransfer");h.setAttribute("in","SourceGraphic"),r.appendChild(h);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),h.appendChild(c),this.globalData.defs.appendChild(r);var p=createNS("rect");p.setAttribute("width",this.comp.data.w),p.setAttribute("height",this.comp.data.h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("fill","#ffffff"),p.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),l.appendChild(p),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),l.appendChild(p),n.appendChild(this.layerElement),l.appendChild(n)),this.globalData.defs.appendChild(o)}this.matteMasks[t]=a}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).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(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=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",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r<i;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===t)return void(r[i].pos=e);r.push(new ProcessedElement(t,e))},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(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,n=t.length;i<n;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,r,i){var n;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var a,s=e.length||0;for(n=0;n<s;n+=1)a=PropertyFactory.getProp(t,e[n].v,0,0,this),this.k=a.k||this.k,this.dataProps[n]={n:e[n].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;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(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2;r<i;){if(Math.abs(t[4*r]-t[4*e+2*r])>.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 t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,i,n=4*this.data.p;for(e=0;e<n;e+=1)r=e%4===0?100:255,i=Math.round(this.prop.v[e]*r),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(n=this.prop.v.length,e=4*this.data.p;e<n;e+=1)r=e%2===0?100:1,i=e%2===0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n,a,s,o=[];for(s=4*e.g.p,a=0;a<s;a+=4)n=createNS("stop"),i.appendChild(n),o.push(n);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var h=createNS(1===t.t?"linearGradient":"radialGradient");h.setAttribute("id",o),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),n=t.g.k.k[0].s?t.g.k.k[
vendor: 7,305 bytes, line 1
10].s.length:t.g.k.k.length;var c=this.stops;for(i=4*t.g.p;i<n;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(r),c.push(r);s.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===t.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&s.setAttribute("stroke-miterlimit",t.ml)),this.of=h,this.ms=a,this.ost=c,this.maskId=l,e.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,r,i){if(0===e)return"";var n,a=t.o,s=t.i,o=t.v,l=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(n=1;n<e;n+=1)l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(s[n][0],s[n][1])+" "+i.applyToPointStringified(o[n][0],o[n][1]);return r&&e&&(l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(s[0][0],s[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function r(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function n(r,i,n){var a,s,o,l,h,c,p,f,u,m,d=i.styles.length,g=i.lvl;for(c=0;c<d;c+=1){if(l=i.sh._mdf||n,i.styles[c].lvl<g){for(f=e.reset(),u=g-i.styles[c].lvl,m=i.transformers.length-1;!l&&u>0;)l=i.transformers[m].mProps._mdf||l,u-=1,m-=1;if(l)for(u=g-i.styles[c].lvl,m=i.transformers.length-1;u>0;)f.multiply(i.transformers[m].mProps.v),u-=1,m-=1}else f=t;if(s=(p=i.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(h=p.shapes[a])&&h._length&&(o+=buildShapeString(h,h._length,h.c,f));i.caches[c]=o}else o=i.caches[c];i.styles[c].d+=!0===r.hd?"":o,i.styles[c]._mdf=l||i.styles[c]._mdf}}function a(t,e,r){var i=e.style;(e.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function s(t,e,r){o(t,e,r),l(0,e,r)}function o(t,e,r){var i,n,a,s,o,l=e.gf,h=e.g._hasOpacity,c=e.s.v,p=e.e.v;if(e.o._mdf||r){var f="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(f,e.o.v)}if(e.s._mdf||r){var u=1===t.t?"x1":"cx",m="x1"===u?"y1":"cy";l.setAttribute(u,c[0]),l.setAttribute(m,c[1]),h&&!e.g._collapsable&&(e.of.setAttribute(u,c[0]),e.of.setAttribute(m,c[1]))}if(e.g._cmdf||r){i=e.cst;var d=e.g.c;for(a=i.length,n=0;n<a;n+=1)(s=i[n]).setAttribute("offset",d[4*n]+"%"),s.setAttribute("stop-color","rgb("+d[4*n+1]+","+d[4*n+2]+","+d[4*n+3]+")")}if(h&&(e.g._omdf||r)){var g=e.g.o;for(a=(i=e.g._collapsable?e.cst:e.ost).length,n=0;n<a;n+=1)s=i[n],e.g._collapsable||s.setAttribute("offset",g[2*n]+"%"),s.setAttribute("stop-opacity",g[2*n+1])}if(1===t.t)(e.e._mdf||r)&&(l.setAttribute("x2",p[0]),l.setAttribute("y2",p[1]),h&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(c[0]-p[0],2)+Math.pow(c[1]-p[1],2)),l.setAttribute("r",o),h&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.s._mdf||e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(c[0]-p[0],2)+Math.pow(c[1]-p[1],2)));var y=Math.atan2(p[1]-c[1],p[0]-c[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var x=o*v,b=Math.cos(y+e.a.v)*x+c[0],S=Math.sin(y+e.a.v)*x+c[1];l.setAttribute("fx",b),l.setAttribute("fy",S),h&&!e.g._collapsable&&(e.of.setAttribute("fx",b),e.of.setAttribute("fy",S))}}function l(t,e,r){var i=e.style,n=e.d;n&&(n._mdf||r)&&n.dashStr&&(i.pElem.setAttribute("stroke-dasharray",n.dashStr),i.pElem.setAttribute("stroke-dashoffset",n.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function LetterProps(t,e,r,i,n,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=n,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,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)}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 t,e,r,i,n=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(i=this.stylesList[r],o=!1,s.length=0,t=0;t<n;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(s.push(e),o=e._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),n=i.pElem;return"st"===t.ty?r=new SVGStrokeStyleData(this,t,i):"fl"===t.ty?r=new SVGFillStyleData(this,t,i):"gf"===t.ty||"gs"===t.ty?(r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),n.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===t.ty&&(r=new SVGNoStyleData(this,t,i)),"st"!==t.ty&&"gs"!==t.ty||(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),n.setAttribute("fill-opacity","0"),1===t.lj&&n.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&n.setAttribute("fill-rule","evenodd"),t.ln&&n.setAttribute("id",t.ln),t.cl&&n.setAttribute("class",t.cl),t.bm&&(n.style["mix-blend-mode"]=getBlendM
vendor: 29,698 bytes, line 1
1ode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var n=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,i,this));return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)-1!==r.indexOf(this.stylesList[e])||this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,n,a,s){var o,l,h,c,p,f,u=[].concat(a),m=t.length-1,d=[],g=[];for(o=m;o>=0;o-=1){if((f=this.searchProcessedElement(t[o]))?e[o]=r[f-1]:t[o]._render=s,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)f?e[o].style.closed=t[o].hd:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),d.push(e[o].style);else if("gr"===t[o].ty){if(f)for(h=e[o].it.length,l=0;l<h;l+=1)e[o].prevViewData[l]=e[o].it[l];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,n+1,u,s),t[o]._render&&e[o].gr.parentNode!==i&&i.appendChild(e[o].gr)}else"tr"===t[o].ty?(f||(e[o]=this.createTransformElement(t[o],i)),c=e[o].transform,u.push(c)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(f||(e[o]=this.createShapeElement(t[o],u,n)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(f?(p=e[o]).closed=!1:((p=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=p,this.shapeModifiers.push(p)),g.push(p)):"rp"===t[o].ty&&(f?(p=e[o]).closed=!0:(p=ShapeModifiers.getModifier(t[o].ty),e[o]=p,p.init(this,t,o,e),this.shapeModifiers.push(p),s=!1),g.push(p));this.addProcessedElement(t[o],o+1)}for(m=d.length,o=0;o<m;o+=1)d[o].closed=!0;for(m=g.length,o=0;o<m;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,r,i,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,s=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,s=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,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(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var n=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)a=r!==this.keysIndex?this.effectsSequence[i](a,a.t):this.effectsSequence[i](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&!(r===i-1||t[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,i=[],n=0,a=t.length,s=!1,o=!1,l="";n<a;)s=o,o=!1,e=t.charCodeAt(n),l=t.charAt(n),FontManager.isCombinedCharacter(e)?s=!0:e>=55296&&e<=56319?FontManager.isRegionalFlag(t,n)?l=t.substr(n,14):(r=t.charCodeAt(n+1))>=56320&&r<=57343&&(FontManager.isModifier(e,r)?(l=t.substr(n,2),s=!0):l=FontManager.isFlagEmoji(t.substr(n,4))?t.substr(n,4):t.substr(n,2)):e>56319?(r=t.charCodeAt(n+1),FontManager.isVariationSelector(e)&&(s=!0)):FontManager.isZeroWidthJoiner(e)&&(s=!0,o=!0),s?(i[i.length-1]+=l,s=!1):i.push(l),n+=l.length;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,n,a,s,o,l=this.elem.globalData.fontManager,h=this.data,c=[],p=0,f=h.m.g,u=0,m=0,d=0,g=[],y=0,v=0,x=l.getFontByName(t.f),b=0,S=getFontProperties(x);t.fWeight=S.weight,t.fStyle=S.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var P,C=t.tr/1e3*t.finalSize;if(t.sz)for(var E,A,_=!0,T=t.sz[0],M=t.sz[1];_;){E=0,y=0,r=(A=this.buildFinalText(t.t)).length,C=t.tr/1e3*t.finalSize;var w=-1;for(e=0;e<r;e+=1)P=A[e].charCodeAt(0),i=!1," "===A[e]?w=e:13!==P&&3!==P||(y=0,i=!0,E+=t.finalLineHeight||1.2*t.finalSize),l.chars?(o=l.getCharData(A[e],x.fStyle,x.fFamily),b=i?0:o.w*t.finalSize/100):b=l.measureText(A[e],t.f,t.finalSize),y+b>T&&" "!==A[e]?(-1===w?r+=1:e=w,E+=t.finalLineHeight||1.2*t.finalSize,A.splice(e,w===e?1:0,"\r"),w=-1,y=0):(y+=b,y+=C);E+=x.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&M<E?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=A,r=t.finalText.length,_=!1)}y=-C,b=0;var k,D=0;for(e=0;e<r;e+=1)if(i=!1,13===(P=(k=t.finalText[e]).charCodeAt(0))||3===P?(D=0,g.push(y),v=y>v?y:v,y=-2*C,n="",i=!0,d+=1):n=k,l.chars?(o=l.getCharData(k,x.fStyle,l.getFontByName(t.f).fFamily),b=i?0:o.w*t.finalSize/100):b=l.measureText(n,t.f,t.finalSize)," "===k?D+=b+C:(y+=b+C+D,D=0),c.push({l:b,an:b,add:u,n:i,anIndexes:[],val:n,line:d,animatorJustifyOffset:0}),2==f){if(u+=b,""===n||" "===n||e===r-1){for(""!==n&&" "!==n||(u-=b);m<=e;)c[m].an=u,c[m].ind=p,c[m].extra=b,m+=1;p+=1,u=0}}else if(3==f){if(u+=b,""===n||e===r-1){for(""===n&&(u-=b);m<=e;)c[m].an=u,c[m].ind=p,c[m].extra=b,m+=1;u=0,p+=1}}else c[p].ind=p,c[p].extra=0,p+=1;if(t.l=c,v=y>v?y:v,g.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var F,I,R,V,B=h.a;s=B.length;var L=[];for(a=0;a<s;a+=1){for((F=B[a]).a.sc&&(t.strokeColorAnim=!0),F.a.sw&&(t.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(t.fillColorAnim=!0),V=0,R=F.s.b,e=0;e<r;e+=1)(I=c[e]).anIndexes[a]=V,(1==R&&""!==I.val||2==R&&""!==I.val&&" "!==I.val||3==R&&(I.n||" "==I.val||e==r-1)||4==R&&(I.n||e==r-1))&&(1===F.s.rn&&L.push(V),V+=1);h.a[a].s.totalChars=V;var N,O=-1;if(1===F.s.rn)for(e=0;e<r;e+=1)O!=(I=c[e]).anIndexes[a]&&(O=I.anIndexes[a],N=L.splice(Math.floor(Math.random()*L.length),1)[0]),I.anIndexes[a]=N}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=x.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var n=0,a=0,s=1,o=1;this.ne.v>0?n=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(n,a,s,o).get,h=0,c=this.finalS,p=this.finalE,f=this.data.sh;if(2===f)h=l(h=p===c?i>=p?1:0:t(0,e(.5/(p-c)+(i-c)/(p-c),1)));else if(3===f)h=l(h=p===c?i>=p?0:1:1-t(0,e(.5/(p-c)+(i-c)/(p-c),1)));else if(4===f)p===c?h=0:(h=t(0,e(.5/(p-c)+(i-c)/(p-c),1)))<.5?h*=2:h=1-2*(h-.5),h=l(h);else if(5===f){if(p===c)h=0;else{var u=p-c,m=-u/2+(i=e(t(0,i+.5-c),p-c)),d=u/2;h=Math.sqrt(1-m*m/(d*d))}h=l(h)}else 6===f?(p===c?h=0:(i=e(t(0,i+.5-c),p-c),h=(1+Math.cos(Math.PI+2*Math.PI*i/(p-c)))/2),h=l(h)):(i>=r(c)&&(h=t(0,e(i-c<0?e(p,1)-(c-i):p-i,1))),h=l(h));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;h<y?h=0:(h=(h-y)/g)>1&&(h=1)}return h*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,n=this.e.v/e+r;if(i>n){var a=i;i=n,n=a}this.finalS=i,this.finalE=n}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},n=PropertyFactory.getProp,a=e.a;this.a={r:a.r?n(t,a.r,0,degToRads,r):i,rx:a.rx?n(t,a.rx,0,degToRads,r):i,ry:a.ry?n(t,a.ry,0,degToRads,r):i,sk:a.sk?n(t,a.sk,0,degToRads,r):i,sa:a.sa?n(t,a.sa,0,degToRads,r):i,s:a.s?n(t,a.s,1,.01,r):i,a:a.a?n(t,a.a,1,0,r):i,o:a.o?n(t,a.o,0,.01,r):i,p:a.p?n(t,a.p,1,0,r):i,sw:a.sw?n(t,a.sw,0,0,r):i,sc:a.sc?n(t,a.sc,1,0,r):i,fc:a.fc?n(t,a.fc,1,0,r):i,fh:a.fh?n(t,a.fh,0,0,r):i,fs:a.fs?n(t,a.fs,0,.01,r):i,fb:a.fb?n(t,a.fb,0,.01,r):i,t:a.t?n(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,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(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,n,a,s,o,l,h,c,p,f,u,m,d,g,y,v,x,b,S=this._moreOptions.alignment.v,P=this._animatorsData,C=this._textData,E=this.mHelper,A=this._renderType,_=this.renderedLetters.length,T=t.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var M,w=b.v;for(this._pathData.r.v&&(w=w.reverse()),s={tLength:0,segments:[]},a=w._length-1,y=0,n=0;n<a;n+=1)M=bez.buildBezierData(w.v[n],w.v[n+1],[w.o[n][0]-w.v[n][0],w.o[n][1]-w.v[n][1]],[w.i[n+1][0]-w.v[n+1][0],w.i[n+1][1]-w.v[n+1][1]]),s.tLength+=M.segmentLength,s.segments.push(M),y+=M.segmentLength;n=a,b.v.c&&(M=bez.buildBezierData(w.v[n],w.v[0],[w.o[n][0]-w.v[n][0],w.o[n][1]-w.v[n][1]],[w.i[0][0]-w.v[0][0],w.i[0][1]-w.v[0][1]]),s.tLength+=M.segmentLength,s.segments.push(M),y+=M.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,f=0,p=1,h=0,c=!0,d=s.segments,o<0&&b.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),p=(m=d[f=d.length-1].points).length-1;o<0;)o+=m[p].partialLength,(p-=1)<0&&(p=(m=d[f-=1].points).length-1);u=(m=d[f].points)[p-1],g=(l=m[p]).partialLength}a=T.length,r=0,i=0;var k,D,F,I,R,V=1.2*t.finalSize*.714,B=!0;F=P.length;var L,N,O,G,z,H,j,Z,q,W,Y,$,X=-1,J=o,K=f,U=p,Q=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,it=0,nt=2===t.j?-.5:-1,at=0,st=!0;for(n=0;n<a;n+=1)if(T[n].n){for(rt&&(rt+=it);at<n;)T[at].animatorJustifyOffset=rt,at+=1;rt=0,st=!0}else{for(D=0;D<F;D+=1)(k=P[D].a).t.propType&&(st&&2===t.j&&(it+=k.t.v*nt),(R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars)).length?rt+=k.t.v*R[0]*nt:rt+=k.t.v*R*nt);st=!1}for(rt&&(rt+=it);at<n;)T[at].animatorJustifyOffset=rt,at+=1}for(n=0;n<a;n+=1){if(E.reset(),G=1,T[n].n)r=0,i+=t.yOffset,i+=B?1:0,o=J,B=!1,this._hasMaskedPath&&(p=U,u=(m=d[f=K].points)[p-1],g=(l=m[p]).partialLength,h=0),tt="",Y="",q="",$="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==T[n].line){switch(t.j){case 1:o+=y-t.lineWidths[T[n].line];break;case 2:o+=(y-t.lineWidths[T[n].line])/2}Q=T[n].line}X!==T[n].ind&&(T[X]&&(o+=T[X].extra),o+=T[n].an/2,X=T[n].ind),o+=S[0]*T[n].an*.005;var ot=0;for(D=0;D<F;D+=1)(k=P[D].a).p.propType&&((R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars)).length?ot+=k.p.v[0]*R[0]:ot+=k.p.v[0]*R),k.a.propType&&((R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars)).length?ot+=k.a.v[0]*R[0]:ot+=k.a.v[0]*R);for(c=!0,this._pathData.a.v&&(o=.5*T[0].an+(y-this._pathData.f.v-.5*T[0].an-.5*T[T.length-1].an)*X/(a-1),o+=this._pathData.f.v);c;)h+g>=o+ot||!m?(v=(o+ot-h)/l.partialLength,N=u.point[0]+(l.point[0]-u.point[0])*v,O=u.point[1]+(l.point[1]-u.point[1])*v,E.translate(-S[0]*T[n].an*.005,-S[1]*V*.01),c=!1):m&&(h+=l.partialLength,(p+=1)>=m.length&&(p=0,d[f+=1]?m=d[f].points:b.v.c?(p=0,m=d[f=0].points):(h-=l.partialLength,m=null)),m&&(u=l,g=(l=m[p]).partialLength));L=T[n].an/2-T[n].add,E.translate(-L,0,0)}else L=T[n].an/2-T[n].add,E.translate(-L,0,0),E.translate(-S[0]*T[n].an*.005,-S[1]*V*.01,0);for(D=0;D<F;D+=1)(k=P[D].a).t.propType&&(R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?R.length?o+=k.t.v*R[0]:o+=k.t.v*R:R.length?r+=k.t.v*R[0]:r+=k.t.v*R));for(t.strokeWidthAnim&&(H=t.sw||0),t.strokeColorAnim&&(z=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(j=[t.fc[0],t.fc[1],t.fc[2]]),D=0;D<F;D+=1)(k=P[D].a).a.propType&&((R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars)).length?E.translate(-k.a.v[0]*R[0],-k.a.v[1]*R[1],k.a.v[2]*R[2]):E.translate(-k.a.v[0]*R,-k.a.v[1]*R,k.a.v[2]*R));for(D=0;D<F;D+=1)(k=P[D].a).s.propType&&((R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars)).length?E.scale(1+(k.s.v[0]-1)*R[0],1+(k.s.v[1]-1)*R[1],1):E.scale(1+(k.s.v[0]-1)*R,1+(k.s.v[1]-1)*R,1));for(D=0;D<F;D+=1){if(k=P[D].a,R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars),k.sk.propType&&(R.length?E.skewFromAxis(-k.sk.v*R[0],k.sa.v*R[1]):E.skewFromAxis(-k.sk.v*R,k.sa.v*R)),k.r.propType&&(R.length?E.rotateZ(-k.r.v*R[2]):E.rotateZ(-k.r.v*R)),k.ry.propType&&(R.length?E.rotateY(k.ry.v*R[1]):E.rotateY(k.ry.v*R)),k.rx.propType&&(R.length?E.rotateX(k.rx.v*R[0]):E.rotateX(k.rx.v*R)),k.o.propType&&(R.length?G+=(k.o.v*R[0]-G)*R[0]:G+=(k.o.v*R-G)*R),t.strokeWidthAnim&&k.sw.propType&&(R.length?H+=k.sw.v*R[0]:H+=k.sw.v*R),t.strokeColorAnim&&k.sc.propType)for(Z=0;Z<3;Z+=1)R.length?z[Z]+=(k.sc.v[Z]-z[Z])*R[0]:z[Z]+=(k.sc.v[Z]-z[Z])*R;if(t.fillColorAnim&&t.fc){if(k.fc.propType)for(Z=0;Z<3;Z+=1)R.length?j[Z]+=(k.fc.v[Z]-j[Z])*R[0]:j[Z]+=(k.fc.v[Z]-j[Z])*R;k.fh.propType&&(j=R.length?addHueToRGB(j,k.fh.v*R[0]):addHueToRGB(j,k.fh.v*R)),k.fs.propType&&(j=R.length?addSaturationToRGB(j,k.fs.v*R[0]):addSaturationToRGB(j,k.fs.v*R)),k.fb.propType&&(j=R.length?addBrightnessToRGB(j,k.fb.v*R[0]):addBrightnessToRGB(j,k.fb.v*R))}}for(D=0;D<F;D+=1)(k=P[D].a).p.propType&&(R=P[D].s.getMult(T[n].anIndexes[D],C.a[D].s.totalChars),this._hasMaskedPath?R.length?E.translate(0,k.p.v[1]*R[0],-k.p.v[2]*R[1]):E.translate(0,k.p.v[1]*R,-k.p.v[2]*R):R.length?E.translate(k.p.v[0]*R[0],k.p.v[1]*R[1],-k.p.v[2]*R[2]):E.translate(k.p.v[0]*R,k.p.v[1]*R,-k.p.v[2]*R));if(t.strokeWidthAnim&&(q=H<0?0:H),t.strokeColorAnim&&(W="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),t.fillColorAnim&&t.fc&&(Y="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),this._hasMaskedPath){if(E.translate(0,-t.ls),E.translate(0,S[1]*V*.01+i,0),this._pathData.p.v){x=(l.point[1]-u.point[1])/(l.point[0]-u.point[0]);var lt=180*Math.atan(x)/Math.PI;l.point[0]<u.point[0]&&(lt+=180),E.rotate(-lt*Math.PI/180)}E.translate(N,O,0),o-=S[0]*T[n].an*.005,T[n+1]&&X!==T[n+1].ind&&(o+=T[n].an/2,o+=.001*t.tr*t.finalSize)}else{switch(E.translate(r,i,0),t.ps&&E.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:E.translate(T[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[n].line]),0,0);break;case 2:E.translate(T[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[n].line])/2,0,0)}E.translate(0,-t.ls),E.translate(L,0,0),E.translate(S[0]*T[n].an*.005,S[1]*V*.01,0),r+=T[n].l+.001*t.tr*t.finalSize}"html"===A?tt=E.toCSS():"svg"===A?tt=E.to2dCSS():et=[E.props[0],E.props[1],E.props[2],E.props[3],E.props[4],E.props[5],E.props[6],E.props[7],E.props[8],E.props[9],E.props[10],E.props[11],E.props[12],E.props[13],E.props[14],E.props[15]],$=G}_<=n?(I=new LetterProps($,q,W,Y,tt,et),this.renderedLetters.push(I),_+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[n],this.lettersChangedFlag=I.update($,q,W,Y,tt,et)||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),ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var r,i,n=e.length,a="";for(r=0;r<n;r+=1)"sh"===e[r].ty&&(i=e[r].ks.k,a+=buildShapeString(i,i.i.length,!0,t));return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,n){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(i,n,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},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(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function ISolidElement(t,e,r){this.initElement(t,e,r)}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),n=createElementID();i.setAttribute("id",n),i.textContent=e.title,this.svgElement.appendChild(i),r+=n}if(e&&e.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}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(t){for(var e=0,r=t.length,i=[],n="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(n),n=""):n+=t[e],e+=1;return i.push(n),i},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var n=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;e=o.length;var h=this.mHelper,c=this.data.singleShape,p=0,f=0,u=!0,m=.001*r.tr*r.finalSize;if(!c||l||r.sz){var d,g=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!c||0===t){if(s=g>t?this.textSpans[t].span:createNS(l?"g":"text"),g<=t){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=s,l){var y=createNS("g");s.appendChild(y),this.textSpans[t].childSpan=y}this.textSpans[t].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(h.reset(),c&&(o[t].n&&(p=-m,f+=r.yOffset,f+=u?1:0,u=!1),this.applyTextPropertiesToMatrix(r,h,o[t].line,p,f),p+=o[t].l||0,p+=m),l){var v;if(1===(d=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(d.data,this.globalData,this);else{var x=emptyShapeData;d.data&&d.data.shapes&&(x=this.buildShapeData(d.data,r.finalSize)),v=new SVGShapeElement(x,this.globalData,this)}if(this.textSpans[t].glyph){var b=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[t].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[t].childSpan.appendChild(v.layerElement),1===d.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else c&&s.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),s.textContent=o[t].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&s&&s.setAttribute("d","")}else{var S=this.textContainer,P="start";switch(r.j){case 1:P="end";break;case 2:P="middle";break;default:P="start"}S.setAttribute("text-anchor",P),S.setAttribute("letter-spacing",m);var C=this.buildTextContents(r.finalText);for(e=C.length,f=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(s=this.textSpans[t].span||createNS("tspan")).textContent=C[t],s.setAttribute("x",0),s.setAttribute("y",f),s.style.display="inherit",S.appendChild(s),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=s,f+=r.finalLineHeight;this.layerElement.appendChild(S)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=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 t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._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)){var t,e;this._sizeChanged=!0;var r,i,n,a=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(e=s.length,t=0;t<e;t+=1)s[t].n||(r=a[t],i=this.textSpans[t].span,(n=this.textSpans[t].glyph)&&n.renderFrame(),r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("op
1acity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!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),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){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 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.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),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,r=this.layers.length;for(e=0;e<r;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);if(e[t]=r,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt){var i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var n=e[i].getMatte(this.layers[t].tt);r.setMatte(n)}else this.buildItem(i),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){var i="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,n=this.elements[i].getMatte(this.layers[e].tt);t.setMatte(n);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var i,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement()&&
vendor: 3,648 bytes, line 1
1(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}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 t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,i="_";for(e=0;e<r;e+=1)i+=t[e].transform.key+"_";var n=this.sequences[i];return n||(n={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=n,this.sequenceList.push(n)),n},processSequence:function(t,e){for(var r=0,i=t.transforms.length,n=e;r<i&&!e;){if(t.transforms[r].transform.mProps._mdf){n=!0;break}r+=1}if(n)for(t.finalTransform.reset(),r=i-1;r>=0;r-=1)t.finalTransform.multiply(t.transforms[r].transform.mProps.v);t._mdf=n},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,r=null,i=null;function n(){e||(i=function(){var e=createNS("svg"),r=createNS("filter"),i=createNS("feColorMatrix");return r.setAttribute("id",t),i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.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"),r.appendChild(i),e.appendChild(r),e.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(e.style.display="none"),e}(),document.body.appendChild(i),e=createTag("canvas"),(r=e.getContext("2d")).filter="url(#"+t+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:n,get:function(i){return e||n(),e.width=i.width,e.height=i.height,r.filter="url
1(#"+t+")",e}}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var r=createTag("canvas");return r.width=t,r.height=e,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas},registeredEffects={};function CVEffects(t){var e,r,i=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<i;e+=1){r=null;var n=t.data.ef[e].ty;registeredEffects[n]&&(r=new(0,registeredEffects[n].effect)(t.effectsManager.effectElements[e],t)),r&&this.filters.push(r)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){var r;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i=this.masksProperties.length,n=!1;for(r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(n=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,r=this.filters.length,i=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&i.push(this.filters[e]);return i},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,i,n=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),t=0;t<s;t+=1)if("n"!==this.masksProperties[t].mode){var o;this.masksProperties[t].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),i=this.viewData[t].v,e=n.applyToPointArray(i.v[0][0],i.v[0][1],0),a.moveTo(e[0],e[1]);var l=i._length;for(o=1;o<l;o+=1)r=n.applyToTriplePoints(i.o[o-1],i.i[o],i.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=n.applyToTriplePoints(i.o[o-1],i.i[0],i.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n,a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var s,o=r.length;for(n=0;n<o;n+=1)r[n].closed||(s={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(s),r[n].elements.push(s
vendor: 4,451 bytes, line 1
1))}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVTextElement(t,e,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(t,e,r)}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CanvasRendererBase(){}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(){var t;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,t=0;t<15;t+=1){var e=new CanvasContext;this.stack[t]=e}this._length=15,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=""}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.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))}function HBaseElement(){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var
1n,a=t.ks.or.k.length;for(n=0;n<a;n+=1)t.ks.or.k[n].to=null,t.ks.or.k[n
vendor: 7,056 bytes, line 1
1].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.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"}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||void 0===e.runExpressions||e.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"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r),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 e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},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].getContext("2d");this.clearCanvas(t),t.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],e=t.getContext("2d");if(this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,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&&(1!==this.data.td||t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),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,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,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(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},i={};if("fl"===t.ty||"st"===t.ty?(i.c=PropertyFactory.getProp(this,t.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])+")")):"gf"!==t.ty&&"gs"!==t.ty||(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],1==t.lj&&(r.ml=t.ml),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var
vendor: 15,411 bytes, line 1
1n=new DashProperty(this,t.d,"canvas",this);i.d=n,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,n){var a,s,o,l,h,c,p=t.length-1,f=[],u=[],m=[].concat(n);for(a=p;a>=0;a-=1){if((l=this.searchProcessedElement(t[a]))?e[a]=r[l-1]:t[a]._shouldRender=i,"fl"===t[a].ty||"st"===t[a].ty||"gf"===t[a].ty||"gs"===t[a].ty)l?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],m),f.push(e[a].style);else if("gr"===t[a].ty){if(l)for(o=e[a].it.length,s=0;s<o;s+=1)e[a].prevViewData[s]=e[a].it[s];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,i,m)}else"tr"===t[a].ty?(l||(c=this.createTransformElement(t[a]),e[a]=c),m.push(e[a]),this.addTransformToStyleList(e[a])):"sh"===t[a].ty||"rc"===t[a].ty||"el"===t[a].ty||"sr"===t[a].ty?l||(e[a]=this.createShapeElement(t[a])):"tm"===t[a].ty||"rd"===t[a].ty||"pb"===t[a].ty||"zz"===t[a].ty||"op"===t[a].ty?(l?(h=e[a]).closed=!1:((h=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=h,this.shapeModifiers.push(h)),u.push(h)):"rp"===t[a].ty&&(l?(h=e[a]).closed=!0:(h=ShapeModifiers.getModifier(t[a].ty),e[a]=h,h.init(this,t,a,e),this.shapeModifiers.push(h),i=!1),u.push(h));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),p=u.length,a=0;a<p;a+=1)u[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,i,n,a,s,o,l,h=this.stylesList.length,c=this.globalData.renderer,p=this.globalData.canvasContext;for(t=0;t<h;t+=1)if(("st"!==(o=(l=this.stylesList[t]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),a=l.elements,"st"===o||"gs"===o?(c.ctxStrokeStyle("st"===o?l.co:l.grd),c.ctxLineWidth(l.wi),c.ctxLineCap(l.lc),c.ctxLineJoin(l.lj),c.ctxMiterLimit(l.ml||0)):c.ctxFillStyle("fl"===o?l.co:l.grd),c.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&p.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,e=0;e<r;e+=1){for("st"!==o&&"gs"!==o||(p.beginPath(),l.da&&(p.setLineDash(l.da),p.lineDashOffset=l.do)),n=(s=a[e].trNodes).length,i=0;i<n;i+=1)"m"===s[i].t?p.moveTo(s[i].p[0],s[i].p[1]):"c"===s[i].t?p.bezierCurveTo(s[i].pts[0],s[i].pts[1],s[i].pts[2],s[i].pts[3],s[i].pts[4],s[i].pts[5]):p.closePath();"st"!==o&&"gs"!==o||(c.ctxStroke(),l.da&&p.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&this.globalData.renderer.ctxFill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var n,a;for(a=t,n=e.length-1;n>=0;n-=1)"tr"===e[n].ty?(a=r[n].transform,this.renderShapeTransform(t,a)):"sh"===e[n].ty||"el"===e[n].ty||"rc"===e[n].ty||"sr"===e[n].ty?this.renderPath(e[n],r[n]):"fl"===e[n].ty?this.renderFill(e[n],r[n],a):"st"===e[n].ty?this.renderStroke(e[n],r[n],a):"gf"===e[n].ty||"gs"===e[n].ty?this.renderGradientFill(e[n],r[n],a):"gr"===e[n].ty?this.renderShape(a,e[n].it,r[n].it):e[n].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,n,a=t.trNodes,s=e.paths,o=s._length;a.length=0;var l=t.transforms.finalTransform;for(n=0;n<o;n+=1){var h=s.shapes[n];if(h&&h.v){for(i=h._length,r=1;r<i;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(h.o[r-1],h.i[r],h.v[r])});1===i&&a.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&i&&(a.push({t:"c",pts:l.applyToTriplePoints(h.o[r-1],h.i[0],h.v[0])}),a.push({t:"z"}))}}t.trNodes=a}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i,n=e.style;if(!n.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var a,s=this.globalData.canvasContext,o=e.s.v,l=e.e.v;if(1===t.t)i=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var h=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),c=Math.atan2(l[1]-o[1],l[0]-o[0]),p=e.h.v;p>=1?p=.99:p<=-1&&(p=-.99);var f=h*p,u=Math.cos(c+e.a.v)*f+o[0],m=Math.sin(c+e.a.v)*f+o[1];i=s.createRadialGradient(u,m,0,o[0],o[1],h)}var d=t.g.p,g=e.g.c,y=1;for(a=0;a<d;a+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*a+1]),i.addColorStop(g[4*a]/100,"rgba("+g[4*a+1]+","+g[4*a+2]+","+g[4*a+3]+","+y+")");n.grd=i}n.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,n=e.d;n&&(n._mdf||this._isFirstFrame)&&(i.da=n.dashArray,i.do=n.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i,n,a,s,o,l,h,c,p,f,u,m,d=this.globalData.fontManager.getFontByName(t.f),g=t.l,y=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,n=t.finalText.length;var v=this.data.singleShape,x=.001*t.tr*t.finalSize,b=0,S=0,P=!0,C=0;for(i=0;i<n;i+=1){s=(a=this.globalData.fontManager.getCharData(t.finalText[i],d.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&a.data||{},y.reset(),v&&g[i].n&&(b=-x,S+=t.yOffset,S+=P?1:0,P=!1),p=(h=s.shapes?s.shapes[0].it:[]).length,y.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,y,g[i].line,b,S),u=createSizedArray(p-1);var E=0;for(c=0;c<p;c+=1)if("sh"===h[c].ty){for(l=h[c].ks.k.i.length,f=h[c].ks.k,m=[],o=1;o<l;o+=1)1===o&&m.push(y.applyToX(f.v[0][0],f.v[0][1],0),y.applyToY(f.v[0][0],f.v[0][1],0)),m.push(y.applyToX(f.o[o-1][0],f.o[o-1][1],0),y.applyToY(f.o[o-1][0],f.o[o-1][1],0),y.applyToX(f.i[o][0],f.i[o][1],0),y.applyToY(f.i[o][0],f.i[o][1],0),y.applyToX(f.v[o][0],f.v[o][1],0),y.applyToY(f.v[o][0],f.v[o][1],0));m.push(y.applyToX(f.o[o-1][0],f.o[o-1][1],0),y.applyToY(f.o[o-1][0],f.o[o-1][1],0),y.applyToX(f.i[0][0],f.i[0][1],0),y.applyToY(f.i[0][0],f.i[0][1],0),y.applyToX(f.v[0][0],f.v[0][1],0),y.applyToY(f.v[0][0],f.v[0][1],0)),u[E]=m,E+=1}v&&(b+=g[i].l,b+=x),this.textSpans[C]?this.textSpans[C].elem=u:this.textSpans[C]={elem:u},C+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,i,n,a;this.validateText(),this.canvasContext.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 s,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;e=l.length;var h,c,p=null,f=null,u=null,m=this.globalData.renderer;for(t=0;t<e;t+=1)if(!l[t].n){if((s=o[t])&&(m.save(),m.ctxTransform(s.p),m.ctxOpacity(s.o)),this.fill){for(s&&s.fc?p!==s.fc&&(m.ctxFillStyle(s.fc),p=s.fc):p!==this.values.fill&&(p=this.values.fill,m.ctxFillStyle(this.values.fill)),i=(h=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=h[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(c[n],c[n+1],c[n+2],c[n+3],c[n+4],c[n+5]);this.globalData.canvasContext.closePath(),m.ctxFill()}if(this.stroke){for(s&&s.sw?u!==s.sw&&(u=s.sw,m.ctxLineWidth(s.sw)):u!==this.values.sWidth&&(u=this.values.sWidth,m.ctxLineWidth(this.values.sWidth)),s&&s.sc?f!==s.sc&&(f=s.sc,m.ctxStrokeStyle(s.sc)):f!==this.values.stroke&&(f=this.values.stroke,m.ctxStrokeStyle(this.values.stroke)),i=(h=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=h[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(c[n],c[n+1],c[n+2],c[n+3],c[n+4],c[n+5]);this.globalData.canvasContext.closePath(),m.ctxStroke()}s&&this.globalData.renderer.restore()}},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 t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,i=t.getContext("2d"),n=this.img.width,a=this.img.height,s=n/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?e=(r=a)*o:r=(e=n)/o,i.drawImage(this.img,(n-e)/2,(a-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},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)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){1===t[0]&&0===t[1]&&0===t[4]&&1===t[5]&&0===t[12]&&0===t[13]||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,r,i){this.canvasContext.fillRect(t,e,r,i)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){this.renderConfig.clearCanvas?(t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.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=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,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(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){var r,i,n,a;
vendor: 4,561 bytes, line 1
1if(this.reset(),t?(r=t,i=e,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),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",h=l.substr(0,4),c=l.substr(4);n=r/i,(a=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===o||a<n&&"slice"===o?(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)),this.transformCanvas.tx="xMid"===h&&(a<n&&"meet"===o||a>n&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===h&&(a<n&&"meet"===o||a>n&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===c&&(a>n&&"meet"===o||a<n&&"slice"===o)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===c&&(a>n&&"meet"===o||a<n&&"slice"===o)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(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(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?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();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e,r=this.stack[this.cArrPos],i=r.transform,n=this.cTr.props;for(e=0;e<16;e+=1)n[e]=i[e];
vendor: 10,725 bytes, line 1
1if(t){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),(t||-1!==r.opacity&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,i=this.stack[this.cArrPos];for(r=0;r<16;r+=1)i.transform[r]=e[r];this.cArrPos+=1;var n=this.stack[this.cArrPos];n.opacity=i.opacity,n.fillStyle=i.fillStyle,n.strokeStyle=i.strokeStyle,n.lineWidth=i.lineWidth,n.lineCap=i.lineCap,n.lineJoin=i.lineJoin,n.miterLimit=i.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var r=e.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,r,i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,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()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(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(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},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),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}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,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,i,n,a,s,o=t.sh.v,l=t.transformers,h=o._length;if(!(h<=1)){for(r=0;r<h-1;r+=1)i=this.getTransformedPoint(l,o.v[r]),n=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(i,n,a,s,e);o.c&&(i=this.getTransformedPoint(l,o.v[r]),n=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(i,n,a,s,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,n){this.getBoundsOfCurve(t,e,r,i);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var n,a,s,o,l,h,c,p=[[t[0],i[0]],[t[1],i[1]]],f=0;f<2;++f)a=6*t[f]-12*e[f]+6*r[f],n=-3*t[f]+9*e[f]-9*r[f]+3*i[f],s=3*e[f]-3*t[f],a|=0,s|=0,0===(n|=0)&&0===a||(0===n?(o=-s/a)>0&&o<1&&p[f].push(this.calculateF(o,t,e,r,i,f)):(l=a*a-4*s*n)>=0&&((h=(-a+bmSqrt(l))/(2*n))>0&&h<1&&p[f].push(this.calculateF(h,t,e,r,i,f)),(c=(-a-bmSqrt(l))/(2*n))>0&&c<1&&p[f].push(this.calculateF(c,t,e,r,i,f))));this.shapeBoundingBox.left=bmMin.apply(null,p[0]),this.shapeBoundingBox.top=bmMin.apply(null,p[1]),this.shapeBoundingBox.right=bmMax.apply(null,p[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,p[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,n,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it?this.calculateBoundingBox(t[r].it,e):t[r]&&t[r].style&&t[r].w&&this.expandStrokeBoundingBox(t[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var r=0;if(t.keyframes){for(var i=0;i<t.keyframes.length;i+=1){var n=t.keyframes[i].s;n>r&&(r=n)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;
vendor: 18,752 bytes, line 1
1if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=n,i.webkitTransform=n}}},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 t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i,n,a=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{e.fontFamily=a.fFamily;var s=t.fWeight,o=t.fStyle;e.fontStyle=o,e.fontWeight=s}var l,h,c,p=t.l;n=p.length;var f,u=this.mHelper,m="",d=0;for(i=0;i<n;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[d]?l=this.textPaths[d]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?c=(h=this.textSpans[d]).children[0]:((h=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(l),styleDiv(h)))):this.isMasked?l=this.textPaths[d]?this.textPaths[d]:createNS("text"):this.textSpans[d]?(h=this.textSpans[d],l=this.textPaths[d]):(styleDiv(h=createTag("span")),styleDiv(l=createTag("span")),h.appendChild(l)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(t.finalText[i],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=y?y.data:null,u.reset(),g&&g.shapes&&g.shapes.length&&(f=g.shapes[0].it,u.scale(t.finalSize/100,t.finalSize/100),m=this.createPathShape(u,f),l.setAttribute("d",m)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(h),g&&g.shapes){document.body.appendChild(c);var v=c.getBBox();c.setAttribute("width",v.width+2),c.setAttribute("height",v.height+2),c.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var x=c.style,b="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";x.transform=b,x.webkitTransform=b,p[i].yOffset=v.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);h.appendChild(c)}}else if(l.textContent=p[i].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(h);var S=l.style,P="translate3d(0,"+-t.finalSize/1.2+"px,0)";S.transform=P,S.webkitTransform=P}this.isMasked?this.textSpans[d]=l:this.textSpans[d]=h,this.textSpans[d].style.display="block",this.textPaths[d]=l,d+=1}for(;d<this.textSpans.length;)this.textSpans[d].style.display="none",d+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.validateText(),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),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,i,n,a,s,o=0,l=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;for(i=h.length,r=0;r<i;r+=1)h[r].n?o+=1:(a=this.textSpans[r],s=this.textPaths[r],n=l[o],o+=1,n._mdf.m&&(this.isMasked?a.setAttribute("transform",n.m):(a.style.webkitTransform=n.m,a.style.transform=n.m)),a.style.opacity=n.o,n.sw&&n._mdf.sw&&s.setAttribute("stroke-width",n.sw),n.sc&&n._mdf.sc&&s.setAttribute("stroke",n.sc),n.fc&&n._mdf.fc&&(s.setAttribute("fill",n.fc),s.style.color=n.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();if(this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height)),this.currentBBox.w!==c.width+2||this.currentBBox.h!==c.height+2||this.currentBBox.x!==c.x-1||this.currentBBox.y!==c.y-1){this.currentBBox.w=c.width+2,this.currentBBox.h=c.height+2,this.currentBBox.x=c.x-1,this.currentBBox.y=c.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var p="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=p,t.webkitTransform=p}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r,i,n=this.comp.threeDElements.length;for(t=0;t<n;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){r=e.perspectiveElem.style,i=e.container.style;var a=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,i.transformOrigin=s,i.mozTransformOrigin=s,i.webkitTransformOrigin=s,r.transform=o,r.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||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(t=e=this.hierarchy.length-1;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var n;n=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),s=[n[0]/a,n[1]/a,n[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),h=Math.atan2(s[0],-s[2]);this.mat.rotateY(h).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 c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var p,f,u;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(p=this.comp.threeDElements[t]).type){if(c){var m=this.mat.toCSS();(u=p.container.style).transform=m,u.webkitTransform=m}this.pe._mdf&&((f=p.perspectiveElem.style).perspective=this.pe.v+"px",f.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=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",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var n,a,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],n=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||n),s+=1;n?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,n):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,i,n=createTag("div");styleDiv(n);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=n.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=o,i.webkitTransform=o}n.appendChild(a);var l={container:a,perspectiveElem:n,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==i&&(i="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==i&&(i="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(r=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;r<i;){if(e<=this.threeDElements[r].endPos){for(var n,a=this.threeDElements[r].startPos;a<e;)this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a].getBaseElement()),a+=1;n?this.threeDElements[r].container.insertBefore(t,n):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,i=e.style;i.width=t.w+"px",i.height=t.h+"px",this.resizerElem=e,styleDiv(e),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),i.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=t,this.setupGlobalData(t,n),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,r,i,n=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=n/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(t=n/this.globalData.compSize.w,e=n/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(n/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(n-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",0,1)",o.transform=o.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 t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(t=0;t<i;t+=1){var n=this.threeDElements[t].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var n=this.createComp(t[e],i,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},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(t,e){for(var r,i=0;i<e;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(t){function e(e){for(var r=0,i=t.layers.length;r<i;){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e};function _typeof$2(t){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(t)}function seedRandom(t,e){var r=this,i=256,n=e.pow(i,6),a=e.pow(2,52),s=2*a,o=255;function l(t){var e,r=t.length,n=this,a=0,s=n.i=n.j=0,l=n.S=[];for(r||(t=[r++]);a<i;)l[a]=a++;for(a=0;a<i;a++)l[a]=l[s=o&s+t[a%r]+(e=l[a])],l[s]=e;n.g=function(t){for(var e,r=0,a=n.i,s=n.j,l=n.S;t--;)e=l[a=o&a+1],r=r*i+l[o&(l[a]=l[s=o&s+e])+(l[s]=e)];return n.i=a,n.j=s,r}}function h(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function c(t,e){var r,i=[],n=_typeof$2(t);if(e&&"object"==n)for(r in t)try{i.push(c(t[r],e-1))}catch(a){}return i.length?i:"string"==n?t:t+"\0"}function p(t,e){for(var r,i=t+"",n=0;n<i.length;)e[o&n]=o&(r^=19*e[o&n])+i.charCodeAt(n++);return f(e)}function f(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(o,u,m){var d=[],g=p(c((u=!0===u?{entropy:!0}:u||{}).entropy?[o,f(t)]:null===o?function(){try{var e=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(e),f(e)}catch(s){var n=r.navigator,a=n&&n.plugins;return[+new Date,r,a,r.screen,f(t)]}}():o,3),d),y=new l(d),v=function(){for(var t=y.g(6),e=n,r=0;t<a;)t=(t+r)*i,e*=i,r=y.g(1);for(;t>=s;)t/=2,e/=2,r>>>=1;return(t+r)/e};return v.int32=function(){return 0|y.g(4)},v.quick=function(){return y.g(4)/4294967296},v.double=v,p(f(y.S),t),(u.pass||m||function(t,r,i,n){return n&&(n.S&&h(n,y),t.state=function(){return h(y,{})}),i?(e.random=t,r):t})(v,g,"global"in u?u.global:this==e,u.state)},p(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};
vendor: 4,452 bytes, line 1
1function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||e instanceof Number||"boolean"===t||"string"===t}function $bm_neg(t){var e=_typeof$1(t);if("number"===e||t instanceof Number||"boolean"===e)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,n=[];for(r=0;r<i;r+=1)n[r]=-t[r];return n}return t.propType?t.v:-t}initialize$2(BMMath);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(t,e){var r=_typeof$1(t),i=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(i,e)||"string"===r||"string"===i)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,a=t.length,s=e.length,o=[];n<a||n<s;)("number"===typeof t[n]||t[n]instanceof Number)&&("number"===typeof e[n]||e[n]instanceof Number)?o[n]=t[n]+e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}var add=sum;function sub(t,e){var r=_typeof$1(t),i=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(i,e))return"string"===r&&(t=parseInt(t,10)),"string"===i&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,a=t.length,s=e.length,o=[];n<a||n<s;)("number"===typeof t[n]||t[n]instanceof Number)&&("number"===typeof e[n]||e[n]instanceof Number)?o[n]=t[n]-e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}function mul(t,e){var r,i,n,a=_typeof$1(t),s=_typeof$1(e);if(isNumerable(a,t)&&isNumerable(s,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]*e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t*e[i];return r}return 0}function div(t,e){var r,i,n,a=_typeof$1(t),s=_typeof$1(e);if(isNumerable(a,t)&&isNumerable(s,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]/e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t/e[i];return r}return 0}function mod(t,e){return"string"===typeof t&&(t=parseInt(t,10)),"string"===typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"===typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var i=Math.min(t.length,e.length),n=0;for(r=0;r<i;r+=1)n+=Math.pow(e[r]-t[r],2);return Math.sqrt(n)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,i=t[0],n=t[1],a=t[2],s=Math.max(i,n,a),o=Math.min(i,n,a),l=(s+o)/2;if(s===o)e=0,r=0;else{var h=s-o;switch(r=l>.5?h/(2-s-o):h/(s+o),s){case i:e=(n-a)/h+(n<a?6:0);break;case n:e=(a-i)/h+2;break;case a:e=(i-n)/h+4}e/=6}return[e,r,l,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,i,n=t[0],a=t[1],s=t[2];if(0===a)e=s,i=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;e=hue2rgb(l,o,n+1/3),r=hue2rgb(l,o,n),i=hue2rgb(l,o,n-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,n){if(void 0!==i&&void 0!==n||(i=e,n=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return i;if(t>=r)return n;var s,o=r===e?0:(t-e)/(r-e);if(!i.length)return i+(n-i)*o;var l=i.length,h=createTypedArray("float32",l);for(s=0;s<l;s+=1)h[s]=i[s]+(n[s]-i[s])*o;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var n=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)n[r]=t[r]+a*(e[r]-t[r]);return n}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}
vendor: 6,040 bytes, line 1
1function createPath(t,e,r,i){var n,a=t.length,s=shapePool.newElement();s.setPathData(!!i,a);var o,l,h=[0,0];for(n=0;n<a;n+=1)o=e&&e[n]?e[n]:h,l=r&&r[n]?r[n]:h,s.setTripleAt(t[n][0],t[n][1],l[0]+t[n][0],l[1]+t[n][1],o[0]+t[n][0],o[1]+t[n][1],n,!0);return s}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty._name=elem.data.nm,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||!0!==this.data.hd,wiggle=function(t,e){var r,i,n=this.pv.length?this.pv.length:1,a=createTypedArray("float32",n),s=Math.floor(5*time);for(r=0,i=0;r<s;){for(i=0;i<n;i+=1)a[i]+=-e+2*e*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),h=createTypedArray("float32",n);if(n>1){for(i=0;i<n;i+=1)h[i]=this.pv[i]+a[i]+(-e+2*e*BMMath.random())*l;return h}return this.pv+a[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}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)),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),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(t,e,r,i,n){return applyEase(easeOutBez,t,e,r,i,n)}function easeIn(t,e,r,i,n){return applyEase(easeInBez,t,e,r,i,n)}function ease(t,e,r,i,n){return applyEase(easeInOutBez,t,e,r,i,n)}function applyEase(t,e,r,i,n,a){void 0===n?(n=r,a=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var s=t(e);if($bm_isInstanceOfArray(n)){var o,l=n.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=(a[o]-n[o])*s+n[o];return h}return(a-n)*s+n}function nearestKey(t){var e,r,i,n=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(e=0;e<n-1;e+=1){if(t===data.k[e].t){r=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=n.length,r=0;r<i;r+=1)e[r]=n[r],e.value[r]=n[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"===typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"===typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(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)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!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)}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,numKe
vendor: 6,837 bytes, line 1
1ys,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 t={initExpressions:function(t){var e=0,r=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0===(e-=1)&&function(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}}};return t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var r,i=createSizedArray(e.viewData.length),n=e.viewData.length;for(r=0;r<n;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<n;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(i){if(!t.numKeys)return 0;var n="";n="s"in e.keyframes[i-1]?e.keyframes[i-1].s:"e"in e.keyframes[i-2]?e.keyframes[i-2].e:e.keyframes[i-2].s;var a="unidimensional"===r?new Number(n):Object.assign({},n);return a.time=e.keyframes[i-1].t/e.elem.comp.globalData.frameRate,a.value="unidimensional"===r?n[0]:n,a},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function i(){return t}return function(n){return n?"unidimensional"===n.propType?function(e){e&&"pv"in e||(e=t);var i=1/e.mult,n=e.pv*i,a=new Number(n);return a.value=n,r(a,e,"unidimensional"),function(){return e.k&&e.getValue(),n=e.v*i,a.value!==n&&((a=new Number(n)).value=n,a[0]=n,r(a,e,"unidimensional")),a}}(n):function(t){t&&"pv"in t||(t=e);var i=1/t.mult,n=t.data&&t.data.l||t.pv.length,a=createTypedArray("float32",n),s=createTypedArray("float32",n);return a.value=s,r(a,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<n;e+=1)s[e]=t.v[e]*i,a[e]=s[e];return a}}(n):i}}(),TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,i,n,a;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?a=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(n=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[r(),i(),n?n():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function n(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function s(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function o(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(h){var c;function p(t){switch(t){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 c;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=t,p.invertPoint=s,p.applyPoint=a,p.toWorld=r,p.toWorldVec=e,p.fromWorld=n,p.fromWorldVec=i,p.toComp=r,p.fromComp=o,p.sampleImage=l,p.sourceRectAtTime=h.sourceRectAtTime.bind(h),p._elem=h;
vendor: 5,103 bytes, line 1
1var f=getDescriptor(c=TransformExpressionInterface(h.finalTransform.mProp),"anchorPoint");return Object.defineProperties(p,{hasParent:{get:function(){return h.hierarchy.length}},parent:{get:function(){return h.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:f,anchor_point:f,transform:{get:function(){return c}},active:{get:function(){return h.isInRange}}}),p.startTime=h.data.st,p.index=h.data.ind,p.source=h.data.refId,p.height=0===h.data.ty?h.data.h:100,p.width=0===h.data.ty?h.data.w:100,p.inPoint=h.data.ip/h.comp.globalData.frameRate,p.outPoint=h.data.op/h.comp.globalData.frameRate,p._name=h.data.nm,p.registerMaskInterface=function(t){p.mask=new MaskManagerInterface(t,h)},p.registerEffectsInterface=function(t){p.effect=t},p}}(),propertyGroupFactory=function(t,e){return function(r){return(r=void 0===r?1:r)<=0?t:e(r-1)}},PropertyInterface=function(t,e){var r={_name:t};return function(t){return(t=void 0===t?1:t)<=0?r:e(t-1)}},EffectsExpressionInterface=function(){function t(r,i,n,a){function s(t){for(var e=r.ef,i=0,n=e.length;i<n;){if(t===e[i].nm||t===e[i].mn||t===e[i].ix)return 5===e[i].ty?h[i]:h[i]();i+=1}throw new Error}var o,l=propertyGroupFactory(s,n),h=[],c=r.ef.length;for(o=0;o<c;o+=1)5===r.ef[o].ty?h.push(t(r.ef[o],i.effectElements[o],i.effectElements[o].propertyGroup,a)):h.push(e(i.effectElements[o],r.ef[o].ty,a,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(s,"color",{get:function(){return h[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=0!==r.en,s.active=s.enabled,s}function e(t,e,r,i){var n=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",i)),function(){return 10===e?r.comp.compInterface(t.p.v):n()}}return{createEffectsInterface:function(e,r){if(e.effectsManager){var i,n=[],a=e.data.ef,s=e.effectsManager.effectElements.length;for(i=0;i<s;i+=1)n.push(t(a[i],e.effectsManager.effectElements[i],r,e));var o=e.data.ef||[],l=function(t){for(i=0,s=o.length;i<s;){if(t===o[i].nm||t===o[i].mn||t===o[i].ix)return n[i];i+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),ShapePathInterface=function(t,e,r){var i=e.sh;function n(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?n.path:null}var a=propertyGroupFactory(n,r);return i.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(n,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),n},ShapeExpressionInterface=function(){function t(t,s,f){var u,m=[],d=t?t.length:0;for(u=0;u<d;u+=1)"gr"===t[u].ty?m.push(e(t[u],s[u],f)):"fl"===t[u].ty?m.push(r(t[u],s[u],f)):"st"===t[u].ty?m.push(n(t[u],s[u],f)):"tm"===t[u].ty?m.push(a(t[u],s[u],f)):"tr"===t[u].ty||("el"===t[u].ty?m.push(o(t[u],s[u],f)):"sr"===t[u].ty?m.push(l(t[u],s[u],f)):"sh"===t[u].ty?m.push(ShapePathInterface(t[u],s[u],f)):"rc"===t[u].ty?m.push(h(t[u],s[u],f)):"rd"===t[u].ty?m.push(c(t[u],s[u],f)):"rp"===t[u].ty?m.push(p(t[u],s[u],f)):"gf"===t[u].ty?m.push(i(t[u],s[u],f)):m.push((t[u],s[u],function(){return null})));return m}function e(e,r,i){var n=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return n.content;default:return n.transform}};n.propertyGroup=propertyGroupFactory(n,i);var a=function(e,r,i){var n,a=function(t){for(var e=0,r=n.length;e<r;){if(n[e]._name===t||n[e].mn===t||n[e].propertyIndex===t||n[e].ix===t||n[e].ind===t)return n[e];e+=1}return"number"===typeof t?n[t-1]:null};a.propertyGroup=propertyGroupFactory(a,i),n=t(e.it,r.it,a.propertyGroup),a.numProperties=n.length;var o=s(e.it[e.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=e.cix,a._name=e.nm,a}(e,r,n.propertyGroup),o=s(e.it[e.it.length-1],r.it[r.it.length-1],n.propertyGroup);return n.content=a,n.transform=o,Object.defineProperty(n,"_name",{get:function(){return e.nm}}),n.numProperties=e.np,n.propertyIndex=e.ix,n.nm=e.nm,n.mn=e.mn,n}function r(t,e,r){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function i(t,e,r){function i(t){return"Start Point"===t||"start point"===t?i.startPoint:"End Point"===t||"end point"===t?i.endPoint:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}
vendor: 18,555 bytes, line 1
1),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function n(t,e,r){var i,n=propertyGroupFactory(h,r),a=propertyGroupFactory(l,n);function s(r){Object.defineProperty(l,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var o=t.d?t.d.length:0,l={};for(i=0;i<o;i+=1)s(i),e.d.dataProps[i].p.setGroupProperty(a);function h(t){return"Color"===t||"color"===t?h.color:"Opacity"===t||"opacity"===t?h.opacity:"Stroke Width"===t||"stroke width"===t?h.strokeWidth:null}return Object.defineProperties(h,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),e.w.setGroupProperty(PropertyInterface("Stroke Width",n)),h}function a(t,e,r){function i(e){return e===t.e.ix||"End"===e||"end"===e?i.end:e===t.s.ix?i.start:e===t.o.ix?i.offset:null}var n=propertyGroupFactory(i,r);return i.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",n)),e.e.setGroupProperty(PropertyInterface("End",n)),e.o.setGroupProperty(PropertyInterface("Offset",n)),i.propertyIndex=t.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),i.mn=t.mn,i}function s(t,e,r){function i(e){return t.a.ix===e||"Anchor Point"===e?i.anchorPoint:t.o.ix===e||"Opacity"===e?i.opacity:t.p.ix===e||"Position"===e?i.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?i.rotation:t.s.ix===e||"Scale"===e?i.scale:t.sk&&t.sk.ix===e||"Skew"===e?i.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?i.skewAxis:null}var n=propertyGroupFactory(i,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",n)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",n)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",n)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",n)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",n)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",n)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",n))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",n)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),i.ty="tr",i.mn=t.mn,i.propertyGroup=r,i}function o(t,e,r){function i(e){return t.p.ix===e?i.position:t.s.ix===e?i.size:null}var n=propertyGroupFactory(i,r);i.propertyIndex=t.ix;var a="tm"===e.sh.ty?e.sh.prop:e.sh;return a.s.setGroupProperty(PropertyInterface("Size",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:t.nm}}),i.mn=t.mn,i}function l(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.rotation:t.pt.ix===e?i.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?i.outerRadius:t.os.ix===e?i.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?i.innerRoundness:null:i.innerRadius}var n=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",n)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",n)),a.pt.setGroupProperty(PropertyInterface("Points",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),t.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",n)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",n))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:t.nm}}),i.mn=t.mn,i}function h(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?i.size:null}var n=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.p.setGroupProperty(PropertyInterface("Position",n)),a.s.setGroupProperty(PropertyInterface("Size",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:t.nm}}),i.mn=t.mn,i}function c(t,e,r){function i(e){return t.r.ix===e||"Round Corners 1"===e?i.radius:null}var n=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.rd.setGroupProperty(PropertyInterface("Radius",n)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:t.nm}}),i.mn=t.mn,i}function p(t,e,r){function i(e){return t.c.ix===e||"Copies"===e?i.copies:t.o.ix===e||"Offset"===e?i.offset:null}var n=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.c.setGroupProperty(PropertyInterface("Copies",n)),a.o.setGroupProperty(PropertyInterface("Offset",n)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:t.nm}}),i.mn=t.mn,i}return function(e,r,i){var n;function a(t){if("number"===typeof t)return 0===(t=void 0===t?1:t)?i:n[t-1];for(var e=0,r=n.length;e<r;){if(n[e]._name===t)return n[e];e+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return i})),n=t(e,r,a.propertyGroup),a.numProperties=n.length,a._name="Contents",a}}(),TextExpressionInterface=function(t){var e;function r(t){return"ADBE Text Document"===t?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return e&&r===e.value||((e=new String(r)).value=r||new String(r),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),r};function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var FootageInterface=function(){var t=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",r=t.getFootageData();function i(t){if(r[t])return e=t,"object"===_typeof(r=r[t])?i:r;var n=t.indexOf(e);if(-1!==n){var a=parseInt(t.substr(n+e.length),10);return"object"===_typeof(r=r[a])?i:r}return""}return function(){return e="",r=t.getFootageData(),i}}(t),e};return function(e){function r(t){return"Data"===t?r.dataInterface:null}return r._name="Data",r.dataInterface=t(e),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),i=0;if(e.length){var n;for(n=0;n<e.length;n+=1)i+=Math.pow(r[n]-e[n],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,i=-.001,n=this.getValueAtTime(t),a=this.getValueAtTime(t+i);if(n.length)for(e=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)e[r]=(a[r]-n[r])/i;else e=(a-n)/i;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};function addPropertyDecorator(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,n,a,s,o,l=this.comp.renderedFrame,h=this.keyframes,c=h[h.length-1].t;if(l<=c)return this.pv;if(r?n=c-(i=e?Math.abs(c-this.elem.comp.globalData.frameRate*e):Math.max(0,c-this.elem.data.ip)):((!e||e>h.length-1)&&(e=h.length-1),i=c-(n=h[h.length-1-e].t)),"pingpong"===t){if(Math.floor((l-n)/i)%2!==0)return this.getValueAtTime((i-(l-n)%i+n)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var p=this.getValueAtTime(n/this.comp.globalData.frameRate,0),f=this.getValueAtTime(c/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0),m=Math.floor((l-n)/i);if(this.pv.length){for(s=(o=new Array(p.length)).length,a=0;a<s;a+=1)o[a]=(f[a]-p[a])*m+u[a];return o}return(f-p)*m+u}if("continue"===t){var d=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(d.length)).length,a=0;a<s;a+=1)o[a]=d[a]+(d[a]-g[a])*((l-c)/this.comp.globalData.frameRate)/5e-4;return o}return d+(l-c)/.001*(d-g)}}return this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,n,a,s,o,l=this.comp.renderedFrame,h=this.keyframes,c=h[0].t;if(l>=c)return this.pv;if(r?n=c+(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-c)):((!e||e>h.length-1)&&(e=h.length-1),i=(n=h[e].t)-c),"pingpong"===t){if(Math.floor((c-l)/i)%2===0)return this.getValueAtTime(((c-l)%i+c)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var p=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(n/this.comp.globalData.frameRate,0),u=this.getValueAtTime((i-(c-l)%i+c)/this.comp.globalData.frameRate,0),m=Math.floor((c-l)/i)+1;if(this.pv.length){for(s=(o=new Array(p.length)).length,a=0;a<s;a+=1)o[a]=u[a]-(f[a]-p[a])*m;return o}return u-(f-p)*m}if("continue"===t){var d=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(d.length)).length,a=0;a<s;a+=1)o[a]=d[a]+(d[a]-g[a])*(c-l)/.001;return o}return d+(d-g)*(c-l)/.001}}return this.getValueAtTime((i-((c-l)%i+c))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,i,n=this.comp.renderedFrame/this.comp.globalData.frameRate,a=n-t,s=e>1?(n+t-a)/(e-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(i=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=i[l];else r+=i;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=e;else r/=e;return r}function i(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(t);e.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var n=this.sk.getValueAtTime(t),a=this.sa.getValueAtTime(t);e.skewFromAxis(-n*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(t);e.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),h=this.rx.getValueAtTime(t),c=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(h*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var p=this.px.getValueAtTime(t),f=this.py.getValueAtTime(t);if(this.data.p.z){var u=this.pz.getValueAtTime(t);e.translate(p*this.px.mult,f*this.py.mult,-u*this.pz.mult)}else e.translate(p*this.px.mult,f*this.py.mult,0)}else{var m=this.p.getValueAtTime(t);e.translate(m[0]*this.p.mult,m[1]*this.p.mult,-m[2]*this.p.mult)}return e}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var s=a(t,e,r);return s.dynamicProperties.length?s.getValueAtTime=i.bind(s):s.getValueAtTime=n.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(i,n,a,o,l){var h=s(i,n,a,o,l);h.kf?h.getValueAtTime=expressionHelpers.getValueAtTime.bind(h):h.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(h),h.setGroupProperty=expressionHelpers.setGroupProperty,h.loopOut=t,h.loopIn=e,h.smooth=r,h.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(h),h.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(h),h.numKeys=1===n.a?n.k.length:0,h.propertyIndex=n.ix;var c=0;return 0!==a&&(c=createTypedArray("float32",1===n.a?n.k[0].s.length:n.k.length)),h._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(i,n,h),h.k&&l.addDynamicProperty(h),h};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function h(){}h.prototype={vertices:function(t,e){this.k&&this.getValue();var r,i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var n=i._length,a=i[t],s=i.v,o=createSizedArray(n);for(r=0;r<n;r+=1)o[r]="i"===t||"o"===t?[a[r][0]-s[r][0],a[r][1]-s[r][1]]:[a[r][0],a[r][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,n=this._segmentsLength,a=n.lengths,s=n.totalLength*t,o=0,l=a.length,h=0;o<l;){if(h+a[o].addedLength>s){var c=o,p=r.c&&o===l-1?0:o+1,f=(s-h)/a[o].addedLength;i=bez.getPointInSegment(r.v[c],r.v[p],r.o[c],r.i[p],f,a[o]);break}h+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),n=this.pointOnPath(t+.001,e),a=n[0]-i[0],s=n[1]-i[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([h],o),extendPrototype([h],l),l.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,i,n){var a=c(t,e,r,i,n);return a.propertyIndex=e.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,a):4===r&&expressionHelpers.searchExpressions(t,e.ks,a),a.k&&t.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){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}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(t,e){var r,i,n=createNS("feMerge");for(n.setAttribute("result",t),i=0;i<e.length;i+=1)(r=createNS("feMergeNode")).setAttribute("in",e[i]),n.appendChild(r),n.appendChild(r);return n}};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(t,e,r,i,n){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",i+"_tint_1"),t.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),t.appendChild(a),this.matrixFilter=a;var s=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);t.appendChild(s)}function SVGFillFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i),t.appendChild(n),this.matrixFilter=n}
vendor: 5,523 bytes, line 1
1function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}function SVGTritoneFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var s=createNS("feFuncR");s.setAttribute("type","table"),a.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),a.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,t.appendChild(a)}function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(a)),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),t.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(t,e,r,i,n){var a=e.container.globalData.renderConfig.filterSize,s=e.data.fs||a;t.setAttribute("x",s.x||a.x),t.setAttribute("y",s.y||a.y),t.setAttribute("width",s.width||a.width),t.setAttribute("height",s.height||a.height),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",i+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,t.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,t.appendChild(l);var h=createNS("feFlood");h.setAttribute("flood-color","#00ff00"),h.setAttribute("flood-opacity","1"),h.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=h,t.appendChild(h);var c=createNS("feComposite");c.setAttribute("in",i+"_drop_shadow_3"),c.setAttribute("in2",i+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(c);var p=this.createMergeNode(i,[i+"_drop_shadow_4",n]);t.appendChild(p)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=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]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,n=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=1+(r=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<i;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(e),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");n[0];)o.appendChild(n[0]);this.elem.layerElement.appendChild(o),this.masker=a,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(n=this.elem.layerElement.children||this.elem.layerElement.childNodes;n.length;)this.elem.layerElement.removeChild(n[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,i,n=this.paths.length;for(e=0;e<n;
vendor: 4,652 bytes, line 1
1e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=i.getTotalLength();a="0 0 0 "+l*s+" ";var h,c=l*(o-s),p=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(c/p);for(h=0;h<f;h+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var u=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*u[0])+","+bmFloor(255*u[1])+","+bmFloor(255*u[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,n=i[0]+" "+r[0]+" "+e[0],a=i[1]+" "+r[1]+" "+e[1],s=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,n){for(var a,s,o=0,l=Math.min(t,e),h=Math.max(t,e),c=Array.call(null,{length:256}),p=0,f=n-i,u=e-t;o<=256;)s=(a=o/256)<=l?u<0?n:i:a>=h?u<0?i:n:i+f*Math.pow((a-t)/u,1/r),c[p]=s,p+=1,o+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=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",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=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",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=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",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=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",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=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",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(i),a=r*Math.sin(i);
vendor: 4,302 bytes, line 1
1this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(t,e,r,i){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var n=createNS("feGaussianBlur");n.setAttribute("result",i),t.appendChild(n),this.feGaussianBlur=n}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}function CVTransformEffect(t){this.init(t)}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var i,n=r.children,a=0,s=n.length;a<s&&n[a]!==t.layerElement;)a+=1;a<=s-2&&(i=n[a+1]);var o=createNS("use");o.setAttribute("href","#"+e),i?r.insertBefore(o,i):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var n=t.globalData.defs;n.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),n.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),i.appendChild(s),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:e,n=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+n);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,r=e[0].p.v,i=e[1].p.v,n=1===e[2].p.v,a=e[3].p.v,s=n?a:e[4].p.v,o=e[5].p.v,l=e[6].p.v,h=e[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*s,.01*a,1),this.matrix.rotate(-h*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),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},module.exports=factory())},96774:function(t){t.exports=function(t,e,r,i){var n=r?r.call(i,t,e):void 0;if(void 0!==n)return!!n;
1if(t===e)return!0;if("object"!==typeof t||!t||"object"!==typeof e||!e)return!1;var a=Object.keys(t),s=Object.keys(e);if(a.length!==s.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(e),l=0;l<a.length;l++){var h=a[l];if(!o(h))return!1;var c=t[h],p=e[h];if(!1===(n=r?r.call(i,c,p,h):void 0)||void 0===n&&c!==p)return!1}return!0}},94578:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(89611);function n(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,i.Z)(t,e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.