vendor: 18,935 bytes, lines 1-139
1import{_ as et}from"./main-CUGt-SQd.js";var Nt=window,ge=Nt.ShadowRoot&&(Nt.ShadyCSS===void 0||Nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,be=Symbol(),je=new WeakMap,si=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==be)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(ge&&t===void 0){let i=e!==void 0&&e.length===1;i&&(t=je.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&je.set(e,t))}return t}toString(){return this.cssText}},Fi=t=>new si(typeof t=="string"?t:t+"",void 0,be),Bi=(t,...e)=>{let i=t.length===1?t[0]:e.reduce((o,n,r)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[r+1],t[0]);return new si(i,t,be)},Ri=(t,e)=>{ge?t.adoptedStyleSheets=e.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet):e.forEach(i=>{let o=document.createElement("style"),n=Nt.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=i.cssText,t.appendChild(o)})},De=ge?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let i="";for(let o of e.cssRules)i+=o.cssText;return Fi(i)})(t):t,Xt,Dt=window,Ve=Dt.trustedTypes,Hi=Ve?Ve.emptyScript:"",Fe=Dt.reactiveElementPolyfillSupport,le={toAttribute(t,e){switch(e){case Boolean:t=t?Hi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=t!==null;break;case Number:i=t===null?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},ai=(t,e)=>e!==t&&(e==e||t==t),Yt={attribute:!0,type:String,converter:le,reflect:!1,hasChanged:ai},he="finalized",vt=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((e,i)=>{let o=this._$Ep(i,e);o!==void 0&&(this._$Ev.set(o,i),t.push(o))}),t}static createProperty(t,e=Yt){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){let i=typeof t=="symbol"?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);o!==void 0&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){let n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Yt}static finalize(){if(this.hasOwnProperty(he))return!1;this[he]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let o of i)this.createProperty(o,e[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let i=new Set(t.flat(1/0).reverse());for(let o of i)e.unshift(De(o))}else t!==void 0&&e.push(De(t));return e}static _$Ep(t,e){let i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;let e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Ri(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=Yt){var o;let n=this.constructor._$Ep(t,i);if(n!==void 0&&i.reflect===!0){let r=(((o=i.converter)===null||o===void 0?void 0:o.toAttribute)!==void 0?i.converter:le).toAttribute(e,i.type);this._$El=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;let o=this.constructor,n=o._$Ev.get(t);if(n!==void 0&&this._$El!==n){let r=o.getPropertyOptions(n),s=typeof r.converter=="function"?{fromAttribute:r.converter}:((i=r.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?r.converter:le;this._$El=n,this[n]=s.fromAttribute(e,r.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||ai)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((o,n)=>this[n]=o),this._$Ei=void 0);let e=!1,i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(o=>{var n;return(n=o.hostUpdate)===null||n===void 0?void 0:n.call(o)}),this.update(i)):this._$Ek()}catch(o){throw e=!1,this._$Ek(),o}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var o;return(o=i.hostUpdated)===null||o===void 0?void 0:o.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};vt[he]=!0,vt.elementProperties=new Map,vt.elementStyles=[],vt.shadowRootOptions={mode:"open"},Fe==null||Fe({ReactiveElement:vt}),((Xt=Dt.reactiveElementVersions)!==null&&Xt!==void 0?Xt:Dt.reactiveElementVersions=[]).push("1.6.3");var te,Vt=window,gt=Vt.trustedTypes,Be=gt?gt.createPolicy("lit-html",{createHTML:t=>t}):void 0,de="$lit$",rt=`lit$${(Math.random()+"").slice(9)}$`,li="?"+rt,qi=`<${li}>`,dt=document,xt=()=>dt.createComment(""),It=t=>t===null||typeof t!="object"&&typeof t!="function",hi=Array.isArray,Zi=t=>hi(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",ee=`[ 2\f\r]`,St=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Re=/-->/g,He=/>/g,at=RegExp(`>|${ee}(?:([^\\s"'>=/]+)(${ee}*=${ee}*(?:[^ 3\f\r"'\`<>=]|("|')|))|$)`,"g"),qe=/'/g,Ze=/"/g,di=/^(?:script|style|textarea|title)$/i,Ji=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),g=Ji(1),bt=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),Je=new WeakMap,lt=dt.createTreeWalker(dt,129,null,!1);function ui(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Be!==void 0?Be.createHTML(e):e}var Wi=(t,e)=>{let i=t.length-1,o=[],n,r=e===2?"<svg>":"",s=St;for(let a=0;a<i;a++){let l=t[a],d,u,h=-1,p=0;for(;p<l.length&&(s.lastIndex=p,u=s.exec(l),u!==null);)p=s.lastIndex,s===St?u[1]==="!--"?s=Re:u[1]!==void 0?s=He:u[2]!==void 0?(di.test(u[2])&&(n=RegExp("</"+u[2],"g")),s=at):u[3]!==void 0&&(s=at):s===at?u[0]===">"?(s=n??St,h=-1):u[1]===void 0?h=-2:(h=s.lastIndex-u[2].length,d=u[1],s=u[3]===void 0?at:u[3]==='"'?Ze:qe):s===Ze||s===qe?s=at:s===Re||s===He?s=St:(s=at,n=void 0);let c=s===at&&t[a+1].startsWith("/>")?" ":"";r+=s===St?l+qi:h>=0?(o.push(d),l.slice(0,h)+de+l.slice(h)+rt+c):l+rt+(h===-2?(o.push(void 0),a):c)}return[ui(t,r+(t[i]||"<?>")+(e===2?"</svg>":"")),o]},ue=class pi{constructor({strings:e,_$litType$:i},o){let n;this.parts=[];let r=0,s=0,a=e.length-1,l=this.parts,[d,u]=Wi(e,i);if(this.el=pi.createElement(d,o),lt.currentNode=this.el.content,i===2){let h=this.el.content,p=h.firstChild;p.remove(),h.append(...p.childNodes)}for(;(n=lt.nextNode())!==null&&l.length<a;){if(n.nodeType===1){if(n.hasAttributes()){let h=[];for(let p of n.getAttributeNames())if(p.endsWith(de)||p.startsWith(rt)){let c=u[s++];if(h.push(p),c!==void 0){let v=n.getAttribute(c.toLowerCase()+de).split(rt),f=/([.?@])?(.*)/.exec(c);l.push({type:1,index:r,name:f[2],strings:v,ctor:f[1]==="."?Gi:f[1]==="?"?Xi:f[1]==="@"?Yi:Ht})}else l.push({type:6,index:r})}for(let p of h)n.removeAttribute(p)}if(di.test(n.tagName)){let h=n.textContent.split(rt),p=h.length-1;if(p>0){n.textContent=gt?gt.emptyScript:"";for(let c=0;c<p;c++)n.append(h[c],xt()),lt.nextNode(),l.push({type:2,index:++r});n.append(h[p],xt())}}}else if(n.nodeType===8)if(n.data===li)l.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(rt,h+1))!==-1;)l.push({type:7,index:r}),h+=rt.length-1}r++}}static createElement(e,i){let o=dt.createElement("template");return o.innerHTML=e,o}};function wt(t,e,i=t,o){var n,r,s,a;if(e===bt)return e;let l=o!==void 0?(n=i._$Co)===null||n===void 0?void 0:n[o]:i._$Cl,d=It(e)?void 0:e._$litDirective$;return(l==null?void 0:l.constructor)!==d&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),d===void 0?l=void 0:(l=new d(t),l._$AT(t,i,o)),o!==void 0?((s=(a=i)._$Co)!==null&&s!==void 0?s:a._$Co=[])[o]=l:i._$Cl=l),l!==void 0&&(e=wt(t,l._$AS(t,e.values),l,o)),e}var Ki=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var i;let{el:{content:o},parts:n}=this._$AD,r=((i=e==null?void 0:e.creationScope)!==null&&i!==void 0?i:dt).importNode(o,!0);lt.currentNode=r;let s=lt.nextNode(),a=0,l=0,d=n[0];for(;d!==void 0;){if(a===d.index){let u;d.type===2?u=new we(s,s.nextSibling,this,e):d.type===1?u=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(u=new to(s,this,e)),this._$AV.push(u),d=n[++l]}a!==(d==null?void 0:d.index)&&(s=lt.nextNode(),a++)}return lt.currentNode=dt,r}v(e){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,i),i+=o.strings.length-2):o._$AI(e[i])),i++}},we=class ci{constructor(e,i,o,n){var r;this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=o,this.options=n,this._$Cp=(r=n==null?void 0:n.isConnected)===null||r===void 0||r}get _$AU(){var e,i;return(i=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&i!==void 0?i:this._$Cp}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=wt(this,e,i),It(e)?e===P||e==null||e===""?(this._$AH!==P&&this._$AR(),this._$AH=P):e!==this._$AH&&e!==bt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Zi(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==P&&It(this._$AH)?this._$AA.nextSibling.data=e:this.$(dt.createTextNode(e)),this._$AH=e}g(e){var i;let{values:o,_$litType$:n}=e,r=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ue.createElement(ui(n.h,n.h[0]),this.options)),n);if(((i=this._$AH)===null||i===void 0?void 0:i._$AD)===r)this._$AH.v(o);else{let s=new Ki(r,this),a=s.u(this.options);s.v(o),this.$(a),this._$AH=s}}_$AC(e){let i=Je.get(e.strings);return i===void 0&&Je.set(e.strings,i=new ue(e)),i}T(e){hi(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,n=0;for(let r of e)n===i.length?i.push(o=new ci(this.k(xt()),this.k(xt()),this,this.options)):o=i[n],o._$AI(r),n++;n<i.length&&(this._$AR(o&&o._$AB.nextSibling,n),i.length=n)}_$AR(e=this._$AA.nextSibling,i){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,i);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){var i;this._$AM===void 0&&(this._$Cp=e,(i=this._$AP)===null||i===void 0||i.call(this,e))}},Ht=class{constructor(t,e,i,o,n){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=P}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){let n=this.strings,r=!1;if(n===void 0)t=wt(this,t,e,0),r=!It(t)||t!==this._$AH&&t!==bt,r&&(this._$AH=t);else{let s=t,a,l;for(t=n[0],a=0;a<n.length-1;a++)l=wt(this,s[i+a],e,a),l===bt&&(l=this._$AH[a]),r||(r=!It(l)||l!==this._$AH[a]),l===P?t=P:t!==P&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}r&&!o&&this.j(t)}j(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Gi=class extends Ht{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===P?void 0:e}},Qi=gt?gt.emptyScript:"",Xi=class extends Ht{constructor(){super(...arguments),this.type=4}j(e){e&&e!==P?this.element.setAttribute(this.name,Qi):this.element.removeAttribute(this.name)}},Yi=class extends Ht{constructor(e,i,o,n,r){super(e,i,o,n,r),this.type=5}_$AI(e,i=this){var o;if((e=(o=wt(this,e,i,0))!==null&&o!==void 0?o:P)===bt)return;let n=this._$AH,r=e===P&&n!==P||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==P&&(n===P||r);r&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var i,o;typeof this._$AH=="function"?this._$AH.call((o=(i=this.options)===null||i===void 0?void 0:i.host)!==null&&o!==void 0?o:this.element,e):this._$AH.handleEvent(e)}},to=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){wt(this,t)}},We=Vt.litHtmlPolyfillSupport;We==null||We(ue,we),((te=Vt.litHtmlVersions)!==null&&te!==void 0?te:Vt.litHtmlVersions=[]).push("2.8.0");var eo=(t,e,i)=>{var o,n;let r=(o=i==null?void 0:i.renderBefore)!==null&&o!==void 0?o:e,s=r._$litPart$;if(s===void 0){let a=(n=i==null?void 0:i.renderBefore)!==null&&n!==void 0?n:null;r._$litPart$=s=new we(e.insertBefore(xt(),a),a,void 0,i??{})}return s._$AI(t),s},ie,oe,$t=class extends vt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,i;let o=super.createRenderRoot();return(e=(i=this.renderOptions).renderBefore)!==null&&e!==void 0||(i.renderBefore=o.firstChild),o}update(e){let i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=eo(i,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return bt}};$t.finalized=!0,$t._$litElement$=!0,(ie=globalThis.litElementHydrateSupport)===null||ie===void 0||ie.call(globalThis,{LitElement:$t});var Ke=globalThis.litElementPolyfillSupport;Ke==null||Ke({LitElement:$t});((oe=globalThis.litElementVersions)!==null&&oe!==void 0?oe:globalThis.litElementVersions=[]).push("3.3.3");var io=Bi` 4 @font-face { 5 font-family: 'Karla'; 6 font-weight: regular; 7 src: url('./fonts/Karla-regular.woff') format('woff'); 8 } 9 10 :host { 11 --lottie-player-toolbar-height: 35px; 12 --lottie-player-toolbar-background-color: transparent; 13 --lottie-player-toolbar-hover-background-color: #f3f6f8; 14 --lottie-player-toolbar-icon-color: #20272c; 15 --lottie-player-toolbar-icon-hover-color: #f3f6f8; 16 --lottie-player-toolbar-icon-active-color: #00ddb3; 17 --lottie-player-seeker-track-color: #00ddb3; 18 --lottie-player-seeker-accent-color: #00c1a2; 19 --lottie-player-seeker-thumb-color: #00c1a2; 20 --lottie-player-options-separator: #d9e0e6; 21 22 display: block; 23 width: 100%; 24 height: 100%; 25 26 font-family: 'Karla', sans-serif; 27 font-style: normal; 28 -webkit-font-smoothing: antialiased; 29 -moz-osx-font-smoothing: grayscale; 30 } 31 32 :host * { 33 box-sizing: border-box; 34 } 35 36 .active { 37 color: var(--lottie-player-toolbar-icon-active-color) !important; 38 } 39 40 .main { 41 position: relative; 42 display: flex; 43 flex-direction: column; 44 height: 100%; 45 width: 100%; 46 } 47 48 .animation { 49 position: relative; 50 width: 100%; 51 height: 100%; 52 display: flex; 53 } 54 .animation.controls { 55 height: calc(100% - var(--lottie-player-toolbar-height)); 56 } 57 58 .toolbar { 59 display: flex; 60 align-items: center; 61 justify-items: center; 62 background-color: var(--lottie-player-toolbar-background-color); 63 margin: 0 8px; 64 height: var(--lottie-player-toolbar-height); 65 } 66 67 .btn-spacing-left { 68 margin-right: 4px; 69 margin-left: 8px; 70 } 71 72 .btn-spacing-center { 73 margin-right: 4px; 74 margin-left: 4px; 75 } 76 77 .btn-spacing-right { 78 margin-right: 8px; 79 margin-left: 4px; 80 } 81 82 .toolbar button { 83 color: #20272c; 84 cursor: pointer; 85 fill: var(--lottie-player-toolbar-icon-color); 86 display: flex; 87 background: none; 88 border: 0px; 89 border-radius: 4px; 90 padding: 4px; 91 outline: none; 92 width: 24px; 93 height: 24px; 94 align-items: center; 95 } 96 97 .toolbar button:hover { 98 background-color: var(--lottie-player-toolbar-icon-hover-color); 99 border-style: solid; 100 border-radius: 2px; 101 } 102 103 .toolbar button.active { 104 fill: var(--lottie-player-toolbar-icon-active-color); 105 } 106 107 .toolbar button.active:hover { 108 fill: var(--lottie-player-toolbar-icon-hover-color); 109 border-radius: 4px; 110 } 111 112 .toolbar button:focus-visible { 113 outline: 2px solid var(--lottie-player-toolbar-icon-active-color); 114 border-radius: 4px; 115 box-sizing: border-box; 116 } 117 118 .toolbar button svg { 119 width: 16px; 120 height: 16px; 121 } 122 123 .toolbar button.disabled svg { 124 display: none; 125 } 126 127 .popover { 128 position: absolute; 129 bottom: 40px; 130 left: calc(100% - 239px); 131 width: 224px; 132 min-height: 84px; 133 max-height: 300px; 134 background-color: #ffffff; 135 box-shadow: 0px 8px 48px 0px rgba(243, 246, 248, 0.15), 0px 8px 16px 0px rgba(61, 72, 83, 0.16), 136 0px 0px 1px 0px rgba(61, 72, 83, 0.36); 137 border-radius: 8px; 138 padding: 8px; 139 z-index: 100;
140 overflow-y: scroll; 141 scrollbar-width: none; 142 } 143 .popover:focus-visible { 144 outline: 2px solid var(--lottie-player-toolbar-icon-active-color); 145 border-radius: 4px; 146 box-sizing: border-box; 147 } 148 149 .popover::-webkit-scrollbar { 150 width: 0px; 151 } 152 153 .popover-button { 154 background: none; 155 border: none; 156 font-family: inherit; 157 width: 100%; 158 flex-direction: row; 159 cursor: pointer; 160 height: 32px; 161 color: #20272c; 162 justify-content: space-between; 163 display: flex; 164 padding: 4px 8px; 165 align-items: flex-start; 166 gap: 8px; 167 align-self: stretch; 168 border-radius: 4px; 169 } 170 171 .popover-button:focus-visible { 172 outline: 2px solid var(--lottie-player-toolbar-icon-active-color); 173 border-radius: 4px; 174 box-sizing: border-box; 175 } 176 177 .popover-button:hover { 178 background-color: var(--lottie-player-toolbar-hover-background-color); 179 } 180 181 .popover-button-text { 182 display: flex; 183 color: #20272c; 184 flex-direction: column; 185 align-self: stretch; 186 justify-content: center; 187 font-family: inherit; 188 font-size: 14px; 189 font-style: normal; 190 font-weight: 400; 191 line-height: 150%; 192 letter-spacing: -0.28px; 193 } 194 195 .reset-btn { 196 font-size: 12px; 197 cursor: pointer; 198 font-family: inherit; 199 background: none; 200 border: none; 201 font-weight: 400; 202 line-height: 18px; 203 letter-spacing: 0em; 204 text-align: left; 205 color: #63727e; 206 padding: 0; 207 width: 31px; 208 height: 18px; 209 } 210 .reset-btn:focus-visible { 211 outline: 2px solid var(--lottie-player-toolbar-icon-active-color); 212 border-radius: 4px; 213 box-sizing: border-box; 214 } 215 .reset-btn:hover { 216 color: #20272c; 217 } 218 219 .option-title-button { 220 display: flex; 221 flex-direction: row; 222 width: 100%; 223 height: 32px; 224 align-items: center; 225 gap: 4px; 226 align-self: stretch; 227 cursor: pointer; 228 color: var(--lottie-player-toolbar-icon-color); 229 border: none; 230 background: none; 231 padding: 4px; 232 font-family: inherit; 233 font-size: 16px; 234 font-weight: 700; 235 line-height: 150%; 236 letter-spacing: -0.32px; 237 } 238 .option-title-button.themes { 239 width: auto; 240 padding: 0; 241 } 242 .option-title-button:hover { 243 background-color: var(--lottie-player-toolbar-icon-hover-color); 244 } 245 246 .option-title-themes-row { 247 display: flex; 248 align-items: center; 249 gap: 8px; 250 flex: 1 0 0; 251 } 252 .option-title-themes-row:hover { 253 background-color: var(--lottie-player-toolbar-icon-hover-color); 254 } 255 256 .option-title-button:focus-visible { 257 outline: 2px solid var(--lottie-player-toolbar-icon-active-color); 258 border-radius: 4px; 259 box-sizing: border-box; 260 } 261 262 .option-title-text { 263 font-size: 16px; 264 font-style: normal; 265 font-weight: 700; 266 line-height: 150%; 267 letter-spacing: -0.32px; 268 } 269 270 .option-title-separator { 271 margin: 8px -8px; 272 border-bottom: 1px solid var(--lottie-player-options-separator); 273 } 274 275 .option-title-chevron { 276 display: flex; 277 padding: 4px; 278 border-radius: 8px; 279 justify-content: center; 280 align-items: center; 281 gap: 8px; 282 } 283 284 .option-row { 285 display: flex; 286 flex-direction: column; 287 } 288 .option-row > ul { 289 padding: 0; 290 margin: 0; 291 } 292 293 .option-button { 294 width: 100%; 295 background: none; 296 border: none; 297 font-family: inherit; 298 display: flex; 299 padding: 4px 8px; 300 color: #20272c; 301 overflow: hidden; 302 align-items: center; 303 gap: 8px; 304 align-self: stretch; 305 cursor: pointer; 306 height: 32px; 307 font-family: inherit; 308 font-size: 14px; 309 border-radius: 4px; 310 } 311 .option-button:hover { 312 background-color: var(--lottie-player-toolbar-hover-background-color); 313 } 314 .option-button:focus-visible { 315 outline: 2px solid var(--lottie-player-toolbar-icon-active-color); 316 border-radius: 4px; 317 box-sizing: border-box; 318 } 319 320 .option-tick { 321 display: flex; 322 width: 24px; 323 height: 24px; 324 align-items: flex-start; 325 gap: 8px; 326 } 327 328 .seeker { 329 height: 4px; 330 width: 95%; 331 outline: none; 332 -webkit-appearance: none; 333 -moz-apperance: none; 334 border-radius: 9999px; 335 cursor: pointer; 336 background-image: linear-gradient( 337 to right, 338 rgb(0, 221, 179) calc(var(--seeker) * 1%), 339 rgb(217, 224, 230) calc(var(--seeker) * 1%) 340 ); 341 } 342 .seeker.to-left { 343 background-image: linear-gradient( 344 to right, 345 rgb(217, 224, 230) calc(var(--seeker) * 1%), 346 rgb(0, 221, 179) calc(var(--seeker) * 1%) 347 ); 348 } 349 .seeker::-webkit-slider-runnable-track:focus-visible { 350 color: #f07167; 351 accent-color: #00ddb3; 352 } 353 354 .seeker::-webkit-slider-runnable-track { 355 width: 100%; 356 height: 5px; 357 cursor: pointer; 358 } 359 .seeker::-webkit-slider-thumb { 360 -webkit-appearance: none; 361 height: 16px; 362 width: 16px; 363 border-radius: 50%; 364 background: var(--lottie-player-seeker-thumb-color); 365 cursor: pointer; 366 margin-top: -5px; 367 } 368 .seeker:focus-visible::-webkit-slider-thumb { 369 background: var(--lottie-player-seeker-thumb-color); 370 outline: 2px solid var(--lottie-player-seeker-track-color); 371 border: 1.5px solid #ffffff; 372 } 373 .seeker::-webkit-slider-thumb:hover { 374 background: #019d91; 375 } 376 .seeker::-moz-range-thumb { 377 appearance: none; 378 height: 16px; 379 width: 16px; 380 border-radius: 50%; 381 background: var(--lottie-player-seeker-thumb-color); 382 cursor: pointer; 383 margin-top: -5px; 384 border-color: transparent; 385 } 386 .seeker:focus-visible::-moz-range-thumb { 387 background: var(--lottie-player-seeker-thumb-color); 388 outline: 2px solid var(--lottie-player-seeker-track-color); 389 border: 1.5px solid #ffffff; 390 } 391 392 .error { 393 display: flex; 394 justify-content: center; 395 margin: auto; 396 height: 100%; 397 align-items: center; 398 } 399`;/*! Bundled license information: 400 401@lit/reactive-element/css-tag.js: 402 (** 403 * @license 404 * Copyright 2019 Google LLC 405 * SPDX-License-Identifier: BSD-3-Clause 406 *) 407 408@lit/reactive-element/reactive-element.js: 409 (** 410 * @license 411 * Copyright 2017 Google LLC 412 * SPDX-License-Identifier: BSD-3-Clause 413 *) 414 415lit-html/lit-html.js: 416 (** 417 * @license 418 * Copyright 2017 Google LLC 419 * SPDX-License-Identifier: BSD-3-Clause 420 *) 421 422lit-element/lit-element.js: 423 (** 424 * @license 425 * Copyright 2017 Google LLC 426 * SPDX-License-Identifier: BSD-3-Clause 427 *) 428 429lit-html/is-server.js: 430 (** 431 * @license 432 * Copyright 2022 Google LLC 433 * SPDX-License-Identifier: BSD-3-Clause 434 *) 435*/var Ge={}
vendor: 1,971 bytes, line 435
435,oo=function(t,e,i,o,n){var r=new Worker(Ge[e]||(Ge[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return r.onmessage=function(s){var a=s.data,l=a.$e$;if(l){var d=new Error(l[0]);d.code=l[1],d.stack=l[2],n(d,null)}else n(null,a)},r.postMessage(i,o),r},V=Uint8Array,ht=Uint16Array,fi=Int32Array,Ce=new V([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Le=new V([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),vi=new V([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),mi=function(t,e){for(var i=new ht(31),o=0;o<31;++o)i[o]=e+=1<<t[o-1];for(var n=new fi(i[30]),o=1;o<30;++o)for(var r=i[o];r<i[o+1];++r)n[r]=r-i[o]<<5|o;return{b:i,r:n}},_i=mi(Ce,2),Se=_i.b,no=_i.r;Se[28]=258,no[258]=28;var ro=mi(Le,0),yi=ro.b,Ft=new ht(32768);for(w=0;w<32768;++w)tt=(w&43690)>>1|(w&21845)<<1,tt=(tt&52428)>>2|(tt&13107)<<2,tt=(tt&61680)>>4|(tt&3855)<<4,Ft[w]=((tt&65280)>>8|(tt&255)<<8)>>1;var tt,w,_t=function(t,e,i){for(var o=t.length,n=0,r=new ht(e);n<o;++n)t[n]&&++r[t[n]-1];var s=new ht(e);for(n=1;n<e;++n)s[n]=s[n-1]+r[n-1]<<1;var a;if(i){a=new ht(1<<e);var l=15-e;for(n=0;n<o;++n)if(t[n])for(var d=n<<4|t[n],u=e-t[n],h=s[t[n]-1]++<<u,p=h|(1<<u)-1;h<=p;++h)a[Ft[h]>>l]=d}else for(a=new ht(o),n=0;n<o;++n)t[n]&&(a[n]=Ft[s[t[n]-1]++]>>15-t[n]);return a},Pt=new V(288);for(w=0;w<144;++w)Pt[w]=8;var w;for(w=144;w<256;++w)Pt[w]=9;var w;for(w=256;w<280;++w)Pt[w]=7;var w;for(w=280;w<288;++w)Pt[w]=8;var w,gi=new V(32);for(w=0;w<32;++w)gi[w]=5;var w,bi=_t(Pt,9,1),wi=_t(gi,5,1),zt=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},Z=function(t,e,i){var o=e/8|0;return(t[o]|t[o+1]<<8)>>(e&7)&i},jt=function(t,e){var i=e/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(e&7)},Ci=function(t){return(t+7)/8|0},qt=function(t,e,i){return(e==null||e<0)&&(e=0),(i==null||i>t.length)&&(i=t.length),new V(t.subarray(e,i))}
vendor: 2,080 bytes, line 435
435,Li=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],D=function(t,e,i){var o=new Error(e||Li[t]);if(o.code=t,Error.captureStackTrace&&Error.captureStackTrace(o,D),!i)throw o;return o},Si=function(t,e,i,o){var n=t.length,r=o?o.length:0;if(!n||e.f&&!e.l)return i||new V(0);var s=!i,a=s||e.i!=2,l=e.i;s&&(i=new V(n*3));var d=function(Ue){var Ne=i.length;if(Ue>Ne){var ze=new V(Math.max(Ne*2,Ue));ze.set(i),i=ze}},u=e.f||0,h=e.p||0,p=e.b||0,c=e.l,v=e.d,f=e.m,_=e.n,m=n*8;do{if(!c){u=Z(t,h,1);var L=Z(t,h+1,3);if(h+=3,L)if(L==1)c=bi,v=wi,f=9,_=5;else if(L==2){var y=Z(t,h,31)+257,M=Z(t,h+10,15)+4,T=y+Z(t,h+5,31)+1;h+=14;for(var F=new V(T),x=new V(19),S=0;S<M;++S)x[vi[S]]=Z(t,h+S*3,7);h+=M*3;for(var z=zt(x),W=(1<<z)-1,U=_t(x,z,1),S=0;S<T;){var B=U[Z(t,h,W)];h+=B&15;var j=B>>4;if(j<16)F[S++]=j;else{var H=0,N=0;for(j==16?(N=3+Z(t,h,3),h+=2,H=F[S-1]):j==17?(N=3+Z(t,h,7),h+=3):j==18&&(N=11+Z(t,h,127),h+=7);N--;)F[S++]=H}}var it=F.subarray(0,y),ot=F.subarray(y);f=zt(it),_=zt(ot),c=_t(it,f,1),v=_t(ot,_,1)}else D(1);else{var j=Ci(h)+4,Jt=t[j-4]|t[j-3]<<8,Wt=j+Jt;if(Wt>n){l&&D(0);break}a&&d(p+Jt),i.set(t.subarray(j,Wt),p),e.b=p+=Jt,e.p=h=Wt*8,e.f=u;continue}if(h>m){l&&D(0);break}}a&&d(p+131072);for(var ji=(1<<f)-1,Di=(1<<_)-1,Kt=h;;Kt=h){var H=c[jt(t,h)&ji],ct=H>>4;if(h+=H&15,h>m){l&&D(0);break}if(H||D(2),ct<256)i[p++]=ct;else if(ct==256){Kt=h,c=null;break}else{var Ee=ct-254;if(ct>264){var S=ct-257,Lt=Ce[S];Ee=Z(t,h,(1<<Lt)-1)+Se[S],h+=Lt}var Gt=v[jt(t,h)&Di],Qt=Gt>>4;Gt||D(3),h+=Gt&15;var ot=yi[Qt];if(Qt>3){var Lt=Le[Qt];ot+=jt(t,h)&(1<<Lt)-1,h+=Lt}if(h>m){l&&D(0);break}a&&d(p+131072);var Me=p+Ee;if(p<ot){var Te=r-ot,Vi=Math.min(ot,Me);for(Te+p<0&&D(3);p<Vi;++p)i[p]=o[Te+p]}for(;p<Me;++p)i[p]=i[p-ot]}}e.l=c,e.p=Kt,e.b=p,e.f=u,c&&(u=1,e.m=f,e.d=v,e.n=_)}while(!u);return p!=i.length&&s?qt(i,0,p):i.subarray(0,p)},so=new V(0),ao=function(t,e){var i={};
435for(var o in t)i[o]=t[o];for(var o in e)i[o]=e[o];return i},Qe=function(t,e,i){for(var o=t(),n=t.toString(),r=n.slice(n.indexOf("[")+1,n.lastIndexOf("]")).replace(/\s+/g,"").split(","),s=0;s<o.length;++s){var a=o[s],l=r[s];if(typeof a=="function"){e+=";"+l+"=";var d=a.toString();if(a.prototype)if(d.indexOf("[native code]")!=-1){var u=d.indexOf(" ",8)+1;e+=d.slice(u,d.indexOf("(",u))}else{e+=d;for(var h in a.prototype)e+=";"+l+".prototype."+h+"="+a.prototype[h].toString()}else e+=d}else i[l]=a}return e},Ut=[],lo=function(t){var e=[];for(var i in t)t[i].buffer&&e.push((t[i]=new t[i].constructor(t[i])).buffer);return e},ho=function(t,e,i,o){if(!Ut[i]){for(var n="",r={},s=t.length-1,a=0;a<s;++a)n=Qe(t[a],n,r);Ut[i]={c:Qe(t[s],n,r),e:r}}var l=ao({},Ut[i].e);return oo(Ut[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,l,lo(l),o)},uo=function(){return[V,ht,fi,Ce,Le,vi,Se,yi,bi,wi,Ft,Li,_t,zt,Z,jt,Ci,qt,D,Si,$e,$i,Ai]},$i=function(t){return postMessage(t,[t.buffer])},Ai=function(t){return t&&{out:t.size&&new V(t.size),dictionary:t.dictionary}},po=function(t,e,i,o,n,r){var s=ho(i,o,n,function(a,l){s.terminate(),r(a,l)});return s.postMessage([t,e],e.consume?[t.buffer]:[]),function(){s.terminate()}},Q=function(t,e){return t[e]|t[e+1]<<8},K=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},ne=function(t,e){return K(t,e)+K(t,e+4)*4294967296};function co(t,e,i){return i||(i=e,e={}),typeof i!="function"&&D(7),po(t,e,[uo],function(o){return $i($e(o.data[0],Ai(o.data[1])))},1,i)}function $e(t,e){return Si(t,{i:2},e&&e.out,e&&e.dictionary)}var pe=typeof TextDecoder<"u"&&new TextDecoder,fo=0;try{pe.decode(so,{stream:!0}),fo=1}catch{}var vo=function(t){for(var e="",i=0;;){var o=t[i++],n=(o>127)+(o>223)+(o>239);if(i+n>t.length)return{s:e,r:qt(t,i-1)};n?n==3?(o=((o&15)<<18|(t[i++]&63)<<12|(t[i++]&63)<<6|t[i++]&63)-65536,e+=String.fromCharCode(55296|o>>10,56320|o&1023)):n&1?e+=String.fromCharCode((o&31)<<6|t[i++]&63):e+=String.fromCharCode((o&15)<<12|(t[i++]&63)<<6|t[i++]&63):e+=String.fromCharCode(o)}};function Ct(t,e){if(e){for(var i="",o=0;o<t.length;o+=16384)i+=String.fromCharCode.apply(null,t.subarray(o,o+16384));return i}else{if(pe)return pe.decode(t);var n=vo(t),r=n.s,i=n.r;return i.length&&D(8),r}}var mo=function(t,e){return e+30+Q(t,e+26)+Q(t,e+28)},_o=function(t,e,i){var o=Q(t,e+28),n=Ct(t.subarray(e+46,e+46+o),!(Q(t,e+8)&2048)),r=e+46+o,s=K(t,e+20),a=i&&s==4294967295?yo(t,r):[s,K(t,e+24),K(t,e+42)],l=a[0],d=a[1],u=a[2];return[Q(t,e+10),l,d,n,r+Q(t,e+30)+Q(t,e+32),u]},yo=function(t,e){for(;Q(t,e)!=1;e+=4+Q(t,e+2));return[ne(t,e+12),ne(t,e+4),ne(t,e+20)]},Xe=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(t){t()};function go(t,e,i){i||(i=e,e={}),typeof i!="function"&&D(7);var o=[],n=function(){for(var _=0;_<o.length;++_)o[_]()},r={},s=function(_,m){Xe(function(){i(_,m)})};Xe(function(){s=i});for(var a=t.length-22;K(t,a)!=101010256;--a)if(!a||t.length-a>65558)return s(D(13,0,1),null),n;var l=Q(t,a+8);if(l){var d=l,u=K(t,a+16),h=u==4294967295||d==65535;if(h){var p=K(t,a-12);h=K(t,p)==101075792,h&&(d=l=K(t,p+32),u=K(t,p+48))}for(var c=e&&e.filter,v=function(_){var m=_o(t,u,h),L=m[0],y=m[1],M=m[2],T=m[3],F=m[4],x=m[5],S=mo(t,x);u=F;var z=function(U,B){U?(n(),s(U,null)):(B&&(r[T]=B),--l||s(null,r))};if(!c||c({name:T,size:y,originalSize:M,compression:L}))if(!L)z(null,qt(t,S,S+y));else if(L==8){var W=t.subarray(S,S+y);if(y<32e4)try{z(null,$e(W,{out:new V(M)}))}catch(U){z(U,null)}else o.push(co(W,{size:M},z))}else z(D(14,"unknown compression type "+L,1),null);else z(null,null)},f=0;f<d;++f)v(f)}else s(null,{});return n}function bo(t){return(Array.isArray(t)?t:t.issues).reduce((e,i)=>{if(i.path){let o=i.path.map(({key:n})=>n).join(".");e.nested[o]=[...e.nested[o]||[],i.message]}else e.root=[...e.root||[],i.message];return e},{nested:{}})}var wo=class extends Error{issues;constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}};function Co(t,e){return{reason:t==null?void 0:t.reason,validation:e.validation,origin:(t==null?void 0:t.origin)||"value",message:e.message,input:e.input,abortE
vendor: 12,113 bytes, line 435
435arly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly}}function Lo(t,e){return{reason:e,origin:t==null?void 0:t.origin,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly}}function st(t,e,i,o){if(!e||!e.length)return{output:t};let n,r,s=t;for(let a of e){let l=a(s);if(l.issue){n=n||Lo(i,o);let d=Co(n,l.issue);if(r?r.push(d):r=[d],n.abortEarly||n.abortPipeEarly)break}else s=l.output}return r?{issues:r}:{output:s}}function X(t,e){return!t||typeof t=="string"?[t,e]:[void 0,t]}function Y(t,e,i,o,n,r){return{issues:[{reason:e,validation:i,origin:(t==null?void 0:t.origin)||"value",message:o,input:n,issues:r,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly}]}}function So(t=[]){return{schema:"any",async:!1,_parse(e,i){return st(e,t,i,"any")}}}function At(t,e,i){let[o,n]=X(e,i);return{schema:"array",array:{item:t},async:!1,_parse(r,s){if(!Array.isArray(r))return Y(s,"type","array",o||"Invalid type",r);let a,l=[];for(let d=0;d<r.length;d++){let u=r[d],h=t._parse(u,s);if(h.issues){let p={schema:"array",input:r,key:d,value:u};for(let c of h.issues)c.path?c.path.unshift(p):c.path=[p],a==null||a.push(c);if(a||(a=h.issues),s!=null&&s.abortEarly)break}else l.push(h.output)}return a?{issues:a}:st(l,n,s,"array")}}}function re(t,e){let[i,o]=X(t,e);return{schema:"boolean",async:!1,_parse(n,r){return typeof n!="boolean"?Y(r,"type","boolean",i||"Invalid type",n):st(n,o,r,"boolean")}}}function Ye(t,e){return{schema:"literal",literal:t,async:!1,_parse(i,o){return i!==t?Y(o,"type","literal","Invalid type",i):{output:i}}}}function $o(t,e){return{schema:"native_enum",nativeEnum:t,async:!1,_parse(i,o){return Object.values(t).includes(i)?{output:i}:Y(o,"type","native_enum","Invalid type",i)}}}function G(t,e){let[i,o]=X(t,e);return{schema:"number",async:!1,_parse(n,r){return typeof n!="number"?Y(r,"type","number",i||"Invalid type",n):st(n,o,r,"number")}}}function J(t,e,i){let[o,n]=X(e,i),r;return{schema:"object",object:t,async:!1,_parse(s,a){if(!s||typeof s!="object")return Y(a,"type","object",o||"Invalid type",s);r=r||Object.entries(t);let l,d={};for(let[u,h]of r){let p=s[u],c=h._parse(p,a);if(c.issues){let v={schema:"object",input:s,key:u,value:p};for(let f of c.issues)f.path?f.path.unshift(v):f.path=[v],l==null||l.push(f);if(l||(l=c.issues),a!=null&&a.abortEarly)break}else d[u]=c.output}return l?{issues:l}:st(d,n,a,"object")}}}function C(t){return{schema:"optional",wrapped:t,async:!1,_parse(e,i){return e===void 0?{output:e}:t._parse(e,i)}}}function E(t,e){let[i,o]=X(t,e);return{schema:"string",async:!1,_parse(n,r){return typeof n!="string"?Y(r,"type","string",i||"Invalid type",n):st(n,o,r,"string")}}}function Ao(t,e,i,o){if(typeof e=="object"&&!Array.isArray(e)){let[s,a]=X(i,o);return[t,e,s,a]}let[n,r]=X(e,i);return[E(),t,n,r]}var ko=["__proto__","prototype","constructor"];function xo(t,e,i,o){let[n,r,s,a]=Ao(t,e,i,o);return{schema:"record",record:{key:n,value:r},async:!1,_parse(l,d){if(!l||typeof l!="object")return Y(d,"type","record",s||"Invalid type",l);let u,h={};for(let[p,c]of Object.entries(l))if(!ko.includes(p)){let v,f=n._parse(p,{origin:"key",abortEarly:d==null?void 0:d.abortEarly,abortPipeEarly:d==null?void 0:d.abortPipeEarly});if(f.issues){v={schema:"record",input:l,key:p,value:c};for(let m of f.issues)m.path=[v],u==null||u.push(m);if(u||(u=f.issues),d!=null&&d.abortEarly)break}let _=r._parse(c,d);if(_.issues){v=v||{schema:"record",input:l,key:p,value:c};for(let m of _.issues)m.path?m.path.unshift(v):m.path=[v],u==null||u.push(m);if(u||(u=_.issues),d!=null&&d.abortEarly)break}!f.issues&&!_.issues&&(h[f.output]=_.output)}return u?{issues:u}:st(h,a,d,"record")}}}function Io(t,e,i){let[o,n]=X(t,e);return[void 0,o,n]}function ti(t,e,i,o){let[n,r,s]=Io(e,i);return{schema:"tuple",tuple:{items:t,rest:n},async:!1,_parse(a,l){if(!Array.isArray(a)||!n&&t.length!==a.length||n&&t.length>a.length)return Y(l,"type","tuple",r||"Invalid type",a);let d,u=[];for(let h=0;h<t.length;h++){let p=a[h],c=t[h]._parse(p,l);if(c.issues){let v={schema:"tuple",input:a,key:h,value:p};for(let f of c.issues)f.path?f.path.unshift(v):f.path=[v],d==null||d.push(f);if(d||(d=c.issues),l!=null&&l.abortEarly)break}else u[h]=c.output}if(n)for(let h=t.length;h<a.length;h++){let p=a[h],c=n._parse(p,l);if(c.issues){let v={schema:"tuple",input:a,key:h,value:p};for(let f of c.issues)f.path?f.path.unshift(v):f.path=[v],d==null||d.push(f);if(d||(d=c.issues),l!=null&&l.abortEarly)break}else u[h]=c.output}return d?{issues:d}:st(u,s,l,"tuple")}}}function ce(t,e){return{schema:"union",union:t,async:!1,_parse(i,o){let n,r;for(let s of t){let a=s._parse(i,o);if(a.issues)if(n)for(let l of a.issues)n.push(l);else n=a.issues;else{r=[a.output];break}}return r?{output:r[0]}:Y(o,"type","union","Invalid type",i,n)}}}function Ot(t,e,i){let[o,n]=X(e,i);return J(t.reduce((r,s)=>({...r,...s.object}),{}),o,n)}function Po(t,e,i,o){let[n,r]=X(i,o);return J(Object.entries(t.object).reduce((s,[a,l])=>e.includes(a)?s:{...s,[a]:l},{}),n,r)}function Oo(t,e,i){let o=t._parse(e,i);return o.issues?{success:!1,error:new wo(o.issues),issues:o.issues}:{success:!0,data:o.output,output:o.output}}function fe(t,e){return i=>i>t?{issue:{validation:"max_value",message:e||"Invalid value",input:i}}:{output:i}}function ve(t,e){return i=>i<t?{issue:{validation:"min_value",message:e||"Invalid value",input:i}}:{output:i}}var Eo=Object.create,Ae=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,ki=Object.getOwnPropertyNames,To=Object.getPrototypeOf,Uo=Object.prototype.hasOwnProperty,No=(t,e,i)=>e in t?Ae(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Et=(t,e)=>function(){return e||(0,t[ki(t)[0]])((e={exports:{}}).exports,e),e.exports},zo=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ki(e))!Uo.call(t,n)&&n!==i&&Ae(t,n,{get:()=>e[n],enumerable:!(o=Mo(e,n))||o.enumerable});return t},jo=(t,e,i)=>(i=t!=null?Eo(To(t)):{},zo(!t||!t.__esModule?Ae(i,"default",{value:t,enumerable:!0}):i,t)),Do=(t,e,i)=>(No(t,e+"",i),i),Vo=Et({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/copy/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.copy=void 0;var e=(i,o,n=0,r=0,s=i.width-n,a=i.height-r,l=0,d=0)=>{if(n=n|0,r=r|0,s=s|0,a=a|0,l=l|0,d=d|0,s<=0||a<=0)return;let u=new Uint32Array(i.data.buffer),h=new Uint32Array(o.data.buffer);for(let p=0;p<a;p++){let c=r+p;if(c<0||c>=i.height)continue;let v=d+p;if(!(v<0||v>=o.height))for(let f=0;f<s;f++){let _=n+f;if(_<0||_>=i.width)continue;let m=l+f;if(m<0||m>=o.width)continue;let L=c*i.width+_,y=v*o.width+m;h[y]=u[L]}}};t.copy=e}}),Fo=Et({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/create-image/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CreateImageFactory=(e=[0,0,0,0],i=4)=>{if(i=Math.floor(i),isNaN(i)||i<1)throw TypeError("channels should be a positive non-zero number");if(!("length"in e)||e.length<i)throw TypeError(`fill should be iterable with at least ${i} members`);e=new Uint8ClampedArray(e).slice(0,i);let o=e.every(n=>n===0);return(n,r,s)=>{if(n===void 0||r===void 0)throw TypeError("Not enough arguments");if(n=Math.floor(n),r=Math.floor(r),isNaN(n)||n<1||isNaN(r)||r<1)throw TypeError("Index or size is negative or greater than the allowed amount");let a=n*r*i;if(s===void 0&&(s=new Uint8ClampedArray(a)),s instanceof Uint8ClampedArray){if(s.length!==a)throw TypeError("Index or size is negative or greater than the allowed amount");if(!o)for(let l=0;l<r;l++)for(let d=0;d<n;d++){let u=(l*n+d)*i;for(let h=0;h<i;h++)s[u+h]=e[h]}return{get width(){return n},get height(){return r},get data(){return s}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory()}}),Bo=Et({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/filters.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var e=14,i=(r,s)=>{if(r<=-s||r>=s||r==0)return 0;let a=r*Math.PI;return Math.sin(a)/a*Math.sin(a/s)/(a/s)},o=r=>Math.round(r*((1<<e)-1)),n=(r,s,a,l,d)=>{let u=d?2:3,h=1/a,p=Math.min(1,a),c=u/p,v=Math.floor((c+1)*2),f=new Int16Array((v+2)*s),_=0;for(let m=0;m<s;m++){let L=(m+.5)*h+l,y=Math.max(0,Math.floor(L-c)),M=Math.min(r-1,Math.ceil(L+c)),T=M-y+1,F=new Float32Array(T),x=new Int16Array(T),S=0,z=0;for(let N=y;N<=M;N++){let it=i((N+.5-L)*p,u);S+=it,F[z]=it,z++}let W=0;for(let N=0;N<F.length;N++){let it=F[N]/S;W+=it,x[N]=o(it)}x[s>>1]+=o(1-W);let U=0;for(;U<x.length&&x[U]===0;)U++;let B=x.length-1;for(;B>0&&x[B]===0;)B--;let j=y+U,H=B-U+1;f[_++]=j,f[_++]=H,f.set(x.subarray(U,B+1),_),_+=H}return f};t.filters=n}}),Ro=Et({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/convolve.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.convolve=void 0;var e=14,i=(o,n,r,s,a,l)=>{let d=0,u=0;for(let h=0;h<s;h++){let p=0;for(let c=0;c<a;c++){let v=l[p++],f=d+v*4|0,_=0,m=0,L=0,y=0;for(let M=l[p++];M>0;M--){let T=l[p++];_=_+T*o[f]|0,m=m+T*o[f+1]|0,L=L+T*o[f+2]|0,y=y+T*o[f+3]|0,f=f+4|0}n[u]=_+8192>>e,n[u+1]=m+8192>>e,n[u+2]=L+8192>>e,n[u+3]=y+8192>>e,u=u+s*4|0}u=(h+1)*4|0,d=(h+1)*r*4|0}};t.convolve=i}}),Ho=Et({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.lanczos2=t.lanczos=void 0;var e=Vo(),i=Fo(),o=Bo(),n=Ro(),r=(l,d,u=!1)=>{let h=d.width/l.width,p=d.height/l.height,c=o.filters(l.width,d.width,h,0,u),v=o.filters(l.height,d.height,p,0,u),f=new Uint8ClampedArray(d.width*l.height*4);n.convolve(l.data,f,l.width,l.height,d.width,c),n.convolve(f,d.data,l.height,d.width,d.height,v)},s=(l,d,u=0,h=0,p=l.width-u,c=l.height-h,v=0,f=0,_=d.width-v,m=d.height-f)=>{if(u=u|0,h=h|0,p=p|0,c=c|0,v=v|0,f=f|0,_=_|0,m=m|0,p<=0||c<=0||_<=0||m<=0)return;if(u===0&&h===0&&p===l.width&&c===l.height&&v===0&&f===0&&_===d.width&&m===d.height){r(l,d);return}let L=i.createImage(p,c),y=i.createImage(_,m);e.copy(l,L,u,h),r(L,y),e.copy(y,d,0,0,y.width,y.height,v,f)};t.lanczos=s;var a=(l,d,u=0,h=0,p=l.width-u,c=l.height-h,v=0,f=0,_=d.width-v,m=d.height-f)=>{if(u=u|0,h=h|0,p=p|0,c=c|0,v=v|0,f=f|0,_=_|0,m=m|0,p<=0||c<=0||_<=0||m<=0)return;if(u===0&&h===0&&p===l.width&&c===l.height&&v===0&&f===0&&_===d.width&&m===d.height){r(l,d,!0);return}let L=i.createImage(p,c),y=i.createImage(_,m);e.copy(l,L,u,h),r(L,y,!0),e.copy(y,d,0,0,y.width,y.height,v,f)};t.lanczos2=a}}),xi=(t=>(t.Bounce="bounce",t.Normal="normal",t))(xi||{}),qo=$o(xi),Ii=J({autoplay:C(re()),defaultTheme:C(E()),direction:C(ce([Ye(1),Ye(-1)])),hover:C(re()),id:E(),intermission:C(G()),loop:C(ce([re(),G()])),playMode:C(qo),speed:C(G()),themeColor:C(E())}),Zo=J({animations:At(E()),id:E()}),Jo=J({activeAnimationId:C(E()),animations:At(Ii),author:C(E()),custom:C(xo(E(),So())),description:C(E()),generator:C(E()),keywords:C(E()),revision:C(G()),themes:C(At(Zo)),states:C(At(E())),version:C(E())}),Pi=Po(Ii,["id"]),ut=J({state:E()}),Wo=ut,Ko=Ot([ut,J({ms:G()})]),Go=Ot([ut,J({count:G()})]),Qo=ut,Xo=ut,Yo=ut,tn=Ot([ut,J({threshold:C(At(G([ve(0),fe(1)])))})]),en=J({onAfter:C(Ko),onClick:C(Wo),onComplete:C(Yo),onEnter:C(Go),onMouseEnter:C(Qo),onMouseLeave:C(Xo),onShow:C(tn)}),on=Ot([Pi,J({playOnScroll:C(ti([G([ve(0),fe(1)]),G([ve(0),fe(1)])])),segments:C(ce([ti([G(),G()]),E()]))})]);Ot([en,J({animationId:C(E()),playbackSettings:on})]);var nn={jpeg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp",mpeg:"audio/mpeg",mp3:"audio/mp3"},ei={jpeg:[255,216,255],png:[137,80,78,71,13,10,26,10],gif:[71,73,70],bmp:[66,77],webp:[82,73,70,70,87,69,66,80],svg:[60,63,120],mp3:[73,68,51,3,0,0,0,0],mpeg:[73,68,51,3,0,0,0,0]},rn=t=>{let e=null,i=[];if(!t)return null;let o=t.substring(t.indexOf(",")+1);typeof window>"u"?e=Buffer.from(o,"base64").toString("binary"):e=atob(o);let n=new Uint8Array(e.length);for(let r=0;r<e.length;r+=1)n[r]=e.charCodeAt(r);i=Array.from(n.subarray(0,8));for(let r in ei){let s=ei[r];if(s&&i.every((a,l)=>a===s[l]))return nn[r]}return null}
435,ke=class extends Error{constructor(t,e){super(t),Do(this,"code"),this.name="[dotlottie-js]",this.code=e}};function Oi(t){let e;if(typeof window>"u")e=Buffer.from(t).toString("base64");else{let i=Array.prototype.map.call(t,o=>String.fromCharCode(o)).join("");e=window.btoa(i)}return`data:${rn(e)};base64,${e}`}function ii(t){return"w"in t&&"h"in t&&!("xt"in t)&&"p"in t}function me(t){return!("h"in t)&&!("w"in t)&&"p"in t&&"e"in t&&"u"in t&&"id"in t}async function Mt(t,e=()=>!0){if(!(t instanceof Uint8Array))throw new ke("DotLottie not found","INVALID_DOTLOTTIE");return await new Promise((i,o)=>{go(t,{filter:e},(n,r)=>{n&&o(n),i(r)})})}async function xe(t,e,i){if(!(t instanceof Uint8Array))throw new ke("DotLottie not found","INVALID_DOTLOTTIE");return(await Mt(t,o=>o.name===e&&!0))[e]}async function _e(t){let e="manifest.json",i=(await Mt(t,o=>o.name===e))[e];if(!(typeof i>"u"))return JSON.parse(Ct(i,!1))}async function sn(t){if(!(t instanceof Uint8Array))return{success:!1,error:"DotLottie not found"};let e=await _e(t);if(typeof e>"u")return{success:!1,error:"Invalid .lottie file, manifest.json is missing"};let i=Oo(Jo,e);return i.success?{success:!0}:{success:!1,error:`Invalid .lottie file, manifest.json structure is invalid, ${JSON.stringify(bo(i.error).nested,null,2)}`}}async function oi(t){let e=new Uint8Array(t),i=await sn(e);if(i.error)throw new ke(i.error,"INVALID_DOTLOTTIE");return e}async function an(t,e){let i=await Mt(t,n=>{let r=n.name.replace("audio/","");return n.name.startsWith("audio/")&&(!e||e({...n,name:r}))}),o={};for(let n in i){let r=i[n];if(r instanceof Uint8Array){let s=n.replace("audio/","");o[s]=Oi(r)}}return o}async function ln(t,e){var i;let o=new Map;for(let[r,s]of Object.entries(e))for(let a of s.assets||[])if(me(a)){let l=a.p;o.has(l)||o.set(l,new Set),(i=o.get(l))==null||i.add(r)}let n=await an(t,r=>o.has(r.name));for(let[r,s]of o){let a=n[r];if(a)for(let l of s){let d=e[l];for(let u of(d==null?void 0:d.assets)||[])me(u)&&u.p===r&&(u.p=a,u.u="",u.e=1)}}}async function hn(t,e){let i=await Mt(t,n=>{let r=n.name.replace("images/","");return n.name.startsWith("images/")&&(!e||e({...n,name:r}))}),o={};for(let n in i){let r=i[n];if(r instanceof Uint8Array){let s=n.replace("images/","");o[s]=Oi(r)}}return o}async function dn(t,e){var i;let o=new Map;for(let[r,s]of Object.entries(e))for(let a of s.assets||[])if(ii(a)){let l=a.p;o.has(l)||o.set(l,new Set),(i=o.get(l))==null||i.add(r)}let n=await hn(t,r=>o.has(r.name));for(let[r,s]of o){let a=n[r];if(a)for(let l of s){let d=e[l];for(let u of(d==null?void 0:d.assets)||[])ii(u)&&u.p===r&&(u.p=a,u.u="",u.e=1)}}}async function un(t,e,{inlineAssets:i}={},o){let n=`animations/${e}.json`,r=await xe(t,n);if(typeof r>"u")return;let s=JSON.parse(Ct(r,!1));if(!i)return s;let a={[e]:s};return await dn(t,a),await ln(t,a),s}async function pn(t,e,i){let o=`themes/${e}.json`,n=await xe(t,o);if(!(typeof n>"u"))return JSON.parse(Ct(n,!1))}async function cn(t,e){let i={},o=await Mt(t,n=>(n.name.replace("states/","").replace(".json",""),n.name.startsWith("states/")&&!0));for(let n in o){let r=o[n];if(r instanceof Uint8Array){let s=n.replace("states/","").replace(".json","");i[s]=Ct(r,!1)}}return i}async function fn(t,e,i){let o=`states/${e}.json`,n=await xe(t,o);return typeof n>"u"?void 0:JSON.parse(Ct(n,!1))}jo(Ho());function b(t,e="dotLottie-common"){return new Error(`[${e}]: ${t}`)}function ft(t,e="dotLottie-common",...i){console.error(`[${e}]:`,t,...i)}function $(t,e="dotLottie-common",...i){console.warn(`[${e}]:`,t,...i)}function vn(t=""){let e=t.trim(),i=e.lastIndexOf("/"),o=e.substring(i+1),n=o.indexOf(".");return n!==-1?o.substring(0,n):o}function Bt(t){return["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}function mn(t){let e=t.assets;return e?e.some(i=>me(i)):!1}function _n(t){try{let e=JSON.parse(t);return Bt(e)}catch{return!1}}function jn(t,e){let i=Object.keys(t).find(o=>t[o]===e);if(i===void 0)throw new Error("Value not found in the object.");return i}function se(t){return JSON.parse(JSON.stringify(t))}var yn=class{_dotLottie;_animationsMap=new Map;_themeMap=new Map;_stateMachinesMap=new Map;_manifest;get dotLottie(){return this._dotLottie}get animationsMap(){return this._animationsMap}get themeMap(){return this._themeMap}get stateMachinesMap(){return this._stateMachinesMap}get manifest(){return this._manifest}async loadFromUrl(t){let e=await fetch(t,{method:"GET",mode:"cors"});if(!e.ok)throw new Error(`Failed to load dotLottie from ${t} with status ${e.status}`);let i=e.headers.get("content-type");if(i!=null&&i.includes("application/json")){let o=await e.json();if(!Bt(o))throw new Error(`Invalid lottie JSON at ${t}`);let n=vn(t);this._animationsMap.set(n,o);let r={activeAnimationId:n,animations:[{id:n}]};this._manifest=r}
435else{this._dotLottie=await oi(await e.arrayBuffer());let o=await _e(this._dotLottie);if(!o)throw new Error("Manifest not found");this._manifest=o}}loadFromLottieJSON(t){if(!Bt(t))throw new Error("Invalid lottie JSON");let e="my-animation";this._animationsMap.set(e,t);let i={activeAnimationId:e,animations:[{id:e}]};this._manifest=i}async loadFromArrayBuffer(t){this._dotLottie=await oi(t);let e=await _e(this._dotLottie);if(!e)throw new Error("Manifest not found");this._manifest=e}async getAnimation(t){if(this._animationsMap.get(t))return this._animationsMap.get(t);if(!this._dotLottie)return;let e=await un(this._dotLottie,t,{inlineAssets:!0});return e&&this._animationsMap.set(t,e),e}async getTheme(t){if(this._themeMap.get(t))return this._themeMap.get(t);if(!this._dotLottie)return;let e=await pn(this._dotLottie,t);return e&&this._themeMap.set(t,e),e}async getStateMachines(){if(!this._dotLottie)return;let t=await cn(this._dotLottie);for(let e in t)if(e){let i=t[e];if(i){let o=JSON.parse(i);if(o){let n=o.descriptor.id;this._stateMachinesMap.get(n)||this._stateMachinesMap.set(n,o)}}}return Array.from(this._stateMachinesMap.values())}async getStateMachine(t){if(this._stateMachinesMap.get(t))return this._stateMachinesMap.get(t);if(!this._dotLottie)return;let e=await fn(this._dotLottie,t);return e&&this._stateMachinesMap.set(e.descriptor.id,e),e}};function Zt(){throw new Error("Cycle detected")}function Ie(){if(yt>1)yt--;else{for(var t,e=!1;kt!==void 0;){var i=kt;for(kt=void 0,ye++;i!==void 0;){var o=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&Mi(i))try{i.c()}catch(n){e||(t=n,e=!0)}i=o}}if(ye=0,yt--,e)throw t}}var A=void 0,kt=void 0,yt=0,ye=0,Rt=0;function Ei(t){if(A!==void 0){var e=t.n;if(e===void 0||e.t!==A)return e={i:0,S:t,p:A.s,n:void 0,t:A,e:void 0,x:void 0,r:e},A.s!==void 0&&(A.s.n=e),A.s=e,t.n=e,32&A.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=A.s,e.n=void 0,A.s.n=e,A.s=e),e}}function R(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}R.prototype.h=function(){return!0};R.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)};R.prototype.U=function(t){if(this.t!==void 0){var e=t.e,i=t.x;e!==void 0&&(e.x=i,t.e=void 0),i!==void 0&&(i.e=e,t.x=void 0),t===this.t&&(this.t=i)}};R.prototype.subscribe=function(t){var e=this;return wn(function(){var i=e.value,o=32&this.f;this.f&=-33;try{t(i)}finally{this.f|=o}})};R.prototype.valueOf=function(){return this.value};R.prototype.toString=function(){return this.value+""};R.prototype.toJSON=function(){return this.value};R.prototype.peek=function(){return this.v};Object.defineProperty(R.prototype,"value",{get:function(){var t=Ei(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(A instanceof pt&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){ye>100&&Zt(),this.v=t,this.i++,Rt++,yt++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Ie()}}}});function gn(t){return new R(t)}function Mi(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function Ti(t){for(var e=t.s;e!==void 0;e=e.n){var i=e.S.n;if(i!==void 0&&(e.r=i),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function Ui(t){for(var e=t.s,i=void 0;e!==void 0;){var o=e.p;e.i===-1?(e.S.U(e),o!==void 0&&(o.n=e.n),e.n!==void 0&&(e.n.p=o)):i=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=o}t.s=i}function pt(t){R.call(this,void 0),this.x=t,this.s=void 0,this.g=Rt-1,this.f=4}(pt.prototype=new R).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Rt))return!0;if(this.g=Rt,this.f|=1,this.i>0&&!Mi(this))return this.f&=-2,!0;var t=A;try{Ti(this),A=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(i){this.v=i,this.f|=16,this.i++}return A=t,Ui(this),this.f&=-2,!0};pt.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}R.prototype.S.call(this,t)};pt.prototype.U=function(t){if(this.t!==void 0&&(R.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}};pt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};pt.prototype.peek=function(){if(this.h()||Zt(),16&this.f)throw this.v;return this.v};Object.defineProperty(pt.prototype,"value",{get:function(){1&this.f&&Zt();var t=Ei(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Ni(t){var e=t.u;if(t.u=void 0,typeof e=="function"){yt++;var i=A;A=void 0;try{e()}catch(o){throw t.f&=-2,t.f|=8,Pe(t),o}finally{A=i,Ie()}}}function Pe(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Ni(t)}function bn(t){if(A!==this)throw new Error("Out-of-order effect");Ui(this),A=t,this.f&=-2,8&this.f&&Pe(this),Ie()}function Tt(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Tt.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}};Tt.prototype.S=function(){1&this.f&&Zt(),this.f|=1,this.f&=-9,Ni(this),Ti(this),yt++;var t=A;return A=this,bn.bind(this,t)};Tt.prototype.N=function(){2&this.f||(this.f|=2,this.o=kt,kt=this)};Tt.prototype.d=function(){this.f|=8,1&this.f||Pe(this)};function wn(t){var e=new Tt(t);try{e.c()}catch(i){throw e.d(),i}return e.d.bind(e)}var Cn=class{_state;_prevState;constructor(t){this._prevState=t,this._state=gn(t)}setState(t){this._prevState=this._state.value,this._state.value=t}subscribe(t){return this._state.subscribe(e=>t(e,this._prevState))}};async function Ln(t,e){let[{DotLottieStateMachineManager:i}]=await Promise.all([et(()=>import("./dotlottie-state-machine-manager-2E7RUGJG-NTQ25VSR-B2poRupI.js"),[])]);if(!t.length)throw b("No state machines available inside this .lottie!");return new i(t,e)}var Sn={dependencies:{"lottie-web":"^5.12.2"}},nt=(t=>(t.Complete="complete",t.DataFail="data_fail",t.DataReady="data_ready",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.L
435oopComplete="loopComplete",t.Pause="pause",t.Play="play",t.Ready="ready",t.Stop="stop",t.VisibilityChange="visibilityChange",t))(nt||{}),mt=(t=>(t.Completed="completed",t.Error="error",t.Fetching="fetching",t.Frozen="frozen",t.Initial="initial",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Ready="ready",t.Stopped="stopped",t))(mt||{}),Oe=(t=>(t.Bounce="bounce",t.Normal="normal",t))(Oe||{}),q={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""},zi={activeStateId:"",autoplay:!1,currentState:"initial",frame:0,seeker:0,direction:1,hover:!1,loop:!1,playMode:"normal",speed:1,background:"transparent",intermission:0,currentAnimationId:void 0,visibilityPercentage:0},ni=class{_lottie;_src;_animationConfig;_prevUserPlaybackOptions={};_userPlaybackOptions;_hover=!1;_loop=!1;_counter=0;_intermission=0;_counterInterval=null;_container=null;_name;_mode="normal";_background="transparent";_animation;_defaultTheme;_activeAnimationId;_currentAnimationId;_testId;_listeners=new Map;_currentState="initial";_stateBeforeFreeze="initial";state=new Cn(zi);_light=!1;_worker=!1;_dotLottieLoader=new yn;_activeStateId;_inInteractiveMode=!1;_scrollTicking=!1;_scrollCallback=void 0;_onShowIntersectionObserver=void 0;_visibilityPercentage=0;_audios=[];_stateMachineManager;constructor(t,e,i){typeof t=="string"?this._src=t:this._src=se(t),i!=null&&i.testId&&(this._testId=i.testId),this._defaultTheme=(i==null?void 0:i.defaultTheme)||"",this._userPlaybackOptions=this._validatePlaybackOptions(i||{}),typeof(i==null?void 0:i.activeAnimationId)=="string"&&(this._activeAnimationId=i.activeAnimationId),this._container=e||null,typeof(i==null?void 0:i.background)=="string"&&this.setBackground(i.background),typeof(i==null?void 0:i.activeStateId)<"u"&&(this._activeStateId=i.activeStateId);let{rendererSettings:o,...n}=i||{};this._animationConfig={loop:!1,autoplay:!1,renderer:"svg",rendererSettings:{clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0,filterSize:{width:"200%",height:"200%",x:"-50%",y:"-50%"},...o},...n},i!=null&&i.light&&(this._light=i.light),i!=null&&i.worker&&(this._worker=i.worker),this._listenToHover(),this._listenToVisibilityChange()}_listenToHover(){var t,e,i,o;let n=()=>{this._hover&&this.currentState!=="playing"&&this.play()},r=()=>{this._hover&&this.currentState==="playing"&&this.stop()};(t=this._container)==null||t.removeEventListener("mouseenter",n),(e=this._container)==null||e.removeEventListener("mouseleave",r),(i=this._container)==null||i.addEventListener("mouseleave",r),(o=this._container)==null||o.addEventListener("mouseenter",n)}_onVisibilityChange(){!this._lottie||typeof document>"u"||(document.hidden&&this.currentState==="playing"?this.freeze():this.currentState==="frozen"&&this.unfreeze())}_listenToVisibilityChange(){typeof document<"u"&&typeof document.hidden<"u"&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange())}_getOption(t){var e;if(typeof this._userPlaybackOptions[t]<"u")return this._userPlaybackOptions[t];let i=(e=this._dotLottieLoader.manifest)==null?void 0:e.animations.find(o=>o.id===this._currentAnimationId);return i&&typeof i[t]<"u"?i[t]:q[t]}_getPlaybackOptions(){let t={};for(let e in q)typeof q[e]<"u"&&(t[e]=this._getOption(e));return t}_setPlayerState(t){var e,i,o;let n=t(this._getPlaybackOptions());try{Pi._parse(n)}catch{$(`Invalid PlaybackOptions, ${JSON.stringify(n,null,2)}`);return}typeof n.defaultTheme<"u"&&(this._defaultTheme=n.defaultTheme),typeof n.playMode<"u"&&(this._mode=n.playMode),typeof n.intermission<"u"&&(this._intermission=n.intermission),typeof n.hover<"u"&&(this._hover=n.hover),typeof n.loop<"u"&&(this.clearCountTimer(),this._loop=n.loop,this._counter=0,(e=this._lottie)==null||e.setLoop(typeof n.loop=="number"?!0:n.loop)),typeof n.speed<"u"&&((i=this._lottie)==null||i.setSpeed(n.speed)),typeof n.autoplay<"u"&&this._lottie&&(this._lottie.autoplay=n.autoplay),typeof n.direction<"u"&&((o=this._lottie)==null||o.setDirection(n.direction))}_getOptionsFromAnimation(t){let{id:e,...i}=t;return{...q,...i}}_updateTestData(){!this._testId||!this._lottie||(window.dotLottiePlayer||(window.dotLottiePlayer={[this._testId]:{}}),window.dotLottiePlayer[this._testId]={direction:this._lottie.playDirection,currentState:this._currentState,loop:this.loop,mode:this._mode,speed:this._lottie.playSpeed})}setContainer(t){t!==this._container&&(this._container=t,this.setBackgroun
435d(this._background),this._listenToHover())}get currentState(){return this._currentState}clearCountTimer(){this._counterInterval&&clearInterval(this._counterInterval)}setCurrentState(t){this._currentState=t,this._notify(),this._updateTestData()}static isPathJSON(t){var e;return((e=t.split(".").pop())==null?void 0:e.toLowerCase())==="json"}get src(){return this._src}updateSrc(t){this._src!==t&&(typeof t=="string"?this._src=t:this._src=se(t),this._activeAnimationId=void 0,this._currentAnimationId=void 0,this.load())}get intermission(){return this._intermission}get hover(){return this._hover}setHover(t){typeof t=="boolean"&&(this._hover=t,this._userPlaybackOptions.hover=t,this._notify())}setIntermission(t){this._intermission=t,this._userPlaybackOptions.intermission=t,this._notify()}get mode(){return this._mode}get animations(){return this._dotLottieLoader.animationsMap}get themes(){return this._dotLottieLoader.themeMap}setMode(t){typeof t=="string"&&(this._mode=t,this._userPlaybackOptions.playMode=t,this._setPlayerState(()=>({playMode:t})),this._notify(),this._updateTestData())}get container(){if(this._container)return this._container}goToAndPlay(t,e,i){if(!this._lottie||["loading"].includes(this._currentState)){$("goToAndPlay() Can't use whilst loading.");return}this._lottie.goToAndPlay(t,e,i),this.setCurrentState("playing")}goToAndStop(t,e,i){if(!this._lottie||["loading"].includes(this._currentState)){$("goToAndStop() Can't use whilst loading.");return}this._lottie.goToAndStop(t,e,i),this.setCurrentState("stopped")}seek(t){if(!this._lottie||["loading"].includes(this._currentState)){$("seek() Can't use whilst loading.");return}let e=t;typeof e=="number"&&(e=Math.round(e));let i=/^(\d+)(%?)$/u.exec(e.toString());if(!i)return;let o=i[2]==="%"?this.totalFrames*Number(i[1])/100:i[1];o!==void 0&&(this._lottie.goToAndPlay(o,!0),this.currentState==="playing"?this.play():this.currentState==="frozen"?this.freeze():this.pause())}_areNumbersInRange(t,e){return t>=0&&t<=1&&e>=0&&e<=1}_updatePosition(t,e,i){let[o,n]=t??[0,this.totalFrames-1],[r,s]=e??[0,1];if(!this._areNumbersInRange(r,s)){ft("threshold values must be between 0 and 1");return}if(this.container){let{height:a,top:l}=this.container.getBoundingClientRect(),d=window.innerHeight-l,u=window.innerHeight+a,h=d/u,p=o+Math.round((h-r)/(s-r)*(n-o));i&&i(h),this.goToAndStop(p,!0),(p>=n||h>=s)&&this._handleAnimationComplete()}this._scrollTicking=!1}_requestTick(t,e,i){this._scrollTicking||(requestAnimationFrame(()=>this._updatePosition(t,e,i)),this._scrollTicking=!0)}playOnScroll(t){this.stop(),this._scrollCallback&&this.stopPlayOnScroll(),this._scrollCallback=()=>this._requestTick(t==null?void 0:t.segments,t==null?void 0:t.threshold,t==null?void 0:t.positionCallback),window.addEventListener("scroll",this._scrollCallback)}stopPlayOnScroll(){this._scrollCallback&&(window.removeEventListener("scroll",this._scrollCallback),this._scrollCallback=void 0)}stopPlayOnShow(){this._onShowIntersectionObserver&&(this._onShowIntersectionObserver.disconnect(),this._onShowIntersectionObserver=void 0)}addIntersectionObserver(t){if(!this.container)throw b("Can't play on show, player container element not available.");let e={root:null,rootMargin:"0px",threshold:t!=null&&t.threshold?t.threshold:[0,1]},i=o=>{o.forEach(n=>{var r,s;this._visibilityPercentage=n.intersectionRatio*100,n.isIntersecting?(t!=null&&t.callbackOnIntersect&&t.callbackOnIntersect(this._visibilityPercentage),(r=this._container)==null||r.dispatchEvent(new Event("visibilityChange"))):t!=null&&t.callbackOnIntersect&&(t.callbackOnIntersect(0),(s=this._container)==null||s.dispatchEvent(new Event("visibilityChange")))})};this._onShowIntersectionObserver=new IntersectionObserver(i,e),this._onShowIntersectionObserver.observe(this.container)}playOnShow(t){var e;if(this.stop(),!this.container)throw b("Can't play on show, player container element not available.");this._onShowIntersectionObserver&&this.stopPlayOnShow(),this.addIntersectionObserver({threshold:(e=t==null?void 0:t.threshold)!=null?e:[],callbackOnIntersect:i=>{i===0?this.pause():this.play()}})}_validatePlaybackOptions(t){if(!t)return{};let e={};
vendor: 6,955 bytes, line 435
435for(let[i,o]of Object.entries(t))switch(i){case"autoplay":typeof o=="boolean"&&(e.autoplay=o);break;case"direction":typeof o=="number"&&[1,-1].includes(o)&&(e.direction=o);break;case"loop":(typeof o=="boolean"||typeof o=="number")&&(e.loop=o);break;case"playMode":typeof o=="string"&&["normal","bounce"].includes(o)&&(e.playMode=o);break;case"speed":typeof o=="number"&&(e.speed=o);break;case"themeColor":typeof o=="string"&&(e.themeColor=o);break;case"hover":typeof o=="boolean"&&(e.hover=o);break;case"intermission":typeof o=="number"&&(e.intermission=o);break;case"defaultTheme":typeof o=="string"&&(e.defaultTheme=o);break}return this._requireValidPlaybackOptions(e),e}_requireAnimationsInTheManifest(){var t;if(!((t=this._dotLottieLoader.manifest)!=null&&t.animations.length))throw b("No animations found in manifest.")}_requireAnimationsToBeLoaded(){if(this._dotLottieLoader.animationsMap.size===0)throw b("No animations have been loaded.")}async play(t,e){var i,o;if(["initial","loading"].includes(this._currentState)){$("Player unable to play whilst loading.");return}if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),this._lottie&&!t){this._lottie.playDirection===-1&&this._lottie.currentFrame===0?this._lottie.goToAndPlay(this._lottie.totalFrames,!0):this._lottie.play(),this.setCurrentState("playing");return}if(typeof t=="number"){let n=(i=this._dotLottieLoader.manifest)==null?void 0:i.animations[t];if(!n)throw b("animation not found.");typeof e=="function"?await this.render({id:n.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(n))}):await this.render({id:n.id})}if(typeof t=="string"){let n=(o=this._dotLottieLoader.manifest)==null?void 0:o.animations.find(r=>r.id===t);if(!n)throw b("animation not found.");typeof e=="function"?await this.render({id:n.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(n))}):await this.render({id:n.id})}}playSegments(t,e){if(!this._lottie||["loading"].includes(this._currentState)){$("playSegments() Can't use whilst loading.");return}this._lottie.playSegments(t,e),this.setCurrentState("playing")}resetSegments(t){if(!this._lottie||["loading"].includes(this._currentState)){$("resetSegments() Can't use whilst loading.");return}this._lottie.resetSegments(t)}togglePlay(){this.currentState==="playing"?this.pause():this.play()}_getAnimationByIdOrIndex(t){var e,i;if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),typeof t=="number"){let o=(e=this._dotLottieLoader.manifest)==null?void 0:e.animations[t];if(!o)throw b("animation not found.");return o}if(typeof t=="string"){let o=(i=this._dotLottieLoader.manifest)==null?void 0:i.animations.find(n=>n.id===t);if(!o)throw b("animation not found.");return o}throw b("first param must be a number or string")}get activeAnimationId(){return this._getActiveAnimationId()}get currentAnimationId(){return this._currentAnimationId}get activeStateId(){return this._activeStateId}async _startInteractivity(t){if(!this._inInteractiveMode){ft("Can't start interactivity. Not in interactive mode. Call enterInteractiveMode(stateId: string) to start.");return}if(this._dotLottieLoader.stateMachinesMap.size===0&&await this._dotLottieLoader.getStateMachines(),this._dotLottieLoader.stateMachinesMap.size===0)throw b("No interactivity states are available.");if(t==="undefined")throw b("stateId is not specified.");this._stateMachineManager||(this._stateMachineManager=await Ln(Array.from(this._dotLottieLoader.stateMachinesMap.values()),this)),this._stateMachineManager.start(t)}enterInteractiveMode(t){var e;if(t)this._inInteractiveMode||(this._prevUserPlaybackOptions={...this._userPlaybackOptions}),this._inInteractiveMode&&((e=this._stateMachineManager)==null||e.stop()),this._activeStateId=t,this._inInteractiveMode=!0,this._startInteractivity(t);else throw b("stateId must be a non-empty string.")}exitInteractiveMode(){var t;this._inInteractiveMode&&(this._inInteractiveMode=!1,this._activeStateId="",(t=this._stateMachineManager)==null||t.stop(),this._userPlaybackOptions={},this._userPlaybackOptions={...this._prevUserPlaybackOptions},this._prevUserPlaybackOptions={},this.reset())}reset(){var t;let e=this._getActiveAnimationId(),i=(t=this._dotLottieLoader.manifest)==null?void 0:t.animations.find(o=>o.id===e);if(this._inInteractiveMode&&this.exitInteractiveMode(),!i)throw b("animation not found.");this.play(e)}previous(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw b("manifest not found.");if(this._inInteractiveMode){$("previous() is not supported in interactive mode.");return}let e=this._dotLottieLoader.manifest.animations.findIndex(o=>o.id===this._currentAnimationId);if(e===-1)throw b("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e-1+this._dotLottieLoader.manifest.animations.length)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw b("animation not found.");typeof t=="function"?this.render({id:i.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):this.render({id:i.id})}next(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw b("manifest not found.");if(this._inInteractiveMode){$("next() is not supported in interactive mode.");return}let e=this._dotLottieLoader.manifest.animations.findIndex(o=>o.id===this._currentAnimationId);if(e===-1)throw b("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e+1)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw b("animation not found.");typeof t=="function"?this.render({id:i.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):this.render({id:i.id})}getManifest(){return this._dotLottieLoader.manifest}resize(){if(!this._lottie||["loading"].includes(this._currentState)){$("resize() Can't use whilst loading.");return}this._lottie.resize()}stop(){if(!this._lottie||["loading"].includes(this._currentState)){$("stop() Can't use whilst loading.");return}this.clearCountTimer(),this._counter=0,this._setPlayerState(()=>({direction:this._getOption("direction")})),this._lottie.stop(),this.setCurrentState("stopped")}pause(){if(!this._lottie||["loading"].includes(this._currentState)){$("pause() Can't use whilst loading.");return}this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused")}freeze(){if(!this._lottie||["loading"].includes(this._currentState)){$("freeze() Can't use whilst loading.");return}this.currentState!=="frozen"&&(this._stateBeforeFreeze=this.currentState),this._lottie.pause(),this.setCurrentState("frozen")}unfreeze(){if(!this._lottie||["loading"].includes(this._currentState)){$("unfreeze() Can't use whilst loading.");return}this._stateBeforeFreeze==="playing"?this.play():this.pause()}destroy(){var t,e;(t=this._container)!=null&&t.__lottie&&(this._container.__lottie.destroy(),this._container.__lottie=null),this._audios.length&&(this._audios.forEach(i=>
435{i.unload()}),this._audios=[]),this.clearCountTimer(),typeof document<"u"&&document.removeEventListener("visibilitychange",()=>this._onVisibilityChange()),this._counter=0,(e=this._lottie)==null||e.destroy(),this._lottie=void 0}getAnimationInstance(){return this._lottie}static getLottieWebVersion(){return`${Sn.dependencies["lottie-web"]}`}addEventListener(t,e){var i,o,n;this._listeners.has(t)||this._listeners.set(t,new Set),(i=this._listeners.get(t))==null||i.add(e);try{t==="complete"?(o=this._container)==null||o.addEventListener(t,e):(n=this._lottie)==null||n.addEventListener(t,e)}catch(r){ft(`addEventListener ${r}`)}}getState(){var t,e,i,o,n,r,s;return{autoplay:(e=(t=this._lottie)==null?void 0:t.autoplay)!=null?e:!1,currentState:this._currentState,frame:this._frame,visibilityPercentage:this._visibilityPercentage,seeker:this._seeker,direction:(o=(i=this._lottie)==null?void 0:i.playDirection)!=null?o:1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:(r=(n=this._lottie)==null?void 0:n.playSpeed)!=null?r:1,background:this._background,intermission:this._intermission,defaultTheme:this._defaultTheme,currentAnimationId:this._currentAnimationId,activeStateId:(s=this._activeStateId)!=null?s:""}}_notify(){this.state.setState(this.getState())}get totalFrames(){var t;return((t=this._lottie)==null?void 0:t.totalFrames)||0}get direction(){return this._lottie?this._lottie.playDirection:1}setDirection(t){this._requireValidDirection(t),this._setPlayerState(()=>({direction:t})),this._userPlaybackOptions.direction=t}get speed(){var t;return((t=this._lottie)==null?void 0:t.playSpeed)||1}setSpeed(t){this._requireValidSpeed(t),this._setPlayerState(()=>({speed:t})),this._userPlaybackOptions.speed=t}get autoplay(){var t,e;return(e=(t=this._lottie)==null?void 0:t.autoplay)!=null?e:!1}setAutoplay(t){if(this._requireValidAutoplay(t),!this._lottie||["loading"].includes(this._currentState)){$("setAutoplay() Can't use whilst loading.");return}this._setPlayerState(()=>({autoplay:t})),this._userPlaybackOptions.autoplay=t}toggleAutoplay(){if(!this._lottie||["loading"].includes(this._currentState)){$("toggleAutoplay() Can't use whilst loading.");return}this.setAutoplay(!this._lottie.autoplay)}get defaultTheme(){return this._defaultTheme}setDefaultTheme(t){this._setPlayerState(()=>({defaultTheme:t})),this._userPlaybackOptions.defaultTheme=t,this._animation&&this.render()}get loop(){return this._loop}setLoop(t){this._requireValidLoop(t),this._setPlayerState(()=>({loop:t})),this._userPlaybackOptions.loop=t}toggleLoop(){if(!this._lottie||["loading"].includes(this._currentState)){$("toggleLoop() Can't use whilst loading.");return}this.setLoop(!this._loop)}get background(){return this._background}setBackground(t){this._requireValidBackground(t),this._background=t,this._container&&(this._container.style.backgroundColor=t)}get _frame(){return this._lottie?this.currentState==="completed"?this.direction===-1?0:this._lottie.totalFrames:this._lottie.currentFrame:0}get _seeker(){return this._lottie?this._frame/this._lottie.totalFrames*100:0}async revertToManifestValues(t){var e;let i;!Array.isArray(t)||t.length===0?i=["autoplay","defaultTheme","direction","hover","intermission","loop","playMode","speed","activeAnimationId"]:i=t;let o=!1;if(i.includes("activeAnimationId")){let n=(e=this._dotLottieLoader.manifest)==null?void 0:e.activeAnimationId,r=this._getAnimationByIdOrIndex(n||0);this._activeAnimationId=n,await this._setCurrentAnimation(r.id),o=!0}i.forEach(n=>{switch(n){case"autoplay":delete this._userPlaybackOptions.autoplay,this.setAutoplay(this._getOption("autoplay"));break;case"defaultTheme":delete this._userPlaybackOptions.defaultTheme,this.setDefaultTheme(this._getOption("defaultTheme"));break;case"direction":delete this._userPlaybackOptions.direction,this.setDirection(this._getOption("direction"));break;case"hover":delete this._userPlaybackOptions.hover,this.setHover(this._getOption("hover"));break;case"intermission":delete this._userPlaybackOptions.intermission,this.setIntermission(this._getOption("intermission"));break;case"loop":delete this._userPlaybackOptions.loop,this.setLoop(this._getOption("loop"));break;case"playMode":delete this._userPlaybackOptions.playMode,this.setMode(this._getOption("playMode")),this.setDirection(this._getOption("direction"));break;case"speed":delete this._userPlaybackOptions.speed,this.setSpeed(this._getOption("speed"));break}}),o&&this.render()}removeEventListener(t,e){var i,o,n;try{t==="complete"?(i=this._container)==null||i.removeEventListener(t,e):(o=this._lottie)==null||o.removeEventListener(t,e),(n=this._listeners.get(t))==null||n.delete(e)}catch(r){ft("removeEventListener",r)}}_handleAnimationComplete(){var t;typeof this._loop=="number"&&this.stop();let e=this.direction===-1?0:this.totalFrames-1;this.goToAndStop(e,!0),this._counter=0,this.clearCountTimer(),this.setCurrentState("completed"),(t=this._container)==null||t.dis
vendor: 4,831 bytes, line 435
435patchEvent(new Event("complete"))}addEventListeners(){var t;if(!this._lottie||["loading"].includes(this._currentState)){$("addEventListeners() Can't use whilst loading.");return}this._lottie.addEventListener("enterFrame",()=>{var e;if(!this._lottie){$("enterFrame event : Lottie is undefined.");return}Math.floor(this._lottie.currentFrame)===0&&this.direction===-1&&((e=this._container)==null||e.dispatchEvent(new Event("complete")),this.loop||this.setCurrentState("completed")),this._notify()}),this._lottie.addEventListener("loopComplete",()=>{var e;if(!this._lottie){$("loopComplete event : Lottie is undefined.");return}(e=this._container)==null||e.dispatchEvent(new Event("loopComplete")),this.intermission>0&&this.pause();let i=this._lottie.playDirection;if(typeof this._loop=="number"&&this._loop>0&&(this._counter+=this._mode==="bounce"?.5:1,this._counter>=this._loop)){this._handleAnimationComplete();return}this._mode==="bounce"&&typeof i=="number"&&(i=Number(i)*-1);let o=i===-1?this._lottie.totalFrames-1:0;this.intermission?(this.goToAndPlay(o,!0),this.pause(),this._counterInterval=window.setTimeout(()=>{this._lottie&&(this._setPlayerState(()=>({direction:i})),this.goToAndPlay(o,!0))},this._intermission)):(this._setPlayerState(()=>({direction:i})),this.goToAndPlay(i===-1?this.totalFrames-1:0,!0))}),this._lottie.addEventListener("complete",()=>{if(this._lottie&&this._loop===!1&&this._mode==="bounce"){if(this._counter+=.5,this._counter>=1){this._handleAnimationComplete();return}this._counterInterval=window.setTimeout(()=>{if(!this._lottie)return;let e=this._lottie.playDirection;this._mode==="bounce"&&typeof e=="number"&&(e=Number(e)*-1);let i=e===-1?this.totalFrames-1:0;this._setPlayerState(()=>({direction:e})),this.goToAndPlay(i,!0)},this._intermission)}else this._handleAnimationComplete()});for(let[e,i]of this._listeners)if(e==="complete")for(let o of i)(t=this._container)==null||t.addEventListener(e,o);else for(let o of i)this._lottie.addEventListener(e,o)}async _setCurrentAnimation(t){this._currentState="loading";let e=await this._dotLottieLoader.getAnimation(t);this._currentAnimationId=t,this._animation=e,this._currentState="ready"}async _getAudioFactory(){if(this._animation&&mn(this._animation)){let{DotLottieAudio:t}=await et(()=>import("./dotlottie-audio-75C54RUV-BPC1HCLK.js"),[]);return e=>{let i=new t({src:[e]});return this._audios.push(i),i}}return null}async render(t){var e,i,o,n,r,s,a,l,d,u,h,p,c,v,f,_,m,L;if(t!=null&&t.id)await this._setCurrentAnimation(t.id);else if(!this._animation)throw b("no animation selected");let y=(e=q.loop)!=null?e:!1,M=(i=q.autoplay)!=null?i:!1,T=(o=q.playMode)!=null?o:"normal",F=(n=q.intermission)!=null?n:0,x=(r=q.hover)!=null?r:!1,S=(s=q.direction)!=null?s:1,z=(a=q.speed)!=null?a:1,W=(l=q.defaultTheme)!=null?l:"";y=(d=t==null?void 0:t.loop)!=null?d:this._getOption("loop"),M=(u=t==null?void 0:t.autoplay)!=null?u:this._getOption("autoplay"),T=(h=t==null?void 0:t.playMode)!=null?h:this._getOption("playMode"),F=(p=t==null?void 0:t.intermission)!=null?p:this._getOption("intermission"),x=(c=t==null?void 0:t.hover)!=null?c:this._getOption("hover"),S=(v=t==null?void 0:t.direction)!=null?v:this._getOption("direction"),z=(f=t==null?void 0:t.speed)!=null?f:this._getOption("speed"),W=(_=t==null?void 0:t.defaultTheme)!=null?_:this._getOption("defaultTheme");let U={...this._animationConfig,autoplay:x?!1:M,loop:typeof y=="number"?!0:y,renderer:this._worker?"svg":(m=this._animationConfig.renderer)!=null?m:"svg"},[B,j,H]=await Promise.all([this._dotLottieLoader.getTheme(W),this._getLottiePlayerInstance(),this._getAudioFactory()]);if(B&&this._animation?(this._animation=se(this._animation),this._animation.slots=B):this._animation=await this._dotLottieLoader.getAnimation((L=this._currentAnimationId)!=null?L:""),this._activeStateId&&!this._inInteractiveMode){this.enterInteractiveMode(this._activeStateId);return}this.destroy(),this._setPlayerState(()=>({defaultTheme:W,playMode:T,intermission:F,hover:x,loop:y})),H?this._lottie=j.loadAnimation({...U,container:this._container,animationData:this._animation,audioFactory:H}):this._lottie=j.loadAnimation({...U,container:this._container,animationData:this._animation}),typeof this._lottie.resetSegments>"u"&&(this._lottie.resetSegments=()=>{var N;(N=this._lottie)==null||N.playSegments([0,this._lottie.totalFrames],!0)}),this.addEventListeners(),this._container&&(this._container.__lottie=this._lottie),this._setPlayerState(()=>({direction:S,speed:z})),M&&!x&&(y===!1&&S===-1?this.play():this.setCurrentState("playing")),this._updateTestData()}async _getLottiePlayerInstance(){var t;let e=(t=this._animationConfig.renderer)!=null?t:"svg",i;if(this._worker)return e!=="svg"&&$("Worker is only supported with svg renderer. Change or remove renderer prop to get rid of this warning."),i=await et(()=>
435import("./lottie_worker-Q23FJ6ZR-YP5OKMTN-BcCCeoDk.js"),[]),i.default;switch(e){case"svg":{this._light?i=await et(()=>import("./lottie_light-KMJEUZFY-TNG7ODX7-CsIZJce4.js"),[]):i=await et(()=>import("./lottie_svg-MJGYILXD-NRTSROOT-CGcicf5t.js"),[]);break}case"canvas":{this._light?i=await et(()=>import("./lottie_light_canvas-B5UTTNXA-PRI6IBWW-p35sp1q_.js"),[]):i=await et(()=>import("./lottie_canvas-CDSUBMCL-MZNYH5VV-BFNAbfGX.js"),[]);break}case"html":{this._light?i=await et(()=>import("./lottie_light_html-SLCECTRT-SYWXEBDN-CctfLfPp.js"),[]):i=await et(()=>import("./lottie_html-X3TYKVQI-L6774NQS-BFQszRU6.js"),[]);break}default:throw new Error(`Invalid renderer: ${e}`)}return i.default}_getActiveAnimationId(){var t,e,i,o;let n=this._dotLottieLoader.manifest;return(o=(i=(t=this._activeAnimationId)!=null?t:n==null?void 0:n.activeAnimationId)!=null?i:(e=n==null?void 0:n.animations[0])==null?void 0:e.id)!=null?o:void 0}async load(t){if(this._currentState==="loading"){$("Loading in progress..");return}try{if(this.setCurrentState("loading"),typeof this._src=="string")if(_n(this._src)){let i=JSON.parse(this._src);this._dotLottieLoader.loadFromLottieJSON(i)}else{let i=new URL(this._src,window.location.href);await this._dotLottieLoader.loadFromUrl(i.toString())}else if(typeof this._src=="object"&&Bt(this._src))this._dotLottieLoader.loadFromLottieJSON(this._src);else throw b("Invalid src provided");if(!this._dotLottieLoader.manifest)throw b("No manifest found");let e=this._getActiveAnimationId();if(!e)throw b("No active animation found");await this._setCurrentAnimation(e),await this.render(t)}catch(e){this.setCurrentState("error"),e instanceof Error&&ft(`Error loading animation: ${e.message}`)}}setErrorState(t){this.setCurrentState("error"),ft(t)}_requireValidDirection(t){if(t!==-1&&t!==1)throw b("Direction can only be -1 (backwards) or 1 (forwards)")}_requireValidIntermission(t){if(t<0||!Number.isInteger(t))throw b("intermission must be a positive number")}_requireValidLoop(t){if(typeof t=="number"&&(!Number.isInteger(t)||t<0))throw b("loop must be a positive number or boolean")}_requireValidSpeed(t){if(typeof t!="number")throw b("speed must be a number")}_requireValidBackground(t){if(typeof t!="string")throw b("background must be a string")}_requireValidAutoplay(t){if(typeof t!="boolean")throw b("autoplay must be a boolean")}_requireValidPlaybackOptions(t){t.direction&&this._requireValidDirection(t.direction),t.intermission&&this._requireValidIntermission(t.intermission),t.loop&&this._requireValidLoop(t.loop),t.speed&&this._requireValidSpeed(t.speed)}},$n=Object.defineProperty,I=(t,e,i,o)=>{for(var n=void 0,r=t.length-1,s;r>=0;r--)(s=t[r])&&(n=s(e,i,n)||n);return n&&$n(e,i,n),n},An=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}},kn=(t,e,i)=>{e.constructor.createProperty(i,t)};function O(t){return(e,i)=>i!==void 0?kn(t,e,i):An(t,e)}function xn(t){return O({...t,state:!0})}var In=({finisher:t,descriptor:e})=>(i,o)=>{var n;if(o===void 0){let r=(n=i.originalKey)!==null&&n!==void 0?n:i.key,s=e!=null?{kind:"method",placement:"prototype",key:r,descriptor:e(i.key)}:{...i,key:r};return t!=null&&(s.finisher=function(a){t(a,r)}),s}{let r=i.constructor;e!==void 0&&Object.defineProperty(i,o,e(o)),t==null||t(r,o)}};function Pn(t,e){return In({descriptor:i=>({get(){var n,r;return(r=(n=this.renderRoot)===null||n===void 0?void 0:n.querySelector(t))!==null&&r!==void 0?r:null},enumerable:!0,configurable:!0})})}var ae;((ae=window.HTMLSlotElement)===null||ae===void 0?void 0:ae.prototype.assignedElements)!=null;var On={version:"2.7.12"},ri="dotlottie-player",k=class extends $t{defaultTheme="";container;playMode=Oe.Normal;autoplay=!1;background="transparent";controls=!1;direction=1;hover=!1;loop;renderer="svg";speed=1;src;intermission=0;activeAnimationId=null;light=!1;worker=!1;activeStateId;_seeker=0;_dotLottieCommonPlayer;_io;_loop;_renderer="svg";_unsubscribeListeners;_hasMultipleAnimations=!1;_hasMultipleThemes=!1;_hasMultipleStates=!1;_popoverIsOpen=!1;_animationsTabIsOpen=!1;_statesTabIsOpen=!1;_styleTabIsOpen=!1;_themesForCurrentAnimation=[];_statesForCurrentAnimation=[];_parseLoop(t){let e=parseInt(t,10);return Number.isInteger(e)&&e>0?(this._loop=e,e):typeof t=="string"&&["true","false"].includes(t)?(this._loop=t==="true",this._loop):($("loop must be a positive integer or a boolean"),!1)}_handleSeekChange(t){let e=t.currentTarget;try{let i=parseInt(e.value,10);if(!this._dotLottieCommonPlayer)return;let o=i/100*this._dotLottieCommonPlayer.totalFrames;this.seek(o)}catch{throw b("Error while seeking animation")}}_initListeners(){let t=this._dotLottieCommonPlayer;if(t===void 0){$("player not initialized - cannot add event listeners","dotlottie-player-component");return}this._unsubscribeListeners=t.state.subscribe((e,i)=>{this._seeker=e.seeker,this.requestUpdate(),i.currentState!==e.currentState&&this.dispatchEvent(new CustomEvent(e.currentState)),this.dispatchEvent(new CustomEvent(nt.Frame,{detail:{frame:e.frame,seeker:e.seeker}})),this.dispatchEvent(new CustomEvent(nt.VisibilityChange,{detail:{visibilityPercentage:e.visibilityPercentage}}))}),t.addEventListener("complete",()=>{this.dispatchEvent(new CustomEvent(nt.Complete))}),t.addEventListener("loopComplete",()=>{this.dispatchEvent(new CustomEvent(nt.LoopComplete))}),t.addEventListener("DOMLoaded",()=>{let e=this.getManifest();e&&e.themes&&(this._themesForCurrentAnimation=e.themes.filter(i=>i.animations.includes(this.getCurrentAnimationId()||""))),e&&e.states&&(this._hasMultipleStates=e.states.length>
4350,this._statesForCurrentAnimation=[],e.states.forEach(i=>{this._statesForCurrentAnimation.push(i)})),this.dispatchEvent(new CustomEvent(nt.Ready))}),t.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(nt.DataReady))}),t.addEventListener("data_failed",()=>{this.dispatchEvent(new CustomEvent(nt.DataFail))}),window&&window.addEventListener("click",e=>this._clickOutListener(e))}async load(t,e,i){if(!this.shadowRoot)return;this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.destroy(),this._dotLottieCommonPlayer=new ni(t,this.container,{rendererSettings:e??{scaleMode:"noScale",clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0},hover:this.hasAttribute("hover")?this.hover:void 0,renderer:this.hasAttribute("renderer")?this._renderer:void 0,loop:this.hasAttribute("loop")?this._loop:void 0,direction:this.hasAttribute("direction")?this.direction===1?1:-1:void 0,speed:this.hasAttribute("speed")?this.speed:void 0,intermission:this.hasAttribute("intermission")?Number(this.intermission):void 0,playMode:this.hasAttribute("playMode")?this.playMode:void 0,autoplay:this.hasAttribute("autoplay")?this.autoplay:void 0,activeAnimationId:this.hasAttribute("activeAnimationId")?this.activeAnimationId:void 0,defaultTheme:this.hasAttribute("defaultTheme")?this.defaultTheme:void 0,light:this.light,worker:this.worker,activeStateId:this.hasAttribute("activeStateId")?this.activeStateId:void 0}),await this._dotLottieCommonPlayer.load(i);let o=this.getManifest();this._hasMultipleAnimations=this.animationCount()>1,o&&(o.themes&&(this._themesForCurrentAnimation=o.themes.filter(n=>n.animations.includes(this.getCurrentAnimationId()||"")),this._hasMultipleThemes=o.themes.length>0),o.states&&(this._hasMultipleStates=o.states.length>0,this._statesForCurrentAnimation=[],o.states.forEach(n=>{this._statesForCurrentAnimation.push(n)}))),this._initListeners()}getCurrentAnimationId(){var t;return(t=this._dotLottieCommonPlayer)==null?void 0:t.currentAnimationId}animationCount(){var t;return this._dotLottieCommonPlayer&&((t=this._dotLottieCommonPlayer.getManifest())==null?void 0:t.animations.length)||0}animations(){if(!this._dotLottieCommonPlayer)return[];let t=this._dotLottieCommonPlayer.getManifest();return(t==null?void 0:t.animations.map(e=>e.id))||[]}currentAnimation(){return!this._dotLottieCommonPlayer||!this._dotLottieCommonPlayer.currentAnimationId?"":this._dotLottieCommonPlayer.currentAnimationId}getState(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getState():zi}getManifest(){var t;return(t=this._dotLottieCommonPlayer)==null?void 0:t.getManifest()}getLottie(){var t;return(t=this._dotLottieCommonPlayer)==null?void 0:t.getAnimationInstance()}getVersions(){return{lottieWebVersion:ni.getLottieWebVersion(),dotLottiePlayerVersion:`${On.version}`}}previous(t){var e;(e=this._dotLottieCommonPlayer)==null||e.previous(t)}next(t){var e;(e=this._dotLottieCommonPlayer)==null||e.next(t)}reset(){var t;(t=this._dotLottieCommonPlayer)==null||t.reset()}play(t,e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.play(t,e)}pause(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.pause()}stop(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stop()}playOnShow(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnShow(t)}stopPlayOnShow(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnShow()}playOnScroll(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnScroll(t)}stopPlayOnScroll(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnScroll()}seek(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.seek(t)}snapshot(t=!0){if(!this.shadowRoot)return"";let e=this.shadowRoot.querySelector(".animation svg"),i=new XMLSerializer().serializeToString(e);if(t){let o=document.createElement("a");o.href=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(i)}`,o.download=`download_${this._seeker}.svg`,document.body.appendChild(o),o.click(),document.body.removeChild(o)}return i}setTheme(t){var e;(e=this._dotLottieCommonPlayer)==null||e.setDefaultTheme(t)}themes(){var t;if(!this._dotLottieCommonPlayer)return[];let e=this._dotLottieCommonPlayer.getManifest();return((t=e==null?void 0:e.themes)==null?void 0:t.map(i=>i.id))||[]}getDefaultTheme(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.defaultTheme:""}getActiveStateMachine(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.activeStateId:""}_freeze(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.freeze()}setSpeed(t=1){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setSpeed(t)}setDirection(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setDirection(t)}setLooping(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setLoop(t)}isLooping(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.loop:!1}togglePlay(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.togglePlay()}toggleLooping(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.toggleLoop()}setPlayMode(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setMode(t)}enterInteractiveMode(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.enterInteractiveMode(t)}exitInteractiveMode(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.exitInteractiveMode()}revertToManifestValues(t){var e;(e=this._dotLottieCommonPlayer)==null||e.revertToManifestValues(t)}static get styles(){return io}async firstUpdated(){var t;this.container=(t=this.shadowRoot)==null?void 0:t.querySelector("#animation"),"IntersectionObserver"in window&&(this._io=new IntersectionObserver(e=>{var i,o;e[0]!==void 0&&e[0].isIntersecting?((i=this._dotLottieCommonPlayer)==null?void 0:i.currentState)===mt.Frozen&&this.play():((o=this._dotLottieCommonPlayer)==null?void 0:o.currentState)===mt.Playing&&this._freeze()}),this._io.observe(this.container)),this.loop?this._parseLoop(this.loop):this.hasAttribute("loop")&&this._parseLoop("true"),this.renderer==="svg"?this._renderer="svg":this.renderer==="canvas"?this._renderer="canvas":this.renderer==="html"&&(this._renderer="html"),this.src&&await this.load(this.src)}disconnectedCallback(){var t,e;this._io&&(this._io.disconnect(),this._io=void 0),(t=this._dotLottieCommonPlayer)==null||t.destroy(),(e=this._unsubscribeListeners)==null||e.call(this),window&&window.removeEventListener("click",i=>this._clickOutListener(i))}_clickOutListener(t){!t.composedPath().some(e=>e instanceof HTMLElement?e.classList.contains("popover")||e.id==="lottie-animation-options":!1)&&this._popoverIsOpen&&(this._popoverIsOpen=!1,this.requestUpdate())}renderControls(){var t,e,i,o,n;let r=((t=this._dotLottieCommonPlayer)==null?void 0:t.currentState)===mt.Playing,s=((e=this._dotLottieCommonPlayer)==null?void 0:e.currentState)===mt.Paused;return g`
436 <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar"> 437 ${this._hasMultipleAnimations?g` 438 <button @click=${()=>this.previous()} aria-label="Previous animation" class="btn-spacing-left"> 439 <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 440 <path 441 fill-rule="evenodd" 442 clip-rule="evenodd" 443 d="M1.69214 13.5C1.69214 13.7761 1.916 14 2.19214 14C2.46828 14 2.69214 13.7761 2.69214 13.5L2.69214 2.5C2.69214 2.22386 2.46828 2 2.19214 2C1.916 2 1.69214 2.22386 1.69214 2.5V13.5ZM12.5192 13.7828C13.1859 14.174 14.0254 13.6933 14.0254 12.9204L14.0254 3.0799C14.0254 2.30692 13.1859 1.8262 12.5192 2.21747L4.13612 7.13769C3.47769 7.52414 3.47769 8.4761 4.13612 8.86255L12.5192 13.7828Z" 444 fill="#20272C" 445 /> 446 </svg> 447 </button> 448 `:g``} 449 <button 450 id="lottie-play-button" 451 @click=${()=>{this.togglePlay()}} 452 class=${r||s?`active ${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`:`${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`} 453 aria-label="play / pause animation" 454 > 455 ${r?g` 456 <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 457 <path 458 d="M3.99996 2C3.26358 2 2.66663 2.59695 2.66663 3.33333V12.6667C2.66663 13.403 3.26358 14 3.99996 14H5.33329C6.06967 14 6.66663 13.403 6.66663 12.6667V3.33333C6.66663 2.59695 6.06967 2 5.33329 2H3.99996Z" 459 fill="#20272C" 460 /> 461 <path 462 d="M10.6666 2C9.93025 2 9.33329 2.59695 9.33329 3.33333V12.6667C9.33329 13.403 9.93025 14 10.6666 14H12C12.7363 14 13.3333 13.403 13.3333 12.6667V3.33333C13.3333 2.59695 12.7363 2 12 2H10.6666Z" 463 fill="#20272C" 464 /> 465 </svg> 466 `:g` 467 <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 468 <path 469 d="M3.33337 3.46787C3.33337 2.52312 4.35948 1.93558 5.17426 2.41379L12.8961 6.94592C13.7009 7.41824 13.7009 8.58176 12.8961 9.05408L5.17426 13.5862C4.35948 14.0644 3.33337 13.4769 3.33337 12.5321V3.46787Z" 470 fill="#20272C" 471 /> 472 </svg> 473 `} 474 </button> 475 ${this._hasMultipleAnimations?g` 476 <button @click=${()=>this.next()} aria-label="Next animation" class="btn-spacing-right"> 477 <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 478 <path 479 fill-rule="evenodd" 480 clip-rule="evenodd" 481 d="M14.3336 2.5C14.3336 2.22386 14.1097 2 13.8336 2C13.5574 2 13.3336 2.22386 13.3336 2.5V13.5C13.3336 13.7761 13.5574 14 13.8336 14C14.1097 14 14.3336 13.7761 14.3336 13.5V2.5ZM3.50618 2.21722C2.83954 1.82595 2 2.30667 2 3.07965V12.9201C2 13.6931 2.83954 14.1738 3.50618 13.7825L11.8893 8.86231C12.5477 8.47586 12.5477 7.52389 11.8893 7.13745L3.50618 2.21722Z" 482 fill="#20272C" 483 /> 484 </svg> 485 </button> 486 `:g``} 487 <input 488 id="lottie-seeker-input" 489 class="seeker ${((i=this._dotLottieCommonPlayer)==null?void 0:i.direction)===-1?"to-left":""}" 490 type="range" 491 min="0" 492 step="1" 493 max="100" 494 .value=${this._seeker} 495 @input=${a=>this._handleSeekChange(a)} 496 @mousedown=${()=>{this._freeze()}} 497 @mouseup=${()=>{var a;(a=this._dotLottieCommonPlayer)==null||a.unfreeze()}} 498 aria-valuemin="1" 499 aria-valuemax="100" 500 role="slider" 501 aria-valuenow=${this._seeker} 502 aria-label="lottie-seek-input" 503 style=${`--seeker: ${this._seeker}`} 504 /> 505 <button 506 id="lottie-loop-toggle" 507 @click=${()=>this.toggleLooping()} 508 class=${(o=this._dotLottieCommonPlayer)!=null&&o.loop?"active btn-spacing-left":"btn-spacing-left"} 509 aria-label="loop-toggle" 510 >
511 <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 512 <path 513 d="M10.8654 2.31319C11.0607 2.11793 11.3772 2.11793 11.5725 2.31319L13.4581 4.19881C13.6534 4.39407 13.6534 4.71066 13.4581 4.90592L11.5725 6.79154C11.3772 6.9868 11.0607 6.9868 10.8654 6.79154C10.6701 6.59628 10.6701 6.27969 10.8654 6.08443L11.6162 5.33362H4V6.66695C4 7.03514 3.70152 7.33362 3.33333 7.33362C2.96514 7.33362 2.66666 7.03514 2.66666 6.66695L2.66666 4.66695C2.66666 4.29876 2.96514 4.00028 3.33333 4.00028H11.8454L10.8654 3.0203C10.6701 2.82504 10.6701 2.50846 10.8654 2.31319Z" 514 fill="currentColor" 515 /> 516 <path 517 d="M12.4375 11.9999C12.8057 11.9999 13.1042 11.7014 13.1042 11.3332V9.33321C13.1042 8.96502 12.8057 8.66655 12.4375 8.66655C12.0693 8.66655 11.7708 8.96502 11.7708 9.33321V10.6665H4.15462L4.90543 9.91573C5.10069 9.72047 5.10069 9.40389 4.90543 9.20862C4.71017 9.01336 4.39359 9.01336 4.19832 9.20862L2.31271 11.0942C2.11744 11.2895 2.11744 11.6061 2.31271 11.8013L4.19832 13.687C4.39359 13.8822 4.71017 13.8822 4.90543 13.687C5.10069 13.4917 5.10069 13.1751 4.90543 12.9799L3.92545 11.9999H12.4375Z" 518 fill="currentColor" 519 /> 520 </svg> 521 </button> 522 ${this._hasMultipleAnimations||this._hasMultipleThemes||this._hasMultipleStates?g` 523 <button 524 id="lottie-animation-options" 525 @click=${()=>{this._popoverIsOpen=!this._popoverIsOpen,this.requestUpdate()}} 526 aria-label="options" 527 class="btn-spacing-right" 528 style=${`background-color: ${this._popoverIsOpen?"var(--lottie-player-toolbar-icon-hover-color)":""}`} 529 > 530 <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> 531 <path 532 d="M8.33337 11.6666C7.78109 11.6666 7.33337 12.1143 7.33337 12.6666C7.33337 13.2189 7.78109 13.6666 8.33337 13.6666C8.88566 13.6666 9.33337 13.2189 9.33337 12.6666C9.33337 12.1143 8.88566 11.6666 8.33337 11.6666Z" 533 fill="#20272C" 534 /> 535 <path 536 d="M7.33337 7.99992C7.33337 7.44763 7.78109 6.99992 8.33337 6.99992C8.88566 6.99992 9.33338 7.44763 9.33338 7.99992C9.33338 8.5522 8.88566 8.99992 8.33337 8.99992C7.78109 8.99992 7.33337 8.5522 7.33337 7.99992Z" 537 fill="#20272C" 538 /> 539 <path 540 d="M7.33337 3.33325C7.33337 2.78097 7.78109 2.33325 8.33337 2.33325C8.88566 2.33325 9.33338 2.78097 9.33338 3.33325C9.33338 3.88554 8.88566 4.33325 8.33337 4.33325C7.78109 4.33325 7.33337 3.88554 7.33337 3.33325Z" 541 fill="#20272C" 542 /> 543 </svg> 544 </button> 545 `:g``} 546 </div> 547 ${this._popoverIsOpen?g` 548 <div 549 id="popover" 550 class="popover" 551 tabindex="0" 552 aria-label="lottie animations themes popover" 553 style="min-height: ${this.themes().length>0?"84px":"auto"}" 554 > 555 ${!this._animationsTabIsOpen&&!this._styleTabIsOpen&&!this._statesTabIsOpen?g` 556 <button 557 class="popover-button" 558 tabindex="0" 559 aria-label="animations" 560 @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate()}} 561 @keydown=${a=>{(a.code==="Space"||a.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate())}} 562 > 563 <div class="popover-button-text">Animations</div> 564 <div> 565 <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 566 <path 567 fill-rule="evenodd" 568 clip-rule="evenodd" 569 d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z" 570 fill="#4C5863" 571 /> 572 </svg> 573 </div> 574 </button> 575 `:g``} 576 ${this._hasMultipleThemes&&!this._styleTabIsOpen&&!this._animationsTabIsOpen&&!this._statesTabIsOpen?g` <button 577 class="popover-button" 578 aria-label="Themes" 579 @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate()}} 580 @keydown=${a=>{(a.code==="Space"||a.code==="Enter")&&(this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate())}} 581 > 582 <div class="popover-button-text">Themes</div> 583 <div> 584 <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 585 <path 586 fill-rule="evenodd" 587 clip-rule="evenodd" 588 d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z" 589 fill="#4C5863" 590 /> 591 </svg> 592 </div> 593 </button>`:""} 594 ${this._hasMultipleStates&&!this._styleTabIsOpen&&!this._animationsTabIsOpen&&!this._statesTabIsOpen?g` <button 595 class="popover-button" 596 aria-label="States" 597 @click=${()=>{this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate()}} 598 @keydown=${a=>{(a.code==="Space"||a.code==="Enter")&&(this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate())}} 599 > 600 <div class="popover-button-text">States</div> 601 <div> 602 <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 603 <path 604 fill-rule="evenodd" 605 clip-rule="evenodd" 606 d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z" 607 fill="#4C5863" 608 /> 609 </svg> 610 </div> 611 </button>`:""} 612 ${this._animationsTabIsOpen?g`<button 613 class="option-title-button" 614 aria-label="Back to main popover menu" 615 @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate()}} 616 > 617 <div class="option-title-chevron"> 618 <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 619 <path 620 fill-rule="evenodd" 621 clip-rule="evenodd" 622 d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z" 623 fill="#20272C" 624 /> 625 </svg> 626 </div> 627 <div>Animations</div> 628 </button> 629 <div class="option-title-separator"></div> 630 <div class="option-row"> 631 <ul> 632 ${this.animations().map(a=>g` 633 <li> 634 <button 635 class="option-button" 636 aria-label=${`${a}`} 637 @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(a),this.requestUpdate()}} 638 @keydown=${l=>{(l.code==="Space"||l.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(a),this.requestUpdate())}} 639 > 640 <div class="option-tick"> 641 ${this.currentAnimation()===a?g` 642 <svg 643 width="24" 644 height="24"
645 viewBox="0 0 24 24" 646 fill="none" 647 xmlns="http://www.w3.org/2000/svg" 648 > 649 <path 650 fill-rule="evenodd" 651 clip-rule="evenodd" 652 d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z" 653 fill="#20272C" 654 /> 655 </svg> 656 `:g`<div style="width: 24px; height: 24px"></div>`} 657 </div> 658 <div>${a}</div> 659 </button> 660 </li> 661 `)} 662 </ul> 663 </div> `:g``} 664 ${this._styleTabIsOpen?g`<div class="option-title-themes-row"> 665 <button 666 class="option-title-button themes" 667 aria-label="Back to main popover menu" 668 @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate()}} 669 > 670 <div class="option-title-chevron"> 671 <svg 672 width="24" 673 height="24"
674 viewBox="0 0 24 24" 675 fill="none" 676 xmlns="http://www.w3.org/2000/svg" 677 > 678 <path 679 fill-rule="evenodd" 680 clip-rule="evenodd" 681 d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z" 682 fill="#20272C" 683 /> 684 </svg> 685 </div> 686 <div class="option-title-text">Themes</div> 687 ${((n=this._dotLottieCommonPlayer)==null?void 0:n.defaultTheme)===""?g``:g` 688 <button 689 class="reset-btn" 690 @click=${()=>{this.setTheme(""),this.requestUpdate()}} 691 > 692 Reset 693 </button> 694 `} 695 </button> 696 </div> 697 <div class="option-title-separator"></div> 698 <div class="option-row"> 699 <ul> 700 ${this._themesForCurrentAnimation.map(a=>g` 701 <li> 702 <button 703 class="option-button" 704 aria-label="${a.id}" 705 @click=${()=>{this.setTheme(a.id)}} 706 @keydown=${l=>{(l.code==="Space"||l.code==="Enter")&&this.setTheme(a.id)}} 707 > 708 <div class="option-tick"> 709 ${this.getDefaultTheme()===a.id?g` 710 <svg 711 width="24" 712 height="24"
713 viewBox="0 0 24 24" 714 fill="none" 715 xmlns="http://www.w3.org/2000/svg" 716 > 717 <path 718 fill-rule="evenodd" 719 clip-rule="evenodd" 720 d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z" 721 fill="#20272C" 722 /> 723 </svg> 724 `:g`<div style="width: 24px; height: 24px"></div>`} 725 </div> 726 <div>${a.id}</div> 727 </button> 728 </li> 729 `)} 730 </ul> 731 </div>`:g``} 732 ${this._statesTabIsOpen?g`<div class="option-title-themes-row"> 733 <button 734 class="option-title-button themes" 735 aria-label="Back to main popover menu" 736 @click=${()=>{this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate()}} 737 > 738 <div class="option-title-chevron"> 739 <svg 740 width="24" 741 height="24"
742 viewBox="0 0 24 24" 743 fill="none" 744 xmlns="http://www.w3.org/2000/svg" 745 > 746 <path 747 fill-rule="evenodd" 748 clip-rule="evenodd" 749 d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z" 750 fill="#20272C" 751 /> 752 </svg> 753 </div> 754 <div class="option-title-text">States</div> 755 <button 756 class="reset-btn" 757 @click=${()=>{this.exitInteractiveMode(),this.requestUpdate()}} 758 > 759 Reset 760 </button> 761 </button> 762 </div> 763 <div class="option-title-separator"></div> 764 <div class="option-row"> 765 <ul> 766 ${this._statesForCurrentAnimation.map(a=>g` 767 <li> 768 <button 769 class="option-button" 770 aria-label="${a}" 771 @click=${()=>{this.enterInteractiveMode(a)}} 772 @keydown=${l=>{(l.code==="Space"||l.code==="Enter")&&this.enterInteractiveMode(a)}} 773 > 774 <div class="option-tick"> 775 ${this.getActiveStateMachine()===a?g` 776 <svg 777 width="24" 778 height="24"
779 viewBox="0 0 24 24" 780 fill="none" 781 xmlns="http://www.w3.org/2000/svg" 782 > 783 <path 784 fill-rule="evenodd" 785 clip-rule="evenodd" 786 d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z" 787 fill="#20272C" 788 /> 789 </svg> 790 `:g`<div style="width: 24px; height: 24px"></div>`} 791 </div> 792 <div>${a}</div> 793 </button> 794 </li> 795 `)} 796 </ul> 797 </div>`:g``} 798 </div> 799 `:g``} 800 `}render(){var t;let e=this.controls?"main controls":"main",i=this.controls?"animation controls":"animation";return g` 801 <div id="animation-container" class=${e} lang="en" role="img" aria-label="lottie-animation-container"> 802 <div id="animation" class=${i} style="background:${this.background};"> 803 ${((t=this._dotLottieCommonPlayer)==null?void 0:t.currentState)===mt.Error?g` <div class="error">â ï¸</div> `:void 0} 804 </div> 805 ${this.controls?this.renderControls():void 0} 806 </div> 807 `}};I([O({type:String})],k.prototype,"defaultTheme"),I([Pn("#animation")],k.prototype,"container"),I([O()],k.prototype,"playMode"),I([O({type:Boolean})],k.prototype,"autoplay"),I([O({type:String})],k.prototype,"background"),I([O({type:Boolean})],k.prototype,"controls"),I([O({type:Number})],k.prototype,"direction"),I([O({type:Boolean})],k.prototype,"hover"),I([O({type:String})],k.prototype,"loop"),I([O({type:String})],k.prototype,"renderer"),I([O({type:Number})],k.prototype,"speed"),I([O({type:String})],k.prototype,"src"),I([O()],k.prototype,"intermission"),I([O({type:String})],k.prototype,"activeAnimationId"),I([O({type:Boolean})],k.prototype,"light"),I([O({type:Boolean})],k.prototype,"worker"),I([O({type:String})],k.prototype,"activeStateId"),I([xn()],k.prototype,"_seeker");customElements.get(ri)||customElements.define(ri,k);/*! Bundled license information: 808 809@lit/reactive-element/decorators/custom-element.js: 810 (** 811 * @license 812 * Copyright 2017 Google LLC 813 * SPDX-License-Identifier: BSD-3-Clause 814 *) 815 816@lit/reactive-element/decorators/property.js: 817 (** 818 * @license 819 * Copyright 2017 Google LLC 820 * SPDX-License-Identifier: BSD-3-Clause 821 *) 822 823@lit/reactive-element/decorators/state.js: 824 (** 825 * @license 826 * Copyright 2017 Google LLC 827 * SPDX-License-Identifier: BSD-3-Clause 828 *) 829 830@lit/reactive-element/decorators/base.js: 831 (** 832 * @license 833 * Copyright 2017 Google LLC 834 * SPDX-License-Identifier: BSD-3-Clause 835 *) 836 837@lit/reactive-element/decorators/event-options.js: 838 (** 839 * @license 840 * Copyright 2017 Google LLC 841 * SPDX-License-Identifier: BSD-3-Clause 842 *) 843 844@lit/reactive-element/decorators/query.js: 845 (** 846 * @license 847 * Copyright 2017 Google LLC 848 * SPDX-License-Identifier: BSD-3-Clause 849 *) 850 851@lit/reactive-element/decorators/query-all.js: 852 (** 853 * @license 854 * Copyright 2017 Google LLC 855 * SPDX-License-Identifier: BSD-3-Clause 856 *) 857 858@lit/reactive-element/decorators/query-async.js: 859 (** 860 * @license 861 * Copyright 2017 Google LLC 862 * SPDX-License-Identifier: BSD-3-Clause 863 *) 864 865@lit/reactive-element/decorators/query-assigned-elements.js: 866 (** 867 * @license 868 * Copyright 2021 Google LLC 869 * SPDX-License-Identifier: BSD-3-Clause 870 *) 871 872@lit/reactive-element/decorators/query-assigned-nodes.js: 873 (** 874 * @license 875 * Copyright 2017 Google LLC 876 * SPDX-License-Identifier: BSD-3-Clause 877 *) 878*/const Dn=Object.freeze(Object.defineProperty({__proto__:null,DotLottiePlayer:k,PlayMode:Oe},Symbol.toStringTag,{value:"Module"}));
878export{Dn as d,ft as e,b as g,q,jn as r};
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.