1(function(D,F){typeof exports=="object"&&typeof module<"u"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):F((D=typeof globalThis<"u"?globalThis:D||self)["lottie-player"]={})})(this,function(exports){"use strict";function _asyncIterator(D){var F,B,O,G=2;for(typeof Symbol<"u"&&(B=Symbol.asyncIterator,O=Symbol.iterator);G--;){if(B&&(F=D[B])!=null)return F.call(D);if(O&&(F=D[O])!=null)return new AsyncFromSyncIterator(F.call(D));B="@@asyncIterator",O="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(D){function F(B){if(Object(B)!==B)return Promise.reject(new TypeError(B+" is not an object."));var O=B.done;return Promise.resolve(B.value).then(function(G){return{value:G,done:O}})}return AsyncFromSyncIterator=function(B){this.s=B,this.n=B.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return F(this.n.apply(this.s,arguments))},return:function(B){var O=this.s.return;return O===void 0?Promise.resolve({value:B,done:!0}):F(O.apply(this.s,arguments))},throw:function(B){var O=this.s.return;return O===void 0?Promise.reject(B):F(O.apply(this.s,arguments))}},new AsyncFromSyncIterator(D)}var REACT_ELEMENT_TYPE;function _jsx(D,F,B,O){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103);var G=D&&D.defaultProps,j=arguments.length-3;if(F||j===0||(F={children:void 0}),j===1)F.children=O;else if(j>1){for(var q=new Array(j),W=0;W<j;W++)q[W]=arguments[W+3];F.children=q}if(F&&G)for(var J in G)F[J]===void 0&&(F[J]=G[J]);else F||(F=G||{});return{$$typeof:REACT_ELEMENT_TYPE,type:D,key:B===void 0?null:""+B,ref:null,props:F,_owner:null}}function ownKeys(D,F){var B=Object.keys(D);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(D);F&&(O=O.filter(function(G){return Object.getOwnPropertyDescriptor(D,G).enumerable})),B.push.apply(B,O)}return B}function _objectSpread2(D){for(var F=1;F<arguments.length;F++){var B=arguments[F]!=null?arguments[F]:{};F%2?ownKeys(Object(B),!0).forEach(function(O){_defineProperty(D,O,B[O])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach(function(O){Object.defineProperty(D,O,Object.getOwnPropertyDescriptor(B,O))})}return D}function _typeof(D){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof(D)}function _wrapRegExp(){_wrapRegExp=function(G,j){return new B(G,void 0,j)};var D=RegExp.prototype,F=new WeakMap;function B(G,j,q){var W=new RegExp(G,j);return F.set(W,q||F.get(G)),_setPrototypeOf(W,B.prototype)}function O(G,j){var q=F.get(j);return Object.keys(q).reduce(function(W,J){return W[J]=G[q[J]],W},Object.create(null))}return _inherits(B,RegExp),B.prototype.exec=function(G){var j=D.exec.call(this,G);return j&&(j.groups=O(j,this)),j},B.prototype[Symbol.replace]=function(G,j){if(typeof j=="string"){var q=F.get(this);return D[Symbol.replace].call(this,G,j.replace(/\$<([^>]+)>/g,function(J,et){return"$"+q[et]}))}if(typeof j=="function"){var W=this;return D[Symbol.replace].call(this,G,function(){var J=arguments;return typeof J[J.length-1]!="object"&&(J=[].slice.call(J)).push(O(J,W)),j.apply(this,J)})}return D[Symbol.replace].call(this,G,j)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(D){this.wrapped=D}function _AsyncGenerator(D){var F,B;function O(j,q){try{var W=D[j](q),J=W.value,et=J instanceof _AwaitValue;Promise.resolve(et?J.wrapped:J).then(function(U){et?O(j==="return"?"return":"next",U):G(W.done?"return":"normal",U)},function(U){O("throw",U)})}catch(U){G("throw",U)}}function G(j,q){switch(j){case"return":F.resolve({value:q,done:!0});break;case"throw":F.reject(q);break;default:F.resolve({value:q,done:!1})}(F=F.next)?O(F.key,F.arg):B=null}this._invoke=function(j,q){return new Promise(function(W,J){var et={key:j,arg:q,resolve:W,reject:J,next:null};B?B=B.next=et:(F=B=et,O(j,q))})},typeof D.return!="function"&&(this.return=void 0)}function _wrapAsyncGenerator(D){return function(){return new _AsyncGenerator(D.apply(this,arguments))}}function _awaitAsyncGenerator(D){return new _AwaitValue(D)}function _asyncGeneratorDelegate(D,F){var B={},O=!1;function G(j,q){return O=!0,q=new Promise(function(W){W(D[j](q))}),{done:!1,value:F(q)}}return B[typeof Symbol<"u"&&Symbol.iterator||"@@iterator"]=function(){return this},B.next=function(j){return O?(O=!1,j):G("next",j)},typeof D.throw=="function"&&(B.throw=function(j){if(O)throw O=!1,j;return G("throw",j)}),typeof D.return=="function"&&(B.return=function(j){return O?(O=!1,j):G("return",j)}),B}function asyncGeneratorStep(D,F,B,O,G,j,q){try{var W=D[j](q),J=W.value}catch(et){return void B(et)}W.done?F(J):Promise.resolve(J).then(O,G)}function _asyncToGenerator(D){return function(){var F=this,B=arguments;return new Promise(function(O,G){var j=D.apply(F,B);function q(J){asyncGeneratorStep(j,O,G,q,W,"next",J)}function W(J){asyncGeneratorStep(j,O,G,q,W,"throw",J)}q(void 0)})}}function _classCallCheck(D,F){if(!(D instanceof F))throw new TypeError("Cannot call a class as a function")}function _defineProperties(D,F){for(var B=0;B<F.length;B++){var O=F[B];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(D,O.ke
1y,O)}}function _createClass(D,F,B){return F&&_defineProperties(D.prototype,F),B&&_defineProperties(D,B),Object.defineProperty(D,"prototype",{writable:!1}),D}function _defineEnumerableProperties(D,F){for(var B in F)(j=F[B]).configurable=j.enumerable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,B,j);if(Object.getOwnPropertySymbols)for(var O=Object.getOwnPropertySymbols(F),G=0;G<O.length;G++){var j,q=O[G];(j=F[q]).configurable=j.enumerable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,q,j)}return D}function _defaults(D,F){for(var B=Object.getOwnPropertyNames(F),O=0;O<B.length;O++){var G=B[O],j=Object.getOwnPropertyDescriptor(F,G);j&&j.configurable&&D[G]===void 0&&Object.defineProperty(D,G,j)}return D}function _defineProperty(D,F,B){return F in D?Object.defineProperty(D,F,{value:B,enumerable:!0,configurable:!0,writable:!0}):D[F]=B,D}function _extends(){return _extends=Object.assign||function(D){for(var F=1;F<arguments.length;F++){var B=arguments[F];for(var O in B)Object.prototype.hasOwnProperty.call(B,O)&&(D[O]=B[O])}return D},_extends.apply(this,arguments)}function _objectSpread(D){for(var F=1;F<arguments.length;F++){var B=arguments[F]!=null?Object(arguments[F]):{},O=Object.keys(B);typeof Object.getOwnPropertySymbols=="function"&&O.push.apply(O,Object.getOwnPropertySymbols(B).filter(function(G){return Object.getOwnPropertyDescriptor(B,G).enumerable})),O.forEach(function(G){_defineProperty(D,G,B[G])})}return D}function _inherits(D,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(F&&F.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),Object.defineProperty(D,"prototype",{writable:!1}),F&&_setPrototypeOf(D,F)}function _inheritsLoose(D,F){D.prototype=Object.create(F.prototype),D.prototype.constructor=D,_setPrototypeOf(D,F)}function _getPrototypeOf(D){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},_getPrototypeOf(D)}function _setPrototypeOf(D,F){return _setPrototypeOf=Object.setPrototypeOf||function(B,O){return B.__proto__=O,B},_setPrototypeOf(D,F)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(D,F,B){return _construct=_isNativeReflectConstruct()?Reflect.construct:function(O,G,j){var q=[null];q.push.apply(q,G);var W=new(Function.bind.apply(O,q));return j&&_setPrototypeOf(W,j.prototype),W},_construct.apply(null,arguments)}function _isNativeFunction(D){return Function.toString.call(D).indexOf("[native code]")!==-1}function _wrapNativeSuper(D){var F=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(B){if(B===null||!_isNativeFunction(B))return B;if(typeof B!="function")throw new TypeError("Super expression must either be null or a function");if(F!==void 0){if(F.has(B))return F.get(B);F.set(B,O)}function O(){return _construct(B,arguments,_getPrototypeOf(this).constructor)}return O.prototype=Object.create(B.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(O,B)},_wrapNativeSuper(D)}function _instanceof(D,F){return F!=null&&typeof Symbol<"u"&&F[Symbol.hasInstance]?!!F[Symbol.hasInstance](D):D instanceof F}function _interopRequireDefault(D){return D&&D.__esModule?D:{default:D}}function _getRequireWildcardCache(D){if(typeof WeakMap!="function")return null;var F=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function(O){return O?B:F})(D)}function _interopRequireWildcard(D,F){if(!F&&D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var B=_getRequireWildcardCache(F);if(B&&B.has(D))return B.get(D);var O={},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in D)if(j!=="default"&&Object.prototype.hasOwnProperty.call(D,j)){var q=G?Object.getOwnPropertyDescriptor(D,j):null;q&&(q.get||q.set)?Object.defineProperty(O,j,q):O[j]=D[j]}return O.default=D,B&&B.set(D,O),O}function _newArrowCheck(D,F){if(D!==F)throw new TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(D){if(D==null)throw new TypeError("Cannot destructure undefined")}function _objectWithoutPropertiesLoose(D,F){if(D==null)return{};var B,O,G={},j=Object.keys(D);for(O=0;O<j.length;O++)B=j[O],F.indexOf(B)>=0||(G[B]=D[B]);return G}function _objectWithoutProperties(D,F){if(D==null)return{};var B,O,G=_objectWithoutPropertiesLoose(D,F);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(D);for(O=0;O<j.length;O++)B=j[O],F.indexOf(B)>=0||Object.prototype.propertyIsEnumerable.call(D,B)&&(G[B]=D[B])}return G}function _assertThisInitialized(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function _possibleConstructorReturn(D,F){if(F&&(typeof F=="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(D)}function _createSuper(D){var F=_isNativeReflectConstruct();return function(){var B,O=_getPrototypeOf(D);if(F){var G=_getPrototypeOf(this).constructor;B=Reflect.construct(O,arguments,G)}else B=O.apply(this,arguments);return _possibleConstructorReturn(this,B)}}function _superPropBase(D,F){for(;!Object.prototype.hasOwnProperty.call(D,F)&&(D=_getPrototypeOf(D))!==null;);return D}function _get(){return _get=typeof Reflect<"u"&&Reflect.get?Reflect.get:function(D,F,B){var O=_superPropBase(D,F);if(O){var G=Object.getOwnPropertyDescriptor(O,F);return G.get?G.get.call(arguments.length<3?D:B):G.value}},_get.apply(this,arguments)}function set(D,F,B,O){return set=typeof Reflect<"u"&&Reflect.set?Reflect.set:function(G,j,q,W){var J,et=_superPropBase(G,j);if(et){if((J=Object.getOwnPropertyDescriptor(et,j)).set)return J.set.call(W,q),!0;if(!J.writable)return!1}if(J=Object.getOwnPropertyDescriptor(W,j)){if(!J.writable)return!1;J.value=q,Object.defineProperty(W,j,J)}else _defineProperty(W,j,q);return!0},set(D,F,B,O)}function _set(D,F,B,O,G){if(!set(D,F,B,O||D)&&G)throw new Error("failed to set property");return B}function _taggedTemplateLiteral(D,F){return F||(F=D.slice(0)),Object.freeze(Object.defineProperties(D,{raw:{value:Object.freeze(F)}}))}function _taggedTemplateLiteralLoose(D,F){return F||(F=D.slice(0)),D.raw=F,D}function _readOnlyError(D){throw new TypeError('"'+D+'" is read-only')}function _writeOnlyError(D){throw new TypeError('"'+D+'" is write-only')}function _classNameTDZError(D){throw new Error('Class "'+D+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(D){throw new ReferenceError(D+" is not defined - temporal dead zone")}function _temporalRef(D,F){return D===_temporalUndefined?_tdz(F):D}function _slicedToArray(D,F){return _arrayWithHoles(D)||_iterableToArrayLimit(D,F)||_unsupportedIterableToArray(D,F)||_nonIterableRest()}function _slicedToArrayLoose(D,F){return _arrayWithHoles(D)||_iterableToArrayLimitLoose(D,F)||_unsupportedIterableToArray(D,F)||_nonIterableRest()}function _toArray(D){return _arrayWithHoles(D)||_iterableToArray(D)||_unsupportedIterableToArray(D)||_nonIterableRest()}function _toConsumableArray(D){return _arrayWithoutHoles(D)||_iterableToArray(D)||_unsupportedIterableToArray(D)||_nonIterableSpread()}function _arrayWithoutHoles(D){if(Array.isArray(D))return _arrayLikeToArray(D)}function _arrayWithHoles(D){if(Array.isArray(D))return D}function _maybeArrayLike(D,F,B){if(F&&!Array.isArray(F)&&typeof F.length=="number"){var O=F.length;return _arrayLikeToArray(F,B!==void 0&&B<O?B:O)}return D(F,B)}function _iterableToArray(D){if(typeof Symbol<"u"&&D[Symbol.iterator]!=null||D["@@iterator"]!=null)return Array.from(D)}function _iterableToArrayLimit(D,F){var B=D==null?null:typeof Symbol<"u"&&D[Symbol.iterator]||D["@@iterator"];if(B!=null){var O,G,j=[],q=!0,W=!1;try{for(B=B.call(D);!(q=(O=B.next()).done)&&(j.push(O.value),!F||j.length!==F);q=!0);}catch(J){W=!0,G=J}finally{try{q||B.return==null||B.return()}finally{if(W)throw G}}return j}}function _iterableToArrayLimitLoose(D,F){var B=D&&(typeof Symbol<"u"&&D[Symbol.iterator]||D["@@iterator"]);if(B!=null){var O=[];for(B=B.call(D),_step;!(_step=B.next()).done&&(O.push(_step.value),!F||O.length!==F););return O}}function _unsupportedIterableToArray(D,F){if(D){if(typeof D=="str
1ing")return _arrayLikeToArray(D,F);var B=Object.prototype.toString.call(D).slice(8,-1);return B==="Object"&&D.constructor&&(B=D.constructor.name),B==="Map"||B==="Set"?Array.from(D):B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?_arrayLikeToArray(D,F):void 0}}function _arrayLikeToArray(D,F){(F==null||F>D.length)&&(F=D.length);for(var B=0,O=new Array(F);B<F;B++)O[B]=D[B];return O}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _createForOfIteratorHelper(D,F){var B=typeof Symbol<"u"&&D[Symbol.iterator]||D["@@iterator"];if(!B){if(Array.isArray(D)||(B=_unsupportedIterableToArray(D))||F&&D&&typeof D.length=="number"){B&&(D=B);var O=0,G=function(){};return{s:G,n:function(){return O>=D.length?{done:!0}:{done:!1,value:D[O++]}},e:function(J){throw J},f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j,q=!0,W=!1;return{s:function(){B=B.call(D)},n:function(){var J=B.next();return q=J.done,J},e:function(J){W=!0,j=J},f:function(){try{q||B.return==null||B.return()}finally{if(W)throw j}}}}function _createForOfIteratorHelperLoose(D,F){var B=typeof Symbol<"u"&&D[Symbol.iterator]||D["@@iterator"];if(B)return(B=B.call(D)).next.bind(B);if(Array.isArray(D)||(B=_unsupportedIterableToArray(D))||F&&D&&typeof D.length=="number"){B&&(D=B);var O=0;return function(){return O>=D.length?{done:!0}:{done:!1,value:D[O++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _skipFirstGeneratorNext(D){return function(){var F=D.apply(this,arguments);return F.next(),F}}function _toPrimitive(D,F){if(typeof D!="object"||D===null)return D;var B=D[Symbol.toPrimitive];if(B!==void 0){var O=B.call(D,F||"default");if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(F==="string"?String:Number)(D)}function _toPropertyKey(D){var F=_toPrimitive(D,"string");return typeof F=="symbol"?F:String(F)}function _initializerWarningHelper(D,F){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(D,F,B,O){B&&Object.defineProperty(D,F,{enumerable:B.enumerable,configurable:B.configurable,writable:B.writable,value:
5B.initializer?B.initializer.call(O):void 0})}function _applyDecoratedDescriptor(D,F,B,O,G){var j={};return Object.keys(O).forEach(function(q){j[q]=O[q]}),j.enumerable=!!j.enumerable,j.configurable=!!j.configurable,("value"in j||j.initializer)&&(j.writable=!0),j=B.slice().reverse().reduce(function(q,W){return W(D,F,q)||q},j),G&&j.initializer!==void 0&&(j.value=j.initializer?j.initializer.call(G):void 0,j.initializer=void 0),j.initializer===void 0&&(Object.defineProperty(D,F,j),j=null),j}_AsyncGenerator.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(D){return this._invoke("next",D)},_AsyncGenerator.prototype.throw=function(D){return this._invoke("throw",D)},_AsyncGenerator.prototype.return=function(D){return this._invoke("return",D)};var id=0;function _classPrivateFieldLooseKey(D){return"__private_"+id+++"_"+D}function _classPrivateFieldLooseBase(D,F){if(!Object.prototype.hasOwnProperty.call(D,F))throw new TypeError("attempted to use private field on non-instance");return D}function _classPrivateFieldGet(D,F){return _classApplyDescriptorGet(D,_classExtractFieldDescriptor(D,F,"get"))}function _classPrivateFieldSet(D,F,B){return _classApplyDescriptorSet(D,_classExtractFieldDescriptor(D,F,"set"),B),B}function _classPrivateFieldDestructureSet(D,F){return _classApplyDescriptorDestructureSet(D,_classExtractFieldDescriptor(D,F,"set"))}function _classExtractFieldDescriptor(D,F,B){if(!F.has(D))throw new TypeError("attempted to "+B+" private field on non-instance");return F.get(D)}function _classStaticPrivateFieldSpecGet(D,F,B){return _classCheckPrivateStaticAccess(D,F),_classCheckPrivateStaticFieldDescriptor(B,"get"),_classApplyDescriptorGet(D,B)}function _classStaticPrivateFieldSpecSet(D,F,B,O){return _classCheckPrivateStaticAccess(D,F),_classCheckPrivateStaticFieldDescriptor(B,"set"),_classApplyDescriptorSet(D,B,O),O}function _classStaticPrivateMethodGet(D,F,B){return _classCheckPrivateStaticAccess(D,F),B}function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(D,F){return F.get?F.get.call(D):F.value}function _classApplyDescriptorSet(D,F,B){if(F.set)F.set.call(D,B);else{if(!F.writable)throw new TypeError("attempted to set read only private field");F.value=B}}function _classApplyDescriptorDestructureSet(D,F){if(F.set)return"__destrObj"in F||(F.__destrObj={set value(B){F.set.call(D,B)}}),F.__destrObj;if(!F.writable)throw new TypeError("attempted to set read only private field");return F}function _classStaticPrivateFieldDestructureSet(D,F,B){return _classCheckPrivateStaticAccess(D,F),_classCheckPrivateStaticFieldDescriptor(B,"set"),_classApplyDescriptorDestructureSet(D,B)}function _classCheckPrivateStaticAccess(D,F){if(D!==F)throw new TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(D,F){if(D===void 0)throw new TypeError("attempted to "+F+" private static field before its declaration")}function _decorate(D,F,B,O){var G=_getDecoratorsApi();if(O)for(var j=0;j<O.length;j++)G=O[j](G);var q=F(function(J){G.initializeInstanceElements(J,W.elements)},B),W=G.decorateClass(_coalesceClassElements(q.d.map(_createElementDescriptor)),D);return G.initializeClassElements(q.F,W.elements),G.runClassFinishers(q.F,W.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return D};var D={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(F,B){["method","field"].forEach(function(O){B.forEach(function(G){G.kind===O&&G.placement==="own"&&this.defineClassElement(F,G)},this)},this)},initializeClassElements:function(F,B){var O=F.prototype;["method","field"].forEach(function(G){B.forEach(function(j){var q=j.placement;if(j.kind===G&&(q==="static"||q==="prototype")){var W=q==="static"?F:O;this.defineClassElement(W,j)}},this)},this)},defineClassElement:function(F,B){var O=B.descriptor;if(B.kind==="field"){var G=B.initializer;O={enumerable:O.enumerable,writable:O.writable,configurable:O.configurable,value:G===void 0?void 0:G.call(F)}}Object.defineProperty(F,B.key,O)},decorateClass:function(F,B){var O=[],G=[],j={static:[],prototype:[],own:[]};
5if(F.forEach(function(W){this.addElementPlacement(W,j)},this),F.forEach(function(W){if(!_hasDecorators(W))return O.push(W);var J=this.decorateElement(W,j);O.push(J.element),O.push.apply(O,J.extras),G.push.apply(G,J.finishers)},this),!B)return{elements:O,finishers:G};var q=this.decorateConstructor(O,B);return G.push.apply(G,q.finishers),q.finishers=G,q},addElementPlacement:function(F,B,O){var G=B[F.placement];if(!O&&G.indexOf(F.key)!==-1)throw new TypeError("Duplicated element ("+F.key+")");G.push(F.key)},decorateElement:function(F,B){for(var O=[],G=[],j=F.decorators,q=j.length-1;q>=0;q--){var W=B[F.placement];W.splice(W.indexOf(F.key),1);var J=this.fromElementDescriptor(F),et=this.toElementFinisherExtras((0,j[q])(J)||J);F=et.element,this.addElementPlacement(F,B),et.finisher&&G.push(et.finisher);var U=et.extras;if(U){for(var Q=0;Q<U.length;Q++)this.addElementPlacement(U[Q],B);O.push.apply(O,U)}}return{element:F,finishers:G,extras:O}},decorateConstructor:function(F,B){for(var O=[],G=B.length-1;G>=0;G--){var j=this.fromClassDescriptor(F),q=this.toClassDescriptor((0,B[G])(j)||j);if(q.finisher!==void 0&&O.push(q.finisher),q.elements!==void 0){F=q.elements;for(var W=0;W<F.length-1;W++)for(var J=W+1;J<F.length;J++)if(F[W].key===F[J].key&&F[W].placement===F[J].placement)throw new TypeError("Duplicated element ("+F[W].key+")")}}return{elements:F,finishers:O}},fromElementDescriptor:function(F){var B={kind:F.kind,key:F.key,placement:F.placement,descriptor:F.descriptor};return Object.defineProperty(B,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),F.kind==="field"&&(B.initializer=F.initializer),B},toElementDescriptors:function(F){if(F!==void 0)return _toArray(F).map(function(B){var O=this.toElementDescriptor(B);return this.disallowProperty(B,"finisher","An element descriptor"),this.disallowProperty(B,"extras","An element descriptor"),O},this)},toElementDescriptor:function(F){var B=String(F.kind);if(B!=="method"&&B!=="field")throw new TypeError(`An element descriptor's .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "`+B+'"');var O=_toPropertyKey(F.key),G=String(F.placement);if(G!=="static"&&G!=="prototype"&&G!=="own")throw new TypeError(`An element descriptor's .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "`+G+'"');var j=F.descriptor;this.disallowProperty(F,"elements","An element descriptor");var q={kind:B,key:O,placement:G,descriptor:Object.assign({},j)};return B!=="field"?this.disallowProperty(F,"initializer","A method descriptor"):(this.disallowProperty(j,"get","The property descriptor of a field descriptor"),this.disallowProperty(j,"set","The property descriptor of a field descriptor"),this.disallowProperty(j,"value","The property descriptor of a field descriptor"),q.initializer=F.initializer),q},toElementFinisherExtras:function(F){return{element:this.toElementDescriptor(F),finisher:_optionalCallableProperty(F,"finisher"),extras:this.toElementDescriptors(F.extras)}},fromClassDescriptor:function(F){var B={kind:"class",elements:F.map(this.fromElementDescriptor,this)};return Object.defineProperty(B,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),B},toClassDescriptor:function(F){var B=String(F.kind);if(B!=="class")throw new TypeError(`A class descriptor's .kind property must be "class", but a decorator created a class descriptor with .kind "`+B+'"');this.disallowProperty(F,"key","A class descriptor"),this.disallowProperty(F,"placement","A class descriptor"),this.disallowProperty(F,"descriptor","A class descriptor"),this.disallowProperty(F,"initializer","A class descriptor"),this.disallowProperty(F,"extras","A class descriptor");var O=_optionalCallableProperty(F,"finisher");return{elements:this.toElementDescriptors(F.elements),finisher:O}},runClassFinishers:function(F,B){for(var O=0;O<B.length;O++){var G=(0,B[O])(F);if(G!==void 0){if(typeof G!="function")throw new TypeError("Finishers must return a constructor.");F=G}}return F},disallowProperty:function(F,B,O){if(F[B]!==void 0)throw new TypeError(O+" can't have a ."+B+" property.")}};return D}function _createElementDescriptor(D){var F,B=_toPropertyKey(D.key);D.kind==="method"?F={value:D.value,writable:!0,configurable:!0,enumerable:!1}:D.kind==="get"?F={get:D.value,configurable:!0,enumerable:!1}:D.kind==="set"?F={set:D.value,configurable:!0,enumerable:!1}:D.kind==="field"&&(F={configurable:!0,writable:!0,enumerable:!0});var O={kind:D.kind==="field"?"field":"method",key:B,placement:D.static?"static":D.kind==="field"?"own":"prototype",descriptor:F};return D.decorators&&(O.decorators=D.decorators),D.kind==="field"&&(O.initializer=D.value),O}function _coalesceGetterSetter(D,F){D.descriptor.get!==void 0?F.descriptor.get=D.descriptor.get:F.descriptor.set=D.descriptor.set}function _coalesceClassElements(D){for(var F=[],B=function(q){return q.kind==="method"&&q.key===j.key&&q.placement===j.placement},O=0;O<D.length;O++){var G,j=D[O];if(j.kind==="method"&&(G=F.find(B)))if(_isDataDescriptor(j.descriptor)||_isDataDescriptor(G.descriptor)){if(_hasDecorators(j)||_hasDecorators(G))throw new ReferenceError("Duplicated methods ("+j.key+") can't be decorated.");G.descriptor=j.descriptor}else{if(_hasDecorators(j)){if(_hasDecorators(G))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+j.key+").");G.decorators=j.decorators}_coalesceGetterSetter(j,G)}else F.push(j)}return F}function _hasDecorators(D){return D.decorators&&D.decorators.length}function _isDataDescriptor(D){return D!==void 0&&!(D.value===void 0&&D.writable===void 0)}function _optionalCallableProperty(D,F){var B=D[F];if(B!==void 0&&typeof B!="function")throw new TypeError("Expected '"+F+"' to be a function");return B}function _classPrivateMethodGet(D,F,B){if(!F.has(D))throw new TypeError("attempted to get private field on non-instance");return B}function _checkPrivateRedeclaration(D,F){if(F.has(D))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldInitSpec(D,F,B){_checkPrivateRedeclaration(D,F),F.set(D,B)}function _classPrivateMethodInitSpec(D,F){_checkPrivateRedeclaration(D,F),F.add(D)}function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}/*! ***************************************************************************** 6 Copyright (c) Microsoft Corporation. 7 8 Permission to use, copy, modify, and/or distribute this software for any 9 purpose with or without fee is hereby granted. 10 11 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 12 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 13 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 15 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 16 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17 PERFORMANCE OF THIS SOFTWARE. 18 ***************************************************************************** */var _extendStatics=function(D,F){return _extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,O){B.__proto__=O}||function(B,O){for(var G in O)Object.prototype.hasOwnProperty.call(O,G)&&(B[G]=O[G])},_extendStatics(D,F)};function __extends(D,F){if(typeof F!="function"&&F!==null)throw new TypeError("Class extends value "+String(F)+" is not a constructor or null");function B(){this.constructor=D}_extendStatics(D,F),D.prototype=F===null?Object.create(F):(B.prototype=F.prototype,new B)}var _assign=function(){return _assign=Object.assign||function(D){for(var F,B=1,O=arguments.length;B<O;B++)for(var G in F=arguments[B])Object.prototype.hasOwnProperty.call(F,G)&&(D[G]=F[G]);return D},_assign.apply(this,arguments)};function __rest(D,F){var B={};for(var O in D)Object.prototype.hasOwnProperty.call(D,O)&&F.indexOf(O)<0&&(B[O]=D[O]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function"){var G=0;for(O=Object.getOwnPropertySymbols(D);G<O.length;G++)F.indexOf(O[G])<0&&Object.prototype.propertyIsEnumerable.call(D,O[G])&&(B[O[G]]=D[O[G]])}return B}function __decorate(D,F,B,O){var G,j=arguments.length,q=j<3?F:O===null?O=Object.getOwnPropertyDescriptor(F,B):O;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(D,F,B,O);else for(var W=D.length-1;W>=0;W--)(G=D[W])&&(q=(j<3?G(q):j>3?G(F,B,q):G(F,B))||q);return j>3&&q&&Object.defineProperty(F,B,q),q}function __param(D,F){return function(B,O){F(B,O,D)}}function __metadata(D,F){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(D,F)}function __awaiter(D,F,B,O){return new(B||(B=Promise))(function(G,j){function q(et){try{J(O.next(et))}catch(U){j(U)}}function W(et){try{J(O.throw(et))}catch(U){j(U)}}function J(et){var U;et.done?G(et.value):(U=et.value,U instanceof B?U:new B(function(Q){Q(U)})).then(q,W)}J((O=O.apply(D,F||[])).next())})}function __generator(D,F){var B,O,G,j,q={label:0,sent:function(){if(1&G[0])throw G[1];return G[1]},trys:[],ops:[]};return j={next:W(0),throw:W(1),return:W(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function W(J){return function(et){return function(U){if(B)throw new TypeError("Generator is already executing.");for(;q;)try{if(B=1,O&&(G=2&U[0]?O.return:U[0]?O.throw||((G=O.return)&&G.call(O),0):O.next)&&!(G=G.call(O,U[1])).done)return G;switch(O=0,G&&(U=[2&U[0],G.value]),U[0]){case 0:case 1:G=U;break;case 4:return q.label++,{value:U[1],done:!1};case 5:q.label++,O=U[1],U=[0];continue;case 7:U=q.ops.pop(),q.trys.pop();continue;default:if(G=q.trys,!((G=G.length>0&&G[G.length-1])||U[0]!==6&&U[0]!==2)){q=0;continue}if(U[0]===3&&(!G||U[1]>G[0]&&U[1]<G[3])){q.label=U[1];break}if(U[0]===6&&q.label<G[1]){q.label=G[1],G=U;break}if(G&&q.label<G[2]){q.label=G[2],q.ops.push(U);break}G[2]&&q.ops.pop(),q.trys.pop();continue}U=F.call(D,q)}catch(Q){U=[6,Q],O=0}finally{B=G=0}if(5&U[0])throw U[1];return{value:U[0]?U[1]:void 0,done:!0}}([J,et])}}}var __createBinding=Object.create?function(D,F,B,O){O===void 0&&(O=B),Object.defineProperty(D,O,{enumerable:!0,get:function(){return F[B]}})}:function(D,F,B,O){O===void 0&&(O=B),D[O]=F[B]};function __exportStar(D,F){for(var B in D)B==="default"||Object.prototype.hasOwnProperty.call(F,B)||__createBinding(F,D,B)}function __values(D){var F=typeof Symbol=="function"&&Symbol.iterator,B=F&&D[F],O=0;if(B)return B.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&O>=D.length&&(D=void 0),{value:D&&D[O++],done:!D}}};throw new TypeError(F?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(D,F){var B=typeof Symbol=="function"&&D[Symbol.iterator];if(!B)return D;var O,G,j=B.call(D),q=[];try{for(;(F===void 0||F-- >0)&&!(O=j.next()).done;)q.push(O.value)}catch(W){G={error:W}}finally{try{O&&!O.done&&(B=j.return)&&B.call(j)}finally{if(G)throw G.error}}return q}function __spread(){for(var D=[],F=0;F<arguments.length;F++)D=D.concat(__read(arguments[F]));return D}function __spreadArrays(){for(var D=0,F=0,B=arguments.length;F<B;F++)D+=arguments[F].length;var O=Array(D),G=0;for(F=0;F<B;F++)for(var j=arguments[F],q=0,W=j.length;q<W;q++,G++)O[G]=j[q];return O}function __spreadArray(D,F,B){if(B||arguments.length===2)for(var O,G=0,j=F.length;G<j;G++)!O&&G in F||(O||(O=Array.prototype.slice.call(F,0,G)),O[G]=F[G]);
vendor: 1,503 bytes, line 18
18return D.concat(O||Array.prototype.slice.call(F))}function __await(D){return this instanceof __await?(this.v=D,this):new __await(D)}function __asyncGenerator(D,F,B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var O,G=B.apply(D,F||[]),j=[];return O={},q("next"),q("throw"),q("return"),O[Symbol.asyncIterator]=function(){return this},O;function q(Q){G[Q]&&(O[Q]=function(K){return new Promise(function(tt,Z){j.push([Q,K,tt,Z])>1||W(Q,K)})})}function W(Q,K){try{(function(tt){tt.value instanceof __await?Promise.resolve(tt.value.v).then(J,et):U(j[0][2],tt)})(G[Q](K))}catch(tt){U(j[0][3],tt)}}function J(Q){W("next",Q)}function et(Q){W("throw",Q)}function U(Q,K){Q(K),j.shift(),j.length&&W(j[0][0],j[0][1])}}function __asyncDelegator(D){var F,B;return F={},O("next"),O("throw",function(G){throw G}),O("return"),F[Symbol.iterator]=function(){return this},F;function O(G,j){F[G]=D[G]?function(q){return(B=!B)?{value:__await(D[G](q)),done:G==="return"}:j?j(q):q}:j}}function __asyncValues(D){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var F,B=D[Symbol.asyncIterator];return B?B.call(D):(D=typeof __values=="function"?__values(D):D[Symbol.iterator](),F={},O("next"),O("throw"),O("return"),F[Symbol.asyncIterator]=function(){return this},F);function O(G){F[G]=D[G]&&function(j){return new Promise(function(q,W){(function(J,et,U,Q){Promise.resolve(Q).then(function(K){J({value:K,done:U})},et)})(q,W,(j=D[G](j)).done,j.value)})}}}
18function __makeTemplateObject(D,F){return Object.defineProperty?Object.defineProperty(D,"raw",{value:F}):D.raw=F,D}var __setModuleDefault=Object.create?function(D,F){Object.defineProperty(D,"default",{enumerable:!0,value:F})}:function(D,F){D.default=F};function __importStar(D){if(D&&D.__esModule)return D;var F={};if(D!=null)for(var B in D)B!=="default"&&Object.prototype.hasOwnProperty.call(D,B)&&__createBinding(F,D,B);return __setModuleDefault(F,D),F}function __importDefault(D){return D&&D.__esModule?D:{default:D}}function __classPrivateFieldGet(D,F,B,O){if(B==="a"&&!O)throw new TypeError("Private accessor was defined without a getter");if(typeof F=="function"?D!==F||!O:!F.has(D))throw new TypeError("Cannot read private member from an object whose class did not declare it");return B==="m"?O:B==="a"?O.call(D):O?O.value:F.get(D)}function __classPrivateFieldSet(D,F,B,O,G){if(O==="m")throw new TypeError("Private method is not writable");if(O==="a"&&!G)throw new TypeError("Private accessor was defined without a setter");if(typeof F=="function"?D!==F||!G:!F.has(D))throw new TypeError("Cannot write private member to an object whose class did not declare it");return O==="a"?G.call(D,B):G?G.value=B:F.set(D,B),B;/** 19 * @license 20 * Copyright 2019 Google LLC 21 * SPDX-License-Identifier: BSD-3-Clause 22 */}var t$3=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;class s$3{constructor(F,B){if(this._$cssResult$=!0,B!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=F}get styleSheet(){var F=n$5.get(this.cssText);return t$3&&F===void 0&&(n$5.set(this.cssText,F=new CSSStyleSheet),F.replaceSync(this.cssText)),F}toString(){return this.cssText}}var o$5=D=>
22new s$3(typeof D=="string"?D:D+"",e$8),r$3=function(D){for(var F=arguments.length,B=new Array(F>1?F-1:0),O=1;O<F;O++)B[O-1]=arguments[O];var G=D.length===1?D[0]:B.reduce((j,q,W)=>j+(J=>{if(J._$cssResult$===!0)return J.cssText;if(typeof J=="number")return J;throw Error("Value passed to 'css' function must be a 'css' function result: "+J+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(q)+D[W+1],D[0]);return new s$3(G,e$8)},i$3=(D,F)=>{t$3?D.adoptedStyleSheets=F.map(B=>B instanceof CSSStyleSheet?B:B.styleSheet):F.forEach(B=>{var O=document.createElement("style"),G=window.litNonce;G!==void 0&&O.setAttribute("nonce",G),O.textContent=B.cssText,D.appendChild(O)})},S$1=t$3?D=>D:D=>D instanceof CSSStyleSheet?(F=>{var B="";for(var O of F.cssRules)B+=O.cssText;return o$5(B)})(D):D,s$2,e$7=window.trustedTypes,r$2=e$7?e$7.emptyScript:"",h$2=window.reactiveElementPolyfillSupport,o$4={toAttribute(D,F){switch(F){case Boolean:D=D?r$2:null;break;case Object:case Array:D=D==null?D:JSON.stringify(D)}return D},fromAttribute(D,F){var B=D;switch(F){case Boolean:B=D!==null;break;case Number:B=D===null?null:Number(D);break;case Object:case Array:try{B=JSON.parse(D)}catch{B=null}}return B}},n$4=(D,F)=>F!==D&&(F==F||D==D),l$3={attribute:!0,type:String,converter:o$4,reflect:!1,hasChanged:n$4},t$2;class a$1 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(F){var B;(B=this.l)!==null&&B!==void 0||(this.l=[]),this.l.push(F)}static get observedAttributes(){this.finalize();var F=[];return this.elementProperties.forEach((B,O)=>{var G=this._$Eh(O,B);G!==void 0&&(this._$Eu.set(G,O),F.push(G))}),F}static createProperty(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l$3;if(B.state&&(B.attribute=!1),this.finalize(),this.elementProperties.set(F,B),!B.noAccessor&&!this.prototype.hasOwnProperty(F)){var O=typeof F=="symbol"?Symbol():"__"+F,G=this.getPropertyDescriptor(F,O,B);G!==void 0&&Object.defineProperty(this.prototype,F,G)}}static getPropertyDescriptor(F,B,O){return{get(){return this[B]},set(G){var j=this[F];this[B]=G,this.requestUpdate(F,j,O)},configurable:!0,enumerable:!0}}static getPropertyOptions(F){return this.elementProperties.get(F)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var F=Object.getPrototypeOf(this);if(F.finalize(),this.elementProperties=new Map(F.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){var B=this.properties,O=[...Object.getOwnPropertyNames(B),...Object.getOwnPropertySymbols(B)];for(var G of O)this.createProperty(G,B[G])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(F){var B=[];if(Array.isArray(F)){var O=new Set(F.flat(1/0).reverse());for(var G of O)B.unshift(S$1(G))}else F!==void 0&&B.push(S$1(F));return B}static _$Eh(F,B){var O=B.attribute;return O===!1?void 0:typeof O=="string"?O:typeof F=="string"?F.toLowerCase():void 0}o(){var F;this._$Ep=new Promise(B=>this.enableUpdating=B),this._$AL=new Map,this._$Em(),this.requestUpdate(),(F=this.constructor.l)===null||F===void 0||F.forEach(B=>B(this))}addController(F){var B,O;((B=this._$Eg)!==null&&B!==void 0?B:this._$Eg=[]).push(F),this.renderRoot!==void 0&&this.isConnected&&((O=F.hostConnected)===null||O===void 0||O.call(F))}removeController(F){var B;(B=this._$Eg)===null||B===void 0||B.splice(this._$Eg.indexOf(F)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((F,B)=>{this.hasOwnProperty(B)&&(this._$Et.set(B,this[B]),delete this[B])})}createRenderRoot(){var F,B=(F=this.shadowRoot)!==null&&F!==void 0?F:this.attachShadow(this.constructor.shadowRootOptions);return i$3(B,this.constructor.elementStyles),B}connectedCallback(){var F;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(F=this._$Eg)===null||F===void 0||F.forEach(B=>{var O;return(O=B.hostConnected)===null||O===void 0?void 0:O.call(B)})}enableUpdating(F){}disconnectedCallback(){var F;(F=this._$Eg)===null||F===void 0||F.forEach(B=>{var O;return(O=B.hostDisconnected)===null||O===void 0?void 0:O.call(B)})}attributeChangedCallback(F,B,O){this._$AK(F,O)}_$ES(F,B){var O,G,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l$3,q=this.constructor._$Eh(F,j);if(q!==void 0&&j.reflect===!0){var W=((G=(O=j.converter)===null||O===void 0?void 0:O.toAttribute)!==null&&G!==void 0?G:o$4.toAttribute)(B,j.type);this._$Ei=F,W==null?this.removeAttribute(q):this.setAttribute(q,W),this._$Ei=null}}_$AK(F,B){var O,G,j,q=this.constructor,W=q._$Eu.get(F);if(W!==void 0&&this._$Ei!==W){var J=q.getPropertyOptions(W),et=J.converter,U=(j=(G=(O=et)===null||O===void 0?void 0:O.fromAttribute)!==null&&G!==void 0?G:typeof et=="function"?et:null)!==null&&j!==void 0?j:o$4.fromAttribute;this._$Ei=W,this[W]=U(B,J.type),this._$Ei=null}}requestUpdate(F,B,O){var G=!0;F!==void 0&&(((O=O||this.constructor.getPropertyOptions(F)).hasChanged||n$4)(this[F],B)?(this._$AL.has(F)||this._$AL.set(F,B),O.reflect===!0&&this._$Ei!==F&&(this._$E_===void 0&&(this._$E_=new Map),this._$E_.set(F,O))):G=!1),!this.isUpdatePending&&G&&(this._$Ep=this._$EC())}_$EC(){var F=this;return _asyncToGenerator(function*(){F.isUpdatePending=!0;try{yield F._$Ep}catch(O){Promise.reject(O)}var B=F.scheduleUpdate();return B!=null&&(yield B),!F.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var F;if(this.isUpdatePending){this.hasUpdated,this._$Et&&(this._$Et.forEach((G,j)=>this[j]=G),this._$Et=void 0);var B=!1,O=this._$AL;try{(B=this.shouldUpdate(O))?(this.willUpdate(O),(F=this._$Eg)===null||F===void 0||F.forEach(G=>{var j;return(j=G.hostUpdate)===null||j===void 0?void 0:j.call(G)}),this.update(O)):this._$EU()}catch(G){throw B=!1,this._$EU(),G}B&&this._$AE(O)}}willUpdate(F){}_$AE(F){var B;(B=this._$Eg)===null||B===void 0||B.forEach(O=>{var G;return(G=O.hostUpdated)===null||G===void 0?void 0:G.call(O)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(F)),this.updated(F)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(F){return!0}update(F){this._$E_!==void 0&&(this._$E_.forEach((B,O)=>this._$ES(O,this[O],B)),this._$E_=void 0),this._$EU()}updated(F){}firstUpdated(F){}}a$1.finalized=!0,a$1.elementProperties=new Map,a$1.elementStyles=[],a$1.shadowRootOptions={mode:"open"},h$2==null||h$2({ReactiveElement:a$1}),((s$2=globalThis.reactiveElementVersions)!==null&&s$2!==void 0?s$2:globalThis.reactiveElementVersions=[]).push("1.2.1");var i$2=globalThis.trustedTypes,s$1=i$2?i$2.createPolicy("lit-html",{createHTML:D=>D}):void 0,e$6="lit$".concat((Math.random()+"").slice(9),"$"),o$3="?"+e$6,n$3="<".concat(o$3,">"),l$2=document,h$1=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return l$2.createComment(D)},r$1=D=>D===null||typeof D!="object"&&typeof D!="function",d=Array.isArray,u=D=>{var F;return d(D)||typeof((F=D)===null||F===void 0?void 0:F[Symbol.iterator])=="function"},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,a=/>/g,f=/>|[ \n�\r](?:([^\s"'>=/]+)([ \n�\r]*=[ \n�\r]*(?:[^ \n�\r"'`<>=]|("|')|))|$)/g,_=/'/g,m=/"/g,g=/^(?:script|style|textarea)$/i,p=D=>function(F){for(var B=arguments.length,O=new Array(B>1?B-1:0),G=1;G<B;G++)O[G-1]=arguments[G];return{_$litType$:D,strings:F,values:O}}
22,$=p(1),y=p(2),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),T=new WeakMap,x=(D,F,B)=>{var O,G,j=(O=B==null?void 0:B.renderBefore)!==null&&O!==void 0?O:F,q=j._$litPart$;if(q===void 0){var W=(G=B==null?void 0:B.renderBefore)!==null&&G!==void 0?G:null;j._$litPart$=q=new N(F.insertBefore(h$1(),W),W,void 0,B!=null?B:{})}return q._$AI(D),q},A=l$2.createTreeWalker(l$2,129,null,!1),C=(D,F)=>{for(var B,O=D.length-1,G=[],j=F===2?"<svg>":"",q=c,W=0;W<O;W++){for(var J=D[W],et=void 0,U=void 0,Q=-1,K=0;K<J.length&&(q.lastIndex=K,(U=q.exec(J))!==null);)K=q.lastIndex,q===c?U[1]==="!--"?q=v:U[1]!==void 0?q=a:U[2]!==void 0?(g.test(U[2])&&(B=RegExp("</"+U[2],"g")),q=f):U[3]!==void 0&&(q=f):q===f?U[0]===">"?(q=B!=null?B:c,Q=-1):U[1]===void 0?Q=-2:(Q=q.lastIndex-U[2].length,et=U[1],q=U[3]===void 0?f:U[3]==='"'?m:_):q===m||q===_?q=f:q===v||q===a?q=c:(q=f,B=void 0);var tt=q===f&&D[W+1].startsWith("/>")?" ":"";j+=q===c?J+n$3:Q>=0?(G.push(et),J.slice(0,Q)+"$lit$"+J.slice(Q)+e$6+tt):J+e$6+(Q===-2?(G.push(void 0),W):tt)}var Z=j+(D[O]||"<?>")+(F===2?"</svg>":"");if(!Array.isArray(D)||!D.hasOwnProperty("raw"))throw Error("invalid template strings array");return[s$1!==void 0?s$1.createHTML(Z):Z,G]};class E{constructor(F,B){var O,{strings:G,_$litType$:j}=F;this.parts=[];var q=0,W=0,J=G.length-1,et=this.parts,[U,Q]=C(G,j);if(this.el=E.createElement(U,B),A.currentNode=this.el.content,j===2){var K=this.el.content,tt=K.firstChild;tt.remove(),K.append(...tt.childNodes)}for(;(O=A.nextNode())!==null&&et.length<J;){if(O.nodeType===1){if(O.hasAttributes()){var Z=[];for(var Y of O.getAttributeNames())if(Y.endsWith("$lit$")||Y.startsWith(e$6)){var X=Q[W++];if(Z.push(Y),X!==void 0){var rt=O.getAttribute(X.toLowerCase()+"$lit$").split(e$6),it=/([.?@])?(.*)/.exec(X);et.push({type:1,index:q,name:it[2],strings:rt,ctor:it[1]==="."?M:it[1]==="?"?H:it[1]==="@"?I:S})}else et.push({type:6,index:q})}for(var at of Z)O.removeAttribute(at)}if(g.test(O.tagName)){var st=O.textContent.split(e$6),ot=st.length-1;if(ot>0){O.textContent=i$2?i$2.emptyScript:"";for(var ft=0;ft<ot;ft++)O.append(st[ft],h$1()),A.nextNode(),et.push({type:2,index:++q});O.append(st[ot],h$1())}}}else if(O.nodeType===8)if(O.data===o$3)et.push({type:2,index:q});else for(var pt=-1;(pt=O.data.indexOf(e$6,pt+1))!==-1;)et.push({type:7,index:q}),pt+=e$6.length-1;q++}}static createElement(F,B){var O=l$2.createElement("template");return O.innerHTML=F,O}}function P(D,F){var B,O,G,j,q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:D,W=arguments.length>3?arguments[3]:void 0;if(F===b)return F;var J=W!==void 0?(B=q._$Cl)===null||B===void 0?void 0:B[W]:q._$Cu,et=r$1(F)?void 0:F._$litDirective$;return(J==null?void 0:J.constructor)!==et&&((O=J==null?void 0:J._$AO)===null||O===void 0||O.call(J,!1),et===void 0?J=void 0:(J=new et(D))._$AT(D,q,W),W!==void 0?((G=(j=q)._$Cl)!==null&&G!==void 0?G:j._$Cl=[])[W]=J:q._$Cu=J),J!==void 0&&(F=P(D,J._$AS(D,F.values),J,W)),F}class V{constructor(F,B){this.v=[],this._$AN=void 0,this._$AD=F,this._$AM=B}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(F){var B,{el:{content:O},parts:G}=this._$AD,j=((B=F==null?void 0:F.creationScope)!==null&&B!==void 0?B:l$2).importNode(O,!0);A.currentNode=j;for(var q=A.nextNode(),W=0,J=0,et=G[0];et!==void 0;){if(W===et.index){var U=void 0;et.type===2?U=new N(q,q.nextSibling,this,F):et.type===1?U=new et.ctor(q,et.name,et.strings,this,F):et.type===6&&(U=new L(q,this,F)),this.v.push(U),et=G[++J]}W!==(et==null?void 0:et.index)&&(q=A.nextNode(),W++)}return j}m(F){var B=0;for(var O of this.v)O!==void 0&&(O.strings!==void 0?(O._$AI(F,O,B),B+=O.strings.length-2):O._$AI(F[B])),B++}}class N{constructor(F,B,O,G){var j;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=F,this._$AB=B,this._$AM=O,this.options=G,this._$Cg=(j=G==null?void 0:G.isConnected)===null||j===void 0||j}get _$AU(){var F,B;return(B=(F=this._$AM)===null||F===void 0?void 0:F._$AU)!==null&&B!==void 0?B:this._$Cg}get parentNode(){var F=this._$AA.parentNode,B=this._$AM;return B!==void 0&&F.nodeType===11&&(F=B.parentNode),F}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(F){F=P(this,F,arguments.length>1&&arguments[1]!==void 0?arguments[1]:this),r$1(F)?F===w||F==null||F===""?(this._$AH!==w&&this._$AR(),this._$AH=w):F!==this._$AH&&F!==b&&this.$(F):F._$litType$!==void 0?this.T(F):F.nodeType!==void 0?this.S(F):u(F)?this.A(F):this.$(F)}M(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._$AB;return this._$AA.parentNode.insertBefore(F,B)}S(F){this._$AH!==F&&(this._$AR(),this._$AH=this.M(F))}$(F){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=F:this.S(l$2.createTextNode(F)),this._$AH=F}T(F){var B,{values:O,_$litType$:G}=F,j=typeof G=="number"?this._$AC(F):(G.el===void 0&&(G.el=E.createElement(G.h,this.options)),G);if(((B=this._$AH)===null||B===void 0?void 0:B._$AD)===j)this._$AH.m(O);else{var q=new V(j,this),W=q.p(this.options);q.m(O),this.S(W),this._$AH=q}}_$AC(F){var B=T.get(F.strings);return B===void 0&&T.set(F.strings,B=new E(F)),B}A(F){d(this._$AH)||(this._$AH=[],this._$AR());var B,O=this._$AH,G=0;for(var j of F)G===O.length?O.push(B=new N(this.M(h$1()),this.M(h$1()),this,this.options)):B=O[G],B._$AI(j),G++;G<O.length&&(this._$AR(B&&B._$AB.nextSibling,G),O.length=G)}_$AR(){var F,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._$AA.nextSibling,O=arguments.length>1?arguments[1]:void 0;
22for((F=this._$AP)===null||F===void 0||F.call(this,!1,!0,O);B&&B!==this._$AB;){var G=B.nextSibling;B.remove(),B=G}}setConnected(F){var B;this._$AM===void 0&&(this._$Cg=F,(B=this._$AP)===null||B===void 0||B.call(this,F))}}class S{constructor(F,B,O,G,j){this.type=1,this._$AH=w,this._$AN=void 0,this.element=F,this.name=B,this._$AM=G,this.options=j,O.length>2||O[0]!==""||O[1]!==""?(this._$AH=Array(O.length-1).fill(new String),this.strings=O):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,O=arguments.length>2?arguments[2]:void 0,G=arguments.length>3?arguments[3]:void 0,j=this.strings,q=!1;if(j===void 0)F=P(this,F,B,0),(q=!r$1(F)||F!==this._$AH&&F!==b)&&(this._$AH=F);else{var W,J,et=F;for(F=j[0],W=0;W<j.length-1;W++)(J=P(this,et[O+W],B,W))===b&&(J=this._$AH[W]),q||(q=!r$1(J)||J!==this._$AH[W]),J===w?F=w:F!==w&&(F+=(J!=null?J:"")+j[W+1]),this._$AH[W]=J}q&&!G&&this.k(F)}k(F){F===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,F!=null?F:"")}}class M extends S{constructor(){super(...arguments),this.type=3}k(F){this.element[this.name]=F===w?void 0:F}}var k=i$2?i$2.emptyScript:"";class H extends S{constructor(){super(...arguments),this.type=4}k(F){F&&F!==w?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class I extends S{constructor(F,B,O,G,j){super(F,B,O,G,j),this.type=5}_$AI(F){var B;if((F=(B=P(this,F,arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,0))!==null&&B!==void 0?B:w)!==b){var O=this._$AH,G=F===w&&O!==w||F.capture!==O.capture||F.once!==O.once||F.passive!==O.passive,j=F!==w&&(O===w||G);G&&this.element.removeEventListener(this.name,this,O),j&&this.element.addEventListener(this.name,this,F),this._$AH=F}}handleEvent(F){var B,O;typeof this._$AH=="function"?this._$AH.call((O=(B=this.options)===null||B===void 0?void 0:B.host)!==null&&O!==void 0?O:this.element,F):this._$AH.handleEvent(F)}}class L{constructor(F,B,O){this.element=F,this.type=6,this._$AN=void 0,this._$AM=B,this.options=O}get _$AU(){return this._$AM._$AU}_$AI(F){P(this,F)}}var R={P:"$lit$",V:e$6,L:o$3,I:1,N:C,R:V,D:u,j:P,H:N,O:S,F:H,B:I,W:M,Z:L},z=window.litHtmlPolyfillSupport,l$1,o$2;z==null||z(E,N),((t$2=globalThis.litHtmlVersions)!==null&&t$2!==void 0?t$2:globalThis.litHtmlVersions=[]).push("2.1.2");var r=a$1;class s extends a$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var F,B,O=super.createRenderRoot();return(F=(B=this.renderOptions).renderBefore)!==null&&F!==void 0||(B.renderBefore=O.firstChild),O}update(F){var B=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(F),this._$Dt=x(B,this.renderRoot,this.renderOptions)}connectedCallback(){var F;super.connectedCallback(),(F=this._$Dt)===null||F===void 0||F.setConnected(!0)}disconnectedCallback(){var F;super.disconnectedCallback(),(F=this._$Dt)===null||F===void 0||F.setConnected(!1)}render(){return b}}s.finalized=!0,s._$litElement$=!0,(l$1=globalThis.litElementHydrateSupport)===null||l$1===void 0||l$1.call(globalThis,{LitElement:s});var n$2=globalThis.litElementPolyfillSupport;n$2==null||n$2({LitElement:s});var h={_$AK:(D,F,B)=>{D._$AK(F,B)},_$AL:D=>D._$AL};((o$2=globalThis.litElementVersions)!==null&&o$2!==void 0?o$2:globalThis.litElementVersions=[]).push("3.1.2");/** 23 * @license 24 * Copyright 2017 Google LLC 25 * SPDX-License-Identifier: BSD-3-Clause 26 */var n$1=D=>F=>typeof F=="function"?((B,O)=>(window.customElements.define(B,O),O))(D,F):((B,O)=>{var{kind:G,elements:j}=O;return{kind:G,elements:j,finisher(q){window.customElements.define(B,q)}}})(D,F),i$1=(D,F)=>F.kind==="method"&&F.descriptor&&!("value"in F.descriptor)?_objectSpread2(_objectSpread2({},F),{},{finisher(B){B.createProperty(F.key,D)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:F.key,initializer(){typeof F.initializer=="function"&&(this[F.key]=F.initializer.call(this))},finisher(B){B.createProperty(F.key,D)}};function e$5(D){return(F,B)=>B!==void 0?((O,G,j)=>{G.constructor.createProperty(j,O)})(D,F,B):i$1(D,F)}/** 27 * @license 28 * Copyright 2017 Google LLC 29 * SPDX-License-Identifier: BSD-3-Clause
30 */function t$1(D){return e$5(_objectSpread2(_objectSpread2({},D),{},{state:!0}))}/** 31 * @license 32 * Copyright 2017 Google LLC 33 * SPDX-License-Identifier: BSD-3-Clause 34 */var e$4=(D,F,B)=>{Object.defineProperty(F,B,D)},t=(D,F)=>({kind:"method",placement:"prototype",key:F.key,descriptor:D}),o$1=D=>{var{finisher:F,descriptor:B}=D;return(O,G)=>{var j;if(G===void 0){var q=(j=O.originalKey)!==null&&j!==void 0?j:O.key,W=B!=null?{kind:"method",placement:"prototype",key:q,descriptor:B(O.key)}:_objectSpread2(_objectSpread2({},O),{},{key:q});return F!=null&&(W.finisher=function(et){F(et,q)}),W}var J=O.constructor;B!==void 0&&Object.defineProperty(O,G,B(G)),F==null||F(J,G)}},n;/** 35 * @license 36 * Copyright 2017 Google LLC 37 * SPDX-License-Identifier: BSD-3-Clause 38 */function e$3(D){return o$1({finisher:(F,B)=>{Object.assign(F.prototype[B],D)}})}/** 39 * @license 40 * Copyright 2017 Google LLC 41 * SPDX-License-Identifier: BSD-3-Clause 42 */function i(D,F){return o$1({descriptor:B=>{var O={get(){var j,q;return(q=(j=this.renderRoot)===null||j===void 0?void 0:j.querySelector(D))!==null&&q!==void 0?q:null},enumerable:!0,configurable:!0};if(F){var G=typeof B=="symbol"?Symbol():"__"+B;O.get=function(){var j,q;return this[G]===void 0&&(this[G]=(q=(j=this.renderRoot)===null||j===void 0?void 0:j.querySelector(D))!==null&&q!==void 0?q:null),this[G]}}return O}})}/** 43 * @license 44 * Copyright 2017 Google LLC 45 * SPDX-License-Identifier: BSD-3-Clause 46 */function e$2(D){return o$1({descriptor:F=>({get(){var B,O;return(O=(B=this.renderRoot)===null||B===void 0?void 0:B.querySelectorAll(D))!==null&&O!==void 0?O:[]},enumerable:!0,configurable:!0})})}/** 47 * @license 48 * Copyright 2017 Google LLC 49 * SPDX-License-Identifier: BSD-3-Clause 50 */function e$1(D){return o$1({descriptor:F=>({get(){var B=this;return _asyncToGenerator(function*(){var O;return yield B.updateComplete,(O=B.renderRoot)===null||O===void 0?void 0:O.querySelector(D)})()},enumerable:!0,configurable:!0})})}/** 51 * @license 52 * Copyright 2021 Google LLC 53 * SPDX-License-Identifier: BSD-3-Clause 54 */var e=((n=window.HTMLSlotElement)===null||n===void 0?void 0:n.prototype.assignedElements)!=null?(D,F)=>D.assignedElements(F):(D,F)=>D.assignedNodes(F).filter(B=>B.nodeType===Node.ELEMENT_NODE);function l(D){var{slot:F,selector:B}=D!=null?D:{};return o$1({descriptor:O=>({get(){var G,j="slot"+(F?"[name=".concat(F,"]"):":not([name])"),q=(G=this.renderRoot)===null||G===void 0?void 0:G.querySelector(j),W=q!=null?e(q,D):[];return B?W.filter(J=>J.matches(B)):W},enumerable:!0,configurable:!0})})}/** 55 * @license 56 * Copyright 2017 Google LLC 57 * SPDX-License-Identifier: BSD-3-Clause 58 */function o(D,F,B){var O,G=D;return typeof D=="object"?(G=D.slot,O=D):O={flatten:F},B?l({slot:G,flatten:F,selector:B}):o$1({descriptor:j=>({get(){var q,W,J="slot"+(G?"[name=".concat(G,"]"):":not([name])"),et=(q=this.renderRoot)===null||q===void 0?void 0:q.querySelector(J);return(W=et==null?void 0:et.assignedNodes(O))!==null&&W!==void 0?W:[]},enumerable:!0,configurable:!0})})}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(D){return D&&D.__esModule&&Object.prototype.hasOwnProperty.call(D,"default")?D.default:D}function getDefaultExportFromNamespaceIfPresent(D){return D&&Object.prototype.hasOwnProperty.call(D,"default")?D.default:D}function getDefaultExportFromNamespaceIfNotNamed(D){return D&&Object.prototype.hasOwnProperty.call(D,"default")&&Object.keys(D).length===1?D.default:D}function getAugmentedNamespace(D){if(D.__esModule)return D;var F=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(D).forEach(function(B){var O=Object.getOwnPropertyDescriptor(D,B);Object.defineProperty(F,B,O.get?O:{enumerable:!0,get:function(){return D[B]}})}),F}function commonjsRequire(D){throw new Error('Could not dynamically require "'+D+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}
vendor: 5,047 bytes, line 58
58var lottie$1={exports:{}};(function(module,exports){var factory;typeof navigator<"u"&&(factory=function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(D){_useWebWorker=!!D},getWebWorker=function(){return _useWebWorker},setLocationHref=function(D){locationHref=D},getLocationHref=function(){return locationHref};function createTag(D){return document.createElement(D)}function extendPrototype(D,F){var B,O,G=D.length;for(B=0;B<G;B+=1)for(var j in O=D[B].prototype)Object.prototype.hasOwnProperty.call(O,j)&&(F.prototype[j]=O[j])}function getDescriptor(D,F){return Object.getOwnPropertyDescriptor(D,F)}function createProxyFunction(D){function F(){}return F.prototype=D,F}var audioControllerFactory=function(){function D(F){this.audios=[],this.audioFactory=F,this._volume=1,this._isMuted=!1}return D.prototype={addAudio:function(F){this.audios.push(F)},pause:function(){var F,B=this.audios.length;for(F=0;F<B;F+=1)this.audios[F].pause()},resume:function(){var F,B=this.audios.length;for(F=0;F<B;F+=1)this.audios[F].resume()},setRate:function(F){var B,O=this.audios.length;for(B=0;B<O;B+=1)this.audios[B].setRate(F)},createAudio:function(F){return this.audioFactory?this.audioFactory(F):window.Howl?new window.Howl({src:[F]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(F){this.audioFactory=F},setVolume:function(F){this._volume=F,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var F,B=this.audios.length;for(F=0;F<B;F+=1)this.audios[F].volume(this._volume*(this._isMuted?0:1))}},function(){return new D}}(),createTypedArray=function(){function D(F,B){var O,G=0,j=[];switch(F){case"int16":case"uint8c":O=1;break;default:O=1.1}for(G=0;G<B;G+=1)j.push(O);return j}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?function(F,B){return F==="float32"?new Float32Array(B):F==="int16"?new Int16Array(B):F==="uint8c"?new Uint8ClampedArray(B):D(F,B)}:D}();function createSizedArray(D){return Array.apply(null,{length:D})}function _typeof$6(D){return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof$6(D)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}(function(){var D,F=["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"],B=F.length;for(D=0;D<B;D+=1)BMMath[F[D]]=Math[F[D]]})(),BMMath.random=Math.random,BMMath.abs=function(D){if(_typeof$6(D)==="object"&&D.length){var F,B=createSizedArray(D.length),O=D.length;for(F=0;F<O;F+=1)B[F]=Math.abs(D[F]);return B}return Math.abs(D)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(D){_shouldRoundValues=!!D}function bmRnd(D){return _shouldRoundValues?Math.round(D):D}function styleDiv(D){D.style.position="absolute",D.style.top=0,D.style.left=0,D.style.display="block",D.style.transformOrigin="0 0",D.style.webkitTransformOrigin="0 0",D.style.backfaceVisibility="visible",D.style.webkitBackfaceVisibility="visible",D.style.transformStyle="preserve-3d",D.style.webkitTransformStyle="preserve-3d",D.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(D,F,B,O){this.type=D,this.currentTime=F,this.totalTime=B,this.direction=O<0?-1:1}function BMCompleteEvent(D,F){this.type=D,this.direction=F<0?-1:1}function BMCompleteLoopEvent(D,F,B,O){this.type=D,this.currentLoop=B,this.totalLoops=F,this.direction=O<0?-1:1}function BMSegmentStartEvent(D,F,B){this.type=D,this.firstFrame=F,this.totalFrames=B}function BMDestroyEvent(D,F){this.type=D,this.target=F}function BMRenderFrameErrorEvent(D,F){this.type="renderFrameError",this.nativeError=D,this.currentTime=F}function BMConfigErrorEvent(D){this.type="configError",this.nativeError=D}function BMAnimationConfigErrorEvent(D,F){this.type=D,this.nativeError=F}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(D,F,B){var O,G,j,q,W,J,et,U;switch(J=B*(1-F),et=B*(1-(W=6*D-(q=Math.floor(6*D)))*F),U=B*(1-(1-W)*F),q%6){case 0:O=B,G=U,j=J;break;case 1:O=et,G=B,j=J;break;case 2:O=J,G=B,j=U;break;case 3:O=J,G=et,j=B;break;case 4:O=U,G=J,j=B;break;case 5:O=B,G=J,j=et}return[O,G,j]}
vendor: 4,208 bytes, line 58
58function RGBtoHSV(D,F,B){var O,G=Math.max(D,F,B),j=Math.min(D,F,B),q=G-j,W=G===0?0:q/G,J=G/255;switch(G){case j:O=0;break;case D:O=F-B+q*(F<B?6:0),O/=6*q;break;case F:O=B-D+2*q,O/=6*q;break;case B:O=D-F+4*q,O/=6*q}return[O,W,J]}function addSaturationToRGB(D,F){var B=RGBtoHSV(255*D[0],255*D[1],255*D[2]);return B[1]+=F,B[1]>1?B[1]=1:B[1]<=0&&(B[1]=0),HSVtoRGB(B[0],B[1],B[2])}function addBrightnessToRGB(D,F){var B=RGBtoHSV(255*D[0],255*D[1],255*D[2]);return B[2]+=F,B[2]>1?B[2]=1:B[2]<0&&(B[2]=0),HSVtoRGB(B[0],B[1],B[2])}function addHueToRGB(D,F){var B=RGBtoHSV(255*D[0],255*D[1],255*D[2]);return B[0]+=F/360,B[0]>1?B[0]-=1:B[0]<0&&(B[0]+=1),HSVtoRGB(B[0],B[1],B[2])}var rgbToHex=function(){var D,F,B=[];for(D=0;D<256;D+=1)F=D.toString(16),B[D]=F.length===1?"0"+F:F;return function(O,G,j){return O<0&&(O=0),G<0&&(G=0),j<0&&(j=0),"#"+B[O]+B[G]+B[j]}}(),setSubframeEnabled=function(D){subframeEnabled=!!D},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(D){expressionsPlugin=D},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(D){expressionsInterfaces=D},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(D){defaultCurveSegments=D},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(D){idPrefix$1=D},getIdPrefix=function(){return idPrefix$1};function createNS(D){return document.createElementNS(svgNS,D)}function _typeof$5(D){return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof$5(D)}var dataManager=function(){var D,F,B=1,O=[],G={onmessage:function(){},postMessage:function(J){D({data:J})}},j={postMessage:function(J){G.onmessage({data:J})}};function q(){F||(F=function(J){if(window.Worker&&window.Blob&&getWebWorker()){var et=new Blob(["var _workerSelf = self; self.onmessage = ",J.toString()],{type:"text/javascript"}),U=URL.createObjectURL(et);return new Worker(U)}return D=J,G}(function(J){if(j.dataManager||(j.dataManager=function(){function U(pt,ht){var ut,ct,lt,gt,yt,dt,bt=pt.length;for(ct=0;ct<bt;ct+=1)if("ks"in(ut=pt[ct])&&!ut.completed){if(ut.completed=!0,ut.hasMask){var Pt=ut.masksProperties;for(gt=Pt.length,lt=0;lt<gt;lt+=1)if(Pt[lt].pt.k.i)tt(Pt[lt].pt.k);else for(dt=Pt[lt].pt.k.length,yt=0;yt<dt;yt+=1)Pt[lt].pt.k[yt].s&&tt(Pt[lt].pt.k[yt].s[0]),Pt[lt].pt.k[yt].e&&tt(Pt[lt].pt.k[yt].e[0])}ut.ty===0?(ut.layers=Q(ut.refId,ht),U(ut.layers,ht)):ut.ty===4?K(ut.shapes):ut.ty===5&&ot(ut)}}function Q(pt,ht){var ut=function(ct,lt){for(var gt=0,yt=lt.length;gt<yt;){if(lt[gt].id===ct)return lt[gt];gt+=1}return null}(pt,ht);return ut?ut.layers.__used?JSON.parse(JSON.stringify(ut.layers)):(ut.layers.__used=!0,ut.layers):null}function K(pt){var ht,ut,ct;for(ht=pt.length-1;ht>=0;ht-=1)if(pt[ht].ty==="sh")if(pt[ht].ks.k.i)tt(pt[ht].ks.k);else for(ct=pt[ht].ks.k.length,ut=0;ut<ct;ut+=1)pt[ht].ks.k[ut].s&&tt(pt[ht].ks.k[ut].s[0]),pt[ht].ks.k[ut].e&&tt(pt[ht].ks.k[ut].e[0]);else pt[ht].ty==="gr"&&K(pt[ht].it)}function tt(pt){var ht,ut=pt.i.length;for(ht=0;ht<ut;ht+=1)pt.i[ht][0]+=pt.v[ht][0],pt.i[ht][1]+=pt.v[ht][1],pt.o[ht][0]+=pt.v[ht][0],pt.o[ht][1]+=pt.v[ht][1]}function Z(pt,ht){var ut=ht?ht.split("."):[100,100,100];return pt[0]>ut[0]||!(ut[0]>pt[0])&&(pt[1]>ut[1]||!(ut[1]>pt[1])&&(pt[2]>ut[2]||!(ut[2]>pt[2])&&null))}var Y,X=function(){var pt=[4,4,14];function ht(ut){var ct,lt,gt,yt=ut.length;for(ct=0;ct<yt;ct+=1)ut[ct].ty===5&&(gt=void 0,gt=(lt=ut[ct]).t.d,lt.t.d={k:[{s:gt,t:0}]})}return function(ut){if(Z(pt,ut.v)&&(ht(ut.layers),ut.assets)){var ct,lt=ut.assets.length;for(ct=0;ct<lt;ct+=1)ut.assets[ct].layers&&ht(ut.assets[ct].layers)}}}(),rt=(Y=[4,7,99],function(pt){if(pt.chars&&!Z(Y,pt.v)){var ht,ut=pt.chars.length;for(ht=0;ht<ut;ht+=1){var ct=pt.chars[ht];ct.data&&ct.data.shapes&&(K(ct.data.shapes),ct.data.ip=0,ct.data.op=99999,ct.data.st=0,ct.data.sr=1,ct.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}},pt.chars[ht].t||(ct.data.shapes.push({ty:"no"}),ct.data.shapes[0].it.push({p:{k:[0,0],a:0}
58,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"})))}}}),it=function(){var pt=[5,7,15];function ht(ut){var ct,lt,gt=ut.length;for(ct=0;ct<gt;ct+=1)ut[ct].ty===5&&(lt=void 0,typeof(lt=ut[ct].t.p).a=="number"&&(lt.a={a:0,k:lt.a}),typeof lt.p=="number"&&(lt.p={a:0,k:lt.p}),typeof lt.r=="number"&&(lt.r={a:0,k:lt.r}))}return function(ut){if(Z(pt,ut.v)&&(ht(ut.layers),ut.assets)){var ct,lt=ut.assets.length;for(ct=0;ct<lt;ct+=1)ut.assets[ct].layers&&ht(ut.assets[ct].layers)}}}(),at=function(){var pt=[4,1,9];function ht(ct){var lt,gt,yt,dt=ct.length;for(lt=0;lt<dt;lt+=1)if(ct[lt].ty==="gr")ht(ct[lt].it);else if(ct[lt].ty==="fl"||ct[lt].ty==="st")if(ct[lt].c.k&&ct[lt].c.k[0].i)for(yt=ct[lt].c.k.length,gt=0;gt<yt;gt+=1)ct[lt].c.k[gt].s&&(ct[lt].c.k[gt].s[0]/=255,ct[lt].c.k[gt].s[1]/=255,ct[lt].c.k[gt].s[2]/=255,ct[lt].c.k[gt].s[3]/=255),ct[lt].c.k[gt].e&&(ct[lt].c.k[gt].e[0]/=255,ct[lt].c.k[gt].e[1]/=255,ct[lt].c.k[gt].e[2]/=255,ct[lt].c.k[gt].e[3]/=255);else ct[lt].c.k[0]/=255,ct[lt].c.k[1]/=255,ct[lt].c.k[2]/=255,ct[lt].c.k[3]/=255}function ut(ct){var lt,gt=ct.length;for(lt=0;lt<gt;lt+=1)ct[lt].ty===4&&ht(ct[lt].shapes)}return function(ct){if(Z(pt,ct.v)&&(ut(ct.layers),ct.assets)){var lt,gt=ct.assets.length;for(lt=0;lt<gt;lt+=1)ct.assets[lt].layers&&ut(ct.assets[lt].layers)}}}(),st=function(){var pt=[4,4,18];function ht(ct){var lt,gt,yt;for(lt=ct.length-1;lt>=0;lt-=1)if(ct[lt].ty==="sh")if(ct[lt].ks.k.i)ct[lt].ks.k.c=ct[lt].closed;else for(yt=ct[lt].ks.k.length,gt=0;gt<yt;gt+=1)ct[lt].ks.k[gt].s&&(ct[lt].ks.k[gt].s[0].c=ct[lt].closed),ct[lt].ks.k[gt].e&&(ct[lt].ks.k[gt].e[0].c=ct[lt].closed);else ct[lt].ty==="gr"&&ht(ct[lt].it)}function ut(ct){var lt,gt,yt,dt,bt,Pt,At=ct.length;for(gt=0;gt<At;gt+=1){if((lt=ct[gt]).hasMask){var nt=lt.masksProperties;for(dt=nt.length,yt=0;yt<dt;yt+=1)if(nt[yt].pt.k.i)nt[yt].pt.k.c=nt[yt].cl;else for(Pt=nt[yt].pt.k.length,bt=0;bt<Pt;bt+=1)nt[yt].pt.k[bt].s&&(nt[yt].pt.k[bt].s[0].c=nt[yt].cl),nt[yt].pt.k[bt].e&&(nt[yt].pt.k[bt].e[0].c=nt[yt].cl)}lt.ty===4&&ht(lt.shapes)}}return function(ct){if(Z(pt,ct.v)&&(ut(ct.layers),ct.assets)){var lt,gt=ct.assets.length;for(lt=0;lt<gt;lt+=1)ct.assets[lt].layers&&ut(ct.assets[lt].layers)}}}();function ot(pt){pt.t.a.length===0&&pt.t.p}var ft={completeData:function(pt){pt.__complete||(at(pt),X(pt),rt(pt),it(pt),st(pt),U(pt.layers,pt.assets),function(ht,ut){if(ht){var ct=0,lt=ht.length;for(ct=0;ct<lt;ct+=1)ht[ct].t===1&&(ht[ct].data.layers=Q(ht[ct].data.refId,ut),U(ht[ct].data.layers,ut))}}(pt.chars,pt.assets),pt.__complete=!0)}};return ft.checkColors=at,ft.checkChars=rt,ft.checkPathProperties=it,ft.checkShapes=st,ft.completeLayers=U,ft}()),j.assetLoader||(j.assetLoader=function(){function U(Q){var K=Q.getResponseHeader("content-type");return K&&Q.responseType==="json"&&K.indexOf("json")!==-1||Q.response&&_typeof$5(Q.response)==="object"?Q.response:Q.response&&typeof Q.response=="string"?JSON.parse(Q.response):Q.responseText?JSON.parse(Q.responseText):null}return{load:function(Q,K,tt,Z){var Y,X=new XMLHttpRequest;try{X.responseType="json"}catch{}X.onreadystatechange=function(){if(X.readyState===4)if(X.status===200)Y=U(X),tt(Y);else try{Y=U(X),tt(Y)}catch(rt){Z&&Z(rt)}};try{X.open(["G","E","T"].join(""),Q,!0)}catch{X.open(["G","E","T"].join(""),K+"/"+Q,!0)}X.send()}}}()),J.data.type==="loadAnimation")j.assetLoader.load(J.data.path,J.data.fullPath,function(U){j.dataManager.completeData(U),j.postMessage({id:J.data.id,payload:U,status:"success"})},function(){j.postMessage({id:J.data.id,status:"error"})});else if(J.data.type==="complete"){var et=J.data.animation;j.dataManager.completeData(et),j.postMessage({id:J.data.id,payload:et,status:"success"})}else J.data.type==="loadData"&&j.assetLoader.load(J.data.path,J.data.fullPath,function(U){j.postMessage({id:J.data.id,payload:U,status:"success"})},function(){j.postMessage({id:J.data.id,status:"error"})})}),F.onmessage=function(J){var et=J.data,U=et.id,Q=O[U];O[U]=null,et.status==="success"?Q.onComplete(et.payload):Q.onError&&Q.onError()})}function W(J,et){var U="processId_"+(B+=1);return O[U]={onComplete:J,onError:et},U}return{loadAnimation:function(J,et,U){q();var Q=W(et,U);F.postMessage({type:"loadAnimation",path:J,fullPath:window.location.origin+window.location.pathname,id:Q})}
vendor: 5,990 bytes, lines 58-59
58,loadData:function(J,et,U){q();var Q=W(et,U);F.postMessage({type:"loadData",path:J,fullPath:window.location.origin+window.location.pathname,id:Q})},completeAnimation:function(J,et,U){q();var Q=W(et,U);F.postMessage({type:"complete",animation:J,id:Q})}}}(),ImagePreloader=function(){var D=function(){var W=createTag("canvas");W.width=1,W.height=1;var J=W.getContext("2d");return J.fillStyle="rgba(0,0,0,0)",J.fillRect(0,0,1,1),W}();function F(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function B(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function O(W,J,et){var U="";if(W.e)U=W.p;else if(J){var Q=W.p;Q.indexOf("images/")!==-1&&(Q=Q.split("/")[1]),U=J+Q}else U=et,U+=W.u?W.u:"",U+=W.p;return U}function G(W){var J=0,et=setInterval((function(){(W.getBBox().width||J>500)&&(this._imageLoaded(),clearInterval(et)),J+=1}).bind(this),50)}function j(W){var J={assetData:W},et=O(W,this.assetsPath,this.path);return dataManager.loadData(et,(function(U){J.img=U,this._footageLoaded()}).bind(this),(function(){J.img={},this._footageLoaded()}).bind(this)),J}function q(){this._imageLoaded=F.bind(this),this._footageLoaded=B.bind(this),this.testImageLoaded=G.bind(this),this.createFootageData=j.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return q.prototype={loadAssets:function(W,J){var et;this.imagesLoadedCb=J;var U=W.length;for(et=0;et<U;et+=1)W[et].layers||(W[et].t&&W[et].t!=="seq"?W[et].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(W[et]))):(this.totalImages+=1,this.images.push(this._createImageData(W[et]))))},setAssetsPath:function(W){this.assetsPath=W||""},setPath:function(W){this.path=W||""},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(W){for(var J=0,et=this.images.length;J<et;){if(this.images[J].assetData===W)return this.images[J].img;J+=1}return null},createImgData:function(W){var J=O(W,this.assetsPath,this.path),et=createTag("img");et.crossOrigin="anonymous",et.addEventListener("load",this._imageLoaded,!1),et.addEventListener("error",(function(){U.img=D,this._imageLoaded()}).bind(this),!1),et.src=J;var U={img:et,assetData:W};return U},createImageData:function(W){var J=O(W,this.assetsPath,this.path),et=createNS("image");isSafari?this.testImageLoaded(et):et.addEventListener("load",this._imageLoaded,!1),et.addEventListener("error",(function(){U.img=D,this._imageLoaded()}).bind(this),!1),et.setAttributeNS("http://www.w3.org/1999/xlink","href",J),this._elementHelper.append?this._elementHelper.append(et):this._elementHelper.appendChild(et);var U={img:et,assetData:W};return U},imageLoaded:F,footageLoaded:B,setCacheType:function(W,J){W==="svg"?(this._elementHelper=J,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},q}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(D,F){if(this._cbs[D])for(var B=this._cbs[D],O=0;O<B.length;O+=1)B[O](F)},addEventListener:function(D,F){return this._cbs[D]||(this._cbs[D]=[]),this._cbs[D].push(F),(function(){this.removeEventListener(D,F)}).bind(this)},removeEventListener:function(D,F){if(F){if(this._cbs[D]){for(var B=0,O=this._cbs[D].length;B<O;)this._cbs[D][B]===F&&(this._cbs[D].splice(B,1),B-=1,O-=1),B+=1;this._cbs[D].length||(this._cbs[D]=null)}}else this._cbs[D]=null}};var markerParser=function(){function D(F){for(var B,O=F.split(`\r 59`),G={},j=0,q=0;q<O.length;q+=1)(B=O[q].split(":")).length===2&&(G[B[0]]=B[1].trim(),j+=1);if(j===0)throw new Error;return G}return function(F){for(var B=[],O=0;O<F.length;O+=1){var G=F[O],j={time:G.tm,duration:G.dr};try{j.payload=JSON.parse(F[O].cm)}catch{try{j.payload=D(F[O].cm)}catch{j.payload={name:F[O].cm}}}B.push(j)}return B}}(),ProjectInterface=function(){function D(F){this.compositions.push(F)}return function(){function F(B){for(var O=0,G=this.compositions.length;O<G;){if(this.compositions[O].data&&this.compositions[O].data.nm===B)return this.compositions[O].prepareFrame&&this.compositions[O].data.xt&&this.compositions[O].prepareFrame(this.currentFrame),this.compositions[O].compInterface;O+=1}return null}return F.compositions=[],F.currentFrame=0,F.registerComposition=D,F}}(),renderers={},registerRenderer=function(D,F){renderers[D]=F};function getRenderer(D){return renderers[D]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var D in renderers)if(renderers[D])return D;return""}function _typeof$4(D){return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof$4(D)}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=ne
vendor: 7,193 bytes, line 59
59w BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(D){(D.wrapper||D.container)&&(this.wrapper=D.wrapper||D.container);var F="svg";D.animType?F=D.animType:D.renderer&&(F=D.renderer);var B=getRenderer(F);this.renderer=new B(this,D.rendererSettings),this.imagePreloader.setCacheType(F,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=F,D.loop===""||D.loop===null||D.loop===void 0||D.loop===!0?this.loop=!0:D.loop===!1?this.loop=!1:this.loop=parseInt(D.loop,10),this.autoplay=!("autoplay"in D)||D.autoplay,this.name=D.name?D.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(D,"autoloadSegments")||D.autoloadSegments,this.assetsPath=D.assetsPath,this.initialSegment=D.initialSegment,D.audioFactory&&this.audioController.setAudioFactory(D.audioFactory),D.animationData?this.setupAnimation(D.animationData):D.path&&(D.path.lastIndexOf("\\")!==-1?this.path=D.path.substr(0,D.path.lastIndexOf("\\")+1):this.path=D.path.substr(0,D.path.lastIndexOf("/")+1),this.fileName=D.path.substr(D.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(D.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(D){dataManager.completeAnimation(D,this.configAnimation)},AnimationItem.prototype.setData=function(D,F){F&&_typeof$4(F)!=="object"&&(F=JSON.parse(F));var B={wrapper:D,animationData:F},O=D.attributes;B.path=O.getNamedItem("data-animation-path")?O.getNamedItem("data-animation-path").value:O.getNamedItem("data-bm-path")?O.getNamedItem("data-bm-path").value:O.getNamedItem("bm-path")?O.getNamedItem("bm-path").value:"",B.animType=O.getNamedItem("data-anim-type")?O.getNamedItem("data-anim-type").value:O.getNamedItem("data-bm-type")?O.getNamedItem("data-bm-type").value:O.getNamedItem("bm-type")?O.getNamedItem("bm-type").value:O.getNamedItem("data-bm-renderer")?O.getNamedItem("data-bm-renderer").value:O.getNamedItem("bm-renderer")?O.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var G=O.getNamedItem("data-anim-loop")?O.getNamedItem("data-anim-loop").value:O.getNamedItem("data-bm-loop")?O.getNamedItem("data-bm-loop").value:O.getNamedItem("bm-loop")?O.getNamedItem("bm-loop").value:"";G==="false"?B.loop=!1:G==="true"?B.loop=!0:G!==""&&(B.loop=parseInt(G,10));var j=O.getNamedItem("data-anim-autoplay")?O.getNamedItem("data-anim-autoplay").value:O.getNamedItem("data-bm-autoplay")?O.getNamedItem("data-bm-autoplay").value:!O.getNamedItem("bm-autoplay")||O.getNamedItem("bm-autoplay").value;B.autoplay=j!=="false",B.name=O.getNamedItem("data-name")?O.getNamedItem("data-name").value:O.getNamedItem("data-bm-name")?O.getNamedItem("data-bm-name").value:O.getNamedItem("bm-name")?O.getNamedItem("bm-name").value:"",(O.getNamedItem("data-anim-prerender")?O.getNamedItem("data-anim-prerender").value:O.getNamedItem("data-bm-prerender")?O.getNamedItem("data-bm-prerender").value:O.getNamedItem("bm-prerender")?O.getNamedItem("bm-prerender").value:"")==="false"&&(B.prerender=!1),B.path?this.setParams(B):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(D){D.op>this.animationData.op&&(this.animationData.op=D.op,this.totalFrames=Math.floor(D.op-this.animationData.ip));var F,B,O=this.animationData.layers,G=O.length,j=D.layers,q=j.length;for(B=0;B<q;B+=1)for(F=0;F<G;){if(O[F].id===j[B].id){O[F]=j[B];break}F+=1}if((D.chars||D.fonts)&&(this.renderer.globalData.fontManager.addChars(D.chars),this.renderer.globalData.fontManager.addFonts(D.fonts,this.renderer.globalData.defs)),D.assets)for(G=D.assets.length,F=0;F<G;F+=1)this.animationData.assets.push(D.assets[F]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(D){this.animationData=D;var F=getExpressionsPlugin();F&&F.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var D=this.animationData.segments;if(!D||D.length===0||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var F=D.shift();this.timeCompleted=F.time*this.frameRate;var B=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(B,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(D){if(this.renderer)try{this.animationData=D,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(D),D.assets||(D.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(D.assets),this.markers=markerParser(D.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(F){this.triggerConfigError(F)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var D=getExpressionsPlugin();D&&D.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(D,F){var B=typeof D=="number"?D:void 0,O=typeof F=="number"?F:void 0;this.renderer.updateContainerSize(B,O)},AnimationItem.prototype.setSubframe=function(D){this.isSubframeEnabled=!!D},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(this.isLoaded!==!1&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame
vendor: 4,157 bytes, line 59
59(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(D){this.triggerRenderFrameError(D)}},AnimationItem.prototype.play=function(D){D&&this.name!==D||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(D){D&&this.name!==D||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(D){D&&this.name!==D||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(D){D&&this.name!==D||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(D){for(var F,B=0;B<this.markers.length;B+=1)if((F=this.markers[B]).payload&&F.payload.name===D)return F;return null},AnimationItem.prototype.goToAndStop=function(D,F,B){if(!B||this.name===B){var O=Number(D);if(isNaN(O)){var G=this.getMarkerData(D);G&&this.goToAndStop(G.time,!0)}else F?this.setCurrentRawFrameValue(D):this.setCurrentRawFrameValue(D*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(D,F,B){if(!B||this.name===B){var O=Number(D);if(isNaN(O)){var G=this.getMarkerData(D);G&&(G.duration?this.playSegments([G.time,G.time+G.duration],!0):this.goToAndStop(G.time,!0))}else this.goToAndStop(O,F,B);this.play()}},AnimationItem.prototype.advanceTime=function(D){if(this.isPaused!==!0&&this.isLoaded!==!1){var F=this.currentRawFrame+D*this.frameModifier,B=!1;F>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?F>=this.totalFrames?(this.playCount+=1,this.checkSegments(F%this.totalFrames)||(this.setCurrentRawFrameValue(F%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(F):this.checkSegments(F>this.totalFrames?F%this.totalFrames:0)||(B=!0,F=this.totalFrames-1):F<0?this.checkSegments(F%this.totalFrames)||(!this.loop||this.playCount--<=0&&this.loop!==!0?(B=!0,F=0):(this.setCurrentRawFrameValue(this.totalFrames+F%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(F),B&&(this.setCurrentRawFrameValue(F),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(D,F){this.playCount=0,D[1]<D[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=D[0]-D[1],this.timeCompleted=this.totalFrames,this.firstFrame=D[1],this.setCurrentRawFrameValue(this.totalFrames-.001-F)):D[1]>D[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=D[1]-D[0],this.timeCompleted=this.totalFrames,this.firstFrame=D[0],this.setCurrentRawFrameValue(.001+F)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(D,F){var B=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<D?B=D:this.currentRawFrame+this.firstFrame>F&&(B=F-D)),this.firstFrame=D,this.totalFrames=F-D,this.timeCompleted=this.totalFrames,B!==-1&&this.goToAndStop(B,!0)},AnimationItem.prototype.playSegments=function(D,F){if(F&&(this.segments.length=0),_typeof$4(D[0])==="object"){var B,O=D.length;for(B=0;B<O;B+=1)this.segments.push(D[B])}else this.segments.push(D);this.segments.length&&F&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(D){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),D&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(D){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),D),!0)},AnimationItem.prototype.destroy=function(D){D&&this.name!==D||!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)}
vendor: 7,361 bytes, line 59
59,AnimationItem.prototype.setCurrentRawFrameValue=function(D){this.currentRawFrame=D,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(D){this.playSpeed=D,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(D){this.playDirection=D<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(D){this.loop=D},AnimationItem.prototype.setVolume=function(D,F){F&&this.name!==F||this.audioController.setVolume(D)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(D){D&&this.name!==D||this.audioController.mute()},AnimationItem.prototype.unmute=function(D){D&&this.name!==D||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(D){var F="";if(D.e)F=D.p;else if(this.assetsPath){var B=D.p;B.indexOf("images/")!==-1&&(B=B.split("/")[1]),F=this.assetsPath+B}else F=this.path,F+=D.u?D.u:"",F+=D.p;return F},AnimationItem.prototype.getAssetData=function(D){for(var F=0,B=this.assets.length;F<B;){if(D===this.assets[F].id)return this.assets[F];F+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(D){return D?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(D,F,B){try{this.renderer.getElementByPath(D).updateDocumentData(F,B)}catch{}},AnimationItem.prototype.trigger=function(D){if(this._cbs&&this._cbs[D])switch(D){case"enterFrame":this.triggerEvent(D,new BMEnterFrameEvent(D,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(D,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(D,new BMCompleteLoopEvent(D,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(D,new BMCompleteEvent(D,this.frameMult));break;case"segmentStart":this.triggerEvent(D,new BMSegmentStartEvent(D,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(D,new BMDestroyEvent(D,this));break;default:this.triggerEvent(D)}D==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(D,this.currentFrame,this.totalFrames,this.frameMult)),D==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(D,this.loop,this.playCount,this.frameMult)),D==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(D,this.frameMult)),D==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(D,this.firstFrame,this.totalFrames)),D==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(D,this))},AnimationItem.prototype.triggerRenderFrameError=function(D){var F=new BMRenderFrameErrorEvent(D,this.currentFrame);this.triggerEvent("error",F),this.onError&&this.onError.call(this,F)},AnimationItem.prototype.triggerConfigError=function(D){var F=new BMConfigErrorEvent(D,this.currentFrame);this.triggerEvent("error",F),this.onError&&this.onError.call(this,F)};var animationManager=function(){var D={},F=[],B=0,O=0,G=0,j=!0,q=!1;function W(Y){for(var X=0,rt=Y.target;X<O;)F[X].animation===rt&&(F.splice(X,1),X-=1,O-=1,rt.isPaused||U()),X+=1}function J(Y,X){if(!Y)return null;for(var rt=0;rt<O;){if(F[rt].elem===Y&&F[rt].elem!==null)return F[rt].animation;rt+=1}var it=new AnimationItem;return Q(it,Y),it.setData(Y,X),it}function et(){G+=1,Z()}function U(){G-=1}function Q(Y,X){Y.addEventListener("destroy",W),Y.addEventListener("_active",et),Y.addEventListener("_idle",U),F.push({elem:X,animation:Y}),O+=1}function K(Y){var X,rt=Y-B;for(X=0;X<O;X+=1)F[X].animation.advanceTime(rt);B=Y,G&&!q?window.requestAnimationFrame(K):j=!0}function tt(Y){B=Y,window.requestAnimationFrame(K)}function Z(){!q&&G&&j&&(window.requestAnimationFrame(tt),j=!1)}return D.registerAnimation=J,D.loadAnimation=function(Y){var X=new AnimationItem;return Q(X,null),X.setParams(Y),X},D.setSpeed=function(Y,X){var rt;for(rt=0;rt<O;rt+=1)F[rt].animation.setSpeed(Y,X)},D.setDirection=function(Y,X){var rt;for(rt=0;rt<O;rt+=1)F[rt].animation.setDirection(Y,X)},D.play=function(Y){var X;for(X=0;X<O;X+=1)F[X].animation.play(Y)},D.pause=function(Y){var X;for(X=0;X<O;X+=1)F[X].animation.pause(Y)},D.stop=function(Y){var X;for(X=0;X<O;X+=1)F[X].animation.stop(Y)},D.togglePause=function(Y){var X;for(X=0;X<O;X+=1)F[X].animation.togglePause(Y)},D.searchAnimations=function(Y,X,rt){var it,at=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),st=at.length;for(it=0;it<st;it+=1)rt&&at[it].setAttribute("data-bm-type",rt),J(at[it],Y);if(X&&st===0){rt||(rt="svg");var ot=document.getElementsByTagName("body")[0];ot.innerText="";var ft=createTag("div");ft.style.width="100%",ft.style.height="100%",ft.setAttribute("data-bm-type",rt),ot.appendChild(ft),J(ft,Y)}},D.resize=function(){var Y;for(Y=0;Y<O;Y+=1)F[Y].animation.resize()},D.goToAndStop=function(Y,X,rt){var it;for(it=0;it<O;it+=1)F[it].animation.goToAndStop(Y,X,rt)},D.destroy=function(Y){var X;for(X=O-1;X>=0;X-=1)F[X].animation.destroy(Y)},D.freeze=function(){q=!0},D.unfreeze=function(){q=!1,Z()},D.setVolume=function(Y,X){var rt;for(rt=0;rt<O;rt+=1)F[rt].animation.setVolume(Y,X)},D.mute=function(Y){var X;for(X=0;X<O;X+=1)F[X].animation.mute(Y)},D.unmute=function(Y){var X;for(X=0;X<O;X+=1)F[X].animation.unmute(Y)},D.getRegisteredAnimations=function(){var Y,X=F.length,rt=[];for(Y=0;Y<X;Y+=1)rt.push(F[Y].animation);return rt},D}(),BezierFactory=function(){var D={getBezierEasing:function(U,Q,K,tt,Z){var Y=Z||("bez_"+U+"_"+Q+"_"+K+"_"+tt).replace(/\./g,"p");if(F[Y])return F[Y];var X=new et([U,Q,K,tt]);return F[Y]=X,X}},F={},B=.1,O=typeof Float32Array=="function";function G(U,Q){return 1-3*Q+3*U}function j(U,Q){return 3*Q-6*U}function q(U){return 3*U}function W(U,Q,K){return((G(Q,K)*U+j(Q,K))*U+q(Q))*U}function J(U,Q,K){return 3*G(Q,K)*U*U+2*j(Q,K)*U+q(Q)}function et(U){this._p=U,this._mSampleValues=O?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return et.prototype={get:function(U){var Q=this._p[0],K=this._p[1],tt=this._p[2],Z=this._p[3];return this._precomputed||this._precompute(),Q===K&&tt===Z?U:U===0?0:U===1?1:W(this._getTForX(U),K,Z)},_precompute:function(){var U=this._p[0],Q=this._p[1],K=this._p[2],tt=this._p[3];this._precomputed=!0,U===Q&&K===tt||this._calcSampleValues()},_calcSampleValues:function(){for(var U=this._p[0],Q=this._p[2],K=0;K<11;++K)this._mSampleValues[K]=W(K*B,U,Q)},_getTForX:function(U){for(var Q=this._p[0],K=this._p[2],tt=this._mSampleValues,Z=0,Y=1;Y!==10&&tt[Y]<=U;++Y)Z+=B;var X=Z+(U-tt[--Y])/(tt[Y+1]-tt[Y])*B,rt=J(X,Q,K);return rt>=.001?function(it,at,st,ot){for(var ft=0;ft<4;++ft){var pt=J(at,st,ot);if(pt===0)return at;at-=(W(at,st,ot)-it)/pt}return at}(U,X,Q,K):rt===0?X:function(it,at,st,ot,ft){var pt,ht,ut=0;do(pt=W(ht=at+(st-at)/2,ot,ft)-it)>0?st=ht:at=ht;
vendor: 4,965 bytes, line 59
59while(Math.abs(pt)>1e-7&&++ut<10);return ht}(U,Z,Z+B,Q,K)}},D}(),pooling={double:function(D){return D.concat(createSizedArray(D.length))}},poolFactory=function(D,F,B){var O=0,G=D,j=createSizedArray(G);return{newElement:function(){return O?j[O-=1]:F()},release:function(q){O===G&&(j=pooling.double(j),G*=2),B&&B(q),j[O]=q,O+=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(D){var F,B=D.lengths.length;for(F=0;F<B;F+=1)bezierLengthPool.release(D.lengths[F]);D.lengths.length=0});function bezFunction(){var D=Math;function F(et,U,Q,K,tt,Z){var Y=et*K+U*tt+Q*Z-tt*K-Z*et-Q*U;return Y>-.001&&Y<.001}var B=function(et,U,Q,K){var tt,Z,Y,X,rt,it,at=getDefaultCurveSegments(),st=0,ot=[],ft=[],pt=bezierLengthPool.newElement();for(Y=Q.length,tt=0;tt<at;tt+=1){for(rt=tt/(at-1),it=0,Z=0;Z<Y;Z+=1)X=bmPow(1-rt,3)*et[Z]+3*bmPow(1-rt,2)*rt*Q[Z]+3*(1-rt)*bmPow(rt,2)*K[Z]+bmPow(rt,3)*U[Z],ot[Z]=X,ft[Z]!==null&&(it+=bmPow(ot[Z]-ft[Z],2)),ft[Z]=ot[Z];it&&(st+=it=bmSqrt(it)),pt.percents[tt]=rt,pt.lengths[tt]=st}return pt.addedLength=st,pt};function O(et){this.segmentLength=0,this.points=new Array(et)}function G(et,U){this.partialLength=et,this.point=U}var j,q=(j={},function(et,U,Q,K){var tt=(et[0]+"_"+et[1]+"_"+U[0]+"_"+U[1]+"_"+Q[0]+"_"+Q[1]+"_"+K[0]+"_"+K[1]).replace(/\./g,"p");if(!j[tt]){var Z,Y,X,rt,it,at,st,ot=getDefaultCurveSegments(),ft=0,pt=null;et.length===2&&(et[0]!==U[0]||et[1]!==U[1])&&F(et[0],et[1],U[0],U[1],et[0]+Q[0],et[1]+Q[1])&&F(et[0],et[1],U[0],U[1],U[0]+K[0],U[1]+K[1])&&(ot=2);var ht=new O(ot);for(X=Q.length,Z=0;Z<ot;Z+=1){for(st=createSizedArray(X),it=Z/(ot-1),at=0,Y=0;Y<X;Y+=1)rt=bmPow(1-it,3)*et[Y]+3*bmPow(1-it,2)*it*(et[Y]+Q[Y])+3*(1-it)*bmPow(it,2)*(U[Y]+K[Y])+bmPow(it,3)*U[Y],st[Y]=rt,pt!==null&&(at+=bmPow(st[Y]-pt[Y],2));ft+=at=bmSqrt(at),ht.points[Z]=new G(at,st),pt=st}ht.segmentLength=ft,j[tt]=ht}return j[tt]});function W(et,U){var Q=U.percents,K=U.lengths,tt=Q.length,Z=bmFloor((tt-1)*et),Y=et*U.addedLength,X=0;if(Z===tt-1||Z===0||Y===K[Z])return Q[Z];for(var rt=K[Z]>Y?-1:1,it=!0;it;)if(K[Z]<=Y&&K[Z+1]>Y?(X=(Y-K[Z])/(K[Z+1]-K[Z]),it=!1):Z+=rt,Z<0||Z>=tt-1){if(Z===tt-1)return Q[Z];it=!1}return Q[Z]+(Q[Z+1]-Q[Z])*X}var J=createTypedArray("float32",8);return{getSegmentsLength:function(et){var U,Q=segmentsLengthPool.newElement(),K=et.c,tt=et.v,Z=et.o,Y=et.i,X=et._length,rt=Q.lengths,it=0;for(U=0;U<X-1;U+=1)rt[U]=B(tt[U],tt[U+1],Z[U],Y[U+1]),it+=rt[U].addedLength;return K&&X&&(rt[U]=B(tt[U],tt[0],Z[U],Y[0]),it+=rt[U].addedLength),Q.totalLength=it,Q},getNewSegment:function(et,U,Q,K,tt,Z,Y){tt<0?tt=0:tt>1&&(tt=1);var X,rt=W(tt,Y),it=W(Z=Z>1?1:Z,Y),at=et.length,st=1-rt,ot=1-it,ft=st*st*st,pt=rt*st*st*3,ht=rt*rt*st*3,ut=rt*rt*rt,ct=st*st*ot,lt=rt*st*ot+st*rt*ot+st*st*it,gt=rt*rt*ot+st*rt*it+rt*st*it,yt=rt*rt*it,dt=st*ot*ot,bt=rt*ot*ot+st*it*ot+st*ot*it,Pt=rt*it*ot+st*it*it+rt*ot*it,At=rt*it*it,nt=ot*ot*ot,mt=it*ot*ot+ot*it*ot+ot*ot*it,vt=it*it*ot+ot*it*it+it*ot*it,St=it*it*it;for(X=0;X<at;X+=1)J[4*X]=D.round(1e3*(ft*et[X]+pt*Q[X]+ht*K[X]+ut*U[X]))/1e3,J[4*X+1]=D.round(1e3*(ct*et[X]+lt*Q[X]+gt*K[X]+yt*U[X]))/1e3,J[4*X+2]=D.round(1e3*(dt*et[X]+bt*Q[X]+Pt*K[X]+At*U[X]))/1e3,J[4*X+3]=D.round(1e3*(nt*et[X]+mt*Q[X]+vt*K[X]+St*U[X]))/1e3;return J},getPointInSegment:function(et,U,Q,K,tt,Z){var Y=W(tt,Z),X=1-Y;return[D.round(1e3*(X*X*X*et[0]+(Y*X*X+X*Y*X+X*X*Y)*Q[0]+(Y*Y*X+X*Y*Y+Y*X*Y)*K[0]+Y*Y*Y*U[0]))/1e3,D.round(1e3*(X*X*X*et[1]+(Y*X*X+X*Y*X+X*X*Y)*Q[1]+(Y*Y*X+X*Y*Y+Y*X*Y)*K[1]+Y*Y*Y*U[1]))/1e3]},buildBezierData:q,pointOnLine2D:F,pointOnLine3D:function(et,U,Q,K,tt,Z,Y,X,rt){if(Q===0&&Z===0&&rt===0)return F(et,U,K,tt,Y,X);var it,at=D.sqrt(D.pow(K-et,2)+D.pow(tt-U,2)+D.pow(Z-Q,2)),st=D.sqrt(D.pow(Y-et,2)+D.pow(X-U,2)+D.pow(rt-Q,2)),ot=D.sqrt(D.pow(Y-K,2)+D.pow(X-tt,2)+D.pow(rt-Z,2));return(it=at>st?at>ot?at-st-ot:ot-st-at:ot>st?ot-st-at:st-at-ot)>-1e-4&&it<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(D,F){var B,O=this.offsetTime;this.propType==="multidimensional"&&(B=createTypedArray("float32",this.pv.length));for(var G,j,q,W,J,et,U,Q,K,tt=F.lastIndex,Z=tt,Y=this.keyframes.length-1,X=!0;X;){if(G=this.keyframes[Z],j=this.keyframes[Z+1],Z===Y-1&&D>=j.t-O){G.h&&(G=j),tt=0;break}if(j.t-O>D){tt=Z;break}Z<Y-1?Z+=1:(tt=0,X=!1)}q=this.keyframesMetadata[Z]||{};var rt,it=j.t-O,at=G.t-O;if(G.to){q.bezierData||(q.bezierData=bez.buildBezierData(G.s,j.s||G.e,G.to,G.ti));var st=q.bezierData;if(D>=it||D<at){var ot=D>=it?st.points.length-1:0;for(J=st.points[ot].point.length,W=0;W<J;W+=1)B[W]=st.points[ot].point[W]}else{q.__fnct?K=q.__fnct:(K=BezierFactory.getBezierEasing(G.o.x,G.o.y,G.i.x,G.i.y,G.n).get,q.__fnct=K),et=K((D-at)/(it-at));var ft,pt=st.segmentLength*et,ht=F.lastFrame<D&&F._lastKeyframeIndex===Z?F._lastAddedLe
vendor: 31,712 bytes, line 59
59ngth:0;for(Q=F.lastFrame<D&&F._lastKeyframeIndex===Z?F._lastPoint:0,X=!0,U=st.points.length;X;){if(ht+=st.points[Q].partialLength,pt===0||et===0||Q===st.points.length-1){for(J=st.points[Q].point.length,W=0;W<J;W+=1)B[W]=st.points[Q].point[W];break}if(pt>=ht&&pt<ht+st.points[Q+1].partialLength){for(ft=(pt-ht)/st.points[Q+1].partialLength,J=st.points[Q].point.length,W=0;W<J;W+=1)B[W]=st.points[Q].point[W]+(st.points[Q+1].point[W]-st.points[Q].point[W])*ft;break}Q<U-1?Q+=1:X=!1}F._lastPoint=Q,F._lastAddedLength=ht-st.points[Q].partialLength,F._lastKeyframeIndex=Z}}else{var ut,ct,lt,gt,yt;if(Y=G.s.length,rt=j.s||G.e,this.sh&&G.h!==1)D>=it?(B[0]=rt[0],B[1]=rt[1],B[2]=rt[2]):D<=at?(B[0]=G.s[0],B[1]=G.s[1],B[2]=G.s[2]):quaternionToEuler(B,slerp(createQuaternion(G.s),createQuaternion(rt),(D-at)/(it-at)));else for(Z=0;Z<Y;Z+=1)G.h!==1&&(D>=it?et=1:D<at?et=0:(G.o.x.constructor===Array?(q.__fnct||(q.__fnct=[]),q.__fnct[Z]?K=q.__fnct[Z]:(ut=G.o.x[Z]===void 0?G.o.x[0]:G.o.x[Z],ct=G.o.y[Z]===void 0?G.o.y[0]:G.o.y[Z],lt=G.i.x[Z]===void 0?G.i.x[0]:G.i.x[Z],gt=G.i.y[Z]===void 0?G.i.y[0]:G.i.y[Z],K=BezierFactory.getBezierEasing(ut,ct,lt,gt).get,q.__fnct[Z]=K)):q.__fnct?K=q.__fnct:(ut=G.o.x,ct=G.o.y,lt=G.i.x,gt=G.i.y,K=BezierFactory.getBezierEasing(ut,ct,lt,gt).get,G.keyframeMetadata=K),et=K((D-at)/(it-at)))),rt=j.s||G.e,yt=G.h===1?G.s[Z]:G.s[Z]+(rt[Z]-G.s[Z])*et,this.propType==="multidimensional"?B[Z]=yt:B=yt}return F.lastIndex=tt,B}function slerp(D,F,B){var O,G,j,q,W,J=[],et=D[0],U=D[1],Q=D[2],K=D[3],tt=F[0],Z=F[1],Y=F[2],X=F[3];return(G=et*tt+U*Z+Q*Y+K*X)<0&&(G=-G,tt=-tt,Z=-Z,Y=-Y,X=-X),1-G>1e-6?(O=Math.acos(G),j=Math.sin(O),q=Math.sin((1-B)*O)/j,W=Math.sin(B*O)/j):(q=1-B,W=B),J[0]=q*et+W*tt,J[1]=q*U+W*Z,J[2]=q*Q+W*Y,J[3]=q*K+W*X,J}function quaternionToEuler(D,F){var B=F[0],O=F[1],G=F[2],j=F[3],q=Math.atan2(2*O*j-2*B*G,1-2*O*O-2*G*G),W=Math.asin(2*B*O+2*G*j),J=Math.atan2(2*B*j-2*O*G,1-2*B*B-2*G*G);D[0]=q/degToRads,D[1]=W/degToRads,D[2]=J/degToRads}function createQuaternion(D){var F=D[0]*degToRads,B=D[1]*degToRads,O=D[2]*degToRads,G=Math.cos(F/2),j=Math.cos(B/2),q=Math.cos(O/2),W=Math.sin(F/2),J=Math.sin(B/2),et=Math.sin(O/2);return[W*J*q+G*j*et,W*j*q+G*J*et,G*J*q-W*j*et,G*j*q-W*J*et]}function getValueAtCurrentTime(){var D=this.comp.renderedFrame-this.offsetTime,F=this.keyframes[0].t-this.offsetTime,B=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(D===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=B&&D>=B||this._caching.lastFrame<F&&D<F))){this._caching.lastFrame>=D&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var O=this.interpolateValue(D,this._caching);this.pv=O}return this._caching.lastFrame=D,this.pv}function setVValue(D){var F;if(this.propType==="unidimensional")F=D*this.mult,mathAbs(this.v-F)>1e-5&&(this.v=F,this._mdf=!0);else for(var B=0,O=this.v.length;B<O;)F=D[B]*this.mult,mathAbs(this.v[B]-F)>1e-5&&(this.v[B]=F,this._mdf=!0),B+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var D;this.lock=!0,this._mdf=this._isFirstFrame;var F=this.effectsSequence.length,B=this.kf?this.pv:this.data.k;for(D=0;D<F;D+=1)B=this.effectsSequence[D](B);this.setVValue(B),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(D){this.effectsSequence.push(D),this.container.addDynamicProperty(this)}function ValueProperty(D,F,B,O){this.propType="unidimensional",this.mult=B||1,this.data=F,this.v=B?F.k*B:F.k,this.pv=F.k,this._mdf=!1,this.elem=D,this.container=O,this.comp=D.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(D,F,B,O){var G;this.propType="multidimensional",this.mult=B||1,this.data=F,this._mdf=!1,this.elem=D,this.container=O,this.comp=D.comp,this.k=!1,this.kf=!1,this.frameId=-1;var j=F.k.length;for(this.v=createTypedArray("float32",j),this.pv=createTypedArray("float32",j),this.vel=createTypedArray("float32",j),G=0;G<j;G+=1)this.v[G]=F.k[G]*this.mult,this.pv[G]=F.k[G];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(D,F,B,O){this.propType="unidimensional",this.keyframes=F.k,this.keyframesMetadata=[],this.offsetTime=D.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=F,this.mult=B||1,this.elem=D,this.container=O,this.comp=D.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(D,F,B,O){var G;this.propType="multidimensional";var j,q,W,J,et=F.k.length;for(G=0;G<et-1;G+=1)F.k[G].to&&F.k[G].s&&F.k[G+1]&&F.k[G+1].s&&(j=F.k[G].s,q=F.k[G+1].s,W=F.k[G].to,J=F.k[G].ti,(j.length===2&&(j[0]!==q[0]||j[1]!==q[1])&&bez.pointOnLine2D(j[0],j[1],q[0],q[1],j[0]+W[0],j[1]+W[1])&&bez.pointOnLine2D(j[0],j[1],q[0],q[1],q[0]+J[0],q[1]+J[1])||j.length===3&&(j[0]!==q[0]||j[1]!==q[1]||j[2]!==q[2])&&bez.pointOnLine3D(j[0],j[1],j[2],q[0],q[1],q[2],j[0]+W[0],j[1]+W[1],j[2]+W[2])&&bez.pointOnLine3D(j[0],j[1],j[2],q[0],q[1],q[2],q[0]+J[0],q[1]+J[1],q[2]+J[2]))&&(F.k[G].to=null,F.k[G].ti=null),j[0]===q[0]&&j[1]===q[1]&&W[0]===0&&W[1]===0&&J[0]===0&&J[1]===0&&(j.length===2||j[2]===q[2]&&W[2]===0&&J[2]===0)&&(F.k[G].to=null,F.k[G].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=F,this.keyframes=F.k,this.keyframesMetadata=[],this.offsetTime=D.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=B||1,this.elem=D,this.container=O,this.comp=D.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var U=F.k[0].s.length;for(this.v=createTypedArray("float32",U),this.pv=createTypedArray("float32",U),G=0;G<U;G+=1)this.v[G]=initFrame,this.pv[G]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",U)},this.addEffect=addEffect}var PropertyFactory=(ob={getProp:function(D,F,B,O,G){var j;if(F.sid&&(F=D.globalData.slotManager.getProp(F)),F.k.length)if(typeof F.k[0]=="number")j=new MultiDimensionalProperty(D,F,O,G);else switch(B){case 0:j=new KeyframedValueProperty(D,F,O,G);break;case 1:j=new KeyframedMultidimensionalProperty(D,F,O,G)}else j=new ValueProperty(D,F,O,G);return j.effectsSequence.length&&G.addDynamicProperty(j),j}},ob),ob;function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(D){this.dynamicProperties.indexOf(D)===-1&&(this.dynamicProperties.push(D),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var D;this._mdf=!1;var F=this.dynamicProperties.length;for(D=0;D<F;D+=1)this.dynamicProperties[D].getValue(),this.dynamicProperties[D]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(D){this.container=D,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(D,F){this.c=D,this.setLength(F);for(var B=0;B<F;)this.v[B]=pointPool.newElement(),this.o[B]=pointPool.newElement(),this.i[B]=pointPool.newElement(),B+=1},ShapePath.prototype.setLength=function(D){for(;this._maxLength<D;)this.doubleArrayLength();this._length=D},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(D,F,B,O,G){var j;switch(this._length=Math.max(this._length,O+1),this._length>=this._maxLength&&this.doubleArrayLength(),B){case"v":j=this.v;break;case"i":j=this.i;break;case"o":j=this.o;break;default:j=[]}(!j[O]||j[O]&&!G)&&(j[O]=pointPool.newElement()),j[O][0]=D,j[O][1]=F},ShapePath.prototype.setTripleAt=function(D,F,B,O,G,j,q,W){this.setXYAt(D,F,"v",q,W),this.setXYAt(B,O,"o",q,W),this.setXYAt(G,j,"i",q,W)},ShapePath.prototype.reverse=function(){var D=new ShapePath;D.setPathData(this.c,this._length);var F=this.v,B=this.o,O=this.i,G=0;this.c&&(D.setTripleAt(F[0][0],F[0][1],O[0][0],O[0][1],B[0][0],B[0][1],0,!1),G=1);var j,q=this._length-1,W=this._length;for(j=G;j<W;j+=1)D.setTripleAt(F[q][0],F[q][1],O[q][0],O[q][1],B[q][0],B[q][1],j,!1),q-=1;return D},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,function(){return new ShapePath},function(D){var F,B=D._length;for(F=0;F<B;F+=1)pointPool.release(D.v[F]),pointPool.release(D.i[F]),pointPool.release(D.o[F]),D.v[F]=null,D.i[F]=null,D.o[F]=null;D._length=0,D.c=!1}),factory.clone=function(D){var F,B=factory.newElement(),O=D._length===void 0?D.v.length:D._length;for(B.setLength(O),B.c=D.c,F=0;F<O;F+=1)B.setTripleAt(D.v[F][0],D.v[F][1],D.o[F][0],D.o[F][1],D.i[F][0],D.i[F][1],F);return B},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(D){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=D,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var D;for(D=0;D<this._length;D+=1)shapePool.release(this.shapes[D]);this._length=0};var shapeCollectionPool=function(){var D={newShapeCollection:function(){return F?O[F-=1]:new ShapeCollection},release:function(G){var j,q=G._length;for(j=0;j<q;j+=1)shapePool.release(G.shapes[j]);G._length=0,F===B&&(O=pooling.double(O),B*=2),O[F]=G,F+=1}},F=0,B=4,O=createSizedArray(B);return D}(),ShapePropertyFactory=function(){var D=-999999;function F(tt,Z,Y){var X,rt,it,at,st,ot,ft,pt,ht,ut=Y.lastIndex,ct=this.keyframes;if(tt<ct[0].t-this.offsetTime)X=ct[0].s[0],it=!0,ut=0;else if(tt>=ct[ct.length-1].t-this.offsetTime)X=ct[ct.length-1].s?ct[ct.length-1].s[0]:ct[ct.length-2].e[0],it=!0;else{for(var lt,gt,yt,dt=ut,bt=ct.length-1,Pt=!0;Pt&&(lt=ct[dt],!((gt=ct[dt+1]).t-this.offsetTime>tt));)dt<bt-1?dt+=1:Pt=!1;if(yt=this.keyframesMetadata[dt]||{},ut=dt,!(it=lt.h===1)){if(tt>=gt.t-this.offsetTime)pt=1;else if(tt<lt.t-this.offsetTime)pt=0;else{var At;yt.__fnct?At=yt.__fnct:(At=BezierFactory.getBezierEasing(lt.o.x,lt.o.y,lt.i.x,lt.i.y).get,yt.__fnct=At),pt=At((tt-(lt.t-this.offsetTime))/(gt.t-this.offsetTime-(lt.t-this.offsetTime)))}rt=gt.s?gt.s[0]:lt.e[0]}X=lt.s[0]}for(ot=Z._length,ft=X.i[0].length,Y.lastIndex=ut,at=0;at<ot;at+=1)for(st=0;st<ft;st+=1)ht=it?X.i[at][st]:X.i[at][st]+(rt.i[at][st]-X.i[at][st])*pt,Z.i[at][st]=ht,ht=it?X.o[at][st]:X.o[at][st]+(rt.o[at][st]-X.o[at][st])*pt,Z.o[at][st]=ht,ht=it?X.v[at][st]:X.v[at][st]+(rt.v[at][st]-X.v[at][st])*pt,Z.v[at][st]=ht}function B(){var tt=this.comp.renderedFrame-this.offsetTime,Z=this.keyframes[0].t-this.offsetTime,Y=this.keyframes[this.keyframes.length-1].t-this.offsetTime,X=this._caching.lastFrame;return X!==D&&(X<Z&&tt<Z||X>Y&&tt>Y)||(this._caching.lastIndex=X<tt?this._caching.lastIndex:0,this.interpolateShape(tt,this.pv,this._caching)),this._caching.lastFrame=tt,this.pv}function O(){this.paths=this.localShapeCollection}function G(tt){(function(Z,Y){if(Z._length!==Y._length||Z.c!==Y.c)return!1;var X,rt=Z._length;for(X=0;X<rt;X+=1)if(Z.v[X][0]!==Y.v[X][0]||Z.v[X][1]!==Y.v[X][1]||Z.o[X][0]!==Y.o[X][0]||Z.o[X][1]!==Y.o[X][1]||Z.i[X][0]!==Y.i[X][0]||Z.i[X][1]!==Y.i[X][1])return!1;return!0})(this.v,tt)||(this.v=shapePool.clone(tt),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function j(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var tt,Z;this.lock=!0,this._mdf=!1,tt=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var Y=this.effectsSequence.length;for(Z=0;Z<Y;Z+=1)tt=this.effectsSequence[Z](tt);this.setVValue(tt),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function q(tt,Z,Y){this.propType="shape",this.comp=tt.comp,this.container=tt,this.elem=tt,this.data=Z,this.k=!1,this.kf=!1,this._mdf=!1;var X=Y===3?Z.pt.k:Z.ks.k;this.v=shapePool.clone(X),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=O,this.effectsSequence=[]}function W(tt){this.effectsSequence.push(tt),this.container.addDynamicProperty(this)}function J(tt,Z,Y){this.propType="shape",this.comp=tt.comp,this.elem=tt,this.container=tt,this.offsetTime=tt.data.st,this.keyframes=Y===3?Z.pt.k:Z.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var X=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,X),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=D,this.reset=O,this._caching={lastFrame:D,lastIndex:0},this.effectsSequence=[B.bind(this)]}q.prototype.interpolateShape=F,q.prototype.getValue=j,q.prototype.setVValue=G,q.prototype.addEffect=W,J.prototype.getValue=j,J.prototype.interpolateShape=F,J.prototype.setVValue=G,J.prototype.addEffect=W;var et=function(){var tt=roundCorner;function Z(Y,X){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=X.d,this.elem=Y,this.comp=Y.comp,this.frameId=-1,this.initDynamicPropertyContainer(Y),this.p=PropertyFactory.getProp(Y,X.p,1,0,this),this.s=PropertyFactory.getProp(Y,X.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return Z.prototype={reset:O,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var Y=this.p.v[0],X=this.p.v[1],rt=this.s.v[0]/2,it=this.s.v[1]/2,at=this.d!==3,st=this.v;st.v[0][0]=Y,st.v[0][1]=X-it,st.v[1][0]=at?Y+rt:Y-rt,st.v[1][1]=X,st.v[2][0]=Y,st.v[2][1]=X+it,st.v[3][0]=at?Y-rt:Y+rt,st.v[3][1]=X,st.i[0][0]=at?Y-rt*tt:Y+rt*tt,st.i[0][1]=X-it,st.i[1][0]=at?Y+rt:Y-rt,st.i[1][1]=X-it*tt,st.i[2][0]=at?Y+rt*tt:Y-rt*tt,st.i[2][1]=X+it,st.i[3][0]=at?Y-rt:Y+rt,st.i[3][1]=X+it*tt,st.o[0][0]=at?Y+rt*tt:Y-rt*tt,st.o[0][1]=X-it,st.o[1][0]=at?Y+rt:Y-rt,st.o[1][1]=X+it*tt,st.o[2][0]=at?Y-rt*tt:Y+rt*tt,st.o[2][1]=X+it,st.o[3][0]=at?Y-rt:Y+rt,st.o[3][1]=X-it*tt}},extendPrototype([DynamicPropertyContainer],Z),Z}(),U=function(){function tt(Z,Y){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=Z,this.comp=Z.comp,this.data=Y,this.frameId=-1,this.d=Y.d,this.initDynamicPropertyContainer(Z),Y.sy===1?(this.ir=PropertyFactory.getProp(Z,Y.ir,0,0,this),this.is=PropertyFactory.getProp(Z,Y.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(Z,Y.pt,0,0,this),this.p=PropertyFactory.getProp(Z,Y.p,1,0,this),this.r=PropertyFactory.getProp(Z,Y.r,0,degToRads,this),this.or=PropertyFactory.getProp(Z,Y.or,0,0,this),this.os=PropertyFactory.getProp(Z,Y.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return tt.prototype={reset:O,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Z,Y,X,rt,it=2*Math.floor(this.pt.v),at=2*Math.PI/it,st=!0,ot=this.or.v,ft=this.ir.v,pt=this.os.v,ht=this.is.v,ut=2*Math.PI*ot/(2*it),ct=2*Math.PI*ft/(2*it),lt=-Math.PI/2;lt+=this.r.v;var gt=this.data.d===3?-1:1;for(this.v._length=0,Z=0;Z<it;Z+=1){X=st?pt:ht,rt=st?ut:ct;var yt=(Y=st?ot:ft)*Math.cos(lt),dt=Y*Math.sin(lt),bt=yt===0&&dt===0?0:dt/Math.sqrt(yt*yt+dt*dt),Pt=yt===0&&dt===0?0:-yt/Math.sqrt(yt*yt+dt*dt);yt+=+this.p.v[0],dt+=+this.p.v[1],this.v.setTripleAt(yt,dt,yt-bt*rt*X*gt,dt-Pt*rt*X*gt,yt+bt*rt*X*gt,dt+Pt*rt*X*gt,Z,!0),st=!st,lt+=at*gt}},convertPolygonToPath:function(){var Z,Y=Math.floor(this.pt.v),X=2*Math.PI/Y,rt=this.or.v,it=this.os.v,at=2*Math.PI*rt/(4*Y),st=.5*-Math.PI,ot=this.data.d===3?-1:1;for(st+=this.r.v,this.v._length=0,Z=0;Z<Y;Z+=1){var ft=rt*Math.cos(st),pt=rt*Math.sin(st),ht=ft===0&&pt===0?0:pt/Math.sqrt(ft*ft+pt*pt),ut=ft===0&&pt===0?0:-ft/Math.sqrt(ft*ft+pt*pt);ft+=+this.p.v[0],pt+=+this.p.v[1],this.v.setTripleAt(ft,pt,ft-ht*at*it*ot,pt-ut*at*it*ot,ft+ht*at*it*ot,pt+ut*at*it*ot,Z,!0),st+=X*ot}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],tt),tt}(),Q=function(){function tt(Z,Y){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Z,this.comp=Z.comp,this.frameId=-1,this.d=Y.d,this.initDynamicPropertyContainer(Z),this.p=PropertyFactory.getProp(Z,Y.p,1,0,this),this.s=PropertyFactory.getProp(Z,Y.s,1,0,this),this.r=PropertyFactory.getProp(Z,Y.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return tt.prototype={convertRectToPath:function(){var Z=this.p.v[0],Y=this.p.v[1],X=this.s.v[0]/2,rt=this.s.v[1]/2,it=bmMin(X,rt,this.r.v),at=it*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(Z+X,Y-rt+it,Z+X,Y-rt+it,Z+X,Y-rt+at,0,!0),this.v.setTripleAt(Z+X,Y+rt-it,Z+X,Y+rt-at,Z+X,Y+rt-it,1,!0),it!==0?(this.v.setTripleAt(Z+X-it,Y+rt,Z+X-it,Y+rt,Z+X-at,Y+rt,2,!0),this.v.setTripleAt(Z-X+it,Y+rt,Z-X+at,Y+rt,Z-X+it,Y+rt,3,!0),this.v.setTripleAt(Z-X,Y+rt-it,Z-X,Y+rt-it,Z-X,Y+rt-at,4,!0),this.v.setTripleAt(Z-X,Y-rt+it,Z-X,Y-rt+at,Z-X,Y-rt+it,5,!0),this.v.setTripleAt(Z-X+it,Y-rt,Z-X+it,Y-rt,Z-X+at,Y-rt,6,!0),this.v.setTripleAt(Z+X-it,Y-rt,Z+X-at,Y-rt,Z+X-it,Y-rt,7,!0)):(this.v.setTripleAt(Z-X,Y+rt,Z-X+at,Y+rt,Z-X,Y+rt,2),this.v.setTripleAt(Z-X,Y-rt,Z-X,Y-rt+at,Z-X,Y-rt,3))):(this.v.setTripleAt(Z+X,Y-rt+it,Z+X,Y-rt+at,Z+X,Y-rt+it,0,!0),it!==0?(this.v.setTripleAt(Z+X-it,Y-rt,Z+X-it,Y-rt,Z+X-at,Y-rt,1,!0),this.v.setTripleAt(Z-X+it,Y-rt,Z-X+at,Y-rt,Z-X+it,Y-rt,2,!0),this.v.setTripleAt(Z-X,Y-rt+it,Z-X,Y-rt+it,Z-X,Y-rt+at,3,!0),this.v.setTripleAt(Z-X,Y+rt-it,Z-X,Y+rt-at,Z-X,Y+rt-it,4,!0),this.v.setTripleAt(Z-X+it,Y+rt,Z-X+it,Y+rt,Z-X+at,Y+rt,5,!0),this.v.setTripleAt(Z+X-it,Y+rt,Z+X-at,Y+rt,Z+X-it,Y+rt,6,!0),this.v.setTripleAt(Z+X,Y+rt-it,Z+X,Y+rt-it,Z+X,Y+rt-at,7,!0)):(this.v.setTripleAt(Z-X,Y-rt,Z-X+at,Y-rt,Z-X,Y-rt,1,!0),this.v.setTripleAt(Z-X,Y+rt,Z-X,Y+rt-at,Z-X,Y+rt,2,!0),this.v.setTripleAt(Z+X,Y+rt,Z+X-at,Y+rt,Z+X,Y+rt,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:O},extendPrototype([DynamicPropertyContainer],tt),tt}(),K={getShapeProp:function(tt,Z,Y){var X;return Y===3||Y===4?X=(Y===3?Z.pt:Z.ks).k.length?new J(tt,Z,Y):new q(tt,Z,Y):Y===5?X=new Q(tt,Z):Y===6?X=new et(tt,Z):Y===7&&(X=new U(tt,Z)),X.k&&tt.addDynamicProperty(X),X},getConstructorFunction:function(){return q},getKeyframedConstructorFunction:function(){return J}};return K}(),Matrix=function(){var D=Math.cos,F=Math.sin,B=Math.tan,O=Math.round;function G(){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 j(nt){if(nt===0)return this;var mt=D(nt),vt=F(nt);return this._t(mt,-vt,0,0,vt,mt,0,0,0,0,1,0,0,0,0,1)}function q(nt){if(nt===0)return this;var mt=D(nt),vt=F(nt);return this._t(1,0,0,0,0,mt,-vt,0,0,vt,mt,0,0,0,0,1)}function W(nt){if(nt===0)return this;var mt=D(nt),vt=F(nt);return this._t(mt,0,vt,0,0,1,0,0,-vt,0,mt,0,0,0,0,1)}function J(nt){if(nt===0)return this;var mt=D(nt),vt=F(nt);return this._t(mt,-vt,0,0,vt,mt,0,0,0,0,1,0,0,0,0,1)}function et(nt,mt){return this._t(1,mt,nt,1,0,0)}function U(nt,mt){return this.shear(B(nt),B(mt))}function Q(nt,mt){var vt=D(mt),St=F(mt);return this._t(vt,St,0,0,-St,vt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,B(nt),1,0,0,0,0,1,0,0,0,0,1)._t(vt,-St,0,0,St,vt,0,0,0,0,1,0,0,0,0,1)}function K(nt,mt,vt){return vt||vt===0||(vt=1),nt===1&&mt===1&&vt===1?this:this._t(nt,0,0,0,0,mt,0,0,0,0,vt,0,0,0,0,1)}function tt(nt,mt,vt,St,Tt,wt,kt,Et,Mt,xt,Ct,It,Bt,Lt,Vt,Dt){return this.props[0]=nt,this.props[1]=mt,this.props[2]=vt,this.props[3]=St,this.props[4]=Tt,this.props[5]=wt,this.props[6]=kt,this.props[7]=Et,this.props[8]=Mt,this.props[9]=xt,this.props[10]=Ct,this.props[11]=It,this.props[12]=Bt,this.props[13]=Lt,this.props[14]=Vt,this.props[15]=Dt,this}function Z(nt,mt,vt){return vt=vt||0,nt!==0||mt!==0||vt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,nt,mt,vt,1):this}function Y(nt,mt,vt,St,Tt,wt,kt,Et,Mt,xt,Ct,It,Bt,Lt,Vt,Dt){var _t=this.props;if(nt===1&&mt===0&&vt===0&&St===0&&Tt===0&&wt===1&&kt===0&&Et===0&&Mt===0&&xt===0&&Ct===1&&It===0)return _t[12]=_t[12]*nt+_t[15]*Bt,_t[13]=_t[13]*wt+_t[15]*Lt,_t[14]=_t[14]*Ct+_t[15]*Vt,_t[15]*=Dt,this._identityCalculated=!1,this;var Wt=_t[0],Ut=_t[1],Ht=_t[2],$t=_t[3],zt=_t[4],Ft=_t[5],Gt=_t[6],Nt=_t[7],Rt=_t[8],jt=_t[9],Ot=_t[10],qt=_t[11],Yt=_t[12],Xt=_t[13],Jt=_t[14],Kt=_t[15];return _t[0]=Wt*nt+Ut*Tt+Ht*Mt+$t*Bt,_t[1]=Wt*mt+Ut*wt+Ht*xt+$t*Lt,_t[2]=Wt*vt+Ut*kt+Ht*Ct+$t*Vt,_t[3]=Wt*St+Ut*Et+Ht*It+$t*Dt,_t[4]=zt*nt+Ft*Tt+Gt*Mt+Nt*Bt,_t[5]=zt*mt+Ft*wt+Gt*xt+Nt*Lt,_t[6]=zt*vt+Ft*kt+Gt*Ct+Nt*Vt,_t[7]=zt*St+Ft*Et+Gt*It+Nt*Dt,_t[8]=Rt*nt+jt*Tt+Ot*Mt+qt*Bt,_t[9]=Rt*mt+jt*wt+Ot*xt+qt*Lt,_t[10]=Rt*vt+jt*kt+Ot*Ct+qt*Vt,_t[11]=Rt*St+jt*Et+Ot*It+qt*Dt,_t[12]=Yt*nt+Xt*Tt+Jt*Mt+Kt*Bt,_t[13]=Yt*mt+Xt*wt+Jt*xt+Kt*Lt,_t[14]=Yt*vt+Xt*kt+Jt*Ct+Kt*Vt,_t[15]=Yt*St+Xt*Et+Jt*It+Kt*Dt,this._identityCalculated=!1,this}function X(nt){var mt=nt.props;return this.transform(mt[0],mt[1],mt[2],mt[3],mt[4],mt[5],mt[6],mt[7],mt[8],mt[9],mt[10],mt[11],mt[12],mt[13],mt[14],mt[15])}function rt(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function it(nt){for(var mt=0;mt<16;){if(nt.props[mt]!==this.props[mt])return!1;mt+=1}return!0}function at(nt){var mt;for(mt=0;mt<16;mt+=1)nt.props[mt]=this.props[mt];return nt}function st(nt){var mt;for(mt=0;mt<16;mt+=1)this.props[mt]=nt[mt]}function ot(nt,mt,vt){return{x:nt*this.props[0]+mt*this.props[4]+vt*this.props[8]+this.props[12],y:nt*this.props[1]+mt*this.props[5]+vt*this.props[9]+this.props[13],z:nt*this.props[2]+mt*this.props[6]+vt*this.props[10]+this.props[14]}}function ft(nt,mt,vt){return nt*this.props[0]+mt*this.props[4]+vt*this.props[8]+this.props[12]}function pt(nt,mt,vt){return nt*this.props[1]+mt*this.props[5]+vt*this.props[9]+this.props[13]}function ht(nt,mt,vt){return nt*this.props[2]+mt*this.props[6]+vt*this.props[10]+this.props[14]}function ut(){var nt=this.props[0]*this.props[5]-this.props[1]*this.props[4],mt=this.props[5]/nt,vt=-this.props[1]/nt,St=-this.props[4]/nt,Tt=this.props[0]/nt,wt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/nt,kt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/nt,Et=new Matrix;return Et.props[0]=mt,Et.props[1]=vt,Et.props[4]=St,Et.props[5]=Tt,Et.props[12]=wt,Et.props[13]=kt,Et}function ct(nt){return this.getInverseMatrix().applyToPointArray(nt[0],nt[1],nt[2]||0)}function lt(nt){var mt,vt=nt.length,St=[];for(mt=0;mt<vt;mt+=1)St[mt]=ct(nt[mt]);return St}function gt(nt,mt,vt){var St=createTypedArray("float32",6);if(this.isIdentity())St[0]=nt[0],St[1]=nt[1],St[2]=mt[0],St[3]=mt[1],St[4]=vt[0],St[5]=vt[1];else{var Tt=this.props[0],wt=this.props[1],kt=this.props[4],Et=this.props[5],Mt=this.props[12],xt=this.props[13];St[0]=nt[0]*Tt+nt[1]*kt+Mt,St[1]=nt[0]*wt+nt[1]*Et+xt,St[2]=mt[0]*Tt+mt[1]*kt+Mt,St[3]=mt[0]*wt+mt[1]*Et+xt,St[4]=vt[0]*Tt+vt[1]*kt+Mt,St[5]=vt[0]*wt+vt[1]*Et+xt}return St}function yt(nt,mt,vt){return this.isIdentity()?[nt,mt,vt]:[nt*this.props[0]+mt*this.props[4]+vt*this.props[8]+this.props[12],nt*this.props[1]+mt*this.props[5]+vt*this.props[9]+this.props[13],nt*this.props[2]+mt*this.props[6]+vt*this.props[10]+this.props[14]]}function dt(nt,mt){if(this.isIdentity())return nt+","+mt;var vt=this.props;return Math.round(100*(nt*vt[0]+mt*vt[4]+vt[12]))/100+","+Math.round(100*(nt*vt[1]+mt*vt[5]+vt[13]))/100}function bt(){for(var nt=0,mt=this.props,vt="matrix3d(";nt<16;)vt+=O(1e4*mt[nt])/1e4,vt+=nt===15?")":",",nt+=1;return vt}function Pt(nt){return nt<1e-6&&nt>0||nt>-1e-6&&nt<0?O(1e4*nt)/1e4:nt}function At(){var nt=this.props;return"matrix("+Pt(nt[0])+","+Pt(nt[1])+","+Pt(nt[4])+","+Pt(nt[5])+","+Pt(nt[12])+","+Pt(nt[13])+")"}return function(){this.reset=G,this.rotate=j,this.rotateX=q,this.rotateY=W,this.rotateZ=J,this.skew=U,this.skewFromAxis=Q,this.shear=et,this.scale=K,this.setTransform=tt,this.translate=Z,this.transform=Y,this.multiply=X,this.applyToPoint=ot,this.applyToX=ft,this.applyToY=pt,this.applyToZ=ht,this.applyToPointArray=yt,this.applyToTriplePoints=gt,this.applyToPointStringified=dt,this.toCSS=bt,this.to2dCSS=At,this.clone=at,this.cloneFromProps=st,this.equals=it,this.inversePoints=lt,this.inversePoint=ct,this.getInverseMatrix=ut,this._t=this.transform,this.isIdentity=rt,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(D){return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof$3(D)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(D){setLocationHref(D)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(D){setSubframeEnabled(D)}function setPrefix(D){setIdPrefix(D)}function loadAnimation(D){return standalone===!0&&(D.animationData=JSON.parse(animationData)),animationManager.loadAnimation(D)}function setQuality(D){if(typeof D=="string")switch(D){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(D)&&D>1&&setDefaultCurveSegments(D);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator<"u"}function installPlugin(D,F){D==="expressions"&&setExpressionsPlugin(F)}function getFactory(D){switch(D){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(D){for(var F=queryString.split("&"),B=0;B<F.length;B+=1){var O=F[B].split("=");if(decodeURIComponent(O[0])==D)return decodeURIComponent(O[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(D){}var ShapeModifiers=function(){var D={},F={};return D.registerModifier=function(B,O){F[B]||(F[B]=O)},D.getModifier=function(B,O,G){return new F[B](O,G)},D}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(D){if(!this.closed){D.sh.container.addDynamicProperty(D.sh);var F={shape:D.sh,data:D,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(F),this.addShapeToModifier(F),this._isAnimated&&D.setAsAnimated()}},ShapeModifier.prototype.init=function(D,F){this.shapes=[],this.elem=D,this.initDynamicPropertyContainer(D),this.initModifierProperties(D,F),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(D,F){this.s=PropertyFactory.getProp(D,F.s,0,.01,this),this.e=PropertyFactory.getProp(D,F.e,0,.01,this),this.o=PropertyFactory.getProp(D,F.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=F.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(D){D.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(D,F,B,O,G){var j=[];F<=1?j.push({s:D,e:F}):D>=1?j.push({s:D-1,e:F-1}):(j.push({s:D,e:1}),j.push({s:0,e:F-1}));var q,W,J=[],et=j.length;for(q=0;q<et;q+=1){var U,Q;(W=j[q]).e*G<O||W.s*G>O+B||(U=W.s*G<=O?0:(W.s*G-O)/B,Q=W.e*G>=O+B?1:(W.e*G-O)/B,J.push([U,Q]))}return J.length||J.push([0,0]),J},TrimModifier.prototype.releasePathsData=function(D){var F,B=D.length;for(F=0;F<B;F+=1)segmentsLengthPool.release(D[F]);return D.length=0,D},TrimModifier.prototype.processShapes=function(D){var F,B,O,G;if(this._mdf||D){var j=this.o.v%360/360;
vendor: 15,582 bytes, line 59
59if(j<0&&(j+=1),(F=this.s.v>1?1+j:this.s.v<0?0+j:this.s.v+j)>(B=this.e.v>1?1+j:this.e.v<0?0+j:this.e.v+j)){var q=F;F=B,B=q}F=1e-4*Math.round(1e4*F),B=1e-4*Math.round(1e4*B),this.sValue=F,this.eValue=B}else F=this.sValue,B=this.eValue;var W,J,et,U,Q,K=this.shapes.length,tt=0;if(B===F)for(G=0;G<K;G+=1)this.shapes[G].localShapeCollection.releaseShapes(),this.shapes[G].shape._mdf=!0,this.shapes[G].shape.paths=this.shapes[G].localShapeCollection,this._mdf&&(this.shapes[G].pathsData.length=0);else if(B===1&&F===0||B===0&&F===1){if(this._mdf)for(G=0;G<K;G+=1)this.shapes[G].pathsData.length=0,this.shapes[G].shape._mdf=!0}else{var Z,Y,X=[];for(G=0;G<K;G+=1)if((Z=this.shapes[G]).shape._mdf||this._mdf||D||this.m===2){if(J=(O=Z.shape.paths)._length,Q=0,!Z.shape._mdf&&Z.pathsData.length)Q=Z.totalShapeLength;else{for(et=this.releasePathsData(Z.pathsData),W=0;W<J;W+=1)U=bez.getSegmentsLength(O.shapes[W]),et.push(U),Q+=U.totalLength;Z.totalShapeLength=Q,Z.pathsData=et}tt+=Q,Z.shape._mdf=!0}else Z.shape.paths=Z.localShapeCollection;var rt,it=F,at=B,st=0;for(G=K-1;G>=0;G-=1)if((Z=this.shapes[G]).shape._mdf){for((Y=Z.localShapeCollection).releaseShapes(),this.m===2&&K>1?(rt=this.calculateShapeEdges(F,B,Z.totalShapeLength,st,tt),st+=Z.totalShapeLength):rt=[[it,at]],J=rt.length,W=0;W<J;W+=1){it=rt[W][0],at=rt[W][1],X.length=0,at<=1?X.push({s:Z.totalShapeLength*it,e:Z.totalShapeLength*at}):it>=1?X.push({s:Z.totalShapeLength*(it-1),e:Z.totalShapeLength*(at-1)}):(X.push({s:Z.totalShapeLength*it,e:Z.totalShapeLength}),X.push({s:0,e:Z.totalShapeLength*(at-1)}));var ot=this.addShapes(Z,X[0]);if(X[0].s!==X[0].e){if(X.length>1)if(Z.shape.paths.shapes[Z.shape.paths._length-1].c){var ft=ot.pop();this.addPaths(ot,Y),ot=this.addShapes(Z,X[1],ft)}else this.addPaths(ot,Y),ot=this.addShapes(Z,X[1]);this.addPaths(ot,Y)}}Z.shape.paths=Y}}},TrimModifier.prototype.addPaths=function(D,F){var B,O=D.length;for(B=0;B<O;B+=1)F.addShape(D[B])},TrimModifier.prototype.addSegment=function(D,F,B,O,G,j,q){G.setXYAt(F[0],F[1],"o",j),G.setXYAt(B[0],B[1],"i",j+1),q&&G.setXYAt(D[0],D[1],"v",j),G.setXYAt(O[0],O[1],"v",j+1)},TrimModifier.prototype.addSegmentFromArray=function(D,F,B,O){F.setXYAt(D[1],D[5],"o",B),F.setXYAt(D[2],D[6],"i",B+1),O&&F.setXYAt(D[0],D[4],"v",B),F.setXYAt(D[3],D[7],"v",B+1)},TrimModifier.prototype.addShapes=function(D,F,B){var O,G,j,q,W,J,et,U,Q=D.pathsData,K=D.shape.paths.shapes,tt=D.shape.paths._length,Z=0,Y=[],X=!0;for(B?(W=B._length,U=B._length):(B=shapePool.newElement(),W=0,U=0),Y.push(B),O=0;O<tt;O+=1){for(J=Q[O].lengths,B.c=K[O].c,j=K[O].c?J.length:J.length+1,G=1;G<j;G+=1)if(Z+(q=J[G-1]).addedLength<F.s)Z+=q.addedLength,B.c=!1;else{if(Z>F.e){B.c=!1;break}F.s<=Z&&F.e>=Z+q.addedLength?(this.addSegment(K[O].v[G-1],K[O].o[G-1],K[O].i[G],K[O].v[G],B,W,X),X=!1):(et=bez.getNewSegment(K[O].v[G-1],K[O].v[G],K[O].o[G-1],K[O].i[G],(F.s-Z)/q.addedLength,(F.e-Z)/q.addedLength,J[G-1]),this.addSegmentFromArray(et,B,W,X),X=!1,B.c=!1),Z+=q.addedLength,W+=1}if(K[O].c&&J.length){if(q=J[G-1],Z<=F.e){var rt=J[G-1].addedLength;F.s<=Z&&F.e>=Z+rt?(this.addSegment(K[O].v[G-1],K[O].o[G-1],K[O].i[0],K[O].v[0],B,W,X),X=!1):(et=bez.getNewSegment(K[O].v[G-1],K[O].v[0],K[O].o[G-1],K[O].i[0],(F.s-Z)/rt,(F.e-Z)/rt,J[G-1]),this.addSegmentFromArray(et,B,W,X),X=!1,B.c=!1)}else B.c=!1;Z+=q.addedLength,W+=1}if(B._length&&(B.setXYAt(B.v[U][0],B.v[U][1],"i",U),B.setXYAt(B.v[B._length-1][0],B.v[B._length-1][1],"o",B._length-1)),Z>F.e)break;O<tt-1&&(B=shapePool.newElement(),X=!0,Y.push(B),W=0)}return Y},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(D,F){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(D,F.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(D,F){var B=F/100,O=[0,0],G=D._length,j=0;for(j=0;j<G;j+=1)O[0]+=D.v[j][0],O[1]+=D.v[j][1];O[0]/=G,O[1]/=G;var q,W,J,et,U,Q,K=shapePool.newElement();for(K.c=D.c,j=0;j<G;j+=1)q=D.v[j][0]+(O[0]-D.v[j][0])*B,W=D.v[j][1]+(O[1]-D.v[j][1])*B,J=D.o[j][0]+(O[0]-D.o[j][0])*-B,et=D.o[j][1]+(O[1]-D.o[j][1])*-B,U=D.i[j][0]+(O[0]-D.i[j][0])*-B,Q=D.i[j][1]+(O[1]-D.i[j][1])*-B,K.setTripleAt(q,W,J,et,U,Q,j);return K},PuckerAndBloatModifier.prototype.processShapes=function(D){var F,B,O,G,j,q,W=this.shapes.length,J=this.amount.v;if(J!==0)for(B=0;B<W;B+=1){if(q=(j=this.shapes[B]).localShapeCollection,j.shape._mdf||this._mdf||D)for(q.releaseShapes(),j.shape._mdf=!0,F=j.shape.paths.shapes,G=j.shape.paths._length,O=0;O<G;O+=1)q.addShape(this.processPath(F[O],J));j.shape.paths=j.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var D=[0,0];function F(B,O,G){if(this.elem=B,this.frameId=-1,this.propType="transform",this.data=O,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(G||B),O.p&&O.p.s?(this.px=PropertyFactory.getProp(B,O.p.x,0,0,this),this.py=PropertyFactory.getProp(B,O.p.y,0,0,this),O.p.z&&(this.pz=PropertyFactory.getProp(B,O.p.z,0,0,this))):this.p=PropertyFactory.getProp(B,O.p||{k:[0,0,0]},1,0,this),O.rx){if(this.rx=PropertyFactory.getProp(B,O.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(B,O.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(B,O.rz,0,degToRads,this),O.or.k[0].ti){var j,q=O.or.k.length;for(j=0;j<q;j+=1)O.or.k[j].to=null,O.or.k[j].ti=null}this.or=PropertyFactory.getProp(B,O.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(B,O.r||{k:0},0,degToRads,this);O.sk&&(this.sk=PropertyFactory.getProp(B,O.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(B,O.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(B,O.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(B,O.s||{k:[100,100,100]},1,.01,this),O.o?this.o=PropertyFactory.getProp(B,O.o,0,.01,B):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return F.prototype={applyToMatrix:function(B){var O=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||O,this.a&&B.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&B.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&B.skewFromAxis(-this.sk.v,this.sa.v),this.r?B.rotate(-this.r.v):B.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?B.translate(this.px.v,this.py.v,-this.pz.v):B.translate(this.px.v,this.py.v,0):B.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(B){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||B){var O;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var G,j;if(O=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(G=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/O,0),j=this.p.getValueAtTime(this.p.keyframes[0].t/O,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(G=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/O,0),j=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/O,0)):(G=this.p.pv,j=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/O,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){G=[],j=[];var q=this.px,W=this.py;q._caching.lastFrame+q.offsetTime<=q.keyframes[0].t?(G[0]=q.getValueAtTime((q.keyframes[0].t+.01)/O,0),G[1]=W.getValueAtTime((W.keyframes[0].t+.01)/O,0),j[0]=q.getValueAtTime(q.keyframes[0].t/O,0),j[1]=W.getValueAtTime(W.keyframes[0].t/O,0)):q._caching.lastFrame+q.offsetTime>=q.keyframes[q.keyframes.length-1].t?(G[0]=q.getValueAtTime(q.keyframes[q.keyframes.length-1].t/O,0),G[1]=W.getValueAtTime(W.keyframes[W.keyframes.length-1].t/O,0),j[0]=q.getValueAtTime((q.keyframes[q.keyframes.length-1].t-.01)/O,0),j[1]=W.getValueAtTime((W.keyframes[W.keyframes.length-1].t-.01)/O,0)):(G=[q.pv,W.pv],j[0]=q.getValueAtTime((q._caching.lastFrame+q.offsetTime-.01)/O,q.offsetTime),j[1]=W.getValueAtTime((W._caching.lastFrame+W.offsetTime-.01)/O,W.offsetTime))}else G=j=D;this.v.rotate(-Math.atan2(G[1]-j[1],G[0]-j[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],F),F.prototype.addDynamicProperty=function(B){this._addDynamicProperty(B),this.elem.addDynamicProperty(B),this._isDirty=!0},F.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(B,O,G){return new F(B,O,G)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(D,F){return 1e5*Math.abs(D-F)<=Math.min(Math.abs(D),Math.abs(F))}function floatZero(D){return Math.abs(D)<=1e-5}function lerp(D,F,B){return D*(1-B)+F*B}function lerpPoint(D,F,B){return[lerp(D[0],F[0],B),lerp(D[1],F[1],B)]}function quadRoots(D,F,B){if(D===0)return[];var O=F*F-4*D*B;if(O<0)return[];var G=-F/(2*D);if(O===0)return[G];var j=Math.sqrt(O)/(2*D);return[G-j,G+j]}function polynomialCoefficients(D,F,B,O){return[3*F-D-3*B+O,3*D-6*F+3*B,-3*D+3*F,D]}function singlePoint(D){return new PolynomialBezier(D,D,D,D,!1)}function PolynomialBezier(D,F,B,O,G){G&&pointEqual(D,F)&&(F=lerpPoint(D,O,1/3)),G&&pointEqual(B,O)&&(B=lerpPoint(D,O,2/3));var j=polynomialCoefficients(D[0],F[0],B[0],O[0]),q=polynomialCoefficients(D[1],F[1],B[1],O[1]);this.a=[j[0],q[0]],this.b=[j[1],q[1]],this.c=[j[2],q[2]],this.d=[j[3],q[3]],this.points=[D,F,B,O]}function extrema(D,F){var B=D.points[0][F],O=D.points[D.points.length-1][F];if(B>O){var G=O;O=B,B=G}for(var j=quadRoots(3*D.a[F],2*D.b[F],D.c[F]),q=0;q<j.length;q+=1)if(j[q]>0&&j[q]<1){var W=D.point(j[q])[F];W<B?B=W:W>O&&(O=W)}return{min:B,max:O}}function intersectData(D,F,B){var O=D.boundingBox();return{cx:O.cx,cy:O.cy,width:O.width,height:O.height,bez:D,t:(F+B)/2,t1:F,t2:B}}function splitData(D){var F=D.bez.split(.5);return[intersectData(F[0],D.t1,D.t),intersectData(F[1],D.t,D.t2)]}function boxIntersect(D,F){return 2*Math.abs(D.cx-F.cx)<D.width+F.width&&2*Math.abs(D.cy-F.cy)<D.height+F.height}function intersectsImpl(D,F,B,O,G,j){if(boxIntersect(D,F))if(B>=j||D.width<=O&&D.height<=O&&F.width<=O&&F.height<=O)G.push([D.t,F.t]);else{var q=splitData(D),W=splitData(F);intersectsImpl(q[0],W[0],B+1,O,G,j),intersectsImpl(q[0],W[1],B+1,O,G,j),intersectsImpl(q[1],W[0],B+1,O,G,j),intersectsImpl(q[1],W[1],B+1,O,G,j)}}function crossProduct(D,F){return[D[1]*F[2]-D[2]*F[1],D[2]*F[0]-D[0]*F[2],D[0]*F[1]-D[1]*F[0]]}function lineIntersection(D,F,B,O){var G=[D[0],D[1],1],j=[F[0],F[1],1],q=[B[0],B[1],1],W=[O[0],O[1],1],J=crossProduct(crossProduct(G,j),crossProduct(q,W));return floatZero(J[2])?null:[J[0]/J[2],J[1]/J[2]]}function polarOffset(D,F,B){return[D[0]+Math.cos(F)*B,D[1]-Math.sin(F)*B]}function pointDistance(D,F){return Math.hypot(D[0]-F[0],D[1]-F[1])}function pointEqual(D,F){return floatEqual(D[0],F[0])&&floatEqual(D[1],F[1])}function ZigZagModifier(){}function setPoint(D,F,B,O,G,j,q){var W=B-Math.PI/2,J=B+Math.PI/2,et=F[0]+Math.cos(B)*O*G,U=F[1]-Math.sin(B)*O*G;D.setTripleAt(et,U,et+Math.cos(W)*j,U-Math.sin(W)*j,et+Math.cos(J)*q,U-Math.sin(J)*q,D.length())}function getPerpendicularVector(D,F){var B=[F[0]-D[0],F[1]-D[1]],O=.5*-Math.PI;return[Math.cos(O)*B[0]-Math.sin(O)*B[1],Math.sin(O)*B[0]+Math.cos(O)*B[1]]}function getProjectingAngle(D,F){var B=F===0?D.length()-1:F-1,O=(F+1)%D.length(),G=getPerpendicularVector(D.v[B],D.v[O]);return Math.atan2(0,1)-Math.atan2(G[1],G[0])}function zigZagCorner(D,F,B,O,G,j,q){var W=getProjectingAngle(F,B),J=F.v[B%F._length],et=F.v[B===0?F._length-1:B-1],U=F.v[(B+1)%F._length],Q=j===2?Math.sqrt(Math.pow(J[0]-et[0],2)+Math.pow(J[1]-et[1],2)):0,K=j===2?Math.sqrt(Math.pow(J[0]-U[0],2)+Math.pow(J[1]-U[1],2)):0;setPoint(D,F.v[B%F._length],W,q,O,K/(2*(G+1)),Q/(2*(G+1)),j)}function zigZagSegment(D,F,B,O,G,j){for(var q=0;q<O;q+=1){var W=(q+1)/(O+1),J=G===2?Math.sqrt(Math.pow(F.points[3][0]-F.points[0][0],2)+Math.pow(F.points[3][1]-F.points[0][1],2)):0,et=F.normalAngle(W);setPoint(D,F.point(W),et,j,B,J/(2*(O+1)),J/(2*(O+1)),G),j=-j}return j}function linearOffset(D,F,B){var O=Math.atan2(F[0]-D[0],F[1]-D[1]);return[polarOffset(D,O,B),polarOffset(F,O,B)]}function offsetSegment(D,F){var B,O,G,j,q,W,J;B=(J=linearOffset(D.points[0],D.points[1],F))[0],O=J[1],G=(J=linearOffset(D.points[1],D.points[2],F))[0],j=J[1],q=(J=linearOffset(D.points[2],D.points[3],F))[0],W=J[1];var et=lineIntersection(B,O,G,j);et===null&&(et=O);var U=lineIntersection(q,W,G,j);return U===null&&(U=q),new PolynomialBezier(B,et,U,W)}function joinLines(D,F,B,O,G){var j=F.points[3],q=B.points[0];if(O===3||pointEqual(j,q))return j;if(O===2){var W=-F.tangentAngle(1),J=-B.tangentAngle(0)+Math.PI,et=lineIntersection(j,polarOffset(j,W+Math.PI/2,100),q,polarOffset(q,W+Math.PI/2,100)),U=et?pointDistance(et,j):pointDistance(j,q)/2,Q=polarOffset(j,W,2*U*roundCorner);return D.setXYAt(Q[0],Q[1],"o",D.length()-1),Q=polarOffset(q,J,2*U*roundCorner),D.setTripleAt(q[0],q[1],q[0],q[1],Q[0],Q[1],D.length()),q}var K=lineIntersection(pointEqual(j,F.points[2])?F.points[0]:F.points[2],j,q,pointEqual(q,B.points[1])?B.points[3]:B.points[1]);return K&&pointDistance(K,j)<G?(D.setTripleAt(K[0],K[1],K[0],K[1],K[0],K[1],D.length()),K):j}function getIntersection(D,F){var B=D.intersections(F);return B.length&&floatEqual(B[0][0],1)&&B.shift(),B.length?B[0]:null}function pruneSegmentIntersection(D,F){var B=D.slice(),O=F.slice(),G=getIntersection(D[D.length-1],F[0]);return G&&(B[D.length-1]=D[D.length-1].split(G[0])[0],O[0]=F[0].split(G[1])[1]),D.length>1&&F.length>1&&(G=getIntersection(D[0],F[F.length-1]))?[[D[0].split(G[0])[0]],[F[F.length-1].split(G[1])[1]]]:[B,O]}function pruneIntersections(D){for(var F,B=1;B<D.length;B+=1)F=pruneSegmentIntersection(D[B-1],D[B]),D[B-1]=F[0],D[B]=F[1];return D.length>1&&(F=pruneSegmentIntersection(D[D.length-1],D[0]),D[D.length-1]=F[0],D[0]=F[1]),D}
vendor: 4,582 bytes, line 59
59function offsetSegmentSplit(D,F){var B,O,G,j,q=D.inflectionPoints();if(q.length===0)return[offsetSegment(D,F)];if(q.length===1||floatEqual(q[1],1))return B=(G=D.split(q[0]))[0],O=G[1],[offsetSegment(B,F),offsetSegment(O,F)];B=(G=D.split(q[0]))[0];var W=(q[1]-q[0])/(1-q[0]);return j=(G=G[1].split(W))[0],O=G[1],[offsetSegment(B,F),offsetSegment(j,F),offsetSegment(O,F)]}function OffsetPathModifier(){}function getFontProperties(D){for(var F=D.fStyle?D.fStyle.split(" "):[],B="normal",O="normal",G=F.length,j=0;j<G;j+=1)switch(F[j].toLowerCase()){case"italic":O="italic";break;case"bold":B="700";break;case"black":B="900";break;case"medium":B="500";break;case"regular":case"normal":B="400";break;case"light":case"thin":B="200"}return{style:O,weight:D.fWeight||B}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(D,F){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(D,F.c,0,null,this),this.o=PropertyFactory.getProp(D,F.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(D,F.tr,this),this.so=PropertyFactory.getProp(D,F.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(D,F.tr.eo,0,.01,this),this.data=F,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(D,F,B,O,G,j){var q=j?-1:1,W=O.s.v[0]+(1-O.s.v[0])*(1-G),J=O.s.v[1]+(1-O.s.v[1])*(1-G);D.translate(O.p.v[0]*q*G,O.p.v[1]*q*G,O.p.v[2]),F.translate(-O.a.v[0],-O.a.v[1],O.a.v[2]),F.rotate(-O.r.v*q*G),F.translate(O.a.v[0],O.a.v[1],O.a.v[2]),B.translate(-O.a.v[0],-O.a.v[1],O.a.v[2]),B.scale(j?1/W:W,j?1/J:J),B.translate(O.a.v[0],O.a.v[1],O.a.v[2])},RepeaterModifier.prototype.init=function(D,F,B,O){for(this.elem=D,this.arr=F,this.pos=B,this.elemsData=O,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(D),this.initModifierProperties(D,F[B]);B>0;)B-=1,this._elements.unshift(F[B]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(D){var F,B=D.length;for(F=0;F<B;F+=1)D[F]._processed=!1,D[F].ty==="gr"&&this.resetElements(D[F].it)},RepeaterModifier.prototype.cloneElements=function(D){var F=JSON.parse(JSON.stringify(D));return this.resetElements(F),F},RepeaterModifier.prototype.changeGroupRender=function(D,F){var B,O=D.length;for(B=0;B<O;B+=1)D[B]._render=F,D[B].ty==="gr"&&this.changeGroupRender(D[B].it,F)},RepeaterModifier.prototype.processShapes=function(D){var F,B,O,G,j,q=!1;if(this._mdf||D){var W,J=Math.ceil(this.c.v);if(this._groups.length<J){for(;this._groups.length<J;){var et={it:this.cloneElements(this._elements),ty:"gr"};et.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,et),this._groups.splice(0,0,et),this._currentCopies+=1}this.elem.reloadShapes(),q=!0}for(j=0,O=0;O<=this._groups.length-1;O+=1){if(W=j<J,this._groups[O]._render=W,this.changeGroupRender(this._groups[O].it,W),!W){var U=this.elemsData[O].it,Q=U[U.length-1];Q.transform.op.v!==0?(Q.transform.op._mdf=!0,Q.transform.op.v=0):Q.transform.op._mdf=!1}j+=1}this._currentCopies=J;var K=this.o.v,tt=K%1,Z=K>0?Math.floor(K):Math.ceil(K),Y=this.pMatrix.props,X=this.rMatrix.props,rt=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var it,at,st=0;if(K>0){for(;st<Z;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),st+=1;tt&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,tt,!1),st+=tt)}else if(K<0){for(;st>Z;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),st-=1;tt&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-tt,!0),st-=tt)}for(O=this.data.m===1?0:this._currentCopies-1,G=this.data.m===1?1:-1,j=this._currentCopies;j;){if(at=(B=(F=this.elemsData[O].it)[F.length-1].transform.mProps.v.props).length,F[F.length-1].transform.mProps._mdf=!0,F[F.length-1].transform.op._mdf=!0,F[F.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(O/(this._currentCopies-1)),st!==0){for((O!==0&&G===1||O!==this._currentCopies-1&&G===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(X[0],X[1],X[2],X[3],X[4],
vendor: 7,437 bytes, line 59
59X[5],X[6],X[7],X[8],X[9],X[10],X[11],X[12],X[13],X[14],X[15]),this.matrix.transform(rt[0],rt[1],rt[2],rt[3],rt[4],rt[5],rt[6],rt[7],rt[8],rt[9],rt[10],rt[11],rt[12],rt[13],rt[14],rt[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]),it=0;it<at;it+=1)B[it]=this.matrix.props[it];this.matrix.reset()}else for(this.matrix.reset(),it=0;it<at;it+=1)B[it]=this.matrix.props[it];st+=1,j-=1,O+=G}}else for(j=this._currentCopies,O=0,G=1;j;)B=(F=this.elemsData[O].it)[F.length-1].transform.mProps.v.props,F[F.length-1].transform.mProps._mdf=!1,F[F.length-1].transform.op._mdf=!1,j-=1,O+=G;return q},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(D,F){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(D,F.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(D,F){var B,O=shapePool.newElement();O.c=D.c;var G,j,q,W,J,et,U,Q,K,tt,Z,Y,X=D._length,rt=0;for(B=0;B<X;B+=1)G=D.v[B],q=D.o[B],j=D.i[B],G[0]===q[0]&&G[1]===q[1]&&G[0]===j[0]&&G[1]===j[1]?B!==0&&B!==X-1||D.c?(W=B===0?D.v[X-1]:D.v[B-1],et=(J=Math.sqrt(Math.pow(G[0]-W[0],2)+Math.pow(G[1]-W[1],2)))?Math.min(J/2,F)/J:0,U=Z=G[0]+(W[0]-G[0])*et,Q=Y=G[1]-(G[1]-W[1])*et,K=U-(U-G[0])*roundCorner,tt=Q-(Q-G[1])*roundCorner,O.setTripleAt(U,Q,K,tt,Z,Y,rt),rt+=1,W=B===X-1?D.v[0]:D.v[B+1],et=(J=Math.sqrt(Math.pow(G[0]-W[0],2)+Math.pow(G[1]-W[1],2)))?Math.min(J/2,F)/J:0,U=K=G[0]+(W[0]-G[0])*et,Q=tt=G[1]+(W[1]-G[1])*et,Z=U-(U-G[0])*roundCorner,Y=Q-(Q-G[1])*roundCorner,O.setTripleAt(U,Q,K,tt,Z,Y,rt),rt+=1):(O.setTripleAt(G[0],G[1],q[0],q[1],j[0],j[1],rt),rt+=1):(O.setTripleAt(D.v[B][0],D.v[B][1],D.o[B][0],D.o[B][1],D.i[B][0],D.i[B][1],rt),rt+=1);return O},RoundCornersModifier.prototype.processShapes=function(D){var F,B,O,G,j,q,W=this.shapes.length,J=this.rd.v;if(J!==0)for(B=0;B<W;B+=1){if(q=(j=this.shapes[B]).localShapeCollection,j.shape._mdf||this._mdf||D)for(q.releaseShapes(),j.shape._mdf=!0,F=j.shape.paths.shapes,G=j.shape.paths._length,O=0;O<G;O+=1)q.addShape(this.processPath(F[O],J));j.shape.paths=j.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(D){return[((this.a[0]*D+this.b[0])*D+this.c[0])*D+this.d[0],((this.a[1]*D+this.b[1])*D+this.c[1])*D+this.d[1]]},PolynomialBezier.prototype.derivative=function(D){return[(3*D*this.a[0]+2*this.b[0])*D+this.c[0],(3*D*this.a[1]+2*this.b[1])*D+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(D){var F=this.derivative(D);return Math.atan2(F[1],F[0])},PolynomialBezier.prototype.normalAngle=function(D){var F=this.derivative(D);return Math.atan2(F[0],F[1])},PolynomialBezier.prototype.inflectionPoints=function(){var D=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(D))return[];var F=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/D,B=F*F-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/D;if(B<0)return[];var O=Math.sqrt(B);return floatZero(O)?O>0&&O<1?[F]:[]:[F-O,F+O].filter(function(G){return G>0&&G<1})},PolynomialBezier.prototype.split=function(D){if(D<=0)return[singlePoint(this.points[0]),this];if(D>=1)return[this,singlePoint(this.points[this.points.length-1])];var F=lerpPoint(this.points[0],this.points[1],D),B=lerpPoint(this.points[1],this.points[2],D),O=lerpPoint(this.points[2],this.points[3],D),G=lerpPoint(F,B,D),j=lerpPoint(B,O,D),q=lerpPoint(G,j,D);return[new PolynomialBezier(this.points[0],F,G,q,!0),new PolynomialBezier(q,j,O,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var D=this.bounds();return{left:D.x.min,right:D.x.max,top:D.y.min,bottom:D.y.max,width:D.x.max-D.x.min,height:D.y.max-D.y.min,cx:(D.x.max+D.x.min)/2,cy:(D.y.max+D.y.min)/2}},PolynomialBezier.prototype.intersections=function(D,F,B){F===void 0&&(F=2),B===void 0&&(B=7);var O=[];return intersectsImpl(intersectData(this,0,1),intersectData(D,0,1),0,F,O,B),O},PolynomialBezier.shapeSegment=function(D,F){var B=(F+1)%D.length();return new PolynomialBezier(D.v[F],D.o[F],D.i[B],D.v[B],!0)},PolynomialBezier.shapeSegmentInverted=function(D,F){var B=(F+1)%D.length();return new PolynomialBezier(D.v[B],D.i[B],D.o[F],D.v[F],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(D,F){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(D,F.s,0,null,this),this.frequency=PropertyFactory.getProp(D,F.r,0,null,this),this.pointsType=PropertyFactory.getProp(D,F.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0},ZigZagModifier.prototype.processPath=function(D,F,B,O){var G=D._length,j=shapePool.newElement();if(j.c=D.c,D.c||(G-=1),G===0)return j;var q=-1,W=PolynomialBezier.shapeSegment(D,0);zigZagCorner(j,D,0,F,B,O,q);for(var J=0;J<G;J+=1)q=zigZagSegment(j,W,F,B,O,-q),W=J!==G-1||D.c?PolynomialBezier.shapeSegment(D,(J+1)%G):null,zigZagCorner(j,D,J+1,F,B,O,q);return j},ZigZagModifier.prototype.processShapes=function(D){var F,B,O,G,j,q,W=this.shapes.length,J=this.amplitude.v,et=Math.max(0,Math.round(this.frequency.v)),U=this.pointsType.v;if(J!==0)for(B=0;B<W;B+=1){if(q=(j=this.shapes[B]).localShapeCollection,j.shape._mdf||this._mdf||D)for(q.releaseShapes(),j.shape._mdf=!0,F=j.shape.paths.shapes,G=j.shape.paths._length,O=0;O<G;O+=1)q.addShape(this.processPath(F[O],J,et,U));j.shape.paths=j.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(D,F){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(D,F.a,0,null,this),this.miterLimit=PropertyFactory.getProp(D,F.ml,0,null,this),this.lineJoin=F.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(D,F,B,O){var G=shapePool.newElement();G.c=D.c;var j,q,W,J=D.length();D.c||(J-=1);var et=[];for(j=0;j<J;j+=1)W=PolynomialBezier.shapeSegment(D,j),et.push(offsetSegmentSplit(W,F));if(!D.c)for(j=J-1;j>=0;j-=1)W=PolynomialBezier.shapeSegmentInverted(D,j),et.push(offsetSegmentSplit(W,F));et=pruneIntersections(et);var U=null,Q=null;for(j=0;j<et.length;j+=1){var K=et[j];for(Q&&(U=joinLines(G,Q,K[0],B,O)),Q=K[K.length-1],q=0;q<K.length;q+=1)W=K[q],U&&pointEqual(W.points[0],U)?G.setXYAt(W.points[1][0],W.points[1][1],"o",G.length()-1):G.setTripleAt(W.points[0][0],W.points[0][1],W.points[1][0],W.points[1][1],W.points[0][0],W.points[0][1],G.length()),G.setTripleAt(W.points[3][0],W.points[3][1],W.points[3][0],W.points[3][1],W.points[2][0],W.points[2][1],G.length()),U=W.points[3]}return et.length&&joinLines(G,Q,et[0][0],B,O),G},OffsetPathModifier.prototype.processShapes=function(D){var F,B,O,G,j,q,W=this.shapes.length,J=this.amount.v,et=this.miterLimit.v,U=this.lineJoin;if(J!==0)for(B=0;B<W;B+=1){if(q=(j=this.shapes[B]).localShapeCollection,j.shape._mdf||this._mdf||D)for(q.releaseShapes(),j.shape._mdf=!0,F=j.shape.paths.shapes,G=j.shape.paths._length,O=0;O<G;O+=1)q.addShape(this.processPath(F[O],J,U,et));j.shape.paths=j.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var D={w:0,size:0,shapes:[],data:{shapes:[]}},F=[];
59F=F.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var B=127988,O=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function G(U,Q){var K=createTag("span");K.setAttribute("aria-hidden",!0),K.style.fontFamily=Q;var tt=createTag("span");tt.innerText="giItT1WQy@!-/#",K.style.position="absolute",K.style.left="-10000px",K.style.top="-10000px",K.style.fontSize="300px",K.style.fontVariant="normal",K.style.fontStyle="normal",K.style.fontWeight="normal",K.style.letterSpacing="0",K.appendChild(tt),document.body.appendChild(K);var Z=tt.offsetWidth;return tt.style.fontFamily=function(Y){var X,rt=Y.split(","),it=rt.length,at=[];for(X=0;X<it;X+=1)rt[X]!=="sans-serif"&&rt[X]!=="monospace"&&at.push(rt[X]);return at.join(",")}(U)+", "+Q,{node:tt,w:Z,parent:K}}function j(U,Q){var K,tt=document.body&&Q?"svg":"canvas",Z=getFontProperties(U);if(tt==="svg"){var Y=createNS("text");Y.style.fontSize="100px",Y.setAttribute("font-family",U.fFamily),Y.setAttribute("font-style",Z.style),Y.setAttribute("font-weight",Z.weight),Y.textContent="1",U.fClass?(Y.style.fontFamily="inherit",Y.setAttribute("class",U.fClass)):Y.style.fontFamily=U.fFamily,Q.appendChild(Y),K=Y}else{var X=new OffscreenCanvas(500,500).getContext("2d");X.font=Z.style+" "+Z.weight+" 100px "+U.fFamily,K=X}return{measureText:function(rt){return tt==="svg"?(K.textContent=rt,K.getComputedTextLength()):K.measureText(rt).width}}}function q(U){var Q=0,K=U.charCodeAt(0);if(K>=55296&&K<=56319){var tt=U.charCodeAt(1);tt>=56320&&tt<=57343&&(Q=1024*(K-55296)+tt-56320+65536)}return Q}function W(U){var Q=q(U);return Q>=127462&&Q<=127487}var J=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};J.isModifier=function(U,Q){var K=U.toString(16)+Q.toString(16);return O.indexOf(K)!==-1},J.isZeroWidthJoiner=function(U){return U===8205},J.isFlagEmoji=function(U){return W(U.substr(0,2))&&W(U.substr(2,2))},J.isRegionalCode=W,J.isCombinedCharacter=function(U){return F.indexOf(U)!==-1},J.isRegionalFlag=function(U,Q){var K=q(U.substr(Q,2));if(K!==B)return!1;var tt=0;for(Q+=2;tt<5;){if((K=q(U.substr(Q,2)))<917601||K>917626)return!1;tt+=1,Q+=2}return q(U.substr(Q,2))===917631},J.isVariationSelector=function(U){return U===65039},J.BLACK_FLAG_CODE_POINT=B;var et={addChars:function(U){if(U){var Q;this.chars||(this.chars=[]);var K,tt,Z=U.length,Y=this.chars.length;for(Q=0;Q<Z;Q+=1){for(K=0,tt=!1;K<Y;)this.chars[K].style===U[Q].style&&this.chars[K].fFamily===U[Q].fFamily&&this.chars[K].ch===U[Q].ch&&(tt=!0),K+=1;tt||(this.chars.push(U[Q]),Y+=1)}}},addFonts:function(U,Q){if(U){if(this.chars)return this.isLoaded=!0,void(this.fonts=U.list);if(!document.body)return this.isLoaded=!0,U.list.forEach(function(ft){ft.helper=j(ft),ft.cache={}}),void(this.fonts=U.list);var K,tt=U.list,Z=tt.length,Y=Z;for(K=0;K<Z;K+=1){var X,rt,it=!0;if(tt[K].loaded=!1,tt[K].monoCase=G(tt[K].fFamily,"monospace"),tt[K].sansCase=G(tt[K].fFamily,"sans-serif"),tt[K].fPath){if(tt[K].fOrigin==="p"||tt[K].origin===3){if((X=document.querySelectorAll('style[f-forigin="p"][f-family="'+tt[K].fFamily+'"], style[f-origin="3"][f-family="'+tt[K].fFamily+'"]')).length>0&&(it=!1),it){var at=createTag("style");at.setAttribute("f-forigin",tt[K].fOrigin),at.setAttribute("f-origin",tt[K].origin),at.setAttribute("f-family",tt[K].fFamily),at.type="text/css",at.innerText="@font-face {font-family: "+tt[K].fFamily+"; font-style: normal; src: url('"+tt[K].fPath+"');}",Q.appendChild(at)}}else if(tt[K].fOrigin==="g"||tt[K].origin===1){for(X=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),rt=0;rt<X.length;rt+=1)X[rt].href.indexOf(tt[K].fPath)!==-1&&(it=!1);if(it){var st=createTag("link");st.setAttribute("f-forigin",tt[K].fOrigin),st.setAttribute("f-origin",tt[K].origin),st.type="text/css",st.rel="stylesheet",st.href=tt[K].fPath,document.body.appendChild(st)}}else if(tt[K].fOrigin==="t"||tt[K].origin===2){for(X=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),rt=0;rt<X.length;rt+=1)tt[K].fPath===X[rt].src&&(it=!1);if(it){var ot=createTag("link");ot.setAttribute("f-forigin",tt[K].fOrigin),ot.setAttribute("f-origin",tt[K].origin),ot.setAttribute("rel","stylesheet"),ot.setAttribute("href",tt[K].fPath),Q.appendChild(ot)}}}else tt[K].loaded=!0,Y-=1;tt[K].helper=j(tt[K],Q),tt[K].cache={},this.fonts.push(tt[K])}Y===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(U,Q,K){for(var tt=0,Z=this.chars.length;tt<Z;){if(this.chars[tt].ch===U&&this.chars[tt].style===Q&&this.chars[tt].fFamily===K)return this.chars[tt];tt+=1}
vendor: 13,188 bytes, line 59
59return(typeof U=="string"&&U.charCodeAt(0)!==13||!U)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",U,Q,K)),D},getFontByName:function(U){for(var Q=0,K=this.fonts.length;Q<K;){if(this.fonts[Q].fName===U)return this.fonts[Q];Q+=1}return this.fonts[0]},measureText:function(U,Q,K){var tt=this.getFontByName(Q),Z=U;if(!tt.cache[Z]){var Y=tt.helper;if(U===" "){var X=Y.measureText("|"+U+"|"),rt=Y.measureText("||");tt.cache[Z]=(X-rt)/100}else tt.cache[Z]=Y.measureText(U)/100}return tt.cache[Z]*K},checkLoadedFonts:function(){var U,Q,K,tt=this.fonts.length,Z=tt;for(U=0;U<tt;U+=1)this.fonts[U].loaded?Z-=1:this.fonts[U].fOrigin==="n"||this.fonts[U].origin===0?this.fonts[U].loaded=!0:(Q=this.fonts[U].monoCase.node,K=this.fonts[U].monoCase.w,Q.offsetWidth!==K?(Z-=1,this.fonts[U].loaded=!0):(Q=this.fonts[U].sansCase.node,K=this.fonts[U].sansCase.w,Q.offsetWidth!==K&&(Z-=1,this.fonts[U].loaded=!0)),this.fonts[U].loaded&&(this.fonts[U].sansCase.parent.parentNode.removeChild(this.fonts[U].sansCase.parent),this.fonts[U].monoCase.parent.parentNode.removeChild(this.fonts[U].monoCase.parent)));Z!==0&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return J.prototype=et,J}();function SlotManager(D){this.animationData=D}function slotFactory(D){return new SlotManager(D)}function RenderableElement(){}SlotManager.prototype.getProp=function(D){return this.animationData.slots&&this.animationData.slots[D.sid]?Object.assign(D,this.animationData.slots[D.sid].p):D},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(D){this.renderableComponents.indexOf(D)===-1&&this.renderableComponents.push(D)},removeRenderableComponent:function(D){this.renderableComponents.indexOf(D)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(D),1)},prepareRenderableFrame:function(D){this.checkLayerLimits(D)},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(D){this.data.ip-this.data.st<=D&&this.data.op-this.data.st>D?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var D,F=this.renderableComponents.length;for(D=0;D<F;D+=1)this.renderableComponents[D].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={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"},function(D){return blendModeEnums[D]||""}),blendModeEnums;function SliderEffect(D,F,B){this.p=PropertyFactory.getProp(F,D.v,0,0,B)}function AngleEffect(D,F,B){this.p=PropertyFactory.getProp(F,D.v,0,0,B)}function ColorEffect(D,F,B){this.p=PropertyFactory.getProp(F,D.v,1,0,B)}function PointEffect(D,F,B){this.p=PropertyFactory.getProp(F,D.v,1,0,B)}function LayerIndexEffect(D,F,B){this.p=PropertyFactory.getProp(F,D.v,0,0,B)}function MaskIndexEffect(D,F,B){this.p=PropertyFactory.getProp(F,D.v,0,0,B)}function CheckboxEffect(D,F,B){this.p=PropertyFactory.getProp(F,D.v,0,0,B)}function NoValueEffect(){this.p={}}function EffectsManager(D,F){var B,O=D.ef||[];this.effectElements=[];var G,j=O.length;for(B=0;B<j;B+=1)G=new GroupEffect(O[B],F),this.effectElements.push(G)}function GroupEffect(D,F){this.init(D,F)}function BaseElement(){}function FrameElement(){}function FootageElement(D,F,B){this.initFrame(),this.initRenderable(),this.assetData=F.getAssetData(D.refId),this.footageData=F.imageLoader.getAsset(this.assetData),this.initBaseData(D,F,B)}function AudioElement(D,F,B){this.initFrame(),this.initRenderable(),this.assetData=F.getAssetData(D.refId),this.initBaseData(D,F,B),this._isPlaying=!1,this._canPlay=!1;var O=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(O),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,F.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,D.au&&D.au.lv?D.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(D,F){var B;this.data=D,this.effectElements=[],this.initDynamicPropertyContainer(F);var O,G=this.data.ef.length,j=this.data.ef;for(B=0;B<G;B+=1){switch(O=null,j[B].ty){case 0:O=new SliderEffect(j[B],F,this);break;case 1:O=new AngleEffect(j[B],F,this);break;case 2:O=new ColorEffect(j[B],F,this);break;case 3:O=new PointEffect(j[B],F,this);break;case 4:case 7:O=new CheckboxEffect(j[B],F,this);break;case 10:O=new LayerIndexEffect(j[B],F,this);break;case 11:O=new MaskIndexEffect(j[B],F,this);break;case 5:O=new EffectsManager(j[B],F,this);break;default:O=new NoValueEffect(j[B],F,this)}O&&this.effectElements.push(O)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var D=0,F=this.data.masksProperties.length;D<F;){if(this.data.masksProperties[D].mode!=="n"&&this.data.masksProperties[D].cl!==!1)return!0;D+=1}return!1},initExpressions:function(){var D=getExpressionInterfaces();if(D){var F=D("layer"),B=D("effects"),O=D("shape"),G=D("text"),j=D("comp");this.layerInterface=F(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var q=B.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(q),this.data.ty===0||this.data.xt?this.compInterface=j(this):this.data.ty===4?(this.layerInterface.shapeInterface=O(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=G(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var D=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=D},initBaseData:function(D,F,B){this.globalData=F,this.comp=B,this.data=D,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(D,F){var B,O=this.dynamicProperties.length;for(B=0;B<O;B+=1)(F||this._isParent&&this.dynamicProperties[B].propType==="transform")&&(this.dynamicProperties[B].getValue(),this.dynamicProperties[B]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(D){this.dynamicProperties.indexOf(D)===-1&&this.dynamicProperties.push(D)}},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 D=getExpressionInterfaces();if(D){var F=D("footage");this.layerInterface=F(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(D){if(this.prepareRenderableFrame(D,!0),this.prepareProperties(D,!0),this.tm._placeholder)this._currentTime=D/this.data.sr;else{var F=this.tm.v;this._currentTime=F}this._volume=this.lv.v[0];var B=this._volume*this._volumeMultiplier;this._previousVolume!==B&&(this._previousVolume=B,this.audio.volume(B))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(D){this.audio.rate(D)},AudioElement.prototype.volume=function(D){this._volumeMultiplier=D,this._previousVolume=D*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(D){var F,B,O=this.layers.length;for(this.completeLayers=!0,F=O-1;F>=0;F-=1)this.elements[F]||(B=this.layers[F]).ip-B.st<=D-this.layers[F].st&&B.op-B.st>D-this.layers[F].st&&this.buildItem(F),this.completeLayers=!!this.elements[F]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(D){switch(D.ty){case 2:return this.createImage(D);case 0:return this.createComp(D);case 1:return this.createSolid(D);case 3:default:return this.createNull(D);case 4:return this.createShape(D);case 5:return this.createText(D);case 6:return this.createAudio(D);case 13:return this.createCamera(D);case 15:return this.createFootage(D)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(D){return new AudioElement(D,this.globalData,this)},BaseRenderer.prototype.createFootage=function(D){return new FootageElement(D,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var D,F=this.layers.length;for(D=0;D<F;D+=1)this.buildItem(D);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(D){var F;this.completeLayers=!1;var B,O=D.length,G=this.layers.length;for(F=0;F<O;F+=1)for(B=0;B<G;){if(this.layers[B].id===D[F].id){this.layers[B]=D[F];break}B+=1}},BaseRenderer.prototype.setProjectInterface=function(D){this.globalData.projectInterface=D},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(D,F,B){for(var O=this.elements,G=this.layers,j=0,q=G.length;j<q;)G[j].ind==F&&(O[j]&&O[j]!==!0?(B.push(O[j]),O[j].setAsParent(),G[j].parent!==void 0?this.buildElementParenting(D,G[j].parent,B):D.setHierarchy(B)):(this.buildItem(j),this.addPendingElement(D))),j+=1},BaseRenderer.prototype.addPendingElement=function(D){this.pendingElements.push(D)},BaseRenderer.prototype.searchExtraCompositions=function(D){var F,B=D.length;for(F=0;F<B;F+=1)if(D[F].xt){var O=this.createComp(D[F]);O.initExpressions(),this.globalData.projectInterface.registerComposition(O)}},BaseRenderer.prototype.getElementById=function(D){var F,B=this.elements.length;for(F=0;F<B;F+=1)if(this.elements[F].data.ind===D)return this.elements[F];return null},BaseRenderer.prototype.getElementByPath=function(D){var F,B=D.shift();if(typeof B=="number")F=this.elements[B];else{var O,G=this.elements.length;for(O=0;O<G;O+=1)if(this.elements[O].data.nm===B){F=this.elements[O];break}}return D.length===0?F:F.getElementByPath(D)},BaseRenderer.prototype.setupGlobalData=function(D,F){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(D),this.globalData.fontManager.addChars(D.chars),this.globalData.fontManager.addFonts(D.fonts,F),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=D.fr,this.globalData.nm=D.nm,this.globalData.compSize={w:D.w,h:D.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(D,F,B){this.data=D,this.element=F,this.globalData=B,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var O,G,j=this.globalData.defs,q=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(q),this.solidPath="";var W,J,et,U,Q,K,tt=this.masksProperties,Z=0,Y=[],X=createElementID(),rt="clipPath",it="clip-path";
vendor: 1,658 bytes, line 59
59for(O=0;O<q;O+=1)if((tt[O].mode!=="a"&&tt[O].mode!=="n"||tt[O].inv||tt[O].o.k!==100||tt[O].o.x)&&(rt="mask",it="mask"),tt[O].mode!=="s"&&tt[O].mode!=="i"||Z!==0?et=null:((et=createNS("rect")).setAttribute("fill","#ffffff"),et.setAttribute("width",this.element.comp.data.w||0),et.setAttribute("height",this.element.comp.data.h||0),Y.push(et)),G=createNS("path"),tt[O].mode==="n")this.viewData[O]={op:PropertyFactory.getProp(this.element,tt[O].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,tt[O],3),elem:G,lastPath:""},j.appendChild(G);else{var at;if(Z+=1,G.setAttribute("fill",tt[O].mode==="s"?"#000000":"#ffffff"),G.setAttribute("clip-rule","nonzero"),tt[O].x.k!==0?(rt="mask",it="mask",K=PropertyFactory.getProp(this.element,tt[O].x,0,null,this.element),at=createElementID(),(U=createNS("filter")).setAttribute("id",at),(Q=createNS("feMorphology")).setAttribute("operator","erode"),Q.setAttribute("in","SourceGraphic"),Q.setAttribute("radius","0"),U.appendChild(Q),j.appendChild(U),G.setAttribute("stroke",tt[O].mode==="s"?"#000000":"#ffffff")):(Q=null,K=null),this.storedData[O]={elem:G,x:K,expan:Q,lastPath:"",lastOperator:"",filterId:at,lastRadius:0},tt[O].mode==="i"){J=Y.length;var st=createNS("g");for(W=0;W<J;W+=1)st.appendChild(Y[W]);var ot=createNS("mask");ot.setAttribute("mask-type","alpha"),ot.setAttribute("id",X+"_"+Z),ot.appendChild(G),j.appendChild(ot),st.setAttribute("mask","url("+getLocationHref()+"#"+X+"_"+Z+")"),Y.length=0,Y.push(st)}else Y.push(G);tt[O].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[O]={elem:G,lastPath:"",op:PropertyFactory.getProp(this.element,tt[O].o,
vendor: 8,399 bytes, line 59
590,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,tt[O],3),invRect:et},this.viewData[O].prop.k||this.drawPath(tt[O],this.viewData[O].prop.v,this.viewData[O])}for(this.maskElement=createNS(rt),q=Y.length,O=0;O<q;O+=1)this.maskElement.appendChild(Y[O]);Z>0&&(this.maskElement.setAttribute("id",X),this.element.maskedElement.setAttribute(it,"url("+getLocationHref()+"#"+X+")"),j.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var D=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:D,localMat:D,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 D,F=this.finalTransform.mat,B=0,O=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;B<O;){if(this.hierarchy[B].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}B+=1}if(this.finalTransform._matMdf)for(D=this.finalTransform.mProp.v.props,F.cloneFromProps(D),B=0;B<O;B+=1)F.multiply(this.hierarchy[B].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 D=0,F=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;D<F;)this.localTransforms[D]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[D]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),D+=1;if(this.finalTransform._localMatMdf){var B=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(B),D=1;D<F;D+=1){var O=this.localTransforms[D].matrix;B.multiply(O)}B.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var G=this.finalTransform.localOpacity;for(D=0;D<F;D+=1)G*=.01*this.localTransforms[D].opacity;this.finalTransform.localOpacity=G}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var D=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(D.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var F=0,B=D.length;for(F=0;F<B;F+=1)this.localTransforms.push(D[F])}}},globalToLocal:function(D){var F=[];F.push(this.finalTransform);for(var B,O=!0,G=this.comp;O;)G.finalTransform?(G.data.hasMask&&F.splice(0,0,G.finalTransform),G=G.comp):O=!1;var j,q=F.length;for(B=0;B<q;B+=1)j=F[B].mat.applyToPointArray(0,0,0),D=[D[0]-j[0],D[1]-j[1],0];return D},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(D){return this.viewData[D].prop},MaskElement.prototype.renderFrame=function(D){var F,B=this.element.finalTransform.mat,O=this.masksProperties.length;for(F=0;F<O;F+=1)if((this.viewData[F].prop._mdf||D)&&this.drawPath(this.masksProperties[F],this.viewData[F].prop.v,this.viewData[F]),(this.viewData[F].op._mdf||D)&&this.viewData[F].elem.setAttribute("fill-opacity",this.viewData[F].op.v),this.masksProperties[F].mode!=="n"&&(this.viewData[F].invRect&&(this.element.finalTransform.mProp._mdf||D)&&this.viewData[F].invRect.setAttribute("transform",B.getInverseMatrix().to2dCSS()),this.storedData[F].x&&(this.storedData[F].x._mdf||D))){var G=this.storedData[F].expan;this.storedData[F].x.v<0?(this.storedData[F].lastOperator!=="erode"&&(this.storedData[F].lastOperator="erode",this.storedData[F].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[F].filterId+")")),G.setAttribute("radius",-this.storedData[F].x.v)):(this.storedData[F].lastOperator!=="dilate"&&(this.storedData[F].lastOperator="dilate",this.storedData[F].elem.setAttribute("filter",null)),this.storedData[F].elem.setAttribute("stroke-width",2*this.storedData[F].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var D="M0,0 ";return D+=" h"+this.globalData.compSize.w,D+=" v"+this.globalData.compSize.h,D+=" h-"+this.globalData.compSize.w,D+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(D,F,B){var O,G,j=" M"+F.v[0][0]+","+F.v[0][1];for(G=F._length,O=1;O<G;O+=1)j+=" C"+F.o[O-1][0]+","+F.o[O-1][1]+" "+F.i[O][0]+","+F.i[O][1]+" "+F.v[O][0]+","+F.v[O][1];if(F.c&&G>1&&(j+=" C"+F.o[O-1][0]+","+F.o[O-1][1]+" "+F.i[0][0]+","+F.i[0][1]+" "+F.v[0][0]+","+F.v[0][1]),B.lastPath!==j){var q="";B.elem&&(F.c&&(q=D.inv?this.solidPath+j:j),B.elem.setAttribute("d",q)),B.lastPath=j}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var D={createFilter:function(F,B){var O=createNS("filter");return O.setAttribute("id",F),B!==!0&&(O.setAttribute("filterUnits","objectBoundingBox"),O.setAttribute("x","0%"),O.setAttribute("y","0%"),O.setAttribute("width","100%"),O.setAttribute("height","100%")),O},createAlphaToLuminanceFilter:function(){var F=createNS("feColorMatrix");return F.setAttribute("type","matrix"),F.setAttribute("color-interpolation-filters","sRGB"),F.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),F}};return D}(),featureSupport=function(){var D={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(D.maskType=!1),/firefox/i.test(navigator.userAgent)&&(D.svgLumaHidden=!1),D}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(D){var F,B,O="SourceGraphic",G=D.data.ef?D.data.ef.length:0,j=createElementID(),q=filtersFactory.createFilter(j,!0),W=0;for(this.filters=[],F=0;F<G;F+=1){B=null;var J=D.data.ef[F].ty;registeredEffects$1[J]&&(B=new registeredEffects$1[J].effect(q,D.effectsManager.effectElements[F],D,idPrefix+W,O),O=idPrefix+W,registeredEffects$1[J].countsAsEffect&&(W+=1)),B&&this.filters.push(B)}W&&(D.globalData.defs.appendChild(q),D.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+j+")")),this.filters.length&&D.addRenderableComponent(this)}function registerEffect$1(D,F,B){registeredEffects$1[D]={effect:F,countsAsEffect:B}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(D,F,B){this.assetData=F.getAssetData(D.refId),this.assetData&&this.assetData.sid&&(this.assetData=F.slotManager.getProp(this.assetData)),this.initElement(D,F,B),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(D,F){this.elem=D,this.pos=F}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(D){var F,B=this.filters.length;for(F=0;F<B;F+=1)this.filters[F].renderFrame(D)},SVGEffects.prototype.getEffects=function(D){var F,B=this.filters.length,O=[];for(F=0;F<B;F+=1)this.filters[F].type===D&&O.push(this.filters[F]);return O},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 D=null;if(this.data.td){this.matteMasks={};var F=createNS("g");F.setAttribute("id",this.layerId),F.appendChild(this.layerElement),D=F,this.globalData.defs.appendChild(F)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),D=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var B=createNS("clipPath"),O=createNS("path");O.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var G=createElementID();if(B.setAttribute("id",G),B.appendChild(O),this.globalData.defs.appendChild(B),this.checkMasks()){var j=createNS("g");
vendor: 10,763 bytes, line 59
59j.setAttribute("clip-path","url("+getLocationHref()+"#"+G+")"),j.appendChild(this.layerElement),this.transformedElement=j,D?D.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+G+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(D){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[D]){var F,B,O,G,j=this.layerId+"_"+D;if(D===1||D===3){var q=createNS("mask");q.setAttribute("id",j),q.setAttribute("mask-type",D===3?"luminance":"alpha"),(O=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),q.appendChild(O),this.globalData.defs.appendChild(q),featureSupport.maskType||D!==1||(q.setAttribute("mask-type","luminance"),F=createElementID(),B=filtersFactory.createFilter(F),this.globalData.defs.appendChild(B),B.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(G=createNS("g")).appendChild(O),q.appendChild(G),G.setAttribute("filter","url("+getLocationHref()+"#"+F+")"))}else if(D===2){var W=createNS("mask");W.setAttribute("id",j),W.setAttribute("mask-type","alpha");var J=createNS("g");W.appendChild(J),F=createElementID(),B=filtersFactory.createFilter(F);var et=createNS("feComponentTransfer");et.setAttribute("in","SourceGraphic"),B.appendChild(et);var U=createNS("feFuncA");U.setAttribute("type","table"),U.setAttribute("tableValues","1.0 0.0"),et.appendChild(U),this.globalData.defs.appendChild(B);var Q=createNS("rect");Q.setAttribute("width",this.comp.data.w),Q.setAttribute("height",this.comp.data.h),Q.setAttribute("x","0"),Q.setAttribute("y","0"),Q.setAttribute("fill","#ffffff"),Q.setAttribute("opacity","0"),J.setAttribute("filter","url("+getLocationHref()+"#"+F+")"),J.appendChild(Q),(O=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),J.appendChild(O),featureSupport.maskType||(W.setAttribute("mask-type","luminance"),B.appendChild(filtersFactory.createAlphaToLuminanceFilter()),G=createNS("g"),J.appendChild(Q),G.appendChild(this.layerElement),J.appendChild(G)),this.globalData.defs.appendChild(W)}this.matteMasks[D]=j}return this.matteMasks[D]},setMatte:function(D){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+D+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(D){this.hierarchy=D},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(D,F,B){this.initFrame(),this.initBaseData(D,F,B),this.initTransform(D,F,B),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(D){this._mdf=!1,this.prepareRenderableFrame(D),this.prepareProperties(D,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 D=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",D),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(D){var F,B=this.shapeModifiers.length;for(F=0;F<B;F+=1)this.shapeModifiers[F].addShape(D)},isShapeInAnimatedModifiers:function(D){for(var F=this.shapeModifiers.length;0<F;)if(this.shapeModifiers[0].isAnimatedWithShape(D))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var D,F=this.shapes.length;for(D=0;D<F;D+=1)this.shapes[D].sh.reset();for(D=(F=this.shapeModifiers.length)-1;D>=0&&!this.shapeModifiers[D].processShapes(this._isFirstFrame);D-=1);}},searchProcessedElement:function(D){for(var F=this.processedElements,B=0,O=F.length;B<O;){if(F[B].elem===D)return F[B].pos;B+=1}return 0},addProcessedElement:function(D,F){for(var B=this.processedElements,O=B.length;O;)if(B[O-=1].elem===D)return void(B[O].pos=F);B.push(new ProcessedElement(D,F))},prepareFrame:function(D){this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(D,F,B){this.caches=[],this.styles=[],this.transformers=D,this.lStr="",this.sh=B,this.lvl=F,this._isAnimated=!!B.k;for(var O=0,G=D.length;O<G;){if(D[O].mProps.dynamicProperties.length){this._isAnimated=!0;break}O+=1}}function SVGStyleData(D,F){this.data=D,this.type=D.ty,this.d="",this.lvl=F,this._mdf=!1,this.closed=D.hd===!0,this.pElem=createNS("path"),this.msElem=null}function DashProperty(D,F,B,O){var G;this.elem=D,this.frameId=-1,this.dataProps=createSizedArray(F.length),this.renderer=B,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",F.length?F.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(O);var j,q=F.length||0;for(G=0;G<q;G+=1)j=PropertyFactory.getProp(D,F[G].v,0,0,this),this.k=j.k||this.k,this.dataProps[G]={n:F[G].n,p:j};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(D,F,B){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(D,F.o,0,.01,this),this.w=PropertyFactory.getProp(D,F.w,0,null,this),this.d=new DashProperty(D,F.d||{},"svg",this),this.c=PropertyFactory.getProp(D,F.c,1,255,this),this.style=B,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(D,F,B){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(D,F.o,0,.01,this),this.c=PropertyFactory.getProp(D,F.c,1,255,this),this.style=B}function SVGNoStyleData(D,F,B){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.style=B}function GradientProperty(D,F,B){this.data=F,this.c=createTypedArray("uint8c",4*F.p);var O=F.k.k[0].s?F.k.k[0].s.length-4*F.p:F.k.k.length-4*F.p;this.o=createTypedArray("float32",O),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=O,this.initDynamicPropertyContainer(B),this.prop=PropertyFactory.getProp(D,F.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(D,F,B){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.initGradientData(D,F,B)}function SVGGradientStrokeStyleData(D,F,B){this.initDynamicPropertyContainer(D),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(D,F.w,0,null,this),this.d=new DashProperty(D,F.d||{},"svg",this),this.initGradientData(D,F,B),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(D,F,B){this.transform={mProps:D,op:F,container:B},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(D){if((this.elem.globalData.frameId!==this.frameId||D)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||D,this._mdf)){var F=0,B=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),F=0;F<B;F+=1)this.dataProps[F].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[F].p.v:this.dashArray[F]=this.dataProps[F].p.v:this.dashoffset[0]=this.dataProps[F].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(D,F){for(var B=0,O=this.o.length/2;B<O;){if(Math.abs(D[4*B]-D[4*F+2*B])>.01)return!1;B+=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 D=0,F=this.data.k.k.length;D<F;){if(!this.comparePoints(this.data.k.k[D].s,this.data.p))return!1;D+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(D){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||D){var F,B,O,G=4*this.data.p;for(F=0;F<G;F+=1)B=F%4==0?100:255,O=Math.round(this.prop.v[F]*B),this.c[F]!==O&&(this.c[F]=O,this._cmdf=!D);if(this.o.length)for(G=this.prop.v.length,F=4*this.data.p;F<G;F+=1)B=F%2==0?100:1,O=F%2==0?Math.round(100*this.prop.v[F]):this.prop.v[F],this.o[F-4*this.data.p]!==O&&(this.o[F-4*this.data.p]=O,this._omdf=!D);this._mdf=!D}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(D,F,B){this.o=PropertyFactory.getProp(D,F.o,0,.01,this),this.s=PropertyFactory.getProp(D,F.s,1,null,this),this.e=Pro
vendor: 4,148 bytes, line 59
59pertyFactory.getProp(D,F.e,1,null,this),this.h=PropertyFactory.getProp(D,F.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(D,F.a||{k:0},0,degToRads,this),this.g=new GradientProperty(D,F.g,this),this.style=B,this.stops=[],this.setGradientData(B.pElem,F),this.setGradientOpacity(F,B),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(D,F){var B=createElementID(),O=createNS(F.t===1?"linearGradient":"radialGradient");O.setAttribute("id",B),O.setAttribute("spreadMethod","pad"),O.setAttribute("gradientUnits","userSpaceOnUse");var G,j,q,W=[];for(q=4*F.g.p,j=0;j<q;j+=4)G=createNS("stop"),O.appendChild(G),W.push(G);D.setAttribute(F.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+B+")"),this.gf=O,this.cst=W},SVGGradientFillStyleData.prototype.setGradientOpacity=function(D,F){if(this.g._hasOpacity&&!this.g._collapsable){var B,O,G,j=createNS("mask"),q=createNS("path");j.appendChild(q);var W=createElementID(),J=createElementID();j.setAttribute("id",J);var et=createNS(D.t===1?"linearGradient":"radialGradient");et.setAttribute("id",W),et.setAttribute("spreadMethod","pad"),et.setAttribute("gradientUnits","userSpaceOnUse"),G=D.g.k.k[0].s?D.g.k.k[0].s.length:D.g.k.k.length;var U=this.stops;for(O=4*D.g.p;O<G;O+=2)(B=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),et.appendChild(B),U.push(B);q.setAttribute(D.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+W+")"),D.ty==="gs"&&(q.setAttribute("stroke-linecap",lineCapEnum[D.lc||2]),q.setAttribute("stroke-linejoin",lineJoinEnum[D.lj||2]),D.lj===1&&q.setAttribute("stroke-miterlimit",D.ml)),this.of=et,this.ms=j,this.ost=U,this.maskId=J,F.msElem=q}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(D,F,B,O){if(F===0)return"";var G,j=D.o,q=D.i,W=D.v,J=" M"+O.applyToPointStringified(W[0][0],W[0][1]);for(G=1;G<F;G+=1)J+=" C"+O.applyToPointStringified(j[G-1][0],j[G-1][1])+" "+O.applyToPointStringified(q[G][0],q[G][1])+" "+O.applyToPointStringified(W[G][0],W[G][1]);return B&&F&&(J+=" C"+O.applyToPointStringified(j[G-1][0],j[G-1][1])+" "+O.applyToPointStringified(q[0][0],q[0][1])+" "+O.applyToPointStringified(W[0][0],W[0][1]),J+="z"),J},SVGElementsRenderer=function(){var D=new Matrix,F=new Matrix;function B(et,U,Q){(Q||U.transform.op._mdf)&&U.transform.container.setAttribute("opacity",U.transform.op.v),(Q||U.transform.mProps._mdf)&&U.transform.container.setAttribute("transform",U.transform.mProps.v.to2dCSS())}function O(){}function G(et,U,Q){var K,tt,Z,Y,X,rt,it,at,st,ot,ft=U.styles.length,pt=U.lvl;for(rt=0;rt<ft;rt+=1){if(Y=U.sh._mdf||Q,U.styles[rt].lvl<pt){for(at=F.reset(),st=pt-U.styles[rt].lvl,ot=U.transformers.length-1;!Y&&st>0;)Y=U.transformers[ot].mProps._mdf||Y,st-=1,ot-=1;if(Y)for(st=pt-U.styles[rt].lvl,ot=U.transformers.length-1;st>0;)at.multiply(U.transformers[ot].mProps.v),st-=1,ot-=1}else at=D;if(tt=(it=U.sh.paths)._length,Y){for(Z="",K=0;K<tt;K+=1)(X=it.shapes[K])&&X._length&&(Z+=buildShapeString(X,X._length,X.c,at));U.caches[rt]=Z}else Z=U.caches[rt];U.styles[rt].d+=et.hd===!0?"":Z,U.styles[rt]._mdf=Y||U.styles[rt]._mdf}}function j(et,U,Q){var K=U.style;(U.c._mdf||Q)&&K.pElem.setAttribute("fill","rgb("+bmFloor(U.c.v[0])+","+bmFloor(U.c.v[1])+","+bmFloor(U.c.v[2])+")"),(U.o._mdf||Q)&&K.pElem.setAttribute("fill-opacity",U.o.v)}function q(et,U,Q){W(et,U,Q),J(0,U,Q)}function W(et,U,Q){var K,tt,Z,Y,X,rt=U.gf,it=U.g._hasOpacity,at=U.s.v,st=U.e.v;if(U.o._mdf||Q){var ot=et.ty==="gf"?"fill-opacity":"stroke-opacity";U.style.pElem.setAttribute(ot,U.o.v)}if(U.s._mdf||Q){var ft=et.t===1?"x1":"cx",pt=ft==="x1"?"y1":"cy";rt.setAttribute(ft,at[0]),rt.setAttribute(pt,at[1]),it&&!U.g._collapsable&&(U.of.setAttribute(ft,at[0]),U.of.setAttribute(pt,at[1]))}if(U.g._cmdf||Q){K=U.cst;var ht=U.g.c;for(Z=K.length,tt=0;tt<Z;tt+=1)(Y=K[tt]).setAttribute("offset",ht[4*tt]+"%"),Y.setAttribute("stop-color","rgb("+ht[4*tt+1]+","+ht[4*tt+2]+","+ht[4*tt+3]+")")}if(it&&(U.g._omdf||Q)){var ut=U.g.o;for(Z=(K=U.g._collapsable?U.cst:U.ost).length,tt=0;tt<Z;
vendor: 15,722 bytes, line 59
59tt+=1)Y=K[tt],U.g._collapsable||Y.setAttribute("offset",ut[2*tt]+"%"),Y.setAttribute("stop-opacity",ut[2*tt+1])}if(et.t===1)(U.e._mdf||Q)&&(rt.setAttribute("x2",st[0]),rt.setAttribute("y2",st[1]),it&&!U.g._collapsable&&(U.of.setAttribute("x2",st[0]),U.of.setAttribute("y2",st[1])));else if((U.s._mdf||U.e._mdf||Q)&&(X=Math.sqrt(Math.pow(at[0]-st[0],2)+Math.pow(at[1]-st[1],2)),rt.setAttribute("r",X),it&&!U.g._collapsable&&U.of.setAttribute("r",X)),U.e._mdf||U.h._mdf||U.a._mdf||Q){X||(X=Math.sqrt(Math.pow(at[0]-st[0],2)+Math.pow(at[1]-st[1],2)));var ct=Math.atan2(st[1]-at[1],st[0]-at[0]),lt=U.h.v;lt>=1?lt=.99:lt<=-1&&(lt=-.99);var gt=X*lt,yt=Math.cos(ct+U.a.v)*gt+at[0],dt=Math.sin(ct+U.a.v)*gt+at[1];rt.setAttribute("fx",yt),rt.setAttribute("fy",dt),it&&!U.g._collapsable&&(U.of.setAttribute("fx",yt),U.of.setAttribute("fy",dt))}}function J(et,U,Q){var K=U.style,tt=U.d;tt&&(tt._mdf||Q)&&tt.dashStr&&(K.pElem.setAttribute("stroke-dasharray",tt.dashStr),K.pElem.setAttribute("stroke-dashoffset",tt.dashoffset[0])),U.c&&(U.c._mdf||Q)&&K.pElem.setAttribute("stroke","rgb("+bmFloor(U.c.v[0])+","+bmFloor(U.c.v[1])+","+bmFloor(U.c.v[2])+")"),(U.o._mdf||Q)&&K.pElem.setAttribute("stroke-opacity",U.o.v),(U.w._mdf||Q)&&(K.pElem.setAttribute("stroke-width",U.w.v),K.msElem&&K.msElem.setAttribute("stroke-width",U.w.v))}return{createRenderFunction:function(et){switch(et.ty){case"fl":return j;case"gf":return W;case"gs":return q;case"st":return J;case"sh":case"el":case"rc":case"sr":return G;case"tr":return B;case"no":return O;default:return null}}}}();function SVGShapeElement(D,F,B){this.shapes=[],this.shapesData=D.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(D,F,B),this.prevViewData=[]}function LetterProps(D,F,B,O,G,j){this.o=D,this.sw=F,this.sc=B,this.fc=O,this.m=G,this.p=j,this._mdf={o:!0,sw:!!F,sc:!!B,fc:!!O,m:!0,p:!0}}function TextProperty(D,F){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,F.d&&F.d.sid&&(F.d=D.globalData.slotManager.getProp(F.d)),this.data=F,this.elem=D,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var D,F,B,O,G=this.shapes.length,j=this.stylesList.length,q=[],W=!1;for(B=0;B<j;B+=1){for(O=this.stylesList[B],W=!1,q.length=0,D=0;D<G;D+=1)(F=this.shapes[D]).styles.indexOf(O)!==-1&&(q.push(F),W=F._isAnimated||W);q.length>1&&W&&this.setShapesAsAnimated(q)}},SVGShapeElement.prototype.setShapesAsAnimated=function(D){var F,B=D.length;for(F=0;F<B;F+=1)D[F].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(D,F){var B,O=new SVGStyleData(D,F),G=O.pElem;return D.ty==="st"?B=new SVGStrokeStyleData(this,D,O):D.ty==="fl"?B=new SVGFillStyleData(this,D,O):D.ty==="gf"||D.ty==="gs"?(B=new(D.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,D,O),this.globalData.defs.appendChild(B.gf),B.maskId&&(this.globalData.defs.appendChild(B.ms),this.globalData.defs.appendChild(B.of),G.setAttribute("mask","url("+getLocationHref()+"#"+B.maskId+")"))):D.ty==="no"&&(B=new SVGNoStyleData(this,D,O)),D.ty!=="st"&&D.ty!=="gs"||(G.setAttribute("stroke-linecap",lineCapEnum[D.lc||2]),G.setAttribute("stroke-linejoin",lineJoinEnum[D.lj||2]),G.setAttribute("fill-opacity","0"),D.lj===1&&G.setAttribute("stroke-miterlimit",D.ml)),D.r===2&&G.setAttribute("fill-rule","evenodd"),D.ln&&G.setAttribute("id",D.ln),D.cl&&G.setAttribute("class",D.cl),D.bm&&(G.style["mix-blend-mode"]=getBlendMode(D.bm)),this.stylesList.push(O),this.addToAnimatedContents(D,B),B},SVGShapeElement.prototype.createGroupElement=function(D){var F=new ShapeGroupData;return D.ln&&F.gr.setAttribute("id",D.ln),D.cl&&F.gr.setAttribute("class",D.cl),D.bm&&(F.gr.style["mix-blend-mode"]=getBlendMode(D.bm)),F},SVGShapeElement.prototype.createTransformElement=function(D,F){var B=TransformPropertyFactory.getTransformProperty(this,D,this),O=new SVGTransformData(B,B.o,F);return this.addToAnimatedContents(D,O),O},SVGShapeElement.prototype.createShapeElement=function(D,F,B){var O=4;D.ty==="rc"?O=5:D.ty==="el"?O=6:D.ty==="sr"&&(O=7);var G=new SVGShapeData(F,B,ShapePropertyFactory.getShapeProp(this,D,O,this));return this.shapes.push(G),this.addShapeToModifiers(G),this.addToAnimatedContents(D,G),G},SVGShapeElement.prototype.addToAnimatedContents=function(D,F){for(var B=0,O=this.animatedContents.length;B<O;){if(this.animatedContents[B].element===F)return;B+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(D),element:F,data:D})},SVGShapeElement.prototype.setElementStyles=function(D){var F,B=D.styles,O=this.stylesList.length;for(F=0;F<O;F+=1)this.stylesList[F].closed||B.push(this.stylesList[F])},SVGShapeElement.prototype.reloadShapes=function(){var D;this._isFirstFrame=!0;var F=this.itemsData.length;for(D=0;D<F;D+=1)this.prevViewData[D]=this.itemsData[D];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),F=this.dynamicProperties.length,D=0;D<F;D+=1)this.dynamicProperties[D].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(D,F,B,O,G,j,q){var W,J,et,U,Q,K,tt=[].concat(j),Z=D.length-1,Y=[],X=[];for(W=Z;W>=0;W-=1){if((K=this.searchProcessedElement(D[W]))?F[W]=B[K-1]:D[W]._render=q,D[W].ty==="fl"||D[W].ty==="st"||D[W].ty==="gf"||D[W].ty==="gs"||D[W].ty==="no")K?F[W].style.closed=!1:F[W]=this.createStyleElement(D[W],G),D[W]._render&&F[W].style.pElem.parentNode!==O&&O.appendChild(F[W].style.pElem),Y.push(F[W].style);else if(D[W].ty==="gr"){if(K)for(et=F[W].it.length,J=0;J<et;J+=1)F[W].prevViewData[J]=F[W].it[J];else F[W]=this.createGroupElement(D[W]);this.searchShapes(D[W].it,F[W].it,F[W].prevViewData,F[W].gr,G+1,tt,q),D[W]._render&&F[W].gr.parentNode!==O&&O.appendChild(F[W].gr)}else D[W].ty==="tr"?(K||(F[W]=this.createTransformElement(D[W],O)),U=F[W].transform,tt.push(U)):D[W].ty==="sh"||D[W].ty==="rc"||D[W].ty==="el"||D[W].ty==="sr"?(K||(F[W]=this.createShapeElement(D[W],tt,G)),this.setElementStyles(F[W])):D[W].ty==="tm"||D[W].ty==="rd"||D[W].ty==="ms"||D[W].ty==="pb"||D[W].ty==="zz"||D[W].ty==="op"?(K?(Q=F[W]).closed=!1:((Q=ShapeModifiers.getModifier(D[W].ty)).init(this,D[W]),F[W]=Q,this.shapeModifiers.push(Q)),X.push(Q)):D[W].ty==="rp"&&(K?(Q=F[W]).closed=!0:(Q=ShapeModifiers.getModifier(D[W].ty),F[W]=Q,Q.init(this,D,W,F),this.shapeModifiers.push(Q),q=!1),X.push(Q));this.addProcessedElement(D[W],W+1)}for(Z=Y.length,W=0;W<Z;W+=1)Y[W].closed=!0;for(Z=X.length,W=0;W<Z;W+=1)X[W].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var D;this.renderModifiers();var F=this.stylesList.length;for(D=0;D<F;D+=1)this.stylesList[D].reset();for(this.renderShape(),D=0;D<F;D+=1)(this.stylesList[D]._mdf||this._isFirstFrame)&&(this.stylesList[D].msElem&&(this.stylesList[D].msElem.setAttribute("d",this.stylesList[D].d),this.stylesList[D].d="M0 0"+this.stylesList[D].d),this.stylesList[D].pElem.setAttribute("d",this.stylesList[D].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var D,F,B=this.animatedContents.length;for(D=0;D<B;D+=1)F=this.animatedContents[D],(this._isFirstFrame||F.element._isAnimated)&&F.data!==!0&&F.fn(F.data,F.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(D,F,B,O,G,j){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var q=!1;return this.o!==D&&(this.o=D,this._mdf.o=!0,q=!0),this.sw!==F&&(this.sw=F,this._mdf.sw=!0,q=!0),this.sc!==B&&(this.sc=B,this._mdf.sc=!0,q=!0),this.fc!==O&&(this.fc=O,this._mdf.fc=!0,q=!0),this.m!==G&&(this.m=G,this._mdf.m=!0,q=!0),!j.length||this.p[0]===j[0]&&this.p[1]===j[1]&&this.p[4]===j[4]&&this.p[5]===j[5]&&this.p[12]===j[12]&&this.p[13]===j[13]||(this.p=j,this._mdf.p=!0,q=!0),q},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(D,F){for(var B in F)Object.prototype.hasOwnProperty.call(F,B)&&(D[B]=F[B]);return D},TextProperty.prototype.setCurrentData=function(D){D.__complete||this.completeTextData(D),this.currentData=D,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(D){this.effectsSequence.push(D),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(D){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||D){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var F=this.currentData,B=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var O;this.lock=!0,this._mdf=!1;var G=this.effectsSequence.length,j=D||this.data.d.k[this.keysIndex].s;for(O=0;O<G;O+=1)j=B!==this.keysIndex?this.effectsSequence[O](j,j.t):this.effectsSequence[O](this.currentData,j.t);F!==j&&this.setCurrentData(j),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var D=this.data.d.k,F=this.elem.comp.renderedFrame,B=0,O=D.length;B<=O-1&&!(B===O-1||D[B+1].t>F);)B+=1;return this.keysIndex!==B&&(this.keysIndex=B),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(D){for(var F,B,O=[],G=0,j=D.length,q=!1,W=!1,J="";G<j;)q=W,W=!1,F=D.charCodeAt(G),J=D.charAt(G),FontManager.isCombinedCharacter(F)?q=!0:F>=55296&&F<=56319?FontManager.isRegionalFlag(D,G)?J=D.substr(G,14):(B=D.charCodeAt(G+1))>=56320&&B<=57343&&(FontManager.isModifier(F,B)?(J=D.substr(G,2),q=!0):J=FontManager.isFlagEmoji(D.substr(G,4))?D.substr(G,4):D.substr(G,2)):F>56319?(B=D.charCodeAt(G+1),FontManager.isVariationSelector(F)&&(q=!0)):FontManager.isZeroWidthJoiner(F)&&(q=!0,W=!0),q?(O[O.length-1]+=J,q=!1):O.push(J),G+=J.length;return O},TextProperty.prototype.completeTextData=function(D){D.__complete=!0;var F,B,O,G,j,q,W,J=this.elem.globalData.fontManager,et=this.data,U=[],Q=0,K=et.m.g,tt=0,Z=0,Y=0,X=[],rt=0,it=0,at=J.getFontByName(D.f),st=0,ot=getFontProperties(at);D.fWeight=ot.weight,D.fStyle=ot.style,D.finalSize=D.s,D.finalText=this.buildFinalText(D.t),B=D.finalText.length,D.finalLineHeight=D.lh;var ft,pt=D.tr/1e3*D.finalSize;if(D.sz)for(var ht,ut,ct=!0,lt=D.sz[0],gt=D.sz[1];ct;){ht=0,rt=0,B=(ut=this.buildFinalText(D.t)).length,pt=D.tr/1e3*D.finalSize;var yt=-1;for(F=0;F<B;F+=1)ft=ut[F].charCodeAt(0),O=!1,ut[F]===" "?yt=F:ft!==13&&ft!==3||(rt=0,O=!0,ht+=D.finalLineHeight||1.2*D.finalSize),J.chars?(W=J.getCharData(ut[F],at.fStyle,at.fFamily),st=O?0:W.w*D.finalSize/100):st=J.measureText(ut[F],D.f,D.finalSize),rt+st>lt&&ut[F]!==" "?(yt===-1?B+=1:F=yt,ht+=D.finalLineHeight||1.2*D.finalSize,ut.splice(F,yt===F?1:0,"\r"),yt=-1,rt=0):(rt+=st,rt+=pt);ht+=at.ascent*D.finalSize/100,this.canResize&&D.finalSize>this.minimumFontSize&><ht?(D.finalSize-=1,D.finalLineHeight=D.finalSize*D.lh/D.s):(D.finalText=ut,B=D.finalText.length,ct=!1)}rt=-pt,st=0;var dt,bt=0;for(F=0;F<B;F+=1)if(O=!1,(ft=(dt=D.finalText[F]).charCodeAt(0))===13||ft===3?(bt=0,X.push(rt),it=rt>it?rt:it,rt=-2*pt,G="",O=!0,Y+=1):G=dt,J.chars?(W=J.getCharData(dt,at.fStyle,J.getFontByName(D.f).fFamily),st=O?0:W.w*D.finalSize/100):st=J.measureText(G,D.f,D.finalSize),dt===" "?bt+=st+pt:(rt+=st+pt+bt,bt=0),U.push({l:st,an:st,add:tt,n:O,anIndexes:[],val:G,line:Y,animatorJustifyOffset:0}),K==2){if(tt+=st,G===""||G===" "||F===B-1){for(G!==""&&G!==" "||(tt-=st);Z<=F;)U[Z].an=tt,U[Z].ind=Q,U[Z].extra=st,Z+=1;Q+=1,tt=0}}else if(K==3){if(tt+=st,G===""||F===B-1){for(G===""&&(tt-=st);Z<=F;)U[Z].an=tt,U[Z].ind=Q,U[Z].extra=st,Z+=1;tt=0,Q+=1}}else U[Q].ind=Q,U[Q].extra=0,Q+=1;if(D.l=U,it=rt>it?rt:it,X.push(rt),D.sz)D.boxWidth=D.sz[0],D.justifyOffset=0;else switch(D.boxWidth=it,D.j){case 1:D.justifyOffset=-D.boxWidth;break;case 2:D.justifyOffset=-D.boxWidth/2;break;default:D.justifyOffset=0}D.lineWidths=X;var Pt,At,nt,mt,vt=et.a;q=vt.length;var St=[];for(j=0;j<q;j+=1){for((Pt=vt[j]).a.sc&&(D.strokeColorAnim=!0),Pt.a.sw&&(D.strokeWidthAnim=!0),(Pt.a.fc||Pt.a.fh||Pt.a.fs||Pt.a.fb)&&(D.fillColorAnim=!0),mt=0,nt=Pt.s.b,F=0;F<B;F+=1)(At=U[F]).anIndexes[j]=mt,(nt==1&&At.val!==""||nt==2&&At.val!==""&&At.val!==" "||nt==3&&(At.n||At.val==" "||F==B-1)||nt==4&&(At.n||F==B-1))&&(Pt.s.rn===1&&St.push(mt),mt+=1);et.a[j].s.totalChars=mt;var Tt,wt=-1;if(Pt.s.rn===1)for(F=0;F<B;F+=1)wt!=(At=U[F]).anIndexes[j]&&(wt=At.anIndexes[j],Tt=St.splice(Math.floor(Math.random()*St.length),1)[0]),At.anIndexes[j]=Tt}D.yOffset=D.finalLineHeight||1.2*D.finalSize,D.ls=D.ls||0,D.ascent=at.ascent*D.finalSize/100},TextProperty.prototype.updateDocumentData=function(D,F){F=F===void 0?this.keysIndex:F;var B=this.copyData({},this.data.d.k[F].s);B=this.copyData(B,D),this.data.d.k[F].s=B,this.recalculate(F),this.setCurrentData(B),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(D){var F=this.data.d.k[D].s;F.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(F)},TextProperty.prototype.canResizeFont=function(D){this.canResize=D,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(D){this.minimumFontSize=Math.floor(D)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var D=Math.max,F=Math.min,B=Math.floor;function O(G,j){this._currentTextLength=-1,this.k=!1,this.data=j,this.elem=G,this.comp=G.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(G),this.s=PropertyFactory.getProp(G,j.s||{k:0},0,0,this),this.e="e"in j?PropertyFactory.getProp(G,j.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(G,j.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(G,j.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(G,j.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(G,j.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(G,j.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return O.prototype={getMult:function(G){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var j=0,q=0,W=1,J=1;this.ne.v>0?j=this.ne.v/100:q=-this.ne.v/100,this.xe.v>0?W=1-this.xe.v/100:J=1+this.xe.v/100;var et=BezierFactory.getBezierEasing(j,q,W,J).get,U=0,Q=this.finalS,K=this.finalE,tt=this.data.sh;if(tt===2)U=et(U=K===Q?G>=K?1:0:D(0,F(.5/(K-Q)+(G-Q)/(K-Q),1)));else if(tt===3)U=et(U=K===Q?G>=K?0:1:1-D(0,F(.5/(K-Q)+(G-Q)/(K-Q),1)));else if(tt===4)K===Q?U=0:(U=D(0,F(.5/(K-Q)+(G-Q)/(K-Q),1)))<.5?U*=2:U=1-2*(U-.5),U=et(U);else if(tt===5){if(K===Q)U=0;
vendor: 21,135 bytes, line 59
59else{var Z=K-Q,Y=-Z/2+(G=F(D(0,G+.5-Q),K-Q)),X=Z/2;U=Math.sqrt(1-Y*Y/(X*X))}U=et(U)}else tt===6?(K===Q?U=0:(G=F(D(0,G+.5-Q),K-Q),U=(1+Math.cos(Math.PI+2*Math.PI*G/(K-Q)))/2),U=et(U)):(G>=B(Q)&&(U=D(0,F(G-Q<0?F(K,1)-(Q-G):K-G,1))),U=et(U));if(this.sm.v!==100){var rt=.01*this.sm.v;rt===0&&(rt=1e-8);var it=.5-.5*rt;U<it?U=0:(U=(U-it)/rt)>1&&(U=1)}return U*this.a.v},getValue:function(G){this.iterateDynamicProperties(),this._mdf=G||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,G&&this.data.r===2&&(this.e.v=this._currentTextLength);var j=this.data.r===2?1:100/this.data.totalChars,q=this.o.v/j,W=this.s.v/j+q,J=this.e.v/j+q;if(W>J){var et=W;W=J,J=et}this.finalS=W,this.finalE=J}},extendPrototype([DynamicPropertyContainer],O),{getTextSelectorProp:function(G,j,q){return new O(G,j,q)}}}();function TextAnimatorDataProperty(D,F,B){var O={propType:!1},G=PropertyFactory.getProp,j=F.a;this.a={r:j.r?G(D,j.r,0,degToRads,B):O,rx:j.rx?G(D,j.rx,0,degToRads,B):O,ry:j.ry?G(D,j.ry,0,degToRads,B):O,sk:j.sk?G(D,j.sk,0,degToRads,B):O,sa:j.sa?G(D,j.sa,0,degToRads,B):O,s:j.s?G(D,j.s,1,.01,B):O,a:j.a?G(D,j.a,1,0,B):O,o:j.o?G(D,j.o,0,.01,B):O,p:j.p?G(D,j.p,1,0,B):O,sw:j.sw?G(D,j.sw,0,0,B):O,sc:j.sc?G(D,j.sc,1,0,B):O,fc:j.fc?G(D,j.fc,1,0,B):O,fh:j.fh?G(D,j.fh,0,0,B):O,fs:j.fs?G(D,j.fs,0,.01,B):O,fb:j.fb?G(D,j.fb,0,.01,B):O,t:j.t?G(D,j.t,0,0,B):O},this.s=TextSelectorProp.getTextSelectorProp(D,F.s,B),this.s.t=F.s.t}function TextAnimatorProperty(D,F,B){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=D,this._renderType=F,this._elem=B,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(B)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var D,F,B=this._textData.a.length,O=PropertyFactory.getProp;for(D=0;D<B;D+=1)F=this._textData.a[D],this._animatorsData[D]=new TextAnimatorDataProperty(this._elem,F,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:O(this._elem,this._textData.p.a,0,0,this),f:O(this._elem,this._textData.p.f,0,0,this),l:O(this._elem,this._textData.p.l,0,0,this),r:O(this._elem,this._textData.p.r,0,0,this),p:O(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=O(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(D,F){if(this.lettersChangedFlag=F,this._mdf||this._isFirstFrame||F||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var B,O,G,j,q,W,J,et,U,Q,K,tt,Z,Y,X,rt,it,at,st,ot=this._moreOptions.alignment.v,ft=this._animatorsData,pt=this._textData,ht=this.mHelper,ut=this._renderType,ct=this.renderedLetters.length,lt=D.l;if(this._hasMaskedPath){if(st=this._pathData.m,!this._pathData.n||this._pathData._mdf){var gt,yt=st.v;for(this._pathData.r.v&&(yt=yt.reverse()),q={tLength:0,segments:[]},j=yt._length-1,rt=0,G=0;G<j;G+=1)gt=bez.buildBezierData(yt.v[G],yt.v[G+1],[yt.o[G][0]-yt.v[G][0],yt.o[G][1]-yt.v[G][1]],[yt.i[G+1][0]-yt.v[G+1][0],yt.i[G+1][1]-yt.v[G+1][1]]),q.tLength+=gt.segmentLength,q.segments.push(gt),rt+=gt.segmentLength;G=j,st.v.c&&(gt=bez.buildBezierData(yt.v[G],yt.v[0],[yt.o[G][0]-yt.v[G][0],yt.o[G][1]-yt.v[G][1]],[yt.i[0][0]-yt.v[0][0],yt.i[0][1]-yt.v[0][1]]),q.tLength+=gt.segmentLength,q.segments.push(gt),rt+=gt.segmentLength),this._pathData.pi=q}if(q=this._pathData.pi,W=this._pathData.f.v,K=0,Q=1,et=0,U=!0,Y=q.segments,W<0&&st.v.c)for(q.tLength<Math.abs(W)&&(W=-Math.abs(W)%q.tLength),Q=(Z=Y[K=Y.length-1].points).length-1;W<0;)W+=Z[Q].partialLength,(Q-=1)<0&&(Q=(Z=Y[K-=1].points).length-1);tt=(Z=Y[K].points)[Q-1],X=(J=Z[Q]).partialLength}j=lt.length,B=0,O=0;var dt,bt,Pt,At,nt,mt=1.2*D.finalSize*.714,vt=!0;Pt=ft.length;var St,Tt,wt,kt,Et,Mt,xt,Ct,It,Bt,Lt,Vt,Dt=-1,_t=W,Wt=K,Ut=Q,Ht=-1,$t="",zt=this.defaultPropsArray;if(D.j===2||D.j===1){var Ft=0,Gt=0,Nt=D.j===2?-.5:-1,Rt=0,jt=!0;for(G=0;G<j;G+=1)if(lt[G].n){for(Ft&&(Ft+=Gt);Rt<G;)lt[Rt].animatorJustifyOffset=Ft,Rt+=1;Ft=0,jt=!0}else{for(bt=0;bt<Pt;bt+=1)(dt=ft[bt].a).t.propType&&(jt&&D.j===2&&(Gt+=dt.t.v*Nt),(nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars)).length?Ft+=dt.t.v*nt[0]*Nt:Ft+=dt.t.v*nt*Nt);jt=!1}for(Ft&&(Ft+=Gt);Rt<G;)lt[Rt].animatorJustifyOffset=Ft,Rt+=1}for(G=0;G<j;G+=1){if(ht.reset(),kt=1,lt[G].n)B=0,O+=D.yOffset,O+=vt?1:0,W=_t,vt=!1,this._hasMaskedPath&&(Q=Ut,tt=(Z=Y[K=Wt].points)[Q-1],X=(J=Z[Q]).partialLength,et=0),$t="",Lt="",It="",Vt="",zt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ht!==lt[G].line){switch(D.j){case 1:W+=rt-D.lineWidths[lt[G].line];break;case 2:W+=(rt-D.lineWidths[lt[G].line])/2}Ht=lt[G].line}Dt!==lt[G].ind&&(lt[Dt]&&(W+=lt[Dt].extra),W+=lt[G].an/2,Dt=lt[G].ind),W+=ot[0]*lt[G].an*.005;var Ot=0;for(bt=0;bt<Pt;bt+=1)(dt=ft[bt].a).p.propType&&((nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars)).length?Ot+=dt.p.v[0]*nt[0]:Ot+=dt.p.v[0]*nt),dt.a.propType&&((nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars)).length?Ot+=dt.a.v[0]*nt[0]:Ot+=dt.a.v[0]*nt);for(U=!0,this._pathData.a.v&&(W=.5*lt[0].an+(rt-this._pathData.f.v-.5*lt[0].an-.5*lt[lt.length-1].an)*Dt/(j-1),W+=this._pathData.f.v);U;)et+X>=W+Ot||!Z?(it=(W+Ot-et)/J.partialLength,Tt=tt.point[0]+(J.point[0]-tt.point[0])*it,wt=tt.point[1]+(J.point[1]-tt.point[1])*it,ht.translate(-ot[0]*lt[G].an*.005,-ot[1]*mt*.01),U=!1):Z&&(et+=J.partialLength,(Q+=1)>=Z.length&&(Q=0,Y[K+=1]?Z=Y[K].points:st.v.c?(Q=0,Z=Y[K=0].points):(et-=J.partialLength,Z=null)),Z&&(tt=J,X=(J=Z[Q]).partialLength));St=lt[G].an/2-lt[G].add,ht.translate(-St,0,0)}else St=lt[G].an/2-lt[G].add,ht.translate(-St,0,0),ht.translate(-ot[0]*lt[G].an*.005,-ot[1]*mt*.01,0);for(bt=0;bt<Pt;bt+=1)(dt=ft[bt].a).t.propType&&(nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars),B===0&&D.j===0||(this._hasMaskedPath?nt.length?W+=dt.t.v*nt[0]:W+=dt.t.v*nt:nt.length?B+=dt.t.v*nt[0]:B+=dt.t.v*nt));for(D.strokeWidthAnim&&(Mt=D.sw||0),D.strokeColorAnim&&(Et=D.sc?[D.sc[0],D.sc[1],D.sc[2]]:[0,0,0]),D.fillColorAnim&&D.fc&&(xt=[D.fc[0],D.fc[1],D.fc[2]]),bt=0;bt<Pt;bt+=1)(dt=ft[bt].a).a.propType&&((nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars)).length?ht.translate(-dt.a.v[0]*nt[0],-dt.a.v[1]*nt[1],dt.a.v[2]*nt[2]):ht.translate(-dt.a.v[0]*nt,-dt.a.v[1]*nt,dt.a.v[2]*nt));for(bt=0;bt<Pt;bt+=1)(dt=ft[bt].a).s.propType&&((nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars)).length?ht.scale(1+(dt.s.v[0]-1)*nt[0],1+(dt.s.v[1]-1)*nt[1],1):ht.scale(1+(dt.s.v[0]-1)*nt,1+(dt.s.v[1]-1)*nt,1));for(bt=0;bt<Pt;bt+=1){if(dt=ft[bt].a,nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars),dt.sk.propType&&(nt.length?ht.skewFromAxis(-dt.sk.v*nt[0],dt.sa.v*nt[1]):ht.skewFromAxis(-dt.sk.v*nt,dt.sa.v*nt)),dt.r.propType&&(nt.length?ht.rotateZ(-dt.r.v*nt[2]):ht.rotateZ(-dt.r.v*nt)),dt.ry.propType&&(nt.length?ht.rotateY(dt.ry.v*nt[1]):ht.rotateY(dt.ry.v*nt)),dt.rx.propType&&(nt.length?ht.rotateX(dt.rx.v*nt[0]):ht.rotateX(dt.rx.v*nt)),dt.o.propType&&(nt.length?kt+=(dt.o.v*nt[0]-kt)*nt[0]:kt+=(dt.o.v*nt-kt)*nt),D.strokeWidthAnim&&dt.sw.propType&&(nt.length?Mt+=dt.sw.v*nt[0]:Mt+=dt.sw.v*nt),D.strokeColorAnim&&dt.sc.propType)for(Ct=0;Ct<3;Ct+=1)nt.length?Et[Ct]+=(dt.sc.v[Ct]-Et[Ct])*nt[0]:Et[Ct]+=(dt.sc.v[Ct]-Et[Ct])*nt;if(D.fillColorAnim&&D.fc){if(dt.fc.propType)for(Ct=0;Ct<3;Ct+=1)nt.length?xt[Ct]+=(dt.fc.v[Ct]-xt[Ct])*nt[0]:xt[Ct]+=(dt.fc.v[Ct]-xt[Ct])*nt;dt.fh.propType&&(xt=nt.length?addHueToRGB(xt,dt.fh.v*nt[0]):addHueToRGB(xt,dt.fh.v*nt)),dt.fs.propType&&(xt=nt.length?addSaturationToRGB(xt,dt.fs.v*nt[0]):addSaturationToRGB(xt,dt.fs.v*nt)),dt.fb.propType&&(xt=nt.length?addBrightnessToRGB(xt,dt.fb.v*nt[0]):addBrightnessToRGB(xt,dt.fb.v*nt))}}for(bt=0;bt<Pt;bt+=1)(dt=ft[bt].a).p.propType&&(nt=ft[bt].s.getMult(lt[G].anIndexes[bt],pt.a[bt].s.totalChars),this._hasMaskedPath?nt.length?ht.translate(0,dt.p.v[1]*nt[0],-dt.p.v[2]*nt[1]):ht.translate(0,dt.p.v[1]*nt,-dt.p.v[2]*nt):nt.length?ht.translate(dt.p.v[0]*nt[0],dt.p.v[1]*nt[1],-dt.p.v[2]*nt[2]):ht.translate(dt.p.v[0]*nt,dt.p.v[1]*nt,-dt.p.v[2]*nt));if(D.strokeWidthAnim&&(It=Mt<0?0:Mt),D.strokeColorAnim&&(Bt="rgb("+Math.round(255*Et[0])+","+Math.round(255*Et[1])+","+Math.round(255*Et[2])+")"),D.fillColorAnim&&D.fc&&(Lt="rgb("+Math.round(255*xt[0])+","+Math.round(255*xt[1])+","+Math.round(255*xt[2])+")"),this._hasMaskedPath){if(ht.translate(0,-D.ls),ht.translate(0,ot[1]*mt*.01+O,0),this._pathData.p.v){at=(J.point[1]-tt.point[1])/(J.point[0]-tt.point[0]);var qt=180*Math.atan(at)/Math.PI;J.point[0]<tt.point[0]&&(qt+=180),ht.rotate(-qt*Math.PI/180)}ht.translate(Tt,wt,0),W-=ot[0]*lt[G].an*.005,lt[G+1]&&Dt!==lt[G+1].ind&&(W+=lt[G].an/2,W+=.001*D.tr*D.finalSize)}else{switch(ht.translate(B,O,0),D.ps&&ht.translate(D.ps[0],D.ps[1]+D.ascent,0),D.j){case 1:ht.translate(lt[G].animatorJustifyOffset+D.justifyOffset+(D.boxWidth-D.lineWidths[lt[G].line]),0,0);break;case 2:ht.translate(lt[G].animatorJustifyOffset+D.justifyOffset+(D.boxWidth-D.lineWidths[lt[G].line])/2,0,0)}ht.translate(0,-D.ls),ht.translate(St,0,0),ht.translate(ot[0]*lt[G].an*.005,ot[1]*mt*.01,0),B+=lt[G].l+.001*D.tr*D.finalSize}ut==="html"?$t=ht.toCSS():ut==="svg"?$t=ht.to2dCSS():zt=[ht.props[0],ht.props[1],ht.props[2],ht.props[3],ht.props[4],ht.props[5],ht.props[6],ht.props[7],ht.props[8],ht.props[9],ht.props[10],ht.props[11],ht.props[12],ht.props[13],ht.props[14],ht.props[15]],Vt=kt}ct<=G?(At=new LetterProps(Vt,It,Bt,Lt,$t,zt),this.renderedLetters.push(At),ct+=1,this.lettersChangedFlag=!0):(At=this.renderedLetters[G],this.lettersChangedFlag=At.update(Vt,It,Bt,Lt,$t,zt)||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(D,F,B){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(D,F,B),this.textProperty=new TextProperty(this,D.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(D.t,this.renderType,this),this.initTransform(D,F,B),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(D){this._mdf=!1,this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange)},ITextElement.prototype.createPathShape=function(D,F){var B,O,G=F.length,j="";for(B=0;B<G;B+=1)F[B].ty==="sh"&&(O=F[B].ks.k,j+=buildShapeString(O,O.i.length,!0,D));return j},ITextElement.prototype.updateDocumentData=function(D,F){this.textProperty.updateDocumentData(D,F)},ITextElement.prototype.canResizeFont=function(D){this.textProperty.canResizeFont(D)},ITextElement.prototype.setMinimumFontSize=function(D){this.textProperty.setMinimumFontSize(D)},ITextElement.prototype.applyTextPropertiesToMatrix=function(D,F,B,O,G){switch(D.ps&&F.translate(D.ps[0],D.ps[1]+D.ascent,0),F.translate(0,-D.ls,0),D.j){case 1:F.translate(D.justifyOffset+(D.boxWidth-D.lineWidths[B]),0,0);break;case 2:F.translate(D.justifyOffset+(D.boxWidth-D.lineWidths[B])/2,0,0)}F.translate(O,G,0)},ITextElement.prototype.buildColor=function(D){return"rgb("+Math.round(255*D[0])+","+Math.round(255*D[1])+","+Math.round(255*D[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(D,F,B){this.textSpans=[],this.renderType="svg",this.initElement(D,F,B)}function ISolidElement(D,F,B){this.initElement(D,F,B)}function NullElement(D,F,B){this.initFrame(),this.initBaseData(D,F,B),this.initFrame(),this.initTransform(D,F,B),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(D,F,B){this.layers=D.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(D,F,B),this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,F.frameRate,this):{_placeholder:!0}}function SVGRenderer(D,F){this.animationItem=D,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var B="";if(F&&F.title){var O=createNS("title"),G=createElementID();O.setAttribute("id",G),O.textContent=F.title,this.svgElement.appendChild(O),B+=G}if(F&&F.description){var j=createNS("desc"),q=createElementID();j.setAttribute("id",q),j.textContent=F.description,this.svgElement.appendChild(j),B+=" "+q}B&&this.svgElement.setAttribute("aria-labelledby",B);var W=createNS("defs");this.svgElement.appendChild(W);var J=createNS("g");this.svgElement.appendChild(J),this.layerElement=J,this.renderConfig={preserveAspectRatio:F&&F.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:F&&F.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:F&&F.contentVisibility||"visible",progressiveLoad:F&&F.progressiveLoad||!1,hideOnTransparent:!(F&&F.hideOnTransparent===!1),viewBoxOnly:F&&F.viewBoxOnly||!1,viewBoxSize:F&&F.viewBoxSize||!1,className:F&&F.className||"",id:F&&F.id||"",focusable:F&&F.focusable,filterSize:{width:F&&F.filterSize&&F.filterSize.width||"100%",height:F&&F.filterSize&&F.filterSize.height||"100%",x:F&&F.filterSize&&F.filterSize.x||"0%",y:F&&F.filterSize&&F.filterSize.y||"0%"},width:F&&F.width,height:F&&F.height,runExpressions:!F||F.runExpressions===void 0||F.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:W,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(D){for(var F=0,B=D.length,O=[],G="";F<B;)D[F]==="\r"||D[F]==="�"?(O.push(G),G=""):G+=D[F],F+=1;return O.push(G),O},SVGTextLottieElement.prototype.buildShapeData=function(D,F){if(D.shapes&&D.shapes.length){var B=D.shapes[0];if(B.it){var O=B.it[B.it.length-1];O.s&&(O.s.k[0]=F,O.s.k[1]=F)}}return D},SVGTextLottieElement.prototype.buildNewText=function(){var D,F;this.addDynamicProperty(this);var B=this.textProperty.currentData;this.renderedLetters=createSizedArray(B?B.l.length:0),B.fc?this.layerElement.setAttribute("fill",this.buildColor(B.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),B.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(B.sc)),this.layerElement.setAttribute("stroke-width",B.sw)),this.layerElement.setAttribute("font-size",B.finalSize);var O=this.globalData.fontManager.getFontByName(B.f);if(O.fClass)this.layerElement.setAttribute("class",O.fClass);else{this.layerElement.setAttribute("font-family",O.fFamily);var G=B.fWeight,j=B.fStyle;this.layerElement.setAttribute("font-style",j),this.layerElement.setAttribute("font-weight",G)}this.layerElement.setAttribute("aria-label",B.t);var q,W=B.l||[],J=!!this.globalData.fontManager.chars;F=W.length;var et=this.mHelper,U=this.data.singleShape,Q=0,K=0,tt=!0,Z=.001*B.tr*B.finalSize;if(!U||J||B.sz){var Y,X=this.textSpans.length;for(D=0;D<F;D+=1){if(this.textSpans[D]||(this.textSpans[D]={span:null,childSpan:null,glyph:null}),!J||!U||D===0){if(q=X>D?this.textSpans[D].span:createNS(J?"g":"text"),X<=D){if(q.setAttribute("stroke-linecap","butt"),q.setAttribute("stroke-linejoin","round"),q.setAttribute("stroke-miterlimit","4"),this.textSpans[D].span=q,J){var rt=createNS("g");q.appendChild(rt),this.textSpans[D].childSpan=rt}this.textSpans[D].span=q,this.layerElement.appendChild(q)}q.style.display="inherit"}if(et.reset(),U&&(W[D].n&&(Q=-Z,K+=B.yOffset,K+=tt?1:0,tt=!1),this.applyTextPropertiesToMatrix(B,et,W[D].line,Q,K),Q+=W[D].l||0,Q+=Z),J){var it;if((Y=this.globalData.fontManager.getCharData(B.finalText[D],O.fStyle,this.globalData.fontManager.getFontByName(B.f).fFamily)).t===1)it=new SVGCompElement(Y.data,this.globalData,this);else{var at=emptyShapeData;Y.data&&Y.data.shapes&&(at=this.buildShapeData(Y.data,B.finalSize)),it=new SVGShapeElement(at,this.globalData,this)}if(this.textSpans[D].glyph){var st=this.textSpans[D].glyph;this.textSpans[D].childSpan.removeChild(st.layerElement),st.destroy()}this.textSpans[D].glyph=it,it._debug=!0,it.prepareFrame(0),it.renderFrame(),this.textSpans[D].childSpan.appendChild(it.layerElement),Y.t===1&&this.textSpans[D].childSpan.setAttribute("transform","scale("+B.finalSize/100+","+B.finalSize/100+")")}else U&&q.setAttribute("transform","translate("+et.props[12]+","+et.props[13]+")"),q.textContent=W[D].val,q.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}U&&q&&q.setAttribute("d","")}else{var ot=this.textContainer,ft="start";switch(B.j){case 1:ft="end";break;case 2:ft="middle";break;default:ft="start"}ot.setAttribute("text-anchor",ft),ot.setAttribute("letter-spacing",Z);var pt=this.buildTextContents(B.finalText);for(F=pt.length,K=B.ps?B.ps[1]+B.ascent:0,D=0;D<F;D+=1)(q=this.textSpans[D].span||createNS("tspan")).textContent=pt[D],q.setAttribute("x",0),q.setAttribute("y",K),q.style.display="inherit",ot.appendChild(q),this.textSpans[D]||(this.textSpans[D]={span:null,glyph:null}),this.textSpans[D].span=q,K+=B.finalLineHeight;this.layerElement.appendChild(ot)}for(;D<this.textSpans.length;)this.textSpans[D].span.style.display="none",D+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var D=this.layerElement.getBBox();this.bbox={top:D.y,left:D.x,width:D.width,height:D.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var D,F,B=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,D=0;D<B;D+=1)(F=this.textSpans[D].glyph)&&(F.prepareFrame(this.comp.renderedFrame-this.data.st),F._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var D,F;this._sizeChanged=!0;var B,O,G,j=this.textAnimator.renderedLetters,q=this.textProperty.currentData.l;for(F=q.length,D=0;D<F;D+=1)q[D].n||(B=j[D],O=this.textSpans[D].span,(G=this.textSpans[D].glyph)&&G.renderFrame(),B._mdf.m&&O.setAttribute("transform",B.m),B._mdf.o&&O.setAttribute("opacity",B.o),B._mdf.sw&&O.setAttribute("stroke-width",B.sw),B._mdf.sc&&O.setAttribute("stroke",B.sc),B._mdf.fc&&O.setAttribute("fill",B.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var D=createNS("rect");D.setAttribute("width",this.data.sw),D.setAttribute("height",this.data.sh),D.setAttribute("fill",this.data.sc),this.layerElement.appendChild(D)},NullElement.prototype.prepareFrame=function(D){this.prepareProperties(D,!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(D){return new NullElement(D,this.globalData,this)},SVGRendererBase.prototype.createShape=function(D){return new SVGShapeElement(D,this.globalData,this)},SVGRendererBase.prototype.createText=function(D){return new SVGTextLottieElement(D,this.globalData,this)},SVGRendererBase.prototype.createImage=function(D){return new IImageElement(D,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(D){return new ISolidElement(D,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(D){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 "+D.w+" "+D.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",D.w),this.svgElement.setAttribute("height",D.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,
590,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var F=this.globalData.defs;this.setupGlobalData(D,F),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=D;var B=createNS("clipPath"),O=createNS("rect");O.setAttribute("width",D.w),O.setAttribute("height",D.h),O.setAttribute("x",0),O.setAttribute("y",0);var G=createElementID();B.setAttribute("id",G),B.appendChild(O),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+G+")"),F.appendChild(B),this.layers=D.layers,this.elements=createSizedArray(D.layers.length)},SVGRendererBase.prototype.destroy=function(){var D;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var F=this.layers?this.layers.length:0;for(D=0;D<F;D+=1)this.elements[D]&&this.elements[D].destroy&&this.elements[D].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(D){var F=0,B=this.layers.length;for(F=0;F<B;F+=1)if(this.layers[F].ind===D)return F;return-1},SVGRendererBase.prototype.buildItem=function(D){var F=this.elements;if(!F[D]&&this.layers[D].ty!==99){F[D]=!0;var B=this.createItem(this.layers[D]);if(F[D]=B,getExpressionsPlugin()&&(this.layers[D].ty===0&&this.globalData.projectInterface.registerComposition(B),B.initExpressions()),this.appendElementInPos(B,D),this.layers[D].tt){var O="tp"in this.layers[D]?this.findIndexByInd(this.layers[D].tp):D-1;if(O===-1)return;if(this.elements[O]&&this.elements[O]!==!0){var G=F[O].getMatte(this.layers[D].tt);B.setMatte(G)}else this.buildItem(O),this.addPendingElement(B)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var D=this.pendingElements.pop();if(D.checkParenting(),D.data.tt)for(var F=0,B=this.elements.length;F<B;){if(this.elements[F]===D){var O="tp"in D.data?this.findIndexByInd(D.data.tp):F-1,G=this.elements[O].getMatte(this.layers[F].tt);D.setMatte(G);break}F+=1}}},SVGRendererBase.prototype.renderFrame=function(D){if(this.renderedFrame!==D&&!this.destroyed){var F;D===null?D=this.renderedFrame:this.renderedFrame=D,this.globalData.frameNum=D,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=D,this.globalData._mdf=!1;var B=this.layers.length;for(this.completeLayers||this.checkLayers(D),F=B-1;F>=0;F-=1)(this.completeLayers||this.elements[F])&&this.elements[F].prepareFrame(D-this.layers[F].st);if(this.globalData._mdf)for(F=0;F<B;F+=1)(this.completeLayers||this.elements[F])&&this.elements[F].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(D,F){var B=D.getBaseElement();if(B){for(var O,G=0;G<F;)this.elements[G]&&this.elements[G]!==!0&&this.elements[G].getBaseElement()&&(O=this.elements[G].getBaseElement()),G+=1;O?this.layerElement.insertBefore(B,O):this.layerElement.appendChild(B)}},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(D,F,B){this.initFrame(),this.initBaseData(D,F,B),this.initTransform(D,F,B),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&F.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(D){if(this._mdf=!1,this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=D/this.data.sr;else{var F=this.tm.v;F===this.data.op&&(F=this.data.op-1),this.renderedFrame=F}var B,O=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),B=O-1;B>=0;
vendor: 4,374 bytes, line 59
59B-=1)(this.completeLayers||this.elements[B])&&(this.elements[B].prepareFrame(this.renderedFrame-this.layers[B].st),this.elements[B]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var D,F=this.layers.length;for(D=0;D<F;D+=1)(this.completeLayers||this.elements[D])&&this.elements[D].renderFrame()},ICompElement.prototype.setElements=function(D){this.elements=D},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var D,F=this.layers.length;for(D=0;D<F;D+=1)this.elements[D]&&this.elements[D].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(D){return new SVGCompElement(D,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(D){return new SVGCompElement(D,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(D){var F,B=D.length,O="_";for(F=0;F<B;F+=1)O+=D[F].transform.key+"_";var G=this.sequences[O];return G||(G={transforms:[].concat(D),finalTransform:new Matrix,_mdf:!1},this.sequences[O]=G,this.sequenceList.push(G)),G},processSequence:function(D,F){for(var B=0,O=D.transforms.length,G=F;B<O&&!F;){if(D.transforms[B].transform.mProps._mdf){G=!0;break}B+=1}if(G)for(D.finalTransform.reset(),B=O-1;B>=0;B-=1)D.finalTransform.multiply(D.transforms[B].transform.mProps.v);D._mdf=G},processSequences:function(D){var F,B=this.sequenceList.length;for(F=0;F<B;F+=1)this.processSequence(this.sequenceList[F],D)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var D="__lottie_element_luma_buffer",F=null,B=null,O=null;function G(){var j,q,W;F||(j=createNS("svg"),q=createNS("filter"),W=createNS("feColorMatrix"),q.setAttribute("id",D),W.setAttribute("type","matrix"),W.setAttribute("color-interpolation-filters","sRGB"),W.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"),q.appendChild(W),j.appendChild(q),j.setAttribute("id",D+"_svg"),featureSupport.svgLumaHidden&&(j.style.display="none"),O=j,document.body.appendChild(O),F=createTag("canvas"),(B=F.getContext("2d")).filter="url(#"+D+")",B.fillStyle="rgba(0,0,0,0)",B.fillRect(0,0,1,1))}return{load:G,get:function(j){return F||G(),F.width=j.width,F.height=j.height,B.filter="url(#"+D+")",F}}};function createCanvas(D,F){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(D,F);var B=createTag("canvas");return B.width=D,B.height=F,B}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas},registeredEffects={};function CVEffects(D){var F,B,O=D.data.ef?D.data.ef.length:0;for(this.filters=[],F=0;F<O;F+=1){B=null;var G=D.data.ef[F].ty;registeredEffects[G]&&(B=new registeredEffects[G].effect(D.effectsManager.effectElements[F],D)),B&&this.filters.push(B)}this.filters.length&&D.addRenderableComponent(this)}function registerEffect(D,F){registeredEffects[D]={effect:F}}function CVMaskElement(D,F){var B;this.data=D,this.element=F,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var O=this.masksProperties.length,G=!1;for(B=0;B<O;B+=1)this.masksProperties[B].mode!=="n"&&(G=!0),this.viewData[B]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[B],3);this.hasMasks=G,G&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(D){var F,B=this.filters.length;for(F=0;F<B;F+=1)this.filters[F].renderFrame(D)},CVEffects.prototype.getEffects=function(D){var F,B=this.filters.length,O=[];for(F=0;F<B;F+=1)this.filters[F].type===D&&O.push(this.filters[F]);return O},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var D,F,B,O,G=this.element.finalTransform.mat,j=this.element.canvasContext,q=this.masksProperties.length;for(j.beginPath(),D=0;D<q;D+=1)if(this.masksProperties[D].mode!=="n"){var W;this.masksProperties[D].inv&&(j.moveTo(0,0),j.lineTo(this.element.globalData.compSize.w,0),j.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),j.lineTo(0,this.element.globalData.compSize.h),j.lineTo(0,0)),O=this.viewData[D].v,F=G.a
vendor: 2,069 bytes, line 59
59pplyToPointArray(O.v[0][0],O.v[0][1],0),j.moveTo(F[0],F[1]);var J=O._length;for(W=1;W<J;W+=1)B=G.applyToTriplePoints(O.o[W-1],O.i[W],O.v[W]),j.bezierCurveTo(B[0],B[1],B[2],B[3],B[4],B[5]);B=G.applyToTriplePoints(O.o[W-1],O.i[0],O.v[0]),j.bezierCurveTo(B[0],B[1],B[2],B[3],B[4],B[5])}this.element.globalData.renderer.save(!0),j.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(D,F,B,O){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var G,j=4;F.ty==="rc"?j=5:F.ty==="el"?j=6:F.ty==="sr"&&(j=7),this.sh=ShapePropertyFactory.getShapeProp(D,F,j,D);var q,W=B.length;for(G=0;G<W;G+=1)B[G].closed||(q={transforms:O.addTransformSequence(B[G].transforms),trNodes:[]},this.styledShapes.push(q),B[G].elements.push(q))}function CVShapeElement(D,F,B){this.shapes=[],this.shapesData=D.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(D,F,B)}function CVTextElement(D,F,B){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(D,F,B)}function CVImageElement(D,F,B){this.assetData=F.getAssetData(D.refId),this.img=F.imageLoader.getAsset(this.assetData),this.initElement(D,F,B)}function CVSolidElement(D,F,B){this.initElement(D,F,B)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var D;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,D=0;D<15;D+=1){var F=new CanvasContext;this.stack[D]=F}
vendor: 1,467 bytes, line 59
59this._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(D,F,B){this.completeLayers=!1,this.layers=D.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(D,F,B),this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,F.frameRate,this):{_placeholder:!0}}function CanvasRenderer(D,F){this.animationItem=D,this.renderConfig={clearCanvas:!F||F.clearCanvas===void 0||F.clearCanvas,context:F&&F.context||null,progressiveLoad:F&&F.progressiveLoad||!1,preserveAspectRatio:F&&F.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:F&&F.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:F&&F.contentVisibility||"visible",className:F&&F.className||"",id:F&&F.id||"",runExpressions:!F||F.runExpressions===void 0||F.runExpressions},this.renderConfig.dpr=F&&F.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=F&&F.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=ne
vendor: 8,746 bytes, line 59
59w 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(D,F,B){this.initElement(D,F,B)}function HShapeElement(D,F,B){this.shapes=[],this.shapesData=D.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(D,F,B),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(D,F,B){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(D,F,B)}function HCameraElement(D,F,B){this.initFrame(),this.initBaseData(D,F,B),this.initHierarchy();var O=PropertyFactory.getProp;if(this.pe=O(this,D.pe,0,0,this),D.ks.p.s?(this.px=O(this,D.ks.p.x,1,0,this),this.py=O(this,D.ks.p.y,1,0,this),this.pz=O(this,D.ks.p.z,1,0,this)):this.p=O(this,D.ks.p,1,0,this),D.ks.a&&(this.a=O(this,D.ks.a,1,0,this)),D.ks.or.k.length&&D.ks.or.k[0].to){var G,j=D.ks.or.k.length;for(G=0;G<j;G+=1)D.ks.or.k[G].to=null,D.ks.or.k[G].ti=null}this.or=O(this,D.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=O(this,D.ks.rx,0,degToRads,this),this.ry=O(this,D.ks.ry,0,degToRads,this),this.rz=O(this,D.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(D,F,B){this.assetData=F.getAssetData(D.refId),this.initElement(D,F,B)}function HybridRendererBase(D,F){this.animationItem=D,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:F&&F.className||"",imagePreserveAspectRatio:F&&F.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(F&&F.hideOnTransparent===!1),filterSize:{width:F&&F.filterSize&&F.filterSize.width||"400%",height:F&&F.filterSize&&F.filterSize.height||"400%",x:F&&F.filterSize&&F.filterSize.x||"-100%",y:F&&F.filterSize&&F.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(D,F,B){this.layers=D.layers,this.supports3d=!D.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(D,F,B),this.tm=D.tm?PropertyFactory.getProp(this,D.tm,0,F.frameRate,this):{_placeholder:!0}}function HybridRenderer(D,F){this.animationItem=D,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:F&&F.className||"",imagePreserveAspectRatio:F&&F.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(F&&F.hideOnTransparent===!1),filterSize:{width:F&&F.filterSize&&F.filterSize.width||"400%",height:F&&F.filterSize&&F.filterSize.height||"400%",x:F&&F.filterSize&&F.filterSize.x||"-100%",y:F&&F.filterSize&&F.filterSize.y||"-100%"},runExpressions:!F||F.runExpressions===void 0||F.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var D=this.globalData.canvasContext,F=assetLoader.createCanvas(D.canvas.width,D.canvas.height);this.buffers.push(F);var B=assetLoader.createCanvas(D.canvas.width,D.canvas.height);this.buffers.push(B),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var D=this.globalData;if(D.blendMode!==this.data.bm){D.blendMode=this.data.bm;var F=getBlendMode(this.data.bm);D.canvasContext.globalCompositeOperation=F}},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(D){D.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var D=this.buffers[0].getContext("2d");this.clearCanvas(D),D.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var D=this.buffers[1],F=D.getContext("2d");if(this.clearCanvas(F),F.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var B=assetLoader.getLumaCanvas(this.canvasContext.canvas);B.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(B,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(D,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(D){if(!this.hidden&&!this.data.hd&&(this.data.td!==1||D)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var F=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(F),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(F),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(D,F){var B={data:D,type:D.ty,preTransforms:this.transformsManager.addTransformSequence(F),transforms:[],elements:[],closed:D.hd===!0},O={};if(D.ty==="fl"||D.ty==="st"?(O.c=PropertyFactory.getProp(this,D.c,1,255,this),O.c.k||(B.co="rgb("+bmFloor(O.c.v[0])+","+bmFloor(O.c.v[1])+","+bmFloor(O.c.v[2])+")")):D.ty!=="gf"&&D.ty!=="gs"||(O.s=PropertyFactory.getProp(this,D.s,1,null,this),O.e=PropertyFactory.getProp(this,D.e,1,null,this),O.h=PropertyFactory.getProp(this,D.h||{k:0},0,.01,this),O.a=PropertyFactory.getProp(this,D.a||{k:0},0,degToRads,this),O.g=new GradientProperty(this,D.g,this)),O.o=PropertyFactory.getProp(this,D.o,
vendor: 23,581 bytes, line 59
590,.01,this),D.ty==="st"||D.ty==="gs"){if(B.lc=lineCapEnum[D.lc||2],B.lj=lineJoinEnum[D.lj||2],D.lj==1&&(B.ml=D.ml),O.w=PropertyFactory.getProp(this,D.w,0,null,this),O.w.k||(B.wi=O.w.v),D.d){var G=new DashProperty(this,D.d,"canvas",this);O.d=G,O.d.k||(B.da=O.d.dashArray,B.do=O.d.dashoffset[0])}}else B.r=D.r===2?"evenodd":"nonzero";return this.stylesList.push(B),O.style=B,O},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(D){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,D.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,D,this)}}},CVShapeElement.prototype.createShapeElement=function(D){var F=new CVShapeData(this,D,this.stylesList,this.transformsManager);return this.shapes.push(F),this.addShapeToModifiers(F),F},CVShapeElement.prototype.reloadShapes=function(){var D;this._isFirstFrame=!0;var F=this.itemsData.length;for(D=0;D<F;D+=1)this.prevViewData[D]=this.itemsData[D];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),F=this.dynamicProperties.length,D=0;D<F;D+=1)this.dynamicProperties[D].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(D){var F,B=this.stylesList.length;for(F=0;F<B;F+=1)this.stylesList[F].closed||this.stylesList[F].transforms.push(D)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var D,F=this.stylesList.length;for(D=0;D<F;D+=1)this.stylesList[D].closed||this.stylesList[D].transforms.pop()},CVShapeElement.prototype.closeStyles=function(D){var F,B=D.length;for(F=0;F<B;F+=1)D[F].closed=!0},CVShapeElement.prototype.searchShapes=function(D,F,B,O,G){var j,q,W,J,et,U,Q=D.length-1,K=[],tt=[],Z=[].concat(G);for(j=Q;j>=0;j-=1){if((J=this.searchProcessedElement(D[j]))?F[j]=B[J-1]:D[j]._shouldRender=O,D[j].ty==="fl"||D[j].ty==="st"||D[j].ty==="gf"||D[j].ty==="gs")J?F[j].style.closed=!1:F[j]=this.createStyleElement(D[j],Z),K.push(F[j].style);else if(D[j].ty==="gr"){if(J)for(W=F[j].it.length,q=0;q<W;q+=1)F[j].prevViewData[q]=F[j].it[q];else F[j]=this.createGroupElement(D[j]);this.searchShapes(D[j].it,F[j].it,F[j].prevViewData,O,Z)}else D[j].ty==="tr"?(J||(U=this.createTransformElement(D[j]),F[j]=U),Z.push(F[j]),this.addTransformToStyleList(F[j])):D[j].ty==="sh"||D[j].ty==="rc"||D[j].ty==="el"||D[j].ty==="sr"?J||(F[j]=this.createShapeElement(D[j])):D[j].ty==="tm"||D[j].ty==="rd"||D[j].ty==="pb"||D[j].ty==="zz"||D[j].ty==="op"?(J?(et=F[j]).closed=!1:((et=ShapeModifiers.getModifier(D[j].ty)).init(this,D[j]),F[j]=et,this.shapeModifiers.push(et)),tt.push(et)):D[j].ty==="rp"&&(J?(et=F[j]).closed=!0:(et=ShapeModifiers.getModifier(D[j].ty),F[j]=et,et.init(this,D,j,F),this.shapeModifiers.push(et),O=!1),tt.push(et));this.addProcessedElement(D[j],j+1)}for(this.removeTransformFromStyleList(),this.closeStyles(K),Q=tt.length,j=0;j<Q;j+=1)tt[j].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(D,F){(D._opMdf||F.op._mdf||this._isFirstFrame)&&(F.opacity=D.opacity,F.opacity*=F.op.v,F._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var D,F,B,O,G,j,q,W,J,et=this.stylesList.length,U=this.globalData.renderer,Q=this.globalData.canvasContext;for(D=0;D<et;D+=1)if(((W=(J=this.stylesList[D]).type)!=="st"&&W!=="gs"||J.wi!==0)&&J.data._shouldRender&&J.coOp!==0&&this.globalData.currentGlobalAlpha!==0){for(U.save(),j=J.elements,W==="st"||W==="gs"?(U.ctxStrokeStyle(W==="st"?J.co:J.grd),U.ctxLineWidth(J.wi),U.ctxLineCap(J.lc),U.ctxLineJoin(J.lj),U.ctxMiterLimit(J.ml||0)):U.ctxFillStyle(W==="fl"?J.co:J.grd),U.ctxOpacity(J.coOp),W!=="st"&&W!=="gs"&&Q.beginPath(),U.ctxTransform(J.preTransforms.finalTransform.props),B=j.length,F=0;F<B;F+=1){for(W!=="st"&&W!=="gs"||(Q.beginPath(),J.da&&(Q.setLineDash(J.da),Q.lineDashOffset=J.do)),G=(q=j[F].trNodes).length,O=0;O<G;O+=1)q[O].t==="m"?Q.moveTo(q[O].p[0],q[O].p[1]):q[O].t==="c"?Q.bezierCurveTo(q[O].pts[0],q[O].pts[1],q[O].pts[2],q[O].pts[3],q[O].pts[4],q[O].pts[5]):Q.closePath();W!=="st"&&W!=="gs"||(U.ctxStroke(),J.da&&Q.setLineDash(this.dashResetter))}W!=="st"&&W!=="gs"&&this.globalData.renderer.ctxFill(J.r),U.restore()}},CVShapeElement.prototype.renderShape=function(D,F,B,O){var G,j;for(j=D,G=F.length-1;G>=0;G-=1)F[G].ty==="tr"?(j=B[G].transform,this.renderShapeTransform(D,j)):F[G].ty==="sh"||F[G].ty==="el"||F[G].ty==="rc"||F[G].ty==="sr"?this.renderPath(F[G],B[G]):F[G].ty==="fl"?this.renderFill(F[G],B[G],j):F[G].ty==="st"?this.renderStroke(F[G],B[G],j):F[G].ty==="gf"||F[G].ty==="gs"?this.renderGradientFill(F[G],B[G],j):F[G].ty==="gr"?this.renderShape(j,F[G].it,B[G].it):F[G].ty;O&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(D,F){if(this._isFirstFrame||F._mdf||D.transforms._mdf){var B,O,G,j=D.trNodes,q=F.paths,W=q._length;j.length=0;var J=D.transforms.finalTransform;for(G=0;G<W;G+=1){var et=q.shapes[G];if(et&&et.v){for(O=et._length,B=1;B<O;B+=1)B===1&&j.push({t:"m",p:J.applyToPointArray(et.v[0][0],et.v[0][1],0)}),j.push({t:"c",pts:J.applyToTriplePoints(et.o[B-1],et.i[B],et.v[B])});O===1&&j.push({t:"m",p:J.applyToPointArray(et.v[0][0],et.v[0][1],0)}),et.c&&O&&(j.push({t:"c",pts:J.applyToTriplePoints(et.o[B-1],et.i[0],et.v[0])}),j.push({t:"z"}))}}D.trNodes=j}},CVShapeElement.prototype.renderPath=function(D,F){if(D.hd!==!0&&D._shouldRender){var B,O=F.styledShapes.length;for(B=0;B<O;B+=1)this.renderStyledShape(F.styledShapes[B],F.sh)}},CVShapeElement.prototype.renderFill=function(D,F,B){var O=F.style;(F.c._mdf||this._isFirstFrame)&&(O.co="rgb("+bmFloor(F.c.v[0])+","+bmFloor(F.c.v[1])+","+bmFloor(F.c.v[2])+")"),(F.o._mdf||B._opMdf||this._isFirstFrame)&&(O.coOp=F.o.v*B.opacity)},CVShapeElement.prototype.renderGradientFill=function(D,F,B){var O,G=F.style;if(!G.grd||F.g._mdf||F.s._mdf||F.e._mdf||D.t!==1&&(F.h._mdf||F.a._mdf)){var j,q=this.globalData.canvasContext,W=F.s.v,J=F.e.v;if(D.t===1)O=q.createLinearGradient(W[0],W[1],J[0],J[1]);else{var et=Math.sqrt(Math.pow(W[0]-J[0],2)+Math.pow(W[1]-J[1],2)),U=Math.atan2(J[1]-W[1],J[0]-W[0]),Q=F.h.v;Q>=1?Q=.99:Q<=-1&&(Q=-.99);var K=et*Q,tt=Math.cos(U+F.a.v)*K+W[0],Z=Math.sin(U+F.a.v)*K+W[1];O=q.createRadialGradient(tt,Z,0,W[0],W[1],et)}var Y=D.g.p,X=F.g.c,rt=1;for(j=0;j<Y;j+=1)F.g._hasOpacity&&F.g._collapsable&&(rt=F.g.o[2*j+1]),O.addColorStop(X[4*j]/100,"rgba("+X[4*j+1]+","+X[4*j+2]+","+X[4*j+3]+","+rt+")");G.grd=O}G.coOp=F.o.v*B.opacity},CVShapeElement.prototype.renderStroke=function(D,F,B){var O=F.style,G=F.d;G&&(G._mdf||this._isFirstFrame)&&(O.da=G.dashArray,O.do=G.dashoffset[0]),(F.c._mdf||this._isFirstFrame)&&(O.co="rgb("+bmFloor(F.c.v[0])+","+bmFloor(F.c.v[1])+","+bmFloor(F.c.v[2])+")"),(F.o._mdf||B._opMdf||this._isFirstFrame)&&(O.coOp=F.o.v*B.opacity),(F.w._mdf||this._isFirstFrame)&&(O.wi=F.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var D=this.textProperty.currentData;this.renderedLetters=createSizedArray(D.l?D.l.length:0);var F=!1;D.fc?(F=!0,this.values.fill=this.buildColor(D.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=F;var B=!1;D.sc&&(B=!0,this.values.stroke=this.buildColor(D.sc),this.values.sWidth=D.sw);var O,G,j,q,W,J,et,U,Q,K,tt,Z,Y=this.globalData.fontManager.getFontByName(D.f),X=D.l,rt=this.mHelper;this.stroke=B,this.values.fValue=D.finalSize+"px "+this.globalData.fontManager.getFontByName(D.f).fFamily,G=D.finalText.length;var it=this.data.singleShape,at=.001*D.tr*D.finalSize,st=0,ot=0,ft=!0,pt=0;for(O=0;O<G;O+=1){q=(j=this.globalData.fontManager.getCharData(D.finalText[O],Y.fStyle,this.globalData.fontManager.getFontByName(D.f).fFamily))&&j.data||{},rt.reset(),it&&X[O].n&&(st=-at,ot+=D.yOffset,ot+=ft?1:0,ft=!1),Q=(et=q.shapes?q.shapes[0].it:[]).length,rt.scale(D.finalSize/100,D.finalSize/100),it&&this.applyTextPropertiesToMatrix(D,rt,X[O].line,st,ot),tt=createSizedArray(Q-1);var ht=0;for(U=0;U<Q;U+=1)if(et[U].ty==="sh"){for(J=et[U].ks.k.i.length,K=et[U].ks.k,Z=[],W=1;W<J;W+=1)W===1&&Z.push(rt.applyToX(K.v[0][0],K.v[0][1],0),rt.applyToY(K.v[0][0],K.v[0][1],0)),Z.push(rt.applyToX(K.o[W-1][0],K.o[W-1][1],0),rt.applyToY(K.o[W-1][0],K.o[W-1][1],0),rt.applyToX(K.i[W][0],K.i[W][1],0),rt.applyToY(K.i[W][0],K.i[W][1],0),rt.applyToX(K.v[W][0],K.v[W][1],0),rt.applyToY(K.v[W][0],K.v[W][1],0));Z.push(rt.applyToX(K.o[W-1][0],K.o[W-1][1],0),rt.applyToY(K.o[W-1][0],K.o[W-1][1],0),rt.applyToX(K.i[0][0],K.i[0][1],0),rt.applyToY(K.i[0][0],K.i[0][1],0),rt.applyToX(K.v[0][0],K.v[0][1],0),rt.applyToY(K.v[0][0],K.v[0][1],0)),tt[ht]=Z,ht+=1}it&&(st+=X[O].l,st+=at),this.textSpans[pt]?this.textSpans[pt].elem=tt:this.textSpans[pt]={elem:tt},pt+=1}},CVTextElement.prototype.renderInnerContent=function(){var D,F,B,O,G,j;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var q,W=this.textAnimator.renderedLetters,J=this.textProperty.currentData.l;F=J.length;var et,U,Q=null,K=null,tt=null,Z=this.globalData.renderer;for(D=0;D<F;D+=1)if(!J[D].n){if((q=W[D])&&(Z.save(),Z.ctxTransform(q.p),Z.ctxOpacity(q.o)),this.fill){for(q&&q.fc?Q!==q.fc&&(Z.ctxFillStyle(q.fc),Q=q.fc):Q!==this.values.fill&&(Q=this.values.fill,Z.ctxFillStyle(this.values.fill)),O=(et=this.textSpans[D].elem).length,this.globalData.canvasContext.beginPath(),B=0;B<O;B+=1)for(j=(U=et[B]).length,this.globalData.canvasContext.moveTo(U[0],U[1]),G=2;G<j;G+=6)this.globalData.canvasContext.bezierCurveTo(U[G],U[G+1],U[G+2],U[G+3],U[G+4],U[G+5]);this.globalData.canvasContext.closePath(),Z.ctxFill()}if(this.stroke){for(q&&q.sw?tt!==q.sw&&(tt=q.sw,Z.ctxLineWidth(q.sw)):tt!==this.values.sWidth&&(tt=this.values.sWidth,Z.ctxLineWidth(this.values.sWidth)),q&&q.sc?K!==q.sc&&(K=q.sc,Z.ctxStrokeStyle(q.sc)):K!==this.values.stroke&&(K=this.values.stroke,Z.ctxStrokeStyle(this.values.stroke)),O=(et=this.textSpans[D].elem).length,this.globalData.canvasContext.beginPath(),B=0;B<O;B+=1)for(j=(U=et[B]).length,this.globalData.canvasContext.moveTo(U[0],U[1]),G=2;G<j;G+=6)this.globalData.canvasContext.bezierCurveTo(U[G],U[G+1],U[G+2],U[G+3],U[G+4],U[G+5]);this.globalData.canvasContext.closePath(),Z.ctxStroke()}q&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var D=createTag("canvas");D.width=this.assetData.w,D.height=this.assetData.h;var F,B,O=D.getContext("2d"),G=this.img.width,j=this.img.height,q=G/j,W=this.assetData.w/this.assetData.h,J=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;q>W&&J==="xMidYMid slice"||q<W&&J!=="xMidYMid slice"?F=(B=j)*W:B=(F=G)/W,O.drawImage(this.img,(G-F)/2,(j-B)/2,F,B,0,0,this.assetData.w,this.assetData.h),this.img=D}},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(D){return new CVShapeElement(D,this.globalData,this)},CanvasRendererBase.prototype.createText=function(D){return new CVTextElement(D,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(D){return new CVImageElement(D,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(D){return new CVSolidElement(D,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(D){D[0]===1&&D[1]===0&&D[4]===0&&D[5]===1&&D[12]===0&&D[13]===0||this.canvasContext.transform(D[0],D[1],D[4],D[5],D[12],D[13])},CanvasRendererBase.prototype.ctxOpacity=function(D){this.canvasContext.globalAlpha*=D<0?0:D},CanvasRendererBase.prototype.ctxFillStyle=function(D){this.canvasContext.fillStyle=D},CanvasRendererBase.prototype.ctxStrokeStyle=function(D){this.canvasContext.strokeStyle=D},CanvasRendererBase.prototype.ctxLineWidth=function(D){this.canvasContext.lineWidth=D},CanvasRendererBase.prototype.ctxLineCap=function(D){this.canvasContext.lineCap=D},CanvasRendererBase.prototype.ctxLineJoin=function(D){this.canvasContext.lineJoin=D},CanvasRendererBase.prototype.ctxMiterLimit=function(D){this.canvasContext.miterLimit=D},CanvasRendererBase.prototype.ctxFill=function(D){this.canvasContext.fill(D)},CanvasRendererBase.prototype.ctxFillRect=function(D,F,B,O){this.canvasContext.fillRect(D,F,B,O)},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(D){this.renderConfig.clearCanvas?(D&&(this.globalData.blendMode="source-over"),this.contextData.restore(D)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(D){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var F=this.animationItem.container.style;F.width="100%",F.height="100%";var B="0px 0px 0px";F.transformOrigin=B,F.mozTransformOrigin=B,F.webkitTransformOrigin=B,F["-webkit-transform"]=B,F.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=D,this.layers=D.layers,this.transformCanvas={w:D.w,h:D.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(D,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(D.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(D,F){var B,O,G,j;if(this.reset(),D?(B=D,O=F,this.canvasContext.canvas.width=B,this.canvasContext.canvas.height=O):(this.animationItem.wrapper&&this.animationItem.container?(B=this.animationItem.wrapper.offsetWidth,O=this.animationItem.wrapper.offsetHeight):(B=this.canvasContext.canvas.width,O=this.canvasContext.canvas.height),this.canvasContext.canvas.width=B*this.renderConfig.dpr,this.canvasContext.canvas.height=O*this.renderConfig.dpr),this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var q=this.renderConfig.preserveAspectRatio.split(" "),W=q[1]||"meet",J=q[0]||"xMidYMid",et=J.substr(0,4),U=J.substr(4);G=B/O,(j=this.transformCanvas.w/this.transformCanvas.h)>G&&W==="meet"||j<G&&W==="slice"?(this.transformCanvas.sx=B/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=B/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=O/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=O/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx=et==="xMid"&&(j<G&&W==="meet"||j>G&&W==="slice")?(B-this.transformCanvas.w*(O/this.transformCanvas.h))/2*this.renderConfig.dpr:et==="xMax"&&(j<G&&W==="meet"||j>G&&W==="slice")?(B-this.transformCanvas.w*(O/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty=U==="YMid"&&(j>G&&W==="meet"||j<G&&W==="slice")?(O-this.transformCanvas.h*(B/this.transformCanvas.w))/2*this.renderConfig.dpr:U==="YMax"&&(j>G&&W==="meet"||j<G&&W==="slice")?(O-this.transformCanvas.h*(B/this.transformCanvas.w))*this.renderConfig.dpr:0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=B/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=O/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var D;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),D=(this.layers?this.layers.length:0)-1;D>=0;D-=1)this.elements[D]&&this.elements[D].destroy&&this.elements[D].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(D,F){if((this.renderedFrame!==D||this.renderConfig.clearCanvas!==!0||F)&&!this.destroyed&&D!==-1){var B;this.renderedFrame=D,this.globalData.frameNum=D-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||F,this.globalData.projectInterface.currentFrame=D;var O=this.layers.length;for(this.completeLayers||this.checkLayers(D),B=O-1;B>=0;B-=1)(this.completeLayers||this.elements[B])&&this.elements[B].prepareFrame(D-this.layers[B].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),B=O-1;B>=0;B-=1)(this.completeLayers||this.elements[B])&&this.elements[B].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(D){var F=this.elements;if(!F[D]&&this.layers[D].ty!==99){var B=this.createItem(this.layers[D],this,this.globalData);F[D]=B,B.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var D=2*this._length,F=0;for(F=this._length;F<D;F+=1)this.stack[F]=new CanvasContext;this._length=D},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(D){this.cArrPos-=1;var F,B=this.stack[this.cArrPos],O=B.transform,G=this.cTr.props;for(F=0;F<16;F+=1)G[F]=O[F];if(D){this.nativeContext.restore();var j=this.stack[this.cArrPos+1];this.appliedFillStyle=j.fillStyle,this.appliedStrokeStyle=j.strokeStyle,this.appliedLineWidth=j.lineWidth,this.appliedLineCap=j.lineCap,this.appliedLineJoin=j.lineJoin,this.appliedMiterLimit=j.miterLimit}this.nativeContext.setTransform(O[0],O[1],O[4],O[5],O[12],O[13]),(D||B.opacity!==-1&&this.currentOpacity!==B.opacity)&&(this.nativeContext.globalAlpha=B.opacity,this.currentOpacity=B.opacity),this.currentFillStyle=B.fillStyle,this.currentStrokeStyle=B.strokeStyle,this.currentLineWidth=B.lineWidth,this.currentLineCap=B.lineCap,this.currentLineJoin=B.lineJoin,this.currentMiterLimit=B.miterLimit},CVContextData.prototype.save=function(D){D&&this.nativeContext.save();var F=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var B,O=this.stack[this.cArrPos];for(B=0;B<16;B+=1)O.transform[B]=F[B];this.cArrPos+=1;var G=this.stack[this.cArrPos];G.opacity=O.opacity,G.fillStyle=O.fillStyle,G.strokeStyle=O.strokeStyle,G.lineWidth=O.lineWidth,G.lineCap=O.lineCap,G.lineJoin=O.lineJoin,G.miterLimit=O.miterLimit},CVContextData.prototype.setOpacity=function(D){this.stack[this.cArrPos].opacity=D},CVContextData.prototype.setContext=function(D){this.nativeContext=D},CVContextData.prototype.fillStyle=function(D){this.stack[this.cArrPos].fillStyle!==D&&(this.currentFillStyle=D,this.stack[this.cArrPos].fillStyle=D)},CVContextData.prototype.strokeStyle=function(D){this.stack[this.cArrPos].strokeStyle!==D&&(this.currentStrokeStyle=D,this.stack[this.cArrPos].strokeStyle=D)},CVContextData.prototype.lineWidth=function(D){this.stack[this.cArrPos].lineWidth!==D&&(this.currentLineWidth=D,this.stack[this.cArrPos].lineWidth=D)},CVContextData.prototype.lineCap=function(D){this.stack[this.cArrPos].lineCap!==D&&(this.currentLineCap=D,this.stack[this.cArrPos].lineCap=D)},CVContextData.prototype.lineJoin=function(D){this.stack[this.cArrPos].lineJoin!==D&&(this.currentLineJoin=D,this.stack[this.cArrPos].lineJoin=D)},CVContextData.prototype.miterLimit=function(D){this.stack[this.cArrPos].miterLimit!==D&&(this.currentMiterLimit=D,this.stack[this.cArrPos].miterLimit=D)},CVContextData.prototype.transform=function(D){this.transformMat.cloneFromProps(D);var F=this.cTr;this.transformMat.multiply(F),F.cloneFromProps(this.transformMat.props);var B=F.props;this.nativeContext.setTransform(B[0],B[1],B[4],B[5],B[12],B[13])},CVContextData.prototype.opacity=function(D){var F=this.stack[this.cArrPos].opacity;F*=D<0?0:D,this.stack[this.cArrPos].opacity!==F&&(this.currentOpacity!==D&&(this.nativeContext.globalAlpha=D,this.currentOpacity=D),this.stack[this.cArrPos].opacity=F)},CVContextData.prototype.fill=function(D){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(D)},CVContextData.prototype.fillRect=function(D,F,B,O){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(D,F,B,O)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWi
vendor: 4,613 bytes, line 59
59dth!==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 D,F=this.canvasContext;for(F.beginPath(),F.moveTo(0,0),F.lineTo(this.data.w,0),F.lineTo(this.data.w,this.data.h),F.lineTo(0,this.data.h),F.lineTo(0,0),F.clip(),D=this.layers.length-1;D>=0;D-=1)(this.completeLayers||this.elements[D])&&this.elements[D].renderFrame()},CVCompElement.prototype.destroy=function(){var D;for(D=this.layers.length-1;D>=0;D-=1)this.elements[D]&&this.elements[D].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(D){return new CVCompElement(D,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(D){return new CVCompElement(D,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),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var D=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var F=this.finalTransform.mat.toCSS();D.transform=F,D.webkitTransform=F}this.finalTransform._opMdf&&(D.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 D;this.data.hasMask?((D=createNS("rect")).setAttribute("width",this.data.sw),D.setAttribute("height",this.data.sh),D.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((D=createTag("div")).style.width=this.data.sw+"px",D.style.height=this.data.sh+"px",D.style.backgroundColor=this.data.sc),this.layerElement.appendChild(D)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var D;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),D=this.svgElement;else{D=createNS("svg");var F=this.comp.data?this.comp.data:this.globalData.compSize;D.setAttribute("width",F.w),D.setAttribute("height",F.h),D.appendChild(this.shapesContainer),this.layerElement.appendChild(D)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=D},HShapeElement.prototype.getTransformedPoint=function(D,F){var B,O=D.length;for(B=0;B<O;
vendor: 20,881 bytes, line 59
59B+=1)F=D[B].mProps.v.applyToPointArray(F[0],F[1],0);return F},HShapeElement.prototype.calculateShapeBoundingBox=function(D,F){var B,O,G,j,q,W=D.sh.v,J=D.transformers,et=W._length;if(!(et<=1)){for(B=0;B<et-1;B+=1)O=this.getTransformedPoint(J,W.v[B]),G=this.getTransformedPoint(J,W.o[B]),j=this.getTransformedPoint(J,W.i[B+1]),q=this.getTransformedPoint(J,W.v[B+1]),this.checkBounds(O,G,j,q,F);W.c&&(O=this.getTransformedPoint(J,W.v[B]),G=this.getTransformedPoint(J,W.o[B]),j=this.getTransformedPoint(J,W.i[0]),q=this.getTransformedPoint(J,W.v[0]),this.checkBounds(O,G,j,q,F))}},HShapeElement.prototype.checkBounds=function(D,F,B,O,G){this.getBoundsOfCurve(D,F,B,O);var j=this.shapeBoundingBox;G.x=bmMin(j.left,G.x),G.xMax=bmMax(j.right,G.xMax),G.y=bmMin(j.top,G.y),G.yMax=bmMax(j.bottom,G.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(D,F,B,O){for(var G,j,q,W,J,et,U,Q=[[D[0],O[0]],[D[1],O[1]]],K=0;K<2;++K)j=6*D[K]-12*F[K]+6*B[K],G=-3*D[K]+9*F[K]-9*B[K]+3*O[K],q=3*F[K]-3*D[K],j|=0,q|=0,(G|=0)==0&&j===0||(G===0?(W=-q/j)>0&&W<1&&Q[K].push(this.calculateF(W,D,F,B,O,K)):(J=j*j-4*q*G)>=0&&((et=(-j+bmSqrt(J))/(2*G))>0&&et<1&&Q[K].push(this.calculateF(et,D,F,B,O,K)),(U=(-j-bmSqrt(J))/(2*G))>0&&U<1&&Q[K].push(this.calculateF(U,D,F,B,O,K))));this.shapeBoundingBox.left=bmMin.apply(null,Q[0]),this.shapeBoundingBox.top=bmMin.apply(null,Q[1]),this.shapeBoundingBox.right=bmMax.apply(null,Q[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,Q[1])},HShapeElement.prototype.calculateF=function(D,F,B,O,G,j){return bmPow(1-D,3)*F[j]+3*bmPow(1-D,2)*D*B[j]+3*(1-D)*bmPow(D,2)*O[j]+bmPow(D,3)*G[j]},HShapeElement.prototype.calculateBoundingBox=function(D,F){var B,O=D.length;for(B=0;B<O;B+=1)D[B]&&D[B].sh?this.calculateShapeBoundingBox(D[B],F):D[B]&&D[B].it?this.calculateBoundingBox(D[B].it,F):D[B]&&D[B].style&&D[B].w&&this.expandStrokeBoundingBox(D[B].w,F)},HShapeElement.prototype.expandStrokeBoundingBox=function(D,F){var B=0;if(D.keyframes){for(var O=0;O<D.keyframes.length;O+=1){var G=D.keyframes[O].s;G>B&&(B=G)}B*=D.mult}else B=D.v*D.mult;F.x-=B,F.xMax+=B,F.y-=B,F.yMax+=B},HShapeElement.prototype.currentBoxContains=function(D){return this.currentBBox.x<=D.x&&this.currentBBox.y<=D.y&&this.currentBBox.width+this.currentBBox.x>=D.x+D.width&&this.currentBBox.height+this.currentBBox.y>=D.y+D.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var D=this.tempBoundingBox,F=999999;if(D.x=F,D.xMax=-F,D.y=F,D.yMax=-F,this.calculateBoundingBox(this.itemsData,D),D.width=D.xMax<D.x?0:D.xMax-D.x,D.height=D.yMax<D.y?0:D.yMax-D.y,this.currentBoxContains(D))return;var B=!1;if(this.currentBBox.w!==D.width&&(this.currentBBox.w=D.width,this.shapeCont.setAttribute("width",D.width),B=!0),this.currentBBox.h!==D.height&&(this.currentBBox.h=D.height,this.shapeCont.setAttribute("height",D.height),B=!0),B||this.currentBBox.x!==D.x||this.currentBBox.y!==D.y){this.currentBBox.w=D.width,this.currentBBox.h=D.height,this.currentBBox.x=D.x,this.currentBBox.y=D.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var O=this.shapeCont.style,G="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";O.transform=G,O.webkitTransform=G}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var D=createNS("g");this.maskedElement.appendChild(D),this.innerElem=D}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var D=this.textProperty.currentData;this.renderedLetters=createSizedArray(D.l?D.l.length:0);var F=this.innerElem.style,B=D.fc?this.buildColor(D.fc):"rgba(0,0,0,0)";F.fill=B,F.color=B,D.sc&&(F.stroke=this.buildColor(D.sc),F.strokeWidth=D.sw+"px");var O,G,j=this.globalData.fontManager.getFontByName(D.f);if(!this.globalData.fontManager.chars)if(F.fontSize=D.finalSize+"px",F.lineHeight=D.finalSize+"px",j.fClass)this.innerElem.className=j.fClass;else{F.fontFamily=j.fFamily;var q=D.fWeight,W=D.fStyle;F.fontStyle=W,F.fontWeight=q}var J,et,U,Q=D.l;G=Q.length;var K,tt=this.mHelper,Z="",Y=0;for(O=0;O<G;O+=1){if(this.globalData.fontManager.chars?(this.textPaths[Y]?J=this.textPaths[Y]:((J=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),J.setAttribute("stroke-linejoin",lineJoinEnum[2]),J.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[Y]?U=(et=this.textSpans[Y]).children[0]:((et=createTag("div")).style.lineHeight=0,(U=createNS("svg")).appendChild(J),styleDiv(et)))):this.isMasked?J=this.textPaths[Y]?this.textPaths[Y]:createNS("text"):this.textSpans[Y]?(et=this.textSpans[Y],J=this.textPaths[Y]):(styleDiv(et=createTag("span")),styleDiv(J=createTag("span")),et.appendChild(J)),this.globalData.fontManager.chars){var X,rt=this.globalData.fontManager.getCharData(D.finalText[O],j.fStyle,this.globalData.fontManager.getFontByName(D.f).fFamily);if(X=rt?rt.data:null,tt.reset(),X&&X.shapes&&X.shapes.length&&(K=X.shapes[0].it,tt.scale(D.finalSize/100,D.finalSize/100),Z=this.createPathShape(tt,K),J.setAttribute("d",Z)),this.isMasked)this.innerElem.appendChild(J);else{if(this.innerElem.appendChild(et),X&&X.shapes){document.body.appendChild(U);var it=U.getBBox();U.setAttribute("width",it.width+2),U.setAttribute("height",it.height+2),U.setAttribute("viewBox",it.x-1+" "+(it.y-1)+" "+(it.width+2)+" "+(it.height+2));var at=U.style,st="translate("+(it.x-1)+"px,"+(it.y-1)+"px)";at.transform=st,at.webkitTransform=st,Q[O].yOffset=it.y-1}else U.setAttribute("width",1),U.setAttribute("height",1);et.appendChild(U)}}else if(J.textContent=Q[O].val,J.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(J);else{this.innerElem.appendChild(et);var ot=J.style,ft="translate3d(0,"+-D.finalSize/1.2+"px,0)";ot.transform=ft,ot.webkitTransform=ft}this.isMasked?this.textSpans[Y]=J:this.textSpans[Y]=et,this.textSpans[Y].style.display="block",this.textPaths[Y]=J,Y+=1}for(;Y<this.textSpans.length;)this.textSpans[Y].style.display="none",Y+=1},HTextElement.prototype.renderInnerContent=function(){var D;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),D=this.svgElement.style;var F="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";D.transform=F,D.webkitTransform=F}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var B,O,G,j,q,W=0,J=this.textAnimator.renderedLetters,et=this.textProperty.currentData.l;for(O=et.length,B=0;B<O;B+=1)et[B].n?W+=1:(j=this.textSpans[B],q=this.textPaths[B],G=J[W],W+=1,G._mdf.m&&(this.isMasked?j.setAttribute("transform",G.m):(j.style.webkitTransform=G.m,j.style.transform=G.m)),j.style.opacity=G.o,G.sw&&G._mdf.sw&&q.setAttribute("stroke-width",G.sw),G.sc&&G._mdf.sc&&q.setAttribute("stroke",G.sc),G.fc&&G._mdf.fc&&(q.setAttribute("fill",G.fc),q.style.color=G.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var U=this.innerElem.getBBox();if(this.currentBBox.w!==U.width&&(this.currentBBox.w=U.width,this.svgElement.setAttribute("width",U.width)),this.currentBBox.h!==U.height&&(this.currentBBox.h=U.height,this.svgElement.setAttribute("height",U.height)),this.currentBBox.w!==U.width+2||this.currentBBox.h!==U.height+2||this.currentBBox.x!==U.x-1||this.currentBBox.y!==U.y-1){this.currentBBox.w=U.width+2,this.currentBBox.h=U.height+2,this.currentBBox.x=U.x-1,this.currentBBox.y=U.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),D=this.svgElement.style;var Q="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";D.transform=Q,D.webkitTransform=Q}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var D,F,B,O,G=this.comp.threeDElements.length;for(D=0;D<G;D+=1)if((F=this.comp.threeDElements[D]).type==="3d"){B=F.perspectiveElem.style,O=F.container.style;var j=this.pe.v+"px",q="0px 0px 0px",W="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";B.perspective=j,B.webkitPerspective=j,O.transformOrigin=q,O.mozTransformOrigin=q,O.webkitTransformOrigin=q,B.transform=W,B.webkitTransform=W}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var D,F,B=this._isFirstFrame;if(this.hierarchy)for(F=this.hierarchy.length,D=0;D<F;D+=1)B=this.hierarchy[D].finalTransform.mProp._mdf||B;if(B||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(D=F=this.hierarchy.length-1;D>=0;D-=1){var O=this.hierarchy[D].finalTransform.mProp;this.mat.translate(-O.p.v[0],-O.p.v[1],O.p.v[2]),this.mat.rotateX(-O.or.v[0]).rotateY(-O.or.v[1]).rotateZ(O.or.v[2]),this.mat.rotateX(-O.rx.v).rotateY(-O.ry.v).rotateZ(O.rz.v),this.mat.scale(1/O.s.v[0],1/O.s.v[1],1/O.s.v[2]),this.mat.translate(O.a.v[0],O.a.v[1],O.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var G;G=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var j=Math.sqrt(Math.pow(G[0],2)+Math.pow(G[1],2)+Math.pow(G[2],2)),q=[G[0]/j,G[1]/j,G[2]/j],W=Math.sqrt(q[2]*q[2]+q[0]*q[0]),J=Math.atan2(q[1],W),et=Math.atan2(q[0],-q[2]);this.mat.rotateY(et).rotateX(-J)}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 U=!this._prevMat.equals(this.mat);if((U||this.pe._mdf)&&this.comp.threeDElements){var Q,K,tt;for(F=this.comp.threeDElements.length,D=0;D<F;D+=1)if((Q=this.comp.threeDElements[D]).type==="3d"){if(U){var Z=this.mat.toCSS();(tt=Q.container.style).transform=Z,tt.webkitTransform=Z}this.pe._mdf&&((K=Q.perspectiveElem.style).perspective=this.pe.v+"px",K.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(D){this.prepareProperties(D,!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 D=this.globalData.getAssetsPath(this.assetData),F=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",D),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(F),F.crossOrigin="anonymous",F.src=D,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(D,F){var B=D.getBaseElement();if(B){var O=this.layers[F];if(O.ddd&&this.supports3d)this.addTo3dContainer(B,F);else if(this.threeDElements)this.addTo3dContainer(B,F);else{for(var G,j,q=0;q<F;)this.elements[q]&&this.elements[q]!==!0&&this.elements[q].getBaseElement&&(j=this.elements[q],G=(this.layers[q].ddd?this.getThreeDContainerByPos(q):j.getBaseElement())||G),q+=1;G?O.ddd&&this.supports3d||this.layerElement.insertBefore(B,G):O.ddd&&this.supports3d||this.layerElement.appendChild(B)}}},HybridRendererBase.prototype.createShape=function(D){return this.supports3d?new HShapeElement(D,this.globalData,this):new SVGShapeElement(D,this.globalData,this)},HybridRendererBase.prototype.createText=function(D){return this.supports3d?new HTextElement(D,this.globalData,this):new SVGTextLottieElement(D,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(D){return this.camera=new HCameraElement(D,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(D){return this.supports3d?new HImageElement(D,this.globalData,this):new IImageElement(D,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(D){return this.supports3d?new HSolidElement(D,this.globalData,this):new ISolidElement(D,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(D){for(var F=0,B=this.threeDElements.length;F<B;){if(this.threeDElements[F].startPos<=D&&this.threeDElements[F].endPos>=D)return this.threeDElements[F].perspectiveElem;F+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(D,F){var B,O,G=createTag("div");styleDiv(G);var j=createTag("div");if(styleDiv(j),F==="3d"){(B=G.style).width=this.globalData.compSize.w+"px",B.height=this.globalData.compSize.h+"px";var q="50% 50%";B.webkitTransformOrigin=q,B.mozTransformOrigin=q,B.transformOrigin=q;var W="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(O=j.style).transform=W,O.webkitTransform=W}G.appendChild(j);var J={container:j,perspectiveElem:G,startPos:D,endPos:D,type:F};return this.threeDElements.push(J),J},HybridRendererBase.prototype.build3dContainers=function(){var D,F,B=this.layers.length,O="";for(D=0;D<B;D+=1)this.layers[D].ddd&&this.layers[D].ty!==3?(O!=="3d"&&(O="3d",F=this.createThreeDContainer(D,"3d")),F.endPos=Math.max(F.endPos,D)):(O!=="2d"&&(O="2d",F=this.createThreeDContainer(D,"2d")),F.endPos=Math.max(F.endPos,D));for(D=(B=this.threeDElements.length)-1;D>=0;D-=1)this.resizerElem.appendChild(this.threeDElements[D].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(D,F){for(var B=0,O=this.threeDElements.length;B<O;){if(F<=this.threeDElements[B].endPos){for(var G,j=this.threeDElements[B].startPos;j<F;)this.elements[j]&&this.elements[j].getBaseElement&&(G=this.elements[j].getBaseElement()),j+=1;G?this.threeDElements[B].container.insertBefore(D,G):this.threeDElements[B].container.appendChild(D);break}B+=1}},HybridRendererBase.prototype.configAnimation=function(D){var F=createTag("div"),B=this.animationItem.wrapper,O=F.style;O.width=D.w+"px",O.height=D.h+"px",this.resizerElem=F,styleDiv(F),O.transformStyle="flat",O.mozTransformStyle="flat",O.webkitTransformStyle="flat",this.renderConfig.className&&F.setAttribute("class",this.renderConfig.className),B.appendChild(F),O.overflow="hidden";var G=createNS("svg");G.setAttribute("width","1"),G.setAttribute("height","1"),styleDiv(G),this.resizerElem.appendChild(G);var j=createNS("defs");G.appendChild(j),this.data=D,this.setupGlobalData(D,G),this.globalData.defs=j,this.layers=D.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var D;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var F=this.layers?this.layers.length:0;for(D=0;D<F;D+=1)this.elements[D]&&this.elements[D].destroy&&this.elements[D].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var D,F,B,O,G=this.animationItem.wrapper.offsetWidth,j=this.animationItem.wrapper.offsetHeight,q=G/j;this.globalData.compSize.w/this.globalData.compSize.h>q?(D=G/this.globalData.compSize.w,F=G/this.globalData.compSize.w,B=0,O=(j-this.globalData.compSize.h*(G/this.globalData.compSize.w))/2):(D=j/this.globalData.compSize.h,F=j/this.globalData.compSize.h,B=(G-this.globalData.compSize.w*(j/this.globalData.compSize.h))/2,O=0);var W=this.resizerElem.style;W.webkitTransform="matrix3d("+D+",0,0,0,0,"+F+",0,0,0,0,1,0,"+B+","+O+",0,1)",W.transform=W.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var D,F=this.globalData.compSize.w,B=this.globalData.compSize.h,O=this.threeDElements.length;for(D=0;D<O;D+=1){var G=this.threeDElements[D].perspectiveElem.style;G.webkitPerspective=Math.sqrt(Math.pow(F,2)+Math.pow(B,2))+"px",G.perspective=G.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(D){var F,B=D.length,O=createTag("div");for(F=0;F<B;F+=1)if(D[F].xt){var G=this.createComp(D[F],O,this.globalData.comp,null);G.initExpressions(),this.globalData.projectInterface.registerComposition(G)}},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(D,F){for(var B,O=0;O<F;)this.elements[O]&&this.elements[O].getBaseElement&&(B=this.elements[O].getBaseElement()),O+=1;B?this.layerElement.insertBefore(D,B):this.layerElement.appendChild(D)},HCompElement.prototype.createComp=function(D){return this.supports3d?new HCompElement(D,this.globalData,this):new SVGCompElement(D,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(D){return this.supports3d?new HCompElement(D,this.globalData,this):new SVGCompElement(D,this.globalData,this)};var CompExpressionInterface=function(D){function F(B){for(var O=0,G=D.layers.length;O<G;){if(D.layers[O].nm===B||D.layers[O].ind===B)return D.elements[O].layerInterface;O+=1}return null}return Object.defineProperty(F,"_name",{value:D.data.nm}),F.layer=F,F.pixelAspect=1,F.height=D.data.h||D.globalData.compSize.h,F.width=D.data.w||D.globalData.compSize.w,F.pixelAspect=1,F.frameDuration=1/D.globalData.frameRate,F.displayStartTime=0,F.numLayers=D.layers.length,F};function _typeof$2(D){return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof$2(D)}function seedRandom(D,F){var B=this,O=256,G=F.pow(O,6),j=F.pow(2,52),q=2*j,W=255;function J(tt){var Z,Y=tt.length,X=this,rt=0,it=X.i=X.j=0,at=X.S=[];for(Y||(tt=[Y++]);rt<O;)at[rt]=rt++;for(rt=0;rt<O;rt++)at[rt]=at[it=W&it+tt[rt%Y]+(Z=at[rt])],at[it]=Z;X.g=function(st){for(var ot,ft=0,pt=X.i,ht=X.j,ut=X.S;st--;)ot=ut[pt=W&pt+1],ft=ft*O+ut[W&(ut[pt]=ut[ht=W&ht+ot])+(ut[ht]=ot)];return X.i=pt,X.j=ht,ft}}function et(tt,Z){return Z.i=tt.i,Z.j=tt.j,Z.S=tt.S.slice(),Z}function U(tt,Z){var Y,X=[],rt=_typeof$2(tt);if(Z&&rt=="object")for(Y in tt)try{X.push(U(tt[Y],Z-1))}catch{}return X.length?X:rt=="string"?tt:tt+"\0"}function Q(tt,Z){for(var Y,X=tt+"",rt=0;rt<X.length;)Z[W&rt]=W&(Y^=19*Z[W&rt])+X.charCodeAt(rt++);return K(Z)}function K(tt){return String.fromCharCode.apply(0,tt)}F.seedrandom=function(tt,Z,Y){var X=[],rt=Q(U((Z=Z===!0?{entropy:!0}:Z||{}).entropy?[tt,K(D)]:tt===null?function(){try{var st=new Uint8Array(O);return(B.crypto||B.msCrypto).getRandomValues(st),K(st)}catch{var ot=B.navigator,ft=ot&&ot.plugins;return[+new Date,B,ft,B.screen,K(D)]}}():tt,3),X),it=new J(X),at=function(){for(var st=it.g(6),ot=G,ft=0;
59st<j;)st=(st+ft)*O,ot*=O,ft=it.g(1);for(;st>=q;)st/=2,ot/=2,ft>>>=1;return(st+ft)/ot};return at.int32=function(){return 0|it.g(4)},at.quick=function(){return it.g(4)/4294967296},at.double=at,Q(K(it.S),D),(Z.pass||Y||function(st,ot,ft,pt){return pt&&(pt.S&&et(pt,it),st.state=function(){return et(it,{})}),ft?(F.random=st,ot):st})(at,rt,"global"in Z?Z.global:this==F,Z.state)},Q(F.random(),D)}function initialize$2(D){seedRandom([],D)}var propTypes={SHAPE:"shape"};function _typeof$1(D){return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof$1(D)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(D){return D.constructor===Array||D.constructor===Float32Array}function isNumerable(D,F){return D==="number"||F instanceof Number||D==="boolean"||D==="string"}function $bm_neg(D){var F=_typeof$1(D);if(F==="number"||D instanceof Number||F==="boolean")return-D;if($bm_isInstanceOfArray(D)){var B,O=D.length,G=[];for(B=0;B<O;B+=1)G[B]=-D[B];return G}return D.propType?D.v:-D}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(D,F){var B=_typeof$1(D),O=_typeof$1(F);if(isNumerable(B,D)&&isNumerable(O,F)||B==="string"||O==="string")return D+F;if($bm_isInstanceOfArray(D)&&isNumerable(O,F))return(D=D.slice(0))[0]+=F,D;if(isNumerable(B,D)&&$bm_isInstanceOfArray(F))return(F=F.slice(0))[0]=D+F[0],F;if($bm_isInstanceOfArray(D)&&$bm_isInstanceOfArray(F)){for(var G=0,j=D.length,q=F.length,W=[];G<j||G<q;)(typeof D[G]=="number"||D[G]instanceof Number)&&(typeof F[G]=="number"||F[G]instanceof Number)?W[G]=D[G]+F[G]:W[G]=F[G]===void 0?D[G]:D[G]||F[G],G+=1;return W}return 0}var add=sum;function sub(D,F){var B=_typeof$1(D),O=_typeof$1(F);if(isNumerable(B,D)&&isNumerable(O,F))return B==="string"&&(D=parseInt(D,10)),O==="string"&&(F=parseInt(F,10)),D-F;if($bm_isInstanceOfArray(D)&&isNumerable(O,F))return(D=D.slice(0))[0]-=F,D;if(isNumerable(B,D)&&$bm_isInstanceOfArray(F))return(F=F.slice(0))[0]=D-F[0],F;if($bm_isInstanceOfArray(D)&&$bm_isInstanceOfArray(F)){for(var G=0,j=D.length,q=F.length,W=[];G<j||G<q;)(typeof D[G]=="number"||D[G]instanceof Number)&&(typeof F[G]=="number"||F[G]instanceof Number)?W[G]=D[G]-F[G]:W[G]=F[G]===void 0?D[G]:D[G]||F[G],G+=1;return W}return 0}function mul(D,F){var B,O,G,j=_typeof$1(D),q=_typeof$1(F);if(isNumerable(j,D)&&isNumerable(q,F))return D*F;if($bm_isInstanceOfArray(D)&&isNumerable(q,F)){for(G=D.length,B=createTypedArray("float32",G),O=0;O<G;O+=1)B[O]=D[O]*F;return B}if(isNumerable(j,D)&&$bm_isInstanceOfArray(F)){for(G=F.length,B=createTypedArray("float32",G),O=0;O<G;O+=1)B[O]=D*F[O];return B}return 0}function div(D,F){var B,O,G,j=_typeof$1(D),q=_typeof$1(F);if(isNumerable(j,D)&&isNumerable(q,F))return D/F;if($bm_isInstanceOfArray(D)&&isNumerable(q,F)){for(G=D.length,B=createTypedArray("float32",G),O=0;O<G;O+=1)B[O]=D[O]/F;return B}if(isNumerable(j,D)&&$bm_isInstanceOfArray(F)){for(G=F.length,B=createTypedArray("float32",G),O=0;O<G;O+=1)B[O]=D/F[O];return B}return 0}
vendor: 4,104 bytes, line 59
59function mod(D,F){return typeof D=="string"&&(D=parseInt(D,10)),typeof F=="string"&&(F=parseInt(F,10)),D%F}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(D,F,B){if(F>B){var O=B;B=F,F=O}return Math.min(Math.max(D,F),B)}function radiansToDegrees(D){return D/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(D){return D*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(D,F){if(typeof D=="number"||D instanceof Number)return F=F||0,Math.abs(D-F);var B;F||(F=helperLengthArray);var O=Math.min(D.length,F.length),G=0;for(B=0;B<O;B+=1)G+=Math.pow(F[B]-D[B],2);return Math.sqrt(G)}function normalize(D){return div(D,length(D))}function rgbToHsl(D){var F,B,O=D[0],G=D[1],j=D[2],q=Math.max(O,G,j),W=Math.min(O,G,j),J=(q+W)/2;if(q===W)F=0,B=0;else{var et=q-W;switch(B=J>.5?et/(2-q-W):et/(q+W),q){case O:F=(G-j)/et+(G<j?6:0);break;case G:F=(j-O)/et+2;break;case j:F=(O-G)/et+4}F/=6}return[F,B,J,D[3]]}function hue2rgb(D,F,B){return B<0&&(B+=1),B>1&&(B-=1),B<1/6?D+6*(F-D)*B:B<.5?F:B<2/3?D+(F-D)*(2/3-B)*6:D}function hslToRgb(D){var F,B,O,G=D[0],j=D[1],q=D[2];if(j===0)F=q,O=q,B=q;else{var W=q<.5?q*(1+j):q+j-q*j,J=2*q-W;F=hue2rgb(J,W,G+1/3),B=hue2rgb(J,W,G),O=hue2rgb(J,W,G-1/3)}return[F,B,O,D[3]]}function linear(D,F,B,O,G){if(O!==void 0&&G!==void 0||(O=F,G=B,F=0,B=1),B<F){var j=B;B=F,F=j}if(D<=F)return O;if(D>=B)return G;var q,W=B===F?0:(D-F)/(B-F);if(!O.length)return O+(G-O)*W;var J=O.length,et=createTypedArray("float32",J);for(q=0;q<J;q+=1)et[q]=O[q]+(G[q]-O[q])*W;return et}function random(D,F){if(F===void 0&&(D===void 0?(D=0,F=1):(F=D,D=void 0)),F.length){var B,O=F.length;D||(D=createTypedArray("float32",O));var G=createTypedArray("float32",O),j=BMMath.random();for(B=0;B<O;B+=1)G[B]=D[B]+j*(F[B]-D[B]);return G}return D===void 0&&(D=0),D+BMMath.random()*(F-D)}function createPath(D,F,B,O){var G,j=D.length,q=shapePool.newElement();q.setPathData(!!O,j);var W,J,et=[0,0];for(G=0;G<j;G+=1)W=F&&F[G]?F[G]:et,J=B&&B[G]?B[G]:et,q.setTripleAt(D[G][0],D[G][1],J[0]+D[G][0],J[1]+D[G][1],W[0]+D[G][0],W[1]+D[G][1],G,!0);return q}function initiateExpression(elem,data,property){function noOp(D){return D}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function(D,F){var B,O,G=this.pv.length?this.pv.length:1,j=createTypedArray("float32",G),q=Math.floor(5*time);for(B=0,O=0;B<q;){for(O=0;O<G;O+=1)j[O]+=-F+2*F*BMMath.random();B+=1}var W=5*time,J=W-Math.floor(W),et=createTypedArray("float32",G);if(G>1){for(O=0;O<G;O+=1)et[O]=this.pv[O]+j[O]+(-F+2*F*BMMath.random())*J;return et}return this.pv+j[0]+(-F+2*F*BMMath.random())*J}).bind(this);function loopInDuration(D,F){return loopIn(D,F,!0)}function loopOutDuration(D,F){return loopOut(D,F,!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));
vendor: 6,221 bytes, line 59
59var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(D,F){var B=[F[0]-D[0],F[1]-D[1],F[2]-D[2]],O=Math.atan2(B[0],Math.sqrt(B[1]*B[1]+B[2]*B[2]))/degToRads;return[-Math.atan2(B[1],B[2])/degToRads,O,0]}function easeOut(D,F,B,O,G){return applyEase(easeOutBez,D,F,B,O,G)}function easeIn(D,F,B,O,G){return applyEase(easeInBez,D,F,B,O,G)}function ease(D,F,B,O,G){return applyEase(easeInOutBez,D,F,B,O,G)}function applyEase(D,F,B,O,G,j){G===void 0?(G=B,j=O):F=(F-B)/(O-B),F>1?F=1:F<0&&(F=0);var q=D(F);if($bm_isInstanceOfArray(G)){var W,J=G.length,et=createTypedArray("float32",J);for(W=0;W<J;W+=1)et[W]=(j[W]-G[W])*q+G[W];return et}return(j-G)*q+G}function nearestKey(D){var F,B,O,G=data.k.length;if(data.k.length&&typeof data.k[0]!="number")if(B=-1,(D*=elem.comp.globalData.frameRate)<data.k[0].t)B=1,O=data.k[0].t;else{for(F=0;F<G-1;F+=1){if(D===data.k[F].t){B=F+1,O=data.k[F].t;break}if(D>data.k[F].t&&D<data.k[F+1].t){D-data.k[F].t>data.k[F+1].t-D?(B=F+2,O=data.k[F+1].t):(B=F+1,O=data.k[F].t);break}}B===-1&&(B=F+1,O=data.k[F].t)}else B=0,O=0;var j={};return j.index=B,j.time=O/elem.comp.globalData.frameRate,j}function key(D){var F,B,O;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+D);D-=1,F={time:data.k[D].t/elem.comp.globalData.frameRate,value:[]};var G=Object.prototype.hasOwnProperty.call(data.k[D],"s")?data.k[D].s:data.k[D-1].e;for(O=G.length,B=0;B<O;B+=1)F[B]=G[B],F.value[B]=G[B];return F}function framesToTime(D,F){return F||(F=elem.comp.globalData.frameRate),D/F}function timeToFrames(D,F){return D||D===0||(D=time),F||(F=elem.comp.globalData.frameRate),D*F}function seedRandom(D){BMMath.seedrandom(randSeed+D)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(D,F){return typeof value=="string"?F===void 0?value.substring(D):value.substring(D,F):""}function substr(D,F){return typeof value=="string"?F===void 0?value.substr(D):value.substr(D,F):""}function posterizeTime(D){time=D===0?0:Math.floor(time*D)/D,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(D){return value=D,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType!==4||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!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 D={initExpressions:function(F){var B=0,O=[];F.renderer.compInterface=CompExpressionInterface(F.renderer),F.renderer.globalData.projectInterface.registerComposition(F.renderer),F.renderer.globalData.pushExpression=function(){B+=1},F.renderer.globalData.popExpression=function(){(B-=1)==0&&function(){var G,j=O.length;for(G=0;G<j;G+=1)O[G].release();O.length=0}()},F.renderer.globalData.registerExpressionProperty=function(G){O.indexOf(G)===-1&&O.push(G)}}};return D.resetFrame=ExpressionManager.resetFrame,D}(),MaskManagerInterface=function(){function D(F,B){this._mask=F,this._data=B}return Object.defineProperty(D.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(D.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(F){var B,O=createSizedArray(F.viewData.length),G=F.viewData.length;for(B=0;B<G;B+=1)O[B]=new D(F.viewData[B],F.masksProperties[B]);return function(j){for(B=0;B<G;){if(F.masksProperties[B].nm===j)return O[B];B+=1}return null}}}(),ExpressionPropertyInterface=function(){var D={pv:0,v:0,mult:1},F={pv:[0,0,0],v:[0,0,0],mult:1};function B(G,j,q){Object.defineProperty(G,"velocity",{get:function(){return j.getVelocityAtTime(j.comp.currentFrame)}}),G.numKeys=j.keyframes?j.keyframes.length:0,G.key=function(W){if(!G.numKeys)return 0;var J="";J="s"in j.keyframes[W-1]?j.keyframes[W-1].s:"e"in j.keyframes[W-2]?j.keyframes[W-2].e:j.keyframes[W-2].s;var et=q==="unidimensional"?new Number(J):Object.assign({},J);return et.time=j.keyframes[W-1].t/j.elem.comp.globalData.frameRate,et.value=q==="unidimensional"?J[0]:J,et},G.valueAtTime=j.getValueAtTime,G.speedAtTime=j.getSpeedAtTime,G.velocityAtTime=j.getVelocityAtTime,G.propertyGroup=j.propertyGroup}function O(){return D}
vendor: 5,516 bytes, line 59
59return function(G){return G?G.propType==="unidimensional"?function(j){j&&"pv"in j||(j=D);var q=1/j.mult,W=j.pv*q,J=new Number(W);return J.value=W,B(J,j,"unidimensional"),function(){return j.k&&j.getValue(),W=j.v*q,J.value!==W&&((J=new Number(W)).value=W,B(J,j,"unidimensional")),J}}(G):function(j){j&&"pv"in j||(j=F);var q=1/j.mult,W=j.data&&j.data.l||j.pv.length,J=createTypedArray("float32",W),et=createTypedArray("float32",W);return J.value=et,B(J,j,"multidimensional"),function(){j.k&&j.getValue();for(var U=0;U<W;U+=1)et[U]=j.v[U]*q,J[U]=et[U];return J}}(G):O}}(),TransformExpressionInterface=function(D){function F(q){switch(q){case"scale":case"Scale":case"ADBE Scale":case 6:return F.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return F.rotation;case"ADBE Rotate X":return F.xRotation;case"ADBE Rotate Y":return F.yRotation;case"position":case"Position":case"ADBE Position":case 2:return F.position;case"ADBE Position_0":return F.xPosition;case"ADBE Position_1":return F.yPosition;case"ADBE Position_2":return F.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return F.anchorPoint;case"opacity":case"Opacity":case 11:return F.opacity;default:return null}}var B,O,G,j;return Object.defineProperty(F,"rotation",{get:ExpressionPropertyInterface(D.r||D.rz)}),Object.defineProperty(F,"zRotation",{get:ExpressionPropertyInterface(D.rz||D.r)}),Object.defineProperty(F,"xRotation",{get:ExpressionPropertyInterface(D.rx)}),Object.defineProperty(F,"yRotation",{get:ExpressionPropertyInterface(D.ry)}),Object.defineProperty(F,"scale",{get:ExpressionPropertyInterface(D.s)}),D.p?j=ExpressionPropertyInterface(D.p):(B=ExpressionPropertyInterface(D.px),O=ExpressionPropertyInterface(D.py),D.pz&&(G=ExpressionPropertyInterface(D.pz))),Object.defineProperty(F,"position",{get:function(){return D.p?j():[B(),O(),G?G():0]}}),Object.defineProperty(F,"xPosition",{get:ExpressionPropertyInterface(D.px)}),Object.defineProperty(F,"yPosition",{get:ExpressionPropertyInterface(D.py)}),Object.defineProperty(F,"zPosition",{get:ExpressionPropertyInterface(D.pz)}),Object.defineProperty(F,"anchorPoint",{get:ExpressionPropertyInterface(D.a)}),Object.defineProperty(F,"opacity",{get:ExpressionPropertyInterface(D.o)}),Object.defineProperty(F,"skew",{get:ExpressionPropertyInterface(D.sk)}),Object.defineProperty(F,"skewAxis",{get:ExpressionPropertyInterface(D.sa)}),Object.defineProperty(F,"orientation",{get:ExpressionPropertyInterface(D.or)}),F},LayerExpressionInterface=function(){function D(et){var U=new Matrix;return et!==void 0?this._elem.finalTransform.mProp.getValueAtTime(et).clone(U):this._elem.finalTransform.mProp.applyToMatrix(U),U}function F(et,U){var Q=this.getMatrix(U);return Q.props[12]=0,Q.props[13]=0,Q.props[14]=0,this.applyPoint(Q,et)}function B(et,U){var Q=this.getMatrix(U);return this.applyPoint(Q,et)}function O(et,U){var Q=this.getMatrix(U);return Q.props[12]=0,Q.props[13]=0,Q.props[14]=0,this.invertPoint(Q,et)}function G(et,U){var Q=this.getMatrix(U);return this.invertPoint(Q,et)}function j(et,U){if(this._elem.hierarchy&&this._elem.hierarchy.length){var Q,K=this._elem.hierarchy.length;for(Q=0;Q<K;Q+=1)this._elem.hierarchy[Q].finalTransform.mProp.applyToMatrix(et)}return et.applyToPointArray(U[0],U[1],U[2]||0)}function q(et,U){if(this._elem.hierarchy&&this._elem.hierarchy.length){var Q,K=this._elem.hierarchy.length;for(Q=0;Q<K;Q+=1)this._elem.hierarchy[Q].finalTransform.mProp.applyToMatrix(et)}return et.inversePoint(U)}function W(et){var U=new Matrix;if(U.reset(),this._elem.finalTransform.mProp.applyToMatrix(U),this._elem.hierarchy&&this._elem.hierarchy.length){var Q,K=this._elem.hierarchy.length;for(Q=0;Q<K;Q+=1)this._elem.hierarchy[Q].finalTransform.mProp.applyToMatrix(U);return U.inversePoint(et)}return U.inversePoint(et)}function J(){return[1,1,1,1]}return function(et){var U;function Q(tt){switch(tt){case"ADBE Root Vectors Group":case"Contents":case 2:return Q.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return U;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return Q.effect;case"ADBE Text Properties":return Q.textInterface;default:return null}}Q.getMatrix=D,Q.invertPoint=q,Q.applyPoint=j,Q.toWorld=B,Q.toWorldVec=F,Q.fromWorld=G,Q.fromWorldVec=O,Q.toComp=B,Q.fromComp=W,Q.sampleImage=J,Q.sourceRectAtTime=et.sourceRectAtTime.bind(et),Q._elem=et;var K=getDescriptor(U=TransformExpressionInterface(et.finalTransform.mProp),"anchorPoint");return Object.defineProperties(Q,{hasParent:{get:function(){return et.hierarchy.length}},parent:{get:function(){return et.hierarchy[0].layerInterface}},rotation:getDescriptor(U,"rotation"),scale:getDescriptor(U,"scale"),position:getDescriptor(U,"position"),opacity:getDescriptor(U,"opacity"),anchorPoint:K,anchor_point:K,transform:{get:function(){return U}},active:{get:function(){return et.isInRange}}}),Q.startTime=et.data.st,Q.index=et.data.ind,Q.source=et.data.refId,Q.height=et.data.ty===0?et.data.h:100,Q.width=et.data.ty===0?et.data.w:100,Q.inPoint=et.data.ip/et.comp.globalData.frameRate,Q.outPoint=et.data.op/et.comp.globalData.frameRate,Q._name=et.data.nm,Q.registerMaskInterface=function(tt){Q.mask=new MaskManagerInterface(tt,et)},Q.registerEffectsInterface=function(tt){Q.effect=tt},Q}}(),propertyGroupFactory=function(D,F){return function(B){return(B=B===void 0?1:B)<=0?D:F(B-1)}},PropertyInterface=function(D,F){var B={_name:D};return function(O){return(O=O===void 0?1:O)<=0?B:F(O-1)}}
vendor: 4,702 bytes, line 59
59,EffectsExpressionInterface=function(){var D={createEffectsInterface:function(O,G){if(O.effectsManager){var j,q=[],W=O.data.ef,J=O.effectsManager.effectElements.length;for(j=0;j<J;j+=1)q.push(F(W[j],O.effectsManager.effectElements[j],G,O));var et=O.data.ef||[],U=function(Q){for(j=0,J=et.length;j<J;){if(Q===et[j].nm||Q===et[j].mn||Q===et[j].ix)return q[j];j+=1}return null};return Object.defineProperty(U,"numProperties",{get:function(){return et.length}}),U}return null}};function F(O,G,j,q){function W(K){for(var tt=O.ef,Z=0,Y=tt.length;Z<Y;){if(K===tt[Z].nm||K===tt[Z].mn||K===tt[Z].ix)return tt[Z].ty===5?U[Z]:U[Z]();Z+=1}throw new Error}var J,et=propertyGroupFactory(W,j),U=[],Q=O.ef.length;for(J=0;J<Q;J+=1)O.ef[J].ty===5?U.push(F(O.ef[J],G.effectElements[J],G.effectElements[J].propertyGroup,q)):U.push(B(G.effectElements[J],O.ef[J].ty,q,et));return O.mn==="ADBE Color Control"&&Object.defineProperty(W,"color",{get:function(){return U[0]()}}),Object.defineProperties(W,{numProperties:{get:function(){return O.np}},_name:{value:O.nm},propertyGroup:{value:et}}),W.enabled=O.en!==0,W.active=W.enabled,W}function B(O,G,j,q){var W=ExpressionPropertyInterface(O.p);return O.p.setGroupProperty&&O.p.setGroupProperty(PropertyInterface("",q)),function(){return G===10?j.comp.compInterface(O.p.v):W()}}return D}(),ShapePathInterface=function(D,F,B){var O=F.sh;function G(q){return q==="Shape"||q==="shape"||q==="Path"||q==="path"||q==="ADBE Vector Shape"||q===2?G.path:null}var j=propertyGroupFactory(G,B);return O.setGroupProperty(PropertyInterface("Path",j)),Object.defineProperties(G,{path:{get:function(){return O.k&&O.getValue(),O}},shape:{get:function(){return O.k&&O.getValue(),O}},_name:{value:D.nm},ix:{value:D.ix},propertyIndex:{value:D.ix},mn:{value:D.mn},propertyGroup:{value:B}}),G},ShapeExpressionInterface=function(){function D(K,tt,Z){var Y,X=[],rt=K?K.length:0;for(Y=0;Y<rt;Y+=1)K[Y].ty==="gr"?X.push(F(K[Y],tt[Y],Z)):K[Y].ty==="fl"?X.push(B(K[Y],tt[Y],Z)):K[Y].ty==="st"?X.push(G(K[Y],tt[Y],Z)):K[Y].ty==="tm"?X.push(j(K[Y],tt[Y],Z)):K[Y].ty==="tr"||(K[Y].ty==="el"?X.push(W(K[Y],tt[Y],Z)):K[Y].ty==="sr"?X.push(J(K[Y],tt[Y],Z)):K[Y].ty==="sh"?X.push(ShapePathInterface(K[Y],tt[Y],Z)):K[Y].ty==="rc"?X.push(et(K[Y],tt[Y],Z)):K[Y].ty==="rd"?X.push(U(K[Y],tt[Y],Z)):K[Y].ty==="rp"?X.push(Q(K[Y],tt[Y],Z)):K[Y].ty==="gf"?X.push(O(K[Y],tt[Y],Z)):X.push((K[Y],tt[Y],function(){return null})));return X}function F(K,tt,Z){var Y=function(it){switch(it){case"ADBE Vectors Group":case"Contents":case 2:return Y.content;default:return Y.transform}};Y.propertyGroup=propertyGroupFactory(Y,Z);var X=function(it,at,st){var ot,ft=function(ht){for(var ut=0,ct=ot.length;ut<ct;){if(ot[ut]._name===ht||ot[ut].mn===ht||ot[ut].propertyIndex===ht||ot[ut].ix===ht||ot[ut].ind===ht)return ot[ut];ut+=1}return typeof ht=="number"?ot[ht-1]:null};ft.propertyGroup=propertyGroupFactory(ft,st),ot=D(it.it,at.it,ft.propertyGroup),ft.numProperties=ot.length;var pt=q(it.it[it.it.length-1],at.it[at.it.length-1],ft.propertyGroup);return ft.transform=pt,ft.propertyIndex=it.cix,ft._name=it.nm,ft}(K,tt,Y.propertyGroup),rt=q(K.it[K.it.length-1],tt.it[tt.it.length-1],Y.propertyGroup);return Y.content=X,Y.transform=rt,Object.defineProperty(Y,"_name",{get:function(){return K.nm}}),Y.numProperties=K.np,Y.propertyIndex=K.ix,Y.nm=K.nm,Y.mn=K.mn,Y}function B(K,tt,Z){function Y(X){return X==="Color"||X==="color"?Y.color:X==="Opacity"||X==="opacity"?Y.opacity:null}return Object.defineProperties(Y,{color:{get:ExpressionPropertyInterface(tt.c)},opacity:{get:ExpressionPropertyInterface(tt.o)},_name:{value:K.nm},mn:{value:K.mn}}),tt.c.setGroupProperty(PropertyInterface("Color",Z)),tt.o.setGroupProperty(PropertyInterface("Opacity",Z)),Y}function O(K,tt,Z){function Y(X){return X==="Start Point"||X==="start point"?Y.startPoint:X==="End Point"||X==="end point"?Y.endPoint:X==="Opacity"||X==="opacity"?Y.opacity:null}return Object.defineProperties(Y,{startPoint:{get:ExpressionPropertyInterface(tt.s)},endPoint:{get:ExpressionPropertyInterface(tt.e)},opacity:{get:ExpressionPropertyInterface(tt.o)},type:{get:function(){return"a"}},_name:{value:K.nm},mn:{value:K.mn}}),tt.s.setGroupProperty(PropertyInterface("Start Point",Z)),tt.e.setGroupProperty(PropertyInterface("End Point",Z)),tt.o.setGroupProperty(PropertyInterface("Opacity",Z)),Y}function G(K,tt,Z){var Y,X=propertyGroupFactory(ot,Z),rt=propertyGroupFactory(st,X);function it(ft){Object.defineProperty(st,K.d[ft].nm,{get:ExpressionPropertyInterface(tt.d.dataProps[ft].p)})}var at=K.d?K.d.length:0,st={};for(Y=0;Y<at;Y+=1)it(Y),tt.d.dataProps[Y].p.setGroupProperty(rt);function ot(ft){return ft==="Color"||ft==="color"?ot.color:ft==="Opacity"||ft==="opacity"?ot.o
59pacity:ft==="Stroke Width"||ft==="stroke width"?ot.strokeWidth:null}return Object.defineProperties(ot,{color:{get:ExpressionPropertyInterface(tt.c)},opacity:{get:ExpressionPropertyInterface(tt.o)},strokeWidth:{get:ExpressionPropertyInterface(tt.w)},dash:{get:function(){return st}},_name:{value:K.nm},mn:{value:K.mn}}),tt.c.setGroupProperty(PropertyInterface("Color",X)),tt.o.setGroupProperty(PropertyInterface("Opacity",X)),tt.w.setGroupProperty(PropertyInterface("Stroke Width",X)),ot}function j(K,tt,Z){function Y(rt){return rt===K.e.ix||rt==="End"||rt==="end"?Y.end:rt===K.s.ix?Y.start:rt===K.o.ix?Y.offset:null}var X=propertyGroupFactory(Y,Z);return Y.propertyIndex=K.ix,tt.s.setGroupProperty(PropertyInterface("Start",X)),tt.e.setGroupProperty(PropertyInterface("End",X)),tt.o.setGroupProperty(PropertyInterface("Offset",X)),Y.propertyIndex=K.ix,Y.propertyGroup=Z,Object.defineProperties(Y,{start:{get:ExpressionPropertyInterface(tt.s)},end:{get:ExpressionPropertyInterface(tt.e)},offset:{get:ExpressionPropertyInterface(tt.o)},_name:{value:K.nm}}),Y.mn=K.mn,Y}function q(K,tt,Z){function Y(rt){return K.a.ix===rt||rt==="Anchor Point"?Y.anchorPoint:K.o.ix===rt||rt==="Opacity"?Y.opacity:K.p.ix===rt||rt==="Position"?Y.position:K.r.ix===rt||rt==="Rotation"||rt==="ADBE Vector Rotation"?Y.rotation:K.s.ix===rt||rt==="Scale"?Y.scale:K.sk&&K.sk.ix===rt||rt==="Skew"?Y.skew:K.sa&&K.sa.ix===rt||rt==="Skew Axis"?Y.skewAxis:null}var X=propertyGroupFactory(Y,Z);return tt.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",X)),tt.transform.mProps.p.setGroupProperty(PropertyInterface("Position",X)),tt.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",X)),tt.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",X)),tt.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",X)),tt.transform.mProps.sk&&(tt.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",X)),tt.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",X))),tt.transform.op.setGroupProperty(PropertyInterface("Opacity",X)),Object.defineProperties(Y,{opacity:{get:ExpressionPropertyInterface(tt.transform.mProps.o)},position:{get:ExpressionPropertyInterface(tt.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(tt.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(tt.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(tt.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(tt.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(tt.transform.mProps.sa)},_name:{value:K.nm}}),Y.ty="tr",Y.mn=K.mn,Y.propertyGroup=Z,Y}function W(K,tt,Z){function Y(it){return K.p.ix===it?Y.position:K.s.ix===it?Y.size:null}var X=propertyGroupFactory(Y,Z);Y.propertyIndex=K.ix;var rt=tt.sh.ty==="tm"?tt.sh.prop:tt.sh;return rt.s.setGroupProperty(PropertyInterface("Size",X)),rt.p.setGroupProperty(PropertyInterface("Position",X)),Object.defineProperties(Y,{size:{get:ExpressionPropertyInterface(rt.s)},position:{get:ExpressionPropertyInterface(rt.p)},_name:{value:K.nm}}),Y.mn=K.mn,Y}function J(K,tt,Z){function Y(it){return K.p.ix===it?Y.position:K.r.ix===it?Y.rotation:K.pt.ix===it?Y.points:K.or.ix===it||it==="ADBE Vector Star Outer Radius"?Y.outerRadius:K.os.ix===it?Y.outerRoundness:!K.ir||K.ir.ix!==it&&it!=="ADBE Vector Star Inner Radius"?K.is&&K.is.ix===it?Y.innerRoundness:null:Y.innerRadius}var X=propertyGroupFactory(Y,Z),rt=tt.sh.ty==="tm"?tt.sh.prop:tt.sh;return Y.propertyIndex=K.ix,rt.or.setGroupProperty(PropertyInterface("Outer Radius",X)),rt.os.setGroupProperty(PropertyInterface("Outer Roundness",X)),rt.pt.setGroupProperty(PropertyInterface("Points",X)),rt.p.setGroupProperty(PropertyInterface("Position",X)),rt.r.setGroupProperty(PropertyInterface("Rotation",X)),K.ir&&(rt.ir.setGroupProperty(PropertyInterface("Inner Radius",X)),rt.is.setGroupProperty(PropertyInterface("Inner Roundness",X))),Object.defineProperties(Y,{position:{get:ExpressionPropertyInterface(rt.p)},rotation:{get:ExpressionPropertyInterface(rt.r)},points:{get:ExpressionPropertyInterface(rt.pt)},outerRadius:{get:ExpressionPropertyInterface(rt.or)},outerRoundness:{get:ExpressionPropertyInterface(rt.os)},innerRadius:{get:ExpressionPropertyInterface(rt.ir)},innerRoundness:{get:ExpressionPropertyInterface(rt.is)},_name:{value:K.nm}}),Y.mn=K.mn,Y}function et(K,tt,Z){function Y(it){return K.p.ix===it?Y.position:K.r.ix===it?Y.roundness:K.s.ix===it||it==="Size"||it==="ADBE Vector Rect Size"?Y.size:null}var X=propertyGroupFactory(Y,Z),rt=tt.sh.ty==="tm"?tt.sh.prop:tt.sh;return Y.propertyIndex=K.ix,rt.p.setGroupProperty(PropertyInterface("Position",X)),rt.s.setGroupProperty(PropertyInterface("Size",X)),rt.r.setGroupProperty(PropertyInterface("Rotation",X)),Object.defineProperties(Y,{position:{get:ExpressionPropertyInterface(rt.p)},roundness:{get:ExpressionPropertyInterface(rt.r)},size:{get:ExpressionPropertyInterface(rt.s)},_name:{value:K.nm}}),Y.mn=K.mn,Y}function U(K,tt,Z){function Y(it){return K.r.ix===it||it==="Round Corners 1"?Y.radius:null}var X=propertyGroupFactory(Y,Z),rt=tt;return Y.propertyIndex=K.ix,rt.rd.setGroupProperty(PropertyInterface("Radius",X)),Object.defineProperties(Y,{radius:{get:ExpressionPropertyInterface(rt.rd)},_name:{value:K.nm}}),Y.mn=K.mn,Y}function Q(K,tt,Z){function Y(it){return K.c.ix===it||it==="Copies"?Y.copies:K.o.ix===it||it==="Offset"?Y.offset:null}var X=propertyGroupFactory(Y,Z),rt=tt;return Y.propertyIndex=K.ix,rt.c.setGroupProperty(PropertyInterface("Copies",X)),rt.o.setGroupProperty(PropertyInterface("Offset",X)),Object.defineProperties(Y,{copies:{get:ExpressionPropertyInterface(rt.c)},offset:{get:ExpressionPropertyInterface(rt.o)},_name:{value:K.nm}}),Y.mn=K.mn,Y}return function(K,tt,Z){var Y;function X(rt){if(typeof rt=="number")return(rt=rt===void 0?1:rt)===0?Z:Y[rt-1];for(var it=0,at=Y.length;it<at;){if(Y[it]._name===rt)return Y[it];it+=1}return null}return X.propertyGroup=propertyGroupFactory(X,function(){return Z}),Y=D(K,tt,X.propertyGroup),X.numProperties=Y.length,X._name="Contents",X}}(),TextExpressionInterface=function(D){var F;function B(O){return O==="ADBE Text Document"?B.sourceText:null}return Object.defineProperty(B,"sourceText",{get:function(){D.textProperty.getValue();var O=D.textProperty.currentData.t;return F&&O===F.value||((F=new String(O)).value=O||new String(O),Object.defineProperty(F,"style",{get:function(){return{fillColor:D.textProperty.currentData.fc}}})),F}}),B};function _typeof(D){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},_typeof(D)}var FootageInterface=(dataInterfaceFactory=function(D){function F(B){return B==="Outline"?F.outlineInterface():null}return F._name="Outline",F.outlineInterface=function(B){var O="",G=B.getFootageData();function j(q){if(G[q])return O=q,_typeof(G=G[q])==="object"?j:G;var W=q.indexOf(O);
vendor: 14,366 bytes, line 59
59if(W!==-1){var J=parseInt(q.substr(W+O.length),10);return _typeof(G=G[J])==="object"?j:G}return""}return function(){return O="",G=B.getFootageData(),j}}(D),F},function(D){function F(B){return B==="Data"?F.dataInterface:null}return F._name="Data",F.dataInterface=dataInterfaceFactory(D),F}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(D){return interfaces[D]||null}var expressionHelpers={searchExpressions:function(D,F,B){F.x&&(B.k=!0,B.x=!0,B.initiateExpression=ExpressionManager.initiateExpression,B.effectsSequence.push(B.initiateExpression(D,F,B).bind(B)))},getSpeedAtTime:function(D){var F=this.getValueAtTime(D),B=this.getValueAtTime(D+-.01),O=0;if(F.length){var G;for(G=0;G<F.length;G+=1)O+=Math.pow(B[G]-F[G],2);O=100*Math.sqrt(O)}else O=0;return O},getVelocityAtTime:function(D){if(this.vel!==void 0)return this.vel;var F,B,O=-.001,G=this.getValueAtTime(D),j=this.getValueAtTime(D+O);if(G.length)for(F=createTypedArray("float32",G.length),B=0;B<G.length;B+=1)F[B]=(j[B]-G[B])/O;else F=(j-G)/O;return F},getValueAtTime:function(D){return D*=this.elem.globalData.frameRate,(D-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<D?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(D,this._cachingAtTime),this._cachingAtTime.lastFrame=D),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(D){this.propertyGroup=D}};function addPropertyDecorator(){function D(Q,K,tt){if(!this.k||!this.keyframes)return this.pv;Q=Q?Q.toLowerCase():"";var Z,Y,X,rt,it,at=this.comp.renderedFrame,st=this.keyframes,ot=st[st.length-1].t;if(at<=ot)return this.pv;if(tt?Y=ot-(Z=K?Math.abs(ot-this.elem.comp.globalData.frameRate*K):Math.max(0,ot-this.elem.data.ip)):((!K||K>st.length-1)&&(K=st.length-1),Z=ot-(Y=st[st.length-1-K].t)),Q==="pingpong"){if(Math.floor((at-Y)/Z)%2!=0)return this.getValueAtTime((Z-(at-Y)%Z+Y)/this.comp.globalData.frameRate,0)}else{if(Q==="offset"){var ft=this.getValueAtTime(Y/this.comp.globalData.frameRate,0),pt=this.getValueAtTime(ot/this.comp.globalData.frameRate,0),ht=this.getValueAtTime(((at-Y)%Z+Y)/this.comp.globalData.frameRate,0),ut=Math.floor((at-Y)/Z);if(this.pv.length){for(rt=(it=new Array(ft.length)).length,X=0;X<rt;X+=1)it[X]=(pt[X]-ft[X])*ut+ht[X];return it}return(pt-ft)*ut+ht}if(Q==="continue"){var ct=this.getValueAtTime(ot/this.comp.globalData.frameRate,0),lt=this.getValueAtTime((ot-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(rt=(it=new Array(ct.length)).length,X=0;X<rt;X+=1)it[X]=ct[X]+(ct[X]-lt[X])*((at-ot)/this.comp.globalData.frameRate)/5e-4;return it}return ct+(at-ot)/.001*(ct-lt)}}return this.getValueAtTime(((at-Y)%Z+Y)/this.comp.globalData.frameRate,0)}function F(Q,K,tt){if(!this.k)return this.pv;Q=Q?Q.toLowerCase():"";var Z,Y,X,rt,it,at=this.comp.renderedFrame,st=this.keyframes,ot=st[0].t;if(at>=ot)return this.pv;if(tt?Y=ot+(Z=K?Math.abs(this.elem.comp.globalData.frameRate*K):Math.max(0,this.elem.data.op-ot)):((!K||K>st.length-1)&&(K=st.length-1),Z=(Y=st[K].t)-ot),Q==="pingpong"){if(Math.floor((ot-at)/Z)%2==0)return this.getValueAtTime(((ot-at)%Z+ot)/this.comp.globalData.frameRate,0)}else{if(Q==="offset"){var ft=this.getValueAtTime(ot/this.comp.globalData.frameRate,0),pt=this.getValueAtTime(Y/this.comp.globalData.frameRate,0),ht=this.getValueAtTime((Z-(ot-at)%Z+ot)/this.comp.globalData.frameRate,0),ut=Math.floor((ot-at)/Z)+1;if(this.pv.length){for(rt=(it=new Array(ft.length)).length,X=0;X<rt;X+=1)it[X]=ht[X]-(pt[X]-ft[X])*ut;return it}return ht-(pt-ft)*ut}if(Q==="continue"){var ct=this.getValueAtTime(ot/this.comp.globalData.frameRate,0),lt=this.getValueAtTime((ot+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(rt=(it=new Array(ct.length)).length,X=0;X<rt;X+=1)it[X]=ct[X]+(ct[X]-lt[X])*(ot-at)/.001;return it}return ct+(ct-lt)*(ot-at)/.001}}return this.getValueAtTime((Z-((ot-at)%Z+ot))/this.comp.globalData.frameRate,0)}function B(Q,K){if(!this.k)return this.pv;if(Q=.5*(Q||.4),(K=Math.floor(K||5))<=1)return this.pv;var tt,Z,Y=this.comp.renderedFrame/this.comp.globalData.frameRate,X=Y-Q,rt=K>1?(Y+Q-X)/(K-1):1,it=0,at=0;for(tt=this.pv.length?createTypedArray("float32",this.pv.length):0;it<K;){if(Z=this.getValueAtTime(X+it*rt),this.pv.length)for(at=0;at<this.pv.length;at+=1)tt[at]+=Z[at];else tt+=Z;it+=1}if(this.pv.length)for(at=0;at<this.pv.length;at+=1)tt[at]/=K;else tt/=K;return tt}function O(Q){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var K=this._transformCachingAtTime.v;if(K.cloneFromProps(this.pre.props),this.appliedTransformations<1){var tt=this.a.getValueAtTime(Q);K.translate(-tt[0]*this.a.mult,-tt[1]*this.a.mult,tt[2]*this.a.mult)}if(this.appliedTransformations<2){var Z=this.s.getValueAtTime(Q);K.scale(Z[0]*this.s.mult,Z[1]*this.s.mult,Z[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var Y=this.sk.getValueAtTime(Q),X=this.sa.getValueAtTime(Q);K.skewFromAxis(-Y*this.sk.mult,X*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var rt=this.r.getValueAtTime(Q);K.rotate(-rt*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var it=this.rz.getValueAtTime(Q),at=this.ry.getValueAtTime(Q),st=this.rx.getValueAtTime(Q),ot=this.or.getValueAtTime(Q);K.rotateZ(-it*this.rz.mult).rotateY(at*this.ry.mult).rotateX(st*this.rx.mult).rotateZ(-ot[2]*this.or.mult).rotateY(ot[1]*this.or.mult).rotateX(ot[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var ft=this.px.getValueAtTime(Q),pt=this.py.getValueAtTime(Q);if(this.data.p.z){var ht=this.pz.getValueAtTime(Q);K.translate(ft*this.px.mult,pt*this.py.mult,-ht*this.pz.mult)}else K.translate(ft*this.px.mult,pt*this.py.mult,0)}else{var ut=this.p.getValueAtTime(Q);K.translate(ut[0]*this.p.mult,ut[1]*this.p.mult,-ut[2]*this.p.mult)}return K}function G(){return this.v.clone(new Matrix)}var j=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(Q,K,tt){var Z=j(Q,K,tt);return Z.dynamicProperties.length?Z.getValueAtTime=O.bind(Z):Z.getValueAtTime=G.bind(Z),Z.setGroupProperty=expressionHelpers.setGroupProperty,Z};var q=PropertyFactory.getProp;PropertyFactory.getProp=function(Q,K,tt,Z,Y){var X=q(Q,K,tt,Z,Y);X.kf?X.getValueAtTime=expressionHelpers.getValueAtTime.bind(X):X.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(X),X.setGroupProperty=expressionHelpers.setGroupProperty,X.loopOut=D,X.loopIn=F,X.smooth=B,X.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(X),X.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(X),X.numKeys=K.a===1?K.k.length:0,X.propertyIndex=K.ix;var rt=0;return tt!==0&&(rt=createTypedArray("float32",K.a===1?K.k[0].s.length:K.k.length)),X._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:rt},expressionHelpers.searchExpressions(Q,K,X),X.k&&Y.addDynamicProperty(X),X};var W=ShapePropertyFactory.getConstructorFunction(),J=ShapePropertyFactory.getKeyframedConstructorFunction();function et(){}et.prototype={vertices:function(Q,K){this.k&&this.getValue();var tt,Z=this.v;K!==void 0&&(Z=this.getValueAtTime(K,0));var Y=Z._length,X=Z[Q],rt=Z.v,it=createSizedArray(Y);for(tt=0;tt<Y;tt+=1)it[tt]=Q==="i"||Q==="o"?[X[tt][0]-rt[tt][0],X[tt][1]-rt[tt][1]]:[X[tt][0],X[tt][1]];return it},points:function(Q){return this.vertices("v",Q)},inTangents:function(Q){return this.vertices("i",Q)},outTangents:function(Q){return this.vertices("o",Q)},isClosed:function(){return this.v.c},pointOnPath:function(Q,K){var tt=this.v;K!==void 0&&(tt=this.getValueAtTime(K,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(tt));for(var Z,Y=this._segmentsLength,X=Y.lengths,rt=Y.totalLength*Q,it=0,at=X.length,st=0;it<at;){if(st+X[it].addedLength>rt){var ot=it,ft=tt.c&&it===at-1?0:it+1,pt=(rt-st)/X[it].addedLength;Z=bez.getPointInSegment(tt.v[ot],tt.v[ft],tt.o[ot],tt.i[ft],pt,X[it]);break}st+=X[it].addedLength,it+=1}return Z||(Z=tt.c?[tt.v[0][0],tt.v[0][1]]:[tt.v[tt._length-1][0],tt.v[tt._length-1][1]]),Z},vectorOnPath:function(Q,K,tt){Q==1?Q=this.v.c:Q==0&&(Q=.999);var Z=this.pointOnPath(Q,K),Y=this.pointOnPath(Q+.001,K),X=Y[0]-Z[0],rt=Y[1]-Z[1],it=Math.sqrt(Math.pow(X,2)+Math.pow(rt,2));return it===0?[0,0]:tt==="tangent"?[X/it,rt/it]:[-rt/it,X/it]},tangentOnPath:function(Q,K){return this.vectorOnPath(Q,K,"tangent")},normalOnPath:function(Q,K){return this.vectorOnPath(Q,K,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([et],W),extendPrototype([et],J),J.prototype.getValueAtTime=function(Q){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),Q*=this.elem.globalData.frameRate,(Q-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<Q?this._caching.lastIndex:0,this._cachingAtTime.lastTime=Q,this.interpolateShape(Q,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},J.prototype.initiateExpression=ExpressionManager.initiateExpression;var U=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(Q,K,tt,Z,Y){var X=U(Q,K,tt,Z,Y);return X.propertyIndex=K.ix,X.lock=!1,tt===3?expressionHelpers.searchExpressions(Q,K.pt,X):tt===4&&expressionHelpers.searchExpressions(Q,K.ks,X),X.k&&Q.addDynamicProperty(X),X}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(D,F){var B=this.calculateExpression(F);if(D.t!==B){var O={};return this.copyData(O,D),O.t=B.toString(),O.__complete=!1,O}return D},TextProperty.prototype.searchProperty=function(){var D=this.searchKeyframes(),F=this.searchExpressions();return this.kf=D||F,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(D,F){var B,O,G=createNS("feMerge");for(G.setAttribute("result",D),O=0;O<F.length;O+=1)(B=createNS("feMergeNode")).setAttribute("in",F[O]),G.appendChild(B),G.appendChild(B);return G}};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(D,F,B,O,G){this.filterManager=F;var j=createNS("feColorMatrix");j.setAttribute("type","matrix"),j.setAttribute("color-interpolation-filters","linearRGB"),j.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=j,j.setAttribute("result",O+"_tint_1"),D.appendChild(j),(j=createNS("feColorMatrix")).setAttribute("type","matrix"),j.setAttribute("color-interpolation-filters","sRGB"),j.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),j.setAttribute("result",O+"_tint_2"),D.appendChild(j),this.matrixFilter=j;var q=this.createMergeNode(O,[G,O+"_tint_1",O+"_tint_2"]);D.appendChild(q)}function SVGFillFilter(D,F,B,O){this.filterManager=F;var G=createNS("feColorMatrix");G.setAttribute("type","matrix"),G.setAttribute("color-interpolation-filters","sRGB"),G.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),G.setAttribute("result",O),D.appendChild(G),this.matrixFilter=G}function SVGStrokeEffect(D,F,B){this.initialized=!1,this.filterManager=F,this.elem=B,this.paths=[]}function SVGTritoneFilter(D,F,B,O){this.filterManager=F;var G=createNS("feColorMatrix");G.setAttribute("type","matrix"),G.setAttribute("color-interpolation-filters","linearRGB"),G.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"),D.appendChild(G);var j=createNS("feComponentTransfer");j.setAttribute("color-interpolation-filters","sRGB"),j.setAttribute("result",O),this.matrixFilter=j;var q=createNS("feFuncR");q.setAttribute("type","table"),j.appendChild(q),this.feFuncR=q;var W=createNS("feFuncG");W.setAttribute("type","table"),j.appendChild(W),this.feFuncG=W;var J=createNS("feFuncB");J.setAttribute("type","table"),j.appendChild(J),this.feFuncB=J,D.appendChild(j)}function SVGProLevelsFilter(D,F,B,O){this.filterManager=F;var G=this.filterManager.effectElements,j=createNS("feComponentTransfer");(G[10].p.k||G[10].p.v!==0||G[11].p.k||G[11].p.v!==1||G[12].p.k||G[12].p.v!==1||G[13].p.k||G[13].p.v!==0||G[14].p.k||G[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",j)),(G[17].p.k||G[17].p.v!==0||G[18].p.k||G[18].p.v!==1||G[19].p.k||G[19].p.v!==1||G[20].p.k||G[20].p.v!==0||G[21].p.k||G[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",j)),(G[24].p.k||G[24].p.v!==0||G[25].p.k||G[25].p.v!==1||G[26].p.k||G[26].p.v!==1||G[27].p.k||G[27].p.v!==0||G[28].p.k||G[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",j)),(G[31].p.k||G[31].p.v!==0||G[32].p.k||G[32].p.v!==1||G[33].p.k||G[33].p.v!==1||G[34].p.k||G[34].p.v!==0||G[35].p.k||G[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",j)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(j.setAttribute("color-interpolation-filters","sRGB"),D.appendChild(j)),(G[3].p.k||G[3].p.v!==0||G[4].p.k||G[4].p.v!==1||G[5].p.k||G[5].p.v!==1||G[6].p.k||G[6].p.v!==0||G[7].p.k||G[7].p.v!==1)&&((j=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),j.setAttribute("result",O),D.appendChild(j),this.feFuncRComposed=this.createFeFunc("feFuncR",j),this.feFuncGComposed=this.createFeFunc("feFuncG",j),this.feFuncBComposed=this.createFeFunc("feFuncB",j))}function SVGDropShadowEffect(D,F,B,O,G){var j=F.container.globalData.renderConfig.filterSize,q=F.data.fs||j;D.setAttribute("x",q.x||j.x),D.setAttribute("y",q.y||j.y),D.setAttribute("width",q.width||j.width),D.setAttribute("height",q.height||j.height),this.filterManager=F;var W=createNS("feGaussianBlur");W.setAttribute("in","SourceAlpha"),W.setAttribute("result",O+"_drop_shadow_1"),W.setAttribute("stdDeviation","0"),this.feGaussianBlur=W,D.appendChild(W);var J=createNS("feOffset");J.setAttribute("dx","25"),J.setAttribute("dy","0"),J.setAttribute("in",O+"_drop_shadow_1"),J.setAttribute("result",O+"_drop_shadow_2"),this.feOff
vendor: 7,352 bytes, line 59
59set=J,D.appendChild(J);var et=createNS("feFlood");et.setAttribute("flood-color","#00ff00"),et.setAttribute("flood-opacity","1"),et.setAttribute("result",O+"_drop_shadow_3"),this.feFlood=et,D.appendChild(et);var U=createNS("feComposite");U.setAttribute("in",O+"_drop_shadow_3"),U.setAttribute("in2",O+"_drop_shadow_2"),U.setAttribute("operator","in"),U.setAttribute("result",O+"_drop_shadow_4"),D.appendChild(U);var Q=this.createMergeNode(O,[O+"_drop_shadow_4",G]);D.appendChild(Q)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var F=this.filterManager.effectElements[0].p.v,B=this.filterManager.effectElements[1].p.v,O=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+O+" 0"),this.matrixFilter.setAttribute("values",B[0]-F[0]+" 0 0 0 "+F[0]+" "+(B[1]-F[1])+" 0 0 0 "+F[1]+" "+(B[2]-F[2])+" 0 0 0 "+F[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var F=this.filterManager.effectElements[2].p.v,B=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+F[0]+" 0 0 0 0 "+F[1]+" 0 0 0 0 "+F[2]+" 0 0 0 "+B+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var D,F,B,O,G=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(this.filterManager.effectElements[1].p.v===1?(O=this.elem.maskManager.masksProperties.length,B=0):O=1+(B=this.filterManager.effectElements[0].p.v-1),(F=createNS("g")).setAttribute("fill","none"),F.setAttribute("stroke-linecap","round"),F.setAttribute("stroke-dashoffset",1);B<O;B+=1)D=createNS("path"),F.appendChild(D),this.paths.push({p:D,m:B});if(this.filterManager.effectElements[10].p.v===3){var j=createNS("mask"),q=createElementID();j.setAttribute("id",q),j.setAttribute("mask-type","alpha"),j.appendChild(F),this.elem.globalData.defs.appendChild(j);var W=createNS("g");for(W.setAttribute("mask","url("+getLocationHref()+"#"+q+")");G[0];)W.appendChild(G[0]);this.elem.layerElement.appendChild(W),this.masker=j,F.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(G=this.elem.layerElement.children||this.elem.layerElement.childNodes;G.length;)this.elem.layerElement.removeChild(G[0]);this.elem.layerElement.appendChild(F),this.elem.layerElement.removeAttribute("mask"),F.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=F},SVGStrokeEffect.prototype.renderFrame=function(D){var F;this.initialized||this.initialize();var B,O,G=this.paths.length;for(F=0;F<G;F+=1)if(this.paths[F].m!==-1&&(B=this.elem.maskManager.viewData[this.paths[F].m],O=this.paths[F].p,(D||this.filterManager._mdf||B.prop._mdf)&&O.setAttribute("d",B.lastPath),D||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||B.prop._mdf)){var j;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var q=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),W=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),J=O.getTotalLength();j="0 0 0 "+J*q+" ";var et,U=J*(W-q),Q=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,K=Math.floor(U/Q);for(et=0;et<K;et+=1)j+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";j+="0 "+10*J+" 0 0"}else j="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;O.setAttribute("stroke-dasharray",j)}if((D||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(D||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(D||this.filterManager.effectElements[3].p._mdf)){var tt=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*tt[0])+","+bmFloor(255*tt[1])+","+bmFloor(255*tt[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var F=this.filterManager.effectElements[0].p.v,B=this.filterManager.effectElements[1].p.v,O=this.filterManager.effectElements[2].p.v,G=O[0]+" "+B[0]+" "+F[0],j=O[1]+" "+B[1]+" "+F[1],q=O[2]+" "+B[2]+" "+F[2];this.feFuncR.setAttribute("tableValues",G),this.feFuncG.setAttribute("tableValues",j),this.feFuncB.setAttribute("tableValues",q)}},SVGProLevelsFilter.prototype.createFeFunc=function(D,F){var B=createNS(D);return B.setAttribute("type","table"),F.appendChild(B),B},SVGProLevelsFilter.prototype.getTableValue=function(D,F,B,O,G){for(var j,q,W=0,J=Math.min(D,F),et=Math.max(D,F),U=Array.call(null,{length:256}),Q=0,K=G-O,tt=F-D;W<=256;)q=(j=W/256)<=J?tt<0?G:O:j>=et?tt<0?O:G:O+K*Math.pow((j-D)/tt,1/B),U[Q]=q,Q+=1,W+=256/255;return U.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var F,B=this.filterManager.effectElements;this.feFuncRComposed&&(D||B[3].p._mdf||B[4].p._mdf||B[5].p._mdf||B[6].p._mdf||B[7].p._mdf)&&(F=this.getTableValue(B[3].p.v,B[4].p.v,B[5].p.v,B[6].p.v,B[7].p.v),this.feFuncRComposed.setAttribute("tableValues",F),this.feFuncGComposed.setAttribute("tableValues",F),this.feFuncBComposed.setAttribute("tableValues",F)),this.feFuncR&&(D||B[10].p._mdf||B[11].p._mdf||B[12].p._mdf||B[13].p._mdf||B[14].p._mdf)&&(F=this.getTableValue(B[10].p.v,B[11].p.v,B[12].p.v,B[13].p.v,B[14].p.v),this.feFuncR.setAttribute("tableValues",F)),this.feFuncG&&(D||B[17].p._mdf||B[18].p._mdf||B[19].p._mdf||B[20].p._mdf||B[21].p._mdf)&&(F=this.getTableValue(B[17].p.v,B[18].p.v,B[19].p.v,B[20].p.v,B[21].p.v),this.feFuncG.setAttribute("tableValues",F)),this.feFuncB&&(D||B[24].p._mdf||B[25].p._mdf||B[26].p._mdf||B[27].p._mdf||B[28].p._mdf)&&(F=this.getTableValue(B[24].p.v,B[25].p.v,B[26].p.v,B[27].p.v,B[28].p.v),this.feFuncB.setAttribute("tableValues",F)),this.feFuncA&&(D||B[31].p._mdf||B[32].p._mdf||B[33].p._mdf||B[34].p._mdf||B[35].p._mdf)&&(F=this.getTableValue(B[31].p.v,B[32].p.v,B[33].p.v,B[34].p.v,B[35].p.v),this.feFuncA.setAttribute("tableValues",F))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){if((D||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),D||this.filterManager.effectElements[0].p._mdf){var F=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*F[0]),Math.round(255*F[1]),Math.round(255*F[2])))}if((D||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),D||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var B=this.filterManager.effectElements[3].p.v,O=(this.filterManager.effectElements[2].p.v-90)*degToRads,G=B*Math.cos(O),j=B*Math.sin(O);
vendor: 4,204 bytes, line 59
59this.feOffset.setAttribute("dx",G),this.feOffset.setAttribute("dy",j)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(D,F,B){this.initialized=!1,this.filterManager=F,this.filterElem=D,this.elem=B,B.matteElement=createNS("g"),B.matteElement.appendChild(B.layerElement),B.matteElement.appendChild(B.transformedElement),B.baseElement=B.matteElement}function SVGGaussianBlurEffect(D,F,B,O){D.setAttribute("x","-100%"),D.setAttribute("y","-100%"),D.setAttribute("width","300%"),D.setAttribute("height","300%"),this.filterManager=F;var G=createNS("feGaussianBlur");G.setAttribute("result",O),D.appendChild(G),this.feGaussianBlur=G}function TransformEffect(){}function SVGTransformEffect(D,F){this.init(F)}function CVTransformEffect(D){this.init(D)}return SVGMatte3Effect.prototype.findSymbol=function(D){for(var F=0,B=_svgMatteSymbols.length;F<B;){if(_svgMatteSymbols[F]===D)return _svgMatteSymbols[F];F+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(D,F){var B=D.layerElement.parentNode;if(B){for(var O,G=B.children,j=0,q=G.length;j<q&&G[j]!==D.layerElement;)j+=1;j<=q-2&&(O=G[j+1]);var W=createNS("use");W.setAttribute("href","#"+F),O?B.insertBefore(W,O):B.appendChild(W)}},SVGMatte3Effect.prototype.setElementAsMask=function(D,F){if(!this.findSymbol(F)){var B=createElementID(),O=createNS("mask");O.setAttribute("id",F.layerId),O.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(F);var G=D.globalData.defs;G.appendChild(O);var j=createNS("symbol");j.setAttribute("id",B),this.replaceInParent(F,B),j.appendChild(F.layerElement),G.appendChild(j);var q=createNS("use");q.setAttribute("href","#"+B),O.appendChild(q),F.data.hd=!1,F.show()}D.setMatte(F.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var D=this.filterManager.effectElements[0].p.v,F=this.elem.comp.elements,B=0,O=F.length;B<O;)F[B]&&F[B].data.ind===D&&this.setElementAsMask(this.elem,F[B]),B+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(D){if(D||this.filterManager._mdf){var F=.3*this.filterManager.effectElements[0].p.v,B=this.filterManager.effectElements[1].p.v,O=B==3?0:F,G=B==2?0:F;this.feGaussianBlur.setAttribute("stdDeviation",O+" "+G);var j=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",j)}},TransformEffect.prototype.init=function(D){this.effectsManager=D,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(D){if(this._opMdf=!1,this._mdf=!1,D||this.effectsManager._mdf){var F=this.effectsManager.effectElements,B=F[0].p.v,O=F[1].p.v,G=F[2].p.v===1,j=F[3].p.v,q=G?j:F[4].p.v,W=F[5].p.v,J=F[6].p.v,et=F[7].p.v;this.matrix.reset(),this.matrix.translate(-B[0],-B[1],B[2]),this.matrix.scale(.01*q,.01*j,1),this.matrix.rotate(-et*degToRads),this.matrix.skewFromAxis(-W*degToRads,(J+90)*degToRads),this.matrix.translate(O[0],O[1],0),this._mdf=!0,this.opacity!==F[8].p.v&&(this.opacity=F[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())}
59)(lottie$1,lottie$1.exports);var lottie=lottie$1.exports,_templateObject$1,styles=r$3(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral([` 60 * { 61 box-sizing: border-box; 62 } 63 64 :host { 65 --lottie-player-toolbar-height: 35px; 66 --lottie-player-toolbar-background-color: transparent; 67 --lottie-player-toolbar-icon-color: #999; 68 --lottie-player-toolbar-icon-hover-color: #222; 69 --lottie-player-toolbar-icon-active-color: #555; 70 --lottie-player-seeker-track-color: #ccc; 71 --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8); 72 --lottie-player-seeker-display: block; 73 74 display: block; 75 width: 100%; 76 height: 100%; 77 } 78 79 .main { 80 display: flex; 81 flex-direction: column; 82 height: 100%; 83 width: 100%; 84 } 85 86 .animation { 87 width: 100%; 88 height: 100%; 89 display: flex; 90 } 91 .animation.controls { 92 height: calc(100% - 35px); 93 } 94 95 .toolbar { 96 display: flex; 97 align-items: center; 98 justify-items: center; 99 background-color: var(--lottie-player-toolbar-background-color); 100 margin: 0 5px; 101 height: 35px; 102 } 103 104 .toolbar button { 105 cursor: pointer; 106 fill: var(--lottie-player-toolbar-icon-color); 107 display: flex; 108 background: none; 109 border: 0; 110 padding: 0; 111 outline: none; 112 height: 100%; 113 } 114 115 .toolbar button:hover { 116 fill: var(--lottie-player-toolbar-icon-hover-color); 117 } 118 119 .toolbar button.active { 120 fill: var(--lottie-player-toolbar-icon-active-color); 121 } 122 123 .toolbar button.active:hover { 124 fill: var(--lottie-player-toolbar-icon-hover-color); 125 } 126 127 .toolbar button:focus { 128 outline: 1px dotted var(--lottie-player-toolbar-icon-active-color); 129 } 130 131 .toolbar button svg { 132 } 133 134 .toolbar button.disabled svg { 135 display: none; 136 } 137 138 .seeker { 139 -webkit-appearance: none; 140 width: 95%; 141 outline: none; 142 background-color: var(--lottie-player-toolbar-background-color); 143 display: var(--lottie-player-seeker-display); 144 } 145 146 .seeker::-webkit-slider-runnable-track { 147 width: 100%; 148 height: 5px; 149 cursor: pointer; 150 background: var(--lottie-player-seeker-track-color); 151 border-radius: 3px; 152 } 153 .seeker::-webkit-slider-thumb { 154 height: 15px; 155 width: 15px; 156 border-radius: 50%; 157 background: var(--lottie-player-seeker-thumb-color); 158 cursor: pointer; 159 -webkit-appearance: none; 160 margin-top: -5px; 161 } 162 .seeker:focus::-webkit-slider-runnable-track { 163 background: #999; 164 } 165 .seeker::-moz-range-track { 166 width: 100%; 167 height: 5px; 168 cursor: pointer; 169 background: var(--lottie-player-seeker-track-color); 170 border-radius: 3px; 171 } 172 .seeker::-moz-range-thumb { 173 height: 15px; 174 width: 15px; 175 border-radius: 50%; 176 background: var(--lottie-player-seeker-thumb-color); 177 cursor: pointer; 178 } 179 .seeker::-ms-track { 180 width: 100%; 181 height: 5px; 182 cursor: pointer; 183 background: transparent; 184 border-color: transparent; 185 color: transparent; 186 } 187 .seeker::-ms-fill-lower { 188 background: var(--lottie-player-seeker-track-color); 189 border-radius: 3px; 190 } 191 .seeker::-ms-fill-upper { 192 background: var(--lottie-player-seeker-track-color); 193 border-radius: 3px; 194 } 195 .seeker::-ms-thumb { 196 border: 0; 197 height: 15px; 198 width: 15px; 199 border-radius: 50%; 200 background: var(--lottie-player-seeker-thumb-color); 201 cursor: pointer; 202 } 203 .seeker:focus::-ms-fill-lower { 204 background: var(--lottie-player-seeker-track-color); 205 } 206 .seeker:focus::-ms-fill-upper { 207 background: var(--lottie-player-seeker-track-color); 208 } 209 210 .error { 211 display: flex; 212 justify-content: center; 213 height: 100%; 214 align-items: center; 215 } 216`]))),name="@lottiefiles/lottie-player",version="2.0.12",description="Lottie animation and Telegram Sticker player web components.",main="dist/lottie-player.js",module="dist/lottie-player.esm.js",types="dist/lottie-player.d.ts",homepage="https://lottiefiles.com/web-player",repository="https://github.com/LottieFiles/lottie-player.git",bugs="https://github.com/LottieFiles/lottie-player/issues",author="Jawish Hameed <[email protected]>",license="MIT",scripts={start:"npm run cleanup && rollup -c --watch",build:"npm run cleanup && npm run build-lottie && npm run build-tgs","build-with-coverage":"npm run cleanup && CODE_COVERAGE=true npm run build-lottie && CODE_COVERAGE=true npm run build-tgs","build-lottie":"rollup -c ","build-tgs":"rollup -c rollup-tgs.config.js","wat
216ch-lottie":"npm run cleanup && rollup -c --watch","watch-tgs":"npm run cleanup && rollup -c rollup-tgs.config.js --watch",cleanup:"shx rm -rf dist && shx mkdir dist",release:"semantic-release",lint:"eslint . --ext .ts,.tsx,.js","lint:fix":"eslint . --ext .ts,.tsx,.js --fix",serve:"node ./cypress/pages/server.js -p 8000 &","start-cypress":"yarn run cypress run && npx nyc report --reporter=text-summary","run-tests":"yarn run build-with-coverage && yarn run serve && yarn run start-cypress","postrun-tests":"kill $(lsof -t -i:8000)"},dependencies={"@types/pako":"^1.0.1",lit:"^2.1.2","lottie-web":"^5.12.2",pako:"^2.0.4","resize-observer-polyfill":"^1.5.1"},devDependencies={"@babel/core":"^7.11.0","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/plugin-proposal-decorators":"^7.10.5","@babel/preset-env":"^7.11.0","@babel/preset-typescript":"^7.10.4","@commitlint/cli":"^16.1.0","@commitlint/config-conventional":"^16.0.0","@cypress/code-coverage":"^3.9.12","@istanbuljs/nyc-config-typescript":"^1.0.2","@rollup/plugin-babel":"^5.1.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^13.1.3","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.2","@semantic-release/npm":"^9.0.0","@semantic-release/release-notes-generator":"^10.0.3","babel-eslint":"^10.1.0","babel-plugin-istanbul":"^6.1.1",cypress:"^9.2.1","cypress-real-events":"^1.6.0",eslint:"^7.27.0","eslint-plugin-only-warn":"^1.0.2",fastify:"^3.25.3","fastify-static":"^4.5.0",husky:">=4",lerna:"^4.0.0","lint-staged":"^12.3.2","parcel-bundler":"^1.12.4",prettier:"^2.3.0",rollup:"^2.23.0","rollup-plugin-copy":"^3.3.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-serve":"^1.0.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.31.1","rollup-plugin-uglify":"^6.0.4","rollup-plugin-visualizer":"^5.5.4","semantic-release":"^19.0.2",shx:"^0.3.4","source-map-support":"^0.5.21","ts-node":"^10.4.0",typescript:"^4.5.5","unicode-canonical-property-names-ecmascript":"^2.0.0"},files=["dist/"],keywords=["lottie","animation","lottiefiles","web component","component","lit-element","player","telegram sticker","tgs"],browserslist=["> 3%"],publishConfig={access:"public",provenance:!0},husky={hooks:{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},nyc={extends:"@istanbuljs/nyc-config-typescript",all:!0},packageManager="[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447",_package={name,version,description,main,module,types,homepage,repository,bugs,author,license,scripts,dependencies,devDependencies,files,keywords,browserslist,publishConfig,husky,"lint-staged":{"src/**/*.{css,scss,md}":["prettier --write"],"src/**/*.{js,jsx,ts,tsx,json}":["eslint . --ext .ts,.tsx,.js --fix"]},nyc,packageManager},_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents;function parseSrc(D){if(typeof D=="object")return D;try{return JSON.parse(D)}catch{return new URL(D,window.location.href).toString()}}function isLottie(D){return["v","ip","op","layers","fr","w","h"].every(F=>Object.prototype.hasOwnProperty.call(D,F))}function fromURL(D){return _fromURL.apply(this,arguments)}function _fromURL(){return(_fromURL=_asyncToGenerator(function*(D){if(typeof D!="string")throw new Error("The url value must be a string");var F;try{var B=new URL(D),O=yield fetch(B.toString());F=yield O.json()}catch{throw new Error("An error occurred while trying to load the Lottie file from URL")}return F})).apply(this,arguments)}exports.PlayerState=void 0,PlayerState=exports.PlayerState||(exports.PlayerState={}),PlayerState.Destroyed="destroyed",PlayerState.Error="error",PlayerState.Frozen="frozen",PlayerState.Loading="loading",PlayerState.Paused="paused",PlayerState.Playing="playing",PlayerState.Stopped="stopped",exports.PlayMode=void 0,PlayMode=exports.PlayMode||(exports.PlayMode={}),PlayMode.Bounce="bounce",PlayMode.Normal="normal",exports.PlayerEvents=void 0,PlayerEvents=exports.PlayerEvents||(exports.PlayerEvents={}),PlayerEvents.Complete="complete",PlayerEvents.Destroyed="destroyed",PlayerEvents.Error="error",PlayerEvents.Frame="frame",PlayerEvents.Freeze="freeze",PlayerEvents.Load="load",PlayerEvents.Loop="loop",PlayerEvents.Pause="pause",PlayerEvents.Play="play",PlayerEvents.Ready="ready",PlayerEvents.Rendered="rendered",PlayerEvents.Stop="stop",exports.LottiePlayer=class extends s{constructor(){super(...arguments),this.autoplay=!1,this.background="transparent",this.controls=!1,this.currentState=exports.PlayerState.Loading,this.description="Lottie animation",this.direction=1,this.disableCheck=!1,this.disableShadowDOM=!1,this.hover=!1,this.intermission=1,this.loop=!1,this.mode=exports.PlayMode.Normal,this.preserveAspectRatio="xMidYMid meet",this.renderer="svg",this.speed=1,this._io=void 0,this._counter=1,this._onVisibilityChange=()=>{document.hidden===!0&&this.currentState===exports.PlayerState.Playing?this.freeze():this.currentState===exports.PlayerState.Frozen&&this.play()}}load(D){var F=this;return _asyncToGenerator(function*(){var B={container:F.container,loop:!1,autoplay:!1,renderer:F.renderer,rendererSettings:Object.assign({preserveAspectRatio:F.preserveAspectRatio,clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0},F.viewBoxSize&&{viewBoxSize:F.viewBoxSize})};try{var O=parseSrc(D),G={},j=typeof O=="string"?"path":"animationData";F._lottie&&F._lottie.destroy(),F.webworkers&&lottie$1.exports.useWebWorker(!0),F._lottie=lottie$1.exports.loadAnimation(Object.assign(Object.assign({},B),{[j]:O})),F._attachEventListeners(),F.disableCheck||(j==="path"?(G=yield fromURL(O),j="animationData"):G=O,isLottie(G)||(F.currentState=exports.PlayerState.Error,F.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error))))}catch{F.currentState=exports.PlayerState.Error,F.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error))}})()}getLottie(){return this._lottie}getVersions(){return{lottieWebVersion:dependencies["lottie-web"],lottiePlayerVersion:version}}play(){this._lottie&&(this._lottie.play(),this.currentState=exports.PlayerState.Playing,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=exports.PlayerState.Paused,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=1,this._lottie.stop(),this.currentState=exports.PlayerState.Stopped,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Stop)))}destroy(){this._lottie&&(this._lottie.destroy(),this._lottie=null,this.currentState=exports.PlayerState.Destroyed,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Destroyed)),this.remove())}
vendor: 4,505 bytes, lines 216-291
216seek(D){if(this._lottie){var F=/^(\d+)(%?)$/.exec(D.toString());if(F){var B=F[2]==="%"?this._lottie.totalFrames*Number(F[1])/100:Number(F[1]);this.seeker=B,this.currentState===exports.PlayerState.Playing?this._lottie.goToAndPlay(B,!0):(this._lottie.goToAndStop(B,!0),this._lottie.pause())}}}snapshot(){var D=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];if(this.shadowRoot){var F=this.shadowRoot.querySelector(".animation svg"),B=new XMLSerializer().serializeToString(F);if(D){var O=document.createElement("a");O.href="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(B)),O.download="download_".concat(this.seeker,".svg"),document.body.appendChild(O),O.click(),document.body.removeChild(O)}return B}}setSpeed(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;this._lottie&&this._lottie.setSpeed(D)}setDirection(D){this._lottie&&this._lottie.setDirection(D)}setLooping(D){this._lottie&&(this.loop=D,this._lottie.loop=D)}togglePlay(){return this.currentState===exports.PlayerState.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}resize(){this._lottie&&this._lottie.resize()}static get styles(){return styles}disconnectedCallback(){this.isConnected||(this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",this._onVisibilityChange),this.destroy())}render(){var D=this.controls?"main controls":"main",F=this.controls?"animation controls":"animation";return $(_templateObject||(_templateObject=_taggedTemplateLiteral([` <div 217 id="animation-container" 218 class=`,` 219 lang="en" 220 aria-label=`,` 221 role="img" 222 > 223 <div 224 id="animation" 225 class=`,` 226 style="background:`,`;" 227 > 228 `,` 229 </div> 230 `,` 231 </div>`])),D,this.description,F,this.background,this.currentState===exports.PlayerState.Error?$(_templateObject2||(_templateObject2=_taggedTemplateLiteral(['<div class="error">\u26A0\uFE0F</div>']))):void 0,this.controls&&!this.disableShadowDOM?this.renderControls():void 0)}createRenderRoot(){return this.disableShadowDOM&&(this.style.display="block"),this.disableShadowDOM?this:super.createRenderRoot()}firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver(D=>{D[0].isIntersecting?this.currentState===exports.PlayerState.Frozen&&this.play():this.currentState===exports.PlayerState.Playing&&this.freeze()}),this._io.observe(this.container)),document.hidden!==void 0&&document.addEventListener("visibilitychange",this._onVisibilityChange),this.src&&this.load(this.src),this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Rendered))}renderControls(){var D=this.currentState===exports.PlayerState.Playing,F=this.currentState===exports.PlayerState.Paused,B=this.currentState===exports.PlayerState.Stopped;return $(_templateObject3||(_templateObject3=_taggedTemplateLiteral([` 232 <div 233 id="lottie-controls" 234 aria-label="lottie-animation-controls" 235 class="toolbar" 236 > 237 <button 238 id="lottie-play-button" 239 @click=`,` 240 class=`,` 241 style="align-items:center;" 242 tabindex="0" 243 aria-label="play-pause" 244 > 245 `,` 246 </button> 247 <button 248 id="lottie-stop-button" 249 @click=`,` 250 class=`,` 251 style="align-items:center;" 252 tabindex="0" 253 aria-label="stop" 254 > 255 <svg width="24" height="24" aria-hidden="true" focusable="false"> 256 <path d="M6 6h12v12H6V6z" /> 257 </svg> 258 </button> 259 <input 260 id="lottie-seeker-input" 261 class="seeker" 262 type="range" 263 min="0" 264 step="1" 265 max="100" 266 .value=`,` 267 @input=`,` 268 @mousedown=`,` 269 @mouseup=`,` 270 aria-valuemin="1" 271 aria-valuemax="100" 272 role="slider" 273 aria-valuenow=`,` 274 tabindex="0" 275 aria-label="lottie-seek-input" 276 /> 277 <button 278 id="lottie-loop-toggle" 279 @click=`,` 280 class=`,` 281 style="align-items:center;" 282 tabindex="0" 283 aria-label="loop-toggle" 284 > 285 <svg width="24" height="24" aria-hidden="true" focusable="false"> 286 <path 287 d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z" 288 /> 289 </svg> 290 </button> 291 </div>
292 `])),this.togglePlay,D||F?"active":"",$(D?_templateObject4||(_templateObject4=_taggedTemplateLiteral([`<svg 293 width="24" 294 height="24" 295 aria-hidden="true" 296 focusable="false" 297 > 298 <path 299 d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" 300 /> 301 </svg>`])):_templateObject5||(_templateObject5=_taggedTemplateLiteral([`<svg 302 width="24" 303 height="24" 304 aria-hidden="true" 305 focusable="false" 306 > 307 <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" /> 308 </svg>`]))),this.stop,B?"active":"",this.seeker,this._handleSeekChange,()=>{this._prevState=this.currentState,this.freeze()},()=>{this._prevState===exports.PlayerState.Playing&&this.play()},this.seeker,this.toggleLooping,this.loop?"active":"")}_handleSeekChange(D){if(this._lottie&&!isNaN(D.target.value)){var F=D.target.value/100*this._lottie.totalFrames;this.seek(F)}}_attachEventListeners(){this._lottie.addEventListener("enterFrame",()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))}),this._lottie.addEventListener("complete",()=>{if(this.currentState===exports.PlayerState.Playing){if((!this.loop||this.count&&this._counter>=this.count)&&(this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Complete)),this.mode!==exports.PlayMode.Bounce||this._lottie.currentFrame===0))return;this.mode===exports.PlayMode.Bounce?(this.count&&(this._counter+=.5),setTimeout(()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Loop)),this.currentState===exports.PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())},this.intermission)):(this.count&&(this._counter+=1),window.setTimeout(()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Loop)),this.currentState===exports.PlayerState.Playing&&(this.direction===-1?(this.seek("99%"),this.play()):(this._lottie.stop(),this._lottie.play()))},this.intermission))}else this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Complete))}),this._lottie.addEventListener("DOMLoaded",()=>{this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&(this.direction===-1&&this.seek("100%"),this.play()),this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Ready))}),this._lottie.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Load))}),this._lottie.addEventListener("data_failed",()=>{this.currentState=exports.PlayerState.Error,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Error))}),this.container.addEventListener("mouseenter",()=>{this.hover&&this.currentState!==exports.PlayerState.Playing&&this.play()}),this.container.addEventListener("mouseleave",()=>{this.hover&&this.currentState===exports.PlayerState.Playing&&this.stop()})}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=exports.PlayerState.Frozen,this.dispatchEvent(new CustomEvent(exports.PlayerEvents.Freeze)))}},__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String,reflect:!0})],exports.LottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],exports.LottiePlayer.prototype,"count",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"currentState",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"description",void 0),__decorate([e$5({type:Number})],exports.LottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"disableCheck",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"disableShadowDOM",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"hover",void 0),__decorate([e$5()],exports.LottiePlayer.prototype,"intermission",void 0),__decorate([e$5({type:Boolean,reflect:!0})],exports.LottiePlayer.prototype,"loop",void 0),__decorate([e$5()],exports.LottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"preserveAspectRatio",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"viewBoxSize",void 0),__decorate([e$5()],exports.LottiePlayer.prototype,"seeker",void 0),__decorate([e$5({type:Number})],exports.LottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],exports.LottiePlayer.prototype,"src",void 0),__decorate([e$5({type:Boolean})],exports.LottiePlayer.prototype,"webworkers",void 0),__decorate([i(".animation")],exports.LottiePlayer.prototype,"container",void 0),exports.LottiePlayer=__decorate([n$1("lottie-player")],exports.LottiePlayer),exports.parseSrc=parse
308Src,Object.defineProperty(exports,"__esModule",{value:!0})}); 309//# sourceMappingURL=scripts-U5SW3MOY.js.map
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.