PageSourceSearch

https://cdn.marketing123.123formbuilder.com/wp-content/themes/mark…/assets/js/lottie/dotlottie-player.min.js

js 123formbuilder.com collected 2026-10-01 08:49:16 UTC 1,898,137 bytes, 1 lines download raw bytes

vendor: 10,116 bytes, line 1
1"use strict";var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,_templateObject9,_templateObject10,_templateObject11,_templateObject12,_templateObject13,_templateObject14,_templateObject15,_templateObject16,_templateObject17,_templateObject18,_templateObject19,_templateObject20,_templateObject21,_templateObject22,_templateObject23,_templateObject24,_templateObject25,_templateObject26,_templateObject27,_templateObject28,_templateObject29,_templateObject30,_templateObject31,_templateObject32,_templateObject33,_templateObject34,_templateObject35,_excluded=["rendererSettings"],_excluded2=["id"];function _taggedTemplateLiteral(t,e){return e=e||t.slice(0),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function _get(){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,i){var s=_superPropBase(t,e);if(s)return(s=Object.getOwnPropertyDescriptor(s,e)).get?s.get.call(arguments.length<3?t:i):s.value}).apply(this,arguments)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _objectWithoutProperties(t,e){if(null==t)return{};var i,s=_objectWithoutPropertiesLoose(t,e);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(t),n=0;n<r.length;n++)i=r[n],0<=e.indexOf(i)||Object.prototype.propertyIsEnumerable.call(t,i)&&(s[i]=t[i]);return s}function _objectWithoutPropertiesLoose(t,e){if(null==t)return{};for(var i,s={},r=Object.keys(t),n=0;n<r.length;n++)i=r[n],0<=e.indexOf(i)||(s[i]=t[i]);return s}function _regeneratorRuntime(){_regeneratorRuntime=function(){return a};var h,a={},t=Object.prototype,l=t.hasOwnProperty,p=Object.defineProperty||function(t,e,i){t[e]=i.value},e="function"==typeof Symbol?Symbol:{},s=e.iterator||"@@iterator",i=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function n(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{n({},"")}catch(h){n=function(t,e,i){return t[e]=i}}function o(t,e,i,s){var r,n,a,o,e=e&&e.prototype instanceof g?e:g,e=Object.create(e.prototype),s=new k(s||[]);return p(e,"_invoke",{value:(r=t,n=i,a=s,o=c,function(t,e){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===t)throw e;return{value:h,done:!0}}for(a.method=t,a.arg=e;;){var i=a.delegate;if(i){i=function t(e,i){var s=i.method,r=e.iterator[s];if(r===h)return i.delegate=null,"throw"===s&&e.iterator.return&&(i.method="return",i.arg=h,t(e,i),"throw"===i.method)||"return"!==s&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+s+"' method")),y;s=f(r,e.iterator,i.arg);if("throw"===s.type)return i.method="throw",i.arg=s.arg,i.delegate=null,y;r=s.arg;return r?r.done?(i[e.resultName]=r.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=h),i.delegate=null,y):r:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,y)}(i,a);if(i){if(i===y)continue;return i}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(o===c)throw o=m,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);o=d;i=f(r,n,a);if("normal"===i.type){if(o=a.done?m:u,i.arg===y)continue;return{value:i.arg,done:a.done}}"throw"===i.type&&(o=m,a.method="throw",a.arg=i.arg)}})}),e}function f(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}a.wrap=o;var c="suspendedStart",u="suspendedYield",d="executing",m="completed",y={};function g(){}function v(){}function b(){}var e={},_=(n(e,s,function(){return this}),Object.getPrototypeOf),_=_&&_(_(C([]))),P=(_&&_!==t&&l.call(_,s)&&(e=_),b.prototype=g.prototype=Object.create(e));function x(t){["next","throw","return"].forEach(function(e){n(t,e,function(t){return this._invoke(e,t)})})}function S(a,o){var e;p(this,"_invoke",{value:function(i,s){function t(){return new o(function(t,e){!function e(t,i,s,r){var n,t=f(a[t],a,i);if("throw"!==t.type)return(i=(n=t.arg).value)&&"object"==_typeof2(i)&&l.call(i,"__await")?o.resolve(i.__await).then(function(t){e("next",t,s,r)},function(t){e("throw",t,s,r)}):o.resolve(i).then(function(t){n.value=t,s(n)},function(t){return e("throw",t,s,r)});r(t.arg)}(i,s,t,e)})}return e=e?e.then(t,t):t()}})}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(e){if(e||""===e){var i,t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return i=-1,(t=function t(){for(;++i<e.length;)if(l.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=h,t.done=!0,t}).next=t}throw new TypeError(_typeof2(e)+" is not iterable")}return p(P,"constructor",{value:v.prototype=b,configurable:!0}),p(b,"constructor",{value:v,configurable:!0}),v.displayName=n(b,r,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,n(t,r,"GeneratorFunction")),t.prototype=Object.create(P),t},a.awrap=function(t){return{__await:t}},x(S.prototype),n(S.prototype,i,function(){return this}),a.AsyncIterator=S,a.async=function(t,e,i,s,r){void 0===r&&(r=Promise);var n=new S(o(t,e,i,s),r);return a.isGeneratorFunction(e)?n:n.next().then(function(t){return t.done?t.value:n.next()})},x(P),n(P,r,"Generator"),n(P,s,function(){return this}),n(P,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,i=Object(t),s=[];for(e in i)s.push(e);return s.reverse(),function t(){for(;s.length;){var e=s.pop();if(e in i)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=C,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=h,this.done=!1,this.delegate=null,this.method="next",this.arg=h,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=h)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var s=this;function t(t,e){return n.type="throw",n.arg=i,s.next=t,e&&(s.method="next",s.arg=h),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e],n=r.completion;if("root"===r.tryLoc)return t("end");if(r.tryLoc<=this.prev){var a=l.call(r,"catchLoc"),o=l.call(r,"finallyLoc");if(a&&o){if(this.prev<r.catchLoc)return t(r.catchLoc,!0);if(this.prev<r.finallyLoc)return t(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return t(r.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return t(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;0<=i;--i){var s=this.tryEntries[i];if(s.tryLoc<=this.prev&&l.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var r=s;break}}var n=(r=r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc?null:r)?r.completion:{};return n.type=t,n.arg=e,r?(this.method="next",this.next=r.finallyLoc,y):this.complete(n)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),A(i),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i,s,r=this.tryEntries[e];if(r.tryLoc===t)return"throw"===(i=r.completion).type&&(s=i.arg,A(r)),s}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:C(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=h),y}},a}function _defineProperties(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,_toPropertyKey(s.key),s)}}function _createClass(t,e,i){return e&&_defineProperties(t.prototype,e),i&&_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _createSuper(i){var s=_isNativeReflectConstruct();return function(){var t,e=_getPrototypeOf(i);return _possibleConstructorReturn(this,s?(t=_getPrototypeOf(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments))}}function _possibleConstructorReturn(t,e){if(e&&("object"===_typeof2(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _wrapNativeSuper(t){var i="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(t))return i.get(t);i.set(t,e)}function e(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(e,t)})(t)}function _construct(t,e,i){return(_construct=_isNativeReflectConstruct()?Reflect.construct.bind():function(t,e,
1i){var s=[null];s.push.apply(s,e);e=new(Function.bind.apply(t,s));return i&&_setPrototypeOf(e,i.prototype),e}).apply(null,arguments)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function asyncGeneratorStep(t,e,i,s,r,n,a){try{var o=t[n](a),h=o.value}catch(t){return void i(t)}o.done?e(h):Promise.resolve(h).then(s,r)}function _asyncToGenerator(o){return function(){var t=this,a=arguments;return new Promise(function(e,i){var s=o.apply(t,a);function r(t){asyncGeneratorStep(s,e,i,r,n,"next",t)}function n(t){asyncGeneratorStep(s,e,i,r,n,"throw",t)}r(void 0)})}}function ownKeys(e,t){var i,s=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,i)),s}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach(function(t){_defineProperty(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function _defineProperty(t,e,i){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _toPropertyKey(t){t=_toPrimitive(t,"string");return"symbol"===_typeof2(t)?t:String(t)}function _toPrimitive(t,e){if("object"!==_typeof2(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0===i)return("string"===e?String:Number)(t);i=i.call(t,e||"default");if("object"!==_typeof2(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _nonIterableRest(){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 _iterableToArrayLimit(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var s,r,n,a,o=[],h=!0,l=!1;try{if(n=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;h=!1}else for(;!(h=(s=n.call(i)).done)&&(o.push(s.value),o.length!==e);h=!0);}catch(t){l=!0,r=t}finally{try{if(!h&&null!=i.return&&(a=i.return(),Object(a)!==a))return}finally{if(l)throw r}}return o}}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _createForOfIteratorHelper(t,e){var i,s,r,n,a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(a)return s=!(i=!0),{s:function(){a=a.call(t)},n:function(){var t=a.next();return i=t.done,t},e:function(t){s=!0,r=t},f:function(){try{i||null==a.return||a.return()}finally{if(s)throw r}}};if(Array.isArray(t)||(a=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length)return a&&(t=a),n=0,{s:e=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:e};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){var i;if(t)return"string"==typeof t?_arrayLikeToArray(t,e):"Map"===(i="Object"===(i=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_arrayLikeToArray(t,e):void 0}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i<e;i++)s[i]=t[i];return s}function _typeof2(t){return(_typeof2="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})(t)}!function(t){"object"===("undefined"==typeof exports?"undefined":_typeof2(exports))&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(("undefined"!=typeof globalThis?globalThis:self).DotLottiePlayer={})}(function(exports){var ih=Object.defineProperty,tp=Object.getOwnPropertyDescriptor,ls=function(t,e){return function(){return e=t?t(t=0):e}},fr=function(t,e){for(var i in e)ih(t,i,{get:e[i],enumerable:!0})}
1,Ri=function(t,e,i,s){for(var r,n=1<s?void 0:s?tp(e,i):e,a=t.length-1;0<=a;a--)(r=t[a])&&(n=(s?r(e,i,n):r(n))||n);return s&&n&&ih(e,i,n),n};function pp(t,e,i){return i||(i=e,e={}),"function"!=typeof i&&_ps(7),lp(t,e,[hp],function(t){return xh(lo(t.data[0],Ph(t.data[1])))},1,i)}function lo(t,e){return _h(t,{i:2},e&&e.out,e&&e.dictionary)}function fa(t,e){var i;if(e){for(var s="",r=0;r<t.length;r+=16384)s+=String.fromCharCode.apply(null,t.subarray(r,r+16384));return s}return eo?eo.decode(t):(i=(e=cp(t)).s,(s=e.r).length&&_ps(8),i)}function gp(o,t,i){i||(i=t,t={}),"function"!=typeof i&&_ps(7);function h(){for(var t=0;t<l.length;++t)l[t]()}var l=[],p={},f=function(t,e){ah(function(){i(t,e)})};ah(function(){f=i});for(var e=o.length-22;101010256!=Gs(o,e);--e)if(!e||65558<o.length-e)return f(_ps(13,0,1),null);var c=Qs(o,e+8);if(c){var s,r=c,u=Gs(o,e+16),d=4294967295==u||65535==r;d&&(s=Gs(o,e-12),d=101075792==Gs(o,s))&&(r=c=Gs(o,s+32),u=Gs(o,s+48));for(var m=t&&t.filter,n=0;n<r;++n)!function(){function e(t,e){t?(h(),f(t,null)):(e&&(p[n]=e),--c||f(null,p))}var t=mp(o,u,d),i=t[0],s=t[1],r=t[2],n=t[3],a=t[4],t=t[5],t=up(o,t);u=a;if(!m||m({name:n,size:s,originalSize:r,compression:i}))if(i)if(8==i){a=o.subarray(t,t+s);if(s<32e4)try{e(null,lo(a,{out:new fs(r)}))}catch(t){e(t,null)}else l.push(pp(a,{size:r},e))}else e(_ps(14,"unknown compression type "+i,1),null);else e(null,Pn(o,t,t+s));else e(null,null)}()}else f(null,{})}function yp(t){return(Array.isArray(t)?t:t.issues).reduce(function(t,e){var i;return e.path?(i=e.path.map(function(t){return t.key}).join("."),t.nested[i]=[].concat(_toConsumableArray(t.nested[i]||[]),[e.message])):t.root=[].concat(_toConsumableArray(t.root||[]),[e.message]),t},{nested:{}})}function bp(t,e){return{reason:null==t?void 0:t.reason,validation:e.validation,origin:(null==t?void 0:t.origin)||"value",message:e.message,input:e.input,abortEarly:null==t?void 0:t.abortEarly,abortPipeEarly:null==t?void 0:t.abortPipeEarly}}function _p(t,e){return{reason:e,origin:null==t?void 0:t.origin,abortEarly:null==t?void 0:t.abortEarly,abortPipeEarly:null==t?void 0:t.abortPipeEarly}}function wr(t,e,i,s){if(!e||!e.length)return{output:t};var r,n,a=t,o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){var h=(0,n.value)(a);if(h.issue){var l,p=bp(l=l||_p(i,s),h.issue);if(r?r.push(p):r=[p],l.abortEarly||l.abortPipeEarly)break}else a=h.output}}catch(t){o.e(t)}finally{o.f()}return r?{issues:r}:{output:a}}function Hs(t,e){return t&&"string"!=typeof t?[void 0,t]:[t,e]}function tr(t,e,i,s,r,n){return{issues:[{reason:e,validation:i,origin:(null==t?void 0:t.origin)||"value",message:s,input:r,issues:n,abortEarly:null==t?void 0:t.abortEarly,abortPipeEarly:null==t?void 0:t.abortPipeEarly}]}}function xp(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];return{schema:"any",async:!1,_parse:function(t,e){return wr(t,i,e,"any")}}}function $a(f,t,e){var t=_slicedToArray(Hs(t,e),2),c=t[0],u=t[1];return{schema:"array",array:{item:f},async:!1,_parse:function(t,e){if(!Array.isArray(t))return tr(e,"type","array",c||"Invalid type",t);for(var i,s=[],r=0;r<t.length;r++){var n=t[r],a=f._parse(n,e);if(a.issues){var o,h={schema:"array",input:t,key:r,value:n},l=_createForOfIteratorHelper(a.issues);try{for(l.s();!(o=l.n()).done;){var p=o.value;p.path?p.path.unshift(h):p.path=[h],null!=i&&i.push(p)}}catch(t){l.e(t)}finally{l.f()}if(i=i||a.issues,null!=e&&e.abortEarly)break}else s.push(a.output)}return i?{issues:i}:wr(s,u,e,"array")}}}function to(t,e){var t=_slicedToArray(Hs(t,e),2),i=t[0],s=t[1];return{schema:"boolean",async:!1,_parse:function(t,e){return"boolean"!=typeof t?tr(e,"type","boolean",i||"Invalid type",t):wr(t,s,e,"boolean")}}}function nh(i,s){return{schema:"literal",literal:i,async:!1,_parse:function(t,e){return t!==i?tr(e,"type","literal",s||"Invalid type",t):{output:t}}}}function Pp(i,s){return{schema:"native_enum",nativeEnum:i,async:!1,_parse:function(t,e){return Object.values(i).includes(t)?{output:t}:tr(e,"type","native_enum",s||"Invalid type",t)}}}function js(t,e){var t=_slicedToArray(Hs(t,e),2),i=t[0],s=t[1];return{schema:"number",async:!1,_parse:function(t,e){return"number"!=typeof t?tr(e,"type","number",i||"Invalid type",t):wr(t,s,e,"number")}}}function Ls(m,t,e){var y,t=_slicedToArray(Hs(t,e),2),g=t[0],v=t[1];return{schema:"object",object:m,async:!1,_parse:function(t,e){if(!t||"object"!=_typeof2(t))return tr(e,"type","object",g||"Invalid type",t);var i,s,r={},n=_createForOfIteratorHelper(y=y||Object.entries(m));try{for(n.s();!(s=n.n()).done;
1){var a=_slicedToArray(s.value,2),o=a[0],h=a[1],l=t[o],p=h._parse(l,e);if(p.issues){var f,c={schema:"object",input:t,key:o,value:l},u=_createForOfIteratorHelper(p.issues);try{for(u.s();!(f=u.n()).done;){var d=f.value;d.path?d.path.unshift(c):d.path=[c],null!=i&&i.push(d)}}catch(t){u.e(t)}finally{u.f()}if(i=i||p.issues,null!=e&&e.abortEarly)break}else r[o]=p.output}}catch(t){n.e(t)}finally{n.f()}return i?{issues:i}:wr(r,v,e,"object")}}}function Ke(i){return{schema:"optional",wrapped:i,async:!1,_parse:function(t,e){return void 0===t?{output:t}:i._parse(t,e)}}}function Ji(t,e){var t=_slicedToArray(Hs(t,e),2),i=t[0],s=t[1];return{schema:"string",async:!1,_parse:function(t,e){return"string"!=typeof t?tr(e,"type","string",i||"Invalid type",t):wr(t,s,e,"string")}}}function Sp(t,e,i,s){var r,n;return"object"!=_typeof2(e)||Array.isArray(e)?(r=(n=_slicedToArray(Hs(e,i),2))[0],n=n[1],[Ji(),t,r,n]):[t,e,(r=_slicedToArray(Hs(i,s),2))[0],r[1]]}function Ap(t,e,i,s){var t=_slicedToArray(Sp(t,e,i,s),4),g=t[0],v=t[1],b=t[2],_=t[3];return{schema:"record",record:{key:g,value:v},async:!1,_parse:function(t,e){if(!t||"object"!=_typeof2(t))return tr(e,"type","record",b||"Invalid type",t);for(var i,s={},r=0,n=Object.entries(t);r<n.length;r++){var a=_slicedToArray(n[r],2),o=a[0],a=a[1];if(!Ep.includes(o)){var h=void 0,l=g._parse(o,{origin:"key",abortEarly:null==e?void 0:e.abortEarly,abortPipeEarly:null==e?void 0:e.abortPipeEarly});if(l.issues){var p,h={schema:"record",input:t,key:o,value:a},f=_createForOfIteratorHelper(l.issues);try{for(f.s();!(p=f.n()).done;){var c=p.value;c.path=[h],null!=i&&i.push(c)}}catch(t){f.e(t)}finally{f.f()}if(i=i||l.issues,null!=e&&e.abortEarly)break}var u=v._parse(a,e);if(u.issues){h=h||{schema:"record",input:t,key:o,value:a};var d,m=_createForOfIteratorHelper(u.issues);try{for(m.s();!(d=m.n()).done;){var y=d.value;y.path?y.path.unshift(h):y.path=[h],null!=i&&i.push(y)}}catch(t){m.e(t)}finally{m.f()}if(i=i||u.issues,null!=e&&e.abortEarly)break}l.issues||u.issues||(s[l.output]=u.output)}}return i?{issues:i}:wr(s,_,e,"record")}}}function Cp(t,e,i){var s;return"object"!=_typeof2(t)||Array.isArray(t)?[void 0,(s=_slicedToArray(Hs(t,e),2))[0],s[1]]:[t,(s=_slicedToArray(Hs(e,i),2))[0],s[1]]}function oh(v,t,e,i){var t=_slicedToArray(Cp(t,e,i),3),b=t[0],_=t[1],P=t[2];return{schema:"tuple",tuple:{items:v,rest:b},async:!1,_parse:function(t,e){if(!Array.isArray(t)||!b&&v.length!==t.length||b&&v.length>t.length)return tr(e,"type","tuple",_||"Invalid type",t);for(var i,s=[],r=0;r<v.length;r++){var n=t[r],a=v[r]._parse(n,e);if(a.issues){var o,h={schema:"tuple",input:t,key:r,value:n},l=_createForOfIteratorHelper(a.issues);try{for(l.s();!(o=l.n()).done;){var p=o.value;p.path?p.path.unshift(h):p.path=[h],null!=i&&i.push(p)}}catch(t){l.e(t)}finally{l.f()}if(i=i||a.issues,null!=e&&e.abortEarly)break}else s[r]=a.output}if(b)for(var f=v.length;f<t.length;f++){var c=t[f],u=b._parse(c,e);if(u.issues){var d,m={schema:"tuple",input:t,key:f,value:c},y=_createForOfIteratorHelper(u.issues);try{for(y.s();!(d=y.n()).done;){var g=d.value;g.path?g.path.unshift(m):g.path=[m],null!=i&&i.push(g)}}catch(t){y.e(t)}finally{y.f()}if(i=i||u.issues,null!=e&&e.abortEarly)break}else s[f]=u.output}return i?{issues:i}:wr(s,P,e,"tuple")}}}function io(p,f){return{schema:"union",union:p,async:!1,_parse:function(t,e){var i,s,r,n=_createForOfIteratorHelper(p);try{for(n.s();!(r=n.n()).done;){var a=r.value._parse(t,e);if(!a.issues){s=[a.output];break}if(i){var o,h=_createForOfIteratorHelper(a.issues);try{for(h.s();!(o=h.n()).done;){var l=o.value;i.push(l)}}catch(t){h.e(t)}finally{h.f()}}else i=a.issues}}catch(t){n.e(t)}finally{n.f()}return s?{output:s[0]}:tr(e,"type","union",f||"Invalid type",t,i)}}}function Xa(t,e,i){e=_slicedToArray(Hs(e,i),2),i=e[0],e=e[1];return Ls(t.reduce(function(t,e){return _objectSpread(_objectSpread({},t),e.object)},{}),i,e)}function kp(t,s,e,i){e=_slicedToArray(Hs(e,i),2),i=e[0],e=e[1];return Ls(Object.entries(t.object).reduce(function(t,e){var e=_slicedToArray(e,2),i=e[0],e=e[1];return s.includes(i)?t:_objectSpread(_objectSpread({},t),{},_defineProperty({},i,e))},{}),i,e)}function Tp(t,e,i){t=t._parse(e,i);return t.issues?{success:!1,error:new vp(t.issues),issues:t.issues}:{success:!0,data:t.output,output:t.output}}function so(e,i){return function(t){return e<t?{issue:{validation:"max_value",message:i||"Invalid value",input:t}}:{output:t}}}function ro(e,i){return function(t){return t<e?{issue:{validation:"min_value",message:i||"Invalid value",input:t}}:{output:t}}}function Ch(t){return t="u"<("undefined"==typeof window?"undefined":_typeof2(window))?Buffer.from(t).toString("base64"):(t=Array.prototype.map.call(t,function(t){return String.fromCharCode(t)}).join(""),window.btoa(t)),"data:".concat(ef(t),";base64,").concat(t)}function lh(t){return"w"in t&&"h"in t&&!("xt"in t)&&"p"in t}function ao(t){return!("h"in t)&&!("w"in t)&&"p"in t&&"e"in t&&"u"in t&&"id"in t}function Ja(t){return _Ja.apply(this,arguments)}function _Ja(){return(_Ja=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var r,i=arguments;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=1<i.length&&void 0!==i[1]?i[1]:function(){return!0},e instanceof Uint8Array){t.next=3;break}throw new co("DotLottie not found","INVALID_DOTLOTTIE");case 3:return t.next=5,new Promise(function(i,s){gp(e,{filter:r},function(t,e){t&&s(t),i(e)})});case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}
1function uo(t,e,i){return _uo.apply(this,arguments)}function _uo(){return(_uo=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i,s){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Uint8Array){t.next=2;break}throw new co("DotLottie not found","INVALID_DOTLOTTIE");case 2:return t.next=4,Ja(e,function(t){return t.name===i&&(!s||s(t))});case 4:return t.t0=i,t.abrupt("return",t.sent[t.t0]);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}function Sn(t){return _Sn.apply(this,arguments)}function _Sn(){return(_Sn=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i,s;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="manifest.json",t.next=3,Ja(e,function(t){return t.name===i});case 3:if(t.t0=i,"u"<_typeof2(s=t.sent[t.t0])){t.next=7;break}return t.abrupt("return",JSON.parse(fa(s,!1)));case 7:case"end":return t.stop()}},t)}))).apply(this,arguments)}function sf(t){return _sf.apply(this,arguments)}function _sf(){return(_sf=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i,s;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Uint8Array){t.next=2;break}return t.abrupt("return",{success:!1,error:"DotLottie not found"});case 2:return t.next=4,Sn(e);case 4:if("u"<_typeof2(i=t.sent))return t.abrupt("return",{success:!1,error:"Invalid .lottie file, manifest.json is missing"});t.next=7;break;case 7:return s=Tp(qp,i),t.abrupt("return",s.success?{success:!0}:{success:!1,error:"Invalid .lottie file, manifest.json structure is invalid, ".concat(JSON.stringify(yp(s.error).nested,null,2))});case 9:case"end":return t.stop()}},t)}))).apply(this,arguments)}function mo(t){return _mo.apply(this,arguments)}function _mo(){return(_mo=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i,s;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=new Uint8Array(e),t.next=3,sf(i);case 3:if((s=t.sent).error)throw new co(s.error,"INVALID_DOTLOTTIE");t.next=6;break;case 6:return t.abrupt("return",i);case 7:case"end":return t.stop()}},t)}))).apply(this,arguments)}function rf(t,e){return _rf.apply(this,arguments)}function _rf(){return(_rf=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s,r,n,a,o;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ja(e,function(t){var e=t.name.replace("audio/","");return t.name.startsWith("audio/")&&(!i||i(_objectSpread(_objectSpread({},t),{},{name:e})))});case 2:for(n in s=t.sent,r={},s)(a=s[n])instanceof Uint8Array&&(o=n.replace("audio/",""),r[o]=Ch(a));return t.abrupt("return",r);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}function af(t,e){return _af.apply(this,arguments)}function _af(){return(_af=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s,r,n,a,o,h,l,p,f,c,u,d,m,y,g,v,b,_,P,x,S,E,A,k;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=new Map,n=0,a=Object.entries(i);n<a.length;n++){h=_slicedToArray(a[n],2),o=h[0],h=h[1],l=_createForOfIteratorHelper(h.assets||[]);try{for(l.s();!(p=l.n()).done;)ao(f=p.value)&&(c=f.p,r.has(c)||r.set(c,new Set),null!=(s=r.get(c)))&&s.add(o)}catch(t){l.e(t)}finally{l.f()}}return t.next=4,rf(e,function(t){return r.has(t.name)});case 4:u=t.sent,d=_createForOfIteratorHelper(r);try{for(d.s();!(m=d.n()).done;)if(y=_slicedToArray(m.value,2),g=y[0],v=y[1],b=u[g]){_=_createForOfIteratorHelper(v);try{for(_.s();!(P=_.n()).done;){x=P.value,S=i[x],E=_createForOfIteratorHelper((null==S?void 0:S.assets)||[]);try{for(E.s();!(A=E.n()).done;)ao(k=A.value)&&k.p===g&&(k.p=b,k.u="",k.e=1)}catch(t){E.e(t)}finally{E.f()}}}catch(t){_.e(t)}finally{_.f()}}}catch(t){d.e(t)}finally{d.f()}case 7:case"end":return t.stop()}},t)}))).apply(this,arguments)}function nf(t,e){return _nf.apply(this,arguments)}function _nf(){return(_nf=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s,r,n,a,o;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ja(e,function(t){var e=t.name.replace("images/","");return t.name.startsWith("images/")&&(!i||i(_objectSpread(_objectSpread({},t),{},{name:e})))});case 2:for(n in s=t.sent,r={},s)(a=s[n])instanceof Uint8Array&&(o=n.replace("images/",""),r[o]=Ch(a));return t.abrupt("return",r);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}function of(t,e){return _of.apply(this,arguments)}function _of(){return(_of=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s,r,n,a,o,h,l,p,f,c,u,d,m,y,g,v,b,_,P,x,S,E,A,k;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=new Map,n=0,a=Object.entries(i);n<a.length;
1n++){h=_slicedToArray(a[n],2),o=h[0],h=h[1],l=_createForOfIteratorHelper(h.assets||[]);try{for(l.s();!(p=l.n()).done;)lh(f=p.value)&&(c=f.p,r.has(c)||r.set(c,new Set),null!=(s=r.get(c)))&&s.add(o)}catch(t){l.e(t)}finally{l.f()}}return t.next=4,nf(e,function(t){return r.has(t.name)});case 4:u=t.sent,d=_createForOfIteratorHelper(r);try{for(d.s();!(m=d.n()).done;)if(y=_slicedToArray(m.value,2),g=y[0],v=y[1],b=u[g]){_=_createForOfIteratorHelper(v);try{for(_.s();!(P=_.n()).done;){x=P.value,S=i[x],E=_createForOfIteratorHelper((null==S?void 0:S.assets)||[]);try{for(E.s();!(A=E.n()).done;)lh(k=A.value)&&k.p===g&&(k.p=b,k.u="",k.e=1)}catch(t){E.e(t)}finally{E.f()}}}catch(t){_.e(t)}finally{_.f()}}}catch(t){d.e(t)}finally{d.f()}case 7:case"end":return t.stop()}},t)}))).apply(this,arguments)}function kh(t,e){return _kh.apply(this,arguments)}function _kh(){return(_kh=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s,r,n,a,o,h,l=arguments;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s=(2<l.length&&void 0!==l[2]?l[2]:{}).inlineAssets,r=3<l.length?l[3]:void 0,n="animations/".concat(i,".json"),t.next=5,uo(e,n,r);case 5:if("u"<_typeof2(a=t.sent))return t.abrupt("return");t.next=8;break;case 8:if(o=JSON.parse(fa(a,!1)),s){t.next=11;break}return t.abrupt("return",o);case 11:return h=_defineProperty({},i,o),t.next=14,of(e,h);case 14:return t.next=16,af(e,h);case 16:return t.abrupt("return",o);case 17:case"end":return t.stop()}},t)}))).apply(this,arguments)}function Th(t,e,i){return _Th.apply(this,arguments)}function _Th(){return(_Th=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i,s){var r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r="themes/".concat(i,".json"),t.next=3,uo(e,r,s);case 3:if("u"<_typeof2(r=t.sent)){t.next=6;break}return t.abrupt("return",JSON.parse(fa(r,!1)));case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}function Mh(t,e){return _Mh.apply(this,arguments)}function _Mh(){return(_Mh=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s,r,n,a,o;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s={},t.next=3,Ja(e,function(t){var e=t.name.replace("states/","").replace(".json","");return t.name.startsWith("states/")&&(!i||i(_objectSpread(_objectSpread({},t),{},{name:e})))});case 3:for(n in r=t.sent)(a=r[n])instanceof Uint8Array&&(o=n.replace("states/","").replace(".json",""),s[o]=fa(a,!1));return t.abrupt("return",s);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}function wh(t,e,i){return _wh.apply(this,arguments)}function _wh(){return(_wh=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i,s){var r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r="states/".concat(i,".json"),t.next=3,uo(e,r,s);case 3:return r=t.sent,t.abrupt("return","u"<_typeof2(r)?void 0:JSON.parse(fa(r,!1)));case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function Ie(t){return new Error("[".concat(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"dotLottie-common","]: ").concat(t))}function er(t){for(var e,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"dotLottie-common",s=arguments.length,r=new Array(2<s?s-2:0),n=2;n<s;n++)r[n-2]=arguments[n];(e=console).error.apply(e,["[".concat(i,"]:"),t].concat(r))}function li(t){for(var e,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"dotLottie-common",s=arguments.length,r=new Array(2<s?s-2:0),n=2;n<s;n++)r[n-2]=arguments[n];(e=console).warn.apply(e,["[".concat(i,"]:"),t].concat(r))}function go(){var t=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").trim(),e=t.lastIndexOf("/"),t=t.substring(e+1),e=t.indexOf(".");return-1!==e?t.substring(0,e):t}function Jr(e){return["v","ip","op","layers","fr","w","h"].every(function(t){return Object.prototype.hasOwnProperty.call(e,t)})}function yo(t){t=t.assets;return t&&t.some(function(t){return ao(t)})}function vo(t){try{return Jr(JSON.parse(t))}catch(t){}}function En(e,i){var t=Object.keys(e).find(function(t){return e[t]===i});if(void 0===t)throw new Error("Value not found in the object.");return t}function Ua(t){return JSON.parse(JSON.stringify(t))}var sh,ep,fs,Xr,ph,no,oo,fh,ch,uh,ho,ip,sp,mh,xn,cr,Xe,pa,Wa,Xe,Xe,Xe,Xe,dh,Xe,gh,yh,bn,Is,_n,vh,Pn,bh,_ps,_h,rp,ap,rh,vn,np,op,hp,xh,Ph,lp,Qs,Gs,Qn,eo,fp,cp,up,mp,dp,ah,vp,Ep,Mp,po,wp,Sh,Dp,Fp,Ip,Ya,Lp,Vp,Rp,Bp,Op,zp,Np,Gp,Eh,jp,Ah,Hp,qp,fo,Yr,$p,Wp,Xp,Yp,Jp,Up,Zp,Kp,Qp,tf,hh,ef,co,ca=ls(function(){for(sh={}
1,ep=function(t,e,i,s,r){e=new Worker(sh[e]||(sh[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return e.onmessage=function(t){var e,t=t.data,i=t.$e$;i?((e=new Error(i[0])).code=i[1],e.stack=i[2],r(e,null)):r(null,t)},e.postMessage(i,s),e},fs=Uint8Array,Xr=Uint16Array,ph=Int32Array,no=new fs([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),oo=new fs([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),fh=new fs([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),uh=(ch=function(t,e){for(var i=new Xr(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];for(var r=new ph(i[30]),s=1;s<30;++s)for(var n=i[s];n<i[s+1];++n)r[n]=n-i[s]<<5|s;return{b:i,r:r}})(no,2),ho=uh.b,ip=uh.r,ho[28]=258,ip[258]=28,sp=ch(oo,0),mh=sp.b,xn=new Xr(32768),Xe=0;Xe<32768;++Xe)cr=(61680&(cr=(52428&(cr=(43690&Xe)>>1|(21845&Xe)<<1))>>2|(13107&cr)<<2))>>4|(3855&cr)<<4,xn[Xe]=((65280&cr)>>8|(255&cr)<<8)>>1;for(pa=function(t,e,i){for(var s=t.length,r=0,n=new Xr(e);r<s;++r)t[r]&&++n[t[r]-1];var a=new Xr(e);for(r=1;r<e;++r)a[r]=a[r-1]+n[r-1]<<1;if(i){for(var o=new Xr(1<<e),h=15-e,r=0;r<s;++r)if(t[r])for(var l=r<<4|t[r],p=e-t[r],f=a[t[r]-1]++<<p,c=f|(1<<p)-1;f<=c;++f)o[xn[f]>>h]=l}else for(o=new Xr(s),r=0;r<s;++r)t[r]&&(o[r]=xn[a[t[r]-1]++]>>15-t[r]);return o},Wa=new fs(288),Xe=0;Xe<144;++Xe)Wa[Xe]=8;for(Xe=144;Xe<256;++Xe)Wa[Xe]=9;for(Xe=256;Xe<280;++Xe)Wa[Xe]=7;for(Xe=280;Xe<288;++Xe)Wa[Xe]=8;for(dh=new fs(32),Xe=0;Xe<32;++Xe)dh[Xe]=5;gh=pa(Wa,9,1),yh=pa(dh,5,1),bn=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},Is=function(t,e,i){var s=e/8|0;return(t[s]|t[1+s]<<8)>>(7&e)&i},_n=function(t,e){var i=e/8|0;return(t[i]|t[1+i]<<8|t[2+i]<<16)>>(7&e)},vh=function(t){return(t+7)/8|0},Pn=function(t,e,i){return(null==i||i>t.length)&&(i=t.length),new fs(t.subarray(e=null==e||e<0?0:e,i))}
1,bh=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],_ps=function(t,e,i){e=new Error(e||bh[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,_ps),i)return e;throw e},_h=function(t,e,i,s){var r=t.length,R=s?s.length:0;if(!r||e.f&&!e.l)return i||new fs(0);function n(t){var e=i.length;e<t&&((e=new fs(Math.max(2*e,t))).set(i),i=e)}var a=!i,o=a||2!=e.i,h=e.i,l=(a&&(i=new fs(3*r)),e.f||0),p=e.p||0,f=e.b||0,c=e.l,u=e.d,d=e.m,m=e.n,y=8*r;do{if(!c){var l=Is(t,p,1),g=Is(t,p+1,3);if(p+=3,!g){var v=t[(A=vh(p)+4)-4]|t[A-3]<<8,b=A+v;if(r<b){h&&_ps(0);break}o&&n(f+v),i.set(t.subarray(A,b),f),e.b=f+=v,e.p=p=8*b,e.f=l;continue}if(1==g)c=gh,u=yh,d=9,m=5;else if(2==g){var v=Is(t,p,31)+257,_=Is(t,p+10,15)+4,P=v+Is(t,p+5,31)+1;p+=14;for(var x=new fs(P),S=new fs(19),E=0;E<_;++E)S[fh[E]]=Is(t,p+3*E,7);p+=3*_;for(var b=bn(S),B=(1<<b)-1,O=pa(S,b,1),E=0;E<P;){var A,k=O[Is(t,p,B)];if(p+=15&k,(A=k>>4)<16)x[E++]=A;else{var C=0,T=0;for(16==A?(T=3+Is(t,p,3),p+=2,C=x[E-1]):17==A?(T=3+Is(t,p,7),p+=3):18==A&&(T=11+Is(t,p,127),p+=7);T--;)x[E++]=C}}var g=x.subarray(0,v),w=x.subarray(v),d=bn(g),m=bn(w),c=pa(g,d,1),u=pa(w,m,1)}else _ps(1);if(y<p){h&&_ps(0);break}}o&&n(f+131072);for(var z=(1<<d)-1,N=(1<<m)-1,M=p;;M=p){var D=(C=c[_n(t,p)&z])>>4;if(y<(p+=15&C)){h&&_ps(0);break}if(C||_ps(2),D<256)i[f++]=D;else{if(256==D){M=p,c=null;break}var F,I=D-254,D=(264<D&&(F=no[E=D-257],I=Is(t,p,(1<<F)-1)+ho[E],p+=F),u[_n(t,p)&N]),L=D>>4,w=(D||_ps(3),p+=15&D,mh[L]);if(3<L&&(F=oo[L],w+=_n(t,p)&(1<<F)-1,p+=F),y<p){h&&_ps(0);break}o&&n(f+131072);var V=f+I;if(f<w){var G=R-w,j=Math.min(w,V);for(G+f<0&&_ps(3);f<j;++f)i[f]=s[G+f]}for(;f<V;++f)i[f]=i[f-w]}}e.l=c,e.p=M,e.b=f,e.f=l,c&&(l=1,e.m=d,e.d=u,e.n=m)}while(!l);return f!=i.length&&a?Pn(i,0,f):i.subarray(0,f)},rp=new fs(0),ap=function(t,e){var i,s={};for(i in t)s[i]=t[i];for(i in e)s[i]=e[i];return s},rh=function(t,e,i){for(var s=t(),t=t.toString(),r=t.slice(t.indexOf("[")+1,t.lastIndexOf("]")).replace(/\s+/g,"").split(","),n=0;n<s.length;++n){var a=s[n],o=r[n];if("function"==typeof a){e+=";"+o+"=";var h=a.toString();if(a.prototype)if(-1!=h.indexOf("[native code]")){var l=h.indexOf(" ",8)+1;e+=h.slice(l,h.indexOf("(",l))}else for(var p in e+=h,a.prototype)e+=";"+o+".prototype."+p+"="+a.prototype[p].toString();else e+=h}else i[o]=a}return e},vn=[],np=function(t){var e,i=[];for(e in t)t[e].buffer&&i.push((t[e]=new t[e].constructor(t[e])).buffer);return i},op=function(t,e,i,s){if(!vn[i]){for(var r="",n={},a=t.length-1,o=0;o<a;++o)r=rh(t[o],r,n);vn[i]={c:rh(t[a],r,n),e:n}}var h=ap({},vn[i].e);return ep(vn[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,h,np(h),s)},hp=function(){return[fs,Xr,ph,no,oo,fh,ho,mh,gh,yh,xn,bh,pa,bn,Is,_n,vh,Pn,_ps,_h,lo,xh,Ph]},xh=function(t){return postMessage(t,[t.buffer])},Ph=function(t){return t&&{out:t.size&&new fs(t.size),dictionary:t.dictionary}},lp=function(t,e,i,s,r,n){var a=op(i,s,r,function(t,e){a.terminate(),n(t,e)});return a.postMessage([t,e],e.consume?[t.buffer]:[]),function(){a.terminate()}},Qs=function(t,e){return t[e]|t[e+1]<<8},Gs=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},Qn=function(t,e){return Gs(t,e)+4294967296*Gs(t,e+4)},eo=("undefined"==typeof TextDecoder?"undefined":_typeof2(TextDecoder))<"u"&&new TextDecoder,fp=0;try{eo.decode(rp,{stream:!0}),fp=1}catch(t){}var t;cp=function(t){for(var e="",i=0;;){var s=t[i++],r=(127<s)+(223<s)+(239<s);if(i+r>t.length)return{s:e,r:Pn(t,i-1)};r?3==r?(s=((15&s)<<18|(63&t[i++])<<12|(63&t[i++])<<6|63&t[i++])-65536,e+=String.fromCharCode(55296|s>>10,56320|1023&s)):e+=1&r?String.fromCharCode((31&s)<<6|63&t[i++]):String.fromCharCode((15&s)<<12|(63&t[i++])<<6|63&t[i++]):e+=String.fromCharCode(s)}},up=function(t,e){return e+30+Qs(t,e+26)+Qs(t,e+28)},mp=function(t,e,i){var s=Qs(t,e+28),r=fa(t.subarray(e+46,e+46+s),!(2048&Qs(t,e+8))),s=e+46+s,n=Gs(t,e+20),i=i&&4294967295==n?dp(t,s):[n,Gs(t,e+24),Gs(t,e+42)],n=i[0],a=i[1],i=i[2];return[Qs(t,e+10),n,a,r,s+Qs(t,e+30)+Qs(t,e+32),i]},dp=function(t,e){for(;1!=Qs(t,e);e+=4+Qs(t,e+2));return[Qn(t,e+12),Qn(t,e+4),Qn(t,e+20)]},ah="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(t){t()},vp=function(){_inherits(s,_wrapNativeSuper(Error));var i=_createSuper(s);function s(t){var e;return _classCallCheck(this,s),_defineProperty(_assertThisInitialized(e=i.call(this,t[0].message)),"issues",void 0),e.name="ValiError",e.issues=t,e}return _createClass(s)}(),Ep=["__proto__","prototype","constructor"],Mp=Object.create,po=Object.defineProperty,wp=Object.getOwnPropertyDescriptor,Sh=Object.getOwnPropertyNames,Dp=Object.getPrototypeOf,Fp=Object.prototype.hasOwnProperty,Ip=function(t,e,
1i){return e in t?po(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},Lp=function(e,i,s,r){if(i&&"object"==_typeof2(i)||"function"==typeof i){var n,a=_createForOfIteratorHelper(Sh(i));try{for(a.s();!(n=a.n()).done;)!function(){var t=n.value;Fp.call(e,t)||t===s||po(e,t,{get:function(){return i[t]},enumerable:!(r=wp(i,t))||r.enumerable})}()}catch(t){a.e(t)}finally{a.f()}}return e},Vp=function(t,e,i){return i=null!=t?Mp(Dp(t)):{},Lp(!e&&t&&t.__esModule?i:po(i,"default",{value:t,enumerable:!0}),t)},Rp=function(t,e,i){return Ip(t,"symbol"!=_typeof2(e)?e+"":e,i),i},Bp=(Ya=function(t,e){return function(){return e||(0,t[Sh(t)[0]])((e={exports:{}}).exports,e),e.exports}})({
vendor: 889 bytes, line 1
1"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/copy/dist/index.js":function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.copy=void 0;t.copy=function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:t.width-i,n=5<arguments.length&&void 0!==arguments[5]?arguments[5]:t.height-s,a=6<arguments.length&&void 0!==arguments[6]?arguments[6]:0,o=7<arguments.length&&void 0!==arguments[7]?arguments[7]:0;if(i|=0,s|=0,n|=0,a|=0,o|=0,!((r|=0)<=0||n<=0))for(var h=new Uint32Array(t.data.buffer),l=new Uint32Array(e.data.buffer),p=0;p<n;p++){var f=s+p;if(!(f<0||f>=t.height)){var c=o+p;if(!(c<0||c>=e.height))for(var u=0;u<r;u++){var d,m=i+u;m<0||m>=t.width||(d=a+u)<0||d>=e.width||(m=f*t.width+m,l[c*e.width+d]=h[m])}}}}}}),Op=Ya({
vendor: 1,318 bytes, line 1
1"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/create-image/dist/index.js":function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CreateImageFactory=function(){var h=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[0,0,0,0],l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:4,l=Math.floor(l);if(isNaN(l)||l<1)throw TypeError("channels should be a positive non-zero number");if(!("length"in h)||h.length<l)throw TypeError("fill should be iterable with at least ".concat(l," members"));var p=(h=new Uint8ClampedArray(h).slice(0,l)).every(function(t){return 0===t});return function(t,e,i){if(void 0===t||void 0===e)throw TypeError("Not enough arguments");if(t=Math.floor(t),e=Math.floor(e),isNaN(t)||t<1||isNaN(e)||e<1)throw TypeError("Index or size is negative or greater than the allowed amount");var s=t*e*l;if((i=void 0===i?new Uint8ClampedArray(s):i)instanceof Uint8ClampedArray){if(i.length!==s)throw TypeError("Index or size is negative or greater than the allowed amount");if(!p)for(var r=0;r<e;r++)for(var n=0;n<t;n++)for(var a=(r*t+n)*l,o=0;o<l;o++)i[a+o]=h[o];return{get width(){return t},get height(){return e},get data(){return i}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory()}}),zp=Ya({
vendor: 871 bytes, line 1
1"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/filters.js":function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;function T(t){return Math.round(t*((1<<e)-1))}var e=14;t.filters=function(t,e,i,s,r){for(var n,a=r?2:3,o=1/i,h=Math.min(1,i),l=a/h,r=Math.floor(2*(1+l)),p=new Int16Array((r+2)*e),f=0,c=0;c<e;c++){for(var u=(c+.5)*o+s,d=Math.max(0,Math.floor(u-l)),m=Math.min(t-1,Math.ceil(u+l)),y=m-d+1,g=new Float32Array(y),v=new Int16Array(y),b=0,_=0,P=d;P<=m;P++){var x=(x=(P+.5-u)*h)<=-(n=a)||n<=x||0==x?0:(x=x*Math.PI,Math.sin(x)/x*Math.sin(x/n)/(x/n));b+=x,g[_]=x,_++}for(var S=0,E=0;E<g.length;E++){var A=g[E]/b;S+=A,v[E]=T(A)}v[e>>1]+=T(1-S);for(var k=0;k<v.length&&0===v[k];)k++;for(var C=v.length-1;0<C&&0===v[C];)C--;y=C-k+1;p[f++]=d+k,p[f++]=y,p.set(v.subarray(k,C+1),f),f+=y}return p}}}),Np=Ya({
vendor: 522 bytes, line 1
1"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/convolve.js":function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.convolve=void 0;t.convolve=function(t,e,i,s,r,n){for(var a=0,o=0,h=0;h<s;h++){for(var l=0,p=0;p<r;p++){for(var f=a+4*n[l++]|0,c=0,u=0,d=0,m=0,y=n[l++];0<y;y--)var g=n[l++],c=c+g*t[f]|0,u=u+g*t[f+1]|0,d=d+g*t[f+2]|0,m=m+g*t[f+3]|0,f=f+4|0;e[o]=c+8192>>14,e[o+1]=u+8192>>14,e[o+2]=d+8192>>14,e[o+3]=m+8192>>14,o=o+4*s|0}o=4*(h+1)|0,a=(h+1)*i*4|0}}}}),Gp=Ya({
vendor: 2,135 bytes, line 1
1"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/index.js":function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.lanczos2=t.lanczos=void 0;function p(t,e){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],s=e.width/t.width,r=e.height/t.height,s=n.filters(t.width,e.width,s,0,i),r=n.filters(t.height,e.height,r,0,i),i=new Uint8ClampedArray(e.width*t.height*4);a.convolve(t.data,i,t.width,t.height,e.width,s),a.convolve(i,e.data,t.height,e.width,e.height,r)}var f=Bp(),c=Op(),n=zp(),a=Np();t.lanczos=function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:t.width-i,n=5<arguments.length&&void 0!==arguments[5]?arguments[5]:t.height-s,a=6<arguments.length&&void 0!==arguments[6]?arguments[6]:0,o=7<arguments.length&&void 0!==arguments[7]?arguments[7]:0,h=8<arguments.length&&void 0!==arguments[8]?arguments[8]:e.width-a,l=9<arguments.length&&void 0!==arguments[9]?arguments[9]:e.height-o;i|=0,s|=0,n|=0,a|=0,o|=0,h|=0,l|=0,(r|=0)<=0||n<=0||h<=0||l<=0||(0==i&&0==s&&r===t.width&&n===t.height&&0==a&&0==o&&h===e.width&&l===e.height?p(t,e):(r=c.createImage(r,n),n=c.createImage(h,l),f.copy(t,r,i,s),p(r,n),f.copy(n,e,0,0,n.width,n.height,a,o)))};t.lanczos2=function(t,e){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:t.width-i,n=5<arguments.length&&void 0!==arguments[5]?arguments[5]:t.height-s,a=6<arguments.length&&void 0!==arguments[6]?arguments[6]:0,o=7<arguments.length&&void 0!==arguments[7]?arguments[7]:0,h=8<arguments.length&&void 0!==arguments[8]?arguments[8]:e.width-a,l=9<arguments.length&&void 0!==arguments[9]?arguments[9]:e.height-o;i|=0,s|=0,n|=0,a|=0,o|=0,h|=0,l|=0,(r|=0)<=0||n<=0||h<=0||l<=0||(0==i&&0==s&&r===t.width&&n===t.height&&0==a&&0==o&&h===e.width&&l===e.height?p(t,e,!0):(r=c.createImage(r,n),n=c.createImage(h,l),f.copy(t,r,i,s),p(r,n,!0),f.copy(n,e,0,0,n.width,n.height,a,o)))}}
1}),(t=Eh||{}).Bounce="bounce",t.Normal="normal",jp=Pp(Eh=t),Ah=Ls({autoplay:Ke(to()),defaultTheme:Ke(Ji()),direction:Ke(io([nh(1),nh(-1)])),hover:Ke(to()),id:Ji(),intermission:Ke(js()),loop:Ke(io([to(),js()])),playMode:Ke(jp),speed:Ke(js()),themeColor:Ke(Ji())}),Hp=Ls({animations:$a(Ji()),id:Ji()}),qp=Ls({activeAnimationId:Ke(Ji()),animations:$a(Ah),author:Ke(Ji()),custom:Ke(Ap(Ji(),xp())),description:Ke(Ji()),generator:Ke(Ji()),keywords:Ke(Ji()),revision:Ke(js()),themes:Ke($a(Hp)),states:Ke($a(Ji())),version:Ke(Ji())}),fo=kp(Ah,["id"]),Yr=Ls({state:Ji()}),Wp=Xa([$p=Yr,Ls({ms:js()})]),Xp=Xa([Yr,Ls({count:js()})]),Zp=Xa([Up=Jp=Yp=Yr,Ls({threshold:Ke($a(js([ro(0),so(1)])))})]),Kp=Ls({onAfter:Ke(Wp),onClick:Ke($p),onComplete:Ke(Up),onEnter:Ke(Xp),onMouseEnter:Ke(Yp),onMouseLeave:Ke(Jp),onShow:Ke(Zp)}),Qp=Xa([fo,Ls({playOnScroll:Ke(oh([js([ro(0),so(1)]),js([ro(0),so(1)])])),segments:Ke(io([oh([js(),js()]),Ji()]))})]),Xa([Kp,Ls({animationId:Ke(Ji()),playbackSettings:Qp})]),tf={jpeg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp",mpeg:"audio/mpeg",mp3:"audio/mp3"},hh={jpeg:[255,216,255],png:[137,80,78,71,13,10,26,10],gif:[71,73,70],bmp:[66,77],webp:[82,73,70,70,87,69,66,80],svg:[60,63,120],mp3:[73,68,51,3,0,0,0,0],mpeg:[73,68,51,3,0,0,0,0]},ef=function(t){var e=null,s=[];if(t){for(var t=t.substring(t.indexOf(",")+1),e="u"<("undefined"==typeof window?"undefined":_typeof2(window))?Buffer.from(t,"base64").toString("binary"):atob(t),i=new Uint8Array(e.length),r=0;r<e.length;r+=1)i[r]=e.charCodeAt(r);var n,a,s=Array.from(i.subarray(0,8));for(a in hh)if(n=function(){var i=hh[a];if(i&&s.every(function(t,e){return t===i[e]}))return{v:tf[a]}}())return n.v}return null},co=function(){_inherits(s,_wrapNativeSuper(Error));var i=_createSuper(s);function s(t,e){return _classCallCheck(this,s),t=i.call(this,t),Rp(_assertThisInitialized(t),"code"),t.name="[dotlottie-js]",t.code=e,t}return _createClass(s)}(),Vp(Gp())}),Dh,An=ls(function(){ca(),Dh=function(){function t(){_classCallCheck(this,t),_defineProperty(this,"_dotLottie",void 0),_defineProperty(this,"_animationsMap",new Map),_defineProperty(this,"_themeMap",new Map),_defineProperty(this,"_stateMachinesMap",new Map),_defineProperty(this,"_manifest",void 0)}var e,i,s,r,n,a;return _createClass(t,[{key:"dotLottie",get:function(){return this._dotLottie}},{key:"animationsMap",get:function(){return this._animationsMap}},{key:"themeMap",get:function(){return this._themeMap}},{key:"stateMachinesMap",get:function(){return this._stateMachinesMap}},{key:"manifest",get:function(){return this._manifest}},{key:"loadFromUrl",value:(a=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i,s,r,n,a;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e,{method:"GET",mode:"cors"});case 2:if((i=t.sent).ok){t.next=5;break}throw new Error("Failed to load dotLottie from ".concat(e," with status ").concat(i.status));case 5:if(null!=(r=i.headers.get("content-type"))&&r.includes("application/json"))return t.next=9,i.json();t.next=18;break;case 9:if(Jr(s=t.sent)){t.next=12;break}throw new Error("Invalid lottie JSON at ".concat(e));case 12:r=go(e),this._animationsMap.set(r,s),n={activeAnimationId:r,animations:[{id:r}]},this._manifest=n,t.next=31;break;case 18:return t.t0=mo,t.next=21,i.arrayBuffer();case 21:return t.t1=t.sent,t.next=24,(0,t.t0)(t.t1);case 24:return this._dotLottie=t.sent,t.next=27,Sn(this._dotLottie);case 27:if(a=t.sent){t.next=30;break}throw new Error("Manifest not found");case 30:this._manifest=a;case 31:case"end":return t.stop()}},t,this)})),function(t){return a.apply(this,arguments)})},{key:"loadFromLottieJSON",value:function(t){if(!Jr(t))throw new Error("Invalid lottie JSON");var e="my-animation",t=(this._animationsMap.set(e,t),{activeAnimationId:e,animations:[{id:e}]});this._manifest=t}},{key:"loadFromArrayBuffer",value:(n=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,mo(e);case 2:return this._dotLottie=t.sent,t.next=5,Sn(this._dotLottie);case 5:if(i=t.sent){t.next=8;break}throw new Error("Manifest not found");case 8:this._manifest=i;case 9:case"end":return t.stop()}},t,this)})),function(t){return n.apply(this,arguments)})},{key:"getAnimation",value:(r=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._animationsMap.get(e))return t.abrupt("return",this._animationsMap.get(e));t.next=2;break;case 2:if(this._dotLottie){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,kh(this._dotLottie,e,{inlineAssets:!0});case 6:return i=t.sent,t.abrupt("return",(i&&this._animationsMap.set(e,i),i));case 8:case"end":return t.stop()}},t,this)})),function(t){return r.apply(this,arguments)})},{key:"getTheme",value:(s=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._themeMap.get(e))return t.abrupt("return",this._themeMap.get(e));t.next=2;break;case 2:if(this._dotLottie){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,Th(this._dotLottie,e);case 6:return i=t.sent,t.abrupt("return",(i&&this._themeMap.set(e,i),i));case 8:case"end":return t.stop()}},t,this)})),function(t){return s.apply(this,arguments)})},{key:"getStateMachines",value:(i=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var e,i,s,r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._dotLottie){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Mh(this._dotLottie);case 4:for(i in e=t.sent)i&&(s=e[i])&&(s=JSON.parse(s))&&(r=s.descriptor.id,this._stateMachinesMap.get(r)||this._stateMachinesMap.set(r,s));return t.abrupt("return",Array.from(this._stateMachinesMap.values())
1);case 7:case"end":return t.stop()}},t,this)})),function(){return i.apply(this,arguments)})},{key:"getStateMachine",value:(e=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._stateMachinesMap.get(e))return t.abrupt("return",this._stateMachinesMap.get(e));t.next=2;break;case 2:if(this._dotLottie){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,wh(this._dotLottie,e);case 6:return i=t.sent,t.abrupt("return",(i&&this._stateMachinesMap.set(i.descriptor.id,i),i));case 8:case"end":return t.stop()}},t,this)})),function(t){return e.apply(this,arguments)})}]),t}()});function kn(){throw new Error("Cycle detected")}function _o(){if(1<ua)ua--;else{for(var e,i=!1;void 0!==Za;){var t=Za;for(Za=void 0,bo++;void 0!==t;){var s=t.o;if(t.o=void 0,t.f&=-3,!(8&t.f)&&Ih(t))try{t.c()}catch(t){i||(e=t,i=!0)}t=s}}if(bo=0,ua--,i)throw e}}function Fh(t){var e;if(void 0!==Ei)return void 0===(e=t.n)||e.t!==Ei?(e={i:0,S:t,p:Ei.s,n:void 0,t:Ei,e:void 0,x:void 0,r:e},void 0!==Ei.s&&(Ei.s.n=e),Ei.s=e,t.n=e,32&Ei.f&&t.S(e),e):-1===e.i?(void(e.i=0)!==e.n&&(e.n.p=e.p,void 0!==e.p&&(e.p.n=e.n),e.p=Ei.s,e.n=void 0,Ei.s.n=e,Ei.s=e),e):void 0}function vs(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}function hf(t){return new vs(t)}function Ih(t){for(var e=t.s;void 0!==e;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return 1}function Lh(t){for(var e=t.s;void 0!==e;e=e.n){var i=e.S.n;if(void 0!==i&&(e.r=i),(e.S.n=e).i=-1,void 0===e.n){t.s=e;break}}}function Vh(t){for(var e=t.s,i=void 0;void 0!==e;){var s=e.p;-1===e.i?(e.S.U(e),void 0!==s&&(s.n=e.n),void 0!==e.n&&(e.n.p=s)):i=e,e.S.n=e.r,void 0!==e.r&&(e.r=void 0),e=s}t.s=i}function Ur(t){vs.call(this,void 0),this.x=t,this.s=void 0,this.g=Cn-1,this.f=4}function Rh(e){var t=e.u;if(e.u=void 0,"function"==typeof t){ua++;var i=Ei;Ei=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,xo(e),t}finally{Ei=i,_o()}}}function xo(t){for(var e=t.s;void 0!==e;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Rh(t)}function lf(t){if(Ei!==this)throw new Error("Out-of-order effect");Vh(this),Ei=t,this.f&=-2,8&this.f&&xo(this),_o()}function Ka(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function pf(e){e=new Ka(e);try{e.c()}catch(t){throw e.d(),t}return e.d.bind(e)}var Ei,Za,ua,bo,Cn,Bh,Tn=ls(function(){Za=Ei=void 0,Cn=bo=ua=0,vs.prototype.h=function(){return!0},vs.prototype.S=function(t){this.t!==t&&void 0===t.e&&(t.x=this.t,void 0!==this.t&&(this.t.e=t),this.t=t)},vs.prototype.U=function(t){var e,i;void 0!==this.t&&(e=t.e,i=t.x,void 0!==e&&(e.x=i,t.e=void 0),void 0!==i&&(i.e=e,t.x=void 0),t===this.t)&&(this.t=i)},vs.prototype.subscribe=function(i){var s=this;return pf(function(){var t=s.value,e=32&this.f;this.f&=-33;try{i(t)}finally{this.f|=e}})},vs.prototype.valueOf=function(){return this.value},vs.prototype.toString=function(){return this.value+""},vs.prototype.toJSON=function(){return this.value},vs.prototype.peek=function(){return this.v},Object.defineProperty(vs.prototype,"value",{get:function(){var t=Fh(this);return void 0!==t&&(t.i=this.i),this.v},set:function(t){if(Ei instanceof Ur)throw new Error("Computed cannot have side-effects");if(t!==this.v){100<bo&&kn(),this.v=t,this.i++,Cn++,ua++;try{for(var e=this.t;void 0!==e;e=e.x)e.t.N()}finally{_o()}}}}),(Ur.prototype=new vs).h=function(){if(this.f&=-3,1&this.f)return!1;if(32!=(36&this.f)&&(this.f&=-5,this.g!==Cn)){if(this.g=Cn,this.f|=1,!(0<this.i)||Ih(this)){var t=Ei;try{Lh(this);var e=(Ei=this).x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}Ei=t,Vh(this)}this.f&=-2}return!0},Ur.prototype.S=function(t){if(void 0===this.t){this.f|=36;for(var e=this.s;void 0!==e;e=e.n)e.S.S(e)}vs.prototype.S.call(this,t)},Ur.prototype.U=function(t){if(void 0!==this.t&&(vs.prototype.U.call(this,t),void 0===this.t)){this.f&=-33;for(var e=this.s;void 0!==e;e=e.n)e.S.U(e)}},Ur.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;void 0!==t;t=t.x)t.t.N()}},Ur.prototype.peek=function(){if(this.h()||kn(),16&this.f)throw this.v;return this.v},Object.defineProperty(Ur.prototype,"value",{get:function(){1&this.f&&kn();var t=Fh(this);if(this.h(),void 0!==t&&(t.i=this.i),16&this.f)throw this.v;return this.v}}),Ka.prototype.c=function(){var t,e=this.S();try{8&this.f||void 0===this.x||"function"==typeof(t=this.x())&&(this.u=t)}finally{e()}},Ka.prototype.S=function(){1&this.f&&kn(),this.f|=1,this.f&=-9,Rh(this),Lh(this),ua++;var t=Ei;return Ei=this,lf.bind(this,t)},Ka.prototype.N=function(){2&this.f||(this.f|=2,this.o=Za,Za=this)},Ka.prototype.d=function(){this.f|=8,1&this.f||xo(this)},Bh=function(){function e(t){_classCallCheck(this,e),_defineProperty(this,"_state",void 0),_defineProperty(this,"_prevState",void 0),this._prevState=t,this._state=hf(t)}return _createClass(e,[{key:"setState",value:function(t){this._prevState=this._state.value,this._state.value=t}},{key:"subscribe",value:function(e){var i=this;return this._state.subscribe(function(t){return e(t,i._prevState)})}}]),e}()}),ff,Oh,cf,uf,mf,df,is,gf,zh,qs=ls(function(){ff=Object.create,Oh=Object.defineProperty,cf=Object.getOwnPropertyDescriptor,uf=Object.getOwnPropertyNames,mf=Object.getPrototypeOf,df=Object.prototype.hasOwnProperty,is=function(t,e){return function(){return e||t((e={exports:{}}).exports,e),e.exports}},gf=function(e,i,s,r){if(i&&"object"==_typeof2(i)||"function"==typeof i){var n,a=_createForOfIteratorHelper(uf(i));try{for(a.s();!(n=a.n()).done;)!function(){var t=n.value;df.call(e,t)||t===s||Oh(e,t,{get:function(){return i[t]},enumerable:!(r=cf(i,t))||r.enumerable})}()}catch(t){a.e(t)}finally{a.f()}}return e}
1,zh=function(t,e,i){return i=null!=t?ff(mf(t)):{},gf(!e&&t&&t.__esModule?i:Oh(i,"default",{value:t,enumerable:!0}),t)}}),fl={};function Fo(t,e){var i={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,r=Object.getOwnPropertySymbols(t);s<r.length;s++)e.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(t,r[s])&&(i[r[s]]=t[r[s]]);return i}function ze(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],s=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&s>=t.length?void 0:t)&&t[s++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function qe(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var s,r,n=i.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(s=n.next()).done;)a.push(s.value)}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(r)throw r.error}}return a}function ui(t,e,i){if(i||2===arguments.length)for(var s,r=0,n=e.length;r<n;r++)!s&&r in e||((s=s||Array.prototype.slice.call(e,0,r))[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}function Lo(t,e,i){var s=an(t,i=void 0===i?Zh:i),r=an(e,i);return Qe(r)?!!Qe(s)&&r===s:Qe(s)?s in r:Object.keys(s).every(function(t){return t in r&&Lo(s[t],r[t])})}function Kh(t){try{return Qe(t)||"number"==typeof t?"".concat(t):t.type}catch(t){throw new Error("Events must be strings or objects with a string event.type property.")}}function ko(e,t){try{return Pa(e)?e:e.toString().split(t)}catch(t){throw new Error("'".concat(e,"' is not a valid state path."))}}function Sf(t){return"object"==_typeof2(t)&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function an(t,e){return Sf(t)?t.value:Pa(t)?On(t):"string"!=typeof t?t:On(ko(t,e))}function On(t){if(1===t.length)return t[0];for(var e={},i=e,s=0;s<t.length-1;s++)s===t.length-2?i[t[s]]=t[s+1]:(i[t[s]]={},i=i[t[s]]);return e}function tn(t,e){for(var i={},s=Object.keys(t),r=0;r<s.length;r++){var n=s[r];i[n]=e(t[n],n,t,r)}return i}function jh(t,e,i){var s,r,n={};try{for(var a=ze(Object.keys(t)),o=a.next();!o.done;o=a.next()){var h=o.value,l=t[h];i(l)&&(n[h]=e(l,h,t))}}catch(t){s={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return n}function Af(o,h){return function(t){var e,i,s=t;try{for(var r=ze(o),n=r.next();!n.done;n=r.next())var a=n.value,s=s[h][a]}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}return s}}function Ln(i){return i?Qe(i)?[[i]]:bi(Object.keys(i).map(function(e){var t=i[e];return"string"==typeof t||t&&Object.keys(t).length?Ln(i[e]).map(function(t){return[e].concat(t)}):[[e]]})):[[]]}function bi(t){var e;return(e=[]).concat.apply(e,ui([],qe(t),!1))}function Qh(t){return Pa(t)?t:[t]}function $s(t){return void 0===t?[]:Qh(t)}function zn(t,e,i){var s,r;if(Ye(t))return t(e,i.data);var n={};try{for(var a=ze(Object.keys(t)),o=a.next();!o.done;o=a.next()){var h=o.value,l=t[h];Ye(l)?n[h]=l(e,i.data):n[h]=l}}catch(t){s={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return n}function Cf(t){return/^(done|error)\./.test(t)}function Hh(t){return t instanceof Promise||null!==t&&(Ye(t)||"object"==_typeof2(t))&&Ye(t.then)}function kf(t){return null!==t&&"object"==_typeof2(t)&&"transition"in t&&"function"==typeof t.transition}function Tf(t,e){var i,s,r=qe([[],[]],2),n=r[0],a=r[1];try{for(var o=ze(t),h=o.next();!h.done;h=o.next()){var l=h.value;(e(l)?n:a).push(l)}}catch(t){i={error:t}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return[n,a]}function tl(t,i){return tn(t.states,function(t,e){if(t){e=(Qe(i)?void 0:i[e])||(t?t.current:void 0);if(e)return{current:e,states:tl(t,e)}}})}function Mf(t,e){return{current:e,states:tl(t,e)}}function qh(t,f,e,c){return t&&e.reduce(function(t,e){var i,s,r=e.assignment,n={state:c,action:e,_event:f},a={};if(Ye(r))a=r(t,f.data,n);else try{for(var o=ze(Object.keys(r)),h=o.next();!h.done;h=o.next()){var l=h.value,p=r[l];a[l]=Ye(p)?p(t,f.data,n):p}}catch(t){i={error:t}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return Object.assign({},t,a)},t)}function Pa(t){return Array.isArray(t)}function Ye(t){return"function"==typeof t}function Qe(t){return"string"==typeof t}function el(t,e){if(t)return Qe(t)?{type:Co,name:t,predicate:e?e[t]:void 0}:Ye(t)?{type:Co,name:t.name,predicate:t}:t}function Df(t){try{return"subscribe"in t&&Ye(t.subscribe)}catch(t){}}function xa(t){return t&&"__xstatenode"in t}function Ff(t){return t&&"function"==typeof t.send}function Hn(t,e){return Qe(t)||"number"==typeof t?_ae({type:t},e):t}function Ui(t,e){return!Qe(t)&&"$$type"in t&&"scxml"===t.$$type?t:(t=Hn(t),_ae({name:t.type,data:t,$$type:"scxml",type:"external"},e))}function ma(e,t){return Qh(t).map(function(t){return"u"<_typeof2(t)||"string"==typeof t||xa(t)?{target:t,event:e}:_ae(_ae({},t),{event:e})})}function If(t){if(void 0!==t&&t!==Pf)return $s(t)}function il(t,e,i,s,r){var n=t.options.guards,r={state:r,cond:e,_event:s};if(e.type===Co)return((null==n?void 0:n[e.name])||e.predicate)(i,s.data,r);n=null==n?void 0:n[e.type];if(n)return n(i,s.data,r);throw new Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."))}function sl(t){return"string"==typeof t?{type:t}:t}function Vn(t,e,i){var s=function(){},r="object"==_typeof2(t),n=r?t:null;return{next:((r?t.next:t)||s).bind(n),error:((r?t.error:e)||s).bind(n),complete:((r?t.complete:i)||s).bind(n)}}function wn(t,e){return"".concat(t,":invocation[").concat(e,"]")}function To(t){return(t.type===hn||t.type===jn&&t.to===_a.Internal)&&"number"!=typeof t.delay}function Mo(t,e){return e&&e[t]||void 0}function nn(t,e){var i;return Qe(t)||"number"==typeof t?Ye(i=Mo(t,e))?{type:t,exec:i}:i||{type:t,exec:void 0}:Ye(t)?{type:t.name||t.toString(),exec:t}:Ye(i=Mo(t.type,e))?_ae(_ae({},t),{exec:i}):i?(e=i.type||t.type,_ae(_ae(_ae({},i),t),{type:e})):t}function Vo(t){var e=nn(t);return _ae(_ae({id:Qe(t)?t:e.id},e),{type:e.type})}function Lf(t,e){return{type:hn,event:"function"==typeof t?t:Hn(t),delay:e?e.delay:void 0,id:null==e?void 0:e.id}}function Vf(t,e,i,s){var r={_event:i}
1,n=Ui(Ye(t.event)?t.event(e,i.data,r):t.event);return s=Qe(t.delay)?Ye(s=s&&s[t.delay])?s(e,i.data,r):s:Ye(t.delay)?t.delay(e,i.data,r):t.delay,_ae(_ae({},t),{type:hn,_event:n,delay:s})}function Rf(t,e){return{to:e?e.to:void 0,type:jn,event:Ye(t)?t:Hn(t),delay:e?e.delay:void 0,id:e&&void 0!==e.id?e.id:Ye(t)?t.name:Kh(t)}}function Bf(t,e,i,s){var r={_event:i},n=Ui(Ye(t.event)?t.event(e,i.data,r):t.event),e=(s=Qe(t.delay)?Ye(s=s&&s[t.delay])?s(e,i.data,r):s:Ye(t.delay)?t.delay(e,i.data,r):t.delay,Ye(t.to)?t.to(e,i.data,r):t.to);return _ae(_ae({},t),{to:e,_event:n,event:n.data,delay:s})}function Nf(t){t=Vo(t);return{type:ai.Start,activity:t,exec:void 0}}function Gf(t){t=Ye(t)?t:Vo(t);return{type:ai.Stop,activity:t,exec:void 0}}function jf(t,e,i){e=Ye(t.activity)?t.activity(e,i.data):t.activity;return{type:ai.Stop,activity:"string"==typeof e?{id:e}:e}}function Hf(t,e){e=e?"#".concat(e):"";return"".concat(ai.After,"(").concat(t,")").concat(e)}function Dn(t,e){var i="".concat(ai.DoneState,".").concat(t),t={type:i,data:e,toString:function(){return i}};return t}function Rn(t,e){var i="".concat(ai.DoneInvoke,".").concat(t),t={type:i,data:e,toString:function(){return i}};return t}function en(t,e){var i="".concat(ai.ErrorPlatform,".").concat(t),t={type:i,data:e,toString:function(){return i}};return t}function Nn(h,l,p,f,t,c,u){var e=(u=void 0===u?!1:u)?[]:qf(t),d=e.length?qh(p,f,e,l):p,m=u?[p]:void 0,y=[];return[bi(t.map(function(t){var e,i,s=[];try{for(var r=ze(t.actions),n=r.next();!n.done;n=r.next()){var a=n.value,o=function(t,e){var i,s;switch(e.type){case hn:var r=Vf(e,d,f,h.options.delays);return c&&"number"==typeof r.delay&&c(r,d,f),r;case jn:var r=Bf(e,d,f,h.options.delays);return c&&r.to!==_a.Internal&&("entry"===t?y.push(r):c(r,d,f)),r;case Jh:var n=Of(e,d,f);return null!=c&&c(n,d,f),n;case _f:return(s=null==(r=e.conds.find(function(t){t=el(t.cond,h.options.guards);return!t||il(h,t,d,f,c?void 0:l)}))?void 0:r.actions)?(i=(r=qe(Nn(h,l,d,f,[{type:t,actions:Fr($s(s),h.options.actions)}],c,u),2))[0],r=r[1],d=r,null!=m&&m.push(d),i):[];case xf:return(s=e.get(d,f.data))?(i=(r=qe(Nn(h,l,d,f,[{type:t,actions:Fr($s(s),h.options.actions)}],c,u),2))[0],s=r[1],d=s,null!=m&&m.push(d),i):[];case Io:n=jf(e,d,f);return null!=c&&c(n,p,f),n;case Yh:d=qh(d,f,[e],c?void 0:l),null!=m&&m.push(d);break;default:var a,r=nn(e,h.options.actions),o=r.exec;return c?c(r,d,f):o&&m&&(a=m.length-1,r=_ae(_ae({},r),{exec:function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];o.apply(void 0,ui([m[a]],qe(e),!1))}})),r}}(t.type,a);o&&(s=s.concat(o))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}return y.forEach(function(t){c(t,d,f)}),y.length=0,s})),d]}function rl(t){var e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}};return e[Dr]=function(){return this},e}function $f(t,e,i,s){var r=sl(t.src),e=null==(e=null==e?void 0:e.options.services)?void 0:e[r.type],r=t.data?zn(t.data,i,s):void 0,i=e?al(e,t.id,r):rl(t.id);return i.meta=t,i}function al(t,e,i){var s,e=rl(e);return e.deferred=!0,xa(t)&&(s=e.state=ya(void 0,function(){return(i?t.withContext(i):t).initialState}),e.getSnapshot=function(){return s}),e}function Wf(t){try{return"function"==typeof t.send}catch(t){return!1}}function Xf(t){return Wf(t)&&"id"in t}function Yf(t){var e;return _ae(((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[Dr]=function(){return this},e),t)}function nl(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function on(t){return nl(t).filter(function(t){return"history"!==t.type})}function ol(t){var e=[t];return Gn(t)?e:e.concat(bi(on(t).map(ol)))}function sn(t,e){var i,s,r,n,a,o,h,l,p=wo(new Set(t)),f=new Set(e);try{for(var c=ze(f),u=c.next();!u.done;u=c.next())for(var d=(S=u.value).parent;d&&!f.has(d);)f.add(d),d=d.parent}catch(t){i={error:t}}finally{try{u&&!u.done&&(s=c.return)&&s.call(c)}finally{if(i)throw i.error}}var m=wo(f);try{for(var y=ze(f),g=y.next();!g.done;g=y.next())if("compound"!==(S=g.value).type||m.get(S)&&m.get(S).length){if("parallel"===S.type)try{a=void 0;for(var v=ze(on(S)),b=v.next();!b.done;b=v.next()){var _=b.value;f.has(_)||(f.add(_),p.get(_)?p.get(_).forEach(function(t){return f.add(t)}
1):_.initialStateNodes.forEach(function(t){return f.add(t)}))}}catch(t){a={error:t}}finally{try{b&&!b.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}}else p.get(S)?p.get(S).forEach(function(t){return f.add(t)}):S.initialStateNodes.forEach(function(t){return f.add(t)})}catch(t){r={error:t}}finally{try{g&&!g.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}try{for(var P=ze(f),x=P.next();!x.done;x=P.next())for(var S,d=(S=x.value).parent;d&&!f.has(d);)f.add(d),d=d.parent}catch(t){h={error:t}}finally{try{x&&!x.done&&(l=P.return)&&l.call(P)}finally{if(h)throw h.error}}return f}function hl(t,e){var i=e.get(t);if(!i)return{};if("compound"===t.type){t=i[0];if(!t)return{};if(Gn(t))return t.key}var s={};return i.forEach(function(t){s[t.key]=hl(t,e)}),s}function wo(t){var e,i,s=new Map;try{for(var r=ze(t),n=r.next();!n.done;n=r.next()){var a=n.value;s.has(a)||s.set(a,[]),a.parent&&(s.has(a.parent)||s.set(a.parent,[]),s.get(a.parent).push(a))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}return s}function Jf(t,e){return hl(t,wo(sn([t],e)))}function rn(t,e){return Array.isArray(t)?t.some(function(t){return t===e}):t instanceof Set&&t.has(e)}function Uf(t){return ui([],qe(new Set(bi(ui([],qe(t.map(function(t){return t.ownEvents})),!1)))),!1)}function Bn(e,t){return"compound"===t.type?on(t).some(function(t){return"final"===t.type&&rn(e,t)}):"parallel"===t.type&&on(t).every(function(t){return Bn(e,t)})}function Zf(t){return(t=void 0===t?[]:t).reduce(function(t,e){return void 0!==e.meta&&(t[e.id]=e.meta),t},{})}function $h(t){return new Set(bi(t.map(function(t){return t.tags})))}function ll(e,i){var t,s;return e===i||void 0!==e&&void 0!==i&&(Qe(e)||Qe(i)?e===i:(t=Object.keys(e),s=Object.keys(i),t.length===s.length&&t.every(function(t){return ll(e[t],i[t])})))}function Kf(t){return"object"==_typeof2(t)&&null!==t&&"value"in t&&"_event"in t}function Qf(t,e){var i=t.exec;return _ae(_ae({},t),{exec:void 0!==i?function(){return i(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0})}function Ro(){return("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:("undefined"==typeof self?"undefined":_typeof2(self))<"u"?self:("undefined"==typeof window?"undefined":_typeof2(window))<"u"?window:("undefined"==typeof global?"undefined":_typeof2(global))<"u"?global:void 0}function ic(){var t=Ro();if(t&&"__xstate__"in t)return t.__xstate__}function sc(t){var e;Ro()&&(e=ic())&&e.register(t)}function rc(i,t){void 0===t&&(t={});var r=i.initialState,n=new Set,s=[],a=!1,e=Yf({id:t.id,send:function(t){if(s.push(t),!a){for(a=!0;0<s.length;){var e=s.shift();
1r=i.transition(r,e,o),n.forEach(function(t){return t.next(r)})}a=!1}},getSnapshot:function(){return r},subscribe:function(t,e,i){var s=Vn(t,e,i);return n.add(s),s.next(r),{unsubscribe:function(){n.delete(s)}}}}),o={parent:t.parent,self:e,id:t.id||"anonymous",observers:n},r=i.start?i.start(o):r;return e}function pl(t,e){return new nc(t,e)}function oc(t){return"string"==typeof t?{type:t,toString:function(){return t}}:t}function Fn(e){return _ae(_ae({type:Ao},e),{toJSON:function(){e.onDone,e.onError;var t=Fo(e,["onDone","onError"]);return _ae(_ae({},t),{type:Ao,src:oc(e.src)})}})}function pc(t,e){return new lc(t,e)}fr(fl,{DotLottieStateMachineManager:function(){return cc}});var _ae,ai,_a,Eo,Io,hn,jn,Xh,yf,Yh,Jh,vf,Ao,Nh,bf,Uh,_f,xf,Zh,Gh,Co,Pf,Mn,Ef,wf,Dr,ba,Fr,Of,zf,qf,ya,Gn,ir,tc,Wh,Po,ec,Qa,ac,ji,nc,In,Do,So,da,ga,hc,lc,va,fc,cc,cl=ls(function(){var t,e,i;function s(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=_ae(_ae({},tc),t)}function r(t){var e,i=this;this.actions=[],this.activities=Gh,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||Gh,this.meta=Zf(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=null!=(e=Array.isArray(t.tags)?new Set(t.tags):t.tags)?e:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return Uf(i.configuration)}})}function a(t,e){void 0===e&&(e=a.defaultOptions);var p=this,e=(this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=ji.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(t,e){if(Pa(t))return p.batch(t),p.state;var i=Ui(Hn(t,e));if(p.status===ji.Stopped)return p.state;if(p.status===ji.Running||p.options.deferEvents)return p.scheduler.schedule(function(){p.forward(i);var t=p._nextState(i);p.update(t,i)}),p._state;throw new Error('Event "'.concat(i.name,'" was sent to uninitialized service "').concat(p.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(i.data)))},this.sendTo=function(t,e,i){var s=p.parent&&(e===_a.Parent||p.parent.id===e),r=s?p.parent:Qe(e)?e===_a.Internal?p:p.children.get(e)||Qa.get(e):Ff(e)?e:void 0;if(!r){if(s)return;throw new Error("Unable to send event to child '".concat(e,"' from service '").concat(p.id,"'."))}"machine"in r?p.status===ji.Stopped&&p.parent===r&&!p.state.done||(s=_ae(_ae({},t),{name:t.name===bf?"".concat(en(p.id)):t.name,origin:p.sessionId}),!i&&p.machine.config.predictableActionArguments?p._outgoingQueue.push([r,s]):r.send(s)):!i&&p.machine.config.predictableActionArguments?p._outgoingQueue.push([r,t.data]):r.send(t.data)},this._exec=function(t,e,i,s){void 0===s&&(s=p.machine.options.actions);s=t.exec||Mo(t.type,s),s=Ye(s)?s:(s||t).exec;if(s)try{return s(e,i.data,p.machine.config.predictableActionArguments?{action:t,_event:i}:{action:t,state:p.state,_event:i})}catch(t){throw p.parent&&p.parent.send({type:"xstate.error",data:t}),t}switch(t.type){case hn:p.defer(t);break;case jn:var r=t;"number"==typeof r.delay?p.defer(r):r.to?p.sendTo(r._event,r.to,i===ba):p.send(r._event);break;case Xh:p.cancel(t.sendId);break;case Eo:if(p.status!==ji.Running)return;r=t.activity;if(p.machine.config.predictableActionArguments||p.state.activities[r.id||r.type])if(r.type===ai.Invoke){var n=sl(r.src),a=p.machine.options.services?p.machine.options.services[n.type]:void 0,o=r.id,h=r.data,l="autoForward"in r?r.autoForward:!!r.forward;if(!a)return;h=h?zn(h,e,i):void 0;if("string"==typeof a)return;n=Ye(a)?a(e,i.data,{data:h,src:n,meta:r.meta}
1):a;if(!n)return;a=void 0;xa(n)&&(n=h?n.withContext(h):n,a={autoForward:l}),p.spawn(n,o,a)}else p.spawnActivity(r);break;case Io:p.stopChild(t.activity.id);break;case Jh:h=t.label,l=t.value;h?p.logger(h,l):p.logger(l)}},_ae(_ae({},a.defaultOptions),e)),i=e.clock,s=e.logger,r=e.parent,n=e.id,n=void 0!==n?n:t.id;this.id=n,this.logger=s,this.clock=i,this.parent=r,this.options=e,this.scheduler=new Wh({deferEvents:this.options.deferEvents}),this.sessionId=Qa.bookId()}function n(t){return e.apply(this,arguments)}function o(t,e){return i.apply(this,arguments)}function h(t,e,i,s){void 0===i&&(i="context"in t?t.context:void 0);var r=this,a=(this.config=t,this._context=i,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(hc(),e),this.parent=null==s?void 0:s.parent,this.key=this.config.key||(null==s?void 0:s.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:Zh),this.id=this.config.id||ui([this.machine.key],qe(this.path),!1).join(this.delimiter),this.version=(this.parent||this.config).version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!=(t=this.config.schema)?t:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?tn(this.config.states,function(t,e){t=new h(t,{},void 0,{parent:r,key:e});return Object.assign(r.idMap,_ae(((e={})[t.id]=t,e),t.idMap)),t}):da,0);(function t(e){var i,s;e.order=a++;try{for(var r=ze(nl(e)),n=r.next();!n.done;n=r.next())t(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(s=r.return)&&s.call(r)}finally{if(i)throw i.error}}})(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(t){return t.event===In}):In in this.config.on),this.strict=!!this.config.strict,this.onEntry=$s(this.config.entry||this.config.onEntry).map(function(t){return nn(t)}),this.onExit=$s(this.config.exit||this.config.onExit).map(function(t){return nn(t)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=$s(this.config.invoke).map(function(t,e){var i,s;return xa(t)?(i=wn(r.id,e),r.machine.options.services=_ae(((s={})[i]=t,s),r.machine.options.services),Fn({src:i,id:i})):Qe(t.src)?(i=t.id||wn(r.id,e),Fn(_ae(_ae({},t),{id:i,src:t.src}))):xa(t.src)||Ye(t.src)?(i=t.id||wn(r.id,e),r.machine.options.services=_ae(((s={})[i]=t.src,s),r.machine.options.services),Fn(_ae(_ae({id:i},t),{src:i}))):(s=t.src,Fn(_ae(_ae({id:wn(r.id,e)},t),{src:s})))}),this.activities=$s(this.config.activities).concat(this.invoke).map(function(t){return Vo(t)}),this.transition=this.transition.bind(this),this.tags=$s(this.config.tags)}Bo(),An(),qn(),Tn(),ca(),qs(),_ae=function(){return(_ae=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},(t=ai=ai||{}).Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose",(t=_a=_a||{}).Parent="#_parent",t.Internal="#_internal",Eo=ai.Start,Io=ai.Stop,hn=ai.Raise,jn=ai.Send,Xh=ai.Cancel,yf=ai.NullEvent,Yh=ai.Assign,ai.After,ai.DoneState,Jh=ai.Log,vf=ai.Init,Ao=ai.Invoke,ai.ErrorExecution,Nh=ai.ErrorPlatform,bf=ai.ErrorCustom,Uh=ai.Update,_f=ai.Choose,xf=ai.Pure,Zh=".",Gh={},Co="xstate.guard",Pf="",Ef=function(a){return function(t){var e,i,s=t;
1try{for(var r=ze(a),n=r.next();!n.done;n=r.next())s=s[n.value]}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}return s}},wf=function(){},Dr="function"==typeof Symbol&&Symbol.observable||"@@observable",(Mn={})[Dr]=function(){return this},Mn[Symbol.observable]=function(){return this},ba=Ui({type:vf}),Fr=function(t,e){return t?(Pa(t)?t:[t]).map(function(t){return nn(t,e)}):[]},Of=function(t,e,i){return _ae(_ae({},t),{value:Qe(t.expr)?t.expr:t.expr(e,i.data,{_event:i})})},zf=function(t){return{type:Xh,sendId:t}},qf=function(t){var e,i,s=[];try{for(var r=ze(t),n=r.next();!n.done;n=r.next())for(var a=n.value,o=0;o<a.actions.length;)a.actions[o].type===Yh?(s.push(a.actions[o]),a.actions.splice(o,1)):o++}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(e)throw e.error}}return s},ya=function(t,e){return e(t)},Gn=function(t){return"atomic"===t.type||"final"===t.type},r.from=function(t,e){return t instanceof r?t.context!==e?new r({value:t.value,context:e,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t:new r({value:t,context:e,_event:ba,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},r.create=function(t){return new r(t)},r.inert=function(t,e){var i;return t instanceof r?t.actions.length?(i=ba,new r({value:t.value,context:e,_event:i,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})):t:r.from(t,e)},r.prototype.toStrings=function(t,i){var e,s=this;return void 0===t&&(t=this.value),void 0===i&&(i="."),Qe(t)?[t]:(e=Object.keys(t)).concat.apply(e,ui([],qe(e.map(function(e){return s.toStrings(t[e],i).map(function(t){return e+i+t})})),!1))},r.prototype.toJSON=function(){var t=this,e=(t.configuration,t.transitions,t.tags),t=(t.machine,Fo(t,["configuration","transitions","tags","machine"]));return _ae(_ae({},t),{tags:Array.from(e)})},r.prototype.matches=function(t){return Lo(t,this.value)},r.prototype.hasTag=function(t){return this.tags.has(t)},r.prototype.can=function(t){wf(!!this.machine);var e=null==(e=this.machine)?void 0:e.getTransitionData(this,t);return!(null==e||!e.transitions.length)&&e.transitions.some(function(t){return void 0!==t.target||t.actions.length})},ir=r,tc={deferEvents:!1},s.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},s.prototype.schedule=function(t){if(!this.initialized||this.processingEvent)this.queue.push(t);else{if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()}},s.prototype.clear=function(){this.queue=[]},s.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},s.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(t){throw this.clear(),t}finally{this.processingEvent=!1}},Wh=s,Po=new Map,ec=0,ac={sync:!(Qa={bookId:function(){return"x:".concat(ec++)},register:function(t,e){return Po.set(t,e),t},get:function(t){return Po.get(t)},free:function(t){Po.delete(t)}}),autoForward:!1},(t=ji=ji||{})[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped",Object.defineProperty(a.prototype,"initialState",{get:function(){var t=this;return this._initialState||ya(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),a.prototype.execute=function(t,e){var i,s;try{for(var r=ze(t.actions),n=r.next();!n.done;n=r.next()){var a=n.value;this.exec(a,t,e)}}catch(t){i={error:t}}finally{try{n&&!n.done&&(s=r.return)&&s.call(r)}finally{if(i)throw i.error}}},a.prototype.update=function(t,e){var i,s,r,n,a,o,h=this;if(t._sessionid=this.sessionId,this._state=t,this.machine.config.predictableActionArguments&&e!==ba||!this.options.execute)for(var l=void 0;l=this._outgoingQueue.shift();)l[0].send(l[1]);else this.execute(this.state);
1if(this.children.forEach(function(t){h.state.children[t.id]=t}),this.devTools&&this.devTools.send(e.data,t),t.event)try{for(var p=ze(this.eventListeners),f=p.next();!f.done;f=p.next())(0,f.value)(t.event)}catch(t){g={error:t}}finally{try{f&&!f.done&&(y=p.return)&&y.call(p)}finally{if(g)throw g.error}}try{for(var c=ze(this.listeners),u=c.next();!u.done;u=c.next())(0,u.value)(t,t.event)}catch(t){i={error:t}}finally{try{u&&!u.done&&(s=c.return)&&s.call(c)}finally{if(i)throw i.error}}try{for(var d=ze(this.contextListeners),m=d.next();!m.done;m=d.next())(0,m.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(t){r={error:t}}finally{try{m&&!m.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}if(this.state.done){var y=t.configuration.find(function(t){return"final"===t.type&&t.parent===h.machine}),g=y&&y.doneData?zn(y.doneData,t.context,e):void 0;this._doneEvent=Rn(this.id,g);try{for(var v=ze(this.doneListeners),b=v.next();!b.done;b=v.next())(0,b.value)(this._doneEvent)}catch(t){a={error:t}}finally{try{b&&!b.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}this._stop(),this._stopChildren(),Qa.free(this.sessionId)}},a.prototype.onTransition=function(t){return this.listeners.add(t),this.status===ji.Running&&t(this.state,this.state.event),this},a.prototype.subscribe=function(t,e,i){function s(){r.doneListeners.delete(s),r.stopListeners.delete(s),n.complete()}var r=this,n=Vn(t,e,i);this.listeners.add(n.next),this.status!==ji.NotStarted&&n.next(this.state);return this.status===ji.Stopped?n.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){r.listeners.delete(n.next),r.doneListeners.delete(s),r.stopListeners.delete(s)}}},a.prototype.onEvent=function(t){return this.eventListeners.add(t),this},a.prototype.onSend=function(t){return this.sendListeners.add(t),this},a.prototype.onChange=function(t){return this.contextListeners.add(t),this},a.prototype.onStop=function(t){return this.stopListeners.add(t),this},a.prototype.onDone=function(t){return this.status===ji.Stopped&&this._doneEvent?t(this._doneEvent):this.doneListeners.add(t),this},a.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},a.prototype.start=function(t){var e,i=this;return this.status!==ji.Running&&(this.machine._init(),Qa.register(this.sessionId,this),this.initialized=!0,this.status=ji.Running,e=void 0===t?this.initialState:ya(this,function(){return Kf(t)?i.machine.resolveState(t):i.machine.resolveState(ir.from(t,i.machine.context))}),this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){i.update(e,ba)})),this},a.prototype._stopChildren=function(){this.children.forEach(function(t){Ye(t.stop)&&t.stop()}),this.children.clear()},a.prototype._stop=function(){var e,t,i,s,r,n,a,o,h,l;try{for(var p=ze(this.listeners),f=p.next();!f.done;f=p.next()){var c=f.value;this.listeners.delete(c)}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}try{for(var u=ze(this.stopListeners),d=u.next();!d.done;d=u.next())(c=d.value)(),this.stopListeners.delete(c)}catch(t){i={error:t}}finally{try{d&&!d.done&&(s=u.return)&&s.call(u)}finally{if(i)throw i.error}}try{for(var m=ze(this.contextListeners),y=m.next();!y.done;y=m.next()){c=y.value;this.contextListeners.delete(c)}}catch(t){r={error:t}}finally{try{y&&!y.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}try{for(var g=ze(this.doneListeners),v=g.next();!v.done;v=g.next()){c=v.value;this.doneListeners.delete(c)}}catch(t){a={error:t}}finally{try{v&&!v.done&&(o=g.return)&&o.call(g)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=ji.Stopped,this._initialState=void 0;try{for(var b=ze(Object.keys(this.delayedEventsMap)),_=b.next();!_.done;_=b.next()){var P=_.value;this.clock.clearTimeout(this.delayedEventsMap[P])}}catch(t){h={error:t}}finally{try{_&&!_.done&&(l=b.return)&&l.call(b)}finally{if(h)throw h.error}}
1this.scheduler.clear(),this.scheduler=new Wh({deferEvents:this.options.deferEvents})},a.prototype.stop=function(){var s=this,t=this.scheduler;return this._stop(),t.schedule(function(){var i=Ui({type:"xstate.stop"}),t=ya(s,function(){var t=bi(ui([],qe(s.state.configuration),!1).sort(function(t,e){return e.order-t.order}).map(function(t){return Fr(t.onExit,s.machine.options.actions)})),t=qe(Nn(s.machine,s.state,s.state.context,i,[{type:"exit",actions:t}],s.machine.config.predictableActionArguments?s._exec:void 0,s.machine.config.predictableActionArguments||s.machine.config.preserveActionOrder),2),e=t[0],t=t[1],t=new ir({value:s.state.value,context:t,_event:i,_sessionid:s.sessionId,historyValue:void 0,history:s.state,actions:e.filter(function(t){return!To(t)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:s.state.done,tags:s.state.tags,machine:s.machine});return t.changed=!0,t});s.update(t,i),s._stopChildren(),Qa.free(s.sessionId)}),this},a.prototype.batch=function(o){var h,l=this;if((this.status!==ji.NotStarted||!this.options.deferEvents)&&this.status!==ji.Running)throw new Error("".concat(o.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));o.length&&(h=!!this.machine.config.predictableActionArguments&&this._exec,this.scheduler.schedule(function(){var e,t,i=l.state,s=!1,r=[];try{for(var n=ze(o),a=n.next();!a.done;a=n.next())!function(t){var e=Ui(t);l.forward(e),i=ya(l,function(){return l.machine.transition(i,e,void 0,h||void 0)}),r.push.apply(r,ui([],qe(l.machine.config.predictableActionArguments?i.actions:i.actions.map(function(t){return Qf(t,i)})),!1)),s=s||!!i.changed}(a.value)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}i.changed=s,i.actions=r,l.update(i,Ui(o[o.length-1]))}))},a.prototype.sender=function(t){return this.send.bind(this,t)},a.prototype._nextState=function(t,e){var i=this,s=(void 0===e&&(e=!!this.machine.config.predictableActionArguments&&this._exec),Ui(t));if(0!==s.name.indexOf(Nh)||this.state.nextEvents.some(function(t){return 0===t.indexOf(Nh)}))return ya(this,function(){return i.machine.transition(i.state,s,void 0,e||void 0)});throw s.data.data},a.prototype.nextState=function(t){return this._nextState(t,!1)},a.prototype.forward=function(t){var e,i;try{for(var s=ze(this.forwardTo),r=s.next();!r.done;r=s.next()){var n=r.value,a=this.children.get(n);if(!a)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(n,"'."));a.send(t)}}catch(t){e={error:t}}finally{try{r&&!r.done&&(i=s.return)&&i.call(s)}finally{if(e)throw e.error}}},a.prototype.defer=function(t){var e=this,i=this.clock.setTimeout(function(){"to"in t&&t.to?e.sendTo(t._event,t.to,!0):e.send(t._event)},t.delay);t.id&&(this.delayedEventsMap[t.id]=i)},a.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},a.prototype.exec=function(t,e,i){void 0===i&&(i=this.machine.options.actions),this._exec(t,e.context,e._event,i)},a.prototype.removeChild=function(t){var e;this.children.delete(t),this.forwardTo.delete(t),null!=(e=this.state)&&delete e.children[t]},a.prototype.stopChild=function(t){var e=this.children.get(t);e&&(this.removeChild(t),Ye(e.stop))&&e.stop()},a.prototype.spawn=function(t,e,i){if(this.status!==ji.Running)return al(t,e);if(Hh(t))return this.spawnPromise(Promise.resolve(t),e);if(Ye(t))return this.spawnCallback(t,e);if(Xf(t))return this.spawnActor(t,e);if(Df(t))return this.spawnObservable(t,e);if(xa(t))return this.spawnMachine(t,_ae(_ae({},i),{id:e}));if(kf(t))return this.spawnBehavior(t,e);throw new Error('Unable to spawn entity "'.concat(e,'" of type "').concat(_typeof2(t),'".'))},a.prototype.spawnMachine=function(t,e){var i=this,s=(void 0===e&&(e={}),new a(t,_ae(_ae({},this.options),{parent:this,id:e.id||t.id}))),t=_ae(_ae({},ac),e),e=(t.sync&&s.onTransition(function(t){i.send(Uh,{state:t,id:s.id})}),s);return this.children.set(s.id,e),t.autoForward&&this.forwardTo.add(s.id),s.onDone(function(t){i.removeChild(s.id),i.send(Ui(t,{origin:s.id}))}).start(),e},a.prototype.spawnBehavior=function(t,e){t=rc(t,{id:e,parent:this});return this.children.set(e,t),t}
1,a.prototype.spawnPromise=function(n,i){var e,t,s=this,r=!1;n.then(function(t){r||(e=t,s.removeChild(i),s.send(Ui(Rn(i,t),{origin:i})))},function(e){if(!r){s.removeChild(i);e=en(i,e);try{s.send(Ui(e,{origin:i}))}catch(t){s.devTools&&s.devTools.send(e,s.state),s.machine.strict&&s.stop()}}}),(t={id:i,send:function(){},subscribe:function(t,e,i){var s=Vn(t,e,i),r=!1;return n.then(function(t){r||(s.next(t),r)||s.complete()},function(t){r||s.error(t)}),{unsubscribe:function(){return r=!0}}},stop:function(){r=!0},toJSON:function(){return{id:i}},getSnapshot:function(){return e}})[Dr]=function(){return this};return this.children.set(i,t),t},a.prototype.spawnCallback=function(t,i){var s,e,r=this,n=!1,a=new Set,o=new Set;try{e=t(function(e){s=e,o.forEach(function(t){return t(e)}),n||r.send(Ui(e,{origin:i}))},function(t){a.add(t)})}catch(t){this.send(en(i,t))}return Hh(e)?this.spawnPromise(e,i):((t={id:i,send:function(e){return a.forEach(function(t){return t(e)})},subscribe:function(t){var e=Vn(t);return o.add(e.next),{unsubscribe:function(){o.delete(e.next)}}},stop:function(){n=!0,Ye(e)&&e()},toJSON:function(){return{id:i}},getSnapshot:function(){return s}})[Dr]=function(){return this},t=t,this.children.set(i,t),t)},a.prototype.spawnObservable=function(s,e){var i,t,r=this,n=s.subscribe(function(t){i=t,r.send(Ui(t,{origin:e}))},function(t){r.removeChild(e),r.send(Ui(en(e,t),{origin:e}))},function(){r.removeChild(e),r.send(Ui(Rn(e),{origin:e}))});(t={id:e,send:function(){},subscribe:function(t,e,i){return s.subscribe(t,e,i)},stop:function(){return n.unsubscribe()},getSnapshot:function(){return i},toJSON:function(){return{id:e}}})[Dr]=function(){return this};return this.children.set(e,t),t},a.prototype.spawnActor=function(t,e){return this.children.set(e,t),t},a.prototype.spawnActivity=function(t){var e=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;e&&(e=e(this.state.context,t),this.spawnEffect(t.id,e))},a.prototype.spawnEffect=function(t,e){this.children.set(t,((e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:e||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}})[Dr]=function(){return this},e))},a.prototype.attachDev=function(){var t,e=Ro();this.options.devTools&&e&&(e.__REDUX_DEVTOOLS_EXTENSION__&&(t="object"==_typeof2(this.options.devTools)?this.options.devTools:void 0,this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(_ae(_ae({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},t),{features:_ae({jump:!1,skip:!1},t?t.features:void 0)}),this.machine),this.devTools.init(this.state)),sc(this))},a.prototype.toJSON=function(){return{id:this.id}},a.prototype[Dr]=function(){return this},a.prototype.getSnapshot=function(){return this.status===ji.NotStarted?this.initialState:this._state},a.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:(i=function(t,e){return setTimeout(t,e)},o.toString=function(){return i.toString()},o),clearTimeout:(e=function(t){return clearTimeout(t)},n.toString=function(){return e.toString()},n)},logger:console.log.bind(console),devTools:!1},a.interpret=pl,nc=a,In="",Do="#",So="*",da={},ga=function(t){return t[0]===Do},hc=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},h.prototype._init=function(){this.__cache.transitions||ol(this).forEach(function(t){return t.on})},h.prototype.withConfig=function(t,e){var i=this.options,s=i.actions,r=i.activities,n=i.guards,a=i.services,i=i.delays;return new h(this.config,{actions:_ae(_ae({},s),t.actions),activities:_ae(_ae({},r),t.activities),guards:_ae(_ae({},n),t.guards),services:_ae(_ae({},a),t.services),delays:_ae(_ae({},i),t.delays)},null!=e?e:this.context)},h.prototype.withContext=function(t){return new h(this.config,this.options,t)},Object.defineProperty(h.prototype,"context",{get:function(){return Ye(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.t
1ype,initial:this.initial,history:this.history,states:tn(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),h.prototype.toJSON=function(){return this.definition},Object.defineProperty(h.prototype,"on",{get:function(){var t;return this.__cache.on||(t=this.transitions,this.__cache.on=t.reduce(function(t,e){return t[e.eventType]=t[e.eventType]||[],t[e.eventType].push(e),t},{}))},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),h.prototype.getCandidates=function(i){var s,t;return this.__cache.candidates[i]||(s=i===In,t=this.transitions.filter(function(t){var e=t.eventType===i;return s?e:e||t.eventType===So}),this.__cache.candidates[i]=t)},h.prototype.getDelayedTransitions=function(){var n,i=this,a=this.config.after;return a?(n=function(t,e){e=Hf(Ye(t)?"".concat(i.id,":delay[").concat(e,"]"):t,i.id);return i.onEntry.push(Rf(e,{delay:t})),i.onExit.push(zf(e)),e},(Pa(a)?a.map(function(t,e){e=n(t.delay,e);return _ae(_ae({},t),{event:e})}):bi(Object.keys(a).map(function(t,e){var i=a[t],i=Qe(i)?{target:i}:i,s=isNaN(+t)?t:+t,r=n(s,e);return $s(i).map(function(t){return _ae(_ae({},t),{event:r,delay:s})})}))).map(function(t){var e=t.delay;return _ae(_ae({},i.formatTransition(t)),{delay:e})})):[]},h.prototype.getStateNodes=function(t){var e,i,s=this;return t?Qe(e=t instanceof ir?t.value:an(t,this.delimiter))?void 0!==(t=this.getStateNode(e).initial)?this.getStateNodes(((i={})[e]=t,i)):[this,this.states[e]]:(t=Object.keys(e),(i=[this]).push.apply(i,ui([],qe(bi(t.map(function(t){return s.getStateNode(t).getStateNodes(e[t])}))),!1)),i):[]},h.prototype.handles=function(t){t=Kh(t);return this.events.includes(t)},h.prototype.resolveState=function(t){var t=t instanceof ir?t:ir.create(t),e=Array.from(sn([],this.getStateNodes(t.value)));return new ir(_ae(_ae({},t),{value:this.resolve(t.value),configuration:e,done:Bn(e,this),tags:$h(e),machine:this.machine}))},h.prototype.transitionLeafNode=function(t,e,i){t=this.getStateNode(t).next(e,i);return t&&t.transitions.length?t:this.next(e,i)},h.prototype.transitionCompoundNode=function(t,e,i){var s=Object.keys(t),t=this.getStateNode(s[0])._transition(t[s[0]],e,i);return t&&t.transitions.length?t:this.next(e,i)},h.prototype.transitionParallelNode=function(t,e,i){var s={};try{for(var r=ze(Object.keys(t)),n=r.next();!n.done;n=r.next()){var a,o=n.value,h=t[o];h&&(a=this.getStateNode(o)._transition(h,e,i))&&(s[o]=a)}}catch(t){f={error:t}}finally{try{n&&!n.done&&(p=r.return)&&p.call(r)}finally{if(f)throw f.error}}var l,p=Object.keys(s).map(function(t){return s[t]}),f=bi(p.map(function(t){return t.transitions}));return p.some(function(t){return 0<t.transitions.length})?(l=bi(Object.keys(s).map(function(t){return s[t].configuration})),{transitions:f,exitSet:bi(p.map(function(t){return t.exitSet})),configuration:l,source:e,actions:bi(Object.keys(s).map(function(t){return s[t].actions}))}):this.next(e,i)},h.prototype._transition=function(t,e,i){return Qe(t)?this.transitionLeafNode(t,e,i):1===Object.keys(t).length?this.transitionCompoundNode(t,e,i):this.transitionParallelNode(t,e,i)},h.prototype.getTransitionData=function(t,e){return this._transition(t.value,t,Ui(e))},h.prototype.next=function(e,t){var i,s,r,n=this,a=t.name,o=[],h=[];try{for(var l=ze(this.getCandidates(a)),p=l.next();!p.done;p=l.next()){var f=p.value,c=f.cond,u=f.in,d=e.context,m=!u||(Qe(u)&&ga(u)?e.matches(an(this.getStateNodeById(u).path,this.delimiter)):Lo(an(u,this.delimiter),Ef(this.path.slice(0,-2))(e.value))),y=!1;try{y=!c||il(this.machine,c,d,t,e)}catch(t){throw new Error("Unable to evaluate guard '".concat(c.name||c.type,"' in transition for event '").concat(a,"' in state node '").concat(this.id,"':\n").concat(t.message))}if(y&&m){void 0!==f.target&&(h=f.target),o.push.apply(o,ui([],qe(f.actions),!1)),s=f;break}}}catch(t){i={error:t}}finally{try{p&&!p.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}if(s)return h.length?(r=bi(h.map(function(t){return n.getRelativeStateNodes(t,e.historyValue)})),{transitions:[s],exitSet:!!s.internal?[]:bi(h.map(function(t){return n.getPotentiallyReenteringNodes(t)})),configuration:r,source:e,actions:o}):{transitions:[s],exitSet:[],configuration:e.value?[this]:[],source:e,actions:o}},h.prototype.getPotentiallyReenteringNodes=function(t){if(this.order<t.order)return[this];for(var e=[],i=this,s=t;i&&i!==s;)e.push(i),i=i.parent;return i!==s?[]:(e.push(s),e)},h.prototype.getActions=function(t,e,r,n,a,i,s){var o=this,h=i?sn([],this.get
1StateNodes(i.value)):[],l=new Set;try{for(var p=ze(Array.from(t).sort(function(t,e){return t.order-e.order})),f=p.next();!f.done;f=p.next())(!rn(h,c=f.value)||rn(r.exitSet,c)||c.parent&&l.has(c.parent))&&l.add(c)}catch(t){y={error:t}}finally{try{f&&!f.done&&(m=p.return)&&m.call(p)}finally{if(y)throw y.error}}try{for(var c,u=ze(h),d=u.next();!d.done;d=u.next())rn(t,c=d.value)&&!rn(r.exitSet,c.parent)||r.exitSet.push(c)}catch(t){v={error:t}}finally{try{d&&!d.done&&(g=u.return)&&g.call(u)}finally{if(v)throw v.error}}r.exitSet.sort(function(t,e){return e.order-t.order});var i=Array.from(l).sort(function(t,e){return t.order-e.order}),m=new Set(r.exitSet),y=bi(i.map(function(t){var e,i,s=[];return"final"===t.type&&((e=t.parent).parent&&(s.push(Dn(t.id,t.doneData),Dn(e.id,t.doneData?zn(t.doneData,n,a):void 0)),"parallel"===(i=e.parent).type)&&on(i).every(function(t){return Bn(r.configuration,t)}))&&s.push(Dn(i.id)),s})),g=i.map(function(t){var e=t.onEntry,t=t.activities.map(function(t){return Nf(t)});return{type:"entry",actions:Fr(s?ui(ui([],qe(e),!1),qe(t),!1):ui(ui([],qe(t),!1),qe(e),!1),o.machine.options.actions)}}).concat({type:"state_done",actions:y.map(function(t){return Lf(t)})}),v=Array.from(m).map(function(t){return{type:"exit",actions:Fr(ui(ui([],qe(t.onExit),!1),qe(t.activities.map(function(t){return Gf(t)})),!1),o.machine.options.actions)}}).concat({type:"transition",actions:Fr(r.actions,this.machine.options.actions)}).concat(g);return e?(i=Fr(bi(ui([],qe(t),!1).sort(function(t,e){return e.order-t.order}).map(function(t){return t.onExit})),this.machine.options.actions).filter(function(t){return!To(t)}),v.concat({type:"stop",actions:i})):v},h.prototype.transition=function(t,e,i,s){void 0===t&&(t=this.initialState);var r,e=Ui(e);if(t=t instanceof ir?void 0===i?t:this.resolveState(ir.from(t,i)):(t=Qe(t)?this.resolve(On(this.getResolvedPath(t))):this.resolve(t),i=null!=i?i:this.machine.context,this.resolveState(ir.from(t,i))),!this.strict||this.events.includes(e.name)||Cf(e.name))return i=this._transition(t.value,t,e)||{transitions:[],configuration:[],exitSet:[],source:t,actions:[]},r=sn([],this.getStateNodes(t.value)),r=i.configuration.length?sn(r,i.configuration):r,i.configuration=ui([],qe(r),!1),this.resolveTransition(i,t,t.context,s,e);throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(e.name,"'"))},h.prototype.resolveRaisedTransition=function(t,e,i,s){var r=t.actions;return(t=this.transition(t,e,void 0,s))._event=i,t.event=i.data,(e=t.actions).unshift.apply(e,ui([],qe(r),!1)),t},h.prototype.resolveTransition=function(t,e,i,s,r){var n,a,o=this,h=(void 0===r&&(r=ba),t.configuration),l=!e||0<t.transitions.length,p=l?t.configuration:e?e.configuration:[],f=Bn(p,this),c=l?Jf(this.machine,h):void 0,u=e?e.historyValue||(t.source?this.machine.historyValue(e.value):void 0):void 0,d=this.getActions(new Set(p),f,t,i,r,e,s),m=e?_ae({},e.activities):{};try{for(var y=ze(d),g=y.next();!g.done;g=y.next()){var v=g.value;try{n=void 0;for(var b=ze(v.actions),_=b.next();!_.done;_=b.next()){var P=_.value;P.type===Eo?m[P.activity.id||P.activity.type]=P:P.type===Io&&(m[P.activity.id||P.activity.type]=!1)}}catch(t){n={error:t}}finally{try{_&&!_.done&&(a=b.return)&&a.call(b)}finally{if(n)throw n.error}}}}catch(t){S={error:t}}finally{try{g&&!g.done&&(x=y.return)&&x.call(y)}finally{if(S)throw S.error}}var x=qe(Nn(this,e,i,r,d,s,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),S=x[0],E=x[1],d=qe(Tf(S,To),2),A=d[0],x=d[1],d=S.filter(function(t){return t.type===Eo&&(null==(t=t.activity)?void 0:t.type)===Ao}).reduce(function(t,e){return t[e.activity.id]=$f(e.activity,o.machine,E,r),t},e?_ae({},e.children):{}),S=new ir({value:c||e.value,context:E,_event:r,_sessionid:e?e._sessionid:null,historyValue:c?u?Mf(u,c):void 0:e?e.historyValue:void 0,history:!c||t.source?e:void 0,actions:c?x:[],activities:c?m:e?e.activities:{},events:[],configuration:p,transitions:t.transitions,children:d,done:f,tags:$h(p),machine:this}),u=i!==E,x=(S.changed=r.name===Uh||u,S.history),c=(x&&delete x.history,!f&&(this._transient||h.some(function(t){return t._transient})));if(!(l||c&&r.name!==In))return S;var k=S;if(!f)for(c&&(k=this.resolveRaisedTransition(k,{type:yf},r,s));A.length;)var C=A.shift(),k=this.resolveRaisedTransition(k,C._event,r,s);e=k.changed||(x?!!k.actions.length||u||_typeof2(x.value)!=_typeof2(k.value)||!ll(k.value,x.value):void 0);return k.changed=e,k.history=x,k},h.prototype.getStateNode=function(t){if(ga(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var e=this.states[t];if(e)return e;throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"))},h.prototype.getStateNodeById=function(t){t=ga(t)?t.slice(Do.length):t;if(t===this.id)return this;var e=this.machine.idMap[t];if(e)return e;throw new Error("Child state node '#".concat(t,"' does not exist on machine '").concat(this.id,"'"))},h.prototype.getStateNodeByPath=function(t){if("string"==typeof t&&ga(t))try{return this.get
1StateNodeById(t.slice(1))}catch(t){}for(var e=ko(t,this.delimiter).slice(),i=this;e.length;){var s=e.shift();if(!s.length)break;i=i.getStateNode(s)}return i},h.prototype.resolve=function(i){var t,e,s=this;if(!i)return this.initialStateValue||da;switch(this.type){case"parallel":return tn(this.initialStateValue,function(t,e){return t?s.getStateNode(e).resolve(i[e]||t):da});case"compound":return Qe(i)?"parallel"===(e=this.getStateNode(i)).type||"compound"===e.type?((t={})[i]=e.initialStateValue,t):i:Object.keys(i).length?tn(i,function(t,e){return t?s.getStateNode(e).resolve(t):da}):this.initialStateValue||{};default:return i||da}},h.prototype.getResolvedPath=function(t){if(ga(t)){var e=this.machine.idMap[t.slice(Do.length)];if(e)return e.path;throw new Error("Unable to find state node '".concat(t,"'"))}return ko(t,this.delimiter)},Object.defineProperty(h.prototype,"initialStateValue",{get:function(){var t,e;if(!this.__cache.initialStateValue){if("parallel"===this.type)e=jh(this.states,function(t){return t.initialStateValue||da},function(t){return"history"!==t.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));e=Gn(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}else e={};this.__cache.initialStateValue=e}return this.__cache.initialStateValue},enumerable:!1,configurable:!0}),h.prototype.getInitialState=function(t,e){this._init();t=this.getStateNodes(t);return this.resolveTransition({configuration:t,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=e?e:this.machine.context,void 0)},Object.defineProperty(h.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(t)return this.getInitialState(t);throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."))},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"target",{get:function(){var t,e;return e="history"===this.type?Qe((t=this.config).target)&&ga(t.target)?On(this.machine.getStateNodeById(t.target).path.slice(this.path.length-1)):t.target:e},enumerable:!1,configurable:!0}),h.prototype.getRelativeStateNodes=function(t,e,i){return(i=void 0===i?!0:i)?"history"===t.type?t.resolveHistory(e):t.initialStateNodes:[t]},Object.defineProperty(h.prototype,"initialStateNodes",{get:function(){var e=this;return!Gn(this)&&("compound"!==this.type||this.initial)?bi(Ln(this.initialStateValue).map(function(t){return e.getFromRelativePath(t)})):[this]},enumerable:!1,configurable:!0}),h.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var t=qe(t),e=t[0],t=t.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(e,"' from node with no states"));var i=this.getStateNode(e);if("history"===i.type)return i.resolveHistory();if(this.states[e])return this.states[e].getFromRelativePath(t);throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"))},h.prototype.historyValue=function(i){if(Object.keys(this.states).length)return{current:i||this.initialStateValue,states:jh(this.states,function(t,e){return i?(e=Qe(i)?void 0:i[e],t.historyValue(e||t.initialStateValue)):t.historyValue()},function(t){return!t.history})}},h.prototype.resolveHistory=function(t){var e,i=this;return"history"!==this.type?[this]:(e=this.parent,t?Qe(t=Af(e.path,"states")(t).current)?[e.getStateNode(t)]:bi(Ln(t).map(function(t){return"deep"===i.history?e.getFromRelativePath(t):[e.states[t[0]]]})):(t=this.target)?bi(Ln(t).map(function(t){return e.getFromRelativePath(t)})):e.initialStateNodes)},Object.defineProperty(h.prototype,"stateIds",{get:function(){var e=this,t=bi(Object.keys(this.states).map(function(t){return e.states[t].stateIds}));return[this.id].concat(t)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"events",{get:function(){var e,t,i,s;if(this.__cache.events)return this.__cache.events;var r=this.states,n=new Set(this.ownEvents);if(r)try{for(var a=ze(Object.keys(r)),o=a.next();!o.done;o=a.next()){var h=r[o.value];if(h.states)try{i=void 0;for(var l=ze(h.events),p=l.next();!p.done;p=l.next()){var f=p.value;n.add("".concat(f))}}catch(t){i={error:t}}finally{try{p&&!p.done&&(s=l.return)&&s.call(l)}finally{if(i)throw i.error}}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(n)}
1,enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(t){return!(!t.target&&!t.actions.length&&t.internal)}).map(function(t){return t.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),h.prototype.resolveTarget=function(t){var i=this;if(void 0!==t)return t.map(function(t){if(!Qe(t))return t;var e=t[0]===i.delimiter;if(e&&!i.parent)return i.getStateNodeByPath(t.slice(1));e=e?i.key+t:t;if(!i.parent)return i.getStateNodeByPath(e);try{return i.parent.getStateNodeByPath(e)}catch(t){throw new Error("Invalid transition definition for state node '".concat(i.id,"':\n").concat(t.message))}})},h.prototype.formatTransition=function(t){var e=this,i=If(t.target),s="internal"in t?t.internal:!i||i.some(function(t){return Qe(t)&&t[0]===e.delimiter}),r=this.machine.options.guards,i=this.resolveTarget(i),n=_ae(_ae({},t),{actions:Fr($s(t.actions)),cond:el(t.cond,r),target:i,source:this,internal:s,eventType:t.event,toJSON:function(){return _ae(_ae({},n),{target:n.target?n.target.map(function(t){return"#".concat(t.id)}):void 0,source:"#".concat(e.id)})}});return n},h.prototype.formatTransitions=function(){var e,t,i,s,r=this,n=(s=this.config.on?Array.isArray(this.config.on)?this.config.on:(a=void 0===(a=(s=this.config.on)[n=So])?[]:a,i=Fo(s,["symbol"==_typeof2(n)?n:n+""]),bi(Object.keys(i).map(function(t){return ma(t,i[t])}).concat(ma(So,a)))):[],this.config.always?ma("",this.config.always):[]),a=this.config.onDone?ma(String(Dn(this.id)),this.config.onDone):[],o=bi(this.invoke.map(function(t){var e=[];return t.onDone&&e.push.apply(e,ui([],qe(ma(String(Rn(t.id)),t.onDone)),!1)),t.onError&&e.push.apply(e,ui([],qe(ma(String(en(t.id)),t.onError)),!1)),e})),h=this.after,l=bi(ui(ui(ui(ui([],qe(a),!1),qe(o),!1),qe(s),!1),qe(n),!1).map(function(t){return $s(t).map(function(t){return r.formatTransition(t)})}));try{for(var p=ze(h),f=p.next();!f.done;f=p.next()){var c=f.value;l.push(c)}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}return l},lc=h,va={click:"onClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",complete:"onComplete",after:"onAfter",enter:"onEnter",show:"onShow"},Object.values(va),fc=Object.keys(va),cc=function(){function i(t,e){_classCallCheck(this,i),_defineProperty(this,"activeStateId",""),_defineProperty(this,"_service",void 0),_defineProperty(this,"_domListeners",new Map),_defineProperty(this,"_domElement",void 0),_defineProperty(this,"_playerListeners",new Map),_defineProperty(this,"_player",void 0),_defineProperty(this,"_machineSchemas",new Map),_defineProperty(this,"_onShowPrevValue",0),this._player=e,this._machineSchemas=this._transformToXStateSchema(t),this._domElement=e.container}return _createClass(i,[{key:"start",value:function(t){this.stop();var e=this._machineSchemas.get(t);if("u"<_typeof2(e))throw Ie("invalid state machine id ".concat(t));this._service=pl(pc(e)),this._addEventListeners(),this._service.start()}},{key:"stop",value:function(){var t;this._removeEventListeners(),null!=(t=this._service)&&t.stop(),this._player.stop()}},{key:"_removeEventListeners",value:function(){this._requiresDomElement();var t,e,i=_createForOfIteratorHelper(this._domListeners);try{for(i.s();!(e=i.n()).done;){var s=_slicedToArray(e.value,2),r=s[0],n=s[1];"visibilityChange"===r&&this._player.stopPlayOnShow(),null!=(t=this._domElement)&&t.removeEventListener(r,n),this._domListeners.delete(r)}}catch(t){i.e(t)}finally{i.f()}var a,o=_createForOfIteratorHelper(this._playerListeners);try{for(o.s();!(a=o.n()).done;){var h=_slicedToArray(a.value,2),l=h[0],p=h[1];this._player.removeEventListener(l,p),this._playerListeners.delete(l)}}catch(t){o.e(t)}finally{o.f()}}},{key:"_addEventListeners",value:function(){function n(t){return function(){e(t)}}var a=this,e=(this._requiresDomElement(),function(t){a._service.send({type:t})});this._service.subscribe(function(t){var s;if("u"<_typeof2(t.changed)||t.changed){a._removeEventListeners();var r,e=_createForOfIteratorHelper(t.nextEvents);try{for(e.s();!(r=e.n()).done;)!function(){var t,e,i=r.value;fc.filter(function(t){return"complete"!==t&&"show"!==t}).includes(i)?(t=n(i),a._domListeners.set(i,t),null!=(s=a._domElement)&&s.addEventListener(i,t,{once:!0}
1)):"complete"===i?(t=n(i),a._player.addEventListener(i,t),a._playerListeners.set(i,t)):"show"===i&&(e=n(i),a._player.addIntersectionObserver({callbackOnIntersect:function(t){0<t&&(100!==t&&a._onShowPrevValue!==t&&e(),a._onShowPrevValue=t)},threshold:[]}),a._domListeners.set("visibilityChange",e))}()}catch(t){e.e(t)}finally{e.f()}}})}},{key:"subscribe",value:function(t){throw Ie(t.toString())}},{key:"_transformToXStateSchema",value:function(t){var e,i,s,r,n=this,a=new Map,o=_createForOfIteratorHelper(t);try{for(o.s();!(r=o.n()).done;){var h=r.value,l={},p={};if(p.id=h.descriptor.id,_typeof2(h.descriptor.initial)<"u"&&(p.initial=h.descriptor.initial),_typeof2(h)<"u"){var f,c=h.states;for(f in c)if(_typeof2(c[f])<"u"&&c[f]){var u,d=c[f],m=d.playbackSettings,y=Object.keys(d).filter(function(t){return t.startsWith("on")}),g={},v={},b=_createForOfIteratorHelper(y);try{for(b.s();!(u=b.n()).done;){var _,P=u.value;_typeof2(d[P])<"u"&&(_=d[P],P===va.after?v[_.ms]={target:null!=(e=null==_?void 0:_.state)?e:""}:P===va.enter?g[En(va,P)]={target:null!=(i=null==_?void 0:_.state)?i:""}:g[En(va,P)]={target:null!=(s=null==_?void 0:_.state)?s:""})}}catch(t){b.e(t)}finally{b.f()}l[f]={entry:function(){!n._player.getAnimationInstance()||d.animationId&&d.animationId!==n._player.currentAnimationId?n._player.play(d.animationId,function(){return _objectSpread(_objectSpread({},cs),m)}).then(function(){n._updatePlaybackSettings(m)}).catch(function(t){er("State machine error: ".concat(t.message))}):n._updatePlaybackSettings(m)},exit:function(){_typeof2(m.segments)<"u"&&n._player.resetSegments(!1),_typeof2(m.playOnScroll)<"u"&&n._player.stopPlayOnScroll()},on:g,after:v,meta:m}}}p.states=l,a.set(p.id,p)}}catch(t){o.e(t)}finally{o.f()}return a}},{key:"_handlePlaySegments",value:function(t){var e,i;"string"==typeof t.segments?this._player.goToAndPlay(t.segments,!0):(e=(t=_slicedToArray(t.segments,2))[0],t=t[1],i=0!==e&&e===t?e-1:e,0===e&&e===t?this._player.goToAndPlay(e,!0):this._player.playSegments([i,t],!0))}},{key:"_handlePlayOnScroll",value:function(t){var e=t.playOnScroll;t.segments&&"string"!=typeof t.segments?(t=t.segments,this._player.playOnScroll({threshold:e,segments:t})):this._player.playOnScroll({threshold:e})}},{key:"_updatePlaybackSettings",value:function(t){if(!this._player.getAnimationInstance())throw new Error("Unable to update playbackSettings. Animations is not rendered yet.");_typeof2(t.autoplay)<"u"&&(this._player.setAutoplay(t.autoplay),t.autoplay?this._player.play():this._player.pause()),_typeof2(t.direction)<"u"&&this._player.setDirection(t.direction),_typeof2(t.intermission)<"u"&&this._player.setIntermission(t.intermission),_typeof2(t.loop)<"u"&&this._player.setLoop(t.loop),_typeof2(t.playMode)<"u"&&this._player.setMode(t.playMode),_typeof2(t.speed)<"u"&&this._player.setSpeed(t.speed),_typeof2(t.defaultTheme)<"u"&&this._player.setDefaultTheme(t.defaultTheme),_typeof2(t.playOnScroll)<"u"&&this._handlePlayOnScroll(t),t.segments&&this._handlePlaySegments(t),t.autoplay||this._player.pause()}},{key:"_requiresDomElement",value:function(){if(!this._domElement)throw Ie("Requires a DOM element to attach events.")}}]),i}()});function ul(t,e){return _ul.apply(this,arguments)}function _ul(){return(_ul=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([Promise.resolve().then(function(){return cl(),fl})]);case 2:if(s=t.sent,s=_slicedToArray(s,1),s=s[0].DotLottieStateMachineManager,e.length){t.next=7;break}throw Ie("No state machines available inside this .lottie!");case 7:return t.abrupt("return",new s(e,i));case 8:case"end":return t.stop()}},t)}))).apply(this,arguments)}var qn=ls(function(){ca()}),ml={};fr(ml,{DotLottieAudio:function(){return dc}});var uc,mc,dc,dl=ls(function(){qs(),uc=is(function(t){var i,s,r,l,g,n,a,o,h,p,f,c;function e(){this.init()}function u(t){t.src&&0!==t.src.length?this.init(t):console.error("An array of source files must be passed with any new Howl.")}e.prototype={init:function(){var t=this||g;return t._counter=1e3,t._html5AudioPool=[],t.html5PoolSize=10,t._codecs={},t._howls=[],t._muted=!1,t._volume=1,t._canPlayEvent="canplaythrough",t._navigator=("undefined"==typeof window?"undefined":_typeof2(window))<"u"&&window.navigator?window.navigator:null,t.masterGain=null,t.noAudio=!1,t.usingWebAudio=!0,t.autoSuspend=!0,t.ctx=null,t.autoUnlock=!0,t._setup(),t},volume:function(t){var e=this||g;if(t=parseFloat(t),e.ctx||c(),_typeof2(t)<"u"&&0<=t&&t<=1){if(e._volume=t,!e._muted){e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t,g.ctx.currentTime);for(var i=0;i<e._howls.length;i++)if(!e._howls[i]._webAudio)for(var s=e._howls[i]._getSoundIds(),r=0;r<s.length;r++){var n=e._howls[i]._soundById(s[r]);n&&n._node&&(n._node.volume=n._volume*t)}}return e}return e._volume},mute:function(t){var e=this||g;e.ctx||c(),e._muted=t,e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t?0:e._volume,g.ctx.currentTime);for(var i=0;i<e._howls.length;i++)if(!e._howls[i]._webAudio)for(var s=e._howls[i]._getSoundIds(),r=0;r<s.length;r++){var n=e._howls[i]._soundById(s[r]);n&&n._node&&(n._node.muted=!!t||n._muted)}return e},stop:function(){for(var t=this||g,e=0;e<t._howls.length;e++)t._howls[e].stop();return t},unload:function(){for(var t=this||g,e=t._howls.length-1;0<=e;e--)t._howls[e].unload();return t.usingWebAudio&&t.ctx&&_typeof2(t.ctx.close)<"u"&&(t.ctx.close(),t.ctx=null,c()),t},codecs:function(t){return(this||g)._codecs[t.replace(/^x-/,"")]},_setup:function(){var e=this||g;if(e.state=e.ctx&&e.ctx.state||"suspended",e._autoSuspend(),!e.usingWebAudio)if(("undefined"==typeof Audio?"undefined":_typeof2(Audio))<"u")try{"u"<_typeof2((new Audio).oncanplaythrough)&&(e._canPlayEvent="canplay")}catch(t){e.noAudio=!0}else e.noAudio=!0;try{(new Audio).muted&&(e.noAudio=!0)}catch(t){}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var t,e,i,s,r=this||g,n=null;try{n=("undefined"==typeof Audio?"undefined":_typeof2(Audio))<"u"?new Audio:null}catch(t){return r}return n&&"function"==typeof n.canPlayType&&(t=n.canPlayType("audio/mpeg;").replace(/^no$/,""),e=(e=(i=r._navigator?r._navigator.userAgent:"").match(/OPR\/([0-6].)/g))&&parseInt(e[0].split("/")[1],10)<33,s=-1!==i.indexOf("Safari")&&-1===i.indexOf("Chrome"),i=i.match(/Version\/(.*?) /),s=s&&i&&parseInt(i[1],10)<15,r._co
1decs={mp3:!(e||!t&&!n.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!t,opus:!!n.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!n.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!n.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(n.canPlayType('audio/wav; codecs="1"')||n.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!n.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!n.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(n.canPlayType("audio/x-m4a;")||n.canPlayType("audio/m4a;")||n.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(n.canPlayType("audio/x-m4b;")||n.canPlayType("audio/m4b;")||n.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(n.canPlayType("audio/x-mp4;")||n.canPlayType("audio/mp4;")||n.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(s||!n.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(s||!n.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!n.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(n.canPlayType("audio/x-flac;")||n.canPlayType("audio/flac;")).replace(/^no$/,"")}),r},_unlockAudio:function(){var t,h=this||g;if(!h._audioUnlocked&&h.ctx)return h._audioUnlocked=!1,h.autoUnlock=!1,h._mobileUnloaded||44100===h.ctx.sampleRate||(h._mobileUnloaded=!0,h.unload()),h._scratchBuffer=h.ctx.createBuffer(1,1,22050),t=function e(t){for(;h._html5AudioPool.length<h.html5PoolSize;)try{var i=new Audio;i._unlocked=!0,h._releaseHtml5Audio(i)}catch(t){h.noAudio=!0;break}for(var s=0;s<h._howls.length;s++)if(!h._howls[s]._webAudio)for(var r=h._howls[s]._getSoundIds(),n=0;n<r.length;n++){var a=h._howls[s]._soundById(r[n]);a&&a._node&&!a._node._unlocked&&(a._node._unlocked=!0,a._node.load())}h._autoResume();var o=h.ctx.createBufferSource();o.buffer=h._scratchBuffer,o.connect(h.ctx.destination),"u"<_typeof2(o.start)?o.noteOn(0):o.start(0),"function"==typeof h.ctx.resume&&h.ctx.resume(),o.onended=function(){o.disconnect(0),h._audioUnlocked=!0,document.removeEventListener("touchstart",e,!0),document.removeEventListener("touchend",e,!0),document.removeEventListener("click",e,!0),document.removeEventListener("keydown",e,!0);for(var t=0;t<h._howls.length;t++)h._howls[t]._emit("unlock")}},document.addEventListener("touchstart",t,!0),document.addEventListener("touchend",t,!0),document.addEventListener("click",t,!0),document.addEventListener("keydown",t,!0),h},_obtainHtml5Audio:function(){var t=this||g;return t._html5AudioPool.length?t._html5AudioPool.pop():((t=(new Audio).play())&&("undefined"==typeof Promise?"undefined":_typeof2(Promise))<"u"&&(t instanceof Promise||"function"==typeof t.then)&&t.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio)},_releaseHtml5Audio:function(t){var e=this||g;return t._unlocked&&e._html5AudioPool.push(t),e},_autoSuspend:function(){var e=this;if(e.autoSuspend&&e.ctx&&!("u"<_typeof2(e.ctx.suspend))&&g.usingWebAudio){for(var t=0;t<e._howls.length;t++)if(e._howls[t]._webAudio)for(var i=0;i<e._howls[t]._sounds.length;i++)if(!e._howls[t]._sounds[i]._paused)return e;return e._suspendTimer&&clearTimeout(e._suspendTimer),e._suspendTimer=setTimeout(function(){var t;e.autoSuspend&&(e._suspendTimer=null,e.state="suspending",t=function(){e.state="suspended",e._resumeAfterSuspend&&(delete e._resumeAfterSuspend,e._autoResume())},e.ctx.suspend().then(t,t))},3e4),e}},_autoResume:function(){var e=this;if(e.ctx&&!("u"<_typeof2(e.ctx.resume))&&g.usingWebAudio)return"running"===e.state&&"interrupted"!==e.ctx.state&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):"suspended"===e.state||"running"===e.state&&"interrupted"===e.ctx.state?(e.ctx.resume().then(function(){e.state="running";for(var t=0;t<e._howls.length;t++)e._howls[t]._emit("resume")}),e._suspendTimer&&(clearTimeout(e._suspendTimer),e._suspendTimer=null)):"suspending"===e.state&&(e._resumeAfterSuspend=!0),e}},g=new e,u.prototype={init:function(t){var e=this;return g.ctx||c(),e._autoplay=t.autoplay||!1,e._format="string"!=typeof t.format?t.format:[t.format],e._html5=t.html5||!1,e._muted=t.mute||!1,e._loop=t.loop||!1,e._pool=t.pool||5,e._preload="boolean"!=typeof t.preload&&"metadata"!==t.preload||t.preload,e._rate=t.rate||1,e._sprite=t.sprite||{},e._src="string"!=typeof t.src?t.src:[t.src],e._volume=void 0!==t.volume?t.volume:1,e._xhr={method:t.xhr&&t.xhr.method?t.xhr.method:"GET",headers:t.xhr&&t.xhr.headers?t.xhr.headers:null,withCredentials:!(!t.xhr||!t.xhr.withCredentials)&&t.xhr.withCredentials},e._duration=0,e._state="unloaded",e._sounds=[],e._endTimers={},e._queue=[],e._playLock=!1,e._onend=t.onend?[{fn:t.onend}]:[],e._onfade=t.onfade?[{fn:t.onfade}]:[],e._onload=t.onload?[{fn:t.onload}]:[],e._onloaderror=t.onloaderror?[{fn:t.onloaderror}]:[],e._onplayerror=t.onplayerror?[{fn:t.onplayerror}]:[],e._onpause=t.onpause?[{fn:t.onpause}]:[],e._onplay=t.onplay?[{fn:t.onplay}]:[],e._onstop=t.onstop?[{fn:t.onstop}]:[],e._onmute=t.onmute?[{fn:t.onmute}]:[],e._onvolume=t.onvolume?[{fn:t.onvolume}]:[],e._onrate=t.onrate?[{fn:t.onrate}]:[],e._onseek=t.onseek?[{fn:t.onseek}]:[],e._onunlock=t.onunlock?[{fn:t.onunlock}]:[],e._onresume=[],e._webAudio=g.usingWebAudio&&!e._html5,_typeof2(g.ctx)<"u"&&g.ctx&&g.autoUnlock&&g._unlockAudio(),g._howls.push(e),e._autoplay&&e._queue.push({event:"play",action:function(){e.play()}}),e._preload&&"none"!==e._preload&&e.load(),e},load:function(){var t=this,e=null;if(g.noAudio)t._emit("loaderror",null,"No audio support.");else{"string"==typeof t._src&&(t._src=[t._src]);for(var i,s,r=0;r<t._src.length;r++){if(t._format&&t._format[r])i=t._format[r];
1else{if("string"!=typeof(s=t._src[r])){t._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}i=(i=(i=/^data:audio\/([^;,]+);/i.exec(s))||/\.([^.]+)$/.exec(s.split("?",1)[0]))&&i[1].toLowerCase()}if(i||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),i&&g.codecs(i)){e=t._src[r];break}}if(e)return t._src=e,t._state="loading","https:"===window.location.protocol&&"http:"===e.slice(0,5)&&(t._html5=!0,t._webAudio=!1),new n(t),t._webAudio&&o(t),t;t._emit("loaderror",null,"No codec support for selected audio sources.")}},play:function(e,i){var s=this,t=null;if("number"==typeof e)t=e,e=null;else{if("string"==typeof e&&"loaded"===s._state&&!s._sprite[e])return null;if("u"<_typeof2(e)&&(e="__default",!s._playLock)){for(var r=0,n=0;n<s._sounds.length;n++)s._sounds[n]._paused&&!s._sounds[n]._ended&&(r++,t=s._sounds[n]._id);1===r?e=null:t=null}}var a,o=t?s._soundById(t):s._inactiveSound();if(!o)return null;if(t&&!e&&(e=o._sprite||"__default"),"loaded"!==s._state)return o._sprite=e,o._ended=!1,a=o._id,s._queue.push({event:"play",action:function(){s.play(a)}}),a;if(t&&!o._paused)return i||s._loadQueue("play"),o._id;s._webAudio&&g._autoResume();var h,l,p,f=Math.max(0,0<o._seek?o._seek:s._sprite[e][0]/1e3),c=Math.max(0,(s._sprite[e][0]+s._sprite[e][1])/1e3-f),u=1e3*c/Math.abs(o._rate),d=s._sprite[e][0]/1e3,m=(s._sprite[e][0]+s._sprite[e][1])/1e3,y=(o._sprite=e,o._ended=!1,function(){o._paused=!1,o._seek=f,o._start=d,o._stop=m,o._loop=!(!o._loop&&!s._sprite[e][2])});if(!(m<=f))return h=o._node,s._webAudio?(p=function(){s._playLock=!1,y(),s._refreshBuffer(o);var t=o._muted||s._muted?0:o._volume;h.gain.setValueAtTime(t,g.ctx.currentTime),o._playStart=g.ctx.currentTime,"u"<_typeof2(h.bufferSource.start)?o._loop?h.bufferSource.noteGrainOn(0,f,86400):h.bufferSource.noteGrainOn(0,f,c):o._loop?h.bufferSource.start(0,f,86400):h.bufferSource.start(0,f,c),u!==1/0&&(s._endTimers[o._id]=setTimeout(s._ended.bind(s,o),u)),i||setTimeout(function(){s._emit("play",o._id),s._loadQueue()},0)},"running"===g.state&&"interrupted"!==g.ctx.state?p():(s._playLock=!0,s.once("resume",p),s._clearTimer(o._id))):(l=function(){h.currentTime=f,h.muted=o._muted||s._muted||g._muted||h.muted,h.volume=o._volume*g.volume(),h.playbackRate=o._rate;try{var t=h.play();(t&&("undefined"==typeof Promise?"undefined":_typeof2(Promise))<"u"&&(t instanceof Promise||"function"==typeof t.then)?(s._playLock=!0,y(),t.then(function(){s._playLock=!1,h._unlocked=!0,i?s._loadQueue():s._emit("play",o._id)}).catch(function(){s._playLock=!1,s._emit("playerror",o._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),o._ended=!0,o._paused=!0})):i||(s._playLock=!1,y(),s._emit("play",o._id)),h.playbackRate=o._rate,h.paused)?s._emit("playerror",o._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."):"__default"!==e||o._loop?s._endTimers[o._id]=setTimeout(s._ended.bind(s,o),u):(s._endTimers[o._id]=function(){s._ended(o),h.removeEventListener("ended",s._endTimers[o._id],!1)},h.addEventListener("ended",s._endTimers[o._id],!1))}catch(t){s._emit("playerror",o._id,t)}},"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===h.src&&(h.src=s._src,h.load()),p=window&&window.ejecta||!h.readyState&&g._navigator.isCocoonJS,3<=h.readyState||p?l():(s._playLock=!0,s._state="loading",h.addEventListener(g._canPlayEvent,function t(){s._state="loaded",l(),h.removeEventListener(g._canPlayEvent,t,!1)},!1),s._clearTimer(o._id))),o._id;s._ended(o)},pause:function(t){var e=this;if("loaded"!==e._state||e._playLock)e._queue.push({event:"pause",action:function(){e.pause(t)}});else for(var i=e._getSoundIds(t),s=0;s<i.length;s++){e._clearTimer(i[s]);var r=e._soundById(i[s]);if(r&&!r._paused&&(r._seek=e.seek(i[s]),r._rateSeek=0,r._paused=!0,e._stopFade(i[s]),r._node))if(e._webAudio){if(!r._node.bufferSource)continue;"u"<_typeof2(r._node.bufferSource.stop)?r._node.bufferSource.noteOff(0):r._node.bufferSource.stop(0),e._cleanBuffer(r._node)}else isNaN(r._node.duration)&&r._node.duration!==1/0||r._node.pause();arguments[1]||e._emit("pause",r?r._id:null)}return e},stop:function(t,e){var i=this;if("loaded"!==i._state||i._playLock)i._queue.push({event:"stop",action:function(){i.stop(t)}});else for(var s=i._getSoundIds(t),r=0;r<s.length;r++){i._clearTimer(s[r]);var n=i._soundById(s[r]);n&&(n._seek=n._start||0,n._rateSeek=0,n._paused=!0,n._ended=!0,i._stopFade(s[r]),n._node&&(i._webAudio?n._node.bufferSource&&("u"<_typeof2(n._node.bufferSource.stop)?n._node.bufferSource.noteOff(0):n._node.bufferSource.stop(0),i._cleanBuffer(n._node)):isNaN(n._node.duration)&&n._node.duration!==1/0||(n._node.currentTime=n._start||0,n._node.pause(),n._node.duration!==1/0)||i._clearSound(n._node)),e||i._emit("stop",n._id))}return i},mute:function(t,e){var i=this;if("loaded"!==i._state||i._playLock)i._queue.push({event:"mute",action:function(){i.mute(t,e)}});else{if("u"<_typeof2(e)){if("boolean"!=typeof t)return i._muted;i._muted=t}for(var s=i._getSoundIds(e),r=0;r<s.length;r++){var n=i._soundById(s[r]);n&&(n._muted=t,n._interval&&i._stopFade(n._id),i._webAudio&&n._node?n._node.gain.setValueAtTime(t?0:n._volume,g.ctx.currentTime):n._node&&(n._node.muted=!!g._muted||t),i._emit("mute",n._id))}}return i},volume:function(){var t,e,i=this,s=arguments;if(0===s.length)return i._volume;if(1===s.length||2===s.length&&"u"<_typeof2(s[1])?0<=i._getSoundIds().indexOf(s[0])?r=parseInt(s[0],10):t=parseFloat(s[0]):2<=s.length&&(t=parseFloat(s[0]),r=parseInt(s[1],10)),!(_typeof2(t)<"u"&&0<=t&&t<=1))return(e=r?i._soundById(r):i._sounds[0])?e._volume:0;if("loaded"!==i._state||i._playLock)i._queue.push({event:"volume",action:function(){i.volume.apply(i,s)}});else{"u"<_typeof2(r)&&(i._volume=t);for(var r=i._getSoundIds(r),n=0;n<r.length;n++)(e=i._soundById(r[n]))&&(e._volume=t,s[2]||i._stopFade(r[n]),i._webAudio&&e._node&&!e._muted?e._node.gain.setValueAtTime(t,g.ctx.currentTime):e._node&&!e._muted&&(e._node.volume=t*g.volume()),i._emit("volume",e._id))}return i}
1,fade:function(t,e,i,s){var r=this;if("loaded"!==r._state||r._playLock)r._queue.push({event:"fade",action:function(){r.fade(t,e,i,s)}});else{t=Math.min(Math.max(0,parseFloat(t)),1),e=Math.min(Math.max(0,parseFloat(e)),1),i=parseFloat(i),r.volume(t,s);for(var n=r._getSoundIds(s),a=0;a<n.length;a++){var o,h,l=r._soundById(n[a]);l&&(s||r._stopFade(n[a]),r._webAudio&&!l._muted&&(h=(o=g.ctx.currentTime)+i/1e3,l._volume=t,l._node.gain.setValueAtTime(t,o),l._node.gain.linearRampToValueAtTime(e,h)),r._startFadeInterval(l,t,e,i,n[a],"u"<_typeof2(s)))}}return r},_startFadeInterval:function(e,i,s,r,t,n){var a=this,o=i,h=s-i,l=Math.abs(h/.01),l=Math.max(4,0<l?r/l:r),p=Date.now();e._fadeTo=s,e._interval=setInterval(function(){var t=(Date.now()-p)/r;p=Date.now(),o+=h*t,o=Math.round(100*o)/100,o=h<0?Math.max(s,o):Math.min(s,o),a._webAudio?e._volume=o:a.volume(o,e._id,!0),n&&(a._volume=o),(s<i&&o<=s||i<s&&s<=o)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,a.volume(s,e._id),a._emit("fade",e._id))},l)},_stopFade:function(t){var e=this,i=e._soundById(t);return i&&i._interval&&(e._webAudio&&i._node.gain.cancelScheduledValues(g.ctx.currentTime),clearInterval(i._interval),i._interval=null,e.volume(i._fadeTo,t),i._fadeTo=null,e._emit("fade",t)),e},loop:function(){var t,e,i,s=this,r=arguments;if(0===r.length)return s._loop;if(1===r.length){if("boolean"!=typeof r[0])return!!(i=s._soundById(parseInt(r[0],10)))&&i._loop;s._loop=t=r[0]}else 2===r.length&&(t=r[0],e=parseInt(r[1],10));for(var n=s._getSoundIds(e),a=0;a<n.length;a++)(i=s._soundById(n[a]))&&(i._loop=t,s._webAudio)&&i._node&&i._node.bufferSource&&(i._node.bufferSource.loop=t)&&(i._node.bufferSource.loopStart=i._start||0,i._node.bufferSource.loopEnd=i._stop,s.playing(n[a]))&&(s.pause(n[a],!0),s.play(n[a],!0));return s},rate:function(){var t,e=this,i=arguments;if(0===i.length?n=e._sounds[0]._id:1===i.length?0<=e._getSoundIds().indexOf(i[0])?n=parseInt(i[0],10):t=parseFloat(i[0]):2===i.length&&(t=parseFloat(i[0]),n=parseInt(i[1],10)),"number"!=typeof t)return((r=e._soundById(n))||e)._rate;if("loaded"!==e._state||e._playLock)e._queue.push({event:"rate",action:function(){e.rate.apply(e,i)}});else{"u"<_typeof2(n)&&(e._rate=t);for(var s,r,n=e._getSoundIds(n),a=0;a<n.length;a++)(r=e._soundById(n[a]))&&(e.playing(n[a])&&(r._rateSeek=e.seek(n[a]),r._playStart=e._webAudio?g.ctx.currentTime:r._playStart),r._rate=t,e._webAudio&&r._node&&r._node.bufferSource?r._node.bufferSource.playbackRate.setValueAtTime(t,g.ctx.currentTime):r._node&&(r._node.playbackRate=t),s=e.seek(n[a]),s=1e3*((e._sprite[r._sprite][0]+e._sprite[r._sprite][1])/1e3-s)/Math.abs(r._rate),!e._endTimers[n[a]]&&r._paused||(e._clearTimer(n[a]),e._endTimers[n[a]]=setTimeout(e._ended.bind(e,r),s)),e._emit("rate",r._id))}return e},seek:function(){var t,e,i=this,s=arguments;if(0===s.length?i._sounds.length&&(e=i._sounds[0]._id):1===s.length?0<=i._getSoundIds().indexOf(s[0])?e=parseInt(s[0],10):i._sounds.length&&(e=i._sounds[0]._id,t=parseFloat(s[0])):2===s.length&&(t=parseFloat(s[0]),e=parseInt(s[1],10)),"u"<_typeof2(e))return 0;if("number"!=typeof t||"loaded"===i._state&&!i._playLock){var r,n,a,o,h=i._soundById(e);if(h){if(!("number"==typeof t&&0<=t))return i._webAudio?(a=i.playing(e)?g.ctx.currentTime-h._playStart:0,o=h._rateSeek?h._rateSeek-h._seek:0,h._seek+(o+a*Math.abs(h._rate))):h._node.currentTime;(r=i.playing(e))&&i.pause(e,!0),h._seek=t,h._ended=!1,i._clearTimer(e),i._webAudio||!h._node||isNaN(h._node.duration)||(h._node.currentTime=t),n=function(){r&&i.play(e,!0),i._emit("seek",e)},r&&!i._webAudio?setTimeout(function t(){i._playLock?setTimeout(t,0):n()},0):n()}}else i._queue.push({event:"seek",action:function(){i.seek.apply(i,s)}});return i},playing:function(t){if("number"==typeof t)return!!(t=this._soundById(t))&&!t._paused;for(var e=0;e<this._sounds.length;e++)if(!this._sounds[e]._paused)return!0;return!1},duration:function(t){var e=this._duration,t=this._soundById(t);return e=t?this._sprite[t._sprite][1]/1e3:e},state:function(){return this._state},unload:function(){for(var t=this,e=t._sounds,i=0;i<e.length;i++)e[i]._paused||t.stop(e[i]._id),t._webAudio||(t._clearSound(e[i]._node),e[i]._node.removeEventListener("error",e[i]._errorFn,!1),e[i]._node.removeEventListener(g._canPlayEvent,e[i]._loadFn,!1),e[i]._node.removeEventListener("ended",e[i]._endFn,!1),g._releaseHtml5Audio(e[i]._node)),delete e[i]._node,t._clearTimer(e[i]._id);for(var s=g._howls.indexOf(t),r=(0<=s&&g._howls.splice(s,1),!0),i=0;i<g._howls.length;i++)if(g._howls[i]._src===t._src||0<=t._src.indexOf(g._howls[i]._src)){r=!1;break}return a&&r&&delete a[t._src],g.noAudio=!1,t._state="unloaded",t._sounds=[],null}
1,on:function(t,e,i,s){t=this["_on"+t];return"function"==typeof e&&t.push(s?{id:i,fn:e,once:s}:{id:i,fn:e}),this},off:function(t,e,i){var s=this,r=s["_on"+t],n=0;if("number"==typeof e&&(i=e,e=null),e||i)for(n=0;n<r.length;n++){var a=i===r[n].id;if(e===r[n].fn&&a||!e&&a){r.splice(n,1);break}}else if(t)s["_on"+t]=[];else for(var o=Object.keys(s),n=0;n<o.length;n++)0===o[n].indexOf("_on")&&Array.isArray(s[o[n]])&&(s[o[n]]=[]);return s},once:function(t,e,i){return this.on(t,e,i,1),this},_emit:function(t,e,i){for(var s=this,r=s["_on"+t],n=r.length-1;0<=n;n--)r[n].id&&r[n].id!==e&&"load"!==t||(setTimeout(function(t){t.call(this,e,i)}.bind(s,r[n].fn),0),!r[n].once)||s.off(t,r[n].fn,r[n].id);return s._loadQueue(t),s},_loadQueue:function(t){var e,i=this;return 0<i._queue.length&&((e=i._queue[0]).event===t&&(i._queue.shift(),i._loadQueue()),t||e.action()),i},_ended:function(t){var e,i=this,s=t._sprite;return!i._webAudio&&t._node&&!t._node.paused&&!t._node.ended&&t._node.currentTime<t._stop?setTimeout(i._ended.bind(i,t),100):(s=!(!t._loop&&!i._sprite[s][2]),i._emit("end",t._id),!i._webAudio&&s&&i.stop(t._id,!0).play(t._id),i._webAudio&&s&&(i._emit("play",t._id),t._seek=t._start||0,t._rateSeek=0,t._playStart=g.ctx.currentTime,e=1e3*(t._stop-t._start)/Math.abs(t._rate),i._endTimers[t._id]=setTimeout(i._ended.bind(i,t),e)),i._webAudio&&!s&&(t._paused=!0,t._ended=!0,t._seek=t._start||0,t._rateSeek=0,i._clearTimer(t._id),i._cleanBuffer(t._node),g._autoSuspend()),i._webAudio||s||i.stop(t._id,!0)),i},_clearTimer:function(t){var e,i=this;return i._endTimers[t]&&("function"!=typeof i._endTimers[t]?clearTimeout(i._endTimers[t]):(e=i._soundById(t))&&e._node&&e._node.removeEventListener("ended",i._endTimers[t],!1),delete i._endTimers[t]),i},_soundById:function(t){for(var e=0;e<this._sounds.length;e++)if(t===this._sounds[e]._id)return this._sounds[e];return null},_inactiveSound:function(){var t=this;t._drain();for(var e=0;e<t._sounds.length;e++)if(t._sounds[e]._ended)return t._sounds[e].reset();return new n(t)},_drain:function(){var t=this,e=t._pool,i=0,s=0;if(!(t._sounds.length<e)){for(s=0;s<t._sounds.length;s++)t._sounds[s]._ended&&i++;for(s=t._sounds.length-1;0<=s;s--){if(i<=e)return;t._sounds[s]._ended&&(t._webAudio&&t._sounds[s]._node&&t._sounds[s]._node.disconnect(0),t._sounds.splice(s,1),i--)}}},_getSoundIds:function(t){if("u"<_typeof2(t)){for(var e=[],i=0;i<this._sounds.length;i++)e.push(this._sounds[i]._id);return e}return[t]},_refreshBuffer:function(t){return t._node.bufferSource=g.ctx.createBufferSource(),t._node.bufferSource.buffer=a[this._src],t._panner?t._node.bufferSource.connect(t._panner):t._node.bufferSource.connect(t._node),t._node.bufferSource.loop=t._loop,t._loop&&(t._node.bufferSource.loopStart=t._start||0,t._node.bufferSource.loopEnd=t._stop||0),t._node.bufferSource.playbackRate.setValueAtTime(t._rate,g.ctx.currentTime),this},_cleanBuffer:function(t){var e=g._navigator&&0<=g._navigator.vendor.indexOf("Apple");if(g._scratchBuffer&&t.bufferSource&&(t.bufferSource.onended=null,t.bufferSource.disconnect(0),e))try{t.bufferSource.buffer=g._scratchBuffer}catch(t){}return t.bufferSource=null,this},_clearSound:function(t){/MSIE |Trident\//.test(g._navigator&&g._navigator.userAgent)||(t.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}},(n=function(t){this._parent=t,this.init()}).prototype={init:function(){var t=this,e=t._parent;return t._muted=e._muted,t._loop=e._loop,t._volume=e._volume,t._rate=e._rate,t._seek=0,t._paused=!0,t._ended=!0,t._sprite="__default",t._id=++g._counter,e._sounds.push(t),t.create(),t},create:function(){var t=this,e=t._parent,i=g._muted||t._muted||t._parent._muted?0:t._volume;return e._webAudio?(t._node="u"<_typeof2(g.ctx.createGain)?g.ctx.createGainNode():g.ctx.createGain(),t._node.gain.setValueAtTime(i,g.ctx.currentTime),t._node.paused=!0,t._node.connect(g.masterGain)):g.noAudio||(t._node=g._obtainHtml5Audio(),t._errorFn=t._errorListener.bind(t),t._node.addEventListener("error",t._errorFn,!1),t._loadFn=t._loadListener.bind(t),t._node.addEventListener(g._canPlayEvent,t._loadFn,!1),t._endFn=t._endListener.bind(t),t._node.addEventListener("ended",t._endFn,!1),t._node.src=e._src,t._node.preload=!0===e._preload?"auto":e._preload,t._node.volume=i*g.volume(),t._node.load()),t},reset:function(){var t=this,e=t._parent;return t._muted=e._muted,t._loop=e._loop,t._volume=e._volume,t._rate=e._rate,t._seek=0,t._rateSeek=0,t._paused=!0,t._ended=!0,t._sprite="__default",t._id=++g._counter,t},_errorListener:function(){var t=this;t._parent._emit("loaderror",t._id,t._node.error?t._node.error.code:0),t._node.removeEventListener("error",t._errorFn,!1)},_loadListener:function(){var t=this._parent;t._duration=Math.ceil(10*this._node.duration)/10,0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}
1),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue()),this._node.removeEventListener(g._canPlayEvent,this._loadFn,!1)},_endListener:function(){var t=this,e=t._parent;e._duration===1/0&&(e._duration=Math.ceil(10*t._node.duration)/10,e._sprite.__default[1]===1/0&&(e._sprite.__default[1]=1e3*e._duration),e._ended(t)),t._node.removeEventListener("ended",t._endFn,!1)}},a={},o=function(e){var t=e._src;if(a[t])e._duration=a[t].duration,f(e);else if(/^data:[^;]+;base64,/.test(t)){for(var i=atob(t.split(",")[1]),s=new Uint8Array(i.length),r=0;r<i.length;++r)s[r]=i.charCodeAt(r);p(s.buffer,e)}else{var n=new XMLHttpRequest;n.open(e._xhr.method,t,!0),n.withCredentials=e._xhr.withCredentials,n.responseType="arraybuffer",e._xhr.headers&&Object.keys(e._xhr.headers).forEach(function(t){n.setRequestHeader(t,e._xhr.headers[t])}),n.onload=function(){var t=(n.status+"")[0];"0"!==t&&"2"!==t&&"3"!==t?e._emit("loaderror",null,"Failed loading audio file with status: "+n.status+"."):p(n.response,e)},n.onerror=function(){e._webAudio&&(e._html5=!0,e._webAudio=!1,e._sounds=[],delete a[t],e.load())},h(n)}},h=function(e){try{e.send()}catch(t){e.onerror()}},p=function(t,e){function i(){e._emit("loaderror",null,"Decoding audio data failed.")}function s(t){t&&0<e._sounds.length?(a[e._src]=t,f(e,t)):i()}("undefined"==typeof Promise?"undefined":_typeof2(Promise))<"u"&&1===g.ctx.decodeAudioData.length?g.ctx.decodeAudioData(t).then(s).catch(i):g.ctx.decodeAudioData(t,s,i)},f=function(t,e){e&&!t._duration&&(t._duration=e.duration),0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}
1),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue())},c=function(){if(g.usingWebAudio){try{("undefined"==typeof AudioContext?"undefined":_typeof2(AudioContext))<"u"?g.ctx=new AudioContext:("undefined"==typeof webkitAudioContext?"undefined":_typeof2(webkitAudioContext))<"u"?g.ctx=new webkitAudioContext:g.usingWebAudio=!1}catch(t){g.usingWebAudio=!1}g.ctx||(g.usingWebAudio=!1);var t=/iP(hone|od|ad)/.test(g._navigator&&g._navigator.platform),e=g._navigator&&g._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),e=e?parseInt(e[1],10):null;t&&e&&e<9&&(t=/safari/.test(g._navigator&&g._navigator.userAgent.toLowerCase()),g._navigator)&&!t&&(g.usingWebAudio=!1),g.usingWebAudio&&(g.masterGain="u"<_typeof2(g.ctx.createGain)?g.ctx.createGainNode():g.ctx.createGain(),g.masterGain.gain.setValueAtTime(g._muted?0:g._volume,g.ctx.currentTime),g.masterGain.connect(g.ctx.destination)),g._setup()}},"function"==typeof define&&define.amd&&define([],function(){return{Howler:g,Howl:u}}),_typeof2(t)<"u"&&(t.Howler=g,t.Howl=u),("undefined"==typeof global?"undefined":_typeof2(global))<"u"?(global.HowlerGlobal=e,global.Howler=g,global.Howl=u,global.Sound=n):("undefined"==typeof window?"undefined":_typeof2(window))<"u"&&(window.HowlerGlobal=e,window.Howler=g,window.Howl=u,window.Sound=n),HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(t){var e=this;if(e.ctx&&e.ctx.listener)for(var i=e._howls.length-1;0<=i;i--)e._howls[i].stereo(t);return e},HowlerGlobal.prototype.pos=function(t,e,i){var s=this;if(s.ctx&&s.ctx.listener){if(e="number"!=typeof e?s._pos[1]:e,i="number"!=typeof i?s._pos[2]:i,"number"!=typeof t)return s._pos;s._pos=[t,e,i],_typeof2(s.ctx.listener.positionX)<"u"?(s.ctx.listener.positionX.setTargetAtTime(s._pos[0],Howler.ctx.currentTime,.1),s.ctx.listener.positionY.setTargetAtTime(s._pos[1],Howler.ctx.currentTime,.1),s.ctx.listener.positionZ.setTargetAtTime(s._pos[2],Howler.ctx.currentTime,.1)):s.ctx.listener.setPosition(s._pos[0],s._pos[1],s._pos[2])}return s},HowlerGlobal.prototype.orientation=function(t,e,i,s,r,n){var a=this;if(a.ctx&&a.ctx.listener){var o=a._orientation;if(e="number"!=typeof e?o[1]:e,i="number"!=typeof i?o[2]:i,s="number"!=typeof s?o[3]:s,r="number"!=typeof r?o[4]:r,n="number"!=typeof n?o[5]:n,"number"!=typeof t)return o;a._orientation=[t,e,i,s,r,n],_typeof2(a.ctx.listener.forwardX)<"u"?(a.ctx.listener.forwardX.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.forwardY.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.forwardZ.setTargetAtTime(i,Howler.ctx.currentTime,.1),a.ctx.listener.upX.setTargetAtTime(s,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(r,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(n,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(t,e,i,s,r,n)}return a},Howl.prototype.init=(r=Howl.prototype.init,function(t){var e=this;return e._orientation=t.orientation||[1,0,0],e._stereo=t.stereo||null,e._pos=t.pos||null,e._pannerAttr={coneInnerAngle:_typeof2(t.coneInnerAngle)<"u"?t.coneInnerAngle:360,coneOuterAngle:_typeof2(t.coneOuterAngle)<"u"?t.coneOuterAngle:360,coneOuterGain:_typeof2(t.coneOuterGain)<"u"?t.coneOuterGain:0,distanceModel:_typeof2(t.distanceModel)<"u"?t.distanceModel:"inverse",maxDistance:_typeof2(t.maxDistance)<"u"?t.maxDistance:1e4,panningModel:_typeof2(t.panningModel)<"u"?t.panningModel:"HRTF",refDistance:_typeof2(t.refDistance)<"u"?t.refDistance:1,rolloffFactor:_typeof2(t.rolloffFactor)<"u"?t.rolloffFactor:1},e._onstereo=t.onstereo?[{fn:t.onstereo}]:[],e._onpos=t.onpos?[{fn:t.onpos}]:[],e._onorientation=t.onorientation?[{fn:t.onorientation}]:[],r.call(this,t)}),Howl.prototype.stereo=function(t,e){var i=this;if(i._webAudio)if("loaded"!==i._state)i._queue.push({event:"stereo",action:function(){i.stereo(t,e)}});else{var s="u"<_typeof2(Howler.ctx.createStereoPanner)?"spatial":"stereo";if("u"<_typeof2(e)){if("number"!=typeof t)return i._stereo;i._stereo=t,i._pos=[t,0,0]}for(var r=i._getSoundIds(e),n=0;n<r.length;n++){var a=i._soundById(r[n]);if(a){if("number"!=typeof t)return a._stereo;a._stereo=t,a._pos=[t,0,0],a._node&&(a._pannerAttr.panningModel="equalpower",a._panner&&a._panner.pan||l(a,s),"spatial"==s?_typeof2(a._panner.positionX)<"u"?(a._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),a._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),a._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):a._panner.setPosition(t,0,0):a._panner.pan.setValueAtTime(t,Howler.ctx.currentTime)),i._emit("stereo",a._id)}}}return i}
1,Howl.prototype.pos=function(t,e,i,s){var r=this;if(r._webAudio)if("loaded"!==r._state)r._queue.push({event:"pos",action:function(){r.pos(t,e,i,s)}});else{if(e="number"!=typeof e?0:e,i="number"!=typeof i?-.5:i,"u"<_typeof2(s)){if("number"!=typeof t)return r._pos;r._pos=[t,e,i]}for(var n=r._getSoundIds(s),a=0;a<n.length;a++){var o=r._soundById(n[a]);if(o){if("number"!=typeof t)return o._pos;o._pos=[t,e,i],o._node&&(o._panner&&!o._panner.pan||l(o,"spatial"),_typeof2(o._panner.positionX)<"u"?(o._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),o._panner.positionY.setValueAtTime(e,Howler.ctx.currentTime),o._panner.positionZ.setValueAtTime(i,Howler.ctx.currentTime)):o._panner.setPosition(t,e,i)),r._emit("pos",o._id)}}}return r},Howl.prototype.orientation=function(t,e,i,s){var r=this;if(r._webAudio)if("loaded"!==r._state)r._queue.push({event:"orientation",action:function(){r.orientation(t,e,i,s)}});else{if(e="number"!=typeof e?r._orientation[1]:e,i="number"!=typeof i?r._orientation[2]:i,"u"<_typeof2(s)){if("number"!=typeof t)return r._orientation;r._orientation=[t,e,i]}for(var n=r._getSoundIds(s),a=0;a<n.length;a++){var o=r._soundById(n[a]);if(o){if("number"!=typeof t)return o._orientation;o._orientation=[t,e,i],o._node&&(o._panner||(o._pos||(o._pos=r._pos||[0,0,-.5]),l(o,"spatial")),_typeof2(o._panner.orientationX)<"u"?(o._panner.orientationX.setValueAtTime(t,Howler.ctx.currentTime),o._panner.orientationY.setValueAtTime(e,Howler.ctx.currentTime),o._panner.orientationZ.setValueAtTime(i,Howler.ctx.currentTime)):o._panner.setOrientation(t,e,i)),r._emit("orientation",o._id)}}}return r},Howl.prototype.pannerAttr=function(){var t,e,i=this,s=arguments;if(i._webAudio){if(0===s.length)return i._pannerAttr;if(1===s.length){if("object"!=_typeof2(s[0]))return((a=i._soundById(parseInt(s[0],10)))||i)._pannerAttr;t=s[0],"u"<_typeof2(e)&&(t.pannerAttr||(t.pannerAttr={coneInnerAngle:t.coneInnerAngle,coneOuterAngle:t.coneOuterAngle,coneOuterGain:t.coneOuterGain,distanceModel:t.distanceModel,maxDistance:t.maxDistance,refDistance:t.refDistance,rolloffFactor:t.rolloffFactor,panningModel:t.panningModel}),i._pannerAttr={coneInnerAngle:_typeof2(t.pannerAttr.coneInnerAngle)<"u"?t.pannerAttr.coneInnerAngle:i._coneInnerAngle,coneOuterAngle:_typeof2(t.pannerAttr.coneOuterAngle)<"u"?t.pannerAttr.coneOuterAngle:i._coneOuterAngle,coneOuterGain:_typeof2(t.pannerAttr.coneOuterGain)<"u"?t.pannerAttr.coneOuterGain:i._coneOuterGain,distanceModel:_typeof2(t.pannerAttr.distanceModel)<"u"?t.pannerAttr.distanceModel:i._distanceModel,maxDistance:_typeof2(t.pannerAttr.maxDistance)<"u"?t.pannerAttr.maxDistance:i._maxDistance,refDistance:_typeof2(t.pannerAttr.refDistance)<"u"?t.pannerAttr.refDistance:i._refDistance,rolloffFactor:_typeof2(t.pannerAttr.rolloffFactor)<"u"?t.pannerAttr.rolloffFactor:i._rolloffFactor,panningModel:_typeof2(t.pannerAttr.panningModel)<"u"?t.pannerAttr.panningModel:i._panningModel})}else 2===s.length&&(t=s[0],e=parseInt(s[1],10));for(var r,n,a,o=i._getSoundIds(e),h=0;h<o.length;h++)(a=i._soundById(o[h]))&&(r=a._pannerAttr,r={coneInnerAngle:(_typeof2(t.coneInnerAngle)<"u"?t:r).coneInnerAngle,coneOuterAngle:(_typeof2(t.coneOuterAngle)<"u"?t:r).coneOuterAngle,coneOuterGain:(_typeof2(t.coneOuterGain)<"u"?t:r).coneOuterGain,distanceModel:(_typeof2(t.distanceModel)<"u"?t:r).distanceModel,maxDistance:(_typeof2(t.maxDistance)<"u"?t:r).maxDistance,refDistance:(_typeof2(t.refDistance)<"u"?t:r).refDistance,rolloffFactor:(_typeof2(t.rolloffFactor)<"u"?t:r).rolloffFactor,panningModel:(_typeof2(t.panningModel)<"u"?t:r).panningModel},(n=a._panner)?(n.coneInnerAngle=r.coneInnerAngle,n.coneOuterAngle=r.coneOuterAngle,n.coneOuterGain=r.coneOuterGain,n.distanceModel=r.distanceModel,n.maxDistance=r.maxDistance,n.refDistance=r.refDistance,n.rolloffFactor=r.rolloffFactor,n.panningModel=r.panningModel):(a._pos||(a._pos=i._pos||[0,0,-.5]),l(a,"spatial")))}return i},Sound.prototype.init=(s=Sound.prototype.init,function(){var t=this,e=t._parent;t._orientation=e._orientation,t._stereo=e._stereo,t._pos=e._pos,t._pannerAttr=e._pannerAttr,s.call(this),t._stereo?e.stereo(t._stereo):t._pos&&e.pos(t._pos[0],t._pos[1],t._pos[2],t._id)}),Sound.prototype.reset=(i=Sound.prototype.reset,function(){var t=this,e=t._parent;return t._orientation=e._orientation,t._stereo=e._stereo,t._pos=e._pos,t._pannerAttr=e._pannerAttr,t._stereo?e.stereo(t._stereo):t._pos?e.pos(t._pos[0],t._pos[1],t._pos[2],t._id):t._panner&&(t._panner.disconnect(0),t._panner=void 0,e._refreshBuffer(t)),i.call(this)}),l=function(t,e){"spatial"===(e=e||"spatial")?(t._panner=Howler.ctx.createPanner(),t._panner.coneInnerAngle=t._pannerAttr.coneInnerAngle,t._panner.coneOuterAngle=t._pannerAttr.coneOuterAngle,t._panner.coneOuterGain=t._pannerAttr.coneOuterGain,t._panner.distanceModel=t._pannerAttr.distanceModel,t._panner.maxDistance=t._pannerAttr.maxDistance,t._panner.refDistance=t._pannerAttr.refDistance,t._panner.rolloffFactor=t._pannerAttr.rolloffFactor,t._panner.panningModel=t._pannerAttr.panningModel,_typeof2(t._panner.positionX)<"u"?(t._panner.positionX.setValueAtTime(t._pos[0],Howler.ctx.currentTime),t._panner.positionY.setValueAtTime(t._pos[1],Howler.ctx.currentTime),t._panner.positionZ.setValueAtTime(t._pos[2],Howler.ctx.currentTime)):t._panner.setPosition(t._pos[0],t._pos[1],t._pos[2]),_typeof2(t._panner.orientationX)<"u"?(t._panner.orientationX.setValueAtTime(t._orientation[0],Howler.ctx.currentTime),t._panner.orientationY.setValueAtTime(t._orientation[1],Howler.ctx.currentTime),t._panner.orientationZ.setValueAtTime(t._orientation[2],Howler.ctx.currentTime)):t._panner.setOrientation(t._orientation[0],t._orientation[1],t._orientation[2])):(t._panner=Howler.ctx.createStereoPanner(),t._panner.pan.setValueAtTime(t._stereo,Howler.ctx.currentTime)),t._panner.connect(t._node),t._paused||t._parent.pause(t._id,!0).play(t._id,!0)}}),mc=zh(uc(),1),dc=function(){function e(t){t=t.src;_classCallCheck(this,e),_defineProperty(this,"_howl",void 0),this._howl=new mc.Howl({src:t})}return _createClass(e,[{key:"play",value:function(){return this._howl.play()}},{key:"pause",value:function(){return this._howl.pause()}},{key:"playing",value:function(){return this._howl.playing()}},{key:"rate",value:function(){return this._howl.rate()}},{key:"seek",value:function(){return this._howl.seek()}},{key:"setVolume",value:function(){return this._howl.volume()}},{key:"unload",value:function(){this._howl.unload()}}]),e}()}),gl={};fr(gl,{default:function(){return yc}});var gc,yc,yl=ls(function(){qs(),gc=is(function(exports,module){("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&function(t,e){"function"==typeof define&&define.amd?define(function(){return e(t)}):"object"==_typeof2(module)&&module.exports?module.exports=e(t):(t.lottie=e(t),t.bodymovin=t.lottie)}(self||{},function(window){function workerContent(){function extendPrototype(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}function ProxyElement(t,e){this._state="init",this._isDirty=!1,this._isProxy=!0,this._changedStyles=[],this._changedAttributes=[],this._changedElements=[],this._textContent=null,this.type=t,this.namespace=e,this.children=[],localIdCounter+=1,this.attributes={id:"l_d_"+localIdCounter},this.style=new Style(this)}ProxyElement.prototype={appendChild:function(t){(t.parentNode=this).children.push(t),this._isDirty=!0,this._changedElements.push([t,this.attributes.id])},insertBefore:function(t,e){for(var i=this.children,s=0;s<i.length;s+=1)if(i[s]===e)return i.splice(s,0,t),this._isDirty=!0,void this._changedElements.push([t,this.attributes.id,e.attributes.id]);i.push(e)},setAttribute:function(t,e){this.attributes[t]=e,this._isDirty||(this._isDirty=!0),this._changedAttributes.push(t)}
vendor: 26,583 bytes, line 1
1,serialize:function(){return{type:this.type,namespace:this.namespace,style:this.style.serialize(),attributes:this.attributes,children:this.children.map(function(t){return t.serialize()}),textContent:this._textContent}},addEventListener:function(t,e){setTimeout(e,1)},setAttributeNS:function(t,e,i){this.attributes[e]=i,this._isDirty||(this._isDirty=!0),this._changedAttributes.push(e)}},Object.defineProperty(ProxyElement.prototype,"textContent",{set:function(t){this._isDirty=!0,this._textContent=t}});var localIdCounter=0,animations={},styleProperties=["width","height","display","transform","opacity","contentVisibility","mix-blend-mode"];function convertArguments(t){for(var e=[],i=t.length,s=0;s<i;s+=1)e.push(t[s]);return e}function Style(t){this.element=t}function CanvasContext(t){this.element=t}Style.prototype={serialize:function(){for(var t={},e=0;e<styleProperties.length;e+=1){var i=styleProperties[e],s="_"+i;s in this&&(t[i]=this[s])}return t}},styleProperties.forEach(function(e){Object.defineProperty(Style.prototype,e,{set:function(t){this.element._isDirty||(this.element._isDirty=!0),this.element._changedStyles.push(e),this["_"+e]=t},get:function(){return this["_"+e]}})}),CanvasContext.prototype={createRadialGradient:function(){var t={t:"rGradient",a:convertArguments(arguments),stops:[]};return this.element.instructions.push(t),{addColorStop:function(){t.stops.push(convertArguments(arguments))}}},createLinearGradient:function(){var t={t:"lGradient",a:convertArguments(arguments),stops:[]};return this.element.instructions.push(t),{addColorStop:function(){t.stops.push(convertArguments(arguments))}}}},Object.defineProperties(CanvasContext.prototype,{canvas:{enumerable:!0,get:function(){return this.element}}});var canvasContextMethods=["fillRect","setTransform","drawImage","beginPath","moveTo","save","restore","fillText","setLineDash","clearRect","clip","rect","stroke","fill","closePath","bezierCurveTo","lineTo"],canvasContextProperties=(canvasContextMethods.forEach(function(t){CanvasContext.prototype[t]=function(){this.element.instructions.push({t:t,a:convertArguments(arguments)})}}),["globalAlpha","strokeStyle","fillStyle","lineCap","lineJoin","lineWidth","miterLimit","lineDashOffset","globalCompositeOperation"]);function CanvasElement(t,e){ProxyElement.call(this,t,e),this.instructions=[],this.width=0,this.height=0,this.context=new CanvasContext(this)}function _createElement(t,e){return new("canvas"===e?CanvasElement:ProxyElement)(e,t)}canvasContextProperties.forEach(function(e){Object.defineProperty(CanvasContext.prototype,e,{set:function(t){this.element.instructions.push({t:e,a:t})}})}),CanvasElement.prototype={getContext:function(){return this.context},resetInstructions:function(){this.instructions.length=0}},extendPrototype([ProxyElement],CanvasElement);var window=self,document={createElementNS:function(t,e){return _createElement(t,e)},createElement:function(t){return _createElement("",t)},getElementsByTagName:function(){return[]},body:_createElement("","body"),_isProxy:!0},lottieInternal=function(){function addElementToList(t,e){e.push(t),t._isDirty=!1,t._changedStyles.length=0,t._changedAttributes.length=0,t._changedElements.length=0,t._textContent=null,t.children.forEach(function(t){addElementToList(t,e)})}function addChangedAttributes(t){for(var e,i=t._changedAttributes,s=[],r=0;r<i.length;r+=1)e=i[r],s.push([e,t.attributes[e]]);return s}function addChangedStyles(t){for(var e,i=t._changedStyles,s=[],r=0;r<i.length;r+=1)e=i[r],s.push([e,t.style[e]]);return s}function addChangedElements(t,e){for(var i,s=t._changedElements,r=[],n=0;n<s.length;n+=1)i=s[n],r.push([i[0].serialize(),i[1],i[2]]),addElementToList(i[0],e);return r}function loadAnimation(n){var e,t,i,s,r=n.params,a=[];"svg"===r.renderer?(e=document.createElement("div"),r.container=e):((i=r.rendererSettings.canvas)||((i=document.createElement("canvas")).width=r.animationData.w,i.height=r.animationData.h),s=i.getContext("2d"),r.rendererSettings.context=s),(t=lottie.loadAnimation(r)).addEventListener("error",function(t){console.log(t)}),t.onError=function(t){console.log("ERRORO",t)},t.addEventListener("_play",function(){self.postMessage({type:"playing",payload:{id:n.id}})}),t.addEventListener("_pause",function(){self.postMessage({type:"paused",payload:{id:n.id}})}),"svg"===r.renderer?(t.addEventListener("DOMLoaded",function(){var t=e.serialize();addElementToList(e,a),self.postMessage({type:"SVGloaded",payload:{id:n.id,tree:t.children[0]}})}),t.addEventListener("drawnFrame",function(t){for(var e,i,s=[],r=0;r<a.length;r+=1)(i=a[r])._isDirty&&(e={id:i.attributes.id,styles:addChangedStyles(i),attributes:addChangedAttributes(i),elements:addChangedElements(i,a),textContent:i._textContent||void 0},s.push(e),i._isDirty=!1,i._changedAttributes.length=0,i._changedStyles.length=0,i._changedElements.length=0,i._textContent=null);self.postMessage({type:"SVGupdated",payload:{elements:s,id:n.id,currentTime:t.currentTime}})})):i._isProxy&&t.addEventListener("drawnFrame",function(t){self.postMessage({type:"CanvasUpdated",payload:{instructions:i.instructions,id:n.id,currentTime:t.currentTime}}),i.resetInstructions()}),t.addEventListener("DOMLoaded",function(){self.postMessage({type:"DOMLoaded",payload:{id:n.id,totalFrames:t.totalFrames,frameRate:t.frameRate,firstFrame:t.firstFrame,currentFrame:t.currentFrame,playDirection:t.playDirection,isSubframeEnabled:t.isSubframeEnabled,currentRawFrame:t.currentRawFrame,timeCompleted:t.timeCompleted}})}),animations[n.id]={animation:t,events:{}}}return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&function(t,e){"object"==_typeof2(exports)&&_typeof2(module)<"u"?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:t||self).lottie=e()}(this,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(t){for(var e=this.audios.length,i=0;i<e;i+=1)this.audios[i].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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function i(t,e){var i,s=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(s=0;s<e;s+=1)r.push(i);return r}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):i(t,e)}:i}();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})(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={},defaultCurveSegments=(function(){for(var t=["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"],e=t.length,i=0;i<e;i+=1)BMMath[t[i]]=Math[t[i]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){for(var e=createSizedArray(t.length),i=t.length,s=0;s<i;s+=1)e[s]=Math.abs(t[s]);return e}return Math.abs(t)},150),degToRads=Math.PI/180,roundCorner=.5519;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,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}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}var createElementID=function(){var t=0;return function(){return idPrefix$1+"__lottie_element_"+(t+=1)}}();function HSVtoRGB(t,e,i){var s,r,n,a=Math.floor(6*t),t=6*t-a,o=i*(1-e),h=i*(1-t*e),l=i*(1-(1-t)*e);switch(a%6){case 0:s=i,r=l,n=o;break;case 1:s=h,r=i,n=o;break;case 2:s=o,r=i,n=l;break;case 3:s=o,r=h,n=i;break;case 4:s=l,r=o,n=i;break;case 5:s=i,r=o,n=h}return[s,r,n]}function RGBtoHSV(t,e,i){var s,r=Math.max(t,e,i),n=Math.min(t,e,i),a=r-n,o=0===r?0:a/r,h=r/255;switch(r){case n:s=0;break;case t:s=e-i+a*(e<i?6:0),s/=6*a;break;case e:s=i-t+2*a,s/=6*a;break;case i:s=t-e+4*a,s/=6*a}return[s,o,h]}function addSaturationToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[1]+=e,1<t[1]?t[1]=1:t[1]<=0&&(t[1]=0),HSVtoRGB(t[0],t[1],t[2])}function addBrightnessToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[2]+=e,1<t[2]?t[2]=1:t[2]<0&&(t[2]=0),HSVtoRGB(t[0],t[1],t[2])}function addHueToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[0]+=e/360,1<t[0]?--t[0]:t[0]<0&&(t[0]+=1),HSVtoRGB(t[0],t[1],t[2])}var rgbToHex=function(){for(var t,s=[],e=0;e<256;e+=1)t=e.toString(16),s[e]=1===t.length?"0"+t:t;return function(t,e,i){return"#"+s[t=t<0?0:t]+s[e=e<0?0:e]+s[i=i<0?0:i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(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})(t)}var dataManager=function(){var i,s,r=1,n=[],a={onmessage:function(){},postMessage:function(t){i({data:t})}},o={postMessage:function(t){a.onmessage({data:t})}};function h(){var t,e;s||(t=function(e){function t(){function p(t,e){for(var i,s,r,n=t.length,a=0;a<n;a+=1)if("ks"in(r=t[a])&&!r.completed){if(r.completed=!0,r.hasMask)for(var o=r.masksProperties,h=o.length,l=0;l<h;l+=1)if(o[l].pt.k.i)u(o[l].pt.k);else for(s=o[l].pt.k.length,i=0;i<s;i+=1)o[l].pt.k[i].s&&u(o[l].pt.k[i].s[0]),o[l].pt.k[i].e&&u(o[l].pt.k[i].e[0]);0===r.ty?(r.layers=f(r.refId,e),p(r.layers,e)):4===r.ty?c(r.shapes):5===r.ty&&0===(r=r).t.a.length&&0 in r.t.p}}function f(t,e){t=function(t,e){for(var i=0,s=e.length;i<s;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return t?t.layers.__used?JSON.parse(JSON.stringify(t.layers)):(t.layers.__used=!0,t.layers):null}function c(t){for(var e,i,s=t.length-1;0<=s;--s)if("sh"===t[s].ty)if(t[s].ks.k.i)u(t[s].ks.k);else for(i=t[s].ks.k.length,e=0;e<i;e+=1)t[s].ks.k[e].s&&u(t[s].ks.k[e].s[0]),t[s].ks.k[e].e&&u(t[s].ks.k[e].e[0]);else"gr"===t[s].ty&&c(t[s].it)}function u(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function r(t,e){e=e?e.split("."):[100,100,100];return t[0]>e[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],t[2],0)))}h=[4,4,14];var s,n,a,o,h,l=function(t){if(r(h,t.v)&&(P(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&P(t.assets[i].layers)},d=(o=[4,7,99],function(t){if(t.chars&&!r(o,t.v))for(var e=t.chars.length,i=0;i<e;i+=1){var s=t.chars[i];s.data&&s.data.shapes&&(c(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}},t.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"})))}}),m=(a=[5,7,15],function(t){if(r(a,t.v)&&(_(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&_(t.assets[i].layers)}),y=(n=[4,1,9],function(t){if(r(n,t.v)&&(b(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&b(t.assets[i].layers)}),g=(s=[4,4,18],function(t){if(r(s,t.v)&&(v(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&v(t.assets[i].layers)});function v(t){for(var e,i,s,r=t.length,n=0;n<r;n+=1){if((e=t[n]).hasMask)for(var a=e.masksProperties,o=a.length,h=0;h<o;h+=1)if(a[h].pt.k.i)a[h].pt.k.c=a[h].cl;else for(s=a[h].pt.k.length,i=0;i<s;i+=1)a[h].pt.k[i].s&&(a[h].pt.k[i].s[0].c=a[h].cl),a[h].pt.k[i].e&&(a[h].pt.k[i].e[0].c=a[h].cl);4===e.ty&&function t(e){for(var i,s,r=e.length-1;0<=r;--r)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(s=e[r].ks.k.length,i=0;i<s;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}(e.shapes)}}function b(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&function t(e){for(var i,s,r=e.length,n=0;n<r;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(s=e[n].c.k.length,i=0;i<s;i+=1)e[n].c.k[i].s&&(e[n].c.k[i].s[0]/=255,e[n].c.k[i].s[1]/=255,e[n].c.k[i].s[2]/=255,e[n].c.k[i].s[3]/=255),e[n].c.k[i].e&&(e[n].c.k[i].e[0]/=255,e[n].c.k[i].e[1]/=255,e[n].c.k[i].e[2]/=255,e[n].c.k[i].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}(t[i].shapes)}function _(t){for(var e,i=t.length,s=0;s<i;s+=1)5===t[s].ty&&("number"==typeof(e=(e=t[s]).t.p).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 P(t){for(var e,i,s=t.length,r=0;r<s;r+=1)5===t[r].ty&&(e=t[r],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}var t={};return t.completeData=function(t){if(!t.__complete){y(t),l(t),d(t),m(t),g(t),p(t.layers,t.assets);var e=t.chars,i=t.assets;if(e)for(var s=0,r=e.length,s=0;s<r;s+=1)1===e[s].t&&(e[s].data.layers=f(e[s].data.refId,i),p(e[s].data.layers,i));t.__complete=!0}},t.checkColors=y,t.checkChars=d,t.checkPathProperties=m,t.checkShapes=g,t.completeLayers=p,t}var i;function a(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}o.dataManager||(o.dataManager=t()),o.assetLoader||(o.assetLoader={load:function(e,i,t,s){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)r=a(n),t(r);else try{r=a(n),t(r)}catch(t){s&&s(t)}};try{n.open(["G","E","T"].join(""),e,!0)}catch(t){n.open(["G","E","T"].join(""),i+"/"+e,!0)}n.send()}}),"loadAnimation"===e.data.type?o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})}):"complete"===e.data.type?(i=e.data.animation,o.dataManager.completeData(i),o.postMessage({id:e.data.id,payload:i,status:"success"})):"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})})},(s=window.Worker&&window.Blob&&getWebWorker()?(e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),e=URL.createObjectURL(e),new Worker(e)):(i=t,a)).onmessage=function(t){var t=t.data,e=t.id,i=n[e];n[e]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function l(t,e){var i="processId_"+(r+=1);return n[i]={onComplete:t,onError:e},i}return{loadAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},loadData:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},completeAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"complete",animation:t,id:e})}}}(),ImagePreloader=function(){(t=createTag("canvas")).width=1,t.height=1,(e=t.getContext("2d")).fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1);var t,e,r=t;function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,i){var s="";return s=t.e?t.p:e?e+(e=-1!==(e=t.p).indexOf("images/")?e.split("/")[1]:e):(s=i,(s+=t.u||"")+t.p)}function a(){this._imageLoaded=i.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=function(t){var e=0,i=setInterval(function(){(t.getBBox().width||500<e)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}.bind(this),this.createFootageData=function(t){var e={assetData:t},t=n(t,this.assetsPath,this.path);return dataManager.loadData(t,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;for(var i=t.length,s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},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,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=n(t,this.assetsPath,this.path),i=createTag("img"),s=(i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.src=e,{img:i,assetData:t});return s},createImageData:function(t){var e=n(t,this.assetsPath,this.path),i=createNS("image"),s=(isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i),{img:i,assetData:t});return s},imageLoaded:i,footageLoaded:s,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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 i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--s),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(e){for(var t=[],i=0;i<e.length;i+=1){var s=e[i],s={time:s.tm,duration:s.dr};try{s.payload=JSON.parse(e[i].cm)}catch(t){try{s.payload=function(t){for(var e,i=t.split("\r\n"),s={},r=0,n=0;n<i.length;n+=1)2===(e=i[n].split(":")).length&&(s[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return s}(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}t.push(s)}return t},ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(t){for(var e=0,i=this.compositions.length;e<i;){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 t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),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})(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()},animationManager=(extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg",i=(t.animType?e=t.animType:t.renderer&&(e=t.renderer),getRenderer(e));this.renderer=new i(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||"",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){var e={wrapper:t,animationData:e=e&&"object"!==_typeof$4(e)?JSON.parse(e):e},t=t.attributes,i=(e.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",e.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas",t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:""),i=("false"===i?e.loop=!1:"true"===i?e.loop=!0:""!==i&&(e.loop=parseInt(i,10)),t.getNamedItem("data-anim-
1autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value);e.autoplay="false"!==i,e.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(e.prerender=!1),e.path?this.setParams(e):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));for(var e,i=this.animationData.layers,s=i.length,r=t.layers,n=r.length,a=0;a<n;a+=1)for(e=0;e<s;){if(i[e].id===r[a].id){i[e]=r[a];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(s=t.assets.length,e=0;e<s;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;t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;t&&0!==t.length&&this.autoloadSegments?(t=t.shift(),this.timeCompleted=t.time*this.frameRate,t=this.path+this.fileName+"_"+this.segmentPos+".json",this.segmentPos+=1,dataManager.loadData(t,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))):(this.trigger("data_ready"),this.timeCompleted=this.totalFrames)},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(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){var t;!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,(t=getExpressionsPlugin())&&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){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},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
vendor: 3,312 bytes, line 1
1(),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,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){i&&this.name!==i||(i=Number(t),isNaN(i)?(i=this.getMarkerData(t))&&this.goToAndStop(i.time,!0):e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,i){var s;i&&this.name!==i||(s=Number(t),isNaN(s)?(t=this.getMarkerData(t))&&(t.duration?this.playSegments([t.time,t.time+t.duration],!0):this.goToAndStop(t.time,!0)):this.goToAndStop(s,e,i),this.play())},AnimationItem.prototype.advanceTime=function(t){var e;!0!==this.isPaused&&!1!==this.isLoaded&&(e=!1,(t=this.currentRawFrame+t*this.frameModifier)>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e)&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0]))for(var i=t.length,s=0;s<i;s+=1)this.segments.push(t[s
vendor: 4,249 bytes, line 1
1]);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,i="";return i=t.e?t.p:this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),this.assetsPath+e):(i=this.path,(i+=t.u||"")+t.p)},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){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,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},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){t=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(t){t=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},
vendor: 93,631 bytes, line 1
1function(){var t={},r=[],s=0,n=0,a=0,o=!0,h=!1;function i(t){for(var e=0,i=t.target;e<n;)r[e].animation===i&&(r.splice(e,1),--e,--n,i.isPaused||f()),e+=1}function l(t,e){if(!t)return null;for(var i=0;i<n;){if(r[i].elem===t&&null!==r[i].elem)return r[i].animation;i+=1}var s=new AnimationItem;return c(s,t),s.setData(t,e),s}function p(){a+=1,d()}function f(){--a}function c(t,e){t.addEventListener("destroy",i),t.addEventListener("_active",p),t.addEventListener("_idle",f),r.push({elem:e,animation:t}),n+=1}function u(t){for(var e=t-s,i=0;i<n;i+=1)r[i].animation.advanceTime(e);s=t,a&&!h?window.requestAnimationFrame(u):o=!0}function e(t){s=t,window.requestAnimationFrame(u)}function d(){!h&&a&&o&&(window.requestAnimationFrame(e),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return c(e,null),e.setParams(t),e},t.setSpeed=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setSpeed(t,e)},t.setDirection=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setDirection(t,e)},t.play=function(t){for(var e=0;e<n;e+=1)r[e].animation.play(t)},t.pause=function(t){for(var e=0;e<n;e+=1)r[e].animation.pause(t)},t.stop=function(t){for(var e=0;e<n;e+=1)r[e].animation.stop(t)},t.togglePause=function(t){for(var e=0;e<n;e+=1)r[e].animation.togglePause(t)},t.searchAnimations=function(t,e,i){for(var s,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=r.length,a=0;a<n;a+=1)i&&r[a].setAttribute("data-bm-type",i),l(r[a],t);e&&0===n&&(i=i||"svg",(e=document.getElementsByTagName("body")[0]).innerText="",(s=createTag("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),e.appendChild(s),l(s,t))},t.resize=function(){for(var t=0;t<n;t+=1)r[t].animation.resize()},t.goToAndStop=function(t,e,i){for(var s=0;s<n;s+=1)r[s].animation.goToAndStop(t,e,i)},t.destroy=function(t){for(var e=n-1;0<=e;--e)r[e].animation.destroy(t)},t.freeze=function(){h=!0},t.unfreeze=function(){h=!1,d()},t.setVolume=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setVolume(t,e)},t.mute=function(t){for(var e=0;e<n;e+=1)r[e].animation.mute(t)},t.unmute=function(t){for(var e=0;e<n;e+=1)r[e].animation.unmute(t)},t.getRegisteredAnimations=function(){for(var t=r.length,e=[],i=0;i<t;i+=1)e.push(r[i].animation);return e},t}()),BezierFactory=function(){var t={getBezierEasing:function(t,e,i,s,r){r=r||("bez_"+t+"_"+e+"_"+i+"_"+s).replace(/\./g,"p");return n[r]||(t=new a([t,e,i,s]),n[r]=t)}},n={};var S=4,E=1e-7,A=10,k=11,C=1/(k-1),e="function"==typeof Float32Array;function s(t,e){return 1-3*e+3*t}function T(t,e,i){return((s(e,i)*t+(3*i-6*e))*t+3*e)*t}function w(t,e,i){return 3*s(e,i)*t*t+2*(3*i-6*e)*t+3*e}function a(t){this._p=t,this._mSampleValues=new(e?Float32Array:Array)(k),this._precomputed=!1,this.get=this.get.bind(this)}return a.prototype={get:function(t){var e=this._p[0],i=this._p[1],s=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&s===r?t:0===t?0:1===t?1:T(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],s=this._p[3];this._precomputed=!0,t===e&&i===s||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<k;++i)this._mSampleValues[i]=T(i*C,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,r=0,n=1,a=k-1;n!==a&&s[n]<=t;++n)r+=C;var o=r+(t-s[--n])/(s[n+1]-s[n])*C,h=w(o,e,i);if(.001<=h){for(var l=t,p=o,f=e,c=i,u=0;u<S;++u){var d=w(p,f,c);if(0===d)return p;p-=(T(p,f,c)-l)/d}return p}if(0===h)return o;for(var m,y,g=t,v=r,b=r+C,_=e,P=i,x=0;0<(m=T(y=v+(b-v)/2,_,P)-g)?b=y:v=y,Math.abs(m)>E&&++x<A;);return y}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,i){var s=0,r=t,n=createSizedArray(r);return{newElement:function(){var t;return t=s?n[--s]:e(),t},release:function(t){s===r&&(n=pooling.double(n),r*=2),i&&i(t),n[s]=t,s+=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){for(var e=t.lengths.length,i=0;i<e;i+=1)bezierLengthPool.release(t.lengths[i]);t.lengths.length=0});function bezFunction(){var k=Math;function y(t,e,i,s,r,n){r=t*s+e*r+i*n-r*s-n*t-i*e;return-.001<r&&r<.001}var p=function(t,e,i,s){for(var r,n,a,o,h=getDefaultCurveSegments(),l=0,p=[],f=[],c=bezierLengthPool.newElement(),u=i.length,d=0;d<h;d+=1){for(a=d/(h-1),r=o=0;r<u;r+=1)n=bmPow(1-a,3)*t[r]+3*bmPow(1-a,2)*a*i[r]+3*(1-a)*bmPow(a,2)*s[r]+bmPow(a,3)*e[r],p[r]=n,null!==f[r]&&(o+=bmPow(p[r]-f[r],2)),f[r]=p[r];o&&(l+=o=bmSqrt(o)),c.percents[d]=a,c.lengths[d]=l}return c.addedLength=l,c};function g(t){this.segmentLength=0,this.points=new Array(t)}function v(t,e){this.partialLength=t,this.point=e}function t(t,e,i,s){var r=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!b[r]){for(var n,a,o,h,l,p=getDefaultCurveSegments(),f=0,c=null,u=new g(p=2===t.length&&(t[0]!==e[0]||t[1]!==e[1])&&y(t[0],t[1],e[0],e[1],t[0]+i[0],t[1]+i[1])&&y(t[0],t[1],e[0],e[1],e[0]+s[0],e[1]+s[1])?2:p),d=i.length,m=0;m<p;m+=1){for(l=createSizedArray(d),o=m/(p-1),n=h=0;n<d;n+=1)a=bmPow(1-o,3)*t[n]+3*bmPow(1-o,2)*o*(t[n]+i[n])+3*(1-o)*bmPow(o,2)*(e[n]+s[n])+bmPow(o,3)*e[n],l[n]=a,null!==c&&(h+=bmPow(l[n]-c[n],2));f+=h=bmSqrt(h),u.points[m]=new v(h,l),c=l}u.segmentLength=f,b[r]=u}return b[r]}var b;b={};function C(t,e){var i=e.percents,s=e.lengths,r=i.length,n=bmFloor((r-1)*t),a=t*e.addedLength,o=0;if(n===r-1||0===n||a===s[n])return i[n];for(var h=s[n]>a?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||r-1<=n){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}var T=createTypedArray("float32",8);return{getSegmentsLength:function(t){for(var e=segmentsLengthPool.newElement(),i=t.c,s=t.v,r=t.o,n=t.i,a=t._length,o=e.lengths,h=0,l=0;l<a-1;l+=1)o[l]=p(s[l],s[l+1],r[l],n[l+1]),h+=o[l].addedLength;return i&&a&&(o[l]=p(s[l],s[0],r[l],n[0]),h+=o[l].addedLength),e.totalLength=h,e},getNewSegment:function(t,e,i,s,r,n,a){r<0?r=0:1<r&&(r=1);for(var r=C(r,a),n=C(n=1<n?1:n,a),o=t.length,h=1-n,l=(a=1-r)*a*a,p=r*a*a*3,f=r*r*a*3,c=r*r*r,u=a*a*h,d=r*a*h+a*r*h+a*a*n,m=r*r*h+a*r*n+r*a*n,y=r*r*n,g=a*h*h,v=r*h*h+a*n*h+a*h*n,b=r*n*h+a*n*n+r*h*n,_=r*n*n,P=h*h*h,x=n*h*h+h*n*h+h*h*n,S=n*n*h+h*n*n+n*h*n,E=n*n*n,A=0;A<o;A+=1)T[4*A]=k.round(1e3*(l*t[A]+p*i[A]+f*s[A]+c*e[A]))/1e3,T[4*A+1]=k.round(1e3*(u*t[A]+d*i[A]+m*s[A]+y*e[A]))/1e3,T[4*A+2]=k.round(1e3*(g*t[A]+v*i[A]+b*s[A]+_*e[A]))/1e3,T[4*A+3]=k.round(1e3*(P*t[A]+x*i[A]+S*s[A]+E*e[A]))/1e3;return T},getPointInSegment:function(t,e,i,s,r,n){return r=C(r,n),n=1-r,[k.round(1e3*(n*n*n*t[0]+(r*n*n+n*r*n+n*n*r)*i[0]+(r*r*n+n*r*r+r*n*r)*s[0]+r*r*r*e[0]))/1e3,k.round(1e3*(n*n*n*t[1]+(r*n*n+n*r*n+n*n*r)*i[1]+(r*r*n+n*r*r+r*n*r)*s[1]+r*r*r*e[1]))/1e3]},buildBezierData:t,pointOnLine2D:y,pointOnLine3D:function(t,e,i,s,r,n,a,o,h){var l;return 0===i&&0===n&&0===h?y(t,e,s,r,a,o):(l=k.sqrt(k.pow(s-t,2)+k.pow(r-e,2)+k.pow(n-i,2)),t=k.sqrt(k.pow(a-t,2)+k.pow(o-e,2)+k.pow(h-i,2)),e=k.sqrt(k.pow(a-s,2)+k.pow(o-r,2)+k.pow(h-n,2)),-1e-4<(i=t<l?e<l?l-t-e:e-t-l:t<e?e-t-l:t-l-e)&&i<1e-4)}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));for(var r,n,a=e.lastIndex,o=a,h=this.keyframes.length-1,l=!0;l;){if(r=this.keyframes[o],n=this.keyframes[o+1],o===h-1&&t>=n.t-s){r.h&&(r=n),a=0;break}if(n.t-s>t){a=o;break}o<h-1?o+=1:(a=0,l=!1)}var p,f=this.keyframesMetadata[o]||{},c=n.t-s,u=r.t-s;if(r.to){f.bezierData||(f.bezierData=bez.buildBezierData(r.s,n.s||r.e,r.to,r.ti));var d=f.bezierData;if(c<=t||t<u)for(var m=c<=t?d.points.length-1:0,y=d.points[m].point.length,g=0;g<y;g+=1)i[g]=d.points[m].point[g];else{f.__fnct?p=f.__fnct:(p=BezierFactory.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,f.__fnct=p);for(var v,b=p((t-u)/(c-u)),_=d.segmentLength*b,P=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastAddedLength:0,x=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastPoint:0,l=!0,S=d.points.length;l;){if(P+=d.points[x].partialLength,0==_||0===b||x===d.points.length-1){for(y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g];break}if(P<=_&&_<P+d.points[x+1].partialLength){for(v=(_-P)/d.points[x+1].partialLength,y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g]+(d.points[x+1].point[g]-d.points[x].point[g])*v;break}x<S-1?x+=1:l=!1}e._lastPoint=x,e._lastAddedLength=P-d.points[x].partialLength,e._lastKeyframeIndex=o}}else{var E,A,k,C,T,h=r.s.length,w=n.s||r.e;if(this.sh&&1!==r.h)c<=t?(i[0]=w[0],i[1]=w[1],i[2]=w[2]):t<=u?(i[0]=r.s[0],i[1]=r.s[1],i[2]=r.s[2]):quaternionToEuler(i,slerp(createQuaternion(r.s),createQuaternion(w),(t-u)/(c-u)));else for(o=0;o<h;o+=1)1!==r.h&&(b=c<=t?1:t<u?0:(r.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[o]?p=f.__fnct[o]:(E=void 0===r.o.x[o]?r.o.x[0]:r.o.x[o],A=void 0===r.o.y[o]?r.o.y[0]:r.o.y[o],k=void 0===r.i.x[o]?r.i.x[0]:r.i.x[o],C=void 0===r.i.y[o]?r.i.y[0]:r.i.y[o],p=BezierFactory.getBezierEasing(E,A,k,C).get,f.__fnct[o]=p)):f.__fnct?p=f.__fnct:(E=r.o.x,A=r.o.y,k=r.i.x,C=r.i.y,p=BezierFactory.getBezierEasing(E,A,k,C).get,r.keyframeMetadata=p),p((t-u)/(c-u)))),w=n.s||r.e,T=1===r.h?r.s[o]:r.s[o]+(w[o]-r.s[o])*b,"multidimensional"===this.propType?i[o]=T:i=T}return e.lastIndex=a,i}function slerp(t,e,i){var s,r,n=[],a=t[0],o=t[1],h=t[2],t=t[3],l=e[0],p=e[1],f=e[2],e=e[3],c=a*l+o*p+h*f+t*e;return c<0&&(c=-c,l=-l,p=-p,f=-f,e=-e),c=1e-6<1-c?(c=Math.acos(c),s=Math.sin(c),r=Math.sin((1-i)*c)/s,Math.sin(i*c)/s):(r=1-i,i),n[0]=r*a+c*l,n[1]=r*o+c*p,n[2]=r*h+c*f,n[3]=r*t+c*e,n}function quaternionToEuler(t,e){var i=e[0],s=e[1],r=e[2],e=e[3],n=Math.atan2(2*s*e-2*i*r,1-2*s*s-2*r*r),a=Math.asin(2*i*s+2*r*e),e=Math.atan2(2*i*e-2*s*r,1-2*i*i-2*r*r);t[0]=n/degToRads,t[1]=a/degToRads,t[2]=e/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,t=t[2]*degToRads,s=Math.cos(e/2),r=Math.cos(i/2),n=Math.cos(t/2),e=Math.sin(e/2),i=Math.sin(i/2),t=Math.sin(t/2);return[e*i*n+s*r*t,e*r*n+s*i*t,s*i*n-e*r*t,s*r*n-e*i*t]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),i=this.interpolateValue(t,this._caching),this.pv=i),this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<mathAbs(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,1e-5<mathAbs(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;for(var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k,i=0;i<t;i+=1)e=this.effectsSequence[i](e);this.setVValue(e),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,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,n=e.k.length;for(this.v=createTypedArray("float32",n),this.pv=createTypedArray("float32",n),this.vel=createTypedArray("float32",n),r=0;r<n;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,s){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=i||1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional";for(var r,n,a,o,h=e.k.length,l=0;l<h-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l+1]&&e.k[l+1].s&&(r=e.k[l].s,n=e.k[l+1].s,a=e.k[l].to,o=e.k[l].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+a[0],r[1]+a[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+o[0],n[1]+o[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+a[0],r[1]+a[1],r[2]+a[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+o[0],n[1]+o[1],n[2]+o[2]))&&(e.k[l].to=null,e.k[l].ti=null),r[0]===n[0])&&r[1]===n[1]&&0===a[0]&&0===a[1]&&0===o[0]&&0===o[1]&&(2===r.length||r[2]===n[2]&&0===a[2]&&0===o[2])&&(e.k[l].to=null,e.k[l].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=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=e.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),l=0;l<p;l+=1)this.v[l]=initFrame,this.pv[l]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,i,s,r){var n;if((e=e.sid?t.globalData.slotManager.getProp(e):e).k.length)if("number"==typeof e.k[0])n=new MultiDimensionalProperty(t,e,s,r);else switch(i){case 0:n=new KeyframedValueProperty(t,e,s,r);break;case 1:n=new KeyframedMultidimensionalProperty(t,e,s,r)}else n=new ValueProperty(t,e,s,r);return n.effectsSequence.length&&r.addDynamicProperty(n),n}};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(){this._mdf=!1;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._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 i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)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,i,s,r){var n;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=pointPool.newElement()),n[s][0]=t,n[s][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},ShapePath.prototype.reverse=function(){for(var t=new ShapePath,e=(t.setPathData(this.c,this._length),this.v),i=this.o,s=this.i,r=0,n=(this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1),this._length-1),a=this._length,o=r;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],s[n][0],s[n][1],i[n][0],i[n][1],o,!1),--n;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var r=poolFactory(4,function(){return new ShapePath},function(t){for(var e=t._length,i=0;i<e;i+=1)pointPool.release(t.v[i]),pointPool.release(t.i[i]),pointPool.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1});return r.clone=function(t){var e,i=r.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i},r}();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(){for(var t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:function(){var t;return t=s?n[--s]:new ShapeCollection,t},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)shapePool.release(t.shapes[e]);t._length=0,s===r&&(n=pooling.double(n),r*=2),n[s]=t,s+=1}},s=0,r=4,n=createSizedArray(r);return t}(),ShapePropertyFactory=function(){var r=-999999;function t(t,e,i){var s,r,n,a,o,h,l=i.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)s=p[0].s[0],b=!0,l=0;else if(t>=p[p.length-1].t-this.offsetTime)s=(p[p.length-1].s?p[p.length-1].s:p[p.length-2].e)[0],b=!0;else{for(var f,c,u=l,d=p.length-1,m=!0;m&&(f=p[u],!((c=p[u+1]).t-this.offsetTime>t));)u<d-1?u+=1:m=!1;var y,g,v,b,_=this.keyframesMetadata[u]||{},l=u;(b=1===f.h)||(g=t>=c.t-this.offsetTime?1:t<f.t-this.offsetTime?0:(_.__fnct?y=_.__fnct:(y=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,_.__fnct=y),y((t-(f.t-this.offsetTime))/(c.t-this.offsetTime-(f.t-this.offsetTime)))),v=(c.s||f.e)[0]),s=f.s[0]}for(a=e._length,o=s.i[0].length,i.lastIndex=l,r=0;r<a;r+=1)for(n=0;n<o;n+=1)h=b?s.i[r][n]:s.i[r][n]+(v.i[r][n]-s.i[r][n])*g,e.i[r][n]=h,h=b?s.o[r][n]:s.o[r][n]+(v.o[r][n]-s.o[r][n])*g,e.o[r][n]=h,h=b?s.v[r][n]:s.v[r][n]+(v.v[r][n]-s.v[r][n])*g,e.v[r][n]=h}function s(){this.paths=this.localShapeCollection}function e(t){!function(t,e){if(t._length===e._length&&t.c===e.c){for(var i=t._length,s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return;return 1}}(this.v,t)&&(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;for(var t=this.kf?this.pv:(this.data.ks||this.data.pt).k,e=this.effectsSequence.length,i=0;i<e;i+=1)t=this.effectsSequence[i](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,i){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;t=(3===i?e.pt:e.ks).k;this.v=shapePool.clone(t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=(3===i?e.pt:e.ks).k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;t=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s,this._caching={lastFrame:r,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==r&&(s<e&&t<e||i<s&&i<t)||(this._caching.lastIndex=s<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=i,n.prototype.setVValue=e,n.prototype.addEffect=a,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=a;h=roundCorner,d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertEllToPath()},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=3!==this.d,n=this.v;n.v[0][0]=t,n.v[0][1]=e-s,n.v[1][0]=r?t+i:t-i,n.v[1][1]=e,n.v[2][0]=t,n.v[2][1]=e+s,n.v[3][0]=r?t-i:t+i,n.v[3][1]=e,n.i[0][0]=r?t-i*h:t+i*h,n.i[0][1]=e-s,n.i[1][0]=r?t+i:t-i,n.i[1][1]=e-s*h,n.i[2][0]=r?t+i*h:t-i*h,n.i[2][1]=e+s,n.i[3][0]=r?t-i:t+i,n.i[3][1]=e+s*h,n.o[0][0]=r?t+i*h:t-i*h,n.o[0][1]=e-s,n.o[1][0]=r?t+i:t-i,n.o[1][1]=e+s*h,n.o[2][0]=r?t-i*h:t+i*h,n.o[2][1]=e+s,n.o[3][0]=r?t-i:t+i,n.o[3][1]=e-s*h}},extendPrototype([DynamicPropertyContainer],d);var h,l=d,p=(u.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertToPath()},convertStarToPath:function(){for(var t=2*Math.floor(this.pt.v),e=2*Math.PI/t,i=!0,s=this.or.v,r=this.ir.v,n=this.os.v,a=this.is.v,o=2*Math.PI*s/(2*t),h=2*Math.PI*r/(2*t),l=-Math.PI/2,p=(l+=this.r.v,3===this.data.d?-1:1),f=this.v._length=0;f<t;f+=1){var c=i?n:a,u=i?o:h,d=(m=i?s:r)*Math.cos(l),m=m*Math.sin(l),y=0==d&&0==m?0:m/Math.sqrt(d*d+m*m),g=0==d&&0==m?0:-d/Math.sqrt(d*d+m*m);d+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(d,m,d-y*u*c*p,m-g*u*c*p,d+y*u*c*p,m+g*u*c*p,f,!0),i=!i,l+=e*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,s=this.or.v,r=this.os.v,n=2*Math.PI*s/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=s*Math.cos(a),l=s*Math.sin(a),p=0==h&&0==l?0:l/Math.sqrt(h*h+l*l),f=0==h&&0==l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*n*r*o,l-f*n*r*o,h+p*n*r*o,l+f*n*r*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],u),u),f=(c.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=bmMin(i,s,this.r.v),n=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+r,t+i,e-s+n,0,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-n,t+i,e+s-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+s,t+i-r,e+s,t+i-n,e+s,2,!0),this.v.setTripleAt(t-i+r,e+s,t-i+n,e+s,t-i+r,e+s,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-r,t-i,e+s-n,4,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+n,t-i,e-s+r,5,!0),this.v.setTripleAt(t-i+r,e-s,t-i+r,e-s,t-i+n,e-s,6,!0),this.v.setTripleAt(t+i-r,e-s,t+i-n,e-s,t+i-r,e-s,7,!0)):(this.v.setTripleAt(t-i,e+s,t-i+n,e+s,t-i,e+s,2),this.v.setTripleAt(t-i,e-s,t-i,e-s+n,t-i,e-s,3))):(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+n,t+i,e-s+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-s,t+i-r,e-s,t+i-n,e-s,1,!0),this.v.setTripleAt(t-i+r,e-s,t-i+n,e-s,t-i+r,e-s,2,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+r,t-i,e-s+n,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-n,t-i,e+s-r,4,!0),this.v.setTripleAt(t-i+r,e+s,t-i+r,e+s,t-i+n,e+s,5,!0),this.v.setTripleAt(t+i-r,e+s,t+i-n,e+s,t+i-r,e+s,6,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-r,t+i,e+s-n,7,!0)):(this.v.setTripleAt(t-i,e-s,t-i+n,e-s,t-i,e-s,1,!0),this.v.setTripleAt(t-i,e+s,t-i,e+s-n,t-i,e+s,2,!0),this.v.setTripleAt(t+i,e+s,t+i-n,e+s,t+i,e+s,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertRectToPath()},reset:s},extendPrototype([DynamicPropertyContainer],c),c);function c(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())}function u(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())}function d(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())}var m={getShapeProp:function(t,e,i){var s;return 3===i||4===i?s=new((3===i?e.pt:e.ks).k.length?o:n)(t,e,i):5===i?s=new f(t,e):6===i?s=new l(t,e):7===i&&(s=new p(t,e)),s.k&&t.addDynamicProperty(s),s},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),Matrix=function(){var s=Math.cos,r=Math.sin,n=Math.tan,a=Math.round;function t(){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 e(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function i(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(1,0,0,0,0,e,-t,0,0,t,e,0,0,0,0,1))}function o(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,0,t,0,0,1,0,0,-t,0,e,0,0,0,0,1))}function h(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(n(t),n(e))}function f(t,e){var i=s(e),e=r(e);return this._t(i,e,0,0,-e,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-e,0,0,e,i,0,0,0,0,1,0,0,0,0,1)}function c(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function u(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=s,this.props[4]=r,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=c,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function d(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function m(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){var y,g,v,b,_,P,x,S,E,A,k,C,T,w,M,D,F=this.props;return 1===t&&0===e&&0===i&&0===s&&0===r&&1===n&&0===a&&0===o&&0===h&&0===l&&1===p&&0===f?(F[12]=F[12]*t+F[15]*c,F[13]=F[13]*n+F[15]*u,F[14]=F[14]*p+F[15]*d,F[15]*=m,this._identityCalculated=!1):(y=F[0],g=F[1],v=F[2],b=F[3],_=F[4],P=F[5],x=F[6],S=F[7],E=F[8],A=F[9],k=F[10],C=F[11],T=F[12],w=F[13],M=F[14],D=F[15],F[0]=y*t+g*r+v*h+b*c,F[1]=y*e+g*n+v*l+b*u,F[2]=y*i+g*a+v*p+b*d,F[3]=y*s+g*o+v*f+b*m,F[4]=_*t+P*r+x*h+S*c,F[5]=_*e+P*n+x*l+S*u,F[6]=_*i+P*a+x*p+S*d,F[7]=_*s+P*o+x*f+S*m,F[8]=E*t+A*r+k*h+C*c,F[9]=E*e+A*n+k*l+C*u,F[10]=E*i+A*a+k*p+C*d,F[11]=E*s+A*o+k*f+C*m,F[12]=T*t+w*r+M*h+D*c,F[13]=T*e+w*n+M*l+D*u,F[14]=T*i+w*a+M*p+D*d,F[15]=T*s+w*o+M*f+D*m,this._identityCalculated=!1),this}function y(t){t=t.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function g(){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]||0!==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 b(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function _(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function P(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function x(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function S(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function E(t,e,i){return t*this.props[2]+e*this.props[6]+i*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,i=-this.props[1]/t,s=-this.props[4]/t,r=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,t=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new Matrix;return a.props[0]=e,a.props[1]=i,a.props[4]=s,a.props[5]=r,a.props[12]=n,a.props[13]=t,a}function k(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function C(t){for(var e=t.length,i=[],s=0;s<e;s+=1)i[s]=k(t[s]);return i}function T(t,e,i){var s,r,n,a,o,h,l=createTypedArray("float32",6);return this.isIdentity()?(l[0]=t[0],l[1]=t[1],l[2]=e[0],l[3]=e[1],l[4]=i[0],l[5]=i[1]):(s=this.props[0],r=this.props[1],n=this.props[4],a=this.props[5],o=this.props[12],h=this.props[13],l[0]=t[0]*s+t[1]*n+o,l[1]=t[0]*r+t[1]*a+h,l[2]=e[0]*s+e[1]*n+o,l[3]=e[0]*r+e[1]*a+h,l[4]=i[0]*s+i[1]*n+o,l[5]=i[0]*r+i[1]*a+h),l}function w(t,e,i){t=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]];return t}function M(t,e){var i;return this.isIdentity()?t+","+e:(i=this.props,Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100)}function D(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i=i+a(1e4*e[t])/1e4+(15===t?")":","),t+=1;return i}function F(t){return t<1e-6&&0<t||-1e-6<t&&t<0?a(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=t,this.rotate=e,this.rotateX=i,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=c,this.setTransform=u,this.translate=d,this.transform=m,this.multiply=y,this.applyToPoint=P,this.applyToX=x,this.applyToY=S,this.applyToZ=E,this.applyToPointArray=w,this.applyToTriplePoints=T,this.applyToPointStringified=M,this.toCSS=D,this.to2dCSS=I,this.clone=b,this.cloneFromProps=_,this.equals=v,this.inversePoints=C,this.inversePoint=k,this.getInverseMatrix=A,this._t=this.transform,this.isIdentity=g,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})(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)&&1<t&&setDefaultCurveSegments(t)}function inBrowser(){return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"}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("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",readyStateCheckInterval=(getQueryVariable("renderer"),setInterval(checkReady,100));try{"object"===("u"<_typeof2(exports)?"undefined":_typeof$3(exports))&&_typeof2(module)<"u"||"function"==typeof define&&define.amd||(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},s={};return t.registerModifier=function(t,e){s[t]||(s[t]=e)},t.getModifier=function(t,e,i){return new s[t](e,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){var e;this.closed||(t.sh.container.addDynamicProperty(t.sh),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=PropertyFactory.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,i,s,r){for(var n,a,o=[],h=(e<=1?o.push({s:t,e:e}):1<=t?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1})),[]),l=o.length,p=0;p<l;p+=1)(a=o[p]).e*r<s||a.s*r>s+i||(n=a.s*r<=s?0:(a.s*r-s)/i,a=a.e*r>=s+i?1:(a.e*r-s)/i,h.push([n,a]));return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){for(var e=t.length,i=0;i<e;i+=1)segmentsLengthPool.release(t[i]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i,s;this._mdf||t?((e=this.o.v%360/360)<0&&(e+=1),i=1<this.s.v?1+e:this.s.v<0?0+e:this.s.v+e,(s=1<this.e.v?1+e:this.e.v<0?0+e:this.e.v+e)<i&&(e=i,i=s,s=e),i=1e-4*Math.round(1e4*i),s=1e-4*Math.round(1e4*s),this.sValue=i,this.eValue=s):(i=this.sValue,s=this.eValue);var r,n,a,o,h,l,p=this.shapes.length,f=0;if(s===i)for(m=0;m<p;m+=1)this.shapes[m].localShapeCollection.releaseShapes(),this.shapes[m].shape._mdf=!0,this.shapes[m].shape.paths=this.shapes[m].localShapeCollection,this._mdf&&(this.shapes[m].pathsData.length=0);else if(1===s&&0===i||0===s&&1===i){if(this._mdf)for(m=0;m<p;m+=1)this.shapes[m].pathsData.length=0,this.shapes[m].shape._mdf=!0}else{for(var c,u,d=[],m=0;m<p;m+=1)if((c=this.shapes[m]).shape._mdf||this._mdf||t||2===this.m){if(a=(r=c.shape.paths)._length,l=0,!c.shape._mdf&&c.pathsData.length)l=c.totalShapeLength;else{for(o=this.releasePathsData(c.pathsData),n=0;n<a;n+=1)h=bez.getSegmentsLength(r.shapes[n]),o.push(h),l+=h.totalLength;c.totalShapeLength=l,c.pathsData=o}f+=l,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var y,g=i,v=s,b=0;for(m=p-1;0<=m;--m)if((c=this.shapes[m]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(i,s,c.totalShapeLength,b,f),b+=c.totalShapeLength):y=[[g,v]],a=y.length,n=0;n<a;n+=1){g=y[n][0],v=y[n][1],d.length=0,v<=1?d.push({s:c.totalShapeLength*g,e:c.totalShapeLength*v}):1<=g?d.push({s:c.totalShapeLength*(g-1),e:c.totalShapeLength*(v-1)}):(d.push({s:c.totalShapeLength*g,e:c.totalShapeLength}),d.push({s:0,e:c.totalShapeLength*(v-1)}));var _,P=this.addShapes(c,d[0]);d[0].s!==d[0].e&&(1<d.length&&(P=c.shape.paths.shapes[c.shape.paths._length-1].c?(_=P.pop(),this.addPaths(P,u),this.addShapes(c,d[1],_)):(this.addPaths(P,u),this.addShapes(c,d[1]))),this.addPaths(P,u))}c.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e.addShape(t[s])},TrimModifier.prototype.addSegment=function(t,e,i,s,r,n,a){r.setXYAt(e[0],e[1],"o",n),r.setXYAt(i[0],i[1],"i",n+1),a&&r.setXYAt(t[0],t[1],"v",n),r.setXYAt(s[0],s[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var s,r,n,a,o,h,l,p,f=t.pathsData,c=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0,g=i?(a=i._length,i._length):(i=shapePool.newElement(),a=0);for(m.push(i),s=0;s<u;s+=1){for(o=f[s].lengths,i.c=c[s].c,n=c[s].c?o.length:o.length+1,r=1;r<n;r+=1)if(d+(p=o[r-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1),d+=p.addedLength,a+=1}if(c[s].c&&o.length&&(p=o[r-1],d<=e.e?(l=o[r-1].addedLength,e.s<=d&&e.e>=d+l?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-d)/l,(e.e-d)/l,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;s<u-1&&(i=shapePool.newElement(),y=!0,m.push(i),a=0)}return m},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){for(var i=e/100,s=[0,0],r=t._length,n=0,n=0;n<r;n+=1)s[0]+=t.v[n][0],s[1]+=t.v[n][1];s[0]/=r,s[1]/=r;var a,o,h,l,p,f,c=shapePool.newElement();for(c.c=t.c,n=0;n<r;n+=1)a=t.v[n][0]+(s[0]-t.v[n][0])*i,o=t.v[n][1]+(s[1]-t.v[n][1])*i,h=t.o[n][0]+(s[0]-t.o[n][0])*-i,l=t.o[n][1]+(s[1]-t.o[n][1])*-i,p=t.i[n][0]+(s[0]-t.i[n][0])*-i,f=t.i[n][1]+(s[1]-t.i[n][1])*-i,c.setTripleAt(a,o,h,l,p,f,n);return c},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var n=[0,0];function s(t,e,i){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(i||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)for(var s=e.or.k.length,r=0;r<s;r+=1)e.or.k[r].to=null,e.or.k[r].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 s.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(t){var e,i,s,r;this.elem.globalData.frameId!==this.frameId&&(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),(this._mdf||t)&&(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&&(t=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime?i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/t,0),this.p.getValueAtTime(this.p.keyframes[0].t/t,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/t,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/t,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/t,this.p.offsetTime)):this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime?(e=[],i=[],s=this.px,r=this.py,s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/t,0),e[1]=r.getValueAtTime((r.keyframes[0].t+.01)/t,0),i[0]=s.getValueAtTime(s.keyframes[0].t/t,0),i[1]=r.getValueAtTime(r.keyframes[0].t/t,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/t,0),e[1]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/t,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/t,0),i[1]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/t,0)):(e=[s.pv,r.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/t,s.offsetTime),i[1]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/t,r.offsetTime))):e=i=n,this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[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],s),s.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},s.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,e,i){return new s(t,e,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,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){return 0===t||(i=e*e-4*t*i)<0?[]:(e=-e/(2*t),0==i?[e]:[e-(i=Math.sqrt(i)/(2*t)),e+i])}function polynomialCoefficients(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,s,r){r&&pointEqual(t,e)&&(e=lerpPoint(t,s,1/3)),r&&pointEqual(i,s)&&(i=lerpPoint(t,s,2/3));var r=polynomialCoefficients(t[0],e[0],i[0],s[0]),n=polynomialCoefficients(t[1],e[1],i[1],s[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,i,s]}function extrema(t,e){var i,s=t.points[0][e],r=t.points[t.points.length-1][e];r<s&&(i=r,r=s,s=i);for(var n,a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),o=0;o<a.length;o+=1)0<a[o]&&a[o]<1&&((n=t.point(a[o])[e])<s?s=n:r<n&&(r=n));return{min:s,max:r}}function intersectData(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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,i,s,r,n){boxIntersect(t,e)&&(n<=i||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s?r.push([t.t,e.t]):(t=splitData(t),e=splitData(e),intersectsImpl(t[0],e[0],i+1,s,r,n),intersectsImpl(t[0],e[1],i+1,s,r,n),intersectsImpl(t[1],e[0],i+1,s,r,n),intersectsImpl(t[1],e[1],i+1,s,r,n)))}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,i,s){t=[t[0],t[1],1],e=[e[0],e[1],1],i=[i[0],i[1],1],s=[s[0],s[1],1],t=crossProduct(crossProduct(t,e),crossProduct(i,s));return floatZero(t[2])?null:[t[0]/t[2],t[1]/t[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,e=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,e,l+Math.cos(o)*n,e-Math.sin(o)*n,l+Math.cos(h)*a,e-Math.sin(h)*a,t.length())}function getPerpendicularVector(t,e){e=[e[0]-t[0],e[1]-t[1]],t=.5*-Math.PI;return[Math.cos(t)*e[0]-Math.sin(t)*e[1],Math.sin(t)*e[0]+Math.cos(t)*e[1]]}function getProjectingAngle(t,e){var i=0===e?t.length()-1:e-1,e=(e+1)%t.length(),i=getPerpendicularVector(t.v[i],t.v[e]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,i,s,r,n,a){var o=getProjectingAngle(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],l=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,n=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;setPoint(t,e.v[i%e._length],o,a,s,n/(2*(r+1)),l/(2*(r+1)))}function zigZagSegment(t,e,i,s,r,n){for(var a=0;a<s;a+=1){var o=(a+1)/(s+1),h=2===r?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,l=e.normalAngle(o);setPoint(t,e.point(o),l,n,i,h/(2*(s+1)),h/(2*(s+1))),n=-n}return n}function linearOffset(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,s,i),polarOffset(e,s,i)]}function offsetSegment(t,e){var i=linearOffset(t.points[0],t.points[1],e),s=i[0],r=i[1],n=(i=linearOffset(t.points[1],t.points[2],e))[0],a=i[1],t=(i=linearOffset(t.points[2],t.points[3],e))[0],e=i[1],i=lineIntersection(s,r,n,a),r=(null===i&&(i=r),lineIntersection(t,e,n,a));return new PolynomialBezier(s,i,r=null===r?t:r,e)}function joinLines(t,e,i,s,r){var n,a,o=e.points[3],h=i.points[0];return 3===s||pointEqual(o,h)?o:2===s?(s=-e.tangentAngle(1),a=-i.tangentAngle(0)+Math.PI,n=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),h,polarOffset(h,s+Math.PI/2,100)),n=polarOffset(o,s,2*(s=n?pointDistance(n,o):pointDistance(o,h)/2)*roundCorner),t.setXYAt(n[0],n[1],"o",t.length()-1),n=polarOffset(h,a,2*s*roundCorner),t.setTripleAt(h[0],h[1],h[0],h[1],n[0],n[1],t.length()),h):(a=lineIntersection(pointEqual(o,e.points[2])?e.points[0]:e.points[2],o,h,pointEqual(h,i.points[1])?i.points[3]:i.points[1]))&&pointDistance(a,o)<r?(t.setTripleAt(a[0],a[1],a[0],a[1],a[0],a[1],t.length()),a):o}function getIntersection(t,e){t=t.intersections(e);return t.length&&floatEqual(t[0][0],1)&&t.shift(),t.length?t[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),s=e.slice(),r=getIntersection(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),1<t.length&&1<e.length&&(r=getIntersection(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return 1<t.length&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i,s,r,n=t.inflectionPoints();return 0===n.length?[offsetSegment(t,e)]:1===n.length||floatEqual(n[1],1)?(s=(i=t.split(n[0]))[0],r=i[1],[offsetSegment(s,e),offsetSegment(r,e)]):(s=(i=t.split(n[0]))[0],t=(n[1]-n[0])/(1-n[0]),n=(i=i[1].split(t))[0],r=i[1],[offsetSegment(s,e),offsetSegment(n,e),offsetSegment(r,e)])}function OffsetPathModifier(){}function getFontProperties(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],s="normal",r="normal",n=i.length,a=0;a<n;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:r,weight:t.fWeight||s}}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,i,s,r,n){var a=n?-1:1,o=s.s.v[0]+(1-s.s.v[0])*(1-r),h=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*a*r,s.p.v[1]*a*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*a*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(n?1/o:o,n?1/h:h),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)this._elements.unshift(e[--i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},RepeaterModifier.prototype.cloneElements=function(t){t=JSON.parse(JSON.stringify(t));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,s,r,n,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=n=0;s<=this._groups.length-1;s+=1)this._groups[s]._render=o=n<h,this.changeGroupRender(this._groups[s].it,o),o||(0!==(o=(o=this.elemsData[s].it)[o.length-1]).transform.op.v?(o.transform.op._mdf=!0,o.transform.op.v=0):o.transform.op._mdf=!1),n+=1;this._currentCopies=h;var p,f,t=this.o.v,c=t%1,u=0<t?Math.floor(t):Math.ceil(t),d=this.pMatrix.props,m=this.rMatrix.props,y=this.sMatrix.props,g=(this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset(),0);if(0<t){for(;g<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(t<0){for(;u<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--g;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(f=(i=(e=this.elemsData[s].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)*(s/(this._currentCopies-1)),0!==g){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),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]),p=0;p<f;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<f;p+=1)i[p]=this.matrix.props[p];g+=1,--n,s+=r}}else for(n=this._currentCopies,s=0,r=1;n;)i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,--n,s+=r;return a},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 i=shapePool.newElement();i.c=t.c;for(var s,r,n,a,o,h,l,p,f,c,u=t._length,d=0,m=0;m<u;m+=1)s=t.v[m],n=t.o[m],r=t.i[m],s[0]===n[0]&&s[1]===n[1]&&s[0]===r[0]&&s[1]===r[1]?0!==m&&m!==u-1||t.c?(a=0===m?t.v[u-1]:t.v[m-1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,f=s[0]+(a[0]-s[0])*h,c=s[1]-(s[1]-a[1])*h,l=f-(f-s[0])*roundCorner,p=c-(c-s[1])*roundCorner,i.setTripleAt(f,c,l,p,f,c,d),d+=1,a=m===u-1?t.v[0]:t.v[m+1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,l=s[0]+(a[0]-s[0])*h,p=s[1]+(a[1]-s[1])*h,f=l-(l-s[0])*roundCorner,c=p-(p-s[1])*roundCorner,i.setTripleAt(l,p,l,p,f,c,d)):i.setTripleAt(s[0],s[1],n[0],n[1],r[0],r[1],d):i.setTripleAt(t.v[m][0],t.v[m][1],t.o[m][0],t.o[m][1],t.i[m][0],t.i[m][1],d),d+=1;return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.rd.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));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){t=this.derivative(t);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(t){t=this.derivative(t);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t,e=this.a[1]*this.b[0]-this.a[0]*this.b[1];return floatZero(e)||(e=(t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e)*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e)<0?[]:floatZero(e=Math.sqrt(e))?0<e&&e<1?[t]:[]:[t-e,t+e].filter(function(t){return 0<t&&t<1})},PolynomialBezier.prototype.split=function(t){var e,i,s,r;return t<=0?[singlePoint(this.points[0]),this]:1<=t?[this,singlePoint(this.points[this.points.length-1])]:(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),s=lerpPoint(e,r,t),r=lerpPoint(r,i,t),t=lerpPoint(s,r,t),[new PolynomialBezier(this.points[0],e,s,t,!0),new PolynomialBezier(t,r,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,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,s,i),s},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,s){var r=t._length,n=shapePool.newElement();if(n.c=t.c,t.c||--r,0!==r){var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(n,t,0,e,i,s,a);for(var h=0;h<r;h+=1)a=zigZagSegment(n,o,e,i,s,-a),o=h!==r-1||t.c?PolynomialBezier.shapeSegment(t,(h+1)%r):null,zigZagCorner(n,t,h+1,e,i,s,a)}return n},ZigZagModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amplitude.v,a=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,a,o));h.shape.paths=h.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,i,s){var r=shapePool.newElement(),n=(r.c=t.c,t.length());t.c||--n;for(var a,o,h=[],l=0;l<n;l+=1)o=PolynomialBezier.shapeSegment(t,l),h.push(offsetSegmentSplit(o,e));if(!t.c)for(l=n-1;0<=l;--l)o=PolynomialBezier.shapeSegmentInverted(t,l),h.push(offsetSegmentSplit(o,e));var h=pruneIntersections(h),p=null,f=null;for(l=0;l<h.length;l+=1){var c=h[l];for(f&&(p=joinLines(r,f,c[0],i,s)),f=c[c.length-1],a=0;a<c.length;a+=1)o=c[a],p&&pointEqual(o.points[0],p)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.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],r.length()),r.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],r.length()),p=o.points[3]}return h.length&&joinLines(r,f,h[0][0],i,s),r},OffsetPathModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v,a=this.miterLimit.v,o=this.lineJoin;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,o,a));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var n=5e3,a={w:0,size:0,shapes:[],data:{shapes:[]}},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]),r=127988,o=917631,h=917601,l=917626,i=65039,s=8205,p=127462,f=127487,c=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(t,e){var i=createTag("span"),s=(i.setAttribute("aria-hidden",!0),i.style.fontFamily=e,createTag("span")),r=(s.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(s),document.body.appendChild(i),s.offsetWidth);return s.style.fontFamily=function(t){for(var e=t.split(","),i=e.length,s=[],r=0;r<i;r+=1)"sans-serif"!==e[r]&&"monospace"!==e[r]&&s.push(e[r]);return s.join(",")}(t)+", "+e,{node:s,w:r,parent:i}}function d(t,e){var i,s,r=document.body&&e?"svg":"canvas",n=getFontProperties(t);return i="svg"==r?((s=createNS("text")).style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),s):((e=new OffscreenCanvas(500,500).getContext("2d")).font=n.style+" "+n.weight+" 100px "+t.fFamily,e),{measureText:function(t){return"svg"==r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function m(t){var e=0,i=t.charCodeAt(0);return e=55296<=i&&i<=56319&&56320<=(t=t.charCodeAt(1))&&t<=57343?1024*(i-55296)+t-56320+65536:e}function y(t){t=m(t);return p<=t&&t<=f}function t(){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)}t.isModifier=function(t,e){return t=t.toString(16)+e.toString(16),-1!==c.indexOf(t)},t.isZeroWidthJoiner=function(t){return t===s},t.isFlagEmoji=function(t){return y(t.substr(0,2))&&y(t.substr(2,2))},t.isRegionalCode=y,t.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},t.isRegionalFlag=function(t,e){var i;if(m(t.substr(e,2))!==r)return!1;var s=0;for(e+=2;s<5;){if((i=m(t.substr(e,2)))<h||l<i)return!1;s+=1,e+=2}return m(t.substr(e,2))===o},t.isVariationSelector=function(t){return t===i},t.BLACK_FLAG_CODE_POINT=r;var g={addChars:function(t){if(t){this.chars||(this.chars=[]);for(var e,i,s=t.length,r=this.chars.length,n=0;n<s;n+=1){for(e=0,i=!1;e<r;)this.chars[e].style===t[n].style&&this.chars[e].fFamily===t[n].fFamily&&this.chars[e].ch===t[n].ch&&(i=!0),e+=1;i||(this.chars.push(t[n]),r+=1)}}},addFonts:function(t,e){if(t)if(this.chars)this.isLoaded=!0,this.fonts=t.list;else if(document.body){for(var i=t.list,s=i.length,r=s,n=0;n<s;n+=1){var a,o,h,l,p=!0;if(i[n].loaded=!1,i[n].monoCase=u(i[n].fFamily,"monospace"),i[n].sansCase=u(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin)(p=!(0<(o=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length)&&p)&&((h=createTag("style")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h));else if("g"===i[n].fOrigin||1===i[n].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),a=0;a<o.length;a+=1)-1!==o[a].href.indexOf(i[n].fPath)&&(p=!1);p&&((h=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.type="text/css",h.rel="stylesheet",h.href=i[n].fPath,document.body.appendChild(h))}else if("t"===i[n].fOrigin||2===i[n].origin){for(o=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),a=0;a<o.length;a+=1)i[n].fPath===o[a].src&&(p=!1);p&&((l=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),l.setAttribute("f-origin",i[n].origin),l.setAttribute("rel","stylesheet"),l.setAttribute("href",i[n].fPath),e.appendChild(l))}}else i[n].loaded=!0,--r;i[n].helper=d(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===r?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0,t.list.forEach(function(t){t.helper=d(t),t.cache={}}),this.fonts=t.list;else this.isLoaded=!0},getCharData:function(t,e,i){for(var s=0,r=this.chars.length;s<r;){if(this.chars[s].ch===t&&this.chars[s].style===e&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),a},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var s,r,n,e=this.getFontByName(e),a=t;return e.cache[a]||(s=e.helper," "===t?(r=s.measureText("|"+t+"|"),n=s.measureText("||"),e.cache[a]=(r-n)/100):e.cache[a]=s.measureText(t)/100),e.cache[a]*i},checkLoadedFonts:function(){for(var t,e,i=this.fonts.length,s=i,r=0;r<i;r+=1)this.fonts[r].loaded?--s:"n"===this.fonts[r].fOrigin||0===this.fonts[r].origin?this.fonts[r].loaded=!0:(t=this.fonts[r].monoCase.node,e=this.fonts[r].monoCase.w,t.offsetWidth===e&&(t=this.fonts[r].sansCase.node,e=this.fonts[r].sansCase.w,t.offsetWidth===e)||(--s,this.fonts[r].loaded=!0),this.fonts[r].loaded&&(this.fonts[r].sansCase.parent.parentNode.removeChild(this.fonts[r].sansCase.parent),this.fonts[r].monoCase.parent.parentNode.removeChild(this.fonts[r].monoCase.parent)));0!==s&&Date.now()-this.initTime<n?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return t.prototype=g,t}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function 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(){for(var t=this.renderableComponents.length,e=0;e<t;e+=1)this.renderableComponents[e].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 e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];for(var s,r=i.length,n=0;n<r;n+=1)s=new GroupEffect(i[n],e),this.effectElements.push(s)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;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){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);for(var i,s=this.data.ef.length,r=this.data.ef,n=0;n<s;n+=1){switch(i=null,r[n].ty){case 0:i=new SliderEffect(r[n],e,this);break;case 1:i=new AngleEffect(r[n],e,this);break;case 2:i=new ColorEffect(r[n],e,this);break;case 3:i=new PointEffect(r[n],e,this);break;case 4:case 7:i=new CheckboxEffect(r[n],e,this);break;case 10:i=new LayerIndexEffect(r[n],e,this);break;case 11:i=new MaskIndexEffect(r[n],e,this);break;case 5:i=new EffectsManager(r[n],e);break;default:i=new NoValueEffect(r[n])}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(this.data.hasMask)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,e,i,s,r=getExpressionInterfaces();r&&(s=r("layer"),t=r("effects"),e=r("shape"),i=r("text"),r=r("comp"),this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager),s=t.createEffectsInterface(this,this.layerInterface),this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=r(this):4===this.data.ty?(this.layerInterface.shapeInterface=e(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(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,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){for(var i=this.dynamicProperties.length,s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._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();t&&(t=t("footage"),this.layerInterface=t(this))},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:(t=this.tm.v,this._currentTime=t),this._volume=this.lv.v[0];t=this._volume*this._volumeMultiplier;this._previousVolume!==t&&(this._previousVolume=t,this.audio.volume(t))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||.1<Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek()))&&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,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;0<=e;--e)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.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: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);default:return this.createNull(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(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,s=this.layers.length,r=0;r<i;r+=1)for(e=0;e<s;){if(this.layers[e].id===t[r].id){this.layers[e]=t[r];break}e+=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,i){for(var s=this.elements,r=this.layers,n=0,a=r.length;n<a;)r[n].ind==e&&(s[n]&&!0!==s[n]?(i.push(s[n]),s[n].setAsParent(),void 0!==r[n].parent?this.buildElementParenting(t,r[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=0;s<i;s+=1)t[s].xt&&((e=this.createComp(t[s])).initExpressions(),this.globalData.projectInterface.registerComposition(e))},BaseRenderer.prototype.getElementById=function(t){for(var e=this.elements.length,i=0;i<e;i+=1)if(this.elements[i].data.ind===t)return this.elements[i];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else for(var s=this.elements.length,r=0;r<s;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];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,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(r),this.solidPath="";for(var n,a,o,h,l,p=this.masksProperties,f=0,c=[],u=createElementID(),d="clipPath",m="clip-path",y=0;y<r;y+=1)if(("a"!==p[y].mode&&"n"!==p[y].mode||p[y].inv||100!==p[y].o.k||p[y].o.x)&&(m=d="mask"),"s"!==p[y].mode&&"i"!==p[y].mode||0!==f?a=null:((a=createNS("rect")).setAttribute("fill","#ffffff"),a.setAttribute("width",this.element.comp.data.w||0),a.setAttribute("height",this.element.comp.data.h||0),c.push(a)),n=createNS("path"),"n"===p[y].mode)this.viewData[y]={op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),elem:n,lastPath:""},s.appendChild(n);else{if(f+=1,n.setAttribute("fill","s"===p[y].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[y].x.k?(m=d="mask",h=PropertyFactory.getProp(this.element,p[y].x,0,null,this.element),l=createElementID(),(_=createNS("filter")).setAttribute("id",l),(o=createNS("feMorphology")).setAttribute("operator","erode"),o.setAttribute("in","SourceGraphic"),o.setAttribute("radius","0"),_.appendChild(o),s.appendChild(_),n.setAttribute("stroke","s"===p[y].mode?"#000000":"#ffffff")):h=o=null,this.storedData[y]={elem:n,x:h,expan:o,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"===p[y].mode){for(var g=c.length,v=createNS("g"),b=0;b<g;b+=1)v.appendChild(c[b]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",u+"_"+f),_.appendChild(n),s.appendChild(_),v.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+f+")"),c.length=0,c.push(v)}else c.push(n);p[y].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[y]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),invRect:a},this.viewData[y].prop.k||this.drawPath(p[y],this.viewData[y].prop.v,this.viewData[y])}for(this.maskElement=createNS(d),r=c.length,y=0;y<r;y+=1)this.maskElement.appendChild(c[y]);0<f&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),s.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,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,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 i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){for(var r=this.finalTransform.localOpacity,t=0;t<e;t+=1)r*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;for(var e=0,i=t.length,e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;for(var r,n=e.length,a=0;a<n;a+=1)r=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-r[0],t[1]-r[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){for(var e,i=this.element.finalTransform.mat,s=this.masksProperties.length,r=0;r<s;r+=1)(this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),"n"!==this.masksProperties[r].mode&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[r].x)&&(this.storedData[r].x._mdf||t)&&(e=this.storedData[r].expan,this.storedData[r].x.v<0?("erode"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),e.setAttribute("radius",-this.storedData[r].x.v)):("dilate"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",2*this.storedData[r].x.v)))},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return(t+=" h"+this.globalData.compSize.w)+(" v"+this.globalData.compSize.h)+(" h-"+this.globalData.compSize.w)+(" v-"+this.globalData.compSize.h+" ")},MaskElement.prototype.drawPath=function(t,e,i){for(var s,r=" M"+e.v[0][0]+","+e.v[0][1],n=e._length,a=1;a<n;a+=1)r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[a][0]+","+e.i[a][1]+" "+e.v[a][0]+","+e.v[a][1];e.c&&1<n&&(r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r&&(s="",i.elem&&(e.c&&(s=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",s)),i.lastPath=r)},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var i=createNS("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},t.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},t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=createElementID(),n=filtersFactory.createFilter(r,!0),a=0;for(this.filters=[],e=0;e<s;e+=1){o=null;var o,h=t.data.ef[e].ty;registeredEffects$1[h]&&(o=new registeredEffects$1[h].effect(n,t.effectsManager.effectElements[e],t,idPrefix+a,i),i=idPrefix+a,registeredEffects$1[h].countsAsEffect)&&(a+=1),o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect$1(t,e,i){registeredEffects$1[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),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){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);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,e,i,s=null;this.data.td?(this.matteMasks={},(t=createNS("g")).setAttribute("id",this.layerId),t.appendChild(this.layerElement),this.globalData.defs.appendChild(s=t)):this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=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.ty||this.data.hd||(t=createNS("clipPath"),(i=createNS("path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),e=createElementID(),t.setAttribute("id",e),t.appendChild(i),this.globalData.defs.appendChild(t),this.checkMasks()?((i=createNS("g")).setAttribute("clip-path","url("+getLocationHref()+"#"+e+")"),i.appendChild(this.layerElement),this.transformedElement=i,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+e+")")),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("op
1acity",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){var e,i,s,r,n,a,o,h,l;return this.matteMasks||(this.matteMasks={}),this.matteMasks[t]||(e=this.layerId+"_"+t,1===t||3===t?((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),i=createElementID(),s=filtersFactory.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))):2===t&&((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type","alpha"),o=createNS("g"),a.appendChild(o),i=createElementID(),s=filtersFactory.createFilter(i),(l=createNS("feComponentTransfer")).setAttribute("in","SourceGraphic"),s.appendChild(l),(h=createNS("feFuncA")).setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),l.appendChild(h),this.globalData.defs.appendChild(s),(l=createNS("rect")).setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),o.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),o.appendChild(l),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),featureSupport.maskType||(a.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),o.appendChild(l),n.appendChild(this.layerElement),o.appendChild(n)),this.globalData.defs.appendChild(a)),this.matteMasks[t]=e),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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].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){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;0<=e&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);--e);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(i[--s].elem===t)return void(i[s].pos=e);i.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"};
vendor: 55,300 bytes, line 1
1function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=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,i,s){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);for(var r,n=e.length||0,a=0;a<n;a+=1)r=PropertyFactory.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,i){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=i,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,i){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=i}function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var s=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",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function SVGGradientStrokeStyleData(t,e,i){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,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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 i=0,s=this.o.length/2;i<s;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=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){for(var e,i,s=4*this.data.p,r=0;r<s;r+=1)e=r%4==0?100:255,i=Math.round(this.prop.v[r]*e),this.c[r]!==i&&(this.c[r]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,r=4*this.data.p;r<s;r+=1)e=r%2==0?100:1,i=r%2==0?Math.round(100*this.prop.v[r]):this.prop.v[r],this.o[r-4*this.data.p]!==i&&(this.o[r-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){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=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){for(var i,s=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient"),n=(r.setAttribute("id",s),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse"),[]),a=4*e.g.p,o=0;o<a;o+=4)i=createNS("stop"),r.appendChild(i),n.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),this.gf=r,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){for(var i,s,r=createNS("mask"),n=createNS("path"),a=(r.appendChild(n),createElementID()),o=createElementID(),h=(r.setAttribute("id",o),createNS(1===t.t?"linearGradient":"radialGradient")),l=(h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=(t.g.k.k[0].s||t.g.k.k).length,this.stops),p=4*t.g.p;p<s;p+=2)(i=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),l.push(i);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+a+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj)&&n.setAttribute("stroke-miterlimit",t.ml),this.of=h,this.ms=r,this.ost=l,this.maskId=o,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,i,s){if(0===e)return"";for(var r=t.o,n=t.i,a=t.v,o=" M"+s.applyToPointStringified(a[0][0],a[0][1]),h=1;h<e;h+=1)o+=" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[h][0],n[h][1])+" "+s.applyToPointStringified(a[h][0],a[h][1]);return o=i&&e?o+(" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(a[0][0],a[0][1]))+"z":o},SVGElementsRenderer=function(){var m=new Matrix,y=new Matrix;function e(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function s(t,e,i){for(var s,r,n,a,o,h,l,p,f,c=e.styles.length,u=e.lvl,d=0;d<c;d+=1){if(a=e.sh._mdf||i,e.styles[d].lvl<u){for(l=y.reset(),p=u-e.styles[d].lvl,f=e.transformers.length-1;!a&&0<p;)a=e.transformers[f].mProps._mdf||a,--p,--f;if(a)for(p=u-e.styles[d].lvl,f=e.transformers.length-1;0<p;)l.multiply(e.transformers[f].mProps.v),--p,--f}else l=m;if(r=(h=e.sh.paths)._length,a){for(n="",s=0;s<r;s+=1)(o=h.shapes[s])&&o._length&&(n+=buildShapeString(o,o._length,o.c,l));e.caches[d]=n}else n=e.caches[d];e.styles[d].d+=!0===t.hd?"":n,e.styles[d]._mdf=a||e.styles[d]._mdf}}function r(t,e,i){var s=e.style;(e.c._mdf||i)&&s.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("fill-opacity",e.o.v)}function n(t,e,i){a(t,e,i),o(0,e,i)}function a(t,e,i){var s,r,n,a,o=e.gf,h=e.g._hasOpacity,l=e.s.v,p=e.e.v;if((e.o._mdf||i)&&(n="gf"===t.ty?"fill-opacity":"stroke-opacity",e.style.pElem.setAttribute(n,e.o.v)),(e.s._mdf||i)&&(a="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",o.setAttribute(n,l[0]),o.setAttribute(a,l[1]),h)&&!e.g._collapsable&&(e.of.setAttribute(n,l[0]),e.of.setAttribute(a,l[1])),e.g._cmdf||i)for(var f=e.cst,c=e.g.c,u=f.length,d=0;d<u;d+=1)(s=f[d]).setAttribute("offset",c[4*d]+"%"),s.setAttribute("stop-color","rgb("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+")");if(h&&(e.g._omdf||i)){var m=e.g.o;for(u=(f=e.g._collapsable?e.cst:e.ost).length,d=0;d<u;d+=1)s=f[d],e.g._collapsable||s.setAttribute("offset",m[2*d]+"%"),s.setAttribute("stop-opacity",m[2*d+1])}1===t.t?(e.e._mdf||i)&&(o.setAttribute("x2",p[0]),o.setAttribute("y2",p[1]),h)&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])):((e.s._mdf||e.e._mdf||i)&&(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),o.setAttribute("r",r),h)&&!e.g._collapsable&&e.of.setAttribute("r",r),(e.e._mdf||e.h._mdf||e.a._mdf||i)&&(r=r||Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),n=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(a=e.h.v)?a=.99:a<=-1&&(a=-.99),t=r*a,i=Math.cos(n+e.a.v)*t+l[0],p=Math.sin(n+e.a.v)*t+l[1],o.setAttribute("fx",i),o.setAttribute("fy",p),h)&&!e.g._collapsable&&(e.of.setAttribute("fx",i),e.of.setAttribute("fy",p)))}function o(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem)&&s.msElem.setAttribute("stroke-width",e.w.v)}return{createRenderFunction:function(t){switch(t.ty){case"fl":return r;case"gf":return a;case"gs":return n;case"st":return o;case"sh":case"el":case"rc":case"sr":return s;case"tr":return e;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function LetterProps(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,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(){for(var t,e,i,s=this.shapes.length,r=this.stylesList.length,n=[],a=!1,o=0;o<r;o+=1){for(i=this.stylesList[o],a=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),a=e._isAnimated||a);1<n.length&&a&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,e=new SVGStyleData(t,e),s=e.pElem;return"st"===t.ty?i=new SVGStrokeStyleData(this,t,e):"fl"===t.ty?i=new SVGFillStyleData(this,t,e):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,e),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new SVGNoStyleData(this,t,e)),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),1!==t.lj)||s.setAttribute("stroke-miterlimit",t.ml),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(e),this.addToAnimatedContents(t,i),i},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 i=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var s=4;"rc"===t.ty?s=5:"el"===t.ty?s=6:"sr"===t.ty&&(s=7);e=new SVGShapeData(e,i,ShapePropertyFactory.getShapeProp(this,t,s,this));return this.shapes.push(e),this.addShapeToModifiers(e),this.addToAnimatedContents(t,e),e},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){for(var e=t.styles,i=this.stylesList.length,s=0;s<i;s+=1)this.stylesList[s].closed||e.push(this.stylesList[s])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,s,r,n,a){for(var o,h,l,p,f,c=[].concat(n),u=t.length-1,d=[],m=[],y=u;0<=y;--y){if((f=this.searchProcessedElement(t[y]))?e[y]=i[f-1]:t[y]._render=a,"fl"===t[y].ty||"st"===t[y].ty||"gf"===t[y].ty||"gs"===t[y].ty||"no"===t[y].ty)f?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r),t[y]._render&&e[y].style.pElem.parentNode!==s&&s.appendChild(e[y].style.pElem),d.push(e[y].style);else if("gr"===t[y].ty){if(f)for(h=e[y].it.length,o=0;o<h;o+=1)e[y].prevViewData[o]=e[y].it[o];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,r+1,c,a),t[y]._render&&e[y].gr.parentNode!==s&&s.appendChild(e[y].gr)}else"tr"===t[y].ty?(f||(e[y]=this.createTransformElement(t[y],s)),l=e[y].transform,c.push(l)):"sh"===t[y].ty||"rc"===t[y].ty||"el"===t[y].ty||"sr"===t[y].ty?(f||(e[y]=this.createShapeElement(t[y],c,r)),this.setElementStyles(e[y])):"tm"===t[y].ty||"rd"===t[y].ty||"ms"===t[y].ty||"pb"===t[y].ty||"zz"===t[y].ty||"op"===t[y].ty?(f?(p=e[y]).closed=!1:((p=ShapeModifiers.getModifier(t[y].ty)).init(this,t[y]),e[y]=p,this.shapeModifiers.push(p)),m.push(p)):"rp"===t[y].ty&&(f?(p=e[y]).closed=!0:(p=ShapeModifiers.getModifier(t[y].ty),(e[y]=p).init(this,t,y,e),this.shapeModifiers.push(p),a=!1),m.push(p));this.addProcessedElement(t[y],y+1)}for(u=d.length,y=0;y<u;y+=1)d[y].closed=!0;for(u=m.length,y=0;y<u;y+=1)m[y].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){for(var t,e=this.animatedContents.length,i=0;i<e;i+=1)t=this.animatedContents[i],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,i,s,r,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var a=this._mdf.p=!1;return this.o!==t&&(this.o=t,a=this._mdf.o=!0),this.sw!==e&&(this.sw=e,a=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this._mdf.sc=!0),this.fc!==s&&(this.fc=s,a=this._mdf.fc=!0),this.m!==r&&(this.m=r,a=this._mdf.m=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,a=this._mdf.p=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);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=1<this.data.d.k.length,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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;for(var s=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s,n=0;n<s;n+=1)r=i!==this.keysIndex?this.effectsSequence[n](r,r.t):this.effectsSequence[n](this.currentData,r.t);e!==r&&this.setCurrentData(r),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,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r<n;)a=o,o=!1,e=t.charCodeAt(r),h=t.charAt(r),FontManager.isCombinedCharacter(e)?a=!0:55296<=e&&e<=56319?FontManager.isRegionalFlag(t,r)?h=t.substr(r,14):56320<=(i=t.charCodeAt(r+1))&&i<=57343&&(FontManager.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=FontManager.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):56319<e?(i=t.charCodeAt(r+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(o=a=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n=this.elem.globalData.fontManager,a=this.data,o=[],h=0,l=a.m.g,p=0,f=0,c=0,u=[],d=0,m=0,y=n.getFontByName(t.f),g=0,v=getFontProperties(y),b=(t.fWeight=v.weight,t.fStyle=v.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),S=t.finalText.length,t.finalLineHeight=t.lh,t.tr/1e3*t.finalSize);if(t.sz)for(var _=!0,R=t.sz[0],B=t.sz[1];_;){for(var P,x=0,d=0,S=(P=this.buildFinalText(t.t)).length,b=t.tr/1e3*t.finalSize,E=-1,A=0;A<S;A+=1)r=P[A].charCodeAt(0),e=!1," "===P[A]?E=A:13!==r&&3!==r||(e=!(d=0),x+=t.finalLineHeight||1.2*t.finalSize),R<d+(g=n.chars?(s=n.getCharData(P[A],y.fStyle,y.fFamily),e?0:s.w*t.finalSize/100):n.measureText(P[A],t.f,t.finalSize))&&" "!==P[A]?(-1===E?S+=1:A=E,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(A,E===A?1:0,"\r"),E=-1,d=0):d=d+g+b;x+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<x?(--t.finalSize,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,S=t.finalText.length,_=!1)}d=-b;var k,g=0,C=0;for(A=0;A<S;A+=1)if(e=!1,13===(r=(k=t.finalText[A]).charCodeAt(0))||3===r?(C=0,u.push(d),m=m<d?d:m,d=-2*b,e=!(i=""),c+=1):i=k,g=n.chars?(s=n.getCharData(k,y.fStyle,n.getFontByName(t.f).fFamily),e?0:s.w*t.finalSize/100):n.measureText(i,t.f,t.finalSize)," "===k?C+=g+b:(d+=g+b+C,C=0),o.push({l:g,an:g,add:p,n:e,anIndexes:[],val:i,line:c,animatorJustifyOffset:0}),2==l){if(p+=g,""===i||" "===i||A===S-1){for(""!==i&&" "!==i||(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;h+=1,p=0}}else if(3==l){if(p+=g,""===i||A===S-1){for(""===i&&(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;p=0,h+=1}}else o[h].ind=h,o[h].extra=0,h+=1;if(t.l=o,m=m<d?d:m,u.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=m,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;for(var T,w,M,D,F=a.a,O=F.length,I=[],L=0;L<O;L+=1){for((T=F[L]).a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),M=T.s.b,A=D=0;A<S;A+=1)(w=o[A]).anIndexes[L]=D,(1==M&&""!==w.val||2==M&&""!==w.val&&" "!==w.val||3==M&&(w.n||" "==w.val||A==S-1)||4==M&&(w.n||A==S-1))&&(1===T.s.rn&&I.push(D),D+=1);a.a[L].s.totalChars=D;var V,z=-1;if(1===T.s.rn)for(A=0;A<S;A+=1)z!=(w=o[A]).anIndexes[L]&&(z=w.anIndexes[L],V=I.splice(Math.floor(Math.random()*I.length),1)[0]),w.anIndexes[L]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s),i=this.copyData(i,t);this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){t=this.data.d.k[t].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},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 h=Math.max,l=Math.min,p=Math.floor;function s(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),"e"in e?this.e=PropertyFactory.getProp(t,e.e,0,0,this):this.e={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 s.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e,i,s=0,r=0,n=1,a=1,s=(0<this.ne.v?s=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?n=1-this.xe.v/100:a=1+this.xe.v/100,BezierFactory.getBezierEasing(s,r,n,a).get),r=0,n=this.finalS,a=this.finalE,o=this.data.sh;return r=2===o?s(r=a===n?a<=t?1:0:h(0,l(.5/(a-n)+(t-n)/(a-n),1))):3===o?s(r=a===n?a<=t?0:1:1-h(0,l(.5/(a-n)+(t-n)/(a-n),1))):4===o?(a===n?r=0:(r=h(0,l(.5/(a-n)+(t-n)/(a-n),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5===o?s(r=a===n?0:(e=-(i=a-n)/2+(t=l(h(0,t+.5-n),a-n)),i=i/2,Math.sqrt(1-e*e/(i*i)))):(6===o?r=a===n?0:(t=l(h(0,t+.5-n),a-n),(1+Math.cos(Math.PI+2*Math.PI*t/(a-n)))/2):t>=p(n)&&(r=h(0,l(t-n<0?l(a,1)-(n-t):a-t,1))),s(r)),100!==this.sm.v&&(r<(i=.5-.5*(e=0===(e=.01*this.sm.v)?1e-8:e))?r=0:1<(r=(r-i)/e)&&(r=1)),r*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 t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,t=this.e.v/t+e;t<i&&(e=i,i=t,t=e),this.finalS=i,this.finalE=t}},extendPrototype([DynamicPropertyContainer],s),{getTextSelectorProp:function(t,e,i){return new s(t,e)}}}();function TextAnimatorDataProperty(t,e,i){var s={propType:!1},r=PropertyFactory.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,degToRads,i):s,rx:n.rx?r(t,n.rx,0,degToRads,i):s,ry:n.ry?r(t,n.ry,0,degToRads,i):s,sk:n.sk?r(t,n.sk,0,degToRads,i):s,sa:n.sa?r(t,n.sa,0,degToRads,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){for(var t,e=this._textData.a.length,i=PropertyFactory.getProp,s=0;s<e;s+=1)t=this._textData.a[s],this._animatorsData[s]=new TextAnimatorDataProperty(this._elem,t,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,R){if(this.lettersChangedFlag=R,this._mdf||this._isFirstFrame||R||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var e,i,s,B,r,n,a,o,h,O,l,z,p,f=this._moreOptions.alignment.v,c=this._animatorsData,u=this._textData,d=this.mHelper,N=this._renderType,G=this.renderedLetters.length,m=t.l;if(this._hasMaskedPath){if(p=this._pathData.m,!this._pathData.n||this._pathData._mdf){for(var y,g=p.v,v={tLength:0,segments:[]},b=(g=this._pathData.r.v?g.reverse():g)._length-1,_=l=0;_<b;_+=1)y=bez.buildBezierData(g.v[_],g.v[_+1],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[_+1][0]-g.v[_+1][0],g.i[_+1][1]-g.v[_+1][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength;_=b,p.v.c&&(y=bez.buildBezierData(g.v[_],g.v[0],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[0][0]-g.v[0][0],g.i[0][1]-g.v[0][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,e=this._pathData.f.v,r=1,B=!(s=n=0),h=v.segments,e<0&&p.v.c)for(v.tLength<Math.abs(e)&&(e=-Math.abs(e)%v.tLength),r=(o=h[n=h.length-1].points).length-1;e<0;)e+=o[r].partialLength,--r<0&&(r=(o=h[--n].points).length-1);a=(o=h[n].points)[r-1],O=(i=o[r]).partialLength}b=m.length;var P,j,x,S,H,q,E,A,k,C,T,W,$,X,Y,J,w=0,U=0,K=1.2*t.finalSize*.714,Z=!0,M=c.length,D=-1,Q=e,tt=n,et=r,it=-1,st="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var F=0,nt=0,at=2===t.j?-.5:-1,I=0,ot=!0;for(_=0;_<b;_+=1)if(m[_].n){for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1;ot=!(F=0)}else{for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(ot&&2===t.j&&(nt+=P.t.v*at),(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?F+=P.t.v*x[0]*at:F+=P.t.v*x*at);ot=!1}for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1}for(_=0;_<b;_+=1){if(d.reset(),E=1,m[_].n)w=0,U=U+t.yOffset+(Z?1:0),e=Q,Z=!1,this._hasMaskedPath&&(a=(o=h[n=tt].points)[(r=et)-1],O=(i=o[r]).partialLength,s=0),Y=W=X=st="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(it!==m[_].line){switch(t.j){case 1:e+=l-t.lineWidths[m[_].line];break;case 2:e+=(l-t.lineWidths[m[_].line])/2}it=m[_].line}D!==m[_].ind&&(m[D]&&(e+=m[D].extra),e+=m[_].an/2,D=m[_].ind),e+=f[0]*m[_].an*.005;for(var L=0,V=0;V<M;V+=1)(P=c[V].a).p.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.p.v[0]*x[0]:L+=P.p.v[0]*x),P.a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.a.v[0]*x[0]:L+=P.a.v[0]*x);for(B=!0,this._pathData.a.v&&(e=.5*m[0].an+(l-this._pathData.f.v-.5*m[0].an-.5*m[m.length-1].an)*D/(b-1),e+=this._pathData.f.v);B;)e+L<=s+O||!o?(z=(e+L-s)/i.partialLength,H=a.point[0]+(i.point[0]-a.point[0])*z,q=a.point[1]+(i.point[1]-a.point[1])*z,d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01),B=!1):o&&(s+=i.partialLength,(r+=1)>=o.length&&(r=0,o=h[n+=1]?h[n].points:p.v.c?h[n=r=0].points:(s-=i.partialLength,null)),o)&&(a=i,O=(i=o[r]).partialLength);S=m[_].an/2-m[_].add,d.translate(-S,0,0)}else S=m[_].an/2-m[_].add,d.translate(-S,0,0),d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01,0);for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),0!==w||0!==t.j)&&(this._hasMaskedPath?x.length?e+=P.t.v*x[0]:e+=P.t.v*x:x.length?w+=P.t.v*x[0]:w+=P.t.v*x);for(t.strokeWidthAnim&&(k=t.sw||0),t.strokeColorAnim&&(A=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(C=[t.fc[0],t.fc[1],t.fc[2]]),V=0;V<M;V+=1)(P=c[V].a).a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.translate(-P.a.v[0]*x[0],-P.a.v[1]*x[1],P.a.v[2]*x[2]):d.translate(-P.a.v[0]*x,-P.a.v[1]*x,P.a.v[2]*x));for(V=0;V<M;V+=1)(P=c[V].a).s.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.scale(1+(P.s.v[0]-1)*x[0],1+(P.s.v[1]-1)*x[1],1):d.scale(1+(P.s.v[0]-1)*x,1+(P.s.v[1]-1)*x,1));for(V=0;V<M;V+=1){if(P=c[V].a,x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),P.sk.propType&&(x.length?d.skewFromAxis(-P.sk.v*x[0],P.sa.v*x[1]):d.skewFromAxis(-P.sk.v*x,P.sa.v*x)),P.r.propType&&(x.length?d.rotateZ(-P.r.v*x[2]):d.rotateZ(-P.r.v*x)),P.ry.propType&&(x.length?d.rotateY(P.ry.v*x[1]):d.rotateY(P.ry.v*x)),P.rx.propType&&(x.length?d.rotateX(P.rx.v*x[0]):d.rotateX(P.rx.v*x)),P.o.propType&&(x.length?E+=(P.o.v*x[0]-E)*x[0]:E+=(P.o.v*x-E)*x),t.strokeWidthAnim&&P.sw.propType&&(x.length?k+=P.sw.v*x[0]:k+=P.sw.v*x),t.strokeColorAnim&&P.sc.propType)for(T=0;T<3;T+=1)x.length?A[T]+=(P.sc.v[T]-A[T])*x[0]:A[T]+=(P.sc.v[T]-A[T])*x;if(t.fillColorAnim&&t.fc){if(P.fc.propType)for(T=0;T<3;T+=1)x.length?C[T]+=(P.fc.v[T]-C[T])*x[0]:C[T]+=(P.fc.v[T]-C[T])*x;P.fh.propType&&(C=x.length?addHueToRGB(C,P.fh.v*x[0]):addHueToRGB(C,P.fh.v*x)),P.fs.propType&&(C=x.length?addSaturationToRGB(C,P.fs.v*x[0]):addSaturationToRGB(C,P.fs.v*x)),P.fb.propType&&(C=x.length?addBrightnessToRGB(C,P.fb.v*x[0]):addBrightnessToRGB(C,P.fb.v*x))}}for(V=0;V<M;V+=1)(P=c[V].a).p.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),this._hasMaskedPath?x.length?d.translate(0,P.p.v[1]*x[0],-P.p.v[2]*x[1]):d.translate(0,P.p.v[1]*x,-P.p.v[2]*x):x.length?d.translate(P.p.v[0]*x[0],P.p.v[1]*x[1],-P.p.v[2]*x[2]):d.translate(P.p.v[0]*x,P.p.v[1]*x,-P.p.v[2]*x));if(t.strokeWidthAnim&&(W=k<0?0:k),t.strokeColorAnim&&($="rgb("+Math.round(255*A[0])+","+Math.round(255*A[1])+","+Math.round(255*A[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*C[0])+","+Math.round(255*C[1])+","+Math.round(255*C[2])+")"),this._hasMaskedPath)d.translate(0,-t.ls),d.translate(0,f[1]*K*.01+U,0),this._pathData.p.v&&(J=(i.point[1]-a.point[1])/(i.point[0]-a.point[0]),J=180*Math.atan(J)/Math.PI,i.point[0]<a.point[0]&&(J+=180),d.rotate(-J*Math.PI/180)),d.translate(H,q,0),e-=f[0]*m[_].an*.005,m[_+1]&&D!==m[_+1].ind&&(e=(e+=m[_].an/2)+.001*t.tr*t.finalSize);else{switch(d.translate(w,U,0),t.ps&&d.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line]),0,0);break;case 2:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line])/2,0,0)}d.translate(0,-t.ls),d.translate(S,0,0),d.translate(f[0]*m[_].an*.005,f[1]*K*.01,0),w+=m[_].l+.001*t.tr*t.finalSize}"html"===N?st=d.toCSS():"svg"===N?st=d.to2dCSS():rt=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Y=E}G<=_?(j=new LetterProps(Y,W,$,X,st,rt),this.renderedLetters.push(j),G+=1,this.lettersChangedFlag=!0):(j=this.renderedLetters[_],this.lettersChangedFlag=j.update(Y,W,$,X,st,rt)||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,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),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){for(var i,s=e.length,r="",n=0;n<s;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,r+=buildShapeString(i,i.i.length,!0,t));return r},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,i,s,r){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(s,r,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,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function ISolidElement(t,e,i){this.initElement(t,e,i)}function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),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 t="",i=(e&&e.title&&(i=createNS("title"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),t+=s),e&&e.description&&(i=createNS("desc"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.description,this.svgElement.appendChild(i),t+=" "+s),t&&this.svgElement.setAttribute("aria-labelledby",t),createNS("defs")),s=(this.svgElement.appendChild(i),createNS("g"));this.svgElement.appendChild(s),this.layerElement=s,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:i,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,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},SVGTextLottieElement.prototype.buildShapeData=function(t,e){var i;return t.shapes&&t.shapes.length&&(i=t.shapes[0]).it&&(i=i.it[i.it.length-1]).s&&(i.s.k[0]=e,i.s.k[1]=e),t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData,s=(this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize),this.globalData.fontManager.getFontByName(i.f)),r=(s.fClass?this.layerElement.setAttribute("class",s.fClass):(this.layerElement.setAttribute("font-family",s.fFamily),t=i.fWeight,e=i.fStyle,this.layerElement.setAttribute("font-style",e),this.layerElement.setAttribute("font-weight",t)),this.layerElement.setAttribute("aria-label",i.t),i.l||[]),n=!!this.globalData.fontManager.chars;_=r.length;var a=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*i.tr*i.finalSize;if(!o||n||i.sz){var c,u,d,m,y=this.textSpans.length;for(P=0;P<_;P+=1)this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),n&&o&&0!==P||(c=P<y?this.textSpans[P].span:createNS(n?"g":"text"),y<=P&&(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=c,n&&(m=createNS("g"),c.appendChild(m),this.textSpans[P].childSpan=m),this.textSpans[P].span=c,this.layerElement.appendChild(c)),c.style.display="inherit"),a.reset(),o&&(r[P].n&&(h=-f,l=l+i.yOffset+(p?1:0),p=!1),this.applyTextPropertiesToMatrix(i,a,r[P].line,h,l),h=h+(r[P].l||0)+f),n?(u=1===(m=this.globalData.fontManager.getCharData(i.finalText[P],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t?new SVGCompElement(m.data,this.globalData,this):(u=emptyShapeData,new SVGShapeElement(u=m.data&&m.data.shapes?this.buildShapeData(m.data,i.finalSize):u,this.globalData,this)),this.textSpans[P].glyph&&(d=this.textSpans[P].glyph,this.textSpans[P].childSpan.removeChild(d.layerElement),d.destroy()),(this.textSpans[P].glyph=u)._debug=!0,u.prepareFrame(0),u.renderFrame(),this.textSpans[P].childSpan.appendChild(u.layerElement),1===m.t&&this.textSpans[P].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")):(o&&c.setAttribute("transform","translate("+a.props[12]+","+a.props[13]+")"),c.textContent=r[P].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));o&&c&&c.setAttribute("d","")}else{var g=this.textContainer,v="start";switch(i.j){case 1:v="end";break;case 2:v="middle";break;default:v="start"}g.setAttribute("text-anchor",v),g.setAttribute("letter-spacing",f);for(var b=this.buildTextContents(i.finalText),_=b.length,l=i.ps?i.ps[1]+i.ascent:0,P=0;P<_;P+=1)(c=this.textSpans[P].span||createNS("tspan")).textContent=b[P],c.setAttribute("x",0),c.setAttribute("y",l),c.style.display="inherit",g.appendChild(c),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=c,l+=i.finalLineHeight;this.layerElement.appendChild(g)}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){var t;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged&&(this._sizeChanged=!1,t=this.layerElement.getBBox(),this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}),this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;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)){this._sizeChanged=!0;for(var t,e,i,s=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l,n=r.length,a=0;a<n;a+=1)r[a].n||(t=s[a],e=this.textSpans[a].span,(i=this.textSpans[a].glyph)&&i.renderFrame(),t._mdf.m&&e.setAttribute("transform",t.m),t._mdf.o&&e.setAttribute("opacity",t.o),t._mdf.sw&&e.setAttribute("stroke-width",t.sw),t._mdf.sc&&e.setAttribute("stroke",t.sc),t._mdf.fc&&e.setAttribute("fill",t.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,i=(this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t,createNS("clipPath")),s=createNS("rect"),r=(s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0),createElementID());i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){for(var e=0,i=this.layers.length,e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e,i,s=this.elements;s[t]||99===this.layers[t].ty||(s[t]=!0,e=this.createItem(this.layers[t]),s[t]=e,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&-1!==(i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1)&&(this.elements[i]&&!0!==this.elements[i]?(s=s[i].getMatte(this.layers[t].tt),e.setMatte(s)):(this.buildItem(i),this.addPendingElement(e))))},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[s].getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){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 e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)}},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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){this.tm._placeholder?this.renderedFrame=t/this.data.sr:((t=this.tm.v)===this.data.op&&(t=this.data.op-1),this.renderedFrame=t);var e,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=t-1;0<=e;--e)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf)&&(this._mdf=!0)}},ICompElement.prototype.renderInnerContent=function(){for(var t=this.layers.length,e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].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){for(var e=t.length,i="_",s=0;s<e;s+=1)i+=t[s].transform.key+"_";var r=this.sequences[i];return r||(r={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=r,this.sequenceList.push(r)),r},processSequence:function(t,e){for(var i=0,s=t.transforms.length,r=e;i<s&&!e;){if(t.transforms[i].transform.mProps._mdf){r=!0;break}i+=1}if(r)for(t.finalTransform.reset(),i=s-1;0<=i;--i)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=r},processSequences:function(t){for(var e=this.sequenceList.length,i=0;i<e;i+=1)this.processSequence(this.sequenceList[i],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var s="__lottie_element_luma_buffer",r=null,n=null,a=null;function e(){var t,e,i;r||(t=createNS("svg"),e=createNS("filter"),i=createNS("feColorMatrix"),e.setAttribute("id",s),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"),e.appendChild(i),t.appendChild(e),t.setAttribute("id",s+"_svg"),featureSupport.svgLumaHidden&&(t.style.display="none"),a=t,document.body.appendChild(a),r=createTag("canvas"),(n=r.getContext("2d")).filter="url(#"+s+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:e,get:function(t){return r||e(),r.width=t.width,r.height=t.height,n.filter="url(#"+s+")",r}}};function createCanvas(t,e){var i;return featureSupport.offscreenCanvas?new OffscreenCanvas(t,e):((i=createTag("canvas")).width=t,i.height=e,i)}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas},registeredEffects={};function CVEffects(t){var e,i=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<i;e+=1){s=null;var s,r=t.data.ef[e].ty;(s=registeredEffects[r]?new registeredEffects[r].effect(t.effectsManager.effectElements[e],t):s)&&this.filters.push(s)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);for(var i=this.masksProperties.length,s=!1,r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);(this.hasMasks=s)&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},CVEffects.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,i,s,r=this.element.finalTransform.mat,n=this.element.canvasContext,a=this.masksProperties.length;for(n.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(n.moveTo(0,0),n.lineTo(this.element.globalData.compSize.w,0),n.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),n.lineTo(0,this.element.globalData.compSize.h),n.lineTo(0,0)),s=this.viewData[t].v,e=r.applyToPointArray(s.v[0][0],s.v[0][1],0),n.moveTo(e[0],e[1]);for(var o=s._length,h=1;h<o;h+=1)i=r.applyToTriplePoints(s.o[h-1],s.i[h],s.v[h]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=r.applyToTriplePoints(s.o[h-1],s.i[0],s.v[0]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),n.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,i,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,r,t);for(var n,a=i.length,o=0;o<a;o+=1)i[o].closed||(n={transforms:s.addTransformSequence(i[o].transforms),trNodes:[]},this.styledShapes.push(n),i[o].elements.push(n))}function CVShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,i)}function CVTextElement(t,e,i){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,i)}function CVImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}function CVSolidElement(t,e,i){this.initElement(t,e,i)}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(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;for(var 
vendor: 3,049 bytes, line 1
1t=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,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,i),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,i){this.initElement(t,e,i)}function HShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}function HCameraElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initHierarchy();
vendor: 73,222 bytes, line 1
1e=PropertyFactory.getProp;if(this.pe=e(this,t.pe,0,0,this),t.ks.p.s?(this.px=e(this,t.ks.p.x,1,0,this),this.py=e(this,t.ks.p.y,1,0,this),this.pz=e(this,t.ks.p.z,1,0,this)):this.p=e(this,t.ks.p,1,0,this),t.ks.a&&(this.a=e(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to)for(var s=t.ks.or.k.length,r=0;r<s;r+=1)t.ks.or.k[r].to=null,t.ks.or.k[r].ti=null;this.or=e(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=e(this,t.ks.rx,0,degToRads,this),this.ry=e(this,t.ks.ry,0,degToRads,this),this.rz=e(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,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}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,i){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,i),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(){var t,e;1<=this.data.tt&&(this.buffers=[],t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height),this.buffers.push(e),e=assetLoader.createCanvas(t.canvas.width,t.canvas.height),this.buffers.push(e),3<=this.data.tt)&&!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,e=this.globalData;e.blendMode!==this.data.bm&&(e.blendMode=this.data.bm,t=getBlendMode(this.data.bm),e.canvasContext.globalCompositeOperation=t)},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(){var t;1<=this.data.tt&&(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(){var t,e;1<=this.data.tt&&(e=(t=this.buffers[1]).getContext("2d"),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),3<=this.data.tt&&!document._isProxy&&((e=assetLoader.getLumaCanvas(this.canvasContext.canvas)).getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(e,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){this.hidden||this.data.hd||1===this.data.td&&!t||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode(),t=0===this.data.ty,this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),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 i,e={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},s={};return"fl"===t.ty||"st"===t.ty?(s.c=PropertyFactory.getProp(this,t.c,1,255,this),s.c.k||(e.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(s.s=PropertyFactory.getProp(this,t.s,1,null,this),s.e=PropertyFactory.getProp(this,t.e,1,null,this),s.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),s.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),s.g=new GradientProperty(this,t.g,this)),s.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty?(e.lc=lineCapEnum[t.lc||2],e.lj=lineJoinEnum[t.lj||2],1==t.lj&&(e.ml=t.ml),s.w=PropertyFactory.getProp(this,t.w,0,null,this),s.w.k||(e.wi=s.w.v),t.d&&(i=new DashProperty(this,t.d,"canvas",this),s.d=i,s.d.k||(e.da=s.d.dashArray,e.do=s.d.dashoffset[0]))):e.r=2===t.r?"evenodd":"nonzero",this.stylesList.push(e),s.style=e,s},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){t=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){for(var e=this.stylesList.length,i=0;i<e;i+=1)this.stylesList[i].closed||this.stylesList[i].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,s,r){for(var n,a,o,h,l,p=t.length-1,f=[],c=[],u=[].concat(r),d=p;0<=d;--d){if((o=this.searchProcessedElement(t[d]))?e[d]=i[o-1]:t[d]._shouldRender=s,"fl"===t[d].ty||"st"===t[d].ty||"gf"===t[d].ty||"gs"===t[d].ty)o?e[d].style.closed=!1:e[d]=this.createStyleElement(t[d],u),f.push(e[d].style);else if("gr"===t[d].ty){if(o)for(a=e[d].it.length,n=0;n<a;n+=1)e[d].prevViewData[n]=e[d].it[n];else e[d]=this.createGroupElement(t[d]);this.searchShapes(t[d].it,e[d].it,e[d].prevViewData,s,u)}else"tr"===t[d].ty?(o||(l=this.createTransformElement(t[d]),e[d]=l),u.push(e[d]),this.addTransformToStyleList(e[d])):"sh"===t[d].ty||"rc"===t[d].ty||"el"===t[d].ty||"sr"===t[d].ty?o||(e[d]=this.createShapeElement(t[d])):"tm"===t[d].ty||"rd"===t[d].ty||"pb"===t[d].ty||"zz"===t[d].ty||"op"===t[d].ty?(o?(h=e[d]).closed=!1:((h=ShapeModifiers.getModifier(t[d].ty)).init(this,t[d]),e[d]=h,this.shapeModifiers.push(h)),c.push(h)):"rp"===t[d].ty&&(o?(h=e[d]).closed=!0:(h=ShapeModifiers.getModifier(t[d].ty),(e[d]=h).init(this,t,d,e),this.shapeModifiers.push(h),s=!1),c.push(h));this.addProcessedElement(t[d],d+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),p=c.length,d=0;d<p;d+=1)c[d].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(){for(var t,e,i,s,r,n,a,o,h=this.stylesList.length,l=this.globalData.renderer,p=this.globalData.canvasContext,f=0;f<h;f+=1)if(("st"!==(a=(o=this.stylesList[f]).type)&&"gs"!==a||0!==o.wi)&&o.data._shouldRender&&0!==o.coOp&&0!==this.globalData.currentGlobalAlpha){for(l.save(),r=o.elements,"st"===a||"gs"===a?(l.ctxStrokeStyle("st"===a?o.co:o.grd),l.ctxLineWidth(o.wi),l.ctxLineCap(o.lc),l.ctxLineJoin(o.lj),l.ctxMiterLimit(o.ml||0)):l.ctxFillStyle("fl"===a?o.co:o.grd),l.ctxOpacity(o.coOp),"st"!==a&&"gs"!==a&&p.beginPath(),l.ctxTransform(o.preTransforms.finalTransform.props),e=r.length,t=0;t<e;t+=1){for("st"!==a&&"gs"!==a||(p.beginPath(),!o.da)||(p.setLineDash(o.da),p.lineDashOffset=o.do),s=(n=r[t].trNodes).length,i=0;i<s;i+=1)"m"===n[i].t?p.moveTo(n[i].p[0],n[i].p[1]):"c"===n[i].t?p.bezierCurveTo(n[i].pts[0],n[i].pts[1],n[i].pts[2],n[i].pts[3],n[i].pts[4],n[i].pts[5]):p.closePath();"st"!==a&&"gs"!==a||(l.ctxStroke(),!o.da)||p.setLineDash(this.dashResetter)}"st"!==a&&"gs"!==a&&this.globalData.renderer.ctxFill(o.r),l.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,s){for(var r=t,n=e.length-1;0<=n;--n)"tr"===e[n].ty?(r=i[n].transform,this.renderShapeTransform(t,r)):"sh"===e[n].ty||"el"===e[n].ty||"rc"===e[n].ty||"sr"===e[n].ty?this.renderPath(e[n],i[n]):"fl"===e[n].ty?this.renderFill(e[n],i[n],r):"st"===e[n].ty?this.renderStroke(e[n],i[n],r):"gf"===e[n].ty||"gs"===e[n].ty?this.renderGradientFill(e[n],i[n],r):"gr"===e[n].ty?this.renderShape(r,e[n].it,i[n].it):e[n].ty;s&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){for(var i,s,r=t.trNodes,n=e.paths,a=n._length,o=(r.length=0,t.transforms.finalTransform),h=0;h<a;h+=1){var l=n.shapes[h];if(l&&l.v){for(s=l._length,i=1;i<s;i+=1)1===i&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),r.push({t:"c",pts:o.applyToTriplePoints(l.o[i-1],l.i[i],l.v[i])});1===s&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&s&&(r.push({t:"c",pts:o.applyToTriplePoints(l.o[i-1],l.i[0],l.v[0])}),r.push({t:"z"}))}}t.trNodes=r}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender)for(var i=e.styledShapes.length,s=0;s<i;s+=1)this.renderStyledShape(e.styledShapes[s],e.sh)},CVShapeElement.prototype.renderFill=function(t,e,i){var s=e.style;(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,i){var s=e.style;if(!s.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var r,n,a,o,h=this.globalData.canvasContext,l=e.s.v,p=e.e.v;o=1===t.t?h.createLinearGradient(l[0],l[1],p[0],p[1]):(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),p=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(n=e.h.v)?n=.99:n<=-1&&(n=-.99),n=r*n,a=Math.cos(p+e.a.v)*n+l[0],p=Math.sin(p+e.a.v)*n+l[1],h.createRadialGradient(a,p,0,l[0],l[1],r));for(var f=t.g.p,c=e.g.c,u=1,d=0;d<f;d+=1)e.g._hasOpacity&&e.g._collapsable&&(u=e.g.o[2*d+1]),o.addColorStop(c[4*d]/100,"rgba("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+","+u+")");s.grd=o}s.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||this._isFirstFrame)&&(s.da=r.dashArray,s.do=r.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(s.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(){for(var t,e,i,s,r,n,a,o=this.textProperty.currentData,h=(this.renderedLetters=createSizedArray(o.l?o.l.length:0),!1),h=(o.fc?(h=!0,this.values.fill=this.buildColor(o.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=h,!1),l=(o.sc&&(h=!0,this.values.stroke=this.buildColor(o.sc),this.values.sWidth=o.sw),this.globalData.fontManager.getFontByName(o.f)),p=o.l,f=this.mHelper,c=(this.stroke=h,this.values.fValue=o.finalSize+"px "+this.globalData.fontManager.getFontByName(o.f).fFamily,o.finalText.length),u=this.data.singleShape,d=.001*o.tr*o.finalSize,m=0,y=0,g=!0,v=0,b=0;b<c;b+=1){t=(t=this.globalData.fontManager.getCharData(o.finalText[b],l.fStyle,this.globalData.fontManager.getFontByName(o.f).fFamily))&&t.data||{},f.reset(),u&&p[b].n&&(m=-d,y=y+o.yOffset+(g?1:0),g=!1),r=(s=t.shapes?t.shapes[0].it:[]).length,f.scale(o.finalSize/100,o.finalSize/100),u&&this.applyTextPropertiesToMatrix(o,f,p[b].line,m,y);for(var _=createSizedArray(r-1),P=0,x=0;x<r;x+=1)if("sh"===s[x].ty){for(i=s[x].ks.k.i.length,n=s[x].ks.k,a=[],e=1;e<i;e+=1)1===e&&a.push(f.applyToX(n.v[0][0],n.v[0][1],0),f.applyToY(n.v[0][0],n.v[0][1],0)),a.push(f.applyToX(n.o[e-1][0],n.o[e-1][1],0),f.applyToY(n.o[e-1][0],n.o[e-1][1],0),f.applyToX(n.i[e][0],n.i[e][1],0),f.applyToY(n.i[e][0],n.i[e][1],0),f.applyToX(n.v[e][0],n.v[e][1],0),f.applyToY(n.v[e][0],n.v[e][1],0));a.push(f.applyToX(n.o[e-1][0],n.o[e-1][1],0),f.applyToY(n.o[e-1][0],n.o[e-1][1],0),f.applyToX(n.i[0][0],n.i[0][1],0),f.applyToY(n.i[0][0],n.i[0][1],0),f.applyToX(n.v[0][0],n.v[0][1],0),f.applyToY(n.v[0][0],n.v[0][1],0)),_[P]=a,P+=1}u&&(m=m+p[b].l+d),this.textSpans[v]?this.textSpans[v].elem=_:this.textSpans[v]={elem:_},v+=1}},CVTextElement.prototype.renderInnerContent=function(){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);for(var t,e,i,s,r,n,a,o=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l,l=h.length,p=null,f=null,c=null,u=this.globalData.renderer,d=0;d<l;d+=1)if(!h[d].n){if((r=o[d])&&(u.save(),u.ctxTransform(r.p),u.ctxOpacity(r.o)),this.fill){for(r&&r.fc?p!==r.fc&&(u.ctxFillStyle(r.fc),p=r.fc):p!==this.values.fill&&(p=this.values.fill,u.ctxFillStyle(this.values.fill)),e=(n=this.textSpans[d].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<e;t+=1)for(s=(a=n[t]).length,this.globalData.canvasContext.moveTo(a[0],a[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(a[i],a[i+1],a[i+2],a[i+3],a[i+4],a[i+5]);this.globalData.canvasContext.closePath(),u.ctxFill()}if(this.stroke){for(r&&r.sw?c!==r.sw&&(c=r.sw,u.ctxLineWidth(r.sw)):c!==this.values.sWidth&&(c=this.values.sWidth,u.ctxLineWidth(this.values.sWidth)),r&&r.sc?f!==r.sc&&(f=r.sc,u.ctxStrokeStyle(r.sc)):f!==this.values.stroke&&(f=this.values.stroke,u.ctxStrokeStyle(this.values.stroke)),e=(n=this.textSpans[d].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<e;t+=1)for(s=(a=n[t]).length,this.globalData.canvasContext.moveTo(a[0],a[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(a[i],a[i+1],a[i+2],a[i+3],a[i+4],a[i+5]);this.globalData.canvasContext.closePath(),u.ctxStroke()}r&&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(){var t,e,i,s,r,n,a,o,h;!this.img.width||this.assetData.w===this.img.width&&this.assetData.h===this.img.height||((t=createTag("canvas")).width=this.assetData.w,t.height=this.assetData.h,e=t.getContext("2d"),i=this.img.width,s=this.img.height,n=this.assetData.w/this.assetData.h,h=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio,n<(r=i/s)&&"xMidYMid slice"===h||r<n&&"xMidYMid slice"!==h?a=(o=s)*n:o=(a=i)/n,e.drawImage(this.img,(i-a)/2,(s-o)/2,a,o,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,i,s){this.canvasContext.fillRect(t,e,i,s)},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){var e,i;this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),(e=this.animationItem.container.style).width="100%",e.height="100%",e.transformOrigin=i="0px 0px 0px",e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,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)):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).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 i,s,r,n,a;this.reset(),t?(s=e,this.canvasContext.canvas.width=i=t,this.canvasContext.canvas.height=s):(s=this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")?(t=(e=this.renderConfig.preserveAspectRatio.split(" "))[1]||"meet",r=(e=e[0]||"xMidYMid").substr(0,4),e=e.substr(4),(n=i/s)<(a=this.transformCanvas.w/this.transformCanvas.h)&&"meet"===t||a<n&&"slice"===t?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===r&&(a<n&&"meet"===t||n<a&&"slice"===t)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===r&&(a<n&&"meet"===t||n<a&&"slice"===t)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===e&&(n<a&&"meet"===t||a<n&&"slice"===t)?(s-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===e&&(n<a&&"meet"===t||a<n&&"slice"===t)?(s-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:0):("none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0),this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");for(var t=(this.layers?this.layers.length:0)-1;0<=t;--t)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){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,e=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=e-1;0<=i;--i)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=e-1;0<=i;--i)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e,i=this.elements;i[t]||99===this.layers[t].ty||(e=this.createItem(this.layers[t],this,this.globalData),(i[t]=e).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(){for(var t=2*this._length,e=0,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;for(var e,i=this.stack[this.cArrPos],s=i.transform,r=this.cTr.props,n=0;n<16;n+=1)r[n]=s[n];t&&(this.nativeContext.restore(),e=this.stack[this.cArrPos+1],this.appliedFillStyle=e.fillStyle,this.appliedStrokeStyle=e.strokeStyle,this.appliedLineWidth=e.lineWidth,this.appliedLineCap=e.lineCap,this.appliedLineJoin=e.lineJoin,this.appliedMiterLimit=e.miterLimit),this.nativeContext.setTransform(s[0],s[1],s[4],s[5],s[12],s[13]),(t||-1!==i.opacity&&this.currentOpacity!==i.opacity)&&(this.nativeContext.globalAlpha=i.opacity,this.currentOpacity=i.opacity),this.currentFillStyle=i.fillStyle,this.currentStrokeStyle=i.strokeStyle,this.currentLineWidth=i.lineWidth,this.currentLineCap=i.lineCap,this.currentLineJoin=i.lineJoin,this.currentMiterLimit=i.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();for(var e=this.cTr.props,i=(this._length<=this.cArrPos&&this.duplicate(),this.stack[this.cArrPos]),s=0;s<16;s+=1)i.transform[s]=e[s];this.cArrPos+=1;t=this.stack[this.cArrPos];t.opacity=i.opacity,t.fillStyle=i.fillStyle,t.strokeStyle=i.strokeStyle,t.lineWidth=i.lineWidth,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.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);t=this.cTr,this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props),t=t.props;this.nativeContext.setTransform(t[0],t[1],t[4],t[5],t[12],t[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;this.stack[this.cArrPos].opacity!==(e*=t<0?0:t)&&(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,i,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,i,s)},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=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();for(var e=this.layers.length-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){for(var t=this.layers.length-1;0<=t;--t)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,e=this.transformedElement?this.transformedElement.style:{};this.finalTransform._matMdf&&(t=this.finalTransform.mat.toCSS(),e.transform=t,e.webkitTransform=t),this.finalTransform._opMdf&&(e.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,e;this.baseElement.style.fontSize=0,this.data.hasMask?(this.layerElement.appendChild(this.shapesContainer),t=this.svgElement):(t=createNS("svg"),e=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){for(var i=t.length,s=0;s<i;s+=1)e=t[s].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var i,s,r,n,a,o=t.sh.v,h=t.transformers,l=o._length;if(!(l<=1)){for(i=0;i<l-1;i+=1)s=this.getTransformedPoint(h,o.v[i]),r=this.getTransformedPoint(h,o.o[i]),n=this.getTransformedPoint(h,o.i[i+1]),a=this.getTransformedPoint(h,o.v[i+1]),this.checkBounds(s,r,n,a,e);o.c&&(s=this.getTransformedPoint(h,o.v[i]),r=this.getTransformedPoint(h,o.o[i]),n=this.getTransformedPoint(h,o.i[0]),a=this.getTransformedPoint(h,o.v[0]),this.checkBounds(s,r,n,a,e))}},HShapeElement.prototype.checkBounds=function(t,e,i,s,r){this.getBoundsOfCurve(t,e,i,s);t=this.shapeBoundingBox;r.x=bmMin(t.left,r.x),r.xMax=bmMax(t.right,r.xMax),r.y=bmMin(t.top,r.y),r.yMax=bmMax(t.bottom,r.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,i,s){for(var r,n,a,o,h=[[t[0],s[0]],[t[1],s[1]]],l=0;l<2;++l)n=6*t[l]-12*e[l]+6*i[l],r=-3*t[l]+9*e[l]-9*i[l]+3*s[l],o=3*e[l]-3*t[l],n|=0,o|=0,0==(r|=0)&&0==n||(0==r?0<(a=-o/n)&&a<1&&h[l].push(this.calculateF(a,t,e,i,s,l)):0<=(a=n*n-4*o*r)&&(0<(o=(-n+bmSqrt(a))/(2*r))&&o<1&&h[l].push(this.calculateF(o,t,e,i,s,l)),0<(o=(-n-bmSqrt(a))/(2*r)))&&o<1&&h[l].push(this.calculateF(o,t,e,i,s,l)));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,i,s,r,n){return bmPow(1-t,3)*e[n]+3*bmPow(1-t,2)*t*i[n]+3*(1-t)*bmPow(t,2)*s[n]+bmPow(t,3)*r[n]},HShapeElement.prototype.calculateBoundingBox=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]&&t[s].sh?this.calculateShapeBoundingBox(t[s],e):t[s]&&t[s].it?this.calculateBoundingBox(t[s].it,e):t[s]&&t[s].style&&t[s].w&&this.expandStrokeBoundingBox(t[s].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var i=0;if(t.keyframes){for(var s=0;s<t.keyframes.length;s+=1){var r=t.keyframes[s].s;i<r&&(i=r)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},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(){var t,e;this._renderShapeFrame(),this.hidden||!this._isFirstFrame&&!this._mdf||((e=this.tempBoundingBox).x=t=999999,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,!this.currentBoxContains(e)&&(t=!1,this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),t=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),t=!0),t||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y)&&(this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.shapeCont.style,e="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)",t.transform=e,t.webkitTransform=e))},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){var t;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),t=createNS("g"),this.maskedElement.appendChild(t),this.innerElem=t):(this.renderType="html",this.innerElem=this.layerElement),this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t,e=this.textProperty.currentData,i=(this.renderedLetters=createSizedArray(e.l?e.l.length:0),this.innerElem.style),s=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)",r=(i.fill=s,i.color=s,e.sc&&(i.stroke=this.buildColor(e.sc),i.strokeWidth=e.sw+"px"),this.globalData.fontManager.getFontByName(e.f));this.globalData.fontManager.chars||(i.fontSize=e.finalSize+"px",i.lineHeight=e.finalSize+"px",r.fClass?this.innerElem.className=r.fClass:(i.fontFamily=r.fFamily,s=e.fWeight,t=e.fStyle,i.fontStyle=t,i.fontWeight=s));for(var n,a,o,h,l,p,f=e.l,c=f.length,u=this.mHelper,d=0,m=0;m<c;m+=1)this.globalData.fontManager.chars?(this.textPaths[d]?n=this.textPaths[d]:((n=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),n.setAttribute("stroke-linejoin",lineJoinEnum[2]),n.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?o=(a=this.textSpans[d]).children[0]:((a=createTag("div")).style.lineHeight=0,(o=createNS("svg")).appendChild(n),styleDiv(a)))):this.isMasked?n=this.textPaths[d]||createNS("text"):this.textSpans[d]?(a=this.textSpans[d],n=this.textPaths[d]):(styleDiv(a=createTag("span")),styleDiv(n=createTag("span")),a.appendChild(n)),this.globalData.fontManager.chars?(l=(l=this.globalData.fontManager.getCharData(e.finalText[m],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))?l.data:null,u.reset(),l&&l.shapes&&l.shapes.length&&(h=l.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),h=this.createPathShape(u,h),n.setAttribute("d",h)),this.isMasked?this.innerElem.appendChild(n):(this.innerElem.appendChild(a),l&&l.shapes?(document.body.appendChild(o),h=o.getBBox(),o.setAttribute("width",h.width+2),o.setAttribute("height",h.height+2),o.setAttribute("viewBox",h.x-1+" "+(h.y-1)+" "+(h.width+2)+" "+(h.height+2)),l=o.style,p="translate("+(h.x-1)+"px,"+(h.y-1)+"px)",l.transform=p,l.webkitTransform=p,f[m].yOffset=h.y-1):(o.setAttribute("width",1),o.setAttribute("height",1)),a.appendChild(o))):(n.textContent=f[m].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(n):(this.innerElem.appendChild(a),l=n.style,p="translate3d(0,"+-e.finalSize/1.2+"px,0)",l.transform=p,l.webkitTransform=p)),this.isMasked?this.textSpans[d]=n:this.textSpans[d]=a,this.textSpans[d].style.display="block",this.textPaths[d]=n,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;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,r="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)",t.transform=r,t.webkitTransform=r)}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){for(var e,i,s,r,n=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l,h=o.length,l=0;l<h;l+=1)o[l].n?n+=1:(i=this.textSpans[l],s=this.textPaths[l],e=a[n],n+=1,e._mdf.m&&(this.isMasked?i.setAttribute("transform",e.m):(i.style.webkitTransform=e.m,i.style.transform=e.m)),i.style.opacity=e.o,e.sw&&e._mdf.sw&&s.setAttribute("stroke-width",e.sw),e.sc&&e._mdf.sc&&s.setAttribute("stroke",e.sc),e.fc&&e._mdf.fc&&(s.setAttribute("fill",e.fc),s.style.color=e.fc));this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)&&(r=this.innerElem.getBBox(),this.currentBBox.w!==r.width&&(this.currentBBox.w=r.width,this.svgElement.setAttribute("width",r.width)),this.currentBBox.h!==r.height&&(this.currentBBox.h=r.height,this.svgElement.setAttribute("height",r.height)),this.currentBBox.w===r.width+2&&this.currentBBox.h===r.height+2&&this.currentBBox.x===r.x-1&&this.currentBBox.y===r.y-1||(this.currentBBox.w=r.width+2,this.currentBBox.h=r.height+2,this.currentBBox.x=r.x-1,this.currentBBox.y=r.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style,r="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)",t.transform=r,t.webkitTransform=r))}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){for(var t,e,i,s,r,n=this.comp.threeDElements.length,a=0;a<n;a+=1)"3d"===(r=this.comp.threeDElements[a]).type&&(t=r.perspectiveElem.style,r=r.container.style,e=this.pe.v+"px",i="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",t.perspective=e,t.webkitPerspective=e,r.transformOrigin=i,r.mozTransformOrigin=i,r.webkitTransformOrigin=i,t.transform=s,t.webkitTransform=s)},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t=this._isFirstFrame;if(this.hierarchy)for(h=this.hierarchy.length,l=0;l<h;l+=1)t=this.hierarchy[l].finalTransform.mProp._mdf||t;if(t||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(l=h=this.hierarchy.length-1;0<=l;--l){var e=this.hierarchy[l].finalTransform.mProp;this.mat.translate(-e.p.v[0],-e.p.v[1],e.p.v[2]),this.mat.rotateX(-e.or.v[0]).rotateY(-e.or.v[1]).rotateZ(e.or.v[2]),this.mat.rotateX(-e.rx.v).rotateY(-e.ry.v).rotateZ(e.rz.v),this.mat.scale(1/e.s.v[0],1/e.s.v[1],1/e.s.v[2]),this.mat.translate(e.a.v[0],e.a.v[1],e.a.v[2])}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&&(s=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]],i=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),s=[s[0]/i,s[1]/i,s[2]/i],i=Math.sqrt(s[2]*s[2]+s[0]*s[0]),i=Math.atan2(s[1],i),s=Math.atan2(s[0],-s[2]),this.mat.rotateY(s).rotateX(-i)),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 i,s,r=!this._prevMat.equals(this.mat);if((r||this.pe._mdf)&&this.comp.threeDElements){for(var n,a,o,h=this.comp.threeDElements.length,l=0;l<h;l+=1)"3d"===(o=this.comp.threeDElements[l]).type&&(r&&(n=this.mat.toCSS(),(a=o.container.style).transform=n,a.webkitTransform=n),this.pe._mdf)&&((a=o.perspectiveElem.style).perspective=this.pe.v+"px",a.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){t=t.getBaseElement();if(t){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(t,e);else if(this.threeDElements)this.addTo3dContainer(t,e);else{for(var s,r,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n],s=(this.layers[n].ddd?this.getThreeDContainerByPos(n):r.getBaseElement())||s),n+=1;s?i.ddd&&this.supports3d||this.layerElement.insertBefore(t,s):i.ddd&&this.supports3d||this.layerElement.appendChild(t)}}},HybridRendererBase.prototype.createShape=function(t){return new(this.supports3d?HShapeElement:SVGShapeElement)(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return new(this.supports3d?HTextElement: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 new(this.supports3d?HImageElement:IImageElement)(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return new(this.supports3d?HSolidElement:ISolidElement)(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,i=this.threeDElements.length;e<i;){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 i,s=createTag("div"),r=(styleDiv(s),createTag("div")),n=(styleDiv(r),"3d"===e&&((n=s.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px",n.webkitTransformOrigin=i="50% 50%",n.mozTransformOrigin=i,n.transformOrigin=i,(n=r.style).transform=i="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",n.webkitTransform=i),s.appendChild(r),{container:r,perspectiveElem:s,startPos:t,endPos:t,type:e});return this.threeDElements.push(n),n},HybridRendererBase.prototype.build3dContainers=function(){for(var t,e=this.layers.length,i="",s=0;s<e;s+=1)this.layers[s].ddd&&3!==this.layers[s].ty?"3d"!==i&&(t=this.createThreeDContainer(s,i="3d")):"2d"!==i&&(t=this.createThreeDContainer(s,i="2d")),t.endPos=Math.max(t.endPos,s);for(s=(e=this.threeDElements.length)-1;0<=s;--s)this.resizerElem.appendChild(this.threeDElements[s].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var i=0,s=this.threeDElements.length;i<s;){if(e<=this.threeDElements[i].endPos){for(var r,n=this.threeDElements[i].startPos;n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.threeDElements[i].container.insertBefore(t,r):this.threeDElements[i].container.appendChild(t);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),i=this.animationItem.wrapper,s=e.style,i=(s.width=t.w+"px",s.height=t.h+"px",styleDiv(this.resizerElem=e),s.transformStyle="flat",s.mozTransformStyle="flat",s.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),s.overflow="hidden",createNS("svg")),e=(i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i),createNS("defs"));i.appendChild(e),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=e,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,i,s=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight,s=s/r<this.globalData.compSize.w/this.globalData.compSize.h?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,i=0,(r-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=r/this.globalData.compSize.h,e=r/this.globalData.compSize.h,i=(s-this.globalData.compSize.w*(r/this.globalData.compSize.h))/2,0),r=this.resizerElem.style;r.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+s+",0,1)",r.transform=r.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 for(var t=this.globalData.compSize.w,e=this.globalData.compSize.h,i=this.threeDElements.length,s=0;s<i;s+=1){var r=this.threeDElements[s].perspectiveElem.style;r.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",r.perspective=r.webkitPerspective}},HybridRendererBase.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=createTag("div"),r=0;r<i;r+=1)t[r].xt&&((e=this.createComp(t[r],s,this.globalData.comp,null)).initExpressions(),this.globalData.projectInterface.registerComposition(e))},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 i,s=0;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return new(this.supports3d?HCompElement:SVGCompElement)(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return new(this.supports3d?HCompElement:SVGCompElement)(t,this.globalData,this)};var CompExpressionInterface=function(s){function t(t){for(var e=0,i=s.layers.length;e<i;){if(s.layers[e].nm===t||s.layers[e].ind===t)return s.elements[e].layerInterface;e+=1}return null}return Object.defineProperty(t,"_name",{value:s.data.nm}),(t.layer=t).pixelAspect=1,t.height=s.data.h||s.globalData.compSize.h,t.width=s.data.w||s.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/s.globalData.frameRate,t.displayStartTime=0,t.numLayers=s.layers.length,t};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})(t)}function seedRandom(a,o){var h=this,l=256,p=6,f="random",c=o.pow(l,p),u=o.pow(2,52),d=2*u,m=l-1;function y(t){var e,i=t.length,a=this,s=0,r=a.i=a.j=0,n=a.S=[];for(i||(t=[i++]);s<l;)n[s]=s++;for(s=0;s<l;s++)n[s]=n[r=m&r+t[s%i]+(e=n[s])],n[r]=e;a.g=function(t){for(var e,i=0,s=a.i,r=a.j,n=a.S;t--;)e=n[s=m&s+1],i=i*l+n[m&(n[s]=n[r=m&r+e])+(n[r]=e)];return a.i=s,a.j=r,i}}function g(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function v(t,e){for(var i,s=t+"",r=0;r<s.length;)e[m&r]=m&(i^=19*e[m&r])+s.charCodeAt(r++);return b(e)}function b(t){return String.fromCharCode.apply(0,t)}o["seed"+f]=function(t,e,i){function s(){for(var t=n.g(p),e=c,i=0;t<u;)t=(t+i)*l,e*=l,i=n.g(1);for(;d<=t;)t/=2,e/=2,i>>>=1;return(t+i)/e}var r=[],t=v(function t(e,i){var s,r=[],n=_typeof$2(e);if(i&&"object"==n)for(s in e)try{r.push(t(e[s],i-1))}catch(t){}return r.length?r:"string"==n?e:e+"\0"}((e=!0===e?{entropy:!0}:e||{}).entropy?[t,b(a)]:null===t?function(){try{var e=new Uint8Array(l);return(h.crypto||h.msCrypto).getRandomValues(e),b(e)}catch(t){e=h.navigator,e=e&&e.plugins;return[+new Date,h,e,h.screen,b(a)]}}():t,3),r),n=new y(r);return s.int32=function(){return 0|n.g(4)},s.quick=function(){return n.g(4)/4294967296},s.double=s,v(b(n.S),a),(e.pass||i||function(t,e,i,s){return s&&(s.S&&g(s,n),t.state=function(){return g(n,{})}),i?(o[f]=t,e):t})(s,t,"global"in e?e.global:this==o,e.state)},v(o.random(),a)}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})(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function 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)){for(var i=t.length,s=[],r=0;r<i;r+=1)s[r]=-t[r];return s}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 i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e)||"string"===i||"string"===s)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]+e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e))return(t="string"===i?parseInt(t,10):t)-(e="string"===s?parseInt(e,10):e);if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]-e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}function mul(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]*e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t*e[s];return i}return 0}function div(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]/e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t/e[s];return i}return 0}function mod(t,e){return(t="string"==typeof t?parseInt(t,10):t)%(e="string"==typeof e?parseInt(e,10):e)}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){var s;return i<e&&(s=i,i=e,e=s),Math.min(Math.max(t,e),i)}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 Math.abs(t-(e=e||0));for(var i=Math.min(t.length,(e=e||helperLengthArray).length),s=0,r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i=t[0],s=t[1],r=t[2],n=Math.max(i,s,r),a=Math.min(i,s,r),o=(n+a)/2;if(n===a)l=e=0;else{var h=n-a,l=.5<o?h/(2-n-a):h/(n+a);switch(n){case i:e=(s-r)/h+(s<r?6:0);break;case s:e=(r-i)/h+2;break;case r:e=(i-s)/h+4}e/=6}return[e,l,o,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),1<i&&--i,i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,s,r=t[0],n=t[1],a=t[2];return 0===n?i=s=e=a:(e=hue2rgb(n=2*a-(a=a<.5?a*(1+n):a+n-a*n),a,r+1/3),i=hue2rgb(n,a,r),s=hue2rgb(n,a,r-1/3)),[e,i,s,t[3]]}function linear(t,e,i,s,r){var n;if(void 0!==s&&void 0!==r||(s=e,r=i,e=0,i=1),i<e&&(n=i,i=e,e=n),t<=e)return s;if(i<=t)return r;var a=i===e?0:(t-e)/(i-e);if(!s.length)return s+(r-s)*a;for(var o=s.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=s[l]+(r[l]-s[l])*a;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){for(var i=e.length,s=(t=t||createTypedArray("float32",i),createTypedArray("float32",i)),r=BMMath.random(),n=0;n<i;n+=1)s[n]=t[n]+r*(e[n]-t[n]);return s}return(t=void 0===t?0:t)+BMMath.random()*(e-t)}function createPath(t,e,i,s){for(var r,n,a=t.length,o=shapePool.newElement(),h=(o.setPathData(!!s,a),[0,0]),l=0;l<a;l+=1)r=e&&e[l]?e[l]:h,n=i&&i[l]?i[l]:h,o.setTripleAt(t[l][0],t[l][1],n[0]+t[l][0],n[1]+t[l][1],r[0]+t[l][0],r[1]+t[l][1],l,!0);return o}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,inPoint=(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,elem.data.ip/elem.comp.globalData.frameRate),outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw||0,height=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){for(var i=this.pv.length||1,s=createTypedArray("float32",i),r=Math.floor(5*time),n=0,a=0;n<r;){for(a=0;a<i;a+=1)s[a]+=-e+2*e*BMMath.random();n+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",i);if(1<i){for(a=0;a<i;a+=1)l[a]=this.pv[a]+s[a]+(-e+2*e*BMMath.random())*h;return l}return this.pv+s[0]+(-e+2*e*BMMath.random())*h}.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);function lookAt(t,e){e=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],t=Math.atan2(e[0],Math.sqrt(e[1]*e[1]+e[2]*e[2]))/degToRads;return[-Math.atan2(e[1],e[2])/degToRads,t,0]}function easeOut(t,e,i,s,r){return applyEase(easeOutBez,t,e,i,s,r)}function easeIn(t,e,i,s,r){return applyEase(easeInBez,t,e,i,s,r)}function ease(t,e,i,s,r){return applyEase(easeInOutBez,t,e,i,s,r)}function applyEase(t,e,i,s,r,n){void 0===r?(r=i,n=s):e=(e-i)/(s-i),1<e?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(r)){for(var o=r.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=(n[l]-r[l])*a+r[l];return h}return(n-r)*a+r}function nearestKey(t){var e,i,s,r=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(i=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)i=1,s=data.k[0].t;else{for(e=0;e<r-1;e+=1){if(t===data.k[e].t){i=e+1,s=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){s=(t-data.k[e].t>data.k[e+1].t-t?(i=e+2,data.k[e+1]):(i=e+1,data.k[e])).t;break}}-1===i&&(i=e+1,s=data.k[e].t)}else s=i=0;var n={};return n.index=i,n.time=s/elem.comp.globalData.frameRate,n}function key(t){if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);for(var e={time:data.k[--t].t/elem.comp.globalData.frameRate,value:[]},i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e,s=i.length,r=0;r<s;r+=1)e[r]=i[r],e.value[r]=i[r];return e}function framesToTime(t,e){return t/(e=e||elem.comp.globalData.frameRate)}function timeToFrames(t,e){return(t=t||0===t?t:time)*(e=e||elem.comp.globalData.frameRate)}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 time,velocity,value,text,textIndex,textTotal,selectorValue,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)&&(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,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};return t.initExpressions=function(t){var i=0,s=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){i+=1},t.renderer.globalData.popExpression=function(){if(0===--i){var t,e=s.length;for(t=0;t<e;t+=1)s[t].release();s.length=0}},t.renderer.globalData.registerExpressionProperty=function(t){-1===s.indexOf(t)&&s.push(t)}},t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}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}});return function(e){for(var i=createSizedArray(e.viewData.length),s=e.viewData.length,r=0;r<s;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<s;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var p={pv:0,v:0,mult:1},f={pv:[0,0,0],v:[0,0,0],mult:1};function c(s,r,n){Object.defineProperty(s,"velocity",{get:function(){return r.getVelocityAtTime(r.comp.currentFrame)}}),s.numKeys=r.keyframes?r.keyframes.length:0,s.key=function(t){var e,i;return s.numKeys?(e="",e="s"in r.keyframes[t-1]?r.keyframes[t-1].s:"e"in r.keyframes[t-2]?r.keyframes[t-2].e:r.keyframes[t-2].s,(i="unidimensional"===n?new Number(e):Object.assign({},e)).time=r.keyframes[t-1].t/r.elem.comp.globalData.frameRate,i.value="unidimensional"===n?e[0]:e,i):0},s.valueAtTime=r.getValueAtTime,s.speedAtTime=r.getSpeedAtTime,s.velocityAtTime=r.getVelocityAtTime,s.propertyGroup=r.propertyGroup}function u(){return p}return function(t){return t?"unidimensional"===t.propType?(o=1/(a=(a=t)&&"pv"in a?a:p).mult,h=a.pv*o,(l=new Number(h)).value=h,c(l,a,"unidimensional"),function(){return a.k&&a.getValue(),h=a.v*o,l.value!==h&&((l=new Number(h)).value=h,c(l,a,"unidimensional")),l}):(i=1/(e=(e=t)&&"pv"in e?e:f).mult,s=e.data&&e.data.l||e.pv.length,r=createTypedArray("float32",s),n=createTypedArray("float32",s),r.value=n,c(r,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<s;t+=1)n[t]=e.v[t]*i,r[t]=n[t];return r}):u;var e,i,s,r,n,a,o,h,l}}(),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 i,s,r,n;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?n=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),s=ExpressionPropertyInterface(t.py),t.pz&&(r=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?n():[i(),s(),r?r():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 r(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 n(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.applyPoint(e,t)}function a(t,e){e=this.getMatrix(e);return this.applyPoint(e,t)}function o(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.invertPoint(e,t)}function h(t,e){e=this.getMatrix(e);return this.invertPoint(e,t)}function l(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.applyToPointArray(e[0],e[1],e[2]||0)}function p(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}function f(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}function c(){return[1,1,1,1]}return function(e){function i(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return i.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return s;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return i.effect;case"ADBE Text Properties":return i.textInterface;default:return null}}i.getMatrix=r,i.invertPoint=p,i.applyPoint=l,i.toWorld=a,i.toWorldVec=n,i.fromWorld=h,i.fromWorldVec=o,i.toComp=a,i.fromComp=f,i.sampleImage=c,i.sourceRectAtTime=e.sourceRectAtTime.bind(e);
vendor: 5,692 bytes, line 1
1var s,t=getDescriptor(s=TransformExpressionInterface((i._elem=e).finalTransform.mProp),"anchorPoint");return Object.defineProperties(i,{hasParent:{get:function(){return e.hierarchy.length}},parent:{get:function(){return e.hierarchy[0].layerInterface}},rotation:getDescriptor(s,"rotation"),scale:getDescriptor(s,"scale"),position:getDescriptor(s,"position"),opacity:getDescriptor(s,"opacity"),anchorPoint:t,anchor_point:t,transform:{get:function(){return s}},active:{get:function(){return e.isInRange}}}),i.startTime=e.data.st,i.index=e.data.ind,i.source=e.data.refId,i.height=0===e.data.ty?e.data.h:100,i.width=0===e.data.ty?e.data.w:100,i.inPoint=e.data.ip/e.comp.globalData.frameRate,i.outPoint=e.data.op/e.comp.globalData.frameRate,i._name=e.data.nm,i.registerMaskInterface=function(t){i.mask=new MaskManagerInterface(t,e)},i.registerEffectsInterface=function(t){i.effect=t},i}}(),propertyGroupFactory=function(e,i){return function(t){return(t=void 0===t?1:t)<=0?e:i(t-1)}},PropertyInterface=function(t,e){var i={_name:t};return function(t){return(t=void 0===t?1:t)<=0?i:e(t-1)}},EffectsExpressionInterface=function(){function p(t,e,i,s){var r=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",s)),function(){return 10===e?i.comp.compInterface(t.p.v):r()}}return{createEffectsInterface:function(t,e){if(t.effectsManager){var i,s=[],r=t.data.ef,n=t.effectsManager.effectElements.length;for(i=0;i<n;i+=1)s.push(function t(r,e,i,s){function n(t){for(var e=r.ef,i=0,s=e.length;i<s;){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 a,o=propertyGroupFactory(n,i),h=[],l=r.ef.length;for(a=0;a<l;a+=1)5===r.ef[a].ty?h.push(t(r.ef[a],e.effectElements[a],e.effectElements[a].propertyGroup,s)):h.push(p(e.effectElements[a],r.ef[a].ty,s,o));return"ADBE Color Control"===r.mn&&Object.defineProperty(n,"color",{get:function(){return h[0]()}}),Object.defineProperties(n,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:o}}),n.enabled=0!==r.en,n.active=n.enabled,n}(r[i],t.effectsManager.effectElements[i],e,t));var a=t.data.ef||[],o=function(t){for(i=0,n=a.length;i<n;){if(t===a[i].nm||t===a[i].mn||t===a[i].ix)return s[i];i+=1}return null};return Object.defineProperty(o,"numProperties",{get:function(){return a.length}}),o}return null}}}(),ShapePathInterface=function(t,e,i){var s=e.sh;function r(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?r.path:null}e=propertyGroupFactory(r,i);return s.setGroupProperty(PropertyInterface("Path",e)),Object.defineProperties(r,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),r},ShapeExpressionInterface=function(){function a(t,e,i){for(var s=[],r=t?t.length:0,n=0;n<r;n+=1)"gr"===t[n].ty?s.push(function(t,e,i){function s(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}}s.propertyGroup=propertyGroupFactory(s,i);i=function(t,e,i){function s(t){for(var e=0,i=r.length;e<i;){if(r[e]._name===t||r[e].mn===t||r[e].propertyIndex===t||r[e].ix===t||r[e].ind===t)return r[e];e+=1}return"number"==typeof t?r[t-1]:null}s.propertyGroup=propertyGroupFactory(s,i),r=a(t.it,e.it,s.propertyGroup),s.numProperties=r.length;var r,i=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.transform=i,s.propertyIndex=t.cix,s._name=t.nm,s}(t,e,s.propertyGroup),e=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.content=i,s.transform=e,Object.defineProperty(s,"_name",{get:function(){return t.nm}}),s.numProperties=t.np,s.propertyIndex=t.ix,s.nm=t.nm,s.mn=t.mn,s}(t[n],e[n],i)):"fl"===t[n].ty?s.push(function(t,e,i){function s(t){return"Color"===t||"color"===t?s.color:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):"st"===t[n].ty?s.push(function(e,i,t){var t=propertyGroupFactory(o,t),s=propertyGroupFactory(void 0,t);var r,n=e.d?e.d.length:0,a={};for(r=0;r<n;r+=1)(function(t){Object.defineProperty(a,e.d[t].nm,{get:ExpressionPropertyInterface(i.d.dataProps[t].p)})})(r),i.d.dataProps[r].p.setGroupProperty(s);function o(t){return"Color"===t||"color"===t?o.color:"Opacity"===t||"opacity"===t?o.opacity:"Stroke Width"===t||"stroke width"===t?o.strokeWidth:null}return Object.defineProperties(o,{color:{get:ExpressionPropertyInterface(i.c)},opacity:{get:ExpressionPropertyInterface(i.o)},strokeWidth:{get:ExpressionPropertyInterface(i.w)},dash:{get:function(){return a}},_name:{value:e.nm},mn:{value:e.mn}}),i.c.setGroupProperty(PropertyInterface("Color",t)),i.o.setGroupProperty(PropertyInterface("Opacity",t)),i.w.setGroupProperty(PropertyInterface("Stroke Width",t)),o}(t[n],e[n],i)):"tm"===t[n].ty?s.push(function(e,t,i){function s(t){return t===e.e.ix||"End"===t||"end"===t?s.end:t===e.s.ix?s.start:t===e.o.ix?s.offset:null}var r=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",r)),t.e.setGroupProperty(PropertyInterface("End",r)),t.o.setGroupProperty(PropertyInterface("Offset",r)),s.propertyIndex=e.ix,s.propertyGroup=i,Object.defineProperties(s,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}
vendor: 57,148 bytes, line 1
1(t[n],e[n],i)):"tr"!==t[n].ty&&("el"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.s.ix===t?s.size:null}i=propertyGroupFactory(s,i),s.propertyIndex=e.ix,t="tm"===t.sh.ty?t.sh.prop:t.sh;return t.s.setGroupProperty(PropertyInterface("Size",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(s,{size:{get:ExpressionPropertyInterface(t.s)},position:{get:ExpressionPropertyInterface(t.p)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sr"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.rotation:e.pt.ix===t?s.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?s.outerRadius:e.os.ix===t?s.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?s.innerRoundness:null:s.innerRadius}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.or.setGroupProperty(PropertyInterface("Outer Radius",i)),t.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),t.pt.setGroupProperty(PropertyInterface("Points",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(t.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),t.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},rotation:{get:ExpressionPropertyInterface(t.r)},points:{get:ExpressionPropertyInterface(t.pt)},outerRadius:{get:ExpressionPropertyInterface(t.or)},outerRoundness:{get:ExpressionPropertyInterface(t.os)},innerRadius:{get:ExpressionPropertyInterface(t.ir)},innerRoundness:{get:ExpressionPropertyInterface(t.is)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sh"===t[n].ty?s.push(ShapePathInterface(t[n],e[n],i)):"rc"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?s.size:null}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.p.setGroupProperty(PropertyInterface("Position",i)),t.s.setGroupProperty(PropertyInterface("Size",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},roundness:{get:ExpressionPropertyInterface(t.r)},size:{get:ExpressionPropertyInterface(t.s)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rd"===t[n].ty?s.push(function(e,t,i){function s(t){return e.r.ix===t||"Round Corners 1"===t?s.radius:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(s,{radius:{get:ExpressionPropertyInterface(t.rd)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rp"===t[n].ty?s.push(function(e,t,i){function s(t){return e.c.ix===t||"Copies"===t?s.copies:e.o.ix===t||"Offset"===t?s.offset:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.c.setGroupProperty(PropertyInterface("Copies",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(s,{copies:{get:ExpressionPropertyInterface(t.c)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"gf"===t[n].ty?s.push(function(t,e,i){function s(t){return"Start Point"===t||"start point"===t?s.startPoint:"End Point"===t||"end point"===t?s.endPoint:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{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}}),e.s.setGroupProperty(PropertyInterface("Start Point",i)),e.e.setGroupProperty(PropertyInterface("End Point",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):s.push((t[n],e[n],function(){return null})));return s}function o(e,t,i){function s(t){return e.a.ix===t||"Anchor Point"===t?s.anchorPoint:e.o.ix===t||"Opacity"===t?s.opacity:e.p.ix===t||"Position"===t?s.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?s.rotation:e.s.ix===t||"Scale"===t?s.scale:e.sk&&e.sk.ix===t||"Skew"===t?s.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?s.skewAxis:null}var r=propertyGroupFactory(s,i);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(s,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),s.ty="tr",s.mn=e.mn,s.propertyGroup=i,s}return function(t,e,s){var r;function i(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?s:r[t-1];for(var e=0,i=r.length;e<i;){if(r[e]._name===t)return r[e];e+=1}return null}return i.propertyGroup=propertyGroupFactory(i,function(){return s}),r=a(t,e,i.propertyGroup),i.numProperties=r.length,i._name="Contents",i}}(),TextExpressionInterface=function(e){var i;function s(t){return"ADBE Text Document"!==t?null:s.sourceText}return Object.defineProperty(s,"sourceText",{get:function(){e.textProperty.getValue();var t=e.textProperty.currentData.t;return i&&t===i.value||((i=new String(t)).value=t||new String(t),Object.defineProperty(i,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),i}}),s};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})(t)}var FootageInterface=function(){var s=function(t){var i="",s=t.getFootageData();function r(t){var e;return s[t]?"object"===_typeof(s=s[i=t])?r:s:-1!==(e=t.indexOf(i))?(t=parseInt(t.substr(e+i.length),10),"object"===_typeof(s=s[t])?r:s):""}return function(){return i="",s=t.getFootageData(),r}};return function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=(t=t,i._name="Outline",i.outlineInterface=s(t),i),e;function i(t){return"Outline"===t?i.outlineInterface():null}}}(),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,i){e.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(t,e,i).bind(i)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.01),s=0;if(e.length){for(var r=0;r<e.length;r+=1)s+=Math.pow(i[r]-e[r],2);s=100*Math.sqrt(s)}else s=0;return s},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.001);if(e.length)for(var s=createTypedArray("float32",e.length),r=0;r<e.length;r+=1)s[r]=(i[r]-e[r])/-.001;else s=(i-e)/-.001;return s},getValueAtTime:function(t){return(t=(t*=this.elem.globalData.frameRate)-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 a(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(i?r=p-(s=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),s=p-(r=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-r)/s)%2!=0)return this.getValueAtTime((s-(h-r)%s+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(r/this.comp.globalData.frameRate,0),c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0),d=Math.floor((h-r)/s);if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=(c[n]-f[n])*d+u[n];return o}return(c-f)*d+u}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return m+(h-p)/.001*(m-y)}}return this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0)}function o(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(p<=h)return this.pv;if(i?r=p+(s=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):s=(r=l[e=!e||e>l.length-1?l.length-1:e].t)-p,"pingpong"===t){if(Math.floor((p-h)/s)%2==0)return this.getValueAtTime(((p-h)%s+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),u=this.getValueAtTime((s-(p-h)%s+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/s)+1;if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=u[n]-(c[n]-f[n])*d;return o}return u-(c-f)*d}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*(p-h)/.001;return o}return m+(m-y)*(p-h)/.001}}return this.getValueAtTime((s-((p-h)%s+p))/this.comp.globalData.frameRate,0)}function h(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;for(var i,s=this.comp.renderedFrame/this.comp.globalData.frameRate,r=s-t,n=1<e?(s+t-r)/(e-1):1,a=0,o=0,h=this.pv.length?createTypedArray("float32",this.pv.length):0;a<e;){if(i=this.getValueAtTime(r+a*n),this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]+=i[o];else h+=i;a+=1}if(this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]/=e;else h/=e;return h}var s=TransformPropertyFactory.getTransformProperty,l=(TransformPropertyFactory.getTransformProperty=function(t,e,i){t=s(t,e,i);return t.dynamicProperties.length?t.getValueAtTime=function(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e,i,s,r,n=this._transformCachingAtTime.v;return n.cloneFromProps(this.pre.props),this.appliedTransformations<1&&(i=this.a.getValueAtTime(t),n.translate(-i[0]*this.a.mult,-i[1]*this.a.mult,i[2]*this.a.mult)),this.appliedTransformations<2&&(i=this.s.getValueAtTime(t),n.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)),this.sk&&this.appliedTransformations<3&&(i=this.sk.getValueAtTime(t),e=this.sa.getValueAtTime(t),n.skewFromAxis(-i*this.sk.mult,e*this.sa.mult)),this.r&&this.appliedTransformations<4?(i=this.r.getValueAtTime(t),n.rotate(-i*this.r.mult)):!this.r&&this.appliedTransformations<4&&(e=this.rz.getValueAtTime(t),i=this.ry.getValueAtTime(t),s=this.rx.getValueAtTime(t),r=this.or.getValueAtTime(t),n.rotateZ(-e*this.rz.mult).rotateY(i*this.ry.mult).rotateX(s*this.rx.mult).rotateZ(-r[2]*this.or.mult).rotateY(r[1]*this.or.mult).rotateX(r[0]*this.or.mult)),this.data.p&&this.data.p.s?(e=this.px.getValueAtTime(t),i=this.py.getValueAtTime(t),this.data.p.z?(s=this.pz.getValueAtTime(t),n.translate(e*this.px.mult,i*this.py.mult,-s*this.pz.mult)):n.translate(e*this.px.mult,i*this.py.mult,0)):(r=this.p.getValueAtTime(t),n.translate(r[0]*this.p.mult,r[1]*this.p.mult,-r[2]*this.p.mult)),n}.bind(t):t.getValueAtTime=function(){return this.v.clone(new Matrix)}.bind(t),t.setGroupProperty=expressionHelpers.setGroupProperty,t},PropertyFactory.getProp);PropertyFactory.getProp=function(t,e,i,s,r){var s=l(t,e,i,s,r),n=(s.kf?s.getValueAtTime=expressionHelpers.getValueAtTime.bind(s):s.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s.loopOut=a,s.loopIn=o,s.smooth=h,s.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(s),s.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(s),s.numKeys=1===e.a?e.k.length:0,s.propertyIndex=e.ix,0);return 0!==i&&(n=createTypedArray("float32",(1===e.a?e.k[0].s:e.k).length)),s._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:n},expressionHelpers.searchExpressions(t,e,s),s.k&&r.addDynamicProperty(s),s};var t=ShapePropertyFactory.getConstructorFunction(),e=ShapePropertyFactory.getKeyframedConstructorFunction();function i(){}i.prototype={vertices:function(t,e){this.k&&this.getValue();for(var i=this.v,s=(i=void 0!==e?this.getValueAtTime(e,0):i)._length,r=i[t],n=i.v,a=createSizedArray(s),o=0;o<s;o+=1)a[o]="i"===t||"o"===t?[r[o][0]-n[o][0],r[o][1]-n[o][1]]:[r[o][0],r[o][1]];return a},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 i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));for(var e=this._segmentsLength,s=e.lengths,r=e.totalLength*t,n=0,a=s.length,o=0;n<a;){if(o+s[n].addedLength>r){var h=n,l=i.c&&n===a-1?0:n+1,p=(r-o)/s[n].addedLength,f=bez.getPointInSegment(i.v[h],i.v[l],i.o[h],i.i[l],p,s[n]);break}o+=s[n].addedLength,n+=1}return f=f||(i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]])},vectorOnPath:function(t,e,i){1==t?t=this.v.c:0==t&&(t=.999);var s=this.pointOnPath(t,e),t=this.pointOnPath(t+.001,e),e=t[0]-s[0],t=t[1]-s[1],s=Math.sqrt(Math.pow(e,2)+Math.pow(t,2));return 0===s?[0,0]:"tangent"===i?[e/s,t/s]:[-t/s,e/s]},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([i],t),extendPrototype([i],e),e.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),(t=(t*=this.elem.globalData.frameRate)-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},e.prototype.initiateExpression=ExpressionManager.initiateExpression;var n=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,i,s,r){s=n(t,e,i,s,r);return s.propertyIndex=e.ix,s.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,s):4===i&&expressionHelpers.searchExpressions(t,e.ks,s),s.k&&t.addDynamicProperty(s),s}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var i,e=this.calculateExpression(e);return t.t!==e?(this.copyData(i={},t),i.t=e.toString(),i.__complete=!1,i):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 i,s,r=createNS("feMerge");for(r.setAttribute("result",t),s=0;s<e.length;s+=1)(i=createNS("feMergeNode")).setAttribute("in",e[s]),r.appendChild(i),r.appendChild(i);return r}};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,i,s,r){this.filterManager=e;e=createNS("feColorMatrix"),e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","linearRGB"),e.setAttribute("values",linearFilterValue+" 1 0"),(this.linearFilter=e).setAttribute("result",s+"_tint_1"),t.appendChild(e),(e=createNS("feColorMatrix")).setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.setAttribute("result",s+"_tint_2"),t.appendChild(e),this.matrixFilter=e,e=this.createMergeNode(s,[r,s+"_tint_1",s+"_tint_2"]);t.appendChild(e)}function SVGFillFilter(t,e,i,s){this.filterManager=e;e=createNS("feColorMatrix");e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.setAttribute("result",s),t.appendChild(e),this.matrixFilter=e}function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}function SVGTritoneFilter(t,e,i,s){this.filterManager=e;e=createNS("feColorMatrix"),e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","linearRGB"),e.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(e),e=createNS("feComponentTransfer"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("result",s),this.matrixFilter=e,s=createNS("feFuncR"),s.setAttribute("type","table"),e.appendChild(s),this.feFuncR=s,s=createNS("feFuncG"),s.setAttribute("type","table"),e.appendChild(s),this.feFuncG=s,s=createNS("feFuncB");s.setAttribute("type","table"),e.appendChild(s),this.feFuncB=s,t.appendChild(e)}function SVGProLevelsFilter(t,e,i,s){this.filterManager=e;var e=this.filterManager.effectElements,r=createNS("feComponentTransfer");(e[10].p.k||0!==e[10].p.v||e[11].p.k||1!==e[11].p.v||e[12].p.k||1!==e[12].p.v||e[13].p.k||0!==e[13].p.v||e[14].p.k||1!==e[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",r)),(e[17].p.k||0!==e[17].p.v||e[18].p.k||1!==e[18].p.v||e[19].p.k||1!==e[19].p.v||e[20].p.k||0!==e[20].p.v||e[21].p.k||1!==e[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",r)),(e[24].p.k||0!==e[24].p.v||e[25].p.k||1!==e[25].p.v||e[26].p.k||1!==e[26].p.v||e[27].p.k||0!==e[27].p.v||e[28].p.k||1!==e[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",r)),(e[31].p.k||0!==e[31].p.v||e[32].p.k||1!==e[32].p.v||e[33].p.k||1!==e[33].p.v||e[34].p.k||0!==e[34].p.v||e[35].p.k||1!==e[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",r)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r)),(e[3].p.k||0!==e[3].p.v||e[4].p.k||1!==e[4].p.v||e[5].p.k||1!==e[5].p.v||e[6].p.k||0!==e[6].p.v||e[7].p.k||1!==e[7].p.v)&&((r=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("result",s),t.appendChild(r),this.feFuncRComposed=this.createFeFunc("feFuncR",r),this.feFuncGComposed=this.createFeFunc("feFuncG",r),this.feFuncBComposed=this.createFeFunc("feFuncB",r))}function SVGDropShadowEffect(t,e,i,s,r){var n=e.container.globalData.renderConfig.filterSize,a=e.data.fs||n,a=(t.setAttribute("x",a.x||n.x),t.setAttribute("y",a.y||n.y),t.setAttribute("width",a.width||n.width),t.setAttribute("height",a.height||n.height),this.filterManager=e,createNS("feGaussianBlur")),n=(a.setAttribute("in","SourceAlpha"),a.setAttribute("result",s+"_drop_shadow_1"),a.setAttribute("stdDeviation","0"),this.feGaussianBlur=a,t.appendChild(a),createNS("feOffset")),e=(n.setAttribute("dx","25"),n.setAttribute("dy","0"),n.setAttribute("in",s+"_drop_shadow_1"),n.setAttribute("result",s+"_drop_shadow_2"),this.feOffset=n,t.appendChild(n),createNS("feFlood")),a=(e.setAttribute("flood-color","#00ff00"),e.setAttribute("flood-opacity","1"),e.setAttribute("result",s+"_drop_shadow_3"),this.feFlood=e,t.appendChild(e),createNS("feComposite")),n=(a.setAttribute("in",s+"_drop_shadow_3"),a.setAttribute("in2",s+"_drop_shadow_2"),a.setAttribute("operator","in"),a.setAttribute("result",s+"_drop_shadow_4"),t.appendChild(a),this.createMergeNode(s,[s+"_drop_shadow_4",r]));t.appendChild(n)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[0].p.v,e=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",e[0]-t[0]+" 0 0 0 "+t[0]+" "+(e[1]-t[1])+" 0 0 0 "+t[1]+" "+(e[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0"))},SVGFillFilter.prototype.renderFrame=function(t){var e;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[2].p.v,e=this.filterManager.effectElements[6].p.v,this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+e+" 0"))},SVGStrokeEffect.prototype.initialize=function(){var t,e,i,s,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(s=this.elem.maskManager.masksProperties.length,i=0):s=(i=this.filterManager.effectElements[0].p.v-1)+1,(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);i<s;i+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:i});if(3===this.filterManager.effectElements[10].p.v){var n=createNS("mask"),a=createElementID(),o=(n.setAttribute("id",a),n.setAttribute("mask-type","alpha"),n.appendChild(e),this.elem.globalData.defs.appendChild(n),createNS("g"));for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");r[0];)o.appendChild(r[0]);this.elem.layerElement.appendChild(o),this.masker=n,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(r=this.elem.layerElement.children||this.elem.layerElement.childNodes;r.length;)this.elem.layerElement.removeChild(r[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){this.initialized||this.initialize();for(var e,i,s=this.paths.length,r=0;r<s;r+=1)if(-1!==this.paths[r].m&&(n=this.elem.maskManager.viewData[this.paths[r].m],e=this.paths[r].p,(t||this.filterManager._mdf||n.prop._mdf)&&e.setAttribute("d",n.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||n.prop._mdf)){if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){for(var n=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),a=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=e.getTotalLength(),h="0 0 0 "+o*n+" ",l=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,p=Math.floor(o*(a-n)/l),f=0;f<p;f+=1)h+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";h+="0 "+10*o+" 0 0"}else h="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;e.setAttribute("stroke-dasharray",h)}(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||(i=this.filterManager.effectElements[3].p.v,this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*i[0])+","+bmFloor(255*i[1])+","+bmFloor(255*i[2])+")"))},SVGTritoneFilter.prototype.renderFrame=function(t){var e,i,s,r;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[0].p.v,e=this.filterManager.effectElements[1].p.v,i=(r=this.filterManager.effectElements[2].p.v)[0]+" "+e[0]+" "+t[0],s=r[1]+" "+e[1]+" "+t[1],r=r[2]+" "+e[2]+" "+t[2],this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",r))},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){t=createNS(t);return t.setAttribute("type","table"),e.appendChild(t),t},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,s,r){for(var n,a=0,o=Math.min(t,e),h=Math.max(t,e),l=Array.call(null,{length:256}),p=0,f=r-s,c=e-t;a<=256;)n=(n=a/256)<=o?c<0?r:s:h<=n?c<0?s:r:s+f*Math.pow((n-t)/c,1/i),l[p]=n,p+=1,a+=256/255;return l.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&(i=this.filterManager.effectElements,this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA)&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&((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)&&(i=this.filterManager.effectElements[0].p.v,this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*i[0]),Math.round(255*i[1]),Math.round(255*i[2])))),(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)&&(i=this.filterManager.effectElements[3].p.v,t=(this.filterManager.effectElements[2].p.v-90)*degToRads,e=i*Math.cos(t),i=i*Math.sin(t),this.feOffset.setAttribute("dx",e),this.feOffset.setAttribute("dy",i))};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,(this.elem=i).matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGGaussianBlurEffect(t,e,i,s){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;e=createNS("feGaussianBlur");e.setAttribute("result",s),t.appendChild(e),this.feGaussianBlur=e}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,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var s,r=i.children,n=0,a=r.length;n<a&&r[n]!==t.layerElement;)n+=1;n<=a-2&&(s=r[n+1]);var o=createNS("use");o.setAttribute("href","#"+e),s?i.insertBefore(o,s):i.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){var i,s,r,n;this.findSymbol(e)||(i=createElementID(),(s=createNS("mask")).setAttribute("id",e.layerId),s.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e),(n=t.globalData.defs).appendChild(s),(r=createNS("symbol")).setAttribute("id",i),this.replaceInParent(e,i),r.appendChild(e.layerElement),n.appendChild(r),(n=createNS("use")).setAttribute("href","#"+i),s.appendChild(n),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,i=0,s=e.length;i<s;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){var e;(t||this.filterManager._mdf)&&(t=.3*this.filterManager.effectElements[0].p.v,e=this.filterManager.effectElements[1].p.v,this.feGaussianBlur.setAttribute("stdDeviation",(3==e?0:t)+" "+(2==e?0:t)),e=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate",this.feGaussianBlur.setAttribute("edgeMode",e))},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){var e,i,s,r,n,a,o;this._opMdf=!1,this._mdf=!1,(t||this.effectsManager._mdf)&&(e=(t=this.effectsManager.effectElements)[0].p.v,i=t[1].p.v,r=1===t[2].p.v,s=t[3].p.v,r=r?s:t[4].p.v,n=t[5].p.v,a=t[6].p.v,o=t[7].p.v,this.matrix.reset(),this.matrix.translate(-e[0],-e[1],e[2]),this.matrix.scale(.01*r,.01*s,1),this.matrix.rotate(-o*degToRads),this.matrix.skewFromAxis(-n*degToRads,(a+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==t[8].p.v)&&(this.opacity=t[8].p.v,this._opMdf=!0)},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}),{loadAnimation:loadAnimation}}();onmessage=function(t){var t=t.data,e=t.type,i=t.payload;"load"===e?lottieInternal.loadAnimation(i):"pause"===e?animations[i.id]&&animations[i.id].animation.pause():"play"===e?animations[i.id]&&animations[i.id].animation.play():"stop"===e?animations[i.id]&&animations[i.id].animation.stop():"setSpeed"===e?animations[i.id]&&animations[i.id].animation.setSpeed(i.value):"setDirection"===e?animations[i.id]&&animations[i.id].animation.setDirection(i.value):"setLoop"===e?animations[i.id]&&animations[i.id].animation.setLoop(i.value):"goToAndPlay"===e?animations[i.id]&&animations[i.id].animation.goToAndPlay(i.value,i.isFrame):"goToAndStop"===e?animations[i.id]&&animations[i.id].animation.goToAndStop(i.value,i.isFrame):"setSubframe"===e?animations[i.id]&&animations[i.id].animation.setSubframe(i.value):"addEventListener"===e?animations[i.id]&&(animations[i.id].events[i.callbackId]={callback:t=function(){self.postMessage({type:"event",payload:{id:i.id,callbackId:i.callbackId,argument:arguments[0]}})}},animations[i.id].animation.addEventListener(i.eventName,t)):"removeEventListener"===e?animations[i.id]&&(t=animations[i.id].events[i.callbackId],animations[i.id].animation.removeEventListener(i.eventName,t)):"destroy"===e?animations[i.id]&&(animations[i.id].animation.destroy(),animations[i.id]=null):"resize"===e?animations[i.id]&&animations[i.id].animation.resize(i.width,i.height):"playSegments"===e?animations[i.id]&&animations[i.id].animation.playSegments(i.arr,i.forceFlag):"updateDocumentData"===e&&animations[i.id].animation.updateDocumentData(i.path,i.documentData,i.index)}}function createWorker(t){t=new Blob(["("+t.toString()+"())"],{type:"text/javascript"}),t=URL.createObjectURL(t);return new Worker(t)}var lottie=function(){var h=createWorker(workerContent),i=0,r=0,P={},n={rendererSettings:{}};function x(t,e,i,s){var r,n,a="div"===t.type?document.createElement("div"):document.createElementNS(t.namespace,t.type);for(r in t.textContent&&(a.textContent=t.textContent),t.attributes)Object.prototype.hasOwnProperty.call(t.attributes,r)&&("href"===r?a.setAttributeNS("http://www.w3.org/1999/xlink",r,t.attributes[r]):a.setAttribute(r,t.attributes[r]),"id"===r)&&(i[t.attributes[r]]=a);for(n in t.style)Object.prototype.hasOwnProperty.call(t.style,n)&&(a.style[n]=t.style[n]);t.children.forEach(function(t){x(t,a,i)}),s?e.insertBefore(a,s):e.appendChild(a)}var e={DOMLoaded:function(t){var e=P[t.id];e._loaded=!0,e.pendingCallbacks.forEach(function(t){e.animInstance.addEventListener(t.eventName,t.callback),"DOMLoaded"===t.eventName&&t.callback()}),e.animInstance.totalFrames=t.totalFrames,e.animInstance.frameRate=t.frameRate,e.animInstance.firstFrame=t.firstFrame,e.animInstance.playDirection=t.playDirection,e.animInstance.currentFrame=t.isSubframeEnabled?t.currentRawFrame:~~t.currentRawFrame,t.timeCompleted!==t.totalFrames&&t.currentFrame>t.timeCompleted&&(e.animInstance.currentFrame=t.timeCompleted)},SVGloaded:function(t){var e=P[t.id],i=e.container,e=e.elements;x(t.tree,i,e)},SVGupdated:function(t){var e=t.elements,i=P[t.id];if(i){for(var s=i.elements,r=0;r<e.length;r+=1){for(var n,a=s[(n=e[r]).id],o=(f=c=l=p=h=o=void 0,n.elements),h=s,l=0;l<o.length;l+=1){var p,f,c=h[(p=o[l])[1]];c&&(p[2]&&(f=h[p[2]]),x(p[0],c,h,f),o.splice(l,1),--l)}y=u=m=d=void 0;for(var u,d=a,m=n.styles,y=0;y<m.length;y+=1)u=m[y],d.style[u[0]]=u[1];_=g=b=v=void 0;for(var g,v=a,b=n.attributes,_=0;_<b.length;_+=1)g=b[_],v.setAttribute(g[0],g[1]);a=a,(n=n.textContent)&&(a.textContent=n)}i.animInstance.currentFrame=t.currentTime}},CanvasUpdated:function(t){P[t.id].instructionsHandler(t.instructions)},event:function(t){var e=P[t.id];e&&(e=e.callbacks)[t.callbackId]&&e[t.callbackId].callback(t.argument)},playing:function(t){(t=P[t.id])&&(t.animInstance.isPaused=!1)},paused:function(t){(t=P[t.id])&&(t.animInstance.isPaused=!0)}};return h.onmessage=function(t){e[t.data.type]&&e[t.data.type](t.data.payload)},{loadAnimation:function(t){var s,a="lottie_animationId_"+(i+=1),o={elements:{},callbacks:{},pendingCallbacks:[],status:"init"},e={id:a,isPaused:!0,pause:function(){h.postMessage({type:"pause",payload:{id:a}})},play:function(){h.postMessage({type:"play",payload:{id:a}})},stop:function(){h.postMessage({type:"stop",payload:{id:a}})},setSpeed:function(t){h.postMessage({type:"setSpeed",payload:{id:a,value:t}})},setDirection:function(t){h.postMessage({type:"setDirection",payload:{id:a,value:t}})},setLoop:function(t){h.postMessage({type:"setLoop",payload:{id:a,value:t}})},goToAndStop:function(t,e){h.postMessage({type:"goToAndStop",payload:{id:a,value:t,isFrame:e}})},goToAndPlay:function(t,e){h.postMessage({type:"goToAndPlay",payload:{id:a,value:t,isFrame:e}})},playSegments:function(t,e){h.postMessage({type:"playSegments",payload:{id:a,arr:t,forceFlag:e}})},setSubframe:function(t){h.postMessage({type:"setSubframe",payload:{id:a,value:t}})},addEventListener:function(t,e){var i;o._loaded?(i="callback_"+(r+=1),o.callbacks[i]={eventName:t,callback:e},h.postMessage({type:"addEventListener",payload:{id:a,callbackId:i,eventName:t}})):o.pendingCallbacks.push({eventName:t,callback:e})},removeEventListener:function(e,i){Object.keys(o.callbacks).forEach(function(t){o.callbacks[t].eventName!==e||o.callbacks[t].callback!==i&&i||(delete o.callbacks[t],h.postMessage({type:"removeEventListener",payload:{id:a,callbackId:t,eventName:e}}))})},destroy:function(){"init"===o.status?o.status="destroyable":(o.status="destroyed",P[a]=null,o.container&&(o.container.innerHTML=""),h.postMessage({type:"destroy",payload:{id:a}}))},resize:function(t,e){var i=window.devicePixelRatio||1;h.postMessage({type:"resize",payload:{id:a,width:t||(o.container?o.container.offsetWidth*i:0),height:e||(o.container?o.container.offsetHeight*i:0)}})},updateDocumentData:function(t,e,i){h.postMessage({type:"updateDocumentData",payload:{id:a,path:t,documentData:e,index:i}})}};return o.animInstance=e,s=t,new Promise(function(e,t){var i=Object.assign({},n,s);i.animType&&!i.renderer&&(i.renderer=i.animType),i.wrapper&&(i.container||(i.container=i.wrapper),delete i.wrapper),i.animationData?e(i):i.path?fetch(i.path).then(function(t){return t.json()}).then(function(t){i.animationData=t,delete i.path,e(i)}):t()}).then(function(t){var e,i,s,r,n;"destroyable"===o.status?o.animInstance.destroy():(o.status="loaded",e=[],t.container&&(o.container=t.container,delete t.container),"canvas"===t.renderer&&((i=t.rendererSettings.canvas)||(s=window.devicePixelRatio||1,i=document.createElement("canvas"),o.container.appendChild(i),i.width=(o.container?o.container.offsetWidth:t.animationData.w)*s,i.height=(o.container?o.container.offsetHeight:t.animationData.h)*s,i.style.width="100%",i.style.height="100%"),s=i,"u"<("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))?(o.canvas=i,o.instructionsHandler=(r=i.getContext("2d"),n={beginPath:r.beginPath,closePath:r.closePath,rect:r.rect,clip:r.clip,clearRect:r.clearRect,setTransform:r.setTransform,moveTo:r.moveTo,bezierCurveTo:r.bezierCurveTo,lineTo:r.lineTo,fill:r.fill,save:r.save,restore:r.restore},function(t){for(var e=0;e<t.length;e+=1){var i=t[e],s=n[i.t];s?s.apply(r,i.a):r[i.t]=i.a}})):(i instanceof OffscreenCanvas||(s=i.transferControlToOffscreen(),t.rendererSettings.canvas=s),e.push(s))),P[a]=o,h.postMessage({type:"load",payload:{params:t,id:a}},e))}),e}}}();return lottie})}),yc=gc()}),vl={};fr(vl,{default:function(){return bc}});var vc,bc,bl=ls(function(){qs(),vc=is(function(Er,Ar){var t,e;("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&(e=function(){function I(){return R}function P(){return V}var L="http://www.w3.org/2000/svg",V="",R=!1;function f(t){return document.createElement(t)}function y(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}z.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(t){for(var e=this.audios.length,i=0;i<e;i+=1)this.audios[i].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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}};var B=function(){return new z},q="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):O(t,e)}:O;function O(t,e){var i,s=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(s=0;s<e;s+=1)r.push(i);return r}function z(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}function x(t){return Array.apply(null,{length:t})}var N=!0,G=null,j="",H=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),g=Math.pow,$=Math.sqrt,X=Math.floor,Y=Math.min,J=150,W=Math.PI/180,U=.5519;function K(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function Z(t,e){this.type=t,this.direction=e<0?-1:1}function Q(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function tt(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function et(t,e){this.type=t,this.target=e}function it(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function st(t){this.type="configError",this.nativeError=t}var rt,S=function(){return j+"__lottie_element_"+(rt+=1)};function nt(t,e,i){var s,r,n,a=Math.floor(6*t),t=6*t-a,o=i*(1-e),h=i*(1-t*e),l=i*(1-(1-t)*e);switch(a%6){case 0:s=i,r=l,n=o;break;case 1:s=h,r=i,n=o;break;case 2:s=o,r=i,n=l;break;case 3:s=o,r=h,n=i;break;case 4:s=l,r=o,n=i;break;case 5:s=i,r=o,n=h}return[s,r,n]}function at(t,e,i){var s,r=Math.max(t,e,i),n=Math.min(t,e,i),a=r-n,o=0===r?0:a/r,h=r/255;switch(r){case n:s=0;break;case t:s=e-i+a*(e<i?6:0),s/=6*a;break;case e:s=i-t+2*a,s/=6*a;break;case i:s=t-e+4*a,s/=6*a}return[s,o,h]}function lt(t,e){t=at(255*t[0],255*t[1],255*t[2]);return t[1]+=e,1<t[1]?t[1]=1:t[1]<=0&&(t[1]=0),nt(t[0],t[1],t[2])}function pt(t,e){t=at(255*t[0],255*t[1],255*t[2]);return t[2]+=e,1<t[2]?t[2]=1:t[2]<0&&(t[2]=0),nt(t[0],t[1],t[2])}function ft(t,e){t=at(255*t[0],255*t[1],255*t[2]);return t[0]+=e/360,1<t[0]?--t[0]:t[0]<0&&(t[0]+=1),nt(t[0],t[1],t[2])}for(var ot,ct=rt=0;ct<256;ct+=1)ot=ct.toString(16),ct,ot.length;function ut(){return G}function dt(t){J=t}function mt(){return J}function E(t){return document.createElementNS(L,t)}function yt(t){return(yt="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})(t)}_t=1,Pt=[],xt={onmessage:function(){},postMessage:function(t){vt({data:t})}},s={postMessage:function(t){xt.onmessage({data:t})}};var gt,vt,bt,_t,Pt,xt,s,St={loadAnimation:function(t,e,i){wt(),e=Mt(e,i),bt.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},loadData:function(t,e,i){wt(),e=Mt(e,i),bt.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},completeAnimation:function(t,e,i){wt(),e=Mt(e,i),bt.postMessage({type:"complete",animation:t,id:e})}},Et=((i=f("canvas")).width=1,i.height=1,(t=i.getContext("2d")).fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),gt=i,Tt.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;for(var i=t.length,s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},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,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=Ct(t,this.assetsPath,this.path),i=f("img"),s=(i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=gt,this._imageLoaded()}.bind(this),!1),i.src=e,{img:i,assetData:t});return s},createImageData:function(t){var e=Ct(t,this.assetsPath,this.path),i=E("image"),s=(H?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=gt,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i),{img:i,assetData:t});return s},imageLoaded:At,footageLoaded:kt,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},Tt);function At(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function kt(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function Ct(t,e,i){var s="";return s=t.e?t.p:e?e+(e=-1!==(e=t.p).indexOf("images/")?e.split("/")[1]:e):(s=i,(s+=t.u||"")+t.p)}function Tt(){this._imageLoaded=At.bind(this),this._footageLoaded=kt.bind(this),this.testImageLoaded=function(t){var e=0,i=setInterval(function(){(t.getBBox().width||500<e)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}.bind(this),this.createFootageData=function(t){var e={assetData:t},t=Ct(t,this.assetsPath,this.path);return St.loadData(t,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}function wt(){var t,e;bt||(t=function(e){function t(){function p(t,e){for(var i,s,r,n=t.length,a=0;a<n;a+=1)if("ks"in(r=t[a])&&!r.completed){if(r.completed=!0,r.hasMask)for(var o=r.masksProperties,h=o.length,l=0;l<h;l+=1)if(o[l].pt.k.i)u(o[l].pt.k);else for(s=o[l].pt.k.length,i=0;i<s;i+=1)o[l].pt.k[i].s&&u(o[l].pt.k[i].s[0]),o[l].pt.k[i].e&&u(o[l].pt.k[i].e[0]);0===r.ty?(r.layers=f(r.refId,e),p(r.layers,e)):4===r.ty?c(r.shapes):5===r.ty&&0===(r=r).t.a.length&&0 in r.t.p}}function f(t,e){t=function(t,e){for(var i=0,s=e.length;i<s;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return t?t.layers.__used?JSON.parse(JSON.stringify(t.layers)):(t.layers.__used=!0,t.layers):null}function c(t){for(var e,i,s=t.length-1;0<=s;--s)if("sh"===t[s].ty)if(t[s].ks.k.i)u(t[s].ks.k);else for(i=t[s].ks.k.length,e=0;e<i;e+=1)t[s].ks.k[e].s&&u(t[s].ks.k[e].s[0]),t[s].ks.k[e].e&&u(t[s].ks.k[e].e[0]);else"gr"===t[s].ty&&c(t[s].it)}function u(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function r(t,e){e=e?e.split("."):[100,100,100];return t[0]>e[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],t[2],0)))}h=[4,4,14];var s,n,a,o,h,l=function(t){if(r(h,t.v)&&(P(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&P(t.assets[i].layers)},d=(o=[4,7,99],function(t){if(t.chars&&!r(o,t.v))for(var e=t.chars.length,i=0;i<e;i+=1){var s=t.chars[i];s.data&&s.data.shapes&&(c(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}},t.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"})))}}),m=(a=[5,7,15],function(t){if(r(a,t.v)&&(_(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&_(t.assets[i].layers)}),y=(n=[4,1,9],function(t){if(r(n,t.v)&&(b(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&b(t.assets[i].layers)}),g=(s=[4,4,18],function(t){if(r(s,t.v)&&(v(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&v(t.assets[i].layers)});function v(t){for(var e,i,s,r=t.length,n=0;n<r;n+=1){if((e=t[n]).hasMask)for(var a=e.masksProperties,o=a.length,h=0;h<o;h+=1)if(a[h].pt.k.i)a[h].pt.k.c=a[h].cl;else for(s=a[h].pt.k.length,i=0;i<s;i+=1)a[h].pt.k[i].s&&(a[h].pt.k[i].s[0].c=a[h].cl),a[h].pt.k[i].e&&(a[h].pt.k[i].e[0].c=a[h].cl);4===e.ty&&function t(e){for(var i,s,r=e.length-1;0<=r;--r)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(s=e[r].ks.k.length,i=0;i<s;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}(e.shapes)}}function b(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&function t(e){for(var i,s,r=e.length,n=0;n<r;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(s=e[n].c.k.length,i=0;i<s;i+=1)e[n].c.k[i].s&&(e[n].c.k[i].s[0]/=255,e[n].c.k[i].s[1]/=255,e[n].c.k[i].s[2]/=255,e[n].c.k[i].s[3]/=255),e[n].c.k[i].e&&(e[n].c.k[i].e[0]/=255,e[n].c.k[i].e[1]/=255,e[n].c.k[i].e[2]/=255,e[n].c.k[i].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}(t[i].shapes)}function _(t){for(var e,i=t.length,s=0;s<i;s+=1)5===t[s].ty&&("number"==typeof(e=(e=t[s]).t.p).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 P(t){for(var e,i,s=t.length,r=0;r<s;r+=1)5===t[r].ty&&(e=t[r],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}var t={};return t.completeData=function(t){if(!t.__complete){y(t),l(t),d(t),m(t),g(t),p(t.layers,t.assets);var e=t.chars,i=t.assets;if(e)for(var s=0,r=e.length,s=0;s<r;s+=1)1===e[s].t&&(e[s].data.layers=f(e[s].data.refId,i),p(e[s].data.layers,i));t.__complete=!0}},t.checkColors=y,t.checkChars=d,t.checkPathProperties=m,t.checkShapes=g,t.completeLayers=p,t}var i;function a(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===yt(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}s.dataManager||(s.dataManager=t()),s.assetLoader||(s.assetLoader={load:function(e,i,t,s){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)r=a(n),t(r);else try{r=a(n),t(r)}catch(t){s&&s(t)}};try{n.open(["G","E","T"].join(""),e,!0)}catch(t){n.open(["G","E","T"].join(""),i+"/"+e,!0)}n.send()}}),"loadAnimation"===e.data.type?s.assetLoader.load(e.data.path,e.data.fullPath,function(t){s.dataManager.completeData(t),s.postMessage({id:e.data.id,payload:t,status:"success"})},function(){s.postMessage({id:e.data.id,status:"error"})}):"complete"===e.data.type?(i=e.data.animation,s.dataManager.completeData(i),s.postMessage({id:e.data.id,payload:i,status:"success"})):"loadData"===e.data.type&&s.assetLoader.load(e.data.path,e.data.fullPath,function(t){s.postMessage({id:e.data.id,payload:t,status:"success"})},function(){s.postMessage({id:e.data.id,status:"error"})})},(bt=window.Worker&&window.Blob&&I()?(e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),e=URL.createObjectURL(e),new Worker(e)):(vt=t,xt)).onmessage=function(t){var t=t.data,e=t.id,i=Pt[e];Pt[e]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function Mt(t,e){var i="processId_"+(_t+=1);return Pt[i]={onComplete:t,onError:e},i}function Dt(){}Dt.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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 i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--s),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var Ft=function(e){for(var t=[],i=0;i<e.length;i+=1){var s=e[i],s={time:s.tm,duration:s.dr};try{s.payload=JSON.parse(e[i].cm)}catch(t){try{s.payload=function(t){for(var e,i=t.split("\r\n"),s={},r=0,n=0;n<i.length;n+=1)2===(e=i[n].split(":")).length&&(s[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return s}(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}t.push(s)}return t},It=function(){function t(t){for(var e=0,i=this.compositions.length;e<i;){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 t.compositions=[],t.currentFrame=0,t.registerComposition=Vt,t},Lt={};function Vt(t){this.compositions.push(t)}function Rt(t){return(Rt="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})(t)}function r(){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=S(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=N,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=It(),this.imagePreloader=new Et,this.audioController=B(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new K("drawnFrame",0,0,0),this.expressionsPlugin=ut()}y([Dt],r),r.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg",i=(t.animType?e=t.animType:t.renderer&&(e=t.renderer),Lt[e]);this.renderer=new i(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||"",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")),St.loadAnimation(t.path,this.configAnimation,this.onSetupError))},r.prototype.onSetupError=function(){this.trigger("data_failed")},r.prototype.setupAnimation=function(t){St.completeAnimation(t,this.configAnimation)},r.prototype.setData=function(t,e){var e={wrapper:t,animationData:e=e&&"object"!==Rt(e)?JSON.parse(e):e},t=t.attributes,i=(e.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",e.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:function(){if(Lt.canvas)return"canvas";for(var t in Lt)if(Lt[t])return t;return""}()||"canvas",t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:""),i=("false"===i?e.loop=!1:"true"===i?e.loop=!0:""!==i&&(e.loop=parseInt(i,10)),t.getNamedItem("data-anim-
1autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value);e.autoplay="false"!==i,e.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(e.prerender=!1),e.path?this.setParams(e):this.trigger("destroy")},r.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));for(var e,i=this.animationData.layers,s=i.length,r=t.layers,n=r.length,a=0;a<n;a+=1)for(e=0;e<s;){if(i[e].id===r[a].id){i[e]=r[a];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(s=t.assets.length,e=0;e<s;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,St.completeAnimation(this.animationData,this.onSegmentComplete)},r.prototype.onSegmentComplete=function(t){this.animationData=t;t=ut();t&&t.initExpressions(this),this.loadNextSegment()},r.prototype.loadNextSegment=function(){var t=this.animationData.segments;t&&0!==t.length&&this.autoloadSegments?(t=t.shift(),this.timeCompleted=t.time*this.frameRate,t=this.path+this.fileName+"_"+this.segmentPos+".json",this.segmentPos+=1,St.loadData(t,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))):(this.trigger("data_ready"),this.timeCompleted=this.totalFrames)},r.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},r.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},r.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},r.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=Ft(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},r.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},r.prototype.checkLoaded=function(){var t;!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,(t=ut())&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay)&&this.play()},r.prototype.resize=function(t,e){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},r.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},r.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")},r.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame
vendor: 21,447 bytes, line 1
1(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},r.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"))},r.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())},r.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},r.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},r.prototype.getMarkerData=function(t){for(var e,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},r.prototype.goToAndStop=function(t,e,i){i&&this.name!==i||(i=Number(t),isNaN(i)?(i=this.getMarkerData(t))&&this.goToAndStop(i.time,!0):e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},r.prototype.goToAndPlay=function(t,e,i){var s;i&&this.name!==i||(s=Number(t),isNaN(s)?(t=this.getMarkerData(t))&&(t.duration?this.playSegments([t.time,t.time+t.duration],!0):this.goToAndStop(t.time,!0)):this.goToAndStop(s,e,i),this.play())},r.prototype.advanceTime=function(t){var e;!0!==this.isPaused&&!1!==this.isLoaded&&(e=!1,(t=this.currentRawFrame+t*this.frameModifier)>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e)&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))},r.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(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")},r.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},r.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===Rt(t[0]))for(var i=t.length,s=0;s<i;s+=1)this.segments.push(t[s]);else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},r.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},r.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},r.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)},r.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},r.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},r.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},r.prototype.setLoop=function(t){this.loop=t},r.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},r.prototype.getVolume=function(){return this.audioController.getVolume()},r.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},r.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},r.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},r.prototype.getPath=function(){return this.path},r.prototype.getAssetsPath=function(t){var e,i="";return i=t.e?t.p:this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),this.assetsPath+e):(i=this.path,(i+=t.u||"")+t.p)},r.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},r.prototype.hide=function(){this.renderer.hide()},r.prototype.show=function(){this.renderer.show()},r.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},r.prototype.updateDocumentData=function(t,e,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},r.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new K(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 Q(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new Z(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new tt(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new et(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new K(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new Q(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new Z(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new tt(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new et(t,this))},r.prototype.triggerRenderFrameError=function(t){t=new it(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},r.prototype.triggerConfigError=function(t){t=new st(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},n=[],qt=!(Ht=!(jt=a=Gt=0)),(t={}).registerAnimation=te,t.loadAnimation=function(t){var e=new r;return se(e,null),e.setParams(t),e},t.setSpeed=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setSpeed(t,e)},t.setDirection=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setDirection(t,e)},t.play=function(t){for(var e=0;e<a;e+=1)n[e].animation.play(t)},t.pause=function(t){for(var e=0;e<a;e+=1)n[e].animation.pause(t)},t.stop=function(t){for(var e=0;e<a;e+=1)n[e].animation.stop(t)},t.togglePause=function(t){for(var e=0;e<a;e+=1)n[e].animation.togglePause(t)},t.searchAnimations=function(t,e,i){for(var s,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=r.length,a=0;a<n;a+=1)i&&r[a].setAttribute("data-bm-type",i),te(r[a],t);e&&0===n&&(i=i||"svg",(e=document.getElementsByTagName("body")[0]).innerText="",(s=f("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),e.appendChild(s),te(s,t))},t.resize=function(){for(var t=0;t<a;t+=1)n[t].animation.resize()},t.goToAndStop=function(t,e,i){for(var s=0;s<a;s+=1)n[s].animation.goToAndStop(t,e,i)},t.destroy=function(t){for(var e=a-1;0<=e;--e)n[e].animation.destroy(t)},t.freeze=function(){qt=!0},t.unfreeze=function(){qt=!1,ae()},t.setVolume=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setVolume(t,e)},t.mute=function(t){for(var e=0;e<a;e+=1)n[e].animation.mute(t)},t.unmute=function(t){for(var e=0;e<a;e+=1)n[e].animation.unmute(t)},t.getRegisteredAnimations=function(){for(var t=n.length,e=[],i=0;i<t;i+=1)e.push(n[i].animation);return e};var Bt,Ot,zt,Nt,n,Gt,a,jt,Ht,qt,e=t,Wt=(i={getBezierEasing:function(t,e,i,s,r){r=r||("bez_"+t+"_"+e+"_"+i+"_"+s).replace(/\./g,"p");return Bt[r]||(t=new Zt([t,e,i,s]),Bt[r]=t)}},Bt={},zt=1/((Ot=11)-1),Nt="function"==typeof Float32Array,Zt.prototype={get:function(t){var e=this._p[0],i=this._p[1],s=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&s===r?t:0===t?0:1===t?1:Ut(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],s=this._p[3];this._precomputed=!0,t===e&&i===s||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<Ot;++i)this._mSampleValues[i]=Ut(i*zt,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,r=0,n=1,a=Ot-1;n!==a&&s[n]<=t;++n)r+=zt;var o=r+(t-s[--n])/(s[n+1]-s[n])*zt,h=Kt(o,e,i);if(.001<=h){for(var l=t,p=o,f=e,c=i,u=0;u<4;++u){var d=Kt(p,f,c);if(0===d)return p;p-=(Ut(p,f,c)-l)/d}return p}if(0===h)return o;for(var m,y,g=t,v=r,b=r+zt,_=e,P=i,x=0;0<(m=Ut(y=v+(b-v)/2,_,P)-g)?b=y:v=y,1e-7<Math.abs(m)&&++x<10;);return y}},i),$t={double:function(t){return t.concat(x(t.length))}},t=function(t,e,i){var s=0,r=t,n=x(r);return{newElement:function(){var t;return t=s?n[--s]:e(),t},release:function(t){s===r&&(n=$t.double(n),r*=2),i&&i(t),n[s]=t,s+=1}}},Xt=t(8,function(){return{addedLength:0,percents:q("float32",mt()),lengths:q("float32",mt())}}),Yt=t(8,function(){return{lengths:[],totalLength:0}},function(t){for(var e=t.lengths.length,i=0;i<e;i+=1)Xt.release(t.lengths[i]);t.lengths.length=0});function Jt(t,e){return 1-3*e+3*t}function Ut(t,e,i){return((Jt(e,i)*t+(3*i-6*e))*t+3*e)*t}function Kt(t,e,i){return 3*Jt(e,i)*t*t+2*(3*i-6*e)*t+3*e}function Zt(t){this._p=t,this._mSampleValues=new(Nt?Float32Array:Array)(Ot),this._precomputed=!1,this.get=this.get.bind(this)}function Qt(t){for(var e=0,i=t.target;e<a;)n[e].animation===i&&(n.splice(e,1),--e,--a,i.isPaused||ie()),e+=1}function te(t,e){if(!t)return null;for(var i=0;i<a;){if(n[i].elem===t&&null!==n[i].elem)return n[i].animation;i+=1}var s=new r;return se(s,t),s.setData(t,e),s}function ee(){jt+=1,ae()}function ie(){--jt}function se(t,e){t.addEventListener("destroy",Qt),t.addEventListener("_active",ee),t.addEventListener("_idle",ie),n.push({elem:e,animation:t}),a+=1}function re(t){for(var e=t-Gt,i=0;i<a;i+=1)n[i].animation.advanceTime(e);Gt=t,jt&&!qt?window.requestAnimationFrame(re):Ht=!0}function ne(t){Gt=t,window.requestAnimationFrame(re)}function ae(){!qt&&jt&&Ht&&(window.requestAnimationFrame(ne),Ht=!1)}k=Math,he=function(t,e,i,s){for(var r,n,a,o,h=mt(),l=0,p=[],f=[],c=Xt.newElement(),u=i.length,d=0;d<h;d+=1){for(a=d/(h-1),r=o=0;r<u;r+=1)n=g(1-a,3)*t[r]+3*g(1-a,2)*a*i[r]+3*(1-a)*g(a,2)*s[r]+g(a,3)*e[r],p[r]=n,null!==f[r]&&(o+=g(p[r]-f[r],2)),f[r]=p[r];o&&(l+=o=$(o)),c.percents[d]=a,c.lengths[d]=l}return c.addedLength=l,c},oe={},le=q("float32",8);var k,oe,he,le,ht={getSegmentsLength:function(t){for(var e=Yt.newElement(),i=t.c,s=t.v,r=t.o,n=t.i,a=t._length,o=e.lengths,h=0,l=0;l<a-1;l+=1)o[l]=he(s[l],s[l+1],r[l],n[l+1]),h+=o[l].addedLength;return i&&a&&(o[l]=he(s[l],s[0],r[l],n[0]),h+=o[l].addedLength),e.totalLength=h,e},getNewSegment:function(t,e,i,s,r,n,a){r<0?r=0:1<r&&(r=1);for(var r=ye(r,a),n=ye(n=1<n?1:n,a),o=t.length,h=1-n,l=(a=1-r)*a*a,p=r*a*a*3,f=r*r*a*3,c=r*r*r,u=a*a*h,d=r*a*h+a*r*h+a*a*n,m=r*r*h+a*r*n+r*a*n,y=r*r*n,g=a*h*h,v=r*h*h+a*n*h+a*h*n,b=r*n*h+a*n*n+r*h*n,_=r*n*n,P=h*h*h,x=n*h*h+h*n*h+h*h*n,S=n*n*h+h*n*n+n*h*n,E=n*n*n,A=0;A<o;A+=1)le[4*A]=k.round(1e3*(l*t[A]+p*i[A]+f*s[A]+c*e[A]))/1e3,le[4*A+1]=k.round(1e3*(u*t[A]+d*i[A]+m*s[A]+y*e[A]))/1e3,le[4*A+2]=k.round(1e3*(g*t[A]+v*i[A]+b*s[A]+_*e[A]))/1e3,le[4*A+3]=k.round(1e3*(P*t[A]+x*i[A]+S*s[A]+E*e[A]))/1e3;return le},getPointInSegment:function(t,e,i,s,r,n){return r=ye(r,n),n=1-r,[k.round(1e3*(n*n*n*t[0]+(r*n*n+n*r*n+n*n*r)*i[0]+(r*r*n+n*r*r+r*n*r)*s[0]+r*r*r*e[0]))/1e3,k.round(1e3*(n*n*n*t[1]+(r*n*n+n*r*n+n*n*r)*i[1]+(r*r*n+n*r*r+r*n*r)*s[1]+r*r*r*e[1]))/1e3]},buildBezierData:me,pointOnLine2D:ce,pointOnLine3D:function(t,e,i,s,r,n,a,o,h){var l;return 0===i&&0===n&&0===h?ce(t,e,s,r,a,o):(l=k.sqrt(k.pow(s-t,2)+k.pow(r-e,2)+k.pow(n-i,2)),t=k.sqrt(k.pow(a-t,2)+k.pow(o-e,2)+k.pow(h-i,2)),e=k.sqrt(k.pow(a-s,2)+k.pow(o-r,2)+k.pow(h-n,2)),-1e-4<(i=t<l?e<l?l-t-e:e-t-l:t<e?e-t-l:t-l-e)&&i<1e-4)}},pe=-999999,fe=Math.abs;function ce(t,e,i,s,r,n){r=t*s+e*r+i*n-r*s-n*t-i*e;return-.001<r&&r<.001}function ue(t){this.segmentLength=0,this.points=new Array(t)}function de(t,e){this.partialLength=t,this.point=e}function me(t,e,i,s){var r=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!oe[r]){for(var n,a,o,h,l,p=mt(),f=0,c=null,u=new ue(p=2===t.length&&(t[0]!==e[0]||t[1]!==e[1])&&ce(t[0],t[1],e[0],e[1],t[0]+i[0],t[1]+i[1])&&ce(t[0],t[1],e[0],e[1],e[0]+s[0],e[1]+s[1])?2:p),d=i.length,m=0;m<p;m+=1){for(l=x(d),o=m/(p-1),n=h=0;n<d;n+=1)a=g(1-o,3)*t[n]+3*g(1-o,2)*o*(t[n]+i[n])+3*(1-o)*g(o,2)*(e[n]+s[n])+g(o,3)*e[n],l[n]=a,null!==c&&(h+=g(l[n]-c[n],2));f+=h=$(h),u.points[m]=new de(h,l),c=l}u.segmentLength=f,oe[r]=u}return oe[r]}function ye(t,e){var i=e.percents,s=e.lengths,r=i.length,n=X((r-1)*t),a=t*e.addedLength,o=0;if(n===r-1||0===n||a===s[n])return i[n];for(var h=s[n]>a?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||r-1<=n){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}function ge(t,e){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=q("float32",this.pv.length));for(var r,n,a=e.lastIndex,o=a,R=this.keyframes.length-1,h=!0;h;){if(r=this.keyframes[o],n=this.keyframes[o+1],o===R-1&&t>=n.t-s){r.h&&(r=n),a=0;break}if(n.t-s>t){a=o;break}o<R-1?o+=1:(a=0,h=!1)}var l,p,f,c,u,d,m,y,g,B,v,b,_,P=this.keyframesMetadata[o]||{},x=n.t-s,S=r.t-s;if(r.to){P.bezierData||(P.bezierData=ht.buildBezierData(r.s,n.s||r.e,r.to,r.ti));var E=P.bezierData;if(x<=t||t<S)for(var O=x<=t?E.points.length-1:0,A=E.points[O].point.length,k=0;k<A;k+=1)i[k]=E.points[O].point[k];else{P.__fnct?l=P.__fnct:(l=Wt.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,P.__fnct=l);for(var z,C=l((t-S)/(x-S)),T=E.segmentLength*C,w=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastAddedLength:0,M=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastPoint:0,h=!0,N=E.points.length;h;){if(w+=E.points[M].partialLength,0==T||0===C||M===E.points.length-1){for(A=E.points[M].point.length,k=0;k<A;k+=1)i[k]=E.points[M].point[k];break}if(w<=T&&T<w+E.points[M+1].partialLength){for(z=(T-w)/E.points[M+1].partialLength,A=E.points[M].point.length,k=0;k<A;k+=1)i[k]=E.points[M].point[k]+(E.points[M+1].point[k]-E.points[M].point[k])*z;break}M<N-1?M+=1:h=!1}e._lastPoint=M,e._lastAddedLength=w-E.points[M].partialLength,e._lastKeyframeIndex=o}}else{var D,F,G,j,H,I,L,R=r.s.length,V=n.s||r.e;if(this.sh&&1!==r.h)x<=t?(i[0]=V[0],i[1]=V[1],i[2]=V[2]):t<=S?(i[0]=r.s[0],i[1]=r.s[1],i[2]=r.s[2]):(I=ve(r.s),L=ve(V),p=i,L=L,f=(t-S)/(x-S),m=[],y=(I=I)[0],g=I[1],B=I[2],I=I[3],v=L[0],b=L[1],_=L[2],L=L[3],(d=y*v+g*b+B*_+I*L)<0&&(d=-d,v=-v,b=-b,_=-_,L=-L),d=1e-6<1-d?(d=Math.acos(d),c=Math.sin(d),u=Math.sin((1-f)*d)/c,Math.sin(f*d)/c):(u=1-f,f),m[0]=u*y+d*v,m[1]=u*g+d*b,m[2]=u*B+d*_,m[3]=u*I+d*L,f=(c=m)[0],y=c[1],v=c[2],c=c[3],g=Math.atan2(2*y*c-2*f*v,1-2*y*y-2*v*v),b=Math.asin(2*f*y+2*v*c),c=Math.atan2(2*f*c-2*y*v,1-2*f*f-2*v*v),p[0]=g/W,p[1]=b/W,p[2]=c/W);else for(o=0;o<R;o+=1)1!==r.h&&(C=x<=t?1:t<S?0:(r.o.x.constructor===Array?(P.__fnct||(P.__fnct=[]),P.__fnct[o]?l=P.__fnct[o]:(D=void 0===r.o.x[o]?r.o.x[0]:r.o.x[o],F=void 0===r.o.y[o]?r.o.y[0]:r.o.y[o],G=void 0===r.i.x[o]?r.i.x[0]:r.i.x[o],j=void 0===r.i.y[o]?r.i.y[0]:r.i.y[o],l=Wt.getBezierEasing(D,F,G,j).get,P.__fnct[o]=l)):P.__fnct?l=P.__fnct:(D=r.o.x,F=r.o.y,G=r.i.x,j=r.i.y,l=Wt.getBezierEasing(D,F,G,j).get,r.keyframeMetadata=l),l((t-S)/(x-S)))),V=n.s||r.e,H=1===r.h?r.s[o]:r.s[o]+(V[o]-r.s[o])*C,"multidimensional"===this.propType?i[o]=H:i=H}return e.lastIndex=a,i}function ve(t){var e=t[0]*W,i=t[1]*W,t=t[2]*W,s=Math.cos(e/2),r=Math.cos(i/2),n=Math.cos(t/2),e=Math.sin(e/2),i=Math.sin(i/2),t=Math.sin(t/2);return[e*i*n+s*r*t,e*r*n+s*i*t,s*i*n-e*r*t,s*r*n-e*i*t]}function be(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||this._caching.lastFrame!==pe&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),i=this.interpolateValue(t,this._caching),this.pv=i),this._caching.lastFrame=t,this.pv}function _e(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<fe(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,1e-5<fe(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function Pe(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;for(var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k,i=0;i<t;i+=1)e=this.effectsSequence[i](e);this.setVValue(e),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function xe(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Se(t,e,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Pe,this.setVValue=_e,this.addEffect=xe}function Ee(t,e,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,n=e.k.length;for(this.v=q("float32",n),this.pv=q("float32",n),this.vel=q("float32",n),r=0;r<n;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Pe,this.setVValue=_e,this.addEffect=xe}function Ae(t,e,i,s){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:pe,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.v=pe,this.pv=pe,this._isFirstFrame=!0,this.getValue=Pe,this.setVValue=_e,this.interpolateValue=ge,this.effectsSequence=[be.bind(this)],this.addEffect=xe}function ke(t,e,i,s){this.propType="multidimensional";for(var r,n,a,o,h=e.k.length,l=0;l<h-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l+1]&&e.k[l+1].s&&(r=e.k[l].s,n=e.k[l+1].s,a=e.k[l].to,o=e.k[l].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&ht.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+a[0],r[1]+a[1])&&ht.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+o[0],n[1]+o[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&ht.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+a[0],r[1]+a[1],r[2]+a[2])&&ht.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+o[0],n[1]+o[1],n[2]+o[2]))&&(e.k[l].to=null,e.k[l].ti=null),r[0]===n[0])&&r[1]===n[1]&&0===a[0]&&0===a[1]&&0===o[0]&&0===o[1]&&(2===r.length||r[2]===n[2]&&0===a[2]&&0===o[2])&&(e.k[l].to=null,e.k[l].ti=null);this.effectsSequence=[be.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=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=Pe,this.setVValue=_e,this.interpolateValue=ge,this.frameId=-1;var p=e.k[0].s.length;for(this.v=q("float32",p),this.pv=q("float32",p),l=0;l<p;l+=1)this.v[l]=pe,this.pv[l]=pe;this._caching={lastFrame:pe,lastIndex:0,value:q("float32",p)},this.addEffect=xe}var A={getProp:function(t,e,i,s,r){var n;if((e=e.sid?t.globalData.slotManager.getProp(e):e).k.length)if("number"==typeof e.k[0])n=new Ee(t,e,s,r);else switch(i){case 0:n=new Ae(t,e,s,r);break;case 1:n=new ke(t,e,s,r)}else n=new Se(t,e,s,r);return n.effectsSequence.length&&r.addDynamicProperty(n),n}};function v(){}v.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ce=t(8,function(){return q("float32",2)});function h(){this.c=!1,this._length=0,this._maxLength=8,this.v=x(this._maxLength),this.o=x(this._maxLength),this.i=x(this._maxLength)}h.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=Ce.newElement(),this.o[i]=Ce.newElement(),this.i[i]=Ce.newElement(),i+=1},h.prototype.setLength=function(t){for(;this._maxLength<t;
1)this.doubleArrayLength();this._length=t},h.prototype.doubleArrayLength=function(){this.v=this.v.concat(x(this._maxLength)),this.i=this.i.concat(x(this._maxLength)),this.o=this.o.concat(x(this._maxLength)),this._maxLength*=2},h.prototype.setXYAt=function(t,e,i,s,r){var n;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=Ce.newElement()),n[s][0]=t,n[s][1]=e},h.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},h.prototype.reverse=function(){for(var t=new h,e=(t.setPathData(this.c,this._length),this.v),i=this.o,s=this.i,r=0,n=(this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1),this._length-1),a=this._length,o=r;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],s[n][0],s[n][1],i[n][0],i[n][1],o,!1),--n;return t},h.prototype.length=function(){return this._length};(Te=t(4,function(){return new h},function(t){for(var e=t._length,i=0;i<e;i+=1)Ce.release(t.v[i]),Ce.release(t.i[i]),Ce.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1})).clone=function(t){var e,i=Te.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i};var Te,b=Te;function we(){this._length=0,this._maxLength=4,this.shapes=x(this._maxLength)}we.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(x(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},we.prototype.releaseShapes=function(){for(var t=0;t<this._length;t+=1)b.release(this.shapes[t]);this._length=0};i={newShapeCollection:function(){var t;return t=Le?Re[--Le]:new we,t},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)b.release(t.shapes[e]);t._length=0,Le===Ve&&(Re=$t.double(Re),Ve*=2),Re[Le]=t,Le+=1}},Le=0,Re=x(Ve=4);var Me,De,Fe,Ie,Le,Ve,Re,Be=i,Oe=function(){var r=-999999;function t(t,e,i){var s,r,n,a,o,h,l=i.lastIndex,p=this.keyframes;
vendor: 12,492 bytes, line 1
1if(t<p[0].t-this.offsetTime)s=p[0].s[0],b=!0,l=0;else if(t>=p[p.length-1].t-this.offsetTime)s=(p[p.length-1].s?p[p.length-1].s:p[p.length-2].e)[0],b=!0;else{for(var f,c,u=l,d=p.length-1,m=!0;m&&(f=p[u],!((c=p[u+1]).t-this.offsetTime>t));)u<d-1?u+=1:m=!1;var y,g,v,b,_=this.keyframesMetadata[u]||{},l=u;(b=1===f.h)||(g=t>=c.t-this.offsetTime?1:t<f.t-this.offsetTime?0:(_.__fnct?y=_.__fnct:(y=Wt.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,_.__fnct=y),y((t-(f.t-this.offsetTime))/(c.t-this.offsetTime-(f.t-this.offsetTime)))),v=(c.s||f.e)[0]),s=f.s[0]}for(a=e._length,o=s.i[0].length,i.lastIndex=l,r=0;r<a;r+=1)for(n=0;n<o;n+=1)h=b?s.i[r][n]:s.i[r][n]+(v.i[r][n]-s.i[r][n])*g,e.i[r][n]=h,h=b?s.o[r][n]:s.o[r][n]+(v.o[r][n]-s.o[r][n])*g,e.o[r][n]=h,h=b?s.v[r][n]:s.v[r][n]+(v.v[r][n]-s.v[r][n])*g,e.v[r][n]=h}function s(){this.paths=this.localShapeCollection}function e(t){!function(t,e){if(t._length===e._length&&t.c===e.c){for(var i=t._length,s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return;return 1}}(this.v,t)&&(this.v=b.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;for(var t=this.kf?this.pv:(this.data.ks||this.data.pt).k,e=this.effectsSequence.length,i=0;i<e;i+=1)t=this.effectsSequence[i](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,i){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;t=(3===i?e.pt:e.ks).k;this.v=b.clone(t),this.pv=b.clone(this.v),this.localShapeCollection=Be.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=(3===i?e.pt:e.ks).k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;t=this.keyframes[0].s[0].i.length;this.v=b.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,t),this.pv=b.clone(this.v),this.localShapeCollection=Be.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s,this._caching={lastFrame:r,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==r&&(s<e&&t<e||i<s&&i<t)||(this._caching.lastIndex=s<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=i,n.prototype.setVValue=e,n.prototype.addEffect=a,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=a;h=U,d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertEllToPath()},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=3!==this.d,n=this.v;n.v[0][0]=t,n.v[0][1]=e-s,n.v[1][0]=r?t+i:t-i,n.v[1][1]=e,n.v[2][0]=t,n.v[2][1]=e+s,n.v[3][0]=r?t-i:t+i,n.v[3][1]=e,n.i[0][0]=r?t-i*h:t+i*h,n.i[0][1]=e-s,n.i[1][0]=r?t+i:t-i,n.i[1][1]=e-s*h,n.i[2][0]=r?t+i*h:t-i*h,n.i[2][1]=e+s,n.i[3][0]=r?t-i:t+i,n.i[3][1]=e+s*h,n.o[0][0]=r?t+i*h:t-i*h,n.o[0][1]=e-s,n.o[1][0]=r?t+i:t-i,n.o[1][1]=e+s*h,n.o[2][0]=r?t-i*h:t+i*h,n.o[2][1]=e+s,n.o[3][0]=r?t-i:t+i,n.o[3][1]=e-s*h}},y([v],d);var h,l=d,p=(u.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertToPath()},convertStarToPath:function(){for(var t=2*Math.floor(this.pt.v),e=2*Math.PI/t,i=!0,s=this.or.v,r=this.ir.v,n=this.os.v,a=this.is.v,o=2*Math.PI*s/(2*t),h=2*Math.PI*r/(2*t),l=-Math.PI/2,p=(l+=this.r.v,3===this.data.d?-1:1),f=this.v._length=0;f<t;f+=1){var c=i?n:a,u=i?o:h,d=(m=i?s:r)*Math.cos(l),m=m*Math.sin(l),y=0==d&&0==m?0:m/Math.sqrt(d*d+m*m),g=0==d&&0==m?0:-d/Math.sqrt(d*d+m*m);d+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(d,m,d-y*u*c*p,m-g*u*c*p,d+y*u*c*p,m+g*u*c*p,f,!0),i=!i,l+=e*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,s=this.or.v,r=this.os.v,n=2*Math.PI*s/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=s*Math.cos(a),l=s*Math.sin(a),p=0==h&&0==l?0:l/Math.sqrt(h*h+l*l),f=0==h&&0==l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*n*r*o,l-f*n*r*o,h+p*n*r*o,l+f*n*r*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},y([v],u),u),f=(c.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=Y(i,s,this.r.v),n=r*(1-U);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+r,t+i,e-s+n,0,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-n,t+i,e+s-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+s,t+i-r,e+s,t+i-n,e+s,2,!0),this.v.setTripleAt(t-i+r,e+s,t-i+n,e+s,t-i+r,e+s,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-r,t-i,e+s-n,4,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+n,t-i,e-s+r,5,!0),this.v.setTripleAt(t-i+r,e-s,t-i+r,e-s,t-i+n,e-s,6,!0),this.v.setTripleAt(t+i-r,e-s,t+i-n,e-s,t+i-r,e-s,7,!0)):(this.v.setTripleAt(t-i,e+s,t-i+n,e+s,t-i,e+s,2),this.v.setTripleAt(t-i,e-s,t-i,e-s+n,t-i,e-s,3))):(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+n,t+i,e-s+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-s,t+i-r,e-s,t+i-n,e-s,1,!0),this.v.setTripleAt(t-i+r,e-s,t-i+n,e-s,t-i+r,e-s,2,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+r,t-i,e-s+n,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-n,t-i,e+s-r,4,!0),this.v.setTripleAt(t-i+r,e+s,t-i+r,e+s,t-i+n,e+s,5,!0),this.v.setTripleAt(t+i-r,e+s,t+i-n,e+s,t+i-r,e+s,6,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-r,t+i,e+s-n,7,!0)):(this.v.setTripleAt(t-i,e-s,t-i+n,e-s,t-i,e-s,1,!0),this.v.setTripleAt(t-i,e+s,t-i,e+s-n,t-i,e+s,2,!0),this.v.setTripleAt(t+i,e+s,t+i-n,e+s,t+i,e+s,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertRectToPath()},reset:s},y([v],c),c);function c(t,e){this.v=b.newElement(),this.v.c=!0,this.localShapeCollection=Be.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=A.getProp(t,e.p,1,0,this),this.s=A.getProp(t,e.s,1,0,this),this.r=A.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}function u(t,e){this.v=b.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=A.getProp(t,e.ir,0,0,this),this.is=A.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=A.getProp(t,e.pt,0,0,this),this.p=A.getProp(t,e.p,1,0,this),this.r=A.getProp(t,e.r,0,W,this),this.or=A.getProp(t,e.or,0,0,this),this.os=A.getProp(t,e.os,0,.01,this),this.localShapeCollection=Be.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}function d(t,e){this.v=b.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Be.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=A.getProp(t,e.p,1,0,this),this.s=A.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}var m={getShapeProp:function(t,e,i){var s;return 3===i||4===i?s=new((3===i?e.pt:e.ks).k.length?o:n)(t,e,i):5===i?s=new f(t,e):6===i?s=new l(t,e):7===i&&(s=new p(t,e)),s.k&&t.addDynamicProperty(s),s},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),o=(Me=Math.cos,De=Math.sin,Fe=Math.tan,Ie=Math.round,function(){this.reset=ze,this.rotate=Ne,this.rotateX=Ge,this.rotateY=je,this.rotateZ=He,this.skew=We,this.skewFromAxis=$e,this.shear=qe,this.scale=Xe,this.setTransform=Ye,this.translate=Je,this.transform=Ue,this.multiply=Ke,this.applyToPoint=ii,this.applyToX=si,this.applyToY=ri,this.applyToZ=ni,this.applyToPointArray=pi,this.applyToTriplePoints=li,this.applyToPointStringified=fi,this.toCSS=ci,this.to2dCSS=di,this.clone=ti,this.cloneFromProps=ei,this.equals=Qe,this.inversePoints=hi,this.inversePoint=oi,this.getInverseMatrix=ai,this._t=this.transform,this.isIdentity=Ze,this._identity=!0,this._identityCalculated=!1,this.props=q("float32",16),this.reset()});function ze(){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 Ne(t){var e;return 0===t?this:(e=Me(t),t=De(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function Ge(t){var e;return 0===t?this:(e=Me(t),t=De(t),this._t(1,0,0,0,0,e,-t,0,0,t,e,0,0,0,0,1))}function je(t){var e;return 0===t?this:(e=Me(t),t=De(t),this._t(e,0,t,0,0,1,0,0,-t,0,e,0,0,0,0,1))}function He(t){var e;return 0===t?this:(e=Me(t),t=De(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function qe(t,e){return this._t(1,e,t,1,0,0)}function We(t,e){return this.shear(Fe(t),Fe(e))}function $e(t,e){var i=Me(e),e=De(e);return this._t(i,e,0,0,-e,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,Fe(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-e,0,0,e,i,0,0,0,0,1,0,0,0,0,1)}function Xe(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function Ye(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=s,this.props[4]=r,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=c,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function Je(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function Ue(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){var y,g,v,b,_,P,x,S,E,A,k,C,T,w,M,D,F=this.props;return 1===t&&0===e&&0===i&&0===s&&0===r&&1===n&&0===a&&0===o&&0===h&&0===l&&1===p&&0===f?(F[12]=F[12]*t+F[15]*c,F[13]=F[13]*n+F[15]*u,F[14]=F[14]*p+F[15]*d,F[15]*=m,this._identityCalculated=!1):(y=F[0],g=F[1],v=F[2],b=F[3],_=F[4],P=F[5],x=F[6],S=F[7],E=F[8],A=F[9],k=F[10],C=F[11],T=F[12],w=F[13],M=F[14],D=F[15],F[0]=y*t+g*r+v*h+b*c,F[1]=y*e+g*n+v*l+b*u,F[2]=y*i+g*a+v*p+b*d,F[3]=y*s+g*o+v*f+b*m,F[4]=_*t+P*r+x*h+S*c,F[5]=_*e+P*n+x*l+S*u,F[6]=_*i+P*a+x*p+S*d,F[7]=_*s+P*o+x*f+S*m,F[8]=E*t+A*r+k*h+C*c,F[9]=E*e+A*n+k*l+C*u,F[10]=E*i+A*a+k*p+C*d,F[11]=E*s+A*o+k*f+C*m,F[12]=T*t+w*r+M*h+D*c,F[13]=T*e+w*n+M*l+D*u,F[14]=T*i+w*a+M*p+D*d,F[15]=T*s+w*o+M*f+D*m,this._identityCalculated=!1),this}function Ke(t){t=t.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function Ze(){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]||0!==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 Qe(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function ti(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function ei(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function ii(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}
1function si(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function ri(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function ni(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function ai(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,i=-this.props[1]/t,s=-this.props[4]/t,r=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,t=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new o;return a.props[0]=e,a.props[1]=i,a.props[4]=s,a.props[5]=r,a.props[12]=n,a.props[13]=t,a}function oi(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function hi(t){for(var e=t.length,i=[],s=0;s<e;s+=1)i[s]=oi(t[s]);return i}function li(t,e,i){var s,r,n,a,o,h,l=q("float32",6);return this.isIdentity()?(l[0]=t[0],l[1]=t[1],l[2]=e[0],l[3]=e[1],l[4]=i[0],l[5]=i[1]):(s=this.props[0],r=this.props[1],n=this.props[4],a=this.props[5],o=this.props[12],h=this.props[13],l[0]=t[0]*s+t[1]*n+o,l[1]=t[0]*r+t[1]*a+h,l[2]=e[0]*s+e[1]*n+o,l[3]=e[0]*r+e[1]*a+h,l[4]=i[0]*s+i[1]*n+o,l[5]=i[0]*r+i[1]*a+h),l}function pi(t,e,i){t=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]];return t}function fi(t,e){var i;return this.isIdentity()?t+","+e:(i=this.props,Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100)}function ci(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i=i+Ie(1e4*e[t])/1e4+(15===t?")":","),t+=1;return i}function ui(t){return t<1e-6&&0<t||-1e-6<t&&t<0?Ie(1e4*t)/1e4:t}function di(){var t=this.props;return"matrix("+ui(t[0])+","+ui(t[1])+","+ui(t[4])+","+ui(t[5])+","+ui(t[12])+","+ui(t[13])+")"}function mi(t){return(mi="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})(t)}t={};function yi(){e.searchAnimations()}t.play=e.play,t.pause=e.pause,t.setLocationHref=function(t){V=t},t.togglePause=e.togglePause,t.setSpeed=e.setSpeed,t.setDirection=e.setDirection,t.stop=e.stop,t.searchAnimations=yi,t.registerAnimation=e.registerAnimation,t.loadAnimation=function(t){return e.loadAnimation(t)},t.setSubframeRendering=function(t){N=!!t},t.resize=e.resize,t.goToAndStop=e.goToAndStop,t.destroy=e.destroy,t.setQuality=function(t){if("string"==typeof t)switch(t){case"high":dt(200);break;default:case"medium":dt(50);break;case"low":dt(10)}else!isNaN(t)&&1<t&&dt(t)},t.inBrowser=function(){return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"},t.installPlugin=function(t,e){"expressions"===t&&(G=e)},t.freeze=e.freeze,t.unfreeze=e.unfreeze,t.setVolume=e.setVolume,t.mute=e.mute,t.unmute=e.unmute,t.getRegisteredAnimations=e.getRegisteredAnimations,t.useWebWorker=function(t){R=!!t},t.setIDPrefix=function(t){j=t},t.__getFactory=function(t){switch(t){case"propertyFactory":return A;case"shapePropertyFactory":return Oe;case"matrix":return o;default:return null}},t.version="5.12.2";var gi="",i=document.getElementsByTagName("script"),i=i[i.length-1]||{src:""},gi=i.src?i.src.replace(/^[^\?]+\??/,""):"",vi=(function(t){for(var e=gi.split("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}}("renderer"),setInterval(function(){"complete"===document.readyState&&(clearInterval(vi),yi())},100));try{"object"===("u"<_typeof2(Er)?"undefined":mi(Er))&&_typeof2(Ar)<"u"||"function"==typeof define&&define.amd||(window.bodymovin=t)}catch(t){}bi={},(i={}).registerModifier=function(t,e){bi[t]||(bi[t]=e)},i.getModifier=function(t,e,i){return new bi[t](e,i)};var bi,_i=i;function l(){}function p(){}function Pi(){}l.prototype.initModifierProperties=function(){},l.prototype.addShapeToModifier=function(){},l.prototype.addShape=function(t){var e;this.closed||(t.sh.container.addDynamicProperty(t.sh),e={shape:t.sh,data:t,localShapeCollection:Be.newShapeCollection()},this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated())},l.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=-999999,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},l.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},y([v],l),y([l],p),p.prototype.initModifierProperties=function(t,e){this.s=A.getProp(t,e.s,0,.01,this),this.e=A.getProp(t,e.e,0,.01,this),this.o=A.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},p.prototype.addShapeToModifier=function(t){t.pathsData=[]}
vendor: 50,147 bytes, line 1
1,p.prototype.calculateShapeEdges=function(t,e,i,s,r){for(var n,a,o=[],h=(e<=1?o.push({s:t,e:e}):1<=t?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1})),[]),l=o.length,p=0;p<l;p+=1)(a=o[p]).e*r<s||a.s*r>s+i||(n=a.s*r<=s?0:(a.s*r-s)/i,a=a.e*r>=s+i?1:(a.e*r-s)/i,h.push([n,a]));return h.length||h.push([0,0]),h},p.prototype.releasePathsData=function(t){for(var e=t.length,i=0;i<e;i+=1)Yt.release(t[i]);return t.length=0,t},p.prototype.processShapes=function(t){var e,i,s;this._mdf||t?((e=this.o.v%360/360)<0&&(e+=1),i=1<this.s.v?1+e:this.s.v<0?0+e:this.s.v+e,(s=1<this.e.v?1+e:this.e.v<0?0+e:this.e.v+e)<i&&(e=i,i=s,s=e),i=1e-4*Math.round(1e4*i),s=1e-4*Math.round(1e4*s),this.sValue=i,this.eValue=s):(i=this.sValue,s=this.eValue);var r,n,a,o,h,l,p=this.shapes.length,f=0;if(s===i)for(m=0;m<p;m+=1)this.shapes[m].localShapeCollection.releaseShapes(),this.shapes[m].shape._mdf=!0,this.shapes[m].shape.paths=this.shapes[m].localShapeCollection,this._mdf&&(this.shapes[m].pathsData.length=0);else if(1===s&&0===i||0===s&&1===i){if(this._mdf)for(m=0;m<p;m+=1)this.shapes[m].pathsData.length=0,this.shapes[m].shape._mdf=!0}else{for(var c,u,d=[],m=0;m<p;m+=1)if((c=this.shapes[m]).shape._mdf||this._mdf||t||2===this.m){if(a=(r=c.shape.paths)._length,l=0,!c.shape._mdf&&c.pathsData.length)l=c.totalShapeLength;else{for(o=this.releasePathsData(c.pathsData),n=0;n<a;n+=1)h=ht.getSegmentsLength(r.shapes[n]),o.push(h),l+=h.totalLength;c.totalShapeLength=l,c.pathsData=o}f+=l,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var y,g=i,v=s,b=0;for(m=p-1;0<=m;--m)if((c=this.shapes[m]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(i,s,c.totalShapeLength,b,f),b+=c.totalShapeLength):y=[[g,v]],a=y.length,n=0;n<a;n+=1){g=y[n][0],v=y[n][1],d.length=0,v<=1?d.push({s:c.totalShapeLength*g,e:c.totalShapeLength*v}):1<=g?d.push({s:c.totalShapeLength*(g-1),e:c.totalShapeLength*(v-1)}):(d.push({s:c.totalShapeLength*g,e:c.totalShapeLength}),d.push({s:0,e:c.totalShapeLength*(v-1)}));var _,P=this.addShapes(c,d[0]);d[0].s!==d[0].e&&(1<d.length&&(P=c.shape.paths.shapes[c.shape.paths._length-1].c?(_=P.pop(),this.addPaths(P,u),this.addShapes(c,d[1],_)):(this.addPaths(P,u),this.addShapes(c,d[1]))),this.addPaths(P,u))}c.shape.paths=u}}},p.prototype.addPaths=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e.addShape(t[s])},p.prototype.addSegment=function(t,e,i,s,r,n,a){r.setXYAt(e[0],e[1],"o",n),r.setXYAt(i[0],i[1],"i",n+1),a&&r.setXYAt(t[0],t[1],"v",n),r.setXYAt(s[0],s[1],"v",n+1)},p.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},p.prototype.addShapes=function(t,e,i){var s,r,n,a,o,h,l,p,f=t.pathsData,c=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0,g=i?(a=i._length,i._length):(i=b.newElement(),a=0);for(m.push(i),s=0;s<u;s+=1){for(o=f[s].lengths,i.c=c[s].c,n=c[s].c?o.length:o.length+1,r=1;r<n;r+=1)if(d+(p=o[r-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,a,y),y=!1):(h=ht.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1),d+=p.addedLength,a+=1}if(c[s].c&&o.length&&(p=o[r-1],d<=e.e?(l=o[r-1].addedLength,e.s<=d&&e.e>=d+l?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,a,y),y=!1):(h=ht.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-d)/l,(e.e-d)/l,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;s<u-1&&(i=b.newElement(),y=!0,m.push(i),a=0)}return m},y([l],Pi),Pi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=A.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Pi.prototype.processPath=function(t,e){for(var i=e/100,s=[0,0],r=t._length,n=0,n=0;n<r;n+=1)s[0]+=t.v[n][0],s[1]+=t.v[n][1];s[0]/=r,s[1]/=r;var a,o,h,l,p,f,c=b.newElement();for(c.c=t.c,n=0;n<r;n+=1)a=t.v[n][0]+(s[0]-t.v[n][0])*i,o=t.v[n][1]+(s[1]-t.v[n][1])*i,h=t.o[n][0]+(s[0]-t.o[n][0])*-i,l=t.o[n][1]+(s[1]-t.o[n][1])*-i,p=t.i[n][0]+(s[0]-t.i[n][0])*-i,f=t.i[n][1]+(s[1]-t.i[n][1])*-i,c.setTripleAt(a,o,h,l,p,f,n);return c},Pi.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};xi=[0,0],Ei.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(t){var e,i,s,r;this.elem.globalData.frameId!==this.frameId&&(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),(this._mdf||t)&&(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&&(t=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime?i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/t,0),this.p.getValueAtTime(this.p.keyframes[0].t/t,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/t,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/t,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/t,this.p.offsetTime)):this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime?(e=[],i=[],s=this.px,r=this.py,s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/t,0),e[1]=r.getValueAtTime((r.keyframes[0].t+.01)/t,0),i[0]=s.getValueAtTime(s.keyframes[0].t/t,0),i[1]=r.getValueAtTime(r.keyframes[0].t/t,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/t,0),e[1]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/t,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/t,0),i[1]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/t,0)):(e=[s.pv,r.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/t,s.offsetTime),i[1]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/t,r.offsetTime))):e=i=xi,this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[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(){}},y([v],Ei),Ei.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},Ei.prototype._addDynamicProperty=v.prototype.addDynamicProperty;var xi,Si={getTransformProperty:function(t,e,i){return new Ei(t,e,i)}};function Ei(t,e,i){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new o,this.pre=new o,this.appliedTransformations=0,this.initDynamicPropertyContainer(i||t),e.p&&e.p.s?(this.px=A.getProp(t,e.p.x,0,0,this),this.py=A.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=A.getProp(t,e.p.z,0,0,this))):this.p=A.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=A.getProp(t,e.rx,0,W,this),this.ry=A.getProp(t,e.ry,0,W,this),this.rz=A.getProp(t,e.rz,0,W,this),e.or.k[0].ti)for(var s=e.or.k.length,r=0;r<s;r+=1)e.or.k[r].to=null,e.or.k[r].ti=null;this.or=A.getProp(t,e.or,1,W,this),this.or.sh=!0}else this.r=A.getProp(t,e.r||{k:0},0,W,this);e.sk&&(this.sk=A.getProp(t,e.sk,0,W,this),this.sa=A.getProp(t,e.sa,0,W,this)),this.a=A.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=A.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=A.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function c(){}function Ai(){}function ki(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function Ci(t){return Math.abs(t)<=1e-5}function Ti(t,e,i){return t*(1-i)+e*i}function wi(t,e,i){return[Ti(t[0],e[0],i),Ti(t[1],e[1],i)]}function Mi(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function Di(t){return new u(t,t,t,t,!1)}function u(t,e,i,s,r){r&&Ni(t,e)&&(e=wi(t,s,1/3)),r&&Ni(i,s)&&(i=wi(t,s,2/3));var r=Mi(t[0],e[0],i[0],s[0]),n=Mi(t[1],e[1],i[1],s[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,i,s]}function Fi(t,e){var i=t.points[0][e],s=t.points[t.points.length-1][e];s<i&&(n=s,s=i,i=n);n=3*t.a[e],a=2*t.b[e],o=t.c[e];for(var r,n,a,o,h=0===n||(o=a*a-4*n*o)<0?[]:(a=-a/(2*n),0==o?[a]:[a-(o=Math.sqrt(o)/(2*n)),a+o]),l=0;l<h.length;l+=1)0<h[l]&&h[l]<1&&((r=t.point(h[l])[e])<i?i=r:s<r&&(s=r));return{min:i,max:s}}function Ii(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}function Li(t){var e=t.bez.split(.5);return[Ii(e[0],t.t1,t.t),Ii(e[1],t.t,t.t2)]}function Vi(t,e,i,s,r,n){var a,o;a=t,o=e,2*Math.abs(a.cx-o.cx)<a.width+o.width&&2*Math.abs(a.cy-o.cy)<a.height+o.height&&(n<=i||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s?r.push([t.t,e.t]):(a=Li(t),o=Li(e),Vi(a[0],o[0],i+1,s,r,n),Vi(a[0],o[1],i+1,s,r,n),Vi(a[1],o[0],i+1,s,r,n),Vi(a[1],o[1],i+1,s,r,n)))}function Ri(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 Bi(t,e,i,s){t=[t[0],t[1],1],e=[e[0],e[1],1],i=[i[0],i[1],1],s=[s[0],s[1],1],t=Ri(Ri(t,e),Ri(i,s));return Ci(t[2])?null:[t[0]/t[2],t[1]/t[2]]}function Oi(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}function zi(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function Ni(t,e){return ki(t[0],e[0])&&ki(t[1],e[1])}function Gi(){}function ji(t,e,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,e=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,e,l+Math.cos(o)*n,e-Math.sin(o)*n,l+Math.cos(h)*a,e-Math.sin(h)*a,t.length())}function Hi(t,e){var i=0===e?t.length()-1:e-1,e=(e+1)%t.length(),i=t.v[i],t=t.v[e],t=(e=i,i=[(i=t)[0]-e[0],i[1]-e[1]],e=.5*-Math.PI,[Math.cos(e)*i[0]-Math.sin(e)*i[1],Math.sin(e)*i[0]+Math.cos(e)*i[1]]);return Math.atan2(0,1)-Math.atan2(t[1],t[0])}function qi(t,e,i,s,r,n,a){var o=Hi(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],l=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,n=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;ji(t,e.v[i%e._length],o,a,s,n/(2*(r+1)),l/(2*(r+1)))}function Wi(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[Oi(t,s,i),Oi(e,s,i)]}function $i(t,e){var i=Wi(t.points[0],t.points[1],e),s=i[0],r=i[1],n=(i=Wi(t.points[1],t.points[2],e))[0],a=i[1],t=(i=Wi(t.points[2],t.points[3],e))[0],e=i[1],i=Bi(s,r,n,a),r=(null===i&&(i=r),Bi(t,e,n,a));return new u(s,i,r=null===r?t:r,e)}function Xi(t,e,i,s,r){var n,a,o=e.points[3],h=i.points[0];return 3===s||Ni(o,h)?o:2===s?(s=-e.tangentAngle(1),a=-i.tangentAngle(0)+Math.PI,n=Bi(o,Oi(o,s+Math.PI/2,100),h,Oi(h,s+Math.PI/2,100)),n=Oi(o,s,2*(s=n?zi(n,o):zi(o,h)/2)*U),t.setXYAt(n[0],n[1],"o",t.length()-1),n=Oi(h,a,2*s*U),t.setTripleAt(h[0],h[1],h[0],h[1],n[0],n[1],t.length()),h):(a=Bi(Ni(o,e.points[2])?e.points[0]:e.points[2],o,h,Ni(h,i.points[1])?i.points[3]:i.points[1]))&&zi(a,o)<r?(t.setTripleAt(a[0],a[1],a[0],a[1],a[0],a[1],t.length()),a):o}function Yi(t,e){t=t.intersections(e);return t.length&&ki(t[0][0],1)&&t.shift(),t.length?t[0]:null}function Ji(t,e){var i=t.slice(),s=e.slice(),r=Yi(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),1<t.length&&1<e.length&&(r=Yi(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function Ui(t,e){var i,s,r,n=t.inflectionPoints();return 0===n.length?[$i(t,e)]:1===n.length||ki(n[1],1)?(s=(i=t.split(n[0]))[0],r=i[1],[$i(s,e),$i(r,e)]):(s=(i=t.split(n[0]))[0],t=(n[1]-n[0])/(1-n[0]),n=(i=i[1].split(t))[0],r=i[1],[$i(s,e),$i(n,e),$i(r,e)])}function Ki(){}function Zi(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],s="normal",r="normal",n=i.length,a=0;a<n;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:r,weight:t.fWeight||s}}y([l],c),c.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=A.getProp(t,e.c,0,null,this),this.o=A.getProp(t,e.o,0,null,this),this.tr=Si.getTransformProperty(t,e.tr,this),this.so=A.getProp(t,e.tr.so,0,.01,this),this.eo=A.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 o,this.rMatrix=new o,this.sMatrix=new o,this.tMatrix=new o,this.matrix=new o},c.prototype.applyTransforms=function(t,e,i,s,r,n){var a=n?-1:1,o=s.s.v[0]+(1-s.s.v[0])*(1-r),h=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*a*r,s.p.v[1]*a*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*a*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(n?1/o:o,n?1/h:h),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},c.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)this._elements.unshift(e[--i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},c.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},c.prototype.cloneElements=function(t){t=JSON.parse(JSON.stringify(t));return this.resetElements(t),t},c.prototype.changeGroupRender=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},c.prototype.processShapes=function(t){var e,i,s,r,n,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=n=0;s<=this._groups.length-1;s+=1)this._groups[s]._render=o=n<h,this.changeGroupRender(this._groups[s].it,o),o||(0!==(o=(o=this.elemsData[s].it)[o.length-1]).transform.op.v?(o.transform.op._mdf=!0,o.transform.op.v=0):o.transform.op._mdf=!1),n+=1;this._currentCopies=h;var p,f,t=this.o.v,c=t%1,u=0<t?Math.floor(t):Math.ceil(t),d=this.pMatrix.props,m=this.rMatrix.props,y=this.sMatrix.props,g=(this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset(),0);if(0<t){for(;g<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(t<0){for(;u<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--g;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(f=(i=(e=this.elemsData[s].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)*(s/(this._currentCopies-1)),0!==g){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),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]),p=0;p<f;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<f;p+=1)i[p]=this.matrix.props[p];g+=1,--n,s+=r}}else for(n=this._currentCopies,s=0,r=1;n;)i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,--n,s+=r;return a},c.prototype.addShape=function(){},y([l],Ai),Ai.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=A.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Ai.prototype.processPath=function(t,e){var i=b.newElement();i.c=t.c;for(var s,r,n,a,o,h,l,p,f,c,u=t._length,d=0,m=0;m<u;m+=1)s=t.v[m],n=t.o[m],r=t.i[m],s[0]===n[0]&&s[1]===n[1]&&s[0]===r[0]&&s[1]===r[1]?0!==m&&m!==u-1||t.c?(a=0===m?t.v[u-1]:t.v[m-1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,f=s[0]+(a[0]-s[0])*h,c=s[1]-(s[1]-a[1])*h,l=f-(f-s[0])*U,p=c-(c-s[1])*U,i.setTripleAt(f,c,l,p,f,c,d),d+=1,a=m===u-1?t.v[0]:t.v[m+1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,l=s[0]+(a[0]-s[0])*h,p=s[1]+(a[1]-s[1])*h,f=l-(l-s[0])*U,c=p-(p-s[1])*U,i.setTripleAt(l,p,l,p,f,c,d)):i.setTripleAt(s[0],s[1],n[0],n[1],r[0],r[1],d):i.setTripleAt(t.v[m][0],t.v[m][1],t.o[m][0],t.o[m][1],t.i[m][0],t.i[m][1],d),d+=1;return i},Ai.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.rd.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},u.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]]},u.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]]},u.prototype.tangentAngle=function(t){t=this.derivative(t);return Math.atan2(t[1],t[0])},u.prototype.normalAngle=function(t){t=this.derivative(t);return Math.atan2(t[0],t[1])},u.prototype.inflectionPoints=function(){var t,e=this.a[1]*this.b[0]-this.a[0]*this.b[1];return Ci(e)||(e=(t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e)*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e)<0?[]:Ci(e=Math.sqrt(e))?0<e&&e<1?[t]:[]:[t-e,t+e].filter(function(t){return 0<t&&t<1})},u.prototype.split=function(t){var e,i,s,r;return t<=0?[Di(this.points[0]),this]:1<=t?[this,Di(this.points[this.points.length-1])]:(e=wi(this.points[0],this.points[1],t),r=wi(this.points[1],this.points[2],t),i=wi(this.points[2],this.points[3],t),s=wi(e,r,t),r=wi(r,i,t),t=wi(s,r,t),[new u(this.points[0],e,s,t,!0),new u(t,r,i,this.points[3],!0)])},u.prototype.bounds=function(){return{x:Fi(this,0),y:Fi(this,1)}},u.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}},u.prototype.intersections=function(t,e,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return Vi(Ii(this,0,1),Ii(t,0,1),0,e,s,i),s},u.shapeSegment=function(t,e){var i=(e+1)%t.length();return new u(t.v[e],t.o[e],t.i[i],t.v[i],!0)},u.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new u(t.v[i],t.i[i],t.o[e],t.v[e],!0)},y([l],Gi),Gi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=A.getProp(t,e.s,0,null,this),this.frequency=A.getProp(t,e.r,0,null,this),this.pointsType=A.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},Gi.prototype.processPath=function(t,e,i,s){var r=t._length,n=b.newElement();if(n.c=t.c,t.c||--r,0!==r){var a=-1,o=u.shapeSegment(t,0);qi(n,t,0,e,i,s,a);for(var h=0;h<r;h+=1)a=function(t,e,i,s,r,n){for(var a=0;a<s;a+=1){var o=(a+1)/(s+1),h=2===r?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,l=e.normalAngle(o);ji(t,e.point(o),l,n,i,h/(2*(s+1)),h/(2*(s+1))),n=-n}return n}(n,o,e,i,s,-a),o=h!==r-1||t.c?u.shapeSegment(t,(h+1)%r):null,qi(n,t,h+1,e,i,s,a)}return n},Gi.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amplitude.v,a=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,a,o));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},y([l],Ki),Ki.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=A.getProp(t,e.a,0,null,this),this.miterLimit=A.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},Ki.prototype.processPath=function(t,e,i,s){var r=b.newElement(),n=(r.c=t.c,t.length());t.c||--n;for(var a,o,h=[],l=0;l<n;l+=1)o=u.shapeSegment(t,l),h.push(Ui(o,e));if(!t.c)for(l=n-1;0<=l;--l)o=u.shapeSegmentInverted(t,l),h.push(Ui(o,e));var h=function(t){for(var e,i=1;i<t.length;i+=1)e=Ji(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return 1<t.length&&(e=Ji(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}(h),p=null,f=null;for(l=0;l<h.length;l+=1){var c=h[l];for(f&&(p=Xi(r,f,c[0],i,s)),f=c[c.length-1],a=0;a<c.length;a+=1)o=c[a],p&&Ni(o.points[0],p)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.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],r.length()),r.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],r.length()),p=o.points[3]}return h.length&&Xi(r,f,h[0][0],i,s),r},Ki.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v,a=this.miterLimit.v,o=this.lineJoin;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,o,a));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};Qi={w:0,size:0,shapes:[],data:{shapes:[]}},ts=(ts=[]).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]),es=127462,is=127487,ss=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],d.isModifier=function(t,e){return t=t.toString(16)+e.toString(16),-1!==ss.indexOf(t)},d.isZeroWidthJoiner=function(t){return 8205===t},d.isFlagEmoji=function(t){return hs(t.substr(0,2))&&hs(t.substr(2,2))},d.isRegionalCode=hs,d.isCombinedCharacter=function(t){return-1!==ts.indexOf(t)},d.isRegionalFlag=function(t,e){var i;if(127988!==os(t.substr(e,2)))return!1;var s=0;for(e+=2;s<5;){if((i=os(t.substr(e,2)))<917601||917626<i)return!1;s+=1,e+=2}return 917631===os(t.substr(e,2))},d.isVariationSelector=function(t){return 65039===t},d.BLACK_FLAG_CODE_POINT=127988,d.prototype={addChars:function(t){if(t){this.chars||(this.chars=[]);for(var e,i,s=t.length,r=this.chars.length,n=0;n<s;n+=1){for(e=0,i=!1;e<r;)this.chars[e].style===t[n].style&&this.chars[e].fFamily===t[n].fFamily&&this.chars[e].ch===t[n].ch&&(i=!0),e+=1;i||(this.chars.push(t[n]),r+=1)}}},addFonts:function(t,e){if(t)if(this.chars)this.isLoaded=!0,this.fonts=t.list;else if(document.body){for(var i=t.list,s=i.length,r=s,n=0;n<s;n+=1){var a,o,h,l,p=!0;if(i[n].loaded=!1,i[n].monoCase=ns(i[n].fFamily,"monospace"),i[n].sansCase=ns(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin)(p=!(0<(o=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length)&&p)&&((h=f("style")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h));else if("g"===i[n].fOrigin||1===i[n].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),a=0;a<o.length;a+=1)-1!==o[a].href.indexOf(i[n].fPath)&&(p=!1);p&&((h=f("link")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.type="text/css",h.rel="stylesheet",h.href=i[n].fPath,document.body.appendChild(h))}else if("t"===i[n].fOrigin||2===i[n].origin){for(o=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),a=0;a<o.length;a+=1)i[n].fPath===o[a].src&&(p=!1);p&&((l=f("link")).setAttribute("f-forigin",i[n].fOrigin),l.setAttribute("f-origin",i[n].origin),l.setAttribute("rel","stylesheet"),l.setAttribute("href",i[n].fPath),e.appendChild(l))}}else i[n].loaded=!0,--r;i[n].helper=as(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===r?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0,t.list.forEach(function(t){t.helper=as(t),t.cache={}}),this.fonts=t.list;else this.isLoaded=!0},getCharData:function(t,e,i){for(var s=0,r=this.chars.length;s<r;){if(this.chars[s].ch===t&&this.chars[s].style===e&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),Qi},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var s,r,n,e=this.getFontByName(e),a=t;return e.cache[a]||(s=e.helper," "===t?(r=s.measureText("|"+t+"|"),n=s.measureText("||"),e.cache[a]=(r-n)/100):e.cache[a]=s.measureText(t)/100),e.cache[a]*i},checkLoadedFonts:function(){for(var t,e,i=this.fonts.length,s=i,r=0;r<i;r+=1)this.fonts[r].loaded?--s:"n"===this.fonts[r].fOrigin||0===this.fonts[r].origin?this.fonts[r].loaded=!0:(t=this.fonts[r].monoCase.node,e=this.fonts[r].monoCase.w,t.offsetWidth===e&&(t=this.fonts[r].sansCase.node,e=this.fonts[r].sansCase.w,t.offsetWidth===e)||(--s,this.fonts[r].loaded=!0),this.fonts[r].loaded&&(this.fonts[r].sansCase.parent.parentNode.removeChild(this.fonts[r].sansCase.parent),this.fonts[r].monoCase.parent.parentNode.removeChild(this.fonts[r].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};var Qi,ts,es,is,ss,rs=d;function ns(t,e){var i=f("span"),s=(i.setAttribute("aria-hidden",!0),i.style.fontFamily=e,f("span")),r=(s.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(s),document.body.appendChild(i),s.offsetWidth);return s.style.fontFamily=function(t){for(var e=t.split(","),i=e.length,s=[],r=0;r<i;r+=1)"sans-serif"!==e[r]&&"monospace"!==e[r]&&s.push(e[r]);return s.join(",")}(t)+", "+e,{node:s,w:r,parent:i}}function as(t,e){var i,s,r=document.body&&e?"svg":"canvas",n=Zi(t);return i="svg"==r?((s=E("text")).style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),s):((e=new OffscreenCanvas(500,500).getContext("2d")).font=n.style+" "+n.weight+" 100px "+t.fFamily,e),{measureText:function(t){return"svg"==r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function os(t){var e=0,i=t.charCodeAt(0);return e=55296<=i&&i<=56319&&56320<=(t=t.charCodeAt(1))&&t<=57343?1024*(i-55296)+t-56320+65536:e}function hs(t){t=os(t);return es<=t&&t<=is}function d(){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)}function ls(t){this.animationData=t}function ps(){}ls.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},ps.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(){for(var t=this.renderableComponents.length,e=0;e<t;e+=1)this.renderableComponents[e].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}}};fs={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"};var fs,cs=function(t){return fs[t]||""};function us(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function ds(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function ms(t,e,i){this.p=A.getProp(e,t.v,1,0,i)}function ys(t,e,i){this.p=A.getProp(e,t.v,1,0,i)}function gs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function vs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function bs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function _s(){this.p={}}function Ps(t,e){var i=t.ef||[];this.effectElements=[];for(var s,r=i.length,n=0;n<r;n+=1)s=new xs(i[n],e),this.effectElements.push(s)}function xs(t,e){this.init(t,e)}function Ss(){}function Es(){}function As(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function m(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;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?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=A.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function _(){}y([v],xs),xs.prototype.getValue=xs.prototype.iterateDynamicProperties,xs.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);for(var i,s=this.data.ef.length,r=this.data.ef,n=0;n<s;n+=1){switch(i=null,r[n].ty){case 0:i=new us(r[n],e,this);break;case 1:i=new ds(r[n],e,this);break;case 2:i=new ms(r[n],e,this);break;case 3:i=new ys(r[n],e,this);break;case 4:case 7:i=new bs(r[n],e,this);break;case 10:i=new gs(r[n],e,this);break;case 11:i=new vs(r[n],e,this);break;case 5:i=new Ps(r[n],e);break;default:i=new _s(r[n])}i&&this.effectElements.push(i)}},Ss.prototype={checkMasks:function(){if(this.data.hasMask)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(){},setBlendMode:function(){var t=cs(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=S(),this.data.sr||(this.data.sr=1),this.effectsManager=new Ps(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},Es.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){for(var i=this.dynamicProperties.length,s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf)&&(this.globalData._mdf=!0,this._mdf=!0)},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},As.prototype.prepareFrame=function(){},y([ps,Ss,Es],As),As.prototype.getBaseElement=function(){return null},As.prototype.renderFrame=function(){},As.prototype.destroy=function(){},As.prototype.initExpressions=function(){},As.prototype.getFootageData=function(){return this.footageData},m.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:(t=this.tm.v,this._currentTime=t),this._volume=this.lv.v[0];t=this._volume*this._volumeMultiplier;this._previousVolume!==t&&(this._previousVolume=t,this.audio.volume(t))},y([ps,Ss,Es],m),m.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||.1<Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek()))&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},m.prototype.show=function(){},m.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},m.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},m.prototype.resume=function(){this._canPlay=!0},m.prototype.setRate=function(t){this.audio.rate(t)},m.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},m.prototype.getBaseElement=function(){return null},m.prototype.destroy=function(){},m.prototype.sourceRectAtTime=function(){},m.prototype.initExpressions=function(){},_.prototype.checkLayers=function(t){var e,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;0<=e;--e)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},_.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: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);default:return this.createNull(t)}},_.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},_.prototype.createAudio=function(t){return new m(t,this.globalData,this)},_.prototype.createFootage=function(t){return new As(t,this.globalData,this)},_.prototype.buildAllItems=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},_.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,s=this.layers.length,r=0;r<i;r+=1)for(e=0;e<s;){if(this.layers[e].id===t[r].id){this.layers[e]=t[r];break}e+=1}},_.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},_.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},_.prototype.buildElementParenting=function(t,e,i){for(var s=this.elements,r=this.layers,n=0,a=r.length;n<a;)r[n].ind==e&&(s[n]&&!0!==s[n]?(i.push(s[n]),s[n].setAsParent(),void 0!==r[n].parent?this.buildElementParenting(t,r[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=1},_.prototype.addPendingElement=function(t){this.pendingElements.push(t)},_.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=0;s<i;s+=1)t[s].xt&&((e=this.createComp(t[s])).initExpressions(),this.globalData.projectInterface.registerComposition(e))},_.prototype.getElementById=function(t){for(var e=this.elements.length,i=0;i<e;i+=1)if(this.elements[i].data.ind===t)return this.elements[i];return null},_.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else for(var s=this.elements.length,r=0;r<s;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];break}return 0===t.length?e:e.getElementByPath(t)},_.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new rs,this.globalData.slotManager=new ls(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 ks="transformEFfect";function Cs(){}function Ts(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r=this.masksProperties?this.masksProperties.length:0;this.viewData=x(r),this.solidPath="";for(var n,a,o,h,l,p=this.masksProperties,f=0,c=[],u=S(),d="clipPath",m="clip-path",y=0;y<r;y+=1)if(("a"!==p[y].mode&&"n"!==p[y].mode||p[y].inv||100!==p[y].o.k||p[y].o.x)&&(m=d="mask"),"s"!==p[y].mode&&"i"!==p[y].mode||0!==f?a=null:((a=E("rect")).setAttribute("fill","#ffffff"),a.setAttribute("width",this.element.comp.data.w||0),a.setAttribute("height",this.element.comp.data.h||0),c.push(a)),n=E("path"),"n"===p[y].mode)this.viewData[y]={op:A.getProp(this.element,p[y].o,0,.01,this.element),prop:Oe.getShapeProp(this.element,p[y],3),elem:n,lastPath:""},s.appendChild(n);else{if(f+=1,n.setAttribute("fill","s"===p[y].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[y].x.k?(m=d="mask",h=A.getProp(this.element,p[y].x,0,null,this.element),l=S(),(_=E("filter")).setAttribute("id",l),(o=E("feMorphology")).setAttribute("operator","erode"),o.setAttribute("in","SourceGraphic"),o.setAttribute("radius","0"),_.appendChild(o),s.appendChild(_),n.setAttribute("stroke","s"===p[y].mode?"#000000":"#ffffff")):h=o=null,this.storedData[y]={elem:n,x:h,expan:o,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"===p[y].mode){for(var g=c.length,v=E("g"),b=0;b<g;b+=1)v.appendChild(c[b]);var _=E("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",u+"_"+f),_.appendChild(n),s.appendChild(_),v.setAttribute("mask","url("+P()+"#"+u+"_"+f+")"),c.length=0,c.push(v)}else c.push(n);p[y].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[y]={elem:n,lastPath:"",op:A.getProp(this.element,p[y].o,0,.01,this.element),prop:Oe.getShapeProp(this.element,p[y],3),invRect:a},this.viewData[y].prop.k||this.drawPath(p[y],this.viewData[y].prop.v,this.viewData[y])}for(this.maskElement=E(d),r=c.length,y=0;y<r;y+=1)this.maskElement.appendChild(c[y]);0<f&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+P()+"#"+u+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Cs.prototype={initTransform:function(){var t=new o;this.finalTransform={mProp:this.data.ks?Si.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,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,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 i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){for(var r=this.finalTransform.localOpacity,t=0;t<e;t+=1)r*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(ks);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new o;for(var e=0,i=t.length,e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;for(var r,n=e.length,a=0;a<n;a+=1)r=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-r[0],t[1]-r[1],0];return t},mHelper:new o},Ts.prototype.getMaskProperty=function(t){return this.viewData[t].prop},Ts.prototype.renderFrame=function(t){for(var e,i=this.element.finalTransform.mat,s=this.masksProperties.length,r=0;r<s;r+=1)(this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),"n"!==this.masksProperties[r].mode&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[r].x)&&(this.storedData[r].x._mdf||t)&&(e=this.storedData[r].expan,this.storedData[r].x.v<0?("erode"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+P()+"#"+this.storedData[r].filterId+")")),e.setAttribute("radius",-this.storedData[r].x.v)):("dilate"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",2*this.storedData[r].x.v)))},Ts.prototype.getMaskelement=function(){return this.maskElement},Ts.prototype.createLayerSolidPath=function(){var t="M0,0 ";return(t+=" h"+this.globalData.compSize.w)+(" v"+this.globalData.compSize.h)+(" h-"+this.globalData.compSize.w)+(" v-"+this.globalData.compSize.h+" ")},Ts.prototype.drawPath=function(t,e,i){for(var s,r=" M"+e.v[0][0]+","+e.v[0][1],n=e._length,a=1;a<n;a+=1)r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[a][0]+","+e.i[a][1]+" "+e.v[a][0]+","+e.v[a][1];e.c&&1<n&&(r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r&&(s="",i.elem&&(e.c&&(s=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",s)),i.lastPath=r)},Ts.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};(i={}).createFilter=function(t,e){var i=E("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},i.createAlphaToLuminanceFilter=function(){var t=E("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};var ws=i,Ms=(i={maskType:!0,svgLumaHidden:!0,offscreenCanvas:("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))<"u"},(/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))&&(i.maskType=!1),/firefox/i.test(navigator.userAgent)&&(i.svgLumaHidden=!1),i),Ds={},Fs="filter_result_";function Is(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=S(),n=ws.createFilter(r,!0),a=0;for(this.filters=[],e=0;e<s;e+=1){o=null;var o,h=t.data.ef[e].ty;Ds[h]&&(o=new Ds[h].effect(n,t.effectsManager.effectElements[e],t,Fs+a,i),i=Fs+a,Ds[h].countsAsEffect)&&(a+=1),o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+P()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function Ls(){}function Vs(){}function Rs(){}function Bs(){}function Os(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function zs(t,e){this.elem=t,this.pos=e}function Ns(){}Is.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},Is.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},Ls.prototype={initRendererElement:function(){this.layerElement=E("g")},createContainerElements:function(){this.matteElement=E("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,i,s=null;this.data.td?(this.matteMasks={},(t=E("g")).setAttribute("id",this.layerId),t.appendChild(this.layerElement),this.globalData.defs.appendChild(s=t)):this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=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.ty||this.data.hd||(t=E("clipPath"),(i=E("path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),e=S(),t.setAttribute("id",e),t.appendChild(i),this.globalData.defs.appendChild(t),this.checkMasks()?((i=E("g")).setAttribute("clip-path","url("+P()+"#"+e+")"),i.appendChild(this.layerElement),this.transformedElement=i,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+P()+"#"+e+")")),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("op
1acity",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 Ts(this.data,this,this.globalData),this.renderableEffectsManager=new Is(this),this.searchEffectTransforms()},getMatte:function(t){var e,i,s,r,n,a,o,h,l;return this.matteMasks||(this.matteMasks={}),this.matteMasks[t]||(e=this.layerId+"_"+t,1===t||3===t?((a=E("mask")).setAttribute("id",e),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=E("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),Ms.maskType||1!==t||(a.setAttribute("mask-type","luminance"),i=S(),s=ws.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(ws.createAlphaToLuminanceFilter()),(n=E("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+P()+"#"+i+")"))):2===t&&((a=E("mask")).setAttribute("id",e),a.setAttribute("mask-type","alpha"),o=E("g"),a.appendChild(o),i=S(),s=ws.createFilter(i),(l=E("feComponentTransfer")).setAttribute("in","SourceGraphic"),s.appendChild(l),(h=E("feFuncA")).setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),l.appendChild(h),this.globalData.defs.appendChild(s),(l=E("rect")).setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),o.setAttribute("filter","url("+P()+"#"+i+")"),o.appendChild(l),(r=E("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),Ms.maskType||(a.setAttribute("mask-type","luminance"),s.appendChild(ws.createAlphaToLuminanceFilter()),n=E("g"),o.appendChild(l),n.appendChild(this.layerElement),o.appendChild(n)),this.globalData.defs.appendChild(a)),this.matteMasks[t]=e),this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+P()+"#"+t+")")}},Vs.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,[])}},y([ps,(Bs.prototype={initElement:function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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()}},Bs)],Rs),y([Ss,Cs,Ls,Vs,Es,Rs],Os),Os.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=E("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)},Os.prototype.sourceRectAtTime=function(){return this.sourceRect},Ns.prototype={addShapeToModifiers:function(t){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].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){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;0<=e&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);--e);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(i[--s].elem===t)return void(i[s].pos=e);i.push(new zs(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var Gs={1:"butt",2:"round",3:"square"},js={1:"miter",2:"round",3:"bevel"};function Hs(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}function qs(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=E("path"),this.msElem=null}function Ws(t,e,i,s){this.elem=t,this.frameId=-1,this.dataProps=x(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=q("float32",e.length?e.length-1:0),this.dashoffset=q("float32",1),this.initDynamicPropertyContainer(s);for(var r,n=e.length||0,a=0;a<n;a+=1)r=A.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function $s(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=A.getProp(t,e.o,0,.01,this),this.w=A.getProp(t,e.w,0,null,this),this.d=new Ws(t,e.d||{},"svg",this),this.c=A.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}function Xs(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=A.getProp(t,e.o,0,.01,this),this.c=A.getProp(t,e.c,1,255,this),this.style=i}function Ys(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function Js(t,e,i){this.data=e,this.c=q("uint8c",4*e.p);
vendor: 4,765 bytes, line 1
1var s=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=q("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=A.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function Us(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function Ks(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=A.getProp(t,e.w,0,null,this),this.d=new Ws(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}function Zs(){this.it=[],this.prevViewData=[],this.gr=E("g")}function Qs(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}Hs.prototype.setAsAnimated=function(){this._isAnimated=!0},qs.prototype.reset=function(){this.d="",this._mdf=!1},Ws.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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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}},y([v],Ws),y([v],$s),y([v],Xs),y([v],Ys),Js.prototype.comparePoints=function(t,e){for(var i=0,s=this.o.length/2;i<s;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=1}return!0},Js.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},Js.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){for(var e,i,s=4*this.data.p,r=0;r<s;r+=1)e=r%4==0?100:255,i=Math.round(this.prop.v[r]*e),this.c[r]!==i&&(this.c[r]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,r=4*this.data.p;r<s;r+=1)e=r%2==0?100:1,i=r%2==0?Math.round(100*this.prop.v[r]):this.prop.v[r],this.o[r-4*this.data.p]!==i&&(this.o[r-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},y([v],Js),Us.prototype.initGradientData=function(t,e,i){this.o=A.getProp(t,e.o,0,.01,this),this.s=A.getProp(t,e.s,1,null,this),this.e=A.getProp(t,e.e,1,null,this),this.h=A.getProp(t,e.h||{k:0},0,.01,this),this.a=A.getProp(t,e.a||{k:0},0,W,this),this.g=new Js(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},Us.prototype.setGradientData=function(t,e){for(var i,s=S(),r=E(1===e.t?"linearGradient":"radialGradient"),n=(r.setAttribute("id",s),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse"),[]),a=4*e.g.p,o=0;o<a;o+=4)i=E("stop"),r.appendChild(i),n.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+P()+"#"+s+")"),this.gf=r,this.cst=n},Us.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){for(var i,s,r=E("mask"),n=E("path"),a=(r.appendChild(n),S()),o=S(),h=(r.setAttribute("id",o),E(1===t.t?"linearGradient":"radialGradient")),l=(h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=(t.g.k.k[0].s||t.g.k.k).length,this.stops),p=4*t.g.p;p<s;p+=2)(i=E("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),l.push(i);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+P()+"#"+a+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",Gs[t.lc||2]),n.setAttribute("stroke-linejoin",js[t.lj||2]),1===t.lj)&&n.setAttribute("stroke-miterlimit",t.ml),this.of=h,this.ms=r,this.ost=l,this.maskId=o,e.msElem=n}},y([v],Us),y([Us,v],Ks);var tr,er,ir=function(t,e,i,s){if(0===e)return"";for(var r=t.o,n=t.i,a=t.v,o=" M"+s.applyToPointStringified(a[0][0],a[0][1]),h=1;h<e;h+=1)o+=" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[h][0],n[h][1])+" "+s.applyToPointStringified(a[h][0],a[h][1]);return o=i&&e?o+(" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(a[0][0],a[0][1]))+"z":o},sr=(tr=new o,er=new o,{createRenderFunction:function(t){switch(t.ty){case"fl":return or;case"gf":return lr;case"gs":return hr;case"st":return pr;case"sh":case"el":case"rc":case"sr":return ar;case"tr":return rr;case"no":return nr;default:return null}}});function rr(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("op
1acity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function nr(){}function ar(t,e,i){for(var s,r,n,a,o,h,l,p,f,c=e.styles.length,u=e.lvl,d=0;d<c;d+=1){if(a=e.sh._mdf||i,e.styles[d].lvl<u){for(l=er.reset(),p=u-e.styles[d].lvl,f=e.transformers.length-1;!a&&0<p;)a=e.transformers[f].mProps._mdf||a,--p,--f;if(a)for(p=u-e.styles[d].lvl,f=e.transformers.length-1;0<p;)l.multiply(e.transformers[f].mProps.v),--p,--f}else l=tr;if(r=(h=e.sh.paths)._length,a){for(n="",s=0;s<r;s+=1)(o=h.shapes[s])&&o._length&&(n+=ir(o,o._length,o.c,l));e.caches[d]=n}else n=e.caches[d];e.styles[d].d+=!0===t.hd?"":n,e.styles[d]._mdf=a||e.styles[d]._mdf}}function or(t,e,i){var s=e.style;(e.c._mdf||i)&&s.pElem.setAttribute("fill","rgb("+X(e.c.v[0])+","+X(e.c.v[1])+","+X(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("fill-opacity",e.o.v)}function hr(t,e,i){lr(t,e,i),pr(0,e,i)}function lr(t,e,i){var s,r,n,a,o=e.gf,h=e.g._hasOpacity,l=e.s.v,p=e.e.v;if((e.o._mdf||i)&&(n="gf"===t.ty?"fill-opacity":"stroke-opacity",e.style.pElem.setAttribute(n,e.o.v)),(e.s._mdf||i)&&(a="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",o.setAttribute(n,l[0]),o.setAttribute(a,l[1]),h)&&!e.g._collapsable&&(e.of.setAttribute(n,l[0]),e.of.setAttribute(a,l[1])),e.g._cmdf||i)for(var f=e.cst,c=e.g.c,u=f.length,d=0;d<u;d+=1)(s=f[d]).setAttribute("offset",c[4*d]+"%"),s.setAttribute("stop-color","rgb("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+")");if(h&&(e.g._omdf||i)){var m=e.g.o;for(u=(f=e.g._collapsable?e.cst:e.ost).length,d=0;d<u;d+=1)s=f[d],e.g._collapsable||s.setAttribute("offset",m[2*d]+"%"),s.setAttribute("stop-opacity",m[2*d+1])}1===t.t?(e.e._mdf||i)&&(o.setAttribute("x2",p[0]),o.setAttribute("y2",p[1]),h)&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])):((e.s._mdf||e.e._mdf||i)&&(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),o.setAttribute("r",r),h)&&!e.g._collapsable&&e.of.setAttribute("r",r),(e.e._mdf||e.h._mdf||e.a._mdf||i)&&(r=r||Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),n=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(a=e.h.v)?a=.99:a<=-1&&(a=-.99),t=r*a,i=Math.cos(n+e.a.v)*t+l[0],p=Math.sin(n+e.a.v)*t+l[1],o.setAttribute("fx",i),o.setAttribute("fy",p),h)&&!e.g._collapsable&&(e.of.setAttribute("fx",i),e.of.setAttribute("fy",p)))}function pr(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+X(e.c.v[0])+","+X(e.c.v[1])+","+X(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem)&&s.msElem.setAttribute("stroke-width",e.w.v)}function C(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function fr(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,m:!0,p:!0}}function T(t,e){this._frameId=-999999,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)}y([Ss,Cs,Ls,Ns,Vs,Es,Rs],C),C.prototype.initSecondaryElement=function(){},C.prototype.identityMatrix=new o,C.prototype.buildExpressionInterface=function(){},C.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},C.prototype.filterUniqueShapes=function(){for(var t,e,i,s=this.shapes.length,r=this.stylesList.length,n=[],a=!1,o=0;o<r;o+=1){for(i=this.stylesList[o],a=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),a=e._isAnimated||a);1<n.length&&a&&this.setShapesAsAnimated(n)}},C.prototype.setShapesAsAnimated=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].setAsAnimated()},C.prototype.createStyleElement=function(t,e){var i,e=new qs(t,e),s=e.pElem;return"st"===t.ty?i=new $s(this,t,e):"fl"===t.ty?i=new Xs(this,t,e):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?Us:Ks)(this,t,e),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+P()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new Ys(this,0,e)),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",Gs[t.lc||2]),s.setAttribute("stroke-linejoin",js[t.lj||2]),s.setAttribute("fill-opacity","0"),1!==t.lj)||s.setAttribute("stroke-miterlimit",t.ml),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=cs(t.bm)),this.stylesList.push(e),this.addToAnimatedContents(t,i),i},C.prototype.createGroupElement=function(t){var e=new Zs;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"]=cs(t.bm)),e},C.prototype.createTransformElement=function(t,e){var i=Si.getTransformProperty(this,t,this),i=new Qs(i,i.o,e);return this.addToAnimatedContents(t,i),i}
vendor: 54,856 bytes, line 1
1,C.prototype.createShapeElement=function(t,e,i){var s=4;"rc"===t.ty?s=5:"el"===t.ty?s=6:"sr"===t.ty&&(s=7);e=new Hs(e,i,Oe.getShapeProp(this,t,s,this));return this.shapes.push(e),this.addShapeToModifiers(e),this.addToAnimatedContents(t,e),e},C.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:sr.createRenderFunction(t),element:e,data:t})},C.prototype.setElementStyles=function(t){for(var e=t.styles,i=this.stylesList.length,s=0;s<i;s+=1)this.stylesList[s].closed||e.push(this.stylesList[s])},C.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},C.prototype.searchShapes=function(t,e,i,s,r,n,a){for(var o,h,l,p,f,c=[].concat(n),u=t.length-1,d=[],m=[],y=u;0<=y;--y){if((f=this.searchProcessedElement(t[y]))?e[y]=i[f-1]:t[y]._render=a,"fl"===t[y].ty||"st"===t[y].ty||"gf"===t[y].ty||"gs"===t[y].ty||"no"===t[y].ty)f?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r),t[y]._render&&e[y].style.pElem.parentNode!==s&&s.appendChild(e[y].style.pElem),d.push(e[y].style);else if("gr"===t[y].ty){if(f)for(h=e[y].it.length,o=0;o<h;o+=1)e[y].prevViewData[o]=e[y].it[o];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,r+1,c,a),t[y]._render&&e[y].gr.parentNode!==s&&s.appendChild(e[y].gr)}else"tr"===t[y].ty?(f||(e[y]=this.createTransformElement(t[y],s)),l=e[y].transform,c.push(l)):"sh"===t[y].ty||"rc"===t[y].ty||"el"===t[y].ty||"sr"===t[y].ty?(f||(e[y]=this.createShapeElement(t[y],c,r)),this.setElementStyles(e[y])):"tm"===t[y].ty||"rd"===t[y].ty||"ms"===t[y].ty||"pb"===t[y].ty||"zz"===t[y].ty||"op"===t[y].ty?(f?(p=e[y]).closed=!1:((p=_i.getModifier(t[y].ty)).init(this,t[y]),e[y]=p,this.shapeModifiers.push(p)),m.push(p)):"rp"===t[y].ty&&(f?(p=e[y]).closed=!0:(p=_i.getModifier(t[y].ty),(e[y]=p).init(this,t,y,e),this.shapeModifiers.push(p),a=!1),m.push(p));this.addProcessedElement(t[y],y+1)}for(u=d.length,y=0;y<u;y+=1)d[y].closed=!0;for(u=m.length,y=0;y<u;y+=1)m[y].closed=!0},C.prototype.renderInnerContent=function(){this.renderModifiers();for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},C.prototype.renderShape=function(){for(var t,e=this.animatedContents.length,i=0;i<e;i+=1)t=this.animatedContents[i],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},C.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},fr.prototype.update=function(t,e,i,s,r,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var a=this._mdf.p=!1;return this.o!==t&&(this.o=t,a=this._mdf.o=!0),this.sw!==e&&(this.sw=e,a=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this._mdf.sc=!0),this.fc!==s&&(this.fc=s,a=this._mdf.fc=!0),this.m!==r&&(this.m=r,a=this._mdf.m=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,a=this._mdf.p=!0),a},T.prototype.defaultBoxWidth=[0,0],T.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},T.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},T.prototype.searchProperty=function(){return this.searchKeyframes()},T.prototype.searchKeyframes=function(){return this.kf=1<this.data.d.k.length,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},T.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},T.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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;for(var s=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s,n=0;n<s;n+=1)r=i!==this.keysIndex?this.effectsSequence[n](r,r.t):this.effectsSequence[n](this.currentData,r.t);e!==r&&this.setCurrentData(r),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},T.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},T.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r<n;)a=o,o=!1,e=t.charCodeAt(r),h=t.charAt(r),rs.isCombinedCharacter(e)?a=!0:55296<=e&&e<=56319?rs.isRegionalFlag(t,r)?h=t.substr(r,14):56320<=(i=t.charCodeAt(r+1))&&i<=57343&&(rs.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=rs.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):56319<e?(i=t.charCodeAt(r+1),rs.isVariationSelector(e)&&(a=!0)):rs.isZeroWidthJoiner(e)&&(o=a=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},T.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n=this.elem.globalData.fontManager,a=this.data,o=[],h=0,l=a.m.g,p=0,f=0,c=0,u=[],d=0,m=0,y=n.getFontByName(t.f),g=0,v=Zi(y),b=(t.fWeight=v.weight,t.fStyle=v.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),S=t.finalText.length,t.finalLineHeight=t.lh,t.tr/1e3*t.finalSize);if(t.sz)for(var _=!0,R=t.sz[0],B=t.sz[1];_;){for(var P,x=0,d=0,S=(P=this.buildFinalText(t.t)).length,b=t.tr/1e3*t.finalSize,E=-1,A=0;A<S;A+=1)r=P[A].charCodeAt(0),e=!1," "===P[A]?E=A:13!==r&&3!==r||(e=!(d=0),x+=t.finalLineHeight||1.2*t.finalSize),R<d+(g=n.chars?(s=n.getCharData(P[A],y.fStyle,y.fFamily),e?0:s.w*t.finalSize/100):n.measureText(P[A],t.f,t.finalSize))&&" "!==P[A]?(-1===E?S+=1:A=E,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(A,E===A?1:0,"\r"),E=-1,d=0):d=d+g+b;x+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<x?(--t.finalSize,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,S=t.finalText.length,_=!1)}d=-b;var k,g=0,C=0;for(A=0;A<S;A+=1)if(e=!1,13===(r=(k=t.finalText[A]).charCodeAt(0))||3===r?(C=0,u.push(d),m=m<d?d:m,d=-2*b,e=!(i=""),c+=1):i=k,g=n.chars?(s=n.getCharData(k,y.fStyle,n.getFontByName(t.f).fFamily),e?0:s.w*t.finalSize/100):n.measureText(i,t.f,t.finalSize)," "===k?C+=g+b:(d+=g+b+C,C=0),o.push({l:g,an:g,add:p,n:e,anIndexes:[],val:i,line:c,animatorJustifyOffset:0}),2==l){if(p+=g,""===i||" "===i||A===S-1){for(""!==i&&" "!==i||(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;h+=1,p=0}}else if(3==l){if(p+=g,""===i||A===S-1){for(""===i&&(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;p=0,h+=1}}else o[h].ind=h,o[h].extra=0,h+=1;if(t.l=o,m=m<d?d:m,u.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=m,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;for(var T,w,M,D,F=a.a,O=F.length,I=[],L=0;L<O;L+=1){for((T=F[L]).a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),M=T.s.b,A=D=0;A<S;A+=1)(w=o[A]).anIndexes[L]=D,(1==M&&""!==w.val||2==M&&""!==w.val&&" "!==w.val||3==M&&(w.n||" "==w.val||A==S-1)||4==M&&(w.n||A==S-1))&&(1===T.s.rn&&I.push(D),D+=1);a.a[L].s.totalChars=D;var V,z=-1;if(1===T.s.rn)for(A=0;A<S;A+=1)z!=(w=o[A]).anIndexes[L]&&(z=w.anIndexes[L],V=I.splice(Math.floor(Math.random()*I.length),1)[0]),w.anIndexes[L]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},T.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s),i=this.copyData(i,t);this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},T.prototype.recalculate=function(t){t=this.data.d.k[t].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},T.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},T.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};cr=Math.max,ur=Math.min,dr=Math.floor,yr.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e,i,s=0,r=0,n=1,a=1,s=(0<this.ne.v?s=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?n=1-this.xe.v/100:a=1+this.xe.v/100,Wt.getBezierEasing(s,r,n,a).get),r=0,n=this.finalS,a=this.finalE,o=this.data.sh;return r=2===o?s(r=a===n?a<=t?1:0:cr(0,ur(.5/(a-n)+(t-n)/(a-n),1))):3===o?s(r=a===n?a<=t?0:1:1-cr(0,ur(.5/(a-n)+(t-n)/(a-n),1))):4===o?(a===n?r=0:(r=cr(0,ur(.5/(a-n)+(t-n)/(a-n),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5===o?s(r=a===n?0:(e=-(i=a-n)/2+(t=ur(cr(0,t+.5-n),a-n)),i=i/2,Math.sqrt(1-e*e/(i*i)))):(6===o?r=a===n?0:(t=ur(cr(0,t+.5-n),a-n),(1+Math.cos(Math.PI+2*Math.PI*t/(a-n)))/2):t>=dr(n)&&(r=cr(0,ur(t-n<0?ur(a,1)-(n-t):a-t,1))),s(r)),100!==this.sm.v&&(r<(i=.5-.5*(e=0===(e=.01*this.sm.v)?1e-8:e))?r=0:1<(r=(r-i)/e)&&(r=1)),r*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 t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,t=this.e.v/t+e;t<i&&(e=i,i=t,t=e),this.finalS=i,this.finalE=t}},y([v],yr);var cr,ur,dr,mr={getTextSelectorProp:function(t,e,i){return new yr(t,e)}};function yr(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=A.getProp(t,e.s||{k:0},0,0,this),"e"in e?this.e=A.getProp(t,e.e,0,0,this):this.e={v:100},this.o=A.getProp(t,e.o||{k:0},0,0,this),this.xe=A.getProp(t,e.xe||{k:0},0,0,this),this.ne=A.getProp(t,e.ne||{k:0},0,0,this),this.sm=A.getProp(t,e.sm||{k:100},0,0,this),this.a=A.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function gr(t,e,i){var s={propType:!1},r=A.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,W,i):s,rx:n.rx?r(t,n.rx,0,W,i):s,ry:n.ry?r(t,n.ry,0,W,i):s,sk:n.sk?r(t,n.sk,0,W,i):s,sa:n.sa?r(t,n.sa,0,W,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=mr.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function vr(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=x(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function w(){}vr.prototype.searchProperties=function(){for(var t,e=this._textData.a.length,i=A.getProp,s=0;s<e;s+=1)t=this._textData.a[s],this._animatorsData[s]=new gr(this._elem,t,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)},vr.prototype.getMeasures=function(t,R){if(this.lettersChangedFlag=R,this._mdf||this._isFirstFrame||R||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var e,i,s,B,r,n,a,o,h,O,l,z,p,f=this._moreOptions.alignment.v,c=this._animatorsData,u=this._textData,d=this.mHelper,N=this._renderType,G=this.renderedLetters.length,m=t.l;if(this._hasMaskedPath){if(p=this._pathData.m,!this._pathData.n||this._pathData._mdf){for(var y,g=p.v,v={tLength:0,segments:[]},b=(g=this._pathData.r.v?g.reverse():g)._length-1,_=l=0;_<b;_+=1)y=ht.buildBezierData(g.v[_],g.v[_+1],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[_+1][0]-g.v[_+1][0],g.i[_+1][1]-g.v[_+1][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength;_=b,p.v.c&&(y=ht.buildBezierData(g.v[_],g.v[0],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[0][0]-g.v[0][0],g.i[0][1]-g.v[0][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,e=this._pathData.f.v,r=1,B=!(s=n=0),h=v.segments,e<0&&p.v.c)for(v.tLength<Math.abs(e)&&(e=-Math.abs(e)%v.tLength),r=(o=h[n=h.length-1].points).length-1;e<0;)e+=o[r].partialLength,--r<0&&(r=(o=h[--n].points).length-1);a=(o=h[n].points)[r-1],O=(i=o[r]).partialLength}b=m.length;var P,j,x,S,H,q,E,A,k,C,T,W,$,X,Y,J,w=0,U=0,K=1.2*t.finalSize*.714,Z=!0,M=c.length,D=-1,Q=e,tt=n,et=r,it=-1,st="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var F=0,nt=0,at=2===t.j?-.5:-1,I=0,ot=!0;for(_=0;_<b;_+=1)if(m[_].n){for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1;ot=!(F=0)}else{for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(ot&&2===t.j&&(nt+=P.t.v*at),(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?F+=P.t.v*x[0]*at:F+=P.t.v*x*at);ot=!1}for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1}for(_=0;_<b;_+=1){if(d.reset(),E=1,m[_].n)w=0,U=U+t.yOffset+(Z?1:0),e=Q,Z=!1,this._hasMaskedPath&&(a=(o=h[n=tt].points)[(r=et)-1],O=(i=o[r]).partialLength,s=0),Y=W=X=st="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(it!==m[_].line){switch(t.j){case 1:e+=l-t.lineWidths[m[_].line];break;case 2:e+=(l-t.lineWidths[m[_].line])/2}it=m[_].line}D!==m[_].ind&&(m[D]&&(e+=m[D].extra),e+=m[_].an/2,D=m[_].ind),e+=f[0]*m[_].an*.005;for(var L=0,V=0;V<M;V+=1)(P=c[V].a).p.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.p.v[0]*x[0]:L+=P.p.v[0]*x),P.a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.a.v[0]*x[0]:L+=P.a.v[0]*x);for(B=!0,this._pathData.a.v&&(e=.5*m[0].an+(l-this._pathData.f.v-.5*m[0].an-.5*m[m.length-1].an)*D/(b-1),e+=this._pathData.f.v);B;)e+L<=s+O||!o?(z=(e+L-s)/i.partialLength,H=a.point[0]+(i.point[0]-a.point[0])*z,q=a.point[1]+(i.point[1]-a.point[1])*z,d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01),B=!1):o&&(s+=i.partialLength,(r+=1)>=o.length&&(r=0,o=h[n+=1]?h[n].points:p.v.c?h[n=r=0].points:(s-=i.partialLength,null)),o)&&(a=i,O=(i=o[r]).partialLength);S=m[_].an/2-m[_].add,d.translate(-S,0,0)}else S=m[_].an/2-m[_].add,d.translate(-S,0,0),d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01,0);for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),0!==w||0!==t.j)&&(this._hasMaskedPath?x.length?e+=P.t.v*x[0]:e+=P.t.v*x:x.length?w+=P.t.v*x[0]:w+=P.t.v*x);for(t.strokeWidthAnim&&(k=t.sw||0),t.strokeColorAnim&&(A=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(C=[t.fc[0],t.fc[1],t.fc[2]]),V=0;V<M;V+=1)(P=c[V].a).a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.translate(-P.a.v[0]*x[0],-P.a.v[1]*x[1],P.a.v[2]*x[2]):d.translate(-P.a.v[0]*x,-P.a.v[1]*x,P.a.v[2]*x));for(V=0;V<M;V+=1)(P=c[V].a).s.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.scale(1+(P.s.v[0]-1)*x[0],1+(P.s.v[1]-1)*x[1],1):d.scale(1+(P.s.v[0]-1)*x,1+(P.s.v[1]-1)*x,1));for(V=0;V<M;V+=1){if(P=c[V].a,x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),P.sk.propType&&(x.length?d.skewFromAxis(-P.sk.v*x[0],P.sa.v*x[1]):d.skewFromAxis(-P.sk.v*x,P.sa.v*x)),P.r.propType&&(x.length?d.rotateZ(-P.r.v*x[2]):d.rotateZ(-P.r.v*x)),P.ry.propType&&(x.length?d.rotateY(P.ry.v*x[1]):d.rotateY(P.ry.v*x)),P.rx.propType&&(x.length?d.rotateX(P.rx.v*x[0]):d.rotateX(P.rx.v*x)),P.o.propType&&(x.length?E+=(P.o.v*x[0]-E)*x[0]:E+=(P.o.v*x-E)*x),t.strokeWidthAnim&&P.sw.propType&&(x.length?k+=P.sw.v*x[0]:k+=P.sw.v*x),t.strokeColorAnim&&P.sc.propType)for(T=0;T<3;T+=1)x.length?A[T]+=(P.sc.v[T]-A[T])*x[0]:A[T]+=(P.sc.v[T]-A[T])*x;if(t.fillColorAnim&&t.fc){if(P.fc.propType)for(T=0;T<3;T+=1)x.length?C[T]+=(P.fc.v[T]-C[T])*x[0]:C[T]+=(P.fc.v[T]-C[T])*x;P.fh.propType&&(C=x.length?ft(C,P.fh.v*x[0]):ft(C,P.fh.v*x)),P.fs.propType&&(C=x.length?lt(C,P.fs.v*x[0]):lt(C,P.fs.v*x)),P.fb.propType&&(C=x.length?pt(C,P.fb.v*x[0]):pt(C,P.fb.v*x))}}for(V=0;V<M;V+=1)(P=c[V].a).p.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),this._hasMaskedPath?x.length?d.translate(0,P.p.v[1]*x[0],-P.p.v[2]*x[1]):d.translate(0,P.p.v[1]*x,-P.p.v[2]*x):x.length?d.translate(P.p.v[0]*x[0],P.p.v[1]*x[1],-P.p.v[2]*x[2]):d.translate(P.p.v[0]*x,P.p.v[1]*x,-P.p.v[2]*x));if(t.strokeWidthAnim&&(W=k<0?0:k),t.strokeColorAnim&&($="rgb("+Math.round(255*A[0])+","+Math.round(255*A[1])+","+Math.round(255*A[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*C[0])+","+Math.round(255*C[1])+","+Math.round(255*C[2])+")"),this._hasMaskedPath)d.translate(0,-t.ls),d.translate(0,f[1]*K*.01+U,0),this._pathData.p.v&&(J=(i.point[1]-a.point[1])/(i.point[0]-a.point[0]),J=180*Math.atan(J)/Math.PI,i.point[0]<a.point[0]&&(J+=180),d.rotate(-J*Math.PI/180)),d.translate(H,q,0),e-=f[0]*m[_].an*.005,m[_+1]&&D!==m[_+1].ind&&(e=(e+=m[_].an/2)+.001*t.tr*t.finalSize);else{switch(d.translate(w,U,0),t.ps&&d.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line]),0,0);break;case 2:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line])/2,0,0)}d.translate(0,-t.ls),d.translate(S,0,0),d.translate(f[0]*m[_].an*.005,f[1]*K*.01,0),w+=m[_].l+.001*t.tr*t.finalSize}"html"===N?st=d.toCSS():"svg"===N?st=d.to2dCSS():rt=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Y=E}G<=_?(j=new fr(Y,W,$,X,st,rt),this.renderedLetters.push(j),G+=1,this.lettersChangedFlag=!0):(j=this.renderedLetters[_],this.lettersChangedFlag=j.update(Y,W,$,X,st,rt)||this.lettersChangedFlag)}}},vr.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},vr.prototype.mHelper=new o,vr.prototype.defaultPropsArray=[],y([v],vr),w.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new T(this,t.t,this.dynamicProperties),this.textAnimator=new vr(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},w.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},w.prototype.createPathShape=function(t,e){for(var i,s=e.length,r="",n=0;n<s;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,r+=ir(i,i.i.length,!0,t));return r},w.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},w.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},w.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},w.prototype.applyTextPropertiesToMatrix=function(t,e,i,s,r){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(s,r,0)},w.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},w.prototype.emptyProp=new fr,w.prototype.destroy=function(){},w.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var br={shapes:[]};function M(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function _r(t,e,i){this.initElement(t,e,i)}function Pr(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function D(){}function F(){}function xr(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?x(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function Sr(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=E("svg");var t="",i=(e&&e.title&&(i=E("title"),s=S(),i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),t+=s),e&&e.description&&(i=E("desc"),s=S(),i.setAttribute("id",s),i.textContent=e.description,this.svgElement.appendChild(i),t+=" "+s),t&&this.svgElement.setAttribute("aria-labelledby",t),E("defs")),s=(this.svgElement.appendChild(i),E("g"));this.svgElement.appendChild(s),this.layerElement=s,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:i,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return y([Ss,Cs,Ls,Vs,Es,Rs,w],M),M.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=E("text"))},M.prototype.buildTextContents=function(t){for(var e=0,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},M.prototype.buildShapeData=function(t,e){var i;return t.shapes&&t.shapes.length&&(i=t.shapes[0]).it&&(i=i.it[i.it.length-1]).s&&(i.s.k[0]=e,i.s.k[1]=e),t},M.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData,s=(this.renderedLetters=x(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize),this.globalData.fontManager.getFontByName(i.f)),r=(s.fClass?this.layerElement.setAttribute("class",s.fClass):(this.layerElement.setAttribute("font-family",s.fFamily),t=i.fWeight,e=i.fStyle,this.layerElement.setAttribute("font-style",e),this.layerElement.setAttribute("font-weight",t)),this.layerElement.setAttribute("aria-label",i.t),i.l||[]),n=!!this.globalData.fontManager.chars;_=r.length;var a=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*i.tr*i.finalSize;if(!o||n||i.sz){var c,u,d,m,y=this.textSpans.length;for(P=0;P<_;P+=1)this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),n&&o&&0!==P||(c=P<y?this.textSpans[P].span:E(n?"g":"text"),y<=P&&(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=c,n&&(m=E("g"),c.appendChild(m),this.textSpans[P].childSpan=m),this.textSpans[P].span=c,this.layerElement.appendChild(c)),c.style.display="inherit"),a.reset(),o&&(r[P].n&&(h=-f,l=l+i.yOffset+(p?1:0),p=!1),this.applyTextPropertiesToMatrix(i,a,r[P].line,h,l),h=h+(r[P].l||0)+f),n?(u=1===(m=this.globalData.fontManager.getCharData(i.finalText[P],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t?new xr(m.data,this.globalData,this):(u=br,new C(u=m.data&&m.data.shapes?this.buildShapeData(m.data,i.finalSize):u,this.globalData,this)),this.textSpans[P].glyph&&(d=this.textSpans[P].glyph,this.textSpans[P].childSpan.removeChild(d.layerElement),d.destroy()),(this.textSpans[P].glyph=u)._debug=!0,u.prepareFrame(0),u.renderFrame(),this.textSpans[P].childSpan.appendChild(u.layerElement),1===m.t&&this.textSpans[P].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")):(o&&c.setAttribute("transform","translate("+a.props[12]+","+a.props[13]+")"),c.textContent=r[P].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));o&&c&&c.setAttribute("d","")}else{var g=this.textContainer,v="start";switch(i.j){case 1:v="end";break;case 2:v="middle";break;default:v="start"}g.setAttribute("text-anchor",v),g.setAttribute("letter-spacing",f);for(var b=this.buildTextContents(i.finalText),_=b.length,l=i.ps?i.ps[1]+i.ascent:0,P=0;P<_;P+=1)(c=this.textSpans[P].span||E("tspan")).textContent=b[P],c.setAttribute("x",0),c.setAttribute("y",l),c.style.display="inherit",g.appendChild(c),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=c,l+=i.finalLineHeight;this.layerElement.appendChild(g)}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0},M.prototype.sourceRectAtTime=function(){var t;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged&&(this._sizeChanged=!1,t=this.layerElement.getBBox(),this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}),this.bbox},M.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf)&&(this._mdf=!0)},M.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;for(var t,e,i,s=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l,n=r.length,a=0;a<n;a+=1)r[a].n||(t=s[a],e=this.textSpans[a].span,(i=this.textSpans[a].glyph)&&i.renderFrame(),t._mdf.m&&e.setAttribute("transform",t.m),t._mdf.o&&e.setAttribute("opacity",t.o),t._mdf.sw&&e.setAttribute("stroke-width",t.sw),t._mdf.sc&&e.setAttribute("stroke",t.sc),t._mdf.fc&&e.setAttribute("fill",t.fc))}},y([Os],_r),_r.prototype.createContent=function(){var t=E("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},Pr.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Pr.prototype.renderFrame=function(){},Pr.prototype.getBaseElement=function(){return null},Pr.prototype.destroy=function(){},Pr.prototype.sourceRectAtTime=function(){},Pr.prototype.hide=function(){},y([Ss,Cs,Vs,Es],Pr),y([_],D),D.prototype.createNull=function(t){return new Pr(t,this.globalData,this)},D.prototype.createShape=function(t){return new C(t,this.globalData,this)},D.prototype.createText=function(t){return new M(t,this.globalData,this)},D.prototype.createImage=function(t){return new Os(t,this.globalData,this)},D.prototype.createSolid=function(t){return new _r(t,this.globalData,this)},D.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,i=(this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t,E("clipPath")),s=E("rect"),r=(s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0),S());i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+P()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=x(t.layers.length)},D.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},D.prototype.updateContainerSize=function(){},D.prototype.findIndexByInd=function(t){for(var e=0,i=this.layers.length,e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},D.prototype.buildItem=function(t){var e,i,s=this.elements;s[t]||99===this.layers[t].ty||(s[t]=!0,e=this.createItem(this.layers[t]),s[t]=e,ut()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&-1!==(i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1)&&(this.elements[i]&&!0!==this.elements[i]?(s=s[i].getMatte(this.layers[t].tt),e.setMatte(s)):(this.buildItem(i),this.addPendingElement(e))))},D.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[s].getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},D.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){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 e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},D.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)}},D.prototype.hide=function(){this.layerElement.style.display="none"},D.prototype.show=function(){this.layerElement.style.display="block"},y([Ss,Cs,Vs,Es,Rs],F),F.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},F.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){this.tm._placeholder?this.renderedFrame=t/this.data.sr:((t=this.tm.v)===this.data.op&&(t=this.data.op-1),this.renderedFrame=t);var e,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=t-1;0<=e;--e)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf)&&(this._mdf=!0)}},F.prototype.renderInnerContent=function(){for(var t=this.layers.length,e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},F.prototype.setElements=function(t){this.elements=t},F.prototype.getElements=function(){return this.elements},F.prototype.destroyElements=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},F.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},y([D,F,Ls],xr),xr.prototype.createComp=function(t){return new xr(t,this.globalData,this)},y([D],Sr),Sr.prototype.createComp=function(t){return new xr(t,this.globalData,this)},Lt["svg"]=Sr,_i.registerModifier("tm",p),_i.registerModifier("pb",Pi),_i.registerModifier("rp",c),_i.registerModifier("rd",Ai),_i.registerModifier("zz",Gi),_i.registerModifier("op",Ki),t},"object"==_typeof2(t=Er)&&_typeof2(Ar)<"u"?Ar.exports=e():"function"==typeof define&&define.amd?define(e):(t=("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:t||self).lottie=e())}),bc=vc()}),_l={};fr(_l,{default:function(){return xc}});var _c,xc,xl=ls(function(){qs(),_c=is(function(exports,module){("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&function(t,e){"object"==_typeof2(exports)&&_typeof2(module)<"u"?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:t||self).lottie=e()}(exports,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(t){for(var e=this.audios.length,i=0;i<e;i+=1)this.audios[i].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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function i(t,e){var i,s=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(s=0;s<e;s+=1)r.push(i);return r}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):i(t,e)}:i}();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})(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMin=Math.min,BMMath={},defaultCurveSegments=(function(){for(var t=["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"],e=t.length,i=0;i<e;i+=1)BMMath[t[i]]=Math[t[i]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){for(var e=createSizedArray(t.length),i=t.length,s=0;s<i;s+=1)e[s]=Math.abs(t[s]);return e}return Math.abs(t)},150),degToRads=Math.PI/180,roundCorner=.5519;function BMEnterFrameEvent(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}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}var createElementID=function(){var t=0;return function(){return idPrefix$1+"__lottie_element_"+(t+=1)}}();function HSVtoRGB(t,e,i){var s,r,n,a=Math.floor(6*t),t=6*t-a,o=i*(1-e),h=i*(1-t*e),l=i*(1-(1-t)*e);switch(a%6){case 0:s=i,r=l,n=o;break;case 1:s=h,r=i,n=o;break;case 2:s=o,r=i,n=l;break;case 3:s=o,r=h,n=i;break;case 4:s=l,r=o,n=i;break;case 5:s=i,r=o,n=h}return[s,r,n]}function RGBtoHSV(t,e,i){var s,r=Math.max(t,e,i),n=Math.min(t,e,i),a=r-n,o=0===r?0:a/r,h=r/255;switch(r){case n:s=0;break;case t:s=e-i+a*(e<i?6:0),s/=6*a;break;case e:s=i-t+2*a,s/=6*a;break;case i:s=t-e+4*a,s/=6*a}return[s,o,h]}function addSaturationToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[1]+=e,1<t[1]?t[1]=1:t[1]<=0&&(t[1]=0),HSVtoRGB(t[0],t[1],t[2])}function addBrightnessToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[2]+=e,1<t[2]?t[2]=1:t[2]<0&&(t[2]=0),HSVtoRGB(t[0],t[1],t[2])}function addHueToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[0]+=e/360,1<t[0]?--t[0]:t[0]<0&&(t[0]+=1),HSVtoRGB(t[0],t[1],t[2])}var rgbToHex=function(){for(var t,s=[],e=0;e<256;e+=1)t=e.toString(16),s[e]=1===t.length?"0"+t:t;return function(t,e,i){return"#"+s[t=t<0?0:t]+s[e=e<0?0:e]+s[i=i<0?0:i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(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})(t)}var dataManager=function(){var i,s,r=1,n=[],a={onmessage:function(){},postMessage:function(t){i({data:t})}},o={postMessage:function(t){a.onmessage({data:t})}};function h(){var t,e;s||(t=function(e){function t(){function p(t,e){for(var i,s,r,n=t.length,a=0;a<n;a+=1)if("ks"in(r=t[a])&&!r.completed){if(r.completed=!0,r.hasMask)for(var o=r.masksProperties,h=o.length,l=0;l<h;l+=1)if(o[l].pt.k.i)u(o[l].pt.k);else for(s=o[l].pt.k.length,i=0;i<s;i+=1)o[l].pt.k[i].s&&u(o[l].pt.k[i].s[0]),o[l].pt.k[i].e&&u(o[l].pt.k[i].e[0]);0===r.ty?(r.layers=f(r.refId,e),p(r.layers,e)):4===r.ty?c(r.shapes):5===r.ty&&0===(r=r).t.a.length&&0 in r.t.p}}function f(t,e){t=function(t,e){for(var i=0,s=e.length;i<s;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return t?t.layers.__used?JSON.parse(JSON.stringify(t.layers)):(t.layers.__used=!0,t.layers):null}function c(t){for(var e,i,s=t.length-1;0<=s;--s)if("sh"===t[s].ty)if(t[s].ks.k.i)u(t[s].ks.k);else for(i=t[s].ks.k.length,e=0;e<i;e+=1)t[s].ks.k[e].s&&u(t[s].ks.k[e].s[0]),t[s].ks.k[e].e&&u(t[s].ks.k[e].e[0]);else"gr"===t[s].ty&&c(t[s].it)}function u(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function r(t,e){e=e?e.split("."):[100,100,100];return t[0]>e[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],t[2],0)))}h=[4,4,14];var s,n,a,o,h,l=function(t){if(r(h,t.v)&&(P(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&P(t.assets[i].layers)},d=(o=[4,7,99],function(t){if(t.chars&&!r(o,t.v))for(var e=t.chars.length,i=0;i<e;i+=1){var s=t.chars[i];s.data&&s.data.shapes&&(c(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}},t.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"})))}}),m=(a=[5,7,15],function(t){if(r(a,t.v)&&(_(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&_(t.assets[i].layers)}),y=(n=[4,1,9],function(t){if(r(n,t.v)&&(b(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&b(t.assets[i].layers)}),g=(s=[4,4,18],function(t){if(r(s,t.v)&&(v(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&v(t.assets[i].layers)});function v(t){for(var e,i,s,r=t.length,n=0;n<r;n+=1){if((e=t[n]).hasMask)for(var a=e.masksProperties,o=a.length,h=0;h<o;h+=1)if(a[h].pt.k.i)a[h].pt.k.c=a[h].cl;else for(s=a[h].pt.k.length,i=0;i<s;i+=1)a[h].pt.k[i].s&&(a[h].pt.k[i].s[0].c=a[h].cl),a[h].pt.k[i].e&&(a[h].pt.k[i].e[0].c=a[h].cl);4===e.ty&&function t(e){for(var i,s,r=e.length-1;0<=r;--r)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(s=e[r].ks.k.length,i=0;i<s;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}(e.shapes)}}function b(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&function t(e){for(var i,s,r=e.length,n=0;n<r;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(s=e[n].c.k.length,i=0;i<s;i+=1)e[n].c.k[i].s&&(e[n].c.k[i].s[0]/=255,e[n].c.k[i].s[1]/=255,e[n].c.k[i].s[2]/=255,e[n].c.k[i].s[3]/=255),e[n].c.k[i].e&&(e[n].c.k[i].e[0]/=255,e[n].c.k[i].e[1]/=255,e[n].c.k[i].e[2]/=255,e[n].c.k[i].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}(t[i].shapes)}function _(t){for(var e,i=t.length,s=0;s<i;s+=1)5===t[s].ty&&("number"==typeof(e=(e=t[s]).t.p).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 P(t){for(var e,i,s=t.length,r=0;r<s;r+=1)5===t[r].ty&&(e=t[r],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}var t={};return t.completeData=function(t){if(!t.__complete){y(t),l(t),d(t),m(t),g(t),p(t.layers,t.assets);var e=t.chars,i=t.assets;if(e)for(var s=0,r=e.length,s=0;s<r;s+=1)1===e[s].t&&(e[s].data.layers=f(e[s].data.refId,i),p(e[s].data.layers,i));t.__complete=!0}},t.checkColors=y,t.checkChars=d,t.checkPathProperties=m,t.checkShapes=g,t.completeLayers=p,t}var i;function a(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}o.dataManager||(o.dataManager=t()),o.assetLoader||(o.assetLoader={load:function(e,i,t,s){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)r=a(n),t(r);else try{r=a(n),t(r)}catch(t){s&&s(t)}};try{n.open(["G","E","T"].join(""),e,!0)}catch(t){n.open(["G","E","T"].join(""),i+"/"+e,!0)}n.send()}}),"loadAnimation"===e.data.type?o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})}):"complete"===e.data.type?(i=e.data.animation,o.dataManager.completeData(i),o.postMessage({id:e.data.id,payload:i,status:"success"})):"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})})},(s=window.Worker&&window.Blob&&getWebWorker()?(e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),e=URL.createObjectURL(e),new Worker(e)):(i=t,a)).onmessage=function(t){var t=t.data,e=t.id,i=n[e];n[e]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function l(t,e){var i="processId_"+(r+=1);return n[i]={onComplete:t,onError:e},i}return{loadAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},loadData:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},completeAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"complete",animation:t,id:e})}}}(),ImagePreloader=function(){(t=createTag("canvas")).width=1,t.height=1,(e=t.getContext("2d")).fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1);var t,e,r=t;function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,i){var s="";return s=t.e?t.p:e?e+(e=-1!==(e=t.p).indexOf("images/")?e.split("/")[1]:e):(s=i,(s+=t.u||"")+t.p)}function a(){this._imageLoaded=i.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=function(t){var e=0,i=setInterval(function(){(t.getBBox().width||500<e)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}.bind(this),this.createFootageData=function(t){var e={assetData:t},t=n(t,this.assetsPath,this.path);return dataManager.loadData(t,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;for(var i=t.length,s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},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,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=n(t,this.assetsPath,this.path),i=createTag("img"),s=(i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.src=e,{img:i,assetData:t});return s},createImageData:function(t){var e=n(t,this.assetsPath,this.path),i=createNS("image"),s=(isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i),{img:i,assetData:t});return s},imageLoaded:i,footageLoaded:s,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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 i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--s),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(e){for(var t=[],i=0;i<e.length;i+=1){var s=e[i],s={time:s.tm,duration:s.dr};try{s.payload=JSON.parse(e[i].cm)}catch(t){try{s.payload=function(t){for(var e,i=t.split("\r\n"),s={},r=0,n=0;n<i.length;n+=1)2===(e=i[n].split(":")).length&&(s[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return s}(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}t.push(s)}return t},ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(t){for(var e=0,i=this.compositions.length;e<i;){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 t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),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})(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()},animationManager=(extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg",i=(t.animType?e=t.animType:t.renderer&&(e=t.renderer),getRenderer(e));this.renderer=new i(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||"",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){var e={wrapper:t,animationData:e=e&&"object"!==_typeof$4(e)?JSON.parse(e):e},t=t.attributes,i=(e.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",e.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas",t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:""),i=("false"===i?e.loop=!1:"true"===i?e.loop=!0:""!==i&&(e.loop=parseInt(i,10)),t.getNamedItem("data-anim-
1autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value);e.autoplay="false"!==i,e.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(e.prerender=!1),e.path?this.setParams(e):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));for(var e,i=this.animationData.layers,s=i.length,r=t.layers,n=r.length,a=0;a<n;a+=1)for(e=0;e<s;){if(i[e].id===r[a].id){i[e]=r[a];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(s=t.assets.length,e=0;e<s;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;t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;t&&0!==t.length&&this.autoloadSegments?(t=t.shift(),this.timeCompleted=t.time*this.frameRate,t=this.path+this.fileName+"_"+this.segmentPos+".json",this.segmentPos+=1,dataManager.loadData(t,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))):(this.trigger("data_ready"),this.timeCompleted=this.totalFrames)},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(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){var t;!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,(t=getExpressionsPlugin())&&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){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},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
vendor: 3,312 bytes, line 1
1(),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,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){i&&this.name!==i||(i=Number(t),isNaN(i)?(i=this.getMarkerData(t))&&this.goToAndStop(i.time,!0):e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,i){var s;i&&this.name!==i||(s=Number(t),isNaN(s)?(t=this.getMarkerData(t))&&(t.duration?this.playSegments([t.time,t.time+t.duration],!0):this.goToAndStop(t.time,!0)):this.goToAndStop(s,e,i),this.play())},AnimationItem.prototype.advanceTime=function(t){var e;!0!==this.isPaused&&!1!==this.isLoaded&&(e=!1,(t=this.currentRawFrame+t*this.frameModifier)>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e)&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0]))for(var i=t.length,s=0;s<i;s+=1)this.segments.push(t[s
vendor: 4,249 bytes, line 1
1]);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,i="";return i=t.e?t.p:this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),this.assetsPath+e):(i=this.path,(i+=t.u||"")+t.p)},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){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,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},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){t=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(t){t=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},
vendor: 93,584 bytes, line 1
1function(){var t={},r=[],s=0,n=0,a=0,o=!0,h=!1;function i(t){for(var e=0,i=t.target;e<n;)r[e].animation===i&&(r.splice(e,1),--e,--n,i.isPaused||f()),e+=1}function l(t,e){if(!t)return null;for(var i=0;i<n;){if(r[i].elem===t&&null!==r[i].elem)return r[i].animation;i+=1}var s=new AnimationItem;return c(s,t),s.setData(t,e),s}function p(){a+=1,d()}function f(){--a}function c(t,e){t.addEventListener("destroy",i),t.addEventListener("_active",p),t.addEventListener("_idle",f),r.push({elem:e,animation:t}),n+=1}function u(t){for(var e=t-s,i=0;i<n;i+=1)r[i].animation.advanceTime(e);s=t,a&&!h?window.requestAnimationFrame(u):o=!0}function e(t){s=t,window.requestAnimationFrame(u)}function d(){!h&&a&&o&&(window.requestAnimationFrame(e),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return c(e,null),e.setParams(t),e},t.setSpeed=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setSpeed(t,e)},t.setDirection=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setDirection(t,e)},t.play=function(t){for(var e=0;e<n;e+=1)r[e].animation.play(t)},t.pause=function(t){for(var e=0;e<n;e+=1)r[e].animation.pause(t)},t.stop=function(t){for(var e=0;e<n;e+=1)r[e].animation.stop(t)},t.togglePause=function(t){for(var e=0;e<n;e+=1)r[e].animation.togglePause(t)},t.searchAnimations=function(t,e,i){for(var s,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=r.length,a=0;a<n;a+=1)i&&r[a].setAttribute("data-bm-type",i),l(r[a],t);e&&0===n&&(i=i||"svg",(e=document.getElementsByTagName("body")[0]).innerText="",(s=createTag("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),e.appendChild(s),l(s,t))},t.resize=function(){for(var t=0;t<n;t+=1)r[t].animation.resize()},t.goToAndStop=function(t,e,i){for(var s=0;s<n;s+=1)r[s].animation.goToAndStop(t,e,i)},t.destroy=function(t){for(var e=n-1;0<=e;--e)r[e].animation.destroy(t)},t.freeze=function(){h=!0},t.unfreeze=function(){h=!1,d()},t.setVolume=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setVolume(t,e)},t.mute=function(t){for(var e=0;e<n;e+=1)r[e].animation.mute(t)},t.unmute=function(t){for(var e=0;e<n;e+=1)r[e].animation.unmute(t)},t.getRegisteredAnimations=function(){for(var t=r.length,e=[],i=0;i<t;i+=1)e.push(r[i].animation);return e},t}()),BezierFactory=function(){var t={getBezierEasing:function(t,e,i,s,r){r=r||("bez_"+t+"_"+e+"_"+i+"_"+s).replace(/\./g,"p");return n[r]||(t=new a([t,e,i,s]),n[r]=t)}},n={};var S=11,E=1/(S-1),e="function"==typeof Float32Array;function s(t,e){return 1-3*e+3*t}function A(t,e,i){return((s(e,i)*t+(3*i-6*e))*t+3*e)*t}function k(t,e,i){return 3*s(e,i)*t*t+2*(3*i-6*e)*t+3*e}function a(t){this._p=t,this._mSampleValues=new(e?Float32Array:Array)(S),this._precomputed=!1,this.get=this.get.bind(this)}return a.prototype={get:function(t){var e=this._p[0],i=this._p[1],s=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&s===r?t:0===t?0:1===t?1:A(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],s=this._p[3];this._precomputed=!0,t===e&&i===s||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<S;++i)this._mSampleValues[i]=A(i*E,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,r=0,n=1,a=S-1;n!==a&&s[n]<=t;++n)r+=E;var o=r+(t-s[--n])/(s[n+1]-s[n])*E,h=k(o,e,i);if(.001<=h){for(var l=t,p=o,f=e,c=i,u=0;u<4;++u){var d=k(p,f,c);if(0===d)return p;p-=(A(p,f,c)-l)/d}return p}if(0===h)return o;for(var m,y,g=t,v=r,b=r+E,_=e,P=i,x=0;0<(m=A(y=v+(b-v)/2,_,P)-g)?b=y:v=y,1e-7<Math.abs(m)&&++x<10;);return y}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,i){var s=0,r=t,n=createSizedArray(r);return{newElement:function(){var t;return t=s?n[--s]:e(),t},release:function(t){s===r&&(n=pooling.double(n),r*=2),i&&i(t),n[s]=t,s+=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){for(var e=t.lengths.length,i=0;i<e;i+=1)bezierLengthPool.release(t.lengths[i]);t.lengths.length=0});function bezFunction(){var k=Math;function y(t,e,i,s,r,n){r=t*s+e*r+i*n-r*s-n*t-i*e;return-.001<r&&r<.001}var p=function(t,e,i,s){for(var r,n,a,o,h=getDefaultCurveSegments(),l=0,p=[],f=[],c=bezierLengthPool.newElement(),u=i.length,d=0;d<h;d+=1){for(a=d/(h-1),r=o=0;r<u;r+=1)n=bmPow(1-a,3)*t[r]+3*bmPow(1-a,2)*a*i[r]+3*(1-a)*bmPow(a,2)*s[r]+bmPow(a,3)*e[r],p[r]=n,null!==f[r]&&(o+=bmPow(p[r]-f[r],2)),f[r]=p[r];o&&(l+=o=bmSqrt(o)),c.percents[d]=a,c.lengths[d]=l}return c.addedLength=l,c};function g(t){this.segmentLength=0,this.points=new Array(t)}function v(t,e){this.partialLength=t,this.point=e}function t(t,e,i,s){var r=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!b[r]){for(var n,a,o,h,l,p=getDefaultCurveSegments(),f=0,c=null,u=new g(p=2===t.length&&(t[0]!==e[0]||t[1]!==e[1])&&y(t[0],t[1],e[0],e[1],t[0]+i[0],t[1]+i[1])&&y(t[0],t[1],e[0],e[1],e[0]+s[0],e[1]+s[1])?2:p),d=i.length,m=0;m<p;m+=1){for(l=createSizedArray(d),o=m/(p-1),n=h=0;n<d;n+=1)a=bmPow(1-o,3)*t[n]+3*bmPow(1-o,2)*o*(t[n]+i[n])+3*(1-o)*bmPow(o,2)*(e[n]+s[n])+bmPow(o,3)*e[n],l[n]=a,null!==c&&(h+=bmPow(l[n]-c[n],2));f+=h=bmSqrt(h),u.points[m]=new v(h,l),c=l}u.segmentLength=f,b[r]=u}return b[r]}var b;b={};function C(t,e){var i=e.percents,s=e.lengths,r=i.length,n=bmFloor((r-1)*t),a=t*e.addedLength,o=0;if(n===r-1||0===n||a===s[n])return i[n];for(var h=s[n]>a?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||r-1<=n){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}var T=createTypedArray("float32",8);return{getSegmentsLength:function(t){for(var e=segmentsLengthPool.newElement(),i=t.c,s=t.v,r=t.o,n=t.i,a=t._length,o=e.lengths,h=0,l=0;l<a-1;l+=1)o[l]=p(s[l],s[l+1],r[l],n[l+1]),h+=o[l].addedLength;return i&&a&&(o[l]=p(s[l],s[0],r[l],n[0]),h+=o[l].addedLength),e.totalLength=h,e},getNewSegment:function(t,e,i,s,r,n,a){r<0?r=0:1<r&&(r=1);for(var r=C(r,a),n=C(n=1<n?1:n,a),o=t.length,h=1-n,l=(a=1-r)*a*a,p=r*a*a*3,f=r*r*a*3,c=r*r*r,u=a*a*h,d=r*a*h+a*r*h+a*a*n,m=r*r*h+a*r*n+r*a*n,y=r*r*n,g=a*h*h,v=r*h*h+a*n*h+a*h*n,b=r*n*h+a*n*n+r*h*n,_=r*n*n,P=h*h*h,x=n*h*h+h*n*h+h*h*n,S=n*n*h+h*n*n+n*h*n,E=n*n*n,A=0;A<o;A+=1)T[4*A]=k.round(1e3*(l*t[A]+p*i[A]+f*s[A]+c*e[A]))/1e3,T[4*A+1]=k.round(1e3*(u*t[A]+d*i[A]+m*s[A]+y*e[A]))/1e3,T[4*A+2]=k.round(1e3*(g*t[A]+v*i[A]+b*s[A]+_*e[A]))/1e3,T[4*A+3]=k.round(1e3*(P*t[A]+x*i[A]+S*s[A]+E*e[A]))/1e3;return T},getPointInSegment:function(t,e,i,s,r,n){return r=C(r,n),n=1-r,[k.round(1e3*(n*n*n*t[0]+(r*n*n+n*r*n+n*n*r)*i[0]+(r*r*n+n*r*r+r*n*r)*s[0]+r*r*r*e[0]))/1e3,k.round(1e3*(n*n*n*t[1]+(r*n*n+n*r*n+n*n*r)*i[1]+(r*r*n+n*r*r+r*n*r)*s[1]+r*r*r*e[1]))/1e3]},buildBezierData:t,pointOnLine2D:y,pointOnLine3D:function(t,e,i,s,r,n,a,o,h){var l;return 0===i&&0===n&&0===h?y(t,e,s,r,a,o):(l=k.sqrt(k.pow(s-t,2)+k.pow(r-e,2)+k.pow(n-i,2)),t=k.sqrt(k.pow(a-t,2)+k.pow(o-e,2)+k.pow(h-i,2)),e=k.sqrt(k.pow(a-s,2)+k.pow(o-r,2)+k.pow(h-n,2)),-1e-4<(i=t<l?e<l?l-t-e:e-t-l:t<e?e-t-l:t-l-e)&&i<1e-4)}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));for(var r,n,a=e.lastIndex,o=a,h=this.keyframes.length-1,l=!0;l;){if(r=this.keyframes[o],n=this.keyframes[o+1],o===h-1&&t>=n.t-s){r.h&&(r=n),a=0;break}if(n.t-s>t){a=o;break}o<h-1?o+=1:(a=0,l=!1)}var p,f=this.keyframesMetadata[o]||{},c=n.t-s,u=r.t-s;if(r.to){f.bezierData||(f.bezierData=bez.buildBezierData(r.s,n.s||r.e,r.to,r.ti));var d=f.bezierData;if(c<=t||t<u)for(var m=c<=t?d.points.length-1:0,y=d.points[m].point.length,g=0;g<y;g+=1)i[g]=d.points[m].point[g];else{f.__fnct?p=f.__fnct:(p=BezierFactory.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,f.__fnct=p);for(var v,b=p((t-u)/(c-u)),_=d.segmentLength*b,P=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastAddedLength:0,x=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastPoint:0,l=!0,S=d.points.length;l;){if(P+=d.points[x].partialLength,0==_||0===b||x===d.points.length-1){for(y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g];break}if(P<=_&&_<P+d.points[x+1].partialLength){for(v=(_-P)/d.points[x+1].partialLength,y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g]+(d.points[x+1].point[g]-d.points[x].point[g])*v;break}x<S-1?x+=1:l=!1}e._lastPoint=x,e._lastAddedLength=P-d.points[x].partialLength,e._lastKeyframeIndex=o}}else{var E,A,k,C,T,h=r.s.length,w=n.s||r.e;if(this.sh&&1!==r.h)c<=t?(i[0]=w[0],i[1]=w[1],i[2]=w[2]):t<=u?(i[0]=r.s[0],i[1]=r.s[1],i[2]=r.s[2]):quaternionToEuler(i,slerp(createQuaternion(r.s),createQuaternion(w),(t-u)/(c-u)));else for(o=0;o<h;o+=1)1!==r.h&&(b=c<=t?1:t<u?0:(r.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[o]?p=f.__fnct[o]:(E=void 0===r.o.x[o]?r.o.x[0]:r.o.x[o],A=void 0===r.o.y[o]?r.o.y[0]:r.o.y[o],k=void 0===r.i.x[o]?r.i.x[0]:r.i.x[o],C=void 0===r.i.y[o]?r.i.y[0]:r.i.y[o],p=BezierFactory.getBezierEasing(E,A,k,C).get,f.__fnct[o]=p)):f.__fnct?p=f.__fnct:(E=r.o.x,A=r.o.y,k=r.i.x,C=r.i.y,p=BezierFactory.getBezierEasing(E,A,k,C).get,r.keyframeMetadata=p),p((t-u)/(c-u)))),w=n.s||r.e,T=1===r.h?r.s[o]:r.s[o]+(w[o]-r.s[o])*b,"multidimensional"===this.propType?i[o]=T:i=T}return e.lastIndex=a,i}function slerp(t,e,i){var s,r,n=[],a=t[0],o=t[1],h=t[2],t=t[3],l=e[0],p=e[1],f=e[2],e=e[3],c=a*l+o*p+h*f+t*e;return c<0&&(c=-c,l=-l,p=-p,f=-f,e=-e),c=1e-6<1-c?(c=Math.acos(c),s=Math.sin(c),r=Math.sin((1-i)*c)/s,Math.sin(i*c)/s):(r=1-i,i),n[0]=r*a+c*l,n[1]=r*o+c*p,n[2]=r*h+c*f,n[3]=r*t+c*e,n}function quaternionToEuler(t,e){var i=e[0],s=e[1],r=e[2],e=e[3],n=Math.atan2(2*s*e-2*i*r,1-2*s*s-2*r*r),a=Math.asin(2*i*s+2*r*e),e=Math.atan2(2*i*e-2*s*r,1-2*i*i-2*r*r);t[0]=n/degToRads,t[1]=a/degToRads,t[2]=e/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,t=t[2]*degToRads,s=Math.cos(e/2),r=Math.cos(i/2),n=Math.cos(t/2),e=Math.sin(e/2),i=Math.sin(i/2),t=Math.sin(t/2);return[e*i*n+s*r*t,e*r*n+s*i*t,s*i*n-e*r*t,s*r*n-e*i*t]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),i=this.interpolateValue(t,this._caching),this.pv=i),this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<mathAbs(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,1e-5<mathAbs(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;for(var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k,i=0;i<t;i+=1)e=this.effectsSequence[i](e);this.setVValue(e),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,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,n=e.k.length;for(this.v=createTypedArray("float32",n),this.pv=createTypedArray("float32",n),this.vel=createTypedArray("float32",n),r=0;r<n;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,s){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=i||1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional";for(var r,n,a,o,h=e.k.length,l=0;l<h-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l+1]&&e.k[l+1].s&&(r=e.k[l].s,n=e.k[l+1].s,a=e.k[l].to,o=e.k[l].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+a[0],r[1]+a[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+o[0],n[1]+o[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+a[0],r[1]+a[1],r[2]+a[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+o[0],n[1]+o[1],n[2]+o[2]))&&(e.k[l].to=null,e.k[l].ti=null),r[0]===n[0])&&r[1]===n[1]&&0===a[0]&&0===a[1]&&0===o[0]&&0===o[1]&&(2===r.length||r[2]===n[2]&&0===a[2]&&0===o[2])&&(e.k[l].to=null,e.k[l].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=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=e.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),l=0;l<p;l+=1)this.v[l]=initFrame,this.pv[l]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,i,s,r){var n;if((e=e.sid?t.globalData.slotManager.getProp(e):e).k.length)if("number"==typeof e.k[0])n=new MultiDimensionalProperty(t,e,s,r);else switch(i){case 0:n=new KeyframedValueProperty(t,e,s,r);break;case 1:n=new KeyframedMultidimensionalProperty(t,e,s,r)}else n=new ValueProperty(t,e,s,r);return n.effectsSequence.length&&r.addDynamicProperty(n),n}};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(){this._mdf=!1;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._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 i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)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,i,s,r){var n;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=pointPool.newElement()),n[s][0]=t,n[s][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},ShapePath.prototype.reverse=function(){for(var t=new ShapePath,e=(t.setPathData(this.c,this._length),this.v),i=this.o,s=this.i,r=0,n=(this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1),this._length-1),a=this._length,o=r;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],s[n][0],s[n][1],i[n][0],i[n][1],o,!1),--n;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var r=poolFactory(4,function(){return new ShapePath},function(t){for(var e=t._length,i=0;i<e;i+=1)pointPool.release(t.v[i]),pointPool.release(t.i[i]),pointPool.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1});return r.clone=function(t){var e,i=r.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i},r}();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(){for(var t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:function(){var t;return t=s?n[--s]:new ShapeCollection,t},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)shapePool.release(t.shapes[e]);t._length=0,s===r&&(n=pooling.double(n),r*=2),n[s]=t,s+=1}},s=0,r=4,n=createSizedArray(r);return t}(),ShapePropertyFactory=function(){var r=-999999;function t(t,e,i){var s,r,n,a,o,h,l=i.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)s=p[0].s[0],b=!0,l=0;else if(t>=p[p.length-1].t-this.offsetTime)s=(p[p.length-1].s?p[p.length-1].s:p[p.length-2].e)[0],b=!0;else{for(var f,c,u=l,d=p.length-1,m=!0;m&&(f=p[u],!((c=p[u+1]).t-this.offsetTime>t));)u<d-1?u+=1:m=!1;var y,g,v,b,_=this.keyframesMetadata[u]||{},l=u;(b=1===f.h)||(g=t>=c.t-this.offsetTime?1:t<f.t-this.offsetTime?0:(_.__fnct?y=_.__fnct:(y=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,_.__fnct=y),y((t-(f.t-this.offsetTime))/(c.t-this.offsetTime-(f.t-this.offsetTime)))),v=(c.s||f.e)[0]),s=f.s[0]}for(a=e._length,o=s.i[0].length,i.lastIndex=l,r=0;r<a;r+=1)for(n=0;n<o;n+=1)h=b?s.i[r][n]:s.i[r][n]+(v.i[r][n]-s.i[r][n])*g,e.i[r][n]=h,h=b?s.o[r][n]:s.o[r][n]+(v.o[r][n]-s.o[r][n])*g,e.o[r][n]=h,h=b?s.v[r][n]:s.v[r][n]+(v.v[r][n]-s.v[r][n])*g,e.v[r][n]=h}function s(){this.paths=this.localShapeCollection}function e(t){!function(t,e){if(t._length===e._length&&t.c===e.c){for(var i=t._length,s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return;return 1}}(this.v,t)&&(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;for(var t=this.kf?this.pv:(this.data.ks||this.data.pt).k,e=this.effectsSequence.length,i=0;i<e;i+=1)t=this.effectsSequence[i](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,i){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;t=(3===i?e.pt:e.ks).k;this.v=shapePool.clone(t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=(3===i?e.pt:e.ks).k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;t=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s,this._caching={lastFrame:r,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==r&&(s<e&&t<e||i<s&&i<t)||(this._caching.lastIndex=s<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=i,n.prototype.setVValue=e,n.prototype.addEffect=a,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=a;h=roundCorner,d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertEllToPath()},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=3!==this.d,n=this.v;n.v[0][0]=t,n.v[0][1]=e-s,n.v[1][0]=r?t+i:t-i,n.v[1][1]=e,n.v[2][0]=t,n.v[2][1]=e+s,n.v[3][0]=r?t-i:t+i,n.v[3][1]=e,n.i[0][0]=r?t-i*h:t+i*h,n.i[0][1]=e-s,n.i[1][0]=r?t+i:t-i,n.i[1][1]=e-s*h,n.i[2][0]=r?t+i*h:t-i*h,n.i[2][1]=e+s,n.i[3][0]=r?t-i:t+i,n.i[3][1]=e+s*h,n.o[0][0]=r?t+i*h:t-i*h,n.o[0][1]=e-s,n.o[1][0]=r?t+i:t-i,n.o[1][1]=e+s*h,n.o[2][0]=r?t-i*h:t+i*h,n.o[2][1]=e+s,n.o[3][0]=r?t-i:t+i,n.o[3][1]=e-s*h}},extendPrototype([DynamicPropertyContainer],d);var h,l=d,p=(u.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertToPath()},convertStarToPath:function(){for(var t=2*Math.floor(this.pt.v),e=2*Math.PI/t,i=!0,s=this.or.v,r=this.ir.v,n=this.os.v,a=this.is.v,o=2*Math.PI*s/(2*t),h=2*Math.PI*r/(2*t),l=-Math.PI/2,p=(l+=this.r.v,3===this.data.d?-1:1),f=this.v._length=0;f<t;f+=1){var c=i?n:a,u=i?o:h,d=(m=i?s:r)*Math.cos(l),m=m*Math.sin(l),y=0==d&&0==m?0:m/Math.sqrt(d*d+m*m),g=0==d&&0==m?0:-d/Math.sqrt(d*d+m*m);d+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(d,m,d-y*u*c*p,m-g*u*c*p,d+y*u*c*p,m+g*u*c*p,f,!0),i=!i,l+=e*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,s=this.or.v,r=this.os.v,n=2*Math.PI*s/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=s*Math.cos(a),l=s*Math.sin(a),p=0==h&&0==l?0:l/Math.sqrt(h*h+l*l),f=0==h&&0==l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*n*r*o,l-f*n*r*o,h+p*n*r*o,l+f*n*r*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],u),u),f=(c.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=bmMin(i,s,this.r.v),n=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+r,t+i,e-s+n,0,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-n,t+i,e+s-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+s,t+i-r,e+s,t+i-n,e+s,2,!0),this.v.setTripleAt(t-i+r,e+s,t-i+n,e+s,t-i+r,e+s,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-r,t-i,e+s-n,4,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+n,t-i,e-s+r,5,!0),this.v.setTripleAt(t-i+r,e-s,t-i+r,e-s,t-i+n,e-s,6,!0),this.v.setTripleAt(t+i-r,e-s,t+i-n,e-s,t+i-r,e-s,7,!0)):(this.v.setTripleAt(t-i,e+s,t-i+n,e+s,t-i,e+s,2),this.v.setTripleAt(t-i,e-s,t-i,e-s+n,t-i,e-s,3))):(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+n,t+i,e-s+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-s,t+i-r,e-s,t+i-n,e-s,1,!0),this.v.setTripleAt(t-i+r,e-s,t-i+n,e-s,t-i+r,e-s,2,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+r,t-i,e-s+n,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-n,t-i,e+s-r,4,!0),this.v.setTripleAt(t-i+r,e+s,t-i+r,e+s,t-i+n,e+s,5,!0),this.v.setTripleAt(t+i-r,e+s,t+i-n,e+s,t+i-r,e+s,6,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-r,t+i,e+s-n,7,!0)):(this.v.setTripleAt(t-i,e-s,t-i+n,e-s,t-i,e-s,1,!0),this.v.setTripleAt(t-i,e+s,t-i,e+s-n,t-i,e+s,2,!0),this.v.setTripleAt(t+i,e+s,t+i-n,e+s,t+i,e+s,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertRectToPath()},reset:s},extendPrototype([DynamicPropertyContainer],c),c);function c(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())}function u(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())}function d(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())}var m={getShapeProp:function(t,e,i){var s;return 3===i||4===i?s=new((3===i?e.pt:e.ks).k.length?o:n)(t,e,i):5===i?s=new f(t,e):6===i?s=new l(t,e):7===i&&(s=new p(t,e)),s.k&&t.addDynamicProperty(s),s},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),Matrix=function(){var s=Math.cos,r=Math.sin,n=Math.tan,a=Math.round;function t(){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 e(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function i(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(1,0,0,0,0,e,-t,0,0,t,e,0,0,0,0,1))}function o(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,0,t,0,0,1,0,0,-t,0,e,0,0,0,0,1))}function h(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(n(t),n(e))}function f(t,e){var i=s(e),e=r(e);return this._t(i,e,0,0,-e,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-e,0,0,e,i,0,0,0,0,1,0,0,0,0,1)}function c(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function u(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=s,this.props[4]=r,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=c,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function d(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function m(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){var y,g,v,b,_,P,x,S,E,A,k,C,T,w,M,D,F=this.props;return 1===t&&0===e&&0===i&&0===s&&0===r&&1===n&&0===a&&0===o&&0===h&&0===l&&1===p&&0===f?(F[12]=F[12]*t+F[15]*c,F[13]=F[13]*n+F[15]*u,F[14]=F[14]*p+F[15]*d,F[15]*=m,this._identityCalculated=!1):(y=F[0],g=F[1],v=F[2],b=F[3],_=F[4],P=F[5],x=F[6],S=F[7],E=F[8],A=F[9],k=F[10],C=F[11],T=F[12],w=F[13],M=F[14],D=F[15],F[0]=y*t+g*r+v*h+b*c,F[1]=y*e+g*n+v*l+b*u,F[2]=y*i+g*a+v*p+b*d,F[3]=y*s+g*o+v*f+b*m,F[4]=_*t+P*r+x*h+S*c,F[5]=_*e+P*n+x*l+S*u,F[6]=_*i+P*a+x*p+S*d,F[7]=_*s+P*o+x*f+S*m,F[8]=E*t+A*r+k*h+C*c,F[9]=E*e+A*n+k*l+C*u,F[10]=E*i+A*a+k*p+C*d,F[11]=E*s+A*o+k*f+C*m,F[12]=T*t+w*r+M*h+D*c,F[13]=T*e+w*n+M*l+D*u,F[14]=T*i+w*a+M*p+D*d,F[15]=T*s+w*o+M*f+D*m,this._identityCalculated=!1),this}function y(t){t=t.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function g(){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]||0!==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 b(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function _(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function P(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function x(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function S(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function E(t,e,i){return t*this.props[2]+e*this.props[6]+i*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,i=-this.props[1]/t,s=-this.props[4]/t,r=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,t=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new Matrix;return a.props[0]=e,a.props[1]=i,a.props[4]=s,a.props[5]=r,a.props[12]=n,a.props[13]=t,a}function k(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function C(t){for(var e=t.length,i=[],s=0;s<e;s+=1)i[s]=k(t[s]);return i}function T(t,e,i){var s,r,n,a,o,h,l=createTypedArray("float32",6);return this.isIdentity()?(l[0]=t[0],l[1]=t[1],l[2]=e[0],l[3]=e[1],l[4]=i[0],l[5]=i[1]):(s=this.props[0],r=this.props[1],n=this.props[4],a=this.props[5],o=this.props[12],h=this.props[13],l[0]=t[0]*s+t[1]*n+o,l[1]=t[0]*r+t[1]*a+h,l[2]=e[0]*s+e[1]*n+o,l[3]=e[0]*r+e[1]*a+h,l[4]=i[0]*s+i[1]*n+o,l[5]=i[0]*r+i[1]*a+h),l}function w(t,e,i){t=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]];return t}function M(t,e){var i;return this.isIdentity()?t+","+e:(i=this.props,Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100)}function D(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i=i+a(1e4*e[t])/1e4+(15===t?")":","),t+=1;return i}function F(t){return t<1e-6&&0<t||-1e-6<t&&t<0?a(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=t,this.rotate=e,this.rotateX=i,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=c,this.setTransform=u,this.translate=d,this.transform=m,this.multiply=y,this.applyToPoint=P,this.applyToX=x,this.applyToY=S,this.applyToZ=E,this.applyToPointArray=w,this.applyToTriplePoints=T,this.applyToPointStringified=M,this.toCSS=D,this.to2dCSS=I,this.clone=b,this.cloneFromProps=_,this.equals=v,this.inversePoints=C,this.inversePoint=k,this.getInverseMatrix=A,this._t=this.transform,this.isIdentity=g,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})(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)&&1<t&&setDefaultCurveSegments(t)}function inBrowser(){return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"}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("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",readyStateCheckInterval=(getQueryVariable("renderer"),setInterval(checkReady,100));try{"object"===("u"<_typeof2(exports)?"undefined":_typeof$3(exports))&&_typeof2(module)<"u"||"function"==typeof define&&define.amd||(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},s={};return t.registerModifier=function(t,e){s[t]||(s[t]=e)},t.getModifier=function(t,e,i){return new s[t](e,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){var e;this.closed||(t.sh.container.addDynamicProperty(t.sh),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=PropertyFactory.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,i,s,r){for(var n,a,o=[],h=(e<=1?o.push({s:t,e:e}):1<=t?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1})),[]),l=o.length,p=0;p<l;p+=1)(a=o[p]).e*r<s||a.s*r>s+i||(n=a.s*r<=s?0:(a.s*r-s)/i,a=a.e*r>=s+i?1:(a.e*r-s)/i,h.push([n,a]));return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){for(var e=t.length,i=0;i<e;i+=1)segmentsLengthPool.release(t[i]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i,s;this._mdf||t?((e=this.o.v%360/360)<0&&(e+=1),i=1<this.s.v?1+e:this.s.v<0?0+e:this.s.v+e,(s=1<this.e.v?1+e:this.e.v<0?0+e:this.e.v+e)<i&&(e=i,i=s,s=e),i=1e-4*Math.round(1e4*i),s=1e-4*Math.round(1e4*s),this.sValue=i,this.eValue=s):(i=this.sValue,s=this.eValue);var r,n,a,o,h,l,p=this.shapes.length,f=0;if(s===i)for(m=0;m<p;m+=1)this.shapes[m].localShapeCollection.releaseShapes(),this.shapes[m].shape._mdf=!0,this.shapes[m].shape.paths=this.shapes[m].localShapeCollection,this._mdf&&(this.shapes[m].pathsData.length=0);else if(1===s&&0===i||0===s&&1===i){if(this._mdf)for(m=0;m<p;m+=1)this.shapes[m].pathsData.length=0,this.shapes[m].shape._mdf=!0}else{for(var c,u,d=[],m=0;m<p;m+=1)if((c=this.shapes[m]).shape._mdf||this._mdf||t||2===this.m){if(a=(r=c.shape.paths)._length,l=0,!c.shape._mdf&&c.pathsData.length)l=c.totalShapeLength;else{for(o=this.releasePathsData(c.pathsData),n=0;n<a;n+=1)h=bez.getSegmentsLength(r.shapes[n]),o.push(h),l+=h.totalLength;c.totalShapeLength=l,c.pathsData=o}f+=l,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var y,g=i,v=s,b=0;for(m=p-1;0<=m;--m)if((c=this.shapes[m]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(i,s,c.totalShapeLength,b,f),b+=c.totalShapeLength):y=[[g,v]],a=y.length,n=0;n<a;n+=1){g=y[n][0],v=y[n][1],d.length=0,v<=1?d.push({s:c.totalShapeLength*g,e:c.totalShapeLength*v}):1<=g?d.push({s:c.totalShapeLength*(g-1),e:c.totalShapeLength*(v-1)}):(d.push({s:c.totalShapeLength*g,e:c.totalShapeLength}),d.push({s:0,e:c.totalShapeLength*(v-1)}));var _,P=this.addShapes(c,d[0]);d[0].s!==d[0].e&&(1<d.length&&(P=c.shape.paths.shapes[c.shape.paths._length-1].c?(_=P.pop(),this.addPaths(P,u),this.addShapes(c,d[1],_)):(this.addPaths(P,u),this.addShapes(c,d[1]))),this.addPaths(P,u))}c.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e.addShape(t[s])},TrimModifier.prototype.addSegment=function(t,e,i,s,r,n,a){r.setXYAt(e[0],e[1],"o",n),r.setXYAt(i[0],i[1],"i",n+1),a&&r.setXYAt(t[0],t[1],"v",n),r.setXYAt(s[0],s[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var s,r,n,a,o,h,l,p,f=t.pathsData,c=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0,g=i?(a=i._length,i._length):(i=shapePool.newElement(),a=0);for(m.push(i),s=0;s<u;s+=1){for(o=f[s].lengths,i.c=c[s].c,n=c[s].c?o.length:o.length+1,r=1;r<n;r+=1)if(d+(p=o[r-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1),d+=p.addedLength,a+=1}if(c[s].c&&o.length&&(p=o[r-1],d<=e.e?(l=o[r-1].addedLength,e.s<=d&&e.e>=d+l?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-d)/l,(e.e-d)/l,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;s<u-1&&(i=shapePool.newElement(),y=!0,m.push(i),a=0)}return m},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){for(var i=e/100,s=[0,0],r=t._length,n=0,n=0;n<r;n+=1)s[0]+=t.v[n][0],s[1]+=t.v[n][1];s[0]/=r,s[1]/=r;var a,o,h,l,p,f,c=shapePool.newElement();for(c.c=t.c,n=0;n<r;n+=1)a=t.v[n][0]+(s[0]-t.v[n][0])*i,o=t.v[n][1]+(s[1]-t.v[n][1])*i,h=t.o[n][0]+(s[0]-t.o[n][0])*-i,l=t.o[n][1]+(s[1]-t.o[n][1])*-i,p=t.i[n][0]+(s[0]-t.i[n][0])*-i,f=t.i[n][1]+(s[1]-t.i[n][1])*-i,c.setTripleAt(a,o,h,l,p,f,n);return c},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var n=[0,0];function s(t,e,i){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(i||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)for(var s=e.or.k.length,r=0;r<s;r+=1)e.or.k[r].to=null,e.or.k[r].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 s.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(t){var e,i,s,r;this.elem.globalData.frameId!==this.frameId&&(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),(this._mdf||t)&&(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&&(t=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime?i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/t,0),this.p.getValueAtTime(this.p.keyframes[0].t/t,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/t,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/t,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/t,this.p.offsetTime)):this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime?(e=[],i=[],s=this.px,r=this.py,s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/t,0),e[1]=r.getValueAtTime((r.keyframes[0].t+.01)/t,0),i[0]=s.getValueAtTime(s.keyframes[0].t/t,0),i[1]=r.getValueAtTime(r.keyframes[0].t/t,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/t,0),e[1]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/t,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/t,0),i[1]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/t,0)):(e=[s.pv,r.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/t,s.offsetTime),i[1]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/t,r.offsetTime))):e=i=n,this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[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],s),s.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},s.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,e,i){return new s(t,e,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,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){return 0===t||(i=e*e-4*t*i)<0?[]:(e=-e/(2*t),0==i?[e]:[e-(i=Math.sqrt(i)/(2*t)),e+i])}function polynomialCoefficients(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,s,r){r&&pointEqual(t,e)&&(e=lerpPoint(t,s,1/3)),r&&pointEqual(i,s)&&(i=lerpPoint(t,s,2/3));var r=polynomialCoefficients(t[0],e[0],i[0],s[0]),n=polynomialCoefficients(t[1],e[1],i[1],s[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,i,s]}function extrema(t,e){var i,s=t.points[0][e],r=t.points[t.points.length-1][e];r<s&&(i=r,r=s,s=i);for(var n,a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),o=0;o<a.length;o+=1)0<a[o]&&a[o]<1&&((n=t.point(a[o])[e])<s?s=n:r<n&&(r=n));return{min:s,max:r}}function intersectData(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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,i,s,r,n){boxIntersect(t,e)&&(n<=i||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s?r.push([t.t,e.t]):(t=splitData(t),e=splitData(e),intersectsImpl(t[0],e[0],i+1,s,r,n),intersectsImpl(t[0],e[1],i+1,s,r,n),intersectsImpl(t[1],e[0],i+1,s,r,n),intersectsImpl(t[1],e[1],i+1,s,r,n)))}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,i,s){t=[t[0],t[1],1],e=[e[0],e[1],1],i=[i[0],i[1],1],s=[s[0],s[1],1],t=crossProduct(crossProduct(t,e),crossProduct(i,s));return floatZero(t[2])?null:[t[0]/t[2],t[1]/t[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,e=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,e,l+Math.cos(o)*n,e-Math.sin(o)*n,l+Math.cos(h)*a,e-Math.sin(h)*a,t.length())}function getPerpendicularVector(t,e){e=[e[0]-t[0],e[1]-t[1]],t=.5*-Math.PI;return[Math.cos(t)*e[0]-Math.sin(t)*e[1],Math.sin(t)*e[0]+Math.cos(t)*e[1]]}function getProjectingAngle(t,e){var i=0===e?t.length()-1:e-1,e=(e+1)%t.length(),i=getPerpendicularVector(t.v[i],t.v[e]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,i,s,r,n,a){var o=getProjectingAngle(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],l=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,n=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;setPoint(t,e.v[i%e._length],o,a,s,n/(2*(r+1)),l/(2*(r+1)))}function zigZagSegment(t,e,i,s,r,n){for(var a=0;a<s;a+=1){var o=(a+1)/(s+1),h=2===r?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,l=e.normalAngle(o);setPoint(t,e.point(o),l,n,i,h/(2*(s+1)),h/(2*(s+1))),n=-n}return n}function linearOffset(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,s,i),polarOffset(e,s,i)]}function offsetSegment(t,e){var i=linearOffset(t.points[0],t.points[1],e),s=i[0],r=i[1],n=(i=linearOffset(t.points[1],t.points[2],e))[0],a=i[1],t=(i=linearOffset(t.points[2],t.points[3],e))[0],e=i[1],i=lineIntersection(s,r,n,a),r=(null===i&&(i=r),lineIntersection(t,e,n,a));return new PolynomialBezier(s,i,r=null===r?t:r,e)}function joinLines(t,e,i,s,r){var n,a,o=e.points[3],h=i.points[0];return 3===s||pointEqual(o,h)?o:2===s?(s=-e.tangentAngle(1),a=-i.tangentAngle(0)+Math.PI,n=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),h,polarOffset(h,s+Math.PI/2,100)),n=polarOffset(o,s,2*(s=n?pointDistance(n,o):pointDistance(o,h)/2)*roundCorner),t.setXYAt(n[0],n[1],"o",t.length()-1),n=polarOffset(h,a,2*s*roundCorner),t.setTripleAt(h[0],h[1],h[0],h[1],n[0],n[1],t.length()),h):(a=lineIntersection(pointEqual(o,e.points[2])?e.points[0]:e.points[2],o,h,pointEqual(h,i.points[1])?i.points[3]:i.points[1]))&&pointDistance(a,o)<r?(t.setTripleAt(a[0],a[1],a[0],a[1],a[0],a[1],t.length()),a):o}function getIntersection(t,e){t=t.intersections(e);return t.length&&floatEqual(t[0][0],1)&&t.shift(),t.length?t[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),s=e.slice(),r=getIntersection(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),1<t.length&&1<e.length&&(r=getIntersection(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return 1<t.length&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i,s,r,n=t.inflectionPoints();return 0===n.length?[offsetSegment(t,e)]:1===n.length||floatEqual(n[1],1)?(s=(i=t.split(n[0]))[0],r=i[1],[offsetSegment(s,e),offsetSegment(r,e)]):(s=(i=t.split(n[0]))[0],t=(n[1]-n[0])/(1-n[0]),n=(i=i[1].split(t))[0],r=i[1],[offsetSegment(s,e),offsetSegment(n,e),offsetSegment(r,e)])}function OffsetPathModifier(){}function getFontProperties(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],s="normal",r="normal",n=i.length,a=0;a<n;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:r,weight:t.fWeight||s}}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,i,s,r,n){var a=n?-1:1,o=s.s.v[0]+(1-s.s.v[0])*(1-r),h=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*a*r,s.p.v[1]*a*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*a*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(n?1/o:o,n?1/h:h),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)this._elements.unshift(e[--i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},RepeaterModifier.prototype.cloneElements=function(t){t=JSON.parse(JSON.stringify(t));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,s,r,n,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=n=0;s<=this._groups.length-1;s+=1)this._groups[s]._render=o=n<h,this.changeGroupRender(this._groups[s].it,o),o||(0!==(o=(o=this.elemsData[s].it)[o.length-1]).transform.op.v?(o.transform.op._mdf=!0,o.transform.op.v=0):o.transform.op._mdf=!1),n+=1;this._currentCopies=h;var p,f,t=this.o.v,c=t%1,u=0<t?Math.floor(t):Math.ceil(t),d=this.pMatrix.props,m=this.rMatrix.props,y=this.sMatrix.props,g=(this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset(),0);if(0<t){for(;g<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(t<0){for(;u<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--g;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(f=(i=(e=this.elemsData[s].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)*(s/(this._currentCopies-1)),0!==g){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),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]),p=0;p<f;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<f;p+=1)i[p]=this.matrix.props[p];g+=1,--n,s+=r}}else for(n=this._currentCopies,s=0,r=1;n;)i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,--n,s+=r;return a},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 i=shapePool.newElement();i.c=t.c;for(var s,r,n,a,o,h,l,p,f,c,u=t._length,d=0,m=0;m<u;m+=1)s=t.v[m],n=t.o[m],r=t.i[m],s[0]===n[0]&&s[1]===n[1]&&s[0]===r[0]&&s[1]===r[1]?0!==m&&m!==u-1||t.c?(a=0===m?t.v[u-1]:t.v[m-1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,f=s[0]+(a[0]-s[0])*h,c=s[1]-(s[1]-a[1])*h,l=f-(f-s[0])*roundCorner,p=c-(c-s[1])*roundCorner,i.setTripleAt(f,c,l,p,f,c,d),d+=1,a=m===u-1?t.v[0]:t.v[m+1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,l=s[0]+(a[0]-s[0])*h,p=s[1]+(a[1]-s[1])*h,f=l-(l-s[0])*roundCorner,c=p-(p-s[1])*roundCorner,i.setTripleAt(l,p,l,p,f,c,d)):i.setTripleAt(s[0],s[1],n[0],n[1],r[0],r[1],d):i.setTripleAt(t.v[m][0],t.v[m][1],t.o[m][0],t.o[m][1],t.i[m][0],t.i[m][1],d),d+=1;return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.rd.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));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){t=this.derivative(t);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(t){t=this.derivative(t);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t,e=this.a[1]*this.b[0]-this.a[0]*this.b[1];return floatZero(e)||(e=(t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e)*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e)<0?[]:floatZero(e=Math.sqrt(e))?0<e&&e<1?[t]:[]:[t-e,t+e].filter(function(t){return 0<t&&t<1})},PolynomialBezier.prototype.split=function(t){var e,i,s,r;return t<=0?[singlePoint(this.points[0]),this]:1<=t?[this,singlePoint(this.points[this.points.length-1])]:(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),s=lerpPoint(e,r,t),r=lerpPoint(r,i,t),t=lerpPoint(s,r,t),[new PolynomialBezier(this.points[0],e,s,t,!0),new PolynomialBezier(t,r,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,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,s,i),s},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,s){var r=t._length,n=shapePool.newElement();if(n.c=t.c,t.c||--r,0!==r){var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(n,t,0,e,i,s,a);for(var h=0;h<r;h+=1)a=zigZagSegment(n,o,e,i,s,-a),o=h!==r-1||t.c?PolynomialBezier.shapeSegment(t,(h+1)%r):null,zigZagCorner(n,t,h+1,e,i,s,a)}return n},ZigZagModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amplitude.v,a=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,a,o));h.shape.paths=h.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,i,s){var r=shapePool.newElement(),n=(r.c=t.c,t.length());t.c||--n;for(var a,o,h=[],l=0;l<n;l+=1)o=PolynomialBezier.shapeSegment(t,l),h.push(offsetSegmentSplit(o,e));if(!t.c)for(l=n-1;0<=l;--l)o=PolynomialBezier.shapeSegmentInverted(t,l),h.push(offsetSegmentSplit(o,e));var h=pruneIntersections(h),p=null,f=null;for(l=0;l<h.length;l+=1){var c=h[l];for(f&&(p=joinLines(r,f,c[0],i,s)),f=c[c.length-1],a=0;a<c.length;a+=1)o=c[a],p&&pointEqual(o.points[0],p)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.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],r.length()),r.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],r.length()),p=o.points[3]}return h.length&&joinLines(r,f,h[0][0],i,s),r},OffsetPathModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v,a=this.miterLimit.v,o=this.lineJoin;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,o,a));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var n={w:0,size:0,shapes:[],data:{shapes:[]}},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]),i=127462,s=127487,r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(t,e){var i=createTag("span"),s=(i.setAttribute("aria-hidden",!0),i.style.fontFamily=e,createTag("span")),r=(s.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(s),document.body.appendChild(i),s.offsetWidth);return s.style.fontFamily=function(t){for(var e=t.split(","),i=e.length,s=[],r=0;r<i;r+=1)"sans-serif"!==e[r]&&"monospace"!==e[r]&&s.push(e[r]);return s.join(",")}(t)+", "+e,{node:s,w:r,parent:i}}function c(t,e){var i,s,r=document.body&&e?"svg":"canvas",n=getFontProperties(t);return i="svg"==r?((s=createNS("text")).style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),s):((e=new OffscreenCanvas(500,500).getContext("2d")).font=n.style+" "+n.weight+" 100px "+t.fFamily,e),{measureText:function(t){return"svg"==r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function a(t){var e=0,i=t.charCodeAt(0);return e=55296<=i&&i<=56319&&56320<=(t=t.charCodeAt(1))&&t<=57343?1024*(i-55296)+t-56320+65536:e}function o(t){t=a(t);return i<=t&&t<=s}function t(){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)}t.isModifier=function(t,e){return t=t.toString(16)+e.toString(16),-1!==r.indexOf(t)},t.isZeroWidthJoiner=function(t){return 8205===t},t.isFlagEmoji=function(t){return o(t.substr(0,2))&&o(t.substr(2,2))},t.isRegionalCode=o,t.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},t.isRegionalFlag=function(t,e){var i;if(127988!==a(t.substr(e,2)))return!1;var s=0;for(e+=2;s<5;){if((i=a(t.substr(e,2)))<917601||917626<i)return!1;s+=1,e+=2}return 917631===a(t.substr(e,2))},t.isVariationSelector=function(t){return 65039===t},t.BLACK_FLAG_CODE_POINT=127988;var h={addChars:function(t){if(t){this.chars||(this.chars=[]);for(var e,i,s=t.length,r=this.chars.length,n=0;n<s;n+=1){for(e=0,i=!1;e<r;)this.chars[e].style===t[n].style&&this.chars[e].fFamily===t[n].fFamily&&this.chars[e].ch===t[n].ch&&(i=!0),e+=1;i||(this.chars.push(t[n]),r+=1)}}},addFonts:function(t,e){if(t)if(this.chars)this.isLoaded=!0,this.fonts=t.list;else if(document.body){for(var i=t.list,s=i.length,r=s,n=0;n<s;n+=1){var a,o,h,l,p=!0;if(i[n].loaded=!1,i[n].monoCase=f(i[n].fFamily,"monospace"),i[n].sansCase=f(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin)(p=!(0<(o=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length)&&p)&&((h=createTag("style")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h));else if("g"===i[n].fOrigin||1===i[n].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),a=0;a<o.length;a+=1)-1!==o[a].href.indexOf(i[n].fPath)&&(p=!1);p&&((h=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.type="text/css",h.rel="stylesheet",h.href=i[n].fPath,document.body.appendChild(h))}else if("t"===i[n].fOrigin||2===i[n].origin){for(o=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),a=0;a<o.length;a+=1)i[n].fPath===o[a].src&&(p=!1);p&&((l=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),l.setAttribute("f-origin",i[n].origin),l.setAttribute("rel","stylesheet"),l.setAttribute("href",i[n].fPath),e.appendChild(l))}}else i[n].loaded=!0,--r;i[n].helper=c(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===r?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0,t.list.forEach(function(t){t.helper=c(t),t.cache={}}),this.fonts=t.list;else this.isLoaded=!0},getCharData:function(t,e,i){for(var s=0,r=this.chars.length;s<r;){if(this.chars[s].ch===t&&this.chars[s].style===e&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),n},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var s,r,n,e=this.getFontByName(e),a=t;return e.cache[a]||(s=e.helper," "===t?(r=s.measureText("|"+t+"|"),n=s.measureText("||"),e.cache[a]=(r-n)/100):e.cache[a]=s.measureText(t)/100),e.cache[a]*i},checkLoadedFonts:function(){for(var t,e,i=this.fonts.length,s=i,r=0;r<i;r+=1)this.fonts[r].loaded?--s:"n"===this.fonts[r].fOrigin||0===this.fonts[r].origin?this.fonts[r].loaded=!0:(t=this.fonts[r].monoCase.node,e=this.fonts[r].monoCase.w,t.offsetWidth===e&&(t=this.fonts[r].sansCase.node,e=this.fonts[r].sansCase.w,t.offsetWidth===e)||(--s,this.fonts[r].loaded=!0),this.fonts[r].loaded&&(this.fonts[r].sansCase.parent.parentNode.removeChild(this.fonts[r].sansCase.parent),this.fonts[r].monoCase.parent.parentNode.removeChild(this.fonts[r].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return t.prototype=h,t}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function 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(){for(var t=this.renderableComponents.length,e=0;e<t;e+=1)this.renderableComponents[e].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 e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];for(var s,r=i.length,n=0;n<r;n+=1)s=new GroupEffect(i[n],e),this.effectElements.push(s)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;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){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);for(var i,s=this.data.ef.length,r=this.data.ef,n=0;n<s;n+=1){switch(i=null,r[n].ty){case 0:i=new SliderEffect(r[n],e,this);break;case 1:i=new AngleEffect(r[n],e,this);break;case 2:i=new ColorEffect(r[n],e,this);break;case 3:i=new PointEffect(r[n],e,this);break;case 4:case 7:i=new CheckboxEffect(r[n],e,this);break;case 10:i=new LayerIndexEffect(r[n],e,this);break;case 11:i=new MaskIndexEffect(r[n],e,this);break;case 5:i=new EffectsManager(r[n],e);break;default:i=new NoValueEffect(r[n])}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(this.data.hasMask)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,e,i,s,r=getExpressionInterfaces();r&&(s=r("layer"),t=r("effects"),e=r("shape"),i=r("text"),r=r("comp"),this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager),s=t.createEffectsInterface(this,this.layerInterface),this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=r(this):4===this.data.ty?(this.layerInterface.shapeInterface=e(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(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,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){for(var i=this.dynamicProperties.length,s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._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();t&&(t=t("footage"),this.layerInterface=t(this))},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:(t=this.tm.v,this._currentTime=t),this._volume=this.lv.v[0];t=this._volume*this._volumeMultiplier;this._previousVolume!==t&&(this._previousVolume=t,this.audio.volume(t))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||.1<Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek()))&&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,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;0<=e;--e)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.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: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);default:return this.createNull(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(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,s=this.layers.length,r=0;r<i;r+=1)for(e=0;e<s;){if(this.layers[e].id===t[r].id){this.layers[e]=t[r];break}e+=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,i){for(var s=this.elements,r=this.layers,n=0,a=r.length;n<a;)r[n].ind==e&&(s[n]&&!0!==s[n]?(i.push(s[n]),s[n].setAsParent(),void 0!==r[n].parent?this.buildElementParenting(t,r[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=0;s<i;s+=1)t[s].xt&&((e=this.createComp(t[s])).initExpressions(),this.globalData.projectInterface.registerComposition(e))},BaseRenderer.prototype.getElementById=function(t){for(var e=this.elements.length,i=0;i<e;i+=1)if(this.elements[i].data.ind===t)return this.elements[i];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else for(var s=this.elements.length,r=0;r<s;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];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,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(r),this.solidPath="";for(var n,a,o,h,l,p=this.masksProperties,f=0,c=[],u=createElementID(),d="clipPath",m="clip-path",y=0;y<r;y+=1)if(("a"!==p[y].mode&&"n"!==p[y].mode||p[y].inv||100!==p[y].o.k||p[y].o.x)&&(m=d="mask"),"s"!==p[y].mode&&"i"!==p[y].mode||0!==f?a=null:((a=createNS("rect")).setAttribute("fill","#ffffff"),a.setAttribute("width",this.element.comp.data.w||0),a.setAttribute("height",this.element.comp.data.h||0),c.push(a)),n=createNS("path"),"n"===p[y].mode)this.viewData[y]={op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),elem:n,lastPath:""},s.appendChild(n);else{if(f+=1,n.setAttribute("fill","s"===p[y].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[y].x.k?(m=d="mask",h=PropertyFactory.getProp(this.element,p[y].x,0,null,this.element),l=createElementID(),(_=createNS("filter")).setAttribute("id",l),(o=createNS("feMorphology")).setAttribute("operator","erode"),o.setAttribute("in","SourceGraphic"),o.setAttribute("radius","0"),_.appendChild(o),s.appendChild(_),n.setAttribute("stroke","s"===p[y].mode?"#000000":"#ffffff")):h=o=null,this.storedData[y]={elem:n,x:h,expan:o,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"===p[y].mode){for(var g=c.length,v=createNS("g"),b=0;b<g;b+=1)v.appendChild(c[b]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",u+"_"+f),_.appendChild(n),s.appendChild(_),v.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+f+")"),c.length=0,c.push(v)}else c.push(n);p[y].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[y]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),invRect:a},this.viewData[y].prop.k||this.drawPath(p[y],this.viewData[y].prop.v,this.viewData[y])}for(this.maskElement=createNS(d),r=c.length,y=0;y<r;y+=1)this.maskElement.appendChild(c[y]);0<f&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),s.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,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,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 i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){for(var r=this.finalTransform.localOpacity,t=0;t<e;t+=1)r*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;for(var e=0,i=t.length,e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;for(var r,n=e.length,a=0;a<n;a+=1)r=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-r[0],t[1]-r[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){for(var e,i=this.element.finalTransform.mat,s=this.masksProperties.length,r=0;r<s;r+=1)(this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),"n"!==this.masksProperties[r].mode&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[r].x)&&(this.storedData[r].x._mdf||t)&&(e=this.storedData[r].expan,this.storedData[r].x.v<0?("erode"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),e.setAttribute("radius",-this.storedData[r].x.v)):("dilate"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",2*this.storedData[r].x.v)))},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return(t+=" h"+this.globalData.compSize.w)+(" v"+this.globalData.compSize.h)+(" h-"+this.globalData.compSize.w)+(" v-"+this.globalData.compSize.h+" ")},MaskElement.prototype.drawPath=function(t,e,i){for(var s,r=" M"+e.v[0][0]+","+e.v[0][1],n=e._length,a=1;a<n;a+=1)r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[a][0]+","+e.i[a][1]+" "+e.v[a][0]+","+e.v[a][1];e.c&&1<n&&(r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r&&(s="",i.elem&&(e.c&&(s=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",s)),i.lastPath=r)},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var i=createNS("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},t.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},t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=createElementID(),n=filtersFactory.createFilter(r,!0),a=0;for(this.filters=[],e=0;e<s;e+=1){o=null;var o,h=t.data.ef[e].ty;registeredEffects[h]&&(o=new registeredEffects[h].effect(n,t.effectsManager.effectElements[e],t,idPrefix+a,i),i=idPrefix+a,registeredEffects[h].countsAsEffect)&&(a+=1),o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e,i){registeredEffects[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),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){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);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,e,i,s=null;this.data.td?(this.matteMasks={},(t=createNS("g")).setAttribute("id",this.layerId),t.appendChild(this.layerElement),this.globalData.defs.appendChild(s=t)):this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=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.ty||this.data.hd||(t=createNS("clipPath"),(i=createNS("path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),e=createElementID(),t.setAttribute("id",e),t.appendChild(i),this.globalData.defs.appendChild(t),this.checkMasks()?((i=createNS("g")).setAttribute("clip-path","url("+getLocationHref()+"#"+e+")"),i.appendChild(this.layerElement),this.transformedElement=i,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+e+")")),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("op
1acity",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){var e,i,s,r,n,a,o,h,l;return this.matteMasks||(this.matteMasks={}),this.matteMasks[t]||(e=this.layerId+"_"+t,1===t||3===t?((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),i=createElementID(),s=filtersFactory.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))):2===t&&((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type","alpha"),o=createNS("g"),a.appendChild(o),i=createElementID(),s=filtersFactory.createFilter(i),(l=createNS("feComponentTransfer")).setAttribute("in","SourceGraphic"),s.appendChild(l),(h=createNS("feFuncA")).setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),l.appendChild(h),this.globalData.defs.appendChild(s),(l=createNS("rect")).setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),o.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),o.appendChild(l),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),featureSupport.maskType||(a.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),o.appendChild(l),n.appendChild(this.layerElement),o.appendChild(n)),this.globalData.defs.appendChild(a)),this.matteMasks[t]=e),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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].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){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;0<=e&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);--e);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(i[--s].elem===t)return void(i[s].pos=e);i.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"};
vendor: 69,818 bytes, line 1
1function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=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,i,s){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);for(var r,n=e.length||0,a=0;a<n;a+=1)r=PropertyFactory.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,i){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=i,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,i){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=i}function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var s=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",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function SVGGradientStrokeStyleData(t,e,i){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,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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 i=0,s=this.o.length/2;i<s;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=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){for(var e,i,s=4*this.data.p,r=0;r<s;r+=1)e=r%4==0?100:255,i=Math.round(this.prop.v[r]*e),this.c[r]!==i&&(this.c[r]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,r=4*this.data.p;r<s;r+=1)e=r%2==0?100:1,i=r%2==0?Math.round(100*this.prop.v[r]):this.prop.v[r],this.o[r-4*this.data.p]!==i&&(this.o[r-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){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=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){for(var i,s=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient"),n=(r.setAttribute("id",s),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse"),[]),a=4*e.g.p,o=0;o<a;o+=4)i=createNS("stop"),r.appendChild(i),n.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),this.gf=r,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){for(var i,s,r=createNS("mask"),n=createNS("path"),a=(r.appendChild(n),createElementID()),o=createElementID(),h=(r.setAttribute("id",o),createNS(1===t.t?"linearGradient":"radialGradient")),l=(h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=(t.g.k.k[0].s||t.g.k.k).length,this.stops),p=4*t.g.p;p<s;p+=2)(i=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),l.push(i);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+a+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj)&&n.setAttribute("stroke-miterlimit",t.ml),this.of=h,this.ms=r,this.ost=l,this.maskId=o,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,i,s){if(0===e)return"";for(var r=t.o,n=t.i,a=t.v,o=" M"+s.applyToPointStringified(a[0][0],a[0][1]),h=1;h<e;h+=1)o+=" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[h][0],n[h][1])+" "+s.applyToPointStringified(a[h][0],a[h][1]);return o=i&&e?o+(" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(a[0][0],a[0][1]))+"z":o},SVGElementsRenderer=function(){var m=new Matrix,y=new Matrix;function e(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function s(t,e,i){for(var s,r,n,a,o,h,l,p,f,c=e.styles.length,u=e.lvl,d=0;d<c;d+=1){if(a=e.sh._mdf||i,e.styles[d].lvl<u){for(l=y.reset(),p=u-e.styles[d].lvl,f=e.transformers.length-1;!a&&0<p;)a=e.transformers[f].mProps._mdf||a,--p,--f;if(a)for(p=u-e.styles[d].lvl,f=e.transformers.length-1;0<p;)l.multiply(e.transformers[f].mProps.v),--p,--f}else l=m;if(r=(h=e.sh.paths)._length,a){for(n="",s=0;s<r;s+=1)(o=h.shapes[s])&&o._length&&(n+=buildShapeString(o,o._length,o.c,l));e.caches[d]=n}else n=e.caches[d];e.styles[d].d+=!0===t.hd?"":n,e.styles[d]._mdf=a||e.styles[d]._mdf}}function r(t,e,i){var s=e.style;(e.c._mdf||i)&&s.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("fill-opacity",e.o.v)}function n(t,e,i){a(t,e,i),o(0,e,i)}function a(t,e,i){var s,r,n,a,o=e.gf,h=e.g._hasOpacity,l=e.s.v,p=e.e.v;if((e.o._mdf||i)&&(n="gf"===t.ty?"fill-opacity":"stroke-opacity",e.style.pElem.setAttribute(n,e.o.v)),(e.s._mdf||i)&&(a="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",o.setAttribute(n,l[0]),o.setAttribute(a,l[1]),h)&&!e.g._collapsable&&(e.of.setAttribute(n,l[0]),e.of.setAttribute(a,l[1])),e.g._cmdf||i)for(var f=e.cst,c=e.g.c,u=f.length,d=0;d<u;d+=1)(s=f[d]).setAttribute("offset",c[4*d]+"%"),s.setAttribute("stop-color","rgb("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+")");if(h&&(e.g._omdf||i)){var m=e.g.o;for(u=(f=e.g._collapsable?e.cst:e.ost).length,d=0;d<u;d+=1)s=f[d],e.g._collapsable||s.setAttribute("offset",m[2*d]+"%"),s.setAttribute("stop-opacity",m[2*d+1])}1===t.t?(e.e._mdf||i)&&(o.setAttribute("x2",p[0]),o.setAttribute("y2",p[1]),h)&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])):((e.s._mdf||e.e._mdf||i)&&(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),o.setAttribute("r",r),h)&&!e.g._collapsable&&e.of.setAttribute("r",r),(e.e._mdf||e.h._mdf||e.a._mdf||i)&&(r=r||Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),n=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(a=e.h.v)?a=.99:a<=-1&&(a=-.99),t=r*a,i=Math.cos(n+e.a.v)*t+l[0],p=Math.sin(n+e.a.v)*t+l[1],o.setAttribute("fx",i),o.setAttribute("fy",p),h)&&!e.g._collapsable&&(e.of.setAttribute("fx",i),e.of.setAttribute("fy",p)))}function o(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem)&&s.msElem.setAttribute("stroke-width",e.w.v)}return{createRenderFunction:function(t){switch(t.ty){case"fl":return r;case"gf":return a;case"gs":return n;case"st":return o;case"sh":case"el":case"rc":case"sr":return s;case"tr":return e;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function LetterProps(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,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(){for(var t,e,i,s=this.shapes.length,r=this.stylesList.length,n=[],a=!1,o=0;o<r;o+=1){for(i=this.stylesList[o],a=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),a=e._isAnimated||a);1<n.length&&a&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,e=new SVGStyleData(t,e),s=e.pElem;return"st"===t.ty?i=new SVGStrokeStyleData(this,t,e):"fl"===t.ty?i=new SVGFillStyleData(this,t,e):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,e),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new SVGNoStyleData(this,t,e)),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),1!==t.lj)||s.setAttribute("stroke-miterlimit",t.ml),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(e),this.addToAnimatedContents(t,i),i},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 i=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var s=4;"rc"===t.ty?s=5:"el"===t.ty?s=6:"sr"===t.ty&&(s=7);e=new SVGShapeData(e,i,ShapePropertyFactory.getShapeProp(this,t,s,this));return this.shapes.push(e),this.addShapeToModifiers(e),this.addToAnimatedContents(t,e),e},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){for(var e=t.styles,i=this.stylesList.length,s=0;s<i;s+=1)this.stylesList[s].closed||e.push(this.stylesList[s])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,s,r,n,a){for(var o,h,l,p,f,c=[].concat(n),u=t.length-1,d=[],m=[],y=u;0<=y;--y){if((f=this.searchProcessedElement(t[y]))?e[y]=i[f-1]:t[y]._render=a,"fl"===t[y].ty||"st"===t[y].ty||"gf"===t[y].ty||"gs"===t[y].ty||"no"===t[y].ty)f?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r),t[y]._render&&e[y].style.pElem.parentNode!==s&&s.appendChild(e[y].style.pElem),d.push(e[y].style);else if("gr"===t[y].ty){if(f)for(h=e[y].it.length,o=0;o<h;o+=1)e[y].prevViewData[o]=e[y].it[o];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,r+1,c,a),t[y]._render&&e[y].gr.parentNode!==s&&s.appendChild(e[y].gr)}else"tr"===t[y].ty?(f||(e[y]=this.createTransformElement(t[y],s)),l=e[y].transform,c.push(l)):"sh"===t[y].ty||"rc"===t[y].ty||"el"===t[y].ty||"sr"===t[y].ty?(f||(e[y]=this.createShapeElement(t[y],c,r)),this.setElementStyles(e[y])):"tm"===t[y].ty||"rd"===t[y].ty||"ms"===t[y].ty||"pb"===t[y].ty||"zz"===t[y].ty||"op"===t[y].ty?(f?(p=e[y]).closed=!1:((p=ShapeModifiers.getModifier(t[y].ty)).init(this,t[y]),e[y]=p,this.shapeModifiers.push(p)),m.push(p)):"rp"===t[y].ty&&(f?(p=e[y]).closed=!0:(p=ShapeModifiers.getModifier(t[y].ty),(e[y]=p).init(this,t,y,e),this.shapeModifiers.push(p),a=!1),m.push(p));this.addProcessedElement(t[y],y+1)}for(u=d.length,y=0;y<u;y+=1)d[y].closed=!0;for(u=m.length,y=0;y<u;y+=1)m[y].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){for(var t,e=this.animatedContents.length,i=0;i<e;i+=1)t=this.animatedContents[i],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,i,s,r,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var a=this._mdf.p=!1;return this.o!==t&&(this.o=t,a=this._mdf.o=!0),this.sw!==e&&(this.sw=e,a=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this._mdf.sc=!0),this.fc!==s&&(this.fc=s,a=this._mdf.fc=!0),this.m!==r&&(this.m=r,a=this._mdf.m=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,a=this._mdf.p=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);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=1<this.data.d.k.length,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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;for(var s=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s,n=0;n<s;n+=1)r=i!==this.keysIndex?this.effectsSequence[n](r,r.t):this.effectsSequence[n](this.currentData,r.t);e!==r&&this.setCurrentData(r),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,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r<n;)a=o,o=!1,e=t.charCodeAt(r),h=t.charAt(r),FontManager.isCombinedCharacter(e)?a=!0:55296<=e&&e<=56319?FontManager.isRegionalFlag(t,r)?h=t.substr(r,14):56320<=(i=t.charCodeAt(r+1))&&i<=57343&&(FontManager.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=FontManager.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):56319<e?(i=t.charCodeAt(r+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(o=a=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n=this.elem.globalData.fontManager,a=this.data,o=[],h=0,l=a.m.g,p=0,f=0,c=0,u=[],d=0,m=0,y=n.getFontByName(t.f),g=0,v=getFontProperties(y),b=(t.fWeight=v.weight,t.fStyle=v.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),S=t.finalText.length,t.finalLineHeight=t.lh,t.tr/1e3*t.finalSize);if(t.sz)for(var _=!0,R=t.sz[0],B=t.sz[1];_;){for(var P,x=0,d=0,S=(P=this.buildFinalText(t.t)).length,b=t.tr/1e3*t.finalSize,E=-1,A=0;A<S;A+=1)r=P[A].charCodeAt(0),e=!1," "===P[A]?E=A:13!==r&&3!==r||(e=!(d=0),x+=t.finalLineHeight||1.2*t.finalSize),R<d+(g=n.chars?(s=n.getCharData(P[A],y.fStyle,y.fFamily),e?0:s.w*t.finalSize/100):n.measureText(P[A],t.f,t.finalSize))&&" "!==P[A]?(-1===E?S+=1:A=E,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(A,E===A?1:0,"\r"),E=-1,d=0):d=d+g+b;x+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<x?(--t.finalSize,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,S=t.finalText.length,_=!1)}d=-b;var k,g=0,C=0;for(A=0;A<S;A+=1)if(e=!1,13===(r=(k=t.finalText[A]).charCodeAt(0))||3===r?(C=0,u.push(d),m=m<d?d:m,d=-2*b,e=!(i=""),c+=1):i=k,g=n.chars?(s=n.getCharData(k,y.fStyle,n.getFontByName(t.f).fFamily),e?0:s.w*t.finalSize/100):n.measureText(i,t.f,t.finalSize)," "===k?C+=g+b:(d+=g+b+C,C=0),o.push({l:g,an:g,add:p,n:e,anIndexes:[],val:i,line:c,animatorJustifyOffset:0}),2==l){if(p+=g,""===i||" "===i||A===S-1){for(""!==i&&" "!==i||(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;h+=1,p=0}}else if(3==l){if(p+=g,""===i||A===S-1){for(""===i&&(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;p=0,h+=1}}else o[h].ind=h,o[h].extra=0,h+=1;if(t.l=o,m=m<d?d:m,u.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=m,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;for(var T,w,M,D,F=a.a,O=F.length,I=[],L=0;L<O;L+=1){for((T=F[L]).a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),M=T.s.b,A=D=0;A<S;A+=1)(w=o[A]).anIndexes[L]=D,(1==M&&""!==w.val||2==M&&""!==w.val&&" "!==w.val||3==M&&(w.n||" "==w.val||A==S-1)||4==M&&(w.n||A==S-1))&&(1===T.s.rn&&I.push(D),D+=1);a.a[L].s.totalChars=D;var V,z=-1;if(1===T.s.rn)for(A=0;A<S;A+=1)z!=(w=o[A]).anIndexes[L]&&(z=w.anIndexes[L],V=I.splice(Math.floor(Math.random()*I.length),1)[0]),w.anIndexes[L]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s),i=this.copyData(i,t);this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){t=this.data.d.k[t].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},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 h=Math.max,l=Math.min,p=Math.floor;function s(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),"e"in e?this.e=PropertyFactory.getProp(t,e.e,0,0,this):this.e={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 s.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e,i,s=0,r=0,n=1,a=1,s=(0<this.ne.v?s=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?n=1-this.xe.v/100:a=1+this.xe.v/100,BezierFactory.getBezierEasing(s,r,n,a).get),r=0,n=this.finalS,a=this.finalE,o=this.data.sh;return r=2===o?s(r=a===n?a<=t?1:0:h(0,l(.5/(a-n)+(t-n)/(a-n),1))):3===o?s(r=a===n?a<=t?0:1:1-h(0,l(.5/(a-n)+(t-n)/(a-n),1))):4===o?(a===n?r=0:(r=h(0,l(.5/(a-n)+(t-n)/(a-n),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5===o?s(r=a===n?0:(e=-(i=a-n)/2+(t=l(h(0,t+.5-n),a-n)),i=i/2,Math.sqrt(1-e*e/(i*i)))):(6===o?r=a===n?0:(t=l(h(0,t+.5-n),a-n),(1+Math.cos(Math.PI+2*Math.PI*t/(a-n)))/2):t>=p(n)&&(r=h(0,l(t-n<0?l(a,1)-(n-t):a-t,1))),s(r)),100!==this.sm.v&&(r<(i=.5-.5*(e=0===(e=.01*this.sm.v)?1e-8:e))?r=0:1<(r=(r-i)/e)&&(r=1)),r*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 t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,t=this.e.v/t+e;t<i&&(e=i,i=t,t=e),this.finalS=i,this.finalE=t}},extendPrototype([DynamicPropertyContainer],s),{getTextSelectorProp:function(t,e,i){return new s(t,e)}}}();function TextAnimatorDataProperty(t,e,i){var s={propType:!1},r=PropertyFactory.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,degToRads,i):s,rx:n.rx?r(t,n.rx,0,degToRads,i):s,ry:n.ry?r(t,n.ry,0,degToRads,i):s,sk:n.sk?r(t,n.sk,0,degToRads,i):s,sa:n.sa?r(t,n.sa,0,degToRads,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){for(var t,e=this._textData.a.length,i=PropertyFactory.getProp,s=0;s<e;s+=1)t=this._textData.a[s],this._animatorsData[s]=new TextAnimatorDataProperty(this._elem,t,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,R){if(this.lettersChangedFlag=R,this._mdf||this._isFirstFrame||R||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var e,i,s,B,r,n,a,o,h,O,l,z,p,f=this._moreOptions.alignment.v,c=this._animatorsData,u=this._textData,d=this.mHelper,N=this._renderType,G=this.renderedLetters.length,m=t.l;if(this._hasMaskedPath){if(p=this._pathData.m,!this._pathData.n||this._pathData._mdf){for(var y,g=p.v,v={tLength:0,segments:[]},b=(g=this._pathData.r.v?g.reverse():g)._length-1,_=l=0;_<b;_+=1)y=bez.buildBezierData(g.v[_],g.v[_+1],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[_+1][0]-g.v[_+1][0],g.i[_+1][1]-g.v[_+1][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength;_=b,p.v.c&&(y=bez.buildBezierData(g.v[_],g.v[0],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[0][0]-g.v[0][0],g.i[0][1]-g.v[0][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,e=this._pathData.f.v,r=1,B=!(s=n=0),h=v.segments,e<0&&p.v.c)for(v.tLength<Math.abs(e)&&(e=-Math.abs(e)%v.tLength),r=(o=h[n=h.length-1].points).length-1;e<0;)e+=o[r].partialLength,--r<0&&(r=(o=h[--n].points).length-1);a=(o=h[n].points)[r-1],O=(i=o[r]).partialLength}b=m.length;var P,j,x,S,H,q,E,A,k,C,T,W,$,X,Y,J,w=0,U=0,K=1.2*t.finalSize*.714,Z=!0,M=c.length,D=-1,Q=e,tt=n,et=r,it=-1,st="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var F=0,nt=0,at=2===t.j?-.5:-1,I=0,ot=!0;for(_=0;_<b;_+=1)if(m[_].n){for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1;ot=!(F=0)}else{for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(ot&&2===t.j&&(nt+=P.t.v*at),(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?F+=P.t.v*x[0]*at:F+=P.t.v*x*at);ot=!1}for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1}for(_=0;_<b;_+=1){if(d.reset(),E=1,m[_].n)w=0,U=U+t.yOffset+(Z?1:0),e=Q,Z=!1,this._hasMaskedPath&&(a=(o=h[n=tt].points)[(r=et)-1],O=(i=o[r]).partialLength,s=0),Y=W=X=st="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(it!==m[_].line){switch(t.j){case 1:e+=l-t.lineWidths[m[_].line];break;case 2:e+=(l-t.lineWidths[m[_].line])/2}it=m[_].line}D!==m[_].ind&&(m[D]&&(e+=m[D].extra),e+=m[_].an/2,D=m[_].ind),e+=f[0]*m[_].an*.005;for(var L=0,V=0;V<M;V+=1)(P=c[V].a).p.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.p.v[0]*x[0]:L+=P.p.v[0]*x),P.a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.a.v[0]*x[0]:L+=P.a.v[0]*x);for(B=!0,this._pathData.a.v&&(e=.5*m[0].an+(l-this._pathData.f.v-.5*m[0].an-.5*m[m.length-1].an)*D/(b-1),e+=this._pathData.f.v);B;)e+L<=s+O||!o?(z=(e+L-s)/i.partialLength,H=a.point[0]+(i.point[0]-a.point[0])*z,q=a.point[1]+(i.point[1]-a.point[1])*z,d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01),B=!1):o&&(s+=i.partialLength,(r+=1)>=o.length&&(r=0,o=h[n+=1]?h[n].points:p.v.c?h[n=r=0].points:(s-=i.partialLength,null)),o)&&(a=i,O=(i=o[r]).partialLength);S=m[_].an/2-m[_].add,d.translate(-S,0,0)}else S=m[_].an/2-m[_].add,d.translate(-S,0,0),d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01,0);for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),0!==w||0!==t.j)&&(this._hasMaskedPath?x.length?e+=P.t.v*x[0]:e+=P.t.v*x:x.length?w+=P.t.v*x[0]:w+=P.t.v*x);for(t.strokeWidthAnim&&(k=t.sw||0),t.strokeColorAnim&&(A=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(C=[t.fc[0],t.fc[1],t.fc[2]]),V=0;V<M;V+=1)(P=c[V].a).a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.translate(-P.a.v[0]*x[0],-P.a.v[1]*x[1],P.a.v[2]*x[2]):d.translate(-P.a.v[0]*x,-P.a.v[1]*x,P.a.v[2]*x));for(V=0;V<M;V+=1)(P=c[V].a).s.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.scale(1+(P.s.v[0]-1)*x[0],1+(P.s.v[1]-1)*x[1],1):d.scale(1+(P.s.v[0]-1)*x,1+(P.s.v[1]-1)*x,1));for(V=0;V<M;V+=1){if(P=c[V].a,x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),P.sk.propType&&(x.length?d.skewFromAxis(-P.sk.v*x[0],P.sa.v*x[1]):d.skewFromAxis(-P.sk.v*x,P.sa.v*x)),P.r.propType&&(x.length?d.rotateZ(-P.r.v*x[2]):d.rotateZ(-P.r.v*x)),P.ry.propType&&(x.length?d.rotateY(P.ry.v*x[1]):d.rotateY(P.ry.v*x)),P.rx.propType&&(x.length?d.rotateX(P.rx.v*x[0]):d.rotateX(P.rx.v*x)),P.o.propType&&(x.length?E+=(P.o.v*x[0]-E)*x[0]:E+=(P.o.v*x-E)*x),t.strokeWidthAnim&&P.sw.propType&&(x.length?k+=P.sw.v*x[0]:k+=P.sw.v*x),t.strokeColorAnim&&P.sc.propType)for(T=0;T<3;T+=1)x.length?A[T]+=(P.sc.v[T]-A[T])*x[0]:A[T]+=(P.sc.v[T]-A[T])*x;if(t.fillColorAnim&&t.fc){if(P.fc.propType)for(T=0;T<3;T+=1)x.length?C[T]+=(P.fc.v[T]-C[T])*x[0]:C[T]+=(P.fc.v[T]-C[T])*x;P.fh.propType&&(C=x.length?addHueToRGB(C,P.fh.v*x[0]):addHueToRGB(C,P.fh.v*x)),P.fs.propType&&(C=x.length?addSaturationToRGB(C,P.fs.v*x[0]):addSaturationToRGB(C,P.fs.v*x)),P.fb.propType&&(C=x.length?addBrightnessToRGB(C,P.fb.v*x[0]):addBrightnessToRGB(C,P.fb.v*x))}}for(V=0;V<M;V+=1)(P=c[V].a).p.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),this._hasMaskedPath?x.length?d.translate(0,P.p.v[1]*x[0],-P.p.v[2]*x[1]):d.translate(0,P.p.v[1]*x,-P.p.v[2]*x):x.length?d.translate(P.p.v[0]*x[0],P.p.v[1]*x[1],-P.p.v[2]*x[2]):d.translate(P.p.v[0]*x,P.p.v[1]*x,-P.p.v[2]*x));if(t.strokeWidthAnim&&(W=k<0?0:k),t.strokeColorAnim&&($="rgb("+Math.round(255*A[0])+","+Math.round(255*A[1])+","+Math.round(255*A[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*C[0])+","+Math.round(255*C[1])+","+Math.round(255*C[2])+")"),this._hasMaskedPath)d.translate(0,-t.ls),d.translate(0,f[1]*K*.01+U,0),this._pathData.p.v&&(J=(i.point[1]-a.point[1])/(i.point[0]-a.point[0]),J=180*Math.atan(J)/Math.PI,i.point[0]<a.point[0]&&(J+=180),d.rotate(-J*Math.PI/180)),d.translate(H,q,0),e-=f[0]*m[_].an*.005,m[_+1]&&D!==m[_+1].ind&&(e=(e+=m[_].an/2)+.001*t.tr*t.finalSize);else{switch(d.translate(w,U,0),t.ps&&d.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line]),0,0);break;case 2:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line])/2,0,0)}d.translate(0,-t.ls),d.translate(S,0,0),d.translate(f[0]*m[_].an*.005,f[1]*K*.01,0),w+=m[_].l+.001*t.tr*t.finalSize}"html"===N?st=d.toCSS():"svg"===N?st=d.to2dCSS():rt=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Y=E}G<=_?(j=new LetterProps(Y,W,$,X,st,rt),this.renderedLetters.push(j),G+=1,this.lettersChangedFlag=!0):(j=this.renderedLetters[_],this.lettersChangedFlag=j.update(Y,W,$,X,st,rt)||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,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),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){for(var i,s=e.length,r="",n=0;n<s;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,r+=buildShapeString(i,i.i.length,!0,t));return r},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,i,s,r){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(s,r,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,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function ISolidElement(t,e,i){this.initElement(t,e,i)}function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),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 t="",i=(e&&e.title&&(i=createNS("title"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),t+=s),e&&e.description&&(i=createNS("desc"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.description,this.svgElement.appendChild(i),t+=" "+s),t&&this.svgElement.setAttribute("aria-labelledby",t),createNS("defs")),s=(this.svgElement.appendChild(i),createNS("g"));this.svgElement.appendChild(s),this.layerElement=s,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:i,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}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,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},SVGTextLottieElement.prototype.buildShapeData=function(t,e){var i;return t.shapes&&t.shapes.length&&(i=t.shapes[0]).it&&(i=i.it[i.it.length-1]).s&&(i.s.k[0]=e,i.s.k[1]=e),t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData,s=(this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize),this.globalData.fontManager.getFontByName(i.f)),r=(s.fClass?this.layerElement.setAttribute("class",s.fClass):(this.layerElement.setAttribute("font-family",s.fFamily),t=i.fWeight,e=i.fStyle,this.layerElement.setAttribute("font-style",e),this.layerElement.setAttribute("font-weight",t)),this.layerElement.setAttribute("aria-label",i.t),i.l||[]),n=!!this.globalData.fontManager.chars;_=r.length;var a=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*i.tr*i.finalSize;if(!o||n||i.sz){var c,u,d,m,y=this.textSpans.length;for(P=0;P<_;P+=1)this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),n&&o&&0!==P||(c=P<y?this.textSpans[P].span:createNS(n?"g":"text"),y<=P&&(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=c,n&&(m=createNS("g"),c.appendChild(m),this.textSpans[P].childSpan=m),this.textSpans[P].span=c,this.layerElement.appendChild(c)),c.style.display="inherit"),a.reset(),o&&(r[P].n&&(h=-f,l=l+i.yOffset+(p?1:0),p=!1),this.applyTextPropertiesToMatrix(i,a,r[P].line,h,l),h=h+(r[P].l||0)+f),n?(u=1===(m=this.globalData.fontManager.getCharData(i.finalText[P],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t?new SVGCompElement(m.data,this.globalData,this):(u=emptyShapeData,new SVGShapeElement(u=m.data&&m.data.shapes?this.buildShapeData(m.data,i.finalSize):u,this.globalData,this)),this.textSpans[P].glyph&&(d=this.textSpans[P].glyph,this.textSpans[P].childSpan.removeChild(d.layerElement),d.destroy()),(this.textSpans[P].glyph=u)._debug=!0,u.prepareFrame(0),u.renderFrame(),this.textSpans[P].childSpan.appendChild(u.layerElement),1===m.t&&this.textSpans[P].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")):(o&&c.setAttribute("transform","translate("+a.props[12]+","+a.props[13]+")"),c.textContent=r[P].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));o&&c&&c.setAttribute("d","")}else{var g=this.textContainer,v="start";switch(i.j){case 1:v="end";break;case 2:v="middle";break;default:v="start"}g.setAttribute("text-anchor",v),g.setAttribute("letter-spacing",f);for(var b=this.buildTextContents(i.finalText),_=b.length,l=i.ps?i.ps[1]+i.ascent:0,P=0;P<_;P+=1)(c=this.textSpans[P].span||createNS("tspan")).textContent=b[P],c.setAttribute("x",0),c.setAttribute("y",l),c.style.display="inherit",g.appendChild(c),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=c,l+=i.finalLineHeight;this.layerElement.appendChild(g)}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){var t;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged&&(this._sizeChanged=!1,t=this.layerElement.getBBox(),this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}),this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;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)){this._sizeChanged=!0;for(var t,e,i,s=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l,n=r.length,a=0;a<n;a+=1)r[a].n||(t=s[a],e=this.textSpans[a].span,(i=this.textSpans[a].glyph)&&i.renderFrame(),t._mdf.m&&e.setAttribute("transform",t.m),t._mdf.o&&e.setAttribute("opacity",t.o),t._mdf.sw&&e.setAttribute("stroke-width",t.sw),t._mdf.sc&&e.setAttribute("stroke",t.sc),t._mdf.fc&&e.setAttribute("fill",t.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,i=(this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t,createNS("clipPath")),s=createNS("rect"),r=(s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0),createElementID());i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){for(var e=0,i=this.layers.length,e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e,i,s=this.elements;s[t]||99===this.layers[t].ty||(s[t]=!0,e=this.createItem(this.layers[t]),s[t]=e,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&-1!==(i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1)&&(this.elements[i]&&!0!==this.elements[i]?(s=s[i].getMatte(this.layers[t].tt),e.setMatte(s)):(this.buildItem(i),this.addPendingElement(e))))},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[s].getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){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 e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)}},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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){this.tm._placeholder?this.renderedFrame=t/this.data.sr:((t=this.tm.v)===this.data.op&&(t=this.data.op-1),this.renderedFrame=t);var e,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=t-1;0<=e;--e)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf)&&(this._mdf=!0)}},ICompElement.prototype.renderInnerContent=function(){for(var t=this.layers.length,e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].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)},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);var CompExpressionInterface=function(s){function t(t){for(var e=0,i=s.layers.length;e<i;){if(s.layers[e].nm===t||s.layers[e].ind===t)return s.elements[e].layerInterface;e+=1}return null}return Object.defineProperty(t,"_name",{value:s.data.nm}),(t.layer=t).pixelAspect=1,t.height=s.data.h||s.globalData.compSize.h,t.width=s.data.w||s.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/s.globalData.frameRate,t.displayStartTime=0,t.numLayers=s.layers.length,t};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})(t)}function seedRandom(a,o){var h=this,l=256,p=6,f="random",c=o.pow(l,p),u=o.pow(2,52),d=2*u,m=l-1;function y(t){var e,i=t.length,a=this,s=0,r=a.i=a.j=0,n=a.S=[];for(i||(t=[i++]);s<l;)n[s]=s++;for(s=0;s<l;s++)n[s]=n[r=m&r+t[s%i]+(e=n[s])],n[r]=e;a.g=function(t){for(var e,i=0,s=a.i,r=a.j,n=a.S;t--;)e=n[s=m&s+1],i=i*l+n[m&(n[s]=n[r=m&r+e])+(n[r]=e)];return a.i=s,a.j=r,i}}function g(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function v(t,e){for(var i,s=t+"",r=0;r<s.length;)e[m&r]=m&(i^=19*e[m&r])+s.charCodeAt(r++);return b(e)}function b(t){return String.fromCharCode.apply(0,t)}o["seed"+f]=function(t,e,i){function s(){for(var t=n.g(p),e=c,i=0;t<u;)t=(t+i)*l,e*=l,i=n.g(1);for(;d<=t;)t/=2,e/=2,i>>>=1;return(t+i)/e}var r=[],t=v(function t(e,i){var s,r=[],n=_typeof$2(e);if(i&&"object"==n)for(s in e)try{r.push(t(e[s],i-1))}catch(t){}return r.length?r:"string"==n?e:e+"\0"}((e=!0===e?{entropy:!0}:e||{}).entropy?[t,b(a)]:null===t?function(){try{var e=new Uint8Array(l);return(h.crypto||h.msCrypto).getRandomValues(e),b(e)}catch(t){e=h.navigator,e=e&&e.plugins;return[+new Date,h,e,h.screen,b(a)]}}():t,3),r),n=new y(r);return s.int32=function(){return 0|n.g(4)},s.quick=function(){return n.g(4)/4294967296},s.double=s,v(b(n.S),a),(e.pass||i||function(t,e,i,s){return s&&(s.S&&g(s,n),t.state=function(){return g(n,{})}),i?(o[f]=t,e):t})(s,t,"global"in e?e.global:this==o,e.state)},v(o.random(),a)}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})(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function 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)){for(var i=t.length,s=[],r=0;r<i;r+=1)s[r]=-t[r];return s}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 i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e)||"string"===i||"string"===s)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]+e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e))return(t="string"===i?parseInt(t,10):t)-(e="string"===s?parseInt(e,10):e);if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]-e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}function mul(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]*e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t*e[s];return i}return 0}function div(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]/e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t/e[s];return i}return 0}function mod(t,e){return(t="string"==typeof t?parseInt(t,10):t)%(e="string"==typeof e?parseInt(e,10):e)}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){var s;return i<e&&(s=i,i=e,e=s),Math.min(Math.max(t,e),i)}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 Math.abs(t-(e=e||0));for(var i=Math.min(t.length,(e=e||helperLengthArray).length),s=0,r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i=t[0],s=t[1],r=t[2],n=Math.max(i,s,r),a=Math.min(i,s,r),o=(n+a)/2;if(n===a)l=e=0;else{var h=n-a,l=.5<o?h/(2-n-a):h/(n+a);switch(n){case i:e=(s-r)/h+(s<r?6:0);break;case s:e=(r-i)/h+2;break;case r:e=(i-s)/h+4}e/=6}return[e,l,o,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),1<i&&--i,i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,s,r=t[0],n=t[1],a=t[2];return 0===n?i=s=e=a:(e=hue2rgb(n=2*a-(a=a<.5?a*(1+n):a+n-a*n),a,r+1/3),i=hue2rgb(n,a,r),s=hue2rgb(n,a,r-1/3)),[e,i,s,t[3]]}function linear(t,e,i,s,r){var n;if(void 0!==s&&void 0!==r||(s=e,r=i,e=0,i=1),i<e&&(n=i,i=e,e=n),t<=e)return s;if(i<=t)return r;var a=i===e?0:(t-e)/(i-e);if(!s.length)return s+(r-s)*a;for(var o=s.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=s[l]+(r[l]-s[l])*a;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){for(var i=e.length,s=(t=t||createTypedArray("float32",i),createTypedArray("float32",i)),r=BMMath.random(),n=0;n<i;n+=1)s[n]=t[n]+r*(e[n]-t[n]);return s}return(t=void 0===t?0:t)+BMMath.random()*(e-t)}function createPath(t,e,i,s){for(var r,n,a=t.length,o=shapePool.newElement(),h=(o.setPathData(!!s,a),[0,0]),l=0;l<a;l+=1)r=e&&e[l]?e[l]:h,n=i&&i[l]?i[l]:h,o.setTripleAt(t[l][0],t[l][1],n[0]+t[l][0],n[1]+t[l][1],r[0]+t[l][0],r[1]+t[l][1],l,!0);return o}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,inPoint=(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,elem.data.ip/elem.comp.globalData.frameRate),outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw||0,height=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){for(var i=this.pv.length||1,s=createTypedArray("float32",i),r=Math.floor(5*time),n=0,a=0;n<r;){for(a=0;a<i;a+=1)s[a]+=-e+2*e*BMMath.random();n+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",i);if(1<i){for(a=0;a<i;a+=1)l[a]=this.pv[a]+s[a]+(-e+2*e*BMMath.random())*h;return l}return this.pv+s[0]+(-e+2*e*BMMath.random())*h}.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);function lookAt(t,e){e=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],t=Math.atan2(e[0],Math.sqrt(e[1]*e[1]+e[2]*e[2]))/degToRads;return[-Math.atan2(e[1],e[2])/degToRads,t,0]}function easeOut(t,e,i,s,r){return applyEase(easeOutBez,t,e,i,s,r)}function easeIn(t,e,i,s,r){return applyEase(easeInBez,t,e,i,s,r)}function ease(t,e,i,s,r){return applyEase(easeInOutBez,t,e,i,s,r)}function applyEase(t,e,i,s,r,n){void 0===r?(r=i,n=s):e=(e-i)/(s-i),1<e?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(r)){for(var o=r.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=(n[l]-r[l])*a+r[l];return h}return(n-r)*a+r}function nearestKey(t){var e,i,s,r=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(i=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)i=1,s=data.k[0].t;else{for(e=0;e<r-1;e+=1){if(t===data.k[e].t){i=e+1,s=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){s=(t-data.k[e].t>data.k[e+1].t-t?(i=e+2,data.k[e+1]):(i=e+1,data.k[e])).t;break}}-1===i&&(i=e+1,s=data.k[e].t)}else s=i=0;var n={};return n.index=i,n.time=s/elem.comp.globalData.frameRate,n}function key(t){if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);for(var e={time:data.k[--t].t/elem.comp.globalData.frameRate,value:[]},i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e,s=i.length,r=0;r<s;r+=1)e[r]=i[r],e.value[r]=i[r];return e}function framesToTime(t,e){return t/(e=e||elem.comp.globalData.frameRate)}function timeToFrames(t,e){return(t=t||0===t?t:time)*(e=e||elem.comp.globalData.frameRate)}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 time,velocity,value,text,textIndex,textTotal,selectorValue,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)&&(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,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};return t.initExpressions=function(t){var i=0,s=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){i+=1},t.renderer.globalData.popExpression=function(){if(0===--i){var t,e=s.length;for(t=0;t<e;t+=1)s[t].release();s.length=0}},t.renderer.globalData.registerExpressionProperty=function(t){-1===s.indexOf(t)&&s.push(t)}},t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}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}});return function(e){for(var i=createSizedArray(e.viewData.length),s=e.viewData.length,r=0;r<s;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<s;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var p={pv:0,v:0,mult:1},f={pv:[0,0,0],v:[0,0,0],mult:1};function c(s,r,n){Object.defineProperty(s,"velocity",{get:function(){return r.getVelocityAtTime(r.comp.currentFrame)}}),s.numKeys=r.keyframes?r.keyframes.length:0,s.key=function(t){var e,i;return s.numKeys?(e="",e="s"in r.keyframes[t-1]?r.keyframes[t-1].s:"e"in r.keyframes[t-2]?r.keyframes[t-2].e:r.keyframes[t-2].s,(i="unidimensional"===n?new Number(e):Object.assign({},e)).time=r.keyframes[t-1].t/r.elem.comp.globalData.frameRate,i.value="unidimensional"===n?e[0]:e,i):0},s.valueAtTime=r.getValueAtTime,s.speedAtTime=r.getSpeedAtTime,s.velocityAtTime=r.getVelocityAtTime,s.propertyGroup=r.propertyGroup}function u(){return p}return function(t){return t?"unidimensional"===t.propType?(o=1/(a=(a=t)&&"pv"in a?a:p).mult,h=a.pv*o,(l=new Number(h)).value=h,c(l,a,"unidimensional"),function(){return a.k&&a.getValue(),h=a.v*o,l.value!==h&&((l=new Number(h)).value=h,c(l,a,"unidimensional")),l}):(i=1/(e=(e=t)&&"pv"in e?e:f).mult,s=e.data&&e.data.l||e.pv.length,r=createTypedArray("float32",s),n=createTypedArray("float32",s),r.value=n,c(r,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<s;t+=1)n[t]=e.v[t]*i,r[t]=n[t];return r}):u;var e,i,s,r,n,a,o,h,l}}(),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 i,s,r,n;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?n=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),s=ExpressionPropertyInterface(t.py),t.pz&&(r=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?n():[i(),s(),r?r():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 r(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 n(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.applyPoint(e,t)}function a(t,e){e=this.getMatrix(e);return this.applyPoint(e,t)}function o(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.invertPoint(e,t)}function h(t,e){e=this.getMatrix(e);return this.invertPoint(e,t)}function l(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.applyToPointArray(e[0],e[1],e[2]||0)}function p(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}function f(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}function c(){return[1,1,1,1]}return function(e){function i(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return i.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return s;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return i.effect;case"ADBE Text Properties":return i.textInterface;default:return null}}i.getMatrix=r,i.invertPoint=p,i.applyPoint=l,i.toWorld=a,i.toWorldVec=n,i.fromWorld=h,i.fromWorldVec=o,i.toComp=a,i.fromComp=f,i.sampleImage=c,i.sourceRectAtTime=e.sourceRectAtTime.bind(e);
vendor: 5,692 bytes, line 1
1var s,t=getDescriptor(s=TransformExpressionInterface((i._elem=e).finalTransform.mProp),"anchorPoint");return Object.defineProperties(i,{hasParent:{get:function(){return e.hierarchy.length}},parent:{get:function(){return e.hierarchy[0].layerInterface}},rotation:getDescriptor(s,"rotation"),scale:getDescriptor(s,"scale"),position:getDescriptor(s,"position"),opacity:getDescriptor(s,"opacity"),anchorPoint:t,anchor_point:t,transform:{get:function(){return s}},active:{get:function(){return e.isInRange}}}),i.startTime=e.data.st,i.index=e.data.ind,i.source=e.data.refId,i.height=0===e.data.ty?e.data.h:100,i.width=0===e.data.ty?e.data.w:100,i.inPoint=e.data.ip/e.comp.globalData.frameRate,i.outPoint=e.data.op/e.comp.globalData.frameRate,i._name=e.data.nm,i.registerMaskInterface=function(t){i.mask=new MaskManagerInterface(t,e)},i.registerEffectsInterface=function(t){i.effect=t},i}}(),propertyGroupFactory=function(e,i){return function(t){return(t=void 0===t?1:t)<=0?e:i(t-1)}},PropertyInterface=function(t,e){var i={_name:t};return function(t){return(t=void 0===t?1:t)<=0?i:e(t-1)}},EffectsExpressionInterface=function(){function p(t,e,i,s){var r=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",s)),function(){return 10===e?i.comp.compInterface(t.p.v):r()}}return{createEffectsInterface:function(t,e){if(t.effectsManager){var i,s=[],r=t.data.ef,n=t.effectsManager.effectElements.length;for(i=0;i<n;i+=1)s.push(function t(r,e,i,s){function n(t){for(var e=r.ef,i=0,s=e.length;i<s;){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 a,o=propertyGroupFactory(n,i),h=[],l=r.ef.length;for(a=0;a<l;a+=1)5===r.ef[a].ty?h.push(t(r.ef[a],e.effectElements[a],e.effectElements[a].propertyGroup,s)):h.push(p(e.effectElements[a],r.ef[a].ty,s,o));return"ADBE Color Control"===r.mn&&Object.defineProperty(n,"color",{get:function(){return h[0]()}}),Object.defineProperties(n,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:o}}),n.enabled=0!==r.en,n.active=n.enabled,n}(r[i],t.effectsManager.effectElements[i],e,t));var a=t.data.ef||[],o=function(t){for(i=0,n=a.length;i<n;){if(t===a[i].nm||t===a[i].mn||t===a[i].ix)return s[i];i+=1}return null};return Object.defineProperty(o,"numProperties",{get:function(){return a.length}}),o}return null}}}(),ShapePathInterface=function(t,e,i){var s=e.sh;function r(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?r.path:null}e=propertyGroupFactory(r,i);return s.setGroupProperty(PropertyInterface("Path",e)),Object.defineProperties(r,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),r},ShapeExpressionInterface=function(){function a(t,e,i){for(var s=[],r=t?t.length:0,n=0;n<r;n+=1)"gr"===t[n].ty?s.push(function(t,e,i){function s(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}}s.propertyGroup=propertyGroupFactory(s,i);i=function(t,e,i){function s(t){for(var e=0,i=r.length;e<i;){if(r[e]._name===t||r[e].mn===t||r[e].propertyIndex===t||r[e].ix===t||r[e].ind===t)return r[e];e+=1}return"number"==typeof t?r[t-1]:null}s.propertyGroup=propertyGroupFactory(s,i),r=a(t.it,e.it,s.propertyGroup),s.numProperties=r.length;var r,i=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.transform=i,s.propertyIndex=t.cix,s._name=t.nm,s}(t,e,s.propertyGroup),e=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.content=i,s.transform=e,Object.defineProperty(s,"_name",{get:function(){return t.nm}}),s.numProperties=t.np,s.propertyIndex=t.ix,s.nm=t.nm,s.mn=t.mn,s}(t[n],e[n],i)):"fl"===t[n].ty?s.push(function(t,e,i){function s(t){return"Color"===t||"color"===t?s.color:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):"st"===t[n].ty?s.push(function(e,i,t){var t=propertyGroupFactory(o,t),s=propertyGroupFactory(void 0,t);var r,n=e.d?e.d.length:0,a={};for(r=0;r<n;r+=1)(function(t){Object.defineProperty(a,e.d[t].nm,{get:ExpressionPropertyInterface(i.d.dataProps[t].p)})})(r),i.d.dataProps[r].p.setGroupProperty(s);function o(t){return"Color"===t||"color"===t?o.color:"Opacity"===t||"opacity"===t?o.opacity:"Stroke Width"===t||"stroke width"===t?o.strokeWidth:null}return Object.defineProperties(o,{color:{get:ExpressionPropertyInterface(i.c)},opacity:{get:ExpressionPropertyInterface(i.o)},strokeWidth:{get:ExpressionPropertyInterface(i.w)},dash:{get:function(){return a}},_name:{value:e.nm},mn:{value:e.mn}}),i.c.setGroupProperty(PropertyInterface("Color",t)),i.o.setGroupProperty(PropertyInterface("Opacity",t)),i.w.setGroupProperty(PropertyInterface("Stroke Width",t)),o}(t[n],e[n],i)):"tm"===t[n].ty?s.push(function(e,t,i){function s(t){return t===e.e.ix||"End"===t||"end"===t?s.end:t===e.s.ix?s.start:t===e.o.ix?s.offset:null}var r=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",r)),t.e.setGroupProperty(PropertyInterface("End",r)),t.o.setGroupProperty(PropertyInterface("Offset",r)),s.propertyIndex=e.ix,s.propertyGroup=i,Object.defineProperties(s,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}
vendor: 30,705 bytes, line 1
1(t[n],e[n],i)):"tr"!==t[n].ty&&("el"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.s.ix===t?s.size:null}i=propertyGroupFactory(s,i),s.propertyIndex=e.ix,t="tm"===t.sh.ty?t.sh.prop:t.sh;return t.s.setGroupProperty(PropertyInterface("Size",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(s,{size:{get:ExpressionPropertyInterface(t.s)},position:{get:ExpressionPropertyInterface(t.p)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sr"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.rotation:e.pt.ix===t?s.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?s.outerRadius:e.os.ix===t?s.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?s.innerRoundness:null:s.innerRadius}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.or.setGroupProperty(PropertyInterface("Outer Radius",i)),t.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),t.pt.setGroupProperty(PropertyInterface("Points",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(t.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),t.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},rotation:{get:ExpressionPropertyInterface(t.r)},points:{get:ExpressionPropertyInterface(t.pt)},outerRadius:{get:ExpressionPropertyInterface(t.or)},outerRoundness:{get:ExpressionPropertyInterface(t.os)},innerRadius:{get:ExpressionPropertyInterface(t.ir)},innerRoundness:{get:ExpressionPropertyInterface(t.is)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sh"===t[n].ty?s.push(ShapePathInterface(t[n],e[n],i)):"rc"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?s.size:null}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.p.setGroupProperty(PropertyInterface("Position",i)),t.s.setGroupProperty(PropertyInterface("Size",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},roundness:{get:ExpressionPropertyInterface(t.r)},size:{get:ExpressionPropertyInterface(t.s)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rd"===t[n].ty?s.push(function(e,t,i){function s(t){return e.r.ix===t||"Round Corners 1"===t?s.radius:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(s,{radius:{get:ExpressionPropertyInterface(t.rd)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rp"===t[n].ty?s.push(function(e,t,i){function s(t){return e.c.ix===t||"Copies"===t?s.copies:e.o.ix===t||"Offset"===t?s.offset:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.c.setGroupProperty(PropertyInterface("Copies",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(s,{copies:{get:ExpressionPropertyInterface(t.c)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"gf"===t[n].ty?s.push(function(t,e,i){function s(t){return"Start Point"===t||"start point"===t?s.startPoint:"End Point"===t||"end point"===t?s.endPoint:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{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}}),e.s.setGroupProperty(PropertyInterface("Start Point",i)),e.e.setGroupProperty(PropertyInterface("End Point",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):s.push((t[n],e[n],function(){return null})));return s}function o(e,t,i){function s(t){return e.a.ix===t||"Anchor Point"===t?s.anchorPoint:e.o.ix===t||"Opacity"===t?s.opacity:e.p.ix===t||"Position"===t?s.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?s.rotation:e.s.ix===t||"Scale"===t?s.scale:e.sk&&e.sk.ix===t||"Skew"===t?s.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?s.skewAxis:null}var r=propertyGroupFactory(s,i);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(s,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),s.ty="tr",s.mn=e.mn,s.propertyGroup=i,s}return function(t,e,s){var r;function i(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?s:r[t-1];for(var e=0,i=r.length;e<i;){if(r[e]._name===t)return r[e];e+=1}return null}return i.propertyGroup=propertyGroupFactory(i,function(){return s}),r=a(t,e,i.propertyGroup),i.numProperties=r.length,i._name="Contents",i}}(),TextExpressionInterface=function(e){var i;function s(t){return"ADBE Text Document"!==t?null:s.sourceText}return Object.defineProperty(s,"sourceText",{get:function(){e.textProperty.getValue();var t=e.textProperty.currentData.t;return i&&t===i.value||((i=new String(t)).value=t||new String(t),Object.defineProperty(i,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),i}}),s};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})(t)}var FootageInterface=function(){function i(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=(r="",n=(s=t).getFootageData(),function(){return r="",n=s.getFootageData(),i}),e;function i(t){var e;return n[t]?"object"===_typeof(n=n[r=t])?i:n:-1!==(e=t.indexOf(r))?(t=parseInt(t.substr(e+r.length),10),"object"===_typeof(n=n[t])?i:n):""}var s,r,n}return function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=i(t),e}}(),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,i){e.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(t,e,i).bind(i)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.01),s=0;if(e.length){for(var r=0;r<e.length;r+=1)s+=Math.pow(i[r]-e[r],2);s=100*Math.sqrt(s)}else s=0;return s},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.001);if(e.length)for(var s=createTypedArray("float32",e.length),r=0;r<e.length;r+=1)s[r]=(i[r]-e[r])/-.001;else s=(i-e)/-.001;return s},getValueAtTime:function(t){return(t=(t*=this.elem.globalData.frameRate)-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 a(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(i?r=p-(s=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),s=p-(r=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-r)/s)%2!=0)return this.getValueAtTime((s-(h-r)%s+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(r/this.comp.globalData.frameRate,0),c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0),d=Math.floor((h-r)/s);if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=(c[n]-f[n])*d+u[n];return o}return(c-f)*d+u}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return m+(h-p)/.001*(m-y)}}return this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0)}function o(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(p<=h)return this.pv;if(i?r=p+(s=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):s=(r=l[e=!e||e>l.length-1?l.length-1:e].t)-p,"pingpong"===t){if(Math.floor((p-h)/s)%2==0)return this.getValueAtTime(((p-h)%s+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),u=this.getValueAtTime((s-(p-h)%s+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/s)+1;if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=u[n]-(c[n]-f[n])*d;return o}return u-(c-f)*d}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*(p-h)/.001;return o}return m+(m-y)*(p-h)/.001}}return this.getValueAtTime((s-((p-h)%s+p))/this.comp.globalData.frameRate,0)}function h(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;for(var i,s=this.comp.renderedFrame/this.comp.globalData.frameRate,r=s-t,n=1<e?(s+t-r)/(e-1):1,a=0,o=0,h=this.pv.length?createTypedArray("float32",this.pv.length):0;a<e;){if(i=this.getValueAtTime(r+a*n),this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]+=i[o];else h+=i;a+=1}if(this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]/=e;else h/=e;return h}var s=TransformPropertyFactory.getTransformProperty,l=(TransformPropertyFactory.getTransformProperty=function(t,e,i){t=s(t,e,i);return t.dynamicProperties.length?t.getValueAtTime=function(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e,i,s,r,n=this._transformCachingAtTime.v;return n.cloneFromProps(this.pre.props),this.appliedTransformations<1&&(i=this.a.getValueAtTime(t),n.translate(-i[0]*this.a.mult,-i[1]*this.a.mult,i[2]*this.a.mult)),this.appliedTransformations<2&&(i=this.s.getValueAtTime(t),n.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)),this.sk&&this.appliedTransformations<3&&(i=this.sk.getValueAtTime(t),e=this.sa.getValueAtTime(t),n.skewFromAxis(-i*this.sk.mult,e*this.sa.mult)),this.r&&this.appliedTransformations<4?(i=this.r.getValueAtTime(t),n.rotate(-i*this.r.mult)):!this.r&&this.appliedTransformations<4&&(e=this.rz.getValueAtTime(t),i=this.ry.getValueAtTime(t),s=this.rx.getValueAtTime(t),r=this.or.getValueAtTime(t),n.rotateZ(-e*this.rz.mult).rotateY(i*this.ry.mult).rotateX(s*this.rx.mult).rotateZ(-r[2]*this.or.mult).rotateY(r[1]*this.or.mult).rotateX(r[0]*this.or.mult)),this.data.p&&this.data.p.s?(e=this.px.getValueAtTime(t),i=this.py.getValueAtTime(t),this.data.p.z?(s=this.pz.getValueAtTime(t),n.translate(e*this.px.mult,i*this.py.mult,-s*this.pz.mult)):n.translate(e*this.px.mult,i*this.py.mult,0)):(r=this.p.getValueAtTime(t),n.translate(r[0]*this.p.mult,r[1]*this.p.mult,-r[2]*this.p.mult)),n}.bind(t):t.getValueAtTime=function(){return this.v.clone(new Matrix)}.bind(t),t.setGroupProperty=expressionHelpers.setGroupProperty,t},PropertyFactory.getProp);PropertyFactory.getProp=function(t,e,i,s,r){var s=l(t,e,i,s,r),n=(s.kf?s.getValueAtTime=expressionHelpers.getValueAtTime.bind(s):s.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s.loopOut=a,s.loopIn=o,s.smooth=h,s.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(s),s.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(s),s.numKeys=1===e.a?e.k.length:0,s.propertyIndex=e.ix,0);return 0!==i&&(n=createTypedArray("float32",(1===e.a?e.k[0].s:e.k).length)),s._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:n},expressionHelpers.searchExpressions(t,e,s),s.k&&r.addDynamicProperty(s),s};var t=ShapePropertyFactory.getConstructorFunction(),e=ShapePropertyFactory.getKeyframedConstructorFunction();function i(){}i.prototype={vertices:function(t,e){this.k&&this.getValue();for(var i=this.v,s=(i=void 0!==e?this.getValueAtTime(e,0):i)._length,r=i[t],n=i.v,a=createSizedArray(s),o=0;o<s;o+=1)a[o]="i"===t||"o"===t?[r[o][0]-n[o][0],r[o][1]-n[o][1]]:[r[o][0],r[o][1]];return a},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 i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));for(var e=this._segmentsLength,s=e.lengths,r=e.totalLength*t,n=0,a=s.length,o=0;n<a;){if(o+s[n].addedLength>r){var h=n,l=i.c&&n===a-1?0:n+1,p=(r-o)/s[n].addedLength,f=bez.getPointInSegment(i.v[h],i.v[l],i.o[h],i.i[l],p,s[n]);break}o+=s[n].addedLength,n+=1}return f=f||(i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]])},vectorOnPath:function(t,e,i){1==t?t=this.v.c:0==t&&(t=.999);var s=this.pointOnPath(t,e),t=this.pointOnPath(t+.001,e),e=t[0]-s[0],t=t[1]-s[1],s=Math.sqrt(Math.pow(e,2)+Math.pow(t,2));return 0===s?[0,0]:"tangent"===i?[e/s,t/s]:[-t/s,e/s]},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([i],t),extendPrototype([i],e),e.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),(t=(t*=this.elem.globalData.frameRate)-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},e.prototype.initiateExpression=ExpressionManager.initiateExpression;var n=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,i,s,r){s=n(t,e,i,s,r);return s.propertyIndex=e.ix,s.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,s):4===i&&expressionHelpers.searchExpressions(t,e.ks,s),s.k&&t.addDynamicProperty(s),s}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var i,e=this.calculateExpression(e);return t.t!==e?(this.copyData(i={},t),i.t=e.toString(),i.__complete=!1,i):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 i,s,r=createNS("feMerge");for(r.setAttribute("result",t),s=0;s<e.length;s+=1)(i=createNS("feMergeNode")).setAttribute("in",e[s]),r.appendChild(i),r.appendChild(i);return r}};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,i,s,r){this.filterManager=e;e=createNS("feColorMatrix"),e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","linearRGB"),e.setAttribute("values",linearFilterValue+" 1 0"),(this.linearFilter=e).setAttribute("result",s+"_tint_1"),t.appendChild(e),(e=createNS("feColorMatrix")).setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.setAttribute("result",s+"_tint_2"),t.appendChild(e),this.matrixFilter=e,e=this.createMergeNode(s,[r,s+"_tint_1",s+"_tint_2"]);t.appendChild(e)}function SVGFillFilter(t,e,i,s){this.filterManager=e;e=createNS("feColorMatrix");e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.setAttribute("result",s),t.appendChild(e),this.matrixFilter=e}function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}function SVGTritoneFilter(t,e,i,s){this.filterManager=e;e=createNS("feColorMatrix"),e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","linearRGB"),e.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(e),e=createNS("feComponentTransfer"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("result",s),this.matrixFilter=e,s=createNS("feFuncR"),s.setAttribute("type","table"),e.appendChild(s),this.feFuncR=s,s=createNS("feFuncG"),s.setAttribute("type","table"),e.appendChild(s),this.feFuncG=s,s=createNS("feFuncB");s.setAttribute("type","table"),e.appendChild(s),this.feFuncB=s,t.appendChild(e)}function SVGProLevelsFilter(t,e,i,s){this.filterManager=e;var e=this.filterManager.effectElements,r=createNS("feComponentTransfer");(e[10].p.k||0!==e[10].p.v||e[11].p.k||1!==e[11].p.v||e[12].p.k||1!==e[12].p.v||e[13].p.k||0!==e[13].p.v||e[14].p.k||1!==e[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",r)),(e[17].p.k||0!==e[17].p.v||e[18].p.k||1!==e[18].p.v||e[19].p.k||1!==e[19].p.v||e[20].p.k||0!==e[20].p.v||e[21].p.k||1!==e[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",r)),(e[24].p.k||0!==e[24].p.v||e[25].p.k||1!==e[25].p.v||e[26].p.k||1!==e[26].p.v||e[27].p.k||0!==e[27].p.v||e[28].p.k||1!==e[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",r)),(e[31].p.k||0!==e[31].p.v||e[32].p.k||1!==e[32].p.v||e[33].p.k||1!==e[33].p.v||e[34].p.k||0!==e[34].p.v||e[35].p.k||1!==e[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",r)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r)),(e[3].p.k||0!==e[3].p.v||e[4].p.k||1!==e[4].p.v||e[5].p.k||1!==e[5].p.v||e[6].p.k||0!==e[6].p.v||e[7].p.k||1!==e[7].p.v)&&((r=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("result",s),t.appendChild(r),this.feFuncRComposed=this.createFeFunc("feFuncR",r),this.feFuncGComposed=this.createFeFunc("feFuncG",r),this.feFuncBComposed=this.createFeFunc("feFuncB",r))}function SVGDropShadowEffect(t,e,i,s,r){var n=e.container.globalData.renderConfig.filterSize,a=e.data.fs||n,a=(t.setAttribute("x",a.x||n.x),t.setAttribute("y",a.y||n.y),t.setAttribute("width",a.width||n.width),t.setAttribute("height",a.height||n.height),this.filterManager=e,createNS("feGaussianBlur")),n=(a.setAttribute("in","SourceAlpha"),a.setAttribute("result",s+"_drop_shadow_1"),a.setAttribute("stdDeviation","0"),this.feGaussianBlur=a,t.appendChild(a),createNS("feOffset")),e=(n.setAttribute("dx","25"),n.setAttribute("dy","0"),n.setAttribute("in",s+"_drop_shadow_1"),n.setAttribute("result",s+"_drop_shadow_2"),this.feOffset=n,t.appendChild(n),createNS("feFlood")),a=(e.setAttribute("flood-color","#00ff00"),e.setAttribute("flood-opacity","1"),e.setAttribute("result",s+"_drop_shadow_3"),this.feFlood=e,t.appendChild(e),createNS("feComposite")),n=(a.setAttribute("in",s+"_drop_shadow_3"),a.setAttribute("in2",s+"_drop_shadow_2"),a.setAttribute("operator","in"),a.setAttribute("result",s+"_drop_shadow_4"),t.appendChild(a),this.createMergeNode(s,[s+"_drop_shadow_4",r]));t.appendChild(n)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[0].p.v,e=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",e[0]-t[0]+" 0 0 0 "+t[0]+" "+(e[1]-t[1])+" 0 0 0 "+t[1]+" "+(e[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0"))},SVGFillFilter.prototype.renderFrame=function(t){var e;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[2].p.v,e=this.filterManager.effectElements[6].p.v,this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+e+" 0"))},SVGStrokeEffect.prototype.initialize=function(){var t,e,i,s,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(s=this.elem.maskManager.masksProperties.length,i=0):s=(i=this.filterManager.effectElements[0].p.v-1)+1,(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);i<s;i+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:i});if(3===this.filterManager.effectElements[10].p.v){var n=createNS("mask"),a=createElementID(),o=(n.setAttribute("id",a),n.setAttribute("mask-type","alpha"),n.appendChild(e),this.elem.globalData.defs.appendChild(n),createNS("g"));for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");r[0];)o.appendChild(r[0]);this.elem.layerElement.appendChild(o),this.masker=n,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(r=this.elem.layerElement.children||this.elem.layerElement.childNodes;r.length;)this.elem.layerElement.removeChild(r[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){this.initialized||this.initialize();for(var e,i,s=this.paths.length,r=0;r<s;r+=1)if(-1!==this.paths[r].m&&(n=this.elem.maskManager.viewData[this.paths[r].m],e=this.paths[r].p,(t||this.filterManager._mdf||n.prop._mdf)&&e.setAttribute("d",n.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||n.prop._mdf)){if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){for(var n=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),a=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=e.getTotalLength(),h="0 0 0 "+o*n+" ",l=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,p=Math.floor(o*(a-n)/l),f=0;f<p;f+=1)h+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";h+="0 "+10*o+" 0 0"}else h="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;e.setAttribute("stroke-dasharray",h)}(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||(i=this.filterManager.effectElements[3].p.v,this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*i[0])+","+bmFloor(255*i[1])+","+bmFloor(255*i[2])+")"))},SVGTritoneFilter.prototype.renderFrame=function(t){var e,i,s,r;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[0].p.v,e=this.filterManager.effectElements[1].p.v,i=(r=this.filterManager.effectElements[2].p.v)[0]+" "+e[0]+" "+t[0],s=r[1]+" "+e[1]+" "+t[1],r=r[2]+" "+e[2]+" "+t[2],this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",r))},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){t=createNS(t);return t.setAttribute("type","table"),e.appendChild(t),t},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,s,r){for(var n,a=0,o=Math.min(t,e),h=Math.max(t,e),l=Array.call(null,{length:256}),p=0,f=r-s,c=e-t;a<=256;)n=(n=a/256)<=o?c<0?r:s:h<=n?c<0?s:r:s+f*Math.pow((n-t)/c,1/i),l[p]=n,p+=1,a+=256/255;return l.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&(i=this.filterManager.effectElements,this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA)&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&((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)&&(i=this.filterManager.effectElements[0].p.v,this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*i[0]),Math.round(255*i[1]),Math.round(255*i[2])))),(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)&&(i=this.filterManager.effectElements[3].p.v,t=(this.filterManager.effectElements[2].p.v-90)*degToRads,e=i*Math.cos(t),i=i*Math.sin(t),this.feOffset.setAttribute("dx",e),this.feOffset.setAttribute("dy",i))};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,(this.elem=i).matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGGaussianBlurEffect(t,e,i,s){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;e=createNS("feGaussianBlur");e.setAttribute("result",s),t.appendChild(e),this.feGaussianBlur=e}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var s,r=i.children,n=0,a=r.length;n<a&&r[n]!==t.layerElement;)n+=1;n<=a-2&&(s=r[n+1]);var o=createNS("use");o.setAttribute("href","#"+e),s?i.insertBefore(o,s):i.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){var i,s,r,n;this.findSymbol(e)||(i=createElementID(),(s=createNS("mask")).setAttribute("id",e.layerId),s.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e),(n=t.globalData.defs).appendChild(s),(r=createNS("symbol")).setAttribute("id",i),this.replaceInParent(e,i),r.appendChild(e.layerElement),n.appendChild(r),(n=createNS("use")).setAttribute("href","#"+i),s.appendChild(n),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,i=0,s=e.length;i<s;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){var e;(t||this.filterManager._mdf)&&(t=.3*this.filterManager.effectElements[0].p.v,e=this.filterManager.effectElements[1].p.v,this.feGaussianBlur.setAttribute("stdDeviation",(3==e?0:t)+" "+(2==e?0:t)),e=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate",this.feGaussianBlur.setAttribute("edgeMode",e))},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){var e,i,s,r,n,a,o;this._opMdf=!1,this._mdf=!1,(t||this.effectsManager._mdf)&&(e=(t=this.effectsManager.effectElements)[0].p.v,i=t[1].p.v,r=1===t[2].p.v,s=t[3].p.v,r=r?s:t[4].p.v,n=t[5].p.v,a=t[6].p.v,o=t[7].p.v,this.matrix.reset(),this.matrix.translate(-e[0],-e[1],e[2]),this.matrix.scale(.01*r,.01*s,
11),this.matrix.rotate(-o*degToRads),this.matrix.skewFromAxis(-n*degToRads,(a+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==t[8].p.v)&&(this.opacity=t[8].p.v,this._opMdf=!0)},extendPrototype([TransformEffect],SVGTransformEffect),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),registerEffect(35,SVGTransformEffect,!1),lottie})}),xc=_c()}),Pl={};fr(Pl,{default:function(){return Sc}});var Pc,Sc,Sl=ls(function(){qs(),Pc=is(function(Hr,qr){var t,e;("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&(e=function(){function L(){return B}function P(){return R}var V="http://www.w3.org/2000/svg",R="",B=!1;function f(t){return document.createElement(t)}function y(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}N.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(t){for(var e=this.audios.length,i=0;i<e;i+=1)this.audios[i].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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}};var O=function(){return new N},q="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):z(t,e)}:z;function z(t,e){var i,s=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(s=0;s<e;s+=1)r.push(i);return r}function N(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}function S(t){return Array.apply(null,{length:t})}var G=!0,j=null,H="",$=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),g=Math.pow,X=Math.sqrt,p=Math.floor,Y=Math.min,J=150,W=Math.PI/180,U=.5519;function K(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function Z(t,e){this.type=t,this.direction=e<0?-1:1}function Q(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function tt(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function et(t,e){this.type=t,this.target=e}function it(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function st(t){this.type="configError",this.nativeError=t}var rt,x=function(){return H+"__lottie_element_"+(rt+=1)};function nt(t,e,i){var s,r,n,a=Math.floor(6*t),t=6*t-a,o=i*(1-e),h=i*(1-t*e),l=i*(1-(1-t)*e);switch(a%6){case 0:s=i,r=l,n=o;break;case 1:s=h,r=i,n=o;break;case 2:s=o,r=i,n=l;break;case 3:s=o,r=h,n=i;break;case 4:s=l,r=o,n=i;break;case 5:s=i,r=o,n=h}return[s,r,n]}function at(t,e,i){var s,r=Math.max(t,e,i),n=Math.min(t,e,i),a=r-n,o=0===r?0:a/r,h=r/255;switch(r){case n:s=0;break;case t:s=e-i+a*(e<i?6:0),s/=6*a;break;case e:s=i-t+2*a,s/=6*a;break;case i:s=t-e+4*a,s/=6*a}return[s,o,h]}function ht(t,e){t=at(255*t[0],255*t[1],255*t[2]);return t[1]+=e,1<t[1]?t[1]=1:t[1]<=0&&(t[1]=0),nt(t[0],t[1],t[2])}function lt(t,e){t=at(255*t[0],255*t[1],255*t[2]);return t[2]+=e,1<t[2]?t[2]=1:t[2]<0&&(t[2]=0),nt(t[0],t[1],t[2])}function pt(t,e){t=at(255*t[0],255*t[1],255*t[2]);return t[0]+=e/360,1<t[0]?--t[0]:t[0]<0&&(t[0]+=1),nt(t[0],t[1],t[2])}for(var ot,ft=rt=0;ft<256;ft+=1)ot=ft.toString(16),ft,ot.length;function ct(){return j}function ut(t){J=t}function dt(){return J}function E(t){return document.createElementNS(V,t)}function mt(t){return(mt="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})(t)}bt=1,_t=[],Pt={onmessage:function(){},postMessage:function(t){gt({data:t})}},s={postMessage:function(t){Pt.onmessage({data:t})}};
vendor: 13,724 bytes, line 1
1var yt,gt,vt,bt,_t,Pt,s,xt={loadAnimation:function(t,e,i){Tt(),e=wt(e,i),vt.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},loadData:function(t,e,i){Tt(),e=wt(e,i),vt.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},completeAnimation:function(t,e,i){Tt(),e=wt(e,i),vt.postMessage({type:"complete",animation:t,id:e})}},St=((i=f("canvas")).width=1,i.height=1,(t=i.getContext("2d")).fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),yt=i,Ct.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;for(var i=t.length,s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},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,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=kt(t,this.assetsPath,this.path),i=f("img"),s=(i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=yt,this._imageLoaded()}.bind(this),!1),i.src=e,{img:i,assetData:t});return s},createImageData:function(t){var e=kt(t,this.assetsPath,this.path),i=E("image"),s=($?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=yt,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i),{img:i,assetData:t});return s},imageLoaded:Et,footageLoaded:At,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},Ct);function Et(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function At(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function kt(t,e,i){var s="";return s=t.e?t.p:e?e+(e=-1!==(e=t.p).indexOf("images/")?e.split("/")[1]:e):(s=i,(s+=t.u||"")+t.p)}function Ct(){this._imageLoaded=Et.bind(this),this._footageLoaded=At.bind(this),this.testImageLoaded=function(t){var e=0,i=setInterval(function(){(t.getBBox().width||500<e)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}.bind(this),this.createFootageData=function(t){var e={assetData:t},t=kt(t,this.assetsPath,this.path);return xt.loadData(t,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}function Tt(){var t,e;vt||(t=function(e){function t(){function p(t,e){for(var i,s,r,n=t.length,a=0;a<n;a+=1)if("ks"in(r=t[a])&&!r.completed){if(r.completed=!0,r.hasMask)for(var o=r.masksProperties,h=o.length,l=0;l<h;l+=1)if(o[l].pt.k.i)u(o[l].pt.k);else for(s=o[l].pt.k.length,i=0;i<s;i+=1)o[l].pt.k[i].s&&u(o[l].pt.k[i].s[0]),o[l].pt.k[i].e&&u(o[l].pt.k[i].e[0]);0===r.ty?(r.layers=f(r.refId,e),p(r.layers,e)):4===r.ty?c(r.shapes):5===r.ty&&0===(r=r).t.a.length&&0 in r.t.p}}function f(t,e){t=function(t,e){for(var i=0,s=e.length;i<s;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return t?t.layers.__used?JSON.parse(JSON.stringify(t.layers)):(t.layers.__used=!0,t.layers):null}function c(t){for(var e,i,s=t.length-1;0<=s;--s)if("sh"===t[s].ty)if(t[s].ks.k.i)u(t[s].ks.k);else for(i=t[s].ks.k.length,e=0;e<i;e+=1)t[s].ks.k[e].s&&u(t[s].ks.k[e].s[0]),t[s].ks.k[e].e&&u(t[s].ks.k[e].e[0]);else"gr"===t[s].ty&&c(t[s].it)}function u(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function r(t,e){e=e?e.split("."):[100,100,100];return t[0]>e[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],t[2],0)))}h=[4,4,14];var s,n,a,o,h,l=function(t){if(r(h,t.v)&&(P(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&P(t.assets[i].layers)},d=(o=[4,7,99],function(t){if(t.chars&&!r(o,t.v))for(var e=t.chars.length,i=0;i<e;i+=1){var s=t.chars[i];s.data&&s.data.shapes&&(c(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}},t.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"})))}}),m=(a=[5,7,15],function(t){if(r(a,t.v)&&(_(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&_(t.assets[i].layers)}),y=(n=[4,1,9],function(t){if(r(n,t.v)&&(b(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&b(t.assets[i].layers)}),g=(s=[4,4,18],function(t){if(r(s,t.v)&&(v(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&v(t.assets[i].layers)});function v(t){for(var e,i,s,r=t.length,n=0;n<r;n+=1){if((e=t[n]).hasMask)for(var a=e.masksProperties,o=a.length,h=0;h<o;h+=1)if(a[h].pt.k.i)a[h].pt.k.c=a[h].cl;else for(s=a[h].pt.k.length,i=0;i<s;i+=1)a[h].pt.k[i].s&&(a[h].pt.k[i].s[0].c=a[h].cl),a[h].pt.k[i].e&&(a[h].pt.k[i].e[0].c=a[h].cl);4===e.ty&&function t(e){for(var i,s,r=e.length-1;0<=r;--r)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(s=e[r].ks.k.length,i=0;i<s;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}(e.shapes)}}function b(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&function t(e){for(var i,s,r=e.length,n=0;n<r;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(s=e[n].c.k.length,i=0;i<s;i+=1)e[n].c.k[i].s&&(e[n].c.k[i].s[0]/=255,e[n].c.k[i].s[1]/=255,e[n].c.k[i].s[2]/=255,e[n].c.k[i].s[3]/=255),e[n].c.k[i].e&&(e[n].c.k[i].e[0]/=255,e[n].c.k[i].e[1]/=255,e[n].c.k[i].e[2]/=255,e[n].c.k[i].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}(t[i].shapes)}function _(t){for(var e,i=t.length,s=0;s<i;s+=1)5===t[s].ty&&("number"==typeof(e=(e=t[s]).t.p).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 P(t){for(var e,i,s=t.length,r=0;r<s;r+=1)5===t[r].ty&&(e=t[r],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}var t={};return t.completeData=function(t){if(!t.__complete){y(t),l(t),d(t),m(t),g(t),p(t.layers,t.assets);var e=t.chars,i=t.assets;if(e)for(var s=0,r=e.length,s=0;s<r;s+=1)1===e[s].t&&(e[s].data.layers=f(e[s].data.refId,i),p(e[s].data.layers,i));t.__complete=!0}},t.checkColors=y,t.checkChars=d,t.checkPathProperties=m,t.checkShapes=g,t.completeLayers=p,t}var i;function a(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===mt(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}s.dataManager||(s.dataManager=t()),s.assetLoader||(s.assetLoader={load:function(e,i,t,s){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)r=a(n),t(r);else try{r=a(n),t(r)}catch(t){s&&s(t)}};try{n.open(["G","E","T"].join(""),e,!0)}catch(t){n.open(["G","E","T"].join(""),i+"/"+e,!0)}n.send()}}),"loadAnimation"===e.data.type?s.assetLoader.load(e.data.path,e.data.fullPath,function(t){s.dataManager.completeData(t),s.postMessage({id:e.data.id,payload:t,status:"success"})},function(){s.postMessage({id:e.data.id,status:"error"})}):"complete"===e.data.type?(i=e.data.animation,s.dataManager.completeData(i),s.postMessage({id:e.data.id,payload:i,status:"success"})):"loadData"===e.data.type&&s.assetLoader.load(e.data.path,e.data.fullPath,function(t){s.postMessage({id:e.data.id,payload:t,status:"success"})},function(){s.postMessage({id:e.data.id,status:"error"})})},(vt=window.Worker&&window.Blob&&L()?(e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),e=URL.createObjectURL(e),new Worker(e)):(gt=t,Pt)).onmessage=function(t){var t=t.data,e=t.id,i=_t[e];_t[e]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function wt(t,e){var i="processId_"+(bt+=1);return _t[i]={onComplete:t,onError:e},i}function Mt(){}Mt.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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 i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--s),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var Dt=function(e){for(var t=[],i=0;i<e.length;i+=1){var s=e[i],s={time:s.tm,duration:s.dr};try{s.payload=JSON.parse(e[i].cm)}catch(t){try{s.payload=function(t){for(var e,i=t.split("\r\n"),s={},r=0,n=0;n<i.length;n+=1)2===(e=i[n].split(":")).length&&(s[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return s}(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}t.push(s)}return t},Ft=function(){function t(t){for(var e=0,i=this.compositions.length;e<i;){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 t.compositions=[],t.currentFrame=0,t.registerComposition=Lt,t},It={};function Lt(t){this.compositions.push(t)}function Vt(t){return(Vt="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})(t)}function r(){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=x(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=G,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Ft(),this.imagePreloader=new St,this.audioController=O(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new K("drawnFrame",0,0,0),this.expressionsPlugin=ct()}y([Mt],r),r.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg",i=(t.animType?e=t.animType:t.renderer&&(e=t.renderer),It[e]);this.renderer=new i(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||"",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")),xt.loadAnimation(t.path,this.configAnimation,this.onSetupError))},r.prototype.onSetupError=function(){this.trigger("data_failed")},r.prototype.setupAnimation=function(t){xt.completeAnimation(t,this.configAnimation)},r.prototype.setData=function(t,e){var e={wrapper:t,animationData:e=e&&"object"!==Vt(e)?JSON.parse(e):e},t=t.attributes,i=(e.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",e.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:function(){if(It.canvas)return"canvas";for(var t in It)if(It[t])return t;return""}()||"canvas",t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:""),i=("false"===i?e.loop=!1:"true"===i?e.loop=!0:""!==i&&(e.loop=parseInt(i,10)),t.getNamedItem("data-anim-
1autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value);e.autoplay="false"!==i,e.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(e.prerender=!1),e.path?this.setParams(e):this.trigger("destroy")},r.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));for(var e,i=this.animationData.layers,s=i.length,r=t.layers,n=r.length,a=0;a<n;a+=1)for(e=0;e<s;){if(i[e].id===r[a].id){i[e]=r[a];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(s=t.assets.length,e=0;e<s;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,xt.completeAnimation(this.animationData,this.onSegmentComplete)},r.prototype.onSegmentComplete=function(t){this.animationData=t;t=ct();t&&t.initExpressions(this),this.loadNextSegment()},r.prototype.loadNextSegment=function(){var t=this.animationData.segments;t&&0!==t.length&&this.autoloadSegments?(t=t.shift(),this.timeCompleted=t.time*this.frameRate,t=this.path+this.fileName+"_"+this.segmentPos+".json",this.segmentPos+=1,xt.loadData(t,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))):(this.trigger("data_ready"),this.timeCompleted=this.totalFrames)},r.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},r.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},r.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},r.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=Dt(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},r.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},r.prototype.checkLoaded=function(){var t;!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,(t=ct())&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay)&&this.play()},r.prototype.resize=function(t,e){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},r.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},r.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")},r.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame
vendor: 21,450 bytes, line 1
1(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},r.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"))},r.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())},r.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},r.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},r.prototype.getMarkerData=function(t){for(var e,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},r.prototype.goToAndStop=function(t,e,i){i&&this.name!==i||(i=Number(t),isNaN(i)?(i=this.getMarkerData(t))&&this.goToAndStop(i.time,!0):e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},r.prototype.goToAndPlay=function(t,e,i){var s;i&&this.name!==i||(s=Number(t),isNaN(s)?(t=this.getMarkerData(t))&&(t.duration?this.playSegments([t.time,t.time+t.duration],!0):this.goToAndStop(t.time,!0)):this.goToAndStop(s,e,i),this.play())},r.prototype.advanceTime=function(t){var e;!0!==this.isPaused&&!1!==this.isLoaded&&(e=!1,(t=this.currentRawFrame+t*this.frameModifier)>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e)&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))},r.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(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")},r.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},r.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===Vt(t[0]))for(var i=t.length,s=0;s<i;s+=1)this.segments.push(t[s]);else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},r.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},r.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},r.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)},r.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},r.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},r.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},r.prototype.setLoop=function(t){this.loop=t},r.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},r.prototype.getVolume=function(){return this.audioController.getVolume()},r.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},r.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},r.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},r.prototype.getPath=function(){return this.path},r.prototype.getAssetsPath=function(t){var e,i="";return i=t.e?t.p:this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),this.assetsPath+e):(i=this.path,(i+=t.u||"")+t.p)},r.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},r.prototype.hide=function(){this.renderer.hide()},r.prototype.show=function(){this.renderer.show()},r.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},r.prototype.updateDocumentData=function(t,e,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},r.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new K(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 Q(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new Z(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new tt(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new et(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new K(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new Q(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new Z(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new tt(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new et(t,this))},r.prototype.triggerRenderFrameError=function(t){t=new it(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},r.prototype.triggerConfigError=function(t){t=new st(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},n=[],Ht=!(jt=!(Gt=a=Nt=0)),(t={}).registerAnimation=Qt,t.loadAnimation=function(t){var e=new r;return ie(e,null),e.setParams(t),e},t.setSpeed=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setSpeed(t,e)},t.setDirection=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setDirection(t,e)},t.play=function(t){for(var e=0;e<a;e+=1)n[e].animation.play(t)},t.pause=function(t){for(var e=0;e<a;e+=1)n[e].animation.pause(t)},t.stop=function(t){for(var e=0;e<a;e+=1)n[e].animation.stop(t)},t.togglePause=function(t){for(var e=0;e<a;e+=1)n[e].animation.togglePause(t)},t.searchAnimations=function(t,e,i){for(var s,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=r.length,a=0;a<n;a+=1)i&&r[a].setAttribute("data-bm-type",i),Qt(r[a],t);e&&0===n&&(i=i||"svg",(e=document.getElementsByTagName("body")[0]).innerText="",(s=f("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),e.appendChild(s),Qt(s,t))},t.resize=function(){for(var t=0;t<a;t+=1)n[t].animation.resize()},t.goToAndStop=function(t,e,i){for(var s=0;s<a;s+=1)n[s].animation.goToAndStop(t,e,i)},t.destroy=function(t){for(var e=a-1;0<=e;--e)n[e].animation.destroy(t)},t.freeze=function(){Ht=!0},t.unfreeze=function(){Ht=!1,ne()},t.setVolume=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setVolume(t,e)},t.mute=function(t){for(var e=0;e<a;e+=1)n[e].animation.mute(t)},t.unmute=function(t){for(var e=0;e<a;e+=1)n[e].animation.unmute(t)},t.getRegisteredAnimations=function(){for(var t=n.length,e=[],i=0;i<t;i+=1)e.push(n[i].animation);return e};var Rt,Bt,Ot,zt,n,Nt,a,Gt,jt,Ht,e=t,qt=(i={getBezierEasing:function(t,e,i,s,r){r=r||("bez_"+t+"_"+e+"_"+i+"_"+s).replace(/\./g,"p");return Rt[r]||(t=new Kt([t,e,i,s]),Rt[r]=t)}},Rt={},Ot=1/((Bt=11)-1),zt="function"==typeof Float32Array,Kt.prototype={get:function(t){var e=this._p[0],i=this._p[1],s=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&s===r?t:0===t?0:1===t?1:Jt(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],s=this._p[3];this._precomputed=!0,t===e&&i===s||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<Bt;++i)this._mSampleValues[i]=Jt(i*Ot,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,r=0,n=1,a=Bt-1;n!==a&&s[n]<=t;++n)r+=Ot;var o=r+(t-s[--n])/(s[n+1]-s[n])*Ot,h=Ut(o,e,i);if(.001<=h){for(var l=t,p=o,f=e,c=i,u=0;u<4;++u){var d=Ut(p,f,c);if(0===d)return p;p-=(Jt(p,f,c)-l)/d}return p}if(0===h)return o;for(var m,y,g=t,v=r,b=r+Ot,_=e,P=i,x=0;0<(m=Jt(y=v+(b-v)/2,_,P)-g)?b=y:v=y,1e-7<Math.abs(m)&&++x<10;);return y}},i),Wt={double:function(t){return t.concat(S(t.length))}},t=function(t,e,i){var s=0,r=t,n=S(r);return{newElement:function(){var t;return t=s?n[--s]:e(),t},release:function(t){s===r&&(n=Wt.double(n),r*=2),i&&i(t),n[s]=t,s+=1}}},$t=t(8,function(){return{addedLength:0,percents:q("float32",dt()),lengths:q("float32",dt())}}),Xt=t(8,function(){return{lengths:[],totalLength:0}},function(t){for(var e=t.lengths.length,i=0;i<e;i+=1)$t.release(t.lengths[i]);t.lengths.length=0});function Yt(t,e){return 1-3*e+3*t}function Jt(t,e,i){return((Yt(e,i)*t+(3*i-6*e))*t+3*e)*t}function Ut(t,e,i){return 3*Yt(e,i)*t*t+2*(3*i-6*e)*t+3*e}function Kt(t){this._p=t,this._mSampleValues=new(zt?Float32Array:Array)(Bt),this._precomputed=!1,this.get=this.get.bind(this)}function Zt(t){for(var e=0,i=t.target;e<a;)n[e].animation===i&&(n.splice(e,1),--e,--a,i.isPaused||ee()),e+=1}function Qt(t,e){if(!t)return null;for(var i=0;i<a;){if(n[i].elem===t&&null!==n[i].elem)return n[i].animation;i+=1}var s=new r;return ie(s,t),s.setData(t,e),s}function te(){Gt+=1,ne()}function ee(){--Gt}function ie(t,e){t.addEventListener("destroy",Zt),t.addEventListener("_active",te),t.addEventListener("_idle",ee),n.push({elem:e,animation:t}),a+=1}function se(t){for(var e=t-Nt,i=0;i<a;i+=1)n[i].animation.advanceTime(e);Nt=t,Gt&&!Ht?window.requestAnimationFrame(se):jt=!0}function re(t){Nt=t,window.requestAnimationFrame(se)}function ne(){!Ht&&Gt&&jt&&(window.requestAnimationFrame(re),jt=!1)}k=Math,oe=function(t,e,i,s){for(var r,n,a,o,h=dt(),l=0,p=[],f=[],c=$t.newElement(),u=i.length,d=0;d<h;d+=1){for(a=d/(h-1),r=o=0;r<u;r+=1)n=g(1-a,3)*t[r]+3*g(1-a,2)*a*i[r]+3*(1-a)*g(a,2)*s[r]+g(a,3)*e[r],p[r]=n,null!==f[r]&&(o+=g(p[r]-f[r],2)),f[r]=p[r];o&&(l+=o=X(o)),c.percents[d]=a,c.lengths[d]=l}return c.addedLength=l,c},ae={},he=q("float32",8);var k,ae,oe,he,le={getSegmentsLength:function(t){for(var e=Xt.newElement(),i=t.c,s=t.v,r=t.o,n=t.i,a=t._length,o=e.lengths,h=0,l=0;l<a-1;l+=1)o[l]=oe(s[l],s[l+1],r[l],n[l+1]),h+=o[l].addedLength;return i&&a&&(o[l]=oe(s[l],s[0],r[l],n[0]),h+=o[l].addedLength),e.totalLength=h,e},getNewSegment:function(t,e,i,s,r,n,a){r<0?r=0:1<r&&(r=1);for(var r=ye(r,a),n=ye(n=1<n?1:n,a),o=t.length,h=1-n,l=(a=1-r)*a*a,p=r*a*a*3,f=r*r*a*3,c=r*r*r,u=a*a*h,d=r*a*h+a*r*h+a*a*n,m=r*r*h+a*r*n+r*a*n,y=r*r*n,g=a*h*h,v=r*h*h+a*n*h+a*h*n,b=r*n*h+a*n*n+r*h*n,_=r*n*n,P=h*h*h,x=n*h*h+h*n*h+h*h*n,S=n*n*h+h*n*n+n*h*n,E=n*n*n,A=0;A<o;A+=1)he[4*A]=k.round(1e3*(l*t[A]+p*i[A]+f*s[A]+c*e[A]))/1e3,he[4*A+1]=k.round(1e3*(u*t[A]+d*i[A]+m*s[A]+y*e[A]))/1e3,he[4*A+2]=k.round(1e3*(g*t[A]+v*i[A]+b*s[A]+_*e[A]))/1e3,he[4*A+3]=k.round(1e3*(P*t[A]+x*i[A]+S*s[A]+E*e[A]))/1e3;return he},getPointInSegment:function(t,e,i,s,r,n){return r=ye(r,n),n=1-r,[k.round(1e3*(n*n*n*t[0]+(r*n*n+n*r*n+n*n*r)*i[0]+(r*r*n+n*r*r+r*n*r)*s[0]+r*r*r*e[0]))/1e3,k.round(1e3*(n*n*n*t[1]+(r*n*n+n*r*n+n*n*r)*i[1]+(r*r*n+n*r*r+r*n*r)*s[1]+r*r*r*e[1]))/1e3]},buildBezierData:me,pointOnLine2D:ce,pointOnLine3D:function(t,e,i,s,r,n,a,o,h){var l;return 0===i&&0===n&&0===h?ce(t,e,s,r,a,o):(l=k.sqrt(k.pow(s-t,2)+k.pow(r-e,2)+k.pow(n-i,2)),t=k.sqrt(k.pow(a-t,2)+k.pow(o-e,2)+k.pow(h-i,2)),e=k.sqrt(k.pow(a-s,2)+k.pow(o-r,2)+k.pow(h-n,2)),-1e-4<(i=t<l?e<l?l-t-e:e-t-l:t<e?e-t-l:t-l-e)&&i<1e-4)}},pe=-999999,fe=Math.abs;function ce(t,e,i,s,r,n){r=t*s+e*r+i*n-r*s-n*t-i*e;return-.001<r&&r<.001}function ue(t){this.segmentLength=0,this.points=new Array(t)}function de(t,e){this.partialLength=t,this.point=e}function me(t,e,i,s){var r=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!ae[r]){for(var n,a,o,h,l,p=dt(),f=0,c=null,u=new ue(p=2===t.length&&(t[0]!==e[0]||t[1]!==e[1])&&ce(t[0],t[1],e[0],e[1],t[0]+i[0],t[1]+i[1])&&ce(t[0],t[1],e[0],e[1],e[0]+s[0],e[1]+s[1])?2:p),d=i.length,m=0;m<p;m+=1){for(l=S(d),o=m/(p-1),n=h=0;n<d;n+=1)a=g(1-o,3)*t[n]+3*g(1-o,2)*o*(t[n]+i[n])+3*(1-o)*g(o,2)*(e[n]+s[n])+g(o,3)*e[n],l[n]=a,null!==c&&(h+=g(l[n]-c[n],2));f+=h=X(h),u.points[m]=new de(h,l),c=l}u.segmentLength=f,ae[r]=u}return ae[r]}function ye(t,e){var i=e.percents,s=e.lengths,r=i.length,n=p((r-1)*t),a=t*e.addedLength,o=0;if(n===r-1||0===n||a===s[n])return i[n];for(var h=s[n]>a?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||r-1<=n){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}function ge(t,e){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=q("float32",this.pv.length));for(var r,n,a=e.lastIndex,o=a,R=this.keyframes.length-1,h=!0;h;){if(r=this.keyframes[o],n=this.keyframes[o+1],o===R-1&&t>=n.t-s){r.h&&(r=n),a=0;break}if(n.t-s>t){a=o;break}o<R-1?o+=1:(a=0,h=!1)}var l,p,f,c,u,d,m,y,g,B,v,b,_,P=this.keyframesMetadata[o]||{},x=n.t-s,S=r.t-s;if(r.to){P.bezierData||(P.bezierData=le.buildBezierData(r.s,n.s||r.e,r.to,r.ti));var E=P.bezierData;if(x<=t||t<S)for(var O=x<=t?E.points.length-1:0,A=E.points[O].point.length,k=0;k<A;k+=1)i[k]=E.points[O].point[k];else{P.__fnct?l=P.__fnct:(l=qt.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,P.__fnct=l);for(var z,C=l((t-S)/(x-S)),T=E.segmentLength*C,w=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastAddedLength:0,M=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastPoint:0,h=!0,N=E.points.length;h;){if(w+=E.points[M].partialLength,0==T||0===C||M===E.points.length-1){for(A=E.points[M].point.length,k=0;k<A;k+=1)i[k]=E.points[M].point[k];break}if(w<=T&&T<w+E.points[M+1].partialLength){for(z=(T-w)/E.points[M+1].partialLength,A=E.points[M].point.length,k=0;k<A;k+=1)i[k]=E.points[M].point[k]+(E.points[M+1].point[k]-E.points[M].point[k])*z;break}M<N-1?M+=1:h=!1}e._lastPoint=M,e._lastAddedLength=w-E.points[M].partialLength,e._lastKeyframeIndex=o}}else{var D,F,G,j,H,I,L,R=r.s.length,V=n.s||r.e;if(this.sh&&1!==r.h)x<=t?(i[0]=V[0],i[1]=V[1],i[2]=V[2]):t<=S?(i[0]=r.s[0],i[1]=r.s[1],i[2]=r.s[2]):(I=ve(r.s),L=ve(V),p=i,L=L,f=(t-S)/(x-S),m=[],y=(I=I)[0],g=I[1],B=I[2],I=I[3],v=L[0],b=L[1],_=L[2],L=L[3],(d=y*v+g*b+B*_+I*L)<0&&(d=-d,v=-v,b=-b,_=-_,L=-L),d=1e-6<1-d?(d=Math.acos(d),c=Math.sin(d),u=Math.sin((1-f)*d)/c,Math.sin(f*d)/c):(u=1-f,f),m[0]=u*y+d*v,m[1]=u*g+d*b,m[2]=u*B+d*_,m[3]=u*I+d*L,f=(c=m)[0],y=c[1],v=c[2],c=c[3],g=Math.atan2(2*y*c-2*f*v,1-2*y*y-2*v*v),b=Math.asin(2*f*y+2*v*c),c=Math.atan2(2*f*c-2*y*v,1-2*f*f-2*v*v),p[0]=g/W,p[1]=b/W,p[2]=c/W);else for(o=0;o<R;o+=1)1!==r.h&&(C=x<=t?1:t<S?0:(r.o.x.constructor===Array?(P.__fnct||(P.__fnct=[]),P.__fnct[o]?l=P.__fnct[o]:(D=void 0===r.o.x[o]?r.o.x[0]:r.o.x[o],F=void 0===r.o.y[o]?r.o.y[0]:r.o.y[o],G=void 0===r.i.x[o]?r.i.x[0]:r.i.x[o],j=void 0===r.i.y[o]?r.i.y[0]:r.i.y[o],l=qt.getBezierEasing(D,F,G,j).get,P.__fnct[o]=l)):P.__fnct?l=P.__fnct:(D=r.o.x,F=r.o.y,G=r.i.x,j=r.i.y,l=qt.getBezierEasing(D,F,G,j).get,r.keyframeMetadata=l),l((t-S)/(x-S)))),V=n.s||r.e,H=1===r.h?r.s[o]:r.s[o]+(V[o]-r.s[o])*C,"multidimensional"===this.propType?i[o]=H:i=H}return e.lastIndex=a,i}function ve(t){var e=t[0]*W,i=t[1]*W,t=t[2]*W,s=Math.cos(e/2),r=Math.cos(i/2),n=Math.cos(t/2),e=Math.sin(e/2),i=Math.sin(i/2),t=Math.sin(t/2);return[e*i*n+s*r*t,e*r*n+s*i*t,s*i*n-e*r*t,s*r*n-e*i*t]}function be(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||this._caching.lastFrame!==pe&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),i=this.interpolateValue(t,this._caching),this.pv=i),this._caching.lastFrame=t,this.pv}function _e(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<fe(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,1e-5<fe(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function Pe(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;for(var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k,i=0;i<t;i+=1)e=this.effectsSequence[i](e);this.setVValue(e),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function xe(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Se(t,e,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Pe,this.setVValue=_e,this.addEffect=xe}function Ee(t,e,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,n=e.k.length;for(this.v=q("float32",n),this.pv=q("float32",n),this.vel=q("float32",n),r=0;r<n;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Pe,this.setVValue=_e,this.addEffect=xe}function Ae(t,e,i,s){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:pe,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.v=pe,this.pv=pe,this._isFirstFrame=!0,this.getValue=Pe,this.setVValue=_e,this.interpolateValue=ge,this.effectsSequence=[be.bind(this)],this.addEffect=xe}function ke(t,e,i,s){this.propType="multidimensional";for(var r,n,a,o,h=e.k.length,l=0;l<h-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l+1]&&e.k[l+1].s&&(r=e.k[l].s,n=e.k[l+1].s,a=e.k[l].to,o=e.k[l].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&le.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+a[0],r[1]+a[1])&&le.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+o[0],n[1]+o[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&le.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+a[0],r[1]+a[1],r[2]+a[2])&&le.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+o[0],n[1]+o[1],n[2]+o[2]))&&(e.k[l].to=null,e.k[l].ti=null),r[0]===n[0])&&r[1]===n[1]&&0===a[0]&&0===a[1]&&0===o[0]&&0===o[1]&&(2===r.length||r[2]===n[2]&&0===a[2]&&0===o[2])&&(e.k[l].to=null,e.k[l].ti=null);this.effectsSequence=[be.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=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=Pe,this.setVValue=_e,this.interpolateValue=ge,this.frameId=-1;var p=e.k[0].s.length;for(this.v=q("float32",p),this.pv=q("float32",p),l=0;l<p;l+=1)this.v[l]=pe,this.pv[l]=pe;this._caching={lastFrame:pe,lastIndex:0,value:q("float32",p)},this.addEffect=xe}var A={getProp:function(t,e,i,s,r){var n;if((e=e.sid?t.globalData.slotManager.getProp(e):e).k.length)if("number"==typeof e.k[0])n=new Ee(t,e,s,r);else switch(i){case 0:n=new Ae(t,e,s,r);break;case 1:n=new ke(t,e,s,r)}else n=new Se(t,e,s,r);return n.effectsSequence.length&&r.addDynamicProperty(n),n}};function v(){}v.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ce=t(8,function(){return q("float32",2)});function Te(){this.c=!1,this._length=0,this._maxLength=8,this.v=S(this._maxLength),this.o=S(this._maxLength),this.i=S(this._maxLength)}Te.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=Ce.newElement(),this.o[i]=Ce.newElement(),this.i[i]=Ce.newElement(),i+=1},Te.prototype.setLength=function(t){for(;this._maxLength<t;
1)this.doubleArrayLength();this._length=t},Te.prototype.doubleArrayLength=function(){this.v=this.v.concat(S(this._maxLength)),this.i=this.i.concat(S(this._maxLength)),this.o=this.o.concat(S(this._maxLength)),this._maxLength*=2},Te.prototype.setXYAt=function(t,e,i,s,r){var n;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=Ce.newElement()),n[s][0]=t,n[s][1]=e},Te.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},Te.prototype.reverse=function(){for(var t=new Te,e=(t.setPathData(this.c,this._length),this.v),i=this.o,s=this.i,r=0,n=(this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1),this._length-1),a=this._length,o=r;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],s[n][0],s[n][1],i[n][0],i[n][1],o,!1),--n;return t},Te.prototype.length=function(){return this._length};(we=t(4,function(){return new Te},function(t){for(var e=t._length,i=0;i<e;i+=1)Ce.release(t.v[i]),Ce.release(t.i[i]),Ce.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1})).clone=function(t){var e,i=we.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i};var we,b=we;function Me(){this._length=0,this._maxLength=4,this.shapes=S(this._maxLength)}Me.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(S(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},Me.prototype.releaseShapes=function(){for(var t=0;t<this._length;t+=1)b.release(this.shapes[t]);this._length=0};i={newShapeCollection:function(){var t;return t=Ve?Be[--Ve]:new Me,t},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)b.release(t.shapes[e]);t._length=0,Ve===Re&&(Be=Wt.double(Be),Re*=2),Be[Ve]=t,Ve+=1}},Ve=0,Be=S(Re=4);var De,Fe,Ie,Le,Ve,Re,Be,Oe=i,ze=function(){var r=-999999;function t(t,e,i){var s,r,n,a,o,h,l=i.lastIndex,p=this.keyframes;
vendor: 12,581 bytes, line 1
1if(t<p[0].t-this.offsetTime)s=p[0].s[0],b=!0,l=0;else if(t>=p[p.length-1].t-this.offsetTime)s=(p[p.length-1].s?p[p.length-1].s:p[p.length-2].e)[0],b=!0;else{for(var f,c,u=l,d=p.length-1,m=!0;m&&(f=p[u],!((c=p[u+1]).t-this.offsetTime>t));)u<d-1?u+=1:m=!1;var y,g,v,b,_=this.keyframesMetadata[u]||{},l=u;(b=1===f.h)||(g=t>=c.t-this.offsetTime?1:t<f.t-this.offsetTime?0:(_.__fnct?y=_.__fnct:(y=qt.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,_.__fnct=y),y((t-(f.t-this.offsetTime))/(c.t-this.offsetTime-(f.t-this.offsetTime)))),v=(c.s||f.e)[0]),s=f.s[0]}for(a=e._length,o=s.i[0].length,i.lastIndex=l,r=0;r<a;r+=1)for(n=0;n<o;n+=1)h=b?s.i[r][n]:s.i[r][n]+(v.i[r][n]-s.i[r][n])*g,e.i[r][n]=h,h=b?s.o[r][n]:s.o[r][n]+(v.o[r][n]-s.o[r][n])*g,e.o[r][n]=h,h=b?s.v[r][n]:s.v[r][n]+(v.v[r][n]-s.v[r][n])*g,e.v[r][n]=h}function s(){this.paths=this.localShapeCollection}function e(t){!function(t,e){if(t._length===e._length&&t.c===e.c){for(var i=t._length,s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return;return 1}}(this.v,t)&&(this.v=b.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;for(var t=this.kf?this.pv:(this.data.ks||this.data.pt).k,e=this.effectsSequence.length,i=0;i<e;i+=1)t=this.effectsSequence[i](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,i){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;t=(3===i?e.pt:e.ks).k;this.v=b.clone(t),this.pv=b.clone(this.v),this.localShapeCollection=Oe.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=(3===i?e.pt:e.ks).k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;t=this.keyframes[0].s[0].i.length;this.v=b.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,t),this.pv=b.clone(this.v),this.localShapeCollection=Oe.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s,this._caching={lastFrame:r,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==r&&(s<e&&t<e||i<s&&i<t)||(this._caching.lastIndex=s<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=i,n.prototype.setVValue=e,n.prototype.addEffect=a,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=a;h=U,d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertEllToPath()},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=3!==this.d,n=this.v;n.v[0][0]=t,n.v[0][1]=e-s,n.v[1][0]=r?t+i:t-i,n.v[1][1]=e,n.v[2][0]=t,n.v[2][1]=e+s,n.v[3][0]=r?t-i:t+i,n.v[3][1]=e,n.i[0][0]=r?t-i*h:t+i*h,n.i[0][1]=e-s,n.i[1][0]=r?t+i:t-i,n.i[1][1]=e-s*h,n.i[2][0]=r?t+i*h:t-i*h,n.i[2][1]=e+s,n.i[3][0]=r?t-i:t+i,n.i[3][1]=e+s*h,n.o[0][0]=r?t+i*h:t-i*h,n.o[0][1]=e-s,n.o[1][0]=r?t+i:t-i,n.o[1][1]=e+s*h,n.o[2][0]=r?t-i*h:t+i*h,n.o[2][1]=e+s,n.o[3][0]=r?t-i:t+i,n.o[3][1]=e-s*h}},y([v],d);var h,l=d,p=(u.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertToPath()},convertStarToPath:function(){for(var t=2*Math.floor(this.pt.v),e=2*Math.PI/t,i=!0,s=this.or.v,r=this.ir.v,n=this.os.v,a=this.is.v,o=2*Math.PI*s/(2*t),h=2*Math.PI*r/(2*t),l=-Math.PI/2,p=(l+=this.r.v,3===this.data.d?-1:1),f=this.v._length=0;f<t;f+=1){var c=i?n:a,u=i?o:h,d=(m=i?s:r)*Math.cos(l),m=m*Math.sin(l),y=0==d&&0==m?0:m/Math.sqrt(d*d+m*m),g=0==d&&0==m?0:-d/Math.sqrt(d*d+m*m);d+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(d,m,d-y*u*c*p,m-g*u*c*p,d+y*u*c*p,m+g*u*c*p,f,!0),i=!i,l+=e*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,s=this.or.v,r=this.os.v,n=2*Math.PI*s/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=s*Math.cos(a),l=s*Math.sin(a),p=0==h&&0==l?0:l/Math.sqrt(h*h+l*l),f=0==h&&0==l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*n*r*o,l-f*n*r*o,h+p*n*r*o,l+f*n*r*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},y([v],u),u),f=(c.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=Y(i,s,this.r.v),n=r*(1-U);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+r,t+i,e-s+n,0,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-n,t+i,e+s-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+s,t+i-r,e+s,t+i-n,e+s,2,!0),this.v.setTripleAt(t-i+r,e+s,t-i+n,e+s,t-i+r,e+s,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-r,t-i,e+s-n,4,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+n,t-i,e-s+r,5,!0),this.v.setTripleAt(t-i+r,e-s,t-i+r,e-s,t-i+n,e-s,6,!0),this.v.setTripleAt(t+i-r,e-s,t+i-n,e-s,t+i-r,e-s,7,!0)):(this.v.setTripleAt(t-i,e+s,t-i+n,e+s,t-i,e+s,2),this.v.setTripleAt(t-i,e-s,t-i,e-s+n,t-i,e-s,3))):(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+n,t+i,e-s+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-s,t+i-r,e-s,t+i-n,e-s,1,!0),this.v.setTripleAt(t-i+r,e-s,t-i+n,e-s,t-i+r,e-s,2,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+r,t-i,e-s+n,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-n,t-i,e+s-r,4,!0),this.v.setTripleAt(t-i+r,e+s,t-i+r,e+s,t-i+n,e+s,5,!0),this.v.setTripleAt(t+i-r,e+s,t+i-n,e+s,t+i-r,e+s,6,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-r,t+i,e+s-n,7,!0)):(this.v.setTripleAt(t-i,e-s,t-i+n,e-s,t-i,e-s,1,!0),this.v.setTripleAt(t-i,e+s,t-i,e+s-n,t-i,e+s,2,!0),this.v.setTripleAt(t+i,e+s,t+i-n,e+s,t+i,e+s,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertRectToPath()},reset:s},y([v],c),c);function c(t,e){this.v=b.newElement(),this.v.c=!0,this.localShapeCollection=Oe.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=A.getProp(t,e.p,1,0,this),this.s=A.getProp(t,e.s,1,0,this),this.r=A.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}function u(t,e){this.v=b.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=A.getProp(t,e.ir,0,0,this),this.is=A.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=A.getProp(t,e.pt,0,0,this),this.p=A.getProp(t,e.p,1,0,this),this.r=A.getProp(t,e.r,0,W,this),this.or=A.getProp(t,e.or,0,0,this),this.os=A.getProp(t,e.os,0,.01,this),this.localShapeCollection=Oe.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}function d(t,e){this.v=b.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Oe.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=A.getProp(t,e.p,1,0,this),this.s=A.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}var m={getShapeProp:function(t,e,i){var s;return 3===i||4===i?s=new((3===i?e.pt:e.ks).k.length?o:n)(t,e,i):5===i?s=new f(t,e):6===i?s=new l(t,e):7===i&&(s=new p(t,e)),s.k&&t.addDynamicProperty(s),s},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),o=(De=Math.cos,Fe=Math.sin,Ie=Math.tan,Le=Math.round,function(){this.reset=Ne,this.rotate=Ge,this.rotateX=je,this.rotateY=He,this.rotateZ=qe,this.skew=$e,this.skewFromAxis=Xe,this.shear=We,this.scale=Ye,this.setTransform=Je,this.translate=Ue,this.transform=Ke,this.multiply=Ze,this.applyToPoint=si,this.applyToX=ri,this.applyToY=ni,this.applyToZ=ai,this.applyToPointArray=fi,this.applyToTriplePoints=pi,this.applyToPointStringified=ci,this.toCSS=ui,this.to2dCSS=mi,this.clone=ei,this.cloneFromProps=ii,this.equals=ti,this.inversePoints=li,this.inversePoint=hi,this.getInverseMatrix=oi,this._t=this.transform,this.isIdentity=Qe,this._identity=!0,this._identityCalculated=!1,this.props=q("float32",16),this.reset()});function Ne(){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 Ge(t){var e;return 0===t?this:(e=De(t),t=Fe(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function je(t){var e;return 0===t?this:(e=De(t),t=Fe(t),this._t(1,0,0,0,0,e,-t,0,0,t,e,0,0,0,0,1))}function He(t){var e;return 0===t?this:(e=De(t),t=Fe(t),this._t(e,0,t,0,0,1,0,0,-t,0,e,0,0,0,0,1))}function qe(t){var e;return 0===t?this:(e=De(t),t=Fe(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function We(t,e){return this._t(1,e,t,1,0,0)}function $e(t,e){return this.shear(Ie(t),Ie(e))}function Xe(t,e){var i=De(e),e=Fe(e);return this._t(i,e,0,0,-e,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,Ie(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-e,0,0,e,i,0,0,0,0,1,0,0,0,0,1)}function Ye(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function Je(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=s,this.props[4]=r,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=c,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function Ue(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function Ke(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){var y,g,v,b,_,P,x,S,E,A,k,C,T,w,M,D,F=this.props;return 1===t&&0===e&&0===i&&0===s&&0===r&&1===n&&0===a&&0===o&&0===h&&0===l&&1===p&&0===f?(F[12]=F[12]*t+F[15]*c,F[13]=F[13]*n+F[15]*u,F[14]=F[14]*p+F[15]*d,F[15]*=m,this._identityCalculated=!1):(y=F[0],g=F[1],v=F[2],b=F[3],_=F[4],P=F[5],x=F[6],S=F[7],E=F[8],A=F[9],k=F[10],C=F[11],T=F[12],w=F[13],M=F[14],D=F[15],F[0]=y*t+g*r+v*h+b*c,F[1]=y*e+g*n+v*l+b*u,F[2]=y*i+g*a+v*p+b*d,F[3]=y*s+g*o+v*f+b*m,F[4]=_*t+P*r+x*h+S*c,F[5]=_*e+P*n+x*l+S*u,F[6]=_*i+P*a+x*p+S*d,F[7]=_*s+P*o+x*f+S*m,F[8]=E*t+A*r+k*h+C*c,F[9]=E*e+A*n+k*l+C*u,F[10]=E*i+A*a+k*p+C*d,F[11]=E*s+A*o+k*f+C*m,F[12]=T*t+w*r+M*h+D*c,F[13]=T*e+w*n+M*l+D*u,F[14]=T*i+w*a+M*p+D*d,F[15]=T*s+w*o+M*f+D*m,this._identityCalculated=!1),this}function Ze(t){t=t.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function Qe(){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]||0!==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 ti(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function ei(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function ii(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function si(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function ri(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}
1function ni(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function ai(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function oi(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,i=-this.props[1]/t,s=-this.props[4]/t,r=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,t=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new o;return a.props[0]=e,a.props[1]=i,a.props[4]=s,a.props[5]=r,a.props[12]=n,a.props[13]=t,a}function hi(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function li(t){for(var e=t.length,i=[],s=0;s<e;s+=1)i[s]=hi(t[s]);return i}function pi(t,e,i){var s,r,n,a,o,h,l=q("float32",6);return this.isIdentity()?(l[0]=t[0],l[1]=t[1],l[2]=e[0],l[3]=e[1],l[4]=i[0],l[5]=i[1]):(s=this.props[0],r=this.props[1],n=this.props[4],a=this.props[5],o=this.props[12],h=this.props[13],l[0]=t[0]*s+t[1]*n+o,l[1]=t[0]*r+t[1]*a+h,l[2]=e[0]*s+e[1]*n+o,l[3]=e[0]*r+e[1]*a+h,l[4]=i[0]*s+i[1]*n+o,l[5]=i[0]*r+i[1]*a+h),l}function fi(t,e,i){t=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]];return t}function ci(t,e){var i;return this.isIdentity()?t+","+e:(i=this.props,Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100)}function ui(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i=i+Le(1e4*e[t])/1e4+(15===t?")":","),t+=1;return i}function di(t){return t<1e-6&&0<t||-1e-6<t&&t<0?Le(1e4*t)/1e4:t}function mi(){var t=this.props;return"matrix("+di(t[0])+","+di(t[1])+","+di(t[4])+","+di(t[5])+","+di(t[12])+","+di(t[13])+")"}function yi(t){return(yi="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})(t)}t={};function gi(){e.searchAnimations()}t.play=e.play,t.pause=e.pause,t.setLocationHref=function(t){R=t},t.togglePause=e.togglePause,t.setSpeed=e.setSpeed,t.setDirection=e.setDirection,t.stop=e.stop,t.searchAnimations=gi,t.registerAnimation=e.registerAnimation,t.loadAnimation=function(t){return e.loadAnimation(t)},t.setSubframeRendering=function(t){G=!!t},t.resize=e.resize,t.goToAndStop=e.goToAndStop,t.destroy=e.destroy,t.setQuality=function(t){if("string"==typeof t)switch(t){case"high":ut(200);break;default:case"medium":ut(50);break;case"low":ut(10)}else!isNaN(t)&&1<t&&ut(t)},t.inBrowser=function(){return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"},t.installPlugin=function(t,e){"expressions"===t&&(j=e)},t.freeze=e.freeze,t.unfreeze=e.unfreeze,t.setVolume=e.setVolume,t.mute=e.mute,t.unmute=e.unmute,t.getRegisteredAnimations=e.getRegisteredAnimations,t.useWebWorker=function(t){B=!!t},t.setIDPrefix=function(t){H=t},t.__getFactory=function(t){switch(t){case"propertyFactory":return A;case"shapePropertyFactory":return ze;case"matrix":return o;default:return null}},t.version="5.12.2";var vi="",i=document.getElementsByTagName("script"),i=i[i.length-1]||{src:""},vi=i.src?i.src.replace(/^[^\?]+\??/,""):"",bi=(function(t){for(var e=vi.split("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}}("renderer"),setInterval(function(){"complete"===document.readyState&&(clearInterval(bi),gi())},100));try{"object"===("u"<_typeof2(Hr)?"undefined":yi(Hr))&&_typeof2(qr)<"u"||"function"==typeof define&&define.amd||(window.bodymovin=t)}catch(t){}_i={},(i={}).registerModifier=function(t,e){_i[t]||(_i[t]=e)},i.getModifier=function(t,e,i){return new _i[t](e,i)};var _i,Pi=i;function h(){}function l(){}function xi(){}h.prototype.initModifierProperties=function(){},h.prototype.addShapeToModifier=function(){},h.prototype.addShape=function(t){var e;this.closed||(t.sh.container.addDynamicProperty(t.sh),e={shape:t.sh,data:t,localShapeCollection:Oe.newShapeCollection()},this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated())},h.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=-999999,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},h.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},y([v],h),y([h],l),l.prototype.initModifierProperties=function(t,e){this.s=A.getProp(t,e.s,0,.01,this),this.e=A.getProp(t,e.e,0,.01,this),this.o=A.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},l.prototype.addShapeToModifier=function(t){t.pathsData=[]}
vendor: 61,336 bytes, line 1
1,l.prototype.calculateShapeEdges=function(t,e,i,s,r){for(var n,a,o=[],h=(e<=1?o.push({s:t,e:e}):1<=t?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1})),[]),l=o.length,p=0;p<l;p+=1)(a=o[p]).e*r<s||a.s*r>s+i||(n=a.s*r<=s?0:(a.s*r-s)/i,a=a.e*r>=s+i?1:(a.e*r-s)/i,h.push([n,a]));return h.length||h.push([0,0]),h},l.prototype.releasePathsData=function(t){for(var e=t.length,i=0;i<e;i+=1)Xt.release(t[i]);return t.length=0,t},l.prototype.processShapes=function(t){var e,i,s;this._mdf||t?((e=this.o.v%360/360)<0&&(e+=1),i=1<this.s.v?1+e:this.s.v<0?0+e:this.s.v+e,(s=1<this.e.v?1+e:this.e.v<0?0+e:this.e.v+e)<i&&(e=i,i=s,s=e),i=1e-4*Math.round(1e4*i),s=1e-4*Math.round(1e4*s),this.sValue=i,this.eValue=s):(i=this.sValue,s=this.eValue);var r,n,a,o,h,l,p=this.shapes.length,f=0;if(s===i)for(m=0;m<p;m+=1)this.shapes[m].localShapeCollection.releaseShapes(),this.shapes[m].shape._mdf=!0,this.shapes[m].shape.paths=this.shapes[m].localShapeCollection,this._mdf&&(this.shapes[m].pathsData.length=0);else if(1===s&&0===i||0===s&&1===i){if(this._mdf)for(m=0;m<p;m+=1)this.shapes[m].pathsData.length=0,this.shapes[m].shape._mdf=!0}else{for(var c,u,d=[],m=0;m<p;m+=1)if((c=this.shapes[m]).shape._mdf||this._mdf||t||2===this.m){if(a=(r=c.shape.paths)._length,l=0,!c.shape._mdf&&c.pathsData.length)l=c.totalShapeLength;else{for(o=this.releasePathsData(c.pathsData),n=0;n<a;n+=1)h=le.getSegmentsLength(r.shapes[n]),o.push(h),l+=h.totalLength;c.totalShapeLength=l,c.pathsData=o}f+=l,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var y,g=i,v=s,b=0;for(m=p-1;0<=m;--m)if((c=this.shapes[m]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(i,s,c.totalShapeLength,b,f),b+=c.totalShapeLength):y=[[g,v]],a=y.length,n=0;n<a;n+=1){g=y[n][0],v=y[n][1],d.length=0,v<=1?d.push({s:c.totalShapeLength*g,e:c.totalShapeLength*v}):1<=g?d.push({s:c.totalShapeLength*(g-1),e:c.totalShapeLength*(v-1)}):(d.push({s:c.totalShapeLength*g,e:c.totalShapeLength}),d.push({s:0,e:c.totalShapeLength*(v-1)}));var _,P=this.addShapes(c,d[0]);d[0].s!==d[0].e&&(1<d.length&&(P=c.shape.paths.shapes[c.shape.paths._length-1].c?(_=P.pop(),this.addPaths(P,u),this.addShapes(c,d[1],_)):(this.addPaths(P,u),this.addShapes(c,d[1]))),this.addPaths(P,u))}c.shape.paths=u}}},l.prototype.addPaths=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e.addShape(t[s])},l.prototype.addSegment=function(t,e,i,s,r,n,a){r.setXYAt(e[0],e[1],"o",n),r.setXYAt(i[0],i[1],"i",n+1),a&&r.setXYAt(t[0],t[1],"v",n),r.setXYAt(s[0],s[1],"v",n+1)},l.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},l.prototype.addShapes=function(t,e,i){var s,r,n,a,o,h,l,p,f=t.pathsData,c=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0,g=i?(a=i._length,i._length):(i=b.newElement(),a=0);for(m.push(i),s=0;s<u;s+=1){for(o=f[s].lengths,i.c=c[s].c,n=c[s].c?o.length:o.length+1,r=1;r<n;r+=1)if(d+(p=o[r-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,a,y),y=!1):(h=le.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1),d+=p.addedLength,a+=1}if(c[s].c&&o.length&&(p=o[r-1],d<=e.e?(l=o[r-1].addedLength,e.s<=d&&e.e>=d+l?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,a,y),y=!1):(h=le.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-d)/l,(e.e-d)/l,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;s<u-1&&(i=b.newElement(),y=!0,m.push(i),a=0)}return m},y([h],xi),xi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=A.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},xi.prototype.processPath=function(t,e){for(var i=e/100,s=[0,0],r=t._length,n=0,n=0;n<r;n+=1)s[0]+=t.v[n][0],s[1]+=t.v[n][1];s[0]/=r,s[1]/=r;var a,o,h,l,p,f,c=b.newElement();for(c.c=t.c,n=0;n<r;n+=1)a=t.v[n][0]+(s[0]-t.v[n][0])*i,o=t.v[n][1]+(s[1]-t.v[n][1])*i,h=t.o[n][0]+(s[0]-t.o[n][0])*-i,l=t.o[n][1]+(s[1]-t.o[n][1])*-i,p=t.i[n][0]+(s[0]-t.i[n][0])*-i,f=t.i[n][1]+(s[1]-t.i[n][1])*-i,c.setTripleAt(a,o,h,l,p,f,n);return c},xi.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};Si=[0,0],Ai.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(t){var e,i,s,r;this.elem.globalData.frameId!==this.frameId&&(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),(this._mdf||t)&&(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&&(t=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime?i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/t,0),this.p.getValueAtTime(this.p.keyframes[0].t/t,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/t,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/t,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/t,this.p.offsetTime)):this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime?(e=[],i=[],s=this.px,r=this.py,s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/t,0),e[1]=r.getValueAtTime((r.keyframes[0].t+.01)/t,0),i[0]=s.getValueAtTime(s.keyframes[0].t/t,0),i[1]=r.getValueAtTime(r.keyframes[0].t/t,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/t,0),e[1]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/t,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/t,0),i[1]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/t,0)):(e=[s.pv,r.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/t,s.offsetTime),i[1]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/t,r.offsetTime))):e=i=Si,this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[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(){}},y([v],Ai),Ai.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},Ai.prototype._addDynamicProperty=v.prototype.addDynamicProperty;var Si,Ei={getTransformProperty:function(t,e,i){return new Ai(t,e,i)}};function Ai(t,e,i){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new o,this.pre=new o,this.appliedTransformations=0,this.initDynamicPropertyContainer(i||t),e.p&&e.p.s?(this.px=A.getProp(t,e.p.x,0,0,this),this.py=A.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=A.getProp(t,e.p.z,0,0,this))):this.p=A.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=A.getProp(t,e.rx,0,W,this),this.ry=A.getProp(t,e.ry,0,W,this),this.rz=A.getProp(t,e.rz,0,W,this),e.or.k[0].ti)for(var s=e.or.k.length,r=0;r<s;r+=1)e.or.k[r].to=null,e.or.k[r].ti=null;this.or=A.getProp(t,e.or,1,W,this),this.or.sh=!0}else this.r=A.getProp(t,e.r||{k:0},0,W,this);e.sk&&(this.sk=A.getProp(t,e.sk,0,W,this),this.sa=A.getProp(t,e.sa,0,W,this)),this.a=A.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=A.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=A.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function ki(){}function Ci(){}function Ti(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function wi(t){return Math.abs(t)<=1e-5}function Mi(t,e,i){return t*(1-i)+e*i}function Di(t,e,i){return[Mi(t[0],e[0],i),Mi(t[1],e[1],i)]}function Fi(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function Ii(t){return new u(t,t,t,t,!1)}function u(t,e,i,s,r){r&&ji(t,e)&&(e=Di(t,s,1/3)),r&&ji(i,s)&&(i=Di(t,s,2/3));var r=Fi(t[0],e[0],i[0],s[0]),n=Fi(t[1],e[1],i[1],s[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,i,s]}function Li(t,e){var i=t.points[0][e],s=t.points[t.points.length-1][e];s<i&&(n=s,s=i,i=n);n=3*t.a[e],a=2*t.b[e],o=t.c[e];for(var r,n,a,o,h=0===n||(o=a*a-4*n*o)<0?[]:(a=-a/(2*n),0==o?[a]:[a-(o=Math.sqrt(o)/(2*n)),a+o]),l=0;l<h.length;l+=1)0<h[l]&&h[l]<1&&((r=t.point(h[l])[e])<i?i=r:s<r&&(s=r));return{min:i,max:s}}function Vi(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}function Ri(t){var e=t.bez.split(.5);return[Vi(e[0],t.t1,t.t),Vi(e[1],t.t,t.t2)]}function Bi(t,e,i,s,r,n){var a,o;a=t,o=e,2*Math.abs(a.cx-o.cx)<a.width+o.width&&2*Math.abs(a.cy-o.cy)<a.height+o.height&&(n<=i||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s?r.push([t.t,e.t]):(a=Ri(t),o=Ri(e),Bi(a[0],o[0],i+1,s,r,n),Bi(a[0],o[1],i+1,s,r,n),Bi(a[1],o[0],i+1,s,r,n),Bi(a[1],o[1],i+1,s,r,n)))}function Oi(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 zi(t,e,i,s){t=[t[0],t[1],1],e=[e[0],e[1],1],i=[i[0],i[1],1],s=[s[0],s[1],1],t=Oi(Oi(t,e),Oi(i,s));return wi(t[2])?null:[t[0]/t[2],t[1]/t[2]]}function Ni(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}function Gi(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function ji(t,e){return Ti(t[0],e[0])&&Ti(t[1],e[1])}function Hi(){}function qi(t,e,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,e=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,e,l+Math.cos(o)*n,e-Math.sin(o)*n,l+Math.cos(h)*a,e-Math.sin(h)*a,t.length())}function Wi(t,e){var i=0===e?t.length()-1:e-1,e=(e+1)%t.length(),i=t.v[i],t=t.v[e],t=(e=i,i=[(i=t)[0]-e[0],i[1]-e[1]],e=.5*-Math.PI,[Math.cos(e)*i[0]-Math.sin(e)*i[1],Math.sin(e)*i[0]+Math.cos(e)*i[1]]);return Math.atan2(0,1)-Math.atan2(t[1],t[0])}function $i(t,e,i,s,r,n,a){var o=Wi(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],l=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,n=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;qi(t,e.v[i%e._length],o,a,s,n/(2*(r+1)),l/(2*(r+1)))}function Xi(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[Ni(t,s,i),Ni(e,s,i)]}function Yi(t,e){var i=Xi(t.points[0],t.points[1],e),s=i[0],r=i[1],n=(i=Xi(t.points[1],t.points[2],e))[0],a=i[1],t=(i=Xi(t.points[2],t.points[3],e))[0],e=i[1],i=zi(s,r,n,a),r=(null===i&&(i=r),zi(t,e,n,a));return new u(s,i,r=null===r?t:r,e)}function Ji(t,e,i,s,r){var n,a,o=e.points[3],h=i.points[0];return 3===s||ji(o,h)?o:2===s?(s=-e.tangentAngle(1),a=-i.tangentAngle(0)+Math.PI,n=zi(o,Ni(o,s+Math.PI/2,100),h,Ni(h,s+Math.PI/2,100)),n=Ni(o,s,2*(s=n?Gi(n,o):Gi(o,h)/2)*U),t.setXYAt(n[0],n[1],"o",t.length()-1),n=Ni(h,a,2*s*U),t.setTripleAt(h[0],h[1],h[0],h[1],n[0],n[1],t.length()),h):(a=zi(ji(o,e.points[2])?e.points[0]:e.points[2],o,h,ji(h,i.points[1])?i.points[3]:i.points[1]))&&Gi(a,o)<r?(t.setTripleAt(a[0],a[1],a[0],a[1],a[0],a[1],t.length()),a):o}function Ui(t,e){t=t.intersections(e);return t.length&&Ti(t[0][0],1)&&t.shift(),t.length?t[0]:null}function Ki(t,e){var i=t.slice(),s=e.slice(),r=Ui(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),1<t.length&&1<e.length&&(r=Ui(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function Zi(t,e){var i,s,r,n=t.inflectionPoints();return 0===n.length?[Yi(t,e)]:1===n.length||Ti(n[1],1)?(s=(i=t.split(n[0]))[0],r=i[1],[Yi(s,e),Yi(r,e)]):(s=(i=t.split(n[0]))[0],t=(n[1]-n[0])/(1-n[0]),n=(i=i[1].split(t))[0],r=i[1],[Yi(s,e),Yi(n,e),Yi(r,e)])}function Qi(){}function ts(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],s="normal",r="normal",n=i.length,a=0;a<n;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:r,weight:t.fWeight||s}}y([h],ki),ki.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=A.getProp(t,e.c,0,null,this),this.o=A.getProp(t,e.o,0,null,this),this.tr=Ei.getTransformProperty(t,e.tr,this),this.so=A.getProp(t,e.tr.so,0,.01,this),this.eo=A.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 o,this.rMatrix=new o,this.sMatrix=new o,this.tMatrix=new o,this.matrix=new o},ki.prototype.applyTransforms=function(t,e,i,s,r,n){var a=n?-1:1,o=s.s.v[0]+(1-s.s.v[0])*(1-r),h=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*a*r,s.p.v[1]*a*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*a*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(n?1/o:o,n?1/h:h),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},ki.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)this._elements.unshift(e[--i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ki.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},ki.prototype.cloneElements=function(t){t=JSON.parse(JSON.stringify(t));return this.resetElements(t),t},ki.prototype.changeGroupRender=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},ki.prototype.processShapes=function(t){var e,i,s,r,n,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=n=0;s<=this._groups.length-1;s+=1)this._groups[s]._render=o=n<h,this.changeGroupRender(this._groups[s].it,o),o||(0!==(o=(o=this.elemsData[s].it)[o.length-1]).transform.op.v?(o.transform.op._mdf=!0,o.transform.op.v=0):o.transform.op._mdf=!1),n+=1;this._currentCopies=h;var p,f,t=this.o.v,c=t%1,u=0<t?Math.floor(t):Math.ceil(t),d=this.pMatrix.props,m=this.rMatrix.props,y=this.sMatrix.props,g=(this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset(),0);if(0<t){for(;g<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(t<0){for(;u<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--g;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(f=(i=(e=this.elemsData[s].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)*(s/(this._currentCopies-1)),0!==g){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),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]),p=0;p<f;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<f;p+=1)i[p]=this.matrix.props[p];g+=1,--n,s+=r}}else for(n=this._currentCopies,s=0,r=1;n;)i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,--n,s+=r;return a},ki.prototype.addShape=function(){},y([h],Ci),Ci.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=A.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Ci.prototype.processPath=function(t,e){var i=b.newElement();i.c=t.c;for(var s,r,n,a,o,h,l,p,f,c,u=t._length,d=0,m=0;m<u;m+=1)s=t.v[m],n=t.o[m],r=t.i[m],s[0]===n[0]&&s[1]===n[1]&&s[0]===r[0]&&s[1]===r[1]?0!==m&&m!==u-1||t.c?(a=0===m?t.v[u-1]:t.v[m-1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,f=s[0]+(a[0]-s[0])*h,c=s[1]-(s[1]-a[1])*h,l=f-(f-s[0])*U,p=c-(c-s[1])*U,i.setTripleAt(f,c,l,p,f,c,d),d+=1,a=m===u-1?t.v[0]:t.v[m+1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,l=s[0]+(a[0]-s[0])*h,p=s[1]+(a[1]-s[1])*h,f=l-(l-s[0])*U,c=p-(p-s[1])*U,i.setTripleAt(l,p,l,p,f,c,d)):i.setTripleAt(s[0],s[1],n[0],n[1],r[0],r[1],d):i.setTripleAt(t.v[m][0],t.v[m][1],t.o[m][0],t.o[m][1],t.i[m][0],t.i[m][1],d),d+=1;return i},Ci.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.rd.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},u.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]]},u.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]]},u.prototype.tangentAngle=function(t){t=this.derivative(t);return Math.atan2(t[1],t[0])},u.prototype.normalAngle=function(t){t=this.derivative(t);return Math.atan2(t[0],t[1])},u.prototype.inflectionPoints=function(){var t,e=this.a[1]*this.b[0]-this.a[0]*this.b[1];return wi(e)||(e=(t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e)*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e)<0?[]:wi(e=Math.sqrt(e))?0<e&&e<1?[t]:[]:[t-e,t+e].filter(function(t){return 0<t&&t<1})},u.prototype.split=function(t){var e,i,s,r;return t<=0?[Ii(this.points[0]),this]:1<=t?[this,Ii(this.points[this.points.length-1])]:(e=Di(this.points[0],this.points[1],t),r=Di(this.points[1],this.points[2],t),i=Di(this.points[2],this.points[3],t),s=Di(e,r,t),r=Di(r,i,t),t=Di(s,r,t),[new u(this.points[0],e,s,t,!0),new u(t,r,i,this.points[3],!0)])},u.prototype.bounds=function(){return{x:Li(this,0),y:Li(this,1)}},u.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}},u.prototype.intersections=function(t,e,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return Bi(Vi(this,0,1),Vi(t,0,1),0,e,s,i),s},u.shapeSegment=function(t,e){var i=(e+1)%t.length();return new u(t.v[e],t.o[e],t.i[i],t.v[i],!0)},u.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new u(t.v[i],t.i[i],t.o[e],t.v[e],!0)},y([h],Hi),Hi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=A.getProp(t,e.s,0,null,this),this.frequency=A.getProp(t,e.r,0,null,this),this.pointsType=A.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},Hi.prototype.processPath=function(t,e,i,s){var r=t._length,n=b.newElement();if(n.c=t.c,t.c||--r,0!==r){var a=-1,o=u.shapeSegment(t,0);$i(n,t,0,e,i,s,a);for(var h=0;h<r;h+=1)a=function(t,e,i,s,r,n){for(var a=0;a<s;a+=1){var o=(a+1)/(s+1),h=2===r?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,l=e.normalAngle(o);qi(t,e.point(o),l,n,i,h/(2*(s+1)),h/(2*(s+1))),n=-n}return n}(n,o,e,i,s,-a),o=h!==r-1||t.c?u.shapeSegment(t,(h+1)%r):null,$i(n,t,h+1,e,i,s,a)}return n},Hi.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amplitude.v,a=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,a,o));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},y([h],Qi),Qi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=A.getProp(t,e.a,0,null,this),this.miterLimit=A.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},Qi.prototype.processPath=function(t,e,i,s){var r=b.newElement(),n=(r.c=t.c,t.length());t.c||--n;for(var a,o,h=[],l=0;l<n;l+=1)o=u.shapeSegment(t,l),h.push(Zi(o,e));if(!t.c)for(l=n-1;0<=l;--l)o=u.shapeSegmentInverted(t,l),h.push(Zi(o,e));var h=function(t){for(var e,i=1;i<t.length;i+=1)e=Ki(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return 1<t.length&&(e=Ki(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}(h),p=null,f=null;for(l=0;l<h.length;l+=1){var c=h[l];for(f&&(p=Ji(r,f,c[0],i,s)),f=c[c.length-1],a=0;a<c.length;a+=1)o=c[a],p&&ji(o.points[0],p)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.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],r.length()),r.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],r.length()),p=o.points[3]}return h.length&&Ji(r,f,h[0][0],i,s),r},Qi.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v,a=this.miterLimit.v,o=this.lineJoin;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,o,a));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};es={w:0,size:0,shapes:[],data:{shapes:[]}},is=(is=[]).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]),ss=127462,rs=127487,ns=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],fs.isModifier=function(t,e){return t=t.toString(16)+e.toString(16),-1!==ns.indexOf(t)},fs.isZeroWidthJoiner=function(t){return 8205===t},fs.isFlagEmoji=function(t){return ps(t.substr(0,2))&&ps(t.substr(2,2))},fs.isRegionalCode=ps,fs.isCombinedCharacter=function(t){return-1!==is.indexOf(t)},fs.isRegionalFlag=function(t,e){var i;if(127988!==ls(t.substr(e,2)))return!1;var s=0;for(e+=2;s<5;){if((i=ls(t.substr(e,2)))<917601||917626<i)return!1;s+=1,e+=2}return 917631===ls(t.substr(e,2))},fs.isVariationSelector=function(t){return 65039===t},fs.BLACK_FLAG_CODE_POINT=127988,fs.prototype={addChars:function(t){if(t){this.chars||(this.chars=[]);for(var e,i,s=t.length,r=this.chars.length,n=0;n<s;n+=1){for(e=0,i=!1;e<r;)this.chars[e].style===t[n].style&&this.chars[e].fFamily===t[n].fFamily&&this.chars[e].ch===t[n].ch&&(i=!0),e+=1;i||(this.chars.push(t[n]),r+=1)}}},addFonts:function(t,e){if(t)if(this.chars)this.isLoaded=!0,this.fonts=t.list;else if(document.body){for(var i=t.list,s=i.length,r=s,n=0;n<s;n+=1){var a,o,h,l,p=!0;if(i[n].loaded=!1,i[n].monoCase=os(i[n].fFamily,"monospace"),i[n].sansCase=os(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin)(p=!(0<(o=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length)&&p)&&((h=f("style")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h));else if("g"===i[n].fOrigin||1===i[n].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),a=0;a<o.length;a+=1)-1!==o[a].href.indexOf(i[n].fPath)&&(p=!1);p&&((h=f("link")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.type="text/css",h.rel="stylesheet",h.href=i[n].fPath,document.body.appendChild(h))}else if("t"===i[n].fOrigin||2===i[n].origin){for(o=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),a=0;a<o.length;a+=1)i[n].fPath===o[a].src&&(p=!1);p&&((l=f("link")).setAttribute("f-forigin",i[n].fOrigin),l.setAttribute("f-origin",i[n].origin),l.setAttribute("rel","stylesheet"),l.setAttribute("href",i[n].fPath),e.appendChild(l))}}else i[n].loaded=!0,--r;i[n].helper=hs(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===r?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0,t.list.forEach(function(t){t.helper=hs(t),t.cache={}}),this.fonts=t.list;else this.isLoaded=!0},getCharData:function(t,e,i){for(var s=0,r=this.chars.length;s<r;){if(this.chars[s].ch===t&&this.chars[s].style===e&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),es},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var s,r,n,e=this.getFontByName(e),a=t;return e.cache[a]||(s=e.helper," "===t?(r=s.measureText("|"+t+"|"),n=s.measureText("||"),e.cache[a]=(r-n)/100):e.cache[a]=s.measureText(t)/100),e.cache[a]*i},checkLoadedFonts:function(){for(var t,e,i=this.fonts.length,s=i,r=0;r<i;r+=1)this.fonts[r].loaded?--s:"n"===this.fonts[r].fOrigin||0===this.fonts[r].origin?this.fonts[r].loaded=!0:(t=this.fonts[r].monoCase.node,e=this.fonts[r].monoCase.w,t.offsetWidth===e&&(t=this.fonts[r].sansCase.node,e=this.fonts[r].sansCase.w,t.offsetWidth===e)||(--s,this.fonts[r].loaded=!0),this.fonts[r].loaded&&(this.fonts[r].sansCase.parent.parentNode.removeChild(this.fonts[r].sansCase.parent),this.fonts[r].monoCase.parent.parentNode.removeChild(this.fonts[r].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};var es,is,ss,rs,ns,as=fs;function os(t,e){var i=f("span"),s=(i.setAttribute("aria-hidden",!0),i.style.fontFamily=e,f("span")),r=(s.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(s),document.body.appendChild(i),s.offsetWidth);return s.style.fontFamily=function(t){for(var e=t.split(","),i=e.length,s=[],r=0;r<i;r+=1)"sans-serif"!==e[r]&&"monospace"!==e[r]&&s.push(e[r]);return s.join(",")}(t)+", "+e,{node:s,w:r,parent:i}}function hs(t,e){var i,s,r=document.body&&e?"svg":"canvas",n=ts(t);return i="svg"==r?((s=E("text")).style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),s):((e=new OffscreenCanvas(500,500).getContext("2d")).font=n.style+" "+n.weight+" 100px "+t.fFamily,e),{measureText:function(t){return"svg"==r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function ls(t){var e=0,i=t.charCodeAt(0);return e=55296<=i&&i<=56319&&56320<=(t=t.charCodeAt(1))&&t<=57343?1024*(i-55296)+t-56320+65536:e}function ps(t){t=ls(t);return ss<=t&&t<=rs}function fs(){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)}function cs(t){this.animationData=t}function us(){}cs.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},us.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(){for(var t=this.renderableComponents.length,e=0;e<t;e+=1)this.renderableComponents[e].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}}};ds={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"};var ds,ms=function(t){return ds[t]||""};function ys(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function gs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function vs(t,e,i){this.p=A.getProp(e,t.v,1,0,i)}function bs(t,e,i){this.p=A.getProp(e,t.v,1,0,i)}function _s(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function Ps(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function xs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function Ss(){this.p={}}function Es(t,e){var i=t.ef||[];this.effectElements=[];for(var s,r=i.length,n=0;n<r;n+=1)s=new As(i[n],e),this.effectElements.push(s)}function As(t,e){this.init(t,e)}function c(){}function d(){}function ks(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function m(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;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?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=A.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function _(){}y([v],As),As.prototype.getValue=As.prototype.iterateDynamicProperties,As.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);for(var i,s=this.data.ef.length,r=this.data.ef,n=0;n<s;n+=1){switch(i=null,r[n].ty){case 0:i=new ys(r[n],e,this);break;case 1:i=new gs(r[n],e,this);break;case 2:i=new vs(r[n],e,this);break;case 3:i=new bs(r[n],e,this);break;case 4:case 7:i=new xs(r[n],e,this);break;case 10:i=new _s(r[n],e,this);break;case 11:i=new Ps(r[n],e,this);break;case 5:i=new Es(r[n],e);break;default:i=new Ss(r[n])}i&&this.effectElements.push(i)}},c.prototype={checkMasks:function(){if(this.data.hasMask)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(){},setBlendMode:function(){var t=ms(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=x(),this.data.sr||(this.data.sr=1),this.effectsManager=new Es(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},d.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){for(var i=this.dynamicProperties.length,s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf)&&(this.globalData._mdf=!0,this._mdf=!0)},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},ks.prototype.prepareFrame=function(){},y([us,c,d],ks),ks.prototype.getBaseElement=function(){return null},ks.prototype.renderFrame=function(){},ks.prototype.destroy=function(){},ks.prototype.initExpressions=function(){},ks.prototype.getFootageData=function(){return this.footageData},m.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:(t=this.tm.v,this._currentTime=t),this._volume=this.lv.v[0];t=this._volume*this._volumeMultiplier;this._previousVolume!==t&&(this._previousVolume=t,this.audio.volume(t))},y([us,c,d],m),m.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||.1<Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek()))&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},m.prototype.show=function(){},m.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},m.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},m.prototype.resume=function(){this._canPlay=!0},m.prototype.setRate=function(t){this.audio.rate(t)},m.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},m.prototype.getBaseElement=function(){return null},m.prototype.destroy=function(){},m.prototype.sourceRectAtTime=function(){},m.prototype.initExpressions=function(){},_.prototype.checkLayers=function(t){var e,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;0<=e;--e)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},_.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: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);default:return this.createNull(t)}},_.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},_.prototype.createAudio=function(t){return new m(t,this.globalData,this)},_.prototype.createFootage=function(t){return new ks(t,this.globalData,this)},_.prototype.buildAllItems=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},_.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,s=this.layers.length,r=0;r<i;r+=1)for(e=0;e<s;){if(this.layers[e].id===t[r].id){this.layers[e]=t[r];break}e+=1}},_.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},_.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},_.prototype.buildElementParenting=function(t,e,i){for(var s=this.elements,r=this.layers,n=0,a=r.length;n<a;)r[n].ind==e&&(s[n]&&!0!==s[n]?(i.push(s[n]),s[n].setAsParent(),void 0!==r[n].parent?this.buildElementParenting(t,r[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=1},_.prototype.addPendingElement=function(t){this.pendingElements.push(t)},_.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=0;s<i;s+=1)t[s].xt&&((e=this.createComp(t[s])).initExpressions(),this.globalData.projectInterface.registerComposition(e))},_.prototype.getElementById=function(t){for(var e=this.elements.length,i=0;i<e;i+=1)if(this.elements[i].data.ind===t)return this.elements[i];return null},_.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else for(var s=this.elements.length,r=0;r<s;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];break}return 0===t.length?e:e.getElementByPath(t)},_.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new as,this.globalData.slotManager=new cs(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 Cs="transformEFfect";function Ts(){}function ws(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r=this.masksProperties?this.masksProperties.length:0;this.viewData=S(r),this.solidPath="";for(var n,a,o,h,l,p=this.masksProperties,f=0,c=[],u=x(),d="clipPath",m="clip-path",y=0;y<r;y+=1)if(("a"!==p[y].mode&&"n"!==p[y].mode||p[y].inv||100!==p[y].o.k||p[y].o.x)&&(m=d="mask"),"s"!==p[y].mode&&"i"!==p[y].mode||0!==f?a=null:((a=E("rect")).setAttribute("fill","#ffffff"),a.setAttribute("width",this.element.comp.data.w||0),a.setAttribute("height",this.element.comp.data.h||0),c.push(a)),n=E("path"),"n"===p[y].mode)this.viewData[y]={op:A.getProp(this.element,p[y].o,0,.01,this.element),prop:ze.getShapeProp(this.element,p[y],3),elem:n,lastPath:""},s.appendChild(n);else{if(f+=1,n.setAttribute("fill","s"===p[y].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[y].x.k?(m=d="mask",h=A.getProp(this.element,p[y].x,0,null,this.element),l=x(),(_=E("filter")).setAttribute("id",l),(o=E("feMorphology")).setAttribute("operator","erode"),o.setAttribute("in","SourceGraphic"),o.setAttribute("radius","0"),_.appendChild(o),s.appendChild(_),n.setAttribute("stroke","s"===p[y].mode?"#000000":"#ffffff")):h=o=null,this.storedData[y]={elem:n,x:h,expan:o,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"===p[y].mode){for(var g=c.length,v=E("g"),b=0;b<g;b+=1)v.appendChild(c[b]);var _=E("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",u+"_"+f),_.appendChild(n),s.appendChild(_),v.setAttribute("mask","url("+P()+"#"+u+"_"+f+")"),c.length=0,c.push(v)}else c.push(n);p[y].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[y]={elem:n,lastPath:"",op:A.getProp(this.element,p[y].o,0,.01,this.element),prop:ze.getShapeProp(this.element,p[y],3),invRect:a},this.viewData[y].prop.k||this.drawPath(p[y],this.viewData[y].prop.v,this.viewData[y])}for(this.maskElement=E(d),r=c.length,y=0;y<r;y+=1)this.maskElement.appendChild(c[y]);0<f&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+P()+"#"+u+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ts.prototype={initTransform:function(){var t=new o;this.finalTransform={mProp:this.data.ks?Ei.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,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,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 i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){for(var r=this.finalTransform.localOpacity,t=0;t<e;t+=1)r*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(Cs);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new o;for(var e=0,i=t.length,e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;for(var r,n=e.length,a=0;a<n;a+=1)r=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-r[0],t[1]-r[1],0];return t},mHelper:new o},ws.prototype.getMaskProperty=function(t){return this.viewData[t].prop},ws.prototype.renderFrame=function(t){for(var e,i=this.element.finalTransform.mat,s=this.masksProperties.length,r=0;r<s;r+=1)(this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),"n"!==this.masksProperties[r].mode&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[r].x)&&(this.storedData[r].x._mdf||t)&&(e=this.storedData[r].expan,this.storedData[r].x.v<0?("erode"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+P()+"#"+this.storedData[r].filterId+")")),e.setAttribute("radius",-this.storedData[r].x.v)):("dilate"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",2*this.storedData[r].x.v)))},ws.prototype.getMaskelement=function(){return this.maskElement},ws.prototype.createLayerSolidPath=function(){var t="M0,0 ";return(t+=" h"+this.globalData.compSize.w)+(" v"+this.globalData.compSize.h)+(" h-"+this.globalData.compSize.w)+(" v-"+this.globalData.compSize.h+" ")},ws.prototype.drawPath=function(t,e,i){for(var s,r=" M"+e.v[0][0]+","+e.v[0][1],n=e._length,a=1;a<n;a+=1)r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[a][0]+","+e.i[a][1]+" "+e.v[a][0]+","+e.v[a][1];e.c&&1<n&&(r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r&&(s="",i.elem&&(e.c&&(s=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",s)),i.lastPath=r)},ws.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};(i={}).createFilter=function(t,e){var i=E("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},i.createAlphaToLuminanceFilter=function(){var t=E("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};var Ms=i,Ds=(i={maskType:!0,svgLumaHidden:!0,offscreenCanvas:("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))<"u"},(/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))&&(i.maskType=!1),/firefox/i.test(navigator.userAgent)&&(i.svgLumaHidden=!1),i),Fs={},Is="filter_result_";function Ls(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=x(),n=Ms.createFilter(r,!0),a=0;for(this.filters=[],e=0;e<s;e+=1){o=null;var o,h=t.data.ef[e].ty;Fs[h]&&(o=new Fs[h].effect(n,t.effectsManager.effectElements[e],t,Is+a,i),i=Is+a,Fs[h].countsAsEffect)&&(a+=1),o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+P()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function Vs(){}function Rs(){}function Bs(){}function Os(){}function zs(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function Ns(t,e){this.elem=t,this.pos=e}function Gs(){}Ls.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},Ls.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},Vs.prototype={initRendererElement:function(){this.layerElement=E("g")},createContainerElements:function(){this.matteElement=E("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,i,s=null;this.data.td?(this.matteMasks={},(t=E("g")).setAttribute("id",this.layerId),t.appendChild(this.layerElement),this.globalData.defs.appendChild(s=t)):this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=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.ty||this.data.hd||(t=E("clipPath"),(i=E("path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),e=x(),t.setAttribute("id",e),t.appendChild(i),this.globalData.defs.appendChild(t),this.checkMasks()?((i=E("g")).setAttribute("clip-path","url("+P()+"#"+e+")"),i.appendChild(this.layerElement),this.transformedElement=i,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+P()+"#"+e+")")),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 ws(this.data,this,this.globalData),this.renderableEffectsManager=new Ls(this),this.searchEffectTransforms()},getMatte:function(t){var e,i,s,r,n,a,o,h,l;return this.matteMasks||(this.matteMasks={}),this.matteMasks[t]||(e=this.layerId+"_"+t,1===t||3===t?((a=E("mask")).setAttribute("id",e),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=E("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),Ds.maskType||1!==t||(a.setAttribute("mask-type","luminance"),i=x(),s=Ms.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(Ms.createAlphaToLuminanceFilter()),(n=E("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+P()+"#"+i+")"))):2===t&&((a=E("mask")).setAttribute("id",e),a.setAttribute("mask-type","alpha"),o=E("g"),a.appendChild(o),i=x(),s=Ms.createFilter(i),(l=E("feComponentTransfer")).setAttribute("in","SourceGraphic"),s.appendChild(l),(h=E("feFuncA")).setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),l.appendChild(h),this.globalData.defs.appendChild(s),(l=E("rect")).setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),o.setAttribute("filter","url("+P()+"#"+i+")"),o.appendChild(l),(r=E("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),Ds.maskType||(a.setAttribute("mask-type","luminance"),s.appendChild(Ms.createAlphaToLuminanceFilter()),n=E("g"),o.appendChild(l),n.appendChild(this.layerElement),o.appendChild(n)),this.globalData.defs.appendChild(a)),this.matteMasks[t]=e),this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+P()+"#"+t+")")}},Rs.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,[])}},y([us,(Os.prototype={initElement:function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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()}},Os)],Bs),y([c,Ts,Vs,Rs,d,Bs],zs),zs.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=E("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)},zs.prototype.sourceRectAtTime=function(){return this.sourceRect},Gs.prototype={addShapeToModifiers:function(t){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].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){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;0<=e&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);--e);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(i[--s].elem===t)return void(i[s].pos=e);i.push(new Ns(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var js={1:"butt",2:"round",3:"square"},Hs={1:"miter",2:"round",3:"bevel"};function qs(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}function Ws(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=E("path"),this.msElem=null}function $s(t,e,i,s){this.elem=t,this.frameId=-1,this.dataProps=S(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=q("float32",e.length?e.length-1:0),this.dashoffset=q("float32",1),this.initDynamicPropertyContainer(s);for(var r,n=e.length||0,a=0;a<n;a+=1)r=A.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function Xs(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=A.getProp(t,e.o,0,.01,this),this.w=A.getProp(t,e.w,0,null,this),this.d=new $s(t,e.d||{},"svg",this),this.c=A.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}function Ys(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=A.getProp(t,e.o,0,.01,this),this.c=A.getProp(t,e.c,1,255,this),this.style=i}function Js(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function Us(t,e,i){this.data=e,this.c=q("uint8c",4*e.p);var s=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=q("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=A.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function Ks(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function Zs(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=A.getProp(t,e.w,0,null,this),this.d=new $s(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}function Qs(){this.it=[],this.prevViewData=[],this.gr=E("g")}function tr(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}qs.prototype.setAsAnimated=function(){this._isAnimated=!0},Ws.prototype.reset=function(){this.d="",this._mdf=!1},$s.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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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}},y([v],$s),y([v],Xs),y([v],Ys),y([v],Js),Us.prototype.comparePoints=function(t,e){for(var i=0,s=this.o.length/2;i<s;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=1}return!0},Us.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},Us.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){for(var e,i,s=4*this.data.p,r=0;r<s;r+=1)e=r%4==0?100:255,i=Math.round(this.prop.v[r]*e),this.c[r]!==i&&(this.c[r]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,r=4*this.data.p;r<s;r+=1)e=r%2==0?100:1,i=r%2==0?Math.round(100*this.prop.v[r]):this.prop.v[r],this.o[r-4*this.data.p]!==i&&(this.o[r-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},y([v],Us),Ks.prototype.initGradientData=function(t,e,i){this.o=A.getProp(t,e.o,0,.01,this),this.s=A.getProp(t,e.s,1,null,this),this.e=A.getProp(t,e.e,1,null,this),this.h=A.getProp(t,e.h||{k:0},0,.01,this),this.a=A.getProp(t,e.a||{k:0},0,W,this),this.g=new Us(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},Ks.prototype.setGradientData=function(t,e){for(var i,s=x(),r=E(1===e.t?"linearGradient":"radialGradient"),n=(r.setAttribute("id",s),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse"),[]),a=4*e.g.p,o=0;o<a;o+=4)i=E("stop"),r.appendChild(i),n.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+P()+"#"+s+")"),this.gf=r,this.cst=n},Ks.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){for(var i,s,r=E("mask"),n=E("path"),a=(r.appendChild(n),x()),o=x(),h=(r.setAttribute("id",o),E(1===t.t?"linearGradient":"radialGradient")),l=(h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=(t.g.k.k[0].s||t.g.k.k).length,this.stops),p=4*t.g.p;p<s;p+=2)(i=E("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),l.push(i);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+P()+"#"+a+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",js[t.lc||2]),n.setAttribute("stroke-linejoin",Hs[t.lj||2]),1===t.lj)&&n.setAttribute("stroke-miterlimit",t.ml),this.of=h,this.ms=r,this.ost=l,this.maskId=o,e.msElem=n}},y([v],Ks),y([Ks,v],Zs);var er,ir,sr=function(t,e,i,s){if(0===e)return"";for(var r=t.o,n=t.i,a=t.v,o=" M"+s.applyToPointStringified(a[0][0],a[0][1]),h=1;h<e;h+=1)o+=" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[h][0],n[h][1])+" "+s.applyToPointStringified(a[h][0],a[h][1]);return o=i&&e?o+(" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(a[0][0],a[0][1]))+"z":o},rr=(er=new o,ir=new o,{createRenderFunction:function(t){switch(t.ty){case"fl":return hr;case"gf":return pr;case"gs":return lr;case"st":return fr;case"sh":case"el":case"rc":case"sr":return or;case"tr":return nr;case"no":return ar;default:return null}}});function nr(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("op
1acity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function ar(){}function or(t,e,i){for(var s,r,n,a,o,h,l,p,f,c=e.styles.length,u=e.lvl,d=0;d<c;d+=1){if(a=e.sh._mdf||i,e.styles[d].lvl<u){for(l=ir.reset(),p=u-e.styles[d].lvl,f=e.transformers.length-1;!a&&0<p;)a=e.transformers[f].mProps._mdf||a,--p,--f;if(a)for(p=u-e.styles[d].lvl,f=e.transformers.length-1;0<p;)l.multiply(e.transformers[f].mProps.v),--p,--f}else l=er;if(r=(h=e.sh.paths)._length,a){for(n="",s=0;s<r;s+=1)(o=h.shapes[s])&&o._length&&(n+=sr(o,o._length,o.c,l));e.caches[d]=n}else n=e.caches[d];e.styles[d].d+=!0===t.hd?"":n,e.styles[d]._mdf=a||e.styles[d]._mdf}}function hr(t,e,i){var s=e.style;(e.c._mdf||i)&&s.pElem.setAttribute("fill","rgb("+p(e.c.v[0])+","+p(e.c.v[1])+","+p(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("fill-opacity",e.o.v)}function lr(t,e,i){pr(t,e,i),fr(0,e,i)}function pr(t,e,i){var s,r,n,a,o=e.gf,h=e.g._hasOpacity,l=e.s.v,p=e.e.v;if((e.o._mdf||i)&&(n="gf"===t.ty?"fill-opacity":"stroke-opacity",e.style.pElem.setAttribute(n,e.o.v)),(e.s._mdf||i)&&(a="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",o.setAttribute(n,l[0]),o.setAttribute(a,l[1]),h)&&!e.g._collapsable&&(e.of.setAttribute(n,l[0]),e.of.setAttribute(a,l[1])),e.g._cmdf||i)for(var f=e.cst,c=e.g.c,u=f.length,d=0;d<u;d+=1)(s=f[d]).setAttribute("offset",c[4*d]+"%"),s.setAttribute("stop-color","rgb("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+")");if(h&&(e.g._omdf||i)){var m=e.g.o;for(u=(f=e.g._collapsable?e.cst:e.ost).length,d=0;d<u;d+=1)s=f[d],e.g._collapsable||s.setAttribute("offset",m[2*d]+"%"),s.setAttribute("stop-opacity",m[2*d+1])}1===t.t?(e.e._mdf||i)&&(o.setAttribute("x2",p[0]),o.setAttribute("y2",p[1]),h)&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])):((e.s._mdf||e.e._mdf||i)&&(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),o.setAttribute("r",r),h)&&!e.g._collapsable&&e.of.setAttribute("r",r),(e.e._mdf||e.h._mdf||e.a._mdf||i)&&(r=r||Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),n=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(a=e.h.v)?a=.99:a<=-1&&(a=-.99),t=r*a,i=Math.cos(n+e.a.v)*t+l[0],p=Math.sin(n+e.a.v)*t+l[1],o.setAttribute("fx",i),o.setAttribute("fy",p),h)&&!e.g._collapsable&&(e.of.setAttribute("fx",i),e.of.setAttribute("fy",p)))}function fr(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+p(e.c.v[0])+","+p(e.c.v[1])+","+p(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem)&&s.msElem.setAttribute("stroke-width",e.w.v)}function C(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function cr(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,m:!0,p:!0}}function T(t,e){this._frameId=-999999,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)}y([c,Ts,Vs,Gs,Rs,d,Bs],C),C.prototype.initSecondaryElement=function(){},C.prototype.identityMatrix=new o,C.prototype.buildExpressionInterface=function(){},C.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},C.prototype.filterUniqueShapes=function(){for(var t,e,i,s=this.shapes.length,r=this.stylesList.length,n=[],a=!1,o=0;o<r;o+=1){for(i=this.stylesList[o],a=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),a=e._isAnimated||a);1<n.length&&a&&this.setShapesAsAnimated(n)}},C.prototype.setShapesAsAnimated=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].setAsAnimated()},C.prototype.createStyleElement=function(t,e){var i,e=new Ws(t,e),s=e.pElem;return"st"===t.ty?i=new Xs(this,t,e):"fl"===t.ty?i=new Ys(this,t,e):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?Ks:Zs)(this,t,e),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+P()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new Js(this,0,e)),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",js[t.lc||2]),s.setAttribute("stroke-linejoin",Hs[t.lj||2]),s.setAttribute("fill-opacity","0"),1!==t.lj)||s.setAttribute("stroke-miterlimit",t.ml),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=ms(t.bm)),this.stylesList.push(e),this.addToAnimatedContents(t,i),i},C.prototype.createGroupElement=function(t){var e=new Qs;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"]=ms(t.bm)),e},C.prototype.createTransformElement=function(t,e){var i=Ei.getTransformProperty(this,t,this),i=new tr(i,i.o,e);return this.addToAnimatedContents(t,i),i}
vendor: 38,627 bytes, line 1
1,C.prototype.createShapeElement=function(t,e,i){var s=4;"rc"===t.ty?s=5:"el"===t.ty?s=6:"sr"===t.ty&&(s=7);e=new qs(e,i,ze.getShapeProp(this,t,s,this));return this.shapes.push(e),this.addShapeToModifiers(e),this.addToAnimatedContents(t,e),e},C.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:rr.createRenderFunction(t),element:e,data:t})},C.prototype.setElementStyles=function(t){for(var e=t.styles,i=this.stylesList.length,s=0;s<i;s+=1)this.stylesList[s].closed||e.push(this.stylesList[s])},C.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},C.prototype.searchShapes=function(t,e,i,s,r,n,a){for(var o,h,l,p,f,c=[].concat(n),u=t.length-1,d=[],m=[],y=u;0<=y;--y){if((f=this.searchProcessedElement(t[y]))?e[y]=i[f-1]:t[y]._render=a,"fl"===t[y].ty||"st"===t[y].ty||"gf"===t[y].ty||"gs"===t[y].ty||"no"===t[y].ty)f?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r),t[y]._render&&e[y].style.pElem.parentNode!==s&&s.appendChild(e[y].style.pElem),d.push(e[y].style);else if("gr"===t[y].ty){if(f)for(h=e[y].it.length,o=0;o<h;o+=1)e[y].prevViewData[o]=e[y].it[o];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,r+1,c,a),t[y]._render&&e[y].gr.parentNode!==s&&s.appendChild(e[y].gr)}else"tr"===t[y].ty?(f||(e[y]=this.createTransformElement(t[y],s)),l=e[y].transform,c.push(l)):"sh"===t[y].ty||"rc"===t[y].ty||"el"===t[y].ty||"sr"===t[y].ty?(f||(e[y]=this.createShapeElement(t[y],c,r)),this.setElementStyles(e[y])):"tm"===t[y].ty||"rd"===t[y].ty||"ms"===t[y].ty||"pb"===t[y].ty||"zz"===t[y].ty||"op"===t[y].ty?(f?(p=e[y]).closed=!1:((p=Pi.getModifier(t[y].ty)).init(this,t[y]),e[y]=p,this.shapeModifiers.push(p)),m.push(p)):"rp"===t[y].ty&&(f?(p=e[y]).closed=!0:(p=Pi.getModifier(t[y].ty),(e[y]=p).init(this,t,y,e),this.shapeModifiers.push(p),a=!1),m.push(p));this.addProcessedElement(t[y],y+1)}for(u=d.length,y=0;y<u;y+=1)d[y].closed=!0;for(u=m.length,y=0;y<u;y+=1)m[y].closed=!0},C.prototype.renderInnerContent=function(){this.renderModifiers();for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},C.prototype.renderShape=function(){for(var t,e=this.animatedContents.length,i=0;i<e;i+=1)t=this.animatedContents[i],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},C.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},cr.prototype.update=function(t,e,i,s,r,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var a=this._mdf.p=!1;return this.o!==t&&(this.o=t,a=this._mdf.o=!0),this.sw!==e&&(this.sw=e,a=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this._mdf.sc=!0),this.fc!==s&&(this.fc=s,a=this._mdf.fc=!0),this.m!==r&&(this.m=r,a=this._mdf.m=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,a=this._mdf.p=!0),a},T.prototype.defaultBoxWidth=[0,0],T.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},T.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},T.prototype.searchProperty=function(){return this.searchKeyframes()},T.prototype.searchKeyframes=function(){return this.kf=1<this.data.d.k.length,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},T.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},T.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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;for(var s=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s,n=0;n<s;n+=1)r=i!==this.keysIndex?this.effectsSequence[n](r,r.t):this.effectsSequence[n](this.currentData,r.t);e!==r&&this.setCurrentData(r),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},T.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},T.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r<n;)a=o,o=!1,e=t.charCodeAt(r),h=t.charAt(r),as.isCombinedCharacter(e)?a=!0:55296<=e&&e<=56319?as.isRegionalFlag(t,r)?h=t.substr(r,14):56320<=(i=t.charCodeAt(r+1))&&i<=57343&&(as.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=as.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):56319<e?(i=t.charCodeAt(r+1),as.isVariationSelector(e)&&(a=!0)):as.isZeroWidthJoiner(e)&&(o=a=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},T.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n=this.elem.globalData.fontManager,a=this.data,o=[],h=0,l=a.m.g,p=0,f=0,c=0,u=[],d=0,m=0,y=n.getFontByName(t.f),g=0,v=ts(y),b=(t.fWeight=v.weight,t.fStyle=v.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),S=t.finalText.length,t.finalLineHeight=t.lh,t.tr/1e3*t.finalSize);if(t.sz)for(var _=!0,R=t.sz[0],B=t.sz[1];_;){for(var P,x=0,d=0,S=(P=this.buildFinalText(t.t)).length,b=t.tr/1e3*t.finalSize,E=-1,A=0;A<S;A+=1)r=P[A].charCodeAt(0),e=!1," "===P[A]?E=A:13!==r&&3!==r||(e=!(d=0),x+=t.finalLineHeight||1.2*t.finalSize),R<d+(g=n.chars?(s=n.getCharData(P[A],y.fStyle,y.fFamily),e?0:s.w*t.finalSize/100):n.measureText(P[A],t.f,t.finalSize))&&" "!==P[A]?(-1===E?S+=1:A=E,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(A,E===A?1:0,"\r"),E=-1,d=0):d=d+g+b;x+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<x?(--t.finalSize,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,S=t.finalText.length,_=!1)}d=-b;var k,g=0,C=0;for(A=0;A<S;A+=1)if(e=!1,13===(r=(k=t.finalText[A]).charCodeAt(0))||3===r?(C=0,u.push(d),m=m<d?d:m,d=-2*b,e=!(i=""),c+=1):i=k,g=n.chars?(s=n.getCharData(k,y.fStyle,n.getFontByName(t.f).fFamily),e?0:s.w*t.finalSize/100):n.measureText(i,t.f,t.finalSize)," "===k?C+=g+b:(d+=g+b+C,C=0),o.push({l:g,an:g,add:p,n:e,anIndexes:[],val:i,line:c,animatorJustifyOffset:0}),2==l){if(p+=g,""===i||" "===i||A===S-1){for(""!==i&&" "!==i||(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;h+=1,p=0}}else if(3==l){if(p+=g,""===i||A===S-1){for(""===i&&(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;p=0,h+=1}}else o[h].ind=h,o[h].extra=0,h+=1;if(t.l=o,m=m<d?d:m,u.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=m,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;for(var T,w,M,D,F=a.a,O=F.length,I=[],L=0;L<O;L+=1){for((T=F[L]).a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),M=T.s.b,A=D=0;A<S;A+=1)(w=o[A]).anIndexes[L]=D,(1==M&&""!==w.val||2==M&&""!==w.val&&" "!==w.val||3==M&&(w.n||" "==w.val||A==S-1)||4==M&&(w.n||A==S-1))&&(1===T.s.rn&&I.push(D),D+=1);a.a[L].s.totalChars=D;var V,z=-1;if(1===T.s.rn)for(A=0;A<S;A+=1)z!=(w=o[A]).anIndexes[L]&&(z=w.anIndexes[L],V=I.splice(Math.floor(Math.random()*I.length),1)[0]),w.anIndexes[L]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},T.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s),i=this.copyData(i,t);this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},T.prototype.recalculate=function(t){t=this.data.d.k[t].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},T.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},T.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};ur=Math.max,dr=Math.min,mr=Math.floor,gr.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e,i,s=0,r=0,n=1,a=1,s=(0<this.ne.v?s=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?n=1-this.xe.v/100:a=1+this.xe.v/100,qt.getBezierEasing(s,r,n,a).get),r=0,n=this.finalS,a=this.finalE,o=this.data.sh;return r=2===o?s(r=a===n?a<=t?1:0:ur(0,dr(.5/(a-n)+(t-n)/(a-n),1))):3===o?s(r=a===n?a<=t?0:1:1-ur(0,dr(.5/(a-n)+(t-n)/(a-n),1))):4===o?(a===n?r=0:(r=ur(0,dr(.5/(a-n)+(t-n)/(a-n),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5===o?s(r=a===n?0:(e=-(i=a-n)/2+(t=dr(ur(0,t+.5-n),a-n)),i=i/2,Math.sqrt(1-e*e/(i*i)))):(6===o?r=a===n?0:(t=dr(ur(0,t+.5-n),a-n),(1+Math.cos(Math.PI+2*Math.PI*t/(a-n)))/2):t>=mr(n)&&(r=ur(0,dr(t-n<0?dr(a,1)-(n-t):a-t,1))),s(r)),100!==this.sm.v&&(r<(i=.5-.5*(e=0===(e=.01*this.sm.v)?1e-8:e))?r=0:1<(r=(r-i)/e)&&(r=1)),r*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 t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,t=this.e.v/t+e;t<i&&(e=i,i=t,t=e),this.finalS=i,this.finalE=t}},y([v],gr);var ur,dr,mr,yr={getTextSelectorProp:function(t,e,i){return new gr(t,e)}};function gr(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=A.getProp(t,e.s||{k:0},0,0,this),"e"in e?this.e=A.getProp(t,e.e,0,0,this):this.e={v:100},this.o=A.getProp(t,e.o||{k:0},0,0,this),this.xe=A.getProp(t,e.xe||{k:0},0,0,this),this.ne=A.getProp(t,e.ne||{k:0},0,0,this),this.sm=A.getProp(t,e.sm||{k:100},0,0,this),this.a=A.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function vr(t,e,i){var s={propType:!1},r=A.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,W,i):s,rx:n.rx?r(t,n.rx,0,W,i):s,ry:n.ry?r(t,n.ry,0,W,i):s,sk:n.sk?r(t,n.sk,0,W,i):s,sa:n.sa?r(t,n.sa,0,W,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=yr.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function br(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=S(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function w(){}br.prototype.searchProperties=function(){for(var t,e=this._textData.a.length,i=A.getProp,s=0;s<e;s+=1)t=this._textData.a[s],this._animatorsData[s]=new vr(this._elem,t,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)},br.prototype.getMeasures=function(t,R){if(this.lettersChangedFlag=R,this._mdf||this._isFirstFrame||R||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var e,i,s,B,r,n,a,o,h,O,l,z,p,f=this._moreOptions.alignment.v,c=this._animatorsData,u=this._textData,d=this.mHelper,N=this._renderType,G=this.renderedLetters.length,m=t.l;if(this._hasMaskedPath){if(p=this._pathData.m,!this._pathData.n||this._pathData._mdf){for(var y,g=p.v,v={tLength:0,segments:[]},b=(g=this._pathData.r.v?g.reverse():g)._length-1,_=l=0;_<b;_+=1)y=le.buildBezierData(g.v[_],g.v[_+1],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[_+1][0]-g.v[_+1][0],g.i[_+1][1]-g.v[_+1][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength;_=b,p.v.c&&(y=le.buildBezierData(g.v[_],g.v[0],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[0][0]-g.v[0][0],g.i[0][1]-g.v[0][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,e=this._pathData.f.v,r=1,B=!(s=n=0),h=v.segments,e<0&&p.v.c)for(v.tLength<Math.abs(e)&&(e=-Math.abs(e)%v.tLength),r=(o=h[n=h.length-1].points).length-1;e<0;)e+=o[r].partialLength,--r<0&&(r=(o=h[--n].points).length-1);a=(o=h[n].points)[r-1],O=(i=o[r]).partialLength}b=m.length;var P,j,x,S,H,q,E,A,k,C,T,W,$,X,Y,J,w=0,U=0,K=1.2*t.finalSize*.714,Z=!0,M=c.length,D=-1,Q=e,tt=n,et=r,it=-1,st="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var F=0,nt=0,at=2===t.j?-.5:-1,I=0,ot=!0;for(_=0;_<b;_+=1)if(m[_].n){for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1;ot=!(F=0)}else{for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(ot&&2===t.j&&(nt+=P.t.v*at),(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?F+=P.t.v*x[0]*at:F+=P.t.v*x*at);ot=!1}for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1}for(_=0;_<b;_+=1){if(d.reset(),E=1,m[_].n)w=0,U=U+t.yOffset+(Z?1:0),e=Q,Z=!1,this._hasMaskedPath&&(a=(o=h[n=tt].points)[(r=et)-1],O=(i=o[r]).partialLength,s=0),Y=W=X=st="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(it!==m[_].line){switch(t.j){case 1:e+=l-t.lineWidths[m[_].line];break;case 2:e+=(l-t.lineWidths[m[_].line])/2}it=m[_].line}D!==m[_].ind&&(m[D]&&(e+=m[D].extra),e+=m[_].an/2,D=m[_].ind),e+=f[0]*m[_].an*.005;for(var L=0,V=0;V<M;V+=1)(P=c[V].a).p.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.p.v[0]*x[0]:L+=P.p.v[0]*x),P.a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.a.v[0]*x[0]:L+=P.a.v[0]*x);for(B=!0,this._pathData.a.v&&(e=.5*m[0].an+(l-this._pathData.f.v-.5*m[0].an-.5*m[m.length-1].an)*D/(b-1),e+=this._pathData.f.v);B;)e+L<=s+O||!o?(z=(e+L-s)/i.partialLength,H=a.point[0]+(i.point[0]-a.point[0])*z,q=a.point[1]+(i.point[1]-a.point[1])*z,d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01),B=!1):o&&(s+=i.partialLength,(r+=1)>=o.length&&(r=0,o=h[n+=1]?h[n].points:p.v.c?h[n=r=0].points:(s-=i.partialLength,null)),o)&&(a=i,O=(i=o[r]).partialLength);S=m[_].an/2-m[_].add,d.translate(-S,0,0)}else S=m[_].an/2-m[_].add,d.translate(-S,0,0),d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01,0);for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),0!==w||0!==t.j)&&(this._hasMaskedPath?x.length?e+=P.t.v*x[0]:e+=P.t.v*x:x.length?w+=P.t.v*x[0]:w+=P.t.v*x);for(t.strokeWidthAnim&&(k=t.sw||0),t.strokeColorAnim&&(A=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(C=[t.fc[0],t.fc[1],t.fc[2]]),V=0;V<M;V+=1)(P=c[V].a).a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.translate(-P.a.v[0]*x[0],-P.a.v[1]*x[1],P.a.v[2]*x[2]):d.translate(-P.a.v[0]*x,-P.a.v[1]*x,P.a.v[2]*x));for(V=0;V<M;V+=1)(P=c[V].a).s.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.scale(1+(P.s.v[0]-1)*x[0],1+(P.s.v[1]-1)*x[1],1):d.scale(1+(P.s.v[0]-1)*x,1+(P.s.v[1]-1)*x,1));for(V=0;V<M;V+=1){if(P=c[V].a,x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),P.sk.propType&&(x.length?d.skewFromAxis(-P.sk.v*x[0],P.sa.v*x[1]):d.skewFromAxis(-P.sk.v*x,P.sa.v*x)),P.r.propType&&(x.length?d.rotateZ(-P.r.v*x[2]):d.rotateZ(-P.r.v*x)),P.ry.propType&&(x.length?d.rotateY(P.ry.v*x[1]):d.rotateY(P.ry.v*x)),P.rx.propType&&(x.length?d.rotateX(P.rx.v*x[0]):d.rotateX(P.rx.v*x)),P.o.propType&&(x.length?E+=(P.o.v*x[0]-E)*x[0]:E+=(P.o.v*x-E)*x),t.strokeWidthAnim&&P.sw.propType&&(x.length?k+=P.sw.v*x[0]:k+=P.sw.v*x),t.strokeColorAnim&&P.sc.propType)for(T=0;T<3;T+=1)x.length?A[T]+=(P.sc.v[T]-A[T])*x[0]:A[T]+=(P.sc.v[T]-A[T])*x;if(t.fillColorAnim&&t.fc){if(P.fc.propType)for(T=0;T<3;T+=1)x.length?C[T]+=(P.fc.v[T]-C[T])*x[0]:C[T]+=(P.fc.v[T]-C[T])*x;P.fh.propType&&(C=x.length?pt(C,P.fh.v*x[0]):pt(C,P.fh.v*x)),P.fs.propType&&(C=x.length?ht(C,P.fs.v*x[0]):ht(C,P.fs.v*x)),P.fb.propType&&(C=x.length?lt(C,P.fb.v*x[0]):lt(C,P.fb.v*x))}}for(V=0;V<M;V+=1)(P=c[V].a).p.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),this._hasMaskedPath?x.length?d.translate(0,P.p.v[1]*x[0],-P.p.v[2]*x[1]):d.translate(0,P.p.v[1]*x,-P.p.v[2]*x):x.length?d.translate(P.p.v[0]*x[0],P.p.v[1]*x[1],-P.p.v[2]*x[2]):d.translate(P.p.v[0]*x,P.p.v[1]*x,-P.p.v[2]*x));if(t.strokeWidthAnim&&(W=k<0?0:k),t.strokeColorAnim&&($="rgb("+Math.round(255*A[0])+","+Math.round(255*A[1])+","+Math.round(255*A[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*C[0])+","+Math.round(255*C[1])+","+Math.round(255*C[2])+")"),this._hasMaskedPath)d.translate(0,-t.ls),d.translate(0,f[1]*K*.01+U,0),this._pathData.p.v&&(J=(i.point[1]-a.point[1])/(i.point[0]-a.point[0]),J=180*Math.atan(J)/Math.PI,i.point[0]<a.point[0]&&(J+=180),d.rotate(-J*Math.PI/180)),d.translate(H,q,0),e-=f[0]*m[_].an*.005,m[_+1]&&D!==m[_+1].ind&&(e=(e+=m[_].an/2)+.001*t.tr*t.finalSize);else{switch(d.translate(w,U,0),t.ps&&d.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line]),0,0);break;case 2:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line])/2,0,0)}d.translate(0,-t.ls),d.translate(S,0,0),d.translate(f[0]*m[_].an*.005,f[1]*K*.01,0),w+=m[_].l+.001*t.tr*t.finalSize}"html"===N?st=d.toCSS():"svg"===N?st=d.to2dCSS():rt=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Y=E}G<=_?(j=new cr(Y,W,$,X,st,rt),this.renderedLetters.push(j),G+=1,this.lettersChangedFlag=!0):(j=this.renderedLetters[_],this.lettersChangedFlag=j.update(Y,W,$,X,st,rt)||this.lettersChangedFlag)}}},br.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},br.prototype.mHelper=new o,br.prototype.defaultPropsArray=[],y([v],br),w.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new T(this,t.t,this.dynamicProperties),this.textAnimator=new br(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},w.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},w.prototype.createPathShape=function(t,e){for(var i,s=e.length,r="",n=0;n<s;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,r+=sr(i,i.i.length,!0,t));return r},w.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},w.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},w.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},w.prototype.applyTextPropertiesToMatrix=function(t,e,i,s,r){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(s,r,0)},w.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},w.prototype.emptyProp=new cr,w.prototype.destroy=function(){},w.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var _r={shapes:[]};function Pr(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function xr(t,e,i){this.initElement(t,e,i)}function Sr(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function M(){}function Er(){}function Ar(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?S(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function kr(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=E("svg");var t="",i=(e&&e.title&&(i=E("title"),s=x(),i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),t+=s),e&&e.description&&(i=E("desc"),s=x(),i.setAttribute("id",s),i.textContent=e.description,this.svgElement.appendChild(i),t+=" "+s),t&&this.svgElement.setAttribute("aria-labelledby",t),E("defs")),s=(this.svgElement.appendChild(i),E("g"));this.svgElement.appendChild(s),this.layerElement=s,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:i,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function Cr(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}y([c,Ts,Vs,Rs,d,Bs,w],Pr),Pr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=E("text"))},Pr.prototype.buildTextContents=function(t){for(var e=0,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},Pr.prototype.buildShapeData=function(t,e){var i;return t.shapes&&t.shapes.length&&(i=t.shapes[0]).it&&(i=i.it[i.it.length-1]).s&&(i.s.k[0]=e,i.s.k[1]=e),t},Pr.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData,s=(this.renderedLetters=S(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize),this.globalData.fontManager.getFontByName(i.f)),r=(s.fClass?this.layerElement.setAttribute("class",s.fClass):(this.layerElement.setAttribute("font-family",s.fFamily),t=i.fWeight,e=i.fStyle,this.layerElement.setAttribute("font-style",e),this.layerElement.setAttribute("font-weight",t)),this.layerElement.setAttribute("aria-label",i.t),i.l||[]),n=!!this.globalData.fontManager.chars;_=r.length;var a=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*i.tr*i.finalSize;if(!o||n||i.sz){var c,u,d,m,y=this.textSpans.length;for(P=0;P<_;P+=1)this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),n&&o&&0!==P||(c=P<y?this.textSpans[P].span:E(n?"g":"text"),y<=P&&(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=c,n&&(m=E("g"),c.appendChild(m),this.textSpans[P].childSpan=m),this.textSpans[P].span=c,this.layerElement.appendChild(c)),c.style.display="inherit"),a.reset(),o&&(r[P].n&&(h=-f,l=l+i.yOffset+(p?1:0),p=!1),this.applyTextPropertiesToMatrix(i,a,r[P].line,h,l),h=h+(r[P].l||0)+f),n?(u=1===(m=this.globalData.fontManager.getCharData(i.finalText[P],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t?new Ar(m.data,this.globalData,this):(u=_r,new C(u=m.data&&m.data.shapes?this.buildShapeData(m.data,i.finalSize):u,this.globalData,this)),this.textSpans[P].glyph&&(d=this.textSpans[P].glyph,this.textSpans[P].childSpan.removeChild(d.layerElement),d.destroy()),(this.textSpans[P].glyph=u)._debug=!0,u.prepareFrame(0),u.renderFrame(),this.textSpans[P].childSpan.appendChild(u.layerElement),1===m.t&&this.textSpans[P].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")):(o&&c.setAttribute("transform","translate("+a.props[12]+","+a.props[13]+")"),c.textContent=r[P].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));o&&c&&c.setAttribute("d","")}else{var g=this.textContainer,v="start";switch(i.j){case 1:v="end";break;case 2:v="middle";break;default:v="start"}g.setAttribute("text-anchor",v),g.setAttribute("letter-spacing",f);for(var b=this.buildTextContents(i.finalText),_=b.length,l=i.ps?i.ps[1]+i.ascent:0,P=0;P<_;P+=1)(c=this.textSpans[P].span||E("tspan")).textContent=b[P],c.setAttribute("x",0),c.setAttribute("y",l),c.style.display="inherit",g.appendChild(c),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=c,l+=i.finalLineHeight;this.layerElement.appendChild(g)}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0},Pr.prototype.sourceRectAtTime=function(){var t;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged&&(this._sizeChanged=!1,t=this.layerElement.getBBox(),this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}),this.bbox},Pr.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf)&&(this._mdf=!0)},Pr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;for(var t,e,i,s=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l,n=r.length,a=0;a<n;a+=1)r[a].n||(t=s[a],e=this.textSpans[a].span,(i=this.textSpans[a].glyph)&&i.renderFrame(),t._mdf.m&&e.setAttribute("transform",t.m),t._mdf.o&&e.setAttribute("opacity",t.o),t._mdf.sw&&e.setAttribute("stroke-width",t.sw),t._mdf.sc&&e.setAttribute("stroke",t.sc),t._mdf.fc&&e.setAttribute("fill",t.fc))}},y([zs],xr),xr.prototype.createContent=function(){var t=E("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},Sr.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Sr.prototype.renderFrame=function(){},Sr.prototype.getBaseElement=function(){return null},Sr.prototype.destroy=function(){},Sr.prototype.sourceRectAtTime=function(){},Sr.prototype.hide=function(){},y([c,Ts,Rs,d],Sr),y([_],M),M.prototype.createNull=function(t){return new Sr(t,this.globalData,this)},M.prototype.createShape=function(t){return new C(t,this.globalData,this)},M.prototype.createText=function(t){return new Pr(t,this.globalData,this)},M.prototype.createImage=function(t){return new zs(t,this.globalData,this)},M.prototype.createSolid=function(t){return new xr(t,this.globalData,this)},M.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,i=(this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t,E("clipPath")),s=E("rect"),r=(s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0),x());i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+P()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=S(t.layers.length)},M.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},M.prototype.updateContainerSize=function(){},M.prototype.findIndexByInd=function(t){for(var e=0,i=this.layers.length,e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},M.prototype.buildItem=function(t){var e,i,s=this.elements;s[t]||99===this.layers[t].ty||(s[t]=!0,e=this.createItem(this.layers[t]),s[t]=e,ct()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&-1!==(i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1)&&(this.elements[i]&&!0!==this.elements[i]?(s=s[i].getMatte(this.layers[t].tt),e.setMatte(s)):(this.buildItem(i),this.addPendingElement(e))))},M.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[s].getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},M.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){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 e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},M.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)}},M.prototype.hide=function(){this.layerElement.style.display="none"},M.prototype.show=function(){this.layerElement.style.display="block"},y([c,Ts,Rs,d,Bs],Er),Er.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},Er.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){this.tm._placeholder?this.renderedFrame=t/this.data.sr:((t=this.tm.v)===this.data.op&&(t=this.data.op-1),this.renderedFrame=t);var e,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=t-1;0<=e;--e)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf)&&(this._mdf=!0)}},Er.prototype.renderInnerContent=function(){for(var t=this.layers.length,e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Er.prototype.setElements=function(t){this.elements=t},Er.prototype.getElements=function(){return this.elements},Er.prototype.destroyElements=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},Er.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},y([M,Er,Vs],Ar),Ar.prototype.createComp=function(t){return new Ar(t,this.globalData,this)},y([M],kr),kr.prototype.createComp=function(t){return new Ar(t,this.globalData,this)},Cr.prototype={addTransformSequence:function(t){for(var e=t.length,i="_",s=0;s<e;s+=1)i+=t[s].transform.key+"_";var r=this.sequences[i];return r||(r={transforms:[].concat(t),finalTransform:new o,_mdf:!1},this.sequences[i]=r,this.sequenceList.push(r)),r},processSequence:function(t,e){for(var i=0,s=t.transforms.length,r=e;i<s&&!e;){if(t.transforms[i].transform.mProps._mdf){r=!0;break}i+=1}if(r)for(t.finalTransform.reset(),i=s-1;0<=i;--i)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=r},processSequences:function(t){for(var e=this.sequenceList.length,i=0;i<e;i+=1)this.processSequence(this.sequenceList[i],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};function Tr(){var s="__lottie_element_luma_buffer",r=null,n=null,a=null;function e(){var t,e,i;r||(t=E("svg"),e=E("filter"),i=E("feColorMatrix"),e.setAttribute("id",s),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"),e.appendChild(i),t.appendChild(e),t.setAttribute("id",s+"_svg"),Ds.svgLumaHidden&&(t.style.display="none"),a=t,document.body.appendChild(a),r=f("canvas"),(n=r.getContext("2d")).filter="url(#"+s+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:e,get:function(t){return r||e(),r.width=t.width,r.height=t.height,n.filter="url(#"+s+")",r}}}function wr(t,e){var i;return Ds.offscreenCanvas?new OffscreenCanvas(t,e):((i=f("canvas")).width=t,i.height=e,i)}var Mr={loadLumaCanvas:Tr.load,getLumaCanvas:Tr.get,createCanvas:wr},Dr={};function Fr(t){var e,i=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<i;e+=1){s=null;var s,r=t.data.ef[e].ty;(s=Dr[r]?new Dr[r].effect(t.effectsManager.effectElements[e],t):s)&&this.filters.push(s)}this.filters.length&&t.addRenderableComponent(this)}function Ir(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=S(this.masksProperties.length);for(var i=this.masksProperties.length,s=!1,r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(s=!0),this.viewData[r]=ze.getShapeProp(this.element,this.masksProperties[r],3);(this.hasMasks=s)&&this.element.addRenderableComponent(this)}function Lr(){}Fr.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},Fr.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},Ir.prototype.renderFrame=function(){if(this.hasMasks){var t,e,i,s,r=this.element.finalTransform.mat,n=this.element.canvasContext,a=this.masksProperties.length;for(n.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(n.moveTo(0,0),n.lineTo(this.element.globalData.compSize.w,0),n.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),n.lineTo(0,this.element.globalData.compSize.h),n.lineTo(0,0)),s=this.viewData[t].v,e=r.applyToPointArray(s.v[0][0],s.v[0][1],0),n.moveTo(e[0],e[1]);for(var o=s._length,h=1;h<o;h+=1)i=r.applyToTriplePoints(s.o[h-1],s.i[h],s.v[h]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=r.applyToTriplePoints(s.o[h-1],s.i[0],s.v[0]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),n.clip()}},Ir.prototype.getMaskProperty=ws.prototype.getMaskProperty,Ir.prototype.destroy=function(){this.element=null};var Vr={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function Rr(t,e,i,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7),this.sh=ze.getShapeProp(t,e,r,t);for(var n,a=i.length,o=0;o<a;o+=1)i[o].closed||(n={transforms:s.addTransformSequence(i[o].transforms),trNodes:[]},this.styledShapes.push(n),i[o].elements.push(n))}function D(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new Cr,this.initElement(t,e,i)}function Br(t,e,i){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,i)}function Or(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}function zr(t,e,i){this.initElement(t,e,i)}function F(){}function Nr(){this.opacity=-1,this.transform=q("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function I(){this.stack=[],this.cArrPos=0,this.cTr=new o;for(var t=0;t<15;t+=1){var e=new Nr;this.stack[t]=e}
vendor: 1,398 bytes, line 1
1this._length=15,this.nativeContext=null,this.transformMat=new o,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 Gr(t,e,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=S(this.layers.length),this.initElement(t,e,i),this.tm=t.tm?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function jr(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 I,this.elements=[],this.pendingElements=[],this.transformMat=ne
vendor: 26,251 bytes, line 1
1w o,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))}return(Lr.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){var t,e;1<=this.data.tt&&(this.buffers=[],t=this.globalData.canvasContext,e=Mr.createCanvas(t.canvas.width,t.canvas.height),this.buffers.push(e),e=Mr.createCanvas(t.canvas.width,t.canvas.height),this.buffers.push(e),3<=this.data.tt)&&!document._isProxy&&Mr.loadLumaCanvas(),this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new Fr(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t,e=this.globalData;e.blendMode!==this.data.bm&&(e.blendMode=this.data.bm,t=ms(this.data.bm),e.canvasContext.globalCompositeOperation=t)},createRenderableComponents:function(){this.maskManager=new Ir(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(Cs)},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(){var t;1<=this.data.tt&&(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(){var t,e;1<=this.data.tt&&(e=(t=this.buffers[1]).getContext("2d"),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),3<=this.data.tt&&!document._isProxy&&((e=Mr.getLumaCanvas(this.canvasContext.canvas)).getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(e,0,0)),this.canvasContext.globalCompositeOperation=Vr[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){this.hidden||this.data.hd||1===this.data.td&&!t||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode(),t=0===this.data.ty,this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),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 o}).hide=Lr.prototype.hideElement,Lr.prototype.show=Lr.prototype.showElement,Rr.prototype.setAsAnimated=qs.prototype.setAsAnimated,y([c,Ts,Lr,Gs,Rs,d,us],D),D.prototype.initElement=Bs.prototype.initElement,D.prototype.transformHelper={opacity:1,_opMdf:!1},D.prototype.dashResetter=[],D.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},D.prototype.createStyleElement=function(t,e){var i,e={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},s={};return"fl"===t.ty||"st"===t.ty?(s.c=A.getProp(this,t.c,1,255,this),s.c.k||(e.co="rgb("+p(s.c.v[0])+","+p(s.c.v[1])+","+p(s.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(s.s=A.getProp(this,t.s,1,null,this),s.e=A.getProp(this,t.e,1,null,this),s.h=A.getProp(this,t.h||{k:0},0,.01,this),s.a=A.getProp(this,t.a||{k:0},0,W,this),s.g=new Us(this,t.g,this)),s.o=A.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty?(e.lc=js[t.lc||2],e.lj=Hs[t.lj||2],1==t.lj&&(e.ml=t.ml),s.w=A.getProp(this,t.w,0,null,this),s.w.k||(e.wi=s.w.v),t.d&&(i=new $s(this,t.d,"canvas",this),s.d=i,s.d.k||(e.da=s.d.dashArray,e.do=s.d.dashoffset[0]))):e.r=2===t.r?"evenodd":"nonzero",this.stylesList.push(e),s.style=e,s},D.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},D.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:A.getProp(this,t.o,0,.01,this),mProps:Ei.getTransformProperty(this,t,this)}}},D.prototype.createShapeElement=function(t){t=new Rr(this,t,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},D.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},D.prototype.addTransformToStyleList=function(t){for(var e=this.stylesList.length,i=0;i<e;i+=1)this.stylesList[i].closed||this.stylesList[i].transforms.push(t)},D.prototype.removeTransformFromStyleList=function(){for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},D.prototype.closeStyles=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].closed=!0},D.prototype.searchShapes=function(t,e,i,s,r){for(var n,a,o,h,l,p=t.length-1,f=[],c=[],u=[].concat(r),d=p;0<=d;--d){if((o=this.searchProcessedElement(t[d]))?e[d]=i[o-1]:t[d]._shouldRender=s,"fl"===t[d].ty||"st"===t[d].ty||"gf"===t[d].ty||"gs"===t[d].ty)o?e[d].style.closed=!1:e[d]=this.createStyleElement(t[d],u),f.push(e[d].style);else if("gr"===t[d].ty){if(o)for(a=e[d].it.length,n=0;n<a;n+=1)e[d].prevViewData[n]=e[d].it[n];else e[d]=this.createGroupElement(t[d]);this.searchShapes(t[d].it,e[d].it,e[d].prevViewData,s,u)}else"tr"===t[d].ty?(o||(l=this.createTransformElement(t[d]),e[d]=l),u.push(e[d]),this.addTransformToStyleList(e[d])):"sh"===t[d].ty||"rc"===t[d].ty||"el"===t[d].ty||"sr"===t[d].ty?o||(e[d]=this.createShapeElement(t[d])):"tm"===t[d].ty||"rd"===t[d].ty||"pb"===t[d].ty||"zz"===t[d].ty||"op"===t[d].ty?(o?(h=e[d]).closed=!1:((h=Pi.getModifier(t[d].ty)).init(this,t[d]),e[d]=h,this.shapeModifiers.push(h)),c.push(h)):"rp"===t[d].ty&&(o?(h=e[d]).closed=!0:(h=Pi.getModifier(t[d].ty),(e[d]=h).init(this,t,d,e),this.shapeModifiers.push(h),s=!1),c.push(h));this.addProcessedElement(t[d],d+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),p=c.length,d=0;d<p;d+=1)c[d].closed=!0},D.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)},D.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},D.prototype.drawLayer=function(){for(var t,e,i,s,r,n,a,o,h=this.stylesList.length,l=this.globalData.renderer,p=this.globalData.canvasContext,f=0;f<h;f+=1)if(("st"!==(a=(o=this.stylesList[f]).type)&&"gs"!==a||0!==o.wi)&&o.data._shouldRender&&0!==o.coOp&&0!==this.globalData.currentGlobalAlpha){for(l.save(),r=o.elements,"st"===a||"gs"===a?(l.ctxStrokeStyle("st"===a?o.co:o.grd),l.ctxLineWidth(o.wi),l.ctxLineCap(o.lc),l.ctxLineJoin(o.lj),l.ctxMiterLimit(o.ml||0)):l.ctxFillStyle("fl"===a?o.co:o.grd),l.ctxOpacity(o.coOp),"st"!==a&&"gs"!==a&&p.beginPath(),l.ctxTransform(o.preTransforms.finalTransform.props),e=r.length,t=0;t<e;t+=1){for("st"!==a&&"gs"!==a||(p.beginPath(),!o.da)||(p.setLineDash(o.da),p.lineDashOffset=o.do),s=(n=r[t].trNodes).length,i=0;i<s;i+=1)"m"===n[i].t?p.moveTo(n[i].p[0],n[i].p[1]):"c"===n[i].t?p.bezierCurveTo(n[i].pts[0],n[i].pts[1],n[i].pts[2],n[i].pts[3],n[i].pts[4],n[i].pts[5]):p.closePath();"st"!==a&&"gs"!==a||(l.ctxStroke(),!o.da)||p.setLineDash(this.dashResetter)}"st"!==a&&"gs"!==a&&this.globalData.renderer.ctxFill(o.r),l.restore()}},D.prototype.renderShape=function(t,e,i,s){for(var r=t,n=e.length-1;0<=n;--n)"tr"===e[n].ty?(r=i[n].transform,this.renderShapeTransform(t,r)):"sh"===e[n].ty||"el"===e[n].ty||"rc"===e[n].ty||"sr"===e[n].ty?this.renderPath(e[n],i[n]):"fl"===e[n].ty?this.renderFill(e[n],i[n],r):"st"===e[n].ty?this.renderStroke(e[n],i[n],r):"gf"===e[n].ty||"gs"===e[n].ty?this.renderGradientFill(e[n],i[n],r):"gr"===e[n].ty?this.renderShape(r,e[n].it,i[n].it):e[n].ty;s&&this.drawLayer()},D.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){for(var i,s,r=t.trNodes,n=e.paths,a=n._length,o=(r.length=0,t.transforms.finalTransform),h=0;h<a;h+=1){var l=n.shapes[h];if(l&&l.v){for(s=l._length,i=1;i<s;i+=1)1===i&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),r.push({t:"c",pts:o.applyToTriplePoints(l.o[i-1],l.i[i],l.v[i])});1===s&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&s&&(r.push({t:"c",pts:o.applyToTriplePoints(l.o[i-1],l.i[0],l.v[0])}),r.push({t:"z"}))}}t.trNodes=r}},D.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender)for(var i=e.styledShapes.length,s=0;s<i;s+=1)this.renderStyledShape(e.styledShapes[s],e.sh)},D.prototype.renderFill=function(t,e,i){var s=e.style;(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+p(e.c.v[0])+","+p(e.c.v[1])+","+p(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity)},D.prototype.renderGradientFill=function(t,e,i){var s=e.style;if(!s.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var r,n,a,o,h=this.globalData.canvasContext,l=e.s.v,p=e.e.v;o=1===t.t?h.createLinearGradient(l[0],l[1],p[0],p[1]):(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),p=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(n=e.h.v)?n=.99:n<=-1&&(n=-.99),n=r*n,a=Math.cos(p+e.a.v)*n+l[0],p=Math.sin(p+e.a.v)*n+l[1],h.createRadialGradient(a,p,0,l[0],l[1],r));for(var f=t.g.p,c=e.g.c,u=1,d=0;d<f;d+=1)e.g._hasOpacity&&e.g._collapsable&&(u=e.g.o[2*d+1]),o.addColorStop(c[4*d]/100,"rgba("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+","+u+")");s.grd=o}s.coOp=e.o.v*i.opacity},D.prototype.renderStroke=function(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||this._isFirstFrame)&&(s.da=r.dashArray,s.do=r.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+p(e.c.v[0])+","+p(e.c.v[1])+","+p(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(s.wi=e.w.v)},D.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},y([c,Ts,Lr,Rs,d,us,w],Br),Br.prototype.tHelper=f("canvas").getContext("2d"),Br.prototype.buildNewText=function(){for(var t,e,i,s,r,n,a,o=this.textProperty.currentData,h=(this.renderedLetters=S(o.l?o.l.length:0),!1),h=(o.fc?(h=!0,this.values.fill=this.buildColor(o.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=h,!1),l=(o.sc&&(h=!0,this.values.stroke=this.buildColor(o.sc),this.values.sWidth=o.sw),this.globalData.fontManager.getFontByName(o.f)),p=o.l,f=this.mHelper,c=(this.stroke=h,this.values.fValue=o.finalSize+"px "+this.globalData.fontManager.getFontByName(o.f).fFamily,o.finalText.length),u=this.data.singleShape,d=.001*o.tr*o.finalSize,m=0,y=0,g=!0,v=0,b=0;b<c;b+=1){t=(t=this.globalData.fontManager.getCharData(o.finalText[b],l.fStyle,this.globalData.fontManager.getFontByName(o.f).fFamily))&&t.data||{},f.reset(),u&&p[b].n&&(m=-d,y=y+o.yOffset+(g?1:0),g=!1),r=(s=t.shapes?t.shapes[0].it:[]).length,f.scale(o.finalSize/100,o.finalSize/100),u&&this.applyTextPropertiesToMatrix(o,f,p[b].line,m,y);for(var _=S(r-1),P=0,x=0;x<r;x+=1)if("sh"===s[x].ty){for(i=s[x].ks.k.i.length,n=s[x].ks.k,a=[],e=1;e<i;e+=1)1===e&&a.push(f.applyToX(n.v[0][0],n.v[0][1],0),f.applyToY(n.v[0][0],n.v[0][1],0)),a.push(f.applyToX(n.o[e-1][0],n.o[e-1][1],0),f.applyToY(n.o[e-1][0],n.o[e-1][1],0),f.applyToX(n.i[e][0],n.i[e][1],0),f.applyToY(n.i[e][0],n.i[e][1],0),f.applyToX(n.v[e][0],n.v[e][1],0),f.applyToY(n.v[e][0],n.v[e][1],0));a.push(f.applyToX(n.o[e-1][0],n.o[e-1][1],0),f.applyToY(n.o[e-1][0],n.o[e-1][1],0),f.applyToX(n.i[0][0],n.i[0][1],0),f.applyToY(n.i[0][0],n.i[0][1],0),f.applyToX(n.v[0][0],n.v[0][1],0),f.applyToY(n.v[0][0],n.v[0][1],0)),_[P]=a,P+=1}u&&(m=m+p[b].l+d),this.textSpans[v]?this.textSpans[v].elem=_:this.textSpans[v]={elem:_},v+=1}},Br.prototype.renderInnerContent=function(){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);for(var t,e,i,s,r,n,a,o=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l,l=h.length,p=null,f=null,c=null,u=this.globalData.renderer,d=0;d<l;d+=1)if(!h[d].n){if((r=o[d])&&(u.save(),u.ctxTransform(r.p),u.ctxOpacity(r.o)),this.fill){for(r&&r.fc?p!==r.fc&&(u.ctxFillStyle(r.fc),p=r.fc):p!==this.values.fill&&(p=this.values.fill,u.ctxFillStyle(this.values.fill)),e=(n=this.textSpans[d].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<e;t+=1)for(s=(a=n[t]).length,this.globalData.canvasContext.moveTo(a[0],a[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(a[i],a[i+1],a[i+2],a[i+3],a[i+4],a[i+5]);this.globalData.canvasContext.closePath(),u.ctxFill()}if(this.stroke){for(r&&r.sw?c!==r.sw&&(c=r.sw,u.ctxLineWidth(r.sw)):c!==this.values.sWidth&&(c=this.values.sWidth,u.ctxLineWidth(this.values.sWidth)),r&&r.sc?f!==r.sc&&(f=r.sc,u.ctxStrokeStyle(r.sc)):f!==this.values.stroke&&(f=this.values.stroke,u.ctxStrokeStyle(this.values.stroke)),e=(n=this.textSpans[d].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<e;t+=1)for(s=(a=n[t]).length,this.globalData.canvasContext.moveTo(a[0],a[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(a[i],a[i+1],a[i+2],a[i+3],a[i+4],a[i+5]);this.globalData.canvasContext.closePath(),u.ctxStroke()}r&&this.globalData.renderer.restore()}},y([c,Ts,Lr,Rs,d,us],Or),Or.prototype.initElement=C.prototype.initElement,Or.prototype.prepareFrame=zs.prototype.prepareFrame,Or.prototype.createContent=function(){var t,e,i,s,r,n,a,o,h;!this.img.width||this.assetData.w===this.img.width&&this.assetData.h===this.img.height||((t=f("canvas")).width=this.assetData.w,t.height=this.assetData.h,e=t.getContext("2d"),i=this.img.width,s=this.img.height,n=this.assetData.w/this.assetData.h,h=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio,n<(r=i/s)&&"xMidYMid slice"===h||r<n&&"xMidYMid slice"!==h?a=(o=s)*n:o=(a=i)/n,e.drawImage(this.img,(i-a)/2,(s-o)/2,a,o,0,0,this.assetData.w,this.assetData.h),this.img=t)},Or.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},Or.prototype.destroy=function(){this.img=null},y([c,Ts,Lr,Rs,d,us],zr),zr.prototype.initElement=C.prototype.initElement,zr.prototype.prepareFrame=zs.prototype.prepareFrame,zr.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},y([_],F),F.prototype.createShape=function(t){return new D(t,this.globalData,this)},F.prototype.createText=function(t){return new Br(t,this.globalData,this)},F.prototype.createImage=function(t){return new Or(t,this.globalData,this)},F.prototype.createSolid=function(t){return new zr(t,this.globalData,this)},F.prototype.createNull=kr.prototype.createNull,F.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])},F.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},F.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},F.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},F.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},F.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},F.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},F.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},F.prototype.ctxFill=function(t){this.canvasContext.fill(t)},F.prototype.ctxFillRect=function(t,e,i,s){this.canvasContext.fillRect(t,e,i,s)},F.prototype.ctxStroke=function(){this.canvasContext.stroke()},F.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},F.prototype.save=function(){this.canvasContext.save()},F.prototype.restore=function(t){this.renderConfig.clearCanvas?(t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)):this.canvasContext.restore()},F.prototype.configAnimation=function(t){var e,i;this.animationItem.wrapper?(this.animationItem.container=f("canvas"),(e=this.animationItem.container.style).width="100%",e.height="100%",e.transformOrigin=i="0px 0px 0px",e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,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)):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).globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=S(t.layers.length),this.updateContainerSize()},F.prototype.updateContainerSize=function(t,e){var i,s,r,n,a;this.reset(),t?(s=e,this.canvasContext.canvas.width=i=t,this.canvasContext.canvas.height=s):(s=this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")?(t=(e=this.renderConfig.preserveAspectRatio.split(" "))[1]||"meet",r=(e=e[0]||"xMidYMid").substr(0,4),e=e.substr(4),(n=i/s)<(a=this.transformCanvas.w/this.transformCanvas.h)&&"meet"===t||a<n&&"slice"===t?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===r&&(a<n&&"meet"===t||n<a&&"slice"===t)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===r&&(a<n&&"meet"===t||n<a&&"slice"===t)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===e&&(n<a&&"meet"===t||a<n&&"slice"===t)?(s-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===e&&(n<a&&"meet"===t||a<n&&"slice"===t)?(s-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:0):("none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)):(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)},F.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");for(var t=(this.layers?this.layers.length:0)-1;0<=t;--t)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},F.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){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,e=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=e-1;0<=i;--i)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=e-1;0<=i;--i)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},F.prototype.buildItem=function(t){var e,i=this.elements;i[t]||99===this.layers[t].ty||(e=this.createItem(this.layers[t],this,this.globalData),(i[t]=e).initExpressions())},F.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},F.prototype.hide=function(){this.animationItem.container.style.display="none"},F.prototype.show=function(){this.animationItem.container.style.display="block"},I.prototype.duplicate=function(){for(var t=2*this._length,e=0,e=this._length;e<t;e+=1)this.stack[e]=new Nr;this._length=t},I.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},I.prototype.restore=function(t){--this.cArrPos;for(var e,i=this.stack[this.cArrPos],s=i.transform,r=this.cTr.props,n=0;n<16;n+=1)r[n]=s[n];t&&(this.nativeContext.restore(),e=this.stack[this.cArrPos+1],this.appliedFillStyle=e.fillStyle,this.appliedStrokeStyle=e.strokeStyle,this.appliedLineWidth=e.lineWidth,this.appliedLineCap=e.lineCap,this.appliedLineJoin=e.lineJoin,this.appliedMiterLimit=e.miterLimit),this.nativeContext.setTransform(s[0],s[1],s[4],s[5],s[12],s[13]),(t||-1!==i.opacity&&this.currentOpacity!==i.opacity)&&(this.nativeContext.globalAlpha=i.opacity,this.currentOpacity=i.opacity),this.currentFillStyle=i.fillStyle,this.currentStrokeStyle=i.strokeStyle,this.currentLineWidth=i.lineWidth,this.currentLineCap=i.lineCap,this.currentLineJoin=i.lineJoin,this.currentMiterLimit=i.miterLimit},I.prototype.save=function(t){t&&this.nativeContext.save();for(var e=this.cTr.props,i=(this._length<=this.cArrPos&&this.duplicate(),this.stack[this.cArrPos]),s=0;s<16;s+=1)i.transform[s]=e[s];this.cArrPos+=1;t=this.stack[this.cArrPos];t.opacity=i.opacity,t.fillStyle=i.fillStyle,t.strokeStyle=i.strokeStyle,t.lineWidth=i.lineWidth,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.miterLimit=i.miterLimit},I.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},I.prototype.setContext=function(t){this.nativeContext=t},I.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},I.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},I.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},I.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},I.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},I.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},I.prototype.transform=function(t){this.transformMat.cloneFromProps(t);t=this.cTr,this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props),t=t.props;this.nativeContext.setTransform(t[0],t[1],t[4],t[5],t[12],t[13])},I.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;this.stack[this.cArrPos].opacity!==(e*=t<0?0:t)&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},I.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)}
1,I.prototype.fillRect=function(t,e,i,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,i,s)},I.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()},y([F,Er,Lr],Gr),Gr.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();for(var e=this.layers.length-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Gr.prototype.destroy=function(){for(var t=this.layers.length-1;0<=t;--t)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},Gr.prototype.createComp=function(t){return new Gr(t,this.globalData,this)},y([F],jr),jr.prototype.createComp=function(t){return new Gr(t,this.globalData,this)},It["canvas"]=jr,Pi.registerModifier("tm",l),Pi.registerModifier("pb",xi),Pi.registerModifier("rp",ki),Pi.registerModifier("rd",Ci),Pi.registerModifier("zz",Hi),Pi.registerModifier("op",Qi),t},"object"==_typeof2(t=Hr)&&_typeof2(qr)<"u"?qr.exports=e():"function"==typeof define&&define.amd?define(e):(t=("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:t||self).lottie=e())}),Sc=Pc()}),El={};fr(El,{default:function(){return Ac}});var Ec,Ac,Al=ls(function(){qs(),Ec=is(function(exports,module){("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&function(t,e){"object"==_typeof2(exports)&&_typeof2(module)<"u"?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:t||self).lottie=e()}(exports,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(t){for(var e=this.audios.length,i=0;i<e;i+=1)this.audios[i].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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function i(t,e){var i,s=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(s=0;s<e;s+=1)r.push(i);return r}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):i(t,e)}:i}();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})(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMin=Math.min,BMMath={},defaultCurveSegments=(function(){for(var t=["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"],e=t.length,i=0;i<e;i+=1)BMMath[t[i]]=Math[t[i]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){for(var e=createSizedArray(t.length),i=t.length,s=0;s<i;s+=1)e[s]=Math.abs(t[s]);return e}return Math.abs(t)},150),degToRads=Math.PI/180,roundCorner=.5519;function BMEnterFrameEvent(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}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}var createElementID=function(){var t=0;return function(){return idPrefix$1+"__lottie_element_"+(t+=1)}}();function HSVtoRGB(t,e,i){var s,r,n,a=Math.floor(6*t),t=6*t-a,o=i*(1-e),h=i*(1-t*e),l=i*(1-(1-t)*e);switch(a%6){case 0:s=i,r=l,n=o;break;case 1:s=h,r=i,n=o;break;case 2:s=o,r=i,n=l;break;case 3:s=o,r=h,n=i;break;case 4:s=l,r=o,n=i;break;case 5:s=i,r=o,n=h}return[s,r,n]}
vendor: 15,964 bytes, line 1
1function RGBtoHSV(t,e,i){var s,r=Math.max(t,e,i),n=Math.min(t,e,i),a=r-n,o=0===r?0:a/r,h=r/255;switch(r){case n:s=0;break;case t:s=e-i+a*(e<i?6:0),s/=6*a;break;case e:s=i-t+2*a,s/=6*a;break;case i:s=t-e+4*a,s/=6*a}return[s,o,h]}function addSaturationToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[1]+=e,1<t[1]?t[1]=1:t[1]<=0&&(t[1]=0),HSVtoRGB(t[0],t[1],t[2])}function addBrightnessToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[2]+=e,1<t[2]?t[2]=1:t[2]<0&&(t[2]=0),HSVtoRGB(t[0],t[1],t[2])}function addHueToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[0]+=e/360,1<t[0]?--t[0]:t[0]<0&&(t[0]+=1),HSVtoRGB(t[0],t[1],t[2])}!function(){for(var t,e=0;e<256;e+=1)t=e.toString(16),e,t.length}();var setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(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})(t)}var dataManager=function(){var i,s,r=1,n=[],a={onmessage:function(){},postMessage:function(t){i({data:t})}},o={postMessage:function(t){a.onmessage({data:t})}};function h(){var t,e;s||(t=function(e){function t(){function p(t,e){for(var i,s,r,n=t.length,a=0;a<n;a+=1)if("ks"in(r=t[a])&&!r.completed){if(r.completed=!0,r.hasMask)for(var o=r.masksProperties,h=o.length,l=0;l<h;l+=1)if(o[l].pt.k.i)u(o[l].pt.k);else for(s=o[l].pt.k.length,i=0;i<s;i+=1)o[l].pt.k[i].s&&u(o[l].pt.k[i].s[0]),o[l].pt.k[i].e&&u(o[l].pt.k[i].e[0]);0===r.ty?(r.layers=f(r.refId,e),p(r.layers,e)):4===r.ty?c(r.shapes):5===r.ty&&0===(r=r).t.a.length&&0 in r.t.p}}function f(t,e){t=function(t,e){for(var i=0,s=e.length;i<s;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return t?t.layers.__used?JSON.parse(JSON.stringify(t.layers)):(t.layers.__used=!0,t.layers):null}function c(t){for(var e,i,s=t.length-1;0<=s;--s)if("sh"===t[s].ty)if(t[s].ks.k.i)u(t[s].ks.k);else for(i=t[s].ks.k.length,e=0;e<i;e+=1)t[s].ks.k[e].s&&u(t[s].ks.k[e].s[0]),t[s].ks.k[e].e&&u(t[s].ks.k[e].e[0]);else"gr"===t[s].ty&&c(t[s].it)}function u(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function r(t,e){e=e?e.split("."):[100,100,100];return t[0]>e[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],t[2],0)))}h=[4,4,14];var s,n,a,o,h,l=function(t){if(r(h,t.v)&&(P(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&P(t.assets[i].layers)},d=(o=[4,7,99],function(t){if(t.chars&&!r(o,t.v))for(var e=t.chars.length,i=0;i<e;i+=1){var s=t.chars[i];s.data&&s.data.shapes&&(c(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}},t.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"})))}}),m=(a=[5,7,15],function(t){if(r(a,t.v)&&(_(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&_(t.assets[i].layers)}),y=(n=[4,1,9],function(t){if(r(n,t.v)&&(b(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&b(t.assets[i].layers)}),g=(s=[4,4,18],function(t){if(r(s,t.v)&&(v(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&v(t.assets[i].layers)});function v(t){for(var e,i,s,r=t.length,n=0;n<r;n+=1){if((e=t[n]).hasMask)for(var a=e.masksProperties,o=a.length,h=0;h<o;h+=1)if(a[h].pt.k.i)a[h].pt.k.c=a[h].cl;else for(s=a[h].pt.k.length,i=0;i<s;i+=1)a[h].pt.k[i].s&&(a[h].pt.k[i].s[0].c=a[h].cl),a[h].pt.k[i].e&&(a[h].pt.k[i].e[0].c=a[h].cl);4===e.ty&&function t(e){for(var i,s,r=e.length-1;0<=r;--r)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(s=e[r].ks.k.length,i=0;i<s;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}(e.shapes)}}function b(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&function t(e){for(var i,s,r=e.length,n=0;n<r;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(s=e[n].c.k.length,i=0;i<s;i+=1)e[n].c.k[i].s&&(e[n].c.k[i].s[0]/=255,e[n].c.k[i].s[1]/=255,e[n].c.k[i].s[2]/=255,e[n].c.k[i].s[3]/=255),e[n].c.k[i].e&&(e[n].c.k[i].e[0]/=255,e[n].c.k[i].e[1]/=255,e[n].c.k[i].e[2]/=255,e[n].c.k[i].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}(t[i].shapes)}function _(t){for(var e,i=t.length,s=0;s<i;s+=1)5===t[s].ty&&("number"==typeof(e=(e=t[s]).t.p).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 P(t){for(var e,i,s=t.length,r=0;r<s;r+=1)5===t[r].ty&&(e=t[r],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}var t={};return t.completeData=function(t){if(!t.__complete){y(t),l(t),d(t),m(t),g(t),p(t.layers,t.assets);var e=t.chars,i=t.assets;if(e)for(var s=0,r=e.length,s=0;s<r;s+=1)1===e[s].t&&(e[s].data.layers=f(e[s].data.refId,i),p(e[s].data.layers,i));t.__complete=!0}},t.checkColors=y,t.checkChars=d,t.checkPathProperties=m,t.checkShapes=g,t.completeLayers=p,t}var i;function a(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}o.dataManager||(o.dataManager=t()),o.assetLoader||(o.assetLoader={load:function(e,i,t,s){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)r=a(n),t(r);else try{r=a(n),t(r)}catch(t){s&&s(t)}};try{n.open(["G","E","T"].join(""),e,!0)}catch(t){n.open(["G","E","T"].join(""),i+"/"+e,!0)}n.send()}}),"loadAnimation"===e.data.type?o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})}):"complete"===e.data.type?(i=e.data.animation,o.dataManager.completeData(i),o.postMessage({id:e.data.id,payload:i,status:"success"})):"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})})},(s=window.Worker&&window.Blob&&getWebWorker()?(e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),e=URL.createObjectURL(e),new Worker(e)):(i=t,a)).onmessage=function(t){var t=t.data,e=t.id,i=n[e];n[e]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function l(t,e){var i="processId_"+(r+=1);return n[i]={onComplete:t,onError:e},i}return{loadAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},loadData:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},completeAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"complete",animation:t,id:e})}}}(),ImagePreloader=function(){(t=createTag("canvas")).width=1,t.height=1,(e=t.getContext("2d")).fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1);var t,e,r=t;function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,i){var s="";return s=t.e?t.p:e?e+(e=-1!==(e=t.p).indexOf("images/")?e.split("/")[1]:e):(s=i,(s+=t.u||"")+t.p)}function a(){this._imageLoaded=i.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=function(t){var e=0,i=setInterval(function(){(t.getBBox().width||500<e)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}.bind(this),this.createFootageData=function(t){var e={assetData:t},t=n(t,this.assetsPath,this.path);return dataManager.loadData(t,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;for(var i=t.length,s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},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,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=n(t,this.assetsPath,this.path),i=createTag("img"),s=(i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.src=e,{img:i,assetData:t});return s},createImageData:function(t){var e=n(t,this.assetsPath,this.path),i=createNS("image"),s=(isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i),{img:i,assetData:t});return s},imageLoaded:i,footageLoaded:s,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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 i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--s),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(e){for(var t=[],i=0;i<e.length;i+=1){var s=e[i],s={time:s.tm,duration:s.dr};try{s.payload=JSON.parse(e[i].cm)}catch(t){try{s.payload=function(t){for(var e,i=t.split("\r\n"),s={},r=0,n=0;n<i.length;n+=1)2===(e=i[n].split(":")).length&&(s[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return s}(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}t.push(s)}return t},ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(t){for(var e=0,i=this.compositions.length;e<i;){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 t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),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})(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()},animationManager=(extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg",i=(t.animType?e=t.animType:t.renderer&&(e=t.renderer),getRenderer(e));this.renderer=new i(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||"",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){var e={wrapper:t,animationData:e=e&&"object"!==_typeof$4(e)?JSON.parse(e):e},t=t.attributes,i=(e.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",e.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas",t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:""),i=("false"===i?e.loop=!1:"true"===i?e.loop=!0:""!==i&&(e.loop=parseInt(i,10)),t.getNamedItem("data-anim-
1autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value);e.autoplay="false"!==i,e.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(e.prerender=!1),e.path?this.setParams(e):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));for(var e,i=this.animationData.layers,s=i.length,r=t.layers,n=r.length,a=0;a<n;a+=1)for(e=0;e<s;){if(i[e].id===r[a].id){i[e]=r[a];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(s=t.assets.length,e=0;e<s;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;t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;t&&0!==t.length&&this.autoloadSegments?(t=t.shift(),this.timeCompleted=t.time*this.frameRate,t=this.path+this.fileName+"_"+this.segmentPos+".json",this.segmentPos+=1,dataManager.loadData(t,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))):(this.trigger("data_ready"),this.timeCompleted=this.totalFrames)},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(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){var t;!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,(t=getExpressionsPlugin())&&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){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},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
vendor: 3,312 bytes, line 1
1(),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,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){i&&this.name!==i||(i=Number(t),isNaN(i)?(i=this.getMarkerData(t))&&this.goToAndStop(i.time,!0):e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,i){var s;i&&this.name!==i||(s=Number(t),isNaN(s)?(t=this.getMarkerData(t))&&(t.duration?this.playSegments([t.time,t.time+t.duration],!0):this.goToAndStop(t.time,!0)):this.goToAndStop(s,e,i),this.play())},AnimationItem.prototype.advanceTime=function(t){var e;!0!==this.isPaused&&!1!==this.isLoaded&&(e=!1,(t=this.currentRawFrame+t*this.frameModifier)>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e)&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0]))for(var i=t.length,s=0;s<i;s+=1)this.segments.push(t[s
vendor: 4,249 bytes, line 1
1]);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,i="";return i=t.e?t.p:this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),this.assetsPath+e):(i=this.path,(i+=t.u||"")+t.p)},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){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,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},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){t=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(t){t=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},
vendor: 93,512 bytes, line 1
1function(){var t={},r=[],s=0,n=0,a=0,o=!0,h=!1;function i(t){for(var e=0,i=t.target;e<n;)r[e].animation===i&&(r.splice(e,1),--e,--n,i.isPaused||f()),e+=1}function l(t,e){if(!t)return null;for(var i=0;i<n;){if(r[i].elem===t&&null!==r[i].elem)return r[i].animation;i+=1}var s=new AnimationItem;return c(s,t),s.setData(t,e),s}function p(){a+=1,d()}function f(){--a}function c(t,e){t.addEventListener("destroy",i),t.addEventListener("_active",p),t.addEventListener("_idle",f),r.push({elem:e,animation:t}),n+=1}function u(t){for(var e=t-s,i=0;i<n;i+=1)r[i].animation.advanceTime(e);s=t,a&&!h?window.requestAnimationFrame(u):o=!0}function e(t){s=t,window.requestAnimationFrame(u)}function d(){!h&&a&&o&&(window.requestAnimationFrame(e),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return c(e,null),e.setParams(t),e},t.setSpeed=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setSpeed(t,e)},t.setDirection=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setDirection(t,e)},t.play=function(t){for(var e=0;e<n;e+=1)r[e].animation.play(t)},t.pause=function(t){for(var e=0;e<n;e+=1)r[e].animation.pause(t)},t.stop=function(t){for(var e=0;e<n;e+=1)r[e].animation.stop(t)},t.togglePause=function(t){for(var e=0;e<n;e+=1)r[e].animation.togglePause(t)},t.searchAnimations=function(t,e,i){for(var s,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=r.length,a=0;a<n;a+=1)i&&r[a].setAttribute("data-bm-type",i),l(r[a],t);e&&0===n&&(i=i||"svg",(e=document.getElementsByTagName("body")[0]).innerText="",(s=createTag("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),e.appendChild(s),l(s,t))},t.resize=function(){for(var t=0;t<n;t+=1)r[t].animation.resize()},t.goToAndStop=function(t,e,i){for(var s=0;s<n;s+=1)r[s].animation.goToAndStop(t,e,i)},t.destroy=function(t){for(var e=n-1;0<=e;--e)r[e].animation.destroy(t)},t.freeze=function(){h=!0},t.unfreeze=function(){h=!1,d()},t.setVolume=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setVolume(t,e)},t.mute=function(t){for(var e=0;e<n;e+=1)r[e].animation.mute(t)},t.unmute=function(t){for(var e=0;e<n;e+=1)r[e].animation.unmute(t)},t.getRegisteredAnimations=function(){for(var t=r.length,e=[],i=0;i<t;i+=1)e.push(r[i].animation);return e},t}()),BezierFactory=function(){var t={getBezierEasing:function(t,e,i,s,r){r=r||("bez_"+t+"_"+e+"_"+i+"_"+s).replace(/\./g,"p");return n[r]||(t=new a([t,e,i,s]),n[r]=t)}},n={};var S=11,E=1/(S-1),e="function"==typeof Float32Array;function s(t,e){return 1-3*e+3*t}function A(t,e,i){return((s(e,i)*t+(3*i-6*e))*t+3*e)*t}function k(t,e,i){return 3*s(e,i)*t*t+2*(3*i-6*e)*t+3*e}function a(t){this._p=t,this._mSampleValues=new(e?Float32Array:Array)(S),this._precomputed=!1,this.get=this.get.bind(this)}return a.prototype={get:function(t){var e=this._p[0],i=this._p[1],s=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&s===r?t:0===t?0:1===t?1:A(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],s=this._p[3];this._precomputed=!0,t===e&&i===s||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<S;++i)this._mSampleValues[i]=A(i*E,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,r=0,n=1,a=S-1;n!==a&&s[n]<=t;++n)r+=E;var o=r+(t-s[--n])/(s[n+1]-s[n])*E,h=k(o,e,i);if(.001<=h){for(var l=t,p=o,f=e,c=i,u=0;u<4;++u){var d=k(p,f,c);if(0===d)return p;p-=(A(p,f,c)-l)/d}return p}if(0===h)return o;for(var m,y,g=t,v=r,b=r+E,_=e,P=i,x=0;0<(m=A(y=v+(b-v)/2,_,P)-g)?b=y:v=y,1e-7<Math.abs(m)&&++x<10;);return y}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,i){var s=0,r=t,n=createSizedArray(r);return{newElement:function(){var t;return t=s?n[--s]:e(),t},release:function(t){s===r&&(n=pooling.double(n),r*=2),i&&i(t),n[s]=t,s+=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){for(var e=t.lengths.length,i=0;i<e;i+=1)bezierLengthPool.release(t.lengths[i]);t.lengths.length=0});function bezFunction(){var k=Math;function y(t,e,i,s,r,n){r=t*s+e*r+i*n-r*s-n*t-i*e;return-.001<r&&r<.001}var p=function(t,e,i,s){for(var r,n,a,o,h=getDefaultCurveSegments(),l=0,p=[],f=[],c=bezierLengthPool.newElement(),u=i.length,d=0;d<h;d+=1){for(a=d/(h-1),r=o=0;r<u;r+=1)n=bmPow(1-a,3)*t[r]+3*bmPow(1-a,2)*a*i[r]+3*(1-a)*bmPow(a,2)*s[r]+bmPow(a,3)*e[r],p[r]=n,null!==f[r]&&(o+=bmPow(p[r]-f[r],2)),f[r]=p[r];o&&(l+=o=bmSqrt(o)),c.percents[d]=a,c.lengths[d]=l}return c.addedLength=l,c};function g(t){this.segmentLength=0,this.points=new Array(t)}function v(t,e){this.partialLength=t,this.point=e}function t(t,e,i,s){var r=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!b[r]){for(var n,a,o,h,l,p=getDefaultCurveSegments(),f=0,c=null,u=new g(p=2===t.length&&(t[0]!==e[0]||t[1]!==e[1])&&y(t[0],t[1],e[0],e[1],t[0]+i[0],t[1]+i[1])&&y(t[0],t[1],e[0],e[1],e[0]+s[0],e[1]+s[1])?2:p),d=i.length,m=0;m<p;m+=1){for(l=createSizedArray(d),o=m/(p-1),n=h=0;n<d;n+=1)a=bmPow(1-o,3)*t[n]+3*bmPow(1-o,2)*o*(t[n]+i[n])+3*(1-o)*bmPow(o,2)*(e[n]+s[n])+bmPow(o,3)*e[n],l[n]=a,null!==c&&(h+=bmPow(l[n]-c[n],2));f+=h=bmSqrt(h),u.points[m]=new v(h,l),c=l}u.segmentLength=f,b[r]=u}return b[r]}var b;b={};function C(t,e){var i=e.percents,s=e.lengths,r=i.length,n=bmFloor((r-1)*t),a=t*e.addedLength,o=0;if(n===r-1||0===n||a===s[n])return i[n];for(var h=s[n]>a?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||r-1<=n){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}var T=createTypedArray("float32",8);return{getSegmentsLength:function(t){for(var e=segmentsLengthPool.newElement(),i=t.c,s=t.v,r=t.o,n=t.i,a=t._length,o=e.lengths,h=0,l=0;l<a-1;l+=1)o[l]=p(s[l],s[l+1],r[l],n[l+1]),h+=o[l].addedLength;return i&&a&&(o[l]=p(s[l],s[0],r[l],n[0]),h+=o[l].addedLength),e.totalLength=h,e},getNewSegment:function(t,e,i,s,r,n,a){r<0?r=0:1<r&&(r=1);for(var r=C(r,a),n=C(n=1<n?1:n,a),o=t.length,h=1-n,l=(a=1-r)*a*a,p=r*a*a*3,f=r*r*a*3,c=r*r*r,u=a*a*h,d=r*a*h+a*r*h+a*a*n,m=r*r*h+a*r*n+r*a*n,y=r*r*n,g=a*h*h,v=r*h*h+a*n*h+a*h*n,b=r*n*h+a*n*n+r*h*n,_=r*n*n,P=h*h*h,x=n*h*h+h*n*h+h*h*n,S=n*n*h+h*n*n+n*h*n,E=n*n*n,A=0;A<o;A+=1)T[4*A]=k.round(1e3*(l*t[A]+p*i[A]+f*s[A]+c*e[A]))/1e3,T[4*A+1]=k.round(1e3*(u*t[A]+d*i[A]+m*s[A]+y*e[A]))/1e3,T[4*A+2]=k.round(1e3*(g*t[A]+v*i[A]+b*s[A]+_*e[A]))/1e3,T[4*A+3]=k.round(1e3*(P*t[A]+x*i[A]+S*s[A]+E*e[A]))/1e3;return T},getPointInSegment:function(t,e,i,s,r,n){return r=C(r,n),n=1-r,[k.round(1e3*(n*n*n*t[0]+(r*n*n+n*r*n+n*n*r)*i[0]+(r*r*n+n*r*r+r*n*r)*s[0]+r*r*r*e[0]))/1e3,k.round(1e3*(n*n*n*t[1]+(r*n*n+n*r*n+n*n*r)*i[1]+(r*r*n+n*r*r+r*n*r)*s[1]+r*r*r*e[1]))/1e3]},buildBezierData:t,pointOnLine2D:y,pointOnLine3D:function(t,e,i,s,r,n,a,o,h){var l;return 0===i&&0===n&&0===h?y(t,e,s,r,a,o):(l=k.sqrt(k.pow(s-t,2)+k.pow(r-e,2)+k.pow(n-i,2)),t=k.sqrt(k.pow(a-t,2)+k.pow(o-e,2)+k.pow(h-i,2)),e=k.sqrt(k.pow(a-s,2)+k.pow(o-r,2)+k.pow(h-n,2)),-1e-4<(i=t<l?e<l?l-t-e:e-t-l:t<e?e-t-l:t-l-e)&&i<1e-4)}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));for(var r,n,a=e.lastIndex,o=a,h=this.keyframes.length-1,l=!0;l;){if(r=this.keyframes[o],n=this.keyframes[o+1],o===h-1&&t>=n.t-s){r.h&&(r=n),a=0;break}if(n.t-s>t){a=o;break}o<h-1?o+=1:(a=0,l=!1)}var p,f=this.keyframesMetadata[o]||{},c=n.t-s,u=r.t-s;if(r.to){f.bezierData||(f.bezierData=bez.buildBezierData(r.s,n.s||r.e,r.to,r.ti));var d=f.bezierData;if(c<=t||t<u)for(var m=c<=t?d.points.length-1:0,y=d.points[m].point.length,g=0;g<y;g+=1)i[g]=d.points[m].point[g];else{f.__fnct?p=f.__fnct:(p=BezierFactory.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,f.__fnct=p);for(var v,b=p((t-u)/(c-u)),_=d.segmentLength*b,P=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastAddedLength:0,x=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastPoint:0,l=!0,S=d.points.length;l;){if(P+=d.points[x].partialLength,0==_||0===b||x===d.points.length-1){for(y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g];break}if(P<=_&&_<P+d.points[x+1].partialLength){for(v=(_-P)/d.points[x+1].partialLength,y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g]+(d.points[x+1].point[g]-d.points[x].point[g])*v;break}x<S-1?x+=1:l=!1}e._lastPoint=x,e._lastAddedLength=P-d.points[x].partialLength,e._lastKeyframeIndex=o}}else{var E,A,k,C,T,h=r.s.length,w=n.s||r.e;if(this.sh&&1!==r.h)c<=t?(i[0]=w[0],i[1]=w[1],i[2]=w[2]):t<=u?(i[0]=r.s[0],i[1]=r.s[1],i[2]=r.s[2]):quaternionToEuler(i,slerp(createQuaternion(r.s),createQuaternion(w),(t-u)/(c-u)));else for(o=0;o<h;o+=1)1!==r.h&&(b=c<=t?1:t<u?0:(r.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[o]?p=f.__fnct[o]:(E=void 0===r.o.x[o]?r.o.x[0]:r.o.x[o],A=void 0===r.o.y[o]?r.o.y[0]:r.o.y[o],k=void 0===r.i.x[o]?r.i.x[0]:r.i.x[o],C=void 0===r.i.y[o]?r.i.y[0]:r.i.y[o],p=BezierFactory.getBezierEasing(E,A,k,C).get,f.__fnct[o]=p)):f.__fnct?p=f.__fnct:(E=r.o.x,A=r.o.y,k=r.i.x,C=r.i.y,p=BezierFactory.getBezierEasing(E,A,k,C).get,r.keyframeMetadata=p),p((t-u)/(c-u)))),w=n.s||r.e,T=1===r.h?r.s[o]:r.s[o]+(w[o]-r.s[o])*b,"multidimensional"===this.propType?i[o]=T:i=T}return e.lastIndex=a,i}function slerp(t,e,i){var s,r,n=[],a=t[0],o=t[1],h=t[2],t=t[3],l=e[0],p=e[1],f=e[2],e=e[3],c=a*l+o*p+h*f+t*e;return c<0&&(c=-c,l=-l,p=-p,f=-f,e=-e),c=1e-6<1-c?(c=Math.acos(c),s=Math.sin(c),r=Math.sin((1-i)*c)/s,Math.sin(i*c)/s):(r=1-i,i),n[0]=r*a+c*l,n[1]=r*o+c*p,n[2]=r*h+c*f,n[3]=r*t+c*e,n}function quaternionToEuler(t,e){var i=e[0],s=e[1],r=e[2],e=e[3],n=Math.atan2(2*s*e-2*i*r,1-2*s*s-2*r*r),a=Math.asin(2*i*s+2*r*e),e=Math.atan2(2*i*e-2*s*r,1-2*i*i-2*r*r);t[0]=n/degToRads,t[1]=a/degToRads,t[2]=e/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,t=t[2]*degToRads,s=Math.cos(e/2),r=Math.cos(i/2),n=Math.cos(t/2),e=Math.sin(e/2),i=Math.sin(i/2),t=Math.sin(t/2);return[e*i*n+s*r*t,e*r*n+s*i*t,s*i*n-e*r*t,s*r*n-e*i*t]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),i=this.interpolateValue(t,this._caching),this.pv=i),this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<mathAbs(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,1e-5<mathAbs(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;for(var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k,i=0;i<t;i+=1)e=this.effectsSequence[i](e);this.setVValue(e),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,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,n=e.k.length;for(this.v=createTypedArray("float32",n),this.pv=createTypedArray("float32",n),this.vel=createTypedArray("float32",n),r=0;r<n;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,s){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=i||1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional";for(var r,n,a,o,h=e.k.length,l=0;l<h-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l+1]&&e.k[l+1].s&&(r=e.k[l].s,n=e.k[l+1].s,a=e.k[l].to,o=e.k[l].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+a[0],r[1]+a[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+o[0],n[1]+o[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+a[0],r[1]+a[1],r[2]+a[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+o[0],n[1]+o[1],n[2]+o[2]))&&(e.k[l].to=null,e.k[l].ti=null),r[0]===n[0])&&r[1]===n[1]&&0===a[0]&&0===a[1]&&0===o[0]&&0===o[1]&&(2===r.length||r[2]===n[2]&&0===a[2]&&0===o[2])&&(e.k[l].to=null,e.k[l].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=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=e.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),l=0;l<p;l+=1)this.v[l]=initFrame,this.pv[l]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,i,s,r){var n;if((e=e.sid?t.globalData.slotManager.getProp(e):e).k.length)if("number"==typeof e.k[0])n=new MultiDimensionalProperty(t,e,s,r);else switch(i){case 0:n=new KeyframedValueProperty(t,e,s,r);break;case 1:n=new KeyframedMultidimensionalProperty(t,e,s,r)}else n=new ValueProperty(t,e,s,r);return n.effectsSequence.length&&r.addDynamicProperty(n),n}};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(){this._mdf=!1;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._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 i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)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,i,s,r){var n;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=pointPool.newElement()),n[s][0]=t,n[s][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},ShapePath.prototype.reverse=function(){for(var t=new ShapePath,e=(t.setPathData(this.c,this._length),this.v),i=this.o,s=this.i,r=0,n=(this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1),this._length-1),a=this._length,o=r;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],s[n][0],s[n][1],i[n][0],i[n][1],o,!1),--n;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var r=poolFactory(4,function(){return new ShapePath},function(t){for(var e=t._length,i=0;i<e;i+=1)pointPool.release(t.v[i]),pointPool.release(t.i[i]),pointPool.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1});return r.clone=function(t){var e,i=r.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i},r}();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(){for(var t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:function(){var t;return t=s?n[--s]:new ShapeCollection,t},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)shapePool.release(t.shapes[e]);t._length=0,s===r&&(n=pooling.double(n),r*=2),n[s]=t,s+=1}},s=0,r=4,n=createSizedArray(r);return t}(),ShapePropertyFactory=function(){var r=-999999;function t(t,e,i){var s,r,n,a,o,h,l=i.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)s=p[0].s[0],b=!0,l=0;else if(t>=p[p.length-1].t-this.offsetTime)s=(p[p.length-1].s?p[p.length-1].s:p[p.length-2].e)[0],b=!0;else{for(var f,c,u=l,d=p.length-1,m=!0;m&&(f=p[u],!((c=p[u+1]).t-this.offsetTime>t));)u<d-1?u+=1:m=!1;var y,g,v,b,_=this.keyframesMetadata[u]||{},l=u;(b=1===f.h)||(g=t>=c.t-this.offsetTime?1:t<f.t-this.offsetTime?0:(_.__fnct?y=_.__fnct:(y=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,_.__fnct=y),y((t-(f.t-this.offsetTime))/(c.t-this.offsetTime-(f.t-this.offsetTime)))),v=(c.s||f.e)[0]),s=f.s[0]}for(a=e._length,o=s.i[0].length,i.lastIndex=l,r=0;r<a;r+=1)for(n=0;n<o;n+=1)h=b?s.i[r][n]:s.i[r][n]+(v.i[r][n]-s.i[r][n])*g,e.i[r][n]=h,h=b?s.o[r][n]:s.o[r][n]+(v.o[r][n]-s.o[r][n])*g,e.o[r][n]=h,h=b?s.v[r][n]:s.v[r][n]+(v.v[r][n]-s.v[r][n])*g,e.v[r][n]=h}function s(){this.paths=this.localShapeCollection}function e(t){!function(t,e){if(t._length===e._length&&t.c===e.c){for(var i=t._length,s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return;return 1}}(this.v,t)&&(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;for(var t=this.kf?this.pv:(this.data.ks||this.data.pt).k,e=this.effectsSequence.length,i=0;i<e;i+=1)t=this.effectsSequence[i](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,i){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;t=(3===i?e.pt:e.ks).k;this.v=shapePool.clone(t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=(3===i?e.pt:e.ks).k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;t=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s,this._caching={lastFrame:r,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==r&&(s<e&&t<e||i<s&&i<t)||(this._caching.lastIndex=s<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=i,n.prototype.setVValue=e,n.prototype.addEffect=a,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=a;h=roundCorner,d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertEllToPath()},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=3!==this.d,n=this.v;n.v[0][0]=t,n.v[0][1]=e-s,n.v[1][0]=r?t+i:t-i,n.v[1][1]=e,n.v[2][0]=t,n.v[2][1]=e+s,n.v[3][0]=r?t-i:t+i,n.v[3][1]=e,n.i[0][0]=r?t-i*h:t+i*h,n.i[0][1]=e-s,n.i[1][0]=r?t+i:t-i,n.i[1][1]=e-s*h,n.i[2][0]=r?t+i*h:t-i*h,n.i[2][1]=e+s,n.i[3][0]=r?t-i:t+i,n.i[3][1]=e+s*h,n.o[0][0]=r?t+i*h:t-i*h,n.o[0][1]=e-s,n.o[1][0]=r?t+i:t-i,n.o[1][1]=e+s*h,n.o[2][0]=r?t-i*h:t+i*h,n.o[2][1]=e+s,n.o[3][0]=r?t-i:t+i,n.o[3][1]=e-s*h}},extendPrototype([DynamicPropertyContainer],d);var h,l=d,p=(u.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertToPath()},convertStarToPath:function(){for(var t=2*Math.floor(this.pt.v),e=2*Math.PI/t,i=!0,s=this.or.v,r=this.ir.v,n=this.os.v,a=this.is.v,o=2*Math.PI*s/(2*t),h=2*Math.PI*r/(2*t),l=-Math.PI/2,p=(l+=this.r.v,3===this.data.d?-1:1),f=this.v._length=0;f<t;f+=1){var c=i?n:a,u=i?o:h,d=(m=i?s:r)*Math.cos(l),m=m*Math.sin(l),y=0==d&&0==m?0:m/Math.sqrt(d*d+m*m),g=0==d&&0==m?0:-d/Math.sqrt(d*d+m*m);d+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(d,m,d-y*u*c*p,m-g*u*c*p,d+y*u*c*p,m+g*u*c*p,f,!0),i=!i,l+=e*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,s=this.or.v,r=this.os.v,n=2*Math.PI*s/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=s*Math.cos(a),l=s*Math.sin(a),p=0==h&&0==l?0:l/Math.sqrt(h*h+l*l),f=0==h&&0==l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*n*r*o,l-f*n*r*o,h+p*n*r*o,l+f*n*r*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],u),u),f=(c.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=bmMin(i,s,this.r.v),n=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+r,t+i,e-s+n,0,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-n,t+i,e+s-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+s,t+i-r,e+s,t+i-n,e+s,2,!0),this.v.setTripleAt(t-i+r,e+s,t-i+n,e+s,t-i+r,e+s,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-r,t-i,e+s-n,4,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+n,t-i,e-s+r,5,!0),this.v.setTripleAt(t-i+r,e-s,t-i+r,e-s,t-i+n,e-s,6,!0),this.v.setTripleAt(t+i-r,e-s,t+i-n,e-s,t+i-r,e-s,7,!0)):(this.v.setTripleAt(t-i,e+s,t-i+n,e+s,t-i,e+s,2),this.v.setTripleAt(t-i,e-s,t-i,e-s+n,t-i,e-s,3))):(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+n,t+i,e-s+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-s,t+i-r,e-s,t+i-n,e-s,1,!0),this.v.setTripleAt(t-i+r,e-s,t-i+n,e-s,t-i+r,e-s,2,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+r,t-i,e-s+n,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-n,t-i,e+s-r,4,!0),this.v.setTripleAt(t-i+r,e+s,t-i+r,e+s,t-i+n,e+s,5,!0),this.v.setTripleAt(t+i-r,e+s,t+i-n,e+s,t+i-r,e+s,6,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-r,t+i,e+s-n,7,!0)):(this.v.setTripleAt(t-i,e-s,t-i+n,e-s,t-i,e-s,1,!0),this.v.setTripleAt(t-i,e+s,t-i,e+s-n,t-i,e+s,2,!0),this.v.setTripleAt(t+i,e+s,t+i-n,e+s,t+i,e+s,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertRectToPath()},reset:s},extendPrototype([DynamicPropertyContainer],c),c);function c(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())}function u(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())}function d(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())}var m={getShapeProp:function(t,e,i){var s;return 3===i||4===i?s=new((3===i?e.pt:e.ks).k.length?o:n)(t,e,i):5===i?s=new f(t,e):6===i?s=new l(t,e):7===i&&(s=new p(t,e)),s.k&&t.addDynamicProperty(s),s},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),Matrix=function(){var s=Math.cos,r=Math.sin,n=Math.tan,a=Math.round;function t(){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 e(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function i(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(1,0,0,0,0,e,-t,0,0,t,e,0,0,0,0,1))}function o(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,0,t,0,0,1,0,0,-t,0,e,0,0,0,0,1))}function h(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(n(t),n(e))}function f(t,e){var i=s(e),e=r(e);return this._t(i,e,0,0,-e,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-e,0,0,e,i,0,0,0,0,1,0,0,0,0,1)}function c(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function u(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=s,this.props[4]=r,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=c,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function d(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function m(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){var y,g,v,b,_,P,x,S,E,A,k,C,T,w,M,D,F=this.props;return 1===t&&0===e&&0===i&&0===s&&0===r&&1===n&&0===a&&0===o&&0===h&&0===l&&1===p&&0===f?(F[12]=F[12]*t+F[15]*c,F[13]=F[13]*n+F[15]*u,F[14]=F[14]*p+F[15]*d,F[15]*=m,this._identityCalculated=!1):(y=F[0],g=F[1],v=F[2],b=F[3],_=F[4],P=F[5],x=F[6],S=F[7],E=F[8],A=F[9],k=F[10],C=F[11],T=F[12],w=F[13],M=F[14],D=F[15],F[0]=y*t+g*r+v*h+b*c,F[1]=y*e+g*n+v*l+b*u,F[2]=y*i+g*a+v*p+b*d,F[3]=y*s+g*o+v*f+b*m,F[4]=_*t+P*r+x*h+S*c,F[5]=_*e+P*n+x*l+S*u,F[6]=_*i+P*a+x*p+S*d,F[7]=_*s+P*o+x*f+S*m,F[8]=E*t+A*r+k*h+C*c,F[9]=E*e+A*n+k*l+C*u,F[10]=E*i+A*a+k*p+C*d,F[11]=E*s+A*o+k*f+C*m,F[12]=T*t+w*r+M*h+D*c,F[13]=T*e+w*n+M*l+D*u,F[14]=T*i+w*a+M*p+D*d,F[15]=T*s+w*o+M*f+D*m,this._identityCalculated=!1),this}function y(t){t=t.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function g(){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]||0!==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 b(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function _(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function P(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function x(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function S(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function E(t,e,i){return t*this.props[2]+e*this.props[6]+i*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,i=-this.props[1]/t,s=-this.props[4]/t,r=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,t=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new Matrix;return a.props[0]=e,a.props[1]=i,a.props[4]=s,a.props[5]=r,a.props[12]=n,a.props[13]=t,a}function k(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function C(t){for(var e=t.length,i=[],s=0;s<e;s+=1)i[s]=k(t[s]);return i}function T(t,e,i){var s,r,n,a,o,h,l=createTypedArray("float32",6);return this.isIdentity()?(l[0]=t[0],l[1]=t[1],l[2]=e[0],l[3]=e[1],l[4]=i[0],l[5]=i[1]):(s=this.props[0],r=this.props[1],n=this.props[4],a=this.props[5],o=this.props[12],h=this.props[13],l[0]=t[0]*s+t[1]*n+o,l[1]=t[0]*r+t[1]*a+h,l[2]=e[0]*s+e[1]*n+o,l[3]=e[0]*r+e[1]*a+h,l[4]=i[0]*s+i[1]*n+o,l[5]=i[0]*r+i[1]*a+h),l}function w(t,e,i){t=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]];return t}function M(t,e){var i;return this.isIdentity()?t+","+e:(i=this.props,Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100)}function D(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i=i+a(1e4*e[t])/1e4+(15===t?")":","),t+=1;return i}function F(t){return t<1e-6&&0<t||-1e-6<t&&t<0?a(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=t,this.rotate=e,this.rotateX=i,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=c,this.setTransform=u,this.translate=d,this.transform=m,this.multiply=y,this.applyToPoint=P,this.applyToX=x,this.applyToY=S,this.applyToZ=E,this.applyToPointArray=w,this.applyToTriplePoints=T,this.applyToPointStringified=M,this.toCSS=D,this.to2dCSS=I,this.clone=b,this.cloneFromProps=_,this.equals=v,this.inversePoints=C,this.inversePoint=k,this.getInverseMatrix=A,this._t=this.transform,this.isIdentity=g,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})(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)&&1<t&&setDefaultCurveSegments(t)}function inBrowser(){return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"}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("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",readyStateCheckInterval=(getQueryVariable("renderer"),setInterval(checkReady,100));try{"object"===("u"<_typeof2(exports)?"undefined":_typeof$3(exports))&&_typeof2(module)<"u"||"function"==typeof define&&define.amd||(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},s={};return t.registerModifier=function(t,e){s[t]||(s[t]=e)},t.getModifier=function(t,e,i){return new s[t](e,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){var e;this.closed||(t.sh.container.addDynamicProperty(t.sh),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=PropertyFactory.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,i,s,r){for(var n,a,o=[],h=(e<=1?o.push({s:t,e:e}):1<=t?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1})),[]),l=o.length,p=0;p<l;p+=1)(a=o[p]).e*r<s||a.s*r>s+i||(n=a.s*r<=s?0:(a.s*r-s)/i,a=a.e*r>=s+i?1:(a.e*r-s)/i,h.push([n,a]));return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){for(var e=t.length,i=0;i<e;i+=1)segmentsLengthPool.release(t[i]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i,s;this._mdf||t?((e=this.o.v%360/360)<0&&(e+=1),i=1<this.s.v?1+e:this.s.v<0?0+e:this.s.v+e,(s=1<this.e.v?1+e:this.e.v<0?0+e:this.e.v+e)<i&&(e=i,i=s,s=e),i=1e-4*Math.round(1e4*i),s=1e-4*Math.round(1e4*s),this.sValue=i,this.eValue=s):(i=this.sValue,s=this.eValue);var r,n,a,o,h,l,p=this.shapes.length,f=0;if(s===i)for(m=0;m<p;m+=1)this.shapes[m].localShapeCollection.releaseShapes(),this.shapes[m].shape._mdf=!0,this.shapes[m].shape.paths=this.shapes[m].localShapeCollection,this._mdf&&(this.shapes[m].pathsData.length=0);else if(1===s&&0===i||0===s&&1===i){if(this._mdf)for(m=0;m<p;m+=1)this.shapes[m].pathsData.length=0,this.shapes[m].shape._mdf=!0}else{for(var c,u,d=[],m=0;m<p;m+=1)if((c=this.shapes[m]).shape._mdf||this._mdf||t||2===this.m){if(a=(r=c.shape.paths)._length,l=0,!c.shape._mdf&&c.pathsData.length)l=c.totalShapeLength;else{for(o=this.releasePathsData(c.pathsData),n=0;n<a;n+=1)h=bez.getSegmentsLength(r.shapes[n]),o.push(h),l+=h.totalLength;c.totalShapeLength=l,c.pathsData=o}f+=l,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var y,g=i,v=s,b=0;for(m=p-1;0<=m;--m)if((c=this.shapes[m]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(i,s,c.totalShapeLength,b,f),b+=c.totalShapeLength):y=[[g,v]],a=y.length,n=0;n<a;n+=1){g=y[n][0],v=y[n][1],d.length=0,v<=1?d.push({s:c.totalShapeLength*g,e:c.totalShapeLength*v}):1<=g?d.push({s:c.totalShapeLength*(g-1),e:c.totalShapeLength*(v-1)}):(d.push({s:c.totalShapeLength*g,e:c.totalShapeLength}),d.push({s:0,e:c.totalShapeLength*(v-1)}));var _,P=this.addShapes(c,d[0]);d[0].s!==d[0].e&&(1<d.length&&(P=c.shape.paths.shapes[c.shape.paths._length-1].c?(_=P.pop(),this.addPaths(P,u),this.addShapes(c,d[1],_)):(this.addPaths(P,u),this.addShapes(c,d[1]))),this.addPaths(P,u))}c.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e.addShape(t[s])},TrimModifier.prototype.addSegment=function(t,e,i,s,r,n,a){r.setXYAt(e[0],e[1],"o",n),r.setXYAt(i[0],i[1],"i",n+1),a&&r.setXYAt(t[0],t[1],"v",n),r.setXYAt(s[0],s[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var s,r,n,a,o,h,l,p,f=t.pathsData,c=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0,g=i?(a=i._length,i._length):(i=shapePool.newElement(),a=0);for(m.push(i),s=0;s<u;s+=1){for(o=f[s].lengths,i.c=c[s].c,n=c[s].c?o.length:o.length+1,r=1;r<n;r+=1)if(d+(p=o[r-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1),d+=p.addedLength,a+=1}if(c[s].c&&o.length&&(p=o[r-1],d<=e.e?(l=o[r-1].addedLength,e.s<=d&&e.e>=d+l?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-d)/l,(e.e-d)/l,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;s<u-1&&(i=shapePool.newElement(),y=!0,m.push(i),a=0)}return m},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){for(var i=e/100,s=[0,0],r=t._length,n=0,n=0;n<r;n+=1)s[0]+=t.v[n][0],s[1]+=t.v[n][1];s[0]/=r,s[1]/=r;var a,o,h,l,p,f,c=shapePool.newElement();for(c.c=t.c,n=0;n<r;n+=1)a=t.v[n][0]+(s[0]-t.v[n][0])*i,o=t.v[n][1]+(s[1]-t.v[n][1])*i,h=t.o[n][0]+(s[0]-t.o[n][0])*-i,l=t.o[n][1]+(s[1]-t.o[n][1])*-i,p=t.i[n][0]+(s[0]-t.i[n][0])*-i,f=t.i[n][1]+(s[1]-t.i[n][1])*-i,c.setTripleAt(a,o,h,l,p,f,n);return c},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var n=[0,0];function s(t,e,i){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(i||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)for(var s=e.or.k.length,r=0;r<s;r+=1)e.or.k[r].to=null,e.or.k[r].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 s.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(t){var e,i,s,r;this.elem.globalData.frameId!==this.frameId&&(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),(this._mdf||t)&&(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&&(t=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime?i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/t,0),this.p.getValueAtTime(this.p.keyframes[0].t/t,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/t,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/t,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/t,this.p.offsetTime)):this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime?(e=[],i=[],s=this.px,r=this.py,s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/t,0),e[1]=r.getValueAtTime((r.keyframes[0].t+.01)/t,0),i[0]=s.getValueAtTime(s.keyframes[0].t/t,0),i[1]=r.getValueAtTime(r.keyframes[0].t/t,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/t,0),e[1]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/t,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/t,0),i[1]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/t,0)):(e=[s.pv,r.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/t,s.offsetTime),i[1]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/t,r.offsetTime))):e=i=n,this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[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],s),s.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},s.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,e,i){return new s(t,e,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,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){return 0===t||(i=e*e-4*t*i)<0?[]:(e=-e/(2*t),0==i?[e]:[e-(i=Math.sqrt(i)/(2*t)),e+i])}function polynomialCoefficients(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,s,r){r&&pointEqual(t,e)&&(e=lerpPoint(t,s,1/3)),r&&pointEqual(i,s)&&(i=lerpPoint(t,s,2/3));var r=polynomialCoefficients(t[0],e[0],i[0],s[0]),n=polynomialCoefficients(t[1],e[1],i[1],s[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,i,s]}function extrema(t,e){var i,s=t.points[0][e],r=t.points[t.points.length-1][e];r<s&&(i=r,r=s,s=i);for(var n,a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),o=0;o<a.length;o+=1)0<a[o]&&a[o]<1&&((n=t.point(a[o])[e])<s?s=n:r<n&&(r=n));return{min:s,max:r}}function intersectData(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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,i,s,r,n){boxIntersect(t,e)&&(n<=i||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s?r.push([t.t,e.t]):(t=splitData(t),e=splitData(e),intersectsImpl(t[0],e[0],i+1,s,r,n),intersectsImpl(t[0],e[1],i+1,s,r,n),intersectsImpl(t[1],e[0],i+1,s,r,n),intersectsImpl(t[1],e[1],i+1,s,r,n)))}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,i,s){t=[t[0],t[1],1],e=[e[0],e[1],1],i=[i[0],i[1],1],s=[s[0],s[1],1],t=crossProduct(crossProduct(t,e),crossProduct(i,s));return floatZero(t[2])?null:[t[0]/t[2],t[1]/t[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,e=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,e,l+Math.cos(o)*n,e-Math.sin(o)*n,l+Math.cos(h)*a,e-Math.sin(h)*a,t.length())}function getPerpendicularVector(t,e){e=[e[0]-t[0],e[1]-t[1]],t=.5*-Math.PI;return[Math.cos(t)*e[0]-Math.sin(t)*e[1],Math.sin(t)*e[0]+Math.cos(t)*e[1]]}function getProjectingAngle(t,e){var i=0===e?t.length()-1:e-1,e=(e+1)%t.length(),i=getPerpendicularVector(t.v[i],t.v[e]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,i,s,r,n,a){var o=getProjectingAngle(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],l=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,n=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;setPoint(t,e.v[i%e._length],o,a,s,n/(2*(r+1)),l/(2*(r+1)))}function zigZagSegment(t,e,i,s,r,n){for(var a=0;a<s;a+=1){var o=(a+1)/(s+1),h=2===r?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,l=e.normalAngle(o);setPoint(t,e.point(o),l,n,i,h/(2*(s+1)),h/(2*(s+1))),n=-n}return n}function linearOffset(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,s,i),polarOffset(e,s,i)]}function offsetSegment(t,e){var i=linearOffset(t.points[0],t.points[1],e),s=i[0],r=i[1],n=(i=linearOffset(t.points[1],t.points[2],e))[0],a=i[1],t=(i=linearOffset(t.points[2],t.points[3],e))[0],e=i[1],i=lineIntersection(s,r,n,a),r=(null===i&&(i=r),lineIntersection(t,e,n,a));return new PolynomialBezier(s,i,r=null===r?t:r,e)}function joinLines(t,e,i,s,r){var n,a,o=e.points[3],h=i.points[0];return 3===s||pointEqual(o,h)?o:2===s?(s=-e.tangentAngle(1),a=-i.tangentAngle(0)+Math.PI,n=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),h,polarOffset(h,s+Math.PI/2,100)),n=polarOffset(o,s,2*(s=n?pointDistance(n,o):pointDistance(o,h)/2)*roundCorner),t.setXYAt(n[0],n[1],"o",t.length()-1),n=polarOffset(h,a,2*s*roundCorner),t.setTripleAt(h[0],h[1],h[0],h[1],n[0],n[1],t.length()),h):(a=lineIntersection(pointEqual(o,e.points[2])?e.points[0]:e.points[2],o,h,pointEqual(h,i.points[1])?i.points[3]:i.points[1]))&&pointDistance(a,o)<r?(t.setTripleAt(a[0],a[1],a[0],a[1],a[0],a[1],t.length()),a):o}function getIntersection(t,e){t=t.intersections(e);return t.length&&floatEqual(t[0][0],1)&&t.shift(),t.length?t[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),s=e.slice(),r=getIntersection(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),1<t.length&&1<e.length&&(r=getIntersection(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return 1<t.length&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i,s,r,n=t.inflectionPoints();return 0===n.length?[offsetSegment(t,e)]:1===n.length||floatEqual(n[1],1)?(s=(i=t.split(n[0]))[0],r=i[1],[offsetSegment(s,e),offsetSegment(r,e)]):(s=(i=t.split(n[0]))[0],t=(n[1]-n[0])/(1-n[0]),n=(i=i[1].split(t))[0],r=i[1],[offsetSegment(s,e),offsetSegment(n,e),offsetSegment(r,e)])}function OffsetPathModifier(){}function getFontProperties(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],s="normal",r="normal",n=i.length,a=0;a<n;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:r,weight:t.fWeight||s}}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,i,s,r,n){var a=n?-1:1,o=s.s.v[0]+(1-s.s.v[0])*(1-r),h=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*a*r,s.p.v[1]*a*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*a*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(n?1/o:o,n?1/h:h),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)this._elements.unshift(e[--i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},RepeaterModifier.prototype.cloneElements=function(t){t=JSON.parse(JSON.stringify(t));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,s,r,n,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=n=0;s<=this._groups.length-1;s+=1)this._groups[s]._render=o=n<h,this.changeGroupRender(this._groups[s].it,o),o||(0!==(o=(o=this.elemsData[s].it)[o.length-1]).transform.op.v?(o.transform.op._mdf=!0,o.transform.op.v=0):o.transform.op._mdf=!1),n+=1;this._currentCopies=h;var p,f,t=this.o.v,c=t%1,u=0<t?Math.floor(t):Math.ceil(t),d=this.pMatrix.props,m=this.rMatrix.props,y=this.sMatrix.props,g=(this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset(),0);if(0<t){for(;g<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(t<0){for(;u<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--g;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(f=(i=(e=this.elemsData[s].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)*(s/(this._currentCopies-1)),0!==g){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),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]),p=0;p<f;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<f;p+=1)i[p]=this.matrix.props[p];g+=1,--n,s+=r}}else for(n=this._currentCopies,s=0,r=1;n;)i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,--n,s+=r;return a},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 i=shapePool.newElement();i.c=t.c;for(var s,r,n,a,o,h,l,p,f,c,u=t._length,d=0,m=0;m<u;m+=1)s=t.v[m],n=t.o[m],r=t.i[m],s[0]===n[0]&&s[1]===n[1]&&s[0]===r[0]&&s[1]===r[1]?0!==m&&m!==u-1||t.c?(a=0===m?t.v[u-1]:t.v[m-1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,f=s[0]+(a[0]-s[0])*h,c=s[1]-(s[1]-a[1])*h,l=f-(f-s[0])*roundCorner,p=c-(c-s[1])*roundCorner,i.setTripleAt(f,c,l,p,f,c,d),d+=1,a=m===u-1?t.v[0]:t.v[m+1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,l=s[0]+(a[0]-s[0])*h,p=s[1]+(a[1]-s[1])*h,f=l-(l-s[0])*roundCorner,c=p-(p-s[1])*roundCorner,i.setTripleAt(l,p,l,p,f,c,d)):i.setTripleAt(s[0],s[1],n[0],n[1],r[0],r[1],d):i.setTripleAt(t.v[m][0],t.v[m][1],t.o[m][0],t.o[m][1],t.i[m][0],t.i[m][1],d),d+=1;return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.rd.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));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){t=this.derivative(t);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(t){t=this.derivative(t);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t,e=this.a[1]*this.b[0]-this.a[0]*this.b[1];return floatZero(e)||(e=(t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e)*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e)<0?[]:floatZero(e=Math.sqrt(e))?0<e&&e<1?[t]:[]:[t-e,t+e].filter(function(t){return 0<t&&t<1})},PolynomialBezier.prototype.split=function(t){var e,i,s,r;return t<=0?[singlePoint(this.points[0]),this]:1<=t?[this,singlePoint(this.points[this.points.length-1])]:(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),s=lerpPoint(e,r,t),r=lerpPoint(r,i,t),t=lerpPoint(s,r,t),[new PolynomialBezier(this.points[0],e,s,t,!0),new PolynomialBezier(t,r,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,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,s,i),s},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,s){var r=t._length,n=shapePool.newElement();if(n.c=t.c,t.c||--r,0!==r){var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(n,t,0,e,i,s,a);for(var h=0;h<r;h+=1)a=zigZagSegment(n,o,e,i,s,-a),o=h!==r-1||t.c?PolynomialBezier.shapeSegment(t,(h+1)%r):null,zigZagCorner(n,t,h+1,e,i,s,a)}return n},ZigZagModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amplitude.v,a=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,a,o));h.shape.paths=h.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,i,s){var r=shapePool.newElement(),n=(r.c=t.c,t.length());t.c||--n;for(var a,o,h=[],l=0;l<n;l+=1)o=PolynomialBezier.shapeSegment(t,l),h.push(offsetSegmentSplit(o,e));if(!t.c)for(l=n-1;0<=l;--l)o=PolynomialBezier.shapeSegmentInverted(t,l),h.push(offsetSegmentSplit(o,e));var h=pruneIntersections(h),p=null,f=null;for(l=0;l<h.length;l+=1){var c=h[l];for(f&&(p=joinLines(r,f,c[0],i,s)),f=c[c.length-1],a=0;a<c.length;a+=1)o=c[a],p&&pointEqual(o.points[0],p)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.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],r.length()),r.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],r.length()),p=o.points[3]}return h.length&&joinLines(r,f,h[0][0],i,s),r},OffsetPathModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v,a=this.miterLimit.v,o=this.lineJoin;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,o,a));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var n={w:0,size:0,shapes:[],data:{shapes:[]}},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]),i=127462,s=127487,r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(t,e){var i=createTag("span"),s=(i.setAttribute("aria-hidden",!0),i.style.fontFamily=e,createTag("span")),r=(s.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(s),document.body.appendChild(i),s.offsetWidth);return s.style.fontFamily=function(t){for(var e=t.split(","),i=e.length,s=[],r=0;r<i;r+=1)"sans-serif"!==e[r]&&"monospace"!==e[r]&&s.push(e[r]);return s.join(",")}(t)+", "+e,{node:s,w:r,parent:i}}function c(t,e){var i,s,r=document.body&&e?"svg":"canvas",n=getFontProperties(t);return i="svg"==r?((s=createNS("text")).style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),s):((e=new OffscreenCanvas(500,500).getContext("2d")).font=n.style+" "+n.weight+" 100px "+t.fFamily,e),{measureText:function(t){return"svg"==r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function a(t){var e=0,i=t.charCodeAt(0);return e=55296<=i&&i<=56319&&56320<=(t=t.charCodeAt(1))&&t<=57343?1024*(i-55296)+t-56320+65536:e}function o(t){t=a(t);return i<=t&&t<=s}function t(){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)}t.isModifier=function(t,e){return t=t.toString(16)+e.toString(16),-1!==r.indexOf(t)},t.isZeroWidthJoiner=function(t){return 8205===t},t.isFlagEmoji=function(t){return o(t.substr(0,2))&&o(t.substr(2,2))},t.isRegionalCode=o,t.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},t.isRegionalFlag=function(t,e){var i;if(127988!==a(t.substr(e,2)))return!1;var s=0;for(e+=2;s<5;){if((i=a(t.substr(e,2)))<917601||917626<i)return!1;s+=1,e+=2}return 917631===a(t.substr(e,2))},t.isVariationSelector=function(t){return 65039===t},t.BLACK_FLAG_CODE_POINT=127988;var h={addChars:function(t){if(t){this.chars||(this.chars=[]);for(var e,i,s=t.length,r=this.chars.length,n=0;n<s;n+=1){for(e=0,i=!1;e<r;)this.chars[e].style===t[n].style&&this.chars[e].fFamily===t[n].fFamily&&this.chars[e].ch===t[n].ch&&(i=!0),e+=1;i||(this.chars.push(t[n]),r+=1)}}},addFonts:function(t,e){if(t)if(this.chars)this.isLoaded=!0,this.fonts=t.list;else if(document.body){for(var i=t.list,s=i.length,r=s,n=0;n<s;n+=1){var a,o,h,l,p=!0;if(i[n].loaded=!1,i[n].monoCase=f(i[n].fFamily,"monospace"),i[n].sansCase=f(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin)(p=!(0<(o=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length)&&p)&&((h=createTag("style")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h));else if("g"===i[n].fOrigin||1===i[n].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),a=0;a<o.length;a+=1)-1!==o[a].href.indexOf(i[n].fPath)&&(p=!1);p&&((h=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.type="text/css",h.rel="stylesheet",h.href=i[n].fPath,document.body.appendChild(h))}else if("t"===i[n].fOrigin||2===i[n].origin){for(o=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),a=0;a<o.length;a+=1)i[n].fPath===o[a].src&&(p=!1);p&&((l=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),l.setAttribute("f-origin",i[n].origin),l.setAttribute("rel","stylesheet"),l.setAttribute("href",i[n].fPath),e.appendChild(l))}}else i[n].loaded=!0,--r;i[n].helper=c(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===r?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0,t.list.forEach(function(t){t.helper=c(t),t.cache={}}),this.fonts=t.list;else this.isLoaded=!0},getCharData:function(t,e,i){for(var s=0,r=this.chars.length;s<r;){if(this.chars[s].ch===t&&this.chars[s].style===e&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),n},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var s,r,n,e=this.getFontByName(e),a=t;return e.cache[a]||(s=e.helper," "===t?(r=s.measureText("|"+t+"|"),n=s.measureText("||"),e.cache[a]=(r-n)/100):e.cache[a]=s.measureText(t)/100),e.cache[a]*i},checkLoadedFonts:function(){for(var t,e,i=this.fonts.length,s=i,r=0;r<i;r+=1)this.fonts[r].loaded?--s:"n"===this.fonts[r].fOrigin||0===this.fonts[r].origin?this.fonts[r].loaded=!0:(t=this.fonts[r].monoCase.node,e=this.fonts[r].monoCase.w,t.offsetWidth===e&&(t=this.fonts[r].sansCase.node,e=this.fonts[r].sansCase.w,t.offsetWidth===e)||(--s,this.fonts[r].loaded=!0),this.fonts[r].loaded&&(this.fonts[r].sansCase.parent.parentNode.removeChild(this.fonts[r].sansCase.parent),this.fonts[r].monoCase.parent.parentNode.removeChild(this.fonts[r].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return t.prototype=h,t}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function 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(){for(var t=this.renderableComponents.length,e=0;e<t;e+=1)this.renderableComponents[e].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 e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];for(var s,r=i.length,n=0;n<r;n+=1)s=new GroupEffect(i[n],e),this.effectElements.push(s)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;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){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);for(var i,s=this.data.ef.length,r=this.data.ef,n=0;n<s;n+=1){switch(i=null,r[n].ty){case 0:i=new SliderEffect(r[n],e,this);break;case 1:i=new AngleEffect(r[n],e,this);break;case 2:i=new ColorEffect(r[n],e,this);break;case 3:i=new PointEffect(r[n],e,this);break;case 4:case 7:i=new CheckboxEffect(r[n],e,this);break;case 10:i=new LayerIndexEffect(r[n],e,this);break;case 11:i=new MaskIndexEffect(r[n],e,this);break;case 5:i=new EffectsManager(r[n],e);break;default:i=new NoValueEffect(r[n])}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(this.data.hasMask)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,e,i,s,r=getExpressionInterfaces();r&&(s=r("layer"),t=r("effects"),e=r("shape"),i=r("text"),r=r("comp"),this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager),s=t.createEffectsInterface(this,this.layerInterface),this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=r(this):4===this.data.ty?(this.layerInterface.shapeInterface=e(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(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,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){for(var i=this.dynamicProperties.length,s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._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();t&&(t=t("footage"),this.layerInterface=t(this))},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:(t=this.tm.v,this._currentTime=t),this._volume=this.lv.v[0];t=this._volume*this._volumeMultiplier;this._previousVolume!==t&&(this._previousVolume=t,this.audio.volume(t))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||.1<Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek()))&&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,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;0<=e;--e)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.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: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);default:return this.createNull(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(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,s=this.layers.length,r=0;r<i;r+=1)for(e=0;e<s;){if(this.layers[e].id===t[r].id){this.layers[e]=t[r];break}e+=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,i){for(var s=this.elements,r=this.layers,n=0,a=r.length;n<a;)r[n].ind==e&&(s[n]&&!0!==s[n]?(i.push(s[n]),s[n].setAsParent(),void 0!==r[n].parent?this.buildElementParenting(t,r[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=0;s<i;s+=1)t[s].xt&&((e=this.createComp(t[s])).initExpressions(),this.globalData.projectInterface.registerComposition(e))},BaseRenderer.prototype.getElementById=function(t){for(var e=this.elements.length,i=0;i<e;i+=1)if(this.elements[i].data.ind===t)return this.elements[i];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else for(var s=this.elements.length,r=0;r<s;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];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,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(r),this.solidPath="";for(var n,a,o,h,l,p=this.masksProperties,f=0,c=[],u=createElementID(),d="clipPath",m="clip-path",y=0;y<r;y+=1)if(("a"!==p[y].mode&&"n"!==p[y].mode||p[y].inv||100!==p[y].o.k||p[y].o.x)&&(m=d="mask"),"s"!==p[y].mode&&"i"!==p[y].mode||0!==f?a=null:((a=createNS("rect")).setAttribute("fill","#ffffff"),a.setAttribute("width",this.element.comp.data.w||0),a.setAttribute("height",this.element.comp.data.h||0),c.push(a)),n=createNS("path"),"n"===p[y].mode)this.viewData[y]={op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),elem:n,lastPath:""},s.appendChild(n);else{if(f+=1,n.setAttribute("fill","s"===p[y].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[y].x.k?(m=d="mask",h=PropertyFactory.getProp(this.element,p[y].x,0,null,this.element),l=createElementID(),(_=createNS("filter")).setAttribute("id",l),(o=createNS("feMorphology")).setAttribute("operator","erode"),o.setAttribute("in","SourceGraphic"),o.setAttribute("radius","0"),_.appendChild(o),s.appendChild(_),n.setAttribute("stroke","s"===p[y].mode?"#000000":"#ffffff")):h=o=null,this.storedData[y]={elem:n,x:h,expan:o,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"===p[y].mode){for(var g=c.length,v=createNS("g"),b=0;b<g;b+=1)v.appendChild(c[b]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",u+"_"+f),_.appendChild(n),s.appendChild(_),v.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+f+")"),c.length=0,c.push(v)}else c.push(n);p[y].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[y]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),invRect:a},this.viewData[y].prop.k||this.drawPath(p[y],this.viewData[y].prop.v,this.viewData[y])}for(this.maskElement=createNS(d),r=c.length,y=0;y<r;y+=1)this.maskElement.appendChild(c[y]);0<f&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),s.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,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,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 i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){for(var r=this.finalTransform.localOpacity,t=0;t<e;t+=1)r*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;for(var e=0,i=t.length,e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;for(var r,n=e.length,a=0;a<n;a+=1)r=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-r[0],t[1]-r[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){for(var e,i=this.element.finalTransform.mat,s=this.masksProperties.length,r=0;r<s;r+=1)(this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),"n"!==this.masksProperties[r].mode&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[r].x)&&(this.storedData[r].x._mdf||t)&&(e=this.storedData[r].expan,this.storedData[r].x.v<0?("erode"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),e.setAttribute("radius",-this.storedData[r].x.v)):("dilate"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",2*this.storedData[r].x.v)))},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return(t+=" h"+this.globalData.compSize.w)+(" v"+this.globalData.compSize.h)+(" h-"+this.globalData.compSize.w)+(" v-"+this.globalData.compSize.h+" ")},MaskElement.prototype.drawPath=function(t,e,i){for(var s,r=" M"+e.v[0][0]+","+e.v[0][1],n=e._length,a=1;a<n;a+=1)r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[a][0]+","+e.i[a][1]+" "+e.v[a][0]+","+e.v[a][1];e.c&&1<n&&(r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r&&(s="",i.elem&&(e.c&&(s=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",s)),i.lastPath=r)},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var i=createNS("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},t.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},t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=createElementID(),n=filtersFactory.createFilter(r,!0),a=0;for(this.filters=[],e=0;e<s;e+=1){o=null;var o,h=t.data.ef[e].ty;registeredEffects$1[h]&&(o=new registeredEffects$1[h].effect(n,t.effectsManager.effectElements[e],t,idPrefix+a,i),i=idPrefix+a,registeredEffects$1[h].countsAsEffect)&&(a+=1),o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),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){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);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,e,i,s=null;this.data.td?(this.matteMasks={},(t=createNS("g")).setAttribute("id",this.layerId),t.appendChild(this.layerElement),this.globalData.defs.appendChild(s=t)):this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=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.ty||this.data.hd||(t=createNS("clipPath"),(i=createNS("path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),e=createElementID(),t.setAttribute("id",e),t.appendChild(i),this.globalData.defs.appendChild(t),this.checkMasks()?((i=createNS("g")).setAttribute("clip-path","url("+getLocationHref()+"#"+e+")"),i.appendChild(this.layerElement),this.transformedElement=i,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+e+")")),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("op
1acity",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){var e,i,s,r,n,a,o,h,l;return this.matteMasks||(this.matteMasks={}),this.matteMasks[t]||(e=this.layerId+"_"+t,1===t||3===t?((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),i=createElementID(),s=filtersFactory.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))):2===t&&((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type","alpha"),o=createNS("g"),a.appendChild(o),i=createElementID(),s=filtersFactory.createFilter(i),(l=createNS("feComponentTransfer")).setAttribute("in","SourceGraphic"),s.appendChild(l),(h=createNS("feFuncA")).setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),l.appendChild(h),this.globalData.defs.appendChild(s),(l=createNS("rect")).setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),o.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),o.appendChild(l),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),featureSupport.maskType||(a.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),o.appendChild(l),n.appendChild(this.layerElement),o.appendChild(n)),this.globalData.defs.appendChild(a)),this.matteMasks[t]=e),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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].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){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;0<=e&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);--e);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(i[--s].elem===t)return void(i[s].pos=e);i.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"};
vendor: 55,300 bytes, line 1
1function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=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,i,s){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);for(var r,n=e.length||0,a=0;a<n;a+=1)r=PropertyFactory.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,i){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=i,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,i){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=i}function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var s=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",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function SVGGradientStrokeStyleData(t,e,i){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,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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 i=0,s=this.o.length/2;i<s;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=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){for(var e,i,s=4*this.data.p,r=0;r<s;r+=1)e=r%4==0?100:255,i=Math.round(this.prop.v[r]*e),this.c[r]!==i&&(this.c[r]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,r=4*this.data.p;r<s;r+=1)e=r%2==0?100:1,i=r%2==0?Math.round(100*this.prop.v[r]):this.prop.v[r],this.o[r-4*this.data.p]!==i&&(this.o[r-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){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=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){for(var i,s=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient"),n=(r.setAttribute("id",s),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse"),[]),a=4*e.g.p,o=0;o<a;o+=4)i=createNS("stop"),r.appendChild(i),n.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),this.gf=r,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){for(var i,s,r=createNS("mask"),n=createNS("path"),a=(r.appendChild(n),createElementID()),o=createElementID(),h=(r.setAttribute("id",o),createNS(1===t.t?"linearGradient":"radialGradient")),l=(h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=(t.g.k.k[0].s||t.g.k.k).length,this.stops),p=4*t.g.p;p<s;p+=2)(i=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),l.push(i);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+a+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj)&&n.setAttribute("stroke-miterlimit",t.ml),this.of=h,this.ms=r,this.ost=l,this.maskId=o,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,i,s){if(0===e)return"";for(var r=t.o,n=t.i,a=t.v,o=" M"+s.applyToPointStringified(a[0][0],a[0][1]),h=1;h<e;h+=1)o+=" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[h][0],n[h][1])+" "+s.applyToPointStringified(a[h][0],a[h][1]);return o=i&&e?o+(" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(a[0][0],a[0][1]))+"z":o},SVGElementsRenderer=function(){var m=new Matrix,y=new Matrix;function e(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function s(t,e,i){for(var s,r,n,a,o,h,l,p,f,c=e.styles.length,u=e.lvl,d=0;d<c;d+=1){if(a=e.sh._mdf||i,e.styles[d].lvl<u){for(l=y.reset(),p=u-e.styles[d].lvl,f=e.transformers.length-1;!a&&0<p;)a=e.transformers[f].mProps._mdf||a,--p,--f;if(a)for(p=u-e.styles[d].lvl,f=e.transformers.length-1;0<p;)l.multiply(e.transformers[f].mProps.v),--p,--f}else l=m;if(r=(h=e.sh.paths)._length,a){for(n="",s=0;s<r;s+=1)(o=h.shapes[s])&&o._length&&(n+=buildShapeString(o,o._length,o.c,l));e.caches[d]=n}else n=e.caches[d];e.styles[d].d+=!0===t.hd?"":n,e.styles[d]._mdf=a||e.styles[d]._mdf}}function r(t,e,i){var s=e.style;(e.c._mdf||i)&&s.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("fill-opacity",e.o.v)}function n(t,e,i){a(t,e,i),o(0,e,i)}function a(t,e,i){var s,r,n,a,o=e.gf,h=e.g._hasOpacity,l=e.s.v,p=e.e.v;if((e.o._mdf||i)&&(n="gf"===t.ty?"fill-opacity":"stroke-opacity",e.style.pElem.setAttribute(n,e.o.v)),(e.s._mdf||i)&&(a="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",o.setAttribute(n,l[0]),o.setAttribute(a,l[1]),h)&&!e.g._collapsable&&(e.of.setAttribute(n,l[0]),e.of.setAttribute(a,l[1])),e.g._cmdf||i)for(var f=e.cst,c=e.g.c,u=f.length,d=0;d<u;d+=1)(s=f[d]).setAttribute("offset",c[4*d]+"%"),s.setAttribute("stop-color","rgb("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+")");if(h&&(e.g._omdf||i)){var m=e.g.o;for(u=(f=e.g._collapsable?e.cst:e.ost).length,d=0;d<u;d+=1)s=f[d],e.g._collapsable||s.setAttribute("offset",m[2*d]+"%"),s.setAttribute("stop-opacity",m[2*d+1])}1===t.t?(e.e._mdf||i)&&(o.setAttribute("x2",p[0]),o.setAttribute("y2",p[1]),h)&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])):((e.s._mdf||e.e._mdf||i)&&(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),o.setAttribute("r",r),h)&&!e.g._collapsable&&e.of.setAttribute("r",r),(e.e._mdf||e.h._mdf||e.a._mdf||i)&&(r=r||Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),n=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(a=e.h.v)?a=.99:a<=-1&&(a=-.99),t=r*a,i=Math.cos(n+e.a.v)*t+l[0],p=Math.sin(n+e.a.v)*t+l[1],o.setAttribute("fx",i),o.setAttribute("fy",p),h)&&!e.g._collapsable&&(e.of.setAttribute("fx",i),e.of.setAttribute("fy",p)))}function o(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem)&&s.msElem.setAttribute("stroke-width",e.w.v)}return{createRenderFunction:function(t){switch(t.ty){case"fl":return r;case"gf":return a;case"gs":return n;case"st":return o;case"sh":case"el":case"rc":case"sr":return s;case"tr":return e;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function LetterProps(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,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(){for(var t,e,i,s=this.shapes.length,r=this.stylesList.length,n=[],a=!1,o=0;o<r;o+=1){for(i=this.stylesList[o],a=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),a=e._isAnimated||a);1<n.length&&a&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,e=new SVGStyleData(t,e),s=e.pElem;return"st"===t.ty?i=new SVGStrokeStyleData(this,t,e):"fl"===t.ty?i=new SVGFillStyleData(this,t,e):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,e),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new SVGNoStyleData(this,t,e)),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),1!==t.lj)||s.setAttribute("stroke-miterlimit",t.ml),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(e),this.addToAnimatedContents(t,i),i},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 i=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var s=4;"rc"===t.ty?s=5:"el"===t.ty?s=6:"sr"===t.ty&&(s=7);e=new SVGShapeData(e,i,ShapePropertyFactory.getShapeProp(this,t,s,this));return this.shapes.push(e),this.addShapeToModifiers(e),this.addToAnimatedContents(t,e),e},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){for(var e=t.styles,i=this.stylesList.length,s=0;s<i;s+=1)this.stylesList[s].closed||e.push(this.stylesList[s])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,s,r,n,a){for(var o,h,l,p,f,c=[].concat(n),u=t.length-1,d=[],m=[],y=u;0<=y;--y){if((f=this.searchProcessedElement(t[y]))?e[y]=i[f-1]:t[y]._render=a,"fl"===t[y].ty||"st"===t[y].ty||"gf"===t[y].ty||"gs"===t[y].ty||"no"===t[y].ty)f?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r),t[y]._render&&e[y].style.pElem.parentNode!==s&&s.appendChild(e[y].style.pElem),d.push(e[y].style);else if("gr"===t[y].ty){if(f)for(h=e[y].it.length,o=0;o<h;o+=1)e[y].prevViewData[o]=e[y].it[o];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,r+1,c,a),t[y]._render&&e[y].gr.parentNode!==s&&s.appendChild(e[y].gr)}else"tr"===t[y].ty?(f||(e[y]=this.createTransformElement(t[y],s)),l=e[y].transform,c.push(l)):"sh"===t[y].ty||"rc"===t[y].ty||"el"===t[y].ty||"sr"===t[y].ty?(f||(e[y]=this.createShapeElement(t[y],c,r)),this.setElementStyles(e[y])):"tm"===t[y].ty||"rd"===t[y].ty||"ms"===t[y].ty||"pb"===t[y].ty||"zz"===t[y].ty||"op"===t[y].ty?(f?(p=e[y]).closed=!1:((p=ShapeModifiers.getModifier(t[y].ty)).init(this,t[y]),e[y]=p,this.shapeModifiers.push(p)),m.push(p)):"rp"===t[y].ty&&(f?(p=e[y]).closed=!0:(p=ShapeModifiers.getModifier(t[y].ty),(e[y]=p).init(this,t,y,e),this.shapeModifiers.push(p),a=!1),m.push(p));this.addProcessedElement(t[y],y+1)}for(u=d.length,y=0;y<u;y+=1)d[y].closed=!0;for(u=m.length,y=0;y<u;y+=1)m[y].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){for(var t,e=this.animatedContents.length,i=0;i<e;i+=1)t=this.animatedContents[i],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,i,s,r,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var a=this._mdf.p=!1;return this.o!==t&&(this.o=t,a=this._mdf.o=!0),this.sw!==e&&(this.sw=e,a=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this._mdf.sc=!0),this.fc!==s&&(this.fc=s,a=this._mdf.fc=!0),this.m!==r&&(this.m=r,a=this._mdf.m=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,a=this._mdf.p=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);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=1<this.data.d.k.length,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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;for(var s=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s,n=0;n<s;n+=1)r=i!==this.keysIndex?this.effectsSequence[n](r,r.t):this.effectsSequence[n](this.currentData,r.t);e!==r&&this.setCurrentData(r),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,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r<n;)a=o,o=!1,e=t.charCodeAt(r),h=t.charAt(r),FontManager.isCombinedCharacter(e)?a=!0:55296<=e&&e<=56319?FontManager.isRegionalFlag(t,r)?h=t.substr(r,14):56320<=(i=t.charCodeAt(r+1))&&i<=57343&&(FontManager.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=FontManager.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):56319<e?(i=t.charCodeAt(r+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(o=a=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n=this.elem.globalData.fontManager,a=this.data,o=[],h=0,l=a.m.g,p=0,f=0,c=0,u=[],d=0,m=0,y=n.getFontByName(t.f),g=0,v=getFontProperties(y),b=(t.fWeight=v.weight,t.fStyle=v.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),S=t.finalText.length,t.finalLineHeight=t.lh,t.tr/1e3*t.finalSize);if(t.sz)for(var _=!0,R=t.sz[0],B=t.sz[1];_;){for(var P,x=0,d=0,S=(P=this.buildFinalText(t.t)).length,b=t.tr/1e3*t.finalSize,E=-1,A=0;A<S;A+=1)r=P[A].charCodeAt(0),e=!1," "===P[A]?E=A:13!==r&&3!==r||(e=!(d=0),x+=t.finalLineHeight||1.2*t.finalSize),R<d+(g=n.chars?(s=n.getCharData(P[A],y.fStyle,y.fFamily),e?0:s.w*t.finalSize/100):n.measureText(P[A],t.f,t.finalSize))&&" "!==P[A]?(-1===E?S+=1:A=E,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(A,E===A?1:0,"\r"),E=-1,d=0):d=d+g+b;x+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<x?(--t.finalSize,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,S=t.finalText.length,_=!1)}d=-b;var k,g=0,C=0;for(A=0;A<S;A+=1)if(e=!1,13===(r=(k=t.finalText[A]).charCodeAt(0))||3===r?(C=0,u.push(d),m=m<d?d:m,d=-2*b,e=!(i=""),c+=1):i=k,g=n.chars?(s=n.getCharData(k,y.fStyle,n.getFontByName(t.f).fFamily),e?0:s.w*t.finalSize/100):n.measureText(i,t.f,t.finalSize)," "===k?C+=g+b:(d+=g+b+C,C=0),o.push({l:g,an:g,add:p,n:e,anIndexes:[],val:i,line:c,animatorJustifyOffset:0}),2==l){if(p+=g,""===i||" "===i||A===S-1){for(""!==i&&" "!==i||(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;h+=1,p=0}}else if(3==l){if(p+=g,""===i||A===S-1){for(""===i&&(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;p=0,h+=1}}else o[h].ind=h,o[h].extra=0,h+=1;if(t.l=o,m=m<d?d:m,u.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=m,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;for(var T,w,M,D,F=a.a,O=F.length,I=[],L=0;L<O;L+=1){for((T=F[L]).a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),M=T.s.b,A=D=0;A<S;A+=1)(w=o[A]).anIndexes[L]=D,(1==M&&""!==w.val||2==M&&""!==w.val&&" "!==w.val||3==M&&(w.n||" "==w.val||A==S-1)||4==M&&(w.n||A==S-1))&&(1===T.s.rn&&I.push(D),D+=1);a.a[L].s.totalChars=D;var V,z=-1;if(1===T.s.rn)for(A=0;A<S;A+=1)z!=(w=o[A]).anIndexes[L]&&(z=w.anIndexes[L],V=I.splice(Math.floor(Math.random()*I.length),1)[0]),w.anIndexes[L]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s),i=this.copyData(i,t);this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){t=this.data.d.k[t].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},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 h=Math.max,l=Math.min,p=Math.floor;function s(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),"e"in e?this.e=PropertyFactory.getProp(t,e.e,0,0,this):this.e={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 s.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e,i,s=0,r=0,n=1,a=1,s=(0<this.ne.v?s=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?n=1-this.xe.v/100:a=1+this.xe.v/100,BezierFactory.getBezierEasing(s,r,n,a).get),r=0,n=this.finalS,a=this.finalE,o=this.data.sh;return r=2===o?s(r=a===n?a<=t?1:0:h(0,l(.5/(a-n)+(t-n)/(a-n),1))):3===o?s(r=a===n?a<=t?0:1:1-h(0,l(.5/(a-n)+(t-n)/(a-n),1))):4===o?(a===n?r=0:(r=h(0,l(.5/(a-n)+(t-n)/(a-n),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5===o?s(r=a===n?0:(e=-(i=a-n)/2+(t=l(h(0,t+.5-n),a-n)),i=i/2,Math.sqrt(1-e*e/(i*i)))):(6===o?r=a===n?0:(t=l(h(0,t+.5-n),a-n),(1+Math.cos(Math.PI+2*Math.PI*t/(a-n)))/2):t>=p(n)&&(r=h(0,l(t-n<0?l(a,1)-(n-t):a-t,1))),s(r)),100!==this.sm.v&&(r<(i=.5-.5*(e=0===(e=.01*this.sm.v)?1e-8:e))?r=0:1<(r=(r-i)/e)&&(r=1)),r*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 t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,t=this.e.v/t+e;t<i&&(e=i,i=t,t=e),this.finalS=i,this.finalE=t}},extendPrototype([DynamicPropertyContainer],s),{getTextSelectorProp:function(t,e,i){return new s(t,e)}}}();function TextAnimatorDataProperty(t,e,i){var s={propType:!1},r=PropertyFactory.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,degToRads,i):s,rx:n.rx?r(t,n.rx,0,degToRads,i):s,ry:n.ry?r(t,n.ry,0,degToRads,i):s,sk:n.sk?r(t,n.sk,0,degToRads,i):s,sa:n.sa?r(t,n.sa,0,degToRads,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){for(var t,e=this._textData.a.length,i=PropertyFactory.getProp,s=0;s<e;s+=1)t=this._textData.a[s],this._animatorsData[s]=new TextAnimatorDataProperty(this._elem,t,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,R){if(this.lettersChangedFlag=R,this._mdf||this._isFirstFrame||R||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var e,i,s,B,r,n,a,o,h,O,l,z,p,f=this._moreOptions.alignment.v,c=this._animatorsData,u=this._textData,d=this.mHelper,N=this._renderType,G=this.renderedLetters.length,m=t.l;if(this._hasMaskedPath){if(p=this._pathData.m,!this._pathData.n||this._pathData._mdf){for(var y,g=p.v,v={tLength:0,segments:[]},b=(g=this._pathData.r.v?g.reverse():g)._length-1,_=l=0;_<b;_+=1)y=bez.buildBezierData(g.v[_],g.v[_+1],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[_+1][0]-g.v[_+1][0],g.i[_+1][1]-g.v[_+1][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength;_=b,p.v.c&&(y=bez.buildBezierData(g.v[_],g.v[0],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[0][0]-g.v[0][0],g.i[0][1]-g.v[0][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,e=this._pathData.f.v,r=1,B=!(s=n=0),h=v.segments,e<0&&p.v.c)for(v.tLength<Math.abs(e)&&(e=-Math.abs(e)%v.tLength),r=(o=h[n=h.length-1].points).length-1;e<0;)e+=o[r].partialLength,--r<0&&(r=(o=h[--n].points).length-1);a=(o=h[n].points)[r-1],O=(i=o[r]).partialLength}b=m.length;var P,j,x,S,H,q,E,A,k,C,T,W,$,X,Y,J,w=0,U=0,K=1.2*t.finalSize*.714,Z=!0,M=c.length,D=-1,Q=e,tt=n,et=r,it=-1,st="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var F=0,nt=0,at=2===t.j?-.5:-1,I=0,ot=!0;for(_=0;_<b;_+=1)if(m[_].n){for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1;ot=!(F=0)}else{for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(ot&&2===t.j&&(nt+=P.t.v*at),(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?F+=P.t.v*x[0]*at:F+=P.t.v*x*at);ot=!1}for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1}for(_=0;_<b;_+=1){if(d.reset(),E=1,m[_].n)w=0,U=U+t.yOffset+(Z?1:0),e=Q,Z=!1,this._hasMaskedPath&&(a=(o=h[n=tt].points)[(r=et)-1],O=(i=o[r]).partialLength,s=0),Y=W=X=st="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(it!==m[_].line){switch(t.j){case 1:e+=l-t.lineWidths[m[_].line];break;case 2:e+=(l-t.lineWidths[m[_].line])/2}it=m[_].line}D!==m[_].ind&&(m[D]&&(e+=m[D].extra),e+=m[_].an/2,D=m[_].ind),e+=f[0]*m[_].an*.005;for(var L=0,V=0;V<M;V+=1)(P=c[V].a).p.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.p.v[0]*x[0]:L+=P.p.v[0]*x),P.a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.a.v[0]*x[0]:L+=P.a.v[0]*x);for(B=!0,this._pathData.a.v&&(e=.5*m[0].an+(l-this._pathData.f.v-.5*m[0].an-.5*m[m.length-1].an)*D/(b-1),e+=this._pathData.f.v);B;)e+L<=s+O||!o?(z=(e+L-s)/i.partialLength,H=a.point[0]+(i.point[0]-a.point[0])*z,q=a.point[1]+(i.point[1]-a.point[1])*z,d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01),B=!1):o&&(s+=i.partialLength,(r+=1)>=o.length&&(r=0,o=h[n+=1]?h[n].points:p.v.c?h[n=r=0].points:(s-=i.partialLength,null)),o)&&(a=i,O=(i=o[r]).partialLength);S=m[_].an/2-m[_].add,d.translate(-S,0,0)}else S=m[_].an/2-m[_].add,d.translate(-S,0,0),d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01,0);for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),0!==w||0!==t.j)&&(this._hasMaskedPath?x.length?e+=P.t.v*x[0]:e+=P.t.v*x:x.length?w+=P.t.v*x[0]:w+=P.t.v*x);for(t.strokeWidthAnim&&(k=t.sw||0),t.strokeColorAnim&&(A=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(C=[t.fc[0],t.fc[1],t.fc[2]]),V=0;V<M;V+=1)(P=c[V].a).a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.translate(-P.a.v[0]*x[0],-P.a.v[1]*x[1],P.a.v[2]*x[2]):d.translate(-P.a.v[0]*x,-P.a.v[1]*x,P.a.v[2]*x));for(V=0;V<M;V+=1)(P=c[V].a).s.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.scale(1+(P.s.v[0]-1)*x[0],1+(P.s.v[1]-1)*x[1],1):d.scale(1+(P.s.v[0]-1)*x,1+(P.s.v[1]-1)*x,1));for(V=0;V<M;V+=1){if(P=c[V].a,x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),P.sk.propType&&(x.length?d.skewFromAxis(-P.sk.v*x[0],P.sa.v*x[1]):d.skewFromAxis(-P.sk.v*x,P.sa.v*x)),P.r.propType&&(x.length?d.rotateZ(-P.r.v*x[2]):d.rotateZ(-P.r.v*x)),P.ry.propType&&(x.length?d.rotateY(P.ry.v*x[1]):d.rotateY(P.ry.v*x)),P.rx.propType&&(x.length?d.rotateX(P.rx.v*x[0]):d.rotateX(P.rx.v*x)),P.o.propType&&(x.length?E+=(P.o.v*x[0]-E)*x[0]:E+=(P.o.v*x-E)*x),t.strokeWidthAnim&&P.sw.propType&&(x.length?k+=P.sw.v*x[0]:k+=P.sw.v*x),t.strokeColorAnim&&P.sc.propType)for(T=0;T<3;T+=1)x.length?A[T]+=(P.sc.v[T]-A[T])*x[0]:A[T]+=(P.sc.v[T]-A[T])*x;if(t.fillColorAnim&&t.fc){if(P.fc.propType)for(T=0;T<3;T+=1)x.length?C[T]+=(P.fc.v[T]-C[T])*x[0]:C[T]+=(P.fc.v[T]-C[T])*x;P.fh.propType&&(C=x.length?addHueToRGB(C,P.fh.v*x[0]):addHueToRGB(C,P.fh.v*x)),P.fs.propType&&(C=x.length?addSaturationToRGB(C,P.fs.v*x[0]):addSaturationToRGB(C,P.fs.v*x)),P.fb.propType&&(C=x.length?addBrightnessToRGB(C,P.fb.v*x[0]):addBrightnessToRGB(C,P.fb.v*x))}}for(V=0;V<M;V+=1)(P=c[V].a).p.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),this._hasMaskedPath?x.length?d.translate(0,P.p.v[1]*x[0],-P.p.v[2]*x[1]):d.translate(0,P.p.v[1]*x,-P.p.v[2]*x):x.length?d.translate(P.p.v[0]*x[0],P.p.v[1]*x[1],-P.p.v[2]*x[2]):d.translate(P.p.v[0]*x,P.p.v[1]*x,-P.p.v[2]*x));if(t.strokeWidthAnim&&(W=k<0?0:k),t.strokeColorAnim&&($="rgb("+Math.round(255*A[0])+","+Math.round(255*A[1])+","+Math.round(255*A[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*C[0])+","+Math.round(255*C[1])+","+Math.round(255*C[2])+")"),this._hasMaskedPath)d.translate(0,-t.ls),d.translate(0,f[1]*K*.01+U,0),this._pathData.p.v&&(J=(i.point[1]-a.point[1])/(i.point[0]-a.point[0]),J=180*Math.atan(J)/Math.PI,i.point[0]<a.point[0]&&(J+=180),d.rotate(-J*Math.PI/180)),d.translate(H,q,0),e-=f[0]*m[_].an*.005,m[_+1]&&D!==m[_+1].ind&&(e=(e+=m[_].an/2)+.001*t.tr*t.finalSize);else{switch(d.translate(w,U,0),t.ps&&d.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line]),0,0);break;case 2:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line])/2,0,0)}d.translate(0,-t.ls),d.translate(S,0,0),d.translate(f[0]*m[_].an*.005,f[1]*K*.01,0),w+=m[_].l+.001*t.tr*t.finalSize}"html"===N?st=d.toCSS():"svg"===N?st=d.to2dCSS():rt=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Y=E}G<=_?(j=new LetterProps(Y,W,$,X,st,rt),this.renderedLetters.push(j),G+=1,this.lettersChangedFlag=!0):(j=this.renderedLetters[_],this.lettersChangedFlag=j.update(Y,W,$,X,st,rt)||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,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),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){for(var i,s=e.length,r="",n=0;n<s;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,r+=buildShapeString(i,i.i.length,!0,t));return r},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,i,s,r){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(s,r,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,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function ISolidElement(t,e,i){this.initElement(t,e,i)}function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),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 t="",i=(e&&e.title&&(i=createNS("title"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),t+=s),e&&e.description&&(i=createNS("desc"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.description,this.svgElement.appendChild(i),t+=" "+s),t&&this.svgElement.setAttribute("aria-labelledby",t),createNS("defs")),s=(this.svgElement.appendChild(i),createNS("g"));this.svgElement.appendChild(s),this.layerElement=s,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:i,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,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},SVGTextLottieElement.prototype.buildShapeData=function(t,e){var i;return t.shapes&&t.shapes.length&&(i=t.shapes[0]).it&&(i=i.it[i.it.length-1]).s&&(i.s.k[0]=e,i.s.k[1]=e),t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData,s=(this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize),this.globalData.fontManager.getFontByName(i.f)),r=(s.fClass?this.layerElement.setAttribute("class",s.fClass):(this.layerElement.setAttribute("font-family",s.fFamily),t=i.fWeight,e=i.fStyle,this.layerElement.setAttribute("font-style",e),this.layerElement.setAttribute("font-weight",t)),this.layerElement.setAttribute("aria-label",i.t),i.l||[]),n=!!this.globalData.fontManager.chars;_=r.length;var a=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*i.tr*i.finalSize;if(!o||n||i.sz){var c,u,d,m,y=this.textSpans.length;for(P=0;P<_;P+=1)this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),n&&o&&0!==P||(c=P<y?this.textSpans[P].span:createNS(n?"g":"text"),y<=P&&(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=c,n&&(m=createNS("g"),c.appendChild(m),this.textSpans[P].childSpan=m),this.textSpans[P].span=c,this.layerElement.appendChild(c)),c.style.display="inherit"),a.reset(),o&&(r[P].n&&(h=-f,l=l+i.yOffset+(p?1:0),p=!1),this.applyTextPropertiesToMatrix(i,a,r[P].line,h,l),h=h+(r[P].l||0)+f),n?(u=1===(m=this.globalData.fontManager.getCharData(i.finalText[P],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t?new SVGCompElement(m.data,this.globalData,this):(u=emptyShapeData,new SVGShapeElement(u=m.data&&m.data.shapes?this.buildShapeData(m.data,i.finalSize):u,this.globalData,this)),this.textSpans[P].glyph&&(d=this.textSpans[P].glyph,this.textSpans[P].childSpan.removeChild(d.layerElement),d.destroy()),(this.textSpans[P].glyph=u)._debug=!0,u.prepareFrame(0),u.renderFrame(),this.textSpans[P].childSpan.appendChild(u.layerElement),1===m.t&&this.textSpans[P].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")):(o&&c.setAttribute("transform","translate("+a.props[12]+","+a.props[13]+")"),c.textContent=r[P].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));o&&c&&c.setAttribute("d","")}else{var g=this.textContainer,v="start";switch(i.j){case 1:v="end";break;case 2:v="middle";break;default:v="start"}g.setAttribute("text-anchor",v),g.setAttribute("letter-spacing",f);for(var b=this.buildTextContents(i.finalText),_=b.length,l=i.ps?i.ps[1]+i.ascent:0,P=0;P<_;P+=1)(c=this.textSpans[P].span||createNS("tspan")).textContent=b[P],c.setAttribute("x",0),c.setAttribute("y",l),c.style.display="inherit",g.appendChild(c),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=c,l+=i.finalLineHeight;this.layerElement.appendChild(g)}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){var t;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged&&(this._sizeChanged=!1,t=this.layerElement.getBBox(),this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}),this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;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)){this._sizeChanged=!0;for(var t,e,i,s=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l,n=r.length,a=0;a<n;a+=1)r[a].n||(t=s[a],e=this.textSpans[a].span,(i=this.textSpans[a].glyph)&&i.renderFrame(),t._mdf.m&&e.setAttribute("transform",t.m),t._mdf.o&&e.setAttribute("opacity",t.o),t._mdf.sw&&e.setAttribute("stroke-width",t.sw),t._mdf.sc&&e.setAttribute("stroke",t.sc),t._mdf.fc&&e.setAttribute("fill",t.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,i=(this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t,createNS("clipPath")),s=createNS("rect"),r=(s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0),createElementID());i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){for(var e=0,i=this.layers.length,e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e,i,s=this.elements;s[t]||99===this.layers[t].ty||(s[t]=!0,e=this.createItem(this.layers[t]),s[t]=e,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&-1!==(i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1)&&(this.elements[i]&&!0!==this.elements[i]?(s=s[i].getMatte(this.layers[t].tt),e.setMatte(s)):(this.buildItem(i),this.addPendingElement(e))))},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[s].getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){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 e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)}},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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){this.tm._placeholder?this.renderedFrame=t/this.data.sr:((t=this.tm.v)===this.data.op&&(t=this.data.op-1),this.renderedFrame=t);var e,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=t-1;0<=e;--e)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf)&&(this._mdf=!0)}},ICompElement.prototype.renderInnerContent=function(){for(var t=this.layers.length,e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].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){for(var e=t.length,i="_",s=0;s<e;s+=1)i+=t[s].transform.key+"_";var r=this.sequences[i];return r||(r={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=r,this.sequenceList.push(r)),r},processSequence:function(t,e){for(var i=0,s=t.transforms.length,r=e;i<s&&!e;){if(t.transforms[i].transform.mProps._mdf){r=!0;break}i+=1}if(r)for(t.finalTransform.reset(),i=s-1;0<=i;--i)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=r},processSequences:function(t){for(var e=this.sequenceList.length,i=0;i<e;i+=1)this.processSequence(this.sequenceList[i],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var s="__lottie_element_luma_buffer",r=null,n=null,a=null;function e(){var t,e,i;r||(t=createNS("svg"),e=createNS("filter"),i=createNS("feColorMatrix"),e.setAttribute("id",s),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"),e.appendChild(i),t.appendChild(e),t.setAttribute("id",s+"_svg"),featureSupport.svgLumaHidden&&(t.style.display="none"),a=t,document.body.appendChild(a),r=createTag("canvas"),(n=r.getContext("2d")).filter="url(#"+s+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:e,get:function(t){return r||e(),r.width=t.width,r.height=t.height,n.filter="url(#"+s+")",r}}};function createCanvas(t,e){var i;return featureSupport.offscreenCanvas?new OffscreenCanvas(t,e):((i=createTag("canvas")).width=t,i.height=e,i)}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas},registeredEffects={};function CVEffects(t){var e,i=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<i;e+=1){s=null;var s,r=t.data.ef[e].ty;(s=registeredEffects[r]?new registeredEffects[r].effect(t.effectsManager.effectElements[e],t):s)&&this.filters.push(s)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);for(var i=this.masksProperties.length,s=!1,r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);(this.hasMasks=s)&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},CVEffects.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,i,s,r=this.element.finalTransform.mat,n=this.element.canvasContext,a=this.masksProperties.length;for(n.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(n.moveTo(0,0),n.lineTo(this.element.globalData.compSize.w,0),n.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),n.lineTo(0,this.element.globalData.compSize.h),n.lineTo(0,0)),s=this.viewData[t].v,e=r.applyToPointArray(s.v[0][0],s.v[0][1],0),n.moveTo(e[0],e[1]);for(var o=s._length,h=1;h<o;h+=1)i=r.applyToTriplePoints(s.o[h-1],s.i[h],s.v[h]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=r.applyToTriplePoints(s.o[h-1],s.i[0],s.v[0]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),n.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,i,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,r,t);for(var n,a=i.length,o=0;o<a;o+=1)i[o].closed||(n={transforms:s.addTransformSequence(i[o].transforms),trNodes:[]},this.styledShapes.push(n),i[o].elements.push(n))}function CVShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,i)}function CVTextElement(t,e,i){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,i)}function CVImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}function CVSolidElement(t,e,i){this.initElement(t,e,i)}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(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;for(var 
vendor: 2,395 bytes, line 1
1t=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,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,i),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))}
vendor: 49,404 bytes, line 1
1CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){var t,e;1<=this.data.tt&&(this.buffers=[],t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height),this.buffers.push(e),e=assetLoader.createCanvas(t.canvas.width,t.canvas.height),this.buffers.push(e),3<=this.data.tt)&&!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,e=this.globalData;e.blendMode!==this.data.bm&&(e.blendMode=this.data.bm,t=getBlendMode(this.data.bm),e.canvasContext.globalCompositeOperation=t)},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(){var t;1<=this.data.tt&&(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(){var t,e;1<=this.data.tt&&(e=(t=this.buffers[1]).getContext("2d"),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),3<=this.data.tt&&!document._isProxy&&((e=assetLoader.getLumaCanvas(this.canvasContext.canvas)).getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(e,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){this.hidden||this.data.hd||1===this.data.td&&!t||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode(),t=0===this.data.ty,this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),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 i,e={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},s={};return"fl"===t.ty||"st"===t.ty?(s.c=PropertyFactory.getProp(this,t.c,1,255,this),s.c.k||(e.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(s.s=PropertyFactory.getProp(this,t.s,1,null,this),s.e=PropertyFactory.getProp(this,t.e,1,null,this),s.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),s.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),s.g=new GradientProperty(this,t.g,this)),s.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty?(e.lc=lineCapEnum[t.lc||2],e.lj=lineJoinEnum[t.lj||2],1==t.lj&&(e.ml=t.ml),s.w=PropertyFactory.getProp(this,t.w,0,null,this),s.w.k||(e.wi=s.w.v),t.d&&(i=new DashProperty(this,t.d,"canvas",this),s.d=i,s.d.k||(e.da=s.d.dashArray,e.do=s.d.dashoffset[0]))):e.r=2===t.r?"evenodd":"nonzero",this.stylesList.push(e),s.style=e,s},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){t=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){for(var e=this.stylesList.length,i=0;i<e;i+=1)this.stylesList[i].closed||this.stylesList[i].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,s,r){for(var n,a,o,h,l,p=t.length-1,f=[],c=[],u=[].concat(r),d=p;0<=d;--d){if((o=this.searchProcessedElement(t[d]))?e[d]=i[o-1]:t[d]._shouldRender=s,"fl"===t[d].ty||"st"===t[d].ty||"gf"===t[d].ty||"gs"===t[d].ty)o?e[d].style.closed=!1:e[d]=this.createStyleElement(t[d],u),f.push(e[d].style);else if("gr"===t[d].ty){if(o)for(a=e[d].it.length,n=0;n<a;n+=1)e[d].prevViewData[n]=e[d].it[n];else e[d]=this.createGroupElement(t[d]);this.searchShapes(t[d].it,e[d].it,e[d].prevViewData,s,u)}else"tr"===t[d].ty?(o||(l=this.createTransformElement(t[d]),e[d]=l),u.push(e[d]),this.addTransformToStyleList(e[d])):"sh"===t[d].ty||"rc"===t[d].ty||"el"===t[d].ty||"sr"===t[d].ty?o||(e[d]=this.createShapeElement(t[d])):"tm"===t[d].ty||"rd"===t[d].ty||"pb"===t[d].ty||"zz"===t[d].ty||"op"===t[d].ty?(o?(h=e[d]).closed=!1:((h=ShapeModifiers.getModifier(t[d].ty)).init(this,t[d]),e[d]=h,this.shapeModifiers.push(h)),c.push(h)):"rp"===t[d].ty&&(o?(h=e[d]).closed=!0:(h=ShapeModifiers.getModifier(t[d].ty),(e[d]=h).init(this,t,d,e),this.shapeModifiers.push(h),s=!1),c.push(h));this.addProcessedElement(t[d],d+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),p=c.length,d=0;d<p;d+=1)c[d].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(){for(var t,e,i,s,r,n,a,o,h=this.stylesList.length,l=this.globalData.renderer,p=this.globalData.canvasContext,f=0;f<h;f+=1)if(("st"!==(a=(o=this.stylesList[f]).type)&&"gs"!==a||0!==o.wi)&&o.data._shouldRender&&0!==o.coOp&&0!==this.globalData.currentGlobalAlpha){for(l.save(),r=o.elements,"st"===a||"gs"===a?(l.ctxStrokeStyle("st"===a?o.co:o.grd),l.ctxLineWidth(o.wi),l.ctxLineCap(o.lc),l.ctxLineJoin(o.lj),l.ctxMiterLimit(o.ml||0)):l.ctxFillStyle("fl"===a?o.co:o.grd),l.ctxOpacity(o.coOp),"st"!==a&&"gs"!==a&&p.beginPath(),l.ctxTransform(o.preTransforms.finalTransform.props),e=r.length,t=0;t<e;t+=1){for("st"!==a&&"gs"!==a||(p.beginPath(),!o.da)||(p.setLineDash(o.da),p.lineDashOffset=o.do),s=(n=r[t].trNodes).length,i=0;i<s;i+=1)"m"===n[i].t?p.moveTo(n[i].p[0],n[i].p[1]):"c"===n[i].t?p.bezierCurveTo(n[i].pts[0],n[i].pts[1],n[i].pts[2],n[i].pts[3],n[i].pts[4],n[i].pts[5]):p.closePath();"st"!==a&&"gs"!==a||(l.ctxStroke(),!o.da)||p.setLineDash(this.dashResetter)}"st"!==a&&"gs"!==a&&this.globalData.renderer.ctxFill(o.r),l.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,s){for(var r=t,n=e.length-1;0<=n;--n)"tr"===e[n].ty?(r=i[n].transform,this.renderShapeTransform(t,r)):"sh"===e[n].ty||"el"===e[n].ty||"rc"===e[n].ty||"sr"===e[n].ty?this.renderPath(e[n],i[n]):"fl"===e[n].ty?this.renderFill(e[n],i[n],r):"st"===e[n].ty?this.renderStroke(e[n],i[n],r):"gf"===e[n].ty||"gs"===e[n].ty?this.renderGradientFill(e[n],i[n],r):"gr"===e[n].ty?this.renderShape(r,e[n].it,i[n].it):e[n].ty;s&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){for(var i,s,r=t.trNodes,n=e.paths,a=n._length,o=(r.length=0,t.transforms.finalTransform),h=0;h<a;h+=1){var l=n.shapes[h];if(l&&l.v){for(s=l._length,i=1;i<s;i+=1)1===i&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),r.push({t:"c",pts:o.applyToTriplePoints(l.o[i-1],l.i[i],l.v[i])});1===s&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&s&&(r.push({t:"c",pts:o.applyToTriplePoints(l.o[i-1],l.i[0],l.v[0])}),r.push({t:"z"}))}}t.trNodes=r}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender)for(var i=e.styledShapes.length,s=0;s<i;s+=1)this.renderStyledShape(e.styledShapes[s],e.sh)},CVShapeElement.prototype.renderFill=function(t,e,i){var s=e.style;(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,i){var s=e.style;if(!s.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var r,n,a,o,h=this.globalData.canvasContext,l=e.s.v,p=e.e.v;o=1===t.t?h.createLinearGradient(l[0],l[1],p[0],p[1]):(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),p=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(n=e.h.v)?n=.99:n<=-1&&(n=-.99),n=r*n,a=Math.cos(p+e.a.v)*n+l[0],p=Math.sin(p+e.a.v)*n+l[1],h.createRadialGradient(a,p,0,l[0],l[1],r));for(var f=t.g.p,c=e.g.c,u=1,d=0;d<f;d+=1)e.g._hasOpacity&&e.g._collapsable&&(u=e.g.o[2*d+1]),o.addColorStop(c[4*d]/100,"rgba("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+","+u+")");s.grd=o}s.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||this._isFirstFrame)&&(s.da=r.dashArray,s.do=r.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(s.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(){for(var t,e,i,s,r,n,a,o=this.textProperty.currentData,h=(this.renderedLetters=createSizedArray(o.l?o.l.length:0),!1),h=(o.fc?(h=!0,this.values.fill=this.buildColor(o.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=h,!1),l=(o.sc&&(h=!0,this.values.stroke=this.buildColor(o.sc),this.values.sWidth=o.sw),this.globalData.fontManager.getFontByName(o.f)),p=o.l,f=this.mHelper,c=(this.stroke=h,this.values.fValue=o.finalSize+"px "+this.globalData.fontManager.getFontByName(o.f).fFamily,o.finalText.length),u=this.data.singleShape,d=.001*o.tr*o.finalSize,m=0,y=0,g=!0,v=0,b=0;b<c;b+=1){t=(t=this.globalData.fontManager.getCharData(o.finalText[b],l.fStyle,this.globalData.fontManager.getFontByName(o.f).fFamily))&&t.data||{},f.reset(),u&&p[b].n&&(m=-d,y=y+o.yOffset+(g?1:0),g=!1),r=(s=t.shapes?t.shapes[0].it:[]).length,f.scale(o.finalSize/100,o.finalSize/100),u&&this.applyTextPropertiesToMatrix(o,f,p[b].line,m,y);for(var _=createSizedArray(r-1),P=0,x=0;x<r;x+=1)if("sh"===s[x].ty){for(i=s[x].ks.k.i.length,n=s[x].ks.k,a=[],e=1;e<i;e+=1)1===e&&a.push(f.applyToX(n.v[0][0],n.v[0][1],0),f.applyToY(n.v[0][0],n.v[0][1],0)),a.push(f.applyToX(n.o[e-1][0],n.o[e-1][1],0),f.applyToY(n.o[e-1][0],n.o[e-1][1],0),f.applyToX(n.i[e][0],n.i[e][1],0),f.applyToY(n.i[e][0],n.i[e][1],0),f.applyToX(n.v[e][0],n.v[e][1],0),f.applyToY(n.v[e][0],n.v[e][1],0));a.push(f.applyToX(n.o[e-1][0],n.o[e-1][1],0),f.applyToY(n.o[e-1][0],n.o[e-1][1],0),f.applyToX(n.i[0][0],n.i[0][1],0),f.applyToY(n.i[0][0],n.i[0][1],0),f.applyToX(n.v[0][0],n.v[0][1],0),f.applyToY(n.v[0][0],n.v[0][1],0)),_[P]=a,P+=1}u&&(m=m+p[b].l+d),this.textSpans[v]?this.textSpans[v].elem=_:this.textSpans[v]={elem:_},v+=1}},CVTextElement.prototype.renderInnerContent=function(){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);for(var t,e,i,s,r,n,a,o=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l,l=h.length,p=null,f=null,c=null,u=this.globalData.renderer,d=0;d<l;d+=1)if(!h[d].n){if((r=o[d])&&(u.save(),u.ctxTransform(r.p),u.ctxOpacity(r.o)),this.fill){for(r&&r.fc?p!==r.fc&&(u.ctxFillStyle(r.fc),p=r.fc):p!==this.values.fill&&(p=this.values.fill,u.ctxFillStyle(this.values.fill)),e=(n=this.textSpans[d].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<e;t+=1)for(s=(a=n[t]).length,this.globalData.canvasContext.moveTo(a[0],a[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(a[i],a[i+1],a[i+2],a[i+3],a[i+4],a[i+5]);this.globalData.canvasContext.closePath(),u.ctxFill()}if(this.stroke){for(r&&r.sw?c!==r.sw&&(c=r.sw,u.ctxLineWidth(r.sw)):c!==this.values.sWidth&&(c=this.values.sWidth,u.ctxLineWidth(this.values.sWidth)),r&&r.sc?f!==r.sc&&(f=r.sc,u.ctxStrokeStyle(r.sc)):f!==this.values.stroke&&(f=this.values.stroke,u.ctxStrokeStyle(this.values.stroke)),e=(n=this.textSpans[d].elem).length,this.globalData.canvasContext.beginPath(),t=0;t<e;t+=1)for(s=(a=n[t]).length,this.globalData.canvasContext.moveTo(a[0],a[1]),i=2;i<s;i+=6)this.globalData.canvasContext.bezierCurveTo(a[i],a[i+1],a[i+2],a[i+3],a[i+4],a[i+5]);this.globalData.canvasContext.closePath(),u.ctxStroke()}r&&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(){var t,e,i,s,r,n,a,o,h;!this.img.width||this.assetData.w===this.img.width&&this.assetData.h===this.img.height||((t=createTag("canvas")).width=this.assetData.w,t.height=this.assetData.h,e=t.getContext("2d"),i=this.img.width,s=this.img.height,n=this.assetData.w/this.assetData.h,h=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio,n<(r=i/s)&&"xMidYMid slice"===h||r<n&&"xMidYMid slice"!==h?a=(o=s)*n:o=(a=i)/n,e.drawImage(this.img,(i-a)/2,(s-o)/2,a,o,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,i,s){this.canvasContext.fillRect(t,e,i,s)},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){var e,i;this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),(e=this.animationItem.container.style).width="100%",e.height="100%",e.transformOrigin=i="0px 0px 0px",e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,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)):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).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 i,s,r,n,a;this.reset(),t?(s=e,this.canvasContext.canvas.width=i=t,this.canvasContext.canvas.height=s):(s=this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")?(t=(e=this.renderConfig.preserveAspectRatio.split(" "))[1]||"meet",r=(e=e[0]||"xMidYMid").substr(0,4),e=e.substr(4),(n=i/s)<(a=this.transformCanvas.w/this.transformCanvas.h)&&"meet"===t||a<n&&"slice"===t?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===r&&(a<n&&"meet"===t||n<a&&"slice"===t)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===r&&(a<n&&"meet"===t||n<a&&"slice"===t)?(i-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===e&&(n<a&&"meet"===t||a<n&&"slice"===t)?(s-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===e&&(n<a&&"meet"===t||a<n&&"slice"===t)?(s-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:0):("none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0),this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");for(var t=(this.layers?this.layers.length:0)-1;0<=t;--t)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){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,e=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=e-1;0<=i;--i)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=e-1;0<=i;--i)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e,i=this.elements;i[t]||99===this.layers[t].ty||(e=this.createItem(this.layers[t],this,this.globalData),(i[t]=e).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(){for(var t=2*this._length,e=0,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;for(var e,i=this.stack[this.cArrPos],s=i.transform,r=this.cTr.props,n=0;n<16;n+=1)r[n]=s[n];t&&(this.nativeContext.restore(),e=this.stack[this.cArrPos+1],this.appliedFillStyle=e.fillStyle,this.appliedStrokeStyle=e.strokeStyle,this.appliedLineWidth=e.lineWidth,this.appliedLineCap=e.lineCap,this.appliedLineJoin=e.lineJoin,this.appliedMiterLimit=e.miterLimit),this.nativeContext.setTransform(s[0],s[1],s[4],s[5],s[12],s[13]),(t||-1!==i.opacity&&this.currentOpacity!==i.opacity)&&(this.nativeContext.globalAlpha=i.opacity,this.currentOpacity=i.opacity),this.currentFillStyle=i.fillStyle,this.currentStrokeStyle=i.strokeStyle,this.currentLineWidth=i.lineWidth,this.currentLineCap=i.lineCap,this.currentLineJoin=i.lineJoin,this.currentMiterLimit=i.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();for(var e=this.cTr.props,i=(this._length<=this.cArrPos&&this.duplicate(),this.stack[this.cArrPos]),s=0;s<16;s+=1)i.transform[s]=e[s];this.cArrPos+=1;t=this.stack[this.cArrPos];t.opacity=i.opacity,t.fillStyle=i.fillStyle,t.strokeStyle=i.strokeStyle,t.lineWidth=i.lineWidth,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.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);t=this.cTr,this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props),t=t.props;this.nativeContext.setTransform(t[0],t[1],t[4],t[5],t[12],t[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;this.stack[this.cArrPos].opacity!==(e*=t<0?0:t)&&(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,i,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,i,s)},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=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();for(var e=this.layers.length-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){for(var t=this.layers.length-1;0<=t;--t)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)},registerRenderer("canvas",CanvasRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier);var CompExpressionInterface=function(s){function t(t){for(var e=0,i=s.layers.length;e<i;){if(s.layers[e].nm===t||s.layers[e].ind===t)return s.elements[e].layerInterface;e+=1}return null}return Object.defineProperty(t,"_name",{value:s.data.nm}),(t.layer=t).pixelAspect=1,t.height=s.data.h||s.globalData.compSize.h,t.width=s.data.w||s.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/s.globalData.frameRate,t.displayStartTime=0,t.numLayers=s.layers.length,t};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})(t)}function seedRandom(a,o){var h=this,l=256,p=6,f="random",c=o.pow(l,p),u=o.pow(2,52),d=2*u,m=l-1;function y(t){var e,i=t.length,a=this,s=0,r=a.i=a.j=0,n=a.S=[];for(i||(t=[i++]);s<l;)n[s]=s++;for(s=0;s<l;s++)n[s]=n[r=m&r+t[s%i]+(e=n[s])],n[r]=e;a.g=function(t){for(var e,i=0,s=a.i,r=a.j,n=a.S;t--;)e=n[s=m&s+1],i=i*l+n[m&(n[s]=n[r=m&r+e])+(n[r]=e)];return a.i=s,a.j=r,i}}function g(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function v(t,e){for(var i,s=t+"",r=0;r<s.length;)e[m&r]=m&(i^=19*e[m&r])+s.charCodeAt(r++);return b(e)}function b(t){return String.fromCharCode.apply(0,t)}o["seed"+f]=function(t,e,i){function s(){for(var t=n.g(p),e=c,i=0;t<u;)t=(t+i)*l,e*=l,i=n.g(1);for(;d<=t;)t/=2,e/=2,i>>>=1;return(t+i)/e}var r=[],t=v(function t(e,i){var s,r=[],n=_typeof$2(e);if(i&&"object"==n)for(s in e)try{r.push(t(e[s],i-1))}catch(t){}return r.length?r:"string"==n?e:e+"\0"}((e=!0===e?{entropy:!0}:e||{}).entropy?[t,b(a)]:null===t?function(){try{var e=new Uint8Array(l);return(h.crypto||h.msCrypto).getRandomValues(e),b(e)}catch(t){e=h.navigator,e=e&&e.plugins;return[+new Date,h,e,h.screen,b(a)]}}():t,3),r),n=new y(r);return s.int32=function(){return 0|n.g(4)},s.quick=function(){return n.g(4)/4294967296},s.double=s,v(b(n.S),a),(e.pass||i||function(t,e,i,s){return s&&(s.S&&g(s,n),t.state=function(){return g(n,{})}),i?(o[f]=t,e):t})(s,t,"global"in e?e.global:this==o,e.state)},v(o.random(),a)}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})(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function 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)){for(var i=t.length,s=[],r=0;r<i;r+=1)s[r]=-t[r];return s}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 i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e)||"string"===i||"string"===s)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]+e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e))return(t="string"===i?parseInt(t,10):t)-(e="string"===s?parseInt(e,10):e);if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]-e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}function mul(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]*e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t*e[s];return i}return 0}function div(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]/e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t/e[s];return i}return 0}function mod(t,e){return(t="string"==typeof t?parseInt(t,10):t)%(e="string"==typeof e?parseInt(e,10):e)}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){var s;return i<e&&(s=i,i=e,e=s),Math.min(Math.max(t,e),i)}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 Math.abs(t-(e=e||0));for(var i=Math.min(t.length,(e=e||helperLengthArray).length),s=0,r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i=t[0],s=t[1],r=t[2],n=Math.max(i,s,r),a=Math.min(i,s,r),o=(n+a)/2;if(n===a)l=e=0;else{var h=n-a,l=.5<o?h/(2-n-a):h/(n+a);switch(n){case i:e=(s-r)/h+(s<r?6:0);break;case s:e=(r-i)/h+2;break;case r:e=(i-s)/h+4}e/=6}return[e,l,o,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),1<i&&--i,i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,s,r=t[0],n=t[1],a=t[2];return 0===n?i=s=e=a:(e=hue2rgb(n=2*a-(a=a<.5?a*(1+n):a+n-a*n),a,r+1/3),i=hue2rgb(n,a,r),s=hue2rgb(n,a,r-1/3)),[e,i,s,t[3]]}function linear(t,e,i,s,r){var n;if(void 0!==s&&void 0!==r||(s=e,r=i,e=0,i=1),i<e&&(n=i,i=e,e=n),t<=e)return s;if(i<=t)return r;var a=i===e?0:(t-e)/(i-e);if(!s.length)return s+(r-s)*a;for(var o=s.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=s[l]+(r[l]-s[l])*a;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){for(var i=e.length,s=(t=t||createTypedArray("float32",i),createTypedArray("float32",i)),r=BMMath.random(),n=0;n<i;n+=1)s[n]=t[n]+r*(e[n]-t[n]);return s}return(t=void 0===t?0:t)+BMMath.random()*(e-t)}function createPath(t,e,i,s){for(var r,n,a=t.length,o=shapePool.newElement(),h=(o.setPathData(!!s,a),[0,0]),l=0;l<a;l+=1)r=e&&e[l]?e[l]:h,n=i&&i[l]?i[l]:h,o.setTripleAt(t[l][0],t[l][1],n[0]+t[l][0],n[1]+t[l][1],r[0]+t[l][0],r[1]+t[l][1],l,!0);return o}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,inPoint=(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,elem.data.ip/elem.comp.globalData.frameRate),outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw||0,height=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){for(var i=this.pv.length||1,s=createTypedArray("float32",i),r=Math.floor(5*time),n=0,a=0;n<r;){for(a=0;a<i;a+=1)s[a]+=-e+2*e*BMMath.random();n+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",i);if(1<i){for(a=0;a<i;a+=1)l[a]=this.pv[a]+s[a]+(-e+2*e*BMMath.random())*h;return l}return this.pv+s[0]+(-e+2*e*BMMath.random())*h}.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);function lookAt(t,e){e=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],t=Math.atan2(e[0],Math.sqrt(e[1]*e[1]+e[2]*e[2]))/degToRads;return[-Math.atan2(e[1],e[2])/degToRads,t,0]}function easeOut(t,e,i,s,r){return applyEase(easeOutBez,t,e,i,s,r)}function easeIn(t,e,i,s,r){return applyEase(easeInBez,t,e,i,s,r)}function ease(t,e,i,s,r){return applyEase(easeInOutBez,t,e,i,s,r)}function applyEase(t,e,i,s,r,n){void 0===r?(r=i,n=s):e=(e-i)/(s-i),1<e?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(r)){for(var o=r.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=(n[l]-r[l])*a+r[l];return h}return(n-r)*a+r}function nearestKey(t){var e,i,s,r=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(i=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)i=1,s=data.k[0].t;else{for(e=0;e<r-1;e+=1){if(t===data.k[e].t){i=e+1,s=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){s=(t-data.k[e].t>data.k[e+1].t-t?(i=e+2,data.k[e+1]):(i=e+1,data.k[e])).t;break}}-1===i&&(i=e+1,s=data.k[e].t)}else s=i=0;var n={};return n.index=i,n.time=s/elem.comp.globalData.frameRate,n}function key(t){if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);for(var e={time:data.k[--t].t/elem.comp.globalData.frameRate,value:[]},i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e,s=i.length,r=0;r<s;r+=1)e[r]=i[r],e.value[r]=i[r];return e}function framesToTime(t,e){return t/(e=e||elem.comp.globalData.frameRate)}function timeToFrames(t,e){return(t=t||0===t?t:time)*(e=e||elem.comp.globalData.frameRate)}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 time,velocity,value,text,textIndex,textTotal,selectorValue,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)&&(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,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};return t.initExpressions=function(t){var i=0,s=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){i+=1},t.renderer.globalData.popExpression=function(){if(0===--i){var t,e=s.length;for(t=0;t<e;t+=1)s[t].release();s.length=0}},t.renderer.globalData.registerExpressionProperty=function(t){-1===s.indexOf(t)&&s.push(t)}},t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}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}});return function(e){for(var i=createSizedArray(e.viewData.length),s=e.viewData.length,r=0;r<s;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<s;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var p={pv:0,v:0,mult:1},f={pv:[0,0,0],v:[0,0,0],mult:1};function c(s,r,n){Object.defineProperty(s,"velocity",{get:function(){return r.getVelocityAtTime(r.comp.currentFrame)}}),s.numKeys=r.keyframes?r.keyframes.length:0,s.key=function(t){var e,i;return s.numKeys?(e="",e="s"in r.keyframes[t-1]?r.keyframes[t-1].s:"e"in r.keyframes[t-2]?r.keyframes[t-2].e:r.keyframes[t-2].s,(i="unidimensional"===n?new Number(e):Object.assign({},e)).time=r.keyframes[t-1].t/r.elem.comp.globalData.frameRate,i.value="unidimensional"===n?e[0]:e,i):0},s.valueAtTime=r.getValueAtTime,s.speedAtTime=r.getSpeedAtTime,s.velocityAtTime=r.getVelocityAtTime,s.propertyGroup=r.propertyGroup}function u(){return p}return function(t){return t?"unidimensional"===t.propType?(o=1/(a=(a=t)&&"pv"in a?a:p).mult,h=a.pv*o,(l=new Number(h)).value=h,c(l,a,"unidimensional"),function(){return a.k&&a.getValue(),h=a.v*o,l.value!==h&&((l=new Number(h)).value=h,c(l,a,"unidimensional")),l}):(i=1/(e=(e=t)&&"pv"in e?e:f).mult,s=e.data&&e.data.l||e.pv.length,r=createTypedArray("float32",s),n=createTypedArray("float32",s),r.value=n,c(r,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<s;t+=1)n[t]=e.v[t]*i,r[t]=n[t];return r}):u;var e,i,s,r,n,a,o,h,l}}(),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 i,s,r,n;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?n=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),s=ExpressionPropertyInterface(t.py),t.pz&&(r=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?n():[i(),s(),r?r():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 r(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 n(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.applyPoint(e,t)}function a(t,e){e=this.getMatrix(e);return this.applyPoint(e,t)}function o(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.invertPoint(e,t)}function h(t,e){e=this.getMatrix(e);return this.invertPoint(e,t)}function l(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.applyToPointArray(e[0],e[1],e[2]||0)}function p(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}function f(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}function c(){return[1,1,1,1]}return function(e){function i(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return i.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return s;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return i.effect;case"ADBE Text Properties":return i.textInterface;default:return null}}i.getMatrix=r,i.invertPoint=p,i.applyPoint=l,i.toWorld=a,i.toWorldVec=n,i.fromWorld=h,i.fromWorldVec=o,i.toComp=a,i.fromComp=f,i.sampleImage=c,i.sourceRectAtTime=e.sourceRectAtTime.bind(e);
vendor: 5,692 bytes, line 1
1var s,t=getDescriptor(s=TransformExpressionInterface((i._elem=e).finalTransform.mProp),"anchorPoint");return Object.defineProperties(i,{hasParent:{get:function(){return e.hierarchy.length}},parent:{get:function(){return e.hierarchy[0].layerInterface}},rotation:getDescriptor(s,"rotation"),scale:getDescriptor(s,"scale"),position:getDescriptor(s,"position"),opacity:getDescriptor(s,"opacity"),anchorPoint:t,anchor_point:t,transform:{get:function(){return s}},active:{get:function(){return e.isInRange}}}),i.startTime=e.data.st,i.index=e.data.ind,i.source=e.data.refId,i.height=0===e.data.ty?e.data.h:100,i.width=0===e.data.ty?e.data.w:100,i.inPoint=e.data.ip/e.comp.globalData.frameRate,i.outPoint=e.data.op/e.comp.globalData.frameRate,i._name=e.data.nm,i.registerMaskInterface=function(t){i.mask=new MaskManagerInterface(t,e)},i.registerEffectsInterface=function(t){i.effect=t},i}}(),propertyGroupFactory=function(e,i){return function(t){return(t=void 0===t?1:t)<=0?e:i(t-1)}},PropertyInterface=function(t,e){var i={_name:t};return function(t){return(t=void 0===t?1:t)<=0?i:e(t-1)}},EffectsExpressionInterface=function(){function p(t,e,i,s){var r=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",s)),function(){return 10===e?i.comp.compInterface(t.p.v):r()}}return{createEffectsInterface:function(t,e){if(t.effectsManager){var i,s=[],r=t.data.ef,n=t.effectsManager.effectElements.length;for(i=0;i<n;i+=1)s.push(function t(r,e,i,s){function n(t){for(var e=r.ef,i=0,s=e.length;i<s;){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 a,o=propertyGroupFactory(n,i),h=[],l=r.ef.length;for(a=0;a<l;a+=1)5===r.ef[a].ty?h.push(t(r.ef[a],e.effectElements[a],e.effectElements[a].propertyGroup,s)):h.push(p(e.effectElements[a],r.ef[a].ty,s,o));return"ADBE Color Control"===r.mn&&Object.defineProperty(n,"color",{get:function(){return h[0]()}}),Object.defineProperties(n,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:o}}),n.enabled=0!==r.en,n.active=n.enabled,n}(r[i],t.effectsManager.effectElements[i],e,t));var a=t.data.ef||[],o=function(t){for(i=0,n=a.length;i<n;){if(t===a[i].nm||t===a[i].mn||t===a[i].ix)return s[i];i+=1}return null};return Object.defineProperty(o,"numProperties",{get:function(){return a.length}}),o}return null}}}(),ShapePathInterface=function(t,e,i){var s=e.sh;function r(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?r.path:null}e=propertyGroupFactory(r,i);return s.setGroupProperty(PropertyInterface("Path",e)),Object.defineProperties(r,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),r},ShapeExpressionInterface=function(){function a(t,e,i){for(var s=[],r=t?t.length:0,n=0;n<r;n+=1)"gr"===t[n].ty?s.push(function(t,e,i){function s(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}}s.propertyGroup=propertyGroupFactory(s,i);i=function(t,e,i){function s(t){for(var e=0,i=r.length;e<i;){if(r[e]._name===t||r[e].mn===t||r[e].propertyIndex===t||r[e].ix===t||r[e].ind===t)return r[e];e+=1}return"number"==typeof t?r[t-1]:null}s.propertyGroup=propertyGroupFactory(s,i),r=a(t.it,e.it,s.propertyGroup),s.numProperties=r.length;var r,i=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.transform=i,s.propertyIndex=t.cix,s._name=t.nm,s}(t,e,s.propertyGroup),e=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.content=i,s.transform=e,Object.defineProperty(s,"_name",{get:function(){return t.nm}}),s.numProperties=t.np,s.propertyIndex=t.ix,s.nm=t.nm,s.mn=t.mn,s}(t[n],e[n],i)):"fl"===t[n].ty?s.push(function(t,e,i){function s(t){return"Color"===t||"color"===t?s.color:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):"st"===t[n].ty?s.push(function(e,i,t){var t=propertyGroupFactory(o,t),s=propertyGroupFactory(void 0,t);var r,n=e.d?e.d.length:0,a={};for(r=0;r<n;r+=1)(function(t){Object.defineProperty(a,e.d[t].nm,{get:ExpressionPropertyInterface(i.d.dataProps[t].p)})})(r),i.d.dataProps[r].p.setGroupProperty(s);function o(t){return"Color"===t||"color"===t?o.color:"Opacity"===t||"opacity"===t?o.opacity:"Stroke Width"===t||"stroke width"===t?o.strokeWidth:null}return Object.defineProperties(o,{color:{get:ExpressionPropertyInterface(i.c)},opacity:{get:ExpressionPropertyInterface(i.o)},strokeWidth:{get:ExpressionPropertyInterface(i.w)},dash:{get:function(){return a}},_name:{value:e.nm},mn:{value:e.mn}}),i.c.setGroupProperty(PropertyInterface("Color",t)),i.o.setGroupProperty(PropertyInterface("Opacity",t)),i.w.setGroupProperty(PropertyInterface("Stroke Width",t)),o}(t[n],e[n],i)):"tm"===t[n].ty?s.push(function(e,t,i){function s(t){return t===e.e.ix||"End"===t||"end"===t?s.end:t===e.s.ix?s.start:t===e.o.ix?s.offset:null}var r=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",r)),t.e.setGroupProperty(PropertyInterface("End",r)),t.o.setGroupProperty(PropertyInterface("Offset",r)),s.propertyIndex=e.ix,s.propertyGroup=i,Object.defineProperties(s,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}
vendor: 17,043 bytes, line 1
1(t[n],e[n],i)):"tr"!==t[n].ty&&("el"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.s.ix===t?s.size:null}i=propertyGroupFactory(s,i),s.propertyIndex=e.ix,t="tm"===t.sh.ty?t.sh.prop:t.sh;return t.s.setGroupProperty(PropertyInterface("Size",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(s,{size:{get:ExpressionPropertyInterface(t.s)},position:{get:ExpressionPropertyInterface(t.p)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sr"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.rotation:e.pt.ix===t?s.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?s.outerRadius:e.os.ix===t?s.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?s.innerRoundness:null:s.innerRadius}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.or.setGroupProperty(PropertyInterface("Outer Radius",i)),t.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),t.pt.setGroupProperty(PropertyInterface("Points",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(t.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),t.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},rotation:{get:ExpressionPropertyInterface(t.r)},points:{get:ExpressionPropertyInterface(t.pt)},outerRadius:{get:ExpressionPropertyInterface(t.or)},outerRoundness:{get:ExpressionPropertyInterface(t.os)},innerRadius:{get:ExpressionPropertyInterface(t.ir)},innerRoundness:{get:ExpressionPropertyInterface(t.is)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sh"===t[n].ty?s.push(ShapePathInterface(t[n],e[n],i)):"rc"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?s.size:null}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.p.setGroupProperty(PropertyInterface("Position",i)),t.s.setGroupProperty(PropertyInterface("Size",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},roundness:{get:ExpressionPropertyInterface(t.r)},size:{get:ExpressionPropertyInterface(t.s)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rd"===t[n].ty?s.push(function(e,t,i){function s(t){return e.r.ix===t||"Round Corners 1"===t?s.radius:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(s,{radius:{get:ExpressionPropertyInterface(t.rd)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rp"===t[n].ty?s.push(function(e,t,i){function s(t){return e.c.ix===t||"Copies"===t?s.copies:e.o.ix===t||"Offset"===t?s.offset:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.c.setGroupProperty(PropertyInterface("Copies",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(s,{copies:{get:ExpressionPropertyInterface(t.c)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"gf"===t[n].ty?s.push(function(t,e,i){function s(t){return"Start Point"===t||"start point"===t?s.startPoint:"End Point"===t||"end point"===t?s.endPoint:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{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}}),e.s.setGroupProperty(PropertyInterface("Start Point",i)),e.e.setGroupProperty(PropertyInterface("End Point",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):s.push((t[n],e[n],function(){return null})));return s}function o(e,t,i){function s(t){return e.a.ix===t||"Anchor Point"===t?s.anchorPoint:e.o.ix===t||"Opacity"===t?s.opacity:e.p.ix===t||"Position"===t?s.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?s.rotation:e.s.ix===t||"Scale"===t?s.scale:e.sk&&e.sk.ix===t||"Skew"===t?s.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?s.skewAxis:null}var r=propertyGroupFactory(s,i);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(s,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),s.ty="tr",s.mn=e.mn,s.propertyGroup=i,s}return function(t,e,s){var r;function i(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?s:r[t-1];for(var e=0,i=r.length;e<i;){if(r[e]._name===t)return r[e];e+=1}return null}return i.propertyGroup=propertyGroupFactory(i,function(){return s}),r=a(t,e,i.propertyGroup),i.numProperties=r.length,i._name="Contents",i}}(),TextExpressionInterface=function(e){var i;function s(t){return"ADBE Text Document"!==t?null:s.sourceText}return Object.defineProperty(s,"sourceText",{get:function(){e.textProperty.getValue();var t=e.textProperty.currentData.t;return i&&t===i.value||((i=new String(t)).value=t||new String(t),Object.defineProperty(i,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),i}}),s};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})(t)}var FootageInterface=function(){function i(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=(r="",n=(s=t).getFootageData(),function(){return r="",n=s.getFootageData(),i}),e;function i(t){var e;return n[t]?"object"===_typeof(n=n[r=t])?i:n:-1!==(e=t.indexOf(r))?(t=parseInt(t.substr(e+r.length),10),"object"===_typeof(n=n[t])?i:n):""}var s,r,n}return function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=i(t),e}}(),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,i){e.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(t,e,i).bind(i)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.01),s=0;if(e.length){for(var r=0;r<e.length;r+=1)s+=Math.pow(i[r]-e[r],2);s=100*Math.sqrt(s)}else s=0;return s},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.001);if(e.length)for(var s=createTypedArray("float32",e.length),r=0;r<e.length;r+=1)s[r]=(i[r]-e[r])/-.001;else s=(i-e)/-.001;return s},getValueAtTime:function(t){return(t=(t*=this.elem.globalData.frameRate)-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 a(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(i?r=p-(s=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),s=p-(r=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-r)/s)%2!=0)return this.getValueAtTime((s-(h-r)%s+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(r/this.comp.globalData.frameRate,0),c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0),d=Math.floor((h-r)/s);if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=(c[n]-f[n])*d+u[n];return o}return(c-f)*d+u}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return m+(h-p)/.001*(m-y)}}return this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0)}function o(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(p<=h)return this.pv;if(i?r=p+(s=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):s=(r=l[e=!e||e>l.length-1?l.length-1:e].t)-p,"pingpong"===t){if(Math.floor((p-h)/s)%2==0)return this.getValueAtTime(((p-h)%s+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),u=this.getValueAtTime((s-(p-h)%s+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/s)+1;if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=u[n]-(c[n]-f[n])*d;return o}return u-(c-f)*d}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*(p-h)/.001;return o}return m+(m-y)*(p-h)/.001}}return this.getValueAtTime((s-((p-h)%s+p))/this.comp.globalData.frameRate,0)}function h(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;for(var i,s=this.comp.renderedFrame/this.comp.globalData.frameRate,r=s-t,n=1<e?(s+t-r)/(e-1):1,a=0,o=0,h=this.pv.length?createTypedArray("float32",this.pv.length):0;a<e;){if(i=this.getValueAtTime(r+a*n),this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]+=i[o];else h+=i;a+=1}if(this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]/=e;else h/=e;return h}var s=TransformPropertyFactory.getTransformProperty,l=(TransformPropertyFactory.getTransformProperty=function(t,e,i){t=s(t,e,i);return t.dynamicProperties.length?t.getValueAtTime=function(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e,i,s,r,n=this._transformCachingAtTime.v;return n.cloneFromProps(this.pre.props),this.appliedTransformations<1&&(i=this.a.getValueAtTime(t),n.translate(-i[0]*this.a.mult,-i[1]*this.a.mult,i[2]*this.a.mult)),this.appliedTransformations<2&&(i=this.s.getValueAtTime(t),n.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)),this.sk&&this.appliedTransformations<3&&(i=this.sk.getValueAtTime(t),e=this.sa.getValueAtTime(t),n.skewFromAxis(-i*this.sk.mult,e*this.sa.mult)),this.r&&this.appliedTransformations<4?(i=this.r.getValueAtTime(t),n.rotate(-i*this.r.mult)):!this.r&&this.appliedTransformations<4&&(e=this.rz.getValueAtTime(t),i=this.ry.getValueAtTime(t),s=this.rx.getValueAtTime(t),r=this.or.getValueAtTime(t),n.rotateZ(-e*this.rz.mult).rotateY(i*this.ry.mult).rotateX(s*this.rx.mult).rotateZ(-r[2]*this.or.mult).rotateY(r[1]*this.or.mult).rotateX(r[0]*this.or.mult)),this.data.p&&this.data.p.s?(e=this.px.getValueAtTime(t),i=this.py.getValueAtTime(t),this.data.p.z?(s=this.pz.getValueAtTime(t),n.translate(e*this.px.mult,i*this.py.mult,-s*this.pz.mult)):n.translate(e*this.px.mult,i*this.py.mult,0)):(r=this.p.getValueAtTime(t),n.translate(r[0]*this.p.mult,r[1]*this.p.mult,-r[2]*this.p.mult)),n}.bind(t):t.getValueAtTime=function(){return this.v.clone(new Matrix)}.bind(t),t.setGroupProperty=expressionHelpers.setGroupProperty,t},PropertyFactory.getProp);PropertyFactory.getProp=function(t,e,i,s,r){var s=l(t,e,i,s,r),n=(s.kf?s.getValueAtTime=expressionHelpers.getValueAtTime.bind(s):s.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s.loopOut=a,s.loopIn=o,s.smooth=h,s.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(s),s.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(s),s.numKeys=1===e.a?e.k.length:0,s.propertyIndex=e.ix,0);return 0!==i&&(n=createTypedArray("float32",(1===e.a?e.k[0].s:e.k).length)),s._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:n},expressionHelpers.searchExpressions(t,e,s),s.k&&r.addDynamicProperty(s),s};var t=ShapePropertyFactory.getConstructorFunction(),e=ShapePropertyFactory.getKeyframedConstructorFunction();function i(){}i.prototype={vertices:function(t,e){this.k&&this.getValue();for(var i=this.v,s=(i=void 0!==e?this.getValueAtTime(e,0):i)._length,r=i[t],n=i.v,a=createSizedArray(s),o=0;o<s;o+=1)a[o]="i"===t||"o"===t?[r[o][0]-n[o][0],r[o][1]-n[o][1]]:[r[o][0],r[o][1]];return a},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 i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));for(var e=this._segmentsLength,s=e.lengths,r=e.totalLength*t,n=0,a=s.length,o=0;n<a;){if(o+s[n].addedLength>r){var h=n,l=i.c&&n===a-1?0:n+1,p=(r-o)/s[n].addedLength,f=bez.getPointInSegment(i.v[h],i.v[l],i.o[h],i.i[l],p,s[n]);break}o+=s[n].addedLength,n+=1}return f=f||(i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]])},vectorOnPath:function(t,e,i){1==t?t=this.v.c:0==t&&(t=.999);var s=this.pointOnPath(t,e),t=this.pointOnPath(t+.001,e),e=t[0]-s[0],t=t[1]-s[1],s=Math.sqrt(Math.pow(e,2)+Math.pow(t,2));return 0===s?[0,0]:"tangent"===i?[e/s,t/s]:[-t/s,e/s]},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([i],t),extendPrototype([i],e),e.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),(t=(t*=this.elem.globalData.frameRate)-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},e.prototype.initiateExpression=ExpressionManager.initiateExpression;var n=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,i,s,r){s=n(t,e,i,s,r);return s.propertyIndex=e.ix,s.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,s):4===i&&expressionHelpers.searchExpressions(t,e.ks,s),s.k&&t.addDynamicProperty(s),s}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var i,e=this.calculateExpression(e);return t.t!==e?(this.copyData(i={},t),i.t=e.toString(),i.__complete=!1,i):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 TransformEffect(){}function CVTransformEffect(t){this.init(t)}return 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){var e,i,s,r,n,a,o;this._opMdf=!1,this._mdf=!1,(t||this.effectsManager._mdf)&&(e=(t=this.effectsManager.effectElements)[0].p.v,i=t[1].p.v,r=1===t[2].p.v,s=t[3].p.v,r=r?s:t[4].p.v,n=t[5].p.v,a=t[6].p.v,o=t[7].p.v,this.matrix.reset(),this.matrix.translate(-e[0],-e[1],e[2]),this.matrix.scale(.01*r,.01*s,
11),this.matrix.rotate(-o*degToRads),this.matrix.skewFromAxis(-n*degToRads,(a+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==t[8].p.v)&&(this.opacity=t[8].p.v,this._opMdf=!0)},extendPrototype([TransformEffect],CVTransformEffect),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(35,CVTransformEffect),lottie})}),Ac=Ec()}),Cl={};fr(Cl,{default:function(){return kc}});var Cc,kc,kl=ls(function(){qs(),Cc=is(function(Br,Or){var t,e;("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&(e=function(){function I(){return R}function P(){return V}var L="http://www.w3.org/2000/svg",V="",R=!1;function y(t){return document.createElement(t)}function g(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}z.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(t){for(var e=this.audios.length,i=0;i<e;i+=1)this.audios[i].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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}};var B=function(){return new z},q="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):O(t,e)}:O;function O(t,e){var i,s=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(s=0;s<e;s+=1)r.push(i);return r}function z(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}function x(t){return Array.apply(null,{length:t})}var N=!0,G=null,j="",H=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),v=Math.pow,$=Math.sqrt,X=Math.floor,Y=Math.max,J=Math.min,U=150,W=Math.PI/180,K=.5519;function Z(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 Q(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function tt(t,e){this.type=t,this.direction=e<0?-1:1}function et(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function it(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function st(t,e){this.type=t,this.target=e}function rt(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function nt(t){this.type="configError",this.nativeError=t}var at,S=function(){return j+"__lottie_element_"+(at+=1)};function ot(t,e,i){var s,r,n,a=Math.floor(6*t),t=6*t-a,o=i*(1-e),h=i*(1-t*e),l=i*(1-(1-t)*e);switch(a%6){case 0:s=i,r=l,n=o;break;case 1:s=h,r=i,n=o;break;case 2:s=o,r=i,n=l;break;case 3:s=o,r=h,n=i;break;case 4:s=l,r=o,n=i;break;case 5:s=i,r=o,n=h}return[s,r,n]}function lt(t,e,i){var s,r=Math.max(t,e,i),n=Math.min(t,e,i),a=r-n,o=0===r?0:a/r,h=r/255;switch(r){case n:s=0;break;case t:s=e-i+a*(e<i?6:0),s/=6*a;break;case e:s=i-t+2*a,s/=6*a;break;case i:s=t-e+4*a,s/=6*a}return[s,o,h]}function pt(t,e){t=lt(255*t[0],255*t[1],255*t[2]);return t[1]+=e,1<t[1]?t[1]=1:t[1]<=0&&(t[1]=0),ot(t[0],t[1],t[2])}function ft(t,e){t=lt(255*t[0],255*t[1],255*t[2]);return t[2]+=e,1<t[2]?t[2]=1:t[2]<0&&(t[2]=0),ot(t[0],t[1],t[2])}function ct(t,e){t=lt(255*t[0],255*t[1],255*t[2]);return t[0]+=e/360,1<t[0]?--t[0]:t[0]<0&&(t[0]+=1),ot(t[0],t[1],t[2])}for(var ut,dt=at=0;dt<256;dt+=1)ut=dt.toString(16),dt,ut.length;function mt(){return G}function yt(t){U=t}function gt(){return U}function E(t){return document.createElementNS(L,t)}function vt(t){return(vt="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})(t)}xt=1,St=[],Et={onmessage:function(){},postMessage:function(t){_t({data:t})}},s={postMessage:function(t){Et.onmessage({data:t})}};
vendor: 13,724 bytes, line 1
1var bt,_t,Pt,xt,St,Et,s,At={loadAnimation:function(t,e,i){Dt(),e=Ft(e,i),Pt.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},loadData:function(t,e,i){Dt(),e=Ft(e,i),Pt.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},completeAnimation:function(t,e,i){Dt(),e=Ft(e,i),Pt.postMessage({type:"complete",animation:t,id:e})}},kt=((i=y("canvas")).width=1,i.height=1,(t=i.getContext("2d")).fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),bt=i,Mt.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;for(var i=t.length,s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},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,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=wt(t,this.assetsPath,this.path),i=y("img"),s=(i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=bt,this._imageLoaded()}.bind(this),!1),i.src=e,{img:i,assetData:t});return s},createImageData:function(t){var e=wt(t,this.assetsPath,this.path),i=E("image"),s=(H?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=bt,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i),{img:i,assetData:t});return s},imageLoaded:Ct,footageLoaded:Tt,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},Mt);function Ct(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function Tt(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function wt(t,e,i){var s="";return s=t.e?t.p:e?e+(e=-1!==(e=t.p).indexOf("images/")?e.split("/")[1]:e):(s=i,(s+=t.u||"")+t.p)}function Mt(){this._imageLoaded=Ct.bind(this),this._footageLoaded=Tt.bind(this),this.testImageLoaded=function(t){var e=0,i=setInterval(function(){(t.getBBox().width||500<e)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}.bind(this),this.createFootageData=function(t){var e={assetData:t},t=wt(t,this.assetsPath,this.path);return At.loadData(t,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}function Dt(){var t,e;Pt||(t=function(e){function t(){function p(t,e){for(var i,s,r,n=t.length,a=0;a<n;a+=1)if("ks"in(r=t[a])&&!r.completed){if(r.completed=!0,r.hasMask)for(var o=r.masksProperties,h=o.length,l=0;l<h;l+=1)if(o[l].pt.k.i)u(o[l].pt.k);else for(s=o[l].pt.k.length,i=0;i<s;i+=1)o[l].pt.k[i].s&&u(o[l].pt.k[i].s[0]),o[l].pt.k[i].e&&u(o[l].pt.k[i].e[0]);0===r.ty?(r.layers=f(r.refId,e),p(r.layers,e)):4===r.ty?c(r.shapes):5===r.ty&&0===(r=r).t.a.length&&0 in r.t.p}}function f(t,e){t=function(t,e){for(var i=0,s=e.length;i<s;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return t?t.layers.__used?JSON.parse(JSON.stringify(t.layers)):(t.layers.__used=!0,t.layers):null}function c(t){for(var e,i,s=t.length-1;0<=s;--s)if("sh"===t[s].ty)if(t[s].ks.k.i)u(t[s].ks.k);else for(i=t[s].ks.k.length,e=0;e<i;e+=1)t[s].ks.k[e].s&&u(t[s].ks.k[e].s[0]),t[s].ks.k[e].e&&u(t[s].ks.k[e].e[0]);else"gr"===t[s].ty&&c(t[s].it)}function u(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function r(t,e){e=e?e.split("."):[100,100,100];return t[0]>e[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],t[2],0)))}h=[4,4,14];var s,n,a,o,h,l=function(t){if(r(h,t.v)&&(P(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&P(t.assets[i].layers)},d=(o=[4,7,99],function(t){if(t.chars&&!r(o,t.v))for(var e=t.chars.length,i=0;i<e;i+=1){var s=t.chars[i];s.data&&s.data.shapes&&(c(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}},t.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"})))}}),m=(a=[5,7,15],function(t){if(r(a,t.v)&&(_(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&_(t.assets[i].layers)}),y=(n=[4,1,9],function(t){if(r(n,t.v)&&(b(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&b(t.assets[i].layers)}),g=(s=[4,4,18],function(t){if(r(s,t.v)&&(v(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&v(t.assets[i].layers)});function v(t){for(var e,i,s,r=t.length,n=0;n<r;n+=1){if((e=t[n]).hasMask)for(var a=e.masksProperties,o=a.length,h=0;h<o;h+=1)if(a[h].pt.k.i)a[h].pt.k.c=a[h].cl;else for(s=a[h].pt.k.length,i=0;i<s;i+=1)a[h].pt.k[i].s&&(a[h].pt.k[i].s[0].c=a[h].cl),a[h].pt.k[i].e&&(a[h].pt.k[i].e[0].c=a[h].cl);4===e.ty&&function t(e){for(var i,s,r=e.length-1;0<=r;--r)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(s=e[r].ks.k.length,i=0;i<s;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}(e.shapes)}}function b(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&function t(e){for(var i,s,r=e.length,n=0;n<r;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(s=e[n].c.k.length,i=0;i<s;i+=1)e[n].c.k[i].s&&(e[n].c.k[i].s[0]/=255,e[n].c.k[i].s[1]/=255,e[n].c.k[i].s[2]/=255,e[n].c.k[i].s[3]/=255),e[n].c.k[i].e&&(e[n].c.k[i].e[0]/=255,e[n].c.k[i].e[1]/=255,e[n].c.k[i].e[2]/=255,e[n].c.k[i].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}(t[i].shapes)}function _(t){for(var e,i=t.length,s=0;s<i;s+=1)5===t[s].ty&&("number"==typeof(e=(e=t[s]).t.p).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 P(t){for(var e,i,s=t.length,r=0;r<s;r+=1)5===t[r].ty&&(e=t[r],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}var t={};return t.completeData=function(t){if(!t.__complete){y(t),l(t),d(t),m(t),g(t),p(t.layers,t.assets);var e=t.chars,i=t.assets;if(e)for(var s=0,r=e.length,s=0;s<r;s+=1)1===e[s].t&&(e[s].data.layers=f(e[s].data.refId,i),p(e[s].data.layers,i));t.__complete=!0}},t.checkColors=y,t.checkChars=d,t.checkPathProperties=m,t.checkShapes=g,t.completeLayers=p,t}var i;function a(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===vt(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}s.dataManager||(s.dataManager=t()),s.assetLoader||(s.assetLoader={load:function(e,i,t,s){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)r=a(n),t(r);else try{r=a(n),t(r)}catch(t){s&&s(t)}};try{n.open(["G","E","T"].join(""),e,!0)}catch(t){n.open(["G","E","T"].join(""),i+"/"+e,!0)}n.send()}}),"loadAnimation"===e.data.type?s.assetLoader.load(e.data.path,e.data.fullPath,function(t){s.dataManager.completeData(t),s.postMessage({id:e.data.id,payload:t,status:"success"})},function(){s.postMessage({id:e.data.id,status:"error"})}):"complete"===e.data.type?(i=e.data.animation,s.dataManager.completeData(i),s.postMessage({id:e.data.id,payload:i,status:"success"})):"loadData"===e.data.type&&s.assetLoader.load(e.data.path,e.data.fullPath,function(t){s.postMessage({id:e.data.id,payload:t,status:"success"})},function(){s.postMessage({id:e.data.id,status:"error"})})},(Pt=window.Worker&&window.Blob&&I()?(e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),e=URL.createObjectURL(e),new Worker(e)):(_t=t,Et)).onmessage=function(t){var t=t.data,e=t.id,i=St[e];St[e]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function Ft(t,e){var i="processId_"+(xt+=1);return St[i]={onComplete:t,onError:e},i}function It(){}It.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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 i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--s),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var Lt=function(e){for(var t=[],i=0;i<e.length;i+=1){var s=e[i],s={time:s.tm,duration:s.dr};try{s.payload=JSON.parse(e[i].cm)}catch(t){try{s.payload=function(t){for(var e,i=t.split("\r\n"),s={},r=0,n=0;n<i.length;n+=1)2===(e=i[n].split(":")).length&&(s[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return s}(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}t.push(s)}return t},Vt=function(){function t(t){for(var e=0,i=this.compositions.length;e<i;){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 t.compositions=[],t.currentFrame=0,t.registerComposition=Bt,t},Rt={};function Bt(t){this.compositions.push(t)}function Ot(t){return(Ot="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})(t)}function r(){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=S(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=N,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Vt(),this.imagePreloader=new kt,this.audioController=B(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Q("drawnFrame",0,0,0),this.expressionsPlugin=mt()}g([It],r),r.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg",i=(t.animType?e=t.animType:t.renderer&&(e=t.renderer),Rt[e]);this.renderer=new i(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||"",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")),At.loadAnimation(t.path,this.configAnimation,this.onSetupError))},r.prototype.onSetupError=function(){this.trigger("data_failed")},r.prototype.setupAnimation=function(t){At.completeAnimation(t,this.configAnimation)},r.prototype.setData=function(t,e){var e={wrapper:t,animationData:e=e&&"object"!==Ot(e)?JSON.parse(e):e},t=t.attributes,i=(e.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",e.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:function(){if(Rt.canvas)return"canvas";for(var t in Rt)if(Rt[t])return t;return""}()||"canvas",t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:""),i=("false"===i?e.loop=!1:"true"===i?e.loop=!0:""!==i&&(e.loop=parseInt(i,10)),t.getNamedItem("data-anim-
1autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value);e.autoplay="false"!==i,e.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(e.prerender=!1),e.path?this.setParams(e):this.trigger("destroy")},r.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));for(var e,i=this.animationData.layers,s=i.length,r=t.layers,n=r.length,a=0;a<n;a+=1)for(e=0;e<s;){if(i[e].id===r[a].id){i[e]=r[a];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(s=t.assets.length,e=0;e<s;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,At.completeAnimation(this.animationData,this.onSegmentComplete)},r.prototype.onSegmentComplete=function(t){this.animationData=t;t=mt();t&&t.initExpressions(this),this.loadNextSegment()},r.prototype.loadNextSegment=function(){var t=this.animationData.segments;t&&0!==t.length&&this.autoloadSegments?(t=t.shift(),this.timeCompleted=t.time*this.frameRate,t=this.path+this.fileName+"_"+this.segmentPos+".json",this.segmentPos+=1,At.loadData(t,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))):(this.trigger("data_ready"),this.timeCompleted=this.totalFrames)},r.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},r.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},r.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},r.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=Lt(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},r.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},r.prototype.checkLoaded=function(){var t;!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,(t=mt())&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay)&&this.play()},r.prototype.resize=function(t,e){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},r.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},r.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")},r.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame
vendor: 21,454 bytes, line 1
1(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},r.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"))},r.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())},r.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},r.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},r.prototype.getMarkerData=function(t){for(var e,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},r.prototype.goToAndStop=function(t,e,i){i&&this.name!==i||(i=Number(t),isNaN(i)?(i=this.getMarkerData(t))&&this.goToAndStop(i.time,!0):e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},r.prototype.goToAndPlay=function(t,e,i){var s;i&&this.name!==i||(s=Number(t),isNaN(s)?(t=this.getMarkerData(t))&&(t.duration?this.playSegments([t.time,t.time+t.duration],!0):this.goToAndStop(t.time,!0)):this.goToAndStop(s,e,i),this.play())},r.prototype.advanceTime=function(t){var e;!0!==this.isPaused&&!1!==this.isLoaded&&(e=!1,(t=this.currentRawFrame+t*this.frameModifier)>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e)&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))},r.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(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")},r.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},r.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===Ot(t[0]))for(var i=t.length,s=0;s<i;s+=1)this.segments.push(t[s]);else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},r.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},r.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},r.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)},r.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},r.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},r.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},r.prototype.setLoop=function(t){this.loop=t},r.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},r.prototype.getVolume=function(){return this.audioController.getVolume()},r.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},r.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},r.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},r.prototype.getPath=function(){return this.path},r.prototype.getAssetsPath=function(t){var e,i="";return i=t.e?t.p:this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),this.assetsPath+e):(i=this.path,(i+=t.u||"")+t.p)},r.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},r.prototype.hide=function(){this.renderer.hide()},r.prototype.show=function(){this.renderer.show()},r.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},r.prototype.updateDocumentData=function(t,e,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},r.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new Q(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 et(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new tt(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new it(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new st(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new Q(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new et(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new tt(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new it(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new st(t,this))},r.prototype.triggerRenderFrameError=function(t){t=new rt(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},r.prototype.triggerConfigError=function(t){t=new nt(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},n=[],$t=!(Wt=!(qt=a=Ht=0)),(t={}).registerAnimation=ie,t.loadAnimation=function(t){var e=new r;return ne(e,null),e.setParams(t),e},t.setSpeed=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setSpeed(t,e)},t.setDirection=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setDirection(t,e)},t.play=function(t){for(var e=0;e<a;e+=1)n[e].animation.play(t)},t.pause=function(t){for(var e=0;e<a;e+=1)n[e].animation.pause(t)},t.stop=function(t){for(var e=0;e<a;e+=1)n[e].animation.stop(t)},t.togglePause=function(t){for(var e=0;e<a;e+=1)n[e].animation.togglePause(t)},t.searchAnimations=function(t,e,i){for(var s,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=r.length,a=0;a<n;a+=1)i&&r[a].setAttribute("data-bm-type",i),ie(r[a],t);e&&0===n&&(i=i||"svg",(e=document.getElementsByTagName("body")[0]).innerText="",(s=y("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),e.appendChild(s),ie(s,t))},t.resize=function(){for(var t=0;t<a;t+=1)n[t].animation.resize()},t.goToAndStop=function(t,e,i){for(var s=0;s<a;s+=1)n[s].animation.goToAndStop(t,e,i)},t.destroy=function(t){for(var e=a-1;0<=e;--e)n[e].animation.destroy(t)},t.freeze=function(){$t=!0},t.unfreeze=function(){$t=!1,he()},t.setVolume=function(t,e){for(var i=0;i<a;i+=1)n[i].animation.setVolume(t,e)},t.mute=function(t){for(var e=0;e<a;e+=1)n[e].animation.mute(t)},t.unmute=function(t){for(var e=0;e<a;e+=1)n[e].animation.unmute(t)},t.getRegisteredAnimations=function(){for(var t=n.length,e=[],i=0;i<t;i+=1)e.push(n[i].animation);return e};var zt,Nt,Gt,jt,n,Ht,a,qt,Wt,$t,e=t,Xt=(i={getBezierEasing:function(t,e,i,s,r){r=r||("bez_"+t+"_"+e+"_"+i+"_"+s).replace(/\./g,"p");return zt[r]||(t=new te([t,e,i,s]),zt[r]=t)}},zt={},Gt=1/((Nt=11)-1),jt="function"==typeof Float32Array,te.prototype={get:function(t){var e=this._p[0],i=this._p[1],s=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&s===r?t:0===t?0:1===t?1:Zt(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],s=this._p[3];this._precomputed=!0,t===e&&i===s||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<Nt;++i)this._mSampleValues[i]=Zt(i*Gt,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,r=0,n=1,a=Nt-1;n!==a&&s[n]<=t;++n)r+=Gt;var o=r+(t-s[--n])/(s[n+1]-s[n])*Gt,h=Qt(o,e,i);if(.001<=h){for(var l=t,p=o,f=e,c=i,u=0;u<4;++u){var d=Qt(p,f,c);if(0===d)return p;p-=(Zt(p,f,c)-l)/d}return p}if(0===h)return o;for(var m,y,g=t,v=r,b=r+Gt,_=e,P=i,x=0;0<(m=Zt(y=v+(b-v)/2,_,P)-g)?b=y:v=y,1e-7<Math.abs(m)&&++x<10;);return y}},i),Yt={double:function(t){return t.concat(x(t.length))}},t=function(t,e,i){var s=0,r=t,n=x(r);return{newElement:function(){var t;return t=s?n[--s]:e(),t},release:function(t){s===r&&(n=Yt.double(n),r*=2),i&&i(t),n[s]=t,s+=1}}},Jt=t(8,function(){return{addedLength:0,percents:q("float32",gt()),lengths:q("float32",gt())}}),Ut=t(8,function(){return{lengths:[],totalLength:0}},function(t){for(var e=t.lengths.length,i=0;i<e;i+=1)Jt.release(t.lengths[i]);t.lengths.length=0});function Kt(t,e){return 1-3*e+3*t}function Zt(t,e,i){return((Kt(e,i)*t+(3*i-6*e))*t+3*e)*t}function Qt(t,e,i){return 3*Kt(e,i)*t*t+2*(3*i-6*e)*t+3*e}function te(t){this._p=t,this._mSampleValues=new(jt?Float32Array:Array)(Nt),this._precomputed=!1,this.get=this.get.bind(this)}function ee(t){for(var e=0,i=t.target;e<a;)n[e].animation===i&&(n.splice(e,1),--e,--a,i.isPaused||re()),e+=1}function ie(t,e){if(!t)return null;for(var i=0;i<a;){if(n[i].elem===t&&null!==n[i].elem)return n[i].animation;i+=1}var s=new r;return ne(s,t),s.setData(t,e),s}function se(){qt+=1,he()}function re(){--qt}function ne(t,e){t.addEventListener("destroy",ee),t.addEventListener("_active",se),t.addEventListener("_idle",re),n.push({elem:e,animation:t}),a+=1}function ae(t){for(var e=t-Ht,i=0;i<a;i+=1)n[i].animation.advanceTime(e);Ht=t,qt&&!$t?window.requestAnimationFrame(ae):Wt=!0}function oe(t){Ht=t,window.requestAnimationFrame(ae)}function he(){!$t&&qt&&Wt&&(window.requestAnimationFrame(oe),Wt=!1)}k=Math,pe=function(t,e,i,s){for(var r,n,a,o,h=gt(),l=0,p=[],f=[],c=Jt.newElement(),u=i.length,d=0;d<h;d+=1){for(a=d/(h-1),r=o=0;r<u;r+=1)n=v(1-a,3)*t[r]+3*v(1-a,2)*a*i[r]+3*(1-a)*v(a,2)*s[r]+v(a,3)*e[r],p[r]=n,null!==f[r]&&(o+=v(p[r]-f[r],2)),f[r]=p[r];o&&(l+=o=$(o)),c.percents[d]=a,c.lengths[d]=l}return c.addedLength=l,c},le={},fe=q("float32",8);var k,le,pe,fe,ht={getSegmentsLength:function(t){for(var e=Ut.newElement(),i=t.c,s=t.v,r=t.o,n=t.i,a=t._length,o=e.lengths,h=0,l=0;l<a-1;l+=1)o[l]=pe(s[l],s[l+1],r[l],n[l+1]),h+=o[l].addedLength;return i&&a&&(o[l]=pe(s[l],s[0],r[l],n[0]),h+=o[l].addedLength),e.totalLength=h,e},getNewSegment:function(t,e,i,s,r,n,a){r<0?r=0:1<r&&(r=1);for(var r=ve(r,a),n=ve(n=1<n?1:n,a),o=t.length,h=1-n,l=(a=1-r)*a*a,p=r*a*a*3,f=r*r*a*3,c=r*r*r,u=a*a*h,d=r*a*h+a*r*h+a*a*n,m=r*r*h+a*r*n+r*a*n,y=r*r*n,g=a*h*h,v=r*h*h+a*n*h+a*h*n,b=r*n*h+a*n*n+r*h*n,_=r*n*n,P=h*h*h,x=n*h*h+h*n*h+h*h*n,S=n*n*h+h*n*n+n*h*n,E=n*n*n,A=0;A<o;A+=1)fe[4*A]=k.round(1e3*(l*t[A]+p*i[A]+f*s[A]+c*e[A]))/1e3,fe[4*A+1]=k.round(1e3*(u*t[A]+d*i[A]+m*s[A]+y*e[A]))/1e3,fe[4*A+2]=k.round(1e3*(g*t[A]+v*i[A]+b*s[A]+_*e[A]))/1e3,fe[4*A+3]=k.round(1e3*(P*t[A]+x*i[A]+S*s[A]+E*e[A]))/1e3;return fe},getPointInSegment:function(t,e,i,s,r,n){return r=ve(r,n),n=1-r,[k.round(1e3*(n*n*n*t[0]+(r*n*n+n*r*n+n*n*r)*i[0]+(r*r*n+n*r*r+r*n*r)*s[0]+r*r*r*e[0]))/1e3,k.round(1e3*(n*n*n*t[1]+(r*n*n+n*r*n+n*n*r)*i[1]+(r*r*n+n*r*r+r*n*r)*s[1]+r*r*r*e[1]))/1e3]},buildBezierData:ge,pointOnLine2D:de,pointOnLine3D:function(t,e,i,s,r,n,a,o,h){var l;return 0===i&&0===n&&0===h?de(t,e,s,r,a,o):(l=k.sqrt(k.pow(s-t,2)+k.pow(r-e,2)+k.pow(n-i,2)),t=k.sqrt(k.pow(a-t,2)+k.pow(o-e,2)+k.pow(h-i,2)),e=k.sqrt(k.pow(a-s,2)+k.pow(o-r,2)+k.pow(h-n,2)),-1e-4<(i=t<l?e<l?l-t-e:e-t-l:t<e?e-t-l:t-l-e)&&i<1e-4)}},ce=-999999,ue=Math.abs;function de(t,e,i,s,r,n){r=t*s+e*r+i*n-r*s-n*t-i*e;return-.001<r&&r<.001}function me(t){this.segmentLength=0,this.points=new Array(t)}function ye(t,e){this.partialLength=t,this.point=e}function ge(t,e,i,s){var r=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!le[r]){for(var n,a,o,h,l,p=gt(),f=0,c=null,u=new me(p=2===t.length&&(t[0]!==e[0]||t[1]!==e[1])&&de(t[0],t[1],e[0],e[1],t[0]+i[0],t[1]+i[1])&&de(t[0],t[1],e[0],e[1],e[0]+s[0],e[1]+s[1])?2:p),d=i.length,m=0;m<p;m+=1){for(l=x(d),o=m/(p-1),n=h=0;n<d;n+=1)a=v(1-o,3)*t[n]+3*v(1-o,2)*o*(t[n]+i[n])+3*(1-o)*v(o,2)*(e[n]+s[n])+v(o,3)*e[n],l[n]=a,null!==c&&(h+=v(l[n]-c[n],2));f+=h=$(h),u.points[m]=new ye(h,l),c=l}u.segmentLength=f,le[r]=u}return le[r]}function ve(t,e){var i=e.percents,s=e.lengths,r=i.length,n=X((r-1)*t),a=t*e.addedLength,o=0;if(n===r-1||0===n||a===s[n])return i[n];for(var h=s[n]>a?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||r-1<=n){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}function be(t,e){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=q("float32",this.pv.length));for(var r,n,a=e.lastIndex,o=a,R=this.keyframes.length-1,h=!0;h;){if(r=this.keyframes[o],n=this.keyframes[o+1],o===R-1&&t>=n.t-s){r.h&&(r=n),a=0;break}if(n.t-s>t){a=o;break}o<R-1?o+=1:(a=0,h=!1)}var l,p,f,c,u,d,m,y,g,B,v,b,_,P=this.keyframesMetadata[o]||{},x=n.t-s,S=r.t-s;if(r.to){P.bezierData||(P.bezierData=ht.buildBezierData(r.s,n.s||r.e,r.to,r.ti));var E=P.bezierData;if(x<=t||t<S)for(var O=x<=t?E.points.length-1:0,A=E.points[O].point.length,k=0;k<A;k+=1)i[k]=E.points[O].point[k];else{P.__fnct?l=P.__fnct:(l=Xt.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,P.__fnct=l);for(var z,C=l((t-S)/(x-S)),T=E.segmentLength*C,w=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastAddedLength:0,M=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastPoint:0,h=!0,N=E.points.length;h;){if(w+=E.points[M].partialLength,0==T||0===C||M===E.points.length-1){for(A=E.points[M].point.length,k=0;k<A;k+=1)i[k]=E.points[M].point[k];break}if(w<=T&&T<w+E.points[M+1].partialLength){for(z=(T-w)/E.points[M+1].partialLength,A=E.points[M].point.length,k=0;k<A;k+=1)i[k]=E.points[M].point[k]+(E.points[M+1].point[k]-E.points[M].point[k])*z;break}M<N-1?M+=1:h=!1}e._lastPoint=M,e._lastAddedLength=w-E.points[M].partialLength,e._lastKeyframeIndex=o}}else{var D,F,G,j,H,I,L,R=r.s.length,V=n.s||r.e;if(this.sh&&1!==r.h)x<=t?(i[0]=V[0],i[1]=V[1],i[2]=V[2]):t<=S?(i[0]=r.s[0],i[1]=r.s[1],i[2]=r.s[2]):(I=_e(r.s),L=_e(V),p=i,L=L,f=(t-S)/(x-S),m=[],y=(I=I)[0],g=I[1],B=I[2],I=I[3],v=L[0],b=L[1],_=L[2],L=L[3],(d=y*v+g*b+B*_+I*L)<0&&(d=-d,v=-v,b=-b,_=-_,L=-L),d=1e-6<1-d?(d=Math.acos(d),c=Math.sin(d),u=Math.sin((1-f)*d)/c,Math.sin(f*d)/c):(u=1-f,f),m[0]=u*y+d*v,m[1]=u*g+d*b,m[2]=u*B+d*_,m[3]=u*I+d*L,f=(c=m)[0],y=c[1],v=c[2],c=c[3],g=Math.atan2(2*y*c-2*f*v,1-2*y*y-2*v*v),b=Math.asin(2*f*y+2*v*c),c=Math.atan2(2*f*c-2*y*v,1-2*f*f-2*v*v),p[0]=g/W,p[1]=b/W,p[2]=c/W);else for(o=0;o<R;o+=1)1!==r.h&&(C=x<=t?1:t<S?0:(r.o.x.constructor===Array?(P.__fnct||(P.__fnct=[]),P.__fnct[o]?l=P.__fnct[o]:(D=void 0===r.o.x[o]?r.o.x[0]:r.o.x[o],F=void 0===r.o.y[o]?r.o.y[0]:r.o.y[o],G=void 0===r.i.x[o]?r.i.x[0]:r.i.x[o],j=void 0===r.i.y[o]?r.i.y[0]:r.i.y[o],l=Xt.getBezierEasing(D,F,G,j).get,P.__fnct[o]=l)):P.__fnct?l=P.__fnct:(D=r.o.x,F=r.o.y,G=r.i.x,j=r.i.y,l=Xt.getBezierEasing(D,F,G,j).get,r.keyframeMetadata=l),l((t-S)/(x-S)))),V=n.s||r.e,H=1===r.h?r.s[o]:r.s[o]+(V[o]-r.s[o])*C,"multidimensional"===this.propType?i[o]=H:i=H}return e.lastIndex=a,i}function _e(t){var e=t[0]*W,i=t[1]*W,t=t[2]*W,s=Math.cos(e/2),r=Math.cos(i/2),n=Math.cos(t/2),e=Math.sin(e/2),i=Math.sin(i/2),t=Math.sin(t/2);return[e*i*n+s*r*t,e*r*n+s*i*t,s*i*n-e*r*t,s*r*n-e*i*t]}function Pe(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||this._caching.lastFrame!==ce&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),i=this.interpolateValue(t,this._caching),this.pv=i),this._caching.lastFrame=t,this.pv}function xe(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<ue(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,1e-5<ue(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function Se(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;for(var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k,i=0;i<t;i+=1)e=this.effectsSequence[i](e);this.setVValue(e),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Ee(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Ae(t,e,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Se,this.setVValue=xe,this.addEffect=Ee}function ke(t,e,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,n=e.k.length;for(this.v=q("float32",n),this.pv=q("float32",n),this.vel=q("float32",n),r=0;r<n;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Se,this.setVValue=xe,this.addEffect=Ee}function Ce(t,e,i,s){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:ce,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.v=ce,this.pv=ce,this._isFirstFrame=!0,this.getValue=Se,this.setVValue=xe,this.interpolateValue=be,this.effectsSequence=[Pe.bind(this)],this.addEffect=Ee}function Te(t,e,i,s){this.propType="multidimensional";for(var r,n,a,o,h=e.k.length,l=0;l<h-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l+1]&&e.k[l+1].s&&(r=e.k[l].s,n=e.k[l+1].s,a=e.k[l].to,o=e.k[l].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&ht.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+a[0],r[1]+a[1])&&ht.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+o[0],n[1]+o[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&ht.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+a[0],r[1]+a[1],r[2]+a[2])&&ht.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+o[0],n[1]+o[1],n[2]+o[2]))&&(e.k[l].to=null,e.k[l].ti=null),r[0]===n[0])&&r[1]===n[1]&&0===a[0]&&0===a[1]&&0===o[0]&&0===o[1]&&(2===r.length||r[2]===n[2]&&0===a[2]&&0===o[2])&&(e.k[l].to=null,e.k[l].ti=null);this.effectsSequence=[Pe.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=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=Se,this.setVValue=xe,this.interpolateValue=be,this.frameId=-1;var p=e.k[0].s.length;for(this.v=q("float32",p),this.pv=q("float32",p),l=0;l<p;l+=1)this.v[l]=ce,this.pv[l]=ce;this._caching={lastFrame:ce,lastIndex:0,value:q("float32",p)},this.addEffect=Ee}var A={getProp:function(t,e,i,s,r){var n;if((e=e.sid?t.globalData.slotManager.getProp(e):e).k.length)if("number"==typeof e.k[0])n=new ke(t,e,s,r);else switch(i){case 0:n=new Ce(t,e,s,r);break;case 1:n=new Te(t,e,s,r)}else n=new Ae(t,e,s,r);return n.effectsSequence.length&&r.addDynamicProperty(n),n}};function b(){}b.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var we=t(8,function(){return q("float32",2)});function Me(){this.c=!1,this._length=0,this._maxLength=8,this.v=x(this._maxLength),this.o=x(this._maxLength),this.i=x(this._maxLength)}Me.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=we.newElement(),this.o[i]=we.newElement(),this.i[i]=we.newElement(),i+=1},Me.prototype.setLength=function(t){for(;this._maxLength<t;
1)this.doubleArrayLength();this._length=t},Me.prototype.doubleArrayLength=function(){this.v=this.v.concat(x(this._maxLength)),this.i=this.i.concat(x(this._maxLength)),this.o=this.o.concat(x(this._maxLength)),this._maxLength*=2},Me.prototype.setXYAt=function(t,e,i,s,r){var n;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=we.newElement()),n[s][0]=t,n[s][1]=e},Me.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},Me.prototype.reverse=function(){for(var t=new Me,e=(t.setPathData(this.c,this._length),this.v),i=this.o,s=this.i,r=0,n=(this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1),this._length-1),a=this._length,o=r;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],s[n][0],s[n][1],i[n][0],i[n][1],o,!1),--n;return t},Me.prototype.length=function(){return this._length};(De=t(4,function(){return new Me},function(t){for(var e=t._length,i=0;i<e;i+=1)we.release(t.v[i]),we.release(t.i[i]),we.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1})).clone=function(t){var e,i=De.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i};var De,_=De;function Fe(){this._length=0,this._maxLength=4,this.shapes=x(this._maxLength)}Fe.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(x(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},Fe.prototype.releaseShapes=function(){for(var t=0;t<this._length;t+=1)_.release(this.shapes[t]);this._length=0};i={newShapeCollection:function(){var t;return t=Be?ze[--Be]:new Fe,t},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)_.release(t.shapes[e]);t._length=0,Be===Oe&&(ze=Yt.double(ze),Oe*=2),ze[Be]=t,Be+=1}},Be=0,ze=x(Oe=4);var Ie,Le,Ve,Re,Be,Oe,ze,Ne=i,Ge=function(){var r=-999999;function t(t,e,i){var s,r,n,a,o,h,l=i.lastIndex,p=this.keyframes;
vendor: 67,702 bytes, line 1
1if(t<p[0].t-this.offsetTime)s=p[0].s[0],b=!0,l=0;else if(t>=p[p.length-1].t-this.offsetTime)s=(p[p.length-1].s?p[p.length-1].s:p[p.length-2].e)[0],b=!0;else{for(var f,c,u=l,d=p.length-1,m=!0;m&&(f=p[u],!((c=p[u+1]).t-this.offsetTime>t));)u<d-1?u+=1:m=!1;var y,g,v,b,_=this.keyframesMetadata[u]||{},l=u;(b=1===f.h)||(g=t>=c.t-this.offsetTime?1:t<f.t-this.offsetTime?0:(_.__fnct?y=_.__fnct:(y=Xt.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,_.__fnct=y),y((t-(f.t-this.offsetTime))/(c.t-this.offsetTime-(f.t-this.offsetTime)))),v=(c.s||f.e)[0]),s=f.s[0]}for(a=e._length,o=s.i[0].length,i.lastIndex=l,r=0;r<a;r+=1)for(n=0;n<o;n+=1)h=b?s.i[r][n]:s.i[r][n]+(v.i[r][n]-s.i[r][n])*g,e.i[r][n]=h,h=b?s.o[r][n]:s.o[r][n]+(v.o[r][n]-s.o[r][n])*g,e.o[r][n]=h,h=b?s.v[r][n]:s.v[r][n]+(v.v[r][n]-s.v[r][n])*g,e.v[r][n]=h}function s(){this.paths=this.localShapeCollection}function e(t){!function(t,e){if(t._length===e._length&&t.c===e.c){for(var i=t._length,s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return;return 1}}(this.v,t)&&(this.v=_.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;for(var t=this.kf?this.pv:(this.data.ks||this.data.pt).k,e=this.effectsSequence.length,i=0;i<e;i+=1)t=this.effectsSequence[i](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,i){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;t=(3===i?e.pt:e.ks).k;this.v=_.clone(t),this.pv=_.clone(this.v),this.localShapeCollection=Ne.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=(3===i?e.pt:e.ks).k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;t=this.keyframes[0].s[0].i.length;this.v=_.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,t),this.pv=_.clone(this.v),this.localShapeCollection=Ne.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s,this._caching={lastFrame:r,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==r&&(s<e&&t<e||i<s&&i<t)||(this._caching.lastIndex=s<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=i,n.prototype.setVValue=e,n.prototype.addEffect=a,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=a;h=K,d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertEllToPath()},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=3!==this.d,n=this.v;n.v[0][0]=t,n.v[0][1]=e-s,n.v[1][0]=r?t+i:t-i,n.v[1][1]=e,n.v[2][0]=t,n.v[2][1]=e+s,n.v[3][0]=r?t-i:t+i,n.v[3][1]=e,n.i[0][0]=r?t-i*h:t+i*h,n.i[0][1]=e-s,n.i[1][0]=r?t+i:t-i,n.i[1][1]=e-s*h,n.i[2][0]=r?t+i*h:t-i*h,n.i[2][1]=e+s,n.i[3][0]=r?t-i:t+i,n.i[3][1]=e+s*h,n.o[0][0]=r?t+i*h:t-i*h,n.o[0][1]=e-s,n.o[1][0]=r?t+i:t-i,n.o[1][1]=e+s*h,n.o[2][0]=r?t-i*h:t+i*h,n.o[2][1]=e+s,n.o[3][0]=r?t-i:t+i,n.o[3][1]=e-s*h}},g([b],d);var h,l=d,p=(u.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertToPath()},convertStarToPath:function(){for(var t=2*Math.floor(this.pt.v),e=2*Math.PI/t,i=!0,s=this.or.v,r=this.ir.v,n=this.os.v,a=this.is.v,o=2*Math.PI*s/(2*t),h=2*Math.PI*r/(2*t),l=-Math.PI/2,p=(l+=this.r.v,3===this.data.d?-1:1),f=this.v._length=0;f<t;f+=1){var c=i?n:a,u=i?o:h,d=(m=i?s:r)*Math.cos(l),m=m*Math.sin(l),y=0==d&&0==m?0:m/Math.sqrt(d*d+m*m),g=0==d&&0==m?0:-d/Math.sqrt(d*d+m*m);d+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(d,m,d-y*u*c*p,m-g*u*c*p,d+y*u*c*p,m+g*u*c*p,f,!0),i=!i,l+=e*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,s=this.or.v,r=this.os.v,n=2*Math.PI*s/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=s*Math.cos(a),l=s*Math.sin(a),p=0==h&&0==l?0:l/Math.sqrt(h*h+l*l),f=0==h&&0==l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*n*r*o,l-f*n*r*o,h+p*n*r*o,l+f*n*r*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},g([b],u),u),f=(c.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=J(i,s,this.r.v),n=r*(1-K);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+r,t+i,e-s+n,0,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-n,t+i,e+s-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+s,t+i-r,e+s,t+i-n,e+s,2,!0),this.v.setTripleAt(t-i+r,e+s,t-i+n,e+s,t-i+r,e+s,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-r,t-i,e+s-n,4,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+n,t-i,e-s+r,5,!0),this.v.setTripleAt(t-i+r,e-s,t-i+r,e-s,t-i+n,e-s,6,!0),this.v.setTripleAt(t+i-r,e-s,t+i-n,e-s,t+i-r,e-s,7,!0)):(this.v.setTripleAt(t-i,e+s,t-i+n,e+s,t-i,e+s,2),this.v.setTripleAt(t-i,e-s,t-i,e-s+n,t-i,e-s,3))):(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+n,t+i,e-s+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-s,t+i-r,e-s,t+i-n,e-s,1,!0),this.v.setTripleAt(t-i+r,e-s,t-i+n,e-s,t-i+r,e-s,2,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+r,t-i,e-s+n,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-n,t-i,e+s-r,4,!0),this.v.setTripleAt(t-i+r,e+s,t-i+r,e+s,t-i+n,e+s,5,!0),this.v.setTripleAt(t+i-r,e+s,t+i-n,e+s,t+i-r,e+s,6,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-r,t+i,e+s-n,7,!0)):(this.v.setTripleAt(t-i,e-s,t-i+n,e-s,t-i,e-s,1,!0),this.v.setTripleAt(t-i,e+s,t-i,e+s-n,t-i,e+s,2,!0),this.v.setTripleAt(t+i,e+s,t+i-n,e+s,t+i,e+s,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertRectToPath()},reset:s},g([b],c),c);function c(t,e){this.v=_.newElement(),this.v.c=!0,this.localShapeCollection=Ne.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=A.getProp(t,e.p,1,0,this),this.s=A.getProp(t,e.s,1,0,this),this.r=A.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}function u(t,e){this.v=_.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=A.getProp(t,e.ir,0,0,this),this.is=A.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=A.getProp(t,e.pt,0,0,this),this.p=A.getProp(t,e.p,1,0,this),this.r=A.getProp(t,e.r,0,W,this),this.or=A.getProp(t,e.or,0,0,this),this.os=A.getProp(t,e.os,0,.01,this),this.localShapeCollection=Ne.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}function d(t,e){this.v=_.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Ne.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=A.getProp(t,e.p,1,0,this),this.s=A.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}var m={getShapeProp:function(t,e,i){var s;return 3===i||4===i?s=new((3===i?e.pt:e.ks).k.length?o:n)(t,e,i):5===i?s=new f(t,e):6===i?s=new l(t,e):7===i&&(s=new p(t,e)),s.k&&t.addDynamicProperty(s),s},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),o=(Ie=Math.cos,Le=Math.sin,Ve=Math.tan,Re=Math.round,function(){this.reset=je,this.rotate=He,this.rotateX=qe,this.rotateY=We,this.rotateZ=$e,this.skew=Ye,this.skewFromAxis=Je,this.shear=Xe,this.scale=Ue,this.setTransform=Ke,this.translate=Ze,this.transform=Qe,this.multiply=ti,this.applyToPoint=ni,this.applyToX=ai,this.applyToY=oi,this.applyToZ=hi,this.applyToPointArray=ui,this.applyToTriplePoints=ci,this.applyToPointStringified=di,this.toCSS=mi,this.to2dCSS=gi,this.clone=si,this.cloneFromProps=ri,this.equals=ii,this.inversePoints=fi,this.inversePoint=pi,this.getInverseMatrix=li,this._t=this.transform,this.isIdentity=ei,this._identity=!0,this._identityCalculated=!1,this.props=q("float32",16),this.reset()});function je(){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 He(t){var e;return 0===t?this:(e=Ie(t),t=Le(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function qe(t){var e;return 0===t?this:(e=Ie(t),t=Le(t),this._t(1,0,0,0,0,e,-t,0,0,t,e,0,0,0,0,1))}function We(t){var e;return 0===t?this:(e=Ie(t),t=Le(t),this._t(e,0,t,0,0,1,0,0,-t,0,e,0,0,0,0,1))}function $e(t){var e;return 0===t?this:(e=Ie(t),t=Le(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function Xe(t,e){return this._t(1,e,t,1,0,0)}function Ye(t,e){return this.shear(Ve(t),Ve(e))}function Je(t,e){var i=Ie(e),e=Le(e);return this._t(i,e,0,0,-e,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,Ve(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-e,0,0,e,i,0,0,0,0,1,0,0,0,0,1)}function Ue(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function Ke(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=s,this.props[4]=r,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=c,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function Ze(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function Qe(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){var y,g,v,b,_,P,x,S,E,A,k,C,T,w,M,D,F=this.props;return 1===t&&0===e&&0===i&&0===s&&0===r&&1===n&&0===a&&0===o&&0===h&&0===l&&1===p&&0===f?(F[12]=F[12]*t+F[15]*c,F[13]=F[13]*n+F[15]*u,F[14]=F[14]*p+F[15]*d,F[15]*=m,this._identityCalculated=!1):(y=F[0],g=F[1],v=F[2],b=F[3],_=F[4],P=F[5],x=F[6],S=F[7],E=F[8],A=F[9],k=F[10],C=F[11],T=F[12],w=F[13],M=F[14],D=F[15],F[0]=y*t+g*r+v*h+b*c,F[1]=y*e+g*n+v*l+b*u,F[2]=y*i+g*a+v*p+b*d,F[3]=y*s+g*o+v*f+b*m,F[4]=_*t+P*r+x*h+S*c,F[5]=_*e+P*n+x*l+S*u,F[6]=_*i+P*a+x*p+S*d,F[7]=_*s+P*o+x*f+S*m,F[8]=E*t+A*r+k*h+C*c,F[9]=E*e+A*n+k*l+C*u,F[10]=E*i+A*a+k*p+C*d,F[11]=E*s+A*o+k*f+C*m,F[12]=T*t+w*r+M*h+D*c,F[13]=T*e+w*n+M*l+D*u,F[14]=T*i+w*a+M*p+D*d,F[15]=T*s+w*o+M*f+D*m,this._identityCalculated=!1),this}function ti(t){t=t.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function ei(){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]||0!==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 ii(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function si(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function ri(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function ni(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function ai(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function oi(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function hi(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function li(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,i=-this.props[1]/t,s=-this.props[4]/t,r=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,t=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new o;return a.props[0]=e,a.props[1]=i,a.props[4]=s,a.props[5]=r,a.props[12]=n,a.props[13]=t,a}function pi(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function fi(t){for(var e=t.length,i=[],s=0;s<e;s+=1)i[s]=pi(t[s]);return i}function ci(t,e,i){var s,r,n,a,o,h,l=q("float32",6);return this.isIdentity()?(l[0]=t[0],l[1]=t[1],l[2]=e[0],l[3]=e[1],l[4]=i[0],l[5]=i[1]):(s=this.props[0],r=this.props[1],n=this.props[4],a=this.props[5],o=this.props[12],h=this.props[13],l[0]=t[0]*s+t[1]*n+o,l[1]=t[0]*r+t[1]*a+h,l[2]=e[0]*s+e[1]*n+o,l[3]=e[0]*r+e[1]*a+h,l[4]=i[0]*s+i[1]*n+o,l[5]=i[0]*r+i[1]*a+h),l}function ui(t,e,i){t=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]];return t}function di(t,e){var i;return this.isIdentity()?t+","+e:(i=this.props,Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100)}function mi(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i=i+Re(1e4*e[t])/1e4+(15===t?")":","),t+=1;return i}function yi(t){return t<1e-6&&0<t||-1e-6<t&&t<0?Re(1e4*t)/1e4:t}function gi(){var t=this.props;return"matrix("+yi(t[0])+","+yi(t[1])+","+yi(t[4])+","+yi(t[5])+","+yi(t[12])+","+yi(t[13])+")"}function vi(t){return(vi="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})(t)}t={};function bi(){e.searchAnimations()}t.play=e.play,t.pause=e.pause,t.setLocationHref=function(t){V=t},t.togglePause=e.togglePause,t.setSpeed=e.setSpeed,t.setDirection=e.setDirection,t.stop=e.stop,t.searchAnimations=bi,t.registerAnimation=e.registerAnimation,t.loadAnimation=function(t){return e.loadAnimation(t)},t.setSubframeRendering=function(t){N=!!t},t.resize=e.resize,t.goToAndStop=e.goToAndStop,t.destroy=e.destroy,t.setQuality=function(t){if("string"==typeof t)switch(t){case"high":yt(200);break;default:case"medium":yt(50);break;case"low":yt(10)}else!isNaN(t)&&1<t&&yt(t)},t.inBrowser=function(){return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"},t.installPlugin=function(t,e){"expressions"===t&&(G=e)},t.freeze=e.freeze,t.unfreeze=e.unfreeze,t.setVolume=e.setVolume,t.mute=e.mute,t.unmute=e.unmute,t.getRegisteredAnimations=e.getRegisteredAnimations,t.useWebWorker=function(t){R=!!t},t.setIDPrefix=function(t){j=t},t.__getFactory=function(t){switch(t){case"propertyFactory":return A;case"shapePropertyFactory":return Ge;case"matrix":return o;default:return null}},t.version="5.12.2";var _i="",i=document.getElementsByTagName("script"),i=i[i.length-1]||{src:""},_i=i.src?i.src.replace(/^[^\?]+\??/,""):"",Pi=(function(t){for(var e=_i.split("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}}("renderer"),setInterval(function(){"complete"===document.readyState&&(clearInterval(Pi),bi())},100));try{"object"===("u"<_typeof2(Br)?"undefined":vi(Br))&&_typeof2(Or)<"u"||"function"==typeof define&&define.amd||(window.bodymovin=t)}catch(t){}xi={},(i={}).registerModifier=function(t,e){xi[t]||(xi[t]=e)},i.getModifier=function(t,e,i){return new xi[t](e,i)};var xi,Si=i;function h(){}function l(){}function Ei(){}h.prototype.initModifierProperties=function(){},h.prototype.addShapeToModifier=function(){},h.prototype.addShape=function(t){var e;this.closed||(t.sh.container.addDynamicProperty(t.sh),e={shape:t.sh,data:t,localShapeCollection:Ne.newShapeCollection()},this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated())},h.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=-999999,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},h.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},g([b],h),g([h],l),l.prototype.initModifierProperties=function(t,e){this.s=A.getProp(t,e.s,0,.01,this),this.e=A.getProp(t,e.e,0,.01,this),this.o=A.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},l.prototype.addShapeToModifier=function(t){t.pathsData=[]},l.prototype.calculateShapeEdges=function(t,e,i,s,r){for(var n,a,o=[],h=(e<=1?o.push({s:t,e:e}):1<=t?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1})),[]),l=o.length,p=0;p<l;p+=1)(a=o[p]).e*r<s||a.s*r>s+i||(n=a.s*r<=s?0:(a.s*r-s)/i,a=a.e*r>=s+i?1:(a.e*r-s)/i,h.push([n,a]));return h.length||h.push([0,0]),h},l.prototype.releasePathsData=function(t){for(var e=t.length,i=0;i<e;i+=1)Ut.release(t[i]);return t.length=0,t},l.prototype.processShapes=function(t){var e,i,s;this._mdf||t?((e=this.o.v%360/360)<0&&(e+=1),i=1<this.s.v?1+e:this.s.v<0?0+e:this.s.v+e,(s=1<this.e.v?1+e:this.e.v<0?0+e:this.e.v+e)<i&&(e=i,i=s,s=e),i=1e-4*Math.round(1e4*i),s=1e-4*Math.round(1e4*s),this.sValue=i,this.eValue=s):(i=this.sValue,s=this.eValue);var r,n,a,o,h,l,p=this.shapes.length,f=0;if(s===i)for(m=0;m<p;m+=1)this.shapes[m].localShapeCollection.releaseShapes(),this.shapes[m].shape._mdf=!0,this.shapes[m].shape.paths=this.shapes[m].localShapeCollection,this._mdf&&(this.shapes[m].pathsData.length=0);else if(1===s&&0===i||0===s&&1===i){if(this._mdf)for(m=0;m<p;m+=1)this.shapes[m].pathsData.length=0,this.shapes[m].shape._mdf=!0}else{for(var c,u,d=[],m=0;m<p;m+=1)if((c=this.shapes[m]).shape._mdf||this._mdf||t||2===this.m){if(a=(r=c.shape.paths)._length,l=0,!c.shape._mdf&&c.pathsData.length)l=c.totalShapeLength;else{for(o=this.releasePathsData(c.pathsData),n=0;n<a;n+=1)h=ht.getSegmentsLength(r.shapes[n]),o.push(h),l+=h.totalLength;c.totalShapeLength=l,c.pathsData=o}f+=l,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var y,g=i,v=s,b=0;for(m=p-1;0<=m;--m)if((c=this.shapes[m]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(i,s,c.totalShapeLength,b,f),b+=c.totalShapeLength):y=[[g,v]],a=y.length,n=0;n<a;n+=1){g=y[n][0],v=y[n][1],d.length=0,v<=1?d.push({s:c.totalShapeLength*g,e:c.totalShapeLength*v}):1<=g?d.push({s:c.totalShapeLength*(g-1),e:c.totalShapeLength*(v-1)}):(d.push({s:c.totalShapeLength*g,e:c.totalShapeLength}),d.push({s:0,e:c.totalShapeLength*(v-1)}));var _,P=this.addShapes(c,d[0]);d[0].s!==d[0].e&&(1<d.length&&(P=c.shape.paths.shapes[c.shape.paths._length-1].c?(_=P.pop(),this.addPaths(P,u),this.addShapes(c,d[1],_)):(this.addPaths(P,u),this.addShapes(c,d[1]))),this.addPaths(P,u))}c.shape.paths=u}}},l.prototype.addPaths=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e.addShape(t[s])},l.prototype.addSegment=function(t,e,i,s,r,n,a){r.setXYAt(e[0],e[1],"o",n),r.setXYAt(i[0],i[1],"i",n+1),a&&r.setXYAt(t[0],t[1],"v",n),r.setXYAt(s[0],s[1],"v",n+1)},l.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},l.prototype.addShapes=function(t,e,i){var s,r,n,a,o,h,l,p,f=t.pathsData,c=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0,g=i?(a=i._length,i._length):(i=_.newElement(),a=0);for(m.push(i),s=0;s<u;s+=1){for(o=f[s].lengths,i.c=c[s].c,n=c[s].c?o.length:o.length+1,r=1;r<n;r+=1)if(d+(p=o[r-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,a,y),y=!1):(h=ht.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1),d+=p.addedLength,a+=1}if(c[s].c&&o.length&&(p=o[r-1],d<=e.e?(l=o[r-1].addedLength,e.s<=d&&e.e>=d+l?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,a,y),y=!1):(h=ht.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-d)/l,(e.e-d)/l,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;s<u-1&&(i=_.newElement(),y=!0,m.push(i),a=0)}return m},g([h],Ei),Ei.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=A.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ei.prototype.processPath=function(t,e){for(var i=e/100,s=[0,0],r=t._length,n=0,n=0;n<r;n+=1)s[0]+=t.v[n][0],s[1]+=t.v[n][1];s[0]/=r,s[1]/=r;var a,o,h,l,p,f,c=_.newElement();for(c.c=t.c,n=0;n<r;n+=1)a=t.v[n][0]+(s[0]-t.v[n][0])*i,o=t.v[n][1]+(s[1]-t.v[n][1])*i,h=t.o[n][0]+(s[0]-t.o[n][0])*-i,l=t.o[n][1]+(s[1]-t.o[n][1])*-i,p=t.i[n][0]+(s[0]-t.i[n][0])*-i,f=t.i[n][1]+(s[1]-t.i[n][1])*-i,c.setTripleAt(a,o,h,l,p,f,n);return c},Ei.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};Ai=[0,0],Ci.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(t){var e,i,s,r;this.elem.globalData.frameId!==this.frameId&&(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),(this._mdf||t)&&(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&&(t=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime?i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/t,0),this.p.getValueAtTime(this.p.keyframes[0].t/t,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/t,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/t,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/t,this.p.offsetTime)):this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime?(e=[],i=[],s=this.px,r=this.py,s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/t,0),e[1]=r.getValueAtTime((r.keyframes[0].t+.01)/t,0),i[0]=s.getValueAtTime(s.keyframes[0].t/t,0),i[1]=r.getValueAtTime(r.keyframes[0].t/t,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/t,0),e[1]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/t,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/t,0),i[1]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/t,0)):(e=[s.pv,r.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/t,s.offsetTime),i[1]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/t,r.offsetTime))):e=i=Ai,this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[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(){}},g([b],Ci),Ci.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},Ci.prototype._addDynamicProperty=b.prototype.addDynamicProperty;var Ai,ki={getTransformProperty:function(t,e,i){return new Ci(t,e,i)}};function Ci(t,e,i){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new o,this.pre=new o,this.appliedTransformations=0,this.initDynamicPropertyContainer(i||t),e.p&&e.p.s?(this.px=A.getProp(t,e.p.x,0,0,this),this.py=A.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=A.getProp(t,e.p.z,0,0,this))):this.p=A.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=A.getProp(t,e.rx,0,W,this),this.ry=A.getProp(t,e.ry,0,W,this),this.rz=A.getProp(t,e.rz,0,W,this),e.or.k[0].ti)for(var s=e.or.k.length,r=0;r<s;r+=1)e.or.k[r].to=null,e.or.k[r].ti=null;this.or=A.getProp(t,e.or,1,W,this),this.or.sh=!0}else this.r=A.getProp(t,e.r||{k:0},0,W,this);e.sk&&(this.sk=A.getProp(t,e.sk,0,W,this),this.sa=A.getProp(t,e.sa,0,W,this)),this.a=A.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=A.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=A.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function Ti(){}function wi(){}function Mi(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function Di(t){return Math.abs(t)<=1e-5}function Fi(t,e,i){return t*(1-i)+e*i}function Ii(t,e,i){return[Fi(t[0],e[0],i),Fi(t[1],e[1],i)]}function Li(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function Vi(t){return new u(t,t,t,t,!1)}function u(t,e,i,s,r){r&&qi(t,e)&&(e=Ii(t,s,1/3)),r&&qi(i,s)&&(i=Ii(t,s,2/3));var r=Li(t[0],e[0],i[0],s[0]),n=Li(t[1],e[1],i[1],s[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,i,s]}function Ri(t,e){var i=t.points[0][e],s=t.points[t.points.length-1][e];s<i&&(n=s,s=i,i=n);n=3*t.a[e],a=2*t.b[e],o=t.c[e];for(var r,n,a,o,h=0===n||(o=a*a-4*n*o)<0?[]:(a=-a/(2*n),0==o?[a]:[a-(o=Math.sqrt(o)/(2*n)),a+o]),l=0;l<h.length;l+=1)0<h[l]&&h[l]<1&&((r=t.point(h[l])[e])<i?i=r:s<r&&(s=r));return{min:i,max:s}}function Bi(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}function Oi(t){var e=t.bez.split(.5);return[Bi(e[0],t.t1,t.t),Bi(e[1],t.t,t.t2)]}function zi(t,e,i,s,r,n){var a,o;a=t,o=e,2*Math.abs(a.cx-o.cx)<a.width+o.width&&2*Math.abs(a.cy-o.cy)<a.height+o.height&&(n<=i||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s?r.push([t.t,e.t]):(a=Oi(t),o=Oi(e),zi(a[0],o[0],i+1,s,r,n),zi(a[0],o[1],i+1,s,r,n),zi(a[1],o[0],i+1,s,r,n),zi(a[1],o[1],i+1,s,r,n)))}function Ni(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 Gi(t,e,i,s){t=[t[0],t[1],1],e=[e[0],e[1],1],i=[i[0],i[1],1],s=[s[0],s[1],1],t=Ni(Ni(t,e),Ni(i,s));return Di(t[2])?null:[t[0]/t[2],t[1]/t[2]]}function ji(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}function Hi(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function qi(t,e){return Mi(t[0],e[0])&&Mi(t[1],e[1])}function Wi(){}function $i(t,e,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,e=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,e,l+Math.cos(o)*n,e-Math.sin(o)*n,l+Math.cos(h)*a,e-Math.sin(h)*a,t.length())}function Xi(t,e){var i=0===e?t.length()-1:e-1,e=(e+1)%t.length(),i=t.v[i],t=t.v[e],t=(e=i,i=[(i=t)[0]-e[0],i[1]-e[1]],e=.5*-Math.PI,[Math.cos(e)*i[0]-Math.sin(e)*i[1],Math.sin(e)*i[0]+Math.cos(e)*i[1]]);return Math.atan2(0,1)-Math.atan2(t[1],t[0])}function Yi(t,e,i,s,r,n,a){var o=Xi(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],l=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,n=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;$i(t,e.v[i%e._length],o,a,s,n/(2*(r+1)),l/(2*(r+1)))}function Ji(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[ji(t,s,i),ji(e,s,i)]}function Ui(t,e){var i=Ji(t.points[0],t.points[1],e),s=i[0],r=i[1],n=(i=Ji(t.points[1],t.points[2],e))[0],a=i[1],t=(i=Ji(t.points[2],t.points[3],e))[0],e=i[1],i=Gi(s,r,n,a),r=(null===i&&(i=r),Gi(t,e,n,a));return new u(s,i,r=null===r?t:r,e)}function Ki(t,e,i,s,r){var n,a,o=e.points[3],h=i.points[0];return 3===s||qi(o,h)?o:2===s?(s=-e.tangentAngle(1),a=-i.tangentAngle(0)+Math.PI,n=Gi(o,ji(o,s+Math.PI/2,100),h,ji(h,s+Math.PI/2,100)),n=ji(o,s,2*(s=n?Hi(n,o):Hi(o,h)/2)*K),t.setXYAt(n[0],n[1],"o",t.length()-1),n=ji(h,a,2*s*K),t.setTripleAt(h[0],h[1],h[0],h[1],n[0],n[1],t.length()),h):(a=Gi(qi(o,e.points[2])?e.points[0]:e.points[2],o,h,qi(h,i.points[1])?i.points[3]:i.points[1]))&&Hi(a,o)<r?(t.setTripleAt(a[0],a[1],a[0],a[1],a[0],a[1],t.length()),a):o}function Zi(t,e){t=t.intersections(e);return t.length&&Mi(t[0][0],1)&&t.shift(),t.length?t[0]:null}function Qi(t,e){var i=t.slice(),s=e.slice(),r=Zi(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),1<t.length&&1<e.length&&(r=Zi(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function ts(t,e){var i,s,r,n=t.inflectionPoints();return 0===n.length?[Ui(t,e)]:1===n.length||Mi(n[1],1)?(s=(i=t.split(n[0]))[0],r=i[1],[Ui(s,e),Ui(r,e)]):(s=(i=t.split(n[0]))[0],t=(n[1]-n[0])/(1-n[0]),n=(i=i[1].split(t))[0],r=i[1],[Ui(s,e),Ui(n,e),Ui(r,e)])}function es(){}function is(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],s="normal",r="normal",n=i.length,a=0;a<n;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:r,weight:t.fWeight||s}}g([h],Ti),Ti.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=A.getProp(t,e.c,0,null,this),this.o=A.getProp(t,e.o,0,null,this),this.tr=ki.getTransformProperty(t,e.tr,this),this.so=A.getProp(t,e.tr.so,0,.01,this),this.eo=A.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 o,this.rMatrix=new o,this.sMatrix=new o,this.tMatrix=new o,this.matrix=new o},Ti.prototype.applyTransforms=function(t,e,i,s,r,n){var a=n?-1:1,o=s.s.v[0]+(1-s.s.v[0])*(1-r),h=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*a*r,s.p.v[1]*a*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*a*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(n?1/o:o,n?1/h:h),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},Ti.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)this._elements.unshift(e[--i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ti.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},Ti.prototype.cloneElements=function(t){t=JSON.parse(JSON.stringify(t));return this.resetElements(t),t},Ti.prototype.changeGroupRender=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},Ti.prototype.processShapes=function(t){var e,i,s,r,n,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=n=0;s<=this._groups.length-1;s+=1)this._groups[s]._render=o=n<h,this.changeGroupRender(this._groups[s].it,o),o||(0!==(o=(o=this.elemsData[s].it)[o.length-1]).transform.op.v?(o.transform.op._mdf=!0,o.transform.op.v=0):o.transform.op._mdf=!1),n+=1;this._currentCopies=h;var p,f,t=this.o.v,c=t%1,u=0<t?Math.floor(t):Math.ceil(t),d=this.pMatrix.props,m=this.rMatrix.props,y=this.sMatrix.props,g=(this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset(),0);if(0<t){for(;g<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(t<0){for(;u<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--g;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(f=(i=(e=this.elemsData[s].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)*(s/(this._currentCopies-1)),0!==g){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),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]),p=0;p<f;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<f;p+=1)i[p]=this.matrix.props[p];g+=1,--n,s+=r}}else for(n=this._currentCopies,s=0,r=1;n;)i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,--n,s+=r;return a},Ti.prototype.addShape=function(){},g([h],wi),wi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=A.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},wi.prototype.processPath=function(t,e){var i=_.newElement();i.c=t.c;for(var s,r,n,a,o,h,l,p,f,c,u=t._length,d=0,m=0;m<u;m+=1)s=t.v[m],n=t.o[m],r=t.i[m],s[0]===n[0]&&s[1]===n[1]&&s[0]===r[0]&&s[1]===r[1]?0!==m&&m!==u-1||t.c?(a=0===m?t.v[u-1]:t.v[m-1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,f=s[0]+(a[0]-s[0])*h,c=s[1]-(s[1]-a[1])*h,l=f-(f-s[0])*K,p=c-(c-s[1])*K,i.setTripleAt(f,c,l,p,f,c,d),d+=1,a=m===u-1?t.v[0]:t.v[m+1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,l=s[0]+(a[0]-s[0])*h,p=s[1]+(a[1]-s[1])*h,f=l-(l-s[0])*K,c=p-(p-s[1])*K,i.setTripleAt(l,p,l,p,f,c,d)):i.setTripleAt(s[0],s[1],n[0],n[1],r[0],r[1],d):i.setTripleAt(t.v[m][0],t.v[m][1],t.o[m][0],t.o[m][1],t.i[m][0],t.i[m][1],d),d+=1;return i},wi.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.rd.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},u.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]]},u.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]]},u.prototype.tangentAngle=function(t){t=this.derivative(t);return Math.atan2(t[1],t[0])},u.prototype.normalAngle=function(t){t=this.derivative(t);return Math.atan2(t[0],t[1])},u.prototype.inflectionPoints=function(){var t,e=this.a[1]*this.b[0]-this.a[0]*this.b[1];return Di(e)||(e=(t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e)*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e)<0?[]:Di(e=Math.sqrt(e))?0<e&&e<1?[t]:[]:[t-e,t+e].filter(function(t){return 0<t&&t<1})},u.prototype.split=function(t){var e,i,s,r;return t<=0?[Vi(this.points[0]),this]:1<=t?[this,Vi(this.points[this.points.length-1])]:(e=Ii(this.points[0],this.points[1],t),r=Ii(this.points[1],this.points[2],t),i=Ii(this.points[2],this.points[3],t),s=Ii(e,r,t),r=Ii(r,i,t),t=Ii(s,r,t),[new u(this.points[0],e,s,t,!0),new u(t,r,i,this.points[3],!0)])},u.prototype.bounds=function(){return{x:Ri(this,0),y:Ri(this,1)}},u.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}},u.prototype.intersections=function(t,e,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return zi(Bi(this,0,1),Bi(t,0,1),0,e,s,i),s},u.shapeSegment=function(t,e){var i=(e+1)%t.length();return new u(t.v[e],t.o[e],t.i[i],t.v[i],!0)},u.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new u(t.v[i],t.i[i],t.o[e],t.v[e],!0)},g([h],Wi),Wi.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=A.getProp(t,e.s,0,null,this),this.frequency=A.getProp(t,e.r,0,null,this),this.pointsType=A.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},Wi.prototype.processPath=function(t,e,i,s){var r=t._length,n=_.newElement();if(n.c=t.c,t.c||--r,0!==r){var a=-1,o=u.shapeSegment(t,0);Yi(n,t,0,e,i,s,a);for(var h=0;h<r;h+=1)a=function(t,e,i,s,r,n){for(var a=0;a<s;a+=1){var o=(a+1)/(s+1),h=2===r?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,l=e.normalAngle(o);$i(t,e.point(o),l,n,i,h/(2*(s+1)),h/(2*(s+1))),n=-n}return n}(n,o,e,i,s,-a),o=h!==r-1||t.c?u.shapeSegment(t,(h+1)%r):null,Yi(n,t,h+1,e,i,s,a)}return n},Wi.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amplitude.v,a=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,a,o));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},g([h],es),es.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=A.getProp(t,e.a,0,null,this),this.miterLimit=A.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},es.prototype.processPath=function(t,e,i,s){var r=_.newElement(),n=(r.c=t.c,t.length());t.c||--n;for(var a,o,h=[],l=0;l<n;l+=1)o=u.shapeSegment(t,l),h.push(ts(o,e));if(!t.c)for(l=n-1;0<=l;--l)o=u.shapeSegmentInverted(t,l),h.push(ts(o,e));var h=function(t){for(var e,i=1;i<t.length;i+=1)e=Qi(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return 1<t.length&&(e=Qi(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}(h),p=null,f=null;for(l=0;l<h.length;l+=1){var c=h[l];for(f&&(p=Ki(r,f,c[0],i,s)),f=c[c.length-1],a=0;a<c.length;a+=1)o=c[a],p&&qi(o.points[0],p)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.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],r.length()),r.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],r.length()),p=o.points[3]}return h.length&&Ki(r,f,h[0][0],i,s),r},es.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v,a=this.miterLimit.v,o=this.lineJoin;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,o,a));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};ss={w:0,size:0,shapes:[],data:{shapes:[]}},rs=(rs=[]).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]),ns=127462,as=127487,os=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],us.isModifier=function(t,e){return t=t.toString(16)+e.toString(16),-1!==os.indexOf(t)},us.isZeroWidthJoiner=function(t){return 8205===t},us.isFlagEmoji=function(t){return cs(t.substr(0,2))&&cs(t.substr(2,2))},us.isRegionalCode=cs,us.isCombinedCharacter=function(t){return-1!==rs.indexOf(t)},us.isRegionalFlag=function(t,e){var i;if(127988!==fs(t.substr(e,2)))return!1;var s=0;for(e+=2;s<5;){if((i=fs(t.substr(e,2)))<917601||917626<i)return!1;s+=1,e+=2}return 917631===fs(t.substr(e,2))},us.isVariationSelector=function(t){return 65039===t},us.BLACK_FLAG_CODE_POINT=127988,us.prototype={addChars:function(t){if(t){this.chars||(this.chars=[]);for(var e,i,s=t.length,r=this.chars.length,n=0;n<s;n+=1){for(e=0,i=!1;e<r;)this.chars[e].style===t[n].style&&this.chars[e].fFamily===t[n].fFamily&&this.chars[e].ch===t[n].ch&&(i=!0),e+=1;i||(this.chars.push(t[n]),r+=1)}}},addFonts:function(t,e){if(t)if(this.chars)this.isLoaded=!0,this.fonts=t.list;else if(document.body){for(var i=t.list,s=i.length,r=s,n=0;n<s;n+=1){var a,o,h,l,p=!0;if(i[n].loaded=!1,i[n].monoCase=ls(i[n].fFamily,"monospace"),i[n].sansCase=ls(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin)(p=!(0<(o=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length)&&p)&&((h=y("style")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h));else if("g"===i[n].fOrigin||1===i[n].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),a=0;a<o.length;a+=1)-1!==o[a].href.indexOf(i[n].fPath)&&(p=!1);p&&((h=y("link")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.type="text/css",h.rel="stylesheet",h.href=i[n].fPath,document.body.appendChild(h))}else if("t"===i[n].fOrigin||2===i[n].origin){for(o=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),a=0;a<o.length;a+=1)i[n].fPath===o[a].src&&(p=!1);p&&((l=y("link")).setAttribute("f-forigin",i[n].fOrigin),l.setAttribute("f-origin",i[n].origin),l.setAttribute("rel","stylesheet"),l.setAttribute("href",i[n].fPath),e.appendChild(l))}}else i[n].loaded=!0,--r;i[n].helper=ps(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===r?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0,t.list.forEach(function(t){t.helper=ps(t),t.cache={}}),this.fonts=t.list;else this.isLoaded=!0},getCharData:function(t,e,i){for(var s=0,r=this.chars.length;s<r;){if(this.chars[s].ch===t&&this.chars[s].style===e&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),ss},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var s,r,n,e=this.getFontByName(e),a=t;return e.cache[a]||(s=e.helper," "===t?(r=s.measureText("|"+t+"|"),n=s.measureText("||"),e.cache[a]=(r-n)/100):e.cache[a]=s.measureText(t)/100),e.cache[a]*i},checkLoadedFonts:function(){for(var t,e,i=this.fonts.length,s=i,r=0;r<i;r+=1)this.fonts[r].loaded?--s:"n"===this.fonts[r].fOrigin||0===this.fonts[r].origin?this.fonts[r].loaded=!0:(t=this.fonts[r].monoCase.node,e=this.fonts[r].monoCase.w,t.offsetWidth===e&&(t=this.fonts[r].sansCase.node,e=this.fonts[r].sansCase.w,t.offsetWidth===e)||(--s,this.fonts[r].loaded=!0),this.fonts[r].loaded&&(this.fonts[r].sansCase.parent.parentNode.removeChild(this.fonts[r].sansCase.parent),this.fonts[r].monoCase.parent.parentNode.removeChild(this.fonts[r].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};var ss,rs,ns,as,os,hs=us;function ls(t,e){var i=y("span"),s=(i.setAttribute("aria-hidden",!0),i.style.fontFamily=e,y("span")),r=(s.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(s),document.body.appendChild(i),s.offsetWidth);return s.style.fontFamily=function(t){for(var e=t.split(","),i=e.length,s=[],r=0;r<i;r+=1)"sans-serif"!==e[r]&&"monospace"!==e[r]&&s.push(e[r]);return s.join(",")}(t)+", "+e,{node:s,w:r,parent:i}}function ps(t,e){var i,s,r=document.body&&e?"svg":"canvas",n=is(t);return i="svg"==r?((s=E("text")).style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),s):((e=new OffscreenCanvas(500,500).getContext("2d")).font=n.style+" "+n.weight+" 100px "+t.fFamily,e),{measureText:function(t){return"svg"==r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function fs(t){var e=0,i=t.charCodeAt(0);return e=55296<=i&&i<=56319&&56320<=(t=t.charCodeAt(1))&&t<=57343?1024*(i-55296)+t-56320+65536:e}function cs(t){t=fs(t);return ns<=t&&t<=as}function us(){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)}function ds(t){this.animationData=t}function ms(){}ds.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},ms.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(){for(var t=this.renderableComponents.length,e=0;e<t;e+=1)this.renderableComponents[e].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}}};ys={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"};var ys,gs=function(t){return ys[t]||""};function vs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function bs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function _s(t,e,i){this.p=A.getProp(e,t.v,1,0,i)}function Ps(t,e,i){this.p=A.getProp(e,t.v,1,0,i)}function xs(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function Ss(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function Es(t,e,i){this.p=A.getProp(e,t.v,0,0,i)}function As(){this.p={}}function ks(t,e){var i=t.ef||[];this.effectElements=[];for(var s,r=i.length,n=0;n<r;n+=1)s=new Cs(i[n],e),this.effectElements.push(s)}function Cs(t,e){this.init(t,e)}function p(){}function f(){}function Ts(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function c(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;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?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=A.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function d(){}g([b],Cs),Cs.prototype.getValue=Cs.prototype.iterateDynamicProperties,Cs.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);for(var i,s=this.data.ef.length,r=this.data.ef,n=0;n<s;n+=1){switch(i=null,r[n].ty){case 0:i=new vs(r[n],e,this);break;case 1:i=new bs(r[n],e,this);break;case 2:i=new _s(r[n],e,this);break;case 3:i=new Ps(r[n],e,this);break;case 4:case 7:i=new Es(r[n],e,this);break;case 10:i=new xs(r[n],e,this);break;case 11:i=new Ss(r[n],e,this);break;case 5:i=new ks(r[n],e);break;default:i=new As(r[n])}i&&this.effectElements.push(i)}},p.prototype={checkMasks:function(){if(this.data.hasMask)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(){},setBlendMode:function(){var t=gs(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=S(),this.data.sr||(this.data.sr=1),this.effectsManager=new ks(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},f.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){for(var i=this.dynamicProperties.length,s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf)&&(this.globalData._mdf=!0,this._mdf=!0)},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},Ts.prototype.prepareFrame=function(){},g([ms,p,f],Ts),Ts.prototype.getBaseElement=function(){return null},Ts.prototype.renderFrame=function(){},Ts.prototype.destroy=function(){},Ts.prototype.initExpressions=function(){},Ts.prototype.getFootageData=function(){return this.footageData},c.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:(t=this.tm.v,this._currentTime=t),this._volume=this.lv.v[0];t=this._volume*this._volumeMultiplier;this._previousVolume!==t&&(this._previousVolume=t,this.audio.volume(t))},g([ms,p,f],c),c.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||.1<Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek()))&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},c.prototype.show=function(){},c.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},c.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},c.prototype.resume=function(){this._canPlay=!0},c.prototype.setRate=function(t){this.audio.rate(t)},c.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},c.prototype.getBaseElement=function(){return null},c.prototype.destroy=function(){},c.prototype.sourceRectAtTime=function(){},c.prototype.initExpressions=function(){},d.prototype.checkLayers=function(t){var e,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;0<=e;--e)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},d.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: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);default:return this.createNull(t)}},d.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},d.prototype.createAudio=function(t){return new c(t,this.globalData,this)},d.prototype.createFootage=function(t){return new Ts(t,this.globalData,this)},d.prototype.buildAllItems=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},d.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,s=this.layers.length,r=0;r<i;r+=1)for(e=0;e<s;){if(this.layers[e].id===t[r].id){this.layers[e]=t[r];break}e+=1}},d.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},d.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},d.prototype.buildElementParenting=function(t,e,i){for(var s=this.elements,r=this.layers,n=0,a=r.length;n<a;)r[n].ind==e&&(s[n]&&!0!==s[n]?(i.push(s[n]),s[n].setAsParent(),void 0!==r[n].parent?this.buildElementParenting(t,r[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=1},d.prototype.addPendingElement=function(t){this.pendingElements.push(t)},d.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=0;s<i;s+=1)t[s].xt&&((e=this.createComp(t[s])).initExpressions(),this.globalData.projectInterface.registerComposition(e))},d.prototype.getElementById=function(t){for(var e=this.elements.length,i=0;i<e;i+=1)if(this.elements[i].data.ind===t)return this.elements[i];return null},d.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else for(var s=this.elements.length,r=0;r<s;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];break}return 0===t.length?e:e.getElementByPath(t)},d.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new hs,this.globalData.slotManager=new ds(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 ws="transformEFfect";function Ms(){}function Ds(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r=this.masksProperties?this.masksProperties.length:0;this.viewData=x(r),this.solidPath="";for(var n,a,o,h,l,p=this.masksProperties,f=0,c=[],u=S(),d="clipPath",m="clip-path",y=0;y<r;y+=1)if(("a"!==p[y].mode&&"n"!==p[y].mode||p[y].inv||100!==p[y].o.k||p[y].o.x)&&(m=d="mask"),"s"!==p[y].mode&&"i"!==p[y].mode||0!==f?a=null:((a=E("rect")).setAttribute("fill","#ffffff"),a.setAttribute("width",this.element.comp.data.w||0),a.setAttribute("height",this.element.comp.data.h||0),c.push(a)),n=E("path"),"n"===p[y].mode)this.viewData[y]={op:A.getProp(this.element,p[y].o,0,.01,this.element),prop:Ge.getShapeProp(this.element,p[y],3),elem:n,lastPath:""},s.appendChild(n);else{if(f+=1,n.setAttribute("fill","s"===p[y].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[y].x.k?(m=d="mask",h=A.getProp(this.element,p[y].x,0,null,this.element),l=S(),(_=E("filter")).setAttribute("id",l),(o=E("feMorphology")).setAttribute("operator","erode"),o.setAttribute("in","SourceGraphic"),o.setAttribute("radius","0"),_.appendChild(o),s.appendChild(_),n.setAttribute("stroke","s"===p[y].mode?"#000000":"#ffffff")):h=o=null,this.storedData[y]={elem:n,x:h,expan:o,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"===p[y].mode){for(var g=c.length,v=E("g"),b=0;b<g;b+=1)v.appendChild(c[b]);var _=E("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",u+"_"+f),_.appendChild(n),s.appendChild(_),v.setAttribute("mask","url("+P()+"#"+u+"_"+f+")"),c.length=0,c.push(v)}else c.push(n);p[y].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[y]={elem:n,lastPath:"",op:A.getProp(this.element,p[y].o,0,.01,this.element),prop:Ge.getShapeProp(this.element,p[y],3),invRect:a},this.viewData[y].prop.k||this.drawPath(p[y],this.viewData[y].prop.v,this.viewData[y])}for(this.maskElement=E(d),r=c.length,y=0;y<r;y+=1)this.maskElement.appendChild(c[y]);0<f&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+P()+"#"+u+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ms.prototype={initTransform:function(){var t=new o;this.finalTransform={mProp:this.data.ks?ki.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,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,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 i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){for(var r=this.finalTransform.localOpacity,t=0;t<e;t+=1)r*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(ws);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new o;for(var e=0,i=t.length,e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;for(var r,n=e.length,a=0;a<n;a+=1)r=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-r[0],t[1]-r[1],0];return t},mHelper:new o},Ds.prototype.getMaskProperty=function(t){return this.viewData[t].prop},Ds.prototype.renderFrame=function(t){for(var e,i=this.element.finalTransform.mat,s=this.masksProperties.length,r=0;r<s;r+=1)(this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),"n"!==this.masksProperties[r].mode&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[r].x)&&(this.storedData[r].x._mdf||t)&&(e=this.storedData[r].expan,this.storedData[r].x.v<0?("erode"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+P()+"#"+this.storedData[r].filterId+")")),e.setAttribute("radius",-this.storedData[r].x.v)):("dilate"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",2*this.storedData[r].x.v)))},Ds.prototype.getMaskelement=function(){return this.maskElement},Ds.prototype.createLayerSolidPath=function(){var t="M0,0 ";return(t+=" h"+this.globalData.compSize.w)+(" v"+this.globalData.compSize.h)+(" h-"+this.globalData.compSize.w)+(" v-"+this.globalData.compSize.h+" ")},Ds.prototype.drawPath=function(t,e,i){for(var s,r=" M"+e.v[0][0]+","+e.v[0][1],n=e._length,a=1;a<n;a+=1)r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[a][0]+","+e.i[a][1]+" "+e.v[a][0]+","+e.v[a][1];e.c&&1<n&&(r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r&&(s="",i.elem&&(e.c&&(s=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",s)),i.lastPath=r)},Ds.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};(i={}).createFilter=function(t,e){var i=E("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},i.createAlphaToLuminanceFilter=function(){var t=E("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};var Fs=i,Is=(i={maskType:!0,svgLumaHidden:!0,offscreenCanvas:("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))<"u"},(/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))&&(i.maskType=!1),/firefox/i.test(navigator.userAgent)&&(i.svgLumaHidden=!1),i),Ls={},Vs="filter_result_";function Rs(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=S(),n=Fs.createFilter(r,!0),a=0;for(this.filters=[],e=0;e<s;e+=1){o=null;var o,h=t.data.ef[e].ty;Ls[h]&&(o=new Ls[h].effect(n,t.effectsManager.effectElements[e],t,Vs+a,i),i=Vs+a,Ls[h].countsAsEffect)&&(a+=1),o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+P()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function Bs(){}function m(){}function Os(){}function zs(){}function Ns(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function Gs(t,e){this.elem=t,this.pos=e}function js(){}Rs.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},Rs.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},Bs.prototype={initRendererElement:function(){this.layerElement=E("g")},createContainerElements:function(){this.matteElement=E("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,i,s=null;this.data.td?(this.matteMasks={},(t=E("g")).setAttribute("id",this.layerId),t.appendChild(this.layerElement),this.globalData.defs.appendChild(s=t)):this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=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.ty||this.data.hd||(t=E("clipPath"),(i=E("path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),e=S(),t.setAttribute("id",e),t.appendChild(i),this.globalData.defs.appendChild(t),this.checkMasks()?((i=E("g")).setAttribute("clip-path","url("+P()+"#"+e+")"),i.appendChild(this.layerElement),this.transformedElement=i,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+P()+"#"+e+")")),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("op
1acity",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 Ds(this.data,this,this.globalData),this.renderableEffectsManager=new Rs(this),this.searchEffectTransforms()},getMatte:function(t){var e,i,s,r,n,a,o,h,l;return this.matteMasks||(this.matteMasks={}),this.matteMasks[t]||(e=this.layerId+"_"+t,1===t||3===t?((a=E("mask")).setAttribute("id",e),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=E("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),Is.maskType||1!==t||(a.setAttribute("mask-type","luminance"),i=S(),s=Fs.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(Fs.createAlphaToLuminanceFilter()),(n=E("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+P()+"#"+i+")"))):2===t&&((a=E("mask")).setAttribute("id",e),a.setAttribute("mask-type","alpha"),o=E("g"),a.appendChild(o),i=S(),s=Fs.createFilter(i),(l=E("feComponentTransfer")).setAttribute("in","SourceGraphic"),s.appendChild(l),(h=E("feFuncA")).setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),l.appendChild(h),this.globalData.defs.appendChild(s),(l=E("rect")).setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),o.setAttribute("filter","url("+P()+"#"+i+")"),o.appendChild(l),(r=E("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),Is.maskType||(a.setAttribute("mask-type","luminance"),s.appendChild(Fs.createAlphaToLuminanceFilter()),n=E("g"),o.appendChild(l),n.appendChild(this.layerElement),o.appendChild(n)),this.globalData.defs.appendChild(a)),this.matteMasks[t]=e),this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+P()+"#"+t+")")}},m.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,[])}},g([ms,(zs.prototype={initElement:function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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()}},zs)],Os),g([p,Ms,Bs,m,f,Os],Ns),Ns.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=E("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)},Ns.prototype.sourceRectAtTime=function(){return this.sourceRect},js.prototype={addShapeToModifiers:function(t){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].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){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;0<=e&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);--e);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(i[--s].elem===t)return void(i[s].pos=e);i.push(new Gs(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var Hs={1:"butt",2:"round",3:"square"},qs={1:"miter",2:"round",3:"bevel"};function Ws(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}function $s(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=E("path"),this.msElem=null}function Xs(t,e,i,s){this.elem=t,this.frameId=-1,this.dataProps=x(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=q("float32",e.length?e.length-1:0),this.dashoffset=q("float32",1),this.initDynamicPropertyContainer(s);for(var r,n=e.length||0,a=0;a<n;a+=1)r=A.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function Ys(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=A.getProp(t,e.o,0,.01,this),this.w=A.getProp(t,e.w,0,null,this),this.d=new Xs(t,e.d||{},"svg",this),this.c=A.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}function Js(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=A.getProp(t,e.o,0,.01,this),this.c=A.getProp(t,e.c,1,255,this),this.style=i}
vendor: 89,130 bytes, line 1
1function Us(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function Ks(t,e,i){this.data=e,this.c=q("uint8c",4*e.p);var s=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=q("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=A.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function Zs(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function Qs(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=A.getProp(t,e.w,0,null,this),this.d=new Xs(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}function tr(){this.it=[],this.prevViewData=[],this.gr=E("g")}function er(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}Ws.prototype.setAsAnimated=function(){this._isAnimated=!0},$s.prototype.reset=function(){this.d="",this._mdf=!1},Xs.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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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}},g([b],Xs),g([b],Ys),g([b],Js),g([b],Us),Ks.prototype.comparePoints=function(t,e){for(var i=0,s=this.o.length/2;i<s;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=1}return!0},Ks.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},Ks.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){for(var e,i,s=4*this.data.p,r=0;r<s;r+=1)e=r%4==0?100:255,i=Math.round(this.prop.v[r]*e),this.c[r]!==i&&(this.c[r]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,r=4*this.data.p;r<s;r+=1)e=r%2==0?100:1,i=r%2==0?Math.round(100*this.prop.v[r]):this.prop.v[r],this.o[r-4*this.data.p]!==i&&(this.o[r-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},g([b],Ks),Zs.prototype.initGradientData=function(t,e,i){this.o=A.getProp(t,e.o,0,.01,this),this.s=A.getProp(t,e.s,1,null,this),this.e=A.getProp(t,e.e,1,null,this),this.h=A.getProp(t,e.h||{k:0},0,.01,this),this.a=A.getProp(t,e.a||{k:0},0,W,this),this.g=new Ks(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},Zs.prototype.setGradientData=function(t,e){for(var i,s=S(),r=E(1===e.t?"linearGradient":"radialGradient"),n=(r.setAttribute("id",s),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse"),[]),a=4*e.g.p,o=0;o<a;o+=4)i=E("stop"),r.appendChild(i),n.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+P()+"#"+s+")"),this.gf=r,this.cst=n},Zs.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){for(var i,s,r=E("mask"),n=E("path"),a=(r.appendChild(n),S()),o=S(),h=(r.setAttribute("id",o),E(1===t.t?"linearGradient":"radialGradient")),l=(h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=(t.g.k.k[0].s||t.g.k.k).length,this.stops),p=4*t.g.p;p<s;p+=2)(i=E("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),l.push(i);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+P()+"#"+a+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",Hs[t.lc||2]),n.setAttribute("stroke-linejoin",qs[t.lj||2]),1===t.lj)&&n.setAttribute("stroke-miterlimit",t.ml),this.of=h,this.ms=r,this.ost=l,this.maskId=o,e.msElem=n}},g([b],Zs),g([Zs,b],Qs);var ir,sr,rr=function(t,e,i,s){if(0===e)return"";for(var r=t.o,n=t.i,a=t.v,o=" M"+s.applyToPointStringified(a[0][0],a[0][1]),h=1;h<e;h+=1)o+=" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[h][0],n[h][1])+" "+s.applyToPointStringified(a[h][0],a[h][1]);return o=i&&e?o+(" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(a[0][0],a[0][1]))+"z":o},nr=(ir=new o,sr=new o,{createRenderFunction:function(t){switch(t.ty){case"fl":return lr;case"gf":return fr;case"gs":return pr;case"st":return cr;case"sh":case"el":case"rc":case"sr":return hr;case"tr":return ar;case"no":return or;default:return null}}});function ar(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function or(){}function hr(t,e,i){for(var s,r,n,a,o,h,l,p,f,c=e.styles.length,u=e.lvl,d=0;d<c;d+=1){if(a=e.sh._mdf||i,e.styles[d].lvl<u){for(l=sr.reset(),p=u-e.styles[d].lvl,f=e.transformers.length-1;!a&&0<p;)a=e.transformers[f].mProps._mdf||a,--p,--f;if(a)for(p=u-e.styles[d].lvl,f=e.transformers.length-1;0<p;)l.multiply(e.transformers[f].mProps.v),--p,--f}else l=ir;if(r=(h=e.sh.paths)._length,a){for(n="",s=0;s<r;s+=1)(o=h.shapes[s])&&o._length&&(n+=rr(o,o._length,o.c,l));e.caches[d]=n}else n=e.caches[d];e.styles[d].d+=!0===t.hd?"":n,e.styles[d]._mdf=a||e.styles[d]._mdf}}function lr(t,e,i){var s=e.style;(e.c._mdf||i)&&s.pElem.setAttribute("fill","rgb("+X(e.c.v[0])+","+X(e.c.v[1])+","+X(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("fill-opacity",e.o.v)}function pr(t,e,i){fr(t,e,i),cr(0,e,i)}function fr(t,e,i){var s,r,n,a,o=e.gf,h=e.g._hasOpacity,l=e.s.v,p=e.e.v;if((e.o._mdf||i)&&(n="gf"===t.ty?"fill-opacity":"stroke-opacity",e.style.pElem.setAttribute(n,e.o.v)),(e.s._mdf||i)&&(a="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",o.setAttribute(n,l[0]),o.setAttribute(a,l[1]),h)&&!e.g._collapsable&&(e.of.setAttribute(n,l[0]),e.of.setAttribute(a,l[1])),e.g._cmdf||i)for(var f=e.cst,c=e.g.c,u=f.length,d=0;d<u;d+=1)(s=f[d]).setAttribute("offset",c[4*d]+"%"),s.setAttribute("stop-color","rgb("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+")");if(h&&(e.g._omdf||i)){var m=e.g.o;for(u=(f=e.g._collapsable?e.cst:e.ost).length,d=0;d<u;d+=1)s=f[d],e.g._collapsable||s.setAttribute("offset",m[2*d]+"%"),s.setAttribute("stop-opacity",m[2*d+1])}1===t.t?(e.e._mdf||i)&&(o.setAttribute("x2",p[0]),o.setAttribute("y2",p[1]),h)&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])):((e.s._mdf||e.e._mdf||i)&&(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),o.setAttribute("r",r),h)&&!e.g._collapsable&&e.of.setAttribute("r",r),(e.e._mdf||e.h._mdf||e.a._mdf||i)&&(r=r||Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),n=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(a=e.h.v)?a=.99:a<=-1&&(a=-.99),t=r*a,i=Math.cos(n+e.a.v)*t+l[0],p=Math.sin(n+e.a.v)*t+l[1],o.setAttribute("fx",i),o.setAttribute("fy",p),h)&&!e.g._collapsable&&(e.of.setAttribute("fx",i),e.of.setAttribute("fy",p)))}function cr(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+X(e.c.v[0])+","+X(e.c.v[1])+","+X(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem)&&s.msElem.setAttribute("stroke-width",e.w.v)}function C(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function ur(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,m:!0,p:!0}}function T(t,e){this._frameId=-999999,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)}g([p,Ms,Bs,js,m,f,Os],C),C.prototype.initSecondaryElement=function(){},C.prototype.identityMatrix=new o,C.prototype.buildExpressionInterface=function(){},C.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},C.prototype.filterUniqueShapes=function(){for(var t,e,i,s=this.shapes.length,r=this.stylesList.length,n=[],a=!1,o=0;o<r;o+=1){for(i=this.stylesList[o],a=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),a=e._isAnimated||a);1<n.length&&a&&this.setShapesAsAnimated(n)}},C.prototype.setShapesAsAnimated=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].setAsAnimated()},C.prototype.createStyleElement=function(t,e){var i,e=new $s(t,e),s=e.pElem;return"st"===t.ty?i=new Ys(this,t,e):"fl"===t.ty?i=new Js(this,t,e):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?Zs:Qs)(this,t,e),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+P()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new Us(this,0,e)),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",Hs[t.lc||2]),s.setAttribute("stroke-linejoin",qs[t.lj||2]),s.setAttribute("fill-opacity","0"),1!==t.lj)||s.setAttribute("stroke-miterlimit",t.ml),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=gs(t.bm)),this.stylesList.push(e),this.addToAnimatedContents(t,i),i},C.prototype.createGroupElement=function(t){var e=new tr;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"]=gs(t.bm)),e},C.prototype.createTransformElement=function(t,e){var i=ki.getTransformProperty(this,t,this),i=new er(i,i.o,e);return this.addToAnimatedContents(t,i),i},C.prototype.createShapeElement=function(t,e,i){var s=4;"rc"===t.ty?s=5:"el"===t.ty?s=6:"sr"===t.ty&&(s=7);e=new Ws(e,i,Ge.getShapeProp(this,t,s,this));return this.shapes.push(e),this.addShapeToModifiers(e),this.addToAnimatedContents(t,e),e},C.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:nr.createRenderFunction(t),element:e,data:t})},C.prototype.setElementStyles=function(t){for(var e=t.styles,i=this.stylesList.length,s=0;s<i;s+=1)this.stylesList[s].closed||e.push(this.stylesList[s])},C.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},C.prototype.searchShapes=function(t,e,i,s,r,n,a){for(var o,h,l,p,f,c=[].concat(n),u=t.length-1,d=[],m=[],y=u;0<=y;--y){if((f=this.searchProcessedElement(t[y]))?e[y]=i[f-1]:t[y]._render=a,"fl"===t[y].ty||"st"===t[y].ty||"gf"===t[y].ty||"gs"===t[y].ty||"no"===t[y].ty)f?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r),t[y]._render&&e[y].style.pElem.parentNode!==s&&s.appendChild(e[y].style.pElem),d.push(e[y].style);else if("gr"===t[y].ty){if(f)for(h=e[y].it.length,o=0;o<h;o+=1)e[y].prevViewData[o]=e[y].it[o];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,r+1,c,a),t[y]._render&&e[y].gr.parentNode!==s&&s.appendChild(e[y].gr)}else"tr"===t[y].ty?(f||(e[y]=this.createTransformElement(t[y],s)),l=e[y].transform,c.push(l)):"sh"===t[y].ty||"rc"===t[y].ty||"el"===t[y].ty||"sr"===t[y].ty?(f||(e[y]=this.createShapeElement(t[y],c,r)),this.setElementStyles(e[y])):"tm"===t[y].ty||"rd"===t[y].ty||"ms"===t[y].ty||"pb"===t[y].ty||"zz"===t[y].ty||"op"===t[y].ty?(f?(p=e[y]).closed=!1:((p=Si.getModifier(t[y].ty)).init(this,t[y]),e[y]=p,this.shapeModifiers.push(p)),m.push(p)):"rp"===t[y].ty&&(f?(p=e[y]).closed=!0:(p=Si.getModifier(t[y].ty),(e[y]=p).init(this,t,y,e),this.shapeModifiers.push(p),a=!1),m.push(p));this.addProcessedElement(t[y],y+1)}for(u=d.length,y=0;y<u;y+=1)d[y].closed=!0;for(u=m.length,y=0;y<u;y+=1)m[y].closed=!0},C.prototype.renderInnerContent=function(){this.renderModifiers();for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},C.prototype.renderShape=function(){for(var t,e=this.animatedContents.length,i=0;i<e;i+=1)t=this.animatedContents[i],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},C.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},ur.prototype.update=function(t,e,i,s,r,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var a=this._mdf.p=!1;return this.o!==t&&(this.o=t,a=this._mdf.o=!0),this.sw!==e&&(this.sw=e,a=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this._mdf.sc=!0),this.fc!==s&&(this.fc=s,a=this._mdf.fc=!0),this.m!==r&&(this.m=r,a=this._mdf.m=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,a=this._mdf.p=!0),a},T.prototype.defaultBoxWidth=[0,0],T.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},T.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},T.prototype.searchProperty=function(){return this.searchKeyframes()},T.prototype.searchKeyframes=function(){return this.kf=1<this.data.d.k.length,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},T.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},T.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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;for(var s=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s,n=0;n<s;n+=1)r=i!==this.keysIndex?this.effectsSequence[n](r,r.t):this.effectsSequence[n](this.currentData,r.t);e!==r&&this.setCurrentData(r),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},T.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},T.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r<n;)a=o,o=!1,e=t.charCodeAt(r),h=t.charAt(r),hs.isCombinedCharacter(e)?a=!0:55296<=e&&e<=56319?hs.isRegionalFlag(t,r)?h=t.substr(r,14):56320<=(i=t.charCodeAt(r+1))&&i<=57343&&(hs.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=hs.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):56319<e?(i=t.charCodeAt(r+1),hs.isVariationSelector(e)&&(a=!0)):hs.isZeroWidthJoiner(e)&&(o=a=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},T.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n=this.elem.globalData.fontManager,a=this.data,o=[],h=0,l=a.m.g,p=0,f=0,c=0,u=[],d=0,m=0,y=n.getFontByName(t.f),g=0,v=is(y),b=(t.fWeight=v.weight,t.fStyle=v.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),S=t.finalText.length,t.finalLineHeight=t.lh,t.tr/1e3*t.finalSize);if(t.sz)for(var _=!0,R=t.sz[0],B=t.sz[1];_;){for(var P,x=0,d=0,S=(P=this.buildFinalText(t.t)).length,b=t.tr/1e3*t.finalSize,E=-1,A=0;A<S;A+=1)r=P[A].charCodeAt(0),e=!1," "===P[A]?E=A:13!==r&&3!==r||(e=!(d=0),x+=t.finalLineHeight||1.2*t.finalSize),R<d+(g=n.chars?(s=n.getCharData(P[A],y.fStyle,y.fFamily),e?0:s.w*t.finalSize/100):n.measureText(P[A],t.f,t.finalSize))&&" "!==P[A]?(-1===E?S+=1:A=E,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(A,E===A?1:0,"\r"),E=-1,d=0):d=d+g+b;x+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<x?(--t.finalSize,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,S=t.finalText.length,_=!1)}d=-b;var k,g=0,C=0;for(A=0;A<S;A+=1)if(e=!1,13===(r=(k=t.finalText[A]).charCodeAt(0))||3===r?(C=0,u.push(d),m=m<d?d:m,d=-2*b,e=!(i=""),c+=1):i=k,g=n.chars?(s=n.getCharData(k,y.fStyle,n.getFontByName(t.f).fFamily),e?0:s.w*t.finalSize/100):n.measureText(i,t.f,t.finalSize)," "===k?C+=g+b:(d+=g+b+C,C=0),o.push({l:g,an:g,add:p,n:e,anIndexes:[],val:i,line:c,animatorJustifyOffset:0}),2==l){if(p+=g,""===i||" "===i||A===S-1){for(""!==i&&" "!==i||(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;h+=1,p=0}}else if(3==l){if(p+=g,""===i||A===S-1){for(""===i&&(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;p=0,h+=1}}else o[h].ind=h,o[h].extra=0,h+=1;if(t.l=o,m=m<d?d:m,u.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=m,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;for(var T,w,M,D,F=a.a,O=F.length,I=[],L=0;L<O;L+=1){for((T=F[L]).a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),M=T.s.b,A=D=0;A<S;A+=1)(w=o[A]).anIndexes[L]=D,(1==M&&""!==w.val||2==M&&""!==w.val&&" "!==w.val||3==M&&(w.n||" "==w.val||A==S-1)||4==M&&(w.n||A==S-1))&&(1===T.s.rn&&I.push(D),D+=1);a.a[L].s.totalChars=D;var V,z=-1;if(1===T.s.rn)for(A=0;A<S;A+=1)z!=(w=o[A]).anIndexes[L]&&(z=w.anIndexes[L],V=I.splice(Math.floor(Math.random()*I.length),1)[0]),w.anIndexes[L]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},T.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s),i=this.copyData(i,t);this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},T.prototype.recalculate=function(t){t=this.data.d.k[t].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},T.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},T.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};dr=Math.max,mr=Math.min,yr=Math.floor,vr.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e,i,s=0,r=0,n=1,a=1,s=(0<this.ne.v?s=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?n=1-this.xe.v/100:a=1+this.xe.v/100,Xt.getBezierEasing(s,r,n,a).get),r=0,n=this.finalS,a=this.finalE,o=this.data.sh;return r=2===o?s(r=a===n?a<=t?1:0:dr(0,mr(.5/(a-n)+(t-n)/(a-n),1))):3===o?s(r=a===n?a<=t?0:1:1-dr(0,mr(.5/(a-n)+(t-n)/(a-n),1))):4===o?(a===n?r=0:(r=dr(0,mr(.5/(a-n)+(t-n)/(a-n),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5===o?s(r=a===n?0:(e=-(i=a-n)/2+(t=mr(dr(0,t+.5-n),a-n)),i=i/2,Math.sqrt(1-e*e/(i*i)))):(6===o?r=a===n?0:(t=mr(dr(0,t+.5-n),a-n),(1+Math.cos(Math.PI+2*Math.PI*t/(a-n)))/2):t>=yr(n)&&(r=dr(0,mr(t-n<0?mr(a,1)-(n-t):a-t,1))),s(r)),100!==this.sm.v&&(r<(i=.5-.5*(e=0===(e=.01*this.sm.v)?1e-8:e))?r=0:1<(r=(r-i)/e)&&(r=1)),r*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 t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,t=this.e.v/t+e;t<i&&(e=i,i=t,t=e),this.finalS=i,this.finalE=t}},g([b],vr);var dr,mr,yr,gr={getTextSelectorProp:function(t,e,i){return new vr(t,e)}};function vr(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=A.getProp(t,e.s||{k:0},0,0,this),"e"in e?this.e=A.getProp(t,e.e,0,0,this):this.e={v:100},this.o=A.getProp(t,e.o||{k:0},0,0,this),this.xe=A.getProp(t,e.xe||{k:0},0,0,this),this.ne=A.getProp(t,e.ne||{k:0},0,0,this),this.sm=A.getProp(t,e.sm||{k:100},0,0,this),this.a=A.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function br(t,e,i){var s={propType:!1},r=A.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,W,i):s,rx:n.rx?r(t,n.rx,0,W,i):s,ry:n.ry?r(t,n.ry,0,W,i):s,sk:n.sk?r(t,n.sk,0,W,i):s,sa:n.sa?r(t,n.sa,0,W,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=gr.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function _r(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=x(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function w(){}_r.prototype.searchProperties=function(){for(var t,e=this._textData.a.length,i=A.getProp,s=0;s<e;s+=1)t=this._textData.a[s],this._animatorsData[s]=new br(this._elem,t,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)},_r.prototype.getMeasures=function(t,R){if(this.lettersChangedFlag=R,this._mdf||this._isFirstFrame||R||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var e,i,s,B,r,n,a,o,h,O,l,z,p,f=this._moreOptions.alignment.v,c=this._animatorsData,u=this._textData,d=this.mHelper,N=this._renderType,G=this.renderedLetters.length,m=t.l;if(this._hasMaskedPath){if(p=this._pathData.m,!this._pathData.n||this._pathData._mdf){for(var y,g=p.v,v={tLength:0,segments:[]},b=(g=this._pathData.r.v?g.reverse():g)._length-1,_=l=0;_<b;_+=1)y=ht.buildBezierData(g.v[_],g.v[_+1],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[_+1][0]-g.v[_+1][0],g.i[_+1][1]-g.v[_+1][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength;_=b,p.v.c&&(y=ht.buildBezierData(g.v[_],g.v[0],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[0][0]-g.v[0][0],g.i[0][1]-g.v[0][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,e=this._pathData.f.v,r=1,B=!(s=n=0),h=v.segments,e<0&&p.v.c)for(v.tLength<Math.abs(e)&&(e=-Math.abs(e)%v.tLength),r=(o=h[n=h.length-1].points).length-1;e<0;)e+=o[r].partialLength,--r<0&&(r=(o=h[--n].points).length-1);a=(o=h[n].points)[r-1],O=(i=o[r]).partialLength}b=m.length;var P,j,x,S,H,q,E,A,k,C,T,W,$,X,Y,J,w=0,U=0,K=1.2*t.finalSize*.714,Z=!0,M=c.length,D=-1,Q=e,tt=n,et=r,it=-1,st="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var F=0,nt=0,at=2===t.j?-.5:-1,I=0,ot=!0;for(_=0;_<b;_+=1)if(m[_].n){for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1;ot=!(F=0)}else{for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(ot&&2===t.j&&(nt+=P.t.v*at),(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?F+=P.t.v*x[0]*at:F+=P.t.v*x*at);ot=!1}for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1}for(_=0;_<b;_+=1){if(d.reset(),E=1,m[_].n)w=0,U=U+t.yOffset+(Z?1:0),e=Q,Z=!1,this._hasMaskedPath&&(a=(o=h[n=tt].points)[(r=et)-1],O=(i=o[r]).partialLength,s=0),Y=W=X=st="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(it!==m[_].line){switch(t.j){case 1:e+=l-t.lineWidths[m[_].line];break;case 2:e+=(l-t.lineWidths[m[_].line])/2}it=m[_].line}D!==m[_].ind&&(m[D]&&(e+=m[D].extra),e+=m[_].an/2,D=m[_].ind),e+=f[0]*m[_].an*.005;for(var L=0,V=0;V<M;V+=1)(P=c[V].a).p.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.p.v[0]*x[0]:L+=P.p.v[0]*x),P.a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.a.v[0]*x[0]:L+=P.a.v[0]*x);for(B=!0,this._pathData.a.v&&(e=.5*m[0].an+(l-this._pathData.f.v-.5*m[0].an-.5*m[m.length-1].an)*D/(b-1),e+=this._pathData.f.v);B;)e+L<=s+O||!o?(z=(e+L-s)/i.partialLength,H=a.point[0]+(i.point[0]-a.point[0])*z,q=a.point[1]+(i.point[1]-a.point[1])*z,d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01),B=!1):o&&(s+=i.partialLength,(r+=1)>=o.length&&(r=0,o=h[n+=1]?h[n].points:p.v.c?h[n=r=0].points:(s-=i.partialLength,null)),o)&&(a=i,O=(i=o[r]).partialLength);S=m[_].an/2-m[_].add,d.translate(-S,0,0)}else S=m[_].an/2-m[_].add,d.translate(-S,0,0),d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01,0);for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),0!==w||0!==t.j)&&(this._hasMaskedPath?x.length?e+=P.t.v*x[0]:e+=P.t.v*x:x.length?w+=P.t.v*x[0]:w+=P.t.v*x);for(t.strokeWidthAnim&&(k=t.sw||0),t.strokeColorAnim&&(A=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(C=[t.fc[0],t.fc[1],t.fc[2]]),V=0;V<M;V+=1)(P=c[V].a).a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.translate(-P.a.v[0]*x[0],-P.a.v[1]*x[1],P.a.v[2]*x[2]):d.translate(-P.a.v[0]*x,-P.a.v[1]*x,P.a.v[2]*x));for(V=0;V<M;V+=1)(P=c[V].a).s.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.scale(1+(P.s.v[0]-1)*x[0],1+(P.s.v[1]-1)*x[1],1):d.scale(1+(P.s.v[0]-1)*x,1+(P.s.v[1]-1)*x,1));for(V=0;V<M;V+=1){if(P=c[V].a,x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),P.sk.propType&&(x.length?d.skewFromAxis(-P.sk.v*x[0],P.sa.v*x[1]):d.skewFromAxis(-P.sk.v*x,P.sa.v*x)),P.r.propType&&(x.length?d.rotateZ(-P.r.v*x[2]):d.rotateZ(-P.r.v*x)),P.ry.propType&&(x.length?d.rotateY(P.ry.v*x[1]):d.rotateY(P.ry.v*x)),P.rx.propType&&(x.length?d.rotateX(P.rx.v*x[0]):d.rotateX(P.rx.v*x)),P.o.propType&&(x.length?E+=(P.o.v*x[0]-E)*x[0]:E+=(P.o.v*x-E)*x),t.strokeWidthAnim&&P.sw.propType&&(x.length?k+=P.sw.v*x[0]:k+=P.sw.v*x),t.strokeColorAnim&&P.sc.propType)for(T=0;T<3;T+=1)x.length?A[T]+=(P.sc.v[T]-A[T])*x[0]:A[T]+=(P.sc.v[T]-A[T])*x;if(t.fillColorAnim&&t.fc){if(P.fc.propType)for(T=0;T<3;T+=1)x.length?C[T]+=(P.fc.v[T]-C[T])*x[0]:C[T]+=(P.fc.v[T]-C[T])*x;P.fh.propType&&(C=x.length?ct(C,P.fh.v*x[0]):ct(C,P.fh.v*x)),P.fs.propType&&(C=x.length?pt(C,P.fs.v*x[0]):pt(C,P.fs.v*x)),P.fb.propType&&(C=x.length?ft(C,P.fb.v*x[0]):ft(C,P.fb.v*x))}}for(V=0;V<M;V+=1)(P=c[V].a).p.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),this._hasMaskedPath?x.length?d.translate(0,P.p.v[1]*x[0],-P.p.v[2]*x[1]):d.translate(0,P.p.v[1]*x,-P.p.v[2]*x):x.length?d.translate(P.p.v[0]*x[0],P.p.v[1]*x[1],-P.p.v[2]*x[2]):d.translate(P.p.v[0]*x,P.p.v[1]*x,-P.p.v[2]*x));if(t.strokeWidthAnim&&(W=k<0?0:k),t.strokeColorAnim&&($="rgb("+Math.round(255*A[0])+","+Math.round(255*A[1])+","+Math.round(255*A[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*C[0])+","+Math.round(255*C[1])+","+Math.round(255*C[2])+")"),this._hasMaskedPath)d.translate(0,-t.ls),d.translate(0,f[1]*K*.01+U,0),this._pathData.p.v&&(J=(i.point[1]-a.point[1])/(i.point[0]-a.point[0]),J=180*Math.atan(J)/Math.PI,i.point[0]<a.point[0]&&(J+=180),d.rotate(-J*Math.PI/180)),d.translate(H,q,0),e-=f[0]*m[_].an*.005,m[_+1]&&D!==m[_+1].ind&&(e=(e+=m[_].an/2)+.001*t.tr*t.finalSize);else{switch(d.translate(w,U,0),t.ps&&d.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line]),0,0);break;case 2:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line])/2,0,0)}d.translate(0,-t.ls),d.translate(S,0,0),d.translate(f[0]*m[_].an*.005,f[1]*K*.01,0),w+=m[_].l+.001*t.tr*t.finalSize}"html"===N?st=d.toCSS():"svg"===N?st=d.to2dCSS():rt=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Y=E}G<=_?(j=new ur(Y,W,$,X,st,rt),this.renderedLetters.push(j),G+=1,this.lettersChangedFlag=!0):(j=this.renderedLetters[_],this.lettersChangedFlag=j.update(Y,W,$,X,st,rt)||this.lettersChangedFlag)}}},_r.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},_r.prototype.mHelper=new o,_r.prototype.defaultPropsArray=[],g([b],_r),w.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new T(this,t.t,this.dynamicProperties),this.textAnimator=new _r(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},w.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},w.prototype.createPathShape=function(t,e){for(var i,s=e.length,r="",n=0;n<s;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,r+=rr(i,i.i.length,!0,t));return r},w.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},w.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},w.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},w.prototype.applyTextPropertiesToMatrix=function(t,e,i,s,r){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(s,r,0)},w.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},w.prototype.emptyProp=new ur,w.prototype.destroy=function(){},w.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Pr={shapes:[]};function xr(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function Sr(t,e,i){this.initElement(t,e,i)}function Er(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function M(){}function Ar(){}function kr(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?x(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function Cr(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=E("svg");var t="",i=(e&&e.title&&(i=E("title"),s=S(),i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),t+=s),e&&e.description&&(i=E("desc"),s=S(),i.setAttribute("id",s),i.textContent=e.description,this.svgElement.appendChild(i),t+=" "+s),t&&this.svgElement.setAttribute("aria-labelledby",t),E("defs")),s=(this.svgElement.appendChild(i),E("g"));this.svgElement.appendChild(s),this.layerElement=s,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:i,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}g([p,Ms,Bs,m,f,Os,w],xr),xr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=E("text"))},xr.prototype.buildTextContents=function(t){for(var e=0,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},xr.prototype.buildShapeData=function(t,e){var i;return t.shapes&&t.shapes.length&&(i=t.shapes[0]).it&&(i=i.it[i.it.length-1]).s&&(i.s.k[0]=e,i.s.k[1]=e),t},xr.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData,s=(this.renderedLetters=x(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize),this.globalData.fontManager.getFontByName(i.f)),r=(s.fClass?this.layerElement.setAttribute("class",s.fClass):(this.layerElement.setAttribute("font-family",s.fFamily),t=i.fWeight,e=i.fStyle,this.layerElement.setAttribute("font-style",e),this.layerElement.setAttribute("font-weight",t)),this.layerElement.setAttribute("aria-label",i.t),i.l||[]),n=!!this.globalData.fontManager.chars;_=r.length;var a=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*i.tr*i.finalSize;if(!o||n||i.sz){var c,u,d,m,y=this.textSpans.length;for(P=0;P<_;P+=1)this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),n&&o&&0!==P||(c=P<y?this.textSpans[P].span:E(n?"g":"text"),y<=P&&(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=c,n&&(m=E("g"),c.appendChild(m),this.textSpans[P].childSpan=m),this.textSpans[P].span=c,this.layerElement.appendChild(c)),c.style.display="inherit"),a.reset(),o&&(r[P].n&&(h=-f,l=l+i.yOffset+(p?1:0),p=!1),this.applyTextPropertiesToMatrix(i,a,r[P].line,h,l),h=h+(r[P].l||0)+f),n?(u=1===(m=this.globalData.fontManager.getCharData(i.finalText[P],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t?new kr(m.data,this.globalData,this):(u=Pr,new C(u=m.data&&m.data.shapes?this.buildShapeData(m.data,i.finalSize):u,this.globalData,this)),this.textSpans[P].glyph&&(d=this.textSpans[P].glyph,this.textSpans[P].childSpan.removeChild(d.layerElement),d.destroy()),(this.textSpans[P].glyph=u)._debug=!0,u.prepareFrame(0),u.renderFrame(),this.textSpans[P].childSpan.appendChild(u.layerElement),1===m.t&&this.textSpans[P].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")):(o&&c.setAttribute("transform","translate("+a.props[12]+","+a.props[13]+")"),c.textContent=r[P].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));o&&c&&c.setAttribute("d","")}else{var g=this.textContainer,v="start";switch(i.j){case 1:v="end";break;case 2:v="middle";break;default:v="start"}g.setAttribute("text-anchor",v),g.setAttribute("letter-spacing",f);for(var b=this.buildTextContents(i.finalText),_=b.length,l=i.ps?i.ps[1]+i.ascent:0,P=0;P<_;P+=1)(c=this.textSpans[P].span||E("tspan")).textContent=b[P],c.setAttribute("x",0),c.setAttribute("y",l),c.style.display="inherit",g.appendChild(c),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=c,l+=i.finalLineHeight;this.layerElement.appendChild(g)}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0},xr.prototype.sourceRectAtTime=function(){var t;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged&&(this._sizeChanged=!1,t=this.layerElement.getBBox(),this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}),this.bbox},xr.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf)&&(this._mdf=!0)},xr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;for(var t,e,i,s=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l,n=r.length,a=0;a<n;a+=1)r[a].n||(t=s[a],e=this.textSpans[a].span,(i=this.textSpans[a].glyph)&&i.renderFrame(),t._mdf.m&&e.setAttribute("transform",t.m),t._mdf.o&&e.setAttribute("opacity",t.o),t._mdf.sw&&e.setAttribute("stroke-width",t.sw),t._mdf.sc&&e.setAttribute("stroke",t.sc),t._mdf.fc&&e.setAttribute("fill",t.fc))}},g([Ns],Sr),Sr.prototype.createContent=function(){var t=E("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},Er.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Er.prototype.renderFrame=function(){},Er.prototype.getBaseElement=function(){return null},Er.prototype.destroy=function(){},Er.prototype.sourceRectAtTime=function(){},Er.prototype.hide=function(){},g([p,Ms,m,f],Er),g([d],M),M.prototype.createNull=function(t){return new Er(t,this.globalData,this)},M.prototype.createShape=function(t){return new C(t,this.globalData,this)},M.prototype.createText=function(t){return new xr(t,this.globalData,this)},M.prototype.createImage=function(t){return new Ns(t,this.globalData,this)},M.prototype.createSolid=function(t){return new Sr(t,this.globalData,this)},M.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,i=(this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t,E("clipPath")),s=E("rect"),r=(s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0),S());i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+P()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=x(t.layers.length)},M.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},M.prototype.updateContainerSize=function(){},M.prototype.findIndexByInd=function(t){for(var e=0,i=this.layers.length,e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},M.prototype.buildItem=function(t){var e,i,s=this.elements;s[t]||99===this.layers[t].ty||(s[t]=!0,e=this.createItem(this.layers[t]),s[t]=e,mt()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&-1!==(i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1)&&(this.elements[i]&&!0!==this.elements[i]?(s=s[i].getMatte(this.layers[t].tt),e.setMatte(s)):(this.buildItem(i),this.addPendingElement(e))))},M.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[s].getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},M.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){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 e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},M.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)}},M.prototype.hide=function(){this.layerElement.style.display="none"},M.prototype.show=function(){this.layerElement.style.display="block"},g([p,Ms,m,f,Os],Ar),Ar.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},Ar.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){this.tm._placeholder?this.renderedFrame=t/this.data.sr:((t=this.tm.v)===this.data.op&&(t=this.data.op-1),this.renderedFrame=t);var e,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=t-1;0<=e;--e)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf)&&(this._mdf=!0)}},Ar.prototype.renderInnerContent=function(){for(var t=this.layers.length,e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Ar.prototype.setElements=function(t){this.elements=t},Ar.prototype.getElements=function(){return this.elements},Ar.prototype.destroyElements=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},Ar.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},g([M,Ar,Bs],kr),kr.prototype.createComp=function(t){return new kr(t,this.globalData,this)},g([M],Cr),Cr.prototype.createComp=function(t){return new kr(t,this.globalData,this)};var Tr={};function wr(t){var e,i=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<i;e+=1){s=null;var s,r=t.data.ef[e].ty;(s=Tr[r]?new Tr[r].effect(t.effectsManager.effectElements[e],t):s)&&this.filters.push(s)}this.filters.length&&t.addRenderableComponent(this)}function Mr(){}function Dr(t,e,i){this.initElement(t,e,i)}function D(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=E("g"),this.initElement(t,e,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function Fr(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}function Ir(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initHierarchy();e=A.getProp;if(this.pe=e(this,t.pe,0,0,this),t.ks.p.s?(this.px=e(this,t.ks.p.x,1,0,this),this.py=e(this,t.ks.p.y,1,0,this),this.pz=e(this,t.ks.p.z,1,0,this)):this.p=e(this,t.ks.p,1,0,this),t.ks.a&&(this.a=e(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to)for(var s=t.ks.or.k.length,r=0;r<s;r+=1)t.ks.or.k[r].to=null,t.ks.or.k[r].ti=null;this.or=e(this,t.ks.or,1,W,this),this.or.sh=!0,this.rx=e(this,t.ks.rx,0,W,this),this.ry=e(this,t.ks.ry,0,W,this),this.rz=e(this,t.ks.rz,0,W,this),this.mat=new o,this._prevMat=new o,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function Lr(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}function F(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 Vr(t,e,i){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?x(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?A.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function Rr(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"}return wr.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},wr.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},(Mr.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=y(this.data.tg||"div"),this.data.hasMask?(this.svgElement=E("svg"),this.layerElement=E("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,Z(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new wr(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,e=this.transformedElement?this.transformedElement.style:{};this.finalTransform._matMdf&&(t=this.finalTransform.mat.toCSS(),e.transform=t,e.webkitTransform=t),this.finalTransform._opMdf&&(e.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 Ds(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}}).getBaseElement=Bs.prototype.getBaseElement,Mr.prototype.destroyBaseElement=Mr.prototype.destroy,Mr.prototype.buildElementParenting=d.prototype.buildElementParenting,g([p,Ms,Mr,m,f,Os],Dr),Dr.prototype.createContent=function(){var t;this.data.hasMask?((t=E("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=y("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},g([p,Ms,Dr,C,Mr,m,f,ms],D),D.prototype._renderShapeFrame=D.prototype.renderInnerContent,D.prototype.createContent=function(){var t,e;this.baseElement.style.fontSize=0,this.data.hasMask?(this.layerElement.appendChild(this.shapesContainer),t=this.svgElement):(t=E("svg"),e=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},D.prototype.getTransformedPoint=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e=t[s].mProps.v.applyToPointArray(e[0],e[1],0);return e},D.prototype.calculateShapeBoundingBox=function(t,e){var i,s,r,n,a,o=t.sh.v,h=t.transformers,l=o._length;if(!(l<=1)){for(i=0;i<l-1;i+=1)s=this.getTransformedPoint(h,o.v[i]),r=this.getTransformedPoint(h,o.o[i]),n=this.getTransformedPoint(h,o.i[i+1]),a=this.getTransformedPoint(h,o.v[i+1]),this.checkBounds(s,r,n,a,e);o.c&&(s=this.getTransformedPoint(h,o.v[i]),r=this.getTransformedPoint(h,o.o[i]),n=this.getTransformedPoint(h,o.i[0]),a=this.getTransformedPoint(h,o.v[0]),this.checkBounds(s,r,n,a,e))}},D.prototype.checkBounds=function(t,e,i,s,r){this.getBoundsOfCurve(t,e,i,s);t=this.shapeBoundingBox;r.x=J(t.left,r.x),r.xMax=Y(t.right,r.xMax),r.y=J(t.top,r.y),r.yMax=Y(t.bottom,r.yMax)},D.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},D.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},D.prototype.getBoundsOfCurve=function(t,e,i,s){for(var r,n,a,o,h=[[t[0],s[0]],[t[1],s[1]]],l=0;l<2;++l)n=6*t[l]-12*e[l]+6*i[l],r=-3*t[l]+9*e[l]-9*i[l]+3*s[l],o=3*e[l]-3*t[l],n|=0,o|=0,0==(r|=0)&&0==n||(0==r?0<(a=-o/n)&&a<1&&h[l].push(this.calculateF(a,t,e,i,s,l)):0<=(a=n*n-4*o*r)&&(0<(o=(-n+$(a))/(2*r))&&o<1&&h[l].push(this.calculateF(o,t,e,i,s,l)),0<(o=(-n-$(a))/(2*r)))&&o<1&&h[l].push(this.calculateF(o,t,e,i,s,l)));this.shapeBoundingBox.left=J.apply(null,h[0]),this.shapeBoundingBox.top=J.apply(null,h[1]),this.shapeBoundingBox.right=Y.apply(null,h[0]),this.shapeBoundingBox.bottom=Y.apply(null,h[1])},D.prototype.calculateF=function(t,e,i,s,r,n){return v(1-t,3)*e[n]+3*v(1-t,2)*t*i[n]+3*(1-t)*v(t,2)*s[n]+v(t,3)*r[n]},D.prototype.calculateBoundingBox=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]&&t[s].sh?this.calculateShapeBoundingBox(t[s],e):t[s]&&t[s].it?this.calculateBoundingBox(t[s].it,e):t[s]&&t[s].style&&t[s].w&&this.expandStrokeBoundingBox(t[s].w,e)},D.prototype.expandStrokeBoundingBox=function(t,e){var i=0;if(t.keyframes){for(var s=0;s<t.keyframes.length;s+=1){var r=t.keyframes[s].s;i<r&&(i=r)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},D.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},D.prototype.renderInnerContent=function(){var t,e;this._renderShapeFrame(),this.hidden||!this._isFirstFrame&&!this._mdf||((e=this.tempBoundingBox).x=t=999999,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,!this.currentBoxContains(e)&&(t=!1,this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),t=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),t=!0),t||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y)&&(this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.shapeCont.style,e="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)",t.transform=e,t.webkitTransform=e))},g([p,Ms,Mr,m,f,Os,w],Fr),Fr.prototype.createContent=function(){var t;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),t=E("g"),this.maskedElement.appendChild(t),this.innerElem=t):(this.renderType="html",this.innerElem=this.layerElement),this.checkParenting()},Fr.prototype.buildNewText=function(){var t,e=this.textProperty.currentData,i=(this.renderedLetters=x(e.l?e.l.length:0),this.innerElem.style),s=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)",r=(i.fill=s,i.color=s,e.sc&&(i.stroke=this.buildColor(e.sc),i.strokeWidth=e.sw+"px"),this.globalData.fontManager.getFontByName(e.f));this.globalData.fontManager.chars||(i.fontSize=e.finalSize+"px",i.lineHeight=e.finalSize+"px",r.fClass?this.innerElem.className=r.fClass:(i.fontFamily=r.fFamily,s=e.fWeight,t=e.fStyle,i.fontStyle=t,i.fontWeight=s));for(var n,a,o,h,l,p,f=e.l,c=f.length,u=this.mHelper,d=0,m=0;m<c;m+=1)this.globalData.fontManager.chars?(this.textPaths[d]?n=this.textPaths[d]:((n=E("path")).setAttribute("stroke-linecap",Hs[1]),n.setAttribute("stroke-linejoin",qs[2]),n.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?o=(a=this.textSpans[d]).children[0]:((a=y("div")).style.lineHeight=0,(o=E("svg")).appendChild(n),Z(a)))):this.isMasked?n=this.textPaths[d]||E("text"):this.textSpans[d]?(a=this.textSpans[d],n=this.textPaths[d]):(Z(a=y("span")),Z(n=y("span")),a.appendChild(n)),this.globalData.fontManager.chars?(l=(l=this.globalData.fontManager.getCharData(e.finalText[m],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))?l.data:null,u.reset(),l&&l.shapes&&l.shapes.length&&(h=l.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),h=this.createPathShape(u,h),n.setAttribute("d",h)),this.isMasked?this.innerElem.appendChild(n):(this.innerElem.appendChild(a),l&&l.shapes?(document.body.appendChild(o),h=o.getBBox(),o.setAttribute("width",h.width+2),o.setAttribute("height",h.height+2),o.setAttribute("viewBox",h.x-1+" "+(h.y-1)+" "+(h.width+2)+" "+(h.height+2)),l=o.style,p="translate("+(h.x-1)+"px,"+(h.y-1)+"px)",l.transform=p,l.webkitTransform=p,f[m].yOffset=h.y-1):(o.setAttribute("width",1),o.setAttribute("height",1)),a.appendChild(o))):(n.textContent=f[m].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(n):(this.innerElem.appendChild(a),l=n.style,p="translate3d(0,"+-e.finalSize/1.2+"px,0)",l.transform=p,l.webkitTransform=p)),this.isMasked?this.textSpans[d]=n:this.textSpans[d]=a,this.textSpans[d].style.display="block",this.textPaths[d]=n,d+=1;for(;d<this.textSpans.length;)this.textSpans[d].style.display="none",d+=1},Fr.prototype.renderInnerContent=function(){var t;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;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,r="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)",t.transform=r,t.webkitTransform=r)}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){for(var e,i,s,r,n=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l,h=o.length,l=0;l<h;l+=1)o[l].n?n+=1:(i=this.textSpans[l],s=this.textPaths[l],e=a[n],n+=1,e._mdf.m&&(this.isMasked?i.setAttribute("transform",e.m):(i.style.webkitTransform=e.m,i.style.transform=e.m)),i.style.opacity=e.o,e.sw&&e._mdf.sw&&s.setAttribute("stroke-width",e.sw),e.sc&&e._mdf.sc&&s.setAttribute("stroke",e.sc),e.fc&&e._mdf.fc&&(s.setAttribute("fill",e.fc),s.style.color=e.fc));this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)&&(r=this.innerElem.getBBox(),this.currentBBox.w!==r.width&&(this.currentBBox.w=r.width,this.svgElement.setAttribute("width",r.width)),this.currentBBox.h!==r.height&&(this.currentBBox.h=r.height,this.svgElement.setAttribute("height",r.height)),this.currentBBox.w===r.width+2&&this.currentBBox.h===r.height+2&&this.currentBBox.x===r.x-1&&this.currentBBox.y===r.y-1||(this.currentBBox.w=r.width+2,this.currentBBox.h=r.height+2,this.currentBBox.x=r.x-1,this.currentBBox.y=r.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style,r="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)",t.transform=r,t.webkitTransform=r))}},g([p,f,m],Ir),Ir.prototype.setup=function(){for(var t,e,i,s,r,n=this.comp.threeDElements.length,a=0;a<n;a+=1)"3d"===(r=this.comp.threeDElements[a]).type&&(t=r.perspectiveElem.style,r=r.container.style,e=this.pe.v+"px",i="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",t.perspective=e,t.webkitPerspective=e,r.transformOrigin=i,r.mozTransformOrigin=i,r.webkitTransformOrigin=i,t.transform=s,t.webkitTransform=s)},Ir.prototype.createElements=function(){},Ir.prototype.hide=function(){},Ir.prototype.renderFrame=function(){var t=this._isFirstFrame;if(this.hierarchy)for(h=this.hierarchy.length,l=0;l<h;l+=1)t=this.hierarchy[l].finalTransform.mProp._mdf||t;if(t||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(l=h=this.hierarchy.length-1;0<=l;--l){var e=this.hierarchy[l].finalTransform.mProp;this.mat.translate(-e.p.v[0],-e.p.v[1],e.p.v[2]),this.mat.rotateX(-e.or.v[0]).rotateY(-e.or.v[1]).rotateZ(e.or.v[2]),this.mat.rotateX(-e.rx.v).rotateY(-e.ry.v).rotateZ(e.rz.v),this.mat.scale(1/e.s.v[0],1/e.s.v[1],1/e.s.v[2]),this.mat.translate(e.a.v[0],e.a.v[1],e.a.v[2])}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&&(s=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]],i=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),s=[s[0]/i,s[1]/i,s[2]/i],i=Math.sqrt(s[2]*s[2]+s[0]*s[0]),i=Math.atan2(s[1],i),s=Math.atan2(s[0],-s[2]),this.mat.rotateY(s).rotateX(-i)),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 i,s,r=!this._prevMat.equals(this.mat);if((r||this.pe._mdf)&&this.comp.threeDElements){for(var n,a,o,h=this.comp.threeDElements.length,l=0;l<h;l+=1)"3d"===(o=this.comp.threeDElements[l]).type&&(r&&(n=this.mat.toCSS(),(a=o.container.style).transform=n,a.webkitTransform=n),this.pe._mdf)&&((a=o.perspectiveElem.style).perspective=this.pe.v+"px",a.webkitPerspective=this.pe.v+"px");this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},Ir.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Ir.prototype.destroy=function(){},Ir.prototype.getBaseElement=function(){return null},g([p,Ms,Mr,Dr,m,f,ms],Lr),Lr.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=E("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)},g([d],F),F.prototype.buildItem=Cr.prototype.buildItem,F.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},F.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(t,e);else if(this.threeDElements)this.addTo3dContainer(t,e);else{for(var s,r,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n],s=(this.layers[n].ddd?this.getThreeDContainerByPos(n):r.getBaseElement())||s),n+=1;s?i.ddd&&this.supports3d||this.layerElement.insertBefore(t,s):i.ddd&&this.supports3d||this.layerElement.appendChild(t)}}},F.prototype.createShape=function(t){return new(this.supports3d?D:C)(t,this.globalData,this)},F.prototype.createText=function(t){return new(this.supports3d?Fr:xr)(t,this.globalData,this)},F.prototype.createCamera=function(t){return this.camera=new Ir(t,this.globalData,this),this.camera},F.prototype.createImage=function(t){return new(this.supports3d?Lr:Ns)(t,this.globalData,this)},F.prototype.createSolid=function(t){return new(this.supports3d?Dr:Sr)(t,this.globalData,this)},F.prototype.createNull=Cr.prototype.createNull,F.prototype.getThreeDContainerByPos=function(t){for(var e=0,i=this.threeDElements.length;e<i;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},F.prototype.createThreeDContainer=function(t,e){var i,s=y("div"),r=(Z(s),y("div")),n=(Z(r),"3d"===e&&((n=s.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px",n.webkitTransformOrigin=i="50% 50%",n.mozTransformOrigin=i,n.transformOrigin=i,(n=r.style).transform=i="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",n.webkitTransform=i),s.appendChild(r),{container:r,perspectiveElem:s,startPos:t,endPos:t,type:e});return this.threeDElements.push(n),n},F.prototype.build3dContainers=function(){for(var t,e=this.layers.length,i="",s=0;s<e;s+=1)this.layers[s].ddd&&3!==this.layers[s].ty?"3d"!==i&&(t=this.createThreeDContainer(s,i="3d")):"2d"!==i&&(t=this.createThreeDContainer(s,i="2d")),t.endPos=Math.max(t.endPos,s);for(s=(e=this.threeDElements.length)-1;0<=s;--s)this.resizerElem.appendChild(this.threeDElements[s].perspectiveElem)},F.prototype.addTo3dContainer=function(t,e){for(var i=0,s=this.threeDElements.length;i<s;){if(e<=this.threeDElements[i].endPos){for(var r,n=this.threeDElements[i].startPos;n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.threeDElements[i].container.insertBefore(t,r):this.threeDElements[i].container.appendChild(t);break}i+=1}},F.prototype.configAnimation=function(t){var e=y("div"),i=this.animationItem.wrapper,s=e.style,i=(s.width=t.w+"px",s.height=t.h+"px",Z(this.resizerElem=e),s.transformStyle="flat",s.mozTransformStyle="flat",s.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),s.overflow="hidden",E("svg")),e=(i.setAttribute("width","1"),i.setAttribute("height","1"),Z(i),this.resizerElem.appendChild(i),E("defs"));i.appendChild(e),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=e,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},F.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},F.prototype.updateContainerSize=function(){var t,e,i,s=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight,s=s/r<this.globalData.compSize.w/this.globalData.compSize.h?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,i=0,(r-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=r/this.globalData.compSize.h,e=r/this.globalData.compSize.h,i=(s-this.globalData.compSize.w*(r/this.globalData.compSize.h))/2,0),r=this.resizerElem.style;r.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+s+",0,1)",r.transform=r.webkitTransform},F.prototype.renderFrame=Cr.prototype.renderFrame,F.prototype.hide=function(){this.resizerElem.style.display="none"},F.prototype.show=function(){this.resizerElem.style.display="block"},F.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else for(var t=this.globalData.compSize.w,e=this.globalData.compSize.h,i=this.threeDElements.length,s=0;s<i;s+=1){var r=this.threeDElements[s].perspectiveElem.style;r.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",r.perspective=r.webkitPerspective}},F.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=y("div"),r=0;r<i;r+=1)t[r].xt&&((e=this.createComp(t[r],s,this.globalData.comp,null)).initExpressions(),this.globalData.projectInterface.registerComposition(e))},g([F,Ar,Mr],Vr),Vr.prototype._createBaseContainerElements=Vr.prototype.createContainerElements,Vr.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},Vr.prototype.addTo3dContainer=function(t,e){for(var i,s=0;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},Vr.prototype.createComp=function(t){return new(this.supports3d?Vr:kr)(t,this.globalData,this)},g([F],Rr),Rr.prototype.createComp=function(t){return new(this.supports3d?Vr:kr)(t,this.globalData,this)},Rt["html"]=Rr,Si.registerModifier("tm",l),Si.registerModifier("pb",Ei),Si.registerModifier("rp",Ti),Si.registerModifier("rd",wi),Si.registerModifier("zz",Wi),Si.registerModifier("op",es),t},"object"==_typeof2(t=Br)&&_typeof2(Or)<"u"?Or.exports=e():"function"==typeof define&&define.amd?define(e):(t=("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:t||self).lottie=e())}),kc=Cc()}),Tl={};fr(Tl,{default:function(){return Mc}});var Tc,Mc,Ml=ls(function(){qs(),Tc=is(function(exports,module){("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"&&function(t,e){"object"==_typeof2(exports)&&_typeof2(module)<"u"?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=("undefined"==typeof globalThis?"undefined":_typeof2(globalThis))<"u"?globalThis:t||self).lottie=e()}(exports,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){for(var i,s=t.length,r=0;r<s;r+=1)for(var n in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,n)&&(e.prototype[n]=i[n])}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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(t){for(var e=this.audios.length,i=0;i<e;i+=1)this.audios[i].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(){for(var t=this.audios.length,e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function i(t,e){var i,s=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(s=0;s<e;s+=1)r.push(i);return r}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):i(t,e)}:i}();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})(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={},defaultCurveSegments=(function(){for(var t=["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"],e=t.length,i=0;i<e;i+=1)BMMath[t[i]]=Math[t[i]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){for(var e=createSizedArray(t.length),i=t.length,s=0;s<i;s+=1)e[s]=Math.abs(t[s]);return e}return Math.abs(t)},150),degToRads=Math.PI/180,roundCorner=.5519;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,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}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}var createElementID=function(){var t=0;return function(){return idPrefix$1+"__lottie_element_"+(t+=1)}}();function HSVtoRGB(t,e,i){var s,r,n,a=Math.floor(6*t),t=6*t-a,o=i*(1-e),h=i*(1-t*e),l=i*(1-(1-t)*e);switch(a%6){case 0:s=i,r=l,n=o;break;case 1:s=h,r=i,n=o;break;case 2:s=o,r=i,n=l;break;case 3:s=o,r=h,n=i;break;case 4:s=l,r=o,n=i;break;case 5:s=i,r=o,n=h}return[s,r,n]}function RGBtoHSV(t,e,i){var s,r=Math.max(t,e,i),n=Math.min(t,e,i),a=r-n,o=0===r?0:a/r,h=r/255;switch(r){case n:s=0;break;case t:s=e-i+a*(e<i?6:0),s/=6*a;break;case e:s=i-t+2*a,s/=6*a;break;case i:s=t-e+4*a,s/=6*a}return[s,o,h]}function addSaturationToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[1]+=e,1<t[1]?t[1]=1:t[1]<=0&&(t[1]=0),HSVtoRGB(t[0],t[1],t[2])}function addBrightnessToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[2]+=e,1<t[2]?t[2]=1:t[2]<0&&(t[2]=0),HSVtoRGB(t[0],t[1],t[2])}function addHueToRGB(t,e){t=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return t[0]+=e/360,1<t[0]?--t[0]:t[0]<0&&(t[0]+=1),HSVtoRGB(t[0],t[1],t[2])}var rgbToHex=function(){for(var t,s=[],e=0;e<256;e+=1)t=e.toString(16),s[e]=1===t.length?"0"+t:t;return function(t,e,i){return"#"+s[t=t<0?0:t]+s[e=e<0?0:e]+s[i=i<0?0:i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(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})(t)}var dataManager=function(){var i,s,r=1,n=[],a={onmessage:function(){},postMessage:function(t){i({data:t})}},o={postMessage:function(t){a.onmessage({data:t})}};function h(){var t,e;s||(t=function(e){function t(){function p(t,e){for(var i,s,r,n=t.length,a=0;a<n;a+=1)if("ks"in(r=t[a])&&!r.completed){if(r.completed=!0,r.hasMask)for(var o=r.masksProperties,h=o.length,l=0;l<h;l+=1)if(o[l].pt.k.i)u(o[l].pt.k);else for(s=o[l].pt.k.length,i=0;i<s;i+=1)o[l].pt.k[i].s&&u(o[l].pt.k[i].s[0]),o[l].pt.k[i].e&&u(o[l].pt.k[i].e[0]);0===r.ty?(r.layers=f(r.refId,e),p(r.layers,e)):4===r.ty?c(r.shapes):5===r.ty&&0===(r=r).t.a.length&&0 in r.t.p}}function f(t,e){t=function(t,e){for(var i=0,s=e.length;i<s;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return t?t.layers.__used?JSON.parse(JSON.stringify(t.layers)):(t.layers.__used=!0,t.layers):null}function c(t){for(var e,i,s=t.length-1;0<=s;--s)if("sh"===t[s].ty)if(t[s].ks.k.i)u(t[s].ks.k);else for(i=t[s].ks.k.length,e=0;e<i;e+=1)t[s].ks.k[e].s&&u(t[s].ks.k[e].s[0]),t[s].ks.k[e].e&&u(t[s].ks.k[e].e[0]);else"gr"===t[s].ty&&c(t[s].it)}function u(t){for(var e=t.i.length,i=0;i<e;i+=1)t.i[i][0]+=t.v[i][0],t.i[i][1]+=t.v[i][1],t.o[i][0]+=t.v[i][0],t.o[i][1]+=t.v[i][1]}function r(t,e){e=e?e.split("."):[100,100,100];return t[0]>e[0]||!(e[0]>t[0])&&(t[1]>e[1]||!(e[1]>t[1])&&(t[2]>e[2]||(e[2],t[2],0)))}h=[4,4,14];var s,n,a,o,h,l=function(t){if(r(h,t.v)&&(P(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&P(t.assets[i].layers)},d=(o=[4,7,99],function(t){if(t.chars&&!r(o,t.v))for(var e=t.chars.length,i=0;i<e;i+=1){var s=t.chars[i];s.data&&s.data.shapes&&(c(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}},t.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"})))}}),m=(a=[5,7,15],function(t){if(r(a,t.v)&&(_(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&_(t.assets[i].layers)}),y=(n=[4,1,9],function(t){if(r(n,t.v)&&(b(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&b(t.assets[i].layers)}),g=(s=[4,4,18],function(t){if(r(s,t.v)&&(v(t.layers),t.assets))for(var e=t.assets.length,i=0;i<e;i+=1)t.assets[i].layers&&v(t.assets[i].layers)});function v(t){for(var e,i,s,r=t.length,n=0;n<r;n+=1){if((e=t[n]).hasMask)for(var a=e.masksProperties,o=a.length,h=0;h<o;h+=1)if(a[h].pt.k.i)a[h].pt.k.c=a[h].cl;else for(s=a[h].pt.k.length,i=0;i<s;i+=1)a[h].pt.k[i].s&&(a[h].pt.k[i].s[0].c=a[h].cl),a[h].pt.k[i].e&&(a[h].pt.k[i].e[0].c=a[h].cl);4===e.ty&&function t(e){for(var i,s,r=e.length-1;0<=r;--r)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(s=e[r].ks.k.length,i=0;i<s;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}(e.shapes)}}function b(t){for(var e=t.length,i=0;i<e;i+=1)4===t[i].ty&&function t(e){for(var i,s,r=e.length,n=0;n<r;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(s=e[n].c.k.length,i=0;i<s;i+=1)e[n].c.k[i].s&&(e[n].c.k[i].s[0]/=255,e[n].c.k[i].s[1]/=255,e[n].c.k[i].s[2]/=255,e[n].c.k[i].s[3]/=255),e[n].c.k[i].e&&(e[n].c.k[i].e[0]/=255,e[n].c.k[i].e[1]/=255,e[n].c.k[i].e[2]/=255,e[n].c.k[i].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}(t[i].shapes)}function _(t){for(var e,i=t.length,s=0;s<i;s+=1)5===t[s].ty&&("number"==typeof(e=(e=t[s]).t.p).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 P(t){for(var e,i,s=t.length,r=0;r<s;r+=1)5===t[r].ty&&(e=t[r],i=void 0,i=e.t.d,e.t.d={k:[{s:i,t:0}]})}var t={};return t.completeData=function(t){if(!t.__complete){y(t),l(t),d(t),m(t),g(t),p(t.layers,t.assets);var e=t.chars,i=t.assets;if(e)for(var s=0,r=e.length,s=0;s<r;s+=1)1===e[s].t&&(e[s].data.layers=f(e[s].data.refId,i),p(e[s].data.layers,i));t.__complete=!0}},t.checkColors=y,t.checkChars=d,t.checkPathProperties=m,t.checkShapes=g,t.completeLayers=p,t}var i;function a(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}o.dataManager||(o.dataManager=t()),o.assetLoader||(o.assetLoader={load:function(e,i,t,s){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)r=a(n),t(r);else try{r=a(n),t(r)}catch(t){s&&s(t)}};try{n.open(["G","E","T"].join(""),e,!0)}catch(t){n.open(["G","E","T"].join(""),i+"/"+e,!0)}n.send()}}),"loadAnimation"===e.data.type?o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})}):"complete"===e.data.type?(i=e.data.animation,o.dataManager.completeData(i),o.postMessage({id:e.data.id,payload:i,status:"success"})):"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})})},(s=window.Worker&&window.Blob&&getWebWorker()?(e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),e=URL.createObjectURL(e),new Worker(e)):(i=t,a)).onmessage=function(t){var t=t.data,e=t.id,i=n[e];n[e]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function l(t,e){var i="processId_"+(r+=1);return n[i]={onComplete:t,onError:e},i}return{loadAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},loadData:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:e})},completeAnimation:function(t,e,i){h(),e=l(e,i),s.postMessage({type:"complete",animation:t,id:e})}}}(),ImagePreloader=function(){(t=createTag("canvas")).width=1,t.height=1,(e=t.getContext("2d")).fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1);var t,e,r=t;function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,i){var s="";return s=t.e?t.p:e?e+(e=-1!==(e=t.p).indexOf("images/")?e.split("/")[1]:e):(s=i,(s+=t.u||"")+t.p)}function a(){this._imageLoaded=i.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=function(t){var e=0,i=setInterval(function(){(t.getBBox().width||500<e)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}.bind(this),this.createFootageData=function(t){var e={assetData:t},t=n(t,this.assetsPath,this.path);return dataManager.loadData(t,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;for(var i=t.length,s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},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,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=n(t,this.assetsPath,this.path),i=createTag("img"),s=(i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.src=e,{img:i,assetData:t});return s},createImageData:function(t){var e=n(t,this.assetsPath,this.path),i=createNS("image"),s=(isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){s.img=r,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i),{img:i,assetData:t});return s},imageLoaded:i,footageLoaded:s,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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 i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),--i,--s),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(e){for(var t=[],i=0;i<e.length;i+=1){var s=e[i],s={time:s.tm,duration:s.dr};try{s.payload=JSON.parse(e[i].cm)}catch(t){try{s.payload=function(t){for(var e,i=t.split("\r\n"),s={},r=0,n=0;n<i.length;n+=1)2===(e=i[n].split(":")).length&&(s[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return s}(e[i].cm)}catch(t){s.payload={name:e[i].cm}}}t.push(s)}return t},ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(t){for(var e=0,i=this.compositions.length;e<i;){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 t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),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})(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()},animationManager=(extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg",i=(t.animType?e=t.animType:t.renderer&&(e=t.renderer),getRenderer(e));this.renderer=new i(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||"",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){var e={wrapper:t,animationData:e=e&&"object"!==_typeof$4(e)?JSON.parse(e):e},t=t.attributes,i=(e.path=t.getNamedItem("data-animation-path")?t.getNamedItem("data-animation-path").value:t.getNamedItem("data-bm-path")?t.getNamedItem("data-bm-path").value:t.getNamedItem("bm-path")?t.getNamedItem("bm-path").value:"",e.animType=t.getNamedItem("data-anim-type")?t.getNamedItem("data-anim-type").value:t.getNamedItem("data-bm-type")?t.getNamedItem("data-bm-type").value:t.getNamedItem("bm-type")?t.getNamedItem("bm-type").value:t.getNamedItem("data-bm-renderer")?t.getNamedItem("data-bm-renderer").value:t.getNamedItem("bm-renderer")?t.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas",t.getNamedItem("data-anim-loop")?t.getNamedItem("data-anim-loop").value:t.getNamedItem("data-bm-loop")?t.getNamedItem("data-bm-loop").value:t.getNamedItem("bm-loop")?t.getNamedItem("bm-loop").value:""),i=("false"===i?e.loop=!1:"true"===i?e.loop=!0:""!==i&&(e.loop=parseInt(i,10)),t.getNamedItem("data-anim-
1autoplay")?t.getNamedItem("data-anim-autoplay").value:t.getNamedItem("data-bm-autoplay")?t.getNamedItem("data-bm-autoplay").value:!t.getNamedItem("bm-autoplay")||t.getNamedItem("bm-autoplay").value);e.autoplay="false"!==i,e.name=t.getNamedItem("data-name")?t.getNamedItem("data-name").value:t.getNamedItem("data-bm-name")?t.getNamedItem("data-bm-name").value:t.getNamedItem("bm-name")?t.getNamedItem("bm-name").value:"","false"===(t.getNamedItem("data-anim-prerender")?t.getNamedItem("data-anim-prerender").value:t.getNamedItem("data-bm-prerender")?t.getNamedItem("data-bm-prerender").value:t.getNamedItem("bm-prerender")?t.getNamedItem("bm-prerender").value:"")&&(e.prerender=!1),e.path?this.setParams(e):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));for(var e,i=this.animationData.layers,s=i.length,r=t.layers,n=r.length,a=0;a<n;a+=1)for(e=0;e<s;){if(i[e].id===r[a].id){i[e]=r[a];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(s=t.assets.length,e=0;e<s;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;t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;t&&0!==t.length&&this.autoloadSegments?(t=t.shift(),this.timeCompleted=t.time*this.frameRate,t=this.path+this.fileName+"_"+this.segmentPos+".json",this.segmentPos+=1,dataManager.loadData(t,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))):(this.trigger("data_ready"),this.timeCompleted=this.totalFrames)},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(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){var t;!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()&&(this.isLoaded=!0,(t=getExpressionsPlugin())&&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){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},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
vendor: 3,312 bytes, line 1
1(),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,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){i&&this.name!==i||(i=Number(t),isNaN(i)?(i=this.getMarkerData(t))&&this.goToAndStop(i.time,!0):e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,i){var s;i&&this.name!==i||(s=Number(t),isNaN(s)?(t=this.getMarkerData(t))&&(t.duration?this.playSegments([t.time,t.time+t.duration],!0):this.goToAndStop(t.time,!0)):this.goToAndStop(s,e,i),this.play())},AnimationItem.prototype.advanceTime=function(t){var e;!0!==this.isPaused&&!1!==this.isLoaded&&(e=!1,(t=this.currentRawFrame+t*this.frameModifier)>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e)&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0]))for(var i=t.length,s=0;s<i;s+=1)this.segments.push(t[s
vendor: 4,249 bytes, line 1
1]);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,i="";return i=t.e?t.p:this.assetsPath?(-1!==(e=t.p).indexOf("images/")&&(e=e.split("/")[1]),this.assetsPath+e):(i=this.path,(i+=t.u||"")+t.p)},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){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,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},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){t=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(t){t=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},
vendor: 93,596 bytes, line 1
1function(){var t={},r=[],s=0,n=0,a=0,o=!0,h=!1;function i(t){for(var e=0,i=t.target;e<n;)r[e].animation===i&&(r.splice(e,1),--e,--n,i.isPaused||f()),e+=1}function l(t,e){if(!t)return null;for(var i=0;i<n;){if(r[i].elem===t&&null!==r[i].elem)return r[i].animation;i+=1}var s=new AnimationItem;return c(s,t),s.setData(t,e),s}function p(){a+=1,d()}function f(){--a}function c(t,e){t.addEventListener("destroy",i),t.addEventListener("_active",p),t.addEventListener("_idle",f),r.push({elem:e,animation:t}),n+=1}function u(t){for(var e=t-s,i=0;i<n;i+=1)r[i].animation.advanceTime(e);s=t,a&&!h?window.requestAnimationFrame(u):o=!0}function e(t){s=t,window.requestAnimationFrame(u)}function d(){!h&&a&&o&&(window.requestAnimationFrame(e),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return c(e,null),e.setParams(t),e},t.setSpeed=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setSpeed(t,e)},t.setDirection=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setDirection(t,e)},t.play=function(t){for(var e=0;e<n;e+=1)r[e].animation.play(t)},t.pause=function(t){for(var e=0;e<n;e+=1)r[e].animation.pause(t)},t.stop=function(t){for(var e=0;e<n;e+=1)r[e].animation.stop(t)},t.togglePause=function(t){for(var e=0;e<n;e+=1)r[e].animation.togglePause(t)},t.searchAnimations=function(t,e,i){for(var s,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=r.length,a=0;a<n;a+=1)i&&r[a].setAttribute("data-bm-type",i),l(r[a],t);e&&0===n&&(i=i||"svg",(e=document.getElementsByTagName("body")[0]).innerText="",(s=createTag("div")).style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),e.appendChild(s),l(s,t))},t.resize=function(){for(var t=0;t<n;t+=1)r[t].animation.resize()},t.goToAndStop=function(t,e,i){for(var s=0;s<n;s+=1)r[s].animation.goToAndStop(t,e,i)},t.destroy=function(t){for(var e=n-1;0<=e;--e)r[e].animation.destroy(t)},t.freeze=function(){h=!0},t.unfreeze=function(){h=!1,d()},t.setVolume=function(t,e){for(var i=0;i<n;i+=1)r[i].animation.setVolume(t,e)},t.mute=function(t){for(var e=0;e<n;e+=1)r[e].animation.mute(t)},t.unmute=function(t){for(var e=0;e<n;e+=1)r[e].animation.unmute(t)},t.getRegisteredAnimations=function(){for(var t=r.length,e=[],i=0;i<t;i+=1)e.push(r[i].animation);return e},t}()),BezierFactory=function(){var t={getBezierEasing:function(t,e,i,s,r){r=r||("bez_"+t+"_"+e+"_"+i+"_"+s).replace(/\./g,"p");return n[r]||(t=new a([t,e,i,s]),n[r]=t)}},n={};var S=11,E=1/(S-1),e="function"==typeof Float32Array;function s(t,e){return 1-3*e+3*t}function A(t,e,i){return((s(e,i)*t+(3*i-6*e))*t+3*e)*t}function k(t,e,i){return 3*s(e,i)*t*t+2*(3*i-6*e)*t+3*e}function a(t){this._p=t,this._mSampleValues=new(e?Float32Array:Array)(S),this._precomputed=!1,this.get=this.get.bind(this)}return a.prototype={get:function(t){var e=this._p[0],i=this._p[1],s=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&s===r?t:0===t?0:1===t?1:A(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],s=this._p[3];this._precomputed=!0,t===e&&i===s||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<S;++i)this._mSampleValues[i]=A(i*E,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,r=0,n=1,a=S-1;n!==a&&s[n]<=t;++n)r+=E;var o=r+(t-s[--n])/(s[n+1]-s[n])*E,h=k(o,e,i);if(.001<=h){for(var l=t,p=o,f=e,c=i,u=0;u<4;++u){var d=k(p,f,c);if(0===d)return p;p-=(A(p,f,c)-l)/d}return p}if(0===h)return o;for(var m,y,g=t,v=r,b=r+E,_=e,P=i,x=0;0<(m=A(y=v+(b-v)/2,_,P)-g)?b=y:v=y,1e-7<Math.abs(m)&&++x<10;);return y}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,i){var s=0,r=t,n=createSizedArray(r);return{newElement:function(){var t;return t=s?n[--s]:e(),t},release:function(t){s===r&&(n=pooling.double(n),r*=2),i&&i(t),n[s]=t,s+=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){for(var e=t.lengths.length,i=0;i<e;i+=1)bezierLengthPool.release(t.lengths[i]);t.lengths.length=0});function bezFunction(){var k=Math;function y(t,e,i,s,r,n){r=t*s+e*r+i*n-r*s-n*t-i*e;return-.001<r&&r<.001}var p=function(t,e,i,s){for(var r,n,a,o,h=getDefaultCurveSegments(),l=0,p=[],f=[],c=bezierLengthPool.newElement(),u=i.length,d=0;d<h;d+=1){for(a=d/(h-1),r=o=0;r<u;r+=1)n=bmPow(1-a,3)*t[r]+3*bmPow(1-a,2)*a*i[r]+3*(1-a)*bmPow(a,2)*s[r]+bmPow(a,3)*e[r],p[r]=n,null!==f[r]&&(o+=bmPow(p[r]-f[r],2)),f[r]=p[r];o&&(l+=o=bmSqrt(o)),c.percents[d]=a,c.lengths[d]=l}return c.addedLength=l,c};function g(t){this.segmentLength=0,this.points=new Array(t)}function v(t,e){this.partialLength=t,this.point=e}function t(t,e,i,s){var r=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!b[r]){for(var n,a,o,h,l,p=getDefaultCurveSegments(),f=0,c=null,u=new g(p=2===t.length&&(t[0]!==e[0]||t[1]!==e[1])&&y(t[0],t[1],e[0],e[1],t[0]+i[0],t[1]+i[1])&&y(t[0],t[1],e[0],e[1],e[0]+s[0],e[1]+s[1])?2:p),d=i.length,m=0;m<p;m+=1){for(l=createSizedArray(d),o=m/(p-1),n=h=0;n<d;n+=1)a=bmPow(1-o,3)*t[n]+3*bmPow(1-o,2)*o*(t[n]+i[n])+3*(1-o)*bmPow(o,2)*(e[n]+s[n])+bmPow(o,3)*e[n],l[n]=a,null!==c&&(h+=bmPow(l[n]-c[n],2));f+=h=bmSqrt(h),u.points[m]=new v(h,l),c=l}u.segmentLength=f,b[r]=u}return b[r]}var b;b={};function C(t,e){var i=e.percents,s=e.lengths,r=i.length,n=bmFloor((r-1)*t),a=t*e.addedLength,o=0;if(n===r-1||0===n||a===s[n])return i[n];for(var h=s[n]>a?-1:1,l=!0;l;)if(s[n]<=a&&s[n+1]>a?(o=(a-s[n])/(s[n+1]-s[n]),l=!1):n+=h,n<0||r-1<=n){if(n===r-1)return i[n];l=!1}return i[n]+(i[n+1]-i[n])*o}var T=createTypedArray("float32",8);return{getSegmentsLength:function(t){for(var e=segmentsLengthPool.newElement(),i=t.c,s=t.v,r=t.o,n=t.i,a=t._length,o=e.lengths,h=0,l=0;l<a-1;l+=1)o[l]=p(s[l],s[l+1],r[l],n[l+1]),h+=o[l].addedLength;return i&&a&&(o[l]=p(s[l],s[0],r[l],n[0]),h+=o[l].addedLength),e.totalLength=h,e},getNewSegment:function(t,e,i,s,r,n,a){r<0?r=0:1<r&&(r=1);for(var r=C(r,a),n=C(n=1<n?1:n,a),o=t.length,h=1-n,l=(a=1-r)*a*a,p=r*a*a*3,f=r*r*a*3,c=r*r*r,u=a*a*h,d=r*a*h+a*r*h+a*a*n,m=r*r*h+a*r*n+r*a*n,y=r*r*n,g=a*h*h,v=r*h*h+a*n*h+a*h*n,b=r*n*h+a*n*n+r*h*n,_=r*n*n,P=h*h*h,x=n*h*h+h*n*h+h*h*n,S=n*n*h+h*n*n+n*h*n,E=n*n*n,A=0;A<o;A+=1)T[4*A]=k.round(1e3*(l*t[A]+p*i[A]+f*s[A]+c*e[A]))/1e3,T[4*A+1]=k.round(1e3*(u*t[A]+d*i[A]+m*s[A]+y*e[A]))/1e3,T[4*A+2]=k.round(1e3*(g*t[A]+v*i[A]+b*s[A]+_*e[A]))/1e3,T[4*A+3]=k.round(1e3*(P*t[A]+x*i[A]+S*s[A]+E*e[A]))/1e3;return T},getPointInSegment:function(t,e,i,s,r,n){return r=C(r,n),n=1-r,[k.round(1e3*(n*n*n*t[0]+(r*n*n+n*r*n+n*n*r)*i[0]+(r*r*n+n*r*r+r*n*r)*s[0]+r*r*r*e[0]))/1e3,k.round(1e3*(n*n*n*t[1]+(r*n*n+n*r*n+n*n*r)*i[1]+(r*r*n+n*r*r+r*n*r)*s[1]+r*r*r*e[1]))/1e3]},buildBezierData:t,pointOnLine2D:y,pointOnLine3D:function(t,e,i,s,r,n,a,o,h){var l;return 0===i&&0===n&&0===h?y(t,e,s,r,a,o):(l=k.sqrt(k.pow(s-t,2)+k.pow(r-e,2)+k.pow(n-i,2)),t=k.sqrt(k.pow(a-t,2)+k.pow(o-e,2)+k.pow(h-i,2)),e=k.sqrt(k.pow(a-s,2)+k.pow(o-r,2)+k.pow(h-n,2)),-1e-4<(i=t<l?e<l?l-t-e:e-t-l:t<e?e-t-l:t-l-e)&&i<1e-4)}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i,s=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));for(var r,n,a=e.lastIndex,o=a,h=this.keyframes.length-1,l=!0;l;){if(r=this.keyframes[o],n=this.keyframes[o+1],o===h-1&&t>=n.t-s){r.h&&(r=n),a=0;break}if(n.t-s>t){a=o;break}o<h-1?o+=1:(a=0,l=!1)}var p,f=this.keyframesMetadata[o]||{},c=n.t-s,u=r.t-s;if(r.to){f.bezierData||(f.bezierData=bez.buildBezierData(r.s,n.s||r.e,r.to,r.ti));var d=f.bezierData;if(c<=t||t<u)for(var m=c<=t?d.points.length-1:0,y=d.points[m].point.length,g=0;g<y;g+=1)i[g]=d.points[m].point[g];else{f.__fnct?p=f.__fnct:(p=BezierFactory.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,f.__fnct=p);for(var v,b=p((t-u)/(c-u)),_=d.segmentLength*b,P=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastAddedLength:0,x=e.lastFrame<t&&e._lastKeyframeIndex===o?e._lastPoint:0,l=!0,S=d.points.length;l;){if(P+=d.points[x].partialLength,0==_||0===b||x===d.points.length-1){for(y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g];break}if(P<=_&&_<P+d.points[x+1].partialLength){for(v=(_-P)/d.points[x+1].partialLength,y=d.points[x].point.length,g=0;g<y;g+=1)i[g]=d.points[x].point[g]+(d.points[x+1].point[g]-d.points[x].point[g])*v;break}x<S-1?x+=1:l=!1}e._lastPoint=x,e._lastAddedLength=P-d.points[x].partialLength,e._lastKeyframeIndex=o}}else{var E,A,k,C,T,h=r.s.length,w=n.s||r.e;if(this.sh&&1!==r.h)c<=t?(i[0]=w[0],i[1]=w[1],i[2]=w[2]):t<=u?(i[0]=r.s[0],i[1]=r.s[1],i[2]=r.s[2]):quaternionToEuler(i,slerp(createQuaternion(r.s),createQuaternion(w),(t-u)/(c-u)));else for(o=0;o<h;o+=1)1!==r.h&&(b=c<=t?1:t<u?0:(r.o.x.constructor===Array?(f.__fnct||(f.__fnct=[]),f.__fnct[o]?p=f.__fnct[o]:(E=void 0===r.o.x[o]?r.o.x[0]:r.o.x[o],A=void 0===r.o.y[o]?r.o.y[0]:r.o.y[o],k=void 0===r.i.x[o]?r.i.x[0]:r.i.x[o],C=void 0===r.i.y[o]?r.i.y[0]:r.i.y[o],p=BezierFactory.getBezierEasing(E,A,k,C).get,f.__fnct[o]=p)):f.__fnct?p=f.__fnct:(E=r.o.x,A=r.o.y,k=r.i.x,C=r.i.y,p=BezierFactory.getBezierEasing(E,A,k,C).get,r.keyframeMetadata=p),p((t-u)/(c-u)))),w=n.s||r.e,T=1===r.h?r.s[o]:r.s[o]+(w[o]-r.s[o])*b,"multidimensional"===this.propType?i[o]=T:i=T}return e.lastIndex=a,i}function slerp(t,e,i){var s,r,n=[],a=t[0],o=t[1],h=t[2],t=t[3],l=e[0],p=e[1],f=e[2],e=e[3],c=a*l+o*p+h*f+t*e;return c<0&&(c=-c,l=-l,p=-p,f=-f,e=-e),c=1e-6<1-c?(c=Math.acos(c),s=Math.sin(c),r=Math.sin((1-i)*c)/s,Math.sin(i*c)/s):(r=1-i,i),n[0]=r*a+c*l,n[1]=r*o+c*p,n[2]=r*h+c*f,n[3]=r*t+c*e,n}function quaternionToEuler(t,e){var i=e[0],s=e[1],r=e[2],e=e[3],n=Math.atan2(2*s*e-2*i*r,1-2*s*s-2*r*r),a=Math.asin(2*i*s+2*r*e),e=Math.atan2(2*i*e-2*s*r,1-2*i*i-2*r*r);t[0]=n/degToRads,t[1]=a/degToRads,t[2]=e/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,t=t[2]*degToRads,s=Math.cos(e/2),r=Math.cos(i/2),n=Math.cos(t/2),e=Math.sin(e/2),i=Math.sin(i/2),t=Math.sin(t/2);return[e*i*n+s*r*t,e*r*n+s*i*t,s*i*n-e*r*t,s*r*n-e*i*t]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),i=this.interpolateValue(t,this._caching),this.pv=i),this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<mathAbs(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,1e-5<mathAbs(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;for(var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k,i=0;i<t;i+=1)e=this.effectsSequence[i](e);this.setVValue(e),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,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,n=e.k.length;for(this.v=createTypedArray("float32",n),this.pv=createTypedArray("float32",n),this.vel=createTypedArray("float32",n),r=0;r<n;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,s){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=i||1,this.elem=t,this.container=s,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,i,s){this.propType="multidimensional";for(var r,n,a,o,h=e.k.length,l=0;l<h-1;l+=1)e.k[l].to&&e.k[l].s&&e.k[l+1]&&e.k[l+1].s&&(r=e.k[l].s,n=e.k[l+1].s,a=e.k[l].to,o=e.k[l].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+a[0],r[1]+a[1])&&bez.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+o[0],n[1]+o[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+a[0],r[1]+a[1],r[2]+a[2])&&bez.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+o[0],n[1]+o[1],n[2]+o[2]))&&(e.k[l].to=null,e.k[l].ti=null),r[0]===n[0])&&r[1]===n[1]&&0===a[0]&&0===a[1]&&0===o[0]&&0===o[1]&&(2===r.length||r[2]===n[2]&&0===a[2]&&0===o[2])&&(e.k[l].to=null,e.k[l].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=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=e.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),l=0;l<p;l+=1)this.v[l]=initFrame,this.pv[l]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,i,s,r){var n;if((e=e.sid?t.globalData.slotManager.getProp(e):e).k.length)if("number"==typeof e.k[0])n=new MultiDimensionalProperty(t,e,s,r);else switch(i){case 0:n=new KeyframedValueProperty(t,e,s,r);break;case 1:n=new KeyframedMultidimensionalProperty(t,e,s,r)}else n=new ValueProperty(t,e,s,r);return n.effectsSequence.length&&r.addDynamicProperty(n),n}};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(){this._mdf=!1;for(var t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._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 i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)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,i,s,r){var n;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}n[s]&&(!n[s]||r)||(n[s]=pointPool.newElement()),n[s][0]=t,n[s][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,s,r,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,s,"o",a,o),this.setXYAt(r,n,"i",a,o)},ShapePath.prototype.reverse=function(){for(var t=new ShapePath,e=(t.setPathData(this.c,this._length),this.v),i=this.o,s=this.i,r=0,n=(this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1),this._length-1),a=this._length,o=r;o<a;o+=1)t.setTripleAt(e[n][0],e[n][1],s[n][0],s[n][1],i[n][0],i[n][1],o,!1),--n;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var r=poolFactory(4,function(){return new ShapePath},function(t){for(var e=t._length,i=0;i<e;i+=1)pointPool.release(t.v[i]),pointPool.release(t.i[i]),pointPool.release(t.o[i]),t.v[i]=null,t.i[i]=null,t.o[i]=null;t._length=0,t.c=!1});return r.clone=function(t){var e,i=r.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i},r}();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(){for(var t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:function(){var t;return t=s?n[--s]:new ShapeCollection,t},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)shapePool.release(t.shapes[e]);t._length=0,s===r&&(n=pooling.double(n),r*=2),n[s]=t,s+=1}},s=0,r=4,n=createSizedArray(r);return t}(),ShapePropertyFactory=function(){var r=-999999;function t(t,e,i){var s,r,n,a,o,h,l=i.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)s=p[0].s[0],b=!0,l=0;else if(t>=p[p.length-1].t-this.offsetTime)s=(p[p.length-1].s?p[p.length-1].s:p[p.length-2].e)[0],b=!0;else{for(var f,c,u=l,d=p.length-1,m=!0;m&&(f=p[u],!((c=p[u+1]).t-this.offsetTime>t));)u<d-1?u+=1:m=!1;var y,g,v,b,_=this.keyframesMetadata[u]||{},l=u;(b=1===f.h)||(g=t>=c.t-this.offsetTime?1:t<f.t-this.offsetTime?0:(_.__fnct?y=_.__fnct:(y=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,_.__fnct=y),y((t-(f.t-this.offsetTime))/(c.t-this.offsetTime-(f.t-this.offsetTime)))),v=(c.s||f.e)[0]),s=f.s[0]}for(a=e._length,o=s.i[0].length,i.lastIndex=l,r=0;r<a;r+=1)for(n=0;n<o;n+=1)h=b?s.i[r][n]:s.i[r][n]+(v.i[r][n]-s.i[r][n])*g,e.i[r][n]=h,h=b?s.o[r][n]:s.o[r][n]+(v.o[r][n]-s.o[r][n])*g,e.o[r][n]=h,h=b?s.v[r][n]:s.v[r][n]+(v.v[r][n]-s.v[r][n])*g,e.v[r][n]=h}function s(){this.paths=this.localShapeCollection}function e(t){!function(t,e){if(t._length===e._length&&t.c===e.c){for(var i=t._length,s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return;return 1}}(this.v,t)&&(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;for(var t=this.kf?this.pv:(this.data.ks||this.data.pt).k,e=this.effectsSequence.length,i=0;i<e;i+=1)t=this.effectsSequence[i](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,i){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;t=(3===i?e.pt:e.ks).k;this.v=shapePool.clone(t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=(3===i?e.pt:e.ks).k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;t=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,t),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=r,this.reset=s,this._caching={lastFrame:r,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,s=this._caching.lastFrame;return s!==r&&(s<e&&t<e||i<s&&i<t)||(this._caching.lastIndex=s<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=i,n.prototype.setVValue=e,n.prototype.addEffect=a,o.prototype.getValue=i,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=a;h=roundCorner,d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertEllToPath()},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=3!==this.d,n=this.v;n.v[0][0]=t,n.v[0][1]=e-s,n.v[1][0]=r?t+i:t-i,n.v[1][1]=e,n.v[2][0]=t,n.v[2][1]=e+s,n.v[3][0]=r?t-i:t+i,n.v[3][1]=e,n.i[0][0]=r?t-i*h:t+i*h,n.i[0][1]=e-s,n.i[1][0]=r?t+i:t-i,n.i[1][1]=e-s*h,n.i[2][0]=r?t+i*h:t-i*h,n.i[2][1]=e+s,n.i[3][0]=r?t-i:t+i,n.i[3][1]=e+s*h,n.o[0][0]=r?t+i*h:t-i*h,n.o[0][1]=e-s,n.o[1][0]=r?t+i:t-i,n.o[1][1]=e+s*h,n.o[2][0]=r?t-i*h:t+i*h,n.o[2][1]=e+s,n.o[3][0]=r?t-i:t+i,n.o[3][1]=e-s*h}},extendPrototype([DynamicPropertyContainer],d);var h,l=d,p=(u.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertToPath()},convertStarToPath:function(){for(var t=2*Math.floor(this.pt.v),e=2*Math.PI/t,i=!0,s=this.or.v,r=this.ir.v,n=this.os.v,a=this.is.v,o=2*Math.PI*s/(2*t),h=2*Math.PI*r/(2*t),l=-Math.PI/2,p=(l+=this.r.v,3===this.data.d?-1:1),f=this.v._length=0;f<t;f+=1){var c=i?n:a,u=i?o:h,d=(m=i?s:r)*Math.cos(l),m=m*Math.sin(l),y=0==d&&0==m?0:m/Math.sqrt(d*d+m*m),g=0==d&&0==m?0:-d/Math.sqrt(d*d+m*m);d+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(d,m,d-y*u*c*p,m-g*u*c*p,d+y*u*c*p,m+g*u*c*p,f,!0),i=!i,l+=e*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,s=this.or.v,r=this.os.v,n=2*Math.PI*s/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=s*Math.cos(a),l=s*Math.sin(a),p=0==h&&0==l?0:l/Math.sqrt(h*h+l*l),f=0==h&&0==l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*n*r*o,l-f*n*r*o,h+p*n*r*o,l+f*n*r*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],u),u),f=(c.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,s=this.s.v[1]/2,r=bmMin(i,s,this.r.v),n=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+r,t+i,e-s+n,0,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-n,t+i,e+s-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+s,t+i-r,e+s,t+i-n,e+s,2,!0),this.v.setTripleAt(t-i+r,e+s,t-i+n,e+s,t-i+r,e+s,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-r,t-i,e+s-n,4,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+n,t-i,e-s+r,5,!0),this.v.setTripleAt(t-i+r,e-s,t-i+r,e-s,t-i+n,e-s,6,!0),this.v.setTripleAt(t+i-r,e-s,t+i-n,e-s,t+i-r,e-s,7,!0)):(this.v.setTripleAt(t-i,e+s,t-i+n,e+s,t-i,e+s,2),this.v.setTripleAt(t-i,e-s,t-i,e-s+n,t-i,e-s,3))):(this.v.setTripleAt(t+i,e-s+r,t+i,e-s+n,t+i,e-s+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-s,t+i-r,e-s,t+i-n,e-s,1,!0),this.v.setTripleAt(t-i+r,e-s,t-i+n,e-s,t-i+r,e-s,2,!0),this.v.setTripleAt(t-i,e-s+r,t-i,e-s+r,t-i,e-s+n,3,!0),this.v.setTripleAt(t-i,e+s-r,t-i,e+s-n,t-i,e+s-r,4,!0),this.v.setTripleAt(t-i+r,e+s,t-i+r,e+s,t-i+n,e+s,5,!0),this.v.setTripleAt(t+i-r,e+s,t+i-n,e+s,t+i-r,e+s,6,!0),this.v.setTripleAt(t+i,e+s-r,t+i,e+s-r,t+i,e+s-n,7,!0)):(this.v.setTripleAt(t-i,e-s,t-i+n,e-s,t-i,e-s,1,!0),this.v.setTripleAt(t-i,e+s,t-i,e+s-n,t-i,e+s,2,!0),this.v.setTripleAt(t+i,e+s,t+i-n,e+s,t+i,e+s,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf)&&this.convertRectToPath()},reset:s},extendPrototype([DynamicPropertyContainer],c),c);function c(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())}function u(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())}function d(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())}var m={getShapeProp:function(t,e,i){var s;return 3===i||4===i?s=new((3===i?e.pt:e.ks).k.length?o:n)(t,e,i):5===i?s=new f(t,e):6===i?s=new l(t,e):7===i&&(s=new p(t,e)),s.k&&t.addDynamicProperty(s),s},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),Matrix=function(){var s=Math.cos,r=Math.sin,n=Math.tan,a=Math.round;function t(){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 e(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function i(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(1,0,0,0,0,e,-t,0,0,t,e,0,0,0,0,1))}function o(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,0,t,0,0,1,0,0,-t,0,e,0,0,0,0,1))}function h(t){var e;return 0===t?this:(e=s(t),t=r(t),this._t(e,-t,0,0,t,e,0,0,0,0,1,0,0,0,0,1))}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(n(t),n(e))}function f(t,e){var i=s(e),e=r(e);return this._t(i,e,0,0,-e,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-e,0,0,e,i,0,0,0,0,1,0,0,0,0,1)}function c(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function u(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=s,this.props[4]=r,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=c,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function d(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function m(t,e,i,s,r,n,a,o,h,l,p,f,c,u,d,m){var y,g,v,b,_,P,x,S,E,A,k,C,T,w,M,D,F=this.props;return 1===t&&0===e&&0===i&&0===s&&0===r&&1===n&&0===a&&0===o&&0===h&&0===l&&1===p&&0===f?(F[12]=F[12]*t+F[15]*c,F[13]=F[13]*n+F[15]*u,F[14]=F[14]*p+F[15]*d,F[15]*=m,this._identityCalculated=!1):(y=F[0],g=F[1],v=F[2],b=F[3],_=F[4],P=F[5],x=F[6],S=F[7],E=F[8],A=F[9],k=F[10],C=F[11],T=F[12],w=F[13],M=F[14],D=F[15],F[0]=y*t+g*r+v*h+b*c,F[1]=y*e+g*n+v*l+b*u,F[2]=y*i+g*a+v*p+b*d,F[3]=y*s+g*o+v*f+b*m,F[4]=_*t+P*r+x*h+S*c,F[5]=_*e+P*n+x*l+S*u,F[6]=_*i+P*a+x*p+S*d,F[7]=_*s+P*o+x*f+S*m,F[8]=E*t+A*r+k*h+C*c,F[9]=E*e+A*n+k*l+C*u,F[10]=E*i+A*a+k*p+C*d,F[11]=E*s+A*o+k*f+C*m,F[12]=T*t+w*r+M*h+D*c,F[13]=T*e+w*n+M*l+D*u,F[14]=T*i+w*a+M*p+D*d,F[15]=T*s+w*o+M*f+D*m,this._identityCalculated=!1),this}function y(t){t=t.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function g(){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]||0!==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 b(t){for(var e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function _(t){for(var e=0;e<16;e+=1)this.props[e]=t[e]}function P(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function x(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function S(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function E(t,e,i){return t*this.props[2]+e*this.props[6]+i*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,i=-this.props[1]/t,s=-this.props[4]/t,r=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,t=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new Matrix;return a.props[0]=e,a.props[1]=i,a.props[4]=s,a.props[5]=r,a.props[12]=n,a.props[13]=t,a}function k(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function C(t){for(var e=t.length,i=[],s=0;s<e;s+=1)i[s]=k(t[s]);return i}function T(t,e,i){var s,r,n,a,o,h,l=createTypedArray("float32",6);return this.isIdentity()?(l[0]=t[0],l[1]=t[1],l[2]=e[0],l[3]=e[1],l[4]=i[0],l[5]=i[1]):(s=this.props[0],r=this.props[1],n=this.props[4],a=this.props[5],o=this.props[12],h=this.props[13],l[0]=t[0]*s+t[1]*n+o,l[1]=t[0]*r+t[1]*a+h,l[2]=e[0]*s+e[1]*n+o,l[3]=e[0]*r+e[1]*a+h,l[4]=i[0]*s+i[1]*n+o,l[5]=i[0]*r+i[1]*a+h),l}function w(t,e,i){t=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]];return t}function M(t,e){var i;return this.isIdentity()?t+","+e:(i=this.props,Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100)}function D(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i=i+a(1e4*e[t])/1e4+(15===t?")":","),t+=1;return i}function F(t){return t<1e-6&&0<t||-1e-6<t&&t<0?a(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=t,this.rotate=e,this.rotateX=i,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=c,this.setTransform=u,this.translate=d,this.transform=m,this.multiply=y,this.applyToPoint=P,this.applyToX=x,this.applyToY=S,this.applyToZ=E,this.applyToPointArray=w,this.applyToTriplePoints=T,this.applyToPointStringified=M,this.toCSS=D,this.to2dCSS=I,this.clone=b,this.cloneFromProps=_,this.equals=v,this.inversePoints=C,this.inversePoint=k,this.getInverseMatrix=A,this._t=this.transform,this.isIdentity=g,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})(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)&&1<t&&setDefaultCurveSegments(t)}function inBrowser(){return("undefined"==typeof navigator?"undefined":_typeof2(navigator))<"u"}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("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",readyStateCheckInterval=(getQueryVariable("renderer"),setInterval(checkReady,100));try{"object"===("u"<_typeof2(exports)?"undefined":_typeof$3(exports))&&_typeof2(module)<"u"||"function"==typeof define&&define.amd||(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},s={};return t.registerModifier=function(t,e){s[t]||(s[t]=e)},t.getModifier=function(t,e,i){return new s[t](e,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){var e;this.closed||(t.sh.container.addDynamicProperty(t.sh),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=PropertyFactory.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,i,s,r){for(var n,a,o=[],h=(e<=1?o.push({s:t,e:e}):1<=t?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1})),[]),l=o.length,p=0;p<l;p+=1)(a=o[p]).e*r<s||a.s*r>s+i||(n=a.s*r<=s?0:(a.s*r-s)/i,a=a.e*r>=s+i?1:(a.e*r-s)/i,h.push([n,a]));return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){for(var e=t.length,i=0;i<e;i+=1)segmentsLengthPool.release(t[i]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i,s;this._mdf||t?((e=this.o.v%360/360)<0&&(e+=1),i=1<this.s.v?1+e:this.s.v<0?0+e:this.s.v+e,(s=1<this.e.v?1+e:this.e.v<0?0+e:this.e.v+e)<i&&(e=i,i=s,s=e),i=1e-4*Math.round(1e4*i),s=1e-4*Math.round(1e4*s),this.sValue=i,this.eValue=s):(i=this.sValue,s=this.eValue);var r,n,a,o,h,l,p=this.shapes.length,f=0;if(s===i)for(m=0;m<p;m+=1)this.shapes[m].localShapeCollection.releaseShapes(),this.shapes[m].shape._mdf=!0,this.shapes[m].shape.paths=this.shapes[m].localShapeCollection,this._mdf&&(this.shapes[m].pathsData.length=0);else if(1===s&&0===i||0===s&&1===i){if(this._mdf)for(m=0;m<p;m+=1)this.shapes[m].pathsData.length=0,this.shapes[m].shape._mdf=!0}else{for(var c,u,d=[],m=0;m<p;m+=1)if((c=this.shapes[m]).shape._mdf||this._mdf||t||2===this.m){if(a=(r=c.shape.paths)._length,l=0,!c.shape._mdf&&c.pathsData.length)l=c.totalShapeLength;else{for(o=this.releasePathsData(c.pathsData),n=0;n<a;n+=1)h=bez.getSegmentsLength(r.shapes[n]),o.push(h),l+=h.totalLength;c.totalShapeLength=l,c.pathsData=o}f+=l,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var y,g=i,v=s,b=0;for(m=p-1;0<=m;--m)if((c=this.shapes[m]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(i,s,c.totalShapeLength,b,f),b+=c.totalShapeLength):y=[[g,v]],a=y.length,n=0;n<a;n+=1){g=y[n][0],v=y[n][1],d.length=0,v<=1?d.push({s:c.totalShapeLength*g,e:c.totalShapeLength*v}):1<=g?d.push({s:c.totalShapeLength*(g-1),e:c.totalShapeLength*(v-1)}):(d.push({s:c.totalShapeLength*g,e:c.totalShapeLength}),d.push({s:0,e:c.totalShapeLength*(v-1)}));var _,P=this.addShapes(c,d[0]);d[0].s!==d[0].e&&(1<d.length&&(P=c.shape.paths.shapes[c.shape.paths._length-1].c?(_=P.pop(),this.addPaths(P,u),this.addShapes(c,d[1],_)):(this.addPaths(P,u),this.addShapes(c,d[1]))),this.addPaths(P,u))}c.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){for(var i=t.length,s=0;s<i;s+=1)e.addShape(t[s])},TrimModifier.prototype.addSegment=function(t,e,i,s,r,n,a){r.setXYAt(e[0],e[1],"o",n),r.setXYAt(i[0],i[1],"i",n+1),a&&r.setXYAt(t[0],t[1],"v",n),r.setXYAt(s[0],s[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var s,r,n,a,o,h,l,p,f=t.pathsData,c=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],y=!0,g=i?(a=i._length,i._length):(i=shapePool.newElement(),a=0);for(m.push(i),s=0;s<u;s+=1){for(o=f[s].lengths,i.c=c[s].c,n=c[s].c?o.length:o.length+1,r=1;r<n;r+=1)if(d+(p=o[r-1]).addedLength<e.s)d+=p.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+p.addedLength?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[r],c[s].v[r],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[r],c[s].o[r-1],c[s].i[r],(e.s-d)/p.addedLength,(e.e-d)/p.addedLength,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1),d+=p.addedLength,a+=1}if(c[s].c&&o.length&&(p=o[r-1],d<=e.e?(l=o[r-1].addedLength,e.s<=d&&e.e>=d+l?(this.addSegment(c[s].v[r-1],c[s].o[r-1],c[s].i[0],c[s].v[0],i,a,y),y=!1):(h=bez.getNewSegment(c[s].v[r-1],c[s].v[0],c[s].o[r-1],c[s].i[0],(e.s-d)/l,(e.e-d)/l,o[r-1]),this.addSegmentFromArray(h,i,a,y),i.c=y=!1)):i.c=!1,d+=p.addedLength,a+=1),i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;s<u-1&&(i=shapePool.newElement(),y=!0,m.push(i),a=0)}return m},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){for(var i=e/100,s=[0,0],r=t._length,n=0,n=0;n<r;n+=1)s[0]+=t.v[n][0],s[1]+=t.v[n][1];s[0]/=r,s[1]/=r;var a,o,h,l,p,f,c=shapePool.newElement();for(c.c=t.c,n=0;n<r;n+=1)a=t.v[n][0]+(s[0]-t.v[n][0])*i,o=t.v[n][1]+(s[1]-t.v[n][1])*i,h=t.o[n][0]+(s[0]-t.o[n][0])*-i,l=t.o[n][1]+(s[1]-t.o[n][1])*-i,p=t.i[n][0]+(s[0]-t.i[n][0])*-i,f=t.i[n][1]+(s[1]-t.i[n][1])*-i,c.setTripleAt(a,o,h,l,p,f,n);return c},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var n=[0,0];function s(t,e,i){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(i||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)for(var s=e.or.k.length,r=0;r<s;r+=1)e.or.k[r].to=null,e.or.k[r].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 s.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(t){var e,i,s,r;this.elem.globalData.frameId!==this.frameId&&(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),(this._mdf||t)&&(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&&(t=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime?i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/t,0),this.p.getValueAtTime(this.p.keyframes[0].t/t,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/t,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/t,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/t,this.p.offsetTime)):this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime?(e=[],i=[],s=this.px,r=this.py,s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/t,0),e[1]=r.getValueAtTime((r.keyframes[0].t+.01)/t,0),i[0]=s.getValueAtTime(s.keyframes[0].t/t,0),i[1]=r.getValueAtTime(r.keyframes[0].t/t,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/t,0),e[1]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/t,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/t,0),i[1]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/t,0)):(e=[s.pv,r.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/t,s.offsetTime),i[1]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/t,r.offsetTime))):e=i=n,this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[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],s),s.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},s.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,e,i){return new s(t,e,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,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){return 0===t||(i=e*e-4*t*i)<0?[]:(e=-e/(2*t),0==i?[e]:[e-(i=Math.sqrt(i)/(2*t)),e+i])}function polynomialCoefficients(t,e,i,s){return[3*e-t-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,s,r){r&&pointEqual(t,e)&&(e=lerpPoint(t,s,1/3)),r&&pointEqual(i,s)&&(i=lerpPoint(t,s,2/3));var r=polynomialCoefficients(t[0],e[0],i[0],s[0]),n=polynomialCoefficients(t[1],e[1],i[1],s[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,i,s]}function extrema(t,e){var i,s=t.points[0][e],r=t.points[t.points.length-1][e];r<s&&(i=r,r=s,s=i);for(var n,a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),o=0;o<a.length;o+=1)0<a[o]&&a[o]<1&&((n=t.point(a[o])[e])<s?s=n:r<n&&(r=n));return{min:s,max:r}}function intersectData(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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,i,s,r,n){boxIntersect(t,e)&&(n<=i||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s?r.push([t.t,e.t]):(t=splitData(t),e=splitData(e),intersectsImpl(t[0],e[0],i+1,s,r,n),intersectsImpl(t[0],e[1],i+1,s,r,n),intersectsImpl(t[1],e[0],i+1,s,r,n),intersectsImpl(t[1],e[1],i+1,s,r,n)))}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,i,s){t=[t[0],t[1],1],e=[e[0],e[1],1],i=[i[0],i[1],1],s=[s[0],s[1],1],t=crossProduct(crossProduct(t,e),crossProduct(i,s));return floatZero(t[2])?null:[t[0]/t[2],t[1]/t[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,s,r,n,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*s*r,e=e[1]-Math.sin(i)*s*r;t.setTripleAt(l,e,l+Math.cos(o)*n,e-Math.sin(o)*n,l+Math.cos(h)*a,e-Math.sin(h)*a,t.length())}function getPerpendicularVector(t,e){e=[e[0]-t[0],e[1]-t[1]],t=.5*-Math.PI;return[Math.cos(t)*e[0]-Math.sin(t)*e[1],Math.sin(t)*e[0]+Math.cos(t)*e[1]]}function getProjectingAngle(t,e){var i=0===e?t.length()-1:e-1,e=(e+1)%t.length(),i=getPerpendicularVector(t.v[i],t.v[e]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,i,s,r,n,a){var o=getProjectingAngle(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],l=2===n?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,n=2===n?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;setPoint(t,e.v[i%e._length],o,a,s,n/(2*(r+1)),l/(2*(r+1)))}function zigZagSegment(t,e,i,s,r,n){for(var a=0;a<s;a+=1){var o=(a+1)/(s+1),h=2===r?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,l=e.normalAngle(o);setPoint(t,e.point(o),l,n,i,h/(2*(s+1)),h/(2*(s+1))),n=-n}return n}function linearOffset(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,s,i),polarOffset(e,s,i)]}function offsetSegment(t,e){var i=linearOffset(t.points[0],t.points[1],e),s=i[0],r=i[1],n=(i=linearOffset(t.points[1],t.points[2],e))[0],a=i[1],t=(i=linearOffset(t.points[2],t.points[3],e))[0],e=i[1],i=lineIntersection(s,r,n,a),r=(null===i&&(i=r),lineIntersection(t,e,n,a));return new PolynomialBezier(s,i,r=null===r?t:r,e)}function joinLines(t,e,i,s,r){var n,a,o=e.points[3],h=i.points[0];return 3===s||pointEqual(o,h)?o:2===s?(s=-e.tangentAngle(1),a=-i.tangentAngle(0)+Math.PI,n=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),h,polarOffset(h,s+Math.PI/2,100)),n=polarOffset(o,s,2*(s=n?pointDistance(n,o):pointDistance(o,h)/2)*roundCorner),t.setXYAt(n[0],n[1],"o",t.length()-1),n=polarOffset(h,a,2*s*roundCorner),t.setTripleAt(h[0],h[1],h[0],h[1],n[0],n[1],t.length()),h):(a=lineIntersection(pointEqual(o,e.points[2])?e.points[0]:e.points[2],o,h,pointEqual(h,i.points[1])?i.points[3]:i.points[1]))&&pointDistance(a,o)<r?(t.setTripleAt(a[0],a[1],a[0],a[1],a[0],a[1],t.length()),a):o}function getIntersection(t,e){t=t.intersections(e);return t.length&&floatEqual(t[0][0],1)&&t.shift(),t.length?t[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),s=e.slice(),r=getIntersection(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),1<t.length&&1<e.length&&(r=getIntersection(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return 1<t.length&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i,s,r,n=t.inflectionPoints();return 0===n.length?[offsetSegment(t,e)]:1===n.length||floatEqual(n[1],1)?(s=(i=t.split(n[0]))[0],r=i[1],[offsetSegment(s,e),offsetSegment(r,e)]):(s=(i=t.split(n[0]))[0],t=(n[1]-n[0])/(1-n[0]),n=(i=i[1].split(t))[0],r=i[1],[offsetSegment(s,e),offsetSegment(n,e),offsetSegment(r,e)])}function OffsetPathModifier(){}function getFontProperties(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],s="normal",r="normal",n=i.length,a=0;a<n;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:r,weight:t.fWeight||s}}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,i,s,r,n){var a=n?-1:1,o=s.s.v[0]+(1-s.s.v[0])*(1-r),h=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*a*r,s.p.v[1]*a*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*a*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(n?1/o:o,n?1/h:h),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)this._elements.unshift(e[--i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i]._processed=!1,"gr"===t[i].ty&&this.resetElements(t[i].it)},RepeaterModifier.prototype.cloneElements=function(t){t=JSON.parse(JSON.stringify(t));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,s,r,n,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(s=n=0;s<=this._groups.length-1;s+=1)this._groups[s]._render=o=n<h,this.changeGroupRender(this._groups[s].it,o),o||(0!==(o=(o=this.elemsData[s].it)[o.length-1]).transform.op.v?(o.transform.op._mdf=!0,o.transform.op.v=0):o.transform.op._mdf=!1),n+=1;this._currentCopies=h;var p,f,t=this.o.v,c=t%1,u=0<t?Math.floor(t):Math.ceil(t),d=this.pMatrix.props,m=this.rMatrix.props,y=this.sMatrix.props,g=(this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset(),0);if(0<t){for(;g<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(t<0){for(;u<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),--g;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(s=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(f=(i=(e=this.elemsData[s].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)*(s/(this._currentCopies-1)),0!==g){for((0!==s&&1===r||s!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),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]),p=0;p<f;p+=1)i[p]=this.matrix.props[p];this.matrix.reset()}else for(this.matrix.reset(),p=0;p<f;p+=1)i[p]=this.matrix.props[p];g+=1,--n,s+=r}}else for(n=this._currentCopies,s=0,r=1;n;)i=(e=this.elemsData[s].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,--n,s+=r;return a},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 i=shapePool.newElement();i.c=t.c;for(var s,r,n,a,o,h,l,p,f,c,u=t._length,d=0,m=0;m<u;m+=1)s=t.v[m],n=t.o[m],r=t.i[m],s[0]===n[0]&&s[1]===n[1]&&s[0]===r[0]&&s[1]===r[1]?0!==m&&m!==u-1||t.c?(a=0===m?t.v[u-1]:t.v[m-1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,f=s[0]+(a[0]-s[0])*h,c=s[1]-(s[1]-a[1])*h,l=f-(f-s[0])*roundCorner,p=c-(c-s[1])*roundCorner,i.setTripleAt(f,c,l,p,f,c,d),d+=1,a=m===u-1?t.v[0]:t.v[m+1],h=(o=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)))?Math.min(o/2,e)/o:0,l=s[0]+(a[0]-s[0])*h,p=s[1]+(a[1]-s[1])*h,f=l-(l-s[0])*roundCorner,c=p-(p-s[1])*roundCorner,i.setTripleAt(l,p,l,p,f,c,d)):i.setTripleAt(s[0],s[1],n[0],n[1],r[0],r[1],d):i.setTripleAt(t.v[m][0],t.v[m][1],t.o[m][0],t.o[m][1],t.i[m][0],t.i[m][1],d),d+=1;return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.rd.v;if(0!==n)for(var a,o,h=0;h<r;h+=1){if(o=(a=this.shapes[h]).localShapeCollection,a.shape._mdf||this._mdf||t)for(o.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)o.addShape(this.processPath(e[i],n));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){t=this.derivative(t);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(t){t=this.derivative(t);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t,e=this.a[1]*this.b[0]-this.a[0]*this.b[1];return floatZero(e)||(e=(t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e)*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e)<0?[]:floatZero(e=Math.sqrt(e))?0<e&&e<1?[t]:[]:[t-e,t+e].filter(function(t){return 0<t&&t<1})},PolynomialBezier.prototype.split=function(t){var e,i,s,r;return t<=0?[singlePoint(this.points[0]),this]:1<=t?[this,singlePoint(this.points[this.points.length-1])]:(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),s=lerpPoint(e,r,t),r=lerpPoint(r,i,t),t=lerpPoint(s,r,t),[new PolynomialBezier(this.points[0],e,s,t,!0),new PolynomialBezier(t,r,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,i){void 0===e&&(e=2),void 0===i&&(i=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,s,i),s},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,s){var r=t._length,n=shapePool.newElement();if(n.c=t.c,t.c||--r,0!==r){var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(n,t,0,e,i,s,a);for(var h=0;h<r;h+=1)a=zigZagSegment(n,o,e,i,s,-a),o=h!==r-1||t.c?PolynomialBezier.shapeSegment(t,(h+1)%r):null,zigZagCorner(n,t,h+1,e,i,s,a)}return n},ZigZagModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amplitude.v,a=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,a,o));h.shape.paths=h.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,i,s){var r=shapePool.newElement(),n=(r.c=t.c,t.length());t.c||--n;for(var a,o,h=[],l=0;l<n;l+=1)o=PolynomialBezier.shapeSegment(t,l),h.push(offsetSegmentSplit(o,e));if(!t.c)for(l=n-1;0<=l;--l)o=PolynomialBezier.shapeSegmentInverted(t,l),h.push(offsetSegmentSplit(o,e));var h=pruneIntersections(h),p=null,f=null;for(l=0;l<h.length;l+=1){var c=h[l];for(f&&(p=joinLines(r,f,c[0],i,s)),f=c[c.length-1],a=0;a<c.length;a+=1)o=c[a],p&&pointEqual(o.points[0],p)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.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],r.length()),r.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],r.length()),p=o.points[3]}return h.length&&joinLines(r,f,h[0][0],i,s),r},OffsetPathModifier.prototype.processShapes=function(t){var e,i,s,r=this.shapes.length,n=this.amount.v,a=this.miterLimit.v,o=this.lineJoin;if(0!==n)for(var h,l,p=0;p<r;p+=1){if(l=(h=this.shapes[p]).localShapeCollection,h.shape._mdf||this._mdf||t)for(l.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,i=0;i<s;i+=1)l.addShape(this.processPath(e[i],n,o,a));h.shape.paths=h.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var n={w:0,size:0,shapes:[],data:{shapes:[]}},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]),i=127462,s=127487,r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(t,e){var i=createTag("span"),s=(i.setAttribute("aria-hidden",!0),i.style.fontFamily=e,createTag("span")),r=(s.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(s),document.body.appendChild(i),s.offsetWidth);return s.style.fontFamily=function(t){for(var e=t.split(","),i=e.length,s=[],r=0;r<i;r+=1)"sans-serif"!==e[r]&&"monospace"!==e[r]&&s.push(e[r]);return s.join(",")}(t)+", "+e,{node:s,w:r,parent:i}}function c(t,e){var i,s,r=document.body&&e?"svg":"canvas",n=getFontProperties(t);return i="svg"==r?((s=createNS("text")).style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),s):((e=new OffscreenCanvas(500,500).getContext("2d")).font=n.style+" "+n.weight+" 100px "+t.fFamily,e),{measureText:function(t){return"svg"==r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function a(t){var e=0,i=t.charCodeAt(0);return e=55296<=i&&i<=56319&&56320<=(t=t.charCodeAt(1))&&t<=57343?1024*(i-55296)+t-56320+65536:e}function o(t){t=a(t);return i<=t&&t<=s}function t(){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)}t.isModifier=function(t,e){return t=t.toString(16)+e.toString(16),-1!==r.indexOf(t)},t.isZeroWidthJoiner=function(t){return 8205===t},t.isFlagEmoji=function(t){return o(t.substr(0,2))&&o(t.substr(2,2))},t.isRegionalCode=o,t.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},t.isRegionalFlag=function(t,e){var i;if(127988!==a(t.substr(e,2)))return!1;var s=0;for(e+=2;s<5;){if((i=a(t.substr(e,2)))<917601||917626<i)return!1;s+=1,e+=2}return 917631===a(t.substr(e,2))},t.isVariationSelector=function(t){return 65039===t},t.BLACK_FLAG_CODE_POINT=127988;var h={addChars:function(t){if(t){this.chars||(this.chars=[]);for(var e,i,s=t.length,r=this.chars.length,n=0;n<s;n+=1){for(e=0,i=!1;e<r;)this.chars[e].style===t[n].style&&this.chars[e].fFamily===t[n].fFamily&&this.chars[e].ch===t[n].ch&&(i=!0),e+=1;i||(this.chars.push(t[n]),r+=1)}}},addFonts:function(t,e){if(t)if(this.chars)this.isLoaded=!0,this.fonts=t.list;else if(document.body){for(var i=t.list,s=i.length,r=s,n=0;n<s;n+=1){var a,o,h,l,p=!0;if(i[n].loaded=!1,i[n].monoCase=f(i[n].fFamily,"monospace"),i[n].sansCase=f(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin)(p=!(0<(o=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length)&&p)&&((h=createTag("style")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h));else if("g"===i[n].fOrigin||1===i[n].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),a=0;a<o.length;a+=1)-1!==o[a].href.indexOf(i[n].fPath)&&(p=!1);p&&((h=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.type="text/css",h.rel="stylesheet",h.href=i[n].fPath,document.body.appendChild(h))}else if("t"===i[n].fOrigin||2===i[n].origin){for(o=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),a=0;a<o.length;a+=1)i[n].fPath===o[a].src&&(p=!1);p&&((l=createTag("link")).setAttribute("f-forigin",i[n].fOrigin),l.setAttribute("f-origin",i[n].origin),l.setAttribute("rel","stylesheet"),l.setAttribute("href",i[n].fPath),e.appendChild(l))}}else i[n].loaded=!0,--r;i[n].helper=c(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===r?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0,t.list.forEach(function(t){t.helper=c(t),t.cache={}}),this.fonts=t.list;else this.isLoaded=!0},getCharData:function(t,e,i){for(var s=0,r=this.chars.length;s<r;){if(this.chars[s].ch===t&&this.chars[s].style===e&&this.chars[s].fFamily===i)return this.chars[s];s+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),n},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var s,r,n,e=this.getFontByName(e),a=t;return e.cache[a]||(s=e.helper," "===t?(r=s.measureText("|"+t+"|"),n=s.measureText("||"),e.cache[a]=(r-n)/100):e.cache[a]=s.measureText(t)/100),e.cache[a]*i},checkLoadedFonts:function(){for(var t,e,i=this.fonts.length,s=i,r=0;r<i;r+=1)this.fonts[r].loaded?--s:"n"===this.fonts[r].fOrigin||0===this.fonts[r].origin?this.fonts[r].loaded=!0:(t=this.fonts[r].monoCase.node,e=this.fonts[r].monoCase.w,t.offsetWidth===e&&(t=this.fonts[r].sansCase.node,e=this.fonts[r].sansCase.w,t.offsetWidth===e)||(--s,this.fonts[r].loaded=!0),this.fonts[r].loaded&&(this.fonts[r].sansCase.parent.parentNode.removeChild(this.fonts[r].sansCase.parent),this.fonts[r].monoCase.parent.parentNode.removeChild(this.fonts[r].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return t.prototype=h,t}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function 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(){for(var t=this.renderableComponents.length,e=0;e<t;e+=1)this.renderableComponents[e].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 e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];for(var s,r=i.length,n=0;n<r;n+=1)s=new GroupEffect(i[n],e),this.effectElements.push(s)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;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){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);for(var i,s=this.data.ef.length,r=this.data.ef,n=0;n<s;n+=1){switch(i=null,r[n].ty){case 0:i=new SliderEffect(r[n],e,this);break;case 1:i=new AngleEffect(r[n],e,this);break;case 2:i=new ColorEffect(r[n],e,this);break;case 3:i=new PointEffect(r[n],e,this);break;case 4:case 7:i=new CheckboxEffect(r[n],e,this);break;case 10:i=new LayerIndexEffect(r[n],e,this);break;case 11:i=new MaskIndexEffect(r[n],e,this);break;case 5:i=new EffectsManager(r[n],e);break;default:i=new NoValueEffect(r[n])}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(this.data.hasMask)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,e,i,s,r=getExpressionInterfaces();r&&(s=r("layer"),t=r("effects"),e=r("shape"),i=r("text"),r=r("comp"),this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager),s=t.createEffectsInterface(this,this.layerInterface),this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=r(this):4===this.data.ty?(this.layerInterface.shapeInterface=e(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(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,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){for(var i=this.dynamicProperties.length,s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._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();t&&(t=t("footage"),this.layerInterface=t(this))},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:(t=this.tm.v,this._currentTime=t),this._volume=this.lv.v[0];t=this._volume*this._volumeMultiplier;this._previousVolume!==t&&(this._previousVolume=t,this.audio.volume(t))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||.1<Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek()))&&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,i,s=this.layers.length;for(this.completeLayers=!0,e=s-1;0<=e;--e)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.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: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);default:return this.createNull(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(){for(var t=this.layers.length,e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;for(var e,i=t.length,s=this.layers.length,r=0;r<i;r+=1)for(e=0;e<s;){if(this.layers[e].id===t[r].id){this.layers[e]=t[r];break}e+=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,i){for(var s=this.elements,r=this.layers,n=0,a=r.length;n<a;)r[n].ind==e&&(s[n]&&!0!==s[n]?(i.push(s[n]),s[n].setAsParent(),void 0!==r[n].parent?this.buildElementParenting(t,r[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=0;s<i;s+=1)t[s].xt&&((e=this.createComp(t[s])).initExpressions(),this.globalData.projectInterface.registerComposition(e))},BaseRenderer.prototype.getElementById=function(t){for(var e=this.elements.length,i=0;i<e;i+=1)if(this.elements[i].data.ind===t)return this.elements[i];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else for(var s=this.elements.length,r=0;r<s;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];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,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(r),this.solidPath="";for(var n,a,o,h,l,p=this.masksProperties,f=0,c=[],u=createElementID(),d="clipPath",m="clip-path",y=0;y<r;y+=1)if(("a"!==p[y].mode&&"n"!==p[y].mode||p[y].inv||100!==p[y].o.k||p[y].o.x)&&(m=d="mask"),"s"!==p[y].mode&&"i"!==p[y].mode||0!==f?a=null:((a=createNS("rect")).setAttribute("fill","#ffffff"),a.setAttribute("width",this.element.comp.data.w||0),a.setAttribute("height",this.element.comp.data.h||0),c.push(a)),n=createNS("path"),"n"===p[y].mode)this.viewData[y]={op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),elem:n,lastPath:""},s.appendChild(n);else{if(f+=1,n.setAttribute("fill","s"===p[y].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[y].x.k?(m=d="mask",h=PropertyFactory.getProp(this.element,p[y].x,0,null,this.element),l=createElementID(),(_=createNS("filter")).setAttribute("id",l),(o=createNS("feMorphology")).setAttribute("operator","erode"),o.setAttribute("in","SourceGraphic"),o.setAttribute("radius","0"),_.appendChild(o),s.appendChild(_),n.setAttribute("stroke","s"===p[y].mode?"#000000":"#ffffff")):h=o=null,this.storedData[y]={elem:n,x:h,expan:o,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},"i"===p[y].mode){for(var g=c.length,v=createNS("g"),b=0;b<g;b+=1)v.appendChild(c[b]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",u+"_"+f),_.appendChild(n),s.appendChild(_),v.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+f+")"),c.length=0,c.push(v)}else c.push(n);p[y].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[y]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,p[y].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[y],3),invRect:a},this.viewData[y].prop.k||this.drawPath(p[y],this.viewData[y].prop.v,this.viewData[y])}for(this.maskElement=createNS(d),r=c.length,y=0;y<r;y+=1)this.maskElement.appendChild(c[y]);0<f&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),s.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,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<s;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,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 i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){for(var r=this.finalTransform.localOpacity,t=0;t<e;t+=1)r*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;for(var e=0,i=t.length,e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;for(var r,n=e.length,a=0;a<n;a+=1)r=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-r[0],t[1]-r[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){for(var e,i=this.element.finalTransform.mat,s=this.masksProperties.length,r=0;r<s;r+=1)(this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),"n"!==this.masksProperties[r].mode&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[r].x)&&(this.storedData[r].x._mdf||t)&&(e=this.storedData[r].expan,this.storedData[r].x.v<0?("erode"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),e.setAttribute("radius",-this.storedData[r].x.v)):("dilate"!==this.storedData[r].lastOperator&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",2*this.storedData[r].x.v)))},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return(t+=" h"+this.globalData.compSize.w)+(" v"+this.globalData.compSize.h)+(" h-"+this.globalData.compSize.w)+(" v-"+this.globalData.compSize.h+" ")},MaskElement.prototype.drawPath=function(t,e,i){for(var s,r=" M"+e.v[0][0]+","+e.v[0][1],n=e._length,a=1;a<n;a+=1)r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[a][0]+","+e.i[a][1]+" "+e.v[a][0]+","+e.v[a][1];e.c&&1<n&&(r+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r&&(s="",i.elem&&(e.c&&(s=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",s)),i.lastPath=r)},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var i=createNS("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},t.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},t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:("undefined"==typeof OffscreenCanvas?"undefined":_typeof2(OffscreenCanvas))<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=createElementID(),n=filtersFactory.createFilter(r,!0),a=0;for(this.filters=[],e=0;e<s;e+=1){o=null;var o,h=t.data.ef[e].ty;registeredEffects$1[h]&&(o=new registeredEffects$1[h].effect(n,t.effectsManager.effectElements[e],t,idPrefix+a,i),i=idPrefix+a,registeredEffects$1[h].countsAsEffect)&&(a+=1),o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect$1(t,e,i){registeredEffects$1[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),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){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);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,e,i,s=null;this.data.td?(this.matteMasks={},(t=createNS("g")).setAttribute("id",this.layerId),t.appendChild(this.layerElement),this.globalData.defs.appendChild(s=t)):this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=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.ty||this.data.hd||(t=createNS("clipPath"),(i=createNS("path")).setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z"),e=createElementID(),t.setAttribute("id",e),t.appendChild(i),this.globalData.defs.appendChild(t),this.checkMasks()?((i=createNS("g")).setAttribute("clip-path","url("+getLocationHref()+"#"+e+")"),i.appendChild(this.layerElement),this.transformedElement=i,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement):this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+e+")")),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("op
1acity",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){var e,i,s,r,n,a,o,h,l;return this.matteMasks||(this.matteMasks={}),this.matteMasks[t]||(e=this.layerId+"_"+t,1===t||3===t?((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),i=createElementID(),s=filtersFactory.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))):2===t&&((a=createNS("mask")).setAttribute("id",e),a.setAttribute("mask-type","alpha"),o=createNS("g"),a.appendChild(o),i=createElementID(),s=filtersFactory.createFilter(i),(l=createNS("feComponentTransfer")).setAttribute("in","SourceGraphic"),s.appendChild(l),(h=createNS("feFuncA")).setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),l.appendChild(h),this.globalData.defs.appendChild(s),(l=createNS("rect")).setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),o.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),o.appendChild(l),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),featureSupport.maskType||(a.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),o.appendChild(l),n.appendChild(this.layerElement),o.appendChild(n)),this.globalData.defs.appendChild(a)),this.matteMasks[t]=e),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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){for(var e=this.shapeModifiers.length,i=0;i<e;i+=1)this.shapeModifiers[i].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){for(var t=this.shapes.length,e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;0<=e&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);--e);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(i[--s].elem===t)return void(i[s].pos=e);i.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"};
vendor: 95,262 bytes, line 1
1function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=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,i,s){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);for(var r,n=e.length||0,a=0;a<n;a+=1)r=PropertyFactory.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,i){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=i,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,i){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=i}function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var s=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",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function SVGGradientStrokeStyleData(t,e,i){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,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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 i=0,s=this.o.length/2;i<s;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=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){for(var e,i,s=4*this.data.p,r=0;r<s;r+=1)e=r%4==0?100:255,i=Math.round(this.prop.v[r]*e),this.c[r]!==i&&(this.c[r]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,r=4*this.data.p;r<s;r+=1)e=r%2==0?100:1,i=r%2==0?Math.round(100*this.prop.v[r]):this.prop.v[r],this.o[r-4*this.data.p]!==i&&(this.o[r-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){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=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){for(var i,s=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient"),n=(r.setAttribute("id",s),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse"),[]),a=4*e.g.p,o=0;o<a;o+=4)i=createNS("stop"),r.appendChild(i),n.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),this.gf=r,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){for(var i,s,r=createNS("mask"),n=createNS("path"),a=(r.appendChild(n),createElementID()),o=createElementID(),h=(r.setAttribute("id",o),createNS(1===t.t?"linearGradient":"radialGradient")),l=(h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=(t.g.k.k[0].s||t.g.k.k).length,this.stops),p=4*t.g.p;p<s;p+=2)(i=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),l.push(i);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+a+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj)&&n.setAttribute("stroke-miterlimit",t.ml),this.of=h,this.ms=r,this.ost=l,this.maskId=o,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,i,s){if(0===e)return"";for(var r=t.o,n=t.i,a=t.v,o=" M"+s.applyToPointStringified(a[0][0],a[0][1]),h=1;h<e;h+=1)o+=" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[h][0],n[h][1])+" "+s.applyToPointStringified(a[h][0],a[h][1]);return o=i&&e?o+(" C"+s.applyToPointStringified(r[h-1][0],r[h-1][1])+" "+s.applyToPointStringified(n[0][0],n[0][1])+" "+s.applyToPointStringified(a[0][0],a[0][1]))+"z":o},SVGElementsRenderer=function(){var m=new Matrix,y=new Matrix;function e(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function s(t,e,i){for(var s,r,n,a,o,h,l,p,f,c=e.styles.length,u=e.lvl,d=0;d<c;d+=1){if(a=e.sh._mdf||i,e.styles[d].lvl<u){for(l=y.reset(),p=u-e.styles[d].lvl,f=e.transformers.length-1;!a&&0<p;)a=e.transformers[f].mProps._mdf||a,--p,--f;if(a)for(p=u-e.styles[d].lvl,f=e.transformers.length-1;0<p;)l.multiply(e.transformers[f].mProps.v),--p,--f}else l=m;if(r=(h=e.sh.paths)._length,a){for(n="",s=0;s<r;s+=1)(o=h.shapes[s])&&o._length&&(n+=buildShapeString(o,o._length,o.c,l));e.caches[d]=n}else n=e.caches[d];e.styles[d].d+=!0===t.hd?"":n,e.styles[d]._mdf=a||e.styles[d]._mdf}}function r(t,e,i){var s=e.style;(e.c._mdf||i)&&s.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("fill-opacity",e.o.v)}function n(t,e,i){a(t,e,i),o(0,e,i)}function a(t,e,i){var s,r,n,a,o=e.gf,h=e.g._hasOpacity,l=e.s.v,p=e.e.v;if((e.o._mdf||i)&&(n="gf"===t.ty?"fill-opacity":"stroke-opacity",e.style.pElem.setAttribute(n,e.o.v)),(e.s._mdf||i)&&(a="x1"==(n=1===t.t?"x1":"cx")?"y1":"cy",o.setAttribute(n,l[0]),o.setAttribute(a,l[1]),h)&&!e.g._collapsable&&(e.of.setAttribute(n,l[0]),e.of.setAttribute(a,l[1])),e.g._cmdf||i)for(var f=e.cst,c=e.g.c,u=f.length,d=0;d<u;d+=1)(s=f[d]).setAttribute("offset",c[4*d]+"%"),s.setAttribute("stop-color","rgb("+c[4*d+1]+","+c[4*d+2]+","+c[4*d+3]+")");if(h&&(e.g._omdf||i)){var m=e.g.o;for(u=(f=e.g._collapsable?e.cst:e.ost).length,d=0;d<u;d+=1)s=f[d],e.g._collapsable||s.setAttribute("offset",m[2*d]+"%"),s.setAttribute("stop-opacity",m[2*d+1])}1===t.t?(e.e._mdf||i)&&(o.setAttribute("x2",p[0]),o.setAttribute("y2",p[1]),h)&&!e.g._collapsable&&(e.of.setAttribute("x2",p[0]),e.of.setAttribute("y2",p[1])):((e.s._mdf||e.e._mdf||i)&&(r=Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),o.setAttribute("r",r),h)&&!e.g._collapsable&&e.of.setAttribute("r",r),(e.e._mdf||e.h._mdf||e.a._mdf||i)&&(r=r||Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)),n=Math.atan2(p[1]-l[1],p[0]-l[0]),1<=(a=e.h.v)?a=.99:a<=-1&&(a=-.99),t=r*a,i=Math.cos(n+e.a.v)*t+l[0],p=Math.sin(n+e.a.v)*t+l[1],o.setAttribute("fx",i),o.setAttribute("fy",p),h)&&!e.g._collapsable&&(e.of.setAttribute("fx",i),e.of.setAttribute("fy",p)))}function o(t,e,i){var s=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(s.pElem.setAttribute("stroke-dasharray",r.dashStr),s.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&s.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&s.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(s.pElem.setAttribute("stroke-width",e.w.v),s.msElem)&&s.msElem.setAttribute("stroke-width",e.w.v)}return{createRenderFunction:function(t){switch(t.ty){case"fl":return r;case"gf":return a;case"gs":return n;case"st":return o;case"sh":case"el":case"rc":case"sr":return s;case"tr":return e;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function LetterProps(t,e,i,s,r,n){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,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(){for(var t,e,i,s=this.shapes.length,r=this.stylesList.length,n=[],a=!1,o=0;o<r;o+=1){for(i=this.stylesList[o],a=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),a=e._isAnimated||a);1<n.length&&a&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){for(var e=t.length,i=0;i<e;i+=1)t[i].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,e=new SVGStyleData(t,e),s=e.pElem;return"st"===t.ty?i=new SVGStrokeStyleData(this,t,e):"fl"===t.ty?i=new SVGFillStyleData(this,t,e):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,e),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new SVGNoStyleData(this,t,e)),"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),1!==t.lj)||s.setAttribute("stroke-miterlimit",t.ml),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(e),this.addToAnimatedContents(t,i),i},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 i=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var s=4;"rc"===t.ty?s=5:"el"===t.ty?s=6:"sr"===t.ty&&(s=7);e=new SVGShapeData(e,i,ShapePropertyFactory.getShapeProp(this,t,s,this));return this.shapes.push(e),this.addShapeToModifiers(e),this.addToAnimatedContents(t,e),e},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){for(var e=t.styles,i=this.stylesList.length,s=0;s<i;s+=1)this.stylesList[s].closed||e.push(this.stylesList[s])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;for(var t=this.itemsData.length,e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,s,r,n,a){for(var o,h,l,p,f,c=[].concat(n),u=t.length-1,d=[],m=[],y=u;0<=y;--y){if((f=this.searchProcessedElement(t[y]))?e[y]=i[f-1]:t[y]._render=a,"fl"===t[y].ty||"st"===t[y].ty||"gf"===t[y].ty||"gs"===t[y].ty||"no"===t[y].ty)f?e[y].style.closed=!1:e[y]=this.createStyleElement(t[y],r),t[y]._render&&e[y].style.pElem.parentNode!==s&&s.appendChild(e[y].style.pElem),d.push(e[y].style);else if("gr"===t[y].ty){if(f)for(h=e[y].it.length,o=0;o<h;o+=1)e[y].prevViewData[o]=e[y].it[o];else e[y]=this.createGroupElement(t[y]);this.searchShapes(t[y].it,e[y].it,e[y].prevViewData,e[y].gr,r+1,c,a),t[y]._render&&e[y].gr.parentNode!==s&&s.appendChild(e[y].gr)}else"tr"===t[y].ty?(f||(e[y]=this.createTransformElement(t[y],s)),l=e[y].transform,c.push(l)):"sh"===t[y].ty||"rc"===t[y].ty||"el"===t[y].ty||"sr"===t[y].ty?(f||(e[y]=this.createShapeElement(t[y],c,r)),this.setElementStyles(e[y])):"tm"===t[y].ty||"rd"===t[y].ty||"ms"===t[y].ty||"pb"===t[y].ty||"zz"===t[y].ty||"op"===t[y].ty?(f?(p=e[y]).closed=!1:((p=ShapeModifiers.getModifier(t[y].ty)).init(this,t[y]),e[y]=p,this.shapeModifiers.push(p)),m.push(p)):"rp"===t[y].ty&&(f?(p=e[y]).closed=!0:(p=ShapeModifiers.getModifier(t[y].ty),(e[y]=p).init(this,t,y,e),this.shapeModifiers.push(p),a=!1),m.push(p));this.addProcessedElement(t[y],y+1)}for(u=d.length,y=0;y<u;y+=1)d[y].closed=!0;for(u=m.length,y=0;y<u;y+=1)m[y].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();for(var t=this.stylesList.length,e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){for(var t,e=this.animatedContents.length,i=0;i<e;i+=1)t=this.animatedContents[i],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,i,s,r,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var a=this._mdf.p=!1;return this.o!==t&&(this.o=t,a=this._mdf.o=!0),this.sw!==e&&(this.sw=e,a=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,a=this._mdf.sc=!0),this.fc!==s&&(this.fc=s,a=this._mdf.fc=!0),this.m!==r&&(this.m=r,a=this._mdf.m=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,a=this._mdf.p=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);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=1<this.data.d.k.length,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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;for(var s=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s,n=0;n<s;n+=1)r=i!==this.keysIndex?this.effectsSequence[n](r,r.t):this.effectsSequence[n](this.currentData,r.t);e!==r&&this.setCurrentData(r),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,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i,s=[],r=0,n=t.length,a=!1,o=!1,h="";r<n;)a=o,o=!1,e=t.charCodeAt(r),h=t.charAt(r),FontManager.isCombinedCharacter(e)?a=!0:55296<=e&&e<=56319?FontManager.isRegionalFlag(t,r)?h=t.substr(r,14):56320<=(i=t.charCodeAt(r+1))&&i<=57343&&(FontManager.isModifier(e,i)?(h=t.substr(r,2),a=!0):h=FontManager.isFlagEmoji(t.substr(r,4))?t.substr(r,4):t.substr(r,2)):56319<e?(i=t.charCodeAt(r+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(o=a=!0),a?(s[s.length-1]+=h,a=!1):s.push(h),r+=h.length;return s},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,s,r,n=this.elem.globalData.fontManager,a=this.data,o=[],h=0,l=a.m.g,p=0,f=0,c=0,u=[],d=0,m=0,y=n.getFontByName(t.f),g=0,v=getFontProperties(y),b=(t.fWeight=v.weight,t.fStyle=v.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),S=t.finalText.length,t.finalLineHeight=t.lh,t.tr/1e3*t.finalSize);if(t.sz)for(var _=!0,R=t.sz[0],B=t.sz[1];_;){for(var P,x=0,d=0,S=(P=this.buildFinalText(t.t)).length,b=t.tr/1e3*t.finalSize,E=-1,A=0;A<S;A+=1)r=P[A].charCodeAt(0),e=!1," "===P[A]?E=A:13!==r&&3!==r||(e=!(d=0),x+=t.finalLineHeight||1.2*t.finalSize),R<d+(g=n.chars?(s=n.getCharData(P[A],y.fStyle,y.fFamily),e?0:s.w*t.finalSize/100):n.measureText(P[A],t.f,t.finalSize))&&" "!==P[A]?(-1===E?S+=1:A=E,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(A,E===A?1:0,"\r"),E=-1,d=0):d=d+g+b;x+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<x?(--t.finalSize,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,S=t.finalText.length,_=!1)}d=-b;var k,g=0,C=0;for(A=0;A<S;A+=1)if(e=!1,13===(r=(k=t.finalText[A]).charCodeAt(0))||3===r?(C=0,u.push(d),m=m<d?d:m,d=-2*b,e=!(i=""),c+=1):i=k,g=n.chars?(s=n.getCharData(k,y.fStyle,n.getFontByName(t.f).fFamily),e?0:s.w*t.finalSize/100):n.measureText(i,t.f,t.finalSize)," "===k?C+=g+b:(d+=g+b+C,C=0),o.push({l:g,an:g,add:p,n:e,anIndexes:[],val:i,line:c,animatorJustifyOffset:0}),2==l){if(p+=g,""===i||" "===i||A===S-1){for(""!==i&&" "!==i||(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;h+=1,p=0}}else if(3==l){if(p+=g,""===i||A===S-1){for(""===i&&(p-=g);f<=A;)o[f].an=p,o[f].ind=h,o[f].extra=g,f+=1;p=0,h+=1}}else o[h].ind=h,o[h].extra=0,h+=1;if(t.l=o,m=m<d?d:m,u.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=m,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;for(var T,w,M,D,F=a.a,O=F.length,I=[],L=0;L<O;L+=1){for((T=F[L]).a.sc&&(t.strokeColorAnim=!0),T.a.sw&&(t.strokeWidthAnim=!0),(T.a.fc||T.a.fh||T.a.fs||T.a.fb)&&(t.fillColorAnim=!0),M=T.s.b,A=D=0;A<S;A+=1)(w=o[A]).anIndexes[L]=D,(1==M&&""!==w.val||2==M&&""!==w.val&&" "!==w.val||3==M&&(w.n||" "==w.val||A==S-1)||4==M&&(w.n||A==S-1))&&(1===T.s.rn&&I.push(D),D+=1);a.a[L].s.totalChars=D;var V,z=-1;if(1===T.s.rn)for(A=0;A<S;A+=1)z!=(w=o[A]).anIndexes[L]&&(z=w.anIndexes[L],V=I.splice(Math.floor(Math.random()*I.length),1)[0]),w.anIndexes[L]=V}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s),i=this.copyData(i,t);this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){t=this.data.d.k[t].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},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 h=Math.max,l=Math.min,p=Math.floor;function s(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),"e"in e?this.e=PropertyFactory.getProp(t,e.e,0,0,this):this.e={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 s.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e,i,s=0,r=0,n=1,a=1,s=(0<this.ne.v?s=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?n=1-this.xe.v/100:a=1+this.xe.v/100,BezierFactory.getBezierEasing(s,r,n,a).get),r=0,n=this.finalS,a=this.finalE,o=this.data.sh;return r=2===o?s(r=a===n?a<=t?1:0:h(0,l(.5/(a-n)+(t-n)/(a-n),1))):3===o?s(r=a===n?a<=t?0:1:1-h(0,l(.5/(a-n)+(t-n)/(a-n),1))):4===o?(a===n?r=0:(r=h(0,l(.5/(a-n)+(t-n)/(a-n),1)))<.5?r*=2:r=1-2*(r-.5),s(r)):5===o?s(r=a===n?0:(e=-(i=a-n)/2+(t=l(h(0,t+.5-n),a-n)),i=i/2,Math.sqrt(1-e*e/(i*i)))):(6===o?r=a===n?0:(t=l(h(0,t+.5-n),a-n),(1+Math.cos(Math.PI+2*Math.PI*t/(a-n)))/2):t>=p(n)&&(r=h(0,l(t-n<0?l(a,1)-(n-t):a-t,1))),s(r)),100!==this.sm.v&&(r<(i=.5-.5*(e=0===(e=.01*this.sm.v)?1e-8:e))?r=0:1<(r=(r-i)/e)&&(r=1)),r*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 t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,t=this.e.v/t+e;t<i&&(e=i,i=t,t=e),this.finalS=i,this.finalE=t}},extendPrototype([DynamicPropertyContainer],s),{getTextSelectorProp:function(t,e,i){return new s(t,e)}}}();function TextAnimatorDataProperty(t,e,i){var s={propType:!1},r=PropertyFactory.getProp,n=e.a;this.a={r:n.r?r(t,n.r,0,degToRads,i):s,rx:n.rx?r(t,n.rx,0,degToRads,i):s,ry:n.ry?r(t,n.ry,0,degToRads,i):s,sk:n.sk?r(t,n.sk,0,degToRads,i):s,sa:n.sa?r(t,n.sa,0,degToRads,i):s,s:n.s?r(t,n.s,1,.01,i):s,a:n.a?r(t,n.a,1,0,i):s,o:n.o?r(t,n.o,0,.01,i):s,p:n.p?r(t,n.p,1,0,i):s,sw:n.sw?r(t,n.sw,0,0,i):s,sc:n.sc?r(t,n.sc,1,0,i):s,fc:n.fc?r(t,n.fc,1,0,i):s,fh:n.fh?r(t,n.fh,0,0,i):s,fs:n.fs?r(t,n.fs,0,.01,i):s,fb:n.fb?r(t,n.fb,0,.01,i):s,t:n.t?r(t,n.t,0,0,i):s},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){for(var t,e=this._textData.a.length,i=PropertyFactory.getProp,s=0;s<e;s+=1)t=this._textData.a[s],this._animatorsData[s]=new TextAnimatorDataProperty(this._elem,t,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,R){if(this.lettersChangedFlag=R,this._mdf||this._isFirstFrame||R||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var e,i,s,B,r,n,a,o,h,O,l,z,p,f=this._moreOptions.alignment.v,c=this._animatorsData,u=this._textData,d=this.mHelper,N=this._renderType,G=this.renderedLetters.length,m=t.l;if(this._hasMaskedPath){if(p=this._pathData.m,!this._pathData.n||this._pathData._mdf){for(var y,g=p.v,v={tLength:0,segments:[]},b=(g=this._pathData.r.v?g.reverse():g)._length-1,_=l=0;_<b;_+=1)y=bez.buildBezierData(g.v[_],g.v[_+1],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[_+1][0]-g.v[_+1][0],g.i[_+1][1]-g.v[_+1][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength;_=b,p.v.c&&(y=bez.buildBezierData(g.v[_],g.v[0],[g.o[_][0]-g.v[_][0],g.o[_][1]-g.v[_][1]],[g.i[0][0]-g.v[0][0],g.i[0][1]-g.v[0][1]]),v.tLength+=y.segmentLength,v.segments.push(y),l+=y.segmentLength),this._pathData.pi=v}if(v=this._pathData.pi,e=this._pathData.f.v,r=1,B=!(s=n=0),h=v.segments,e<0&&p.v.c)for(v.tLength<Math.abs(e)&&(e=-Math.abs(e)%v.tLength),r=(o=h[n=h.length-1].points).length-1;e<0;)e+=o[r].partialLength,--r<0&&(r=(o=h[--n].points).length-1);a=(o=h[n].points)[r-1],O=(i=o[r]).partialLength}b=m.length;var P,j,x,S,H,q,E,A,k,C,T,W,$,X,Y,J,w=0,U=0,K=1.2*t.finalSize*.714,Z=!0,M=c.length,D=-1,Q=e,tt=n,et=r,it=-1,st="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var F=0,nt=0,at=2===t.j?-.5:-1,I=0,ot=!0;for(_=0;_<b;_+=1)if(m[_].n){for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1;ot=!(F=0)}else{for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(ot&&2===t.j&&(nt+=P.t.v*at),(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?F+=P.t.v*x[0]*at:F+=P.t.v*x*at);ot=!1}for(F&&(F+=nt);I<_;)m[I].animatorJustifyOffset=F,I+=1}for(_=0;_<b;_+=1){if(d.reset(),E=1,m[_].n)w=0,U=U+t.yOffset+(Z?1:0),e=Q,Z=!1,this._hasMaskedPath&&(a=(o=h[n=tt].points)[(r=et)-1],O=(i=o[r]).partialLength,s=0),Y=W=X=st="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(it!==m[_].line){switch(t.j){case 1:e+=l-t.lineWidths[m[_].line];break;case 2:e+=(l-t.lineWidths[m[_].line])/2}it=m[_].line}D!==m[_].ind&&(m[D]&&(e+=m[D].extra),e+=m[_].an/2,D=m[_].ind),e+=f[0]*m[_].an*.005;for(var L=0,V=0;V<M;V+=1)(P=c[V].a).p.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.p.v[0]*x[0]:L+=P.p.v[0]*x),P.a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?L+=P.a.v[0]*x[0]:L+=P.a.v[0]*x);for(B=!0,this._pathData.a.v&&(e=.5*m[0].an+(l-this._pathData.f.v-.5*m[0].an-.5*m[m.length-1].an)*D/(b-1),e+=this._pathData.f.v);B;)e+L<=s+O||!o?(z=(e+L-s)/i.partialLength,H=a.point[0]+(i.point[0]-a.point[0])*z,q=a.point[1]+(i.point[1]-a.point[1])*z,d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01),B=!1):o&&(s+=i.partialLength,(r+=1)>=o.length&&(r=0,o=h[n+=1]?h[n].points:p.v.c?h[n=r=0].points:(s-=i.partialLength,null)),o)&&(a=i,O=(i=o[r]).partialLength);S=m[_].an/2-m[_].add,d.translate(-S,0,0)}else S=m[_].an/2-m[_].add,d.translate(-S,0,0),d.translate(-f[0]*m[_].an*.005,-f[1]*K*.01,0);for(V=0;V<M;V+=1)(P=c[V].a).t.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),0!==w||0!==t.j)&&(this._hasMaskedPath?x.length?e+=P.t.v*x[0]:e+=P.t.v*x:x.length?w+=P.t.v*x[0]:w+=P.t.v*x);for(t.strokeWidthAnim&&(k=t.sw||0),t.strokeColorAnim&&(A=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(C=[t.fc[0],t.fc[1],t.fc[2]]),V=0;V<M;V+=1)(P=c[V].a).a.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.translate(-P.a.v[0]*x[0],-P.a.v[1]*x[1],P.a.v[2]*x[2]):d.translate(-P.a.v[0]*x,-P.a.v[1]*x,P.a.v[2]*x));for(V=0;V<M;V+=1)(P=c[V].a).s.propType&&((x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars)).length?d.scale(1+(P.s.v[0]-1)*x[0],1+(P.s.v[1]-1)*x[1],1):d.scale(1+(P.s.v[0]-1)*x,1+(P.s.v[1]-1)*x,1));for(V=0;V<M;V+=1){if(P=c[V].a,x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),P.sk.propType&&(x.length?d.skewFromAxis(-P.sk.v*x[0],P.sa.v*x[1]):d.skewFromAxis(-P.sk.v*x,P.sa.v*x)),P.r.propType&&(x.length?d.rotateZ(-P.r.v*x[2]):d.rotateZ(-P.r.v*x)),P.ry.propType&&(x.length?d.rotateY(P.ry.v*x[1]):d.rotateY(P.ry.v*x)),P.rx.propType&&(x.length?d.rotateX(P.rx.v*x[0]):d.rotateX(P.rx.v*x)),P.o.propType&&(x.length?E+=(P.o.v*x[0]-E)*x[0]:E+=(P.o.v*x-E)*x),t.strokeWidthAnim&&P.sw.propType&&(x.length?k+=P.sw.v*x[0]:k+=P.sw.v*x),t.strokeColorAnim&&P.sc.propType)for(T=0;T<3;T+=1)x.length?A[T]+=(P.sc.v[T]-A[T])*x[0]:A[T]+=(P.sc.v[T]-A[T])*x;if(t.fillColorAnim&&t.fc){if(P.fc.propType)for(T=0;T<3;T+=1)x.length?C[T]+=(P.fc.v[T]-C[T])*x[0]:C[T]+=(P.fc.v[T]-C[T])*x;P.fh.propType&&(C=x.length?addHueToRGB(C,P.fh.v*x[0]):addHueToRGB(C,P.fh.v*x)),P.fs.propType&&(C=x.length?addSaturationToRGB(C,P.fs.v*x[0]):addSaturationToRGB(C,P.fs.v*x)),P.fb.propType&&(C=x.length?addBrightnessToRGB(C,P.fb.v*x[0]):addBrightnessToRGB(C,P.fb.v*x))}}for(V=0;V<M;V+=1)(P=c[V].a).p.propType&&(x=c[V].s.getMult(m[_].anIndexes[V],u.a[V].s.totalChars),this._hasMaskedPath?x.length?d.translate(0,P.p.v[1]*x[0],-P.p.v[2]*x[1]):d.translate(0,P.p.v[1]*x,-P.p.v[2]*x):x.length?d.translate(P.p.v[0]*x[0],P.p.v[1]*x[1],-P.p.v[2]*x[2]):d.translate(P.p.v[0]*x,P.p.v[1]*x,-P.p.v[2]*x));if(t.strokeWidthAnim&&(W=k<0?0:k),t.strokeColorAnim&&($="rgb("+Math.round(255*A[0])+","+Math.round(255*A[1])+","+Math.round(255*A[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*C[0])+","+Math.round(255*C[1])+","+Math.round(255*C[2])+")"),this._hasMaskedPath)d.translate(0,-t.ls),d.translate(0,f[1]*K*.01+U,0),this._pathData.p.v&&(J=(i.point[1]-a.point[1])/(i.point[0]-a.point[0]),J=180*Math.atan(J)/Math.PI,i.point[0]<a.point[0]&&(J+=180),d.rotate(-J*Math.PI/180)),d.translate(H,q,0),e-=f[0]*m[_].an*.005,m[_+1]&&D!==m[_+1].ind&&(e=(e+=m[_].an/2)+.001*t.tr*t.finalSize);else{switch(d.translate(w,U,0),t.ps&&d.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line]),0,0);break;case 2:d.translate(m[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[m[_].line])/2,0,0)}d.translate(0,-t.ls),d.translate(S,0,0),d.translate(f[0]*m[_].an*.005,f[1]*K*.01,0),w+=m[_].l+.001*t.tr*t.finalSize}"html"===N?st=d.toCSS():"svg"===N?st=d.to2dCSS():rt=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Y=E}G<=_?(j=new LetterProps(Y,W,$,X,st,rt),this.renderedLetters.push(j),G+=1,this.lettersChangedFlag=!0):(j=this.renderedLetters[_],this.lettersChangedFlag=j.update(Y,W,$,X,st,rt)||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,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),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){for(var i,s=e.length,r="",n=0;n<s;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,r+=buildShapeString(i,i.i.length,!0,t));return r},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,i,s,r){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(s,r,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,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function ISolidElement(t,e,i){this.initElement(t,e,i)}function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),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 t="",i=(e&&e.title&&(i=createNS("title"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),t+=s),e&&e.description&&(i=createNS("desc"),s=createElementID(),i.setAttribute("id",s),i.textContent=e.description,this.svgElement.appendChild(i),t+=" "+s),t&&this.svgElement.setAttribute("aria-labelledby",t),createNS("defs")),s=(this.svgElement.appendChild(i),createNS("g"));this.svgElement.appendChild(s),this.layerElement=s,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:i,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}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,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},SVGTextLottieElement.prototype.buildShapeData=function(t,e){var i;return t.shapes&&t.shapes.length&&(i=t.shapes[0]).it&&(i=i.it[i.it.length-1]).s&&(i.s.k[0]=e,i.s.k[1]=e),t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData,s=(this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize),this.globalData.fontManager.getFontByName(i.f)),r=(s.fClass?this.layerElement.setAttribute("class",s.fClass):(this.layerElement.setAttribute("font-family",s.fFamily),t=i.fWeight,e=i.fStyle,this.layerElement.setAttribute("font-style",e),this.layerElement.setAttribute("font-weight",t)),this.layerElement.setAttribute("aria-label",i.t),i.l||[]),n=!!this.globalData.fontManager.chars;_=r.length;var a=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*i.tr*i.finalSize;if(!o||n||i.sz){var c,u,d,m,y=this.textSpans.length;for(P=0;P<_;P+=1)this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),n&&o&&0!==P||(c=P<y?this.textSpans[P].span:createNS(n?"g":"text"),y<=P&&(c.setAttribute("stroke-linecap","butt"),c.setAttribute("stroke-linejoin","round"),c.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=c,n&&(m=createNS("g"),c.appendChild(m),this.textSpans[P].childSpan=m),this.textSpans[P].span=c,this.layerElement.appendChild(c)),c.style.display="inherit"),a.reset(),o&&(r[P].n&&(h=-f,l=l+i.yOffset+(p?1:0),p=!1),this.applyTextPropertiesToMatrix(i,a,r[P].line,h,l),h=h+(r[P].l||0)+f),n?(u=1===(m=this.globalData.fontManager.getCharData(i.finalText[P],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t?new SVGCompElement(m.data,this.globalData,this):(u=emptyShapeData,new SVGShapeElement(u=m.data&&m.data.shapes?this.buildShapeData(m.data,i.finalSize):u,this.globalData,this)),this.textSpans[P].glyph&&(d=this.textSpans[P].glyph,this.textSpans[P].childSpan.removeChild(d.layerElement),d.destroy()),(this.textSpans[P].glyph=u)._debug=!0,u.prepareFrame(0),u.renderFrame(),this.textSpans[P].childSpan.appendChild(u.layerElement),1===m.t&&this.textSpans[P].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")):(o&&c.setAttribute("transform","translate("+a.props[12]+","+a.props[13]+")"),c.textContent=r[P].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));o&&c&&c.setAttribute("d","")}else{var g=this.textContainer,v="start";switch(i.j){case 1:v="end";break;case 2:v="middle";break;default:v="start"}g.setAttribute("text-anchor",v),g.setAttribute("letter-spacing",f);for(var b=this.buildTextContents(i.finalText),_=b.length,l=i.ps?i.ps[1]+i.ascent:0,P=0;P<_;P+=1)(c=this.textSpans[P].span||createNS("tspan")).textContent=b[P],c.setAttribute("x",0),c.setAttribute("y",l),c.style.display="inherit",g.appendChild(c),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=c,l+=i.finalLineHeight;this.layerElement.appendChild(g)}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){var t;return this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged&&(this._sizeChanged=!1,t=this.layerElement.getBBox(),this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}),this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;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)){this._sizeChanged=!0;for(var t,e,i,s=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l,n=r.length,a=0;a<n;a+=1)r[a].n||(t=s[a],e=this.textSpans[a].span,(i=this.textSpans[a].glyph)&&i.renderFrame(),t._mdf.m&&e.setAttribute("transform",t.m),t._mdf.o&&e.setAttribute("opacity",t.o),t._mdf.sw&&e.setAttribute("stroke-width",t.sw),t._mdf.sc&&e.setAttribute("stroke",t.sc),t._mdf.fc&&e.setAttribute("fill",t.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,i=(this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t,createNS("clipPath")),s=createNS("rect"),r=(s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0),createElementID());i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){for(var e=0,i=this.layers.length,e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e,i,s=this.elements;s[t]||99===this.layers[t].ty||(s[t]=!0,e=this.createItem(this.layers[t]),s[t]=e,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(e),e.initExpressions()),this.appendElementInPos(e,t),this.layers[t].tt&&-1!==(i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1)&&(this.elements[i]&&!0!==this.elements[i]?(s=s[i].getMatte(this.layers[t].tt),e.setMatte(s)):(this.buildItem(i),this.addPendingElement(e))))},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,s=this.elements[s].getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){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 e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;--e)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){t=t.getBaseElement();if(t){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)}},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,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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){this.tm._placeholder?this.renderedFrame=t/this.data.sr:((t=this.tm.v)===this.data.op&&(t=this.data.op-1),this.renderedFrame=t);var e,t=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=t-1;0<=e;--e)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf)&&(this._mdf=!0)}},ICompElement.prototype.renderInnerContent=function(){for(var t=this.layers.length,e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){for(var t=this.layers.length,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].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)};var registeredEffects={};function CVEffects(t){var e,i=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<i;e+=1){s=null;var s,r=t.data.ef[e].ty;(s=registeredEffects[r]?new registeredEffects[r].effect(t.effectsManager.effectElements[e],t):s)&&this.filters.push(s)}this.filters.length&&t.addRenderableComponent(this)}function HBaseElement(){}function HSolidElement(t,e,i){this.initElement(t,e,i)}function HShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}function HCameraElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initHierarchy();e=PropertyFactory.getProp;if(this.pe=e(this,t.pe,0,0,this),t.ks.p.s?(this.px=e(this,t.ks.p.x,1,0,this),this.py=e(this,t.ks.p.y,1,0,this),this.pz=e(this,t.ks.p.z,1,0,this)):this.p=e(this,t.ks.p,1,0,this),t.ks.a&&(this.a=e(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to)for(var s=t.ks.or.k.length,r=0;r<s;r+=1)t.ks.or.k[r].to=null,t.ks.or.k[r].ti=null;this.or=e(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=e(this,t.ks.rx,0,degToRads,this),this.ry=e(this,t.ks.ry,0,degToRads,this),this.rz=e(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,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}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,i){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,i),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"}CVEffects.prototype.renderFrame=function(t){for(var e=this.filters.length,i=0;i<e;i+=1)this.filters[i].renderFrame(t)},CVEffects.prototype.getEffects=function(t){for(var e=this.filters.length,i=[],s=0;s<e;s+=1)this.filters[s].type===t&&i.push(this.filters[s]);return i},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,e=this.transformedElement?this.transformedElement.style:{};this.finalTransform._matMdf&&(t=this.finalTransform.mat.toCSS(),e.transform=t,e.webkitTransform=t),this.finalTransform._opMdf&&(e.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,e;this.baseElement.style.fontSize=0,this.data.hasMask?(this.layerElement.appendChild(this.shapesContainer),t=this.svgElement):(t=createNS("svg"),e=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){for(var i=t.length,s=0;s<i;s+=1)e=t[s].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var i,s,r,n,a,o=t.sh.v,h=t.transformers,l=o._length;if(!(l<=1)){for(i=0;i<l-1;i+=1)s=this.getTransformedPoint(h,o.v[i]),r=this.getTransformedPoint(h,o.o[i]),n=this.getTransformedPoint(h,o.i[i+1]),a=this.getTransformedPoint(h,o.v[i+1]),this.checkBounds(s,r,n,a,e);o.c&&(s=this.getTransformedPoint(h,o.v[i]),r=this.getTransformedPoint(h,o.o[i]),n=this.getTransformedPoint(h,o.i[0]),a=this.getTransformedPoint(h,o.v[0]),this.checkBounds(s,r,n,a,e))}},HShapeElement.prototype.checkBounds=function(t,e,i,s,r){this.getBoundsOfCurve(t,e,i,s);t=this.shapeBoundingBox;r.x=bmMin(t.left,r.x),r.xMax=bmMax(t.right,r.xMax),r.y=bmMin(t.top,r.y),r.yMax=bmMax(t.bottom,r.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,i,s){for(var r,n,a,o,h=[[t[0],s[0]],[t[1],s[1]]],l=0;l<2;++l)n=6*t[l]-12*e[l]+6*i[l],r=-3*t[l]+9*e[l]-9*i[l]+3*s[l],o=3*e[l]-3*t[l],n|=0,o|=0,0==(r|=0)&&0==n||(0==r?0<(a=-o/n)&&a<1&&h[l].push(this.calculateF(a,t,e,i,s,l)):0<=(a=n*n-4*o*r)&&(0<(o=(-n+bmSqrt(a))/(2*r))&&o<1&&h[l].push(this.calculateF(o,t,e,i,s,l)),0<(o=(-n-bmSqrt(a))/(2*r)))&&o<1&&h[l].push(this.calculateF(o,t,e,i,s,l)));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,i,s,r,n){return bmPow(1-t,3)*e[n]+3*bmPow(1-t,2)*t*i[n]+3*(1-t)*bmPow(t,2)*s[n]+bmPow(t,3)*r[n]},HShapeElement.prototype.calculateBoundingBox=function(t,e){for(var i=t.length,s=0;s<i;s+=1)t[s]&&t[s].sh?this.calculateShapeBoundingBox(t[s],e):t[s]&&t[s].it?this.calculateBoundingBox(t[s].it,e):t[s]&&t[s].style&&t[s].w&&this.expandStrokeBoundingBox(t[s].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var i=0;if(t.keyframes){for(var s=0;s<t.keyframes.length;s+=1){var r=t.keyframes[s].s;i<r&&(i=r)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},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(){var t,e;this._renderShapeFrame(),this.hidden||!this._isFirstFrame&&!this._mdf||((e=this.tempBoundingBox).x=t=999999,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,!this.currentBoxContains(e)&&(t=!1,this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),t=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),t=!0),t||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y)&&(this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.shapeCont.style,e="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)",t.transform=e,t.webkitTransform=e))},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){var t;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),t=createNS("g"),this.maskedElement.appendChild(t),this.innerElem=t):(this.renderType="html",this.innerElem=this.layerElement),this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t,e=this.textProperty.currentData,i=(this.renderedLetters=createSizedArray(e.l?e.l.length:0),this.innerElem.style),s=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)",r=(i.fill=s,i.color=s,e.sc&&(i.stroke=this.buildColor(e.sc),i.strokeWidth=e.sw+"px"),this.globalData.fontManager.getFontByName(e.f));this.globalData.fontManager.chars||(i.fontSize=e.finalSize+"px",i.lineHeight=e.finalSize+"px",r.fClass?this.innerElem.className=r.fClass:(i.fontFamily=r.fFamily,s=e.fWeight,t=e.fStyle,i.fontStyle=t,i.fontWeight=s));for(var n,a,o,h,l,p,f=e.l,c=f.length,u=this.mHelper,d=0,m=0;m<c;m+=1)this.globalData.fontManager.chars?(this.textPaths[d]?n=this.textPaths[d]:((n=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),n.setAttribute("stroke-linejoin",lineJoinEnum[2]),n.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?o=(a=this.textSpans[d]).children[0]:((a=createTag("div")).style.lineHeight=0,(o=createNS("svg")).appendChild(n),styleDiv(a)))):this.isMasked?n=this.textPaths[d]||createNS("text"):this.textSpans[d]?(a=this.textSpans[d],n=this.textPaths[d]):(styleDiv(a=createTag("span")),styleDiv(n=createTag("span")),a.appendChild(n)),this.globalData.fontManager.chars?(l=(l=this.globalData.fontManager.getCharData(e.finalText[m],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))?l.data:null,u.reset(),l&&l.shapes&&l.shapes.length&&(h=l.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),h=this.createPathShape(u,h),n.setAttribute("d",h)),this.isMasked?this.innerElem.appendChild(n):(this.innerElem.appendChild(a),l&&l.shapes?(document.body.appendChild(o),h=o.getBBox(),o.setAttribute("width",h.width+2),o.setAttribute("height",h.height+2),o.setAttribute("viewBox",h.x-1+" "+(h.y-1)+" "+(h.width+2)+" "+(h.height+2)),l=o.style,p="translate("+(h.x-1)+"px,"+(h.y-1)+"px)",l.transform=p,l.webkitTransform=p,f[m].yOffset=h.y-1):(o.setAttribute("width",1),o.setAttribute("height",1)),a.appendChild(o))):(n.textContent=f[m].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(n):(this.innerElem.appendChild(a),l=n.style,p="translate3d(0,"+-e.finalSize/1.2+"px,0)",l.transform=p,l.webkitTransform=p)),this.isMasked?this.textSpans[d]=n:this.textSpans[d]=a,this.textSpans[d].style.display="block",this.textPaths[d]=n,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;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,r="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)",t.transform=r,t.webkitTransform=r)}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){for(var e,i,s,r,n=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l,h=o.length,l=0;l<h;l+=1)o[l].n?n+=1:(i=this.textSpans[l],s=this.textPaths[l],e=a[n],n+=1,e._mdf.m&&(this.isMasked?i.setAttribute("transform",e.m):(i.style.webkitTransform=e.m,i.style.transform=e.m)),i.style.opacity=e.o,e.sw&&e._mdf.sw&&s.setAttribute("stroke-width",e.sw),e.sc&&e._mdf.sc&&s.setAttribute("stroke",e.sc),e.fc&&e._mdf.fc&&(s.setAttribute("fill",e.fc),s.style.color=e.fc));this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)&&(r=this.innerElem.getBBox(),this.currentBBox.w!==r.width&&(this.currentBBox.w=r.width,this.svgElement.setAttribute("width",r.width)),this.currentBBox.h!==r.height&&(this.currentBBox.h=r.height,this.svgElement.setAttribute("height",r.height)),this.currentBBox.w===r.width+2&&this.currentBBox.h===r.height+2&&this.currentBBox.x===r.x-1&&this.currentBBox.y===r.y-1||(this.currentBBox.w=r.width+2,this.currentBBox.h=r.height+2,this.currentBBox.x=r.x-1,this.currentBBox.y=r.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style,r="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)",t.transform=r,t.webkitTransform=r))}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){for(var t,e,i,s,r,n=this.comp.threeDElements.length,a=0;a<n;a+=1)"3d"===(r=this.comp.threeDElements[a]).type&&(t=r.perspectiveElem.style,r=r.container.style,e=this.pe.v+"px",i="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",t.perspective=e,t.webkitPerspective=e,r.transformOrigin=i,r.mozTransformOrigin=i,r.webkitTransformOrigin=i,t.transform=s,t.webkitTransform=s)},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t=this._isFirstFrame;if(this.hierarchy)for(h=this.hierarchy.length,l=0;l<h;l+=1)t=this.hierarchy[l].finalTransform.mProp._mdf||t;if(t||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(l=h=this.hierarchy.length-1;0<=l;--l){var e=this.hierarchy[l].finalTransform.mProp;this.mat.translate(-e.p.v[0],-e.p.v[1],e.p.v[2]),this.mat.rotateX(-e.or.v[0]).rotateY(-e.or.v[1]).rotateZ(e.or.v[2]),this.mat.rotateX(-e.rx.v).rotateY(-e.ry.v).rotateZ(e.rz.v),this.mat.scale(1/e.s.v[0],1/e.s.v[1],1/e.s.v[2]),this.mat.translate(e.a.v[0],e.a.v[1],e.a.v[2])}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&&(s=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]],i=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),s=[s[0]/i,s[1]/i,s[2]/i],i=Math.sqrt(s[2]*s[2]+s[0]*s[0]),i=Math.atan2(s[1],i),s=Math.atan2(s[0],-s[2]),this.mat.rotateY(s).rotateX(-i)),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 i,s,r=!this._prevMat.equals(this.mat);if((r||this.pe._mdf)&&this.comp.threeDElements){for(var n,a,o,h=this.comp.threeDElements.length,l=0;l<h;l+=1)"3d"===(o=this.comp.threeDElements[l]).type&&(r&&(n=this.mat.toCSS(),(a=o.container.style).transform=n,a.webkitTransform=n),this.pe._mdf)&&((a=o.perspectiveElem.style).perspective=this.pe.v+"px",a.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){t=t.getBaseElement();if(t){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(t,e);else if(this.threeDElements)this.addTo3dContainer(t,e);else{for(var s,r,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n],s=(this.layers[n].ddd?this.getThreeDContainerByPos(n):r.getBaseElement())||s),n+=1;s?i.ddd&&this.supports3d||this.layerElement.insertBefore(t,s):i.ddd&&this.supports3d||this.layerElement.appendChild(t)}}},HybridRendererBase.prototype.createShape=function(t){return new(this.supports3d?HShapeElement:SVGShapeElement)(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return new(this.supports3d?HTextElement: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 new(this.supports3d?HImageElement:IImageElement)(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return new(this.supports3d?HSolidElement:ISolidElement)(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,i=this.threeDElements.length;e<i;){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 i,s=createTag("div"),r=(styleDiv(s),createTag("div")),n=(styleDiv(r),"3d"===e&&((n=s.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px",n.webkitTransformOrigin=i="50% 50%",n.mozTransformOrigin=i,n.transformOrigin=i,(n=r.style).transform=i="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",n.webkitTransform=i),s.appendChild(r),{container:r,perspectiveElem:s,startPos:t,endPos:t,type:e});return this.threeDElements.push(n),n},HybridRendererBase.prototype.build3dContainers=function(){for(var t,e=this.layers.length,i="",s=0;s<e;s+=1)this.layers[s].ddd&&3!==this.layers[s].ty?"3d"!==i&&(t=this.createThreeDContainer(s,i="3d")):"2d"!==i&&(t=this.createThreeDContainer(s,i="2d")),t.endPos=Math.max(t.endPos,s);for(s=(e=this.threeDElements.length)-1;0<=s;--s)this.resizerElem.appendChild(this.threeDElements[s].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var i=0,s=this.threeDElements.length;i<s;){if(e<=this.threeDElements[i].endPos){for(var r,n=this.threeDElements[i].startPos;n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.threeDElements[i].container.insertBefore(t,r):this.threeDElements[i].container.appendChild(t);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),i=this.animationItem.wrapper,s=e.style,i=(s.width=t.w+"px",s.height=t.h+"px",styleDiv(this.resizerElem=e),s.transformStyle="flat",s.mozTransformStyle="flat",s.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),s.overflow="hidden",createNS("svg")),e=(i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i),createNS("defs"));i.appendChild(e),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=e,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;for(var t=this.layers?this.layers.length:0,e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,i,s=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight,s=s/r<this.globalData.compSize.w/this.globalData.compSize.h?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,i=0,(r-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=r/this.globalData.compSize.h,e=r/this.globalData.compSize.h,i=(s-this.globalData.compSize.w*(r/this.globalData.compSize.h))/2,0),r=this.resizerElem.style;r.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+s+",0,1)",r.transform=r.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 for(var t=this.globalData.compSize.w,e=this.globalData.compSize.h,i=this.threeDElements.length,s=0;s<i;s+=1){var r=this.threeDElements[s].perspectiveElem.style;r.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",r.perspective=r.webkitPerspective}},HybridRendererBase.prototype.searchExtraCompositions=function(t){for(var e,i=t.length,s=createTag("div"),r=0;r<i;r+=1)t[r].xt&&((e=this.createComp(t[r],s,this.globalData.comp,null)).initExpressions(),this.globalData.projectInterface.registerComposition(e))},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 i,s=0;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return new(this.supports3d?HCompElement:SVGCompElement)(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return new(this.supports3d?HCompElement:SVGCompElement)(t,this.globalData,this)},registerRenderer("html",HybridRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier);var CompExpressionInterface=function(s){function t(t){for(var e=0,i=s.layers.length;e<i;){if(s.layers[e].nm===t||s.layers[e].ind===t)return s.elements[e].layerInterface;e+=1}return null}return Object.defineProperty(t,"_name",{value:s.data.nm}),(t.layer=t).pixelAspect=1,t.height=s.data.h||s.globalData.compSize.h,t.width=s.data.w||s.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/s.globalData.frameRate,t.displayStartTime=0,t.numLayers=s.layers.length,t};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})(t)}function seedRandom(a,o){var h=this,l=256,p=6,f="random",c=o.pow(l,p),u=o.pow(2,52),d=2*u,m=l-1;function y(t){var e,i=t.length,a=this,s=0,r=a.i=a.j=0,n=a.S=[];for(i||(t=[i++]);s<l;)n[s]=s++;for(s=0;s<l;s++)n[s]=n[r=m&r+t[s%i]+(e=n[s])],n[r]=e;a.g=function(t){for(var e,i=0,s=a.i,r=a.j,n=a.S;t--;)e=n[s=m&s+1],i=i*l+n[m&(n[s]=n[r=m&r+e])+(n[r]=e)];return a.i=s,a.j=r,i}}function g(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function v(t,e){for(var i,s=t+"",r=0;r<s.length;)e[m&r]=m&(i^=19*e[m&r])+s.charCodeAt(r++);return b(e)}function b(t){return String.fromCharCode.apply(0,t)}o["seed"+f]=function(t,e,i){function s(){for(var t=n.g(p),e=c,i=0;t<u;)t=(t+i)*l,e*=l,i=n.g(1);for(;d<=t;)t/=2,e/=2,i>>>=1;return(t+i)/e}var r=[],t=v(function t(e,i){var s,r=[],n=_typeof$2(e);if(i&&"object"==n)for(s in e)try{r.push(t(e[s],i-1))}catch(t){}return r.length?r:"string"==n?e:e+"\0"}((e=!0===e?{entropy:!0}:e||{}).entropy?[t,b(a)]:null===t?function(){try{var e=new Uint8Array(l);return(h.crypto||h.msCrypto).getRandomValues(e),b(e)}catch(t){e=h.navigator,e=e&&e.plugins;return[+new Date,h,e,h.screen,b(a)]}}():t,3),r),n=new y(r);return s.int32=function(){return 0|n.g(4)},s.quick=function(){return n.g(4)/4294967296},s.double=s,v(b(n.S),a),(e.pass||i||function(t,e,i,s){return s&&(s.S&&g(s,n),t.state=function(){return g(n,{})}),i?(o[f]=t,e):t})(s,t,"global"in e?e.global:this==o,e.state)},v(o.random(),a)}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})(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function 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)){for(var i=t.length,s=[],r=0;r<i;r+=1)s[r]=-t[r];return s}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 i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e)||"string"===i||"string"===s)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]+e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),s=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(s,e))return(t="string"===i?parseInt(t,10):t)-(e="string"===s?parseInt(e,10):e);if($bm_isInstanceOfArray(t)&&isNumerable(s,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,n=t.length,a=e.length,o=[];r<n||r<a;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?o[r]=t[r]-e[r]:o[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return o}return 0}function mul(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]*e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t*e[s];return i}return 0}function div(t,e){var i,s,r,n=_typeof$1(t),a=_typeof$1(e);if(isNumerable(n,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t[s]/e;return i}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),s=0;s<r;s+=1)i[s]=t/e[s];return i}return 0}function mod(t,e){return(t="string"==typeof t?parseInt(t,10):t)%(e="string"==typeof e?parseInt(e,10):e)}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){var s;return i<e&&(s=i,i=e,e=s),Math.min(Math.max(t,e),i)}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 Math.abs(t-(e=e||0));for(var i=Math.min(t.length,(e=e||helperLengthArray).length),s=0,r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i=t[0],s=t[1],r=t[2],n=Math.max(i,s,r),a=Math.min(i,s,r),o=(n+a)/2;if(n===a)l=e=0;else{var h=n-a,l=.5<o?h/(2-n-a):h/(n+a);switch(n){case i:e=(s-r)/h+(s<r?6:0);break;case s:e=(r-i)/h+2;break;case r:e=(i-s)/h+4}e/=6}return[e,l,o,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),1<i&&--i,i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,s,r=t[0],n=t[1],a=t[2];return 0===n?i=s=e=a:(e=hue2rgb(n=2*a-(a=a<.5?a*(1+n):a+n-a*n),a,r+1/3),i=hue2rgb(n,a,r),s=hue2rgb(n,a,r-1/3)),[e,i,s,t[3]]}function linear(t,e,i,s,r){var n;if(void 0!==s&&void 0!==r||(s=e,r=i,e=0,i=1),i<e&&(n=i,i=e,e=n),t<=e)return s;if(i<=t)return r;var a=i===e?0:(t-e)/(i-e);if(!s.length)return s+(r-s)*a;for(var o=s.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=s[l]+(r[l]-s[l])*a;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){for(var i=e.length,s=(t=t||createTypedArray("float32",i),createTypedArray("float32",i)),r=BMMath.random(),n=0;n<i;n+=1)s[n]=t[n]+r*(e[n]-t[n]);return s}return(t=void 0===t?0:t)+BMMath.random()*(e-t)}function createPath(t,e,i,s){for(var r,n,a=t.length,o=shapePool.newElement(),h=(o.setPathData(!!s,a),[0,0]),l=0;l<a;l+=1)r=e&&e[l]?e[l]:h,n=i&&i[l]?i[l]:h,o.setTripleAt(t[l][0],t[l][1],n[0]+t[l][0],n[1]+t[l][1],r[0]+t[l][0],r[1]+t[l][1],l,!0);return o}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,inPoint=(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,elem.data.ip/elem.comp.globalData.frameRate),outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw||0,height=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){for(var i=this.pv.length||1,s=createTypedArray("float32",i),r=Math.floor(5*time),n=0,a=0;n<r;){for(a=0;a<i;a+=1)s[a]+=-e+2*e*BMMath.random();n+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",i);if(1<i){for(a=0;a<i;a+=1)l[a]=this.pv[a]+s[a]+(-e+2*e*BMMath.random())*h;return l}return this.pv+s[0]+(-e+2*e*BMMath.random())*h}.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);function lookAt(t,e){e=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],t=Math.atan2(e[0],Math.sqrt(e[1]*e[1]+e[2]*e[2]))/degToRads;return[-Math.atan2(e[1],e[2])/degToRads,t,0]}function easeOut(t,e,i,s,r){return applyEase(easeOutBez,t,e,i,s,r)}function easeIn(t,e,i,s,r){return applyEase(easeInBez,t,e,i,s,r)}function ease(t,e,i,s,r){return applyEase(easeInOutBez,t,e,i,s,r)}function applyEase(t,e,i,s,r,n){void 0===r?(r=i,n=s):e=(e-i)/(s-i),1<e?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(r)){for(var o=r.length,h=createTypedArray("float32",o),l=0;l<o;l+=1)h[l]=(n[l]-r[l])*a+r[l];return h}return(n-r)*a+r}function nearestKey(t){var e,i,s,r=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(i=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)i=1,s=data.k[0].t;else{for(e=0;e<r-1;e+=1){if(t===data.k[e].t){i=e+1,s=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){s=(t-data.k[e].t>data.k[e+1].t-t?(i=e+2,data.k[e+1]):(i=e+1,data.k[e])).t;break}}-1===i&&(i=e+1,s=data.k[e].t)}else s=i=0;var n={};return n.index=i,n.time=s/elem.comp.globalData.frameRate,n}function key(t){if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);for(var e={time:data.k[--t].t/elem.comp.globalData.frameRate,value:[]},i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e,s=i.length,r=0;r<s;r+=1)e[r]=i[r],e.value[r]=i[r];return e}function framesToTime(t,e){return t/(e=e||elem.comp.globalData.frameRate)}function timeToFrames(t,e){return(t=t||0===t?t:time)*(e=e||elem.comp.globalData.frameRate)}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 time,velocity,value,text,textIndex,textTotal,selectorValue,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)&&(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,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};return t.initExpressions=function(t){var i=0,s=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){i+=1},t.renderer.globalData.popExpression=function(){if(0===--i){var t,e=s.length;for(t=0;t<e;t+=1)s[t].release();s.length=0}},t.renderer.globalData.registerExpressionProperty=function(t){-1===s.indexOf(t)&&s.push(t)}},t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}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}});return function(e){for(var i=createSizedArray(e.viewData.length),s=e.viewData.length,r=0;r<s;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<s;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var p={pv:0,v:0,mult:1},f={pv:[0,0,0],v:[0,0,0],mult:1};function c(s,r,n){Object.defineProperty(s,"velocity",{get:function(){return r.getVelocityAtTime(r.comp.currentFrame)}}),s.numKeys=r.keyframes?r.keyframes.length:0,s.key=function(t){var e,i;return s.numKeys?(e="",e="s"in r.keyframes[t-1]?r.keyframes[t-1].s:"e"in r.keyframes[t-2]?r.keyframes[t-2].e:r.keyframes[t-2].s,(i="unidimensional"===n?new Number(e):Object.assign({},e)).time=r.keyframes[t-1].t/r.elem.comp.globalData.frameRate,i.value="unidimensional"===n?e[0]:e,i):0},s.valueAtTime=r.getValueAtTime,s.speedAtTime=r.getSpeedAtTime,s.velocityAtTime=r.getVelocityAtTime,s.propertyGroup=r.propertyGroup}function u(){return p}return function(t){return t?"unidimensional"===t.propType?(o=1/(a=(a=t)&&"pv"in a?a:p).mult,h=a.pv*o,(l=new Number(h)).value=h,c(l,a,"unidimensional"),function(){return a.k&&a.getValue(),h=a.v*o,l.value!==h&&((l=new Number(h)).value=h,c(l,a,"unidimensional")),l}):(i=1/(e=(e=t)&&"pv"in e?e:f).mult,s=e.data&&e.data.l||e.pv.length,r=createTypedArray("float32",s),n=createTypedArray("float32",s),r.value=n,c(r,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<s;t+=1)n[t]=e.v[t]*i,r[t]=n[t];return r}):u;var e,i,s,r,n,a,o,h,l}}(),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 i,s,r,n;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?n=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),s=ExpressionPropertyInterface(t.py),t.pz&&(r=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?n():[i(),s(),r?r():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 r(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 n(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.applyPoint(e,t)}function a(t,e){e=this.getMatrix(e);return this.applyPoint(e,t)}function o(t,e){e=this.getMatrix(e);return e.props[12]=0,e.props[13]=0,e.props[14]=0,this.invertPoint(e,t)}function h(t,e){e=this.getMatrix(e);return this.invertPoint(e,t)}function l(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.applyToPointArray(e[0],e[1],e[2]||0)}function p(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}function f(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length)for(var i=this._elem.hierarchy.length,s=0;s<i;s+=1)this._elem.hierarchy[s].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}function c(){return[1,1,1,1]}return function(e){function i(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return i.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return s;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return i.effect;case"ADBE Text Properties":return i.textInterface;default:return null}}i.getMatrix=r,i.invertPoint=p,i.applyPoint=l,i.toWorld=a,i.toWorldVec=n,i.fromWorld=h,i.fromWorldVec=o,i.toComp=a,i.fromComp=f,i.sampleImage=c,i.sourceRectAtTime=e.sourceRectAtTime.bind(e);
vendor: 5,692 bytes, line 1
1var s,t=getDescriptor(s=TransformExpressionInterface((i._elem=e).finalTransform.mProp),"anchorPoint");return Object.defineProperties(i,{hasParent:{get:function(){return e.hierarchy.length}},parent:{get:function(){return e.hierarchy[0].layerInterface}},rotation:getDescriptor(s,"rotation"),scale:getDescriptor(s,"scale"),position:getDescriptor(s,"position"),opacity:getDescriptor(s,"opacity"),anchorPoint:t,anchor_point:t,transform:{get:function(){return s}},active:{get:function(){return e.isInRange}}}),i.startTime=e.data.st,i.index=e.data.ind,i.source=e.data.refId,i.height=0===e.data.ty?e.data.h:100,i.width=0===e.data.ty?e.data.w:100,i.inPoint=e.data.ip/e.comp.globalData.frameRate,i.outPoint=e.data.op/e.comp.globalData.frameRate,i._name=e.data.nm,i.registerMaskInterface=function(t){i.mask=new MaskManagerInterface(t,e)},i.registerEffectsInterface=function(t){i.effect=t},i}}(),propertyGroupFactory=function(e,i){return function(t){return(t=void 0===t?1:t)<=0?e:i(t-1)}},PropertyInterface=function(t,e){var i={_name:t};return function(t){return(t=void 0===t?1:t)<=0?i:e(t-1)}},EffectsExpressionInterface=function(){function p(t,e,i,s){var r=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",s)),function(){return 10===e?i.comp.compInterface(t.p.v):r()}}return{createEffectsInterface:function(t,e){if(t.effectsManager){var i,s=[],r=t.data.ef,n=t.effectsManager.effectElements.length;for(i=0;i<n;i+=1)s.push(function t(r,e,i,s){function n(t){for(var e=r.ef,i=0,s=e.length;i<s;){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 a,o=propertyGroupFactory(n,i),h=[],l=r.ef.length;for(a=0;a<l;a+=1)5===r.ef[a].ty?h.push(t(r.ef[a],e.effectElements[a],e.effectElements[a].propertyGroup,s)):h.push(p(e.effectElements[a],r.ef[a].ty,s,o));return"ADBE Color Control"===r.mn&&Object.defineProperty(n,"color",{get:function(){return h[0]()}}),Object.defineProperties(n,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:o}}),n.enabled=0!==r.en,n.active=n.enabled,n}(r[i],t.effectsManager.effectElements[i],e,t));var a=t.data.ef||[],o=function(t){for(i=0,n=a.length;i<n;){if(t===a[i].nm||t===a[i].mn||t===a[i].ix)return s[i];i+=1}return null};return Object.defineProperty(o,"numProperties",{get:function(){return a.length}}),o}return null}}}(),ShapePathInterface=function(t,e,i){var s=e.sh;function r(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?r.path:null}e=propertyGroupFactory(r,i);return s.setGroupProperty(PropertyInterface("Path",e)),Object.defineProperties(r,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),r},ShapeExpressionInterface=function(){function a(t,e,i){for(var s=[],r=t?t.length:0,n=0;n<r;n+=1)"gr"===t[n].ty?s.push(function(t,e,i){function s(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}}s.propertyGroup=propertyGroupFactory(s,i);i=function(t,e,i){function s(t){for(var e=0,i=r.length;e<i;){if(r[e]._name===t||r[e].mn===t||r[e].propertyIndex===t||r[e].ix===t||r[e].ind===t)return r[e];e+=1}return"number"==typeof t?r[t-1]:null}s.propertyGroup=propertyGroupFactory(s,i),r=a(t.it,e.it,s.propertyGroup),s.numProperties=r.length;var r,i=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.transform=i,s.propertyIndex=t.cix,s._name=t.nm,s}(t,e,s.propertyGroup),e=o(t.it[t.it.length-1],e.it[e.it.length-1],s.propertyGroup);return s.content=i,s.transform=e,Object.defineProperty(s,"_name",{get:function(){return t.nm}}),s.numProperties=t.np,s.propertyIndex=t.ix,s.nm=t.nm,s.mn=t.mn,s}(t[n],e[n],i)):"fl"===t[n].ty?s.push(function(t,e,i){function s(t){return"Color"===t||"color"===t?s.color:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):"st"===t[n].ty?s.push(function(e,i,t){var t=propertyGroupFactory(o,t),s=propertyGroupFactory(void 0,t);var r,n=e.d?e.d.length:0,a={};for(r=0;r<n;r+=1)(function(t){Object.defineProperty(a,e.d[t].nm,{get:ExpressionPropertyInterface(i.d.dataProps[t].p)})})(r),i.d.dataProps[r].p.setGroupProperty(s);function o(t){return"Color"===t||"color"===t?o.color:"Opacity"===t||"opacity"===t?o.opacity:"Stroke Width"===t||"stroke width"===t?o.strokeWidth:null}return Object.defineProperties(o,{color:{get:ExpressionPropertyInterface(i.c)},opacity:{get:ExpressionPropertyInterface(i.o)},strokeWidth:{get:ExpressionPropertyInterface(i.w)},dash:{get:function(){return a}},_name:{value:e.nm},mn:{value:e.mn}}),i.c.setGroupProperty(PropertyInterface("Color",t)),i.o.setGroupProperty(PropertyInterface("Opacity",t)),i.w.setGroupProperty(PropertyInterface("Stroke Width",t)),o}(t[n],e[n],i)):"tm"===t[n].ty?s.push(function(e,t,i){function s(t){return t===e.e.ix||"End"===t||"end"===t?s.end:t===e.s.ix?s.start:t===e.o.ix?s.offset:null}var r=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",r)),t.e.setGroupProperty(PropertyInterface("End",r)),t.o.setGroupProperty(PropertyInterface("Offset",r)),s.propertyIndex=e.ix,s.propertyGroup=i,Object.defineProperties(s,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}
vendor: 30,705 bytes, line 1
1(t[n],e[n],i)):"tr"!==t[n].ty&&("el"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.s.ix===t?s.size:null}i=propertyGroupFactory(s,i),s.propertyIndex=e.ix,t="tm"===t.sh.ty?t.sh.prop:t.sh;return t.s.setGroupProperty(PropertyInterface("Size",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(s,{size:{get:ExpressionPropertyInterface(t.s)},position:{get:ExpressionPropertyInterface(t.p)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sr"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.rotation:e.pt.ix===t?s.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?s.outerRadius:e.os.ix===t?s.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?s.innerRoundness:null:s.innerRadius}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.or.setGroupProperty(PropertyInterface("Outer Radius",i)),t.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),t.pt.setGroupProperty(PropertyInterface("Points",i)),t.p.setGroupProperty(PropertyInterface("Position",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(t.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),t.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},rotation:{get:ExpressionPropertyInterface(t.r)},points:{get:ExpressionPropertyInterface(t.pt)},outerRadius:{get:ExpressionPropertyInterface(t.or)},outerRoundness:{get:ExpressionPropertyInterface(t.os)},innerRadius:{get:ExpressionPropertyInterface(t.ir)},innerRoundness:{get:ExpressionPropertyInterface(t.is)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"sh"===t[n].ty?s.push(ShapePathInterface(t[n],e[n],i)):"rc"===t[n].ty?s.push(function(e,t,i){function s(t){return e.p.ix===t?s.position:e.r.ix===t?s.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?s.size:null}i=propertyGroupFactory(s,i),t="tm"===t.sh.ty?t.sh.prop:t.sh;return s.propertyIndex=e.ix,t.p.setGroupProperty(PropertyInterface("Position",i)),t.s.setGroupProperty(PropertyInterface("Size",i)),t.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(s,{position:{get:ExpressionPropertyInterface(t.p)},roundness:{get:ExpressionPropertyInterface(t.r)},size:{get:ExpressionPropertyInterface(t.s)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rd"===t[n].ty?s.push(function(e,t,i){function s(t){return e.r.ix===t||"Round Corners 1"===t?s.radius:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(s,{radius:{get:ExpressionPropertyInterface(t.rd)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"rp"===t[n].ty?s.push(function(e,t,i){function s(t){return e.c.ix===t||"Copies"===t?s.copies:e.o.ix===t||"Offset"===t?s.offset:null}i=propertyGroupFactory(s,i);return s.propertyIndex=e.ix,t.c.setGroupProperty(PropertyInterface("Copies",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(s,{copies:{get:ExpressionPropertyInterface(t.c)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}(t[n],e[n],i)):"gf"===t[n].ty?s.push(function(t,e,i){function s(t){return"Start Point"===t||"start point"===t?s.startPoint:"End Point"===t||"end point"===t?s.endPoint:"Opacity"===t||"opacity"===t?s.opacity:null}return Object.defineProperties(s,{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}}),e.s.setGroupProperty(PropertyInterface("Start Point",i)),e.e.setGroupProperty(PropertyInterface("End Point",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),s}(t[n],e[n],i)):s.push((t[n],e[n],function(){return null})));return s}function o(e,t,i){function s(t){return e.a.ix===t||"Anchor Point"===t?s.anchorPoint:e.o.ix===t||"Opacity"===t?s.opacity:e.p.ix===t||"Position"===t?s.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?s.rotation:e.s.ix===t||"Scale"===t?s.scale:e.sk&&e.sk.ix===t||"Skew"===t?s.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?s.skewAxis:null}var r=propertyGroupFactory(s,i);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(s,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),s.ty="tr",s.mn=e.mn,s.propertyGroup=i,s}return function(t,e,s){var r;function i(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?s:r[t-1];for(var e=0,i=r.length;e<i;){if(r[e]._name===t)return r[e];e+=1}return null}return i.propertyGroup=propertyGroupFactory(i,function(){return s}),r=a(t,e,i.propertyGroup),i.numProperties=r.length,i._name="Contents",i}}(),TextExpressionInterface=function(e){var i;function s(t){return"ADBE Text Document"!==t?null:s.sourceText}return Object.defineProperty(s,"sourceText",{get:function(){e.textProperty.getValue();var t=e.textProperty.currentData.t;return i&&t===i.value||((i=new String(t)).value=t||new String(t),Object.defineProperty(i,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),i}}),s};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})(t)}var FootageInterface=function(){function i(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=(r="",n=(s=t).getFootageData(),function(){return r="",n=s.getFootageData(),i}),e;function i(t){var e;return n[t]?"object"===_typeof(n=n[r=t])?i:n:-1!==(e=t.indexOf(r))?(t=parseInt(t.substr(e+r.length),10),"object"===_typeof(n=n[t])?i:n):""}var s,r,n}return function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=i(t),e}}(),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,i){e.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(t,e,i).bind(i)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.01),s=0;if(e.length){for(var r=0;r<e.length;r+=1)s+=Math.pow(i[r]-e[r],2);s=100*Math.sqrt(s)}else s=0;return s},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.001);if(e.length)for(var s=createTypedArray("float32",e.length),r=0;r<e.length;r+=1)s[r]=(i[r]-e[r])/-.001;else s=(i-e)/-.001;return s},getValueAtTime:function(t){return(t=(t*=this.elem.globalData.frameRate)-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 a(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(i?r=p-(s=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),s=p-(r=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-r)/s)%2!=0)return this.getValueAtTime((s-(h-r)%s+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(r/this.comp.globalData.frameRate,0),c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0),d=Math.floor((h-r)/s);if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=(c[n]-f[n])*d+u[n];return o}return(c-f)*d+u}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return m+(h-p)/.001*(m-y)}}return this.getValueAtTime(((h-r)%s+r)/this.comp.globalData.frameRate,0)}function o(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var s,r,n,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(p<=h)return this.pv;if(i?r=p+(s=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):s=(r=l[e=!e||e>l.length-1?l.length-1:e].t)-p,"pingpong"===t){if(Math.floor((p-h)/s)%2==0)return this.getValueAtTime(((p-h)%s+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),u=this.getValueAtTime((s-(p-h)%s+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/s)+1;if(this.pv.length){for(a=(o=new Array(f.length)).length,n=0;n<a;n+=1)o[n]=u[n]-(c[n]-f[n])*d;return o}return u-(c-f)*d}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,n=0;n<a;n+=1)o[n]=m[n]+(m[n]-y[n])*(p-h)/.001;return o}return m+(m-y)*(p-h)/.001}}return this.getValueAtTime((s-((p-h)%s+p))/this.comp.globalData.frameRate,0)}function h(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;for(var i,s=this.comp.renderedFrame/this.comp.globalData.frameRate,r=s-t,n=1<e?(s+t-r)/(e-1):1,a=0,o=0,h=this.pv.length?createTypedArray("float32",this.pv.length):0;a<e;){if(i=this.getValueAtTime(r+a*n),this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]+=i[o];else h+=i;a+=1}if(this.pv.length)for(o=0;o<this.pv.length;o+=1)h[o]/=e;else h/=e;return h}var s=TransformPropertyFactory.getTransformProperty,l=(TransformPropertyFactory.getTransformProperty=function(t,e,i){t=s(t,e,i);return t.dynamicProperties.length?t.getValueAtTime=function(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e,i,s,r,n=this._transformCachingAtTime.v;return n.cloneFromProps(this.pre.props),this.appliedTransformations<1&&(i=this.a.getValueAtTime(t),n.translate(-i[0]*this.a.mult,-i[1]*this.a.mult,i[2]*this.a.mult)),this.appliedTransformations<2&&(i=this.s.getValueAtTime(t),n.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)),this.sk&&this.appliedTransformations<3&&(i=this.sk.getValueAtTime(t),e=this.sa.getValueAtTime(t),n.skewFromAxis(-i*this.sk.mult,e*this.sa.mult)),this.r&&this.appliedTransformations<4?(i=this.r.getValueAtTime(t),n.rotate(-i*this.r.mult)):!this.r&&this.appliedTransformations<4&&(e=this.rz.getValueAtTime(t),i=this.ry.getValueAtTime(t),s=this.rx.getValueAtTime(t),r=this.or.getValueAtTime(t),n.rotateZ(-e*this.rz.mult).rotateY(i*this.ry.mult).rotateX(s*this.rx.mult).rotateZ(-r[2]*this.or.mult).rotateY(r[1]*this.or.mult).rotateX(r[0]*this.or.mult)),this.data.p&&this.data.p.s?(e=this.px.getValueAtTime(t),i=this.py.getValueAtTime(t),this.data.p.z?(s=this.pz.getValueAtTime(t),n.translate(e*this.px.mult,i*this.py.mult,-s*this.pz.mult)):n.translate(e*this.px.mult,i*this.py.mult,0)):(r=this.p.getValueAtTime(t),n.translate(r[0]*this.p.mult,r[1]*this.p.mult,-r[2]*this.p.mult)),n}.bind(t):t.getValueAtTime=function(){return this.v.clone(new Matrix)}.bind(t),t.setGroupProperty=expressionHelpers.setGroupProperty,t},PropertyFactory.getProp);PropertyFactory.getProp=function(t,e,i,s,r){var s=l(t,e,i,s,r),n=(s.kf?s.getValueAtTime=expressionHelpers.getValueAtTime.bind(s):s.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s.loopOut=a,s.loopIn=o,s.smooth=h,s.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(s),s.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(s),s.numKeys=1===e.a?e.k.length:0,s.propertyIndex=e.ix,0);return 0!==i&&(n=createTypedArray("float32",(1===e.a?e.k[0].s:e.k).length)),s._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:n},expressionHelpers.searchExpressions(t,e,s),s.k&&r.addDynamicProperty(s),s};var t=ShapePropertyFactory.getConstructorFunction(),e=ShapePropertyFactory.getKeyframedConstructorFunction();function i(){}i.prototype={vertices:function(t,e){this.k&&this.getValue();for(var i=this.v,s=(i=void 0!==e?this.getValueAtTime(e,0):i)._length,r=i[t],n=i.v,a=createSizedArray(s),o=0;o<s;o+=1)a[o]="i"===t||"o"===t?[r[o][0]-n[o][0],r[o][1]-n[o][1]]:[r[o][0],r[o][1]];return a},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 i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));for(var e=this._segmentsLength,s=e.lengths,r=e.totalLength*t,n=0,a=s.length,o=0;n<a;){if(o+s[n].addedLength>r){var h=n,l=i.c&&n===a-1?0:n+1,p=(r-o)/s[n].addedLength,f=bez.getPointInSegment(i.v[h],i.v[l],i.o[h],i.i[l],p,s[n]);break}o+=s[n].addedLength,n+=1}return f=f||(i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]])},vectorOnPath:function(t,e,i){1==t?t=this.v.c:0==t&&(t=.999);var s=this.pointOnPath(t,e),t=this.pointOnPath(t+.001,e),e=t[0]-s[0],t=t[1]-s[1],s=Math.sqrt(Math.pow(e,2)+Math.pow(t,2));return 0===s?[0,0]:"tangent"===i?[e/s,t/s]:[-t/s,e/s]},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([i],t),extendPrototype([i],e),e.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),(t=(t*=this.elem.globalData.frameRate)-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},e.prototype.initiateExpression=ExpressionManager.initiateExpression;var n=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,i,s,r){s=n(t,e,i,s,r);return s.propertyIndex=e.ix,s.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,s):4===i&&expressionHelpers.searchExpressions(t,e.ks,s),s.k&&t.addDynamicProperty(s),s}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var i,e=this.calculateExpression(e);return t.t!==e?(this.copyData(i={},t),i.t=e.toString(),i.__complete=!1,i):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 i,s,r=createNS("feMerge");for(r.setAttribute("result",t),s=0;s<e.length;s+=1)(i=createNS("feMergeNode")).setAttribute("in",e[s]),r.appendChild(i),r.appendChild(i);return r}};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,i,s,r){this.filterManager=e;e=createNS("feColorMatrix"),e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","linearRGB"),e.setAttribute("values",linearFilterValue+" 1 0"),(this.linearFilter=e).setAttribute("result",s+"_tint_1"),t.appendChild(e),(e=createNS("feColorMatrix")).setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.setAttribute("result",s+"_tint_2"),t.appendChild(e),this.matrixFilter=e,e=this.createMergeNode(s,[r,s+"_tint_1",s+"_tint_2"]);t.appendChild(e)}function SVGFillFilter(t,e,i,s){this.filterManager=e;e=createNS("feColorMatrix");e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.setAttribute("result",s),t.appendChild(e),this.matrixFilter=e}function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}function SVGTritoneFilter(t,e,i,s){this.filterManager=e;e=createNS("feColorMatrix"),e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","linearRGB"),e.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(e),e=createNS("feComponentTransfer"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("result",s),this.matrixFilter=e,s=createNS("feFuncR"),s.setAttribute("type","table"),e.appendChild(s),this.feFuncR=s,s=createNS("feFuncG"),s.setAttribute("type","table"),e.appendChild(s),this.feFuncG=s,s=createNS("feFuncB");s.setAttribute("type","table"),e.appendChild(s),this.feFuncB=s,t.appendChild(e)}function SVGProLevelsFilter(t,e,i,s){this.filterManager=e;var e=this.filterManager.effectElements,r=createNS("feComponentTransfer");(e[10].p.k||0!==e[10].p.v||e[11].p.k||1!==e[11].p.v||e[12].p.k||1!==e[12].p.v||e[13].p.k||0!==e[13].p.v||e[14].p.k||1!==e[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",r)),(e[17].p.k||0!==e[17].p.v||e[18].p.k||1!==e[18].p.v||e[19].p.k||1!==e[19].p.v||e[20].p.k||0!==e[20].p.v||e[21].p.k||1!==e[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",r)),(e[24].p.k||0!==e[24].p.v||e[25].p.k||1!==e[25].p.v||e[26].p.k||1!==e[26].p.v||e[27].p.k||0!==e[27].p.v||e[28].p.k||1!==e[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",r)),(e[31].p.k||0!==e[31].p.v||e[32].p.k||1!==e[32].p.v||e[33].p.k||1!==e[33].p.v||e[34].p.k||0!==e[34].p.v||e[35].p.k||1!==e[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",r)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r)),(e[3].p.k||0!==e[3].p.v||e[4].p.k||1!==e[4].p.v||e[5].p.k||1!==e[5].p.v||e[6].p.k||0!==e[6].p.v||e[7].p.k||1!==e[7].p.v)&&((r=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("result",s),t.appendChild(r),this.feFuncRComposed=this.createFeFunc("feFuncR",r),this.feFuncGComposed=this.createFeFunc("feFuncG",r),this.feFuncBComposed=this.createFeFunc("feFuncB",r))}function SVGDropShadowEffect(t,e,i,s,r){var n=e.container.globalData.renderConfig.filterSize,a=e.data.fs||n,a=(t.setAttribute("x",a.x||n.x),t.setAttribute("y",a.y||n.y),t.setAttribute("width",a.width||n.width),t.setAttribute("height",a.height||n.height),this.filterManager=e,createNS("feGaussianBlur")),n=(a.setAttribute("in","SourceAlpha"),a.setAttribute("result",s+"_drop_shadow_1"),a.setAttribute("stdDeviation","0"),this.feGaussianBlur=a,t.appendChild(a),createNS("feOffset")),e=(n.setAttribute("dx","25"),n.setAttribute("dy","0"),n.setAttribute("in",s+"_drop_shadow_1"),n.setAttribute("result",s+"_drop_shadow_2"),this.feOffset=n,t.appendChild(n),createNS("feFlood")),a=(e.setAttribute("flood-color","#00ff00"),e.setAttribute("flood-opacity","1"),e.setAttribute("result",s+"_drop_shadow_3"),this.feFlood=e,t.appendChild(e),createNS("feComposite")),n=(a.setAttribute("in",s+"_drop_shadow_3"),a.setAttribute("in2",s+"_drop_shadow_2"),a.setAttribute("operator","in"),a.setAttribute("result",s+"_drop_shadow_4"),t.appendChild(a),this.createMergeNode(s,[s+"_drop_shadow_4",r]));t.appendChild(n)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[0].p.v,e=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",e[0]-t[0]+" 0 0 0 "+t[0]+" "+(e[1]-t[1])+" 0 0 0 "+t[1]+" "+(e[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0"))},SVGFillFilter.prototype.renderFrame=function(t){var e;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[2].p.v,e=this.filterManager.effectElements[6].p.v,this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+e+" 0"))},SVGStrokeEffect.prototype.initialize=function(){var t,e,i,s,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(s=this.elem.maskManager.masksProperties.length,i=0):s=(i=this.filterManager.effectElements[0].p.v-1)+1,(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);i<s;i+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:i});if(3===this.filterManager.effectElements[10].p.v){var n=createNS("mask"),a=createElementID(),o=(n.setAttribute("id",a),n.setAttribute("mask-type","alpha"),n.appendChild(e),this.elem.globalData.defs.appendChild(n),createNS("g"));for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");r[0];)o.appendChild(r[0]);this.elem.layerElement.appendChild(o),this.masker=n,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(r=this.elem.layerElement.children||this.elem.layerElement.childNodes;r.length;)this.elem.layerElement.removeChild(r[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){this.initialized||this.initialize();for(var e,i,s=this.paths.length,r=0;r<s;r+=1)if(-1!==this.paths[r].m&&(n=this.elem.maskManager.viewData[this.paths[r].m],e=this.paths[r].p,(t||this.filterManager._mdf||n.prop._mdf)&&e.setAttribute("d",n.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||n.prop._mdf)){if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){for(var n=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),a=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=e.getTotalLength(),h="0 0 0 "+o*n+" ",l=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,p=Math.floor(o*(a-n)/l),f=0;f<p;f+=1)h+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";h+="0 "+10*o+" 0 0"}else h="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;e.setAttribute("stroke-dasharray",h)}(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||(i=this.filterManager.effectElements[3].p.v,this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*i[0])+","+bmFloor(255*i[1])+","+bmFloor(255*i[2])+")"))},SVGTritoneFilter.prototype.renderFrame=function(t){var e,i,s,r;(t||this.filterManager._mdf)&&(t=this.filterManager.effectElements[0].p.v,e=this.filterManager.effectElements[1].p.v,i=(r=this.filterManager.effectElements[2].p.v)[0]+" "+e[0]+" "+t[0],s=r[1]+" "+e[1]+" "+t[1],r=r[2]+" "+e[2]+" "+t[2],this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",r))},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){t=createNS(t);return t.setAttribute("type","table"),e.appendChild(t),t},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,s,r){for(var n,a=0,o=Math.min(t,e),h=Math.max(t,e),l=Array.call(null,{length:256}),p=0,f=r-s,c=e-t;a<=256;)n=(n=a/256)<=o?c<0?r:s:h<=n?c<0?s:r:s+f*Math.pow((n-t)/c,1/i),l[p]=n,p+=1,a+=256/255;return l.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&(i=this.filterManager.effectElements,this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA)&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){var e,i;(t||this.filterManager._mdf)&&((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)&&(i=this.filterManager.effectElements[0].p.v,this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*i[0]),Math.round(255*i[1]),Math.round(255*i[2])))),(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)&&(i=this.filterManager.effectElements[3].p.v,t=(this.filterManager.effectElements[2].p.v-90)*degToRads,e=i*Math.cos(t),i=i*Math.sin(t),this.feOffset.setAttribute("dx",e),this.feOffset.setAttribute("dy",i))};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,(this.elem=i).matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGGaussianBlurEffect(t,e,i,s){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;e=createNS("feGaussianBlur");e.setAttribute("result",s),t.appendChild(e),this.feGaussianBlur=e}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var s,r=i.children,n=0,a=r.length;n<a&&r[n]!==t.layerElement;)n+=1;n<=a-2&&(s=r[n+1]);var o=createNS("use");o.setAttribute("href","#"+e),s?i.insertBefore(o,s):i.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){var i,s,r,n;this.findSymbol(e)||(i=createElementID(),(s=createNS("mask")).setAttribute("id",e.layerId),s.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e),(n=t.globalData.defs).appendChild(s),(r=createNS("symbol")).setAttribute("id",i),this.replaceInParent(e,i),r.appendChild(e.layerElement),n.appendChild(r),(n=createNS("use")).setAttribute("href","#"+i),s.appendChild(n),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,i=0,s=e.length;i<s;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){var e;(t||this.filterManager._mdf)&&(t=.3*this.filterManager.effectElements[0].p.v,e=this.filterManager.effectElements[1].p.v,this.feGaussianBlur.setAttribute("stdDeviation",(3==e?0:t)+" "+(2==e?0:t)),e=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate",this.feGaussianBlur.setAttribute("edgeMode",e))},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){var e,i,s,r,n,a,o;this._opMdf=!1,this._mdf=!1,(t||this.effectsManager._mdf)&&(e=(t=this.effectsManager.effectElements)[0].p.v,i=t[1].p.v,r=1===t[2].p.v,s=t[3].p.v,r=r?s:t[4].p.v,n=t[5].p.v,a=t[6].p.v,o=t[7].p.v,this.matrix.reset(),this.matrix.translate(-e[0],-e[1],e[2]),this.matrix.scale(.01*r,.01*s,
11),this.matrix.rotate(-o*degToRads),this.matrix.skewFromAxis(-n*degToRads,(a+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==t[8].p.v)&&(this.opacity=t[8].p.v,this._opMdf=!0)},extendPrototype([TransformEffect],SVGTransformEffect),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),lottie})}),Mc=Tc()}),wc,sr,Ir;exports.PlayMode=void 0;var cs,Wn,Xn,Bo=ls(function(){var t;An(),qn(),Tn(),ca(),wc={name:"@dotlottie/common",version:"0.7.11",type:"module",description:"",author:"Afsal <[email protected]>, Sam Osborne <[email protected]>",license:"MIT",engines:{node:">18.0.0"},module:"dist/index.js",main:"dist/index.js",types:"dist/index.d.ts",files:["dist"],keywords:[],scripts:{build:"tsup",dev:"tsup --watch",lint:"eslint .","type-check":"tsc --noEmit"},dependencies:{"@dotlottie/dotlottie-js":"^0.7.0","@preact/signals-core":"^1.2.3",howler:"^2.2.3","lottie-web":"^5.12.2",xstate:"^4.38.1"},devDependencies:{"@lottiefiles/lottie-types":"^1.2.0","@types/howler":"^2.2.8",tsup:"^7.2.0",typescript:"^4.7.4"},publishConfig:{access:"public"}},(t=sr||{}).Complete="complete",t.DataFail="data_fail",t.DataReady="data_ready",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.LoopComplete="loopComplete",t.Pause="pause",t.Play="play",t.Ready="ready",t.Stop="stop",t.VisibilityChange="visibilityChange",sr=t,(t=Ir||{}).Completed="completed",t.Error="error",t.Fetching="fetching",t.Frozen="frozen",t.Initial="initial",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Ready="ready",t.Stopped="stopped",Ir=t,exports.PlayMode=((t=exports.PlayMode||{}).Bounce="bounce",t.Normal="normal",t),Wn={activeStateId:"",autoplay:!(cs={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""}),currentState:"initial",frame:0,seeker:0,direction:1,hover:!1,loop:!1,playMode:"normal",speed:1,background:"transparent",intermission:0,currentAnimationId:void 0,visibilityPercentage:0},Xn=function(){function s(t,e,i){_classCallCheck(this,s),_defineProperty(this,"_lottie",void 0),_defineProperty(this,"_src",void 0),_defineProperty(this,"_animationConfig",void 0),_defineProperty(this,"_prevUserPlaybackOptions",{}),_defineProperty(this,"_userPlaybackOptions",void 0),_defineProperty(this,"_hover",!1),_defineProperty(this,"_loop",!1),_defineProperty(this,"_counter",0),_defineProperty(this,"_intermission",0),_defineProperty(this,"_counterInterval",null),_defineProperty(this,"_container",null),_defineProperty(this,"_name",void 0),_defineProperty(this,"_mode","normal"),_defineProperty(this,"_background","transparent"),_defineProperty(this,"_animation",void 0),_defineProperty(this,"_defaultTheme",void 0),_defineProperty(this,"_activeAnimationId",void 0),_defineProperty(this,"_currentAnimationId",void 0),_defineProperty(this,"_testId",void 0),_defineProperty(this,"_listeners",new Map),_defineProperty(this,"_currentState","initial"),_defineProperty(this,"_stateBeforeFreeze","initial"),_defineProperty(this,"state",new Bh(Wn)),_defineProperty(this,"_light",!1),_defineProperty(this,"_worker",!1),_defineProperty(this,"_dotLottieLoader",new Dh),_defineProperty(this,"_activeStateId",void 0),_defineProperty(this,"_inInteractiveMode",!1),_defineProperty(this,"_scrollTicking",!1),_defineProperty(this,"_scrollCallback",void 0),_defineProperty(this,"_onShowIntersectionObserver",void 0),_defineProperty(this,"_visibilityPercentage",0),_defineProperty(this,"_audios",[]),_defineProperty(this,"_stateMachineManager",void 0),this._src="string"==typeof t?t:Ua(t),null!=i&&i.testId&&(this._testId=i.testId),this._defaultTheme=(null==i?void 0:i.defaultTheme)||"",this._userPlaybackOptions=this._validatePlaybackOptions(i||{}),"string"==typeof(null==i?void 0:i.activeAnimationId)&&(this._activeAnimationId=i.activeAnimationId),this._container=e||null,"string"==typeof(null==i?void 0:i.background)&&this.setBackgroun
1d(i.background),_typeof2(null==i?void 0:i.activeStateId)<"u"&&(this._activeStateId=i.activeStateId);t=i||{},e=t.rendererSettings,t=_objectWithoutProperties(t,_excluded);this._animationConfig=_objectSpread({loop:!1,autoplay:!1,renderer:"svg",rendererSettings:_objectSpread({clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0,filterSize:{width:"200%",height:"200%",x:"-50%",y:"-50%"}},e)},t),null!=i&&i.light&&(this._light=i.light),null!=i&&i.worker&&(this._worker=i.worker),this._listenToHover(),this._listenToVisibilityChange()}var e,t,i,r,n,a,o,h;return _createClass(s,[{key:"_listenToHover",value:function(){function t(){s._hover&&"playing"!==s.currentState&&s.play()}function e(){s._hover&&"playing"===s.currentState&&s.stop()}var i,s=this;null!=(i=this._container)&&i.removeEventListener("mouseenter",t),null!=(i=this._container)&&i.removeEventListener("mouseleave",e),null!=(i=this._container)&&i.addEventListener("mouseleave",e),null!=(i=this._container)&&i.addEventListener("mouseenter",t)}},{key:"_onVisibilityChange",value:function(){!this._lottie||"u"<("undefined"==typeof document?"undefined":_typeof2(document))||(document.hidden&&"playing"===this.currentState?this.freeze():"frozen"===this.currentState&&this.unfreeze())}},{key:"_listenToVisibilityChange",value:function(){var t=this;("undefined"==typeof document?"undefined":_typeof2(document))<"u"&&_typeof2(document.hidden)<"u"&&document.addEventListener("visibilitychange",function(){return t._onVisibilityChange()})}},{key:"_getOption",value:function(t){var e,i=this;return(_typeof2(this._userPlaybackOptions[t])<"u"?this._userPlaybackOptions:(e=null==(e=this._dotLottieLoader.manifest)?void 0:e.animations.find(function(t){return t.id===i._currentAnimationId}))&&_typeof2(e[t])<"u"?e:cs)[t]}},{key:"_getPlaybackOptions",value:function(){var t,e={};for(t in cs)_typeof2(cs[t])<"u"&&(e[t]=this._getOption(t));return e}},{key:"_setPlayerState",value:function(e){var t,e=e(this._getPlaybackOptions());try{fo._parse(e)}catch(t){return void li("Invalid PlaybackOptions, ".concat(JSON.stringify(e,null,2)))}_typeof2(e.defaultTheme)<"u"&&(this._defaultTheme=e.defaultTheme),_typeof2(e.playMode)<"u"&&(this._mode=e.playMode),_typeof2(e.intermission)<"u"&&(this._intermission=e.intermission),_typeof2(e.hover)<"u"&&(this._hover=e.hover),_typeof2(e.loop)<"u"&&(this.clearCountTimer(),this._loop=e.loop,this._counter=0,null!=(t=this._lottie))&&t.setLoop("number"==typeof e.loop||e.loop),_typeof2(e.speed)<"u"&&null!=(t=this._lottie)&&t.setSpeed(e.speed),_typeof2(e.autoplay)<"u"&&this._lottie&&(this._lottie.autoplay=e.autoplay),_typeof2(e.direction)<"u"&&null!=(t=this._lottie)&&t.setDirection(e.direction)}},{key:"_getOptionsFromAnimation",value:function(t){t.id;t=_objectWithoutProperties(t,_excluded2);return _objectSpread(_objectSpread({},cs),t)}},{key:"_updateTestData",value:function(){this._testId&&this._lottie&&(window.dotLottiePlayer||(window.dotLottiePlayer=_defineProperty({},this._testId,{})),window.dotLottiePlayer[this._testId]={direction:this._lottie.playDirection,currentState:this._currentState,loop:this.loop,mode:this._mode,speed:this._lottie.playSpeed})}},{key:"setContainer",value:function(t){t!==this._container&&(this._container=t,this.setBackground(this._background),this._listenToHover())}},{key:"currentState",get:function(){return this._currentState}},{key:"clearCountTimer",value:function(){this._counterInterval&&clearInterval(this._counterInterval)}},{key:"setCurrentState",value:function(t){this._currentState=t,this._notify(),this._updateTestData()}},{key:"src",get:function(){return this._src}},{key:"updateSrc",value:function(t){this._src!==t&&(this._src="string"==typeof t?t:Ua(t),this._activeAnimationId=void 0,this._currentAnimationId=void 0,this.load())}},{key:"intermission",get:function(){return this._intermission}},{key:"hover",get:function(){return this._hover}},{key:"setHover",value:function(t){"boolean"==typeof t&&(this._hover=t,this._userPlaybackOptions.hover=t,this._notify())}},{key:"setIntermission",value:function(t){this._intermission=t,this._userPlaybackOptions.intermission=t,this._notify()}},{key:"mode",get:function(){return this._mode}},{key:"animations",get:function(){return this._dotLottieLoader.animationsMap}},{key:"themes",get:function(){return this._dotLottieLoader.themeMap}},{key:"setMode",value:function(t){"string"==typeof t&&(this._mode=t,this._userPlaybackOptions.playMode=t,this._setPlayerState(function(){return{playMode:t}}),this._notify(),this._updateTestData())}},{key:"container",get:function(){if(this._container)return this._container}}
1,{key:"goToAndPlay",value:function(t,e,i){!this._lottie||["loading"].includes(this._currentState)?li("goToAndPlay() Can't use whilst loading."):(this._lottie.goToAndPlay(t,e,i),this.setCurrentState("playing"))}},{key:"goToAndStop",value:function(t,e,i){!this._lottie||["loading"].includes(this._currentState)?li("goToAndStop() Can't use whilst loading."):(this._lottie.goToAndStop(t,e,i),this.setCurrentState("stopped"))}},{key:"seek",value:function(t){var e;!this._lottie||["loading"].includes(this._currentState)?li("seek() Can't use whilst loading."):("number"==typeof(e=t)&&(e=Math.round(t)),(t=/^([0-9]+)(%?)$/.exec(e.toString()))&&void 0!==(e="%"===t[2]?this.totalFrames*Number(t[1])/100:t[1])&&(this._lottie.goToAndPlay(e,!0),"playing"===this.currentState?this.play():"frozen"===this.currentState?this.freeze():this.pause()))}},{key:"_areNumbersInRange",value:function(t,e){return 0<=t&&t<=1&&0<=e&&e<=1}},{key:"_updatePosition",value:function(t,e,i){var s,r,t=_slicedToArray(null!=t?t:[0,this.totalFrames-1],2),n=t[0],t=t[1],e=_slicedToArray(null!=e?e:[0,1],2),a=e[0],e=e[1];this._areNumbersInRange(a,e)?(this.container&&(r=(s=this.container.getBoundingClientRect()).height,s=s.top,s=(window.innerHeight-s)/(window.innerHeight+r),r=n+Math.round((s-a)/(e-a)*(t-n)),i&&i(s),this.goToAndStop(r,!0),t<=r||e<=s)&&this._handleAnimationComplete(),this._scrollTicking=!1):er("threshold values must be between 0 and 1")}},{key:"_requestTick",value:function(t,e,i){var s=this;this._scrollTicking||(requestAnimationFrame(function(){return s._updatePosition(t,e,i)}),this._scrollTicking=!0)}},{key:"playOnScroll",value:function(t){var e=this;this.stop(),this._scrollCallback&&this.stopPlayOnScroll(),this._scrollCallback=function(){return e._requestTick(null==t?void 0:t.segments,null==t?void 0:t.threshold,null==t?void 0:t.positionCallback)},window.addEventListener("scroll",this._scrollCallback)}},{key:"stopPlayOnScroll",value:function(){this._scrollCallback&&(window.removeEventListener("scroll",this._scrollCallback),this._scrollCallback=void 0)}},{key:"stopPlayOnShow",value:function(){this._onShowIntersectionObserver&&(this._onShowIntersectionObserver.disconnect(),this._onShowIntersectionObserver=void 0)}},{key:"addIntersectionObserver",value:function(e){var i=this;if(!this.container)throw Ie("Can't play on show, player container element not available.");var t={root:null,rootMargin:"0px",threshold:null!=e&&e.threshold?e.threshold:[0,1]};this._onShowIntersectionObserver=new IntersectionObserver(function(t){t.forEach(function(t){i._visibilityPercentage=100*t.intersectionRatio,t.isIntersecting?(null!=e&&e.callbackOnIntersect&&e.callbackOnIntersect(i._visibilityPercentage),null!=(t=i._container)&&t.dispatchEvent(new Event("visibilityChange"))):null!=e&&e.callbackOnIntersect&&(e.callbackOnIntersect(0),null!=(t=i._container))&&t.dispatchEvent(new Event("visibilityChange"))})},t),this._onShowIntersectionObserver.observe(this.container)}},{key:"playOnShow",value:function(t){var e=this;if(this.stop(),!this.container)throw Ie("Can't play on show, player container element not available.");this._onShowIntersectionObserver&&this.stopPlayOnShow(),this.addIntersectionObserver({threshold:null!=(t=null==t?void 0:t.threshold)?t:[],callbackOnIntersect:function(t){0===t?e.pause():e.play()}})}},{key:"_validatePlaybackOptions",value:function(t){if(!t)return{};for(var e={},i=0,s=Object.entries(t);i<s.length;i++){var r=_slicedToArray(s[i],2),n=r[0],a=r[1];switch(n){case"autoplay":"boolean"==typeof a&&(e.autoplay=a);break;case"direction":"number"==typeof a&&[1,-1].includes(a)&&(e.direction=a);break;case"loop":"boolean"!=typeof a&&"number"!=typeof a||(e.loop=a);break;case"playMode":"string"==typeof a&&["normal","bounce"].includes(a)&&(e.playMode=a);break;case"speed":"number"==typeof a&&(e.speed=a);break;case"themeColor":"string"==typeof a&&(e.themeColor=a);break;case"hover":"boolean"==typeof a&&(e.hover=a);break;case"intermission":"number"==typeof a&&(e.intermission=a);break;case"defaultTheme":"string"==typeof a&&(e.defaultTheme=a)}}return this._requireValidPlaybackOptions(e),e}},{key:"_requireAnimationsInTheManifest",value:function(){var t;if(null==(t=this._dotLottieLoader.manifest)||!t.animations.length)throw Ie("No animations foun
1d in manifest.")}},{key:"_requireAnimationsToBeLoaded",value:function(){if(0===this._dotLottieLoader.animationsMap.size)throw Ie("No animations have been loaded.")}},{key:"play",value:(h=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i){var s,r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(["initial","loading"].includes(this._currentState))return li("Player unable to play whilst loading."),t.abrupt("return");t.next=3;break;case 3:if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),this._lottie&&!e)return-1===this._lottie.playDirection&&0===this._lottie.currentFrame?this._lottie.goToAndPlay(this._lottie.totalFrames,!0):this._lottie.play(),this.setCurrentState("playing"),t.abrupt("return");t.next=6;break;case 6:if("number"!=typeof e){t.next=17;break}if(s=null==(s=this._dotLottieLoader.manifest)?void 0:s.animations[e]){t.next=10;break}throw Ie("animation not found.");case 10:if("function"==typeof i)return t.next=13,this.render(_objectSpread({id:s.id},i(this._getPlaybackOptions(),this._getOptionsFromAnimation(s))));t.next=15;break;case 13:t.next=17;break;case 15:return t.next=17,this.render({id:s.id});case 17:if("string"!=typeof e){t.next=28;break}if(r=null==(r=this._dotLottieLoader.manifest)?void 0:r.animations.find(function(t){return t.id===e})){t.next=21;break}throw Ie("animation not found.");case 21:if("function"==typeof i)return t.next=24,this.render(_objectSpread({id:r.id},i(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))));t.next=26;break;case 24:t.next=28;break;case 26:return t.next=28,this.render({id:r.id});case 28:case"end":return t.stop()}},t,this)})),function(t,e){return h.apply(this,arguments)})},{key:"playSegments",value:function(t,e){!this._lottie||["loading"].includes(this._currentState)?li("playSegments() Can't use whilst loading."):(this._lottie.playSegments(t,e),this.setCurrentState("playing"))}},{key:"resetSegments",value:function(t){!this._lottie||["loading"].includes(this._currentState)?li("resetSegments() Can't use whilst loading."):this._lottie.resetSegments(t)}},{key:"togglePlay",value:function(){"playing"===this.currentState?this.pause():this.play()}},{key:"_getAnimationByIdOrIndex",value:function(e){if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),"number"==typeof e){var t=null==(t=this._dotLottieLoader.manifest)?void 0:t.animations[e];if(t)return t}else{if("string"!=typeof e)throw Ie("first param must be a number or string");t=null==(t=this._dotLottieLoader.manifest)?void 0:t.animations.find(function(t){return t.id===e});if(t)return t}throw Ie("animation not found.")}},{key:"activeAnimationId",get:function(){return this._getActiveAnimationId()}},{key:"currentAnimationId",get:function(){return this._currentAnimationId}},{key:"activeStateId",get:function(){return this._activeStateId}},{key:"_startInteractivity",value:(o=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._inInteractiveMode){t.next=3;break}return er("Can't start interactivity. Not in interactive mode. Call enterInteractiveMode(stateId: string) to start."),t.abrupt("return");case 3:if(t.t0=0===this._dotLottieLoader.stateMachinesMap.size,t.t0)return t.next=7,this._dotLottieLoader.getStateMachines();t.next=7;break;case 7:if(0===this._dotLottieLoader.stateMachinesMap.size)throw Ie("No interactivity states are available.");t.next=9;break;case 9:if("undefined"===e)throw Ie("stateId is not specified.");t.next=11;break;case 11:if(t.t1=this._stateMachineManager,t.t1){t.next=16;break}return t.next=15,ul(Array.from(this._dotLottieLoader.stateMachinesMap.values()),this);case 15:this._stateMachineManager=t.sent;case 16:this._stateMachineManager.start(e);case 17:case"end":return t.stop()}},t,this)})),function(t){return o.apply(this,arguments)})},{key:"enterInteractiveMode",value:function(t){var e;if(!t)throw Ie("stateId must be a non-empty string.");this._inInteractiveMode||(this._prevUserPlaybackOptions=_objectSpread({},this._userPlaybackOptions)),this._inInteractiveMode&&null!=(e=this._stateMachineManager)&&e.stop(),this._activeStateId=t,this._inInteractiveMode=!0,this._startInteractivity(t)}},{key:"exitInteractiveMode",value:function(){var t;this._inInteractiveMode&&(this._inInteractiveMode=!1,this._activeStateId="",null!=(t=this._stateMachineManager)&&t.stop(),this._userPlaybackOptions={},this._userPlaybackOptions=_objectSpread({},this._prevUserPlaybackOptions),this._prevUserPlaybackOptions={},this.reset())}},{key:"reset",value:function(){var e=this._getActiveAnimationId(),t=null==(t=this._dotLottieLoader.manifest)?void 0:t.animations.find(function(t){return t.id===e});if(this._inInteractiveMode&&this.exitInteractiveMode(),!t)throw Ie("animation not found.");this.play(e)}},{key:"previous",value:function(t){var e=this;if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw Ie("manifest not found.");if(this._inInteractiveMode)li("previous() is not supported in interactive mode.");else{var i=this._dotLottieLoader.manifest.animations.findIndex(function(t){return t.id===e._currentAnimationId});if(-1===i)throw Ie("animation not found.");i=this._dotLottieLoader.manifest.animations[(i-1+this._dotLottieLoader.manifest.animations.length)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw Ie("animation not found.");"function"==typeof t?this.render(_objectSpread({id:i.id}
1,t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i)))):this.render({id:i.id})}}},{key:"next",value:function(t){var e=this;if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw Ie("manifest not found.");if(this._inInteractiveMode)li("next() is not supported in interactive mode.");else{var i=this._dotLottieLoader.manifest.animations.findIndex(function(t){return t.id===e._currentAnimationId});if(-1===i)throw Ie("animation not found.");i=this._dotLottieLoader.manifest.animations[(i+1)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw Ie("animation not found.");"function"==typeof t?this.render(_objectSpread({id:i.id},t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i)))):this.render({id:i.id})}}},{key:"getManifest",value:function(){return this._dotLottieLoader.manifest}},{key:"resize",value:function(){!this._lottie||["loading"].includes(this._currentState)?li("resize() Can't use whilst loading."):this._lottie.resize()}},{key:"stop",value:function(){var t=this;!this._lottie||["loading"].includes(this._currentState)?li("stop() Can't use whilst loading."):(this.clearCountTimer(),this._counter=0,this._setPlayerState(function(){return{direction:t._getOption("direction")}}),this._lottie.stop(),this.setCurrentState("stopped"))}},{key:"pause",value:function(){!this._lottie||["loading"].includes(this._currentState)?li("pause() Can't use whilst loading."):(this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused"))}},{key:"freeze",value:function(){!this._lottie||["loading"].includes(this._currentState)?li("freeze() Can't use whilst loading."):("frozen"!==this.currentState&&(this._stateBeforeFreeze=this.currentState),this._lottie.pause(),this.setCurrentState("frozen"))}},{key:"unfreeze",value:function(){!this._lottie||["loading"].includes(this._currentState)?li("unfreeze() Can't use whilst loading."):"playing"===this._stateBeforeFreeze?this.play():this.pause()}},{key:"destroy",value:function(){var t,e=this;null!=(t=this._container)&&t.__lottie&&(this._container.__lottie.destroy(),this._container.__lottie=null),this._audios.length&&(this._audios.forEach(function(t){t.unload()}),this._audios=[]),this.clearCountTimer(),("undefined"==typeof document?"undefined":_typeof2(document))<"u"&&document.removeEventListener("visibilitychange",function(){return e._onVisibilityChange()}),this._counter=0,null!=(t=this._lottie)&&t.destroy(),this._lottie=void 0}},{key:"getAnimationInstance",value:function(){return this._lottie}},{key:"addEventListener",value:function(t,e){var i,s,r;this._listeners.has(t)||this._listeners.set(t,new Set),null!=(i=this._listeners.get(t))&&i.add(e);try{"complete"===t?null!=(s=this._container)&&s.addEventListener(t,e):null!=(r=this._lottie)&&r.addEventListener(t,e)}catch(t){er("addEventListener ".concat(t))}}},{key:"getState",value:function(){var t;return{autoplay:null!=(t=null==(t=this._lottie)?void 0:t.autoplay)&&t,currentState:this._currentState,frame:this._frame,visibilityPercentage:this._visibilityPercentage,seeker:this._seeker,direction:null!=(t=null==(t=this._lottie)?void 0:t.playDirection)?t:1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:null!=(t=null==(t=this._lottie)?void 0:t.playSpeed)?t:1,background:this._background,intermission:this._intermission,defaultTheme:this._defaultTheme,currentAnimationId:this._currentAnimationId,activeStateId:null!=(t=this._activeStateId)?t:""}}},{key:"_notify",value:function(){this.state.setState(this.getState())}},{key:"totalFrames",get:function(){var t;return(null==(t=this._lottie)?void 0:t.totalFrames)||0}},{key:"direction",get:function(){return this._lottie?this._lottie.playDirection:1}},{key:"setDirection",value:function(t){this._requireValidDirection(t),this._setPlayerState(function(){return{direction:t}}),this._userPlaybackOptions.direction=t}},{key:"speed",get:function(){var t;return(null==(t=this._lottie)?void 0:t.playSpeed)||1}},{key:"setSpeed",value:function(t){this._requireValidSpeed(t),this._setPlayerState(function(){return{speed:t}}),this._userPlaybackOptions.speed=t}},{key:"autoplay",get:function(){var t;return null!=(t=null==(t=this._lottie)?void 0:t.autoplay)&&t}},{key:"setAutoplay",value:function(t){this._requireValidAutoplay(t),!this._lottie||["loading"].includes(this._currentState)?li("setAutoplay() Can't use whilst loading."):(this._setPlayerState(function(){return{autoplay:t}}),this._userPlaybackOptions.autoplay=t)}},{key:"toggleAutoplay",value:function(){!this._lottie||["loading"].includes(this._currentState)?li("toggleAutoplay() Can't use whilst loading."):this.setAutoplay(!this._lottie.autoplay)}},{key:"defaultTheme",get:function(){return this._defaultTheme}},{key:"setDefaultTheme",value:function(t){this._setPlayerState(function(){return{defaultTheme:t}}),this._userPlaybackOptions.defaultTheme=t,this._animation&&this.render()}},{key:"loop",get:function(){return this._loop}},{key:"setLoop",value:function(t){this._requireValidLoop(t),this._setPlayerState(function(){return{loop:t}}),this._userPlaybackOptions.loop=t}},{key:"toggleLoop",value:function(){!this._lottie||["loading"].includes(this._currentState)?li("toggleLoop() Can't use whilst loading."):this.setLoop(!this._loop)}},{key:"background",get:function(){return this._background}}
1,{key:"setBackground",value:function(t){this._requireValidBackground(t),this._background=t,this._container&&(this._container.style.backgroundColor=t)}},{key:"_frame",get:function(){return this._lottie?"completed"===this.currentState?-1===this.direction?0:this._lottie.totalFrames:this._lottie.currentFrame:0}},{key:"_seeker",get:function(){return this._lottie?this._frame/this._lottie.totalFrames*100:0}},{key:"revertToManifestValues",value:(a=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i,s,r,n,a=this;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=Array.isArray(e)&&0!==e.length?e:["autoplay","defaultTheme","direction","hover","intermission","loop","playMode","speed","activeAnimationId"],s=!1,i.includes("activeAnimationId"))return r=null==(r=this._dotLottieLoader.manifest)?void 0:r.activeAnimationId,n=this._getAnimationByIdOrIndex(r||0),this._activeAnimationId=r,t.next=7,this._setCurrentAnimation(n.id);t.next=8;break;case 7:s=!0;case 8:i.forEach(function(t){switch(t){case"autoplay":delete a._userPlaybackOptions.autoplay,a.setAutoplay(a._getOption("autoplay"));break;case"defaultTheme":delete a._userPlaybackOptions.defaultTheme,a.setDefaultTheme(a._getOption("defaultTheme"));break;case"direction":delete a._userPlaybackOptions.direction,a.setDirection(a._getOption("direction"));break;case"hover":delete a._userPlaybackOptions.hover,a.setHover(a._getOption("hover"));break;case"intermission":delete a._userPlaybackOptions.intermission,a.setIntermission(a._getOption("intermission"));break;case"loop":delete a._userPlaybackOptions.loop,a.setLoop(a._getOption("loop"));break;case"playMode":delete a._userPlaybackOptions.playMode,a.setMode(a._getOption("playMode")),a.setDirection(a._getOption("direction"));break;case"speed":delete a._userPlaybackOptions.speed,a.setSpeed(a._getOption("speed"))}}),s&&this.render();case 9:case"end":return t.stop()}},t,this)})),function(t){return a.apply(this,arguments)})},{key:"removeEventListener",value:function(t,e){var i,s,r;try{"complete"===t?null!=(i=this._container)&&i.removeEventListener(t,e):null!=(s=this._lottie)&&s.removeEventListener(t,e),null!=(r=this._listeners.get(t))&&r.delete(e)}catch(t){er("removeEventListener",t)}}},{key:"_handleAnimationComplete",value:function(){"number"==typeof this._loop&&this.stop();var t=-1===this.direction?0:this.totalFrames-1;this.goToAndStop(t,!0),this._counter=0,this.clearCountTimer(),this.setCurrentState("completed"),null!=(t=this._container)&&t.dispatchEvent(new Event("complete"))}},{key:"addEventListeners",value:function(){var t,s=this;if(!this._lottie||["loading"].includes(this._currentState))li("addEventListeners() Can't use whilst loading.");else{this._lottie.addEventListener("enterFrame",function(){var t;s._lottie?(0===Math.floor(s._lottie.currentFrame)&&-1===s.direction&&(null!=(t=s._container)&&t.dispatchEvent(new Event("complete")),s.loop||s.setCurrentState("completed")),s._notify()):li("enterFrame event : Lottie is undefined.")}),this._lottie.addEventListener("loopComplete",function(){var t,e,i;s._lottie?(null!=(t=s._container)&&t.dispatchEvent(new Event("loopComplete")),0<s.intermission&&s.pause(),e=s._lottie.playDirection,"number"==typeof s._loop&&0<s._loop&&(s._counter+="bounce"===s._mode?.5:1,s._counter>=s._loop)?s._handleAnimationComplete():(i=-1===(e="bounce"===s._mode&&"number"==typeof e?-1*Number(e):e)?s._lottie.totalFrames-1:0,s.intermission?(s.goToAndPlay(i,!0),s.pause(),s._counterInterval=window.setTimeout(function(){s._lottie&&(s._setPlayerState(function(){return{direction:e}}),s.goToAndPlay(i,!0))},s._intermission)):(s._setPlayerState(function(){return{direction:e}}),s.goToAndPlay(-1===e?s.totalFrames-1:0,!0)))):li("loopComplete event : Lottie is undefined.")}),this._lottie.addEventListener("complete",function(){!s._lottie||!1!==s._loop||"bounce"!==s._mode||(s._counter+=.5,1<=s._counter)?s._handleAnimationComplete():s._counterInterval=window.setTimeout(function(){var t,e;s._lottie&&(t=s._lottie.playDirection,e=-1===(t="bounce"===s._mode&&"number"==typeof t?-1*Number(t):t)?s.totalFrames-1:0,s._setPlayerState(function(){return{direction:t}}),s.goToAndPlay(e,!0))},s._intermission)});var e,i=_createForOfIteratorHelper(this._listeners);try{for(i.s();!(e=i.n()).done;){var r=_slicedToArray(e.value,2),n=r[0],a=r[1];if("complete"===n){var o,h=_createForOfIteratorHelper(a);try{for(h.s();!(o=h.n()).done;){var l=o.value;null!=(t=this._container)&&t.addEventListener(n,l)}}catch(t){h.e(t)}finally{h.f()}}else{var p,f=_createForOfIteratorHelper(a);try{for(f.s();!(p=f.n()).done;){var c=p.value;this._lottie.addEventListener(n,c)}}catch(t){f.e(t)}finally{f.f()}}}}catch(t){i.e(t)}finally{i.f()}}}},{key:"_setCurrentAnimation",value:(n=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._currentState="loading",t.next=3,this._dotLottieLoader.getAnimation(e);case 3:i=t.sent,this._currentAnimationId=e,this._animation=i,this._currentState="ready";case 5:case"end":return t.stop()}},t,this)})),function(t){return n.apply(this,arguments)})},{key:"_getAudioFactory",value:(r=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var e,i,s=this;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._animation&&yo(this._animation))return t.next=3,Promise.resolve().then(function(){return dl(),ml});t.next=6;break;case 3:return e=t.sent,i=e.DotLottieAudio,t.abrupt("return",function(t){t=new i({src:[t]});return s._audios.push(t),t});case 6:return t.abrupt("return",null);case 7:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"render",value:(i=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i,s,r,n,a,o,h,l,p,f,c,u,d=this;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e&&e.id)return t.next=3,this._setCurrentAnimation(e.id);t.next=5;break;case 3:t.next=7;break;case 5:if(this._animation){t.next=7;break}throw Ie("no animation selected");case 7:return i=null!=(s=cs.loop)&&s,s=null!=(s=cs.autoplay)&&s,r=null!=(p=cs.playMode)?p:"normal",n=null!=(p=cs.intermission)?p:0,a=null!=(p=cs.hover)&&p,o=null!=(p=cs.direction)?p:1,h=null!=(p=cs.speed)?p:1,l=null!=(p=cs.defaultTheme)?p:"",i=null!=(p=null==e?void 0:e.loop)?p:this._getOption("loop"),s=null!=(p=null==e?void 0:e.autoplay)?p:this._getOption("autoplay"),r=null!=(p=null==e?void 0:e.playMode)?p:this._getOption("playMode"),n=null!=(p=null==e?void 0:e.intermission)?p:this._getOption("intermission"),a=null!=(p=null==e?void 0:e.hover)?p:this._getOption("hover"),o=null!=(p=null==e?void 0:e.direction)?p:this._getOption("direction"),h=null!=(p=null==e?void 0:e.speed)?p:this._getOption("speed"),l=null!=(p=null==e?void 0:e.defaultTheme)?p:this._getOption("defaultTheme"),p=_objectSpread(_objectSpread({},this._animationConfig),{},{autoplay:!a&&s,loop:"number"==typeof i||i,renderer:!this._worker&&null!=(p=this._animationConfig.renderer)?p:"svg"}),t.next=12,Promise.all([this._dotLottieLoader.getTheme(l),this._getLottiePlayerInstance(),this._getAudioFactory()]);case 12:u=t.sent,u=_slicedToArray(u,3),f=u[0],c=u[1],u=u[2],f&&this._animation?(this._animation=Ua(this._animation),this._animation.slots=f,t.next=24):t.next=21;break;case 21:return t.next=23,this._dotLottieLoader.getAnimation(null!=(f=this._currentAnimationId)?f:"");case 23:this._animation=t.sent;case 24:if(this._activeStateId&&!this._inInteractiveMode)return this.enterInteractiveMode(this._activeStateId),t.abrupt("return");t.next=27;break;case 27:this.destroy(),this._setPlayerState(function(){return{defaultTheme:l,playMode:r,intermission:n,hover:a,loop:i}}),this._lottie=u?c.loadAnimation(_objectSpread(_objectSpread({},p),{},{container:this._container,animationData:this._animation,audioFactory:u})):c.loadAnimation(_objectSpread(_objectSpread({},p),{},{container:this._container,animationData:this._animation})),"u"<_typeof2(this._lottie.resetSegments)&&(this._lottie.resetSegments=function(){var t;null!=(t=d._lottie)&&t.playSegments([0,d._lottie.totalFrames],!0)}),this.addEventListeners(),this._container&&(this._container.__lottie=this._lottie),this._setPlayerState(function(){return{direction:o,speed:h}}
1),s&&!a&&(!1===i&&-1===o?this.play():this.setCurrentState("playing")),this._updateTestData();case 28:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"_getLottiePlayerInstance",value:(t=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var e,i;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=null!=(e=this._animationConfig.renderer)?e:"svg",this._worker)return"svg"!==e&&li("Worker is only supported with svg renderer. Change or remove renderer prop to get rid of this warning."),t.next=5,Promise.resolve().then(function(){return yl(),gl});t.next=7;break;case 5:return i=t.sent,t.abrupt("return",i.default);case 7:t.t0=e,t.next="svg"===t.t0?10:"canvas"===t.t0?20:"html"===t.t0?30:40;break;case 10:if(this._light)return t.next=13,Promise.resolve().then(function(){return bl(),vl});t.next=16;break;case 13:i=t.sent,t.next=19;break;case 16:return t.next=18,Promise.resolve().then(function(){return xl(),_l});case 18:i=t.sent;case 19:return t.abrupt("break",41);case 20:if(this._light)return t.next=23,Promise.resolve().then(function(){return Sl(),Pl});t.next=26;break;case 23:i=t.sent,t.next=29;break;case 26:return t.next=28,Promise.resolve().then(function(){return Al(),El});case 28:i=t.sent;case 29:return t.abrupt("break",41);case 30:if(this._light)return t.next=33,Promise.resolve().then(function(){return kl(),Cl});t.next=36;break;case 33:i=t.sent,t.next=39;break;case 36:return t.next=38,Promise.resolve().then(function(){return Ml(),Tl});case 38:i=t.sent;case 39:return t.abrupt("break",41);case 40:throw new Error("Invalid renderer: ".concat(e));case 41:return t.abrupt("return",i.default);case 42:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})},{key:"_getActiveAnimationId",value:function(){var t,e=this._dotLottieLoader.manifest;return null!=(e=null!=(t=null!=(t=this._activeAnimationId)?t:null==e?void 0:e.activeAnimationId)?t:null==(t=null==e?void 0:e.animations[0])?void 0:t.id)?e:void 0}},{key:"load",value:(e=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var i,s;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("loading"===this._currentState)return li("Loading in progress.."),t.abrupt("return");t.next=3;break;case 3:t.prev=3,(this.setCurrentState("loading"),"string"!=typeof this._src)?t.next=15:vo(this._src)?(i=JSON.parse(this._src),this._dotLottieLoader.loadFromLottieJSON(i),t.next=13):t.next=10;break;case 10:return i=new URL(this._src,window.location.href),t.next=13,this._dotLottieLoader.loadFromUrl(i.toString());case 13:t.next=20;break;case 15:"object"==_typeof2(this._src)&&Jr(this._src)?(this._dotLottieLoader.loadFromLottieJSON(this._src),t.next=20):t.next=19;break;case 19:throw Ie("Invalid src provided");case 20:if(this._dotLottieLoader.manifest){t.next=22;break}throw Ie("No manifest found");case 22:if(s=this._getActiveAnimationId()){t.next=25;break}throw Ie("No active animation found");case 25:return t.next=27,this._setCurrentAnimation(s);case 27:return t.next=29,this.render(e);case 29:t.next=34;break;case 31:t.prev=31,t.t0=t.catch(3),this.setCurrentState("error"),t.t0 instanceof Error&&er("Error loading animation: ".concat(t.t0.message));case 34:case"end":return t.stop()}},t,this,[[3,31]])})),function(t){return e.apply(this,arguments)})},{key:"setErrorState",value:function(t){this.setCurrentState("error"),er(t)}},{key:"_requireValidDirection",value:function(t){if(-1!==t&&1!==t)throw Ie("Direction can only be -1 (backwards) or 1 (forwards)")}},{key:"_requireValidIntermission",value:function(t){if(t<0||!Number.isInteger(t))throw Ie("intermission must be a positive number")}},{key:"_requireValidLoop",value:function(t){if("number"==typeof t&&(!Number.isInteger(t)||t<0))throw Ie("loop must be a positive number or boolean")}},{key:"_requireValidSpeed",value:function(t){if("number"!=typeof t)throw Ie("speed must be a number")}},{key:"_requireValidBackground",value:function(t){if("string"!=typeof t)throw Ie("background must be a string")}},{key:"_requireValidAutoplay",value:function(t){if("boolean"!=typeof t)throw Ie("autoplay must be a boolean")}},{key:"_requireValidPlaybackOptions",value:function(t){t.direction&&this._requireValidDirection(t.direction),t.intermission&&this._requireValidIntermission(t.intermission),t.loop&&this._requireValidLoop(t.loop),t.speed&&this._requireValidSpeed(t.speed)}}],[{key:"isPathJSON",value:function(t){return"json"===(null==(t=t.split(".").pop())?void 0:t.toLowerCase())}},{key:"getLottieWebVersion",value:function(){return"".concat(wc.dependencies["lottie-web"])}}]),s}()}),Yn=(Bo(),An(),qn(),Tn(),ca(),qs(),window),Jn=Yn.ShadowRoot&&(void 0===Yn.ShadyCSS||Yn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Oo=Symbol(),wl=new WeakMap,ln=function(){function s(t,e,i){if(_classCallCheck(this,s),this._$cssResult$=!0,i!==Oo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}return _createClass(s,[{key:"styleSheet",get:function(){var t,e=this.o,i=this.t;return Jn&&void 0===e&&void 0===(e=(t=void 0!==i&&1===i.length)?wl.get(i):e)&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t)&&wl.set(i,e),e}},{key:"toString",value:function(){return this.cssText}}]),s}(),Dl=function(t){return new ln("string"==typeof t?t:t+"",void 0,Oo)},zo=function(s){for(var t=arguments.length,e=new Array(1<t?t-1:0),i=1;i<t;i++)e[i-1]=arguments[i];
1var r=1===s.length?s[0]:e.reduce(function(t,e,i){return t+function(){if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}()+s[i+1]},s[0]);return new ln(r,s,Oo)},No=function(s,t){Jn?s.adoptedStyleSheets=t.map(function(t){return t instanceof CSSStyleSheet?t:t.styleSheet}):t.forEach(function(t){var e=document.createElement("style"),i=Yn.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=t.cssText,s.appendChild(e)})},Un=Jn?function(t){return t}:function(t){if(t instanceof CSSStyleSheet){var e,i="",s=_createForOfIteratorHelper(t.cssRules);try{for(s.s();!(e=s.n()).done;)i+=e.value.cssText}catch(t){s.e(t)}finally{s.f()}return Dl(i)}return t},Go,Zn=window,Fl=Zn.trustedTypes,Dc=Fl?Fl.emptyScript:"",Il=Zn.reactiveElementPolyfillSupport,Ho={toAttribute:function(t,e){switch(e){case Boolean:t=t?Dc:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){var i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},Ll=function(t,e){return e!==t&&(e==e||t==t)},jo={attribute:!0,type:String,converter:Ho,reflect:!1,hasChanged:Ll},qo="finalized",ur=function(){_inherits(i,_wrapNativeSuper(HTMLElement));var t,e=_createSuper(i);function i(){var t;return _classCallCheck(this,i),(t=e.call(this))._$Ei=new Map,t.isUpdatePending=!1,t.hasUpdated=!1,t._$El=null,t._$Eu(),t}return _createClass(i,[{key:"_$Eu",value:function(){var t,e=this;this._$E_=new Promise(function(t){return e.enableUpdating=t}),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null!=(t=this.constructor.h)&&t.forEach(function(t){return t(e)})}},{key:"addController",value:function(t){var e;(null!=(e=this._$ES)?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&null!=(e=t.hostConnected)&&e.call(t)}},{key:"removeController",value:function(t){var e;null!=(e=this._$ES)&&e.splice(this._$ES.indexOf(t)>>>0,1)}},{key:"_$Eg",value:function(){var i=this;this.constructor.elementProperties.forEach(function(t,e){i.hasOwnProperty(e)&&(i._$Ei.set(e,i[e]),delete i[e])})}},{key:"createRenderRoot",value:function(){var t=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return No(t,this.constructor.elementStyles),t}},{key:"connectedCallback",value:function(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null!=(t=this._$ES)&&t.forEach(function(t){var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}},{key:"enableUpdating",value:function(t){}},{key:"disconnectedCallback",value:function(){var t;null!=(t=this._$ES)&&t.forEach(function(t){var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}},{key:"attributeChangedCallback",value:function(t,e,i){this._$AK(t,i)}},{key:"_$EO",value:function(t,e){var i,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:jo,r=this.constructor._$Ep(t,s);void 0!==r&&!0===s.reflect&&(i=(void 0!==(null==(i=s.converter)?void 0:i.toAttribute)?s.converter:Ho).toAttribute(e,s.type),this._$El=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$El=null)}},{key:"_$AK",value:function(t,e){var i,s=this.constructor,t=s._$Ev.get(t);void 0!==t&&this._$El!==t&&(i="function"==typeof(s=s.getPropertyOptions(t)).converter?{fromAttribute:s.converter}:void 0!==(null==(i=s.converter)?void 0:i.fromAttribute)?s.converter:Ho,this._$El=t,this[t]=i.fromAttribute(e,s.type),this._$El=null)}},{key:"requestUpdate",value:function(t,e,i){var s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||Ll)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}},{key:"_$Ej",value:(t=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var e;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.isUpdatePending=!0,t.prev=1,t.next=4,this._$E_;case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),Promise.reject(t.t0);case 9:if(e=this.scheduleUpdate(),t.t1=null!=e,t.t1)return t.next=14,e;t.next=14;break;case 14:return t.abrupt("return",!this.isUpdatePending);case 15:case"end":return t.stop()}},t,this,[[1,6]])})),function(){return t.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){var t,i=this;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach(function(t,e){return i[e]=t}),this._$Ei=void 0);var e=!1,s=this._$AL;try{(e=this.shouldUpdate(s))?(this.willUpdate(s),null!=(t=this._$ES)&&t.forEach(function(t){var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(s)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(s)}}},{key:"willUpdate",value:function(t){}}
1,{key:"_$AE",value:function(t){var e;null!=(e=this._$ES)&&e.forEach(function(t){var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}},{key:"_$Ek",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$E_}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var i=this;void 0!==this._$EC&&(this._$EC.forEach(function(t,e){return i._$EO(e,i[e],t)}),this._$EC=void 0),this._$Ek()}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}}],[{key:"addInitializer",value:function(t){var e;this.finalize(),(null!=(e=this.h)?e:this.h=[]).push(t)}},{key:"observedAttributes",get:function(){var i=this,s=(this.finalize(),[]);return this.elementProperties.forEach(function(t,e){t=i._$Ep(e,t);void 0!==t&&(i._$Ev.set(t,e),s.push(t))}),s}},{key:"createProperty",value:function(t){var e,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:jo;i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),i.noAccessor||this.prototype.hasOwnProperty(t)||(e="symbol"==_typeof2(t)?Symbol():"__"+t,void 0!==(e=this.getPropertyDescriptor(t,e,i))&&Object.defineProperty(this.prototype,t,e))}},{key:"getPropertyDescriptor",value:function(i,s,r){return{get:function(){return this[s]},set:function(t){var e=this[i];this[s]=t,this.requestUpdate(i,e,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(t){return this.elementProperties.get(t)||jo}},{key:"finalize",value:function(){if(this.hasOwnProperty(qo))return!1;this[qo]=!0;var t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=_toConsumableArray(t.h)),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){var e,i=this.properties,s=_createForOfIteratorHelper([].concat(_toConsumableArray(Object.getOwnPropertyNames(i)),_toConsumableArray(Object.getOwnPropertySymbols(i))));try{for(s.s();!(e=s.n()).done;){var r=e.value;this.createProperty(r,i[r])}}catch(t){s.e(t)}finally{s.f()}}return this.elementStyles=this.finalizeStyles(this.styles),!0}},{key:"finalizeStyles",value:function(t){var e=[];if(Array.isArray(t)){var i,s=_createForOfIteratorHelper(new Set(t.flat(1/0).reverse()));try{for(s.s();!(i=s.n()).done;){var r=i.value;e.unshift(Un(r))}}catch(t){s.e(t)}finally{s.f()}}else void 0!==t&&e.push(Un(t));return e}},{key:"_$Ep",value:function(t,e){e=e.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}}]),i}();ur[qo]=!0,ur.elementProperties=new Map,ur.elementStyles=[],ur.shadowRootOptions={mode:"open"},null!=Il&&Il({ReactiveElement:ur}),(null!=(Go=Zn.reactiveElementVersions)?Go:Zn.reactiveElementVersions=[]).push("1.6.3");var $o,Kn=window,Sa=Kn.trustedTypes,Vl=Sa?Sa.createPolicy("lit-html",{createHTML:function(t){return t}}):void 0,Xo="$lit$",Lr="lit$".concat((Math.random()+"").slice(9),"$"),jl="?"+Lr,Fc="<".concat(jl,">"),Qr=document,fn=function(){return Qr.createComment("")},cn=function(t){return null===t||"object"!=_typeof2(t)&&"function"!=typeof t},Hl=Array.isArray,Ic=function(t){return Hl(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator])},Wo="[ \t\n\f\r]",pn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Rl=/-->/g,Bl=/>/g,Zr=RegExp(">|".concat(Wo,"(?:([^\\s\"'>=/]+)(").concat(Wo,"*=").concat(Wo,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),Ol=/'/g,zl=/"/g,ql=/^(?:script|style|textarea|title)$/i,$l=function(r){return function(t){for(var e=arguments.length,i=new Array(1<e?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];return{_$litType$:r,strings:t,values:i}}},Ne=$l(1),ta=Symbol.for("lit-noChange"),Hi=Symbol.for("lit-nothing"),Nl=new WeakMap,Kr=Qr.createTreeWalker(Qr,129,null,!1);function Wl(t,e){if(Array.isArray(t)&&t.hasOwnProperty("raw"))return void 0!==Vl?Vl.createHTML(e):e;throw Error("invalid template strings array")}var Lc=function(t,e){for(var i,s=t.length-1,r=[],n=2===e?"<svg>":"",a=pn,o=0;o<s;o++){for(var h=t[o],l=void 0,p=void 0,f=-1,c=0;c<h.length&&(a.lastIndex=c,null!==(p=a.exec(h)));)c=a.lastIndex,a===pn?"!--"===p[1]?a=Rl:void 0!==p[1]?a=Bl:void 0!==p[2]?(ql.test(p[2])&&(i=RegExp("</"+p[2],"g")),a=Zr):void 0!==p[3]&&(a=Zr):a===Zr?">"===p[0]?(a=null!=i?i:pn,f=-1):void 0===p[1]?f=-2:(f=a.lastIndex-p[2].length,l=p[1],a=void 0===p[3]?Zr:'"'===p[3]?zl:Ol):a===zl||a===Ol?a=Zr:a===Rl||a===Bl?a=pn:(a=Zr,i=void 0);var u=a===Zr&&t[o+1].startsWith("/>")?" ":"";n+=a===pn?h+Fc:0<=f?(r.push(l),h.slice(0,f)+Xo+h.slice(f)+Lr+u):h+Lr+(-2===f?(r.push(void 0),o):u)}return[Wl(t,n+(t[s]||"<?>")+(2===e?"</svg>":"")),r]},un=function(){function S(t,e){var i,s=t.strings,t=t._$litType$,r=(_classCallCheck(this,S),this.parts=[],0),n=0,a=s.length-1,o=this.parts,s=_slicedToArray(Lc(s,t),2),h=s[0],l=s[1];for(this.el=S.createElement(h,e),Kr.currentNode=this.el.content,2===t&&((h=(s=this.el.content).firstChild).remove(),s.append.apply(s,_toConsumableArray(h.childNodes)));
1null!==(i=Kr.nextNode())&&o.length<a;){if(1===i.nodeType){if(i.hasAttributes()){var p,f=[],c=_createForOfIteratorHelper(i.getAttributeNames());try{for(c.s();!(p=c.n()).done;){var u,d,m,y=p.value;(y.endsWith(Xo)||y.startsWith(Lr))&&(u=l[n++],f.push(y),void 0!==u?(d=i.getAttribute(u.toLowerCase()+Xo).split(Lr),m=/([.?@])?(.*)/.exec(u),o.push({type:1,index:r,name:m[2],strings:d,ctor:"."===m[1]?Jo:"?"===m[1]?Uo:"@"===m[1]?Zo:Aa})):o.push({type:6,index:r}))}}catch(t){c.e(t)}finally{c.f()}for(var g=0,v=f;g<v.length;g++)i.removeAttribute(v[g])}if(ql.test(i.tagName)){var b=i.textContent.split(Lr),_=b.length-1;if(0<_){i.textContent=Sa?Sa.emptyScript:"";for(var P=0;P<_;P++)i.append(b[P],fn()),Kr.nextNode(),o.push({type:2,index:++r});i.append(b[_],fn())}}}else if(8===i.nodeType)if(i.data===jl)o.push({type:2,index:r});else for(var x=-1;-1!==(x=i.data.indexOf(Lr,x+1));)o.push({type:7,index:r}),x+=Lr.length-1;r++}}return _createClass(S,null,[{key:"createElement",value:function(t,e){var i=Qr.createElement("template");return i.innerHTML=t,i}}]),S}();function Ea(t,e){var i,s,r,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:t,a=3<arguments.length?arguments[3]:void 0;return e=e!==ta&&(s=void 0!==a?null==(s=n._$Co)?void 0:s[a]:n._$Cl,r=cn(e)?void 0:e._$litDirective$,(null==s?void 0:s.constructor)!==r&&(null!=(i=null==s?void 0:s._$AO)&&i.call(s,!1),void 0===r?s=void 0:(s=new r(t))._$AT(t,n,a),void 0!==a?(null!=(i=n._$Co)?i:n._$Co=[])[a]=s:n._$Cl=s),void 0!==s)?Ea(t,s._$AS(t,e.values),s,a):e}var Yo=function(){function i(t,e){_classCallCheck(this,i),this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}return _createClass(i,[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(t){for(var e,i=this._$AD,s=i.el.content,r=i.parts,i=(null!=(i=null==t?void 0:t.creationScope)?i:Qr).importNode(s,!0),n=(Kr.currentNode=i,Kr.nextNode()),a=0,o=0,h=r[0];void 0!==h;)a===h.index&&(e=void 0,2===h.type?e=new mn(n,n.nextSibling,this,t):1===h.type?e=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(e=new Ko(n,this,t)),this._$AV.push(e),h=r[++o]),a!==(null==h?void 0:h.index)&&(n=Kr.nextNode(),a++);return Kr.currentNode=Qr,i}},{key:"v",value:function(t){var e,i=0,s=_createForOfIteratorHelper(this._$AV);try{for(s.s();!(e=s.n()).done;){var r=e.value;void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,i),i+=r.strings.length-2):r._$AI(t[i])),i++}}catch(t){s.e(t)}finally{s.f()}}}]),i}(),mn=function(){function o(t,e,i,s){_classCallCheck(this,o),this.type=2,this._$AH=Hi,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=null==(t=null==s?void 0:s.isConnected)||t}return _createClass(o,[{key:"_$AU",get:function(){var t;return null!=(t=null==(t=this._$AM)?void 0:t._$AU)?t:this._$Cp}},{key:"parentNode",get:function(){var t=this._$AA.parentNode,e=this._$AM;return t=void 0!==e&&11===(null==t?void 0:t.nodeType)?e.parentNode:t}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(t){t=Ea(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this),cn(t)?t===Hi||null==t||""===t?(this._$AH!==Hi&&this._$AR(),this._$AH=Hi):t!==this._$AH&&t!==ta&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Ic(t)?this.T(t):this._(t)}},{key:"k",value:function(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}},{key:"$",value:function(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}},{key:"_",value:function(t){this._$AH!==Hi&&cn(this._$AH)?this._$AA.nextSibling.data=t:this.$(Qr.createTextNode(t)),this._$AH=t}},{key:"g",value:function(t){var e=t.values,i=t._$litType$,t="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=un.createElement(Wl(i.h,i.h[0]),this.options)),i);(null==(i=this._$AH)?void 0:i._$AD)===t?this._$AH.v(e):(t=(i=new Yo(t,this)).u(this.options),i.v(e),this.$(t),this._$AH=i)}},{key:"_$AC",value:function(t){var e=Nl.get(t.strings);return void 0===e&&Nl.set(t.strings,e=new un(t)),e}},{key:"T",value:function(t){Hl(this._$AH)||(this._$AH=[],this._$AR());var e,i,s=this._$AH,r=0,n=_createForOfIteratorHelper(t);try{for(n.s();!(i=n.n()).done;){var a=i.value;r===s.length?s.push(e=new o(this.k(fn()),this.k(fn()),this,this.options)):e=s[r],e._$AI(a),r++}}catch(t){n.e(t)}finally{n.f()}r<s.length&&(this._$AR(e&&e._$AB.nextSibling,r),s.length=r)}},{key:"_$AR",value:function(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling;
1for(null!=(t=this._$AP)&&t.call(this,!1,!0,1<arguments.length?arguments[1]:void 0);e&&e!==this._$AB;){var i=e.nextSibling;e.remove(),e=i}}},{key:"setConnected",value:function(t){var e;void 0===this._$AM&&(this._$Cp=t,null!=(e=this._$AP))&&e.call(this,t)}}]),o}(),Aa=function(){function n(t,e,i,s,r){_classCallCheck(this,n),this.type=1,this._$AH=Hi,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,2<i.length||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Hi}return _createClass(n,[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,i=2<arguments.length?arguments[2]:void 0,s=3<arguments.length?arguments[3]:void 0,r=this.strings,n=!1;if(void 0===r)t=Ea(this,t,e,0),(n=!cn(t)||t!==this._$AH&&t!==ta)&&(this._$AH=t);else{var a,o,h=t;for(t=r[0],a=0;a<r.length-1;a++)(o=Ea(this,h[i+a],e,a))===ta&&(o=this._$AH[a]),n=n||!cn(o)||o!==this._$AH[a],o===Hi?t=Hi:t!==Hi&&(t+=(null!=o?o:"")+r[a+1]),this._$AH[a]=o}n&&!s&&this.j(t)}},{key:"j",value:function(t){t===Hi?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}]),n}(),Jo=function(){_inherits(i,Aa);var e=_createSuper(i);function i(){var t;return _classCallCheck(this,i),(t=e.apply(this,arguments)).type=3,t}return _createClass(i,[{key:"j",value:function(t){this.element[this.name]=t===Hi?void 0:t}}]),i}(),Vc=Sa?Sa.emptyScript:"",Uo=function(){_inherits(i,Aa);var e=_createSuper(i);function i(){var t;return _classCallCheck(this,i),(t=e.apply(this,arguments)).type=4,t}return _createClass(i,[{key:"j",value:function(t){t&&t!==Hi?this.element.setAttribute(this.name,Vc):this.element.removeAttribute(this.name)}}]),i}(),Zo=function(){_inherits(a,Aa);var n=_createSuper(a);function a(t,e,i,s,r){return _classCallCheck(this,a),(t=n.call(this,t,e,i,s,r)).type=5,t}return _createClass(a,[{key:"_$AI",value:function(t){var e,i,s;(t=null!=(e=Ea(this,t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:this,0))?e:Hi)!==ta&&(e=this._$AH,i=t===Hi&&e!==Hi||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,s=t!==Hi&&(e===Hi||i),i&&this.element.removeEventListener(this.name,this,e),s&&this.element.addEventListener(this.name,this,t),this._$AH=t)}},{key:"handleEvent",value:function(t){var e;"function"==typeof this._$AH?this._$AH.call(null!=(e=null==(e=this.options)?void 0:e.host)?e:this.element,t):this._$AH.handleEvent(t)}}]),a}(),Ko=function(){function s(t,e,i){_classCallCheck(this,s),this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}return _createClass(s,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(t){Ea(this,t)}}]),s}(),Gl=Kn.litHtmlPolyfillSupport,Xl=(null!=Gl&&Gl(un,mn),(null!=($o=Kn.litHtmlVersions)?$o:Kn.litHtmlVersions=[]).push("2.8.0"),function(t,e,i){var s,r=null!=(r=null==i?void 0:i.renderBefore)?r:e,n=r._$litPart$;return void 0===n&&(s=null!=(s=null==i?void 0:i.renderBefore)?s:null,r._$litPart$=n=new mn(e.insertBefore(fn(),s),s,void 0,null!=i?i:{})),n._$AI(t),n}),Qo,th,Vr=function(){_inherits(i,ur);var e=_createSuper(i);function i(){var t;return _classCallCheck(this,i),(t=e.apply(this,arguments)).renderOptions={host:_assertThisInitialized(t)},t._$Do=void 0,t}return _createClass(i,[{key:"createRenderRoot",value:function(){var t,e=_get(_getPrototypeOf(i.prototype),"createRenderRoot",this).call(this);return null==(t=this.renderOptions).renderBefore&&(t.renderBefore=e.firstChild),e}},{key:"update",value:function(t){var e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),_get(_getPrototypeOf(i.prototype),"update",this).call(this,t),this._$Do=Xl(e,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var t;_get(_getPrototypeOf(i.prototype),"connectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var t;_get(_getPrototypeOf(i.prototype),"disconnectedCallback",this).call(this),null!=(t=this._$Do)&&t.setConnected(!1)}},{key:"render",value:function(){return ta}}]),i}(),Yl=(Vr.finalized=!0,Vr._$litElement$=!0,null!=(Qo=globalThis.litElementHydrateSupport)&&Qo.call(globalThis,{LitElement:Vr}),globalThis.litElementPolyfillSupport),Rc=(null!=Yl&&Yl({LitElement:Vr}),(null!=(th=globalThis.litElementVersions)?th:globalThis.litElementVersions=[]).push("3.3.3"),function(e,i){return"method"!==i.kind||!i.descriptor||"value"in i.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer:function(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher:function(t){t.createProperty(i.key,e)}}:_objectSpread(_objectSpread({},i),{},{finisher:function(t){t.createProperty(i.key,e)}})}
1),Bc=function(t,e,i){e.constructor.createProperty(i,t)};function Bi(i){return function(t,e){return void 0!==e?Bc(i,t,e):Rc(i,t)}}function Jl(t){return Bi(_objectSpread(_objectSpread({},t),{},{state:!0}))}var ea=function(t){var r=t.finisher,n=t.descriptor;return function(t,e){var i;if(void 0===e)return i=null!=(s=t.originalKey)?s:t.key,s=null!=n?{kind:"method",placement:"prototype",key:i,descriptor:n(t.key)}:_objectSpread(_objectSpread({},t),{},{key:i}),null!=r&&(s.finisher=function(t){r(t,i)}),s;var s=t.constructor;void 0!==n&&Object.defineProperty(t,e,n(e)),null!=r&&r(s,e)}},eh;function Ul(s,r){return ea({descriptor:function(t){var e,i={get:function(){var t;return null!=(t=null==(t=this.renderRoot)?void 0:t.querySelector(s))?t:null},enumerable:!0,configurable:!0};return r&&(e="symbol"==_typeof2(t)?Symbol():"__"+t,i.get=function(){var t;return void 0===this[e]&&(this[e]=null!=(t=null==(t=this.renderRoot)?void 0:t.querySelector(s))?t:null),this[e]}),i}})}null==(eh=window.HTMLSlotElement)||eh.prototype.assignedElements;var Zl={name:"@dotlottie/player-component",version:"2.7.12",description:"dotLottie animation player web component.",repository:"https://github.com/dotlottie/player-component.git",homepage:"https://dotlottie.io/players",bugs:"https://github.com/dotlottie/player-component/issues",author:"Jawish Hameed <[email protected]>",license:"MIT",main:"dist/dotlottie-player.js",module:"dist/dotlottie-player.mjs",types:"dist/dotlottie-player.d.ts",files:["dist"],keywords:["dotlottie","animation","web component","component","lit-element","player"],scripts:{build:"tsup","cypress:open":"cypress open --component",dev:"tsup --watch",lint:"eslint .","lint:fix":"eslint --fix",test:"cypress run --component","type-check":"tsc --noEmit"},dependencies:{"@dotlottie/common":"workspace:*",lit:"^2.7.5"},devDependencies:{"@vitejs/plugin-legacy":"^4.1.0","axe-core":"^4.7.2",cypress:"^12.11.0","cypress-axe":"^1.4.0","cypress-ct-lit":"^0.3.2","lottie-web":"^5.12.2",terser:"^5.19.0",tsup:"^7.2.0",typescript:"^4.7.4",vite:"^4.3.9"},publishConfig:{access:"public"},browserslist:["> 3%"]},Kl=zo(_templateObject=_templateObject||_taggedTemplateLiteral(["\n  @font-face {\n    font-family: 'Karla';\n    font-weight: regular;\n    src: url('./fonts/Karla-regular.woff') format('woff');\n  }\n\n  :host {\n    --lottie-player-toolbar-height: 35px;\n    --lottie-player-toolbar-background-color: transparent;\n    --lottie-player-toolbar-hover-background-color: #f3f6f8;\n    --lottie-player-toolbar-icon-color: #20272c;\n    --lottie-player-toolbar-icon-hover-color: #f3f6f8;\n    --lottie-player-toolbar-icon-active-color: #00ddb3;\n    --lottie-player-seeker-track-color: #00ddb3;\n    --lottie-player-seeker-accent-color: #00c1a2;\n    --lottie-player-seeker-thumb-color: #00c1a2;\n    --lottie-player-options-separator: #d9e0e6;\n\n    display: block;\n    width: 100%;\n    height: 100%;\n\n    font-family: 'Karla', sans-serif;\n    font-style: normal;\n    -webkit-font-smoothing: antialiased;\n    -moz-osx-font-smoothing: grayscale;\n  }\n\n  :host * {\n    box-sizing: border-box;\n  }\n\n  .active {\n    color: var(--lottie-player-toolbar-icon-active-color) !important;\n  }\n\n  .main {\n    position: relative;\n    display: flex;\n    flex-direction: column;\n    height: 100%;\n    width: 100%;\n  }\n\n  .animation {\n    position: relative;\n    width: 100%;\n    height: 100%;\n    display: flex;\n  }\n  .animation.controls {\n    height: calc(100% - var(--lottie-player-toolbar-height));\n  }\n\n  .toolbar {\n    display: flex;\n    align-items: center;\n    justify-items: center;\n    background-color: var(--lottie-player-toolbar-background-color);\n    margin: 0 8px;\n    height: var(--lottie-player-toolbar-height);\n  }\n\n  .btn-spacing-left {\n    margin-right: 4px;\n    margin-left: 8px;\n  }\n\n  .btn-spacing-center {\n    margin-right: 4px;\n    margin-left: 4px;\n  }\n\n  .btn-spacing-right {\n    margin-right: 8px;\n    margin-left: 4px;\n  }\n\n  .toolbar button {\n    color: #20272c;\n    cursor: pointer;\n    fill: var(--lottie-player-toolbar-icon-color);\n    display: flex;\n    background: none;\n    border: 0px;\n    border-radius: 4px;\n    padding: 4px;\n    outline: none;\n    width: 24px;\n    height: 24px;
1\n    align-items: center;\n  }\n\n  .toolbar button:hover {\n    background-color: var(--lottie-player-toolbar-icon-hover-color);\n    border-style: solid;\n    border-radius: 2px;\n  }\n\n  .toolbar button.active {\n    fill: var(--lottie-player-toolbar-icon-active-color);\n  }\n\n  .toolbar button.active:hover {\n    fill: var(--lottie-player-toolbar-icon-hover-color);\n    border-radius: 4px;\n  }\n\n  .toolbar button:focus-visible {\n    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);\n    border-radius: 4px;\n    box-sizing: border-box;\n  }\n\n  .toolbar button svg {\n    width: 16px;\n    height: 16px;\n  }\n\n  .toolbar button.disabled svg {\n    display: none;\n  }\n\n  .popover {\n    position: absolute;\n    bottom: 40px;\n    left: calc(100% - 239px);\n    width: 224px;\n    min-height: 84px;\n    max-height: 300px;\n    background-color: #ffffff;\n    box-shadow: 0px 8px 48px 0px rgba(243, 246, 248, 0.15), 0px 8px 16px 0px rgba(61, 72, 83, 0.16),\n      0px 0px 1px 0px rgba(61, 72, 83, 0.36);\n    border-radius: 8px;\n    padding: 8px;\n    z-index: 100;\n    overflow-y: scroll;\n    scrollbar-width: none;\n  }\n  .popover:focus-visible {\n    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);\n    border-radius: 4px;\n    box-sizing: border-box;\n  }\n\n  .popover::-webkit-scrollbar {\n    width: 0px;\n  }\n\n  .popover-button {\n    background: none;\n    border: none;\n    font-family: inherit;\n    width: 100%;\n    flex-direction: row;\n    cursor: pointer;\n    height: 32px;\n    color: #20272c;\n    justify-content: space-between;\n    display: flex;\n    padding: 4px 8px;\n    align-items: flex-start;\n    gap: 8px;\n    align-self: stretch;\n    border-radius: 4px;\n  }\n\n  .popover-button:focus-visible {\n    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);\n    border-radius: 4px;\n    box-sizing: border-box;\n  }\n\n  .popover-button:hover {\n    background-color: var(--lottie-player-toolbar-hover-background-color);\n  }\n\n  .popover-button-text {\n    display: flex;\n    color: #20272c;\n    flex-direction: column;\n    align-self: stretch;\n    justify-content: center;\n    font-family: inherit;\n    font-size: 14px;\n    font-style: normal;\n    font-weight: 400;\n    line-height: 150%;\n    letter-spacing: -0.28px;\n  }\n\n  .reset-btn {\n    font-size: 12px;\n    cursor: pointer;\n    font-family: inherit;\n    background: none;\n    border: none;\n    font-weight: 400;\n    line-height: 18px;\n    letter-spacing: 0em;\n    text-align: left;\n    color: #63727e;\n    padding: 0;\n    width: 31px;\n    height: 18px;\n  }\n  .reset-btn:focus-visible {\n    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);\n    border-radius: 4px;\n    box-sizing: border-box;\n  }\n  .reset-btn:hover {\n    color: #20272c;\n  }\n\n  .option-title-button {\n    display: flex;\n    flex-direction: row;\n    width: 100%;\n    height: 32px;\n    align-items: center;\n    gap: 4px;\n    align-self: stretch;\n    cursor: pointer;\n    color: var(--lottie-player-toolbar-icon-color);\n    border: none;\n    background: none;\n    padding: 4px;\n    font-family: inherit;\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 150%;\n    letter-spacing: -0.32px;\n  }\n  .option-title-button.themes {\n    width: auto;\n    padding: 0;\n  }\n  .option-title-button:hover {\n    background-color: var(--lottie-player-toolbar-icon-hover-color);\n  }\n\n  .option-title-themes-row {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    flex: 1 0 0;\n  }\n  .option-title-themes-row:hover {\n    background-color: var(--lottie-player-toolbar-icon-hover-color);\n  }\n\n  .option-title-button:focus-visible {\n    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);\n    border-radius: 4px;\n    box-sizing: border-box;\n  }\n\n  .option-title-text {\n    font-size: 16px;\n    font-style: normal;\n    font-weight: 700;\n    line-height: 150%;\n    letter-spacing: -0.32px;\n  }\n\n  .option-title-separator {\n    margin: 8px -8px;\n    border-bottom: 1px solid var(--lottie-player-options-separator);\n  }\n\n  .option-title-chevron {\n    display: flex;\n    padding: 4px;\n    border-radius: 8px;\n    justify-content: center;
1\n    align-items: center;\n    gap: 8px;\n  }\n\n  .option-row {\n    display: flex;\n    flex-direction: column;\n  }\n  .option-row > ul {\n    padding: 0;\n    margin: 0;\n  }\n\n  .option-button {\n    width: 100%;\n    background: none;\n    border: none;\n    font-family: inherit;\n    display: flex;\n    padding: 4px 8px;\n    color: #20272c;\n    overflow: hidden;\n    align-items: center;\n    gap: 8px;\n    align-self: stretch;\n    cursor: pointer;\n    height: 32px;\n    font-family: inherit;\n    font-size: 14px;\n    border-radius: 4px;\n  }\n  .option-button:hover {\n    background-color: var(--lottie-player-toolbar-hover-background-color);\n  }\n  .option-button:focus-visible {\n    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);\n    border-radius: 4px;\n    box-sizing: border-box;\n  }\n\n  .option-tick {\n    display: flex;\n    width: 24px;\n    height: 24px;\n    align-items: flex-start;\n    gap: 8px;\n  }\n\n  .seeker {\n    height: 4px;\n    width: 95%;\n    outline: none;\n    -webkit-appearance: none;\n    -moz-apperance: none;\n    border-radius: 9999px;\n    cursor: pointer;\n    background-image: linear-gradient(\n      to right,\n      rgb(0, 221, 179) calc(var(--seeker) * 1%),\n      rgb(217, 224, 230) calc(var(--seeker) * 1%)\n    );\n  }\n  .seeker.to-left {\n    background-image: linear-gradient(\n      to right,\n      rgb(217, 224, 230) calc(var(--seeker) * 1%),\n      rgb(0, 221, 179) calc(var(--seeker) * 1%)\n    );\n  }\n  .seeker::-webkit-slider-runnable-track:focus-visible {\n    color: #f07167;\n    accent-color: #00ddb3;\n  }\n\n  .seeker::-webkit-slider-runnable-track {\n    width: 100%;\n    height: 5px;\n    cursor: pointer;\n  }\n  .seeker::-webkit-slider-thumb {\n    -webkit-appearance: none;\n    height: 16px;\n    width: 16px;\n    border-radius: 50%;\n    background: var(--lottie-player-seeker-thumb-color);\n    cursor: pointer;\n    margin-top: -5px;\n  }\n  .seeker:focus-visible::-webkit-slider-thumb {\n    background: var(--lottie-player-seeker-thumb-color);\n    outline: 2px solid var(--lottie-player-seeker-track-color);\n    border: 1.5px solid #ffffff;\n  }\n  .seeker::-webkit-slider-thumb:hover {\n    background: #019d91;\n  }\n  .seeker::-moz-range-thumb {\n    appearance: none;\n    height: 16px;\n    width: 16px;\n    border-radius: 50%;\n    background: var(--lottie-player-seeker-thumb-color);\n    cursor: pointer;\n    margin-top: -5px;\n    border-color: transparent;\n  }\n  .seeker:focus-visible::-moz-range-thumb {\n    background: var(--lottie-player-seeker-thumb-color);\n    outline: 2px solid var(--lottie-player-seeker-track-color);\n    border: 1.5px solid #ffffff;\n  }\n\n  .error {\n    display: flex;\n    justify-content: center;\n    margin: auto;\n    height: 100%;\n    align-items: center;\n  }\n"])),Ql="dotlottie-player",Mi=function(){_inherits(n,Vr);var t,s,r=_createSuper(n);function n(){var t;_classCallCheck(this,n);for(var e=arguments.length,i=new Array(e),s=0;s<e;s++)i[s]=arguments[s];return _defineProperty(_assertThisInitialized(t=r.call.apply(r,[this].concat(i))),"defaultTheme",""),_defineProperty(_assertThisInitialized(t),"container",void 0),_defineProperty(_assertThisInitialized(t),"playMode",exports.PlayMode.Normal),_defineProperty(_assertThisInitialized(t),"autoplay",!1),_defineProperty(_assertThisInitialized(t),"background","transparent"),_defineProperty(_assertThisInitialized(t),"controls",!1),_defineProperty(_assertThisInitialized(t),"direction",1),_defineProperty(_assertThisInitialized(t),"hover",!1),_defineProperty(_assertThisInitialized(t),"loop",void 0),_defineProperty(_assertThisInitialized(t),"renderer","svg"),_defineProperty(_assertThisInitialized(t),"speed",1),_defineProperty(_assertThisInitialized(t),"src",void 0),_defineProperty(_assertThisInitialized(t),"intermission",0),_defineProperty(_assertThisInitialized(t),"activeAnimationId",null),_defineProperty(_assertThisInitialized(t),"light",!1),_defineProperty(_assertThisInitialized(t),"worker",!1),_defineProperty(_assertThisInitialized(t),"activeStateId",void 0),_defineProperty(_assertThisInitialized(t),"_seeker",0),_defineProperty(_assertThisInitialized(t),"_dotLottieCommonPlayer",void 0),_defineProperty(_assertThisInitialized(t),"_io",void 0),_defineProperty(_assertThisInitialized(t),"_loop",void 0),_defineProperty(_assertThisInitialized(t),"_renderer","svg"),_defineProperty(_assertThisInitialized(t),"_unsubscribeListeners",void 0),_defineProperty(_assertThisInitialized(t),"_hasMultipleAnimations",!1),_defineProperty(_assertThisInitialized(t),"_hasMultipleThemes",!1),_defineProperty(_assertThisInitialized(t),"_hasMultipleStates",!1),_defineProperty(_assertThisInitialized(t),"_popoverIsOpen",!1),_defineProperty(_assertThisInitialized(t),"_animationsTabIsOpen",!1),_defineProperty(_assertThisInitialized(t),"_statesTabIsOpen",!1),_defineProperty(_assertThisInitialized(t),"_styleTabIsOpen",!1),_defineProperty(_assertThisInitialized(t),"_themesForCurrentAnimation",[]),_defineProperty(_assertThisInitialized(t),"_statesForCurrentAnimation",[]),t}return _createClass(n,[{key:"_parseLoop",value:function(t){var e=parseInt(t,10);return Number.isInteger(e)&&0<e?this._loop=e:"string"==typeof t&&["true","false"].includes(t)?(this._loop="true"===t,this._loop):(li("loop must be a positive integer or a boolean"),!1)}},{key:"_handleSeekChange",value:function(t){t=t.currentTarget;try{var e,i=parseInt(t.value,10);this._dotLottieCommonPlayer&&(e=i/100*this._dotLottieCommonPlayer.totalFrames,this.seek(e))}catch(t){throw Ie("Error while seeking animation")}}},{key:"_initListeners",value:function(){var i=this,t=this._dotLottieCommonPlayer;void 0===t?li("player not initialized - cannot add event listeners","dotlottie-player-component"):(this._unsubscribeListeners=t.state.subscribe(function(t,e){i._seeker=t.seeker,i.requestUpdate(),e.currentState!==t.currentState&&i.dispatchEvent(new CustomEvent(t.currentState)),i.dispatchEvent(new CustomEvent(sr.Frame,{detail:{frame:t.frame,seeker:t.seeker}})),i.dispatchEvent(new CustomEvent(sr.VisibilityChange,{detail:{visibilityPercentage:t.visibilityPercentage}}))}),t.addEventListener("complete",function(){i.dispatchEvent(new CustomEvent(sr.Complete))}),t.addEventListener("loopComplete",function(){i.dispatchEvent(new CustomEvent(sr.LoopComplete))}),t.addEventListener("DOMLoaded",function(){var t=i.getManifest();t&&t.themes&&(i._themesForCurrentAnimation=t.themes.filter(function(t){return t.animations.includes(i.getCurrentAnimationId()||"")})),t&&t.states&&(i._hasMultipleStates=0<t.states.length,i._statesForCurrentAnimation=[],t.states.forEac
1h(function(t){i._statesForCurrentAnimation.push(t)})),i.dispatchEvent(new CustomEvent(sr.Ready))}),t.addEventListener("data_ready",function(){i.dispatchEvent(new CustomEvent(sr.DataReady))}),t.addEventListener("data_failed",function(){i.dispatchEvent(new CustomEvent(sr.DataFail))}),window&&window.addEventListener("click",function(t){return i._clickOutListener(t)}))}},{key:"load",value:(s=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,i,s){var r,n=this;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.shadowRoot){t.next=2;break}return t.abrupt("return");case 2:return this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.destroy(),this._dotLottieCommonPlayer=new Xn(e,this.container,{rendererSettings:null!=i?i:{scaleMode:"noScale",clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0},hover:this.hasAttribute("hover")?this.hover:void 0,renderer:this.hasAttribute("renderer")?this._renderer:void 0,loop:this.hasAttribute("loop")?this._loop:void 0,direction:this.hasAttribute("direction")?1===this.direction?1:-1:void 0,speed:this.hasAttribute("speed")?this.speed:void 0,intermission:this.hasAttribute("intermission")?Number(this.intermission):void 0,playMode:this.hasAttribute("playMode")?this.playMode:void 0,autoplay:this.hasAttribute("autoplay")?this.autoplay:void 0,activeAnimationId:this.hasAttribute("activeAnimationId")?this.activeAnimationId:void 0,defaultTheme:this.hasAttribute("defaultTheme")?this.defaultTheme:void 0,light:this.light,worker:this.worker,activeStateId:this.hasAttribute("activeStateId")?this.activeStateId:void 0}),t.next=6,this._dotLottieCommonPlayer.load(s);case 6:r=this.getManifest(),this._hasMultipleAnimations=1<this.animationCount(),r&&(r.themes&&(this._themesForCurrentAnimation=r.themes.filter(function(t){return t.animations.includes(n.getCurrentAnimationId()||"")}),this._hasMultipleThemes=0<r.themes.length),r.states)&&(this._hasMultipleStates=0<r.states.length,this._statesForCurrentAnimation=[],r.states.forEach(function(t){n._statesForCurrentAnimation.push(t)})),this._initListeners();case 8:case"end":return t.stop()}},t,this)})),function(t,e,i){return s.apply(this,arguments)})},{key:"getCurrentAnimationId",value:function(){var t;return null==(t=this._dotLottieCommonPlayer)?void 0:t.currentAnimationId}},{key:"animationCount",value:function(){var t;return this._dotLottieCommonPlayer&&(null==(t=this._dotLottieCommonPlayer.getManifest())?void 0:t.animations.length)||0}},{key:"animations",value:function(){var t;return this._dotLottieCommonPlayer&&(null==(t=this._dotLottieCommonPlayer.getManifest())?void 0:t.animations.map(function(t){return t.id}))||[]}},{key:"currentAnimation",value:function(){return this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.currentAnimationId?this._dotLottieCommonPlayer.currentAnimationId:""}},{key:"getState",value:function(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getState():Wn}},{key:"getManifest",value:function(){var t;return null==(t=this._dotLottieCommonPlayer)?void 0:t.getManifest()}},{key:"getLottie",value:function(){var t;return null==(t=this._dotLottieCommonPlayer)?void 0:t.getAnimationInstance()}},{key:"getVersions",value:function(){return{lottieWebVersion:Xn.getLottieWebVersion(),dotLottiePlayerVersion:"".concat(Zl.version)}}},{key:"previous",value:function(t){var e;null!=(e=this._dotLottieCommonPlayer)&&e.previous(t)}},{key:"next",value:function(t){var e;null!=(e=this._dotLottieCommonPlayer)&&e.next(t)}},{key:"reset",value:function(){var t;null!=(t=this._dotLottieCommonPlayer)&&t.reset()}},{key:"play",value:function(t,e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.play(t,e)}},{key:"pause",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.pause()}},{key:"stop",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stop()}},{key:"playOnShow",value:function(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnShow(t)}},{key:"stopPlayOnShow",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnShow()}},{key:"playOnScroll",value:function(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnScroll(t)}},{key:"stopPlayOnScroll",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnScroll()}},{key:"seek",value:function(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.seek(t)}},{key:"snapshot",value:function(){var t,e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return this.shadowRoot?(t=this.shadowRoot.querySelector(".animation svg"),t=(new XMLSerializer).serializeToString(t),e&&((e=document.createElement("a")).href="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(t)),e.download="download_".concat(this._seeker,".svg"),document.body.appendChild(e),e.click(),document.body.removeChild(e)),t):""}},{key:"setTheme",value:function(t){var e;null!=(e=this._dotLottieCommonPlayer)&&e.setDefaultTheme(t)}},{key:"themes",value:function(){var t;return this._dotLottieCommonPlayer&&(null==(t=null==(t=this._dotLottieCommonPlayer.getManifest())?void 0:t.themes)?void 0:t.map(function(t){return t.id}))||[]}},{key:"getDefaultTheme",value:function(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.defaultTheme:""}},{key:"getActiveStateMachine",value:function(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.activeStateId:""}},{key:"_freeze",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.freeze()}},{key:"setSpeed",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setSpeed(0<arguments.length&&void 0!==arguments[0]?arguments[0]:1)}},{key:"setDirection",value:function(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setDirection(t)}},{key:"setLooping",value:function(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setLoop(t)}},{key:"isLooping",value:function(){return!!this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.loop}},{key:"togglePlay",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.togglePlay()}},{key:"toggleLooping",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.toggleLoop()}},{key:"setPlayMode",value:function(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setMode(t)}},{key:"enterInteractiveMode",value:function(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.enterInteractiveMode(t)}},{key:"exitInteractiveMode",value:function(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.exitInteractiveMode()}},{key:"revertToManifestValues",value:function(t){var e;null!=(e=this._dotLottieCommonPlayer)&&e.revertToManifestValues(t)}},{key:"firstUpdated",value:(t=_asyncToGenerator(_regeneratorRuntime().mark(function t(){var e,i=this;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.container=null==(e=this.shadowRoot)?void 0:e.querySelector("#animation"),"IntersectionObserver"in window&&(this._io=new IntersectionObserver(function(t){void 0!==t[0]&&t[0].isIntersecting?(null==(t=i._dotLottieCommonPlayer)?void 0:t.currentState)===Ir.Frozen&&i.play():(null==(t=i._dotLottieCommonPlayer)?void 0:t.currentState)===Ir.Playing&&i._freeze()}),this._io.observe(this.container)),this.loop?this._parseLoop(this.loop):this.hasAttribute("loop")&&this._parseLoop("true"),"svg"===this.renderer?this._renderer="svg":"canvas"===this.renderer?this._renderer="canvas":"html"===this.renderer&&(this._renderer="html"),t.t0=this.src,t.t0)return t.next=8,this.load(this.src);t.next=8;break;case 8:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){var t,e=this;this._io&&(this._io.disconnect(),this._io=void 0),null!=(t=this._dotLottieCommonPlayer)&&t.destroy(),null!=(t=this._unsubscribeListeners)&&t.call(this),window&&window.removeEventListener("click",function(t){return e._clickOutListener(t)})}},{key:"_clickOutListener",value:function(t){!t.composedPath().some(function(t){return t instanceof HTMLElement&&(t.classList.contains("popover")||"lottie-animation-options"===t.id)})&&this._popoverIsOpen&&(this._popoverIsOpen=!1,this.requestUpdate())}},{key:"renderControls",value:function(){var i=this,t=(null==(t=this._dotLottieCommonPlayer)?void 0:t.currentState)===Ir.Playing,e=(null==(e=this._dotLottieCommonPlayer)?void 0:e.currentState)===Ir.Paused;
1return Ne(_templateObject2=_templateObject2||_taggedTemplateLiteral(['\n      <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">\n        ','\n        <button\n          id="lottie-play-button"\n          @click=',"\n          class=",'\n          aria-label="play / pause animation"\n        >\n          ',"\n        </button>\n        ",'\n        <input\n          id="lottie-seeker-input"\n          class="seeker ','"\n          type="range"\n          min="0"\n          step="1"\n          max="100"\n          .value=',"\n          @input=","\n          @mousedown=","\n          @mouseup=",'\n          aria-valuemin="1"\n          aria-valuemax="100"\n          role="slider"\n          aria-valuenow=','\n          aria-label="lottie-seek-input"\n          style=','\n        />\n        <button\n          id="lottie-loop-toggle"\n          @click=',"\n          class=",'\n          aria-label="loop-toggle"\n        >\n          <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n            <path\n              d="M10.8654 2.31319C11.0607 2.11793 11.3772 2.11793 11.5725 2.31319L13.4581 4.19881C13.6534 4.39407 13.6534 4.71066 13.4581 4.90592L11.5725 6.79154C11.3772 6.9868 11.0607 6.9868 10.8654 6.79154C10.6701 6.59628 10.6701 6.27969 10.8654 6.08443L11.6162 5.33362H4V6.66695C4 7.03514 3.70152 7.33362 3.33333 7.33362C2.96514 7.33362 2.66666 7.03514 2.66666 6.66695L2.66666 4.66695C2.66666 4.29876 2.96514 4.00028 3.33333 4.00028H11.8454L10.8654 3.0203C10.6701 2.82504 10.6701 2.50846 10.8654 2.31319Z"\n              fill="currentColor"\n            />\n            <path\n              d="M12.4375 11.9999C12.8057 11.9999 13.1042 11.7014 13.1042 11.3332V9.33321C13.1042 8.96502 12.8057 8.66655 12.4375 8.66655C12.0693 8.66655 11.7708 8.96502 11.7708 9.33321V10.6665H4.15462L4.90543 9.91573C5.10069 9.72047 5.10069 9.40389 4.90543 9.20862C4.71017 9.01336 4.39359 9.01336 4.19832 9.20862L2.31271 11.0942C2.11744 11.2895 2.11744 11.6061 2.31271 11.8013L4.19832 13.687C4.39359 13.8822 4.71017 13.8822 4.90543 13.687C5.10069 13.4917 5.10069 13.1751 4.90543 12.9799L3.92545 11.9999H12.4375Z"\n              fill="currentColor"\n            />\n          </svg>\n        </button>\n        ',"\n      </div>\n      ","\n    "]),this._hasMultipleAnimations?Ne(_templateObject3=_templateObject3||_taggedTemplateLiteral(["\n              <button @click=",' aria-label="Previous animation" class="btn-spacing-left">\n                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                  <path\n                    fill-rule="evenodd"\n                    clip-rule="evenodd"\n                    d="M1.69214 13.5C1.69214 13.7761 1.916 14 2.19214 14C2.46828 14 2.69214 13.7761 2.69214 13.5L2.69214 2.5C2.69214 2.22386 2.46828 2 2.19214 2C1.916 2 1.69214 2.22386 1.69214 2.5V13.5ZM12.5192 13.7828C13.1859 14.174 14.0254 13.6933 14.0254 12.9204L14.0254 3.0799C14.0254 2.30692 13.1859 1.8262 12.5192 2.21747L4.13612 7.13769C3.47769 7.52414 3.47769 8.4761 4.13612 8.86255L12.5192 13.7828Z"\n                    fill="#20272C"\n                  />\n                </svg>\n              </button>\n            ']),function(){return i.previous()}):Ne(_templateObject4=_templateObject4||_taggedTemplateLiteral([""])),function(){i.togglePlay()},(t||e?"active ":"").concat(this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"),Ne(t?_templateObject5=_templateObject5||_taggedTemplateLiteral(['\n                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                  <path\n                    d="M3.99996 2C3.26358 2 2.66663 2.59695 2.66663 3.33333V12.6667C2.66663 13.403 3.26358 14 3.99996 14H5.33329C6.06967 14 6.66663 13.403 6.66663 12.6667V3.33333C6.66663 2.59695 6.06967 2 5.33329 2H3.99996Z"\n                    fill="#20272C"\n                  />\n                  <path\n                    d="M10.6666 2C9.93025 2 9.33329 2.59695 9.33329 3.33333V12.6667C9.33329 13.403 9.93025 14 10.6666 14H12C12.7363 14 13.3333 13.403 13.3333 12.6667V3.33333C13.3333 2.59695 12.7363 2 12 2H10.6666Z"\n                    fill="#20272C"\n                  />\n                </svg>
1\n              ']):_templateObject6=_templateObject6||_taggedTemplateLiteral(['\n                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                  <path\n                    d="M3.33337 3.46787C3.33337 2.52312 4.35948 1.93558 5.17426 2.41379L12.8961 6.94592C13.7009 7.41824 13.7009 8.58176 12.8961 9.05408L5.17426 13.5862C4.35948 14.0644 3.33337 13.4769 3.33337 12.5321V3.46787Z"\n                    fill="#20272C"\n                  />\n                </svg>\n              '])),this._hasMultipleAnimations?Ne(_templateObject7=_templateObject7||_taggedTemplateLiteral(["\n              <button @click=",' aria-label="Next animation" class="btn-spacing-right">\n                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                  <path\n                    fill-rule="evenodd"\n                    clip-rule="evenodd"\n                    d="M14.3336 2.5C14.3336 2.22386 14.1097 2 13.8336 2C13.5574 2 13.3336 2.22386 13.3336 2.5V13.5C13.3336 13.7761 13.5574 14 13.8336 14C14.1097 14 14.3336 13.7761 14.3336 13.5V2.5ZM3.50618 2.21722C2.83954 1.82595 2 2.30667 2 3.07965V12.9201C2 13.6931 2.83954 14.1738 3.50618 13.7825L11.8893 8.86231C12.5477 8.47586 12.5477 7.52389 11.8893 7.13745L3.50618 2.21722Z"\n                    fill="#20272C"\n                  />\n                </svg>\n              </button>\n            ']),function(){return i.next()}):Ne(_templateObject8=_templateObject8||_taggedTemplateLiteral([""])),-1===(null==(e=this._dotLottieCommonPlayer)?void 0:e.direction)?"to-left":"",this._seeker,function(t){return i._handleSeekChange(t)}
1,function(){i._freeze()},function(){var t;null!=(t=i._dotLottieCommonPlayer)&&t.unfreeze()},this._seeker,"--seeker: ".concat(this._seeker),function(){return i.toggleLooping()},null!=(t=this._dotLottieCommonPlayer)&&t.loop?"active btn-spacing-left":"btn-spacing-left",this._hasMultipleAnimations||this._hasMultipleThemes||this._hasMultipleStates?Ne(_templateObject9=_templateObject9||_taggedTemplateLiteral(['\n              <button\n                id="lottie-animation-options"\n                @click=','\n                aria-label="options"\n                class="btn-spacing-right"\n                style=','\n              >\n                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n                  <path\n                    d="M8.33337 11.6666C7.78109 11.6666 7.33337 12.1143 7.33337 12.6666C7.33337 13.2189 7.78109 13.6666 8.33337 13.6666C8.88566 13.6666 9.33337 13.2189 9.33337 12.6666C9.33337 12.1143 8.88566 11.6666 8.33337 11.6666Z"\n                    fill="#20272C"\n                  />\n                  <path\n                    d="M7.33337 7.99992C7.33337 7.44763 7.78109 6.99992 8.33337 6.99992C8.88566 6.99992 9.33338 7.44763 9.33338 7.99992C9.33338 8.5522 8.88566 8.99992 8.33337 8.99992C7.78109 8.99992 7.33337 8.5522 7.33337 7.99992Z"\n                    fill="#20272C"\n                  />\n                  <path\n                    d="M7.33337 3.33325C7.33337 2.78097 7.78109 2.33325 8.33337 2.33325C8.88566 2.33325 9.33338 2.78097 9.33338 3.33325C9.33338 3.88554 8.88566 4.33325 8.33337 4.33325C7.78109 4.33325 7.33337 3.88554 7.33337 3.33325Z"\n                    fill="#20272C"\n                  />\n                </svg>\n              </button>\n            ']),function(){i._popoverIsOpen=!i._popoverIsOpen,i.requestUpdate()},"background-color: ".concat(this._popoverIsOpen?"var(--lottie-player-toolbar-icon-hover-color)":"")):Ne(_templateObject10=_templateObject10||_taggedTemplateLiteral([""])),this._popoverIsOpen?Ne(_templateObject11=_templateObject11||_taggedTemplateLiteral(['\n            <div\n              id="popover"\n              class="popover"\n              tabindex="0"\n              aria-label="lottie animations themes popover"\n              style="min-height: ','"\n            >\n              ',"\n              ","\n              ","\n              ","\n              ","\n              ","\n            </div>\n          "]),0<this.themes().length?"84px":"auto",this._animationsTabIsOpen||this._styleTabIsOpen||this._statesTabIsOpen?Ne(_templateObject13=_templateObject13||_taggedTemplateLiteral([""])):Ne(_templateObject12=_templateObject12||_taggedTemplateLiteral(['\n                    <button\n                      class="popover-button"\n                      tabindex="0"\n                      aria-label="animations"\n                      @click=',"\n                      @keydown=",'\n                    >\n                      <div class="popover-button-text">Animations</div>\n                      <div>\n                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n                          <path\n                            fill-rule="evenodd"\n                            clip-rule="evenodd"\n                            d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"\n                            fill="#4C5863"\n                          />\n                        </svg>\n                      </div>\n                    </button>\n                  ']),function(){i._animationsTabIsOpen=!i._animationsTabIsOpen,i.requestUpdate()},function(t){"Space"!==t.code&&"Enter"!==t.code||(i._animationsTabIsOpen=!i._animationsTabIsOpen,i.requestUpdate())}),!this._hasMultipleThemes||this._styleTabIsOpen||this._animationsTabIsOpen||this._statesTabIsOpen?"":Ne(_templateOb
1ject14=_templateObject14||_taggedTemplateLiteral([' <button\n                    class="popover-button"\n                    aria-label="Themes"\n                    @click=',"\n                    @keydown=",'\n                  >\n                    <div class="popover-button-text">Themes</div>\n                    <div>\n                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n                        <path\n                          fill-rule="evenodd"\n                          clip-rule="evenodd"\n                          d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"\n                          fill="#4C5863"\n                        />\n                      </svg>\n                    </div>\n                  </button>']),function(){i._styleTabIsOpen=!i._styleTabIsOpen,i.requestUpdate()},function(t){"Space"!==t.code&&"Enter"!==t.code||(i._styleTabIsOpen=!i._styleTabIsOpen,i.requestUpdate())}),!this._hasMultipleStates||this._styleTabIsOpen||this._animationsTabIsOpen||this._statesTabIsOpen?"":Ne(_templateObject15=_templateObject15||_taggedTemplateLiteral([' <button\n                    class="popover-button"\n                    aria-label="States"\n                    @click=',"\n                    @keydown=",'\n                  >\n                    <div class="popover-button-text">States</div>\n                    <div>\n                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n                        <path\n                          fill-rule="evenodd"\n                          clip-rule="evenodd"\n                          d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"\n                          fill="#4C5863"\n                        />\n                      </svg>\n                    </div>\n                  </button>']),function(){i._statesTabIsOpen=!i._statesTabIsOpen,i.requestUpdate()},function(t){"Space"!==t.code&&"Enter"!==t.code||(i._statesTabIsOpen=!i._statesTabIsOpen,i.requestUpdate())}),this._animationsTabIsOpen?Ne(_templateObject16=_templateObject16||_taggedTemplateLiteral(['<button\n                      class="option-title-button"\n                      aria-label="Back to main popover menu"\n                      @click=','\n                    >\n                      <div class="option-title-chevron">\n                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n                          <path\n                            fill-rule="evenodd"\n                            clip-rule="evenodd"\n                            d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"\n                            fill="#20272C"\n                          />\n                        </svg>\n                      </div>\n                      <div>Animations</div>\n                    </button>\n                    <div class="option-title-separator"></div>\n                    <div class="option-row">\n                      <ul>\n                        ',"\n                      </ul>\n                    </div> "]),function(){i._animationsTabIsOpen=!i._animationsTabIsOpen,i.requestUpdate()}
1,this.animations().map(function(e){return Ne(_templateObject17=_templateObject17||_taggedTemplateLiteral(['\n                            <li>\n                              <button\n                                class="option-button"\n                                aria-label=',"\n                                @click=","\n                                @keydown=",'\n                              >\n                                <div class="option-tick">\n                                  ',"\n                                </div>\n                                <div>","</div>\n                              </button>\n                            </li>\n                          "]),"".concat(e),function(){i._animationsTabIsOpen=!i._animationsTabIsOpen,i._popoverIsOpen=!i._popoverIsOpen,i.play(e),i.requestUpdate()},function(t){"Space"!==t.code&&"Enter"!==t.code||(i._animationsTabIsOpen=!i._animationsTabIsOpen,i._popoverIsOpen=!i._popoverIsOpen,i.play(e),i.requestUpdate())},i.currentAnimation()===e?Ne(_templateObject18=_templateObject18||_taggedTemplateLiteral(['\n                                        <svg\n                                          width="24"\n                                          height="24"\n                                          viewB
1ox="0 0 24 24"\n                                          fill="none"\n                                          xmlns="http://www.w3.org/2000/svg"\n                                        >\n                                          <path\n                                            fill-rule="evenodd"\n                                            clip-rule="evenodd"\n                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"\n                                            fill="#20272C"\n                                          />\n                                        </svg>\n                                      '])):Ne(_templateObject19=_templateObject19||_taggedTemplateLiteral(['<div style="width: 24px; height: 24px"></div>'])),e)})):Ne(_templateObject20=_templateObject20||_taggedTemplateLiteral([""])),this._styleTabIsOpen?Ne(_templateObject21=_templateObject21||_taggedTemplateLiteral(['<div class="option-title-themes-row">\n                      <button\n                        class="option-title-button themes"\n                        aria-label="Back to main popover menu"\n                        @click=','\n                      >\n                        <div class="option-title-chevron">\n                          <svg\n                            width="24"\n                            height="24"\n                            viewB
1ox="0 0 24 24"\n                            fill="none"\n                            xmlns="http://www.w3.org/2000/svg"\n                          >\n                            <path\n                              fill-rule="evenodd"\n                              clip-rule="evenodd"\n                              d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"\n                              fill="#20272C"\n                            />\n                          </svg>\n                        </div>\n                        <div class="option-title-text">Themes</div>\n                        ','\n                      </button>\n                    </div>\n                    <div class="option-title-separator"></div>\n                    <div class="option-row">\n                      <ul>\n                        ',"\n                      </ul>\n                    </div>"]),function(){i._styleTabIsOpen=!i._styleTabIsOpen,i.requestUpdate()},""===(null==(e=this._dotLottieCommonPlayer)?void 0:e.defaultTheme)?Ne(_templateObject22=_templateObject22||_taggedTemplateLiteral([""])):Ne(_templateObject23=_templateObject23||_taggedTemplateLiteral(['\n                              <button\n                                class="reset-btn"\n                                @click=',"\n                              >\n                                Reset\n                              </button>\n                            "]),function(){i.setTheme(""),i.requestUpdate()}),this._themesForCurrentAnimation.map(function(e){return Ne(_templateObject24=_templateObject24||_taggedTemplateLiteral(['\n                            <li>\n                              <button\n                                class="option-button"\n                                aria-label="','"\n                                @click=',"\n                                @keydown=",'\n                              >\n                                <div class="option-tick">\n                                  ',"\n                                </div>\n                                <div>","</div>\n                              </button>\n                            </li>\n                          "]),e.id,function(){i.setTheme(e.id)},function(t){"Space"!==t.code&&"Enter"!==t.code||i.setTheme(e.id)},i.getDefaultTheme()===e.id?Ne(_templateObject25=_templateObject25||_taggedTemplateLiteral(['\n                                        <svg\n                                          width="24"\n                                          height="24"\n                                          viewB
1ox="0 0 24 24"\n                                          fill="none"\n                                          xmlns="http://www.w3.org/2000/svg"\n                                        >\n                                          <path\n                                            fill-rule="evenodd"\n                                            clip-rule="evenodd"\n                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"\n                                            fill="#20272C"\n                                          />\n                                        </svg>\n                                      '])):Ne(_templateObject26=_templateObject26||_taggedTemplateLiteral(['<div style="width: 24px; height: 24px"></div>'])),e.id)})):Ne(_templateObject27=_templateObject27||_taggedTemplateLiteral([""])),this._statesTabIsOpen?Ne(_templateObject28=_templateObject28||_taggedTemplateLiteral(['<div class="option-title-themes-row">\n                      <button\n                        class="option-title-button themes"\n                        aria-label="Back to main popover menu"\n                        @click=','\n                      >\n                        <div class="option-title-chevron">\n                          <svg\n                            width="24"\n                            height="24"\n                            viewB
1ox="0 0 24 24"\n                            fill="none"\n                            xmlns="http://www.w3.org/2000/svg"\n                          >\n                            <path\n                              fill-rule="evenodd"\n                              clip-rule="evenodd"\n                              d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"\n                              fill="#20272C"\n                            />\n                          </svg>\n                        </div>\n                        <div class="option-title-text">States</div>\n                        <button\n                          class="reset-btn"\n                          @click=','\n                        >\n                          Reset\n                        </button>\n                      </button>\n                    </div>\n                    <div class="option-title-separator"></div>\n                    <div class="option-row">\n                      <ul>\n                        ',"\n                      </ul>\n                    </div>"]),function(){i._statesTabIsOpen=!i._statesTabIsOpen,i.requestUpdate()},function(){i.exitInteractiveMode(),i.requestUpdate()},this._statesForCurrentAnimation.map(function(e){return Ne(_templateObject29=_templateObject29||_taggedTemplateLiteral(['\n                            <li>\n                              <button\n                                class="option-button"\n                                aria-label="','"\n                                @click=',"\n                                @keydown=",'\n                              >\n                                <div class="option-tick">\n                                  ',"\n                                </div>\n                                <div>","</div>\n                              </button>\n                            </li>\n                          "]),e,function(){i.enterInteractiveMode(e)},function(t){"Space"!==t.code&&"Enter"!==t.code||i.enterInteractiveMode(e)},i.getActiveStateMachine()===e?Ne(_templateObject30=_templateObject30||_taggedTemplateLiteral(['\n                                        <svg\n                                          width="24"\n                                          height="24"\n                                          viewB
1ox="0 0 24 24"\n                                          fill="none"\n                                          xmlns="http://www.w3.org/2000/svg"\n                                        >\n                                          <path\n                                            fill-rule="evenodd"\n                                            clip-rule="evenodd"\n                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"\n                                            fill="#20272C"\n                                          />\n                                        </svg>\n                                      '])):Ne(_templateObject31=_templateObject31||_taggedTemplateLiteral(['<div style="width: 24px; height: 24px"></div>'])),e)})):Ne(_templateObject32=_templateObject32||_taggedTemplateLiteral([""]))):Ne(_templateObject33=_templateObject33||_taggedTemplateLiteral([""])))}},{key:"render",value:function(){var t=this.controls?"main controls":"main",e=this.controls?"animation controls":"animation";return Ne(_templateObject34=_templateObject34||_taggedTemplateLiteral(['\n      <div id="animation-container" class=',' lang="en" role="img" aria-label="lottie-animation-container">\n        <div id="animation" class=',' style="background:',';">\n          ',"\n        </div>\n        ","\n      </div>\n    "]),t,e,this.background,(null==(t=this._dotLottieCommonPlayer)?void 0:t.currentState)===Ir.Error?Ne(_templateObject35=_templateObject35||_taggedTemplateLiteral([' <div class="error">⚠️</div> '])):void 0,this.controls?this.renderControls():void 0)}}],[{key:"styles",get:function(){return Kl}}]),n}();Ri([Bi({type:String})],Mi.prototype,"defaultTheme",2),Ri([Ul("#animation")],Mi.prototype,"container",2),Ri([Bi()],Mi.prototype,"playMode",2),Ri([Bi({type:Boolean})],Mi.prototype,"autoplay",2),Ri([Bi({type:String})],Mi.prototype,"background",2),Ri([Bi({type:Boolean})],Mi.prototype,"controls",2),Ri([Bi({type:Number})],Mi.prototype,"direction",2),Ri([Bi({type:Boolean})],Mi.prototype,"hover",2),Ri([Bi({type:String})],Mi.prototype,"loop",2),Ri([Bi({type:String})],Mi.prototype,"renderer",2),Ri([Bi({type:Number})],Mi.prototype,"speed",2),Ri([Bi({type:String})],Mi.prototype,"src",2),Ri([Bi()],Mi.prototype,"intermission",2),Ri([Bi({type:String})],Mi.prototype,"activeAnimationId",2),Ri([Bi({type:Boolean})],Mi.prototype,"light",2),Ri([Bi({type:Boolean})],Mi.prototype,"worker",2),Ri([Bi({type:String})],Mi.prototype,"activeStateId",2),Ri([Jl()],Mi.prototype,"_seeker",2),customElements.get(Ql)||customElements.define(Ql,Mi),exports.DotLottiePlayer=Mi});

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.