62 lines
337 KiB
JavaScript
62 lines
337 KiB
JavaScript
|
|
!function(a,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((a="undefined"==typeof globalThis?a||self:globalThis)["lottie-player"]={})}(this,function(exports){"use strict";function _asyncIterator(a){var t=2,n,o,l;for("undefined"!=typeof Symbol&&(o=Symbol.asyncIterator,l=Symbol.iterator);t--;){if(o&&null!=(n=a[o]))return n.call(a);if(l&&null!=(n=a[l]))return new AsyncFromSyncIterator(n.call(a));o="@@asyncIterator",l="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(a){function n(a){if(Object(a)!==a)return Promise.reject(new TypeError(a+" is not an object."));var r=a.done;return Promise.resolve(a.value).then(function(e){return{value:e,done:r}})}return AsyncFromSyncIterator=function(e){this.s=e,this.n=e.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):n(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):n(t.apply(this.s,arguments))}},new AsyncFromSyncIterator(a)}function _jsx(l,t,p,r){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=l&&l.defaultProps,s=arguments.length-3;if(t||0===s||(t={children:void 0}),1==s)t.children=r;else if(1<s){for(var a=Array(s),n=0;n<s;n++)a[n]=arguments[n+3];t.children=a}if(t&&i)for(var d in i)void 0===t[d]&&(t[d]=i[d]);else t||(t=i||{});return{$$typeof:REACT_ELEMENT_TYPE,type:l,key:void 0===p?null:""+p,ref:null,props:t,_owner:null}}function ownKeys(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable})),e.push.apply(e,r)}return e}function _objectSpread2(a){for(var t=1,n;t<arguments.length;t++)n=null==arguments[t]?{}:arguments[t],t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(a,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(n,t))});return a}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _wrapRegExp(){function n(e,t,r){var o=new RegExp(e,t);return l.set(o,r||l.get(e)),_setPrototypeOf(o,n.prototype)}function a(a,e){var t=l.get(e);return Object.keys(t).reduce(function(n,e){return n[e]=a[t[e]],n},Object.create(null))}_wrapRegExp=function(a,t){return new n(a,void 0,t)};var o=RegExp.prototype,l=new WeakMap;return _inherits(n,RegExp),n.prototype.exec=function(t){var e=o.exec.call(this,t);return e&&(e.groups=a(e,this)),e},n.prototype[Symbol.replace]=function(e,r){if("string"==typeof r){var s=l.get(this);return o[Symbol.replace].call(this,e,r.replace(/\$<([^>]+)>/g,function(a,t){return"$"+s[t]}))}if("function"==typeof r){var i=this;return o[Symbol.replace].call(this,e,function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(a(e,i)),r.apply(this,e)})}return o[Symbol.replace].call(this,e,r)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(e){this.wrapped=e}function _AsyncGenerator(l){function p(s,e){try{var r=l[s](e),t=r.value,a=t instanceof _AwaitValue;Promise.resolve(a?t.wrapped:t).then(function(e){a?p("return"===s?"return":"next",e):n(r.done?"return":"normal",e)},function(e){p("throw",e)})}catch(e){n("throw",e)}}function n(e,t){"return"===e?i.resolve({value:t,done:!0}):"throw"===e?i.reject(t):i.resolve({value:t,done:!1});(i=i.next)?p(i.key,i.arg):d=null}var i,d;this._invoke=function(e,t){return new Promise(function(r,a){var n={key:e,arg:t,resolve:r,reject:a,next:null};d?d=d.next=n:(i=d=n,p(e,t))})},"function"!=typeof l.return&&(this.return=void 0)}function _wrapAsyncGen
|
||
|
|
Copyright (c) Microsoft Corporation.
|
||
|
|
|
||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
|
purpose with or without fee is hereby granted.
|
||
|
|
|
||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
|
***************************************************************************** */function __extends(a,t){function e(){this.constructor=a}if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+(t+"")+" is not a constructor or null");_extendStatics(a,t),a.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}function __rest(a,t){var e={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&0>t.indexOf(r)&&(e[r]=a[r]);if(null!=a&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(a);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(a,r[n])&&(e[r[n]]=a[r[n]])}return e}function __decorate(l,t,e,r){var p=arguments.length,a=3>p?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(l,t,e,r);else for(var m=l.length-1;0<=m;m--)(d=l[m])&&(a=(3>p?d(a):3<p?d(t,e,a):d(t,e))||a);return 3<p&&a&&Object.defineProperty(t,e,a),a}function __param(a,t){return function(e,r){t(e,r,a)}}function __metadata(a,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(a,t)}function __awaiter(l,t,a,e){return new(a||(a=Promise))(function(r,s){function i(a){try{o(e.next(a))}catch(e){s(e)}}function n(a){try{o(e.throw(a))}catch(e){s(e)}}function o(o){var s;o.done?r(o.value):(s=o.value,s instanceof a?s:new a(function(e){e(s)})).then(i,n)}o((e=e.apply(l,t||[])).next())})}function __generator(l,t){function e(e){return function(a){return function(e){if(p)throw new TypeError("Generator is already executing.");for(;o;)try{if(p=1,d&&(m=2&e[0]?d.return:e[0]?d.throw||((m=d.return)&&m.call(d),0):d.next)&&!(m=m.call(d,e[1])).done)return m;switch(d=0,m&&(e=[2&e[0],m.value]),e[0]){case 0:case 1:m=e;break;case 4:return o.label++,{value:e[1],done:!1};case 5:o.label++,d=e[1],e=[0];continue;case 7:e=o.ops.pop(),o.trys.pop();continue;default:if(m=o.trys,!((m=0<m.length&&m[m.length-1])||6!==e[0]&&2!==e[0])){o=0;continue}if(3===e[0]&&(!m||e[1]>m[0]&&e[1]<m[3])){o.label=e[1];break}if(6===e[0]&&o.label<m[1]){o.label=m[1],m=e;break}if(m&&o.label<m[2]){o.label=m[2],o.ops.push(e);break}m[2]&&o.ops.pop(),o.trys.pop();continue}e=t.call(l,o)}catch(a){e=[6,a],d=0}finally{p=m=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,a])}}var o={label:0,sent:function(){if(1&m[0])throw m[1];return m[1]},trys:[],ops:[]},p,d,m,c;return c={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c}function __exportStar(a,t){for(var e in a)"default"==e||Object.prototype.hasOwnProperty.call(t,e)||__createBinding(t,a,e)}function __values(a){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&a[n],r=0;if(e)return e.call(a);if(a&&"number"==typeof a.length)return{next:function(){return a&&r>=a.length&&(a=void 0),{value:a&&a[r++],done:!a}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(o,t){var l="function"==typeof Symbol&&o[Symbol.iterator];if(!l)return o;var p=l.call(o),a=[],n,d;try{for(;(void 0===t||0<t--)&&!(n=p.next()).done;)a.push(n.value)}catch(e){d={error:e}}finally{try{n&&!n.done&&(l=p.return)&&l.call(p)}finally{if(d)throw d.error}}return a}function __spread(){for(var a=[],r=0;r<arguments.length;r++)a=a.concat(__read(arguments[r]));return a}function __spreadArrays(){for(var l=0,p=0,d=arguments.length;p<d;p++)l+=arguments[p].length;var r=Array(l),i=0;for(p=0;p<d;p++)for(var m=arguments[p],c=0,f=m.length;c<f;c++,i++)r[i]=m[c];return r}function __spreadArray(n,t,e){if(e||2===arguments.length)for(var r=0,o=t.length,a;r<o;r++)!a&&r in t||(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return n.concat(a||Array.prototype.slice.call(t))}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(d,t,e){function r(o){p[o]&&(a[o]=function(t){return new Promise(function(e,a){1<s.push([o,t,e,a])||n(o,t)})})}function n(a,t){try{!function(e){e.value instanceof __await?Promise.resolve(e.value.v).then(o,m):l(s[0][2]
|
||
|
|
* @license
|
||
|
|
* Copyright 2019 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/}function P(p,t){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:p,n=3<arguments.length?arguments[3]:void 0,o,m,c,f;if(t===b)return t;var g=void 0===n?d._$Cu:null===(o=d._$Cl)||void 0===o?void 0:o[n],u=r$1(t)?void 0:t._$litDirective$;return(null==g?void 0:g.constructor)!==u&&(null===(m=null==g?void 0:g._$AO)||void 0===m||m.call(g,!1),void 0===u?g=void 0:(g=new u(p))._$AT(p,d,n),void 0===n?d._$Cu=g:(null!==(c=(f=d)._$Cl)&&void 0!==c?c:f._$Cl=[])[n]=g),void 0!==g&&(t=P(p,g._$AS(p,t.values),g,n)),t}function e$5(a){return(t,e)=>void 0===e?i$1(a,t):((a,t,e)=>{t.constructor.createProperty(e,a)})(a,t,e)}/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/function t$1(e){return e$5(_objectSpread2(_objectSpread2({},e),{},{state:!0}))}/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*//**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/function e$3(a){return o$1({finisher:(t,e)=>{Object.assign(t.prototype[e],a)}})}/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/function i(a,t){return o$1({descriptor:e=>{var r={get(){var t,n;return null!==(n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(a))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(t){var n="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var t,o;return void 0===this[n]&&(this[n]=null!==(o=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(a))&&void 0!==o?o:null),this[n]}}return r}})}/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/function e$2(a){return o$1({descriptor:t=>({get(){var t,n;return null!==(n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelectorAll(a))&&void 0!==n?n:[]},enumerable:!0,configurable:!0})})}/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/function e$1(a){return o$1({descriptor:t=>({get(){var t=this;return _asyncToGenerator(function*(){var e;return yield t.updateComplete,null===(e=t.renderRoot)||void 0===e?void 0:e.querySelector(a)})()},enumerable:!0,configurable:!0})})}/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2021 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/function l(l){var{slot:t,selector:r}=null==l?{}:l;return o$1({descriptor:a=>({get(){var i="slot"+(t?"[name=".concat(t,"]"):":not([name])"),a=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(i),n=null==a?[]:e(a,l),o;return r?n.filter(e=>e.matches(r)):n},enumerable:!0,configurable:!0})})}/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/function o(a,t,e){var n=a,o;return"object"==typeof a?(n=a.slot,o=a):o={flatten:t},e?l({slot:n,flatten:t,selector:e}):o$1({descriptor:e=>({get(){var s="slot"+(n?"[name=".concat(n,"]"):":not([name])"),r=null===(a=this.renderRoot)||void 0===a?void 0:a.querySelector(s),a,i;return null!==(i=null==r?void 0:r.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getDefaultExportFromNamespaceIfPresent(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getDefaultExportFromNamespaceIfNotNamed(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")&&1===Object.keys(e).length?e.default:e}function getAugmentedNamespace(a){if(a.__esModule)return a;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(a).forEach(function(e){var r=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return a[e]}})}),t}function commonjsRequire(e){throw new Error("Could not dynamically require \""+e+"\". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.")}function parseSrc(a){if("object"==typeof a)return a;try{return JSON.parse(a)}catch(t){return new URL(a,window.location.href).toString()}}function isLottie(a){return["v","ip","op","layers","fr","w","h"].every(t=>Object.prototype.hasOwnProperty.call(a,t))}function fromURL(e){return _fromURL.apply(this,arguments)}function _fromURL(){return(_fromURL=_asyncToGenerator(function*(a){if("string"!=typeof a)throw new Error("The url value must be a string");var t;try{var n=new URL(a),r=yield fetch(n.toString());t=yield r.json()}catch(e){throw new Error("An error occurred while trying to load the Lottie file from URL")}return t})).apply(this,arguments)}var REACT_ELEMENT_TYPE;_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},_AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},_AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};var id=0,_extendStatics=function(a,t){return _extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,t){a.__proto__=t}||function(a,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(a[e]=t[e])},_extendStatics(a,t)},_assign=function(){return _assign=Object.assign||function(a){for(var t=1,n=arguments.length,o;t<n;t++)for(var i in o=arguments[t])Object.prototype.hasOwnProperty.call(o,i)&&(a[i]=o[i]);return a},_assign.apply(this,arguments)},__createBinding=Object.create?function(a,t,e,r){void 0===r&&(r=e),Object.defineProperty(a,r,{enumerable:!0,get:function(){return t[e]}})}:function(a,t,e,r){void 0===r&&(r=e),a[r]=t[e]},__setModuleDefault=Object.create?function(a,t){Object.defineProperty(a,"default",{enumerable:!0,value:t})}:function(a,t){a.default=t},t$3=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;class s$3{constructor(a,t){if(this._$cssResult$=!0,t!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=a}get styleSheet(){var e=n$5.get(this.cssText);return t$3&&void 0===e&&(n$5.set(this.cssText,e=new CSSStyleSheet),e.replaceSync(this.cssText)),e}toString(){return this.cssText}}var o$5=e=>new s$3("string"==typeof e?e:e+"",e$8),r$3=function(a){for(var t=arguments.length,e=Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var n=1===a.length?a[0]:e.reduce((t,e,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+a[r+1],a[0]);return new s$3(n,e$
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/s$2,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(a){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(a)}static get observedAttributes(){this.finalize();var a=[];return this.elementProperties.forEach((t,e)=>{var r=this._$Eh(e,t);void 0!==r&&(this._$Eu.set(r,e),a.push(r))}),a}static createProperty(a){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:l$3;if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(a,t),!t.noAccessor&&!this.prototype.hasOwnProperty(a)){var e="symbol"==typeof a?Symbol():"__"+a,r=this.getPropertyDescriptor(a,e,t);void 0!==r&&Object.defineProperty(this.prototype,a,r)}}static getPropertyDescriptor(a,t,e){return{get(){return this[t]},set(r){var n=this[a];this[t]=r,this.requestUpdate(a,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var a=Object.getPrototypeOf(this);if(a.finalize(),this.elementProperties=new Map(a.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){var t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(var r of e)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(a){var t=[];if(Array.isArray(a)){var e=new Set(a.flat(1/0).reverse());for(var r of e)t.unshift(S$1(r))}else void 0!==a&&t.push(S$1(a));return t}static _$Eh(a,t){var e=t.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof a?a.toLowerCase():void 0}o(){var e;this._$Ep=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach(e=>e(this))}addController(a){var t,n;(null!==(t=this._$Eg)&&void 0!==t?t:this._$Eg=[]).push(a),void 0!==this.renderRoot&&this.isConnected&&(null===(n=a.hostConnected)||void 0===n||n.call(a))}removeController(a){var t;null===(t=this._$Eg)||void 0===t||t.splice(this._$Eg.indexOf(a)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((a,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])})}createRenderRoot(){var a=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions),e;return i$3(a,this.constructor.elementStyles),a}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$Eg)||void 0===e||e.forEach(a=>{var t;return null===(t=a.hostConnected)||void 0===t?void 0:t.call(a)})}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$Eg)||void 0===e||e.forEach(a=>{var t;return null===(t=a.hostDisconnected)||void 0===t?void 0:t.call(a)})}attributeChangedCallback(a,t,e){this._$AK(a,e)}_$ES(o,t){var e=2<arguments.length&&void 0!==arguments[2]?arguments[2]:l$3,s=this.constructor._$Eh(o,e),a,l;if(void 0!==s&&!0===e.reflect){var p=(null!==(l=null===(a=e.converter)||void 0===a?void 0:a.toAttribute)&&void 0!==l?l:o$4.toAttribute)(t,e.type);this._$Ei=o,null==p?this.removeAttribute(s):this.setAttribute(s,p),this._$Ei=null}}_$AK(p,t){var e=this.constructor,a=e._$Eu.get(p),n,d,m;if(void 0!==a&&this._$Ei!==a){var c=e.getPropertyOptions(a),o=c.converter,f=null!==(m=null!==(d=null===(n=o)||void 0===n?void 0:n.fromAttribute)&&void 0!==d?d:"function"==typeof o?o:null)&&void 0!==m?m:o$4.fromAttribute;this._$Ei=a,this[a]=f(t,c.type),this._$Ei=null}}requestUpdate(a,t,e){var n=!0;void 0!==a&&(((e=e||this.constructor.getPropertyOptions(a)).hasChanged||n$4)(this[a],t)?(this._$AL.has(a)||this._$AL.set(a,t),!0===e.reflect&&this._$Ei!==a&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(a,e))):n=!1),!this.isUpdatePending&&n&&(this._$Ep=this._$EC())}_$EC(){var a=this;return _asyncToGenerator(function*(){a.isUpdatePending=!0;try{yield a._$Ep}catch(t){Promise.reject(t)}var t=a.scheduleUpdate();return null!=t&&(yield t),!a.isUpdatePending})()}scheduleUpdate(){return this.perfo
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/var n$1=a=>t=>"function"==typeof t?((a,t)=>(window.customElements.define(a,t),t))(a,t):((a,t)=>{var{kind:e,elements:r}=t;return{kind:e,elements:r,finisher(t){window.customElements.define(a,t)}}})(a,t),/**
|
||
|
|
* @license
|
||
|
|
* Copyright 2017 Google LLC
|
||
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
*/i$1=(a,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?_objectSpread2(_objectSpread2({},t),{},{finisher(e){e.createProperty(t.key,a)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(e){e.createProperty(t.key,a)}},e$4=(a,t,e)=>{Object.defineProperty(t,e,a)},t=(a,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:a}),o$1=a=>{var{finisher:l,descriptor:e}=a;return(r,t)=>{var i;if(void 0===t){var p=null!==(i=r.originalKey)&&void 0!==i?i:r.key,a=null==e?_objectSpread2(_objectSpread2({},r),{},{key:p}):{kind:"method",placement:"prototype",key:p,descriptor:e(r.key)};return null!=l&&(a.finisher=function(e){l(e,p)}),a}var n=r.constructor;void 0!==e&&Object.defineProperty(r,t,e(t)),null==l||l(n,t)}},e=null==(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(a,t)=>a.assignedNodes(t).filter(e=>e.nodeType===Node.ELEMENT_NODE):(a,t)=>a.assignedElements(t),commonjsGlobal="undefined"==typeof globalThis?"undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?{}:self:global:window:globalThis,lottie$1={exports:{}},n;(function(module){var root,factory;"undefined"!=typeof navigator&&(root=window||{},factory=function(window){function ProjectInterface(){return{}}function roundValues(e){bmRnd=e?Math.round:function(e){return e}}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(a,t,e,r){this.type=a,this.currentTime=t,this.totalTime=e,this.direction=0>r?-1:1}function BMCompleteEvent(a,t){this.type=a,this.direction=0>t?-1:1}function BMCompleteLoopEvent(a,t,e,r){this.type=a,this.currentLoop=e,this.totalLoops=t,this.direction=0>r?-1:1}function BMSegmentStartEvent(a,t,e){this.type=a,this.firstFrame=t,this.totalFrames=e}function BMDestroyEvent(a,t){this.type=a,this.target=t}function BMRenderFrameErrorEvent(a,t){this.type="renderFrameError",this.nativeError=a,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(a,t){this.type=a,this.nativeError=t}function HSVtoRGB(d,t,e){var r,m,c,f,g,u,y,v;switch(u=e*(1-t),y=e*(1-(g=6*d-(f=Math.floor(6*d)))*t),v=e*(1-(1-g)*t),f%6){case 0:r=e,m=v,c=u;break;case 1:r=y,m=e,c=u;break;case 2:r=u,m=e,c=v;break;case 3:r=u,m=y,c=e;break;case 4:r=v,m=u,c=e;break;case 5:r=e,m=u,c=y}return[r,m,c]}function RGBtoHSV(l,t,e){var r=Math.max(l,t,e),s=Math.min(l,t,e),a=r-s,n=0===r?0:a/r,o=r/255,p;return r===s?p=0:r===l?(p=t-e+a*(t<e?6:0),p/=6*a):r===t?(p=e-l+2*a,p/=6*a):r===e?(p=l-t+4*a,p/=6*a):void 0,[p,n,o]}function addSaturationToRGB(a,t){var e=RGBtoHSV(255*a[0],255*a[1],255*a[2]);return e[1]+=t,1<e[1]?e[1]=1:0>=e[1]&&(e[1]=0),HSVtoRGB(e[0],e[1],e[2])}function addBrightnessToRGB(a,t){var e=RGBtoHSV(255*a[0],255*a[1],255*a[2]);return e[2]+=t,1<e[2]?e[2]=1:0>e[2]&&(e[2]=0),HSVtoRGB(e[0],e[1],e[2])}function addHueToRGB(a,t){var e=RGBtoHSV(255*a[0],255*a[1],255*a[2]);return e[0]+=t/360,1<e[0]?e[0]-=1:0>e[0]&&(e[0]+=1),HSVtoRGB(e[0],e[1],e[2])}function BaseEvent(){}function createSizedArray(e){return Array.apply(null,{length:e})}function createNS(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function createTag(e){return document.createElement(e)}function DynamicPropertyContainer(){}function extendPrototype(n,t){var e=n.length,o,s;for(o=0;o<e;o+=1)for(var l in s=n[o].prototype)Object.prototype.hasOwnProperty.call(s,l)&&(t.prototype[l]=s[l])}function getDescriptor(a,t){return Object.getOwnPropertyDescriptor(a,t)}function createProxyFunction(a){function t(){}return t.prototype=a,t}function bezFunction(){function _(o,t,e,r,i,s){var a=o*r+t*i+e*s-i*r-s*o-e*t;return-.001<a&&.001>a}function e(e){this.
|