PageSourceSearch

https://viasocket.com/_next/static/chunks/5007.d8c2b06c0be81e2a.js

js viasocket.com collected 2026-09-27 20:55:03 UTC 118,000 bytes, 771 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5007],{2929:(t,e,i)=>{i.d(e,{a:()=>t7,b:()=>t4,c:()=>t8,d:()=>t5,e:()=>eC,f:()=>eL,g:()=>eS,h:()=>eA,i:()=>ek,j:()=>ex});var o=i(15376).Buffer,n={},r=function(t,e,i,o,r){var s=new Worker(n[e]||(n[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 s.onmessage=function(t){var e=t.data,i=e.$e$;if(i){var o=Error(i[0]);o.code=i[1],o.stack=i[2],r(o,null)}else r(null,e)},s.postMessage(i,o),s},s=Uint8Array,a=Uint16Array,l=Int32Array,h=new s([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]),d=new s([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]),u=new s([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=function(t,e){for(var i=new a(31),o=0;o<31;++o)i[o]=e+=1<<t[o-1];for(var n=new l(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}},c=p(h,2),f=c.b,v=c.r;f[28]=258,v[258]=28;var m=p(d,0).b,_=new a(32768);for(g=0;g<32768;++g)y=(61680&(y=(52428&(y=(43690&g)>>1|(21845&g)<<1))>>2|(13107&y)<<2))>>4|(3855&y)<<4,_[g]=((65280&y)>>8|(255&y)<<8)>>1;var y,g,b=function(t,e,i){for(var o,n=t.length,r=0,s=new a(e);r<n;++r)t[r]&&++s[t[r]-1];var l=new a(e);for(r=1;r<e;++r)l[r]=l[r-1]+s[r-1]<<1;if(i){o=new a(1<<e);var h=15-e;for(r=0;r<n;++r)if(t[r])for(var d=r<<4|t[r],u=e-t[r],p=l[t[r]-1]++<<u,c=p|(1<<u)-1;p<=c;++p)o[_[p]>>h]=d}else for(o=new a(n),r=0;r<n;++r)t[r]&&(o[r]=_[l[t[r]-1]++]>>15-t[r]);return o},w=new s(288);for(g=0;g<144;++g)w[g]=8;for(g=144;g<256;++g)w[g]=9;for(g=256;g<280;++g)w[g]=7;for(g=280;g<288;++g)w[g]=8;var g,C=new s(32);for(g=0;g<32;++g)C[g]=5;var g,L=b(w,9,1),S=b(C,5,1),A=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},k=function(t,e,i){var o=e/8|0;return(t[o]|t[o+1]<<8)>>(7&e)&i},x=function(t,e){var i=e/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(7&e)},$=function(t){return(t+7)/8|0},O=function(t,e,i){return(null==e||e<0)&&(e=0),(null==i||i>t.length)&&(i=t.length),new s(t.subarray(e,i))}
1,P=["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"],I=function(t,e,i){var o=Error(e||P[t]);if(o.code=t,Error.captureStackTrace&&Error.captureStackTrace(o,I),!i)throw o;return o},M=function(t,e,i,o){var n=t.length,r=o?o.length:0;if(!n||e.f&&!e.l)return i||new s(0);var a=!i,l=a||2!=e.i,p=e.i;a&&(i=new s(3*n));var c=function(t){var e=i.length;if(t>e){var o=new s(Math.max(2*e,t));o.set(i),i=o}},v=e.f||0,_=e.p||0,y=e.b||0,g=e.l,w=e.d,C=e.m,P=e.n,M=8*n;do{if(!g){v=k(t,_,1);var E=k(t,_+1,3);if(_+=3,E)if(1==E)g=L,w=S,C=9,P=5;else if(2==E){var T=k(t,_,31)+257,N=k(t,_+10,15)+4,j=T+k(t,_+5,31)+1;_+=14;for(var U=new s(j),z=new s(19),D=0;D<N;++D)z[u[D]]=k(t,_+3*D,7);_+=3*N;for(var F=A(z),V=(1<<F)-1,B=b(z,F,1),D=0;D<j;){var H=B[k(t,_,V)];_+=15&H;var q=H>>4;if(q<16)U[D++]=q;else{var R=0,Z=0;for(16==q?(Z=3+k(t,_,3),_+=2,R=U[D-1]):17==q?(Z=3+k(t,_,7),_+=3):18==q&&(Z=11+k(t,_,127),_+=7);Z--;)U[D++]=R}}var J=U.subarray(0,T),W=U.subarray(T);C=A(J),P=A(W),g=b(J,C,1),w=b(W,P,1)}else I(1);else{var q=$(_)+4,K=t[q-4]|t[q-3]<<8,G=q+K;if(G>n){p&&I(0);break}l&&c(y+K),i.set(t.subarray(q,G),y),e.b=y+=K,e.p=_=8*G,e.f=v;continue}if(_>M){p&&I(0);break}}l&&c(y+131072);for(var X=(1<<C)-1,Q=(1<<P)-1,Y=_;;Y=_){var R=g[x(t,_)&X],tt=R>>4;if((_+=15&R)>M){p&&I(0);break}if(R||I(2),tt<256)i[y++]=tt;else if(256==tt){Y=_,g=null;break}else{var te=tt-254;if(tt>264){var D=tt-257,ti=h[D];te=k(t,_,(1<<ti)-1)+f[D],_+=ti}var to=w[x(t,_)&Q],tn=to>>4;to||I(3),_+=15&to;var W=m[tn];if(tn>3){var ti=d[tn];W+=x(t,_)&(1<<ti)-1,_+=ti}if(_>M){p&&I(0);break}l&&c(y+131072);var tr=y+te;if(y<W){var ts=r-W,ta=Math.min(W,tr);for(ts+y<0&&I(3);y<ta;++y)i[y]=o[ts+y]}for(;y<tr;++y)i[y]=i[y-W]}}e.l=g,e.p=Y,e.b=y,e.f=v,g&&(v=1,e.m=C,e.d=w,e.n=P)}while(!v);return y!=i.length&&a?O(i,0,y):i.subarray(0,y)},E=new s(0),T=function(t,e){var i={};
1for(var o in t)i[o]=t[o];for(var o in e)i[o]=e[o];return i},N=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("function"==typeof a){e+=";"+l+"=";var h=a.toString();if(a.prototype)if(-1!=h.indexOf("[native code]")){var d=h.indexOf(" ",8)+1;e+=h.slice(d,h.indexOf("(",d))}else for(var u in e+=h,a.prototype)e+=";"+l+".prototype."+u+"="+a.prototype[u].toString();else e+=h}else i[l]=a}return e},j=[],U=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},z=function(t,e,i,o){if(!j[i]){for(var n="",s={},a=t.length-1,l=0;l<a;++l)n=N(t[l],n,s);j[i]={c:N(t[a],n,s),e:s}}var h=T({},j[i].e);return r(j[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,h,U(h),o)},D=function(){return[s,a,l,h,d,u,f,m,L,S,_,P,b,A,k,x,$,O,I,M,Z,F,V]},F=function(t){return postMessage(t,[t.buffer])},V=function(t){return t&&{out:t.size&&new s(t.size),dictionary:t.dictionary}},B=function(t,e,i,o,n,r){var s=z(i,o,n,function(t,e){s.terminate(),r(t,e)});return s.postMessage([t,e],e.consume?[t.buffer]:[]),function(){s.terminate()}},H=function(t,e){return t[e]|t[e+1]<<8},q=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},R=function(t,e){return q(t,e)+0x100000000*q(t,e+4)};function Z(t,e){return M(t,{i:2},e&&e.out,e&&e.dictionary)}var J="u">typeof TextDecoder&&new TextDecoder;try{J.decode(E,{stream:!0})}catch{}var W=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:O(t,i-1)};n?3==n?e+=String.fromCharCode(55296|(o=((15&o)<<18|(63&t[i++])<<12|(63&t[i++])<<6|63&t[i++])-65536)>>10,56320|1023&o):1&n?e+=String.fromCharCode((31&o)<<6|63&t[i++]):e+=String.fromCharCode((15&o)<<12|(63&t[i++])<<6|63&t[i++]):e+=String.fromCharCode(o)}};function K(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}if(J)return J.decode(t);var n=W(t),r=n.s,i=n.r;return i.length&&I(8),r}var G=function(t,e,i){var o=H(t,e+28),n=K(t.subarray(e+46,e+46+o),!(2048&H(t,e+8))),r=e+46+o,s=q(t,e+20),a=i&&0xffffffff==s?X(t,r):[s,q(t,e+24),q(t,e+42)],l=a[0],h=a[1],d=a[2];return[H(t,e+10),l,h,n,r+H(t,e+30)+H(t,e+32),d]},X=function(t,e){for(;1!=H(t,e);e+=4+H(t,e+2));return[R(t,e+12),R(t,e+4),R(t,e+20)]},Q="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(t){t()},Y=class extends Error{issues;constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}};function tt(t,e,i,o){if(!e||!e.length)return{output:t};let n,r,s=t;for(let t of e){let e=t(s);if(e.issue){var a,l;let t=(a=n=n||{reason:o,origin:null==i?void 0:i.origin,abortEarly:null==i?void 0:i.abortEarly,abortPipeEarly:null==i?void 0:i.abortPipeEarly},l=e.issue,{reason:null==a?void 0:a.reason,validation:l.validation,origin:(null==a?void 0:a.origin)||"value",message:l.message,input:l.input,abortEarly:null==a?void 0:a.abortEarly,abortPipeEarly:null==a?void 0:a.abortPipeEarly});if(r?r.push(t):r=[t],n.abortEarly||n.abortPipeEarly)break}else s=e.output}return r?{issues:r}:{output:s}}function te(t,e){return t&&"string"!=typeof t?[void 0,t]:[t,e]}function ti(t,e,i,o,n,r){return{issues:[{reason:e,validation:i,origin:(null==t?void 0:t.origin)||"value",message:o,input:n,issues:r,abortEarly:null==t?void 0:t.abortEarly,abortPipeEarly:null==t?void 0:t.abortPipeEarly}]}}function to(t,e,i){let[o,n]=te(e,i);return{schema:"array",array:{item:t},async:!1,_parse(e,i){if(!Array.isArray(e))return ti(i,"type","array",o||"Invalid type",e);let r,s=[];for(let o=0;o<e.length;o++){let n=e[o],a=t._parse(n,i);if(a.issues){let t={schema:"array",input:e,key:o,value:n};for(let e of a.issues)e.path?e.path.unshift(t):e.path=[t],null==r||r.push(e);if(r||(r=a.issues),null!=i&&i.abortEarly)break}else s.push(a.output)}return r?{issues:r}:tt(s,n,i,"array")}}}function tn(t,e){let[i,o]=te(t,e);return{schema:"boolean",async:!1,_parse:(t,e)=>"boolean"!=typeof t?ti(e,"type","boolean",i||"Invalid type",t):tt(t,o,e,"boolean")}}function tr(t,e){return{schema:"literal",literal:t,async:!1,_parse:(i,o)=>i!==t?ti(o,"type","literal",e||"Invalid type",i):{output:i}}}function ts(t,e){let[i,o]=te(t,e);return{schema:"number",async:!1,_parse:(t,e)=>"number"!=typeof t?ti(e,"type","number",i||"Invalid type",t):tt(t,o,e,"number")}}function ta(t,e,i){let[o,n]=te(e,i),r;return{schema:"object",object:t,async:!1,_parse(e,i){if(!e||"object"!=typeof e)return ti(i,"type","object",o||"Invalid type",e);r=r||Object.entries(t);let s,a={};for(let[t,o]of r){let n=e[t],r=o._parse(n,i);if(r.issues){let o={schema:"object",input:e,key:t,value:n};for(let t of r.issues)t.path?t.path.unshift(o):t.path=[o],null==s||s.push(t);if(s||(s=r.issues),null!=i&&i.abortEarly)break}else a[t]=r.output}return s?{issues:s}:tt(a,n,i,"object")}}}function tl(t){return{schema:"optional",wrapped:t,async:!1,_parse:(e,i)=>void 0===e?{output:e}:t._parse(e,i)}}function th(t,e){let[i,o]=te(t,e);return{schema:"string",async:!1,_parse:(t,e)=>"string"!=typeof t?ti(e,"type","string",i||"Invalid type",t):tt(t,o,e,"string")}}var td=["__proto__","prototype","constructor"];
1function tu(t,e,i,o){let[n,r,s]=function(t,e,i){if("object"==typeof t&&!Array.isArray(t)){let[o,n]=te(e,i);return[t,o,n]}let[o,n]=te(t,e);return[void 0,o,n]}(e,i,o);return{schema:"tuple",tuple:{items:t,rest:n},async:!1,_parse(e,i){if(!Array.isArray(e)||!n&&t.length!==e.length||n&&t.length>e.length)return ti(i,"type","tuple",r||"Invalid type",e);let o,a=[];for(let n=0;n<t.length;n++){let r=e[n],s=t[n]._parse(r,i);if(s.issues){let t={schema:"tuple",input:e,key:n,value:r};for(let e of s.issues)e.path?e.path.unshift(t):e.path=[t],null==o||o.push(e);if(o||(o=s.issues),null!=i&&i.abortEarly)break}else a[n]=s.output}if(n)for(let r=t.length;r<e.length;r++){let t=e[r],s=n._parse(t,i);if(s.issues){let n={schema:"tuple",input:e,key:r,value:t};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],null==o||o.push(t);if(o||(o=s.issues),null!=i&&i.abortEarly)break}else a[r]=s.output}return o?{issues:o}:tt(a,s,i,"tuple")}}}function tp(t,e){return{schema:"union",union:t,async:!1,_parse(i,o){let n,r;for(let e of t){let t=e._parse(i,o);if(t.issues)if(n)for(let e of t.issues)n.push(e);else n=t.issues;else{r=[t.output];break}}return r?{output:r[0]}:ti(o,"type","union",e||"Invalid type",i,n)}}}function tc(t,e,i){let[o,n]=te(e,i);return ta(t.reduce((t,e)=>({...t,...e.object}),{}),o,n)}function tf(t,e){return i=>i>t?{issue:{validation:"max_value",message:e||"Invalid value",input:i}}:{output:i}}function tv(t,e){return i=>i<t?{issue:{validation:"min_value",message:e||"Invalid value",input:i}}:{output:i}}var tm=Object.create,t_=Object.defineProperty,ty=Object.getOwnPropertyDescriptor,tg=Object.getOwnPropertyNames,tb=Object.getPrototypeOf,tw=Object.prototype.hasOwnProperty,tC=(t,e)=>function(){return e||(0,t[tg(t)[0]])((e={exports:{}}).exports,e),e.exports},tL=tC({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/copy/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.copy=void 0,t.copy=(t,e,i=0,o=0,n=t.width-i,r=t.height-o,s=0,a=0)=>{if(i|=0,o|=0,r|=0,s|=0,a|=0,(n|=0)<=0||r<=0)return;let l=new Uint32Array(t.data.buffer),h=new Uint32Array(e.data.buffer);for(let d=0;d<r;d++){let r=o+d;if(r<0||r>=t.height)continue;let u=a+d;if(!(u<0||u>=e.height))for(let o=0;o<n;o++){let n=i+o;if(n<0||n>=t.width)continue;let a=s+o;if(a<0||a>=e.width)continue;let d=r*t.width+n;h[u*e.width+a]=l[d]}}}}}),tS=tC({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/create-image/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CreateImageFactory=(t=[0,0,0,0],e=4)=>{if(isNaN(e=Math.floor(e))||e<1)throw TypeError("channels should be a positive non-zero number");if(!("length"in t)||t.length<e)throw TypeError(`fill should be iterable with at least ${e} members`);let i=(t=new Uint8ClampedArray(t).slice(0,e)).every(t=>0===t);return(o,n,r)=>{if(void 0===o||void 0===n)throw TypeError("Not enough arguments");if(o=Math.floor(o),n=Math.floor(n),isNaN(o)||o<1||isNaN(n)||n<1)throw TypeError("Index or size is negative or greater than the allowed amount");let s=o*n*e;if(void 0===r&&(r=new Uint8ClampedArray(s)),r instanceof Uint8ClampedArray){if(r.length!==s)throw TypeError("Index or size is negative or greater than the allowed amount");if(!i)for(let i=0;i<n;i++)for(let n=0;n<o;n++){let s=(i*o+n)*e;for(let i=0;i<e;i++)r[s+i]=t[i]}return{get width(){return o},get height(){return n},get data(){return r}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory()}}),tA=tC({"../../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=(t,e)=>{if(t<=-e||t>=e||0==t)return 0;let i=t*Math.PI;return Math.sin(i)/i*Math.sin(i/e)/(i/e)},i=t=>Math.round(16383*t);t.filters=(t,o,n,r,s)=>{let a=s?2:3,l=1/n,h=Math.min(1,n),d=a/h,u=new Int16Array((Math.floor((d+1)*2)+2)*o),p=0;for(let n=0;n<o;n++){let s=(n+.5)*l+r,c=Math.max(0,Math.floor(s-d)),f=Math.min(t-1,Math.ceil(s+d)),v=f-c+1,m=new Float32Array(v),_=new Int16Array(v),y=0,g=0;for(let t=c;t<=f;t++){let i=e((t+.5-s)*h,a);y+=i,m[g]=i,g++}let b=0;for(let t=0;t<m.length;t++){let e=m[t]/y;b+=e,_[t]=i(e)}_[o>>1]+=i(1-b);let w=0;for(;w<_.length&&0===_[w];)w++;let C=_.length-1;for(;C>0&&0===_[C];)C--;let L=c+w,S=C-w+1;u[p++]=L,u[p++]=S,u.set(_.subarray(w,C+1),p),p+=S}return u}}}),tk=tC({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/convolve.js"(t){Object.defineProperty(t,"__esMo
1dule",{value:!0}),t.convolve=void 0,t.convolve=(t,e,i,o,n,r)=>{let s=0,a=0;for(let l=0;l<o;l++){let h=0;for(let i=0;i<n;i++){let i=s+4*r[h++]|0,n=0,l=0,d=0,u=0;for(let e=r[h++];e>0;e--){let e=r[h++];n=n+e*t[i]|0,l=l+e*t[i+1]|0,d=d+e*t[i+2]|0,u=u+e*t[i+3]|0,i=i+4|0}e[a]=n+8192>>14,e[a+1]=l+8192>>14,e[a+2]=d+8192>>14,e[a+3]=u+8192>>14,a=a+4*o|0}a=(l+1)*4|0,s=(l+1)*i*4|0}}}}),tx=tC({"../../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=tL(),i=tS(),o=tA(),n=tk(),r=(t,e,i=!1)=>{let r=e.width/t.width,s=e.height/t.height,a=o.filters(t.width,e.width,r,0,i),l=o.filters(t.height,e.height,s,0,i),h=new Uint8ClampedArray(e.width*t.height*4);n.convolve(t.data,h,t.width,t.height,e.width,a),n.convolve(h,e.data,t.height,e.width,e.height,l)};t.lanczos=(t,o,n=0,s=0,a=t.width-n,l=t.height-s,h=0,d=0,u=o.width-h,p=o.height-d)=>{if(n|=0,s|=0,l|=0,h|=0,d|=0,u|=0,p|=0,(a|=0)<=0||l<=0||u<=0||p<=0)return;if(0===n&&0===s&&a===t.width&&l===t.height&&0===h&&0===d&&u===o.width&&p===o.height)return void r(t,o);let c=i.createImage(a,l),f=i.createImage(u,p);e.copy(t,c,n,s),r(c,f),e.copy(f,o,0,0,f.width,f.height,h,d)},t.lanczos2=(t,o,n=0,s=0,a=t.width-n,l=t.height-s,h=0,d=0,u=o.width-h,p=o.height-d)=>{if(n|=0,s|=0,l|=0,h|=0,d|=0,u|=0,p|=0,(a|=0)<=0||l<=0||u<=0||p<=0)return;if(0===n&&0===s&&a===t.width&&l===t.height&&0===h&&0===d&&u===o.width&&p===o.height)return void r(t,o,!0);let c=i.createImage(a,l),f=i.createImage(u,p);e.copy(t,c,n,s),r(c,f,!0),e.copy(f,o,0,0,f.width,f.height,h,d)}}}),t$=(t=>(t.Bounce="bounce",t.Normal="normal",t))(t$||{}),tO=function(t,e){return{schema:"native_enum",nativeEnum:t,async:!1,_parse:(e,i)=>Object.values(t).includes(e)?{output:e}:ti(i,"type","native_enum","Invalid type",e)}}(t$),tP=ta({autoplay:tl(tn()),defaultTheme:tl(th()),direction:tl(tp([tr(1),tr(-1)])),hover:tl(tn()),id:th(),intermission:tl(ts()),loop:tl(tp([tn(),ts()])),playMode:tl(tO),speed:tl(ts()),themeColor:tl(th())}),tI=ta({animations:to(th()),id:th()}),tM=ta({activeAnimationId:tl(th()),animations:to(tP),author:tl(th()),custom:tl(function(t,e,i,o){let[n,r,s,a]=function(t,e,i,o){if("object"==typeof e&&!Array.isArray(e)){let[n,r]=te(i,o);return[t,e,n,r]}let[n,r]=te(e,i);return[th(),t,n,r]}(t,e,void 0,void 0);return{schema:"record",record:{key:n,value:r},async:!1,_parse(t,e){if(!t||"object"!=typeof t)return ti(e,"type","record",s||"Invalid type",t);let i,o={};for(let[s,a]of Object.entries(t))if(!td.includes(s)){let l,h=n._parse(s,{origin:"key",abortEarly:null==e?void 0:e.abortEarly,abortPipeEarly:null==e?void 0:e.abortPipeEarly});if(h.issues){for(let e of(l={schema:"record",input:t,key:s,value:a},h.issues))e.path=[l],null==i||i.push(e);if(i||(i=h.issues),null!=e&&e.abortEarly)break}let d=r._parse(a,e);if(d.issues){for(let e of(l=l||{schema:"record",input:t,key:s,value:a},d.issues))e.path?e.path.unshift(l):e.path=[l],null==i||i.push(e);if(i||(i=d.issues),null!=e&&e.abortEarly)break}h.issues||d.issues||(o[h.output]=d.output)}return i?{issues:i}:tt(o,a,e,"record")}}}(th(),function(t=[]){return{schema:"any",async:!1,_parse:(e,i)=>tt(e,t,i,"any")}}())),description:tl(th()),generator:tl(th()),keywords:tl(th()),revision:tl(ts()),themes:tl(to(tI)),states:tl(to(th())),version:tl(th())}),tE=function(t,e,i,o){let[n,r]=te(void 0,void 0);return ta(Object.entries(t.object).reduce((t,[i,o])=>e.includes(i)?t:{...t,[i]:o},{}),n,r)}(tP,["id"]),tT=ta({state:th()}),tN=tc([tT,ta({ms:ts()})]),tj=tc([tT,ta({count:ts()})]),tU=tc([tT,ta({threshold:tl(to(ts([tv(0),tf(1)])))})]),tz=ta({onAfter:tl(tN),onClick:tl(tT),onComplete:tl(tT),onEnter:tl(tj),onMouseEnter:tl(tT),onMouseLeave:tl(tT),onShow:tl(tU)}),tD=tc([tE,ta({playOnScroll:tl(tu([ts([tv(0),tf(1)]),ts([tv(0),tf(1)])])),segments:tl(tp([tu([ts(),ts()]),th()]))})]);tc([tz,ta({animationId:tl(th()),playbackSettings:tD})]);var tF={jpeg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp",mpeg:"audio/mpeg",mp3:"audio/mp3"},tV={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]}
1,tB=class extends Error{constructor(t,e){super(t),((t,e,i)=>((t,e,i)=>e in t?t_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i)(t,"symbol"!=typeof e?e+"":e,i))(this,"code"),this.name="[dotlottie-js]",this.code=e}};function tH(t){let e;if(typeof window>"u")e=o.from(t).toString("base64");else{let i=Array.prototype.map.call(t,t=>String.fromCharCode(t)).join("");e=window.btoa(i)}return`data:${(t=>{let e=null,i=[];if(!t)return null;let n=t.substring(t.indexOf(",")+1),r=new Uint8Array((e=typeof window>"u"?o.from(n,"base64").toString("binary"):atob(n)).length);for(let t=0;t<e.length;t+=1)r[t]=e.charCodeAt(t);for(let t in i=Array.from(r.subarray(0,8)),tV){let e=tV[t];if(e&&i.every((t,i)=>t===e[i]))return tF[t]}return null})(e)};base64,${e}`}function tq(t){return"w"in t&&"h"in t&&!("xt"in t)&&"p"in t}function tR(t){return!("h"in t)&&!("w"in t)&&"p"in t&&"e"in t&&"u"in t&&"id"in t}async function tZ(t,e=()=>!0){if(!(t instanceof Uint8Array))throw new tB("DotLottie not found","INVALID_DOTLOTTIE");return await new Promise((i,o)=>{!function(t,e,i){i||(i=e,e={}),"function"!=typeof i&&I(7);var o=[],n=function(){for(var t=0;t<o.length;++t)o[t]()},r={},a=function(t,e){Q(function(){i(t,e)})};Q(function(){a=i});for(var l=t.length-22;0x6054b50!=q(t,l);--l)if(!l||t.length-l>65558)return a(I(13,0,1),null),n;var h=H(t,l+8);if(h){var d=h,u=q(t,l+16),p=0xffffffff==u||65535==d;if(p){var c=q(t,l-12);(p=0x6064b50==q(t,c))&&(d=h=q(t,c+32),u=q(t,c+48))}for(var f=e&&e.filter,v=0;v<d;++v)!function(e){var i=G(t,u,p),l=i[0],d=i[1],c=i[2],v=i[3],m=i[4],_=i[5],y=_+30+H(t,_+26)+
1H(t,_+28);u=m;var g=function(t,e){t?(n(),a(t,null)):(e&&(r[v]=e),--h||a(null,r))};if(!f||f({name:v,size:d,originalSize:c,compression:l}))if(l)if(8==l){var b,w,C=t.subarray(y,y+d);if(d<32e4)try{g(null,Z(C,{out:new s(c)}))}catch(t){g(t,null)}else o.push((b={size:c},(w=g)||(w=b,b={}),"function"!=typeof w&&I(7),B(C,b,[D],function(t){return F(Z(t.data[0],V(t.data[1])))},1,w)))}else g(I(14,"unknown compression type "+l,1),null);else g(null,O(t,y,y+d));else g(null,null)}(0)}else a(null,{})}(t,{filter:e},(t,e)=>{t&&o(t),i(e)})})}async function tJ(t,e,i){if(!(t instanceof Uint8Array))throw new tB("DotLottie not found","INVALID_DOTLOTTIE");return(await tZ(t,t=>t.name===e&&(!i||i(t))))[e]}async function tW(t){let e="manifest.json",i=(await tZ(t,t=>t.name===e))[e];if(!(typeof i>"u"))return JSON.parse(K(i,!1))}async function tK(t){var e;let i;if(!(t instanceof Uint8Array))return{success:!1,error:"DotLottie not found"};let o=await tW(t);if(typeof o>"u")return{success:!1,error:"Invalid .lottie file, manifest.json is missing"};let n=(i=tM._parse(o,void 0)).issues?{success:!1,error:new Y(i.issues),issues:i.issues}:{success:!0,data:i.output,output:i.output};return n.success?{success:!0}:{success:!1,error:`Invalid .lottie file, manifest.json structure is invalid, ${JSON.stringify((Array.isArray(e=n.error)?e:e.issues).reduce((t,e)=>{if(e.path){let i=e.path.map(({key:t})=>t).join(".");t.nested[i]=[...t.nested[i]||[],e.message]}else t.root=[...t.root||[],e.message];return t},{nested:{}}).nested,null,2)}`}}async function tG(t){let e=new Uint8Array(t),i=await tK(e);if(i.error)throw new tB(i.error,"INVALID_DOTLOTTIE");return e}async function tX(t,e){let i=await tZ(t,t=>{let i=t.name.replace("audio/","");return t.name.startsWith("audio/")&&(!e||e({...t,name:i}))}),o={};for(let t in i){let e=i[t];e instanceof Uint8Array&&(o[t.replace("audio/","")]=tH(e))}return o}async function tQ(t,e){var i;let o=new Map;for(let[t,n]of Object.entries(e))for(let e of n.assets||[])if(tR(e)){let n=e.p;o.has(n)||o.set(n,new Set),null==(i=o.get(n))||i.add(t)}let n=await tX(t,t=>o.has(t.name));for(let[t,i]of o){let o=n[t];if(o)for(let n of i){let i=e[n];for(let e of(null==i?void 0:i.assets)||[])tR(e)&&e.p===t&&(e.p=o,e.u="",e.e=1)}}}async function tY(t,e){let i=await tZ(t,t=>{let i=t.name.replace("images/","");return t.name.startsWith("images/")&&(!e||e({...t,name:i}))}),o={};for(let t in i){let e=i[t];e instanceof Uint8Array&&(o[t.replace("images/","")]=tH(e))}return o}async function t0(t,e){var i;let o=new Map;for(let[t,n]of Object.entries(e))for(let e of n.assets||[])if(tq(e)){let n=e.p;o.has(n)||o.set(n,new Set),null==(i=o.get(n))||i.add(t)}let n=await tY(t,t=>o.has(t.name));for(let[t,i]of o){let o=n[t];if(o)for(let n of i){let i=e[n];for(let e of(null==i?void 0:i.assets)||[])tq(e)&&e.p===t&&(e.p=o,e.u="",e.e=1)}}}async function t1(t,e,{inlineAssets:i}={},o){let n=`animations/${e}.json`,r=await tJ(t,n,o);if(typeof r>"u")return;let s=JSON.parse(K(r,!1));if(!i)return s;let a={[e]:s};return await t0(t,a),await tQ(t,a),s}async function t3(t,e,i){let o=`themes/${e}.json`,n=await tJ(t,o,i);if(!(typeof n>"u"))return JSON.parse(K(n,!1))}async function t2(t,e){let i={},o=await tZ(t,t=>{let i=t.name.replace("states/","").replace(".json","");return t.name.startsWith("states/")&&(!e||e({...t,name:i}))});for(let t in o){let e=o[t];e instanceof Uint8Array&&(i[t.replace("states/","").replace(".json","")]=K(e,!1))}return i}async function t6(t,e,i){let o=`states/${e}.json`,n=await tJ(t,o,i);return typeof n>"u"?void 0:JSON.parse(K(n,!1))}function t7(t,e="dotLottie-common"){return Error(`[${e}]: ${t}`)}function t4(t,e="dotLottie-common",...i){console.error(`[${e}]:`,t,...i)}function t8(t,e="dotLottie-common",...i){console.warn(`[${e}]:`,t,...i)}function t9(t){return["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}function t5(t,e){let i=Object.keys(t).find(i=>t[i]===e);if(void 0===i)throw Error("Value not found in the object.");return i}function et(t){return JSON.parse(JSON.stringify(t))}((t,e,i)=>(i=null!=t?tm(tb(t)):{},((t,e,i,o)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of tg(e))tw.call(t,n)||n===i||t_(t,n,{get:()=>e[n],enumerable:!(o=ty(e,n))||o.enumerable})})(!e&&t&&t.__esModule?i:t_(i,"default",{value:t,enumerable:!0}),t)))(tx());var ee=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 Error(`Failed to load dotLottie from ${t} with status ${e.status}`);let i=e.headers.get("content-type");if(null!=i&&i.includes("application/json")){let i=await e.json();if(!t9(i))throw Error(`Invalid lottie JSON at ${t}`);let o=function(t=""){let e=t.trim(),i=e.lastIndexOf("/"),o=e.substring(i+1),n=o.indexOf(".");return -1!==n?o.substring(0,n):o}(t);this._animationsMap.set(o,i),this._manifest={activeAnimationId:o,animations:[{id:o}]}}
1else{this._dotLottie=await tG(await e.arrayBuffer());let t=await tW(this._dotLottie);if(!t)throw Error("Manifest not found");this._manifest=t}}loadFromLottieJSON(t){if(!t9(t))throw Error("Invalid lottie JSON");let e="my-animation";this._animationsMap.set(e,t),this._manifest={activeAnimationId:e,animations:[{id:e}]}}async loadFromArrayBuffer(t){this._dotLottie=await tG(t);let e=await tW(this._dotLottie);if(!e)throw 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 t1(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 t3(this._dotLottie,t);return e&&this._themeMap.set(t,e),e}async getStateMachines(){if(!this._dotLottie)return;let t=await t2(this._dotLottie);for(let e in t)if(e){let i=t[e];if(i){let t=JSON.parse(i);if(t){let e=t.descriptor.id;this._stateMachinesMap.get(e)||this._stateMachinesMap.set(e,t)}}}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 t6(this._dotLottie,t);return e&&this._stateMachinesMap.set(e.descriptor.id,e),e}};function ei(){throw Error("Cycle detected")}function eo(){if(es>1)es--;else{for(var t,e=!1;void 0!==er;){var i=er;for(er=void 0,ea++;void 0!==i;){var o=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&eu(i))try{i.c()}catch(i){e||(t=i,e=!0)}i=o}}if(ea=0,es--,e)throw t}}var en=void 0,er=void 0,es=0,ea=0,el=0;function eh(t){if(void 0!==en){var e=t.n;if(void 0===e||e.t!==en)return e={i:0,S:t,p:en.s,n:void 0,t:en,e:void 0,x:void 0,r:e},void 0!==en.s&&(en.s.n=e),en.s=e,t.n=e,32&en.f&&t.S(e),e;if(-1===e.i)return e.i=0,void 0!==e.n&&(e.n.p=e.p,void 0!==e.p&&(e.p.n=e.n),e.p=en.s,e.n=void 0,en.s.n=e,en.s=e),e}}function ed(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}function eu(t){for(var e=t.s;void 0!==e;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function ep(t){for(var e=t.s;void 0!==e;e=e.n){var i=e.S.n;if(void 0!==i&&(e.r=i),e.S.n=e,e.i=-1,void 0===e.n){t.s=e;break}}}function ec(t){for(var e=t.s,i=void 0;void 0!==e;){var o=e.p;-1===e.i?(e.S.U(e),void 0!==o&&(o.n=e.n),void 0!==e.n&&(e.n.p=o)):i=e,e.S.n=e.r,void 0!==e.r&&(e.r=void 0),e=o}t.s=i}function ef(t){ed.call(this,void 0),this.x=t,this.s=void 0,this.g=el-1,this.f=4}function ev(t){var e=t.u;if(t.u=void 0,"function"==typeof e){es++;var i=en;en=void 0;try{e()}catch(e){throw t.f&=-2,t.f|=8,em(t),e}finally{en=i,eo()}}}function em(t){for(var e=t.s;void 0!==e;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,ev(t)}function e_(t){if(en!==this)throw Error("Out-of-order effect");ec(this),en=t,this.f&=-2,8&this.f&&em(this),eo()}function ey(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}ed.prototype.h=function(){return!0},ed.prototype.S=function(t){this.t!==t&&void 0===t.e&&(t.x=this.t,void 0!==this.t&&(this.t.e=t),this.t=t)},ed.prototype.U=function(t){if(void 0!==this.t){var e=t.e,i=t.x;void 0!==e&&(e.x=i,t.e=void 0),void 0!==i&&(i.e=e,t.x=void 0),t===this.t&&(this.t=i)}},ed.prototype.subscribe=function(t){var e=this,i=function(){var i=e.value,o=32&this.f;this.f&=-33;try{t(i)}finally{this.f|=o}},o=new ey(i);try{o.c()}catch(t){throw o.d(),t}return o.d.bind(o)},ed.prototype.valueOf=function(){return this.value},ed.prototype.toString=function(){return this.value+""},ed.prototype.toJSON=function(){return this.value},ed.prototype.peek=function(){return this.v},Object.defineProperty(ed.prototype,"value",{get:function(){var t=eh(this);return void 0!==t&&(t.i=this.i),this.v},set:function(t){if(en instanceof ef&&function(){throw Error("Computed cannot have side-effects")}(),t!==this.v){ea>100&&ei(),this.v=t,this.i++,el++,es++;try{for(var e=this.t;void 0!==e;e=e.x)e.t.N()}finally{eo()}}}}),(ef.prototype=new ed).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===el))return!0;if(this.g=el,this.f|=1,this.i>0&&!eu(this))return this.f&=-2,!0;var t=en;try{ep(this),en=this;var e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return en=t,ec(this),this.f&=-2,!0},ef.prototype.S=function(t){if(void 0===this.t){this.f|=36;for(var e=this.s;void 0!==e;
1e=e.n)e.S.S(e)}ed.prototype.S.call(this,t)},ef.prototype.U=function(t){if(void 0!==this.t&&(ed.prototype.U.call(this,t),void 0===this.t)){this.f&=-33;for(var e=this.s;void 0!==e;e=e.n)e.S.U(e)}},ef.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;void 0!==t;t=t.x)t.t.N()}},ef.prototype.peek=function(){if(this.h()||ei(),16&this.f)throw this.v;return this.v},Object.defineProperty(ef.prototype,"value",{get:function(){1&this.f&&ei();var t=eh(this);if(this.h(),void 0!==t&&(t.i=this.i),16&this.f)throw this.v;return this.v}}),ey.prototype.c=function(){var t=this.S();try{if(8&this.f||void 0===this.x)return;var e=this.x();"function"==typeof e&&(this.u=e)}finally{t()}},ey.prototype.S=function(){1&this.f&&ei(),this.f|=1,this.f&=-9,ev(this),ep(this),es++;var t=en;return en=this,e_.bind(this,t)},ey.prototype.N=function(){2&this.f||(this.f|=2,this.o=er,er=this)},ey.prototype.d=function(){this.f|=8,1&this.f||em(this)};var eg=class{_state;_prevState;constructor(t){this._prevState=t,this._state=new ed(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 eb(t,e){let[{DotLottieStateMachineManager:o}]=await Promise.all([i.e(5677).then(i.bind(i,65677))]);if(!t.length)throw t7("No state machines available inside this .lottie!");return new o(t,e)}var ew={dependencies:{"@dotlottie/dotlottie-js":"^0.7.0","@preact/signals-core":"^1.2.3",howler:"^2.2.3","lottie-web":"^5.12.2",xstate:"^4.38.1"}},eC=(t=>(t.Complete="complete",t.DataFail="data_fail",t.DataReady="data_ready",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.LoopComplete="loopComplete",t.Pause="pause",t.Play="play",t.Ready="ready",t.Stop="stop",t.VisibilityChange="visibilityChange",t))(eC||{}),eL=(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))(eL||{}),eS=(t=>(t.Bounce="bounce",t.Normal="normal",t))(eS||{}),eA={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""},ek={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},ex=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 eg(ek);_light=!1;_worker=!1;_dotLottieLoader=new ee;_activeStateId;_inInteractiveMode=!1;_scrollTicking=!1;_scrollCallback=void 0;_onShowIntersectionObserver=void 0;_visibilityPercentage=0;_audios=[];_stateMachineManager;constructor(t,e,i){"string"==typeof t?this._src=t:this._src=et(t),null!=i&&i.testId&&(this._testId=i.testId),this._defaultTheme=(null==i?void 0:i.defaultTheme)||"",this._userPlaybackOptions=this._validatePlaybackOptions(i||{}),"string"==typeof(null==i?void 0:i.activeAnimationId)&&(this._activeAnimationId=i.activeAnimationId),this._container=e||null,"string"==typeof(null==i?void 0:i.background)&&this.setBackground(i.background),"u">typeof(null==i?void 0:i.activeStateId)&&(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},null!=i&&i.light&&(this._light=i.light),null!=i&&i.worker&&(this._worker=i.worker),this._listenToHover(),this._listenToVisibilityChange()}_listenToHover(){var t,e,i,o;let n=()=>{this._hover&&"playing"!==this.currentState&&this.play()},r=()=>{this._hover&&"playing"===this.currentState&&this.stop()};null==(t=this._container)||t.removeEventListener("mouseenter",n),null==(e=this._container)||e.removeEventListener("mouseleave",r),null==(i=this._container)||i.addEventListener("mouseleave",r),null==(o=this._container)||o.addEventListener("mouseenter",n)}_onVisibilityChange(){!this._lottie||typeof document>"u"||(document.hidden&&"playing"===this.currentState?this.freeze():"frozen"===this.currentState&&this.unfreeze())}_listenToVisibilityChange(){"u">typeof document&&"u">typeof document.hidden&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange())}_getOption(t){var e;if("u">typeof this._userPlaybackOptions[t])return this._userPlaybackOptions[t];let i=null==(e=this._dotLottieLoader.manifest)?void 0:e.animations.find(t=>
1t.id===this._currentAnimationId);return i&&"u">typeof i[t]?i[t]:eA[t]}_getPlaybackOptions(){let t={};for(let e in eA)"u">typeof eA[e]&&(t[e]=this._getOption(e));return t}_setPlayerState(t){var e,i,o;let n=t(this._getPlaybackOptions());try{tE._parse(n)}catch{t8(`Invalid PlaybackOptions, ${JSON.stringify(n,null,2)}`);return}"u">typeof n.defaultTheme&&(this._defaultTheme=n.defaultTheme),"u">typeof n.playMode&&(this._mode=n.playMode),"u">typeof n.intermission&&(this._intermission=n.intermission),"u">typeof n.hover&&(this._hover=n.hover),"u">typeof n.loop&&(this.clearCountTimer(),this._loop=n.loop,this._counter=0,null==(e=this._lottie)||e.setLoop("number"==typeof n.loop||n.loop)),"u">typeof n.speed&&(null==(i=this._lottie)||i.setSpeed(n.speed)),"u">typeof n.autoplay&&this._lottie&&(this._lottie.autoplay=n.autoplay),"u">typeof n.direction&&(null==(o=this._lottie)||o.setDirection(n.direction))}_getOptionsFromAnimation(t){let{id:e,...i}=t;return{...eA,...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.setBackground(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(null==(e=t.split(".").pop())?void 0:e.toLowerCase())==="json"}get src(){return this._src}updateSrc(t){this._src!==t&&("string"==typeof t?this._src=t:this._src=et(t),this._activeAnimationId=void 0,this._currentAnimationId=void 0,this.load())}get intermission(){return this._intermission}get hover(){return this._hover}setHover(t){"boolean"==typeof t&&(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){"string"==typeof t&&(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))return void t8("goToAndPlay() Can't use whilst loading.");this._lottie.goToAndPlay(t,e,i),this.setCurrentState("playing")}goToAndStop(t,e,i){if(!this._lottie||["loading"].includes(this._currentState))return void t8("goToAndStop() Can't use whilst loading.");this._lottie.goToAndStop(t,e,i),this.setCurrentState("stopped")}seek(t){if(!this._lottie||["loading"].includes(this._currentState))return void t8("seek() Can't use whilst loading.");let e=t;"number"==typeof e&&(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];void 0!==o&&(this._lottie.goToAndPlay(o,!0),"playing"===this.currentState?this.play():"frozen"===this.currentState?this.freeze():this.pause())}_areNumbersInRange(t,e){return t>=0&&t<=1&&e>=0&&e<=1}_updatePosition(t,e,i){let[o,n]=null!=t?t:[0,this.totalFrames-1],[r,s]=null!=e?e:[0,1];if(!this._areNumbersInRange(r,s))return void t4("threshold values must be between 0 and 1");if(this.container){let{height:t,top:e}=this.container.getBoundingClientRect(),a=(window.innerHeight-e)/(window.innerHeight+t),l=o+Math.round((a-r)/(s-r)*(n-o));i&&i(a),this.goToAndStop(l,!0),(l>=n||a>=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(null==t?void 0:t.segments,null==t?void 0:t.threshold,null==t?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 t7("Can't play on show, player container element not available.");let e={root:null,rootMargin:"0px",threshold:null!=t&&t.threshold?t.threshold:[0,1]},i=e=>
1{e.forEach(e=>{var i,o;this._visibilityPercentage=100*e.intersectionRatio,e.isIntersecting?(null!=t&&t.callbackOnIntersect&&t.callbackOnIntersect(this._visibilityPercentage),null==(i=this._container)||i.dispatchEvent(new Event("visibilityChange"))):null!=t&&t.callbackOnIntersect&&(t.callbackOnIntersect(0),null==(o=this._container)||o.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 t7("Can't play on show, player container element not available.");this._onShowIntersectionObserver&&this.stopPlayOnShow(),this.addIntersectionObserver({threshold:null!=(e=null==t?void 0:t.threshold)?e:[],callbackOnIntersect:t=>{0===t?this.pause():this.play()}})}_validatePlaybackOptions(t){if(!t)return{};let e={};for(let[i,o]of Object.entries(t))switch(i){case"autoplay":"boolean"==typeof o&&(e.autoplay=o);break;case"direction":"number"==typeof o&&[1,-1].includes(o)&&(e.direction=o);break;case"loop":("boolean"==typeof o||"number"==typeof o)&&(e.loop=o);break;case"playMode":"string"==typeof o&&["normal","bounce"].includes(o)&&(e.playMode=o);break;case"speed":"number"==typeof o&&(e.speed=o);break;case"themeColor":"string"==typeof o&&(e.themeColor=o);break;case"hover":"boolean"==typeof o&&(e.hover=o);break;case"intermission":"number"==typeof o&&(e.intermission=o);break;case"defaultTheme":"string"==typeof o&&(e.defaultTheme=o)}return this._requireValidPlaybackOptions(e),e}_requireAnimationsInTheManifest(){var t;if(!(null!=(t=this._dotLottieLoader.manifest)&&t.animations.length))throw t7("No animations found in manifest.")}_requireAnimationsToBeLoaded(){if(0===this._dotLottieLoader.animationsMap.size)throw t7("No animations have been loaded.")}async play(t,e){var i,o;if(["initial","loading"].includes(this._currentState))return void t8("Player unable to play whilst loading.");if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),this._lottie&&!t){-1===this._lottie.playDirection&&0===this._lottie.currentFrame?this._lottie.goToAndPlay(this._lottie.totalFrames,!0):this._lottie.play(),this.setCurrentState("playing");return}if("number"==typeof t){let o=null==(i=this._dotLottieLoader.manifest)?void 0:i.animations[t];if(!o)throw t7("animation not found.");"function"==typeof e?await this.render({id:o.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(o))}):await this.render({id:o.id})}if("string"==typeof t){let i=null==(o=this._dotLottieLoader.manifest)?void 0:o.animations.find(e=>e.id===t);if(!i)throw t7("animation not found.");"function"==typeof e?await this.render({id:i.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):await this.render({id:i.id})}}playSegments(t,e){if(!this._lottie||["loading"].includes(this._currentState))return void t8("playSegments() Can't use whilst loading.");this._lottie.playSegments(t,e),this.setCurrentState("playing")}resetSegments(t){if(!this._lottie||["loading"].includes(this._currentState))return void t8("resetSegments() Can't use whilst loading.");this._lottie.resetSegments(t)}togglePlay(){"playing"===this.currentState?this.pause():this.play()}_getAnimationByIdOrIndex(t){var e,i;if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),"number"==typeof t){let i=null==(e=this._dotLottieLoader.manifest)?void 0:e.animations[t];if(!i)throw t7("animation not found.");return i}if("string"==typeof t){let e=null==(i=this._dotLottieLoader.manifest)?void 0:i.animations.find(e=>e.id===t);if(!e)throw t7("animation not found.");return e}throw t7("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)return void t4("Can't start interactivity. Not in interactive mode. Call enterInteractiveMode(stateId: string) to start.");if(0===this._dotLottieLoader.stateMachinesMap.size&&await this._dotLottieLoader.getStateMachines(),0===this._dotLottieLoader.stateMachinesMap.size)throw t7("No interactivity states are available.");if("undefined"===t)throw t7("stateId is not specified.");this._stateMachineManager||(this._stateMachineManager=await eb(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&&(null==(e=this._stateMachineManager)||e.stop()),this._activeStateId=t,this._inInteractiveMode=!0,this._startInteractivity(t);else throw t7("stateId must be a non-empty string.")}exitInteractiveMode(){var t;this._inInteractiveMode&&(this._inInteractiveMode=!1,this._activeStateId="",null==(t=this._stateMachineManager)||t.stop(),this._userPlaybackOptions={},this._userPlaybackOptions={...this._prevUserPlaybackOptions},this._prevUserPlaybackOptions={},this.reset())}reset(){var t;let e=this._getActiveAnimationId(),i=null==(t=this._dotLottieLoader.manifest)?void 0:t.animations.find(t=>
1t.id===e);if(this._inInteractiveMode&&this.exitInteractiveMode(),!i)throw t7("animation not found.");this.play(e)}previous(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw t7("manifest not found.");if(this._inInteractiveMode)return void t8("previous() is not supported in interactive mode.");let e=this._dotLottieLoader.manifest.animations.findIndex(t=>t.id===this._currentAnimationId);if(-1===e)throw t7("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 t7("animation not found.");"function"==typeof t?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 t7("manifest not found.");if(this._inInteractiveMode)return void t8("next() is not supported in interactive mode.");let e=this._dotLottieLoader.manifest.animations.findIndex(t=>t.id===this._currentAnimationId);if(-1===e)throw t7("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e+1)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw t7("animation not found.");"function"==typeof t?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))return void t8("resize() Can't use whilst loading.");this._lottie.resize()}stop(){if(!this._lottie||["loading"].includes(this._currentState))return void t8("stop() Can't use whilst loading.");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))return void t8("pause() Can't use whilst loading.");this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused")}freeze(){if(!this._lottie||["loading"].includes(this._currentState))return void t8("freeze() Can't use whilst loading.");"frozen"!==this.currentState&&(this._stateBeforeFreeze=this.currentState),this._lottie.pause(),this.setCurrentState("frozen")}unfreeze(){if(!this._lottie||["loading"].includes(this._currentState))return void t8("unfreeze() Can't use whilst loading.");"playing"===this._stateBeforeFreeze?this.play():this.pause()}destroy(){var t,e;null!=(t=this._container)&&t.__lottie&&(this._container.__lottie.destroy(),this._container.__lottie=null),this._audios.length&&(this._audios.forEach(t=>{t.unload()}),this._audios=[]),this.clearCountTimer(),"u">typeof document&&document.removeEventListener("visibilitychange",()=>this._onVisibilityChange()),this._counter=0,null==(e=this._lottie)||e.destroy(),this._lottie=void 0}getAnimationInstance(){return this._lottie}static getLottieWebVersion(){return`${ew.dependencies["lottie-web"]}`}addEventListener(t,e){var i,o,n;this._listeners.has(t)||this._listeners.set(t,new Set),null==(i=this._listeners.get(t))||i.add(e);try{"complete"===t?null==(o=this._container)||o.addEventListener(t,e):null==(n=this._lottie)||n.addEventListener(t,e)}catch(t){t4(`addEventListener ${t}`)}}getState(){var t,e,i,o,n,r,s;return{autoplay:null!=(e=null==(t=this._lottie)?void 0:t.autoplay)&&e,currentState:this._currentState,frame:this._frame,visibilityPercentage:this._visibilityPercentage,seeker:this._seeker,direction:null!=(o=null==(i=this._lottie)?void 0:i.playDirection)?o:1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:null!=(r=null==(n=this._lottie)?void 0:n.playSpeed)?r:1,background:this._background,intermission:this._intermission,defaultTheme:this._defaultTheme,currentAnimationId:this._currentAnimationId,activeStateId:null!=(s=this._activeStateId)?s:""}}_notify(){this.state.setState(this.getState())}get totalFrames(){var t;return(null==(t=this._lottie)?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(null==(t=this._lottie)?void 0:t.playSpeed)||1}setSpeed(t){this._requireValidSpeed(t),this._setPlayerState(()=>({speed:t})),this._userPlaybackOptions.speed=t}get autoplay(){var t,e;return null!=(e=null==(t=this._lottie)?void 0:t.autoplay)&&e}setAutoplay(t){if(this._requireValidAutoplay(t),!this._lottie||["loading"].includes(this._currentState))return void t8("setAutoplay() Can't use whilst loading.");this._setPlayerState(()=>({autoplay:t})),this._userPlaybackOptions.autoplay=t}toggleAutoplay(){if(!this._lottie||["loading"].includes(this._currentState))return void t8("toggleAutoplay() Can't use whilst loading.");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))return void t8("toggleLoop() Can't use whilst loading.");this.setLoop(!this._loop)}get background(){return this._background}
1setBackground(t){this._requireValidBackground(t),this._background=t,this._container&&(this._container.style.backgroundColor=t)}get _frame(){return this._lottie?"completed"===this.currentState?-1===this.direction?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;i=Array.isArray(t)&&0!==t.length?t:["autoplay","defaultTheme","direction","hover","intermission","loop","playMode","speed","activeAnimationId"];let o=!1;if(i.includes("activeAnimationId")){let t=null==(e=this._dotLottieLoader.manifest)?void 0:e.activeAnimationId,i=this._getAnimationByIdOrIndex(t||0);this._activeAnimationId=t,await this._setCurrentAnimation(i.id),o=!0}i.forEach(t=>{switch(t){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"))}}),o&&this.render()}removeEventListener(t,e){var i,o,n;try{"complete"===t?null==(i=this._container)||i.removeEventListener(t,e):null==(o=this._lottie)||o.removeEventListener(t,e),null==(n=this._listeners.get(t))||n.delete(e)}catch(t){t4("removeEventListener",t)}}_handleAnimationComplete(){var t;"number"==typeof this._loop&&this.stop();let e=-1===this.direction?0:this.totalFrames-1;this.goToAndStop(e,!0),this._counter=0,this.clearCountTimer(),this.setCurrentState("completed"),null==(t=this._container)||t.dispatchEvent(new Event("complete"))}addEventListeners(){var t;if(!this._lottie||["loading"].includes(this._currentState))return void t8("addEventListeners() Can't use whilst loading.");for(let[e,i]of(this._lottie.addEventListener("enterFrame",()=>{var t;if(!this._lottie)return void t8("enterFrame event : Lottie is undefined.");0===Math.floor(this._lottie.currentFrame)&&-1===this.direction&&(null==(t=this._container)||t.dispatchEvent(new Event("complete")),this.loop||this.setCurrentState("completed")),this._notify()}),this._lottie.addEventListener("loopComplete",()=>{var t;if(!this._lottie)return void t8("loopComplete event : Lottie is undefined.");null==(t=this._container)||t.dispatchEvent(new Event("loopComplete")),this.intermission>0&&this.pause();let e=this._lottie.playDirection;if("number"==typeof this._loop&&this._loop>0&&(this._counter+="bounce"===this._mode?.5:1,this._counter>=this._loop))return void this._handleAnimationComplete();"bounce"===this._mode&&"number"==typeof e&&(e=-1*Number(e));let i=-1===e?this._lottie.totalFrames-1:0;this.intermission?(this.goToAndPlay(i,!0),this.pause(),this._counterInterval=window.setTimeout(()=>{this._lottie&&(this._setPlayerState(()=>({direction:e})),this.goToAndPlay(i,!0))},this._intermission)):(this._setPlayerState(()=>({direction:e})),this.goToAndPlay(-1===e?this.totalFrames-1:0,!0))}),this._lottie.addEventListener("complete",()=>{if(this._lottie&&!1===this._loop&&"bounce"===this._mode){if(this._counter+=.5,this._counter>=1)return void this._handleAnimationComplete();this._counterInterval=window.setTimeout(()=>{if(!this._lottie)return;let t=this._lottie.playDirection;"bounce"===this._mode&&"number"==typeof t&&(t=-1*Number(t));let e=-1===t?this.totalFrames-1:0;this._setPlayerState(()=>({direction:t})),this.goToAndPlay(e,!0)},this._intermission)}else this._handleAnimationComplete()}),this._listeners))if("complete"===e)for(let o of i)null==(t=this._container)||t.addEventListener(e,o);else for(let t of i)this._lottie.addEventListener(e,t)}async _setCurrentAnimation(t){this._currentState="loading";let e=await this._dotLottieLoader.getAnimation(t);this._currentAnimationId=t,this._animation=e,this._currentState="ready"}async _getAudioFactory(){let t;if(this._animation&&(t=this._animation.assets)&&t.some(t=>tR(t))){let{DotLottieAudio:t}=await i.e(1510).then(i.bind(i,61510));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,h,d,u,p,c,f,v,m,_,y;if(null!=t&&t.id)await this._setCurrentAnimation(t.id);else if(!this._animation)throw t7("no animation selected");
1let g=null!=(e=eA.loop)&&e,b=null!=(i=eA.autoplay)&&i,w=null!=(o=eA.playMode)?o:"normal",C=null!=(n=eA.intermission)?n:0,L=null!=(r=eA.hover)&&r,S=null!=(s=eA.direction)?s:1,A=null!=(a=eA.speed)?a:1,k=null!=(l=eA.defaultTheme)?l:"";g=null!=(h=null==t?void 0:t.loop)?h:this._getOption("loop"),b=null!=(d=null==t?void 0:t.autoplay)?d:this._getOption("autoplay"),w=null!=(u=null==t?void 0:t.playMode)?u:this._getOption("playMode"),C=null!=(p=null==t?void 0:t.intermission)?p:this._getOption("intermission"),L=null!=(c=null==t?void 0:t.hover)?c:this._getOption("hover"),S=null!=(f=null==t?void 0:t.direction)?f:this._getOption("direction"),A=null!=(v=null==t?void 0:t.speed)?v:this._getOption("speed"),k=null!=(m=null==t?void 0:t.defaultTheme)?m:this._getOption("defaultTheme");let x={...this._animationConfig,autoplay:!L&&b,loop:"number"==typeof g||g,renderer:this._worker?"svg":null!=(_=this._animationConfig.renderer)?_:"svg"},[$,O,P]=await Promise.all([this._dotLottieLoader.getTheme(k),this._getLottiePlayerInstance(),this._getAudioFactory()]);if($&&this._animation?(this._animation=et(this._animation),this._animation.slots=$):this._animation=await this._dotLottieLoader.getAnimation(null!=(y=this._currentAnimationId)?y:""),this._activeStateId&&!this._inInteractiveMode)return void this.enterInteractiveMode(this._activeStateId);this.destroy(),this._setPlayerState(()=>({defaultTheme:k,playMode:w,intermission:C,hover:L,loop:g})),P?this._lottie=O.loadAnimation({...x,container:this._container,animationData:this._animation,audioFactory:P}):this._lottie=O.loadAnimation({...x,container:this._container,animationData:this._animation}),typeof this._lottie.resetSegments>"u"&&(this._lottie.resetSegments=()=>{var t;null==(t=this._lottie)||t.playSegments([0,this._lottie.totalFrames],!0)}),this.addEventListeners(),this._container&&(this._container.__lottie=this._lottie),this._setPlayerState(()=>({direction:S,speed:A})),b&&!L&&(!1===g&&-1===S?this.play():this.setCurrentState("playing")),this._updateTestData()}async _getLottiePlayerInstance(){var t;let e=null!=(t=this._animationConfig.renderer)?t:"svg",o;if(this._worker)return"svg"!==e&&t8("Worker is only supported with svg renderer. Change or remove renderer prop to get rid of this warning."),(o=await i.e(2544).then(i.bind(i,81816))).default;switch(e){case"svg":o=this._light?await i.e(2828).then(i.bind(i,34836)):await i.e(6721).then(i.bind(i,56450));break;case"canvas":o=this._light?await i.e(2344).then(i.bind(i,80407)):await i.e(2300).then(i.bind(i,54051));break;case"html":o=this._light?await i.e(8161).then(i.bind(i,18549)):await i.e(3762).then(i.bind(i,94521));break;default:throw Error(`Invalid renderer: ${e}`)}return o.default}_getActiveAnimationId(){var t,e,i,o;let n=this._dotLottieLoader.manifest;return null!=(o=null!=(i=null!=(t=this._activeAnimationId)?t:null==n?void 0:n.activeAnimationId)?i:null==(e=null==n?void 0:n.animations[0])?void 0:e.id)?o:void 0}async load(t){if("loading"===this._currentState)return void t8("Loading in progress..");try{if(this.setCurrentState("loading"),"string"==typeof this._src)if(function(t){try{let e=JSON.parse(t);return t9(e)}catch{return!1}}(this._src)){let t=JSON.parse(this._src);this._dotLottieLoader.loadFromLottieJSON(t)}else{let t=new URL(this._src,window.location.href);await this._dotLottieLoader.loadFromUrl(t.toString())}else if("object"==typeof this._src&&t9(this._src))this._dotLottieLoader.loadFromLottieJSON(this._src);else throw t7("Invalid src provided");if(!this._dotLottieLoader.manifest)throw t7("No manifest found");let e=this._getActiveAnimationId();if(!e)throw t7("No active animation found");await this._setCurrentAnimation(e),await this.render(t)}catch(t){this.setCurrentState("error"),t instanceof Error&&t4(`Error loading animation: ${t.message}`)}}setErrorState(t){this.setCurrentState("error"),t4(t)}_requireValidDirection(t){if(-1!==t&&1!==t)throw t7("Direction can only be -1 (backwards) or 1 (forwards)")}_requireValidIntermission(t){if(t<0||!Number.isInteger(t))throw t7("intermission must be a positive number")}_requireValidLoop(t){if("number"==typeof t&&(!Number.isInteger(t)||t<0))throw t7("loop must be a positive number or boolean")}_requireValidSpeed(t){if("number"!=typeof t)throw t7("speed must be a number")}
1_requireValidBackground(t){if("string"!=typeof t)throw t7("background must be a string")}_requireValidAutoplay(t){if("boolean"!=typeof t)throw t7("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)}}},9649:(t,e,i)=>{i.d(e,{a:()=>h,b:()=>d});var o=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),d=(t,e,i)=>(i=null!=t?o(a(t)):{},((t,e,i,o)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let a of s(e))l.call(t,a)||a===i||n(t,a,{get:()=>e[a],enumerable:!(o=r(e,a))||o.enumerable});return t})(!e&&t&&t.__esModule?i:n(i,"default",{value:t,enumerable:!0}),t))},16716:(t,e,i)=>{i.d(e,{a:()=>r});var o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=(t,e,i,r)=>{for(var s,a=r>1?void 0:r?n(e,i):e,l=t.length-1;l>=0;l--)(s=t[l])&&(a=(r?s(e,i,a):s(a))||a);return r&&a&&o(e,i,a),a}},85007:(t,e,i)=>{i.r(e),i.d(e,{DotLottiePlayer:()=>tf,PlayMode:()=>th.g});var o,n,r,s,a,l=window,h=l.ShadowRoot&&(void 0===l.ShadyCSS||l.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),u=new WeakMap,p=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==d)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(h&&void 0===t){let i=void 0!==e&&1===e.length;i&&(t=u.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&u.set(e,t))}return t}toString(){return this.cssText}},c=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(let i of t.cssRules)e+=i.cssText;return(t=>new p("string"==typeof t?t:t+"",void 0,d))(e)})(t):t,f=window,v=f.trustedTypes,m=v?v.emptyScript:"",_=f.reactiveElementPolyfillSupport,y={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},g=(t,e)=>e!==t&&(e==e||t==t),b={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:g},w="finalized",C=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(),(null!=(e=this.h)?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((e,i)=>{let o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))}),t}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){let i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&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)||b}static finalize(){if(this.hasOwnProperty(w))return!1;this[w]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let t=this.properties;for(let e of[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)])this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let e=[];
1if(Array.isArray(t))for(let i of new Set(t.flat(1/0).reverse()))e.unshift(c(i));else void 0!==t&&e.push(c(t));return e}static _$Ep(t,e){let i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null==(t=this.constructor.h)||t.forEach(t=>t(this))}addController(t){var e,i;(null!=(e=this._$ES)?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null==(i=t.hostConnected)||i.call(t))}removeController(t){var e;null==(e=this._$ES)||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,e;let i=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return e=this.constructor.elementStyles,h?i.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let e=document.createElement("style"),o=l.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=t.cssText,i.appendChild(e)}),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=b){var o;let n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){let r=((null==(o=i.converter)?void 0:o.toAttribute)!==void 0?i.converter:y).toAttribute(e,i.type);this._$El=t,null==r?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(void 0!==n&&this._$El!==n){let t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:(null==(i=t.converter)?void 0:i.fromAttribute)!==void 0?t.converter:y;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||g)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((t,e)=>this[e]=t),this._$Ei=void 0);let e=!1,i=this._$AL;try{(e=this.shouldUpdate(i))?(this.willUpdate(i),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null==(e=this._$ES)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),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){void 0!==this._$EC&&(this._$EC.forEach((t,e)=>this._$EO(e,this[e],t)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};C[w]=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==_||_({ReactiveElement:C}),(null!=(a=f.reactiveElementVersions)?a:f.reactiveElementVersions=[]).push("1.6.3");var L,S=window,A=S.trustedTypes,k=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,O="?"+$,P=`<${O}>`,I=document,M=()=>I.createComment(""),E=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,N=`[ 	
2\f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,z=/>/g,D=RegExp(`>|${N}(?:([^\\s"'>=/]+)(${N}*=${N}
2*(?:[^ 	
3\f\r"'\`<>=]|("|')|))|$)`,"g"),F=/'/g,V=/"/g,B=/^(?:script|style|textarea|title)$/i,H=(t,...e)=>({_$litType$:1,strings:t,values:e}),q=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),Z=new WeakMap,J=I.createTreeWalker(I,129,null,!1);function W(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==k?k.createHTML(e):e}var K=class t{constructor({strings:e,_$litType$:i},o){let n;this.parts=[];let r=0,s=0,a=e.length-1,l=this.parts,[h,d]=((t,e)=>{let i=t.length-1,o=[],n,r=2===e?"<svg>":"",s=j;for(let e=0;e<i;e++){let i=t[e],a,l,h=-1,d=0;for(;d<i.length&&(s.lastIndex=d,null!==(l=s.exec(i)));)d=s.lastIndex,s===j?"!--"===l[1]?s=U:void 0!==l[1]?s=z:void 0!==l[2]?(B.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=D):void 0!==l[3]&&(s=D):s===D?">"===l[0]?(s=null!=n?n:j,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?D:'"'===l[3]?V:F):s===V||s===F?s=D:s===U||s===z?s=j:(s=D,n=void 0);let u=s===D&&t[e+1].startsWith("/>")?" ":"";r+=s===j?i+P:h>=0?(o.push(a),i.slice(0,h)+x+i.slice(h)+$+u):i+$+(-2===h?(o.push(void 0),e):u)}return[W(t,r+(t[i]||"<?>")+(2===e?"</svg>":"")),o]})(e,i);if(this.el=t.createElement(h,o),J.currentNode=this.el.content,2===i){let t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=J.nextNode())&&l.length<a;){if(1===n.nodeType){if(n.hasAttributes()){let t=[];for(let e of n.getAttributeNames())if(e.endsWith(x)||e.startsWith($)){let i=d[s++];if(t.push(e),void 0!==i){let t=n.getAttribute(i.toLowerCase()+x).split($),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?tt:"?"===e[1]?ti:"@"===e[1]?to:Y})}else l.push({type:6,index:r})}for(let e of t)n.removeAttribute(e)}if(B.test(n.tagName)){let t=n.textContent.split($),e=t.length-1;if(e>0){n.textContent=A?A.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],M()),J.nextNode(),l.push({type:2,index:++r});n.append(t[e],M())}}}else if(8===n.nodeType)if(n.data===O)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=n.data.indexOf($,t+1));)l.push({type:7,index:r}),t+=$.length-1}r++}}static createElement(t,e){let i=I.createElement("template");return i.innerHTML=t,i}};function G(t,e,i=t,o){var n,r,s;if(e===q)return e;let a=void 0!==o?null==(n=i._$Co)?void 0:n[o]:i._$Cl,l=E(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==l&&(null==(r=null==a?void 0:a._$AO)||r.call(a,!1),void 0===l?a=void 0:(a=new l(t))._$AT(t,i,o),void 0!==o?(null!=(s=i._$Co)?s:i._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=G(t,a._$AS(t,e.values),a,o)),e}var X=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;let{el:{content:i},parts:o}=this._$AD,n=(null!=(e=null==t?void 0:t.creationScope)?e:I).importNode(i,!0);J.currentNode=n;let r=J.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new Q(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new tn(r,this,t)),this._$AV.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=J.nextNode(),s++)}return J.currentNode=I,n}v(t){let e=0;for(let i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},Q=class t{constructor(t,e,i,o){var n;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null==(n=null==o?void 0:o.isConnected)||n}get _$AU(){var t,e;return null!=(e=null==(t=this._$AM)?void 0:t._$AU)?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&(null==t?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){let i;E(t=G(this,t,e))?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(i=t)||"function"==typeof(null==i?void 0:i[Symbol.iterator])?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==R&&E(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.createTextNode(t)),this._$AH=t}g(t){var e;let{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(W(o.h,o.h[0]),this.options)),o);if((null==(e=this._$AH)?void 0:e._$AD)===n)this._$AH.v(i);else{let t=new X(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new K(t)),e}T(e){T(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 t(this.k(M()),this.k(M()),this,this.options)):o=i[n],o._$AI(r),n++;n<i.length&&(this._$AR(o&&o._$AB.nextSibling,n),i.length=n)}_$AR(t=this._$AA.nextSibling,e){var i;
3for(null==(i=this._$AP)||i.call(this,!1,!0,e);t&&t!==this._$AB;){let e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null==(e=this._$AP)||e.call(this,t))}},Y=class{constructor(t,e,i,o,n){this.type=1,this._$AH=R,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=R}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(void 0===n)(r=!E(t=G(this,t,e,0))||t!==this._$AH&&t!==q)&&(this._$AH=t);else{let o=t,s,a;for(t=n[0],s=0;s<n.length-1;s++)(a=G(this,o[i+s],e,s))===q&&(a=this._$AH[s]),r||(r=!E(a)||a!==this._$AH[s]),a===R?t=R:t!==R&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},tt=class extends Y{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===R?void 0:t}},te=A?A.emptyScript:"",ti=class extends Y{constructor(){super(...arguments),this.type=4}j(t){t&&t!==R?this.element.setAttribute(this.name,te):this.element.removeAttribute(this.name)}},to=class extends Y{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!=(i=G(this,t,e,0))?i:R)===q)return;let o=this._$AH,n=t===R&&o!==R||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==R&&(o===R||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!=(i=null==(e=this.options)?void 0:e.host)?i:this.element,t):this._$AH.handleEvent(t)}},tn=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){G(this,t)}},tr=S.litHtmlPolyfillSupport;null==tr||tr(K,Q),(null!=(L=S.litHtmlVersions)?L:S.litHtmlVersions=[]).push("2.8.0");var ts=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;let e=super.createRenderRoot();return null!=(t=this.renderOptions).renderBefore||(t.renderBefore=e.firstChild),e}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,n;let r=null!=(o=null==i?void 0:i.renderBefore)?o:e,s=r._$litPart$;if(void 0===s){let t=null!=(n=null==i?void 0:i.renderBefore)?n:null;r._$litPart$=s=new Q(e.insertBefore(M(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return q}};ts.finalized=!0,ts._$litElement$=!0,null==(n=globalThis.litElementHydrateSupport)||n.call(globalThis,{LitElement:ts});var ta=globalThis.litElementPolyfillSupport;null==ta||ta({LitElement:ts}),(null!=(r=globalThis.litElementVersions)?r:globalThis.litElementVersions=[]).push("3.3.3");var tl=((t,...e)=>new p(1===t.length?t[0]:e.reduce((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1],t[0]),t,d))`
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`,th=i(2929);i(9649);var td=i(16716);function tu(t){return(e,i)=>void 0!==i?void e.constructor.createProperty(i,t):"method"!==e.kind||!e.descriptor||"value"in e.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}}:{...e,finisher(i){i.createProperty(e.key,t)}}}(null==(s=window.HTMLSlotElement)?void 0:s.prototype.assignedElements)!=null||((t,e)=>t.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE));var tp={version:"2.7.12"}
399,tc="dotlottie-player",tf=class extends ts{defaultTheme="";container;playMode=th.g.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):"string"==typeof t&&["true","false"].includes(t)?(this._loop="true"===t,this._loop):((0,th.c)("loop must be a positive integer or a boolean"),!1)}_handleSeekChange(t){let e=t.currentTarget;try{let t=parseInt(e.value,10);if(!this._dotLottieCommonPlayer)return;let i=t/100*this._dotLottieCommonPlayer.totalFrames;this.seek(i)}catch{throw(0,th.a)("Error while seeking animation")}}_initListeners(){let t=this._dotLottieCommonPlayer;if(void 0===t)return void(0,th.c)("player not initialized - cannot add event listeners","dotlottie-player-component");this._unsubscribeListeners=t.state.subscribe((t,e)=>{this._seeker=t.seeker,this.requestUpdate(),e.currentState!==t.currentState&&this.dispatchEvent(new CustomEvent(t.currentState)),this.dispatchEvent(new CustomEvent(th.e.Frame,{detail:{frame:t.frame,seeker:t.seeker}})),this.dispatchEvent(new CustomEvent(th.e.VisibilityChange,{detail:{visibilityPercentage:t.visibilityPercentage}}))}),t.addEventListener("complete",()=>{this.dispatchEvent(new CustomEvent(th.e.Complete))}),t.addEventListener("loopComplete",()=>{this.dispatchEvent(new CustomEvent(th.e.LoopComplete))}),t.addEventListener("DOMLoaded",()=>{let t=this.getManifest();t&&t.themes&&(this._themesForCurrentAnimation=t.themes.filter(t=>t.animations.includes(this.getCurrentAnimationId()||""))),t&&t.states&&(this._hasMultipleStates=t.states.length>0,this._statesForCurrentAnimation=[],t.states.forEach(t=>{this._statesForCurrentAnimation.push(t)})),this.dispatchEvent(new CustomEvent(th.e.Ready))}),t.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(th.e.DataReady))}),t.addEventListener("data_failed",()=>{this.dispatchEvent(new CustomEvent(th.e.DataFail))}),window&&window.addEventListener("click",t=>this._clickOutListener(t))}async load(t,e,i){if(!this.shadowRoot)return;this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.destroy(),this._dotLottieCommonPlayer=new th.j(t,this.container,{rendererSettings:null!=e?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")?1===this.direction?1:-1:void 0,speed:this.hasAttribute("speed")?this.speed:void 0,intermission:this.hasAttribute("intermission")?Number(this.intermission):void 0,playMode:this.hasAttribute("playMode")?this.playMode:void 0,autoplay:this.hasAttribute("autoplay")?this.autoplay:void 0,activeAnimationId:this.hasAttribute("activeAnimationId")?this.activeAnimationId:void 0,defaultTheme:this.hasAttribute("defaultTheme")?this.defaultTheme:void 0,light:this.light,worker:this.worker,activeStateId:this.hasAttribute("activeStateId")?this.activeStateId:void 0}),await this._dotLottieCommonPlayer.load(i);let o=this.getManifest();this._hasMultipleAnimations=this.animationCount()>1,o&&(o.themes&&(this._themesForCurrentAnimation=o.themes.filter(t=>t.animations.includes(this.getCurrentAnimationId()||"")),this._hasMultipleThemes=o.themes.length>0),o.states&&(this._hasMultipleStates=o.states.length>0,this._statesForCurrentAnimation=[],o.states.forEach(t=>{this._statesForCurrentAnimation.push(t)}))),this._initListeners()}getCurrentAnimationId(){var t;return null==(t=this._dotLottieCommonPlayer)?void 0:t.currentAnimationId}animationCount(){var t;return this._dotLottieCommonPlayer&&(null==(t=this._dotLottieCommonPlayer.getManifest())?void 0:t.animations.length)||0}animations(){if(!this._dotLottieCommonPlayer)return[];let t=this._dotLottieCommonPlayer.getManifest();return(null==t?void 0:t.animations.map(t=>
399t.id))||[]}currentAnimation(){return this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.currentAnimationId?this._dotLottieCommonPlayer.currentAnimationId:""}getState(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getState():th.i}getManifest(){var t;return null==(t=this._dotLottieCommonPlayer)?void 0:t.getManifest()}getLottie(){var t;return null==(t=this._dotLottieCommonPlayer)?void 0:t.getAnimationInstance()}getVersions(){return{lottieWebVersion:th.j.getLottieWebVersion(),dotLottiePlayerVersion:`${tp.version}`}}previous(t){var e;null==(e=this._dotLottieCommonPlayer)||e.previous(t)}next(t){var e;null==(e=this._dotLottieCommonPlayer)||e.next(t)}reset(){var t;null==(t=this._dotLottieCommonPlayer)||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 t=document.createElement("a");t.href=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(i)}`,t.download=`download_${this._seeker}.svg`,document.body.appendChild(t),t.click(),document.body.removeChild(t)}return i}setTheme(t){var e;null==(e=this._dotLottieCommonPlayer)||e.setDefaultTheme(t)}themes(){var t;if(!this._dotLottieCommonPlayer)return[];let e=this._dotLottieCommonPlayer.getManifest();return(null==(t=null==e?void 0:e.themes)?void 0:t.map(t=>t.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}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;null==(e=this._dotLottieCommonPlayer)||e.revertToManifestValues(t)}static get styles(){return tl}async firstUpdated(){var t;this.container=null==(t=this.shadowRoot)?void 0:t.querySelector("#animation"),"IntersectionObserver"in window&&(this._io=new IntersectionObserver(t=>{var e,i;void 0!==t[0]&&t[0].isIntersecting?(null==(e=this._dotLottieCommonPlayer)?void 0:e.currentState)===th.f.Frozen&&this.play():(null==(i=this._dotLottieCommonPlayer)?void 0:i.currentState)===th.f.Playing&&this._freeze()}),this._io.observe(this.container)),this.loop?this._parseLoop(this.loop):this.hasAttribute("loop")&&this._parseLoop("true"),"svg"===this.renderer?this._renderer="svg":"canvas"===this.renderer?this._renderer="canvas":"html"===this.renderer&&(this._renderer="html"),this.src&&await this.load(this.src)}disconnectedCallback(){var t,e;this._io&&(this._io.disconnect(),this._io=void 0),null==(t=this._dotLottieCommonPlayer)||t.destroy(),null==(e=this._unsubscribeListeners)||e.call(this),window&&window.removeEventListener("click",t=>this._clickOutListener(t))}_clickOutListener(t){!t.composedPath().some(t=>t instanceof HTMLElement&&(t.classList.contains("popover")||"lottie-animation-options"===t.id))&&this._popoverIsOpen&&(this._popoverIsOpen=!1,this.requestUpdate())}renderControls(){var t,e,i,o,n;let r=(null==(t=this._dotLottieCommonPlayer)?void 0:t.currentState)===th.f.Playing,s=(null==(e=this._dotLottieCommonPlayer)?void 0:e.currentState)===th.f.Paused;return H`
400      <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">
401        ${this._hasMultipleAnimations?H`
402              <button @click=${()=>this.previous()} aria-label="Previous animation" class="btn-spacing-left">
403                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
404                  <path
405                    fill-rule="evenodd"
406                    clip-rule="evenodd"
407                    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"
408                    fill="#20272C"
409                  />
410                </svg>
411              </button>
412            `:H``}
413        <button
414          id="lottie-play-button"
415          @click=${()=>{this.togglePlay()}}
416          class=${r||s?`active ${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`:`${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`}
417          aria-label="play / pause animation"
418        >
419          ${r?H`
420                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
421                  <path
422                    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"
423                    fill="#20272C"
424                  />
425                  <path
426                    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"
427                    fill="#20272C"
428                  />
429                </svg>
430              `:H`
431                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
432                  <path
433                    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"
434                    fill="#20272C"
435                  />
436                </svg>
437              `}
438        </button>
439        ${this._hasMultipleAnimations?H`
440              <button @click=${()=>this.next()} aria-label="Next animation" class="btn-spacing-right">
441                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
442                  <path
443                    fill-rule="evenodd"
444                    clip-rule="evenodd"
445                    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"
446                    fill="#20272C"
447                  />
448                </svg>
449              </button>
450            `:H``}
451        <input
452          id="lottie-seeker-input"
453          class="seeker ${(null==(i=this._dotLottieCommonPlayer)?void 0:i.direction)===-1?"to-left":""}"
454          type="range"
455          min="0"
456          step="1"
457          max="100"
458          .value=${this._seeker}
459          @input=${t=>this._handleSeekChange(t)}
459
460          @mousedown=${()=>{this._freeze()}}
461          @mouseup=${()=>{var t;null==(t=this._dotLottieCommonPlayer)||t.unfreeze()}}
462          aria-valuemin="1"
463          aria-valuemax="100"
464          role="slider"
465          aria-valuenow=${this._seeker}
466          aria-label="lottie-seek-input"
467          style=${`--seeker: ${this._seeker}`}
468        />
469        <button
470          id="lottie-loop-toggle"
471          @click=${()=>this.toggleLooping()}
472          class=${null!=(o=this._dotLottieCommonPlayer)&&o.loop?"active btn-spacing-left":"btn-spacing-left"}
473          aria-label="loop-toggle"
474        >
475          <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
476            <path
477              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"
478              fill="currentColor"
479            />
480            <path
481              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"
482              fill="currentColor"
483            />
484          </svg>
485        </button>
486        ${this._hasMultipleAnimations||this._hasMultipleThemes||this._hasMultipleStates?H`
487              <button
488                id="lottie-animation-options"
489                @click=${()=>{this._popoverIsOpen=!this._popoverIsOpen,this.requestUpdate()}}
490                aria-label="options"
491                class="btn-spacing-right"
492                style=${`background-color: ${this._popoverIsOpen?"var(--lottie-player-toolbar-icon-hover-color)":""}`}
493              >
494                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
495                  <path
496                    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"
497                    fill="#20272C"
498                  />
499                  <path
500                    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"
501                    fill="#20272C"
502                  />
503                  <path
504                    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"
505                    fill="#20272C"
506                  />
507                </svg>
508              </button>
509            `:H``}
510      </div>
511      ${this._popoverIsOpen?H`
512            <div
513              id="popover"
514              class="popover"
515              tabindex="0"
516              aria-label="lottie animations themes popover"
517              style="min-height: ${this.themes().length>0?"84px":"auto"}"
518            >
519              ${!this._animationsTabIsOpen&&!this._styleTabIsOpen&&!this._statesTabIsOpen?H`
520                    <button
521                      class="popover-button"
522                      tabindex="0"
523                      aria-label="animations"
524                      @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate()}}
525                      @keydown=${t=>{("Space"===t.code||"Enter"===t.code)&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate())}}
526                    >
527                      <div class="popover-button-text">Animations</div>
528                      <div>
529                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
530                          <path
531                            fill-rule="evenodd"
532                            clip-rule="evenodd"
533                            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"
534                            fill="#4C5863"
535                          />
536                        </svg>
537                      </div>
538                    </button>
539                  `:H``}
540              ${this._hasMultipleThemes&&!this._styleTabIsOpen&&!this._animationsTabIsOpen&&!this._statesTabIsOpen?H` <button
541                    class="popover-button"
542                    aria-label="Themes"
543                    @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate()}}
544                    @keydown=${t=>{("Space"===t.code||"Enter"===t.code)&&(this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate())}}
545                  >
546                    <div class="popover-button-text">Themes</div>
547                    <div>
548                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
549                        <path
550                          fill-rule="evenodd"
551                          clip-rule="evenodd"
552                          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"
553                          fill="#4C5863"
554                        />
555                      </svg>
556                    </div>
557                  </button>`:""}
558              ${this._hasMultipleStates&&!this._styleTabIsOpen&&!this._animationsTabIsOpen&&!this._statesTabIsOpen?H` <button
559                    class="popover-button"
560                    aria-label="States"
561                    @click=${()=>{this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate()}}
562                    @keydown=${t=>{("Space"===t.code||"Enter"===t.code)&&(this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate())}}
563                  >
564                    <div class="popover-button-text">States</div>
565                    <div>
566                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
567                        <path
568                          fill-rule="evenodd"
569                          clip-rule="evenodd"
570                          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"
571                          fill="#4C5863"
572                        />
573                      </svg>
574                    </div>
575                  </button>`:""}
576              ${this._animationsTabIsOpen?H`<button
577                      class="option-title-button"
578                      aria-label="Back to main popover menu"
579                      @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate()}}
580                    >
581                      <div class="option-title-chevron">
582                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
583                          <path
584                            fill-rule="evenodd"
585                            clip-rule="evenodd"
586                            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"
587                            fill="#20272C"
588                          />
589                        </svg>
590                      </div>
591                      <div>Animations</div>
592                    </button>
593                    <div class="option-title-separator"></div>
594                    <div class="option-row">
595                      <ul>
596                        ${this.animations().map(t=>H`
597                            <li>
598                              <button
599                                class="option-button"
600                                aria-label=${`${t}`}
601                                @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(t),this.requestUpdate()}}
602                                @keydown=${e=>{("Space"===e.code||"Enter"===e.code)&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(t),this.requestUpdate())}}
603                              >
604                                <div class="option-tick">
605                                  ${this.currentAnimation()===t?H`
606                                        <svg
607                                          width="24"
608                                          height="24"
609                                          viewBox="0 0 24 24"
610                                          fill="none"
611                                          xmlns="http://www.w3.org/2000/svg"
612                                        >
613                                          <path
614                                            fill-rule="evenodd"
615                                            clip-rule="evenodd"
616                                            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"
617                                            fill="#20272C"
618                                          />
619                                        </svg>
620                                      `:H`<div style="width: 24px; height: 24px"></div>`}
621                                </div>
622                                <div>${t}</div>
623                              </button>
624                            </li>
625                          `)}
626                      </ul>
627                    </div> `:H``}
628              ${this._styleTabIsOpen?H`<div class="option-title-themes-row">
629                      <button
630                        class="option-title-button themes"
631                        aria-label="Back to main popover menu"
632                        @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate()}}
633                      >
634                        <div class="option-title-chevron">
635                          <svg
636                            width="24"
637                            height="24"
638                            viewBox="0 0 24 24"
639                            fill="none"
640                            xmlns="http://www.w3.org/2000/svg"
641                          >
642                            <path
643                              fill-rule="evenodd"
644                              clip-rule="evenodd"
645                              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"
646                              fill="#20272C"
647                            />
648                          </svg>
649                        </div>
650                        <div class="option-title-text">Themes</div>
651                        ${(null==(n=this._dotLottieCommonPlayer)?void 0:n.defaultTheme)===""?H``:H`
652                              <button
653                                class="reset-btn"
654                                @click=${()=>{this.setTheme(""),this.requestUpdate()}}
655                              >
656                                Reset
657                              </button>
658                            `}
659                      </button>
660                    </div>
661                    <div class="option-title-separator"></div>
662                    <div class="option-row">
663                      <ul>
664                        ${this._themesForCurrentAnimation.map(t=>H`
665                            <li>
666                              <button
667                                class="option-button"
668                                aria-label="${t.id}"
669                                @click=${()=>{this.setTheme(t.id)}}
670                                @keydown=${e=>{("Space"===e.code||"Enter"===e.code)&&this.setTheme(t.id)}}
671                              >
672                                <div class="option-tick">
673                                  ${this.getDefaultTheme()===t.id?H`
674                                        <svg
675                                          width="24"
676                                          height="24"
677                                          viewBox="0 0 24 24"
678                                          fill="none"
679                                          xmlns="http://www.w3.org/2000/svg"
680                                        >
681                                          <path
682                                            fill-rule="evenodd"
683                                            clip-rule="evenodd"
684                                            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"
685                                            fill="#20272C"
686                                          />
687                                        </svg>
688                                      `:H`<div style="width: 24px; height: 24px"></div>`}
689                                </div>
690                                <div>${t.id}</div>
691                              </button>
692                            </li>
693                          `)}
694                      </ul>
695                    </div>`:H``}
696              ${this._statesTabIsOpen?H`<div class="option-title-themes-row">
697                      <button
698                        class="option-title-button themes"
699                        aria-label="Back to main popover menu"
700                        @click=${()=>{this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate()}}
701                      >
702                        <div class="option-title-chevron">
703                          <svg
704                            width="24"
705                            height="24"
706                            viewBox="0 0 24 24"
707                            fill="none"
708                            xmlns="http://www.w3.org/2000/svg"
709                          >
710                            <path
711                              fill-rule="evenodd"
712                              clip-rule="evenodd"
713                              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"
714                              fill="#20272C"
715                            />
716                          </svg>
717                        </div>
718                        <div class="option-title-text">States</div>
719                        <button
720                          class="reset-btn"
721                          @click=${()=>{this.exitInteractiveMode(),this.requestUpdate()}}
722                        >
723                          Reset
724                        </button>
725                      </button>
726                    </div>
727                    <div class="option-title-separator"></div>
728                    <div class="option-row">
729                      <ul>
730                        ${this._statesForCurrentAnimation.map(t=>H`
731                            <li>
732                              <button
733                                class="option-button"
734                                aria-label="${t}"
735                                @click=${()=>{this.enterInteractiveMode(t)}}
736                                @keydown=${e=>{("Space"===e.code||"Enter"===e.code)&&this.enterInteractiveMode(t)}}
737                              >
738                                <div class="option-tick">
739                                  ${this.getActiveStateMachine()===t?H`
740                                        <svg
741                                          width="24"
742                                          height="24"
743                                          viewBox="0 0 24 24"
744                                          fill="none"
745                                          xmlns="http://www.w3.org/2000/svg"
746                                        >
747                                          <path
748                                            fill-rule="evenodd"
749                                            clip-rule="evenodd"
750                                            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"
751                                            fill="#20272C"
752                                          />
753                                        </svg>
754                                      `:H`<div style="width: 24px; height: 24px"></div>`}
755                                </div>
756                                <div>${t}</div>
757                              </button>
758                            </li>
759                          `)}
760                      </ul>
761                    </div>`:H``}
762            </div>
763          `:H``}
764    `}render(){var t;let e=this.controls?"main controls":"main",i=this.controls?"animation controls":"animation";return H`
765      <div id="animation-container" class=${e} lang="en" role="img" aria-label="lottie-animation-container">
766        <div id="animation" class=${i} style="background:${this.background};">
767          ${(null==(t=this._dotLottieCommonPlayer)?void 0:t.currentState)===th.f.Error?H` <div class="error">⚠️</div> `:void 0}
768        </div>
769        ${this.controls?this.renderControls():void 0}
770      </div>
771    `}};(0,td.a)([tu({type:String})],tf.prototype,"defaultTheme",2),(0,td.a)([(o="#animation",(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){let o=null!=(n=i.originalKey)?n:i.key,r=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(r.finisher=function(e){t(e,o)}),r}{let n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:t=>({get(){var t,e;return null!=(e=null==(t=this.renderRoot)?void 0:t.querySelector(o))?e:null},enumerable:!0,configurable:!0})}))],tf.prototype,"container",2),(0,td.a)([tu()],tf.prototype,"playMode",2),(0,td.a)([tu({type:Boolean})],tf.prototype,"autoplay",2),(0,td.a)([tu({type:String})],tf.prototype,"background",2),(0,td.a)([tu({type:Boolean})],tf.prototype,"controls",2),(0,td.a)([tu({type:Number})],tf.prototype,"direction",2),(0,td.a)([tu({type:Boolean})],tf.prototype,"hover",2),(0,td.a)([tu({type:String})],tf.prototype,"loop",2),(0,td.a)([tu({type:String})],tf.prototype,"renderer",2),(0,td.a)([tu({type:Number})],tf.prototype,"speed",2),(0,td.a)([tu({type:String})],tf.prototype,"src",2),(0,td.a)([tu()],tf.prototype,"intermission",2),(0,td.a)([tu({type:String})],tf.prototype,"activeAnimationId",2),(0,td.a)([tu({type:Boolean})],tf.prototype,"light",2),(0,td.a)([tu({type:Boolean})],tf.prototype,"worker",2),(0,td.a)([tu({type:String})],tf.prototype,"activeStateId",2),(0,td.a)([tu({...void 0,state:!0})],tf.prototype,"_seeker",2),customElements.get(tc)||customElements.define(tc,tf)}}]);

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.