/** * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const h1=globalThis,$3=h1.ShadowRoot&&(h1.ShadyCSS===void 0||h1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$4=Symbol(),jy=new WeakMap;let uA=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==$4)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if($3&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=jy.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&jy.set(r,e))}return e}toString(){return this.cssText}};const Ut=t=>new uA(typeof t=="string"?t:t+"",void 0,$4),hA=(t,e)=>{if($3)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const i=document.createElement("style"),n=h1.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},qy=$3?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return Ut(r)})(t):t;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const{is:pA,defineProperty:dA,getOwnPropertyDescriptor:fA,getOwnPropertyNames:mA,getOwnPropertySymbols:gA,getPrototypeOf:yA}=Object,Dp=globalThis,Uy=Dp.trustedTypes,xA=Uy?Uy.emptyScript:"",vA=Dp.reactiveElementPolyfillSupport,$c=(t,e)=>t,B1={toAttribute(t,e){switch(e){case Boolean:t=t?xA:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Tp=(t,e)=>!pA(t,e),Hy={attribute:!0,type:String,converter:B1,reflect:!1,useDefault:!1,hasChanged:Tp};Symbol.metadata??=Symbol("metadata"),Dp.litPropertyMetadata??=new WeakMap;let So=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Hy){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&dA(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){const{get:n,set:a}=fA(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){const l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Hy}static _$Ei(){if(this.hasOwnProperty($c("elementProperties")))return;const e=yA(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($c("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($c("properties"))){const r=this.properties,i=[...mA(r),...gA(r)];for(const n of i)this.createProperty(n,r[n])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[r,i]of this.elementProperties){const n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const n of i)r.unshift(qy(n))}else e!==void 0&&r.push(qy(e));return r}static _$Eu(e,r){const i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,r=this.constructor.elementProperties;for(const i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return hA(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){const i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){const a=(i.converter?.toAttribute!==void 0?i.converter:B1).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){const i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){const a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:B1;this._$Em=n;const l=s.fromAttribute(r,a.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){const n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Tp)(a,r)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,a]of i){const{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};So.elementStyles=[],So.shadowRootOptions={mode:"open"},So[$c("elementProperties")]=new Map,So[$c("finalized")]=new Map,vA?.({ReactiveElement:So}),(Dp.reactiveElementVersions??=[]).push("2.1.1");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const I3=globalThis,z1=I3.trustedTypes,Wy=z1?z1.createPolicy("lit-html",{createHTML:t=>t}):void 0,I4="$lit$",ma=`lit$${Math.random().toFixed(9).slice(2)}$`,M4="?"+ma,bA=`<${M4}>`,bs=document,Uc=()=>bs.createComment(""),Hc=t=>t===null||typeof t!="object"&&typeof t!="function",M3=Array.isArray,kA=t=>M3(t)||typeof t?.[Symbol.iterator]=="function",bf=`[ \f\r]`,Ol=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xy=/-->/g,Yy=/>/g,Ga=RegExp(`>|${bf}(?:([^\\s"'>=/]+)(${bf}*=${bf}*(?:[^ \f\r"'\`<>=]|("|')|))|$)`,"g"),Zy=/'/g,Ky=/"/g,B4=/^(?:script|style|textarea|title)$/i,wA=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),et=wA(1),kn=Symbol.for("lit-noChange"),Se=Symbol.for("lit-nothing"),Jy=new WeakMap,os=bs.createTreeWalker(bs,129);function z4(t,e){if(!M3(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wy!==void 0?Wy.createHTML(e):e}const SA=(t,e)=>{const r=t.length-1,i=[];let n,a=e===2?"":e===3?"":"",s=Ol;for(let l=0;l"?(s=n??Ol,f=-1):u[1]===void 0?f=-2:(f=s.lastIndex-u[2].length,c=u[1],s=u[3]===void 0?Ga:u[3]==='"'?Ky:Zy):s===Ky||s===Zy?s=Ga:s===Xy||s===Yy?s=Ol:(s=Ga,n=void 0);const y=s===Ga&&t[l+1].startsWith("/>")?" ":"";a+=s===Ol?o+bA:f>=0?(i.push(c),o.slice(0,f)+I4+o.slice(f)+ma+y):o+ma+(f===-2?l:y)}return[z4(t,a+(t[r]||"")+(e===2?"":e===3?"":"")),i]};let a2=class L4{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0;const l=e.length-1,o=this.parts,[c,u]=SA(e,r);if(this.el=L4.createElement(c,i),os.currentNode=this.el.content,r===2||r===3){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(n=os.nextNode())!==null&&o.length0){n.textContent=z1?z1.emptyScript:"";for(let y=0;y2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Se}_$AI(e,r=this,i,n){const a=this.strings;let s=!1;if(a===void 0)e=Ho(this,e,r,0),s=!Hc(e)||e!==this._$AH&&e!==kn,s&&(this._$AH=e);else{const l=e;let o,c;for(e=a[0],o=0;o{const i=r?.renderBefore??e;let n=i._$litPart$;if(n===void 0){const a=r?.renderBefore??null;i._$litPart$=n=new $p(e.insertBefore(Uc(),a),a,void 0,r??{})}return n._$AI(t),n};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const B3=globalThis;let jt=class extends So{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=$A(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return kn}};jt._$litElement$=!0,jt.finalized=!0,B3.litElementHydrateSupport?.({LitElement:jt});const IA=B3.litElementPolyfillSupport;IA?.({LitElement:jt});(B3.litElementVersions??=[]).push("4.2.1");/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const Yt=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const MA={attribute:!0,type:String,converter:B1,reflect:!1,hasChanged:Tp},BA=(t=MA,e,r)=>{const{kind:i,metadata:n}=r;let a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),i==="accessor"){const{name:s}=r;return{set(l){const o=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,o,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(i==="setter"){const{name:s}=r;return function(l){const o=this[s];e.call(this,l),this.requestUpdate(s,o,t)}}throw Error("Unsupported decorator location: "+i)};function it(t){return(e,r)=>typeof r=="object"?BA(t,e,r):((i,n,a)=>{const s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */function he(t){return it({...t,state:!0,attribute:!1})}/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const L1=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */function pe(t,e){return(r,i,n)=>{const a=s=>s.renderRoot?.querySelector(t)??null;if(e){const{get:s,set:l}=typeof i=="object"?r:n??(()=>{const o=Symbol();return{get(){return this[o]},set(c){this[o]=c}}})();return L1(r,i,{get(){let o=s.call(this);return o===void 0&&(o=a(this),(o!==null||this.hasUpdated)&&l.call(this,o)),o}})}return L1(r,i,{get(){return a(this)}})}}/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */let zA;function LA(t){return(e,r)=>L1(e,r,{get(){return(this.renderRoot??(zA??=document.createDocumentFragment())).querySelectorAll(t)}})}/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */function OA(t){return(e,r)=>{const{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return L1(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const{I:VA}=DA,NA=t=>t.strings===void 0,Qy=()=>document.createComment(""),Vl=(t,e,r)=>{const i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){const a=i.insertBefore(Qy(),n),s=i.insertBefore(Qy(),n);r=new VA(a,s,t,t.options)}else{const a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let o;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(o=t._$AU)!==s._$AU&&r._$AP(o)}if(a!==n||l){let o=r._$AA;for(;o!==a;){const c=o.nextSibling;i.insertBefore(o,n),o=c}}}return r},Fa=(t,e,r=t)=>(t._$AI(e,r),t),GA={},FA=(t,e=GA)=>t._$AH=e,RA=t=>t._$AH,kf=t=>{t._$AR(),t._$AA.remove()};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const Cs={ATTRIBUTE:1,CHILD:2,ELEMENT:6},i0=t=>(...e)=>({_$litDirective$:t,values:e});let hu=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const Ic=(t,e)=>{const r=t._$AN;if(r===void 0)return!1;for(const i of r)i._$AO?.(e,!1),Ic(i,e);return!0},O1=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},V4=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),UA(e)}};function jA(t){this._$AN!==void 0?(O1(this),this._$AM=t,V4(this)):this._$AM=t}function qA(t,e=!1,r=0){const i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let a=r;a{t.type==Cs.CHILD&&(t._$AP??=qA,t._$AQ??=jA)};let N4=class extends hu{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,i){super._$AT(e,r,i),V4(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(Ic(this,e),O1(this))}setValue(e){if(NA(this._$Ct))this._$Ct._$AI(e,this);else{const r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const G4="important",HA=" !"+G4,Wc=i0(class extends hu{constructor(t){if(super(t),t.type!==Cs.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{const i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(const i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(const i in e){const n=e[i];if(n!=null){this.ft.add(i);const a=typeof n=="string"&&n.endsWith(HA);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?G4:""):r[i]=n}}return kn}}),WA=`:host { display: contents; --clip-x: 0px; --clip-y: 0px; --clip-h: 0px; --clip-w: 0px; } #mask { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 300; background: rgba(231, 231, 234, 0.85); backdrop-filter: grayscale(1); } #clip { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 300; clip-path: polygon( 0% 0%, 0% 100%, var(--clip-x) 100%, var(--clip-x) var(--clip-y), calc(var(--clip-x) + var(--clip-w)) var(--clip-y), calc(var(--clip-x) + var(--clip-w)) calc(var(--clip-y) + var(--clip-h)), var(--clip-x) calc(var(--clip-y) + var(--clip-h)), var(--clip-x) 100%, 100% 100%, 100% 0% ); }`;var XA=Object.getOwnPropertyDescriptor,YA=(t,e,r,i)=>{for(var n=i>1?void 0:i?XA(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};const t6=50;function e6(t){return!!(t.close&&(!t.closable||t.closable()))}let Sr=class extends jt{constructor(){super(),this.layers=[],this.close=this.close.bind(this),this.escape=this.escape.bind(this)}async attachElement(t){await this.updateComplete,this.shadowRoot.appendChild(t),"updateComplete"in t&&await t.updateComplete}detachElement(t){this.shadowRoot.removeChild(t)}ref(t,e={}){const r={...t,...e};return this.layers.push(r),e.clip&&(this.style.setProperty("--clip-x",`${e.clip.x}px`),this.style.setProperty("--clip-y",`${e.clip.y}px`),this.style.setProperty("--clip-w",`${e.clip.w}px`),this.style.setProperty("--clip-h",`${e.clip.h}px`)),this.requestUpdate(),this.layerIndex(r)}unref(){this.layers.pop(),this.requestUpdate()}escape(t){if(t.defaultPrevented||t.key!=="Escape"||!this.layers.length)return;const e=this.layers[this.layers.length-1];e6(e)&&e.close()}close(t){if(!this.layers.length||t.defaultPrevented)return;const e=Array.from(t.composedPath()).filter(s=>s instanceof HTMLElement),r=this.layers[this.layers.length-1],i=r.element&&e.includes(r.element),n=r.closeBoundary&&e.includes(r.closeBoundary);i||n||e6(r)&&r.close()}connectedCallback(){if(super.connectedCallback(),Sr.currentInstance)throw new Error("Overlay outlet already in DOM.");Sr.currentInstance=this,window.addEventListener("click",this.close),window.addEventListener("keydown",this.escape)}disconnectedCallback(){window.removeEventListener("click",this.close),window.removeEventListener("keydown",this.escape),Sr.currentInstance===this&&(Sr.currentInstance=void 0),super.disconnectedCallback()}wheel(t){t.preventDefault()}render(){const t=this.maskIndex(),e=this.clipIndex();return et` ${t!==-1?et`
`:null} ${e!==-1?et`
`:null} `}layerIndex(t){for(let e=this.layers.length-1;e>=0;e--)if(this.layers[e]===t)return t6+e*3;return t6+2}maskIndex(){for(let t=this.layers.length-1;t>=0;t--)if(this.layers[t].mask)return this.layerIndex(this.layers[t])-2;return-1}clipIndex(){return this.layers.length&&this.layers[this.layers.length-1].clip?this.layerIndex(this.layers[this.layers.length-1])-1:-1}static get instance(){if(!Sr.currentInstance){const t=document.createElement("li-overlay-outlet");document.body.appendChild(t),Sr.currentInstance=t}return Sr.currentInstance}};Sr.styles=Ut(WA);Sr=YA([Yt("li-overlay-outlet")],Sr);const ra=10;function pu(){return new ZA}class ZA{constructor(){this.opened=!1}register(e){e.style.display="none",this._element=e}unregister(){}close(){!this.opened||!this._element||(Sr.instance.unref(),Sr.instance.detachElement(this._element),this.opened=!1)}async open(e,r,i={}){if(this.opened){this.close();return}const n=r.getBoundingClientRect(),a=this._element;a.style.display="",a.style.position="absolute",await Sr.instance.attachElement(a);let l=""+Sr.instance.ref({element:a,closeBoundary:i.closeBoundary||r,close:this.close.bind(this)},{clip:{x:n?.x||0,y:n?.y||0,w:n?.width||0,h:n?.height||0}}),o="",c="",u="",f="",h="100vw",y="100vh",g="",m="";if(e==="menu"){const k=window.innerWidth,d=window.innerHeight,p=n.left>16&255,g:e>>8&255,b:e&255}}function j4(t){const{r:e,g:r,b:i}=iE(t);return[No(e),No(r),No(i)]}function r6(t){const e={r:Sf(t[0]),g:Sf(t[1]),b:Sf(t[2])};return rE(e)}function q4(t,{lottieInstance:e}={}){const r=[];return!t||!t.layers||t.layers.forEach((i,n)=>{!i.nm||!i.ef||i.ef.forEach((a,s)=>{var l,o,c;const u=(c=(o=(l=a?.ef)==null?void 0:l[0])==null?void 0:o.v)==null?void 0:c.k;if(u===void 0)return;let f;e?f=`renderer.elements.${n}.effectsManager.effectElements.${s}.effectElements.0.p.v`:f=`layers.${n}.ef.${s}.ef.0.v.k`;let h;if(a.mn==="ADBE Color Control"?h="color":a.mn==="ADBE Slider Control"?h="slider":a.mn==="ADBE Point Control"?h="point":a.mn==="ADBE Checkbox Control"?h="checkbox":a.mn.startsWith("Pseudo/")&&(h="feature"),!h)return;const y=a.nm.toLowerCase();r.push({name:y,path:f,value:u,type:h})})}),r}function U4(t,e,r){for(const i of e)i.type==="color"?typeof r=="object"&&"r"in r&&"g"in r&&"b"in r?ia(t,i.path,[No(r.r),No(r.g),No(r.b)]):Array.isArray(r)?ia(t,i.path,r):typeof r=="string"&&ia(t,i.path,j4(F4(r))):i.type==="point"?typeof r=="object"&&"x"in r&&"y"in r?(ia(t,i.path+".0",r.x),ia(t,i.path+".1",r.y)):Array.isArray(r)&&(ia(t,i.path+".0",r[0]),ia(t,i.path+".1",r[1])):ia(t,i.path,r)}function Do(t,e){const r=[];for(const i of Object.keys(t)){const n=t[i];R4(n)&&r.push(...Do(n,e))}return t.x&&typeof t.x=="string"&&t.x.includes(e)&&r.push(t),r}function nE(t,e,r){const i=QA(r);if(!i)return;const n=e.map(a=>a.name);if(n.includes("stroke-layers")){const a={1:Do(t,"effect('stroke-layers')('Menu') == 1"),2:Do(t,"effect('stroke-layers')('Menu') == 2"),3:Do(t,"effect('stroke-layers')('Menu') == 3")};for(const s of[1,2,3])for(const l of a[s])s==i?l.k=100:l.k=0}else if(n.includes("stroke")){const a=/\$bm_div\(value,[ ]{0,}([0-9]+)\)/gm,s=e.filter(o=>o.name==="stroke")[0],l=Do(t,"effect('stroke')('Menu')");for(const o of l){const c=s&&s.value?i/s.value:i;if(R4(o.k)&&Array.isArray(o.k))for(const u of o.k)Array.isArray(u.s)&&(u.s=u.s.map(f=>f*c));else o.k=o.k*c;o.x=o.x.replace(a,`$bm_div(value, ${i})`)}}for(const a of e)(a.name==="stroke"||a.name==="stroke-layers")&&U4(t,[a],i)}function aE(t,e,r){for(const i of Object.keys(r)){const n=F4(r[i]),a=Do(t,`effect('${i}')('Color')`);for(const s of a)s.k=[...j4(n),1];for(const s of e)s.name===i&&U4(t,[s],n)}}function sE(t,e,r){const i=tE(r);if(i)for(const n of t.markers||[]){const a=n.cm.split(":");a[0]==="default"&&a.shift();const[s,...l]=a;n.cm=s,s===i&&(n.cm=["default",s,...l].join(":"),t.ip=n.tm,t.op=n.tm+n.dr)}}function oE(t,e,r){const i=q4(t),n=eE(t);return e.stroke&&nE(n,i,e.stroke),e.colors&&aE(n,i,e.colors),e.state&&sE(n,i,e.state),n}const lE=["default"];function H4(t){return!t||!t.markers||!Array.isArray(t.markers)?[]:t.markers.map(e=>{const r=e.cm.split(":"),i={time:e.tm,duration:e.dr,name:"",default:!1,params:[]};for(;lE.includes(r[0]);){switch(r[0]){case"default":i.default=!0;break;default:throw new Error(`Unsupported state flag: ${r[0]}`)}r.shift()}return i.name=r[0],i.params=r.slice(1,r.length),i})}function W4(t){const[e,r]=t.split("-");return["in","hover","loop","morph"].includes(e)?e:"hover"}function s2(t){const[e,r]=t.split("-");let i=[0,0];return["loop"].includes(e)?i=[0,0]:["morph","boomerang"].includes(e)?i=[1e3,1e3]:["in"].includes(e)?i=[1500,1e3]:["hover"].includes(e)&&(i=[2e3,0]),i}function cE(t){const[e,r]=t.split("-");return["morph"].includes(e)}function uE(t,e={}){const r=H4(t),i=t?.fr||30,n=e.state||"",a=r.find(d=>d.name===n);if(!a)throw new Error(`State "${n}" not found in icon data.`);const s=e.preview,l=W4(n),o=e.delay!==void 0?e.delay:s2(n),c=l!=="in",u=cE(n),f=e.speed!==void 0?e.speed:1,h=[],y=[];let g=!1,m=0;const k=d=>(d||0)/i*1e3*(1/f);if(["morph"].includes(l)){let d=0;if(a.params.length){const p=parseFloat(a.params[0]);!isNaN(p)&&p>0&&p<=1&&(d=p)}if(c||u)if(d){const p=a.duration*d,x=[0,p],b=[p,a.duration],v=a.duration*d,S=a.duration*(1-d);o?.[0]&&(h.push(`delay:${o?.[0]}`),m+=o?.[0],y.push({duration:o?.[0],animation:!1,ratio:0,title:"In delay"})),h.push(`frame:${x[0]}:${x[1]}`),m+=k(v),y.push({duration:k(v),animation:!0,ratio:0,title:"Play"}),o?.[1]&&(h.push(`delay:${o?.[1]}`),m+=o?.[1],y.push({duration:o?.[1],animation:!1,ratio:0,title:"Delay"})),h.push(`frame:${b[0]}:${b[1]}`),m+=k(S),y.push({duration:k(S),animation:!0,ratio:0,title:"Reverse play"}),g=!0}else o?.[0]&&(h.push(`delay:${o?.[0]}`),m+=o?.[0],y.push({duration:o?.[0],animation:!1,ratio:0,title:"In delay"})),h.push("play"),m+=k(a?.duration),y.push({duration:k(a?.duration),animation:!0,ratio:0,title:"Play"}),o?.[1]&&(h.push(`delay:${o?.[1]}`),m+=o?.[1],y.push({duration:o?.[1],animation:!1,ratio:0,title:"Delay"})),h.push("play:reverse"),m+=k(a?.duration),y.push({duration:k(a?.duration),animation:!0,ratio:0,title:"Reverse play"}),g=!0;else if(d){const p=a.duration*d,x=[0,p];a.duration;const b=a.duration*d;a.duration*(1-d),o?.[0]&&(h.push(`delay:${o?.[0]}`),m+=o?.[0],y.push({duration:o?.[0],animation:!1,ratio:0,title:"Delay"})),h.push(`frame:${x[0]}:${x[1]}`),m+=k(b),y.push({duration:k(b),animation:!0,ratio:0,title:"Play"})}else o?.[0]&&(h.push(`delay:${o?.[0]}`),m+=o?.[0],y.push({duration:o?.[0],animation:!1,ratio:0,title:"Delay"})),h.push("play"),m+=k(a?.duration),y.push({duration:k(a?.duration),animation:!0,ratio:0,title:"Play"})}else o?.[0]&&(h.push(`delay:${o?.[0]}`),m+=o?.[0],y.push({duration:o?.[0],animation:!1,ratio:0,title:"Delay"})),h.push("play"),m+=k(a?.duration),y.push({duration:k(a?.duration),animation:!0,ratio:0,title:"Play"});return h.length&&!c&&s&&h.push("idle"),h.length||(h.push("play"),m+=k(a?.duration),y.push({duration:k(a?.duration),animation:!0,ratio:0,title:"Play"})),y.forEach(d=>{d.ratio=d.duration/m}),{sequence:h.join(","),duration:m,sections:y,multiple:g}}class hE{cancel(){this.active&&this.async&&(this.async.cancel(this.asyncHandler),this.asyncHandler=void 0)}update(e,r){this.async=e,this.callback=r,this.asyncHandler=e.run(()=>{this.asyncHandler=void 0,this.callback()})}get active(){return this.asyncHandler!==void 0}}function V1(t,e,r){return t?t.cancel():t=new hE,t.update(e,r),t}window.clearTimeout.bind(window),window.setTimeout.bind(window);const N1=t=>({cancel:window.clearTimeout.bind(window),run(e){return setTimeout(e,t)}}),pE=matchMedia("(pointer: coarse)").matches;function dE(){let t=document.createElement("div");t.style.cssText="overflow:scroll; visibility:hidden; position:absolute;",document.body.appendChild(t);let e=t.offsetWidth-t.clientWidth;return t.remove(),e}function z3(t){t=t.replace(/^#/,""),t.length===3&&(t=t.split("").map(u=>u+u).join(""));const e=/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!e)return{h:0,s:0,l:0};let r=parseInt(e[1],16),i=parseInt(e[2],16),n=parseInt(e[3],16);r/=255,i/=255,n/=255;const a=Math.max(r,i,n),s=Math.min(r,i,n);let l,o,c=(a+s)/2;if(l=0,a==s)l=o=0;else{let u=a-s;switch(o=c>.5?u/(2-a-s):u/(a+s),a){case r:l=(i-n)/u+(i=.8&&e?`hsl(${r.h*360}, ${r.s*100}%, 80%)`:`hsl(${r.h*360}, ${r.s*100}%, ${r.l*100}%)`}function fE(t,e=.8){return z3(t).l>=e}function mE(t,e=.2){return z3(t).l<=e}function X4(t){return t=t.replace(/^#/,""),t.length===3&&(t=t.split("").map(r=>r+r).join("")),!!/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t)}const gE={wired_outline:{"#121331":"#ffffff"},system_solid:{"#121331":"#ffffff"},system_regular:{"#121331":"#ffffff"},doodle_outline:{"#17171c":"#ffffff"},doodle_black:{"#17171c":"#ffffff"},doodle_motif:{"#2a306b":"#ffffff"}},n6=["wired-outline","wired-flat","wired-lineal","wired-gradient","system-regular","system-solid","doodle-outline","doodle-black","doodle-motif","doodle-color"];var yE=Object.defineProperty,xE=Object.defineProperties,vE=Object.getOwnPropertyDescriptors,a6=Object.getOwnPropertySymbols,bE=Object.prototype.hasOwnProperty,kE=Object.prototype.propertyIsEnumerable,o2=(t,e,r)=>e in t?yE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,p1=(t,e)=>{for(var r in e||(e={}))bE.call(e,r)&&o2(t,r,e[r]);if(a6)for(var r of a6(e))kE.call(e,r)&&o2(t,r,e[r]);return t},wE=(t,e)=>xE(t,vE(e)),gi=(t,e,r)=>o2(t,typeof e!="symbol"?e+"":e,r);function SE(t){return document.createElement(t)}function Jt(t,e){var r,i=t.length,n;for(r=0;r{Y4=!!t},TE=()=>Y4,t7=t=>{Z4=t},Mp=()=>Z4,$E=t=>{K4=t},IE=()=>K4,Mh=t=>{Q4=t},G1=()=>Q4,ME=t=>{J4=t};function e7(){}e7.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i{r7=t},Ur=()=>r7,Bp=function(){var t=1,e=[],r,i,n={onmessage:function(){},postMessage:function(h){r({data:h})}},a={postMessage:function(h){n.onmessage({data:h})}};function s(h){return r=h,n}function l(){i||(i=s(function(h){function y(){function m($,O){var N,B,A=$.length,I,V,j,nt;for(B=0;B=0;O-=1)if($[O].ty==="sh")if($[O].ks.k.i)b($[O].ks.k);else for(A=$[O].ks.k.length,B=0;BN[0]?!0:N[0]>$[0]?!1:$[1]>N[1]?!0:N[1]>$[1]?!1:$[2]>N[2]?!0:N[2]>$[2]?!1:null}var S=function(){var $=[4,4,14];function O(B){var A=B.t.d;B.t.d={k:[{s:A,t:0}]}}function N(B){var A,I=B.length;for(A=0;A=0;A-=1)if(B[A].ty==="sh")if(B[A].ks.k.i)B[A].ks.k.c=B[A].closed;else for(j=B[A].ks.k.length,V=0;V{Mc[t]=e};function VE(t){return Mc[t]}function NE(){if(Mc.canvas)return"canvas";for(const t in Mc)if(Mc[t])return t;return""}const Mt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Ar(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=TE(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=LE(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new l2("drawnFrame",0,0,0),this.expressionsPlugin=Mp()};Jt([e7],Mt);Mt.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);const r=VE(e);this.renderer=new r(this,t.rendererSettings),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Bp.loadAnimation(t.path,this.configAnimation,this.onSetupError))};Mt.prototype.onSetupError=function(){this.trigger("data_failed")};Mt.prototype.setupAnimation=function(t){Bp.completeAnimation(t,this.configAnimation)};Mt.prototype.setData=function(t,e){e&&typeof e!="object"&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:NE()||"canvas";var n=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";n==="false"?r.loop=!1:n==="true"?r.loop=!0:n!==""&&(r.loop=parseInt(n,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=a!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var s=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";s==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")};Mt.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,i=e.length,n=t.layers,a,s=n.length;for(a=0;athis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")};Mt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}};Mt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this._idle&&(this._idle=!1,this.trigger("_active")))};Mt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"))};Mt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())};Mt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))};Mt.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}};Mt.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")};Mt.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)};Mt.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),typeof t[0]=="object"){var r,i=t.length;for(r=0;r=0;$-=1)e[$].animation.destroy(z)}function w(z,$,O){var N=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),B,A=N.length;for(B=0;B0?b=w:x=w;while(Math.abs(_)>a&&++P=n?k(p,M,x,b):L===0?M:m(p,S,S+o,x,b)}},t}(),i7=function(){function t(e){return e.concat(Je(e.length))}return{double:t}}(),zp=function(){return function(t,e,r){var i=0,n=t,a=Je(n),s={newElement:l,release:o};function l(){var c;return i?(i-=1,c=a[i]):c=e(),c}function o(c){i===n&&(a=i7.double(a),n*=2),r&&r(c),a[i]=c,i+=1}return s}}(),n7=function(){function t(){return{addedLength:0,percents:re("float32",G1()),lengths:re("float32",G1())}}return zp(8,t)}(),a7=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var i,n=r.lengths.length;for(i=0;i-.001&&p<.001}function r(h,y,g,m,k,d,p,x,b){if(g===0&&d===0&&b===0)return e(h,y,m,k,p,x);var v=t.sqrt(t.pow(m-h,2)+t.pow(k-y,2)+t.pow(d-g,2)),S=t.sqrt(t.pow(p-h,2)+t.pow(x-y,2)+t.pow(b-g,2)),_=t.sqrt(t.pow(p-m,2)+t.pow(x-k,2)+t.pow(b-d,2)),w;return v>S?v>_?w=v-S-_:w=_-S-v:_>S?w=_-S-v:w=S-v-_,w>-1e-4&&w<1e-4}var i=function(){return function(h,y,g,m){var k=G1(),d,p,x,b,v,S=0,_,w=[],P=[],M=n7.newElement();for(x=g.length,d=0;dp?-1:1,v=!0;v;)if(m[d]<=p&&m[d+1]>p?(x=(p-m[d])/(m[d+1]-m[d]),v=!1):d+=b,d<0||d>=k-1){if(d===k-1)return g[d];v=!1}return g[d]+(g[d+1]-g[d])*x}function c(h,y,g,m,k,d){var p=o(k,d),x=1-p,b=t.round((x*x*x*h[0]+(p*x*x+x*p*x+x*x*p)*g[0]+(p*p*x+x*p*p+p*x*p)*m[0]+p*p*p*y[0])*1e3)/1e3,v=t.round((x*x*x*h[1]+(p*x*x+x*p*x+x*x*p)*g[1]+(p*p*x+x*p*p+p*x*p)*m[1]+p*p*p*y[1])*1e3)/1e3;return[b,v]}var u=re("float32",8);function f(h,y,g,m,k,d,p){k<0?k=0:k>1&&(k=1);var x=o(k,p);d=d>1?1:d;var b=o(d,p),v,S=h.length,_=1-x,w=1-b,P=_*_*_,M=x*_*_*3,L=x*x*_*3,G=x*x*x,z=_*_*w,$=x*_*w+_*x*w+_*_*b,O=x*x*w+_*x*b+x*_*b,N=x*x*b,B=_*w*w,A=x*w*w+_*b*w+_*w*b,I=x*b*w+_*b*b+x*w*b,V=x*b*b,j=w*w*w,nt=b*w*w+w*b*w+w*w*b,D=b*b*w+w*b*b+b*w*b,T=b*b*b;for(v=0;v=c.t-r){o.h&&(o=c),n=0;break}if(c.t-r>t){n=a;break}a=d||t=d?b.points.length-1:0;for(h=b.points[v].point.length,f=0;f=w&&S=d)i[0]=x[0],i[1]=x[1],i[2]=x[2];else if(t<=p)i[0]=o.s[0],i[1]=o.s[1],i[2]=o.s[2];else{var $=p6(o.s),O=p6(x),N=(t-p)/(d-p);RE(i,FE($,O,N))}else for(a=0;a=d?y=1:t1e-6?(h=Math.acos(y),g=Math.sin(h),m=Math.sin((1-r)*h)/g,k=Math.sin(r*h)/g):(m=1-r,k=r),i[0]=m*n+k*o,i[1]=m*a+k*c,i[2]=m*s+k*u,i[3]=m*l+k*f,i}function RE(t,e){var r=e[0],i=e[1],n=e[2],a=e[3],s=Math.atan2(2*i*a-2*r*n,1-2*i*i-2*n*n),l=Math.asin(2*r*i+2*n*a),o=Math.atan2(2*r*a-2*i*n,1-2*r*r-2*n*n);t[0]=s/Ce,t[1]=l/Ce,t[2]=o/Ce}function p6(t){var e=t[0]*Ce,r=t[1]*Ce,i=t[2]*Ce,n=Math.cos(e/2),a=Math.cos(r/2),s=Math.cos(i/2),l=Math.sin(e/2),o=Math.sin(r/2),c=Math.sin(i/2),u=n*a*s-l*o*c,f=l*o*s+n*a*c,h=l*a*s+n*o*c,y=n*o*s-l*a*c;return[f,h,y,u]}function o7(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==hs&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function Lp(t){var e;if(this.propType==="unidimensional")e=t*this.mult,h6(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,i=this.v.length;r1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function Op(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!n)&&(a[i]=ps.newElement()),a[i][0]=t,a[i][1]=e};jn.prototype.setTripleAt=function(t,e,r,i,n,a,s,l){this.setXYAt(t,e,"v",s,l),this.setXYAt(r,i,"o",s,l),this.setXYAt(n,a,"i",s,l)};jn.prototype.reverse=function(){var t=new jn;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var a=this._length-1,s=this._length,l;for(l=n;l=$[$.length-1].t-this.offsetTime)v=$[$.length-1].s?$[$.length-1].s[0]:$[$.length-2].e[0],_=!0;else{for(var O=b,N=$.length-1,B=!0,A,I,V;B&&(A=$[O],I=$[O+1],!(I.t-this.offsetTime>d));)O=I.t-this.offsetTime)G=1;else if(dx&&d>x)||(this._caching.lastIndex=b0||A>-1e-6&&A<0?i(A*I)/I:A}function B(){var A=this.props,I=N(A[0]),V=N(A[1]),j=N(A[4]),nt=N(A[5]),D=N(A[12]),T=N(A[13]);return"matrix("+I+","+V+","+j+","+nt+","+D+","+T+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=s,this.rotateY=l,this.rotateZ=o,this.skew=u,this.skewFromAxis=f,this.shear=c,this.scale=h,this.setTransform=y,this.translate=g,this.transform=m,this.multiply=k,this.applyToPoint=v,this.applyToX=S,this.applyToY=_,this.applyToZ=w,this.applyToPointArray=z,this.applyToTriplePoints=G,this.applyToPointStringified=$,this.toCSS=O,this.to2dCSS=B,this.clone=x,this.cloneFromProps=b,this.equals=p,this.inversePoints=L,this.inversePoint=M,this.getInverseMatrix=P,this._t=this.transform,this.isIdentity=d,this._identity=!0,this._identityCalculated=!1,this.props=re("float32",16),this.reset()}}(),Ae={};function WE(t){BE(t)}function XE(){Or.searchAnimations()}function YE(t){DE(t)}function ZE(t){ME(t)}function KE(t){return Or.loadAnimation(t)}function JE(t){if(typeof t=="string")switch(t){case"high":Mh(200);break;default:case"medium":Mh(50);break;case"low":Mh(10);break}else!isNaN(t)&&t>1&&Mh(t)}function QE(){return typeof navigator<"u"}function t_(t,e){t==="expressions"&&t7(e)}function e_(t){switch(t){case"propertyFactory":return xt;case"shapePropertyFactory":return xa;case"matrix":return Fe;default:return null}}Ae.play=Or.play;Ae.pause=Or.pause;Ae.setLocationHref=WE;Ae.togglePause=Or.togglePause;Ae.setSpeed=Or.setSpeed;Ae.setDirection=Or.setDirection;Ae.stop=Or.stop;Ae.searchAnimations=XE;Ae.registerAnimation=Or.registerAnimation;Ae.loadAnimation=KE;Ae.setSubframeRendering=YE;Ae.resize=Or.resize;Ae.goToAndStop=Or.goToAndStop;Ae.destroy=Or.destroy;Ae.setQuality=JE;Ae.inBrowser=QE;Ae.installPlugin=t_;Ae.freeze=Or.freeze;Ae.unfreeze=Or.unfreeze;Ae.getRegisteredAnimations=Or.getRegisteredAnimations;Ae.setIDPrefix=ZE;Ae.__getFactory=e_;Ae.version="[[BM_VERSION]]";const Ca=function(){var t={},e={};t.registerModifier=r,t.getModifier=i;function r(n,a){e[n]||(e[n]=a)}function i(n,a,s){return new e[n](a,s)}return t}();function Mi(){}Mi.prototype.initModifierProperties=function(){};Mi.prototype.addShapeToModifier=function(){};Mi.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:Ao.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}};Mi.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=F1,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)};Mi.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())};Jt([Mr],Mi);function Qi(){}Jt([Mi],Qi);Qi.prototype.initModifierProperties=function(t,e){this.s=xt.getProp(t,e.s,0,.01,this),this.e=xt.getProp(t,e.e,0,.01,this),this.o=xt.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length};Qi.prototype.addShapeToModifier=function(t){t.pathsData=[]};Qi.prototype.calculateShapeEdges=function(t,e,r,i,n){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var s=[],l,o=a.length,c;for(l=0;li+r)){var u,f;c.s*n<=i?u=0:u=(c.s*n-i)/r,c.e*n>=i+r?f=1:f=(c.e*n-i)/r,s.push([u,f])}return s.length||s.push([0,0]),s};Qi.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?e=1+i:this.s.v<0?e=0+i:e=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,e>r){var n=e;e=r,r=n}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var a,s,l=this.shapes.length,o,c,u,f,h,y=0;if(r===e)for(s=0;s=0;s-=1)if(m=this.shapes[s],m.shape._mdf){for(k=m.localShapeCollection,k.releaseShapes(),this.m===2&&l>1?(b=this.calculateShapeEdges(e,r,m.totalShapeLength,x,y),x+=m.totalShapeLength):b=[[d,p]],c=b.length,o=0;o=1?g.push({s:m.totalShapeLength*(d-1),e:m.totalShapeLength*(p-1)}):(g.push({s:m.totalShapeLength*d,e:m.totalShapeLength}),g.push({s:0,e:m.totalShapeLength*(p-1)}));var v=this.addShapes(m,g[0]);if(g[0].s!==g[0].e){if(g.length>1){var S=m.shape.paths.shapes[m.shape.paths._length-1];if(S.c){var _=v.pop();this.addPaths(v,k),v=this.addShapes(m,g[1],_)}else this.addPaths(v,k),v=this.addShapes(m,g[1])}this.addPaths(v,k)}}m.shape.paths=k}}};Qi.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;re.e){r.c=!1;break}else e.s<=c&&e.e>=c+u.addedLength?(this.addSegment(n[a].v[l-1],n[a].o[l-1],n[a].i[l],n[a].v[l],r,f,k),k=!1):(y=xn.getNewSegment(n[a].v[l-1],n[a].v[l],n[a].o[l-1],n[a].i[l],(e.s-c)/u.addedLength,(e.e-c)/u.addedLength,h[l-1]),this.addSegmentFromArray(y,r,f,k),k=!1,r.c=!1),c+=u.addedLength,f+=1;if(n[a].c&&h.length){if(u=h[l-1],c<=e.e){var d=h[l-1].addedLength;e.s<=c&&e.e>=c+d?(this.addSegment(n[a].v[l-1],n[a].o[l-1],n[a].i[0],n[a].v[0],r,f,k),k=!1):(y=xn.getNewSegment(n[a].v[l-1],n[a].v[0],n[a].o[l-1],n[a].i[0],(e.s-c)/d,(e.e-c)/d,h[l-1]),this.addSegmentFromArray(y,r,f,k),k=!1,r.c=!1)}else r.c=!1;c+=u.addedLength,f+=1}if(r._length&&(r.setXYAt(r.v[m][0],r.v[m][1],"i",m),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),c>e.e)break;a=this.p.keyframes[this.p.keyframes.length-1].t?(u=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),f=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(u=this.p.pv,f=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){u=[],f=[];var h=this.px,y=this.py;h._caching.lastFrame+h.offsetTime<=h.keyframes[0].t?(u[0]=h.getValueAtTime((h.keyframes[0].t+.01)/c,0),u[1]=y.getValueAtTime((y.keyframes[0].t+.01)/c,0),f[0]=h.getValueAtTime(h.keyframes[0].t/c,0),f[1]=y.getValueAtTime(y.keyframes[0].t/c,0)):h._caching.lastFrame+h.offsetTime>=h.keyframes[h.keyframes.length-1].t?(u[0]=h.getValueAtTime(h.keyframes[h.keyframes.length-1].t/c,0),u[1]=y.getValueAtTime(y.keyframes[y.keyframes.length-1].t/c,0),f[0]=h.getValueAtTime((h.keyframes[h.keyframes.length-1].t-.01)/c,0),f[1]=y.getValueAtTime((y.keyframes[y.keyframes.length-1].t-.01)/c,0)):(u=[h.pv,y.pv],f[0]=h.getValueAtTime((h._caching.lastFrame+h.offsetTime-.01)/c,h.offsetTime),f[1]=y.getValueAtTime((y._caching.lastFrame+y.offsetTime-.01)/c,y.offsetTime))}else f=t,u=f;this.v.rotate(-Math.atan2(u[1]-f[1],u[0]-f[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function a(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function s(o,c,u){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Fe,this.pre=new Fe,this.appliedTransformations=0,this.initDynamicPropertyContainer(u||o),c.p&&c.p.s?(this.px=xt.getProp(o,c.p.x,0,0,this),this.py=xt.getProp(o,c.p.y,0,0,this),c.p.z&&(this.pz=xt.getProp(o,c.p.z,0,0,this))):this.p=xt.getProp(o,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=xt.getProp(o,c.rx,0,Ce,this),this.ry=xt.getProp(o,c.ry,0,Ce,this),this.rz=xt.getProp(o,c.rz,0,Ce,this),c.or.k[0].ti){var f,h=c.or.k.length;for(f=0;f0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)};En.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(h):Math.ceil(h),m=this.pMatrix.props,k=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var p=0;if(h>0){for(;pg;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),p-=1;y&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-y,!0),p-=y)}i=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,a=this._currentCopies;for(var x,b;a;){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,b=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),p!==0){for((i!==0&&n===1||i!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(k[0],k[1],k[2],k[3],k[4],k[5],k[6],k[7],k[8],k[9],k[10],k[11],k[12],k[13],k[14],k[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),x=0;x0&&i<1?[e]:[]:[e-i,e+i].filter(function(n){return n>0&&n<1})};Oe.prototype.split=function(t){if(t<=0)return[m6(this.points[0]),this];if(t>=1)return[this,m6(this.points[this.points.length-1])];var e=pa(this.points[0],this.points[1],t),r=pa(this.points[1],this.points[2],t),i=pa(this.points[2],this.points[3],t),n=pa(e,r,t),a=pa(r,i,t),s=pa(n,a,t);return[new Oe(this.points[0],e,n,s,!0),new Oe(s,a,i,this.points[3],!0)]};function g6(t,e){var r=t.points[0][e],i=t.points[t.points.length-1][e];if(r>i){var n=i;i=r,r=n}for(var a=r_(3*t.a[e],2*t.b[e],t.c[e]),s=0;s0&&a[s]<1){var l=t.point(a[s])[e];li&&(i=l)}return{min:r,max:i}}Oe.prototype.bounds=function(){return{x:g6(this,0),y:g6(this,1)}};Oe.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function j1(t,e,r){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function y6(t){var e=t.bez.split(.5);return[j1(e[0],t.t1,t.t),j1(e[1],t.t,t.t2)]}function i_(t,e){return Math.abs(t.cx-e.cx)*2=a||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i){n.push([t.t,e.t]);return}var s=y6(t),l=y6(e);pc(s[0],l[0],r+1,i,n,a),pc(s[0],l[1],r+1,i,n,a),pc(s[1],l[0],r+1,i,n,a),pc(s[1],l[1],r+1,i,n,a)}}Oe.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var i=[];return pc(j1(this,0,1),j1(t,0,1),0,e,i,r),i};Oe.shapeSegment=function(t,e){var r=(e+1)%t.length();return new Oe(t.v[e],t.o[e],t.i[r],t.v[r],!0)};Oe.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new Oe(t.v[r],t.i[r],t.o[e],t.v[e],!0)};function Af(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function q1(t,e,r,i){var n=[t[0],t[1],1],a=[e[0],e[1],1],s=[r[0],r[1],1],l=[i[0],i[1],1],o=Af(Af(n,a),Af(s,l));return c2(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function To(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function Ef(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function Go(t,e){return R1(t[0],e[0])&&R1(t[1],e[1])}function gu(){}Jt([Mi],gu);gu.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=xt.getProp(t,e.s,0,null,this),this.frequency=xt.getProp(t,e.r,0,null,this),this.pointsType=xt.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function l7(t,e,r,i,n,a,s){var l=r-Math.PI/2,o=r+Math.PI/2,c=e[0]+Math.cos(r)*i*n,u=e[1]-Math.sin(r)*i*n;t.setTripleAt(c,u,c+Math.cos(l)*a,u-Math.sin(l)*a,c+Math.cos(o)*s,u-Math.sin(o)*s,t.length())}function n_(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=-Math.PI*.5,n=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return n}function a_(t,e){var r=e===0?t.length()-1:e-1,i=(e+1)%t.length(),n=t.v[r],a=t.v[i],s=n_(n,a);return Math.atan2(0,1)-Math.atan2(s[1],s[0])}function x6(t,e,r,i,n,a,s){var l=a_(e,r),o=e.v[r%e._length],c=e.v[r===0?e._length-1:r-1],u=e.v[(r+1)%e._length],f=a===2?Math.sqrt(Math.pow(o[0]-c[0],2)+Math.pow(o[1]-c[1],2)):0,h=a===2?Math.sqrt(Math.pow(o[0]-u[0],2)+Math.pow(o[1]-u[1],2)):0;l7(t,e.v[r%e._length],l,s,i,h/((n+1)*2),f/((n+1)*2))}function s_(t,e,r,i,n,a){for(var s=0;s1&&e.length>1&&(n=b6(t[0],e[e.length-1]),n)?[[t[0].split(n[0])[0]],[e[e.length-1].split(n[1])[1]]]:[r,i]}function o_(t){for(var e,r=1;r1&&(e=k6(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function w6(t,e){var r=t.inflectionPoints(),i,n,a,s;if(r.length===0)return[lo(t,e)];if(r.length===1||R1(r[1],1))return a=t.split(r[0]),i=a[0],n=a[1],[lo(i,e),lo(n,e)];a=t.split(r[0]),i=a[0];var l=(r[1]-r[0])/(1-r[0]);return a=a[1].split(l),s=a[0],n=a[1],[lo(i,e),lo(s,e),lo(n,e)]}function yu(){}Jt([Mi],yu);yu.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=xt.getProp(t,e.a,0,null,this),this.miterLimit=xt.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0};yu.prototype.processPath=function(t,e,r,i){var n=nr.newElement();n.c=t.c;var a=t.length();t.c||(a-=1);var s,l,o,c=[];for(s=0;s=0;s-=1)o=Oe.shapeSegmentInverted(t,s),c.push(w6(o,e));c=o_(c);var u=null,f=null;for(s=0;s=0;e-=1)this.elements[e]||(i=this.layers[e],i.ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()};pi.prototype.createItem=function(t){switch(t.ty){case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);default:return this.createNull(t)}};pi.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t0&&(this.maskElement.setAttribute("id",h),this.element.maskedElement.setAttribute(p,"url("+Ur()+"#"+h+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ps.prototype.getMaskProperty=function(t){return this.viewData[t].prop};Ps.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r1&&(i+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==i){var s="";r.elem&&(e.c&&(s=t.inv?this.solidPath+i:i),r.elem.setAttribute("d",s)),r.lastPath=i}};Ps.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};const dc=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(i,n){var a=gt("filter");return a.setAttribute("id",i),n!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var i=gt("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return t}(),S6=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}();var d1={},A6="filter_result_";function V3(t){var e,r="SourceGraphic",i=t.data.ef?t.data.ef.length:0,n=Ar(),a=dc.createFilter(n,!0),s=0;this.filters=[];var l;for(e=0;et?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t=0&&(r=this.shapeModifiers[t].processShapes(this._isFirstFrame),!r);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r.01)return!1;r+=1}return!0};wu.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)d=h.transformers[P].mProps._mdf||d,w-=1,P-=1;if(d)for(w=v-h.styles[x].lvl,P=h.transformers.length-1;w>0;)_.multiply(h.transformers[P].mProps.v),w-=1,P-=1}else _=t;if(S=h.sh.paths,m=S._length,d){for(k="",g=0;g=1?z=.99:z<=-1&&(z=-.99);var $=L*z,O=Math.cos(G+h.a.v)*$+k[0],N=Math.sin(G+h.a.v)*$+k[1];g.setAttribute("fx",O),g.setAttribute("fy",N),m&&!h.g._collapsable&&(h.of.setAttribute("fx",O),h.of.setAttribute("fy",N))}}}function u(f,h,y){var g=h.style,m=h.d;m&&(m._mdf||y)&&m.dashStr&&(g.pElem.setAttribute("stroke-dasharray",m.dashStr),g.pElem.setAttribute("stroke-dashoffset",m.dashoffset[0])),h.c&&(h.c._mdf||y)&&g.pElem.setAttribute("stroke","rgb("+un(h.c.v[0])+","+un(h.c.v[1])+","+un(h.c.v[2])+")"),(h.o._mdf||y)&&g.pElem.setAttribute("stroke-opacity",h.o.v),(h.w._mdf||y)&&(g.pElem.setAttribute("stroke-width",h.w.v),g.msElem&&g.msElem.setAttribute("stroke-width",h.w.v))}return r}();function rr(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}Jt([xu,vu,Np,p7,bu,ku,Gp],rr);rr.prototype.initSecondaryElement=function(){};rr.prototype.identityMatrix=new Fe;rr.prototype.buildExpressionInterface=function(){};rr.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()};rr.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,r,i,n=this.stylesList.length,a,s=[],l=!1;for(i=0;i1&&l&&this.setShapesAsAnimated(s)}};rr.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;o-=1){if(k=this.searchProcessedElement(t[o]),k?e[o]=r[k-1]:t[o]._render=s,t[o].ty==="fl"||t[o].ty==="st"||t[o].ty==="gf"||t[o].ty==="gs"||t[o].ty==="no")k?e[o].style.closed=t[o].hd:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),h.push(e[o].style);else if(t[o].ty==="gr"){if(!k)e[o]=this.createGroupElement(t[o]);else for(f=e[o].it.length,u=0;u=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}};Kn.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;te.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?e.slice(1,-1):e)}function $_(t){const e=t.match(S_);if(e){const o=Ra(e.slice(1));return c=>{var u;const{comp:f}=c;return(u=f(o[0]).layer(o[1]).effect(o[2]))==null?void 0:u("Color")}}const r=t.match(A_);if(r){const o=Ra(r.slice(1));return c=>{var u;const{comp:f,$bm_div:h,$bm_mul:y,value:g}=c;return y(h(g,+o[0]),(u=f(o[1]).layer(o[2]).effect(o[3]))==null?void 0:u(o[4]))}}const i=t.match(w_);if(i){const o=Ra(i.slice(1));return c=>{const{thisComp:u}=c;return u.layer(o[0]).effect(o[1])("Menu")==+o[2]?+o[3]:+o[4]}}const n=t.match(E_);if(n){const o=Ra(n.slice(1));return c=>{const{thisComp:u,$bm_mul:f}=c;return f(u.layer(o[0]).effect(+o[1])(o[2]),+o[3])}}const a=t.match(__);if(a){const o=Ra(a.slice(1));return c=>{const{thisComp:u}=c,f=u.layer(o[0]).effect("Scale")("Slider");return[f,f]}}const s=t.match(C_);if(s){const o=Ra(s.slice(1));return c=>{const{thisComp:u}=c;return u.layer(o[0]).effect("Axis")("Point")}}if(t.match(P_))return o=>{const{effect:c}=o;return c("Axis")("Point")};const l=t.match(D_);if(l){const o=Ra(l.slice(1));return c=>{const{thisComp:u}=c;return u.layer(o[0]).effect(o[1])("Color")}}return t.match(T_)?o=>0:null}const F3=function(){var t={},e=Vn,r=null,i=null,n=null,a=null,s=null,l={};function o(){l={}}function c(E){return E.constructor===Array||E.constructor===Float32Array}function u(E,C){return E==="number"||C instanceof Number||E==="boolean"||E==="string"}function f(E){var C=typeof E;if(C==="number"||E instanceof Number||C==="boolean")return-E;if(c(E)){var R,W=E.length,F=[];for(R=0;RR){var W=R;R=C,C=W}return e.min(e.max(E,C),R)}function L(E){return E/Ce}var G=L;function z(E){return E*Ce}var $=L,O=[0,0,0,0,0,0];function N(E,C){if(typeof E=="number"||E instanceof Number)return C=C||0,e.abs(E-C);C||(C=O);var R,W=e.min(E.length,C.length),F=0;for(R=0;R.5?Z/(2-F-J):Z/(F+J),F){case C:Q=(R-W)/Z+(R1&&(R-=1),R<1/6?E+(C-E)*6*R:R<1/2?C:R<2/3?E+(C-E)*(2/3-R)*6:E}function V(E){var C=E[0],R=E[1],W=E[2],F,J,Q;if(R===0)F=W,Q=W,J=W;else{var rt=W<.5?W*(1+R):W+R-W*R,_t=2*W-rt;F=I(_t,rt,C+1/3),J=I(_t,rt,C),Q=I(_t,rt,C-1/3)}return[F,J,Q,E[3]]}function j(E,C,R,W,F){if((W===void 0||F===void 0)&&(W=C,F=R,C=0,R=1),R=R)return F;var Q=R===C?0:(E-C)/(R-C);if(!W.length)return W+(F-W)*Q;var rt,_t=W.length,Z=re("float32",_t);for(rt=0;rt<_t;rt+=1)Z[rt]=W[rt]+(F[rt]-W[rt])*Q;return Z}function nt(E,C){if(C===void 0&&(E===void 0?(E=0,C=1):(C=E,E=void 0)),C.length){var R,W=C.length;E||(E=re("float32",W));var F=re("float32",W),J=Vn.random();for(R=0;R1){for(ht=0;ht1?Y=1:Y<0&&(Y=0);var Tn=tt(Y);if(c(mt)){var Be,zi=mt.length,Li=re("float32",zi);for(Be=0;BeC.k[Y].t&&ttC.k[Y+1].t-tt?(ht=Y+2,mt=C.k[Y+1].t):(ht=Y+1,mt=C.k[Y].t);break}ht===-1&&(ht=Y+1,mt=C.k[Y].t)}var _e={};return _e.index=ht,_e.time=mt/E.comp.globalData.frameRate,_e}function hf(tt){var Y,St,ht;if(!C.k.length||typeof C.k[0]=="number")throw new Error("The property has no keyframe at index "+tt);tt-=1,Y={time:C.k[tt].t/E.comp.globalData.frameRate,value:[]};var mt=Object.prototype.hasOwnProperty.call(C.k[tt],"s")?C.k[tt].s:C.k[tt-1].e;for(ht=mt.length,St=0;Stk.length-1)&&(y=k.length-1),x=k[k.length-1-y].t,p=d-x);var b,v,S;if(h==="pingpong"){var _=Math.floor((m-x)/p);if(_%2!==0)return this.getValueAtTime((p-(m-x)%p+x)/this.comp.globalData.frameRate,0)}else if(h==="offset"){var w=this.getValueAtTime(x/this.comp.globalData.frameRate,0),P=this.getValueAtTime(d/this.comp.globalData.frameRate,0),M=this.getValueAtTime(((m-x)%p+x)/this.comp.globalData.frameRate,0),L=Math.floor((m-x)/p);if(this.pv.length){for(S=new Array(w.length),v=S.length,b=0;b=d)return this.pv;var p,x;g?(y?p=Math.abs(this.elem.comp.globalData.frameRate*y):p=Math.max(0,this.elem.data.op-d),x=d+p):((!y||y>k.length-1)&&(y=k.length-1),x=k[y].t,p=x-d);var b,v,S;if(h==="pingpong"){var _=Math.floor((d-m)/p);if(_%2===0)return this.getValueAtTime(((d-m)%p+d)/this.comp.globalData.frameRate,0)}else if(h==="offset"){var w=this.getValueAtTime(d/this.comp.globalData.frameRate,0),P=this.getValueAtTime(x/this.comp.globalData.frameRate,0),M=this.getValueAtTime((p-(d-m)%p+d)/this.comp.globalData.frameRate,0),L=Math.floor((d-m)/p)+1;if(this.pv.length){for(S=new Array(w.length),v=S.length,b=0;b1?(k-m)/(y-1):1,p=0,x=0,b;this.pv.length?b=re("float32",this.pv.length):b=0;for(var v;pd){var S=p,_=g.c&&p===x-1?0:p+1,w=(d-b)/k[p].addedLength;v=xn.getPointInSegment(g.v[S],g.v[_],g.o[S],g.i[_],w,k[p]);break}else b+=k[p].addedLength;p+=1}return v||(v=g.c?[g.v[0][0],g.v[0][1]]:[g.v[g._length-1][0],g.v[g._length-1][1]]),v},vectorOnPath:function(h,y,g){h==1?h=this.v.c:h==0&&(h=.999);var m=this.pointOnPath(h,y),k=this.pointOnPath(h+.001,y),d=k[0]-m[0],p=k[1]-m[1],x=Math.sqrt(Math.pow(d,2)+Math.pow(p,2));if(x===0)return[0,0];var b=g==="tangent"?[d/x,p/x]:[-p/x,d/x];return b},tangentOnPath:function(h,y){return this.vectorOnPath(h,y,"tangent")},normalOnPath:function(h,y){return this.vectorOnPath(h,y,"normal")},setGroupProperty:Oi.setGroupProperty,getValueAtTime:Oi.getStaticValueAtTime},Jt([u],o),Jt([u],c),c.prototype.getValueAtTime=l,c.prototype.initiateExpression=F3.initiateExpression;var f=xa.getShapeProp;xa.getShapeProp=function(h,y,g,m,k){var d=f(h,y,g,m,k);return d.propertyIndex=y.ix,d.lock=!1,g===3?Oi.searchExpressions(h,y.pt,d):g===4&&Oi.searchExpressions(h,y.ks,d),d.k&&h.addDynamicProperty(d),d}}function j_(){R_()}function R3(){}R3.prototype={createMergeNode:(t,e)=>{var r=gt("feMerge");r.setAttribute("result",t);var i,n;for(n=0;n=c?f=g<0?i:n:f=i+y*Math.pow((l-t)/g,1/r),u[h]=f,h+=1,a+=256/(s-1);return u.join(" ")};Rp.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function U3(t,e,r,i,n){var a=e.container.globalData.renderConfig.filterSize,s=e.data.fs||a;t.setAttribute("x",s.x||a.x),t.setAttribute("y",s.y||a.y),t.setAttribute("width",s.width||a.width),t.setAttribute("height",s.height||a.height),this.filterManager=e;var l=gt("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",i+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,t.appendChild(l);var o=gt("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in",i+"_drop_shadow_1"),o.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=o,t.appendChild(o);var c=gt("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var u=gt("feComposite");u.setAttribute("in",i+"_drop_shadow_3"),u.setAttribute("in2",i+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(u);var f=this.createMergeNode(i,[i+"_drop_shadow_4",n]);t.appendChild(f)}Jt([R3],U3);U3.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",PE(Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*Ce,n=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var f1=[];function a0(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=gt("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}a0.prototype.findSymbol=function(t){for(var e=0,r=f1.length;e>16&255,g:e>>8&255,b:e&255}}function K_(t){const{r:e,g:r,b:i}=Z_(t);return[Fo(e),Fo(r),Fo(i)]}function J_(t){const e={r:Pf(t[0]),g:Pf(t[1]),b:Pf(t[2])};return Y_(e)}function D6(t,{lottieInstance:e}={}){const r=[];return!t||!t.layers||t.layers.forEach((i,n)=>{!i.nm||!i.ef||i.ef.forEach((a,s)=>{var l,o,c;const u=(c=(o=(l=a?.ef)==null?void 0:l[0])==null?void 0:o.v)==null?void 0:c.k;if(u===void 0)return;let f;e?f=`renderer.elements.${n}.effectsManager.effectElements.${s}.effectElements.0.p.v`:f=`layers.${n}.ef.${s}.ef.0.v.k`;let h;if(a.mn==="ADBE Color Control"?h="color":a.mn==="ADBE Slider Control"?h="slider":a.mn==="ADBE Point Control"?h="point":a.mn==="ADBE Checkbox Control"?h="checkbox":a.mn.startsWith("Pseudo/")&&(h="feature"),!h)return;const y=a.nm.toLowerCase();r.push({name:y,path:f,value:u,type:h})})}),r}function H1(t,e){for(const r of e)ii(t,r.path,r.value)}function fc(t,e,r){for(const i of e)i.type==="color"?typeof r=="object"&&"r"in r&&"g"in r&&"b"in r?ii(t,i.path,[Fo(r.r),Fo(r.g),Fo(r.b)]):Array.isArray(r)?ii(t,i.path,r):typeof r=="string"&&ii(t,i.path,K_(W_(r))):i.type==="point"?typeof r=="object"&&"x"in r&&"y"in r?(ii(t,i.path+".0",r.x),ii(t,i.path+".1",r.y)):Array.isArray(r)&&(ii(t,i.path+".0",r[0]),ii(t,i.path+".1",r[1])):ii(t,i.path,r)}const Q_={loop:!1,autoplay:!1,rendererSettings:{preserveAspectRatio:"xMidYMid meet",progressiveLoad:!0,hideOnTransparent:!0}},tC=["default"];function eC(){return new Proxy(this,{set:(t,e,r,i)=>(typeof e=="string"&&(r?fc(this.lottieInstance,this.lottieProperties.filter(n=>n.type==="color"&&n.name===e),r):H1(this.lottieInstance,this.lottieProperties.filter(n=>n.type==="color"&&n.name===e)),t.refresh()),!0),get:(t,e,r)=>{for(const i of t.lottieProperties)if(i.type=="color"&&typeof e=="string"&&e==i.name){const n=C7(this.lottieInstance,i.path);if(n)return J_(n)}},deleteProperty:(t,e)=>(typeof e=="string"&&(H1(this.lottieInstance,this.lottieProperties.filter(r=>r.type==="color"&&r.name===e)),t.refresh()),!0),ownKeys:t=>t.lottieProperties.filter(e=>e.type=="color").map(e=>e.name),has:(t,e)=>{for(const r of t.lottieProperties)if(r.type=="color"&&typeof e=="string"&&e==r.name)return!0;return!1},getOwnPropertyDescriptor:t=>({enumerable:!0,configurable:!0})})}let rC=class{constructor(e,r,i,n={autoInit:!0}){if(gi(this,"_container"),gi(this,"_iconData"),gi(this,"_initialProperties"),gi(this,"_lottieInstance"),gi(this,"_ready",!1),gi(this,"_colorsProxy"),gi(this,"_direction",1),gi(this,"_speed",1),gi(this,"_lottieProperties"),gi(this,"_eventHandlers",{}),gi(this,"_state"),gi(this,"_availableStates"),this._container=e,this._iconData=r,this._initialProperties=i||{},this._availableStates=(r.markers||[]).map(a=>{const s=a.cm.split(":"),l={time:a.tm,duration:a.dr,name:"",default:!1,params:[]};for(;tC.includes(s[0]);){switch(s[0]){case"default":l.default=!0;break;default:throw new Error(`Unsupported state flag: ${s[0]}`)}s.shift()}return l.name=s[0],l.params=s.slice(1,s.length),l.name===this._initialProperties.state?this._state=l:l.default&&P6(this._initialProperties.state)&&(this._state=l),l}).filter(a=>a.duration>0),this._availableStates.length&&(this._initialProperties.stroke&&![1,2,3,"light","regular","bold"].includes(this._initialProperties.stroke)&&delete this._initialProperties.stroke,this._initialProperties.state&&!this._state&&(this._state=this._availableStates.filter(a=>a.default)[0])),!this._availableStates.length){this._iconData=C6(this._iconData);const a=D6(this._iconData,{lottieInstance:!1});if(a&&this._initialProperties.state){const s=`state-${this._initialProperties.state.toLowerCase()}`;fc(this._iconData,a.filter(l=>l.name.startsWith("state-")),0),fc(this._iconData,a.filter(l=>l.name===s),1)}if(a&&this._initialProperties.stroke){const s=a.filter(l=>l.name==="stroke")[0];if(s){const l=s.value/50,o=this._initialProperties.stroke*l;ii(this._iconData,s.path,o)}}if(a&&this._initialProperties.scale){const s=a.filter(l=>l.name==="scale")[0];if(s){const l=s.value/50,o=this._initialProperties.scale*l;ii(this._iconData,s.path,o)}}if(a&&this._initialProperties.axisX&&this._initialProperties.axisY){const s=a.filter(l=>l.name==="axis")[0];if(s){const l=(s.value[0]+s.value[1])/2/50;ii(this._iconData,s.path+".0",this._initialProperties.axisX*l),ii(this._iconData,s.path+".1",this._initialProperties.axisY*l)}}}n.autoInit&&this.init()}init(){if(this._lottieInstance)throw new Error("Already connected player!");const e={},r={};if(this._state&&(r.initialSegment=[this._state.time,this._state.time+this._state.duration+1]),this._availableStates.length){const i=this._availableStates[0],n=this._availableStates[this._availableStates.length-1];e.ip=i.time,e.op=n.time+n.duration+1}this._lottieInstance=U_.loadAnimation(wE(p1(p1({},Q_),r),{container:this._container,animationData:Object.assign(C6(this._iconData),e)})),this._initialProperties.colors&&(this.colors=this._initialProperties.colors),this._initialProperties.stroke&&(this.stroke=this._initialProperties.stroke),this._lottieInstance.addEventListener("complete",()=>{this.triggerEvent("complete")}),this._lottieInstance.addEventListener("loopComplete",()=>{this.triggerEvent("complete")}),this._lottieInstance.addEventListener("enterFrame",()=>{this.triggerEvent("frame")}),this._lottieInstance.isLoaded?(this._ready=!0,this.triggerEvent("ready")):this._lottieInstance.addEventListener("config_ready",()=>{this._ready=!0,this.triggerEvent("ready")})}destroy(){if(!this._lottieInstance)throw new Error("Not connected player!");this._ready=!1,this._lottieInstance.destroy(),this._lottieInstance=void 0,this._colorsProxy=void 0,this._lottieProperties=void 0}addEventListener(e,r){return this._eventHandlers[e]||(this._eventHandlers[e]=[]),this._eventHandlers[e].push(r),()=>{this.removeEventListener(e,r)}}removeEventListener(e,r){if(!r)this._eventHandlers[e]=null;else if(this._eventHandlers[e]){let i=0,n=this._eventHandlers[e].length;for(;ir.type==="color").length&&(e.colors=p1({},this.colors)),this.lottieProperties.filter(r=>r.name==="stroke"||r.name==="stroke-layers").length&&(e.stroke=this.stroke),this._availableStates.length&&(e.state=this.state),e}set colors(e){if(H1(this._lottieInstance,this.lottieProperties.filter(r=>r.type==="color")),e)for(const[r,i]of Object.entries(e))fc(this._lottieInstance,this.lottieProperties.filter(n=>n.type==="color"&&n.name===r),i);this.refresh()}get colors(){return this._colorsProxy||(this._colorsProxy=eC.call(this)),this._colorsProxy}set stroke(e){H1(this._lottieInstance,this.lottieProperties.filter(i=>i.name==="stroke"||i.name==="stroke-layers"));const r=_6(e);r&&fc(this._lottieInstance,this.lottieProperties.filter(i=>i.name==="stroke"||i.name==="stroke-layers"),r),this.refresh()}get stroke(){const e=this.lottieProperties.filter(r=>r.name==="stroke"||r.name==="stroke-layers")[0];if(e){let r=+C7(this._lottieInstance,e.path);return _6(r)||null}return null}set state(e){if(!this._lottieInstance)throw new Error("Player not initialized");if(e===this.state)return;const r=this.playing;this._state=void 0,P6(e)?this._state=this._availableStates.filter(i=>i.default)[0]:e&&(this._state=this._availableStates.filter(i=>i.name===e)[0],this._state||(this._state=this._availableStates.filter(i=>i.default)[0])),this.switchSegment(this._state?[this._state.time,this._state.time+this._state.duration+1]:void 0),r&&(this.pause(),this.play())}get state(){return this._state?this._state.name:""}set speed(e){var r;this._speed=e,(r=this._lottieInstance)==null||r.setSpeed(e)}get speed(){return this._speed}set direction(e){if(!this._lottieInstance)throw new Error("Player not initialized");this._direction=e,this._lottieInstance.setDirection(e)}get direction(){return this._direction}set loop(e){if(!this._lottieInstance)throw new Error("Player not initialized");this._lottieInstance.loop=e}get loop(){if(!this._lottieInstance)throw new Error("Player not initialized");return!!this._lottieInstance.loop}set frame(e){this.seek(Math.max(0,Math.min(this.frameCount,e)))}get frame(){if(!this._lottieInstance)throw new Error("Player not initialized");return this._lottieInstance.currentFrame}get availableStates(){return this._availableStates}get playing(){if(!this._lottieInstance)throw new Error("Player not initialized");return!this._lottieInstance.isPaused}get ready(){return this._ready}get frameCount(){if(!this._lottieInstance)throw new Error("Player not initialized");return this._lottieInstance.getDuration(!0)-1}get segment(){if(!this._lottieInstance)throw new Error("Player not initialized");return[this._lottieInstance.firstFrame,this._lottieInstance.firstFrame+this._lottieInstance.totalFrames]}get duration(){if(!this._lottieInstance)throw new Error("Player not initialized");return this._lottieInstance.getDuration(!1)}get lottieInstance(){return this._lottieInstance}get lottieProperties(){return this._lottieProperties||(this._lottieProperties=D6(this._iconData,{lottieInstance:!0}),!this._availableStates.length&&this._lottieProperties&&(this._lottieProperties=this._lottieProperties.filter(e=>e.name!=="scale"&&e.name!=="axis"&&e.name!=="stroke"&&!e.name.startsWith("state-")))),this._lottieProperties||[]}};var iC=Object.defineProperty,nC=(t,e,r)=>e in t?iC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Kt=(t,e,r)=>nC(t,typeof e!="symbol"?e+"":e,r),T6=(t,e,r)=>new Promise((i,n)=>{var a=o=>{try{l(r.next(o))}catch(c){n(c)}},s=o=>{try{l(r.throw(o))}catch(c){n(c)}},l=o=>o.done?i(o.value):Promise.resolve(o.value).then(a,s);l((r=r.apply(t,e)).next())});const aC={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function sC(t){return t.startsWith("#")?t.length===4?`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`:t:aC[t.toLowerCase()]||"#000000"}function $6(t){return!t||typeof t!="string"?void 0:t.split(",").filter(e=>e).map(e=>e.split(":")).filter(e=>e.length==2).reduce((e,r)=>{const i=r[0];return e[i.toLowerCase()]=sC(r[1]),e},{})}function I6(t){if(t==="light"||t===1||t==="1")return 1;if(t==="regular"||t===2||t==="2")return 2;if(t==="bold"||t===3||t==="3")return 3}function oC(t){if(typeof t=="string")return t}const M6=["click","mouseenter","mouseleave"],lC="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,B6=` :host { position: relative; display: inline-block; width: 32px; height: 32px; transform: translate3d(0px, 0px, 0px); } :host(.current-color) svg path[fill] { fill: currentColor; } :host(.current-color) svg path[stroke] { stroke: currentColor; } svg { position: absolute; pointer-events: none; display: block; transform: unset!important; } ::slotted(*) { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .body.ready ::slotted(*) { display: none; } `;let Bh=null;const cC=["colors","src","state","trigger","loading","target","stroke","speed"],P7=class u2 extends HTMLElement{constructor(){super(...arguments),Kt(this,"_root"),Kt(this,"_isConnected",!1),Kt(this,"_ready",!1),Kt(this,"_assignedIconData"),Kt(this,"_loadedIconData"),Kt(this,"_triggerInstance"),Kt(this,"_playerInstance"),Kt(this,"delayedLoading",null)}static get version(){return"__BUILD_VERSION__"}static get observedAttributes(){return cC}static defineTrigger(e,r){u2._definedTriggers.set(e,r)}attributeChangedCallback(e,r,i){this[`${e}Changed`].call(this)}connectedCallback(){if(this._root||this.createElements(),this.loading==="lazy"){let e;this.delayedLoading=i=>{e.unobserve(this),e=void 0,this.delayedLoading=null,i||this.createPlayer()};const r=(i,n)=>{i.forEach(a=>{a.isIntersecting&&e&&this.delayedLoading&&this.delayedLoading()})};e=new IntersectionObserver(r),e.observe(this)}else if(this.loading==="interaction"){let e;this.delayedLoading=n=>{for(const a of M6)(r||this).removeEventListener(a,i);this.delayedLoading=null,n||this.createPlayer().then(()=>{e&&(r||this).dispatchEvent(new Event(e))})};const r=this.target?this.closest(this.target):null;let i=n=>{const a=n?.type;e?e=a:(e=a,this.delayedLoading&&this.delayedLoading())};i=i.bind(this);for(const n of M6)(r||this).addEventListener(n,i)}else if(this.loading==="delay"){this.delayedLoading=r=>{this.delayedLoading=null,r||this.createPlayer()};const e=this.hasAttribute("loading-delay")?+this.getAttribute("loading-delay"):0;setTimeout(()=>{this.delayedLoading&&this.delayedLoading()},e)}else this.createPlayer();this._isConnected=!0}disconnectedCallback(){this.delayedLoading&&this.delayedLoading(!0),this.destroyPlayer(),this._isConnected=!1}createElements(){if(this._root=this.attachShadow({mode:"open"}),lC)Bh||(Bh=new CSSStyleSheet,Bh.replaceSync(B6)),this._root.adoptedStyleSheets=[Bh];else{const i=document.createElement("style");i.innerHTML=B6,this._root.appendChild(i)}const e=document.createElement("div");e.classList.add("body"),this._root.appendChild(e);const r=document.createElement("slot");e.appendChild(r)}playerFactory(e,r,i){return new rC(e,r,i,{autoInit:!1})}createPlayer(){return T6(this,null,function*(){if(this.delayedLoading)return;const e=yield this.loadIconData();if(!e)return;this._playerInstance=this.playerFactory(this.animationContainer,e,{state:oC(this.state),stroke:I6(this.stroke),colors:$6(this.colors),scale:parseFloat(""+this.getAttribute("scale")||""),axisX:parseFloat(""+this.getAttribute("axis-x")||""),axisY:parseFloat(""+this.getAttribute("axis-y")||"")});const r=Object.entries(this._playerInstance.colors||{});if(r.length){let i="";for(const[a,s]of r)i+=` :host(:not(.current-color)) svg path[fill].${a} { fill: var(--lord-icon-${a}, var(--lord-icon-${a}-base, #000)); } :host(:not(.current-color)) svg path[stroke].${a} { stroke: var(--lord-icon-${a}, var(--lord-icon-${a}-base, #000)); } `;const n=document.createElement("style");n.innerHTML=i,this.animationContainer.appendChild(n)}this._playerInstance.init(),this._playerInstance.addEventListener("ready",()=>{this._triggerInstance&&this._triggerInstance.onReady&&this._triggerInstance.onReady()}),this._playerInstance.addEventListener("refresh",()=>{this.refresh(),this._triggerInstance&&this._triggerInstance.onRefresh&&this._triggerInstance.onRefresh()}),this._playerInstance.addEventListener("complete",()=>{this._triggerInstance&&this._triggerInstance.onComplete&&this._triggerInstance.onComplete()}),this._playerInstance.addEventListener("frame",()=>{this._triggerInstance&&this._triggerInstance.onFrame&&this._triggerInstance.onFrame()}),this.refresh(),this.triggerChanged(),yield new Promise((i,n)=>{this._playerInstance.ready?i():this._playerInstance.addEventListener("ready",i)}),this.animationContainer.classList.add("ready"),this._ready=!0,this.dispatchEvent(new CustomEvent("ready"))})}destroyPlayer(){this._ready=!1,this._loadedIconData=void 0,this._triggerInstance&&(this._triggerInstance.onDisconnected&&this._triggerInstance.onDisconnected(),this._triggerInstance=void 0),this._playerInstance&&(this._playerInstance.destroy(),this._playerInstance=void 0,this.animationContainer.classList.remove("ready"))}loadIconData(){return T6(this,null,function*(){let e=this.icon;if(!e&&this.src){const r=yield fetch(this.src);this._loadedIconData=e=yield r.json()}return e})}refresh(){this.movePaletteToCssVariables()}movePaletteToCssVariables(){for(const[e,r]of Object.entries(this._playerInstance.colors||{}))r?this.animationContainer.style.setProperty(`--lord-icon-${e}-base`,r):this.animationContainer.style.removeProperty(`--lord-icon-${e}-base`)}targetChanged(){this.triggerChanged()}loadingChanged(){}triggerChanged(){var e;if(this._triggerInstance&&(this._triggerInstance.onDisconnected&&this._triggerInstance.onDisconnected(),this._triggerInstance=void 0,(e=this._playerInstance)==null||e.pause()),!this.trigger||!this._playerInstance)return;const r=u2._definedTriggers.get(this.trigger);if(!r)throw new Error(`Can't use unregistered trigger: '${this.trigger}'!`);const i=this.target?this.closest(this.target):null;this._triggerInstance=new r(this._playerInstance,this,i||this),this._triggerInstance.onConnected&&this._triggerInstance.onConnected(),this._playerInstance.ready&&this._triggerInstance.onReady&&this._triggerInstance.onReady()}colorsChanged(){this._playerInstance&&(this._playerInstance.colors=$6(this.colors)||null)}strokeChanged(){this._playerInstance&&(this._playerInstance.stroke=I6(this.stroke)||null)}speedChanged(){if(!this._playerInstance)return;const e=this.getAttribute("speed");if(e){const r=parseFloat(e);isNaN(r)?this._playerInstance.speed=1:this._playerInstance.speed=r}else this._playerInstance.speed=1}stateChanged(){var e,r;this._playerInstance&&(this._playerInstance.state=this.state,(r=(e=this._triggerInstance)==null?void 0:e.onState)==null||r.call(e))}iconChanged(){this._isConnected&&(this.destroyPlayer(),this.createPlayer())}srcChanged(){this._isConnected&&(this.destroyPlayer(),this.createPlayer())}set icon(e){e!==this._assignedIconData&&(this._assignedIconData=e,this._loadedIconData=void 0,this.iconChanged())}get icon(){return this._assignedIconData||this._loadedIconData}set src(e){e?this.setAttribute("src",e):this.removeAttribute("src")}get src(){return this.getAttribute("src")}set state(e){e?this.setAttribute("state",e):this.removeAttribute("state")}get state(){return this.getAttribute("state")}set colors(e){e?this.setAttribute("colors",e):this.removeAttribute("colors")}get colors(){return this.getAttribute("colors")}set trigger(e){e?this.setAttribute("trigger",e):this.removeAttribute("trigger")}get trigger(){return this.getAttribute("trigger")}set loading(e){e?this.setAttribute("loading",e):this.removeAttribute("loading")}get loading(){if(this.getAttribute("loading")){const e=this.getAttribute("loading").toLowerCase();if(e==="lazy")return"lazy";if(e==="interaction")return"interaction";if(e==="delay")return"delay"}return null}set target(e){e?this.setAttribute("target",e):this.removeAttribute("target")}get target(){return this.getAttribute("target")}set stroke(e){e?this.setAttribute("stroke",e):this.removeAttribute("stroke")}get stroke(){return this.hasAttribute("stroke")?this.getAttribute("stroke"):null}set speed(e){e?this.setAttribute("speed",String(e)):this.removeAttribute("speed")}get speed(){const e=this.getAttribute("speed");if(e){const r=parseFloat(e);if(!isNaN(r))return r}return 1}get ready(){return this._ready}get readyPromise(){return this._ready?Promise.resolve():new Promise(e=>{this.addEventListener("ready",()=>{e()},{once:!0})})}get playerInstance(){return this._playerInstance}get triggerInstance(){return this._triggerInstance}get animationContainer(){return this._root.lastElementChild}};Kt(P7,"_definedTriggers",new Map);let na=P7,uC=class{constructor(e,r,i){Kt(this,"connected",!1),Kt(this,"targetState"),Kt(this,"delayTimer",null),Kt(this,"intersectionObserver"),this.player=e,this.element=r,this.targetElement=i,this.onHover=this.onHover.bind(this),this.onClick=this.onClick.bind(this),this.replay()}onConnected(){this.connected=!0,this.targetElement.addEventListener("click",this.onClick),this.targetElement.addEventListener("mouseenter",this.onHover),this.targetState&&(this.loading?this.play(!0):this.initIntersectionObserver())}onDisconnected(){this.connected=!1,this.targetElement.removeEventListener("click",this.onClick),this.targetElement.removeEventListener("mouseenter",this.onHover),this.cleanup()}onComplete(){this.resetState()}onHover(){this.targetState||this.play()}onClick(){this.clickToReplay&&this.replay()}play(e){this.player.playing||this.delayTimer||(e&&this.delay>0?this.scheduleDelayedPlay():this.player.playFromStart())}replay(){this.player.playing||!this.player.state||!this.intro||(this.targetState=this.player.state,this.player.state=this.intro,this.connected&&this.play())}scheduleDelayedPlay(){this.resetDelayTimer(),this.delayTimer=setTimeout(()=>{this.player.playFromStart(),this.delayTimer=null},this.delay)}initIntersectionObserver(){if(this.intersectionObserver)return;const e=r=>{r.forEach(i=>{i.isIntersecting&&(this.play(!0),this.resetIntersectionObserver())})};this.intersectionObserver=new IntersectionObserver(e,{threshold:.5}),this.intersectionObserver.observe(this.element)}resetIntersectionObserver(){this.intersectionObserver&&(this.intersectionObserver.unobserve(this.element),this.intersectionObserver=void 0)}resetDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}resetState(){this.targetState&&(this.player.state=this.targetState,this.targetState=void 0)}cleanup(){this.resetIntersectionObserver(),this.resetDelayTimer(),this.resetState()}get intro(){if(!this.element.hasAttribute("intro"))return null;const e=this.element.getAttribute("intro");let r=this.player.availableStates.find(i=>i.name===e);return r||(r=this.player.availableStates.find(i=>i.name.startsWith("in-"))),r?.name||null}get delay(){const e=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(e,0)}get loading(){return this.element.hasAttribute("loading")}get clickToReplay(){return this.element.hasAttribute("click-to-replay")}},hC=class{constructor(e,r,i){Kt(this,"connected",!1),Kt(this,"delayTimer",null),Kt(this,"intersectionObserver"),this.player=e,this.element=r,this.targetElement=i,this.onClick=this.onClick.bind(this)}onConnected(){this.connected=!0,this.targetElement.addEventListener("click",this.onClick),this.loading?this.play(!0):this.initIntersectionObserver()}onDisconnected(){this.connected=!1,this.targetElement.removeEventListener("click",this.onClick),this.cleanup()}onClick(){this.clickToReplay&&this.play()}play(e){this.player.playing||this.delayTimer||(e&&this.delay>0?this.scheduleDelayedPlay():this.player.playFromStart())}scheduleDelayedPlay(){this.resetDelayTimer(),this.delayTimer=setTimeout(()=>{this.player.playFromStart(),this.delayTimer=null},this.delay)}initIntersectionObserver(){if(this.intersectionObserver)return;const e=r=>{r.forEach(i=>{i.isIntersecting&&(this.play(!0),this.resetIntersectionObserver())})};this.intersectionObserver=new IntersectionObserver(e,{threshold:.5}),this.intersectionObserver.observe(this.element)}resetIntersectionObserver(){this.intersectionObserver&&(this.intersectionObserver.unobserve(this.element),this.intersectionObserver=void 0)}resetDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}cleanup(){this.resetIntersectionObserver(),this.resetDelayTimer()}get delay(){const e=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(e,0)}get loading(){return this.element.hasAttribute("loading")}get clickToReplay(){return this.element.hasAttribute("click-to-replay")}},pC=class{constructor(e,r,i){Kt(this,"delayTimer",null),this.player=e,this.element=r,this.targetElement=i}onReady(){this.play()}onComplete(){this.play()}onDisconnected(){this.resetDelayTimer()}play(){this.player.playing||this.delayTimer||(this.delay>0?this.scheduleDelayedPlay():this.player.playFromStart())}scheduleDelayedPlay(){this.resetDelayTimer(),this.delayTimer=setTimeout(()=>{this.player.playFromStart(),this.delayTimer=null},this.delay)}resetDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}get delay(){const e=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(e,0)}},dC=class{constructor(e,r,i){Kt(this,"delayTimer",null),Kt(this,"mouseIn",!1),this.player=e,this.element=r,this.targetElement=i,this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this)}onConnected(){this.targetElement.addEventListener("mouseenter",this.onMouseEnter),this.targetElement.addEventListener("mouseleave",this.onMouseLeave)}onDisconnected(){this.targetElement.removeEventListener("mouseenter",this.onMouseEnter),this.targetElement.removeEventListener("mouseleave",this.onMouseLeave),this.resetDelayTimer()}onMouseEnter(){this.mouseIn=!0,this.play()}onMouseLeave(){this.mouseIn=!1,this.resetDelayTimer()}onComplete(){this.play()}play(){this.player.playing||this.delayTimer||this.mouseIn&&(this.delay>0?this.scheduleDelayedPlay():this.player.playFromStart())}scheduleDelayedPlay(){this.resetDelayTimer(),this.delayTimer=setTimeout(()=>{this.player.playFromStart(),this.delayTimer=null},this.delay)}resetDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}get delay(){const e=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(e,0)}};const fC={attributes:!0,childList:!1,subtree:!1,attributeOldValue:!0};let mC=class{constructor(e,r,i){Kt(this,"segments"),Kt(this,"queue",[]),Kt(this,"mouseIn",!1),Kt(this,"connected",!1),Kt(this,"targetState"),Kt(this,"delayTimer",null),Kt(this,"mutationTimer",null),Kt(this,"intersectionObserver"),Kt(this,"observer"),this.player=e,this.element=r,this.targetElement=i,this.onClick=this.onClick.bind(this),this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this),this.handleState(),this.replay()}onConnected(){this.connected=!0,this.targetElement.addEventListener("click",this.onClick),this.targetElement.addEventListener("mouseenter",this.onMouseEnter),this.targetElement.addEventListener("mouseleave",this.onMouseLeave),this.mode[0]==="class"&&this.initMutationObserver(),this.targetState&&(this.loading?this.play(!0):this.initIntersectionObserver())}onDisconnected(){this.connected=!1,this.targetElement.removeEventListener("click",this.onClick),this.targetElement.removeEventListener("mouseenter",this.onMouseEnter),this.targetElement.removeEventListener("mouseleave",this.onMouseLeave),this.cleanup()}onMouseEnter(){this.mode[0]==="hover"&&(this.mouseIn=!0,this.triggerEnter())}onMouseLeave(){this.mode[0]==="hover"&&(this.mouseIn=!1,this.triggerLeave())}onComplete(){this.targetState?(this.resetState(),this.mouseIn&&(this.queue.push(0),this.handleQueue())):this.handleQueue()}onState(){this.handleState()}onClick(){this.clickToReplay&&this.replay()}play(e){this.player.playing||this.delayTimer||(e&&this.delay>0?this.scheduleDelayedPlay():this.player.playFromStart())}replay(){this.player.playing||!this.player.state||!this.intro||(this.targetState=this.player.state,this.player.state=this.intro,this.connected&&this.play())}triggerEnter(){this.queue.push(0),this.handleQueue()}triggerLeave(){this.queue.push(1),this.handleQueue()}scheduleDelayedPlay(){this.resetDelayTimer(),this.delayTimer=setTimeout(()=>{this.player.playFromStart(),this.delayTimer=null},this.delay)}handleQueue(){var e;if(this.player.playing)return;if(this.queue.length>=2){const i=Math.floor(this.queue.length/2)*2;for(let n=0;ns.name===this.player.state);if(!e)return;let r=0;if(e.params.length){const s=parseFloat(e.params[0]);!isNaN(s)&&s>0&&s<=1&&(r=s)}if(!r)return;const i=[e.time,e.time+Math.floor((e.duration+1)*r)],n=[i[1],e.time+e.duration+1];this.segments=[i,n];const a=this.mode;a[0]==="class"&&this.targetElement.classList.contains(a[1])&&(this.player.switchSegment(i),this.player.frame=i[0])}initIntersectionObserver(){if(this.intersectionObserver)return;const e=r=>{r.forEach(i=>{i.isIntersecting&&(this.play(!0),this.resetIntersectionObserver())})};this.intersectionObserver=new IntersectionObserver(e,{threshold:.5}),this.intersectionObserver.observe(this.element)}resetIntersectionObserver(){this.intersectionObserver&&(this.intersectionObserver.unobserve(this.element),this.intersectionObserver=void 0)}initMutationObserver(){this.observer||(this.observer=new MutationObserver(e=>{const r=this.mode;if(r[0]!=="class")return;const i=r[1]||"";for(const n of e)if(n.type==="attributes"&&["class"].includes(n.attributeName)){const a=(n.oldValue||"").split(" ").includes(i),s=(this.targetElement.getAttribute("class")||"").split(" ").includes(i);a!==s&&(clearTimeout(this.mutationTimer),this.mutationTimer=setTimeout(()=>{s?this.triggerEnter():this.triggerLeave()},10))}})),this.observer.observe(this.targetElement,fC)}resetMutationObserver(){clearTimeout(this.mutationTimer),this.mutationTimer=null,this.observer&&(this.observer.disconnect(),this.observer=void 0)}resetDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}resetState(){return this.targetState?(this.player.state=this.targetState,this.targetState=void 0,!0):!1}resetPlayer(){this.player.direction=1,this.segments&&(this.player.switchSegment([this.segments[0][0],this.segments[1][1]]),this.segments=void 0,this.queue=[])}cleanup(){this.resetPlayer(),this.resetIntersectionObserver(),this.resetMutationObserver(),this.resetDelayTimer(),this.resetState()}get intro(){if(!this.element.hasAttribute("intro"))return null;const e=this.element.getAttribute("intro");let r=this.player.availableStates.find(i=>i.name===e);return r||(r=this.player.availableStates.find(i=>i.name.startsWith("in-"))),r?.name||null}get delay(){const e=this.element.hasAttribute("delay")?+(this.element.getAttribute("delay")||0):0;return Math.max(e,0)}get loading(){return this.element.hasAttribute("loading")}get clickToReplay(){return this.element.hasAttribute("click-to-replay")}get mode(){if(this.element.hasAttribute("mode")){const e=this.element.getAttribute("mode"),r=e?.split(":")||[];if(r.length>0&&["hover","class","manual"].includes(r[0]))return r[0]==="class"?[r[0],r[1]||"active"]:[r[0]]}return["hover"]}};const Df=/^\d*(\.\d+)?$/,gC={attributes:!0,childList:!1,subtree:!1};let yC=class{constructor(e,r,i){Kt(this,"sequenceIndex",0),Kt(this,"frameState",null),Kt(this,"frameDelayFirst",null),Kt(this,"frameDelayLast",null),Kt(this,"timer"),Kt(this,"observer"),this.player=e,this.element=r,this.targetElement=i,this.observer=new MutationObserver(n=>{for(const a of n)a.type==="attributes"&&["sequence","speed"].includes(a.attributeName)&&(this.reset(),this.step())})}onReady(){this.step()}onComplete(){this.timer=setTimeout(()=>{this.timer=null,this.frameDelayLast=null,this.step()},this.frameDelayLast||0)}onConnected(){this.observer.observe(this.element,gC),this.player.speed=this.speed}onDisconnected(){this.observer.disconnect(),this.timer&&(clearTimeout(this.timer),this.timer=null),this.player.speed=1}reset(){this.player.pause(),this.player.speed=this.speed,this.sequenceIndex=0,this.frameState=this.frameDelayFirst=this.frameDelayLast=null,this.timer&&(clearTimeout(this.timer),this.timer=null)}takeStep(){const e=this.sequence.split(","),r=e[this.sequenceIndex];this.sequenceIndex++,this.sequenceIndex>=e.length&&(this.sequenceIndex=0);const[i,...n]=r.split(":");return{action:i,params:n}}handleStep(e,r){if(e==="play")this.frameState!==null&&(this.player.state=this.frameState,this.frameState=null),r.includes("reverse")?(this.player.seekToEnd(),this.player.direction=-1):(this.player.seekToStart(),this.player.direction=1),this.timer=setTimeout(()=>{this.timer=null,this.frameDelayFirst=null,this.player.play()},this.frameDelayFirst||0);else if(e==="frame"){this.frameState!==null&&(this.player.state=this.frameState,this.frameState=null);let i=0,n=0;r.length>=1&&r[0].match(Df)&&(i=+r[0]),r.length>=2&&r[1].match(Df)?n=Math.max(0,i,+r[1]):n=i;const a=[i,n],s=this.player.availableStates.find(l=>l.name===this.player.state);s&&(a[0]+=s.time,a[1]+=s.time),i===n?(this.player.frame=i,this.timer=setTimeout(()=>{this.timer=null,this.frameDelayFirst=null,this.step()},this.frameDelayFirst||0)):this.timer=setTimeout(()=>{this.timer=null,this.frameDelayFirst=null,this.player.switchSegment(a),this.player.play()},this.frameDelayFirst||0)}else if(e==="state")this.frameState=r[0]||null,this.step();else if(e==="delay"){let i=null;for(const n of r)n&&n.match(Df)&&(i=+n);i&&i>0&&(r.includes("first")&&r.includes("last")?(this.frameDelayFirst=i,this.frameDelayLast=i):r.includes("first")?this.frameDelayFirst=i:r.includes("last")?this.frameDelayLast=i:this.frameDelayFirst=i),this.step()}else if(e!=="idle")throw new Error(`Invalid sequence action: ${e}`)}step(){const{action:e,params:r}=this.takeStep();e&&this.handleStep(e,r)}get sequence(){return this.element.getAttribute("sequence")||""}get speed(){return this.element.hasAttribute("speed")?+(this.element.getAttribute("speed")||1):1}};class xC{constructor(e,r,i){this.player=e,this.element=r,this.targetElement=i}onReady(){const e=this.player.availableStates.find(r=>r.name===this.player.state);if(e){let r=0;if(e.params.length){const n=parseFloat(e.params[0]);!isNaN(n)&&n>0&&n<=1&&(r=n)}const i=r?e.duration*r:e.duration;this.player.seek(i)}else this.player.seekToEnd()}onDisconnected(){this.player.seekToStart()}}class vC extends yC{constructor(e,r,i){super(e,r,i),this.player=e,this.element=r,this.targetElement=i,this.sequenceIndex=0,this.lastAction=null,this.time=null}pause(){this.timer?(this.pauseDetails="timer",clearTimeout(this.timer),this.timer=null):(this.pauseDetails="animation",this.player.pause())}play(){this.pauseDetails==="animation"?(this.pauseDetails=null,this.player.play()):this.pauseDetails==="timer"?(this.pauseDetails=null,this.step()):(this.reset(),this.step())}step(){if(this.sequenceIndex===0&&(this.time=new Date),this.pauseDetails)return;const{action:e,params:r}=this.takeStep();e&&(this.lastAction=e,this.handleStep(e,r))}get playing(){return!this.pauseDetails&&this.lastAction!=="idle"}get progress(){const e=new Date().getTime()-this.time.getTime();return Math.min(1,e/this.duration)}get duration(){return this.element.hasAttribute("duration")?+(this.element.getAttribute("duration")||0):0}}function bC(){na.defineTrigger("hover",uC),na.defineTrigger("morph",mC),na.defineTrigger("sequence",vC),na.defineTrigger("in",hC),na.defineTrigger("loop",pC),na.defineTrigger("loop-on-hover",dC),na.defineTrigger("last-frame",xC),customElements.define("li-icon",na)}const Tf=500;class kC{constructor(e,r,i,n){this.rafId=null,this.preview=e,this.slider=r,this.playButton=i,this.sections=n,this.onReady=this.onReady.bind(this),this.onSliderChange=this.onSliderChange.bind(this),this.onPlayButtonClick=this.onPlayButtonClick.bind(this),this.refreshLoop=this.refreshLoop.bind(this)}init(){this.slider.maxValue=Tf,this.preview.addEventListener("ready",this.onReady),this.slider.addEventListener("change",this.onSliderChange),this.playButton?.addEventListener("click",this.onPlayButtonClick),this.rafId=requestAnimationFrame(this.refreshLoop)}destroy(){this.rafId!==null&&(cancelAnimationFrame(this.rafId),this.rafId=null),this.preview.removeEventListener("ready",this.onReady),this.slider.removeEventListener("change",this.onSliderChange),this.playButton?.removeEventListener("click",this.onPlayButtonClick)}refreshLoop(){this.playerInstance&&this.refresh(),this.rafId=requestAnimationFrame(this.refreshLoop)}onReady(){this.refresh()}onSliderChange(e){this.pause();const r=e.detail.value/Tf;this.playerInstance.frame=r*this.playerInstance.frameCount}onPlayButtonClick(e){e.preventDefault(),this.triggerInstance.playing?this.pause():this.play()}pause(){this.playButton&&(this.playButton.icon="play"),this.triggerInstance.pause()}play(){this.playButton&&(this.playButton.icon="pause"),this.triggerInstance.play()}setPosition(e){this.slider.value=e*Tf}refresh(){const e=this.playerInstance.playing||this.triggerInstance.playing;this.playButton&&(this.sections.length===0&&(this.playButton.icon=e?"pause":"play"),this.sections.length>0&&e?(this.playButton.icon="play",this.playButton.setAttribute("inert","")):e||this.playButton.removeAttribute("inert"));const r=this.triggerInstance.progress;r!==this.oldPosition&&(this.setPosition(r),this.oldPosition=r)}get triggerInstance(){return this.preview.triggerInstance}get playerInstance(){return this.preview.playerInstance}}function z6(t){return t&&t[0].toUpperCase()+t.slice(1)||""}const wC=`:host { display: block; position: absolute; outline: none; z-index: 1000; left: 0; top: 0; pointer-events: none; padding: 10px 0; box-sizing: border-box; } #tooltip { display: inline; outline: none; font-size: var(--li-font-size-xs); background: var(--li-color-bg-tooltip); color: var(--li-color-text-tooltip); padding: 5px 8px; border-radius: var(--li-radius); will-change: transform, opacity; }`;var SC=Object.getOwnPropertyDescriptor,AC=(t,e,r,i)=>{for(var n=i>1?void 0:i?SC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};const h2=Symbol(),EC=250;class $o{constructor(e,r,i){this.text=e,this.target=r,this.centerTarget=i||r,this.showTooltip=this.showTooltip.bind(this),this.hideTooltip=this.hideTooltip.bind(this),this.listen(!0)}listen(e){e?(this.target.addEventListener("mouseenter",this.showTooltip),this.target.addEventListener("mouseleave",this.hideTooltip)):(this.target.removeEventListener("mouseenter",this.showTooltip),this.target.removeEventListener("mouseleave",this.hideTooltip))}discard(){this.listen(!1),this.hideTooltip(),this.target[h2]=void 0}update(e){this.text=e,this.tooltip&&(this.tooltip.innerText=e,this.tooltip.updateComplete.then(()=>{this.tooltip&&(this.tooltip.position=this.calcPosition(this.centerTarget,this.tooltip.getBoundingClientRect()))}))}showTooltip(){this.text.length===0||this.tooltip||pE||($o.currentDebounce=V1($o.currentDebounce,N1(EC),async()=>{const e=this.tooltip=new Zc;e.innerText=this.text,document.body.appendChild(e),await e.updateComplete,e.position=this.calcPosition(this.centerTarget,e.getBoundingClientRect()),e.show()}))}hideTooltip(){$o.currentDebounce&&$o.currentDebounce.cancel(),this.tooltip&&(document.body.removeChild(this.tooltip),this.tooltip=void 0)}calcPosition(e,r){const i=e.getBoundingClientRect();let n=i.left+i.width/2-r.width/2,a=i.bottom+window.scrollY;return a+r.height>document.body.clientHeight&&(a=i.top-r.height),n=Math.max(1,Math.min(window.innerWidth-1-r.width,n)),{x:n,y:a}}static{this.currentDebounce=void 0}}let Zc=class extends jt{constructor(){super(...arguments),this._position={x:0,y:0}}show(){this.dispatchEvent(new CustomEvent("show"))}hide(){this.dispatchEvent(new CustomEvent("hide"))}render(){return et`
`}get position(){return this._position}set position(t){this.style.left=`${t.x}px`,this.style.top=`${t.y}px`,this._position.x=t.x,this._position.y=t.y}static register(t,e,r){let i=e[h2];return i||(i=e[h2]=new $o(t,e,r)),i}};Zc.styles=Ut(wC);Zc=AC([Yt("li-tooltip")],Zc);class _C extends N4{constructor(e){if(super(e),e.type!==Cs.ELEMENT)throw new Error("The `tooltip` directive can only be used as an attribute.")}render(e){return Se}update(e,[r]){const i=e.element;return r&&i?this.registeredTooltip?this.registeredTooltip.update(r):this.registeredTooltip=Zc.register(r,i):this.cleanup(),Se}disconnected(){this.cleanup()}reconnected(){}cleanup(){this.registeredTooltip&&(this.registeredTooltip.discard(),this.registeredTooltip=void 0)}}const ui=i0(_C),CC=`:host { display: block; } li-animation-settings { display: none; }`;var PC=Object.defineProperty,DC=Object.getOwnPropertyDescriptor,_n=(t,e,r,i)=>{for(var n=i>1?void 0:i?DC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&PC(e,r,n),n};let $i=class extends jt{constructor(){super(...arguments),this.multiple=!1,this.format="json",this.trigger="",this.intro=!1,this.loop=!1,this.speed=1,this.delay=[],this._popover=pu()}async openSelect(t={}){await this.openPopover(t.target),t.section&&this.animationSettingsElement.focusField(t.section.animation?"speed":"delay",t.section.animation?void 0:t.section?.title)}async openPopover(t){await this._popover.open("select",t||this)}settingsChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{...t.detail}}))}firstUpdated(){this.animationSettingsElement}render(){const t=this.hasSettings?et` `:null;let e="Animation";return this.hasSettings||(e="Variant"),et` ${e} ${t} `}get hasSettings(){return["json"].includes(this.format)}};$i.styles=Ut(CC);_n([pe("li-animation-settings",!0)],$i.prototype,"animationSettingsElement",2);_n([pe("li-pictogram")],$i.prototype,"pictogramElement",2);_n([it({type:Boolean})],$i.prototype,"multiple",2);_n([it({type:String})],$i.prototype,"format",2);_n([it({type:String})],$i.prototype,"trigger",2);_n([it()],$i.prototype,"intro",2);_n([it()],$i.prototype,"loop",2);_n([it()],$i.prototype,"speed",2);_n([it({type:Array})],$i.prototype,"delay",2);$i=_n([Yt("li-animation-label-settings")],$i);const TC=`:host { display: flex; flex-direction: column; padding: var(--li-space-sm); gap: var(--li-space-sm); box-sizing: border-box; background: var(--li-color-bg); border-radius: 10px; } :host(.shadow) { box-shadow: var(--li-shadow); border: 1px solid var(--li-color-border); } .field-group { display: flex; flex-direction: column; gap: var(--li-space-xs); } .row { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-sm); } .row>.field-group, .row>span { flex: 1; }`;var $C=Object.defineProperty,IC=Object.getOwnPropertyDescriptor,Ds=(t,e,r,i)=>{for(var n=i>1?void 0:i?IC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&$C(e,r,n),n};const zh=1e3,L6=1/100;let qn=class extends jt{constructor(){super(...arguments),this.trigger="",this.intro=!1,this.loop=!1,this.speed=1,this.delay=[],this.multiple=!1}changeSpeed(t){this.speed=+t.detail.value*L6,this.notifyChange()}changeIntro(t){this.intro=t.detail.value,this.notifyChange()}changeLoop(t){this.loop=t.detail.value,this.notifyChange()}changeDelay(t,e){const r=[...this.delay];r[t]=e.detail.value*zh,this.delay=r,this.notifyChange()}focusField(t,e){[...this.shadowRoot?.querySelectorAll("li-input")].find(n=>n.getAttribute("data-type")===t&&(!e||n.getAttribute("data-title")===e))?.focus()}notifyChange(){const t=new CustomEvent("change",{detail:{intro:this.intro,loop:this.loop,speed:this.speed,delay:this.delay}});this.dispatchEvent(t)}render(){let t=null,e=null;this.multiple?(t=et`
In delay
`,e=et`
Delay
`):t=et`
Delay
`;const r=this.loop?et`
${t} ${e}
`:null,i=et`
Speed
`,n=!this.loop&&["hover","morph"].includes(this.trigger)?et`
Include intro animation
`:null,a=!this.intro&&["hover","morph"].includes(this.trigger)?et`
Loop
`:null;return et` ${n} ${a} ${r} ${i} `}};qn.styles=Ut(TC);Ds([it({type:String})],qn.prototype,"trigger",2);Ds([it()],qn.prototype,"intro",2);Ds([it()],qn.prototype,"loop",2);Ds([it()],qn.prototype,"speed",2);Ds([it({type:Array})],qn.prototype,"delay",2);Ds([it({type:Boolean})],qn.prototype,"multiple",2);qn=Ds([Yt("li-animation-settings")],qn);const MC=`:host { display: flex; justify-content: space-between; align-items: center; flex-direction: row; gap: var(--li-space-sm); } li-field { flex: 1; } p { margin: 0; color: var(--li-color-text-secondary); }`;var BC=Object.defineProperty,zC=Object.getOwnPropertyDescriptor,D7=(t,e,r,i)=>{for(var n=i>1?void 0:i?zC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&BC(e,r,n),n};function LC(t){return t.replace(/[^a-zA-Z0-9]/g,"")}let W1=class extends jt{firstUpdated(t){const e=Array.from(this.inputs.values());Promise.all(e.map(r=>r.updateComplete)).then(()=>{const r=e.map(i=>i.inputElement);r.forEach(i=>{this.initInput(i,r)})})}focus(){for(let t=this.inputs.length-1;t>=0;t--){const e=this.inputs[t];if(t>0&&this.inputs[t-1].value){e.focus();break}else if(t===0){e.focus();break}}}initInput(t,e){const r=e.indexOf(t),i=()=>{r>0&&e[r-1].focus()},n=()=>{r{t.select()}),t.addEventListener("input",a=>{(""+t.value).trim().length&&n(),this.notifyChange()}),t.addEventListener("keydown",a=>{const s=a.key;if(a.ctrlKey||a.shiftKey||a.altKey||a.metaKey)return;!/^[a-zA-Z0-9]$/.test(s)&&!["Backspace","Tab","Enter"].includes(s)&&a.preventDefault()}),t.addEventListener("keyup",a=>{const s=a.key;s==="Backspace"?(e[r].value="",i()):s==="Enter"&&this.value.length===e.length&&this.notifyEnter()}),t.addEventListener("paste",a=>{a.preventDefault();const s=LC(a.clipboardData?.getData("text")||"");if(s.length===this.inputs.length){for(let l=0;l

-

`}get value(){return Array.from(this.inputs.values()).map(e=>e.value).join("").toUpperCase()}};W1.styles=Ut(MC);D7([LA("li-input")],W1.prototype,"inputs",2);W1=D7([Yt("li-auth-code")],W1);const OC=`:host { cursor: pointer; font-weight: 500; position: relative; } :host(.brand) { display: flex; flex-direction: row; padding: var(--li-space-sm) var(--li-space-md); box-sizing: border-box; justify-content: center; gap: var(--li-space-sm); border-radius: var(--li-radius); background: var(--li-color-bg-brand); color: var(--li-color-text-on-brand); } :host(.brand:hover) { background: var(--li-color-bg-brand-hover); } :host(.brand:active) { background: var(--li-color-bg-brand-pressed); } :host(.link) { color: var(--li-color-text-brand); } :host([inert]) { opacity: 0.75; filter: grayscale(1); } div { flex: 1; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; min-width: 10px; text-align: center; }`;var VC=Object.getOwnPropertyDescriptor,NC=(t,e,r,i)=>{for(var n=i>1?void 0:i?VC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};let p2=class extends jt{render(){return et`
`}};p2.styles=Ut(OC);p2=NC([Yt("li-button")],p2);const GC=`:host { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-sm); } li-field { flex: 1; } li-colors-palette { display: none; }`;/** * @license * Copyright 2018 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const Ma=i0(class extends hu{constructor(t){if(super(t),t.type!==Cs.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(const i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}const r=t.element.classList;for(const i of this.st)i in e||(r.remove(i),this.st.delete(i));for(const i in e){const n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(r.add(i),this.st.add(i)):(r.remove(i),this.st.delete(i)))}return kn}}),FC=`:host { display: flex; flex-direction: column; padding: var(--li-space-xs); gap: var(--li-space-xs); box-sizing: border-box; background: var(--li-color-bg); border-radius: 10px; } :host(.shadow) { box-shadow: var(--li-shadow); border: 1px solid var(--li-color-border); } .grid { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); width: 100%; } .grid div { position: relative; display: block; aspect-ratio: 1; box-sizing: border-box; background-color: currentColor; cursor: pointer; } .grid div:hover { transform: scale(1.25); z-index: 3; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, 1); } .grid div.active:after { content: ''; position: absolute; display: block; box-sizing: border-box; width: 100%; height: 100%; left: 0; top: 0; border-radius: inherit; background: currentColor; border: 1px solid rgba(255, 255, 255, 1); box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25); z-index: 2; } .recently { display: grid; width: 100%; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--li-space-xs) } li-label { margin-top: var(--li-space-sm); } li-color { width: 100%; }`;var RC=Object.defineProperty,jC=Object.getOwnPropertyDescriptor,W3=(t,e,r,i)=>{for(var n=i>1?void 0:i?jC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&RC(e,r,n),n};const qC=10,UC=["#faddd1","#fad3d1","#fad1e6","#e5d1fa","#d4d1fa","#d1e3fa","#d1f3fa","#d1faf0","#d1fad7","#ebfad1","#faf9d1","#faefd1","#fae6d1","#f2e2d9","#ffffff","#f4b69c","#f4a09c","#f49cc8","#c69cf4","#a39cf4","#9cc2f4","#9ce5f4","#9cf4df","#9cf4a7","#d4f49c","#f4f19c","#f4dc9c","#f4c89c","#e3c0ac","#e4e4e4","#ee8f66","#ee6d66","#ee66aa","#a866ee","#7166ee","#66a1ee","#66d7ee","#66eece","#66ee78","#bcee66","#eee966","#eeca66","#eeaa66","#d59f80","#b4b4b4","#e86830","#e83a30","#e8308c","#8930e8","#4030e8","#3080e8","#30c9e8","#30e8bd","#30e849","#a5e830","#e8e230","#e8b730","#e88c30","#c67d53","#848484","#c74b16","#c71f16","#c7166f","#6c16c7","#2516c7","#1663c7","#16a9c7","#16c79e","#16c72e","#86c716","#c7c116","#c79816","#c76f16","#a66037","#545454","#913710","#911710","#911051","#4f1091","#1b1091","#104891","#107c91","#109173","#109121","#629110","#918d10","#916f10","#915110","#794628","#242424","#5c230a","#5c0e0a","#5c0a33","#320a5c","#110a5c","#0a2e5c","#0a4e5c","#0a5c49","#0a5c15","#3e5c0a","#5c590a","#5c460a","#5c330a","#4d2c19","#000000"];function Bc(t){let e=(t||"").trim();return e==="transparent"&&(e=""),e.startsWith("#")&&(e=e.substring(1)),e}function O6(t){const e=t==="recently"?this.recentlyPalette:this.documentPalette;let r="";switch(t){case"recently":r="Recently used";break;case"document":r="Document colors";break}return e.length>0?et` ${r}
${e.map(i=>et` `)}
`:null}let gr=class extends jt{constructor(){super(...arguments),this.value="",this.palette=UC.map(t=>({color:t}))}connectedCallback(){super.connectedCallback(),this.requestUpdate(),gr.instances.push(this)}disconnectedCallback(){const t=gr.instances.indexOf(this);t>-1&&gr.instances.splice(t,1),super.disconnectedCallback()}colorSelect(t,e){e&&e.preventDefault(),this.value=t;const r=new CustomEvent("select",{detail:{value:t}});this.dispatchEvent(r)}render(){return et`
${this.palette.map(t=>et`
`)}
${O6.call(this,"recently")} ${O6.call(this,"document")} `}get recentlyPalette(){return gr.recentlyPalette}get documentPalette(){return gr.documentPalette}static addToPalette(t,e,r){if(t=Bc(t),!X4(t))return;const i=e==="recently"?gr.recentlyPalette:gr.documentPalette;if(!i.find(n=>n.color===t)){if(i.unshift({color:t,name:r}),e==="recently")for(;i.length>qC;)i.pop();gr.instances.forEach(n=>{n.requestUpdate()})}}};gr.recentlyPalette=[];gr.documentPalette=[];gr.instances=[];gr.styles=Ut(FC);W3([it({type:String})],gr.prototype,"value",2);W3([he()],gr.prototype,"palette",2);gr=W3([Yt("li-colors-palette")],gr);var HC=Object.defineProperty,WC=Object.getOwnPropertyDescriptor,s0=(t,e,r,i)=>{for(var n=i>1?void 0:i?WC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&HC(e,r,n),n};let Pa=class extends jt{constructor(){super(...arguments),this.value="",this.default="",this._popover=pu()}openPopover(){this._popover.open("select",this,{closeBoundary:this.colorElement})}changeColor(t){let e=Bc(t.detail.value);X4(e)?(this.value=Bc(t.detail.value),this.notifyChange(),gr.addToPalette(this.value,"recently")):this.value=""}inputBlur(){if(!this.value){let t=this.default||"";t.startsWith("#")&&(t=t.substring(1)),this.value=this.inputElement.value=t,this.notifyChange()}}render(){let t=this.value||this.default||"";return t.startsWith("#")&&(t=t.substring(1)),et` `}notifyChange(){let t=this.value||"";t&&!t.startsWith("#")&&(t=`#${t}`),this.dispatchEvent(new CustomEvent("change",{detail:{value:t}}))}get placeholder(){if(!this.default)return"transparent";let t=this.default;return t.startsWith("#")&&(t=t.substring(1)),t}};Pa.styles=Ut(GC);s0([pe("li-colors-palette",!0)],Pa.prototype,"paletteElement",2);s0([pe("li-color",!0)],Pa.prototype,"colorElement",2);s0([pe("li-input",!0)],Pa.prototype,"inputElement",2);s0([it({type:String})],Pa.prototype,"value",2);s0([it({type:String})],Pa.prototype,"default",2);Pa=s0([Yt("li-color-field")],Pa);const XC=`:host { display: block; --color: black; --border-color: black; --size: 36px; border: 1px solid transparent; padding: 1px; border-radius: calc(var(--li-radius) + 2px); width: var(--size); aspect-ratio: 1; box-sizing: border-box; } :host(.active) { border-color: var(--li-color-border-hover); } :host(.clickable:hover) { cursor: pointer; border-color: var(--li-color-border-hover); } .color { width: 100%; aspect-ratio: 1; box-sizing: border-box; background: var(--color); border-radius: var(--li-radius); border: 1px solid var(--border-color); } .transparent { width: 100%; aspect-ratio: 1; box-sizing: border-box; border-radius: var(--li-radius); background: repeating-conic-gradient(#c7c7cc 0% 25%, #fff 0% 50%) 50% / 16px 16px; box-sizing: border-box; border: 1px solid var(--li-color-border); }`;var YC=Object.defineProperty,ZC=Object.getOwnPropertyDescriptor,T7=(t,e,r,i)=>{for(var n=i>1?void 0:i?ZC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&YC(e,r,n),n};let X1=class extends jt{constructor(){super(...arguments),this.color=""}render(){return this.color?et`
`:et`
`}};X1.styles=Ut(XC);T7([it({type:String})],X1.prototype,"color",2);X1=T7([Yt("li-color")],X1);const KC=`:host { display: flex; flex-direction: row; box-sizing: border-box; align-items: center; color: var(--li-color-text-on-brand); font-weight: 500; position: relative; cursor: pointer; --progress: 0%; } :host div:first-of-type { border-top-left-radius: var(--li-radius); border-bottom-left-radius: var(--li-radius); } :host div:last-of-type { border-top-right-radius: var(--li-radius); border-bottom-right-radius: var(--li-radius); } .export { display: flex; flex-direction: row; align-items: center; justify-content: center; flex: 1; padding: 0 var(--li-space-md); text-align: center; background: var(--li-color-bg-brand); height: var(--li-size-field-sm); } .export:hover { background: var(--li-color-bg-brand-hover); } .export:active { background: var(--li-color-bg-brand-pressed); } :host(.busy) .export { background: linear-gradient(90deg, var(--li-color-bg-brand) 0%, var(--li-color-bg-brand) 50%, var(--li-color-bg-brand-hover) 50%); background-size: 200% 100%; background-position: calc(-1 * var(--progress, 0%)); &:after { display: block; content: var(--progress, 0%); } } .more { display: flex; flex-direction: row; align-items: center; justify-content: center; background: var(--li-color-bg-brand); height: var(--li-size-field-sm); aspect-ratio: 1; border-left: 1px solid var(--li-color-bg); } .more:hover { background: var(--li-color-bg-brand-hover); } .more:active { background: var(--li-color-bg-brand-pressed); } li-list { display: none; } `;var JC=Object.defineProperty,QC=Object.getOwnPropertyDescriptor,Ts=(t,e,r,i)=>{for(var n=i>1?void 0:i?QC(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&JC(e,r,n),n};const tP="More formats",eP=[{id:"json",title:"Interaction"},{id:"svg",title:"SVG"}];let Un=class extends jt{constructor(){super(...arguments),this.progress=null,this.more=!1,this.selected=!1,this.format="json",this.items=eP,this.timer=null,this._popover=pu()}finish(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.progress=1,this.requestUpdate(),this.timer=setTimeout(()=>{this.progress=null,this.requestUpdate()},500)}updated(t){super.update(t),t.has("progress")&&(this.progress!==null?(this.classList.add("busy"),this.style.setProperty("--progress",`${this.progress*100}%`),this.setAttribute("inert","")):(this.classList.remove("busy"),this.style.setProperty("--progress","0%"),this.removeAttribute("inert")))}actionExport(){this.dispatchEvent(new CustomEvent("export",{detail:{format:this.format}}))}actionFormat(){this.openPopover(),this.dispatchEvent(new CustomEvent("more"))}openPopover(){this._popover.open("select",this)}formatChange(t){this._popover.close(),this.format=t.detail.value,this.notifyChange()}notifyChange(){const t=new CustomEvent("change",{detail:{value:this.format}});this.dispatchEvent(t)}render(){const t=this.more?et`
`:null;return et`
${this.progress!==null?this.progressLabel:this.formatLabel}
${t} `}get progressLabel(){return this.progress!==null?`${Math.round(this.progress*100)}%`:""}get formatLabel(){let t=this.selected?"Replace":"Insert";switch(this.format){case"svg":return`${t} SVG`;case"json":return`${t} Interaction`;default:return t}}};Un.styles=Ut(KC);Ts([pe("li-list",!0)],Un.prototype,"listComponent",2);Ts([it({type:Number})],Un.prototype,"progress",2);Ts([it({type:Boolean})],Un.prototype,"more",2);Ts([it({type:Boolean})],Un.prototype,"selected",2);Ts([it({type:String})],Un.prototype,"format",2);Ts([it({type:Array})],Un.prototype,"items",2);Un=Ts([Yt("li-export-button")],Un);const rP=`:host { display: flex; flex-direction: row; align-items: center; border-radius: var(--li-radius); border: 1px solid var(--li-color-border); background: var(--li-color-bg-secondary); } :host(:hover) { border-color: var(--li-color-border-hover); } :host(:focus-within) { border-color: var(--li-color-border-pressed); } :host-context(.error) { border-color: var(--li-color-border-danger); } ::slotted(*) { flex: 1; }`;var iP=Object.getOwnPropertyDescriptor,nP=(t,e,r,i)=>{for(var n=i>1?void 0:i?iP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};let d2=class extends jt{render(){return et` `}};d2.styles=Ut(rP);d2=nP([Yt("li-field")],d2);const aP="data:image/svg+xml,%3csvg%20width='38'%20height='38'%20viewBox='0%200%2038%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M29.3413%209.65009L24.6605%2014.3316L20.8841%207.79083C20.2755%206.73639%2018.7558%206.73639%2018.1472%207.79083L14.3527%2014.3646L9.65872%209.65833C8.67776%208.67556%207%209.36918%207%2010.7589V28.8285C7%2030.5815%208.41831%2032%2010.1694%2032H28.829C30.58%2032%2032%2030.5815%2032%2028.8285V10.7498C32%209.36259%2030.3222%208.66897%2029.3413%209.65009ZM15.5214%2023.366C14.6887%2023.366%2014.015%2022.6905%2014.015%2021.8577C14.015%2021.0265%2014.6887%2020.351%2015.5214%2020.351C16.3541%2020.351%2017.0278%2021.0265%2017.0278%2021.8577C17.0278%2022.6905%2016.3533%2023.366%2015.5214%2023.366ZM23.4448%2023.3578C22.6121%2023.3578%2021.9367%2022.6823%2021.9367%2021.8494C21.9367%2021.0182%2022.6121%2020.3427%2023.4448%2020.3427C24.2759%2020.3427%2024.9513%2021.0182%2024.9513%2021.8494C24.9513%2022.6823%2024.2751%2023.3578%2023.4448%2023.3578Z'%20fill='%2308C18A'/%3e%3c/svg%3e",sP=`:host { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-sm); padding: 0 var(--li-space-sm); height: var(--li-size-field-sm); border-top: 1px solid var(--li-color-border); } .title { flex: 1; } .actions { display: flex; flex-direction: row; align-items: center; } img { display: block; width: var(--li-icon-size-md); height: var(--li-icon-size-md); margin-left: -5px; } a { display: block; }`;var oP=Object.defineProperty,lP=Object.getOwnPropertyDescriptor,Su=(t,e,r,i)=>{for(var n=i>1?void 0:i?lP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&oP(e,r,n),n};let ks=class extends jt{constructor(){super(),this.email="",this.premium=!1,this._popover=pu()}logout(){this.dispatchEvent(new CustomEvent("logout"))}menuSelect(t){this._popover.close();const e=t.detail.value;e==="homepage"?window.open("https://lordicon.com/","_blank"):e==="account"?window.open("https://lordicon.com/account","_blank"):e==="plugin-guide"?window.open("https://lordicon.com/docs/wp","_blank"):e==="license"?window.open("https://lordicon.com/account/license","_blank"):e==="support"?window.open("https://lordicon.com/docs/support","_blank"):e==="subscribe"?window.open("https://lordicon.com/pricing","_blank"):e==="logout"&&this.dispatchEvent(new CustomEvent("logout"))}openPopover(){this._popover.open("menu",this.menuButton)}render(){const t=et` `;return et` ${t}
${this.email}
`}get items(){const t=[{id:"homepage",title:"Homepage"},{id:"account",title:"Account"},{id:"plugin-guide",title:"Plugin Guide"},{id:"license",title:"License"},{id:"support",title:"Support"}];return this.premium||t.push({id:"subscribe",title:"Subscribe to PRO"}),[...t,{id:"logout",title:"Logout"}]}};ks.styles=Ut(sP);Su([pe("li-list",!0)],ks.prototype,"listComponent",2);Su([pe("li-pictogram",!0)],ks.prototype,"menuButton",2);Su([it()],ks.prototype,"email",2);Su([it()],ks.prototype,"premium",2);ks=Su([Yt("li-footer")],ks);const cP=`:host { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-sm); padding: 0 var(--li-space-sm); height: var(--li-size-field-sm); border-top: 1px solid var(--li-color-border); border-bottom: 1px solid var(--li-color-border); } .title { flex: 1; text-align: center; } .back_action { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-xs); cursor: pointer; } .back_action:hover { color: var(--li-color-text-brand); } .action { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-xs); }`;var uP=Object.defineProperty,hP=Object.getOwnPropertyDescriptor,$7=(t,e,r,i)=>{for(var n=i>1?void 0:i?hP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&uP(e,r,n),n};let Y1=class extends jt{constructor(){super(...arguments),this.button=""}back(){this.dispatchEvent(new CustomEvent("back"))}render(){return et`
${this.button}
`}};Y1.styles=Ut(cP);$7([it({type:String})],Y1.prototype,"button",2);Y1=$7([Yt("li-header")],Y1);const pP=`:host { display: block; min-width: 10px; } .container { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: var(--li-space-sm); position: relative; border: 2px solid transparent; border-radius: var(--li-radius); background: rgba(255, 255, 255, 0.05); cursor: pointer; box-sizing: border-box; aspect-ratio: 1; @media (min-width: 500px) { aspect-ratio: 5/4; } @media (min-width: 600px) { aspect-ratio: 5/3; } } :host(:hover) .container { border-color: var(--li-color-border-pressed); background: rgba(255, 255, 255, 0.20); } li-icon { display: block; margin: 0 auto; position: relative; z-index: 2; pointer-events: none; width: 64px; height: 64px; } span.title { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; display: block; width: 100%; text-align: center; position: relative; z-index: 2; pointer-events: none; margin-top: var(--li-space-sm); } span.premium { position: absolute; top: var(--li-space-sm); left: var(--li-space-sm); z-index: 3; display: block; line-height: 19px; display: inline-block; font-weight: 600; text-transform: uppercase; color: var(--li-color-bg-brand); font-size: 0.75rem; line-height: 1; letter-spacing: 1px; } span.states { position: absolute; top: 8px; right: 8px; z-index: 3; display: block; background: var(--palette-gray); width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 50%; font-weight: bold; font-size: 0.75rem; letter-spacing: 1px; } :host(.small) { li-icon { width: 48px; height: 48px; } } img { display: block; width: inherit; height: inherit; }`;var dP=Object.defineProperty,fP=Object.getOwnPropertyDescriptor,o0=(t,e,r,i)=>{for(var n=i>1?void 0:i?fP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&dP(e,r,n),n};let Da=class extends jt{constructor(){super(...arguments),this.title="Icon",this.states=0,this.premium=!1}render(){let t=null,e=null,r=null;return this.premium&&(e=et` pro `),this.states>0&&(t=et` ${this.states} `),this.srcPreview&&(r=et` `),et`
${r} ${this.title} ${e} ${t}
`}};Da.styles=Ut(pP);o0([it({type:String})],Da.prototype,"srcJson",2);o0([it({type:String})],Da.prototype,"srcPreview",2);o0([it({type:String})],Da.prototype,"title",2);o0([it({type:Number})],Da.prototype,"states",2);o0([it({type:Boolean})],Da.prototype,"premium",2);Da=o0([Yt("li-icon-tile")],Da);const mP=`:host { display: flex; flex-direction: row; align-items: center; height: var(--li-size-field-sm); min-width: 30px; box-sizing: border-box; background: transparent; color: var(--li-color-text); font-family: var(--li-font-family); font-size: var(--li-font-size-sm); line-height: var(--li-line-height); } input { margin: 0; padding: 0 var(--li-space-sm); height: inherit; background: transparent; border: 0; color: inherit; outline: 0; text-align: left; min-width: 0; width: 100%; flex: 1; font-family: inherit; font-size: inherit; font-weight: inherit; } input::placeholder, input::-webkit-input-placeholder { color: var(--li-color-text-secondary); font-family: var(--li-font-family); font-size: var(--li-font-size-sm); line-height: var(--li-line-height); } input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .prefix, .suffix { font-weight: 600; font-size: var(--li-font-size-sm); color: var(--li-color-text-secondary); } .prefix { padding-left: var(--li-space-sm); } .suffix { padding-right: var(--li-space-sm); } :host(.center) input { text-align: center; } :host(.big) { font-size: var(--li-font-size-md); height: var(--li-size-field-md); } :host(.uppercase) input { text-transform: uppercase; font-weight: 500; } :host(.slim) input { padding: 0; } ::selection { color: var(--li-color-text-selection); background: var(--li-color-bg-selection); }`;var gP=Object.defineProperty,yP=Object.getOwnPropertyDescriptor,Qr=(t,e,r,i)=>{for(var n=i>1?void 0:i?yP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&gP(e,r,n),n};let _r=class extends jt{constructor(){super(...arguments),this.value="",this.prefix="",this.suffix="",this.placeholder="",this.type="text",this.optional=!1,this.autoselect=!1,this.liveChange=!1,this.maxLength=0,this.step=1,this.min=0,this.max=100}firstUpdated(t){this.autofocus&&this.focus()}updated(t){t.has("value")&&this.refresh()}validate(t){if(this.type!=="number")return;const e=t.key;["Tab","Enter","Shift","Control","Alt","Meta","Escape","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Backspace","Delete","Insert","Home","End","PageUp","PageDown"].includes(e)||e==="a"&&t.ctrlKey||e==="c"&&t.ctrlKey||e==="v"&&t.ctrlKey||e==="x"&&t.ctrlKey||e==="."&&this.step<1||/^\d$/.test(e)||t.preventDefault()}keyUp(t){const e=t.key==="Enter";t.key==="Escape"&&this.liveChange?(this.inputElement.value="",this.change()):(e||this.liveChange)&&(this.value!=this.inputElement.value&&this.change(),e&&this.notifyEnter())}focus(){this.inputElement.focus(),this.autoselect&&this.inputElement.setSelectionRange(-1,-1)}focused(){this.autoselect&&this.inputElement.setSelectionRange(0,this.inputElement.value.length)}refresh(){let t=this.value===void 0||this.value===null?"":this.value;this.type==="number"&&(t===""&&this.optional?t="":t!==""&&(t=parseFloat(t),isNaN(t)?t="":t=Math.round(parseFloat(t)*100)/100)),this.inputElement.value=""+t}change(){const t=this.inputElement;let e=t.value;if(this.type==="number"){if(e===""&&this.optional)e="";else if(e===""&&!this.optional)e=this.min;else if(e!==""){const i=parseFloat(e);isNaN(i)?e=this.optional?"":this.min:e=Math.min(this.max,Math.max(this.min,i))}}const r=""+e;t.value=r,this.value!=e&&(this.value=r,this.refresh(),this.notifyChange())}notifyChange(){const t=new CustomEvent("change",{detail:{value:this.value}});this.dispatchEvent(t)}notifyEnter(){const t=new CustomEvent("enter",{detail:{value:this.value}});this.dispatchEvent(t)}render(){const t=this.prefix?et`${this.prefix}`:null,e=this.suffix?et`${this.suffix}`:null;return et` ${t} ${e} `}};_r.styles=Ut(mP);Qr([pe("#input",!0)],_r.prototype,"inputElement",2);Qr([it({type:String})],_r.prototype,"value",2);Qr([it({type:String})],_r.prototype,"prefix",2);Qr([it({type:String})],_r.prototype,"suffix",2);Qr([it({type:String})],_r.prototype,"placeholder",2);Qr([it({type:String})],_r.prototype,"type",2);Qr([it({type:Boolean})],_r.prototype,"optional",2);Qr([it({type:Boolean})],_r.prototype,"autoselect",2);Qr([it({type:Boolean})],_r.prototype,"liveChange",2);Qr([it({type:Number})],_r.prototype,"maxLength",2);Qr([it({type:Number})],_r.prototype,"step",2);Qr([it({type:Number})],_r.prototype,"min",2);Qr([it({type:Number})],_r.prototype,"max",2);_r=Qr([Yt("li-input")],_r);const xP=`:host { display: flex; flex-direction: row; align-items: center; font-weight: 600; font-size: var(--li-font-size-xs); height: var(--li-icon-size-sm); } .content { flex: 1; color: var(--li-color-text-secondary); } .action { color: var(--li-color-text); }`;var vP=Object.getOwnPropertyDescriptor,bP=(t,e,r,i)=>{for(var n=i>1?void 0:i?vP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};let f2=class extends jt{render(){return et`
`}};f2.styles=Ut(xP);f2=bP([Yt("li-label")],f2);const kP=`:host(.column) { display: flex; flex-direction: column; text-align: center; gap: var(--li-space-sm); } :host(.flex) { flex: 1; } :host(.icon-grid) { display: grid; grid-template-columns: repeat(2, 1fr); justify-content: center; gap: var(--li-space-sm); padding: var(--li-space-sm); }`;var wP=Object.getOwnPropertyDescriptor,SP=(t,e,r,i)=>{for(var n=i>1?void 0:i?wP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};let m2=class extends jt{render(){return et` `}};m2.styles=Ut(kP);m2=SP([Yt("li-layout")],m2);const AP=`:host { display: flex; flex-direction: row; align-items: center; height: var(--li-size-field-sm); border-top: 1px solid var(--li-color-border); border-bottom: 1px solid var(--li-color-border); padding: 0 var(--li-space-sm); --scrollbar-width: 0px; } .search { display: flex; flex-direction: row; gap: var(--li-space-xs); align-items: center; color: var(--li-color-text-secondary); box-sizing: border-box; flex: 1; border-right: 1px solid var(--li-color-border); } .search li-input { flex: 1; } .select { flex: 1; height: var(--size-field); display: flex; flex-direction: row; align-items: center; height: var(--li-size-field-sm); cursor: pointer; box-sizing: border-box; padding-right: var(--scrollbar-width); } .select span { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; width: 10px; margin: 0 var(--li-space-sm); flex: 1; } .select:hover, .select.active { color: var(--li-color-text-brand); } .select.active li-pictogram { rotate: 180deg; }`;var EP=Object.defineProperty,_P=Object.getOwnPropertyDescriptor,Ba=(t,e,r,i)=>{for(var n=i>1?void 0:i?_P(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&EP(e,r,n),n};const V6=500;let wn=class extends jt{constructor(){super(...arguments),this.variants=[],this.variant="",this.search="",this.freeIcons=!1,this._popover=pu()}firstUpdated(){const t=Math.floor(dE()/2);this.style.setProperty("--scrollbar-width",`${t}px`)}searchChange(t){this.search=t.detail.value.trim(),this.debouncer=V1(this.debouncer,N1(V6),()=>{this.notifyChange()})}variantChange(t){this._popover.close(),this.variant=t.detail.value,this.debouncer=V1(this.debouncer,N1(V6),()=>{this.notifyChange()})}filterChange(){this.freeIcons=!this.freeIcons,this.notifyChange()}focus(){this.searchInput?.focus()}notifyChange(){const t=new CustomEvent("change",{detail:{search:this.search,variant:this.variant,freeIcons:this.freeIcons}});this.dispatchEvent(t)}openPopover(){this._popover.open("select",this.selectElement)}render(){return et`
${this.variantLabel}
`}get variantLabel(){if(this.variant&&this.variants.length>0){const t=this.variants.find(e=>e.id===this.variant);if(t)return t.title}return"..."}};wn.styles=Ut(AP);Ba([pe("li-input",!0)],wn.prototype,"searchInput",2);Ba([pe(".select",!0)],wn.prototype,"selectElement",2);Ba([pe("li-list",!0)],wn.prototype,"listComponent",2);Ba([it()],wn.prototype,"variants",2);Ba([it()],wn.prototype,"variant",2);Ba([it()],wn.prototype,"search",2);Ba([it()],wn.prototype,"freeIcons",2);wn=Ba([Yt("li-library-parameter")],wn);const CP=`:host { background: var(--li-color-bg); box-sizing: border-box; display: flex; flex-direction: column; border-radius: var(--li-radius); overflow-y: auto; font-weight: 400; font-size: var(--li-font-size-xs); } .item { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-sm); cursor: pointer; padding: var(--li-space-sm); } :host(.slim) .item { gap: var(--li-space-xs); padding: var(--li-space-xs); } .item:not(:last-child) { border-bottom: 1px solid var(--li-color-border); } .item:hover, .item:active, .item:hover .subtitle { color: var(--li-color-text-brand); } :host(.shadow) { box-shadow: var(--li-shadow); border: 1px solid var(--li-color-border); } .content { display: flex; flex-direction: column; flex: 1; min-width: 10px; } .title { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .subtitle { color: var(--li-color-text-secondary); font-size: 10px; font-weight: 400; }`;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */const N6=(t,e,r)=>{const i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},Au=i0(class extends hu{constructor(t){if(super(t),t.type!==Cs.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);const n=[],a=[];let s=0;for(const l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){const n=RA(t),{values:a,keys:s}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=s,a;const l=this.ut??=[],o=[];let c,u,f=0,h=n.length-1,y=0,g=a.length-1;for(;f<=h&&y<=g;)if(n[f]===null)f++;else if(n[h]===null)h--;else if(l[f]===s[y])o[y]=Fa(n[f],a[y]),f++,y++;else if(l[h]===s[g])o[g]=Fa(n[h],a[g]),h--,g--;else if(l[f]===s[g])o[g]=Fa(n[f],a[g]),Vl(t,o[g+1],n[f]),f++,g--;else if(l[h]===s[y])o[y]=Fa(n[h],a[y]),Vl(t,n[f],n[h]),h--,y++;else if(c===void 0&&(c=N6(s,y,g),u=N6(l,f,h)),c.has(l[f]))if(c.has(l[h])){const m=u.get(s[y]),k=m!==void 0?n[m]:null;if(k===null){const d=Vl(t,n[f]);Fa(d,a[y]),o[y]=d}else o[y]=Fa(k,a[y]),Vl(t,n[f],k),n[m]=null;y++}else kf(n[h]),h--;else kf(n[f]),f++;for(;y<=g;){const m=Vl(t,o[g+1]);Fa(m,a[y]),o[y++]=m}for(;f<=h;){const m=n[f++];m!==null&&kf(m)}return this.ut=s,FA(t,o),kn}});var PP=Object.defineProperty,DP=Object.getOwnPropertyDescriptor,I7=(t,e,r,i)=>{for(var n=i>1?void 0:i?DP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&PP(e,r,n),n};let Z1=class extends jt{constructor(){super(...arguments),this.items=[]}select(t,e){e.preventDefault();const r=new CustomEvent("change",{detail:{value:t.id}});this.dispatchEvent(r)}render(){return et` ${Au(this.items,t=>t.id,(t,e)=>et`
${t.json?et``:""}
${t.title} ${t.subtitle?et`${t.subtitle}`:""}
`)} `}};Z1.styles=Ut(CP);I7([it({type:Array})],Z1.prototype,"items",2);Z1=I7([Yt("li-list")],Z1);/** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause */function*TP(t,e){if(t!==void 0){let r=0;for(const i of t)yield e(i,r++)}}/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */let g2=class extends hu{constructor(e){if(super(e),this.it=Se,e.type!==Cs.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Se||e==null)return this._t=void 0,this.it=e;if(e===kn)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};g2.directiveName="unsafeHTML",g2.resultType=1;/** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */let y2=class extends g2{};y2.directiveName="unsafeSVG",y2.resultType=2;const M7=i0(y2),$P=`:host { display: inline-flex; width: var(--li-icon-size-sm); height: var(--li-icon-size-sm); align-items: center; justify-content: center; position: relative; vertical-align: middle; fill: currentcolor; stroke: none; } :host(.medium) { width: var(--li-icon-size-md); height: var(--li-icon-size-md); } svg { pointer-events: none; display: block; width: 100%; height: 100%; } :host(.clickable) { cursor: pointer; } :host(.clickable:hover) { color: var(--li-color-text-brand); } :host([inert]) { opacity: 0.5; filter: grayscale(1); } `;var IP=Object.defineProperty,MP=Object.getOwnPropertyDescriptor,B7=(t,e,r,i)=>{for(var n=i>1?void 0:i?MP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&IP(e,r,n),n};const BP={play:["M18.66,11.15L8.52,4.93C7.86,4.52,7,5,7,5.79v12.43c0,0.78,0.86,1.26,1.52,0.85l10.13-6.21 C19.29,12.46,19.29,11.54,18.66,11.15z"],pause:["M9,19H7c-0.55,0-1-0.45-1-1V6c0-0.55,0.45-1,1-1h2c0.55,0,1,0.45,1,1v12C10,18.55,9.55,19,9,19z","M17,19h-2c-0.55,0-1-0.45-1-1V6c0-0.55,0.45-1,1-1h2c0.55,0,1,0.45,1,1v12C18,18.55,17.55,19,17,19z"],arrowDown:["M 12,15.178762 5.6424779,8.821238 H 18.357522 Z"],arrowBack:["M 7.3952662,13.102931 13.571674,19.279343 11.999998,20.823444 3.1765555,12.000002 11.999998,3.1765555 13.571674,4.7206584 7.3952662,10.897069 H 20.823444 v 2.205862 z"],arrowGo:["M6.65967 5.70023C6.65967 5.20317 7.06261 4.80023 7.55966 4.80023H18.6596C19.1566 4.80023 19.5596 5.20317 19.5596 5.70023V16.8002C19.5596 17.2972 19.1566 17.7002 18.6596 17.7002C18.1625 17.7002 17.7596 17.2972 17.7596 16.8002V6.60022H7.55966C7.06261 6.60022 6.65967 6.19728 6.65967 5.70023Z","M19.2843 5.05687C19.6358 5.40834 19.6358 5.97819 19.2843 6.32966L5.78443 19.8296C5.43297 20.1811 4.86312 20.1811 4.51165 19.8296C4.16018 19.4781 4.16018 18.9083 4.51165 18.5568L18.0115 5.05688C18.363 4.70541 18.9328 4.70541 19.2843 5.05687Z"],search:["m 20.154872,21.657092 -6.759959,-6.759959 q -0.804758,0.643806 -1.850942,1.019359 -1.046184,0.375536 -2.2264951,0.375536 -2.9239507,0 -4.9492562,-2.025302 -2.0253055,-2.025306 -2.0253055,-4.9492552 0,-2.9239545 2.0253055,-4.9492568 2.0253055,-2.0253063 4.9492562,-2.0253063 2.9239511,0 4.9492571,2.0253063 2.025305,2.0253023 2.025305,4.9492568 0,1.1803072 -0.375553,2.2264932 -0.375553,1.046182 -1.019359,1.850941 l 6.75996,6.759959 z M 9.3174759,14.146027 q 2.0118931,0 3.4202181,-1.408323 1.408325,-1.408327 1.408325,-3.4202172 0,-2.0118951 -1.408325,-3.4202182 -1.408325,-1.4083273 -3.4202181,-1.4083273 -2.0118927,0 -3.4202175,1.4083273 -1.4083252,1.4083231 -1.4083252,3.4202182 0,2.0118902 1.4083252,3.4202172 1.4083248,1.408323 3.4202175,1.408323 z"],logout:["m 5.2014724,20.740962 q -0.8012549,0 -1.3718457,-0.570591 Q 3.259036,19.599781 3.259036,18.798525 V 5.2014743 q 0,-0.8012557 0.5705907,-1.3718462 Q 4.4002175,3.2590375 5.2014724,3.2590375 H 11.999999 V 5.2014743 H 5.2014724 V 18.798525 h 6.7985266 v 1.942437 z M 15.884872,16.85609 14.549447,15.447823 17.026053,12.971219 H 9.0863447 V 11.028782 H 17.026053 L 14.549447,8.5521755 15.884872,7.1439089 20.740964,12 Z"],reset:["M 10.998452,21.239282 Q 7.9687683,20.863696 5.9781911,18.597701 3.987614,16.3317 3.987614,13.276976 q 0,-1.652554 0.6510065,-3.167399 Q 5.2896269,8.5947358 6.4914847,7.4679947 L 7.9186911,8.8952001 Q 6.96722,9.7465179 6.4789653,10.873259 q -0.4882548,1.126742 -0.4882548,2.403717 0,2.203407 1.4021677,3.893518 1.4021676,1.690113 3.6055738,2.065695 z m 2.003097,0 v -2.003093 q 2.178368,-0.400619 3.593054,-2.078212 1.414687,-1.677594 1.414687,-3.881001 0,-2.503871 -1.75271,-4.2565816 Q 14.503871,7.2676872 12,7.2676872 H 11.92488 L 13.026584,8.3693883 11.624416,9.7715579 8.1189967,6.2661359 11.624416,2.7607184 13.026584,4.1628861 11.92488,5.264589 H 12 q 3.355187,0 5.683786,2.3285991 2.3286,2.3286006 2.3286,5.6837879 0,3.029683 -1.990577,5.295685 -1.990578,2.266002 -5.020262,2.666621 z"],star:["M 12,3 A 0.750075,0.750075 0 0 0 11.328125,3.4179688 L 8.8222656,8.4941406 3.2226563,9.3085938 A 0.750075,0.750075 0 0 0 2.8066406,10.585938 l 4.0488281,3.955078 -0.9550781,5.582031 a 0.750075,0.750075 0 0 0 1.0898438,0.791015 L 12,18.277344 l 5.011719,2.636718 a 0.750075,0.750075 0 0 0 1.08789,-0.791015 l -0.953125,-5.582031 4.046875,-3.955078 A 0.750075,0.750075 0 0 0 20.777344,9.3085938 L 15.177734,8.4941406 12.671875,3.4179688 A 0.750075,0.750075 0 0 0 12,3 Z m 0,2.4433594 2.007813,4.0683594 a 0.750075,0.750075 0 0 0 0.564453,0.4101562 l 4.488281,0.652344 -3.244141,3.169922 a 0.750075,0.750075 0 0 0 -0.214843,0.662109 l 0.763671,4.472656 -4.015625,-2.113281 a 0.750075,0.750075 0 0 0 -0.699218,0 L 7.6347656,18.878906 8.3984375,14.40625 A 0.750075,0.750075 0 0 0 8.1835938,13.744141 L 4.9394531,10.574219 9.4277344,9.921875 A 0.750075,0.750075 0 0 0 9.9921875,9.5117188 Z"],settings:["m 6.25,3.25 c -1.6479706,0 -3,1.3520294 -3,3 0,1.6479706 1.3520294,3 3,3 1.6479706,0 3,-1.3520294 3,-3 0,-1.6479706 -1.3520294,-3 -3,-3 z m 0,1.5 c 0.8373094,0 1.5,0.6626906 1.5,1.5 0,0.8373094 -0.6626906,1.5 -1.5,1.5 -0.8373094,0 -1.5,-0.6626906 -1.5,-1.5 0,-0.8373094 0.6626906,-1.5 1.5,-1.5 z","M 8.5195313,5.5 A 0.75,0.75 0 0 0 7.7695312,6.25 0.75,0.75 0 0 0 8.5195313,7 H 20.480469 a 0.75,0.75 0 0 0 0.75,-0.75 0.75,0.75 0 0 0 -0.75,-0.75 z","m 15.25,9.25 c -1.64796,0 -3,1.35204 -3,3 0,1.64796 1.35204,3 3,3 1.64796,0 3,-1.35204 3,-3 0,-1.64796 -1.35204,-3 -3,-3 z m 0,1.5 c 0.83724,0 1.5,0.66276 1.5,1.5 0,0.83724 -0.66276,1.5 -1.5,1.5 -0.83724,0 -1.5,-0.66276 -1.5,-1.5 0,-0.83724 0.66276,-1.5 1.5,-1.5 z","m 4.0800781,11.5 a 0.75,0.75 0 0 0 -0.75,0.75 0.75,0.75 0 0 0 0.75,0.75 h 8.7109379 a 0.75,0.75 0 0 0 0.75,-0.75 0.75,0.75 0 0 0 -0.75,-0.75 z","M 17.5,11.5 A 0.75,0.75 0 0 0 16.75,12.25 0.75,0.75 0 0 0 17.5,13 h 3 A 0.75,0.75 0 0 0 21.25,12.25 0.75,0.75 0 0 0 20.5,11.5 Z","m 6.25,15.310547 c -1.6479464,0 -3,1.351989 -3,3 0,1.647944 1.3520133,3 3,3 1.6479867,0 3,-1.352056 3,-3 0,-1.648011 -1.3520536,-3 -3,-3 z m 0,1.5 c 0.8373336,0 1.5,0.662611 1.5,1.5 0,0.837256 -0.6627067,1.5 -1.5,1.5 -0.8372933,0 -1.5,-0.662744 -1.5,-1.5 0,-0.837389 0.6626664,-1.5 1.5,-1.5 z","m 8.5195313,17.560547 a 0.75,0.75 0 0 0 -0.7500001,0.75 0.75,0.75 0 0 0 0.7500001,0.75 H 20.480469 a 0.75,0.75 0 0 0 0.75,-0.75 0.75,0.75 0 0 0 -0.75,-0.75 z"],edit:["M 14.25,3.9160156 C 13.801664,3.9151307 13.354613,4.0836217 13.015625,4.4199219 L 10.4375,6.9765625 2.2226563,15.126953 A 0.750075,0.750075 0 0 0 2,15.660156 V 19.25 A 0.750075,0.750075 0 0 0 2.75,20 h 3.5898437 a 0.750075,0.750075 0 0 0 0.5332032,-0.222656 l 8.1503911,-8.214844 0.002,-0.0039 2.554687,-2.574219 c 0.672629,-0.6779521 0.671375,-1.7933996 -0.0039,-2.46875 L 15.484375,4.4238281 C 15.146736,4.0861541 14.698336,3.9169006 14.25,3.9160156 Z M 14.070313,5.484375 c 0.104024,-0.1031997 0.249994,-0.1035319 0.353515,0 l 2.091797,2.0917969 c 0.103519,0.1035295 0.103171,0.2495277 0,0.3535156 L 14.492188,9.9707031 12.029297,7.5078125 Z M 10.964844,8.5644531 13.435547,11.035156 6.0273437,18.5 H 3.5 v -2.529297 z","M 6,18.5 A 0.75,0.75 0 0 0 5.25,19.25 0.75,0.75 0 0 0 6,20 H 21.25 A 0.75,0.75 0 0 0 22,19.25 0.75,0.75 0 0 0 21.25,18.5 Z"],dots:["m 14,12 a 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 2,2 0 0 1 2,2 z","m 14,5 c 0,1.1045695 -0.895431,2 -2,2 -1.104569,0 -2,-0.8954305 -2,-2 0,-1.1045695 0.895431,-2 2,-2 1.104569,0 2,0.8954305 2,2 z","m 14,19 a 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 2,2 0 0 1 2,2 z"]};let K1=class extends jt{constructor(){super(...arguments),this.icon="play"}render(){const t=BP[this.icon];return et` ${TP(t,e=>M7(``))} `}};K1.styles=Ut($P);B7([it({type:String})],K1.prototype,"icon",2);K1=B7([Yt("li-pictogram")],K1);const zP=`:host { display: flex; align-items: center; flex-direction: column; justify-content: center; box-sizing: border-box; border-radius: var(--li-radius); position: relative; height: calc(128px + 16px + var(--li-space-xs)); --default-background: repeating-conic-gradient(rgba(0, 0, 0, 0.05) 0% 25%, var(--li-color-bg) 0% 50%) 50% / 16px 16px; @media (prefers-color-scheme: dark) { --default-background: repeating-conic-gradient(rgba(255, 255, 255, 0.05) 0% 25%, var(--li-color-bg) 0% 50%) 50% / 16px 16px; } } :host(.light) { @media (prefers-color-scheme: light) { --default-background: repeating-conic-gradient(rgba(0, 0, 0, 0.25) 0% 25%, rgba(0, 0, 0, 0.35) 0% 50%) 50% / 16px 16px; } } :host(.dark) { @media (prefers-color-scheme: dark) { --default-background: repeating-conic-gradient(rgba(255, 255, 255, 0.55) 0% 25%, rgba(255, 255, 255, 0.65) 0% 50%) 50% / 16px 16px; } } .icon { display: block; width: 128px; height: 128px; background: var(--background, var(--default-background)); } li-icon, ::slotted(img) { display: block; width: inherit; height: inherit; } .slider { display: flex; flex-direction: row; align-items: center; gap: var(--li-space-xs); width: 100%; margin-top: var(--li-space-xs); } .slider li-slider, .slider li-slider-sections { flex: 1; } .hidden { display: none; }`;var LP=Object.defineProperty,OP=Object.getOwnPropertyDescriptor,or=(t,e,r,i)=>{for(var n=i>1?void 0:i?OP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&LP(e,r,n),n};const VP=2;function G6(t){let e=t/1e3;return e=Math.round(e*10)/10,`${e}s`}let qe=class extends jt{constructor(){super(...arguments),this.sequence="",this.background="",this.stroke=VP,this.state="",this.trigger="",this.colors=[],this.sections=[],this.format="json",this.duration=0,this.speed=1,this.delay=0,this.intro=!1,this.loop=!1,this.progress=null}disconnectedCallback(){this.stopProgress(),super.disconnectedCallback()}updated(t){t.has("background")&&this.style.setProperty("--background",this.background);const e=this.colors.reduce((n,a)=>n&&fE(a.color)?n:!1,!0),r=this.colors.reduce((n,a)=>n&&mE(a.color,.35)?n:!1,!0);this.classList.toggle("light",e),this.classList.toggle("dark",r);const i=["icon","state","sequence","animation","intro","loop","speed","delay","format"];for(const n of i)if(t.has(n)){this.refresh();break}}refresh(){if(!(!this.icon||!this.state))if(this.iconElement.icon=this.icon,this.iconElement.state=this.state,this.stopProgress(),this.iconElement?.playerInstance?.seekToStart(),this.isAnimation&&(this.loop||this.trigger==="loop"))this.iconElement.trigger="sequence",this.iconElement.setAttribute("speed",""+this.speed),this.iconElement.setAttribute("sequence",this.sequence),this.iconElement.setAttribute("duration",""+this.duration),this.startProgress();else if(this.isComponent){let t=this.speed,e=this.intro,r=this.trigger==="in"||this.intro,i=r?500:0;t?this.iconElement.setAttribute("speed",t.toString()):this.iconElement.removeAttribute("speed"),i?this.iconElement.setAttribute("delay",i.toString()):this.iconElement.removeAttribute("delay"),e?this.iconElement.setAttribute("intro",""):this.iconElement.removeAttribute("intro"),r?this.iconElement.setAttribute("click-to-replay",""):this.iconElement.removeAttribute("click-to-replay"),this.iconElement.trigger=this.trigger}else this.iconElement.trigger="last-frame"}startProgress(){this.progress||(this.progress=new kC(this.iconElement,this.sliderElement,this.playElement,this.sections),this.progress.init())}stopProgress(){this.progress&&(this.progress.destroy(),this.progress=null)}sectionSelect(t){const e=t.detail.section,r=this.sliderElement?.parentElement,i=new CustomEvent("section",{detail:{section:e,target:r},cancelable:!0});this.dispatchEvent(i),i.defaultPrevented&&t.preventDefault()}render(){if(!this.icon)return et`
`;let t=null;if(this.isAnimation&&(this.loop||this.trigger==="loop"))if(this.sections.length>0){const e=this.sequence.includes("idle");t=et`
${e?et``:null} ${G6(this.duration)}
`}else t=et`
${G6(this.duration)}
`;return et`
${t} `}get parsedColors(){return this.colors.map(t=>`${t.name}:${t.color}`).join(",")}get isAnimation(){return["json"].includes(this.format)}get isComponent(){return this.format==="json"}};qe.styles=Ut(zP);or([pe("li-icon",!0)],qe.prototype,"iconElement",2);or([pe("li-slider,li-slider-sections",!1)],qe.prototype,"sliderElement",2);or([pe("li-pictogram",!1)],qe.prototype,"playElement",2);or([it({type:Object})],qe.prototype,"icon",2);or([it()],qe.prototype,"sequence",2);or([it()],qe.prototype,"background",2);or([it()],qe.prototype,"stroke",2);or([it()],qe.prototype,"state",2);or([it()],qe.prototype,"trigger",2);or([it({type:Array})],qe.prototype,"colors",2);or([it({type:Array})],qe.prototype,"sections",2);or([it({type:String})],qe.prototype,"format",2);or([it()],qe.prototype,"duration",2);or([it()],qe.prototype,"speed",2);or([it()],qe.prototype,"delay",2);or([it()],qe.prototype,"intro",2);or([it()],qe.prototype,"loop",2);qe=or([Yt("li-preview")],qe);const NP=`:host { display: flex; flex-direction: column; max-width: var(--li-container-width-lg); background: var(--li-color-bg); padding: var(--li-space-md); box-sizing: border-box; gap: var(--li-space-md); border-radius: var(--li-radius-big); } .row { display: flex; flex-direction: row; gap: var(--li-space-lg); align-items: center; } .content { flex: 1; display: flex; flex-direction: column; gap: var(--li-space-sm); } .actions { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: var(--li-space-md); } .actions span { flex: 1; }`;var GP=Object.getOwnPropertyDescriptor,FP=(t,e,r,i)=>{for(var n=i>1?void 0:i?GP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};let x2=class extends jt{render(){return et`
`}};x2.styles=Ut(NP);x2=FP([Yt("li-scaffold")],x2);const RP=`:host { display: block; } :host(.disabled) { filter: grayscale(1); opacity: 0.5; pointer-events: none; } #slider { display: flex; flex-direction: row; align-items: center; flex: 1; position: relative; height: 16px; margin: 0 2px; --fill-scale: 0; --progress: 0%; } .line { height: 16px; color: var(--li-color-border); width: 20px; position: relative; } .line:after { display: block; content: ''; position: absolute; left: 0; top: 5px; width: 100%; height: 5px; background-color: currentColor; z-index: 1; } .line.delay, .line.animation { cursor: pointer; } .line.delay:hover, .line.animation:hover { opacity: 0.7; } .line.delay:active, .line.animation:active { opacity: 0.85; } .line.animation:after { color: var(--li-color-bg-brand); } .line.first:after { border-top-left-radius: 5px; border-bottom-left-radius: 5px; } .line.last:after { border-top-right-radius: 5px; border-bottom-right-radius: 5px; } #knob { position: absolute; left: var(--progress); top: 0; z-index: 2; background: var(--li-color-bg-brand); border-radius: 4px; width: 4px; height: 16px; transform: translateX(-2px); pointer-events: none; }`;var jP=Object.defineProperty,qP=Object.getOwnPropertyDescriptor,$s=(t,e,r,i)=>{for(var n=i>1?void 0:i?qP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&jP(e,r,n),n};let Hn=class extends jt{constructor(){super(...arguments),this.value=0,this.minValue=0,this.maxValue=100,this.sections=[],this.drag=!1}updated(t){(t.has("value")||t.has("minValue")||t.has("maxValue"))&&this.refresh()}refresh(){const t=this.progress;this.sliderElement.style.setProperty("--fill-scale",""+t),this.sliderElement.style.setProperty("--progress",`${t*100}%`)}firstUpdated(){this.refresh()}notifyValue(){const t=new CustomEvent("change",{detail:{value:this.value}});this.dispatchEvent(t)}clickSection(t,e){const r=new CustomEvent("section",{detail:{section:t},cancelable:!0});this.dispatchEvent(r),r.defaultPrevented&&e.preventDefault()}render(){const t=this.sections.map((e,r)=>{const i={line:!0,animation:e.animation,delay:!e.animation,first:r===0,last:r===this.sections.length-1},n={width:`${e.ratio*100}%`},a=e.title;return et`
`});return et`
${t}
`}get progress(){return this.value/this.maxValue}};Hn.styles=Ut(RP);$s([pe("#slider",!0)],Hn.prototype,"sliderElement",2);$s([pe("#knob",!0)],Hn.prototype,"knobElement",2);$s([it({type:Number})],Hn.prototype,"value",2);$s([it({type:Number})],Hn.prototype,"minValue",2);$s([it({type:Number})],Hn.prototype,"maxValue",2);$s([it({type:Array})],Hn.prototype,"sections",2);Hn=$s([Yt("li-slider-sections")],Hn);const UP=`:host { display: flex; flex-direction: row; align-items: center; position: relative; } :host(.disabled) { filter: grayscale(1); opacity: 0.5; pointer-events: none; } #slider { flex: 1; position: relative; height: 16px; margin: 0 8px; --fill-scale: 0; --progress: 0%; } #line { position: absolute; left: 0; right: 0; background-color: var(--li-color-border); display: block; height: 4px; top: 6px; border-radius: 4px; z-index: 1; } #line.fill:after { position: absolute; display: block; content: ''; left: 0; top: 0; width: var(--progress); height: 4px; border-radius: 4px; background: var(--li-color-bg-brand); } #knob { position: absolute; left: var(--progress); top: 0; z-index: 2; background: var(--li-color-bg-brand); border-radius: 50%; cursor: move; width: 16px; height: 16px; transform: translateX(-8px); &:hover { background: var(--li-color-bg-brand-hover); } &:active { background: var(--li-color-bg-brand-pressed); } }`;var HP=Object.defineProperty,WP=Object.getOwnPropertyDescriptor,Is=(t,e,r,i)=>{for(var n=i>1?void 0:i?WP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&HP(e,r,n),n};let Wn=class extends jt{constructor(){super(...arguments),this.value=0,this.minValue=0,this.maxValue=100,this.fill=!1,this.drag=!1}updated(t){(t.has("value")||t.has("minValue")||t.has("maxValue"))&&this.refresh()}refresh(){const t=this.progress;this.sliderElement.style.setProperty("--fill-scale",""+t),this.sliderElement.style.setProperty("--progress",`${t*100}%`)}firstUpdated(){this.initSlider(),this.refresh()}initSlider(){let t=0,e=0;const r=l=>{const o=this.sliderElement.getBoundingClientRect(),c=this.knobElement.getBoundingClientRect(),u=o.width-c.width,f=l-t,h=Math.min(u,Math.max(0,e+f)),y=Math.round(h/u*(this.maxValue-this.minValue)+this.minValue);this.value=Math.max(this.minValue,Math.min(this.maxValue,y)),this.refresh(),this.notifyValue()},i=l=>{l.preventDefault(),r(l.clientX)},n=l=>{l.touches.length>0&&r(l.touches[0].clientX)},a=()=>{document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",a),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",a),this.drag=!1,this.notifyValue()},s=l=>{const o=this.sliderElement.getBoundingClientRect(),c=this.knobElement.getBoundingClientRect();t=l,e=c.left-o.left,this.drag=!0,document.addEventListener("mousemove",i),document.addEventListener("mouseup",a),document.addEventListener("touchmove",n),document.addEventListener("touchend",a)};this.knobElement.addEventListener("mousedown",l=>{l.preventDefault(),s(l.clientX)}),this.knobElement.addEventListener("touchstart",l=>{l.touches.length>0&&s(l.touches[0].clientX)},{passive:!1})}notifyValue(){const t=new CustomEvent("change",{detail:{value:this.value}});this.dispatchEvent(t)}sliderClick(t){const e=t.composedPath();if(e.length>0&&e[0]===this.knobElement)return;const r=this.sliderElement.getBoundingClientRect(),i=Math.round(Math.max(0,Math.min(this.maxValue,(t.clientX-r.left)/r.width*this.maxValue)));this.value=i,this.refresh(),this.notifyValue()}render(){return et`
`}get progress(){return this.value/this.maxValue}};Wn.styles=Ut(UP);Is([it({type:Number})],Wn.prototype,"value",2);Is([it({type:Number})],Wn.prototype,"minValue",2);Is([it({type:Number})],Wn.prototype,"maxValue",2);Is([it({type:Boolean})],Wn.prototype,"fill",2);Is([pe("#slider",!0)],Wn.prototype,"sliderElement",2);Is([pe("#knob",!0)],Wn.prototype,"knobElement",2);Wn=Is([Yt("li-slider")],Wn);const XP=` `,YP=`:host { display: inline-block; width: 24px; height: 24px; pointer-events: none; color: var(--li-color-text); } svg { display: block; width: 24px; height: 24px; animation: spin 1s linear infinite; } svg path { stroke: currentColor; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }`;var ZP=Object.getOwnPropertyDescriptor,KP=(t,e,r,i)=>{for(var n=i>1?void 0:i?ZP(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};let v2=class extends jt{render(){return et` ${M7(XP)} `}};v2.styles=Ut(YP);v2=KP([Yt("li-spinner")],v2);const JP=`:host { display: grid; grid-template-columns: repeat(3, 1fr); justify-content: center; gap: var(--li-space-sm); } .item { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: var(--li-space-xs); min-width: 10px; overflow: hidden; background: rgba(255,255,255,0.15); border-radius: var(--li-radius); padding: var(--li-space-xs); border: 2px solid transparent; } .item.active { border-color: var(--li-color-bg-brand); } .item:hover, .item:active { border-color: var(--li-color-bg-brand); } .item span { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; text-align: center; width: 100%; } li-label { margin-bottom: var(--li-space-sm); } li-state-preview { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; } li-state-preview li-icon { width: 48px; height: 48px; }`;var QP=Object.defineProperty,tD=Object.getOwnPropertyDescriptor,Eu=(t,e,r,i)=>{for(var n=i>1?void 0:i?tD(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&QP(e,r,n),n};function eD(t){const[e,...r]=t.name.split("-");return r.join("-")}function Lh(t,e){return t.length==0?null:et` ${Au(t,r=>r.name,(r,i)=>et`
${eD(r)}
`)} `}let ws=class extends jt{constructor(){super(...arguments),this.items=[],this.icon=null,this.value="",this.animation=!0}select(t,e){e.preventDefault();const r=new CustomEvent("change",{detail:{value:t.name}});this.dispatchEvent(r)}render(){const t=this.items.filter(n=>n.name.startsWith("in-")),e=this.items.filter(n=>n.name.startsWith("hover-")),r=this.items.filter(n=>n.name.startsWith("morph-")),i=this.items.filter(n=>n.name.startsWith("loop-"));return et` ${Lh.call(this,t,"In")} ${Lh.call(this,e,"Hover")} ${Lh.call(this,r,"Morph")} ${Lh.call(this,i,"Loop")} `}};ws.styles=Ut(JP);Eu([it({type:Array})],ws.prototype,"items",2);Eu([it({type:Object})],ws.prototype,"icon",2);Eu([it()],ws.prototype,"value",2);Eu([it()],ws.prototype,"animation",2);ws=Eu([Yt("li-state-grid")],ws);const rD=`:host { display: block; }`;var iD=Object.defineProperty,nD=Object.getOwnPropertyDescriptor,l0=(t,e,r,i)=>{for(var n=i>1?void 0:i?nD(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&iD(e,r,n),n};let Ta=class extends jt{constructor(){super(...arguments),this.icon=null,this.animation=!0}updated(t){(t.has("icon")||t.has("state")||t.has("animation"))&&this.refresh()}refresh(){if(!(!this.icon||!this.state))if(this.iconElement.icon=this.icon,this.iconElement.state=this.state,this.animation){let[t,...e]=this.state.split("-");t==="loop"&&(t="loop-on-hover");let r=t==="in",i=r?500:0;i?this.iconElement.setAttribute("delay",i.toString()):this.iconElement.removeAttribute("delay"),r?this.iconElement.setAttribute("click-to-replay",""):this.iconElement.removeAttribute("click-to-replay"),this.iconElement.trigger=t||"hover"}else this.iconElement.trigger="last-frame"}createRenderRoot(){return this}render(){return et` `}};Ta.styles=Ut(rD);l0([pe("li-icon",!0)],Ta.prototype,"iconElement",2);l0([it({type:Object})],Ta.prototype,"icon",2);l0([it({type:String})],Ta.prototype,"state",2);l0([it({type:String})],Ta.prototype,"target",2);l0([it()],Ta.prototype,"animation",2);Ta=l0([Yt("li-state-preview")],Ta);const aD=`:host { display: inline-flex; flex-direction: row; align-items: center; cursor: pointer; } :host([inert]) { filter: grayscale(100%); opacity: 0.5; } :host(:not(.has-title)) #title { display: none; } #title { flex: 1; padding-left: var(--li-space-sm); text-overflow: ellipsis; white-space: nowrap; overflow: hidden; width: 10px; &:hover { color: var(--li-color-bg-brand); } } #switch { width: 50px; height: 26px; border-radius: 35px; position: relative; box-sizing: border-box; border: 1px solid var(--li-color-border); overflow: hidden; background: rgba(255, 255, 255, 0.5); } #knob { width: 20px; height: 20px; border-radius: 50%; position: absolute; top: 2px; left: 2px; box-sizing: border-box; border: 1px solid var(--li-color-border); transition: left 0.2s; background: var(--li-color-bg); } #switch.active #knob { left: 26px; background: var(--li-color-bg-brand); border-color: var(--li-color-bg-brand); } :host(.small) #switch { width: 40px; height: 24px; } :host(.small) #knob { width: 18px; height: 18px; } :host(.small) #switch.active #knob { left: 17px; }`;var sD=Object.defineProperty,oD=Object.getOwnPropertyDescriptor,X3=(t,e,r,i)=>{for(var n=i>1?void 0:i?oD(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&sD(e,r,n),n};let Kc=class extends jt{constructor(){super(...arguments),this.value=!1}updated(){this.titleNodes.length?this.classList.add("has-title"):this.classList.remove("has-title")}firstUpdated(){this.addEventListener("click",t=>{t.preventDefault(),this.click()})}click(){this.value=!this.value,this.notifyValue()}notifyValue(){const t=new CustomEvent("change",{detail:{value:this.value}});this.dispatchEvent(t)}render(){return et`
`}};Kc.styles=Ut(aD);X3([OA({flatten:!0})],Kc.prototype,"titleNodes",2);X3([it({type:Boolean})],Kc.prototype,"value",2);Kc=X3([Yt("li-switch")],Kc);const lD=`:host { position: fixed; z-index: 9999; display: none; text-align: center; left: 0; right: 0; bottom: 0; border: 0; } #toast { background: var(--li-color-bg-tooltip); color: var(--li-color-text-tooltip); font-weight: 500; font-size: var(--li-font-size-xs); max-width: var(--li-container-width-sm); margin: var(--li-space-sm); padding: var(--li-space-sm); border-radius: var(--li-radius); box-shadow: var(--li-shadow); display: inline-block; } `;var cD=Object.defineProperty,uD=Object.getOwnPropertyDescriptor,Y3=(t,e,r,i)=>{for(var n=i>1?void 0:i?uD(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&cD(e,r,n),n};const hD=3e3,F6=250,R6=50;let Di=class extends jt{constructor(){super(...arguments),this.visible=!1}updated(t){t.has("visible")&&this.handleVisibilityChange(this.visible)}show(){Di.currentInstance&&Di.currentInstance!==this&&Di.currentInstance.hide(),Di.currentInstance=this,this.visible=!0,this.hideDebouncer=V1(this.hideDebouncer,N1(hD),()=>{this.hide()})}hide(){Di.currentInstance===this&&(Di.currentInstance=void 0),this.hideDebouncer&&this.hideDebouncer.cancel(),this.visible=!1}render(){return et`
`}onAnimationFinish(){this.visible||(this.style.display="none"),this.dispatchEvent(new CustomEvent(this.visible?"show":"hide"))}handleVisibilityChange(t){let e=1;this.animation&&(e=+this.animation.currentTime/(F6+R6),this.animation.cancel());let r=["translateY(100%)","translateY(0px)"];if(t)this.style.display="block";else{const i=this.getBoundingClientRect().height,n=Math.round((1-e)*i);n>0?r=[`translateY(${n}px)`,"translateY(100%)"]:r=["translateY(0px)","translateY(100%)"]}this.animation=this.toast.animate({transform:r},{delay:t?R6:0,duration:F6,fill:"both"}),this.animation.onfinish=()=>this.onAnimationFinish()}};Di.styles=Ut(lD);Y3([pe("#toast",!0)],Di.prototype,"toast",2);Y3([he()],Di.prototype,"visible",2);Di=Y3([Yt("li-toast")],Di);const pD=`:host { display: none; }`;var dD=Object.getOwnPropertyDescriptor,fD=(t,e,r,i)=>{for(var n=i>1?void 0:i?dD(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};async function b2(t){const e=new Di;typeof t=="string"?e.innerText=t:typeof t=="object"&&(e.innerText=t.message),await Sr.instance.attachElement(e),e.show(),e.addEventListener("hide",()=>{Sr.instance.detachElement(e)})}let k2=class extends jt{show(t){b2(t)}};k2.styles=Ut(pD);k2=fD([Yt("li-toasts")],k2);const mD=`:host { display: flex; flex-direction: row; align-items: center; box-sizing: border-box; background: var(--li-color-bg-secondary); border-radius: var(--li-radius); font-weight: 400; font-size: var(--li-font-size-xs); height: var(--li-size-field-xs); @media (min-width: 400px) { height: var(--li-size-field-sm); } } div { flex: 1; text-align: center; height: inherit; box-sizing: border-box; position: relative; border-top: 1px solid var(--li-color-border); border-bottom: 1px solid var(--li-color-border); cursor: pointer; height: var(--li-size-field-xs); line-height: var(--li-size-field-xs); @media (min-width: 400px) { height: var(--li-size-field-sm); line-height: var(--li-size-field-sm); } } div:hover, div.active { color: var(--li-color-text-brand); background: var(--li-color-bg); } div:not(:first-child) { border-left: 1px solid var(--li-color-border); } div:first-child { border-left: 1px solid var(--li-color-border); border-top-left-radius: var(--li-radius); border-bottom-left-radius: var(--li-radius); } div:last-child { border-right: 1px solid var(--li-color-border); border-top-right-radius: var(--li-radius); border-bottom-right-radius: var(--li-radius); }`;var gD=Object.defineProperty,yD=Object.getOwnPropertyDescriptor,Z3=(t,e,r,i)=>{for(var n=i>1?void 0:i?yD(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=(i?s(e,r,n):s(n))||n);return i&&n&&gD(e,r,n),n};let Jc=class extends jt{constructor(){super(...arguments),this.value="",this.items=[]}select(t,e){e.preventDefault(),this.value=""+t.id,this.notifyChange()}notifyChange(){const t=new CustomEvent("change",{detail:{value:this.value}});this.dispatchEvent(t)}render(){return et` ${Au(this.items,t=>t.id,t=>et`
${t.title}
`)} `}};Jc.styles=Ut(mD);Z3([it()],Jc.prototype,"value",2);Z3([it({type:Array})],Jc.prototype,"items",2);Jc=Z3([Yt("li-value-switch")],Jc);const xD="5.12.1",vD=60,bD=0,kD=19,wD=120,SD=120,AD="ikony_male-logout",ED=0,_D=[],CD=[{ddd:0,ind:2,ty:4,nm:"Vector",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[60.041,88,0],ix:2,l:2},a:{a:0,k:[0,30,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:2,s:[105,95,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:12,s:[98,102,100]},{t:18,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[{i:[[.095,0],[.086,-.005],[0,-2.198],[-.004,-.079],[-2.083,-.132],[-.089,0],[-.081,.005],[-.129,2.083],[0,.088],[2.153,.145]],o:[[-.088,0],[-2.164,.135],[0,.08],[.119,2.086],[.088,.006],[.082,0],[2.085,-.122],[.005,-.086],[0,-2.19],[-.093,-.006]],v:[[-10.093,1.297],[-10.354,1.305],[-14.231,5.435],[-14.224,5.673],[-10.358,9.564],[-10.093,9.573],[-9.848,9.566],[-5.963,5.695],[-5.955,5.435],[-9.81,1.306]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:2,s:[{i:[[.091,0],[0,0],[0,.003],[0,0],[0,0],[-.085,0],[0,0],[-.001,.009],[0,0],[.009,.001]],o:[[-.084,0],[.003,0],[0,0],[0,0],[0,0],[.079,0],[.009,0],[0,0],[0,-.009],[0,0]],v:[[-10.104,7.986],[-14.234,7.999],[-14.23,7.995],[-14.23,7.99],[-14.23,7.99],[-10.092,7.993],[-5.97,7.99],[-5.954,7.974],[-5.954,7.973],[-5.97,7.956]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:7,s:[{i:[[.091,0],[0,0],[0,.003],[0,0],[0,0],[-.085,0],[0,0],[-.001,.009],[0,0],[.009,.001]],o:[[-.084,0],[.003,0],[0,0],[0,0],[0,0],[.079,0],[.009,0],[0,0],[0,-.009],[0,0]],v:[[-10.104,7.986],[-14.234,7.999],[-14.23,7.995],[-14.23,7.99],[-14.23,7.99],[-10.092,7.993],[-5.97,7.99],[-5.954,7.974],[-5.954,7.973],[-5.97,7.956]],c:!0}]},{t:9,s:[{i:[[.095,0],[.086,-.005],[0,-2.198],[-.004,-.079],[-2.083,-.132],[-.089,0],[-.081,.005],[-.129,2.083],[0,.088],[2.153,.145]],o:[[-.088,0],[-2.164,.135],[0,.08],[.119,2.086],[.088,.006],[.082,0],[2.085,-.122],[.005,-.086],[0,-2.19],[-.093,-.006]],v:[[-10.093,1.297],[-10.354,1.305],[-14.231,5.435],[-14.224,5.673],[-10.358,9.564],[-10.093,9.573],[-9.848,9.566],[-5.963,5.695],[-5.955,5.435],[-9.81,1.306]],c:!0}]}],ix:2},nm:"Path 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[2.285,0],[0,-2.285],[-2.285,0],[0,2.285]],o:[[-2.285,0],[0,2.285],[2.285,0],[0,-2.285]],v:[[10.404,1.304],[6.266,5.442],[10.404,9.58],[14.542,5.442]],c:!0},ix:2},nm:"Path 3",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[-3.12,3.269],[-1.865,-.646],[0,-2.19],[.024,-13.973],[5.026,-.01],[7.273,0],[7.221,.01],[.005,5.222],[0,13.87],[-2.707,-.201],[-.707,-.707],[-3.23,-3.306],[-.648,1.167],[-2.633,4.596],[-2.019,-3.472],[-2.623,-4.659],[-.903,.954]],o:[[1.29,-1.351],[1.551,.538],[0,13.973],[-.007,5.024],[-7.273,.015],[-7.221,0],[-5.229,-.007],[-.012,-13.868],[0,-3.171],[1.079,.078],[3.272,3.269],[.832,.849],[2.569,-4.63],[1.99,-3.47],[2.687,4.623],[.595,1.06],[3.108,-3.282]],v:[[23.042,-22.951],[27.621,-24.41],[30.041,-20.101],[30.019,21.819],[21.811,29.992],[-.007,29.997],[-21.672,29.994],[-30.021,21.652],[-30.041,-19.956],[-25.744,-24.611],[-23.228,-23.208],[-13.427,-13.393],[-11.56,-13.589],[-3.695,-27.393],[3.739,-27.4],[11.744,-13.498],[13.608,-13.214]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.070588238537,.074509806931,.192156866193,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:1.61,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,ct:1,bm:0},{ddd:0,ind:3,ty:4,nm:"Vector",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[60,60,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-33.137,0],[0,33.137],[33.137,0],[0,-33.137]],o:[[33.137,0],[0,-33.137],[-33.137,0],[0,33.137]],v:[[0,60],[60,0],[0,-60],[-60,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.752941191196,.96862745285,.901960790157,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,ct:1,bm:0}],PD=[],DD={},TD={v:xD,fr:vD,ip:bD,op:kD,w:wD,h:SD,nm:AD,ddd:ED,assets:_D,layers:CD,markers:PD,props:DD};var j6=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},q6={};/*! ***************************************************************************** Copyright (C) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */var U6;function $D(){if(U6)return q6;U6=1;var t;return function(e){(function(r){var i=typeof globalThis=="object"?globalThis:typeof j6=="object"?j6:typeof self=="object"?self:typeof this=="object"?this:o(),n=a(e);typeof i.Reflect<"u"&&(n=a(i.Reflect,n)),r(n,i),typeof i.Reflect>"u"&&(i.Reflect=e);function a(c,u){return function(f,h){Object.defineProperty(c,f,{configurable:!0,writable:!0,value:h}),u&&u(f,h)}}function s(){try{return Function("return this;")()}catch{}}function l(){try{return(0,eval)("(function() { return this; })()")}catch{}}function o(){return s()||l()}})(function(r,i){var n=Object.prototype.hasOwnProperty,a=typeof Symbol=="function",s=a&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",l=a&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",o=typeof Object.create=="function",c={__proto__:[]}instanceof Array,u=!o&&!c,f={create:o?function(){return Dn(Object.create(null))}:c?function(){return Dn({__proto__:null})}:function(){return Dn({})},has:u?function(q,X){return n.call(q,X)}:function(q,X){return X in q},get:u?function(q,X){return n.call(q,X)?q[X]:void 0}:function(q,X){return q[X]}},h=Object.getPrototypeOf(Function),y=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:hr(),g=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:pr(),m=typeof WeakMap=="function"?WeakMap:dr(),k=a?Symbol.for("@reflect-metadata:registry"):void 0,d=Xe(),p=cr(d);function x(q,X,K,at){if(D(K)){if(!rt(q))throw new TypeError;if(!Z(X))throw new TypeError;return z(q,X)}else{if(!rt(q))throw new TypeError;if(!C(X))throw new TypeError;if(!C(at)&&!D(at)&&!T(at))throw new TypeError;return T(at)&&(at=void 0),K=Q(K),$(q,X,K,at)}}r("decorate",x);function b(q,X){function K(at,st){if(!C(at))throw new TypeError;if(!D(st)&&!Te(st))throw new TypeError;I(q,X,at,st)}return K}r("metadata",b);function v(q,X,K,at){if(!C(K))throw new TypeError;return D(at)||(at=Q(at)),I(q,X,K,at)}r("defineMetadata",v);function S(q,X,K){if(!C(X))throw new TypeError;return D(K)||(K=Q(K)),O(q,X,K)}r("hasMetadata",S);function _(q,X,K){if(!C(X))throw new TypeError;return D(K)||(K=Q(K)),N(q,X,K)}r("hasOwnMetadata",_);function w(q,X,K){if(!C(X))throw new TypeError;return D(K)||(K=Q(K)),B(q,X,K)}r("getMetadata",w);function P(q,X,K){if(!C(X))throw new TypeError;return D(K)||(K=Q(K)),A(q,X,K)}r("getOwnMetadata",P);function M(q,X){if(!C(q))throw new TypeError;return D(X)||(X=Q(X)),V(q,X)}r("getMetadataKeys",M);function L(q,X){if(!C(q))throw new TypeError;return D(X)||(X=Q(X)),j(q,X)}r("getOwnMetadataKeys",L);function G(q,X,K){if(!C(X))throw new TypeError;if(D(K)||(K=Q(K)),!C(X))throw new TypeError;D(K)||(K=Q(K));var at=Ie(X,K,!1);return D(at)?!1:at.OrdinaryDeleteMetadata(q,X,K)}r("deleteMetadata",G);function z(q,X){for(var K=q.length-1;K>=0;--K){var at=q[K],st=at(X);if(!D(st)&&!T(st)){if(!Z(st))throw new TypeError;X=st}}return X}function $(q,X,K,at){for(var st=q.length-1;st>=0;--st){var ae=q[st],ye=ae(X,K,at);if(!D(ye)&&!T(ye)){if(!C(ye))throw new TypeError;at=ye}}return at}function O(q,X,K){var at=N(q,X,K);if(at)return!0;var st=$e(X);return T(st)?!1:O(q,st,K)}function N(q,X,K){var at=Ie(X,K,!1);return D(at)?!1:F(at.OrdinaryHasOwnMetadata(q,X,K))}function B(q,X,K){var at=N(q,X,K);if(at)return A(q,X,K);var st=$e(X);if(!T(st))return B(q,st,K)}function A(q,X,K){var at=Ie(X,K,!1);if(!D(at))return at.OrdinaryGetOwnMetadata(q,X,K)}function I(q,X,K,at){var st=Ie(K,at,!0);st.OrdinaryDefineOwnMetadata(q,X,K,at)}function V(q,X){var K=j(q,X),at=$e(q);if(at===null)return K;var st=V(at,X);if(st.length<=0)return K;if(K.length<=0)return st;for(var ae=new g,ye=[],Ot=0,ct=K;Ot=0&&ct=this._keys.length?(this._index=-1,this._keys=X,this._values=X):this._index++,{value:ut,done:!1}}return{value:void 0,done:!0}},Ot.prototype.throw=function(ct){throw this._index>=0&&(this._index=-1,this._keys=X,this._values=X),ct},Ot.prototype.return=function(ct){return this._index>=0&&(this._index=-1,this._keys=X,this._values=X),{value:ct,done:!0}},Ot}(),at=function(){function Ot(){this._keys=[],this._values=[],this._cacheKey=q,this._cacheIndex=-2}return Object.defineProperty(Ot.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Ot.prototype.has=function(ct){return this._find(ct,!1)>=0},Ot.prototype.get=function(ct){var ut=this._find(ct,!1);return ut>=0?this._values[ut]:void 0},Ot.prototype.set=function(ct,ut){var ft=this._find(ct,!0);return this._values[ft]=ut,this},Ot.prototype.delete=function(ct){var ut=this._find(ct,!1);if(ut>=0){for(var ft=this._keys.length,wt=ut+1;wtt,e=>e+1),t}const Zi={Request:"Request",Singleton:"Singleton",Transient:"Transient"},ue={ConstantValue:"ConstantValue",DynamicValue:"DynamicValue",Factory:"Factory",Instance:"Instance",Provider:"Provider",ResolvedValue:"ResolvedValue",ServiceRedirection:"ServiceRedirection"};function*L7(...t){for(const e of t)yield*e}class _u{#t;#e;#i;constructor(e){this.#t=new Map,this.#e={};for(const r of Reflect.ownKeys(e))this.#e[r]=new Map;this.#i=e}add(e,r){this.#s(e).push(r);for(const i of Reflect.ownKeys(r))this.#o(i,r[i]).push(e)}clone(){const e=this.#r(),r=this.#a(),i=Reflect.ownKeys(this.#i),n=this._buildNewInstance(this.#i);this.#u(this.#t,n.#t,e,r);for(const a of i)this.#c(this.#e[a],n.#e[a],e);return n}get(e,r){return this.#e[e].get(r)}getAllKeys(e){return this.#e[e].keys()}removeByRelation(e,r){const i=this.get(e,r);if(i===void 0)return;const n=new Set(i);for(const a of n){const s=this.#t.get(a);if(s===void 0)throw new Error("Expecting model relation, none found");for(const l of s)l[e]===r&&this.#d(a,l);this.#t.delete(a)}}_buildNewInstance(e){return new _u(e)}_cloneModel(e){return e}_cloneRelation(e){return e}#r(){const e=new Map;for(const r of this.#t.keys()){const i=this._cloneModel(r);e.set(r,i)}return e}#a(){const e=new Map;for(const r of this.#t.values())for(const i of r){const n=this._cloneRelation(i);e.set(i,n)}return e}#s(e){let r=this.#t.get(e);return r===void 0&&(r=[],this.#t.set(e,r)),r}#o(e,r){let i=this.#e[e].get(r);return i===void 0&&(i=[],this.#e[e].set(r,i)),i}#n(e,r){const i=r.get(e);if(i===void 0)throw new Error("Expecting model to be cloned, none found");return i}#l(e,r){const i=r.get(e);if(i===void 0)throw new Error("Expecting relation to be cloned, none found");return i}#c(e,r,i){for(const[n,a]of e){const s=new Array;for(const l of a)s.push(this.#n(l,i));r.set(n,s)}}#u(e,r,i,n){for(const[a,s]of e){const l=new Array;for(const o of s)l.push(this.#l(o,n));r.set(this.#n(a,i),l)}}#d(e,r){for(const i of Reflect.ownKeys(r))this.#f(e,i,r[i])}#f(e,r,i){const n=this.#e[r].get(i);if(n!==void 0){const a=n.indexOf(e);a!==-1&&n.splice(a,1),n.length===0&&this.#e[r].delete(i)}}}var zc,ti,Lc;(function(t){t.moduleId="moduleId",t.serviceId="serviceId"})(zc||(zc={}));class Qc{#t;#e;constructor(e,r){this.#t=r??new _u({moduleId:{isOptional:!0},serviceId:{isOptional:!1}}),this.#e=e}static build(e){return new Qc(e)}add(e,r){this.#t.add(e,r)}clone(){return new Qc(this.#e,this.#t.clone())}get(e){const r=[],i=this.#t.get(zc.serviceId,e);i!==void 0&&r.push(i);const n=this.#e?.get(e);if(n!==void 0&&r.push(n),r.length!==0)return L7(...r)}removeAllByModuleId(e){this.#t.removeByRelation(zc.moduleId,e)}removeAllByServiceId(e){this.#t.removeByRelation(zc.serviceId,e)}}function Gl(t){return t.isRight?{isRight:!0,value:t.value}:t}function ID(t){switch(t.type){case ue.ConstantValue:case ue.DynamicValue:return function(e){return{cache:Gl(e.cache),id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type,value:e.value}}(t);case ue.Factory:return function(e){return{cache:Gl(e.cache),factory:e.factory,id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(t);case ue.Instance:return function(e){return{cache:Gl(e.cache),id:e.id,implementationType:e.implementationType,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(t);case ue.Provider:return function(e){return{cache:Gl(e.cache),id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,provider:e.provider,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(t);case ue.ResolvedValue:return function(e){return{cache:Gl(e.cache),factory:e.factory,id:e.id,isSatisfiedBy:e.isSatisfiedBy,metadata:e.metadata,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}(t);case ue.ServiceRedirection:return function(e){return{id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,serviceIdentifier:e.serviceIdentifier,targetServiceIdentifier:e.targetServiceIdentifier,type:e.type}}(t)}}(function(t){t.id="id",t.moduleId="moduleId",t.serviceId="serviceId"})(ti||(ti={}));class J3 extends _u{_buildNewInstance(e){return new J3(e)}_cloneModel(e){return ID(e)}}let H6=class w2{#t;#e;constructor(e,r){this.#t=r??new J3({id:{isOptional:!1},moduleId:{isOptional:!0},serviceId:{isOptional:!1}}),this.#e=e}static build(e){return new w2(e)}clone(){return new w2(this.#e,this.#t.clone())}get(e){return this.getNonParentBindings(e)??this.#e?.get(e)}*getChained(e){const r=this.getNonParentBindings(e);r!==void 0&&(yield*r),this.#e!==void 0&&(yield*this.#e.getChained(e))}getBoundServices(){const e=new Set(this.#t.getAllKeys(ti.serviceId));if(this.#e!==void 0)for(const r of this.#e.getBoundServices())e.add(r);return e}getById(e){return this.#t.get(ti.id,e)??this.#e?.getById(e)}getByModuleId(e){return this.#t.get(ti.moduleId,e)??this.#e?.getByModuleId(e)}getNonParentBindings(e){return this.#t.get(ti.serviceId,e)}getNonParentBoundServices(){return this.#t.getAllKeys(ti.serviceId)}removeById(e){this.#t.removeByRelation(ti.id,e)}removeAllByModuleId(e){this.#t.removeByRelation(ti.moduleId,e)}removeAllByServiceId(e){this.#t.removeByRelation(ti.serviceId,e)}set(e){const r={[ti.id]:e.id,[ti.serviceId]:e.serviceIdentifier};e.moduleId!==void 0&&(r[ti.moduleId]=e.moduleId),this.#t.add(e,r)}};(function(t){t.moduleId="moduleId",t.serviceId="serviceId"})(Lc||(Lc={}));let W6=class S2{#t;#e;constructor(e,r){this.#t=r??new _u({moduleId:{isOptional:!0},serviceId:{isOptional:!1}}),this.#e=e}static build(e){return new S2(e)}add(e,r){this.#t.add(e,r)}clone(){return new S2(this.#e,this.#t.clone())}get(e){const r=[],i=this.#t.get(Lc.serviceId,e);i!==void 0&&r.push(i);const n=this.#e?.get(e);if(n!==void 0&&r.push(n),r.length!==0)return L7(...r)}removeAllByModuleId(e){this.#t.removeByRelation(Lc.moduleId,e)}removeAllByServiceId(e){this.#t.removeByRelation(Lc.serviceId,e)}};const Oc="@inversifyjs/core/classMetadataReflectKey";function Vc(){return{constructorArguments:[],lifecycle:{postConstructMethodName:void 0,preDestroyMethodName:void 0},properties:new Map,scope:void 0}}const Q3="@inversifyjs/core/pendingClassMetadataCountReflectKey",Mf=Symbol.for("@inversifyjs/core/InversifyCoreError");let De=class O7 extends Error{[Mf];kind;constructor(e,r,i){super(r,i),this[Mf]=!0,this.kind=e}static is(e){return typeof e=="object"&&e!==null&&e[Mf]===!0}static isErrorOfKind(e,r){return O7.is(e)&&e.kind===r}};var ve,Ss,Ti;function jp(t){const e=Wo(t,Oc)??Vc();if(!function(r){const i=Wo(r,Q3);return i!==void 0&&i!==0}(t))return function(r,i){const n=[];if(i.length0)throw new De(ve.missingInjectionDecorator,`Found unexpected missing metadata on type "${r.name}" at constructor indexes "${n.join('", "')}". Are you using @inject, @multiInject or @unmanaged decorators at those indexes? If you're using typescript and want to rely on auto injection, set "emitDecoratorMetadata" compiler option to true`)}(t,e.constructorArguments),e;(function(r,i){const n=[];for(let a=0;a{e!==void 0&&e.kind===Ss.unknown&&ds(t,Q3,V7,r=>r-1)}}function BD(t,e){return(...r)=>i=>{if(i===void 0)return t(...r);if(i.kind===Ti.unmanaged)throw new De(ve.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found");return e(i,...r)}}function zD(t){if(t.kind!==Ss.unknown&&t.isFromTypescriptParamType!==!0)throw new De(ve.injectionDecoratorConflict,"Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found")}(function(t){t[t.injectionDecoratorConflict=0]="injectionDecoratorConflict",t[t.missingInjectionDecorator=1]="missingInjectionDecorator",t[t.planning=2]="planning",t[t.resolution=3]="resolution",t[t.unknown=4]="unknown"})(ve||(ve={})),function(t){t[t.unknown=32]="unknown"}(Ss||(Ss={})),function(t){t[t.multipleInjection=0]="multipleInjection",t[t.singleInjection=1]="singleInjection",t[t.unmanaged=2]="unmanaged"}(Ti||(Ti={}));const LD=BD(function(t,e,r){return t===Ti.multipleInjection?{chained:r?.chained??!1,kind:t,name:void 0,optional:!1,tags:new Map,value:e}:{kind:t,name:void 0,optional:!1,tags:new Map,value:e}},function(t,e,r,i){return zD(t),e===Ti.multipleInjection?{...t,chained:i?.chained??!1,kind:e,value:r}:{...t,kind:e,value:r}});function X6(t,e){return r=>{const i=r.properties.get(e);return r.properties.set(e,t(i)),r}}var da;function OD(t,e,r,i){if(De.isErrorOfKind(i,ve.injectionDecoratorConflict)){const n=function(a,s,l){if(l===void 0){if(s===void 0)throw new De(ve.unknown,"Unexpected undefined property and index values");return{kind:da.property,property:s,targetClass:a.constructor}}return typeof l=="number"?{index:l,kind:da.parameter,targetClass:a}:{kind:da.method,method:s,targetClass:a}}(t,e,r);throw new De(ve.injectionDecoratorConflict,`Unexpected injection error. Cause: ${i.message} Details ${function(a){switch(a.kind){case da.method:return`[class: "${a.targetClass.name}", method: "${a.method.toString()}"]`;case da.parameter:return`[class: "${a.targetClass.name}", index: "${a.index.toString()}"]`;case da.property:return`[class: "${a.targetClass.name}", property: "${a.property.toString()}"]`}}(n)}`,{cause:i})}throw i}function N7(t,e){return(r,i,n)=>{try{n===void 0?function(a,s){const l=Bf(a,s);return(o,c)=>{ds(o.constructor,Oc,Vc,X6(l(o),c))}}(t,e)(r,i):typeof n=="number"?function(a,s){const l=Bf(a,s);return(o,c,u)=>{if(!function(f,h){return typeof f=="function"&&h===void 0}(o,c))throw new De(ve.injectionDecoratorConflict,`Found an @inject decorator in a non constructor parameter. Found @inject decorator at method "${c?.toString()??""}" at class "${o.constructor.name}"`);ds(o,Oc,Vc,function(f,h){return y=>{const g=y.constructorArguments[h];return y.constructorArguments[h]=f(g),y}}(l(o),u))}}(t,e)(r,i,n):function(a,s){const l=Bf(a,s);return(o,c,u)=>{if(!function(f){return f.set!==void 0}(u))throw new De(ve.injectionDecoratorConflict,`Found an @inject decorator in a non setter property method. Found @inject decorator at method "${c.toString()}" at class "${o.constructor.name}"`);ds(o.constructor,Oc,Vc,X6(l(o),c))}}(t,e)(r,i,n)}catch(a){OD(r,i,n,a)}}}function Bf(t,e){return r=>{const i=e(r);return n=>(i(n),t(n))}}function VD(t){return N7(LD(Ti.singleInjection,t),MD)}(function(t){t[t.method=0]="method",t[t.parameter=1]="parameter",t[t.property=2]="property"})(da||(da={}));const Y6="@inversifyjs/core/classIsInjectableFlagReflectKey",ND=[Array,BigInt,Boolean,Function,Number,Object,String];function GD(t){const e=Wo(t,"design:paramtypes");e!==void 0&&ds(t,Oc,Vc,function(r){return i=>(r.forEach((n,a)=>{var s;i.constructorArguments[a]!==void 0||(s=n,ND.includes(s))||(i.constructorArguments[a]=function(l){return{isFromTypescriptParamType:!0,kind:Ti.singleInjection,name:void 0,optional:!1,tags:new Map,value:l}}(n))}),i)}(e))}function c0(t){return e=>{(function(r){if(Wo(r,Y6)!==void 0)throw new De(ve.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${r.name}"`);z7(r,Y6,!0)})(e),GD(e)}}function FD(t){return e=>{e===void 0&&ds(t,Q3,V7,r=>r+1)}}function RD(t){return e=>{const r=e??{kind:Ss.unknown,name:void 0,optional:!1,tags:new Map};if(r.kind===Ti.unmanaged)throw new De(ve.injectionDecoratorConflict,"Unexpected injection found. Found @unmanaged injection with additional @named, @optional, @tagged or @targetName injections");return t(r)}}function jD(t){if(t.optional)throw new De(ve.injectionDecoratorConflict,"Unexpected duplicated optional decorator");return t.optional=!0,t}function qD(){return N7(RD(jD),FD)}var fs;(function(t){t[t.multipleInjection=0]="multipleInjection",t[t.singleInjection=1]="singleInjection"})(fs||(fs={}));let qp=class G7{#t;constructor(e){this.#t=e}get name(){return this.#t.elem.name}get serviceIdentifier(){return this.#t.elem.serviceIdentifier}get tags(){return this.#t.elem.tags}getAncestor(){if(this.#t.previous!==void 0)return new G7(this.#t.previous)}},UD=class F7{last;constructor(e){this.last=e}concat(e){return new F7({elem:e,previous:this.last})}[Symbol.iterator](){let e=this.last;return{next:()=>{if(e===void 0)return{done:!0,value:void 0};const r=e.elem;return e=e.previous,{done:!1,value:r}}}}};function Up(t,e,r){const i=r?.customServiceIdentifier??e.serviceIdentifier,n=(r?.chained===!0?[...t.getBindingsChained(i)]:[...t.getBindings(i)??[]]).filter(a=>a.isSatisfiedBy(e));if(n.length===0&&t.autobindOptions!==void 0&&typeof i=="function"){const a=function(s,l){const o=jp(l),c=o.scope??s.scope;return{cache:{isRight:!1,value:void 0},id:ca(),implementationType:l,isSatisfiedBy:()=>!0,moduleId:void 0,onActivation:void 0,onDeactivation:void 0,scope:c,serviceIdentifier:l,type:ue.Instance}}(t.autobindOptions,i);t.setBinding(a),n.push(a)}return n}function As(t){return t.redirections!==void 0}function R7(t,e,r,i){let n,a;As(r)?(n=r.binding.targetServiceIdentifier,a=r.binding.serviceIdentifier):(n=r.serviceIdentifier,a=r.parent?.binding.serviceIdentifier),Array.isArray(t)?function(s,l,o,c,u){if(s.length!==0){const f=`Ambiguous bindings found for service: "${Hr(o)}". Registered bindings: ${s.map(h=>function(y){switch(y.type){case ue.Instance:return`[ type: "${y.type}", serviceIdentifier: "${Hr(y.serviceIdentifier)}", scope: "${y.scope}", implementationType: "${y.implementationType.name}" ]`;case ue.ServiceRedirection:return`[ type: "${y.type}", serviceIdentifier: "${Hr(y.serviceIdentifier)}", redirection: "${Hr(y.targetServiceIdentifier)}" ]`;default:return`[ type: "${y.type}", serviceIdentifier: "${Hr(y.serviceIdentifier)}", scope: "${y.scope}" ]`}}(h.binding)).join(` `)} Trying to resolve bindings for "${j7(o,c)}". ${q7(u)}`;throw new De(ve.planning,f)}l||Z6(o,c,u)}(t,e,n,a,i):function(s,l,o,c,u){s!==void 0||l||Z6(o,c,u)}(t,e,n,a,i)}function Z6(t,e,r){const i=`No bindings found for service: "${Hr(t)}". Trying to resolve bindings for "${j7(t,e)}". ${q7(r)}`;throw new De(ve.planning,i)}function j7(t,e){return e===void 0?`${Hr(t)} (Root service)`:Hr(e)}function q7(t){const e=t.tags.size===0?"":` - tags: - ${[...t.tags.keys()].map(r=>r.toString()).join(` - `)}`;return`Binding constraints: - service identifier: ${Hr(t.serviceIdentifier)} - name: ${t.name?.toString()??"-"}${e}`}function U7(t,e,r){if(t.redirections.length===1){const[i]=t.redirections;return void(As(i)&&U7(i,e,r))}R7(t.redirections,e,t,r)}function tg(t,e,r,i){if(Array.isArray(t.bindings)&&t.bindings.length===1){const[n]=t.bindings;return void(As(n)&&U7(n,e,r))}R7(t.bindings,e,t,r)}function HD(t,e){if(function(r){return r instanceof Error&&(r instanceof RangeError&&/stack space|call stack|too much recursion/i.test(r.message)||r.name==="InternalError"&&/too much recursion/.test(r.message))}(e)){const r=function(i){const n=[...i];return n.length===0?"(No dependency trace)":n.map(Hr).join(" -> ")}(function(i){const n=new Set;for(const a of i.servicesBranch){if(n.has(a))return[...n,a];n.add(a)}return[...n]}(t));throw new De(ve.planning,`Circular dependency found: ${r}`,{cause:e})}throw e}function WD(t){try{const e=new Map;t.rootConstraints.tag!==void 0&&e.set(t.rootConstraints.tag.key,t.rootConstraints.tag.value);const r=new UD({elem:{name:t.rootConstraints.name,serviceIdentifier:t.rootConstraints.serviceIdentifier,tags:e},previous:void 0}),i=new qp(r.last),n=!!t.rootConstraints.isMultiple&&t.rootConstraints.chained,a=Up(t,i,{chained:n}),s=[],l={bindings:s,parent:void 0,serviceIdentifier:t.rootConstraints.serviceIdentifier};if(s.push(...Hp(t,r,a,l,n)),!t.rootConstraints.isMultiple){tg(l,t.rootConstraints.isOptional??!1,i);const[o]=s;l.bindings=o}return{tree:{root:l}}}catch(e){HD(t,e)}}function XD(t,e,r,i){const n={binding:e,classMetadata:t.getClassMetadata(e.implementationType),constructorParams:[],parent:i,propertyParams:new Map};return H7({autobindOptions:t.autobindOptions,getBindings:t.getBindings,getBindingsChained:t.getBindingsChained,getClassMetadata:t.getClassMetadata,node:n,servicesBranch:t.servicesBranch,setBinding:t.setBinding},r)}function K6(t,e,r){if(r.kind===Ti.unmanaged)return;const i=K3.is(r.value)?r.value.unwrap():r.value,n=e.concat({name:r.name,serviceIdentifier:i,tags:r.tags}),a=new qp(n.last),s=r.kind===Ti.multipleInjection&&r.chained,l=Up(t,a,{chained:s}),o=[],c={bindings:o,parent:t.node,serviceIdentifier:i};if(o.push(...Hp(t,n,l,c,s)),r.kind===Ti.singleInjection){tg(c,r.optional,a);const[u]=o;c.bindings=u}return c}function YD(t,e,r){const i=K3.is(r.value)?r.value.unwrap():r.value,n=e.concat({name:r.name,serviceIdentifier:i,tags:r.tags}),a=new qp(n.last),s=r.kind===fs.multipleInjection&&r.chained,l=Up(t,a,{chained:s}),o=[],c={bindings:o,parent:t.node,serviceIdentifier:i};if(o.push(...Hp(t,n,l,c,s)),r.kind===fs.singleInjection){tg(c,r.optional,a);const[u]=o;c.bindings=u}return c}function ZD(t,e,r,i){const n={binding:e,params:[],parent:i};return H7({autobindOptions:t.autobindOptions,getBindings:t.getBindings,getBindingsChained:t.getBindingsChained,getClassMetadata:t.getClassMetadata,node:n,servicesBranch:t.servicesBranch,setBinding:t.setBinding},r)}function Hp(t,e,r,i,n){const a=As(i)?i.binding.targetServiceIdentifier:i.serviceIdentifier;t.servicesBranch.push(a);const s=[];for(const l of r)switch(l.type){case ue.Instance:s.push(XD(t,l,e,i));break;case ue.ResolvedValue:s.push(ZD(t,l,e,i));break;case ue.ServiceRedirection:{const o=KD(t,e,l,i,n);s.push(o);break}default:s.push({binding:l,parent:i})}return t.servicesBranch.pop(),s}function KD(t,e,r,i,n){const a={binding:r,parent:i,redirections:[]},s=Up(t,new qp(e.last),{chained:n,customServiceIdentifier:r.targetServiceIdentifier});return a.redirections.push(...Hp(t,e,s,a,n)),a}function H7(t,e){return t.node.binding.type===ue.Instance?function(r,i,n){const a=i.classMetadata;for(const[s,l]of a.constructorArguments.entries())i.constructorParams[s]=K6(r,n,l);for(const[s,l]of a.properties){const o=K6(r,n,l);o!==void 0&&i.propertyParams.set(s,o)}return r.node}(t,t.node,e):function(r,i,n){const a=i.binding.metadata;for(const[s,l]of a.arguments.entries())i.params[s]=YD(r,n,l);return r.node}(t,t.node,e)}let JD=class{#t;#e;#i;constructor(){this.#t=[],this.#e=8,this.#i=1024}*[Symbol.iterator](){let e=0;for(const r of this.#t){const i=r.deref();i===void 0?++e:yield i}this.#t.length>=this.#e&&this.#a(e)&&this.#r(e)}push(e){const r=new WeakRef(e);if(this.#t.push(r),this.#t.length>=this.#e&&this.#t.length%this.#i===0){let i=0;for(const n of this.#t)n.deref()===void 0&&++i;this.#a(i)&&this.#r(i)}}#r(e){const r=new Array(this.#t.length-e);let i=0;for(const n of this.#t)n.deref()&&(r[i++]=n);this.#t=r}#a(e){return e>=.5*this.#t.length}};var rs;(function(t){t[t.singleMandatory=0]="singleMandatory",t[t.singleOptional=1]="singleOptional",t[t.multipleMandatory=2]="multipleMandatory",t[t.multipleOptional=3]="multipleOptional",t[t.length=4]="length"})(rs||(rs={}));let J6=class{#t;#e;#i;#r;#a;constructor(){this.#t=this.#s(),this.#e=this.#s(),this.#i=this.#s(),this.#r=this.#s(),this.#a=new JD}clearCache(){for(const e of this.#l())e.clear();for(const e of this.#a)e.clearCache()}get(e){return e.name===void 0?e.tag===void 0?this.#n(this.#t,e).get(e.serviceIdentifier):this.#n(this.#r,e).get(e.serviceIdentifier)?.get(e.tag.key)?.get(e.tag.value):e.tag===void 0?this.#n(this.#e,e).get(e.serviceIdentifier)?.get(e.name):this.#n(this.#i,e).get(e.serviceIdentifier)?.get(e.name)?.get(e.tag.key)?.get(e.tag.value)}set(e,r){e.name===void 0?e.tag===void 0?this.#n(this.#t,e).set(e.serviceIdentifier,r):this.#o(this.#o(this.#n(this.#r,e),e.serviceIdentifier),e.tag.key).set(e.tag.value,r):e.tag===void 0?this.#o(this.#n(this.#e,e),e.serviceIdentifier).set(e.name,r):this.#o(this.#o(this.#o(this.#n(this.#i,e),e.serviceIdentifier),e.name),e.tag.key).set(e.tag.value,r)}subscribe(e){this.#a.push(e)}#s(){const e=new Array(rs.length);for(let r=0;rQ6(t,r))):Q6(t,e)}function Q6(t,e){return t.cache={isRight:!0,value:e},e}function QD(t,e,r){const i=t.getActivations(e);return i===void 0?r:tr(r)?tx(t,r,i[Symbol.iterator]()):function(n,a,s){let l=a,o=s.next();for(;o.done!==!0;){const c=o.value(n.context,l);if(tr(c))return tx(n,c,s);l=c,o=s.next()}return l}(t,r,i[Symbol.iterator]())}async function tx(t,e,r){let i=await e,n=r.next();for(;n.done!==!0;)i=await n.value(t.context,i),n=r.next();return i}function m1(t,e,r){let i=r;if(e.onActivation!==void 0){const n=e.onActivation;i=tr(i)?i.then(a=>n(t.context,a)):n(t.context,i)}return QD(t,e.serviceIdentifier,i)}function eg(t){return(e,r)=>r.cache.isRight?r.cache.value:W7(r,m1(e,r,t(e,r)))}const tT=eg(function(t,e){return e.value});function eT(t){return t}function rg(t,e){return(r,i)=>{const n=t(i);switch(n.scope){case Zi.Singleton:return n.cache.isRight?n.cache.value:W7(n,m1(r,n,e(r,i)));case Zi.Request:{if(r.requestScopeCache.has(n.id))return r.requestScopeCache.get(n.id);const a=m1(r,n,e(r,i));return r.requestScopeCache.set(n.id,a),a}case Zi.Transient:return m1(r,n,e(r,i))}}}const rT=(t=>rg(eT,t))(function(t,e){return e.value(t.context)}),iT=eg(function(t,e){return e.factory(t.context)});function ex(t,e,r){const i=function(n,a,s){if(s!==void 0){if(!(s in n))throw new De(ve.resolution,`Expecting a "${s.toString()}" property when resolving "${a.implementationType.name}" class @postConstruct decorated method, none found.`);if(typeof n[s]!="function")throw new De(ve.resolution,`Expecting a "${s.toString()}" method when resolving "${a.implementationType.name}" class @postConstruct decorated method, a non function property was found instead.`);{let l;try{l=n[s]()}catch(o){throw new De(ve.resolution,`Unexpected error found when calling "${s.toString()}" @postConstruct decorated method on class "${a.implementationType.name}"`,{cause:o})}if(tr(l))return async function(o,c,u){try{await u}catch(f){throw new De(ve.resolution,`Unexpected error found when calling "${c.toString()}" @postConstruct decorated method on class "${o.implementationType.name}"`,{cause:f})}}(a,s,l)}}}(t,e,r);return tr(i)?i.then(()=>t):t}function rx(t){return(e,r,i)=>{const n=new i.binding.implementationType(...e),a=t(r,n,i);return tr(a)?a.then(()=>ex(n,i.binding,i.classMetadata.lifecycle.postConstructMethodName)):ex(n,i.binding,i.classMetadata.lifecycle.postConstructMethodName)}}const nT=eg(function(t,e){return e.provider(t.context)});function aT(t){return t.binding}function sT(t){return t.binding}const ix=function(t){return(e,r,i)=>{const n=[];for(const[a,s]of i.propertyParams){const l=i.classMetadata.properties.get(a);if(l===void 0)throw new De(ve.resolution,`Expecting metadata at property "${a.toString()}", none found`);l.kind!==Ti.unmanaged&&s.bindings!==void 0&&(r[a]=t(e,s),tr(r[a])&&n.push((async()=>{r[a]=await r[a]})()))}if(n.length>0)return Promise.all(n).then(()=>{})}}(Wp),nx=function(t){return function e(r,i){const n=[];for(const a of i.redirections)As(a)?n.push(...e(r,a)):n.push(t(r,a));return n}}(A2),oT=function(t,e,r){return(i,n)=>{const a=t(i,n);return tr(a)?e(a,i,n):r(a,i,n)}}(function(t){return(e,r)=>{const i=[];for(const n of r.constructorParams)n===void 0?i.push(void 0):i.push(t(e,n));return i.some(tr)?Promise.all(i):i}}(Wp),function(t){return async(e,r,i)=>{const n=await e;return t(n,r,i)}}(rx(ix)),rx(ix)),lT=function(t){return(e,r)=>{const i=t(e,r);return tr(i)?i.then(n=>r.binding.factory(...n)):r.binding.factory(...i)}}(function(t){return(e,r)=>{const i=[];for(const n of r.params)i.push(t(e,n));return i.some(tr)?Promise.all(i):i}}(Wp)),cT=(t=>rg(aT,t))(oT),uT=(t=>rg(sT,t))(lT);function hT(t){return Wp(t,t.planResult.tree.root)}function A2(t,e){switch(e.binding.type){case ue.ConstantValue:return tT(t,e.binding);case ue.DynamicValue:return rT(t,e.binding);case ue.Factory:return iT(t,e.binding);case ue.Instance:return cT(t,e);case ue.Provider:return nT(t,e.binding);case ue.ResolvedValue:return uT(t,e)}}function Wp(t,e){if(e.bindings!==void 0)return Array.isArray(e.bindings)?function(r,i){const n=[];for(const a of i)As(a)?n.push(...nx(r,a)):n.push(A2(r,a));return n.some(tr)?Promise.all(n):n}(t,e.bindings):function(r,i){if(As(i)){const n=nx(r,i);if(n.length===1)return n[0];throw new De(ve.resolution,"Unexpected multiple resolved values on single injection")}return A2(r,i)}(t,e.bindings)}function pT(t){return t.scope!==void 0}function ax(t,e){if(t.lifecycle.preDestroyMethodName!==void 0&&typeof e[t.lifecycle.preDestroyMethodName]=="function")return e[t.lifecycle.preDestroyMethodName]()}function sx(t,e,r){const i=t.getDeactivations(e);if(i!==void 0)return tr(r)?ox(r,i[Symbol.iterator]()):function(n,a){let s=a.next();for(;s.done!==!0;){const l=s.value(n);if(tr(l))return ox(n,a);s=a.next()}}(r,i[Symbol.iterator]())}async function ox(t,e){const r=await t;let i=e.next();for(;i.done!==!0;)await i.value(r),i=e.next()}function dT(t,e){const r=function(i,n){if(n.type===ue.Instance){const a=i.getClassMetadata(n.implementationType),s=n.cache.value;return tr(s)?s.then(l=>ax(a,l)):ax(a,s)}}(t,e);return r===void 0?lx(t,e):r.then(()=>lx(t,e))}function lx(t,e){const r=e.cache;return tr(r.value)?r.value.then(i=>cx(t,e,i)):cx(t,e,r.value)}function cx(t,e,r){let i;return e.onDeactivation!==void 0&&(i=(0,e.onDeactivation)(r)),i===void 0?sx(t,e.serviceIdentifier,r):i.then(()=>sx(t,e.serviceIdentifier,r))}function ig(t,e){if(e===void 0)return;const r=function(n){const a=[];for(const s of n)pT(s)&&s.scope===Zi.Singleton&&s.cache.isRight&&a.push(s);return a}(e),i=[];for(const n of r){const a=dT(t,n);a!==void 0&&i.push(a)}return i.length>0?Promise.all(i).then(()=>{}):void 0}function fT(t,e){const r=t.getBindingsFromModule(e);return ig(t,r)}function ux(t,e){const r=t.getBindings(e);return ig(t,r)}const mT=Symbol.for("@inversifyjs/plugin/isPlugin"),X7=Symbol.for("@inversifyjs/container/bindingIdentifier");function hx(t){return typeof t=="object"&&t!==null&&t[X7]===!0}class ja{static always=e=>!0}function ng(t){return{[X7]:!0,id:t.id}}function mc(t){return e=>{for(let r=e.getAncestor();r!==void 0;r=r.getAncestor())if(t(r))return!0;return!1}}function Fl(t){return e=>e.name===t}function Oh(t){return e=>e.serviceIdentifier===t}function Rl(t,e){return r=>r.tags.has(t)&&r.tags.get(t)===e}function gT(t){return t.name===void 0&&t.tags.size===0}function Vh(t){const e=mc(t);return r=>!e(r)}function Nh(t){return e=>{const r=e.getAncestor();return r===void 0||!t(r)}}function Gh(t){return e=>{const r=e.getAncestor();return r!==void 0&&t(r)}}let yT=class{#t;constructor(e){this.#t=e}getIdentifier(){return ng(this.#t)}inRequestScope(){return this.#t.scope=Zi.Request,new ms(this.#t)}inSingletonScope(){return this.#t.scope=Zi.Singleton,new ms(this.#t)}inTransientScope(){return this.#t.scope=Zi.Transient,new ms(this.#t)}};class Y7{#t;#e;#i;#r;constructor(e,r,i,n){this.#t=e,this.#e=r,this.#i=i,this.#r=n}to(e){const r=jp(e),i={cache:{isRight:!1,value:void 0},id:ca(),implementationType:e,isSatisfiedBy:ja.always,moduleId:this.#e,onActivation:void 0,onDeactivation:void 0,scope:r.scope??this.#i,serviceIdentifier:this.#r,type:ue.Instance};return this.#t(i),new zf(i)}toSelf(){if(typeof this.#r!="function")throw new Error('"toSelf" function can only be applied when a newable function is used as service identifier');return this.to(this.#r)}toConstantValue(e){const r={cache:{isRight:!1,value:void 0},id:ca(),isSatisfiedBy:ja.always,moduleId:this.#e,onActivation:void 0,onDeactivation:void 0,scope:Zi.Singleton,serviceIdentifier:this.#r,type:ue.ConstantValue,value:e};return this.#t(r),new ms(r)}toDynamicValue(e){const r={cache:{isRight:!1,value:void 0},id:ca(),isSatisfiedBy:ja.always,moduleId:this.#e,onActivation:void 0,onDeactivation:void 0,scope:this.#i,serviceIdentifier:this.#r,type:ue.DynamicValue,value:e};return this.#t(r),new zf(r)}toResolvedValue(e,r){const i={cache:{isRight:!1,value:void 0},factory:e,id:ca(),isSatisfiedBy:ja.always,metadata:this.#a(r),moduleId:this.#e,onActivation:void 0,onDeactivation:void 0,scope:this.#i,serviceIdentifier:this.#r,type:ue.ResolvedValue};return this.#t(i),new zf(i)}toFactory(e){const r={cache:{isRight:!1,value:void 0},factory:e,id:ca(),isSatisfiedBy:ja.always,moduleId:this.#e,onActivation:void 0,onDeactivation:void 0,scope:Zi.Singleton,serviceIdentifier:this.#r,type:ue.Factory};return this.#t(r),new ms(r)}toProvider(e){const r={cache:{isRight:!1,value:void 0},id:ca(),isSatisfiedBy:ja.always,moduleId:this.#e,onActivation:void 0,onDeactivation:void 0,provider:e,scope:Zi.Singleton,serviceIdentifier:this.#r,type:ue.Provider};return this.#t(r),new ms(r)}toService(e){const r={id:ca(),isSatisfiedBy:ja.always,moduleId:this.#e,serviceIdentifier:this.#r,targetServiceIdentifier:e,type:ue.ServiceRedirection};this.#t(r)}#a(e){return{arguments:(e??[]).map(r=>function(i){return typeof i=="object"&&!K3.is(i)}(r)?function(i){return i.isMultiple===!0}(r)?{chained:r.chained??!1,kind:fs.multipleInjection,name:r.name,optional:r.optional??!1,tags:new Map((r.tags??[]).map(i=>[i.key,i.value])),value:r.serviceIdentifier}:{kind:fs.singleInjection,name:r.name,optional:r.optional??!1,tags:new Map((r.tags??[]).map(i=>[i.key,i.value])),value:r.serviceIdentifier}:{kind:fs.singleInjection,name:void 0,optional:!1,tags:new Map,value:r})}}}class Z7{#t;constructor(e){this.#t=e}getIdentifier(){return ng(this.#t)}onActivation(e){return this.#t.onActivation=e,new E2(this.#t)}onDeactivation(e){return this.#t.onDeactivation=e,new E2(this.#t)}}let E2=class{#t;constructor(e){this.#t=e}getIdentifier(){return ng(this.#t)}when(e){return this.#t.isSatisfiedBy=e,new Z7(this.#t)}whenAnyAncestor(e){return this.when(mc(e))}whenAnyAncestorIs(e){return this.when(mc(Oh(e)))}whenAnyAncestorNamed(e){return this.when(function(r){return mc(Fl(r))}(e))}whenAnyAncestorTagged(e,r){return this.when(function(i,n){return mc(Rl(i,n))}(e,r))}whenDefault(){return this.when(gT)}whenNamed(e){return this.when(Fl(e))}whenNoParent(e){return this.when(Nh(e))}whenNoParentIs(e){return this.when(Nh(Oh(e)))}whenNoParentNamed(e){return this.when(function(r){return Nh(Fl(r))}(e))}whenNoParentTagged(e,r){return this.when(function(i,n){return Nh(Rl(i,n))}(e,r))}whenParent(e){return this.when(Gh(e))}whenParentIs(e){return this.when(Gh(Oh(e)))}whenParentNamed(e){return this.when(function(r){return Gh(Fl(r))}(e))}whenParentTagged(e,r){return this.when(function(i,n){return Gh(Rl(i,n))}(e,r))}whenTagged(e,r){return this.when(Rl(e,r))}whenNoAncestor(e){return this.when(Vh(e))}whenNoAncestorIs(e){return this.when(Vh(Oh(e)))}whenNoAncestorNamed(e){return this.when(function(r){return Vh(Fl(r))}(e))}whenNoAncestorTagged(e,r){return this.when(function(i,n){return Vh(Rl(i,n))}(e,r))}};class ms extends E2{#t;constructor(e){super(e),this.#t=new Z7(e)}onActivation(e){return this.#t.onActivation(e)}onDeactivation(e){return this.#t.onDeactivation(e)}}let zf=class extends ms{#t;constructor(e){super(e),this.#t=new yT(e)}inRequestScope(){return this.#t.inRequestScope()}inSingletonScope(){return this.#t.inSingletonScope()}inTransientScope(){return this.#t.inTransientScope()}};const Lf=Symbol.for("@inversifyjs/container/InversifyContainerError");class Sn extends Error{[Lf];kind;constructor(e,r,i){super(r,i),this[Lf]=!0,this.kind=e}static is(e){return typeof e=="object"&&e!==null&&e[Lf]===!0}static isErrorOfKind(e,r){return Sn.is(e)&&e.kind===r}}var An;(function(t){t[t.invalidOperation=0]="invalidOperation"})(An||(An={}));let xT=class{#t;#e;#i;constructor(e,r,i){this.#t=e,this.#e=r,this.#i=i}bind(e){return new Y7(r=>{this.#r(r)},void 0,this.#e,e)}isBound(e,r){const i=this.#i.bindingService.get(e);return this.#u(e,i,r)}isCurrentBound(e,r){const i=this.#i.bindingService.getNonParentBindings(e);return this.#u(e,i,r)}async rebind(e){return await this.unbind(e),this.bind(e)}rebindSync(e){return this.unbindSync(e),this.bind(e)}async unbind(e){await this.#s(e)}async unbindAll(){const e=[...this.#i.bindingService.getNonParentBoundServices()];await Promise.all(e.map(async r=>ux(this.#t,r)));for(const r of e)this.#i.activationService.removeAllByServiceId(r),this.#i.bindingService.removeAllByServiceId(r),this.#i.deactivationService.removeAllByServiceId(r);this.#i.planResultCacheService.clearCache()}unbindSync(e){this.#s(e)!==void 0&&this.#a(e)}#r(e){this.#i.bindingService.set(e),this.#i.planResultCacheService.clearCache()}#a(e){let r;if(hx(e)){const n=this.#i.bindingService.getById(e.id),a=(i=n,function(s){if(s===void 0)return;const l=s.next();return l.done!==!0?l.value:void 0}(i?.[Symbol.iterator]()))?.serviceIdentifier;r=a===void 0?"Unexpected asynchronous deactivation when unbinding binding identifier. Consider using Container.unbind() instead.":`Unexpected asynchronous deactivation when unbinding "${Hr(a)}" binding. Consider using Container.unbind() instead.`}else r=`Unexpected asynchronous deactivation when unbinding "${Hr(e)}" service. Consider using Container.unbind() instead.`;var i;throw new Sn(An.invalidOperation,r)}#s(e){return hx(e)?this.#o(e):this.#l(e)}#o(e){const r=this.#i.bindingService.getById(e.id),i=ig(this.#t,r);if(i!==void 0)return i.then(()=>{this.#n(e)});this.#n(e)}#n(e){this.#i.bindingService.removeById(e.id),this.#i.planResultCacheService.clearCache()}#l(e){const r=ux(this.#t,e);if(r!==void 0)return r.then(()=>{this.#c(e)});this.#c(e)}#c(e){this.#i.activationService.removeAllByServiceId(e),this.#i.bindingService.removeAllByServiceId(e),this.#i.deactivationService.removeAllByServiceId(e),this.#i.planResultCacheService.clearCache()}#u(e,r,i){if(r===void 0)return!1;const n={getAncestor:()=>{},name:i?.name,serviceIdentifier:e,tags:new Map};i?.tag!==void 0&&n.tags.set(i.tag.key,i.tag.value);for(const a of r)if(a.isSatisfiedBy(n))return!0;return!1}},vT=class{#t;#e;#i;#r;constructor(e,r,i,n){this.#t=e,this.#e=r,this.#i=i,this.#r=n}async load(...e){await Promise.all(this.#o(...e))}loadSync(...e){const r=this.#o(...e);for(const i of r)if(i!==void 0)throw new Sn(An.invalidOperation,"Unexpected asynchronous module load. Consider using Container.load() instead.")}async unload(...e){await Promise.all(this.#l(...e)),this.#s(e)}unloadSync(...e){const r=this.#l(...e);for(const i of r)if(i!==void 0)throw new Sn(An.invalidOperation,"Unexpected asynchronous module unload. Consider using Container.unload() instead.");this.#s(e)}#a(e){return{bind:r=>new Y7(i=>{this.#n(i)},e,this.#i,r),isBound:this.#t.isBound.bind(this.#t),onActivation:(r,i)=>{this.#r.activationService.add(i,{moduleId:e,serviceId:r})},onDeactivation:(r,i)=>{this.#r.deactivationService.add(i,{moduleId:e,serviceId:r})},rebind:this.#t.rebind.bind(this.#t),rebindSync:this.#t.rebindSync.bind(this.#t),unbind:this.#t.unbind.bind(this.#t),unbindSync:this.#t.unbindSync.bind(this.#t)}}#s(e){for(const r of e)this.#r.activationService.removeAllByModuleId(r.id),this.#r.bindingService.removeAllByModuleId(r.id),this.#r.deactivationService.removeAllByModuleId(r.id);this.#r.planResultCacheService.clearCache()}#o(...e){return e.map(r=>r.load(this.#a(r.id)))}#n(e){this.#r.bindingService.set(e),this.#r.planResultCacheService.clearCache()}#l(...e){return e.map(r=>fT(this.#e,r.id))}},bT=class{#t;#e;#i;#r;constructor(e,r,i){this.#r=r,this.#i=i,this.#t=this.#a(e),this.#e=this.#s()}register(e,r){const i=new r(e,this.#e);if(i[mT]!==!0)throw new Sn(An.invalidOperation,"Invalid plugin. The plugin must extend the Plugin class");i.load(this.#t)}#a(e){return{define:(r,i)=>{if(Object.prototype.hasOwnProperty.call(e,r))throw new Sn(An.invalidOperation,`Container already has a method named "${String(r)}"`);e[r]=i},onPlan:this.#i.onPlan.bind(this.#i)}}#s(){const e=this.#r;return{get activationService(){return e.activationService},get bindingService(){return e.bindingService},get deactivationService(){return e.deactivationService},get planResultCacheService(){return e.planResultCacheService}}}},px=class{activationService;bindingService;deactivationService;planResultCacheService;#t;constructor(e,r,i,n){this.activationService=e,this.bindingService=r,this.deactivationService=i,this.planResultCacheService=n,this.#t=[]}reset(e,r,i){this.activationService=e,this.bindingService=r,this.deactivationService=i,this.planResultCacheService.clearCache();for(const n of this.#t)n()}onReset(e){this.#t.push(e)}};class kT{#t;#e;#i;#r;#a;#s;#o;#n;#l;constructor(e,r,i){this.#n=e,this.#s=this.#m(),this.#t=r,this.#e=i,this.#i=n=>this.#n.activationService.get(n),this.#r=this.#n.bindingService.get.bind(this.#n.bindingService),this.#a=this.#n.bindingService.getChained.bind(this.#n.bindingService),this.#o=[],this.#l=this.#g.bind(this),this.#n.onReset(()=>{this.#c()})}get(e,r){const i=this.#h(!1,e,r),n=this.#p(i);if(tr(n))throw new Sn(An.invalidOperation,`Unexpected asynchronous service when resolving service "${Hr(e)}"`);return n}getAll(e,r){const i=this.#h(!0,e,r),n=this.#p(i);if(tr(n))throw new Sn(An.invalidOperation,`Unexpected asynchronous service when resolving service "${Hr(e)}"`);return n}async getAllAsync(e,r){const i=this.#h(!0,e,r);return this.#p(i)}async getAsync(e,r){const i=this.#h(!1,e,r);return this.#p(i)}onPlan(e){this.#o.push(e)}#c(){this.#r=this.#n.bindingService.get.bind(this.#n.bindingService),this.#l=this.#g.bind(this),this.#s=this.#m()}#u(e,r,i){return{isMultiple:e,name:i?.name,optional:i?.optional,serviceIdentifier:r,tag:i?.tag}}#d(e,r,i){const n={autobindOptions:i?.autobind??this.#t?{scope:this.#e}:void 0,getBindings:this.#r,getBindingsChained:this.#a,getClassMetadata:jp,rootConstraints:this.#f(e,r,i),servicesBranch:[],setBinding:this.#l};return this.#y(n,i),n}#f(e,r,i){return r?{chained:i?.chained??!1,isMultiple:r,serviceIdentifier:e}:{isMultiple:r,serviceIdentifier:e}}#h(e,r,i){const n=this.#u(e,r,i),a=this.#n.planResultCacheService.get(n);if(a!==void 0)return a;const s=WD(this.#d(r,e,i));this.#n.planResultCacheService.set(n,s);for(const l of this.#o)l(n,s);return s}#m(){return{get:this.get.bind(this),getAll:this.getAll.bind(this),getAllAsync:this.getAllAsync.bind(this),getAsync:this.getAsync.bind(this)}}#p(e){return hT({context:this.#s,getActivations:this.#i,planResult:e,requestScopeCache:new Map})}#y(e,r){r!==void 0&&(r.name!==void 0&&(e.rootConstraints.name=r.name),r.optional===!0&&(e.rootConstraints.isOptional=!0),r.tag!==void 0&&(e.rootConstraints.tag={key:r.tag.key,value:r.tag.value}),e.rootConstraints.isMultiple&&(e.rootConstraints.chained=r?.chained??!1))}#g(e){this.#n.bindingService.set(e),this.#n.planResultCacheService.clearCache()}}let wT=class{#t;#e;constructor(e){this.#t=e,this.#e=[]}restore(){const e=this.#e.pop();if(e===void 0)throw new Sn(An.invalidOperation,"No snapshot available to restore");this.#t.reset(e.activationService,e.bindingService,e.deactivationService)}snapshot(){this.#e.push({activationService:this.#t.activationService.clone(),bindingService:this.#t.bindingService.clone(),deactivationService:this.#t.deactivationService.clone()})}};const ST=Zi.Transient;let AT=class{#t;#e;#i;#r;#a;#s;constructor(e){this.#r=this.#o(e);const r=e?.autobind??!1,i=e?.defaultScope??ST,n={getBindings:(a=this.#r).bindingService.get.bind(a.bindingService),getBindingsFromModule:a.bindingService.getByModuleId.bind(a.bindingService),getClassMetadata:jp,getDeactivations:a.deactivationService.get.bind(a.deactivationService)};var a;this.#t=new xT(n,i,this.#r),this.#e=new vT(this.#t,n,i,this.#r),this.#a=new kT(this.#r,r,i),this.#i=new bT(this,this.#r,this.#a),this.#s=new wT(this.#r)}bind(e){return this.#t.bind(e)}get(e,r){return this.#a.get(e,r)}getAll(e,r){return this.#a.getAll(e,r)}async getAllAsync(e,r){return this.#a.getAllAsync(e,r)}async getAsync(e,r){return this.#a.getAsync(e,r)}isBound(e,r){return this.#t.isBound(e,r)}isCurrentBound(e,r){return this.#t.isCurrentBound(e,r)}async load(...e){return this.#e.load(...e)}loadSync(...e){this.#e.loadSync(...e)}onActivation(e,r){this.#r.activationService.add(r,{serviceId:e})}onDeactivation(e,r){this.#r.deactivationService.add(r,{serviceId:e})}register(e){this.#i.register(this,e)}restore(){this.#s.restore()}async rebind(e){return this.#t.rebind(e)}rebindSync(e){return this.#t.rebindSync(e)}snapshot(){this.#s.snapshot()}async unbind(e){await this.#t.unbind(e)}async unbindAll(){return this.#t.unbindAll()}unbindSync(e){this.#t.unbindSync(e)}async unload(...e){return this.#e.unload(...e)}unloadSync(...e){this.#e.unloadSync(...e)}#o(e){if(e?.parent===void 0)return new px(Qc.build(void 0),H6.build(void 0),W6.build(void 0),new J6);const r=new J6;return e.parent.#r.planResultCacheService.subscribe(r),new px(Qc.build(e.parent.#r.activationService),H6.build(e.parent.#r.bindingService),W6.build(e.parent.#r.deactivationService),r)}};var ET=Object.getOwnPropertyDescriptor,_T=(t,e,r,i)=>{for(var n=i>1?void 0:i?ET(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n};let _2=class{constructor(){this.data={}}replaceConfig(t){this.data=t}get(t){return this.data[t]}set(t,e){this.data[t]=e}reset(){this.data={}}save(){}};_2=_T([c0()],_2);const _i={AJAX:Symbol.for("AJAX"),VARIANTS:Symbol.for("VARIANTS"),STATUS:Symbol.for("STATUS"),ConfigService:Symbol.for("ConfigService"),HTTPService:Symbol.for("HTTPService"),ToastService:Symbol.for("ToastService"),RenderService:Symbol.for("RenderService")};var CT=Object.getOwnPropertyDescriptor,PT=(t,e,r,i)=>{for(var n=i>1?void 0:i?CT(e,r):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(n=s(n)||n);return n},dx=(t,e)=>(r,i)=>e(r,i,t);let C2=class{constructor(t={url:"",nonce:""}){this.ajax=t}async request(t,e={},r={}){const i=e instanceof FormData;let n,a={};if(i)n=e,n.append("action","lordicon_request"),n.append("nonce",this.ajax.nonce),n.append("endpoint",t);else{const o=new URLSearchParams;o.append("action","lordicon_request"),o.append("nonce",this.ajax.nonce),o.append("endpoint",t),Object.entries(e).forEach(([c,u])=>{o.append(c,String(u))}),n=o.toString(),a["Content-Type"]="application/x-www-form-urlencoded"}const l=await(await fetch(this.ajax.url,{method:"POST",headers:a,body:n,signal:r.signal})).json();if(!l.success)throw new Error(l.data||"Request failed");return l.data}};C2=PT([c0(),dx(0,VD(_i.AJAX)),dx(0,qD())],C2);function DT(t){return document.createElement(t)}function Qt(t,e){var r,i=t.length,n;for(r=0;r{K7=!!t},LT=()=>K7,rk=t=>{J7=t},Xp=()=>J7,OT=t=>{Q7=t},VT=()=>Q7,Fh=t=>{ek=t},J1=()=>ek,NT=t=>{tk=t};function ik(){}ik.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i{nk=t},Wr=()=>nk,Yp=function(){var t=1,e=[],r,i,n={onmessage:function(){},postMessage:function(h){r({data:h})}},a={postMessage:function(h){n.onmessage({data:h})}};function s(h){return r=h,n}function l(){i||(i=s(function(h){function y(){function m($,O){var N,B,A=$.length,I,V,j,nt;for(B=0;B=0;O-=1)if($[O].ty==="sh")if($[O].ks.k.i)b($[O].ks.k);else for(A=$[O].ks.k.length,B=0;BN[0]?!0:N[0]>$[0]?!1:$[1]>N[1]?!0:N[1]>$[1]?!1:$[2]>N[2]?!0:N[2]>$[2]?!1:null}var S=function(){var $=[4,4,14];function O(B){var A=B.t.d;B.t.d={k:[{s:A,t:0}]}}function N(B){var A,I=B.length;for(A=0;A=0;A-=1)if(B[A].ty==="sh")if(B[A].ks.k.i)B[A].ks.k.c=B[A].closed;else for(j=B[A].ks.k.length,V=0;V{Nc[t]=e};function qT(t){return Nc[t]}function UT(){if(Nc.canvas)return"canvas";for(const t in Nc)if(Nc[t])return t;return""}const Bt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Er(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=LT(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=RT(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new P2("drawnFrame",0,0,0),this.expressionsPlugin=Xp()};Qt([ik],Bt);Bt.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);const r=qT(e);this.renderer=new r(this,t.rendererSettings),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Yp.loadAnimation(t.path,this.configAnimation,this.onSetupError))};Bt.prototype.onSetupError=function(){this.trigger("data_failed")};Bt.prototype.setupAnimation=function(t){Yp.completeAnimation(t,this.configAnimation)};Bt.prototype.setData=function(t,e){e&&typeof e!="object"&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:UT()||"canvas";var n=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";n==="false"?r.loop=!1:n==="true"?r.loop=!0:n!==""&&(r.loop=parseInt(n,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=a!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var s=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";s==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")};Bt.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,i=e.length,n=t.layers,a,s=n.length;for(a=0;athis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")};Bt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}};Bt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this._idle&&(this._idle=!1,this.trigger("_active")))};Bt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"))};Bt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())};Bt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))};Bt.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}};Bt.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")};Bt.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)};Bt.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),typeof t[0]=="object"){var r,i=t.length;for(r=0;r=0;$-=1)e[$].animation.destroy(z)}function w(z,$,O){var N=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),B,A=N.length;for(B=0;B0?b=w:x=w;while(Math.abs(_)>a&&++P=n?k(p,M,x,b):L===0?M:m(p,S,S+o,x,b)}},t}(),ak=function(){function t(e){return e.concat(Qe(e.length))}return{double:t}}(),Zp=function(){return function(t,e,r){var i=0,n=t,a=Qe(n),s={newElement:l,release:o};function l(){var c;return i?(i-=1,c=a[i]):c=e(),c}function o(c){i===n&&(a=ak.double(a),n*=2),r&&r(c),a[i]=c,i+=1}return s}}(),sk=function(){function t(){return{addedLength:0,percents:ie("float32",J1()),lengths:ie("float32",J1())}}return Zp(8,t)}(),ok=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var i,n=r.lengths.length;for(i=0;i-.001&&p<.001}function r(h,y,g,m,k,d,p,x,b){if(g===0&&d===0&&b===0)return e(h,y,m,k,p,x);var v=t.sqrt(t.pow(m-h,2)+t.pow(k-y,2)+t.pow(d-g,2)),S=t.sqrt(t.pow(p-h,2)+t.pow(x-y,2)+t.pow(b-g,2)),_=t.sqrt(t.pow(p-m,2)+t.pow(x-k,2)+t.pow(b-d,2)),w;return v>S?v>_?w=v-S-_:w=_-S-v:_>S?w=_-S-v:w=S-v-_,w>-1e-4&&w<1e-4}var i=function(){return function(h,y,g,m){var k=J1(),d,p,x,b,v,S=0,_,w=[],P=[],M=sk.newElement();for(x=g.length,d=0;dp?-1:1,v=!0;v;)if(m[d]<=p&&m[d+1]>p?(x=(p-m[d])/(m[d+1]-m[d]),v=!1):d+=b,d<0||d>=k-1){if(d===k-1)return g[d];v=!1}return g[d]+(g[d+1]-g[d])*x}function c(h,y,g,m,k,d){var p=o(k,d),x=1-p,b=t.round((x*x*x*h[0]+(p*x*x+x*p*x+x*x*p)*g[0]+(p*p*x+x*p*p+p*x*p)*m[0]+p*p*p*y[0])*1e3)/1e3,v=t.round((x*x*x*h[1]+(p*x*x+x*p*x+x*x*p)*g[1]+(p*p*x+x*p*p+p*x*p)*m[1]+p*p*p*y[1])*1e3)/1e3;return[b,v]}var u=ie("float32",8);function f(h,y,g,m,k,d,p){k<0?k=0:k>1&&(k=1);var x=o(k,p);d=d>1?1:d;var b=o(d,p),v,S=h.length,_=1-x,w=1-b,P=_*_*_,M=x*_*_*3,L=x*x*_*3,G=x*x*x,z=_*_*w,$=x*_*w+_*x*w+_*_*b,O=x*x*w+_*x*b+x*_*b,N=x*x*b,B=_*w*w,A=x*w*w+_*b*w+_*w*b,I=x*b*w+_*b*b+x*w*b,V=x*b*b,j=w*w*w,nt=b*w*w+w*b*w+w*w*b,D=b*b*w+w*b*b+b*w*b,T=b*b*b;for(v=0;v=c.t-r){o.h&&(o=c),n=0;break}if(c.t-r>t){n=a;break}a=d||t=d?b.points.length-1:0;for(h=b.points[v].point.length,f=0;f=w&&S=d)i[0]=x[0],i[1]=x[1],i[2]=x[2];else if(t<=p)i[0]=o.s[0],i[1]=o.s[1],i[2]=o.s[2];else{var $=bx(o.s),O=bx(x),N=(t-p)/(d-p);XT(i,WT($,O,N))}else for(a=0;a=d?y=1:t1e-6?(h=Math.acos(y),g=Math.sin(h),m=Math.sin((1-r)*h)/g,k=Math.sin(r*h)/g):(m=1-r,k=r),i[0]=m*n+k*o,i[1]=m*a+k*c,i[2]=m*s+k*u,i[3]=m*l+k*f,i}function XT(t,e){var r=e[0],i=e[1],n=e[2],a=e[3],s=Math.atan2(2*i*a-2*r*n,1-2*i*i-2*n*n),l=Math.asin(2*r*i+2*n*a),o=Math.atan2(2*r*a-2*i*n,1-2*r*r-2*n*n);t[0]=s/Pe,t[1]=l/Pe,t[2]=o/Pe}function bx(t){var e=t[0]*Pe,r=t[1]*Pe,i=t[2]*Pe,n=Math.cos(e/2),a=Math.cos(r/2),s=Math.cos(i/2),l=Math.sin(e/2),o=Math.sin(r/2),c=Math.sin(i/2),u=n*a*s-l*o*c,f=l*o*s+n*a*c,h=l*a*s+n*o*c,y=n*o*s-l*a*c;return[f,h,y,u]}function ck(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==ys&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function Kp(t){var e;if(this.propType==="unidimensional")e=t*this.mult,vx(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,i=this.v.length;r1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function Jp(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!n)&&(a[i]=xs.newElement()),a[i][0]=t,a[i][1]=e};Xn.prototype.setTripleAt=function(t,e,r,i,n,a,s,l){this.setXYAt(t,e,"v",s,l),this.setXYAt(r,i,"o",s,l),this.setXYAt(n,a,"i",s,l)};Xn.prototype.reverse=function(){var t=new Xn;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var a=this._length-1,s=this._length,l;for(l=n;l=$[$.length-1].t-this.offsetTime)v=$[$.length-1].s?$[$.length-1].s[0]:$[$.length-2].e[0],_=!0;else{for(var O=b,N=$.length-1,B=!0,A,I,V;B&&(A=$[O],I=$[O+1],!(I.t-this.offsetTime>d));)O=I.t-this.offsetTime)G=1;else if(dx&&d>x)||(this._caching.lastIndex=b0||A>-1e-6&&A<0?i(A*I)/I:A}function B(){var A=this.props,I=N(A[0]),V=N(A[1]),j=N(A[4]),nt=N(A[5]),D=N(A[12]),T=N(A[13]);return"matrix("+I+","+V+","+j+","+nt+","+D+","+T+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=s,this.rotateY=l,this.rotateZ=o,this.skew=u,this.skewFromAxis=f,this.shear=c,this.scale=h,this.setTransform=y,this.translate=g,this.transform=m,this.multiply=k,this.applyToPoint=v,this.applyToX=S,this.applyToY=_,this.applyToZ=w,this.applyToPointArray=z,this.applyToTriplePoints=G,this.applyToPointStringified=$,this.toCSS=O,this.to2dCSS=B,this.clone=x,this.cloneFromProps=b,this.equals=p,this.inversePoints=L,this.inversePoint=M,this.getInverseMatrix=P,this._t=this.transform,this.isIdentity=d,this._identity=!0,this._identityCalculated=!1,this.props=ie("float32",16),this.reset()}}(),Ee={};function QT(t){GT(t)}function t$(){Vr.searchAnimations()}function e$(t){zT(t)}function r$(t){NT(t)}function i$(t){return Vr.loadAnimation(t)}function n$(t){if(typeof t=="string")switch(t){case"high":Fh(200);break;default:case"medium":Fh(50);break;case"low":Fh(10);break}else!isNaN(t)&&t>1&&Fh(t)}function a$(){return typeof navigator<"u"}function s$(t,e){t==="expressions"&&rk(e)}function o$(t){switch(t){case"propertyFactory":return vt;case"shapePropertyFactory":return ba;case"matrix":return Re;default:return null}}Ee.play=Vr.play;Ee.pause=Vr.pause;Ee.setLocationHref=QT;Ee.togglePause=Vr.togglePause;Ee.setSpeed=Vr.setSpeed;Ee.setDirection=Vr.setDirection;Ee.stop=Vr.stop;Ee.searchAnimations=t$;Ee.registerAnimation=Vr.registerAnimation;Ee.loadAnimation=i$;Ee.setSubframeRendering=e$;Ee.resize=Vr.resize;Ee.goToAndStop=Vr.goToAndStop;Ee.destroy=Vr.destroy;Ee.setQuality=n$;Ee.inBrowser=a$;Ee.installPlugin=s$;Ee.freeze=Vr.freeze;Ee.unfreeze=Vr.unfreeze;Ee.getRegisteredAnimations=Vr.getRegisteredAnimations;Ee.setIDPrefix=r$;Ee.__getFactory=o$;Ee.version="[[BM_VERSION]]";const $a=function(){var t={},e={};t.registerModifier=r,t.getModifier=i;function r(n,a){e[n]||(e[n]=a)}function i(n,a,s){return new e[n](a,s)}return t}();function Bi(){}Bi.prototype.initModifierProperties=function(){};Bi.prototype.addShapeToModifier=function(){};Bi.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:Eo.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}};Bi.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=Q1,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)};Bi.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())};Qt([Br],Bi);function tn(){}Qt([Bi],tn);tn.prototype.initModifierProperties=function(t,e){this.s=vt.getProp(t,e.s,0,.01,this),this.e=vt.getProp(t,e.e,0,.01,this),this.o=vt.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length};tn.prototype.addShapeToModifier=function(t){t.pathsData=[]};tn.prototype.calculateShapeEdges=function(t,e,r,i,n){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var s=[],l,o=a.length,c;for(l=0;li+r)){var u,f;c.s*n<=i?u=0:u=(c.s*n-i)/r,c.e*n>=i+r?f=1:f=(c.e*n-i)/r,s.push([u,f])}return s.length||s.push([0,0]),s};tn.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?e=1+i:this.s.v<0?e=0+i:e=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,e>r){var n=e;e=r,r=n}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var a,s,l=this.shapes.length,o,c,u,f,h,y=0;if(r===e)for(s=0;s=0;s-=1)if(m=this.shapes[s],m.shape._mdf){for(k=m.localShapeCollection,k.releaseShapes(),this.m===2&&l>1?(b=this.calculateShapeEdges(e,r,m.totalShapeLength,x,y),x+=m.totalShapeLength):b=[[d,p]],c=b.length,o=0;o=1?g.push({s:m.totalShapeLength*(d-1),e:m.totalShapeLength*(p-1)}):(g.push({s:m.totalShapeLength*d,e:m.totalShapeLength}),g.push({s:0,e:m.totalShapeLength*(p-1)}));var v=this.addShapes(m,g[0]);if(g[0].s!==g[0].e){if(g.length>1){var S=m.shape.paths.shapes[m.shape.paths._length-1];if(S.c){var _=v.pop();this.addPaths(v,k),v=this.addShapes(m,g[1],_)}else this.addPaths(v,k),v=this.addShapes(m,g[1])}this.addPaths(v,k)}}m.shape.paths=k}}};tn.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;re.e){r.c=!1;break}else e.s<=c&&e.e>=c+u.addedLength?(this.addSegment(n[a].v[l-1],n[a].o[l-1],n[a].i[l],n[a].v[l],r,f,k),k=!1):(y=vn.getNewSegment(n[a].v[l-1],n[a].v[l],n[a].o[l-1],n[a].i[l],(e.s-c)/u.addedLength,(e.e-c)/u.addedLength,h[l-1]),this.addSegmentFromArray(y,r,f,k),k=!1,r.c=!1),c+=u.addedLength,f+=1;if(n[a].c&&h.length){if(u=h[l-1],c<=e.e){var d=h[l-1].addedLength;e.s<=c&&e.e>=c+d?(this.addSegment(n[a].v[l-1],n[a].o[l-1],n[a].i[0],n[a].v[0],r,f,k),k=!1):(y=vn.getNewSegment(n[a].v[l-1],n[a].v[0],n[a].o[l-1],n[a].i[0],(e.s-c)/d,(e.e-c)/d,h[l-1]),this.addSegmentFromArray(y,r,f,k),k=!1,r.c=!1)}else r.c=!1;c+=u.addedLength,f+=1}if(r._length&&(r.setXYAt(r.v[m][0],r.v[m][1],"i",m),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),c>e.e)break;a=this.p.keyframes[this.p.keyframes.length-1].t?(u=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),f=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(u=this.p.pv,f=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){u=[],f=[];var h=this.px,y=this.py;h._caching.lastFrame+h.offsetTime<=h.keyframes[0].t?(u[0]=h.getValueAtTime((h.keyframes[0].t+.01)/c,0),u[1]=y.getValueAtTime((y.keyframes[0].t+.01)/c,0),f[0]=h.getValueAtTime(h.keyframes[0].t/c,0),f[1]=y.getValueAtTime(y.keyframes[0].t/c,0)):h._caching.lastFrame+h.offsetTime>=h.keyframes[h.keyframes.length-1].t?(u[0]=h.getValueAtTime(h.keyframes[h.keyframes.length-1].t/c,0),u[1]=y.getValueAtTime(y.keyframes[y.keyframes.length-1].t/c,0),f[0]=h.getValueAtTime((h.keyframes[h.keyframes.length-1].t-.01)/c,0),f[1]=y.getValueAtTime((y.keyframes[y.keyframes.length-1].t-.01)/c,0)):(u=[h.pv,y.pv],f[0]=h.getValueAtTime((h._caching.lastFrame+h.offsetTime-.01)/c,h.offsetTime),f[1]=y.getValueAtTime((y._caching.lastFrame+y.offsetTime-.01)/c,y.offsetTime))}else f=t,u=f;this.v.rotate(-Math.atan2(u[1]-f[1],u[0]-f[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function a(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function s(o,c,u){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Re,this.pre=new Re,this.appliedTransformations=0,this.initDynamicPropertyContainer(u||o),c.p&&c.p.s?(this.px=vt.getProp(o,c.p.x,0,0,this),this.py=vt.getProp(o,c.p.y,0,0,this),c.p.z&&(this.pz=vt.getProp(o,c.p.z,0,0,this))):this.p=vt.getProp(o,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=vt.getProp(o,c.rx,0,Pe,this),this.ry=vt.getProp(o,c.ry,0,Pe,this),this.rz=vt.getProp(o,c.rz,0,Pe,this),c.or.k[0].ti){var f,h=c.or.k.length;for(f=0;f0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)};Cn.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(h):Math.ceil(h),m=this.pMatrix.props,k=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var p=0;if(h>0){for(;pg;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),p-=1;y&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-y,!0),p-=y)}i=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,a=this._currentCopies;for(var x,b;a;){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,b=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),p!==0){for((i!==0&&n===1||i!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(k[0],k[1],k[2],k[3],k[4],k[5],k[6],k[7],k[8],k[9],k[10],k[11],k[12],k[13],k[14],k[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),x=0;x0&&i<1?[e]:[]:[e-i,e+i].filter(function(n){return n>0&&n<1})};Ve.prototype.split=function(t){if(t<=0)return[Sx(this.points[0]),this];if(t>=1)return[this,Sx(this.points[this.points.length-1])];var e=fa(this.points[0],this.points[1],t),r=fa(this.points[1],this.points[2],t),i=fa(this.points[2],this.points[3],t),n=fa(e,r,t),a=fa(r,i,t),s=fa(n,a,t);return[new Ve(this.points[0],e,n,s,!0),new Ve(s,a,i,this.points[3],!0)]};function Ax(t,e){var r=t.points[0][e],i=t.points[t.points.length-1][e];if(r>i){var n=i;i=r,r=n}for(var a=l$(3*t.a[e],2*t.b[e],t.c[e]),s=0;s0&&a[s]<1){var l=t.point(a[s])[e];li&&(i=l)}return{min:r,max:i}}Ve.prototype.bounds=function(){return{x:Ax(this,0),y:Ax(this,1)}};Ve.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function ep(t,e,r){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function Ex(t){var e=t.bez.split(.5);return[ep(e[0],t.t1,t.t),ep(e[1],t.t,t.t2)]}function c$(t,e){return Math.abs(t.cx-e.cx)*2=a||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i){n.push([t.t,e.t]);return}var s=Ex(t),l=Ex(e);gc(s[0],l[0],r+1,i,n,a),gc(s[0],l[1],r+1,i,n,a),gc(s[1],l[0],r+1,i,n,a),gc(s[1],l[1],r+1,i,n,a)}}Ve.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var i=[];return gc(ep(this,0,1),ep(t,0,1),0,e,i,r),i};Ve.shapeSegment=function(t,e){var r=(e+1)%t.length();return new Ve(t.v[e],t.o[e],t.i[r],t.v[r],!0)};Ve.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new Ve(t.v[r],t.i[r],t.o[e],t.v[e],!0)};function Of(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function rp(t,e,r,i){var n=[t[0],t[1],1],a=[e[0],e[1],1],s=[r[0],r[1],1],l=[i[0],i[1],1],o=Of(Of(n,a),Of(s,l));return D2(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function Io(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function Vf(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function Ro(t,e){return tp(t[0],e[0])&&tp(t[1],e[1])}function Du(){}Qt([Bi],Du);Du.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=vt.getProp(t,e.s,0,null,this),this.frequency=vt.getProp(t,e.r,0,null,this),this.pointsType=vt.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function uk(t,e,r,i,n,a,s){var l=r-Math.PI/2,o=r+Math.PI/2,c=e[0]+Math.cos(r)*i*n,u=e[1]-Math.sin(r)*i*n;t.setTripleAt(c,u,c+Math.cos(l)*a,u-Math.sin(l)*a,c+Math.cos(o)*s,u-Math.sin(o)*s,t.length())}function u$(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=-Math.PI*.5,n=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return n}function h$(t,e){var r=e===0?t.length()-1:e-1,i=(e+1)%t.length(),n=t.v[r],a=t.v[i],s=u$(n,a);return Math.atan2(0,1)-Math.atan2(s[1],s[0])}function _x(t,e,r,i,n,a,s){var l=h$(e,r),o=e.v[r%e._length],c=e.v[r===0?e._length-1:r-1],u=e.v[(r+1)%e._length],f=a===2?Math.sqrt(Math.pow(o[0]-c[0],2)+Math.pow(o[1]-c[1],2)):0,h=a===2?Math.sqrt(Math.pow(o[0]-u[0],2)+Math.pow(o[1]-u[1],2)):0;uk(t,e.v[r%e._length],l,s,i,h/((n+1)*2),f/((n+1)*2))}function p$(t,e,r,i,n,a){for(var s=0;s1&&e.length>1&&(n=Px(t[0],e[e.length-1]),n)?[[t[0].split(n[0])[0]],[e[e.length-1].split(n[1])[1]]]:[r,i]}function d$(t){for(var e,r=1;r1&&(e=Dx(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function Tx(t,e){var r=t.inflectionPoints(),i,n,a,s;if(r.length===0)return[co(t,e)];if(r.length===1||tp(r[1],1))return a=t.split(r[0]),i=a[0],n=a[1],[co(i,e),co(n,e)];a=t.split(r[0]),i=a[0];var l=(r[1]-r[0])/(1-r[0]);return a=a[1].split(l),s=a[0],n=a[1],[co(i,e),co(s,e),co(n,e)]}function Tu(){}Qt([Bi],Tu);Tu.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=vt.getProp(t,e.a,0,null,this),this.miterLimit=vt.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0};Tu.prototype.processPath=function(t,e,r,i){var n=ar.newElement();n.c=t.c;var a=t.length();t.c||(a-=1);var s,l,o,c=[];for(s=0;s=0;s-=1)o=Ve.shapeSegmentInverted(t,s),c.push(Tx(o,e));c=d$(c);var u=null,f=null;for(s=0;s=0;e-=1)this.elements[e]||(i=this.layers[e],i.ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()};di.prototype.createItem=function(t){switch(t.ty){case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);default:return this.createNull(t)}};di.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t0&&(this.maskElement.setAttribute("id",h),this.element.maskedElement.setAttribute(p,"url("+Wr()+"#"+h+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ms.prototype.getMaskProperty=function(t){return this.viewData[t].prop};Ms.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r1&&(i+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==i){var s="";r.elem&&(e.c&&(s=t.inv?this.solidPath+i:i),r.elem.setAttribute("d",s)),r.lastPath=i}};Ms.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};const yc=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(i,n){var a=yt("filter");return a.setAttribute("id",i),n!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var i=yt("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return t}(),$x=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}();var g1={},Ix="filter_result_";function og(t){var e,r="SourceGraphic",i=t.data.ef?t.data.ef.length:0,n=Er(),a=yc.createFilter(n,!0),s=0;this.filters=[];var l;for(e=0;et?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t=0&&(r=this.shapeModifiers[t].processShapes(this._isFirstFrame),!r);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r.01)return!1;r+=1}return!0};zu.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)d=h.transformers[P].mProps._mdf||d,w-=1,P-=1;if(d)for(w=v-h.styles[x].lvl,P=h.transformers.length-1;w>0;)_.multiply(h.transformers[P].mProps.v),w-=1,P-=1}else _=t;if(S=h.sh.paths,m=S._length,d){for(k="",g=0;g=1?z=.99:z<=-1&&(z=-.99);var $=L*z,O=Math.cos(G+h.a.v)*$+k[0],N=Math.sin(G+h.a.v)*$+k[1];g.setAttribute("fx",O),g.setAttribute("fy",N),m&&!h.g._collapsable&&(h.of.setAttribute("fx",O),h.of.setAttribute("fy",N))}}}function u(f,h,y){var g=h.style,m=h.d;m&&(m._mdf||y)&&m.dashStr&&(g.pElem.setAttribute("stroke-dasharray",m.dashStr),g.pElem.setAttribute("stroke-dashoffset",m.dashoffset[0])),h.c&&(h.c._mdf||y)&&g.pElem.setAttribute("stroke","rgb("+hn(h.c.v[0])+","+hn(h.c.v[1])+","+hn(h.c.v[2])+")"),(h.o._mdf||y)&&g.pElem.setAttribute("stroke-opacity",h.o.v),(h.w._mdf||y)&&(g.pElem.setAttribute("stroke-width",h.w.v),g.msElem&&g.msElem.setAttribute("stroke-width",h.w.v))}return r}();function ir(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}Qt([$u,Iu,td,fk,Mu,Bu,ed],ir);ir.prototype.initSecondaryElement=function(){};ir.prototype.identityMatrix=new Re;ir.prototype.buildExpressionInterface=function(){};ir.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()};ir.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,r,i,n=this.stylesList.length,a,s=[],l=!1;for(i=0;i1&&l&&this.setShapesAsAnimated(s)}};ir.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;o-=1){if(k=this.searchProcessedElement(t[o]),k?e[o]=r[k-1]:t[o]._render=s,t[o].ty==="fl"||t[o].ty==="st"||t[o].ty==="gf"||t[o].ty==="gs"||t[o].ty==="no")k?e[o].style.closed=t[o].hd:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),h.push(e[o].style);else if(t[o].ty==="gr"){if(!k)e[o]=this.createGroupElement(t[o]);else for(f=e[o].it.length,u=0;u=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}};Qn.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;te.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?e.slice(1,-1):e)}function O$(t){const e=t.match(D$);if(e){const o=qa(e.slice(1));return c=>{var u;const{comp:f}=c;return(u=f(o[0]).layer(o[1]).effect(o[2]))==null?void 0:u("Color")}}const r=t.match(T$);if(r){const o=qa(r.slice(1));return c=>{var u;const{comp:f,$bm_div:h,$bm_mul:y,value:g}=c;return y(h(g,+o[0]),(u=f(o[1]).layer(o[2]).effect(o[3]))==null?void 0:u(o[4]))}}const i=t.match(P$);if(i){const o=qa(i.slice(1));return c=>{const{thisComp:u}=c;return u.layer(o[0]).effect(o[1])("Menu")==+o[2]?+o[3]:+o[4]}}const n=t.match($$);if(n){const o=qa(n.slice(1));return c=>{const{thisComp:u,$bm_mul:f}=c;return f(u.layer(o[0]).effect(+o[1])(o[2]),+o[3])}}const a=t.match(I$);if(a){const o=qa(a.slice(1));return c=>{const{thisComp:u}=c,f=u.layer(o[0]).effect("Scale")("Slider");return[f,f]}}const s=t.match(M$);if(s){const o=qa(s.slice(1));return c=>{const{thisComp:u}=c;return u.layer(o[0]).effect("Axis")("Point")}}if(t.match(B$))return o=>{const{effect:c}=o;return c("Axis")("Point")};const l=t.match(z$);if(l){const o=qa(l.slice(1));return c=>{const{thisComp:u}=c;return u.layer(o[0]).effect(o[1])("Color")}}return t.match(L$)?o=>0:null}const ug=function(){var t={},e=Nn,r=null,i=null,n=null,a=null,s=null,l={};function o(){l={}}function c(E){return E.constructor===Array||E.constructor===Float32Array}function u(E,C){return E==="number"||C instanceof Number||E==="boolean"||E==="string"}function f(E){var C=typeof E;if(C==="number"||E instanceof Number||C==="boolean")return-E;if(c(E)){var R,W=E.length,F=[];for(R=0;RR){var W=R;R=C,C=W}return e.min(e.max(E,C),R)}function L(E){return E/Pe}var G=L;function z(E){return E*Pe}var $=L,O=[0,0,0,0,0,0];function N(E,C){if(typeof E=="number"||E instanceof Number)return C=C||0,e.abs(E-C);C||(C=O);var R,W=e.min(E.length,C.length),F=0;for(R=0;R.5?Z/(2-F-J):Z/(F+J),F){case C:Q=(R-W)/Z+(R1&&(R-=1),R<1/6?E+(C-E)*6*R:R<1/2?C:R<2/3?E+(C-E)*(2/3-R)*6:E}function V(E){var C=E[0],R=E[1],W=E[2],F,J,Q;if(R===0)F=W,Q=W,J=W;else{var rt=W<.5?W*(1+R):W+R-W*R,_t=2*W-rt;F=I(_t,rt,C+1/3),J=I(_t,rt,C),Q=I(_t,rt,C-1/3)}return[F,J,Q,E[3]]}function j(E,C,R,W,F){if((W===void 0||F===void 0)&&(W=C,F=R,C=0,R=1),R=R)return F;var Q=R===C?0:(E-C)/(R-C);if(!W.length)return W+(F-W)*Q;var rt,_t=W.length,Z=ie("float32",_t);for(rt=0;rt<_t;rt+=1)Z[rt]=W[rt]+(F[rt]-W[rt])*Q;return Z}function nt(E,C){if(C===void 0&&(E===void 0?(E=0,C=1):(C=E,E=void 0)),C.length){var R,W=C.length;E||(E=ie("float32",W));var F=ie("float32",W),J=Nn.random();for(R=0;R1){for(ht=0;ht1?Y=1:Y<0&&(Y=0);var Tn=tt(Y);if(c(mt)){var Be,zi=mt.length,Li=ie("float32",zi);for(Be=0;BeC.k[Y].t&&ttC.k[Y+1].t-tt?(ht=Y+2,mt=C.k[Y+1].t):(ht=Y+1,mt=C.k[Y].t);break}ht===-1&&(ht=Y+1,mt=C.k[Y].t)}var _e={};return _e.index=ht,_e.time=mt/E.comp.globalData.frameRate,_e}function hf(tt){var Y,St,ht;if(!C.k.length||typeof C.k[0]=="number")throw new Error("The property has no keyframe at index "+tt);tt-=1,Y={time:C.k[tt].t/E.comp.globalData.frameRate,value:[]};var mt=Object.prototype.hasOwnProperty.call(C.k[tt],"s")?C.k[tt].s:C.k[tt-1].e;for(ht=mt.length,St=0;Stk.length-1)&&(y=k.length-1),x=k[k.length-1-y].t,p=d-x);var b,v,S;if(h==="pingpong"){var _=Math.floor((m-x)/p);if(_%2!==0)return this.getValueAtTime((p-(m-x)%p+x)/this.comp.globalData.frameRate,0)}else if(h==="offset"){var w=this.getValueAtTime(x/this.comp.globalData.frameRate,0),P=this.getValueAtTime(d/this.comp.globalData.frameRate,0),M=this.getValueAtTime(((m-x)%p+x)/this.comp.globalData.frameRate,0),L=Math.floor((m-x)/p);if(this.pv.length){for(S=new Array(w.length),v=S.length,b=0;b=d)return this.pv;var p,x;g?(y?p=Math.abs(this.elem.comp.globalData.frameRate*y):p=Math.max(0,this.elem.data.op-d),x=d+p):((!y||y>k.length-1)&&(y=k.length-1),x=k[y].t,p=x-d);var b,v,S;if(h==="pingpong"){var _=Math.floor((d-m)/p);if(_%2===0)return this.getValueAtTime(((d-m)%p+d)/this.comp.globalData.frameRate,0)}else if(h==="offset"){var w=this.getValueAtTime(d/this.comp.globalData.frameRate,0),P=this.getValueAtTime(x/this.comp.globalData.frameRate,0),M=this.getValueAtTime((p-(d-m)%p+d)/this.comp.globalData.frameRate,0),L=Math.floor((d-m)/p)+1;if(this.pv.length){for(S=new Array(w.length),v=S.length,b=0;b1?(k-m)/(y-1):1,p=0,x=0,b;this.pv.length?b=ie("float32",this.pv.length):b=0;for(var v;pd){var S=p,_=g.c&&p===x-1?0:p+1,w=(d-b)/k[p].addedLength;v=vn.getPointInSegment(g.v[S],g.v[_],g.o[S],g.i[_],w,k[p]);break}else b+=k[p].addedLength;p+=1}return v||(v=g.c?[g.v[0][0],g.v[0][1]]:[g.v[g._length-1][0],g.v[g._length-1][1]]),v},vectorOnPath:function(h,y,g){h==1?h=this.v.c:h==0&&(h=.999);var m=this.pointOnPath(h,y),k=this.pointOnPath(h+.001,y),d=k[0]-m[0],p=k[1]-m[1],x=Math.sqrt(Math.pow(d,2)+Math.pow(p,2));if(x===0)return[0,0];var b=g==="tangent"?[d/x,p/x]:[-p/x,d/x];return b},tangentOnPath:function(h,y){return this.vectorOnPath(h,y,"tangent")},normalOnPath:function(h,y){return this.vectorOnPath(h,y,"normal")},setGroupProperty:Vi.setGroupProperty,getValueAtTime:Vi.getStaticValueAtTime},Qt([u],o),Qt([u],c),c.prototype.getValueAtTime=l,c.prototype.initiateExpression=ug.initiateExpression;var f=ba.getShapeProp;ba.getShapeProp=function(h,y,g,m,k){var d=f(h,y,g,m,k);return d.propertyIndex=y.ix,d.lock=!1,g===3?Vi.searchExpressions(h,y.pt,d):g===4&&Vi.searchExpressions(h,y.ks,d),d.k&&h.addDynamicProperty(d),d}}function Y$(){X$()}function hg(){}hg.prototype={createMergeNode:(t,e)=>{var r=yt("feMerge");r.setAttribute("result",t);var i,n;for(n=0;n=c?f=g<0?i:n:f=i+y*Math.pow((l-t)/g,1/r),u[h]=f,h+=1,a+=256/(s-1);return u.join(" ")};id.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function fg(t,e,r,i,n){var a=e.container.globalData.renderConfig.filterSize,s=e.data.fs||a;t.setAttribute("x",s.x||a.x),t.setAttribute("y",s.y||a.y),t.setAttribute("width",s.width||a.width),t.setAttribute("height",s.height||a.height),this.filterManager=e;var l=yt("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",i+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,t.appendChild(l);var o=yt("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in",i+"_drop_shadow_1"),o.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=o,t.appendChild(o);var c=yt("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var u=yt("feComposite");u.setAttribute("in",i+"_drop_shadow_3"),u.setAttribute("in2",i+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(u);var f=this.createMergeNode(i,[i+"_drop_shadow_4",n]);t.appendChild(f)}Qt([hg],fg);fg.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",BT(Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*Pe,n=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var y1=[];function h0(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=yt("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}h0.prototype.findSymbol=function(t){for(var e=0,r=y1.length;ee in t?J$(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,It=(t,e)=>{for(var r in e||(e={}))Dk.call(e,r)&&Bx(t,r,e[r]);if(np)for(var r of np(e))Tk.call(e,r)&&Bx(t,r,e[r]);return t},p0=(t,e)=>Q$(t,tI(e)),$k=(t,e)=>{var r={};for(var i in t)Dk.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&np)for(var i of np(t))e.indexOf(i)<0&&Tk.call(t,i)&&(r[i]=t[i]);return r};const eI={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Ik(t){return t.startsWith("#")?t.length===4?`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`:t:eI[t.toLowerCase()]||"#000000"}function Mk(t){return!t||typeof t!="string"?void 0:t.split(",").filter(e=>e).map(e=>e.split(":")).filter(e=>e.length==2).reduce((e,r)=>{const i=r[0];return e[i.toLowerCase()]=Ik(r[1]),e},{})}function zx(t,e,r){let i=t;const n=Array.isArray(e)?e:e.split(".");for(let a=0;a"u")};t.isExist=function(l){return typeof l<"u"},t.isEmptyObject=function(l){return Object.keys(l).length===0},t.merge=function(l,o,c){if(o){const u=Object.keys(o),f=u.length;for(let h=0;h"&&d[S]!==" "&&d[S]!==" "&&d[S]!==` `&&d[S]!=="\r";S++)P+=d[S];if(P=P.trim(),P[P.length-1]==="/"&&(P=P.substring(0,P.length-1),S--),!g(P)){let G;return P.trim().length===0?G="Invalid space after '<'.":G="Tag '"+P+"' is an invalid name.",h("InvalidTag",G,m(d,S))}const M=l(d,S);if(M===!1)return h("InvalidAttr","Attributes for '"+P+"' have open quote.",m(d,S));let L=M.value;if(S=M.index,L[L.length-1]==="/"){const G=S-L.length;L=L.substring(0,L.length-1);const z=c(L,p);if(z===!0)b=!0;else return h(z.err.code,z.err.msg,m(d,G+z.err.line))}else if(w)if(M.tagClosed){if(L.trim().length>0)return h("InvalidTag","Closing tag '"+P+"' can't have attributes or invalid starting.",m(d,_));if(x.length===0)return h("InvalidTag","Closing tag '"+P+"' has not been opened.",m(d,_));{const G=x.pop();if(P!==G.tagName){let z=m(d,G.tagStartPos);return h("InvalidTag","Expected closing tag '"+G.tagName+"' (opened in line "+z.line+", col "+z.col+") instead of closing tag '"+P+"'.",m(d,_))}x.length==0&&(v=!0)}}else return h("InvalidTag","Closing tag '"+P+"' doesn't have proper closing.",m(d,S));else{const G=c(L,p);if(G!==!0)return h(G.err.code,G.err.msg,m(d,S-L.length+G.err.line));if(v===!0)return h("InvalidXml","Multiple possible root nodes found.",m(d,S));p.unpairedTags.indexOf(P)!==-1||x.push({tagName:P,tagStartPos:_}),b=!0}for(S++;S0)return h("InvalidXml","Invalid '"+JSON.stringify(x.map(S=>S.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return h("InvalidXml","Start tag expected.",1);return!0};function r(d){return d===" "||d===" "||d===` `||d==="\r"}function i(d,p){const x=p;for(;p5&&b==="xml")return h("InvalidXml","XML declaration allowed only at the start of the document.",m(d,p));if(d[p]=="?"&&d[p+1]==">"){p++;break}else continue}return p}function n(d,p){if(d.length>p+5&&d[p+1]==="-"&&d[p+2]==="-"){for(p+=3;p"){p+=2;break}}else if(d.length>p+8&&d[p+1]==="D"&&d[p+2]==="O"&&d[p+3]==="C"&&d[p+4]==="T"&&d[p+5]==="Y"&&d[p+6]==="P"&&d[p+7]==="E"){let x=1;for(p+=8;p"&&(x--,x===0))break}else if(d.length>p+9&&d[p+1]==="["&&d[p+2]==="C"&&d[p+3]==="D"&&d[p+4]==="A"&&d[p+5]==="T"&&d[p+6]==="A"&&d[p+7]==="["){for(p+=8;p"){p+=2;break}}return p}const a='"',s="'";function l(d,p){let x="",b="",v=!1;for(;p"&&b===""){v=!0;break}x+=d[p]}return b!==""?!1:{value:x,index:p,tagClosed:v}}const o=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function c(d,p){const x=t.getAllMatches(d,o),b={};for(let v=0;v!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(r,i,n){return r}},e=function(r){return Object.assign({},t,r)};return Rh.buildOptions=e,Rh.defaultOptions=t,Rh}var Ff,Gx;function iI(){if(Gx)return Ff;Gx=1;class t{constructor(r){this.tagname=r,this.child=[],this[":@"]={}}add(r,i){r==="__proto__"&&(r="#__proto__"),this.child.push({[r]:i})}addChild(r){r.tagname==="__proto__"&&(r.tagname="#__proto__"),r[":@"]&&Object.keys(r[":@"]).length>0?this.child.push({[r.tagname]:r.child,":@":r[":@"]}):this.child.push({[r.tagname]:r.child})}}return Ff=t,Ff}var Rf,Fx;function nI(){if(Fx)return Rf;Fx=1;const t=gg();function e(c,u){const f={};if(c[u+3]==="O"&&c[u+4]==="C"&&c[u+5]==="T"&&c[u+6]==="Y"&&c[u+7]==="P"&&c[u+8]==="E"){u=u+9;let h=1,y=!1,g=!1,m="";for(;u"){if(g?c[u-1]==="-"&&c[u-2]==="-"&&(g=!1,h--):h--,h===0)break}else c[u]==="["?y=!0:m+=c[u];if(h!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:f,i:u}}function r(c,u){let f="";for(;u0&&u&&o[2]!=="."||!l.leadingZeros&&f.length>0&&!u&&o[1]!==".")return s;if(l.leadingZeros&&f===s)return 0;{const y=Number(o),g=""+y;return g.search(/[eE]/)!==-1?l.eNotation?y:s:o.indexOf(".")!==-1?g==="0"&&h===""||g===h||u&&g==="-"+h?y:s:f?h===g||u+h===g?y:s:o===g||o===u+g?y:s}}else return s}}function n(s){return s&&s.indexOf(".")!==-1&&(s=s.replace(/0+$/,""),s==="."?s="0":s[0]==="."?s="0"+s:s[s.length-1]==="."&&(s=s.substr(0,s.length-1))),s}function a(s,l){if(parseInt)return parseInt(s,l);if(Number.parseInt)return Number.parseInt(s,l);if(window&&window.parseInt)return window.parseInt(s,l);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}return jf=i,jf}var qf,jx;function zk(){if(jx)return qf;jx=1;function t(e){return typeof e=="function"?e:Array.isArray(e)?r=>{for(const i of e)if(typeof i=="string"&&r===i||i instanceof RegExp&&i.test(r))return!0}:()=>!1}return qf=t,qf}var Uf,qx;function sI(){if(qx)return Uf;qx=1;const t=gg(),e=iI(),r=nI(),i=aI(),n=zk();class a{constructor(S){this.options=S,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(_,w)=>String.fromCharCode(Number.parseInt(w,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(_,w)=>String.fromCharCode(Number.parseInt(w,16))}},this.addExternalEntities=s,this.parseXml=f,this.parseTextData=l,this.resolveNameSpace=o,this.buildAttributesMap=u,this.isItStopNode=m,this.replaceEntitiesValue=y,this.readStopNodeData=x,this.saveTextToParentTag=g,this.addChild=h,this.ignoreAttributesFn=n(this.options.ignoreAttributes)}}function s(v){const S=Object.keys(v);for(let _=0;_0)){L||(v=this.replaceEntitiesValue(v));const G=this.options.tagValueProcessor(S,v,_,P,M);return G==null?v:typeof G!=typeof v||G!==v?G:this.options.trimValues?b(v,this.options.parseTagValue,this.options.numberParseOptions):v.trim()===v?b(v,this.options.parseTagValue,this.options.numberParseOptions):v}}function o(v){if(this.options.removeNSPrefix){const S=v.split(":"),_=v.charAt(0)==="/"?"/":"";if(S[0]==="xmlns")return"";S.length===2&&(v=_+S[1])}return v}const c=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function u(v,S,_){if(this.options.ignoreAttributes!==!0&&typeof v=="string"){const w=t.getAllMatches(v,c),P=w.length,M={};for(let L=0;L",M,"Closing Tag is not closed.");let G=v.substring(M+2,L).trim();if(this.options.removeNSPrefix){const O=G.indexOf(":");O!==-1&&(G=G.substr(O+1))}this.options.transformTagName&&(G=this.options.transformTagName(G)),_&&(w=this.saveTextToParentTag(w,_,P));const z=P.substring(P.lastIndexOf(".")+1);if(G&&this.options.unpairedTags.indexOf(G)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let $=0;z&&this.options.unpairedTags.indexOf(z)!==-1?($=P.lastIndexOf(".",P.lastIndexOf(".")-1),this.tagsNodeStack.pop()):$=P.lastIndexOf("."),P=P.substring(0,$),_=this.tagsNodeStack.pop(),w="",M=L}else if(v[M+1]==="?"){let L=p(v,M,!1,"?>");if(!L)throw new Error("Pi Tag is not closed.");if(w=this.saveTextToParentTag(w,_,P),!(this.options.ignoreDeclaration&&L.tagName==="?xml"||this.options.ignorePiTags)){const G=new e(L.tagName);G.add(this.options.textNodeName,""),L.tagName!==L.tagExp&&L.attrExpPresent&&(G[":@"]=this.buildAttributesMap(L.tagExp,P,L.tagName)),this.addChild(_,G,P)}M=L.closeIndex+1}else if(v.substr(M+1,3)==="!--"){const L=d(v,"-->",M+4,"Comment is not closed.");if(this.options.commentPropName){const G=v.substring(M+4,L-2);w=this.saveTextToParentTag(w,_,P),_.add(this.options.commentPropName,[{[this.options.textNodeName]:G}])}M=L}else if(v.substr(M+1,2)==="!D"){const L=r(v,M);this.docTypeEntities=L.entities,M=L.i}else if(v.substr(M+1,2)==="!["){const L=d(v,"]]>",M,"CDATA is not closed.")-2,G=v.substring(M+9,L);w=this.saveTextToParentTag(w,_,P);let z=this.parseTextData(G,_.tagname,P,!0,!1,!0,!0);z==null&&(z=""),this.options.cdataPropName?_.add(this.options.cdataPropName,[{[this.options.textNodeName]:G}]):_.add(this.options.textNodeName,z),M=L+2}else{let L=p(v,M,this.options.removeNSPrefix),G=L.tagName;const z=L.rawTagName;let $=L.tagExp,O=L.attrExpPresent,N=L.closeIndex;this.options.transformTagName&&(G=this.options.transformTagName(G)),_&&w&&_.tagname!=="!xml"&&(w=this.saveTextToParentTag(w,_,P,!1));const B=_;if(B&&this.options.unpairedTags.indexOf(B.tagname)!==-1&&(_=this.tagsNodeStack.pop(),P=P.substring(0,P.lastIndexOf("."))),G!==S.tagname&&(P+=P?"."+G:G),this.isItStopNode(this.options.stopNodes,P,G)){let A="";if($.length>0&&$.lastIndexOf("/")===$.length-1)G[G.length-1]==="/"?(G=G.substr(0,G.length-1),P=P.substr(0,P.length-1),$=G):$=$.substr(0,$.length-1),M=L.closeIndex;else if(this.options.unpairedTags.indexOf(G)!==-1)M=L.closeIndex;else{const V=this.readStopNodeData(v,z,N+1);if(!V)throw new Error(`Unexpected end of ${z}`);M=V.i,A=V.tagContent}const I=new e(G);G!==$&&O&&(I[":@"]=this.buildAttributesMap($,P,G)),A&&(A=this.parseTextData(A,G,P,!0,O,!0,!0)),P=P.substr(0,P.lastIndexOf(".")),I.add(this.options.textNodeName,A),this.addChild(_,I,P)}else{if($.length>0&&$.lastIndexOf("/")===$.length-1){G[G.length-1]==="/"?(G=G.substr(0,G.length-1),P=P.substr(0,P.length-1),$=G):$=$.substr(0,$.length-1),this.options.transformTagName&&(G=this.options.transformTagName(G));const A=new e(G);G!==$&&O&&(A[":@"]=this.buildAttributesMap($,P,G)),this.addChild(_,A,P),P=P.substr(0,P.lastIndexOf("."))}else{const A=new e(G);this.tagsNodeStack.push(_),G!==$&&O&&(A[":@"]=this.buildAttributesMap($,P,G)),this.addChild(_,A,P),_=A}w="",M=N}}else w+=v[M];return S.child};function h(v,S,_){const w=this.options.updateTag(S.tagname,_,S[":@"]);w===!1||(typeof w=="string"&&(S.tagname=w),v.addChild(S))}const y=function(v){if(this.options.processEntities){for(let S in this.docTypeEntities){const _=this.docTypeEntities[S];v=v.replace(_.regx,_.val)}for(let S in this.lastEntities){const _=this.lastEntities[S];v=v.replace(_.regex,_.val)}if(this.options.htmlEntities)for(let S in this.htmlEntities){const _=this.htmlEntities[S];v=v.replace(_.regex,_.val)}v=v.replace(this.ampEntity.regex,this.ampEntity.val)}return v};function g(v,S,_,w){return v&&(w===void 0&&(w=S.child.length===0),v=this.parseTextData(v,S.tagname,_,!1,S[":@"]?Object.keys(S[":@"]).length!==0:!1,w),v!==void 0&&v!==""&&S.add(this.options.textNodeName,v),v=""),v}function m(v,S,_){const w="*."+_;for(const P in v){const M=v[P];if(w===M||S===M)return!0}return!1}function k(v,S,_=">"){let w,P="";for(let M=S;M",_,`${S} is not closed`);if(v.substring(_+2,M).trim()===S&&(P--,P===0))return{tagContent:v.substring(w,_),i:M};_=M}else if(v[_+1]==="?")_=d(v,"?>",_+1,"StopNode is not closed.");else if(v.substr(_+1,3)==="!--")_=d(v,"-->",_+3,"StopNode is not closed.");else if(v.substr(_+1,2)==="![")_=d(v,"]]>",_,"StopNode is not closed.")-2;else{const M=p(v,_,">");M&&((M&&M.tagName)===S&&M.tagExp[M.tagExp.length-1]!=="/"&&P++,_=M.closeIndex)}}function b(v,S,_){if(S&&typeof v=="string"){const w=v.trim();return w==="true"?!0:w==="false"?!1:i(v,_)}else return t.isExist(v)?v:""}return Uf=a,Uf}var Hf={},Ux;function oI(){if(Ux)return Hf;Ux=1;function t(a,s){return e(a,s)}function e(a,s,l){let o;const c={};for(let u=0;u0&&(c[s.textNodeName]=o):o!==void 0&&(c[s.textNodeName]=o),c}function r(a){const s=Object.keys(a);for(let l=0;l0&&(c=t),r(l,o,"",c)}function r(l,o,c,u){let f="",h=!1;for(let y=0;y`,h=!1;continue}else if(m===o.commentPropName){f+=u+``,h=!0;continue}else if(m[0]==="?"){const v=n(g[":@"],o),S=m==="?xml"?"":u;let _=g[m][0][o.textNodeName];_=_.length!==0?" "+_:"",f+=S+`<${m}${_}${v}?>`,h=!0;continue}let d=u;d!==""&&(d+=o.indentBy);const p=n(g[":@"],o),x=u+`<${m}${p}`,b=r(g[m],o,k,d);o.unpairedTags.indexOf(m)!==-1?o.suppressUnpairedNode?f+=x+">":f+=x+"/>":(!b||b.length===0)&&o.suppressEmptyNode?f+=x+"/>":b&&b.endsWith(">")?f+=x+`>${b}${u}`:(f+=x+">",b&&u!==""&&(b.includes("/>")||b.includes("`),h=!0}return f}function i(l){const o=Object.keys(l);for(let c=0;c0&&o.processEntities)for(let c=0;c","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function i(l){this.options=Object.assign({},r,l),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=e(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=s),this.processTextOrObjNode=n,this.options.format?(this.indentate=a,this.tagEndChar=`> `,this.newLine=` `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}i.prototype.build=function(l){return this.options.preserveOrder?t(l,this.options):(Array.isArray(l)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(l={[this.options.arrayNodeName]:l}),this.j2x(l,0,[]).val)},i.prototype.j2x=function(l,o,c){let u="",f="";const h=c.join(".");for(let y in l)if(Object.prototype.hasOwnProperty.call(l,y))if(typeof l[y]>"u")this.isAttribute(y)&&(f+="");else if(l[y]===null)this.isAttribute(y)||y===this.options.cdataPropName?f+="":y[0]==="?"?f+=this.indentate(o)+"<"+y+"?"+this.tagEndChar:f+=this.indentate(o)+"<"+y+"/"+this.tagEndChar;else if(l[y]instanceof Date)f+=this.buildTextValNode(l[y],y,"",o);else if(typeof l[y]!="object"){const g=this.isAttribute(y);if(g&&!this.ignoreAttributesFn(g,h))u+=this.buildAttrPairStr(g,""+l[y]);else if(!g)if(y===this.options.textNodeName){let m=this.options.tagValueProcessor(y,""+l[y]);f+=this.replaceEntitiesValue(m)}else f+=this.buildTextValNode(l[y],y,"",o)}else if(Array.isArray(l[y])){const g=l[y].length;let m="",k="";for(let d=0;d"+l+f:this.options.commentPropName!==!1&&o===this.options.commentPropName&&h.length===0?this.indentate(u)+``+this.newLine:this.indentate(u)+"<"+o+c+h+this.tagEndChar+l+this.indentate(u)+f}},i.prototype.closeTag=function(l){let o="";return this.options.unpairedTags.indexOf(l)!==-1?this.options.suppressUnpairedNode||(o="/"):this.options.suppressEmptyNode?o="/":o=`>`+this.newLine;if(this.options.commentPropName!==!1&&o===this.options.commentPropName)return this.indentate(u)+``+this.newLine;if(o[0]==="?")return this.indentate(u)+"<"+o+c+"?"+this.tagEndChar;{let f=this.options.tagValueProcessor(o,l);return f=this.replaceEntitiesValue(f),f===""?this.indentate(u)+"<"+o+c+this.closeTag(o)+this.tagEndChar:this.indentate(u)+"<"+o+c+">"+f+"0&&this.options.processEntities)for(let o=0;o{let e="",r=t|0;for(;r--;)e+=pI[Math.random()*64|0];return e};var Dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fI(t){var e=t.default;if(typeof e=="function"){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}),r}var Lk={},Ok={};(function(t){(function(e){e.parser=function(D,T){return new i(D,T)},e.SAXParser=i,e.MAX_BUFFER_LENGTH=64*1024;var r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function i(D,T){if(!(this instanceof i))return new i(D,T);var E=this;a(E),E.q=E.c="",E.bufferCheckPosition=e.MAX_BUFFER_LENGTH,E.opt=T||{},E.opt.lowercase=E.opt.lowercase||E.opt.lowercasetags,E.looseCase=E.opt.lowercase?"toLowerCase":"toUpperCase",E.tags=[],E.closed=E.closedRoot=E.sawRoot=!1,E.tag=E.error=null,E.strict=!!D,E.noscript=!!(D||E.opt.noscript),E.state=v.BEGIN,E.strictEntities=E.opt.strictEntities,E.ENTITIES=E.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),E.attribList=[],E.opt.xmlns&&(E.ns=Object.create(f)),E.trackPosition=E.opt.position!==!1,E.trackPosition&&(E.position=E.line=E.column=0),_(E,"onready")}Object.create||(Object.create=function(D){function T(){}T.prototype=D;var E=new T;return E}),Object.keys||(Object.keys=function(D){var T=[];for(var E in D)D.hasOwnProperty(E)&&T.push(E);return T});function n(D){for(var T=Math.max(e.MAX_BUFFER_LENGTH,10),E=0,C=0,R=r.length;CT)switch(r[C]){case"textNode":P(D);break;case"cdata":w(D,"oncdata",D.cdata),D.cdata="";break;case"script":w(D,"onscript",D.script),D.script="";break;default:L(D,"Max buffer length exceeded: "+r[C])}E=Math.max(E,W)}var F=e.MAX_BUFFER_LENGTH-E;D.bufferCheckPosition=F+D.position}function a(D){for(var T=0,E=r.length;T"||k(D)}function x(D,T){return D.test(T)}function b(D,T){return!x(D,T)}var v=0;e.STATE={BEGIN:v++,BEGIN_WHITESPACE:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++,ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(D){var T=e.ENTITIES[D],E=typeof T=="number"?String.fromCharCode(T):T;e.ENTITIES[D]=E});for(var S in e.STATE)e.STATE[e.STATE[S]]=S;v=e.STATE;function _(D,T,E){D[T]&&D[T](E)}function w(D,T,E){D.textNode&&P(D),_(D,T,E)}function P(D){D.textNode=M(D.opt,D.textNode),D.textNode&&_(D,"ontext",D.textNode),D.textNode=""}function M(D,T){return D.trim&&(T=T.trim()),D.normalize&&(T=T.replace(/\s+/g," ")),T}function L(D,T){P(D);const E=T+` Line: `+D.line+` Column: `+D.column+` Char: `+D.c,C=new Error(E);return C.reason=T,C.line=D.line,C.column=D.column,D.error=C,_(D,"onerror",C),D}function G(D){return D.sawRoot&&!D.closedRoot&&z(D,"Unclosed root tag"),D.state!==v.BEGIN&&D.state!==v.BEGIN_WHITESPACE&&D.state!==v.TEXT&&L(D,"Unexpected end"),P(D),D.c="",D.closed=!0,_(D,"onend"),i.call(D,D.strict,D.opt),D}function z(D,T){if(typeof D!="object"||!(D instanceof i))throw new Error("bad call to strictFail");D.strict&&L(D,T)}function $(D){D.strict||(D.tagName=D.tagName[D.looseCase]());var T=D.tags[D.tags.length-1]||D,E=D.tag={name:D.tagName,attributes:{}};D.opt.xmlns&&(E.ns=T.ns),D.attribList.length=0,w(D,"onopentagstart",E)}function O(D,T){var E=D.indexOf(":"),C=E<0?["",D]:D.split(":"),R=C[0],W=C[1];return T&&D==="xmlns"&&(R="xmlns",W=""),{prefix:R,local:W}}function N(D){if(D.strict||(D.attribName=D.attribName[D.looseCase]()),D.attribList.indexOf(D.attribName)!==-1||D.tag.attributes.hasOwnProperty(D.attribName)){D.attribName=D.attribValue="";return}if(D.opt.xmlns){var T=O(D.attribName,!0),E=T.prefix,C=T.local;if(E==="xmlns")if(C==="xml"&&D.attribValue!==c)z(D,"xml: prefix must be bound to "+c+` Actual: `+D.attribValue);else if(C==="xmlns"&&D.attribValue!==u)z(D,"xmlns: prefix must be bound to "+u+` Actual: `+D.attribValue);else{var R=D.tag,W=D.tags[D.tags.length-1]||D;R.ns===W.ns&&(R.ns=Object.create(W.ns)),R.ns[C]=D.attribValue}D.attribList.push([D.attribName,D.attribValue])}else D.tag.attributes[D.attribName]=D.attribValue,w(D,"onattribute",{name:D.attribName,value:D.attribValue});D.attribName=D.attribValue=""}function B(D,T){if(D.opt.xmlns){var E=D.tag,C=O(D.tagName);E.prefix=C.prefix,E.local=C.local,E.uri=E.ns[C.prefix]||"",E.prefix&&!E.uri&&(z(D,"Unbound namespace prefix: "+JSON.stringify(D.tagName)),E.uri=C.prefix);var R=D.tags[D.tags.length-1]||D;E.ns&&R.ns!==E.ns&&Object.keys(E.ns).forEach(function(We){w(D,"onopennamespace",{prefix:We,uri:E.ns[We]})});for(var W=0,F=D.attribList.length;W",D.tagName="",D.state=v.SCRIPT;return}w(D,"onscript",D.script),D.script=""}var T=D.tags.length,E=D.tagName;D.strict||(E=E[D.looseCase]());for(var C=E;T--;){var R=D.tags[T];if(R.name!==C)z(D,"Unexpected close tag");else break}if(T<0){z(D,"Unmatched closing tag: "+D.tagName),D.textNode+="",D.state=v.TEXT;return}D.tagName=E;for(var W=D.tags.length;W-- >T;){var F=D.tag=D.tags.pop();D.tagName=D.tag.name,w(D,"onclosetag",D.tagName);var J={};for(var Q in F.ns)J[Q]=F.ns[Q];var rt=D.tags[D.tags.length-1]||D;D.opt.xmlns&&F.ns!==rt.ns&&Object.keys(F.ns).forEach(function(_t){var Z=F.ns[_t];w(D,"onclosenamespace",{prefix:_t,uri:Z})})}T===0&&(D.closedRoot=!0),D.tagName=D.attribValue=D.attribName="",D.attribList.length=0,D.state=v.TEXT}function I(D){var T=D.entity,E=T.toLowerCase(),C,R="";return D.ENTITIES[T]?D.ENTITIES[T]:D.ENTITIES[E]?D.ENTITIES[E]:(T=E,T.charAt(0)==="#"&&(T.charAt(1)==="x"?(T=T.slice(2),C=parseInt(T,16),R=C.toString(16)):(T=T.slice(1),C=parseInt(T,10),R=C.toString(10))),T=T.replace(/^0+/,""),isNaN(C)||R.toLowerCase()!==T?(z(D,"Invalid character entity"),"&"+D.entity+";"):String.fromCodePoint(C))}function V(D,T){T==="<"?(D.state=v.OPEN_WAKA,D.startTagPosition=D.position):k(T)||(z(D,"Non-whitespace before first tag."),D.textNode=T,D.state=v.TEXT)}function j(D,T){var E="";return T"?(w(T,"onsgmldeclaration",T.sgmlDecl),T.sgmlDecl="",T.state=v.TEXT):(d(C)&&(T.state=v.SGML_DECL_QUOTED),T.sgmlDecl+=C);continue;case v.SGML_DECL_QUOTED:C===T.q&&(T.state=v.SGML_DECL,T.q=""),T.sgmlDecl+=C;continue;case v.DOCTYPE:C===">"?(T.state=v.TEXT,w(T,"ondoctype",T.doctype),T.doctype=!0):(T.doctype+=C,C==="["?T.state=v.DOCTYPE_DTD:d(C)&&(T.state=v.DOCTYPE_QUOTED,T.q=C));continue;case v.DOCTYPE_QUOTED:T.doctype+=C,C===T.q&&(T.q="",T.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:T.doctype+=C,C==="]"?T.state=v.DOCTYPE:d(C)&&(T.state=v.DOCTYPE_DTD_QUOTED,T.q=C);continue;case v.DOCTYPE_DTD_QUOTED:T.doctype+=C,C===T.q&&(T.state=v.DOCTYPE_DTD,T.q="");continue;case v.COMMENT:C==="-"?T.state=v.COMMENT_ENDING:T.comment+=C;continue;case v.COMMENT_ENDING:C==="-"?(T.state=v.COMMENT_ENDED,T.comment=M(T.opt,T.comment),T.comment&&w(T,"oncomment",T.comment),T.comment=""):(T.comment+="-"+C,T.state=v.COMMENT);continue;case v.COMMENT_ENDED:C!==">"?(z(T,"Malformed comment"),T.comment+="--"+C,T.state=v.COMMENT):T.state=v.TEXT;continue;case v.CDATA:C==="]"?T.state=v.CDATA_ENDING:T.cdata+=C;continue;case v.CDATA_ENDING:C==="]"?T.state=v.CDATA_ENDING_2:(T.cdata+="]"+C,T.state=v.CDATA);continue;case v.CDATA_ENDING_2:C===">"?(T.cdata&&w(T,"oncdata",T.cdata),w(T,"onclosecdata"),T.cdata="",T.state=v.TEXT):C==="]"?T.cdata+="]":(T.cdata+="]]"+C,T.state=v.CDATA);continue;case v.PROC_INST:C==="?"?T.state=v.PROC_INST_ENDING:k(C)?T.state=v.PROC_INST_BODY:T.procInstName+=C;continue;case v.PROC_INST_BODY:if(!T.procInstBody&&k(C))continue;C==="?"?T.state=v.PROC_INST_ENDING:T.procInstBody+=C;continue;case v.PROC_INST_ENDING:C===">"?(w(T,"onprocessinginstruction",{name:T.procInstName,body:T.procInstBody}),T.procInstName=T.procInstBody="",T.state=v.TEXT):(T.procInstBody+="?"+C,T.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:x(y,C)?T.tagName+=C:($(T),C===">"?B(T):C==="/"?T.state=v.OPEN_TAG_SLASH:(k(C)||z(T,"Invalid character in tag name"),T.state=v.ATTRIB));continue;case v.OPEN_TAG_SLASH:C===">"?(B(T,!0),A(T)):(z(T,"Forward-slash in opening tag not followed by >"),T.state=v.ATTRIB);continue;case v.ATTRIB:if(k(C))continue;C===">"?B(T):C==="/"?T.state=v.OPEN_TAG_SLASH:x(h,C)?(T.attribName=C,T.attribValue="",T.state=v.ATTRIB_NAME):z(T,"Invalid attribute name");continue;case v.ATTRIB_NAME:C==="="?T.state=v.ATTRIB_VALUE:C===">"?(z(T,"Attribute without value"),T.attribValue=T.attribName,N(T),B(T)):k(C)?T.state=v.ATTRIB_NAME_SAW_WHITE:x(y,C)?T.attribName+=C:z(T,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if(C==="=")T.state=v.ATTRIB_VALUE;else{if(k(C))continue;z(T,"Attribute without value"),T.tag.attributes[T.attribName]="",T.attribValue="",w(T,"onattribute",{name:T.attribName,value:""}),T.attribName="",C===">"?B(T):x(h,C)?(T.attribName=C,T.state=v.ATTRIB_NAME):(z(T,"Invalid attribute name"),T.state=v.ATTRIB)}continue;case v.ATTRIB_VALUE:if(k(C))continue;d(C)?(T.q=C,T.state=v.ATTRIB_VALUE_QUOTED):(z(T,"Unquoted attribute value"),T.state=v.ATTRIB_VALUE_UNQUOTED,T.attribValue=C);continue;case v.ATTRIB_VALUE_QUOTED:if(C!==T.q){C==="&"?T.state=v.ATTRIB_VALUE_ENTITY_Q:T.attribValue+=C;continue}N(T),T.q="",T.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:k(C)?T.state=v.ATTRIB:C===">"?B(T):C==="/"?T.state=v.OPEN_TAG_SLASH:x(h,C)?(z(T,"No whitespace between attributes"),T.attribName=C,T.attribValue="",T.state=v.ATTRIB_NAME):z(T,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(!p(C)){C==="&"?T.state=v.ATTRIB_VALUE_ENTITY_U:T.attribValue+=C;continue}N(T),C===">"?B(T):T.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(T.tagName)C===">"?A(T):x(y,C)?T.tagName+=C:T.script?(T.script+=""?A(T):z(T,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:var F,J;switch(T.state){case v.TEXT_ENTITY:F=v.TEXT,J="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:F=v.ATTRIB_VALUE_QUOTED,J="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:F=v.ATTRIB_VALUE_UNQUOTED,J="attribValue";break}if(C===";"){var Q=I(T);T.state===v.TEXT_ENTITY&&!e.ENTITIES[T.entity]&&Q!=="&"+T.entity+";"?D=D.slice(0,E)+Q+D.slice(E):T[J]+=Q,T.entity="",T.state=F}else x(T.entity.length?m:g,C)?T.entity+=C:(z(T,"Invalid character in entity name"),T[J]+="&"+T.entity+C,T.entity="",T.state=F);continue;default:throw new Error(T,"Unknown state: "+T.state)}return T.position>=T.bufferCheckPosition&&n(T),T}})(t)})(Ok);var be={};(function(t){t.elemsGroups={animation:new Set(["animate","animateColor","animateMotion","animateTransform","set"]),descriptive:new Set(["desc","metadata","title"]),shape:new Set(["circle","ellipse","line","path","polygon","polyline","rect"]),structural:new Set(["defs","g","svg","symbol","use"]),paintServer:new Set(["hatch","linearGradient","meshGradient","pattern","radialGradient","solidColor"]),nonRendering:new Set(["clipPath","filter","linearGradient","marker","mask","pattern","radialGradient","solidColor","symbol"]),container:new Set(["a","defs","foreignObject","g","marker","mask","missing-glyph","pattern","svg","switch","symbol"]),textContent:new Set(["altGlyph","altGlyphDef","altGlyphItem","glyph","glyphRef","text","textPath","tref","tspan"]),textContentChild:new Set(["altGlyph","textPath","tref","tspan"]),lightSource:new Set(["feDiffuseLighting","feDistantLight","fePointLight","feSpecularLighting","feSpotLight"]),filterPrimitive:new Set(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence"])},t.textElems=new Set([...t.elemsGroups.textContent,"pre","title"]),t.pathElems=new Set(["glyph","missing-glyph","path"]),t.attrsGroups={animationAddition:new Set(["additive","accumulate"]),animationAttributeTarget:new Set(["attributeType","attributeName"]),animationEvent:new Set(["onbegin","onend","onrepeat","onload"]),animationTiming:new Set(["begin","dur","end","fill","max","min","repeatCount","repeatDur","restart"]),animationValue:new Set(["by","calcMode","from","keySplines","keyTimes","to","values"]),conditionalProcessing:new Set(["requiredExtensions","requiredFeatures","systemLanguage"]),core:new Set(["id","tabindex","xml:base","xml:lang","xml:space"]),graphicalEvent:new Set(["onactivate","onclick","onfocusin","onfocusout","onload","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup"]),presentation:new Set(["alignment-baseline","baseline-shift","clip-path","clip-rule","clip","color-interpolation-filters","color-interpolation","color-profile","color-rendering","color","cursor","direction","display","dominant-baseline","enable-background","fill-opacity","fill-rule","fill","filter","flood-color","flood-opacity","font-family","font-size-adjust","font-size","font-stretch","font-style","font-variant","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","stroke","text-anchor","text-decoration","text-overflow","text-rendering","transform-origin","transform","unicode-bidi","vector-effect","visibility","word-spacing","writing-mode"]),xlink:new Set(["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type"]),documentEvent:new Set(["onabort","onerror","onresize","onscroll","onunload","onzoom"]),documentElementEvent:new Set(["oncopy","oncut","onpaste"]),globalEvent:new Set(["oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncuechange","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onpause","onplay","onplaying","onprogress","onratechange","onreset","onresize","onscroll","onseeked","onseeking","onselect","onshow","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","onvolumechange","onwaiting"]),filterPrimitive:new Set(["x","y","width","height","result"]),transferFunction:new Set(["amplitude","exponent","intercept","offset","slope","tableValues","type"])},t.attrsGroupsDefaults={core:{"xml:space":"default"},presentation:{clip:"auto","clip-path":"none","clip-rule":"nonzero",mask:"none",opacity:"1","stop-color":"#000","stop-opacity":"1","fill-opacity":"1","fill-rule":"nonzero",fill:"#000",stroke:"none","stroke-width":"1","stroke-linecap":"butt","stroke-linejoin":"miter","stroke-miterlimit":"4","stroke-dasharray":"none","stroke-dashoffset":"0","stroke-opacity":"1","paint-order":"normal","vector-effect":"none",display:"inline",visibility:"visible","marker-start":"none","marker-mid":"none","marker-end":"none","color-interpolation":"sRGB","color-interpolation-filters":"linearRGB","color-rendering":"auto","shape-rendering":"auto","text-rendering":"auto","image-rendering":"auto","font-style":"normal","font-variant":"normal","font-weight":"normal","font-stretch":"normal","font-size":"medium","font-size-adjust":"none",kerning:"auto","letter-spacing":"normal","word-spacing":"normal","text-decoration":"none","text-anchor":"start","text-overflow":"clip","writing-mode":"lr-tb","glyph-orientation-vertical":"auto","glyph-orientation-horizontal":"0deg",direction:"ltr","unicode-bidi":"normal","dominant-baseline":"auto","alignment-baseline":"baseline","baseline-shift":"baseline"},transferFunction:{slope:"1",intercept:"0",amplitude:"1",exponent:"1",offset:"0"}},t.elems={a:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation","xlink"]),attrs:new Set(["class","externalResourcesRequired","style","target","transform"]),defaults:{target:"_self"},contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view","tspan"])},altGlyph:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation","xlink"]),attrs:new Set(["class","dx","dy","externalResourcesRequired","format","glyphRef","rotate","style","x","y"])},altGlyphDef:{attrsGroups:new Set(["core"]),content:new Set(["glyphRef"])},altGlyphItem:{attrsGroups:new Set(["core"]),content:new Set(["glyphRef","altGlyphItem"])},animate:{attrsGroups:new Set(["animationAddition","animationAttributeTarget","animationEvent","animationTiming","animationValue","conditionalProcessing","core","presentation","xlink"]),attrs:new Set(["externalResourcesRequired"]),contentGroups:new Set(["descriptive"])},animateColor:{attrsGroups:new Set(["animationAddition","animationAttributeTarget","animationEvent","animationTiming","animationValue","conditionalProcessing","core","presentation","xlink"]),attrs:new Set(["externalResourcesRequired"]),contentGroups:new Set(["descriptive"])},animateMotion:{attrsGroups:new Set(["animationAddition","animationEvent","animationTiming","animationValue","conditionalProcessing","core","xlink"]),attrs:new Set(["externalResourcesRequired","keyPoints","origin","path","rotate"]),defaults:{rotate:"0"},contentGroups:new Set(["descriptive"]),content:new Set(["mpath"])},animateTransform:{attrsGroups:new Set(["animationAddition","animationAttributeTarget","animationEvent","animationTiming","animationValue","conditionalProcessing","core","xlink"]),attrs:new Set(["externalResourcesRequired","type"]),contentGroups:new Set(["descriptive"])},circle:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","cx","cy","externalResourcesRequired","r","style","transform"]),defaults:{cx:"0",cy:"0"},contentGroups:new Set(["animation","descriptive"])},clipPath:{attrsGroups:new Set(["conditionalProcessing","core","presentation"]),attrs:new Set(["class","clipPathUnits","externalResourcesRequired","style","transform"]),defaults:{clipPathUnits:"userSpaceOnUse"},contentGroups:new Set(["animation","descriptive","shape"]),content:new Set(["text","use"])},"color-profile":{attrsGroups:new Set(["core","xlink"]),attrs:new Set(["local","name","rendering-intent"]),defaults:{name:"sRGB","rendering-intent":"auto"},contentGroups:new Set(["descriptive"])},cursor:{attrsGroups:new Set(["core","conditionalProcessing","xlink"]),attrs:new Set(["externalResourcesRequired","x","y"]),defaults:{x:"0",y:"0"},contentGroups:new Set(["descriptive"])},defs:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","style","transform"]),contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},desc:{attrsGroups:new Set(["core"]),attrs:new Set(["class","style"])},ellipse:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","cx","cy","externalResourcesRequired","rx","ry","style","transform"]),defaults:{cx:"0",cy:"0"},contentGroups:new Set(["animation","descriptive"])},feBlend:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style","in","in2","mode"]),defaults:{mode:"normal"},content:new Set(["animate","set"])},feColorMatrix:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style","in","type","values"]),defaults:{type:"matrix"},content:new Set(["animate","set"])},feComponentTransfer:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style","in"]),content:new Set(["feFuncA","feFuncB","feFuncG","feFuncR"])},feComposite:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","in","in2","k1","k2","k3","k4","operator","style"]),defaults:{operator:"over",k1:"0",k2:"0",k3:"0",k4:"0"},content:new Set(["animate","set"])},feConvolveMatrix:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","in","kernelMatrix","order","style","bias","divisor","edgeMode","targetX","targetY","kernelUnitLength","preserveAlpha"]),defaults:{order:"3",bias:"0",edgeMode:"duplicate",preserveAlpha:"false"},content:new Set(["animate","set"])},feDiffuseLighting:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","diffuseConstant","in","kernelUnitLength","style","surfaceScale"]),defaults:{surfaceScale:"1",diffuseConstant:"1"},contentGroups:new Set(["descriptive"]),content:new Set(["feDistantLight","fePointLight","feSpotLight"])},feDisplacementMap:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","in","in2","scale","style","xChannelSelector","yChannelSelector"]),defaults:{scale:"0",xChannelSelector:"A",yChannelSelector:"A"},content:new Set(["animate","set"])},feDistantLight:{attrsGroups:new Set(["core"]),attrs:new Set(["azimuth","elevation"]),defaults:{azimuth:"0",elevation:"0"},content:new Set(["animate","set"])},feFlood:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style"]),content:new Set(["animate","animateColor","set"])},feFuncA:{attrsGroups:new Set(["core","transferFunction"]),content:new Set(["set","animate"])},feFuncB:{attrsGroups:new Set(["core","transferFunction"]),content:new Set(["set","animate"])},feFuncG:{attrsGroups:new Set(["core","transferFunction"]),content:new Set(["set","animate"])},feFuncR:{attrsGroups:new Set(["core","transferFunction"]),content:new Set(["set","animate"])},feGaussianBlur:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style","in","stdDeviation"]),defaults:{stdDeviation:"0"},content:new Set(["set","animate"])},feImage:{attrsGroups:new Set(["core","presentation","filterPrimitive","xlink"]),attrs:new Set(["class","externalResourcesRequired","href","preserveAspectRatio","style","xlink:href"]),defaults:{preserveAspectRatio:"xMidYMid meet"},content:new Set(["animate","animateTransform","set"])},feMerge:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style"]),content:new Set(["feMergeNode"])},feMergeNode:{attrsGroups:new Set(["core"]),attrs:new Set(["in"]),content:new Set(["animate","set"])},feMorphology:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style","in","operator","radius"]),defaults:{operator:"erode",radius:"0"},content:new Set(["animate","set"])},feOffset:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style","in","dx","dy"]),defaults:{dx:"0",dy:"0"},content:new Set(["animate","set"])},fePointLight:{attrsGroups:new Set(["core"]),attrs:new Set(["x","y","z"]),defaults:{x:"0",y:"0",z:"0"},content:new Set(["animate","set"])},feSpecularLighting:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","in","kernelUnitLength","specularConstant","specularExponent","style","surfaceScale"]),defaults:{surfaceScale:"1",specularConstant:"1",specularExponent:"1"},contentGroups:new Set(["descriptive","lightSource"])},feSpotLight:{attrsGroups:new Set(["core"]),attrs:new Set(["limitingConeAngle","pointsAtX","pointsAtY","pointsAtZ","specularExponent","x","y","z"]),defaults:{x:"0",y:"0",z:"0",pointsAtX:"0",pointsAtY:"0",pointsAtZ:"0",specularExponent:"1"},content:new Set(["animate","set"])},feTile:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["class","style","in"]),content:new Set(["animate","set"])},feTurbulence:{attrsGroups:new Set(["core","presentation","filterPrimitive"]),attrs:new Set(["baseFrequency","class","numOctaves","seed","stitchTiles","style","type"]),defaults:{baseFrequency:"0",numOctaves:"1",seed:"0",stitchTiles:"noStitch",type:"turbulence"},content:new Set(["animate","set"])},filter:{attrsGroups:new Set(["core","presentation","xlink"]),attrs:new Set(["class","externalResourcesRequired","filterRes","filterUnits","height","href","primitiveUnits","style","width","x","xlink:href","y"]),defaults:{primitiveUnits:"userSpaceOnUse",x:"-10%",y:"-10%",width:"120%",height:"120%"},contentGroups:new Set(["descriptive","filterPrimitive"]),content:new Set(["animate","set"])},font:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","externalResourcesRequired","horiz-adv-x","horiz-origin-x","horiz-origin-y","style","vert-adv-y","vert-origin-x","vert-origin-y"]),defaults:{"horiz-origin-x":"0","horiz-origin-y":"0"},contentGroups:new Set(["descriptive"]),content:new Set(["font-face","glyph","hkern","missing-glyph","vkern"])},"font-face":{attrsGroups:new Set(["core"]),attrs:new Set(["font-family","font-style","font-variant","font-weight","font-stretch","font-size","unicode-range","units-per-em","panose-1","stemv","stemh","slope","cap-height","x-height","accent-height","ascent","descent","widths","bbox","ideographic","alphabetic","mathematical","hanging","v-ideographic","v-alphabetic","v-mathematical","v-hanging","underline-position","underline-thickness","strikethrough-position","strikethrough-thickness","overline-position","overline-thickness"]),defaults:{"font-style":"all","font-variant":"normal","font-weight":"all","font-stretch":"normal","unicode-range":"U+0-10FFFF","units-per-em":"1000","panose-1":"0 0 0 0 0 0 0 0 0 0",slope:"0"},contentGroups:new Set(["descriptive"]),content:new Set(["font-face-src"])},"font-face-format":{attrsGroups:new Set(["core"]),attrs:new Set(["string"])},"font-face-name":{attrsGroups:new Set(["core"]),attrs:new Set(["name"])},"font-face-src":{attrsGroups:new Set(["core"]),content:new Set(["font-face-name","font-face-uri"])},"font-face-uri":{attrsGroups:new Set(["core","xlink"]),attrs:new Set(["href","xlink:href"]),content:new Set(["font-face-format"])},foreignObject:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","height","style","transform","width","x","y"]),defaults:{x:"0",y:"0"}},g:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","style","transform"]),contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},glyph:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["arabic-form","class","d","glyph-name","horiz-adv-x","lang","orientation","style","unicode","vert-adv-y","vert-origin-x","vert-origin-y"]),defaults:{"arabic-form":"initial"},contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},glyphRef:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","d","horiz-adv-x","style","vert-adv-y","vert-origin-x","vert-origin-y"]),contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},hatch:{attrsGroups:new Set(["core","presentation","xlink"]),attrs:new Set(["class","hatchContentUnits","hatchUnits","pitch","rotate","style","transform","x","y"]),defaults:{hatchUnits:"objectBoundingBox",hatchContentUnits:"userSpaceOnUse",x:"0",y:"0",pitch:"0",rotate:"0"},contentGroups:new Set(["animation","descriptive"]),content:new Set(["hatchPath"])},hatchPath:{attrsGroups:new Set(["core","presentation","xlink"]),attrs:new Set(["class","style","d","offset"]),defaults:{offset:"0"},contentGroups:new Set(["animation","descriptive"])},hkern:{attrsGroups:new Set(["core"]),attrs:new Set(["u1","g1","u2","g2","k"])},image:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation","xlink"]),attrs:new Set(["class","externalResourcesRequired","height","href","preserveAspectRatio","style","transform","width","x","xlink:href","y"]),defaults:{x:"0",y:"0",preserveAspectRatio:"xMidYMid meet"},contentGroups:new Set(["animation","descriptive"])},line:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","style","transform","x1","x2","y1","y2"]),defaults:{x1:"0",y1:"0",x2:"0",y2:"0"},contentGroups:new Set(["animation","descriptive"])},linearGradient:{attrsGroups:new Set(["core","presentation","xlink"]),attrs:new Set(["class","externalResourcesRequired","gradientTransform","gradientUnits","href","spreadMethod","style","x1","x2","xlink:href","y1","y2"]),defaults:{x1:"0",y1:"0",x2:"100%",y2:"0",spreadMethod:"pad"},contentGroups:new Set(["descriptive"]),content:new Set(["animate","animateTransform","set","stop"])},marker:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","externalResourcesRequired","markerHeight","markerUnits","markerWidth","orient","preserveAspectRatio","refX","refY","style","viewBox"]),defaults:{markerUnits:"strokeWidth",refX:"0",refY:"0",markerWidth:"3",markerHeight:"3"},contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},mask:{attrsGroups:new Set(["conditionalProcessing","core","presentation"]),attrs:new Set(["class","externalResourcesRequired","height","mask-type","maskContentUnits","maskUnits","style","width","x","y"]),defaults:{maskUnits:"objectBoundingBox",maskContentUnits:"userSpaceOnUse",x:"-10%",y:"-10%",width:"120%",height:"120%"},contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},metadata:{attrsGroups:new Set(["core"])},"missing-glyph":{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","d","horiz-adv-x","style","vert-adv-y","vert-origin-x","vert-origin-y"]),contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},mpath:{attrsGroups:new Set(["core","xlink"]),attrs:new Set(["externalResourcesRequired","href","xlink:href"]),contentGroups:new Set(["descriptive"])},path:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","d","externalResourcesRequired","pathLength","style","transform"]),contentGroups:new Set(["animation","descriptive"])},pattern:{attrsGroups:new Set(["conditionalProcessing","core","presentation","xlink"]),attrs:new Set(["class","externalResourcesRequired","height","href","patternContentUnits","patternTransform","patternUnits","preserveAspectRatio","style","viewBox","width","x","xlink:href","y"]),defaults:{patternUnits:"objectBoundingBox",patternContentUnits:"userSpaceOnUse",x:"0",y:"0",width:"0",height:"0",preserveAspectRatio:"xMidYMid meet"},contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},polygon:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","points","style","transform"]),contentGroups:new Set(["animation","descriptive"])},polyline:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","points","style","transform"]),contentGroups:new Set(["animation","descriptive"])},radialGradient:{attrsGroups:new Set(["core","presentation","xlink"]),attrs:new Set(["class","cx","cy","externalResourcesRequired","fr","fx","fy","gradientTransform","gradientUnits","href","r","spreadMethod","style","xlink:href"]),defaults:{gradientUnits:"objectBoundingBox",cx:"50%",cy:"50%",r:"50%"},contentGroups:new Set(["descriptive"]),content:new Set(["animate","animateTransform","set","stop"])},meshGradient:{attrsGroups:new Set(["core","presentation","xlink"]),attrs:new Set(["class","style","x","y","gradientUnits","transform"]),contentGroups:new Set(["descriptive","paintServer","animation"]),content:new Set(["meshRow"])},meshRow:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","style"]),contentGroups:new Set(["descriptive"]),content:new Set(["meshPatch"])},meshPatch:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","style"]),contentGroups:new Set(["descriptive"]),content:new Set(["stop"])},rect:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","height","rx","ry","style","transform","width","x","y"]),defaults:{x:"0",y:"0"},contentGroups:new Set(["animation","descriptive"])},script:{attrsGroups:new Set(["core","xlink"]),attrs:new Set(["externalResourcesRequired","type","href","xlink:href"])},set:{attrsGroups:new Set(["animation","animationAttributeTarget","animationTiming","conditionalProcessing","core","xlink"]),attrs:new Set(["externalResourcesRequired","to"]),contentGroups:new Set(["descriptive"])},solidColor:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","style"]),contentGroups:new Set(["paintServer"])},stop:{attrsGroups:new Set(["core","presentation"]),attrs:new Set(["class","style","offset","path"]),content:new Set(["animate","animateColor","set"])},style:{attrsGroups:new Set(["core"]),attrs:new Set(["type","media","title"]),defaults:{type:"text/css"}},svg:{attrsGroups:new Set(["conditionalProcessing","core","documentEvent","graphicalEvent","presentation"]),attrs:new Set(["baseProfile","class","contentScriptType","contentStyleType","height","preserveAspectRatio","style","version","viewBox","width","x","y","zoomAndPan"]),defaults:{x:"0",y:"0",width:"100%",height:"100%",preserveAspectRatio:"xMidYMid meet",zoomAndPan:"magnify",version:"1.1",baseProfile:"none",contentScriptType:"application/ecmascript",contentStyleType:"text/css"},contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},switch:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","style","transform"]),contentGroups:new Set(["animation","descriptive","shape"]),content:new Set(["a","foreignObject","g","image","svg","switch","text","use"])},symbol:{attrsGroups:new Set(["core","graphicalEvent","presentation"]),attrs:new Set(["class","externalResourcesRequired","preserveAspectRatio","refX","refY","style","viewBox"]),defaults:{refX:"0",refY:"0"},contentGroups:new Set(["animation","descriptive","paintServer","shape","structural"]),content:new Set(["a","altGlyphDef","clipPath","color-profile","cursor","filter","font-face","font","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"])},text:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","dx","dy","externalResourcesRequired","lengthAdjust","rotate","style","textLength","transform","x","y"]),defaults:{x:"0",y:"0",lengthAdjust:"spacing"},contentGroups:new Set(["animation","descriptive","textContentChild"]),content:new Set(["a"])},textPath:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation","xlink"]),attrs:new Set(["class","d","externalResourcesRequired","href","method","spacing","startOffset","style","xlink:href"]),defaults:{startOffset:"0",method:"align",spacing:"exact"},contentGroups:new Set(["descriptive"]),content:new Set(["a","altGlyph","animate","animateColor","set","tref","tspan"])},title:{attrsGroups:new Set(["core"]),attrs:new Set(["class","style"])},tref:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation","xlink"]),attrs:new Set(["class","externalResourcesRequired","href","style","xlink:href"]),contentGroups:new Set(["descriptive"]),content:new Set(["animate","animateColor","set"])},tspan:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation"]),attrs:new Set(["class","dx","dy","externalResourcesRequired","lengthAdjust","rotate","style","textLength","x","y"]),contentGroups:new Set(["descriptive"]),content:new Set(["a","altGlyph","animate","animateColor","set","tref","tspan"])},use:{attrsGroups:new Set(["conditionalProcessing","core","graphicalEvent","presentation","xlink"]),attrs:new Set(["class","externalResourcesRequired","height","href","style","transform","width","x","xlink:href","y"]),defaults:{x:"0",y:"0"},contentGroups:new Set(["animation","descriptive"])},view:{attrsGroups:new Set(["core"]),attrs:new Set(["externalResourcesRequired","preserveAspectRatio","viewBox","viewTarget","zoomAndPan"]),contentGroups:new Set(["descriptive"])},vkern:{attrsGroups:new Set(["core"]),attrs:new Set(["u1","g1","u2","g2","k"])}},t.editorNamespaces=new Set(["http://creativecommons.org/ns#","http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd","http://ns.adobe.com/AdobeIllustrator/10.0/","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/","http://ns.adobe.com/Extensibility/1.0/","http://ns.adobe.com/Flows/1.0/","http://ns.adobe.com/GenericCustomNamespace/1.0/","http://ns.adobe.com/Graphs/1.0/","http://ns.adobe.com/ImageReplacement/1.0/","http://ns.adobe.com/SaveForWeb/1.0/","http://ns.adobe.com/Variables/1.0/","http://ns.adobe.com/XPath/1.0/","http://purl.org/dc/elements/1.1/","http://schemas.microsoft.com/visio/2003/SVGExtensions/","http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd","http://taptrix.com/vectorillustrator/svg_extensions","http://www.bohemiancoding.com/sketch/ns","http://www.figma.com/figma/ns","http://www.inkscape.org/namespaces/inkscape","http://www.serif.com/","http://www.vector.evaxdesign.sk","http://www.w3.org/1999/02/22-rdf-syntax-ns#"]),t.referencesProps=new Set(["clip-path","color-profile","fill","filter","marker-end","marker-mid","marker-start","mask","stroke","style"]),t.inheritableAttrs=new Set(["clip-rule","color-interpolation-filters","color-interpolation","color-profile","color-rendering","color","cursor","direction","dominant-baseline","fill-opacity","fill-rule","fill","font-family","font-size-adjust","font-size","font-stretch","font-style","font-variant","font-weight","font","glyph-orientation-horizontal","glyph-orientation-vertical","image-rendering","letter-spacing","marker-end","marker-mid","marker-start","marker","paint-order","pointer-events","shape-rendering","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","stroke","text-anchor","text-rendering","transform","visibility","word-spacing","writing-mode"]),t.presentationNonInheritableGroupAttrs=new Set(["clip-path","display","filter","mask","opacity","text-decoration","transform","unicode-bidi"]),t.colorsNames={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#789",lightslategrey:"#789",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#f0f",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#639",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},t.colorsShortNames={"#f0ffff":"azure","#f5f5dc":"beige","#ffe4c4":"bisque","#a52a2a":"brown","#ff7f50":"coral","#ffd700":"gold","#808080":"gray","#008000":"green","#4b0082":"indigo","#fffff0":"ivory","#f0e68c":"khaki","#faf0e6":"linen","#800000":"maroon","#000080":"navy","#808000":"olive","#ffa500":"orange","#da70d6":"orchid","#cd853f":"peru","#ffc0cb":"pink","#dda0dd":"plum","#800080":"purple","#f00":"red","#ff0000":"red","#fa8072":"salmon","#a0522d":"sienna","#c0c0c0":"silver","#fffafa":"snow","#d2b48c":"tan","#008080":"teal","#ff6347":"tomato","#ee82ee":"violet","#f5deb3":"wheat"},t.colorsProps=new Set(["color","fill","flood-color","lighting-color","stop-color","stroke"]),t.pseudoClasses={displayState:new Set(["fullscreen","modal","picture-in-picture"]),input:new Set(["autofill","blank","checked","default","disabled","enabled","in-range","indetermined","invalid","optional","out-of-range","placeholder-shown","read-only","read-write","required","user-invalid","valid"]),linguistic:new Set(["dir","lang"]),location:new Set(["any-link","link","local-link","scope","target-within","target","visited"]),resourceState:new Set(["playing","paused"]),timeDimensional:new Set(["current","past","future"]),treeStructural:new Set(["empty","first-child","first-of-type","last-child","last-of-type","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","root"]),userAction:new Set(["active","focus-visible","focus-within","focus","hover"]),functional:new Set(["is","not","where","has"])}})(be);const mI=Ok,{textElems:gI}=be;class yg extends Error{constructor(e,r,i,n,a){super(e),this.name="SvgoParserError",this.message=`${a||""}:${r}:${i}: ${e}`,this.reason=e,this.line=r,this.column=i,this.source=n,Error.captureStackTrace&&Error.captureStackTrace(this,yg)}toString(){const e=this.source.split(/\r?\n/),r=Math.max(this.line-3,0),i=Math.min(this.line+2,e.length),n=String(i).length,a=Math.max(this.column-54,0),s=Math.max(this.column+20,80),l=e.slice(r,i).map((o,c)=>{const u=o.slice(a,s);let f="",h="";a!==0&&(f=a>o.length-1?" ":"…"),s${g}${f}${u}${h} ${d}^`}return` ${g}${f}${u}${h}`}).join(` `);return`${this.name}: ${this.message} ${l} `}}const Kf=//g,Zx={strict:!0,trim:!1,normalize:!1,lowercase:!0,xmlns:!0,position:!0},yI=(t,e)=>{const r=mI.parser(Zx.strict,Zx),i={type:"root",children:[]};let n=i;const a=[i],s=l=>{Object.defineProperty(l,"parentNode",{writable:!0,value:n}),n.children.push(l)};return r.ondoctype=l=>{s({type:"doctype",name:"svg",data:{doctype:l}});const o=l.indexOf("[");if(o>=0){Kf.lastIndex=o;let c=Kf.exec(t);for(;c!=null;)r.ENTITIES[c[1]]=c[2]||c[3],c=Kf.exec(t)}},r.onprocessinginstruction=l=>{const o={type:"instruction",name:l.name,value:l.body};s(o)},r.oncomment=l=>{const o={type:"comment",value:l.trim()};s(o)},r.oncdata=l=>{s({type:"cdata",value:l})},r.onopentag=l=>{let o={type:"element",name:l.name,attributes:{},children:[]};for(const[c,u]of Object.entries(l.attributes))o.attributes[c]=u.value;s(o),n=o,a.push(o)},r.ontext=l=>{if(n.type==="element"){if(gI.has(n.name))s({type:"text",value:l});else if(/\S/.test(l)){const o={type:"text",value:l.trim()};s(o)}}},r.onclosetag=()=>{a.pop(),n=a[a.length-1]},r.onerror=l=>{const o=new yg(l.reason,l.line+1,l.column,t,e);if(l.message.indexOf("Unexpected end")===-1)throw o},r.write(t).close(),i};Lk.parseSvg=yI;var Vk={};const{textElems:xI}=be,vI=t=>bI[t],Ya={doctypeStart:"",procInstStart:"",tagOpenStart:"<",tagOpenEnd:">",tagCloseStart:"",tagShortStart:"<",tagShortEnd:"/>",attrStart:'="',attrEnd:'"',commentStart:"",cdataStart:"",textStart:"",textEnd:"",indent:4,regEntities:/[&'"<>]/g,regValEntities:/[&"<>]/g,encodeEntity:vI,pretty:!1,useShortTags:!0,eol:"lf",finalNewline:!1},bI={"&":"&","'":"'",'"':""",">":">","<":"<"},kI=(t,e={})=>{const r=It(It({},Ya),e),i=r.indent;let n=" ";typeof i=="number"&&Number.isNaN(i)===!1?n=i<0?" ":" ".repeat(i):typeof i=="string"&&(n=i);const a={indent:n,textContext:null,indentLevel:0},s=r.eol==="crlf"?`\r `:` `;r.pretty&&(r.doctypeEnd+=s,r.procInstEnd+=s,r.commentEnd+=s,r.cdataEnd+=s,r.tagShortEnd+=s,r.tagOpenEnd+=s,r.tagCloseEnd+=s,r.textEnd+=s);let l=Nk(t,r,a);return r.finalNewline&&l.length>0&&!l.endsWith(` `)&&(l+=s),l};Vk.stringifySvg=kI;const Nk=(t,e,r)=>{let i="";r.indentLevel+=1;for(const n of t.children)n.type==="element"&&(i+=_I(n,e,r)),n.type==="text"&&(i+=CI(n,e,r)),n.type==="doctype"&&(i+=wI(n,e)),n.type==="instruction"&&(i+=SI(n,e)),n.type==="comment"&&(i+=AI(n,e)),n.type==="cdata"&&(i+=EI(n,e,r));return r.indentLevel-=1,i},Mo=(t,e)=>{let r="";return t.pretty&&e.textContext==null&&(r=e.indent.repeat(e.indentLevel-1)),r},wI=(t,e)=>e.doctypeStart+t.data.doctype+e.doctypeEnd,SI=(t,e)=>e.procInstStart+t.name+" "+t.value+e.procInstEnd,AI=(t,e)=>e.commentStart+t.value+e.commentEnd,EI=(t,e,r)=>Mo(e,r)+e.cdataStart+t.value+e.cdataEnd,_I=(t,e,r)=>{if(t.children.length===0)return e.useShortTags?Mo(e,r)+e.tagShortStart+t.name+Jf(t,e)+e.tagShortEnd:Mo(e,r)+e.tagShortStart+t.name+Jf(t,e)+e.tagOpenEnd+e.tagCloseStart+t.name+e.tagCloseEnd;{let i=e.tagOpenStart,n=e.tagOpenEnd,a=e.tagCloseStart,s=e.tagCloseEnd,l=Mo(e,r),o=Mo(e,r);r.textContext?(i=Ya.tagOpenStart,n=Ya.tagOpenEnd,a=Ya.tagCloseStart,s=Ya.tagCloseEnd,l=""):xI.has(t.name)&&(n=Ya.tagOpenEnd,a=Ya.tagCloseStart,o="",r.textContext=t);const c=Nk(t,e,r);return r.textContext===t&&(r.textContext=null),l+i+t.name+Jf(t,e)+n+c+o+a+t.name+s}},Jf=(t,e)=>{let r="";for(const[i,n]of Object.entries(t.attributes))if(n!==void 0){const a=n.toString().replace(e.regValEntities,e.encodeEntity);r+=" "+i+e.attrStart+a+e.attrEnd}else r+=" "+i;return r},CI=(t,e,r)=>Mo(e,r)+e.textStart+t.value.replace(e.regEntities,e.encodeEntity)+(r.textContext?"":e.textEnd);var Gk={},nd={},Ht={},Fk={},Rk={},oi={},Bs={},Lu={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0;var e;(function(i){i.Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype"})(e=t.ElementType||(t.ElementType={}));function r(i){return i.type===e.Tag||i.type===e.Script||i.type===e.Style}t.isTag=r,t.Root=e.Root,t.Text=e.Text,t.Directive=e.Directive,t.Comment=e.Comment,t.Script=e.Script,t.Style=e.Style,t.Tag=e.Tag,t.CDATA=e.CDATA,t.Doctype=e.Doctype})(Lu);var qt={},La=Dt&&Dt.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),Gc=Dt&&Dt.__assign||function(){return Gc=Object.assign||function(t){for(var e,r=1,i=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),e}(xg);qt.NodeWithChildren=sd;var Hk=function(t){La(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=Jr.ElementType.CDATA,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(sd);qt.CDATA=Hk;var Wk=function(t){La(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=Jr.ElementType.Root,r}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(sd);qt.Document=Wk;var Xk=function(t){La(e,t);function e(r,i,n,a){n===void 0&&(n=[]),a===void 0&&(a=r==="script"?Jr.ElementType.Script:r==="style"?Jr.ElementType.Style:Jr.ElementType.Tag);var s=t.call(this,n)||this;return s.name=r,s.attribs=i,s.type=a,s}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(i){var n,a;return{name:i,value:r.attribs[i],namespace:(n=r["x-attribsNamespace"])===null||n===void 0?void 0:n[i],prefix:(a=r["x-attribsPrefix"])===null||a===void 0?void 0:a[i]}})},enumerable:!1,configurable:!0}),e}(sd);qt.Element=Xk;function Yk(t){return(0,Jr.isTag)(t)}qt.isTag=Yk;function Zk(t){return t.type===Jr.ElementType.CDATA}qt.isCDATA=Zk;function Kk(t){return t.type===Jr.ElementType.Text}qt.isText=Kk;function Jk(t){return t.type===Jr.ElementType.Comment}qt.isComment=Jk;function Qk(t){return t.type===Jr.ElementType.Directive}qt.isDirective=Qk;function t8(t){return t.type===Jr.ElementType.Root}qt.isDocument=t8;function PI(t){return Object.prototype.hasOwnProperty.call(t,"children")}qt.hasChildren=PI;function vg(t,e){e===void 0&&(e=!1);var r;if(Kk(t))r=new jk(t.data);else if(Jk(t))r=new qk(t.data);else if(Yk(t)){var i=e?Qf(t.children):[],n=new Xk(t.name,Gc({},t.attribs),i);i.forEach(function(o){return o.parent=n}),t.namespace!=null&&(n.namespace=t.namespace),t["x-attribsNamespace"]&&(n["x-attribsNamespace"]=Gc({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(n["x-attribsPrefix"]=Gc({},t["x-attribsPrefix"])),r=n}else if(Zk(t)){var i=e?Qf(t.children):[],a=new Hk(i);i.forEach(function(c){return c.parent=a}),r=a}else if(t8(t)){var i=e?Qf(t.children):[],s=new Wk(i);i.forEach(function(c){return c.parent=s}),t["x-mode"]&&(s["x-mode"]=t["x-mode"]),r=s}else if(Qk(t)){var l=new Uk(t.name,t.data);t["x-name"]!=null&&(l["x-name"]=t["x-name"],l["x-publicId"]=t["x-publicId"],l["x-systemId"]=t["x-systemId"]),r=l}else throw new Error("Not implemented yet: ".concat(t.type));return r.startIndex=t.startIndex,r.endIndex=t.endIndex,t.sourceCodeLocation!=null&&(r.sourceCodeLocation=t.sourceCodeLocation),r}qt.cloneNode=vg;function Qf(t){for(var e=t.map(function(i){return vg(i,!0)}),r=1;r䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(t){return t.charCodeAt(0)}));var kg={};Object.defineProperty(kg,"__esModule",{value:!0});kg.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(t){return t.charCodeAt(0)}));var I2={};(function(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);t.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(a){var s="";return a>65535&&(a-=65536,s+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),s+=String.fromCharCode(a),s};function i(a){var s;return a>=55296&&a<=57343||a>1114111?65533:(s=r.get(a))!==null&&s!==void 0?s:a}t.replaceCodePoint=i;function n(a){return(0,t.fromCodePoint)(i(a))}t.default=n})(I2);(function(t){var e=Dt&&Dt.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var r=e(bg);t.htmlDecodeTree=r.default;var i=e(kg);t.xmlDecodeTree=i.default;var n=e(I2);t.decodeCodePoint=n.default;var a=I2;Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return a.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return a.fromCodePoint}});var s;(function(m){m[m.NUM=35]="NUM",m[m.SEMI=59]="SEMI",m[m.ZERO=48]="ZERO",m[m.NINE=57]="NINE",m[m.LOWER_A=97]="LOWER_A",m[m.LOWER_F=102]="LOWER_F",m[m.LOWER_X=120]="LOWER_X",m[m.To_LOWER_BIT=32]="To_LOWER_BIT"})(s||(s={}));var l;(function(m){m[m.VALUE_LENGTH=49152]="VALUE_LENGTH",m[m.BRANCH_LENGTH=16256]="BRANCH_LENGTH",m[m.JUMP_TABLE=127]="JUMP_TABLE"})(l=t.BinTrieFlags||(t.BinTrieFlags={}));function o(m){return function(k,d){for(var p="",x=0,b=0;(b=k.indexOf("&",b))>=0;){if(p+=k.slice(x,b),x=b,b+=1,k.charCodeAt(b)===s.NUM){var v=b+1,S=10,_=k.charCodeAt(v);(_|s.To_LOWER_BIT)===s.LOWER_X&&(S=16,b+=1,v+=1);do _=k.charCodeAt(++b);while(_>=s.ZERO&&_<=s.NINE||S===16&&(_|s.To_LOWER_BIT)>=s.LOWER_A&&(_|s.To_LOWER_BIT)<=s.LOWER_F);if(v!==b){var w=k.substring(v,b),P=parseInt(w,S);if(k.charCodeAt(b)===s.SEMI)b+=1;else if(d)continue;p+=(0,n.default)(P),x=b}continue}for(var M=0,L=1,G=0,z=m[G];b>14)-1;if(O===0)break;G+=O}}if(M!==0){var O=(m[M]&l.VALUE_LENGTH)>>14;p+=O===1?String.fromCharCode(m[M]&~l.VALUE_LENGTH):O===2?String.fromCharCode(m[M+1]):String.fromCharCode(m[M+1],m[M+2]),x=b-L+1}}return p+k.slice(x)}}function c(m,k,d,p){var x=(k&l.BRANCH_LENGTH)>>7,b=k&l.JUMP_TABLE;if(x===0)return b!==0&&p===b?d:-1;if(b){var v=p-b;return v<0||v>=x?-1:m[d+v]-1}for(var S=d,_=S+x-1;S<=_;){var w=S+_>>>1,P=m[w];if(Pp)_=w-1;else return m[w+x]}return-1}t.determineBranch=c;var u=o(r.default),f=o(i.default);function h(m){return u(m,!1)}t.decodeHTML=h;function y(m){return u(m,!0)}t.decodeHTMLStrict=y;function g(m){return f(m,!0)}t.decodeXML=g})($2);var Es={},wg={};Object.defineProperty(wg,"__esModule",{value:!0});function jh(t){for(var e=1;e$\x80-\uFFFF]/g;var e=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);t.getCodePoint=String.prototype.codePointAt!=null?function(n,a){return n.codePointAt(a)}:function(n,a){return(n.charCodeAt(a)&64512)===55296?(n.charCodeAt(a)-55296)*1024+n.charCodeAt(a+1)-56320+65536:n.charCodeAt(a)};function r(n){for(var a="",s=0,l;(l=t.xmlReplacer.exec(n))!==null;){var o=l.index,c=n.charCodeAt(o),u=e.get(c);u!==void 0?(a+=n.substring(s,o)+u,s=o+1):(a+="".concat(n.substring(s,o),"&#x").concat((0,t.getCodePoint)(n,o).toString(16),";"),s=t.xmlReplacer.lastIndex+=+((c&64512)===55296))}return a+n.substr(s)}t.encodeXML=r,t.escape=r;function i(n,a){return function(s){for(var l,o=0,c="";l=n.exec(s);)o!==l.index&&(c+=s.substring(o,l.index)),c+=a.get(l[0].charCodeAt(0)),o=l.index+1;return c+s.substring(o)}}t.escapeUTF8=i(/[&<>'"]/g,e),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))})(ap);var DI=Dt&&Dt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Es,"__esModule",{value:!0});Es.encodeNonAsciiHTML=Es.encodeHTML=void 0;var TI=DI(wg),r8=ap,$I=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function II(t){return i8($I,t)}Es.encodeHTML=II;function MI(t){return i8(r8.xmlReplacer,t)}Es.encodeNonAsciiHTML=MI;function i8(t,e){for(var r="",i=0,n;(n=t.exec(e))!==null;){var a=n.index;r+=e.substring(i,a);var s=e.charCodeAt(a),l=TI.default.get(s);if(typeof l=="object"){if(a+10&&(i+=od(t.children,e)),(e.xmlMode||!Kx.has(t.name))&&(i+=""))),i}function qI(t){return"<".concat(t.data,">")}function UI(t,e){var r,i=t.data||"";return((r=e.encodeEntities)!==null&&r!==void 0?r:e.decodeEntities)!==!1&&!(!e.xmlMode&&t.parent&&OI.has(t.parent.name))&&(i=e.xmlMode||e.encodeEntities!=="utf8"?(0,sp.encodeXML)(i):(0,sp.escapeText)(i)),i}function HI(t){return"")}function WI(t){return"")}var XI=Dt&&Dt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(oi,"__esModule",{value:!0});oi.innerText=oi.textContent=oi.getText=oi.getInnerHTML=oi.getOuterHTML=void 0;var bn=Bs,YI=XI(Ou),ZI=Lu;function a8(t,e){return(0,YI.default)(t,e)}oi.getOuterHTML=a8;function KI(t,e){return(0,bn.hasChildren)(t)?t.children.map(function(r){return a8(r,e)}).join(""):""}oi.getInnerHTML=KI;function x1(t){return Array.isArray(t)?t.map(x1).join(""):(0,bn.isTag)(t)?t.name==="br"?` `:x1(t.children):(0,bn.isCDATA)(t)?x1(t.children):(0,bn.isText)(t)?t.data:""}oi.getText=x1;function M2(t){return Array.isArray(t)?t.map(M2).join(""):(0,bn.hasChildren)(t)&&!(0,bn.isComment)(t)?M2(t.children):(0,bn.isText)(t)?t.data:""}oi.textContent=M2;function B2(t){return Array.isArray(t)?t.map(B2).join(""):(0,bn.hasChildren)(t)&&(t.type===ZI.ElementType.Tag||(0,bn.isCDATA)(t))?B2(t.children):(0,bn.isText)(t)?t.data:""}oi.innerText=B2;var sr={};Object.defineProperty(sr,"__esModule",{value:!0});sr.prevElementSibling=sr.nextElementSibling=sr.getName=sr.hasAttrib=sr.getAttributeValue=sr.getSiblings=sr.getParent=sr.getChildren=void 0;var Sg=Bs;function s8(t){return(0,Sg.hasChildren)(t)?t.children:[]}sr.getChildren=s8;function o8(t){return t.parent||null}sr.getParent=o8;function JI(t){var e,r,i=o8(t);if(i!=null)return s8(i);for(var n=[t],a=t.prev,s=t.next;a!=null;)n.unshift(a),e=a,a=e.prev;for(;s!=null;)n.push(s),r=s,s=r.next;return n}sr.getSiblings=JI;function QI(t,e){var r;return(r=t.attribs)===null||r===void 0?void 0:r[e]}sr.getAttributeValue=QI;function tM(t,e){return t.attribs!=null&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&t.attribs[e]!=null}sr.hasAttrib=tM;function eM(t){return t.name}sr.getName=eM;function rM(t){for(var e,r=t.next;r!==null&&!(0,Sg.isTag)(r);)e=r,r=e.next;return r}sr.nextElementSibling=rM;function iM(t){for(var e,r=t.prev;r!==null&&!(0,Sg.isTag)(r);)e=r,r=e.prev;return r}sr.prevElementSibling=iM;var jr={};Object.defineProperty(jr,"__esModule",{value:!0});jr.prepend=jr.prependChild=jr.append=jr.appendChild=jr.replaceElement=jr.removeElement=void 0;function Vu(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}}jr.removeElement=Vu;function nM(t,e){var r=e.prev=t.prev;r&&(r.next=e);var i=e.next=t.next;i&&(i.prev=e);var n=e.parent=t.parent;if(n){var a=n.children;a[a.lastIndexOf(t)]=e,t.parent=null}}jr.replaceElement=nM;function aM(t,e){if(Vu(e),e.next=null,e.parent=t,t.children.push(e)>1){var r=t.children[t.children.length-2];r.next=e,e.prev=r}else e.prev=null}jr.appendChild=aM;function sM(t,e){Vu(e);var r=t.parent,i=t.next;if(e.next=i,e.prev=t,t.next=e,e.parent=r,i){if(i.prev=e,r){var n=r.children;n.splice(n.lastIndexOf(i),0,e)}}else r&&r.children.push(e)}jr.append=sM;function oM(t,e){if(Vu(e),e.parent=t,e.prev=null,t.children.unshift(e)!==1){var r=t.children[1];r.prev=e,e.next=r}else e.next=null}jr.prependChild=oM;function lM(t,e){Vu(e);var r=t.parent;if(r){var i=r.children;i.splice(i.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}jr.prepend=lM;var Ir={};Object.defineProperty(Ir,"__esModule",{value:!0});Ir.findAll=Ir.existsOne=Ir.findOne=Ir.findOneChild=Ir.find=Ir.filter=void 0;var ru=Bs;function cM(t,e,r,i){return r===void 0&&(r=!0),i===void 0&&(i=1/0),Array.isArray(e)||(e=[e]),Ag(t,e,r,i)}Ir.filter=cM;function Ag(t,e,r,i){for(var n=[],a=0,s=e;a0){var o=Ag(t,l.children,r,i);if(n.push.apply(n,o),i-=o.length,i<=0)break}}return n}Ir.find=Ag;function uM(t,e){return e.find(t)}Ir.findOneChild=uM;function l8(t,e,r){r===void 0&&(r=!0);for(var i=null,n=0;n0&&(i=l8(t,a.children,!0));else continue}return i}Ir.findOne=l8;function c8(t,e){return e.some(function(r){return(0,ru.isTag)(r)&&(t(r)||r.children.length>0&&c8(t,r.children))})}Ir.existsOne=c8;function hM(t,e){for(var r,i=[],n=e.filter(ru.isTag),a;a=n.shift();){var s=(r=a.children)===null||r===void 0?void 0:r.filter(ru.isTag);s&&s.length>0&&n.unshift.apply(n,s),t(a)&&i.push(a)}return i}Ir.findAll=hM;var li={};Object.defineProperty(li,"__esModule",{value:!0});li.getElementsByTagType=li.getElementsByTagName=li.getElementById=li.getElements=li.testElement=void 0;var is=Bs,ld=Ir,op={tag_name:function(t){return typeof t=="function"?function(e){return(0,is.isTag)(e)&&t(e.name)}:t==="*"?is.isTag:function(e){return(0,is.isTag)(e)&&e.name===t}},tag_type:function(t){return typeof t=="function"?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return typeof t=="function"?function(e){return(0,is.isText)(e)&&t(e.data)}:function(e){return(0,is.isText)(e)&&e.data===t}}};function u8(t,e){return typeof e=="function"?function(r){return(0,is.isTag)(r)&&e(r.attribs[t])}:function(r){return(0,is.isTag)(r)&&r.attribs[t]===e}}function pM(t,e){return function(r){return t(r)||e(r)}}function h8(t){var e=Object.keys(t).map(function(r){var i=t[r];return Object.prototype.hasOwnProperty.call(op,r)?op[r](i):u8(r,i)});return e.length===0?null:e.reduce(pM)}function dM(t,e){var r=h8(t);return r?r(e):!0}li.testElement=dM;function fM(t,e,r,i){i===void 0&&(i=1/0);var n=h8(t);return n?(0,ld.filter)(n,e,r,i):[]}li.getElements=fM;function mM(t,e,r){return r===void 0&&(r=!0),Array.isArray(e)||(e=[e]),(0,ld.findOne)(u8("id",t),e,r)}li.getElementById=mM;function gM(t,e,r,i){return r===void 0&&(r=!0),i===void 0&&(i=1/0),(0,ld.filter)(op.tag_name(t),e,r,i)}li.getElementsByTagName=gM;function yM(t,e,r,i){return r===void 0&&(r=!0),i===void 0&&(i=1/0),(0,ld.filter)(op.tag_type(t),e,r,i)}li.getElementsByTagType=yM;var p8={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var e=Bs;function r(s){for(var l=s.length;--l>=0;){var o=s[l];if(l>0&&s.lastIndexOf(o,l-1)>=0){s.splice(l,1);continue}for(var c=o.parent;c;c=c.parent)if(s.includes(c)){s.splice(l,1);break}}return s}t.removeSubsets=r;var i;(function(s){s[s.DISCONNECTED=1]="DISCONNECTED",s[s.PRECEDING=2]="PRECEDING",s[s.FOLLOWING=4]="FOLLOWING",s[s.CONTAINS=8]="CONTAINS",s[s.CONTAINED_BY=16]="CONTAINED_BY"})(i=t.DocumentPosition||(t.DocumentPosition={}));function n(s,l){var o=[],c=[];if(s===l)return 0;for(var u=(0,e.hasChildren)(s)?s:s.parent;u;)o.unshift(u),u=u.parent;for(u=(0,e.hasChildren)(l)?l:l.parent;u;)c.unshift(u),u=u.parent;for(var f=Math.min(o.length,c.length),h=0;hg.indexOf(k)?y===l?i.FOLLOWING|i.CONTAINED_BY:i.FOLLOWING:y===s?i.PRECEDING|i.CONTAINS:i.PRECEDING}t.compareDocumentPosition=n;function a(s){return s=s.filter(function(l,o,c){return!c.includes(l,o+1)}),s.sort(function(l,o){var c=n(l,o);return c&i.PRECEDING?-1:c&i.FOLLOWING?1:0}),s}t.uniqueSort=a})(p8);var cd={};Object.defineProperty(cd,"__esModule",{value:!0});cd.getFeed=void 0;var xM=oi,Nu=li;function vM(t){var e=lp(AM,t);return e?e.name==="feed"?bM(e):kM(e):null}cd.getFeed=vM;function bM(t){var e,r=t.children,i={type:"atom",items:(0,Nu.getElementsByTagName)("entry",r).map(function(s){var l,o=s.children,c={media:d8(o)};Rr(c,"id","id",o),Rr(c,"title","title",o);var u=(l=lp("link",o))===null||l===void 0?void 0:l.attribs.href;u&&(c.link=u);var f=ls("summary",o)||ls("content",o);f&&(c.description=f);var h=ls("updated",o);return h&&(c.pubDate=new Date(h)),c})};Rr(i,"id","id",r),Rr(i,"title","title",r);var n=(e=lp("link",r))===null||e===void 0?void 0:e.attribs.href;n&&(i.link=n),Rr(i,"description","subtitle",r);var a=ls("updated",r);return a&&(i.updated=new Date(a)),Rr(i,"author","email",r,!0),i}function kM(t){var e,r,i=(r=(e=lp("channel",t.children))===null||e===void 0?void 0:e.children)!==null&&r!==void 0?r:[],n={type:t.name.substr(0,3),id:"",items:(0,Nu.getElementsByTagName)("item",t.children).map(function(s){var l=s.children,o={media:d8(l)};Rr(o,"id","guid",l),Rr(o,"title","title",l),Rr(o,"link","link",l),Rr(o,"description","description",l);var c=ls("pubDate",l);return c&&(o.pubDate=new Date(c)),o})};Rr(n,"title","title",i),Rr(n,"link","link",i),Rr(n,"description","description",i);var a=ls("lastBuildDate",i);return a&&(n.updated=new Date(a)),Rr(n,"author","managingEditor",i,!0),n}var wM=["url","type","lang"],SM=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function d8(t){return(0,Nu.getElementsByTagName)("media:content",t).map(function(e){for(var r=e.attribs,i={medium:r.medium,isDefault:!!r.isDefault},n=0,a=wM;n>10|55296,i&1023|56320)}function ql(t){return t.replace(_M,TM)}function tm(t){return t===39||t===34}function Qx(t){return t===32||t===9||t===10||t===12||t===13}function $M(t){const e=[],r=m8(e,`${t}`,0);if(r0&&r0&&f8(i[i.length-1]))throw new Error("Did not expect successive traversals.")}function c(h){if(i.length>0&&i[i.length-1].type===Zt.Descendant){i[i.length-1].type=h;return}o(),i.push({type:h})}function u(h,y){i.push({type:Zt.Attribute,name:h,action:y,value:n(1),namespace:null,ignoreCase:"quirks"})}function f(){if(i.length&&i[i.length-1].type===Zt.Descendant&&i.pop(),i.length===0)throw new Error("Empty sub-selector");t.push(i)}if(a(0),e.length===r)return r;t:for(;rt.charCodeAt(0))),t5=new Set(y8.map(t=>t.charCodeAt(0))),zo=new Set([...y8,"~","^","$","*","+","!","|",":","[","]"," ","."].map(t=>t.charCodeAt(0)));function x8(t){return t.map(e=>e.map(MM).join("")).join(", ")}function MM(t,e,r){switch(t.type){case Zt.Child:return e===0?"> ":" > ";case Zt.Parent:return e===0?"< ":" < ";case Zt.Sibling:return e===0?"~ ":" ~ ";case Zt.Adjacent:return e===0?"+ ":" + ";case Zt.Descendant:return" ";case Zt.ColumnCombinator:return e===0?"|| ":" || ";case Zt.Universal:return t.namespace==="*"&&e+10?i+t.slice(r):t}var zM=Object.freeze({__proto__:null,isTraversal:f8,parse:$M,stringify:x8,get SelectorType(){return Zt},IgnoreCaseMode:EM,get AttributeAction(){return we}}),Gu=fI(zM),f0={};Object.defineProperty(f0,"__esModule",{value:!0});f0.isTraversal=void 0;var si=Gu,b8=new Map([[si.SelectorType.Universal,50],[si.SelectorType.Tag,30],[si.SelectorType.Attribute,1],[si.SelectorType.Pseudo,0]]);function LM(t){return!b8.has(t.type)}f0.isTraversal=LM;var OM=new Map([[si.AttributeAction.Exists,10],[si.AttributeAction.Equals,8],[si.AttributeAction.Not,7],[si.AttributeAction.Start,6],[si.AttributeAction.End,6],[si.AttributeAction.Any,5]]);function VM(t){for(var e=t.map(k8),r=1;r=0&&i>=1)):t.type===si.SelectorType.Pseudo&&(t.data?t.name==="has"||t.name==="contains"?i=0:Array.isArray(t.data)?(i=Math.min.apply(Math,t.data.map(function(n){return Math.min.apply(Math,n.map(k8))})),i<0&&(i=0)):i=2:i=3),i}var ud={},hd={},NM=Dt&&Dt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hd,"__esModule",{value:!0});hd.attributeRules=void 0;var qh=NM(d0),GM=/[-[\]{}()*+?.,\\^$|#\s]/g;function r5(t){return t.replace(GM,"\\$&")}var FM=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function Ua(t,e){return typeof t.ignoreCase=="boolean"?t.ignoreCase:t.ignoreCase==="quirks"?!!e.quirksMode:!e.xmlMode&&FM.has(t.name)}hd.attributeRules={equals:function(t,e,r){var i=r.adapter,n=e.name,a=e.value;return Ua(e,r)?(a=a.toLowerCase(),function(s){var l=i.getAttributeValue(s,n);return l!=null&&l.length===a.length&&l.toLowerCase()===a&&t(s)}):function(s){return i.getAttributeValue(s,n)===a&&t(s)}},hyphen:function(t,e,r){var i=r.adapter,n=e.name,a=e.value,s=a.length;return Ua(e,r)?(a=a.toLowerCase(),function(l){var o=i.getAttributeValue(l,n);return o!=null&&(o.length===s||o.charAt(s)==="-")&&o.substr(0,s).toLowerCase()===a&&t(l)}):function(l){var o=i.getAttributeValue(l,n);return o!=null&&(o.length===s||o.charAt(s)==="-")&&o.substr(0,s)===a&&t(l)}},element:function(t,e,r){var i=r.adapter,n=e.name,a=e.value;if(/\s/.test(a))return qh.default.falseFunc;var s=new RegExp("(?:^|\\s)".concat(r5(a),"(?:$|\\s)"),Ua(e,r)?"i":"");return function(l){var o=i.getAttributeValue(l,n);return o!=null&&o.length>=a.length&&s.test(o)&&t(l)}},exists:function(t,e,r){var i=e.name,n=r.adapter;return function(a){return n.hasAttrib(a,i)&&t(a)}},start:function(t,e,r){var i=r.adapter,n=e.name,a=e.value,s=a.length;return s===0?qh.default.falseFunc:Ua(e,r)?(a=a.toLowerCase(),function(l){var o=i.getAttributeValue(l,n);return o!=null&&o.length>=s&&o.substr(0,s).toLowerCase()===a&&t(l)}):function(l){var o;return!!(!((o=i.getAttributeValue(l,n))===null||o===void 0)&&o.startsWith(a))&&t(l)}},end:function(t,e,r){var i=r.adapter,n=e.name,a=e.value,s=-a.length;return s===0?qh.default.falseFunc:Ua(e,r)?(a=a.toLowerCase(),function(l){var o;return((o=i.getAttributeValue(l,n))===null||o===void 0?void 0:o.substr(s).toLowerCase())===a&&t(l)}):function(l){var o;return!!(!((o=i.getAttributeValue(l,n))===null||o===void 0)&&o.endsWith(a))&&t(l)}},any:function(t,e,r){var i=r.adapter,n=e.name,a=e.value;if(a==="")return qh.default.falseFunc;if(Ua(e,r)){var s=new RegExp(r5(a),"i");return function(l){var o=i.getAttributeValue(l,n);return o!=null&&o.length>=a.length&&s.test(o)&&t(l)}}return function(l){var o;return!!(!((o=i.getAttributeValue(l,n))===null||o===void 0)&&o.includes(a))&&t(l)}},not:function(t,e,r){var i=r.adapter,n=e.name,a=e.value;return a===""?function(s){return!!i.getAttributeValue(s,n)&&t(s)}:Ua(e,r)?(a=a.toLowerCase(),function(s){var l=i.getAttributeValue(s,n);return(l==null||l.length!==a.length||l.toLowerCase()!==a)&&t(s)}):function(s){return i.getAttributeValue(s,n)!==a&&t(s)}}};var Eg={},w8={},S8={},pd={};Object.defineProperty(pd,"__esModule",{value:!0});pd.parse=void 0;var RM=new Set([9,10,12,13,32]),i5=48,jM=57;function qM(t){if(t=t.trim().toLowerCase(),t==="even")return[2,0];if(t==="odd")return[2,1];var e=0,r=0,i=a(),n=s();if(e=i5&&t.charCodeAt(e)<=jM;)c=c*10+(t.charCodeAt(e)-i5),e++;return e===o?null:c}function l(){for(;e=r};var i=Math.abs(e),n=(r%i+i)%i;return e>1?function(a){return a>=r&&a%i===n}:function(a){return a<=r&&a%i===n}}Yo.compile=HM;function WM(t){var e=t[0],r=t[1]-1,i=0;if(e<0){var n=-e,a=(r%n+n)%n;return function(){var s=a+n*i++;return s>r?null:s}}return e===0?r<0?function(){return null}:function(){return i++===0?r:null}:(r<0&&(r+=e*Math.ceil(-r/e)),function(){return e*i+++r})}Yo.generate=WM;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.sequence=t.generate=t.compile=t.parse=void 0;var e=pd;Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return e.parse}});var r=Yo;Object.defineProperty(t,"compile",{enumerable:!0,get:function(){return r.compile}}),Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return r.generate}});function i(a){return(0,r.compile)((0,e.parse)(a))}t.default=i;function n(a){return(0,r.generate)((0,e.parse)(a))}t.sequence=n})(S8);(function(t){var e=Dt&&Dt.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var r=e(S8),i=e(d0);function n(s,l){return function(o){var c=l.getParent(o);return c!=null&&l.isTag(c)&&s(o)}}t.filters={contains:function(s,l,o){var c=o.adapter;return function(u){return s(u)&&c.getText(u).includes(l)}},icontains:function(s,l,o){var c=o.adapter,u=l.toLowerCase();return function(f){return s(f)&&c.getText(f).toLowerCase().includes(u)}},"nth-child":function(s,l,o){var c=o.adapter,u=o.equals,f=(0,r.default)(l);return f===i.default.falseFunc?i.default.falseFunc:f===i.default.trueFunc?n(s,c):function(h){for(var y=c.getSiblings(h),g=0,m=0;m=0&&!u(h,y[m]);m--)c.isTag(y[m])&&g++;return f(g)&&s(h)}},"nth-of-type":function(s,l,o){var c=o.adapter,u=o.equals,f=(0,r.default)(l);return f===i.default.falseFunc?i.default.falseFunc:f===i.default.trueFunc?n(s,c):function(h){for(var y=c.getSiblings(h),g=0,m=0;m=0;m--){var k=y[m];if(u(h,k))break;c.isTag(k)&&c.getName(k)===c.getName(h)&&g++}return f(g)&&s(h)}},root:function(s,l,o){var c=o.adapter;return function(u){var f=c.getParent(u);return(f==null||!c.isTag(f))&&s(u)}},scope:function(s,l,o,c){var u=o.equals;return!c||c.length===0?t.filters.root(s,l,o):c.length===1?function(f){return u(c[0],f)&&s(f)}:function(f){return c.includes(f)&&s(f)}},hover:a("isHovered"),visited:a("isVisited"),active:a("isActive")};function a(s){return function(l,o,c){var u=c.adapter,f=u[s];return typeof f!="function"?i.default.falseFunc:function(h){return f(h)&&l(h)}}}})(w8);var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.verifyPseudoArgs=Zo.pseudos=void 0;Zo.pseudos={empty:function(t,e){var r=e.adapter;return!r.getChildren(t).some(function(i){return r.isTag(i)||r.getText(i)!==""})},"first-child":function(t,e){var r=e.adapter,i=e.equals;if(r.prevElementSibling)return r.prevElementSibling(t)==null;var n=r.getSiblings(t).find(function(a){return r.isTag(a)});return n!=null&&i(t,n)},"last-child":function(t,e){for(var r=e.adapter,i=e.equals,n=r.getSiblings(t),a=n.length-1;a>=0;a--){if(i(t,n[a]))return!0;if(r.isTag(n[a]))break}return!1},"first-of-type":function(t,e){for(var r=e.adapter,i=e.equals,n=r.getSiblings(t),a=r.getName(t),s=0;s=0;s--){var l=n[s];if(i(t,l))return!0;if(r.isTag(l)&&r.getName(l)===a)break}return!1},"only-of-type":function(t,e){var r=e.adapter,i=e.equals,n=r.getName(t);return r.getSiblings(t).every(function(a){return i(t,a)||!r.isTag(a)||r.getName(a)!==n})},"only-child":function(t,e){var r=e.adapter,i=e.equals;return r.getSiblings(t).every(function(n){return i(t,n)||!r.isTag(n)})}};function XM(t,e,r,i){if(r===null){if(t.length>i)throw new Error("Pseudo-class :".concat(e," requires an argument"))}else if(t.length===i)throw new Error("Pseudo-class :".concat(e," doesn't have any arguments"))}Zo.verifyPseudoArgs=XM;var dd={};Object.defineProperty(dd,"__esModule",{value:!0});dd.aliases=void 0;dd.aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( :is(button, input, select, textarea, optgroup, option)[disabled], optgroup[disabled] > option, fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"};var fd={};(function(t){var e=Dt&&Dt.__spreadArray||function(c,u,f){if(f||arguments.length===2)for(var h=0,y=u.length,g;h"u")return function(c){for(var u=c;u=em(u,a);)if(t(u))return!0;return!1};var o=new WeakSet;return function(c){for(var u=c;u=em(u,a);)if(!o.has(u)){if(a.isTag(u)&&t(u))return!0;o.add(u)}return!1}}case"_flexibleDescendant":return function(c){var u=c;do if(t(u))return!0;while(u=em(u,a));return!1};case Ni.SelectorType.Parent:return function(c){return a.getChildren(c).some(function(u){return a.isTag(u)&&t(u)})};case Ni.SelectorType.Child:return function(c){var u=a.getParent(c);return u!=null&&a.isTag(u)&&t(u)};case Ni.SelectorType.Sibling:return function(c){for(var u=a.getSiblings(c),f=0;f0&&(0,z2.isTraversal)(l[0])&&l[0].type!==Rn.SelectorType.Descendant))if(n&&!l.some(_8))l.unshift(nB);else continue;l.unshift(sB)}}function _g(t,e,r){var i;t.forEach(z2.default),r=(i=e.context)!==null&&i!==void 0?i:r;var n=Array.isArray(r),a=r&&(Array.isArray(r)?r:[r]);if(e.relativeSelector!==!1)oB(t,e,a);else if(t.some(function(o){return o.length>0&&(0,z2.isTraversal)(o[0])}))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");var s=!1,l=t.map(function(o){if(o.length>=2){var c=o[0],u=o[1];c.type!==Rn.SelectorType.Pseudo||c.name!=="scope"||(n&&u.type===Rn.SelectorType.Descendant?o[1]=aB:(u.type===Rn.SelectorType.Adjacent||u.type===Rn.SelectorType.Sibling)&&(s=!0))}return lB(o,e,a)}).reduce(cB,ka.default.falseFunc);return l.shouldTestNextSiblings=s,l}_a.compileToken=_g;function lB(t,e,r){var i;return t.reduce(function(n,a){return n===ka.default.falseFunc?ka.default.falseFunc:(0,rB.compileGeneralSelector)(n,a,e,r,_g)},(i=e.rootFunc)!==null&&i!==void 0?i:ka.default.trueFunc)}function cB(t,e){return e===ka.default.falseFunc||t===ka.default.trueFunc?t:t===ka.default.falseFunc||e===ka.default.trueFunc?e:function(r){return t(r)||e(r)}}(function(t){var e=Dt&&Dt.__createBinding||(Object.create?function(p,x,b,v){v===void 0&&(v=b);var S=Object.getOwnPropertyDescriptor(x,b);(!S||("get"in S?!x.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return x[b]}}),Object.defineProperty(p,v,S)}:function(p,x,b,v){v===void 0&&(v=b),p[v]=x[b]}),r=Dt&&Dt.__setModuleDefault||(Object.create?function(p,x){Object.defineProperty(p,"default",{enumerable:!0,value:x})}:function(p,x){p.default=x}),i=Dt&&Dt.__importStar||function(p){if(p&&p.__esModule)return p;var x={};if(p!=null)for(var b in p)b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)&&e(x,p,b);return r(x,p),x},n=Dt&&Dt.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(t,"__esModule",{value:!0}),t.aliases=t.pseudos=t.filters=t.is=t.selectOne=t.selectAll=t.prepareContext=t._compileToken=t._compileUnsafe=t.compile=void 0;var a=i(Rk),s=n(d0),l=_a,o=fd,c=function(p,x){return p===x},u={adapter:a,equals:c};function f(p){var x,b,v,S,_=p??u;return(x=_.adapter)!==null&&x!==void 0||(_.adapter=a),(b=_.equals)!==null&&b!==void 0||(_.equals=(S=(v=_.adapter)===null||v===void 0?void 0:v.equals)!==null&&S!==void 0?S:c),_}function h(p){return function(x,b,v){var S=f(b);return p(x,S,v)}}t.compile=h(l.compile),t._compileUnsafe=h(l.compileUnsafe),t._compileToken=h(l.compileToken);function y(p){return function(x,b,v){var S=f(v);typeof x!="function"&&(x=(0,l.compileUnsafe)(x,S,b));var _=g(b,S.adapter,x.shouldTestNextSiblings);return p(x,_,S)}}function g(p,x,b){return b===void 0&&(b=!1),b&&(p=m(p,x)),Array.isArray(p)?x.removeSubsets(p):x.getChildren(p)}t.prepareContext=g;function m(p,x){for(var b=Array.isArray(p)?p.slice(0):[p],v=b.length,S=0;St.type==="element",C8=(t,e)=>e.some(r=>md(r)?t(r)||C8(t,Fu(r)):!1),uB=(t,e)=>t.attributes[e],Fu=t=>t.children||[],hB=t=>t.name,Cg=t=>t.parentNode||null,pB=t=>{var e=Cg(t);return e?Fu(e):[]},dB=t=>t.children[0].type==="text"&&t.children[0].type==="cdata"?t.children[0].value:"",fB=(t,e)=>t.attributes[e]!==void 0,mB=t=>{let e=t.length,r,i,n;for(;--e>-1;){for(r=i=t[e],t[e]=null,n=!0;i;){if(t.includes(i)){n=!1,t.splice(e,1);break}i=Cg(i)}n&&(t[e]=r)}return t},P8=(t,e)=>{const r=[];for(const i of e)md(i)&&(t(i)&&r.push(i),r.push(...P8(t,Fu(i))));return r},D8=(t,e)=>{for(const r of e)if(md(r)){if(t(r))return r;const i=D8(t,Fu(r));if(i)return i}return null},gB={isTag:md,existsOne:C8,getAttributeValue:uB,getChildren:Fu,getName:hB,getParent:Cg,getSiblings:pB,getText:dB,hasAttrib:fB,removeSubsets:mB,findAll:P8,findOne:D8};var yB=gB;const{selectAll:xB,selectOne:vB,is:bB}=Fk,kB=yB,Pg={xmlMode:!0,adapter:kB},wB=(t,e)=>xB(e,t,Pg);Ht.querySelectorAll=wB;const SB=(t,e)=>vB(e,t,Pg);Ht.querySelector=SB;const AB=(t,e)=>bB(t,e,Pg);Ht.matches=AB;const T8=Symbol();Ht.visitSkip=T8;const L2=(t,e,r)=>{const i=e[t.type];if(!(i&&i.enter&&i.enter(t,r)===T8)){if(t.type==="root")for(const n of t.children)L2(n,e,t);if(t.type==="element"&&r.children.includes(t))for(const n of t.children)L2(n,e,t);i&&i.exit&&i.exit(t,r)}};Ht.visit=L2;const EB=(t,e)=>{e.children=e.children.filter(r=>r!==t)};Ht.detachNodeFromParent=EB;const{visit:_B}=Ht,$8=(t,e,r,i,n)=>{for(const a of r){const s=i?.[a.name];if(s===!1)continue;const l=It(It(It({},a.params),n),s),o=a.fn(t,l,e);o!=null&&_B(t,o)}};nd.invokePlugins=$8;const CB=({name:t,plugins:e})=>({name:t,fn:(r,i,n)=>{const{floatPrecision:a,overrides:s}=i,l={};if(a!=null&&(l.floatPrecision=a),s){const o=e.map(({name:c})=>c);for(const c of Object.keys(s))o.includes(c)||console.warn(`You are trying to configure ${c} which is not part of ${t}. Try to put it before or after, for example plugins: [ { name: '${t}', }, '${c}' ] `)}$8(r,n,e,s,l)}});nd.createPreset=CB;var Ru={};const{detachNodeFromParent:PB}=Ht;Ru.name="removeDoctype";Ru.description="removes doctype declaration";Ru.fn=()=>({doctype:{enter:(t,e)=>{PB(t,e)}}});var ju={};const{detachNodeFromParent:DB}=Ht;ju.name="removeXMLProcInst";ju.description="removes XML processing instructions";ju.fn=()=>({instruction:{enter:(t,e)=>{t.name==="xml"&&DB(t,e)}}});var qu={};const{detachNodeFromParent:TB}=Ht;qu.name="removeComments";qu.description="removes comments";const $B=[/^!/];qu.fn=(t,e)=>{const{preservePatterns:r=$B}=e;return{comment:{enter:(i,n)=>{if(r){if(!Array.isArray(r))throw Error(`Expected array in removeComments preservePatterns parameter but received ${r}`);if(r.some(a=>new RegExp(a).test(i.value)))return}TB(i,n)}}}};var Uu={};const{detachNodeFromParent:IB}=Ht;Uu.name="removeMetadata";Uu.description="removes ";Uu.fn=()=>({element:{enter:(t,e)=>{t.name==="metadata"&&IB(t,e)}}});var Hu={};const{detachNodeFromParent:MB}=Ht,{editorNamespaces:a5}=be;Hu.name="removeEditorsNSData";Hu.description="removes editors namespaces, elements and attributes";Hu.fn=(t,e)=>{let r=[...a5];Array.isArray(e.additionalNamespaces)&&(r=[...a5,...e.additionalNamespaces]);const i=[];return{element:{enter:(n,a)=>{if(n.name==="svg")for(const[s,l]of Object.entries(n.attributes))s.startsWith("xmlns:")&&r.includes(l)&&(i.push(s.slice(6)),delete n.attributes[s]);for(const s of Object.keys(n.attributes))if(s.includes(":")){const[l]=s.split(":");i.includes(l)&&delete n.attributes[s]}if(n.name.includes(":")){const[s]=n.name.split(":");i.includes(s)&&MB(n,a)}}}}};var Wu={};Wu.name="cleanupAttrs";Wu.description="cleanups attributes from newlines, trailing and repeating spaces";const BB=/(\S)\r?\n(\S)/g,zB=/\r?\n/g,LB=/\s{2,}/g;Wu.fn=(t,e)=>{const{newlines:r=!0,trim:i=!0,spaces:n=!0}=e;return{element:{enter:a=>{for(const s of Object.keys(a.attributes))r&&(a.attributes[s]=a.attributes[s].replace(BB,(l,o,c)=>o+" "+c),a.attributes[s]=a.attributes[s].replace(zB,"")),i&&(a.attributes[s]=a.attributes[s].trim()),n&&(a.attributes[s]=a.attributes[s].replace(LB," "))}}}};var Xu={};const{visitSkip:OB,detachNodeFromParent:s5}=Ht;Xu.name="mergeStyles";Xu.description="merge multiple style elements into one";Xu.fn=()=>{let t=null,e="",r="text";return{element:{enter:(i,n)=>{if(i.name==="foreignObject")return OB;if(i.name!=="style"||i.attributes.type!=null&&i.attributes.type!==""&&i.attributes.type!=="text/css")return;let a="";for(const s of i.children)s.type==="text"&&(a+=s.value),s.type==="cdata"&&(r="cdata",a+=s.value);if(a.trim().length===0){s5(i,n);return}if(i.attributes.media==null?e+=a:(e+=`@media ${i.attributes.media}{${a}}`,delete i.attributes.media),t==null)t=i;else{s5(i,n);const s={type:r,value:e};Object.defineProperty(s,"parentNode",{writable:!0,value:t}),t.children=[s]}}}}};var Yu={},ne={},bt={},ot={};const VB=0,NB=1,GB=2,FB=3,RB=4,jB=5,qB=6,UB=7,HB=8,WB=9,XB=10,YB=11,ZB=12,KB=13,JB=14,QB=15,tz=16,ez=17,rz=18,iz=19,nz=20,az=21,sz=22,oz=23,lz=24,cz=25;ot.AtKeyword=FB;ot.BadString=qB;ot.BadUrl=HB;ot.CDC=QB;ot.CDO=JB;ot.Colon=tz;ot.Comma=rz;ot.Comment=cz;ot.Delim=WB;ot.Dimension=ZB;ot.EOF=VB;ot.Function=GB;ot.Hash=RB;ot.Ident=NB;ot.LeftCurlyBracket=oz;ot.LeftParenthesis=az;ot.LeftSquareBracket=iz;ot.Number=XB;ot.Percentage=YB;ot.RightCurlyBracket=lz;ot.RightParenthesis=sz;ot.RightSquareBracket=nz;ot.Semicolon=ez;ot.String=jB;ot.Url=UB;ot.WhiteSpace=KB;var te={};const uz=0;function wa(t){return t>=48&&t<=57}function hz(t){return wa(t)||t>=65&&t<=70||t>=97&&t<=102}function I8(t){return t>=65&&t<=90}function M8(t){return t>=97&&t<=122}function B8(t){return I8(t)||M8(t)}function z8(t){return t>=128}function iu(t){return B8(t)||z8(t)||t===95}function pz(t){return iu(t)||wa(t)||t===45}function L8(t){return t>=0&&t<=8||t===11||t>=14&&t<=31||t===127}function Dg(t){return t===10||t===13||t===12}function O8(t){return Dg(t)||t===32||t===9}function O2(t,e){return!(t!==92||Dg(e)||e===uz)}function dz(t,e,r){return t===45?iu(e)||e===45||O2(e,r):iu(t)?!0:t===92?O2(t,e):!1}function fz(t,e,r){return t===43||t===45?wa(e)?2:e===46&&wa(r)?3:0:t===46?wa(e)?2:0:wa(t)?1:0}function mz(t){return t===65279||t===65534?1:0}const V2=new Array(128),V8=128,N8=130,G8=131,Tg=132,F8=133;for(let t=0;tt.length)return!1;for(let n=e;n=0&&zr.isWhiteSpace(t.charCodeAt(e));e--);return e+1}function vz(t,e){for(;e=55296&&e<=57343||e>1114111)&&(e=65533),String.fromCodePoint(e)}Ue.cmpChar=j8;Ue.cmpStr=yz;Ue.consumeBadUrlRemnants=wz;Ue.consumeEscaped=$g;Ue.consumeName=bz;Ue.consumeNumber=kz;Ue.decodeEscaped=Sz;Ue.findDecimalNumberEnd=v1;Ue.findWhiteSpaceEnd=vz;Ue.findWhiteSpaceStart=xz;Ue.getNewlineLength=R8;const Az=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];var gd=Az,Ig={},Mg={};const Ez=16*1024;function _z(t=null,e){return t===null||t.length0?Cz.isBOM(e.charCodeAt(0)):0,n=o5.adoptBuffer(t.lines,r),a=o5.adoptBuffer(t.columns,r);let s=t.startLine,l=t.startColumn;for(let o=i;o{}){e=String(e||"");const i=e.length,n=h5.adoptBuffer(this.offsetAndType,e.length+1),a=h5.adoptBuffer(this.balance,e.length+1);let s=0,l=0,o=0,c=-1;for(this.offsetAndType=null,this.balance=null,r(e,(u,f,h)=>{switch(u){default:a[s]=i;break;case l:{let y=o&yi;for(o=a[y],l=o>>aa,a[s]=y,a[y++]=s;y>aa:Ze.EOF}lookupOffset(e){return e+=this.tokenIndex,e0?e>aa,this.tokenEnd=r&yi):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e>aa,this.tokenEnd=e&yi):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Ze.EOF,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===Ze.WhiteSpace||this.tokenType===Ze.Comment;)this.next()}skipUntilBalanced(e,r){let i=e,n,a;t:for(;i0?this.offsetAndType[i-1]&yi:this.firstCharOffset,r(this.source.charCodeAt(a))){case 1:break t;case 2:i++;break t;default:this.balance[n]===i&&(i=n)}}this.skip(i-this.tokenIndex)}forEachToken(e){for(let r=0,i=this.firstCharOffset;r>aa;i=s,e(l,n,s,r)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((r,i,n,a)=>{e[a]={idx:a,type:$z[r],chunk:this.source.substring(i,n),balance:this.balance[a]}}),e}}yd.TokenStream=Mz;const At=ot,zt=te,oe=Ue,Bz=gd,zz=Ig,Lz=yd;function Oz(t,e){function r(f){return f=t.length){cString(u+y+1).padStart(o)+" |"+h).join(` `)}const a=t.split(/\r\n?|\n|\f/),s=Math.max(1,e-i)-1,l=Math.min(e+i,a.length+1),o=Math.max(4,String(l).length)+1;let c=0;r+=(d5.length-1)*(a[e-1].substr(0,r-1).match(/\t/g)||[]).length,r>rm&&(c=r-p5+3,r=p5-2);for(let u=s;u<=l;u++)u>=0&&u0&&a[u].length>c?"…":"")+a[u].substr(c,rm-2)+(a[u].length>c+rm-1?"…":""));return[n(s,e),new Array(r+o+2).join("-")+"^",n(e,l)].filter(Boolean).join(` `)}function Gz(t,e,r,i,n){return Object.assign(Nz.createCustomError("SyntaxError",t),{source:e,offset:r,line:i,column:n,sourceFragment(a){return f5({source:e,line:i,column:n},isNaN(a)?0:a)},get formattedMessage(){return`Parse error: ${t} `+f5({source:e,line:i,column:n},2)}})}U8.SyntaxError=Gz;var H8={};const m5=ot;function Fz(t){const e=this.createList();let r=!1;const i={recognizer:t};for(;!this.eof;){switch(this.tokenType){case m5.Comment:this.next();continue;case m5.WhiteSpace:r=!0,this.next();continue}let n=t.getNode.call(this,i);if(n===void 0)break;r&&(t.onWhiteSpace&&t.onWhiteSpace.call(this,n,e,i),r=!1),e.push(n)}return r&&t.onWhiteSpace&&t.onWhiteSpace.call(this,null,e,i),e}H8.readSequence=Fz;const g5=zs,y5=U8,Rz=bt,jz=H8,qz=Ig,Uz=yd,Ul=Ue,an=ot,Hz=gd,x5=()=>{},Wz=33,Xz=35,im=59,v5=123,b5=0;function Yz(t){return function(){return this[t]()}}function nm(t){const e=Object.create(null);for(const r in t){const i=t[r],n=i.parse||i;n&&(e[r]=n)}return e}function Zz(t){const e={context:Object.create(null),scope:Object.assign(Object.create(null),t.scope),atrule:nm(t.atrule),pseudo:nm(t.pseudo),node:nm(t.node)};for(const r in t.parseContext)switch(typeof t.parseContext[r]){case"function":e.context[r]=t.parseContext[r];break;case"string":e.context[r]=Yz(t.parseContext[r]);break}return It(It({config:e},e),e.node)}function Kz(t){let e="",r="",i=!1,n=x5,a=!1;const s=new qz.OffsetToLocation,l=Object.assign(new Uz.TokenStream,Zz(t||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:jz.readSequence,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(o){return o===v5?1:0},consumeUntilLeftCurlyBracketOrSemicolon(o){return o===v5||o===im?1:0},consumeUntilExclamationMarkOrSemicolon(o){return o===Wz||o===im?1:0},consumeUntilSemicolonIncluded(o){return o===im?2:0},createList(){return new g5.List},createSingleNodeList(o){return new g5.List().appendData(o)},getFirstListNode(o){return o&&o.first},getLastListNode(o){return o&&o.last},parseWithFallback(o,c){const u=this.tokenIndex;try{return o.call(this)}catch(f){if(a)throw f;const h=c.call(this,u);return a=!0,n(f,h),a=!1,h}},lookupNonWSType(o){let c;do if(c=this.lookupType(o++),c!==an.WhiteSpace)return c;while(c!==b5);return b5},charCodeAt(o){return o>=0&&oh.toUpperCase());let u=`${/[[\](){}]/.test(c)?`"${c}"`:c} is expected`,f=this.tokenStart;switch(o){case an.Ident:this.tokenType===an.Function||this.tokenType===an.Url?(f=this.tokenEnd-1,u="Identifier is expected but function found"):u="Identifier is expected";break;case an.Hash:this.isDelim(Xz)&&(this.next(),f++,u="Name is expected");break;case an.Percentage:this.tokenType===an.Number&&(f=this.tokenEnd,u="Percent sign is expected");break}this.error(u,f)}this.next()},eatIdent(o){(this.tokenType!==an.Ident||this.lookupValue(0,o)===!1)&&this.error(`Identifier "${o}" is expected`),this.next()},eatDelim(o){this.isDelim(o)||this.error(`Delim "${String.fromCharCode(o)}" is expected`),this.next()},getLocation(o,c){return i?s.getLocationRange(o,c,r):null},getLocationFromList(o){if(i){const c=this.getFirstListNode(o),u=this.getLastListNode(o);return s.getLocationRange(c!==null?c.loc.start.offset-s.startOffset:this.tokenStart,u!==null?u.loc.end.offset-s.startOffset:this.tokenStart,r)}return null},error(o,c){const u=typeof c<"u"&&c",i=!!c.positions,n=typeof c.onParseError=="function"?c.onParseError:x5,a=!1,l.parseAtrulePrelude="parseAtrulePrelude"in c?!!c.parseAtrulePrelude:!0,l.parseRulePrelude="parseRulePrelude"in c?!!c.parseRulePrelude:!0,l.parseValue="parseValue"in c?!!c.parseValue:!0,l.parseCustomProperty="parseCustomProperty"in c?!!c.parseCustomProperty:!1;const{context:u="default",onComment:f}=c;if(!(u in l.context))throw new Error("Unknown context `"+u+"`");typeof f=="function"&&l.forEachToken((y,g,m)=>{if(y===an.Comment){const k=l.getLocation(g,m),d=Ul.cmpStr(e,m-2,m,"*/")?e.slice(g+2,m-2):e.slice(g+2,m);f(d,k)}});const h=l.context[u].call(l,c);return l.eof||l.error(),h},{SyntaxError:y5.SyntaxError,config:l.config})}q8.createParser=Kz;var W8={},X8={},Bg={},zg={},Lg={},k5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Lg.encode=function(t){if(0<=t&&t>1;return e?-r:r}zg.encode=function(t){var e="",r,i=Jz(t);do r=i&K8,i>>>=Og,i>0&&(r|=J8),e+=Y8.encode(r);while(i>0);return e};zg.decode=function(t,e,r){var i=t.length,n=0,a=0,s,l;do{if(e>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Y8.decode(t.charCodeAt(e++)),l===-1)throw new Error("Invalid base64 digit: "+t.charAt(e-1));s=!!(l&J8),l&=K8,n=n+(l<s&&P.pop(),z}}var o=l(function(w){var P=w,M=n(w);if(M){if(!M.path)return w;P=M.path}for(var L=t.isAbsolute(P),G=[],z=0,$=0;;)if(z=$,$=P.indexOf("/",z),$===-1){G.push(P.slice(z));break}else for(G.push(P.slice(z,$));$=0;$--)O=G[$],O==="."?G.splice($,1):O===".."?N++:N>0&&(O===""?(G.splice($+1,N),N=0):(G.splice($,2),N--));return P=G.join("/"),P===""&&(P=L?"/":"."),M?(M.path=P,a(M)):P});t.normalize=o;function c(w,P){w===""&&(w="."),P===""&&(P=".");var M=n(P),L=n(w);if(L&&(w=L.path||"/"),M&&!M.scheme)return L&&(M.scheme=L.scheme),a(M);if(M||P.match(i))return P;if(L&&!L.host&&!L.path)return L.host=P,a(L);var G=P.charAt(0)==="/"?P:o(w.replace(/\/+$/,"")+"/"+P);return L?(L.path=G,a(L)):G}t.join=c,t.isAbsolute=function(w){return w.charAt(0)==="/"||r.test(w)};function u(w,P){w===""&&(w="."),w=w.replace(/\/$/,"");for(var M=0;P.indexOf(w+"/")!==0;){var L=w.lastIndexOf("/");if(L<0||(w=w.slice(0,L),w.match(/^([^\/]+:\/)?\/*$/)))return P;++M}return Array(M+1).join("../")+P.substr(w.length+1)}t.relative=u;var f=function(){var w=Object.create(null);return!("__proto__"in w)}();function h(w){return w}function y(w){return m(w)?"$"+w:w}t.toSetString=f?h:y;function g(w){return m(w)?w.slice(1):w}t.fromSetString=f?h:g;function m(w){if(!w)return!1;var P=w.length;if(P<9||w.charCodeAt(P-1)!==95||w.charCodeAt(P-2)!==95||w.charCodeAt(P-3)!==111||w.charCodeAt(P-4)!==116||w.charCodeAt(P-5)!==111||w.charCodeAt(P-6)!==114||w.charCodeAt(P-7)!==112||w.charCodeAt(P-8)!==95||w.charCodeAt(P-9)!==95)return!1;for(var M=P-10;M>=0;M--)if(w.charCodeAt(M)!==36)return!1;return!0}function k(w,P,M){var L=b(w.source,P.source);return L!==0||(L=w.originalLine-P.originalLine,L!==0)||(L=w.originalColumn-P.originalColumn,L!==0||M)||(L=w.generatedColumn-P.generatedColumn,L!==0)||(L=w.generatedLine-P.generatedLine,L!==0)?L:b(w.name,P.name)}t.compareByOriginalPositions=k;function d(w,P,M){var L;return L=w.originalLine-P.originalLine,L!==0||(L=w.originalColumn-P.originalColumn,L!==0||M)||(L=w.generatedColumn-P.generatedColumn,L!==0)||(L=w.generatedLine-P.generatedLine,L!==0)?L:b(w.name,P.name)}t.compareByOriginalPositionsNoSource=d;function p(w,P,M){var L=w.generatedLine-P.generatedLine;return L!==0||(L=w.generatedColumn-P.generatedColumn,L!==0||M)||(L=b(w.source,P.source),L!==0)||(L=w.originalLine-P.originalLine,L!==0)||(L=w.originalColumn-P.originalColumn,L!==0)?L:b(w.name,P.name)}t.compareByGeneratedPositionsDeflated=p;function x(w,P,M){var L=w.generatedColumn-P.generatedColumn;return L!==0||M||(L=b(w.source,P.source),L!==0)||(L=w.originalLine-P.originalLine,L!==0)||(L=w.originalColumn-P.originalColumn,L!==0)?L:b(w.name,P.name)}t.compareByGeneratedPositionsDeflatedNoLine=x;function b(w,P){return w===P?0:w===null?1:P===null?-1:w>P?1:-1}function v(w,P){var M=w.generatedLine-P.generatedLine;return M!==0||(M=w.generatedColumn-P.generatedColumn,M!==0)||(M=b(w.source,P.source),M!==0)||(M=w.originalLine-P.originalLine,M!==0)||(M=w.originalColumn-P.originalColumn,M!==0)?M:b(w.name,P.name)}t.compareByGeneratedPositionsInflated=v;function S(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=S;function _(w,P,M){if(P=P||"",w&&(w[w.length-1]!=="/"&&P[0]!=="/"&&(w+="/"),P=w+P),M){var L=n(M);if(!L)throw new Error("sourceMapURL could not be parsed");if(L.path){var G=L.path.lastIndexOf("/");G>=0&&(L.path=L.path.substring(0,G+1))}P=c(a(L),P)}return o(P)}t.computeSourceURL=_})(vd);var Q8={},Vg=vd,Ng=Object.prototype.hasOwnProperty,vs=typeof Map<"u";function Yn(){this._array=[],this._set=vs?new Map:Object.create(null)}Yn.fromArray=function(t,e){for(var r=new Yn,i=0,n=t.length;i=0)return e}else{var r=Vg.toSetString(t);if(Ng.call(this._set,r))return this._set[r]}throw new Error('"'+t+'" is not in the set.')};Yn.prototype.at=function(t){if(t>=0&&tr||i==r&&a>=n||e9.compareByGeneratedPositionsInflated(t,e)<=0}function bd(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}bd.prototype.unsortedForEach=function(t,e){this._array.forEach(t,e)};bd.prototype.add=function(t){tL(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};bd.prototype.toArray=function(){return this._sorted||(this._array.sort(e9.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};t9.MappingList=bd;var Hl=zg,je=vd,cp=Q8.ArraySet,eL=t9.MappingList;function Ii(t){t||(t={}),this._file=je.getArg(t,"file",null),this._sourceRoot=je.getArg(t,"sourceRoot",null),this._skipValidation=je.getArg(t,"skipValidation",!1),this._sources=new cp,this._names=new cp,this._mappings=new eL,this._sourcesContents=null}Ii.prototype._version=3;Ii.fromSourceMap=function(t){var e=t.sourceRoot,r=new Ii({file:t.file,sourceRoot:e});return t.eachMapping(function(i){var n={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(n.source=i.source,e!=null&&(n.source=je.relative(e,n.source)),n.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(n.name=i.name)),r.addMapping(n)}),t.sources.forEach(function(i){var n=i;e!==null&&(n=je.relative(e,i)),r._sources.has(n)||r._sources.add(n);var a=t.sourceContentFor(i);a!=null&&r.setSourceContent(i,a)}),r};Ii.prototype.addMapping=function(t){var e=je.getArg(t,"generated"),r=je.getArg(t,"original",null),i=je.getArg(t,"source",null),n=je.getArg(t,"name",null);this._skipValidation||this._validateMapping(e,r,i,n),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:i,name:n})};Ii.prototype.setSourceContent=function(t,e){var r=t;this._sourceRoot!=null&&(r=je.relative(this._sourceRoot,r)),e!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[je.toSetString(r)]=e):this._sourcesContents&&(delete this._sourcesContents[je.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Ii.prototype.applySourceMap=function(t,e,r){var i=e;if(e==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var n=this._sourceRoot;n!=null&&(i=je.relative(n,i));var a=new cp,s=new cp;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var o=t.originalPositionFor({line:l.originalLine,column:l.originalColumn});o.source!=null&&(l.source=o.source,r!=null&&(l.source=je.join(r,l.source)),n!=null&&(l.source=je.relative(n,l.source)),l.originalLine=o.line,l.originalColumn=o.column,o.name!=null&&(l.name=o.name))}var c=l.source;c!=null&&!a.has(c)&&a.add(c);var u=l.name;u!=null&&!s.has(u)&&s.add(u)},this),this._sources=a,this._names=s,t.sources.forEach(function(l){var o=t.sourceContentFor(l);o!=null&&(r!=null&&(l=je.join(r,l)),n!=null&&(l=je.relative(n,l)),this.setSourceContent(l,o))},this)};Ii.prototype._validateMapping=function(t,e,r,i){if(e&&typeof e.line!="number"&&typeof e.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!e&&!r&&!i)){if(t&&"line"in t&&"column"in t&&e&&"line"in e&&"column"in e&&t.line>0&&t.column>=0&&e.line>0&&e.column>=0&&r)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:r,original:e,name:i}))}};Ii.prototype._serializeMappings=function(){for(var t=0,e=1,r=0,i=0,n=0,a=0,s="",l,o,c,u,f=this._mappings.toArray(),h=0,y=f.length;h0){if(!je.compareByGeneratedPositionsInflated(o,f[h-1]))continue;l+=","}l+=Hl.encode(o.generatedColumn-t),t=o.generatedColumn,o.source!=null&&(u=this._sources.indexOf(o.source),l+=Hl.encode(u-a),a=u,l+=Hl.encode(o.originalLine-1-i),i=o.originalLine-1,l+=Hl.encode(o.originalColumn-r),r=o.originalColumn,o.name!=null&&(c=this._names.indexOf(o.name),l+=Hl.encode(c-n),n=c)),s+=l}return s};Ii.prototype._generateSourcesContent=function(t,e){return t.map(function(r){if(!this._sourcesContents)return null;e!=null&&(r=je.relative(e,r));var i=je.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};Ii.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};Ii.prototype.toString=function(){return JSON.stringify(this.toJSON())};Bg.SourceMapGenerator=Ii;const rL=Bg,w5=new Set(["Atrule","Selector","Declaration"]);function iL(t){const e=new rL.SourceMapGenerator,r={line:1,column:0},i={line:0,column:0},n={line:1,column:0},a={generated:n};let s=1,l=0,o=!1;const c=t.node;t.node=function(h){if(h.loc&&h.loc.start&&w5.has(h.type)){const y=h.loc.start.line,g=h.loc.start.column-1;(i.line!==y||i.column!==g)&&(i.line=y,i.column=g,r.line=s,r.column=l,o&&(o=!1,(r.line!==n.line||r.column!==n.column)&&e.addMapping(a)),o=!0,e.addMapping({source:h.loc.source,original:i,generated:r}))}c.call(this,h),o&&w5.has(h.type)&&(n.line=s,n.column=l)};const u=t.emit;t.emit=function(h,y,g){for(let m=0;m{if(t===U.Delim&&(t=e),typeof t=="string"){const r=t.charCodeAt(0);return r>127?32768:r<<8}return t},r9=[[U.Ident,U.Ident],[U.Ident,U.Function],[U.Ident,U.Url],[U.Ident,U.BadUrl],[U.Ident,"-"],[U.Ident,U.Number],[U.Ident,U.Percentage],[U.Ident,U.Dimension],[U.Ident,U.CDC],[U.Ident,U.LeftParenthesis],[U.AtKeyword,U.Ident],[U.AtKeyword,U.Function],[U.AtKeyword,U.Url],[U.AtKeyword,U.BadUrl],[U.AtKeyword,"-"],[U.AtKeyword,U.Number],[U.AtKeyword,U.Percentage],[U.AtKeyword,U.Dimension],[U.AtKeyword,U.CDC],[U.Hash,U.Ident],[U.Hash,U.Function],[U.Hash,U.Url],[U.Hash,U.BadUrl],[U.Hash,"-"],[U.Hash,U.Number],[U.Hash,U.Percentage],[U.Hash,U.Dimension],[U.Hash,U.CDC],[U.Dimension,U.Ident],[U.Dimension,U.Function],[U.Dimension,U.Url],[U.Dimension,U.BadUrl],[U.Dimension,"-"],[U.Dimension,U.Number],[U.Dimension,U.Percentage],[U.Dimension,U.Dimension],[U.Dimension,U.CDC],["#",U.Ident],["#",U.Function],["#",U.Url],["#",U.BadUrl],["#","-"],["#",U.Number],["#",U.Percentage],["#",U.Dimension],["#",U.CDC],["-",U.Ident],["-",U.Function],["-",U.Url],["-",U.BadUrl],["-","-"],["-",U.Number],["-",U.Percentage],["-",U.Dimension],["-",U.CDC],[U.Number,U.Ident],[U.Number,U.Function],[U.Number,U.Url],[U.Number,U.BadUrl],[U.Number,U.Number],[U.Number,U.Percentage],[U.Number,U.Dimension],[U.Number,"%"],[U.Number,U.CDC],["@",U.Ident],["@",U.Function],["@",U.Url],["@",U.BadUrl],["@","-"],["@",U.CDC],[".",U.Number],[".",U.Percentage],[".",U.Dimension],["+",U.Number],["+",U.Percentage],["+",U.Dimension],["/","*"]],sL=r9.concat([[U.Ident,U.Hash],[U.Dimension,U.Hash],[U.Hash,U.Hash],[U.AtKeyword,U.LeftParenthesis],[U.AtKeyword,U.String],[U.AtKeyword,U.Colon],[U.Percentage,U.Percentage],[U.Percentage,U.Dimension],[U.Percentage,U.Function],[U.Percentage,"-"],[U.RightParenthesis,U.Ident],[U.RightParenthesis,U.Function],[U.RightParenthesis,U.Percentage],[U.RightParenthesis,U.Dimension],[U.RightParenthesis,U.Hash],[U.RightParenthesis,"-"]]);function i9(t){const e=new Set(t.map(([r,i])=>am(r)<<16|am(i)));return function(r,i,n){const a=am(i,n),s=n.charCodeAt(0);return(s===aL&&i!==U.Ident&&i!==U.Function&&i!==U.CDC||s===nL?e.has(r<<16|s<<8):e.has(r<<16|a))&&this.emit(" ",U.WhiteSpace,!0),a}}const oL=i9(r9),lL=i9(sL);Gg.safe=lL;Gg.spec=oL;const cL=bt,uL=X8,sm=Gg,S5=ot,hL=92;function pL(t,e){if(typeof e=="function"){let r=null;t.children.forEach(i=>{r!==null&&e.call(this,r),this.node(i),r=i});return}t.children.forEach(this.node,this)}function dL(t){cL.tokenize(t,(e,r,i)=>{this.token(e,t.slice(r,i))})}function fL(t){const e=new Map;for(let r in t.node){const i=t.node[r];typeof(i.generate||i)=="function"&&e.set(r,i.generate||i)}return function(r,i){let n="",a=0,s={node(o){if(e.has(o.type))e.get(o.type).call(l,o);else throw new Error("Unknown node type: "+o.type)},tokenBefore:sm.safe,token(o,c){a=this.tokenBefore(a,o,c),this.emit(c,o,!1),o===S5.Delim&&c.charCodeAt(0)===hL&&this.emit(` `,S5.WhiteSpace,!0)},emit(o){n+=o},result(){return n}};i&&(typeof i.decorator=="function"&&(s=i.decorator(s)),i.sourceMap&&(s=uL.generateSourceMap(s)),i.mode in sm&&(s.tokenBefore=sm[i.mode]));const l={node:o=>s.node(o),children:pL,token:(o,c)=>s.token(o,c),tokenize:dL};return s.node(r),s.result()}}W8.createGenerator=fL;var n9={};const om=zs;function mL(t){return{fromPlainObject(e){return t(e,{enter(r){r.children&&!(r.children instanceof om.List)&&(r.children=new om.List().fromArray(r.children))}}),e},toPlainObject(e){return t(e,{leave(r){r.children&&r.children instanceof om.List&&(r.children=r.children.toArray())}}),e}}}n9.createConvertor=mL;var a9={};const{hasOwnProperty:Fg}=Object.prototype,xc=function(){};function A5(t){return typeof t=="function"?t:xc}function E5(t,e){return function(r,i,n){r.type===e&&t.call(this,r,i,n)}}function gL(t,e){const r=e.structure,i=[];for(const n in r){if(Fg.call(r,n)===!1)continue;let a=r[n];const s={name:n,type:!1,nullable:!1};Array.isArray(a)||(a=[a]);for(const l of a)l===null?s.nullable=!0:typeof l=="string"?s.type="node":Array.isArray(l)&&(s.type="list");s.type&&i.push(s)}return i.length?{context:e.walkContext,fields:i}:null}function yL(t){const e={};for(const r in t.node)if(Fg.call(t.node,r)){const i=t.node[r];if(!i.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");e[r]=gL(r,i)}return e}function _5(t,e){const r=t.fields.slice(),i=t.context,n=typeof i=="string";return e&&r.reverse(),function(a,s,l,o){let c;n&&(c=s[i],s[i]=a);for(const u of r){const f=a[u.name];if(!u.nullable||f){if(u.type==="list"){if(e?f.reduceRight(o,!1):f.reduce(o,!1))return!0}else if(l(f))return!0}}n&&(s[i]=c)}}function C5({StyleSheet:t,Atrule:e,Rule:r,Block:i,DeclarationList:n}){return{Atrule:{StyleSheet:t,Atrule:e,Rule:r,Block:i},Rule:{StyleSheet:t,Atrule:e,Rule:r,Block:i},Declaration:{StyleSheet:t,Atrule:e,Rule:r,Block:i,DeclarationList:n}}}function xL(t){const e=yL(t),r={},i={},n=Symbol("break-walk"),a=Symbol("skip-node");for(const c in e)Fg.call(e,c)&&e[c]!==null&&(r[c]=_5(e[c],!1),i[c]=_5(e[c],!0));const s=C5(r),l=C5(i),o=function(c,u){function f(d,p,x){const b=h.call(k,d,p,x);return b===n?!0:b===a?!1:!!(g.hasOwnProperty(d.type)&&g[d.type](d,k,f,m)||y.call(k,d,p,x)===n)}let h=xc,y=xc,g=r,m=(d,p,x,b)=>d||f(p,x,b);const k={break:n,skip:a,root:c,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof u=="function")h=u;else if(u&&(h=A5(u.enter),y=A5(u.leave),u.reverse&&(g=i),u.visit)){if(s.hasOwnProperty(u.visit))g=u.reverse?l[u.visit]:s[u.visit];else if(!e.hasOwnProperty(u.visit))throw new Error("Bad value `"+u.visit+"` for `visit` option (should be: "+Object.keys(e).sort().join(", ")+")");h=E5(h,u.visit),y=E5(y,u.visit)}if(h===xc&&y===xc)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");f(c)};return o.break=n,o.skip=a,o.find=function(c,u){let f=null;return o(c,function(h,y,g){if(u.call(this,h,y,g))return f=h,n}),f},o.findLast=function(c,u){let f=null;return o(c,{reverse:!0,enter(h,y,g){if(u.call(this,h,y,g))return f=h,n}}),f},o.findAll=function(c,u){const f=[];return o(c,function(h,y,g){u.call(this,h,y,g)&&f.push(h)}),f},o}a9.createWalker=xL;var Rg={},jg={},kd={};function vL(t){return t}function bL(t){const{min:e,max:r,comma:i}=t;return e===0&&r===0?i?"#?":"*":e===0&&r===1?"?":e===1&&r===0?i?"#":"+":e===1&&r===1?"":(i?"#":"")+(e===r?"{"+e+"}":"{"+e+","+(r!==0?r:"")+"}")}function kL(t){switch(t.type){case"Range":return" ["+(t.min===null?"-∞":t.min)+","+(t.max===null?"∞":t.max)+"]";default:throw new Error("Unknown node type `"+t.type+"`")}}function wL(t,e,r,i){const n=t.combinator===" "||i?t.combinator:" "+t.combinator+" ",a=t.terms.map(s=>qg(s,e,r,i)).join(n);return t.explicit||r?(i||a[0]===","?"[":"[ ")+a+(i?"]":" ]"):a}function qg(t,e,r,i){let n;switch(t.type){case"Group":n=wL(t,e,r,i)+(t.disallowEmpty?"!":"");break;case"Multiplier":return qg(t.term,e,r,i)+e(bL(t),t);case"Type":n="<"+t.name+(t.opts?e(kL(t.opts),t.opts):"")+">";break;case"Property":n="<'"+t.name+"'>";break;case"Keyword":n=t.name;break;case"AtKeyword":n="@"+t.name;break;case"Function":n=t.name+"(";break;case"String":case"Token":n=t.value;break;case"Comma":n=",";break;default:throw new Error("Unknown node type `"+t.type+"`")}return e(n,t)}function SL(t,e){let r=vL,i=!1,n=!1;return typeof e=="function"?r=e:e&&(i=!!e.forceBraces,n=!!e.compact,typeof e.decorate=="function"&&(r=e.decorate)),qg(t,r,i,n)}kd.generate=SL;const s9=xd,AL=kd,P5={offset:0,line:1,column:1};function EL(t,e){const r=t.tokens,i=t.longestMatch,n=i1?(u=Uh(a||e,"end")||vc(P5,c),f=vc(u)):(u=Uh(a,"start")||vc(Uh(e,"start")||P5,c.slice(0,s)),f=Uh(a,"end")||vc(u,c.substr(s,l))),{css:c,mismatchOffset:s,mismatchLength:l,start:u,end:f}}function Uh(t,e){const r=t&&t.loc&&t.loc[e];return r?"line"in r?vc(r):r:null}function vc({offset:t,line:e,column:r},i){const n={offset:t,line:e,column:r};if(i){const a=i.split(/\n|\r\n?|\f/);n.offset+=i.length,n.line+=a.length-1,n.column=a.length===1?n.column+i.length:a.pop().length+1}return n}const _L=function(t,e){const r=s9.createCustomError("SyntaxReferenceError",t+(e?" `"+e+"`":""));return r.reference=e,r},CL=function(t,e,r,i){const n=s9.createCustomError("SyntaxMatchError",t),{css:a,mismatchOffset:s,mismatchLength:l,start:o,end:c}=EL(i,r);return n.rawMessage=t,n.syntax=e?AL.generate(e):"",n.css=a,n.mismatchOffset=s,n.mismatchLength=l,n.message=t+` syntax: `+n.syntax+` value: `+(a||"")+` --------`+new Array(n.mismatchOffset+1).join("-")+"^",Object.assign(n,o),n.loc={source:r&&r.loc&&r.loc.source||"",start:o,end:c},n};jg.SyntaxMatchError=CL;jg.SyntaxReferenceError=_L;var Ls={};const Hh=new Map,ho=new Map,up=45,PL=$L,DL=IL,TL=Hg;function Ug(t,e){return e=e||0,t.length-e>=2&&t.charCodeAt(e)===up&&t.charCodeAt(e+1)===up}function Hg(t,e){if(e=e||0,t.length-e>=3&&t.charCodeAt(e)===up&&t.charCodeAt(e+1)!==up){const r=t.indexOf("-",e+2);if(r!==-1)return t.substring(e,r+1)}return""}function $L(t){if(Hh.has(t))return Hh.get(t);const e=t.toLowerCase();let r=Hh.get(e);if(r===void 0){const i=Ug(e,0),n=i?"":Hg(e,0);r=Object.freeze({basename:e.substr(n.length),name:e,prefix:n,vendor:n,custom:i})}return Hh.set(t,r),r}function IL(t){if(ho.has(t))return ho.get(t);let e=t,r=t[0];r==="/"?r=t[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");const i=Ug(e,r.length);if(!i&&(e=e.toLowerCase(),ho.has(e))){const l=ho.get(e);return ho.set(t,l),l}const n=i?"":Hg(e,r.length),a=e.substr(0,r.length+n.length),s=Object.freeze({basename:e.substr(a.length),name:e.substr(r.length),hack:r,vendor:n,prefix:a,custom:i});return ho.set(t,s),s}Ls.isCustomProperty=Ug;Ls.keyword=PL;Ls.property=DL;Ls.vendorPrefix=TL;var Wg={};const ML=["initial","inherit","unset","revert","revert-layer"];Wg.cssWideKeywords=ML;var Zu={};const o9=te,Ui=ot,lm=Ue,nu=43,ln=45,cm=110,po=!0,BL=!1;function N2(t,e){return t!==null&&t.type===Ui.Delim&&t.value.charCodeAt(0)===e}function Fc(t,e,r){for(;t!==null&&(t.type===Ui.WhiteSpace||t.type===Ui.Comment);)t=r(++e);return e}function ua(t,e,r,i){if(!t)return 0;const n=t.value.charCodeAt(e);if(n===nu||n===ln){if(r)return 0;e++}for(;e6)return 0}return i}function Wh(t,e,r){if(!t)return 0;for(;G2(r(e),c9);){if(++t>6)return 0;e++}return e}function RL(t,e){let r=0;if(t===null||t.type!==Za.Ident||!VL.cmpChar(t.value,0,GL)||(t=e(++r),t===null))return 0;if(G2(t,NL))return t=e(++r),t===null?0:t.type===Za.Ident?Wh(bc(t,0,!0),++r,e):G2(t,c9)?Wh(1,++r,e):0;if(t.type===Za.Number){const i=bc(t,1,!0);return i===0?0:(t=e(++r),t===null?r:t.type===Za.Dimension||t.type===Za.Number?!FL(t,l9)||!bc(t,1,!1)?0:r+1:Wh(i,r,e))}return t.type===Za.Dimension?Wh(bc(t,1,!0),++r,e):0}var jL=RL;const qL=Wg,UL=LL,HL=jL,dt=ot,wd=te,Xg=Ue,WL=["calc(","-moz-calc(","-webkit-calc("],Yg=new Map([[dt.Function,dt.RightParenthesis],[dt.LeftParenthesis,dt.RightParenthesis],[dt.LeftSquareBracket,dt.RightSquareBracket],[dt.LeftCurlyBracket,dt.RightCurlyBracket]]);function Ki(t,e){return et.max&&typeof t.max!="string")return!0}return!1}function XL(t,e){let r=0,i=[],n=0;t:do{switch(t.type){case dt.RightCurlyBracket:case dt.RightParenthesis:case dt.RightSquareBracket:if(t.type!==r)break t;if(r=i.pop(),i.length===0){n++;break t}break;case dt.Function:case dt.LeftParenthesis:case dt.LeftSquareBracket:case dt.LeftCurlyBracket:i.push(r),r=Yg.get(t.type);break}n++}while(t=e(n));return n}function Ei(t){return function(e,r,i){return e===null?0:e.type===dt.Function&&h9(e.value,WL)?XL(e,r):t(e,r,i)}}function ge(t){return function(e){return e===null||e.type!==t?0:1}}function YL(t){if(t===null||t.type!==dt.Ident)return 0;const e=t.value.toLowerCase();return h9(e,qL.cssWideKeywords)||u9(e,"default")?0:1}function ZL(t){return t===null||t.type!==dt.Ident||Ki(t.value,0)!==45||Ki(t.value,1)!==45?0:1}function KL(t){if(t===null||t.type!==dt.Hash)return 0;const e=t.value.length;if(e!==4&&e!==5&&e!==7&&e!==9)return 0;for(let r=1;re.push({type:r,value:t.slice(i,n),node:null})),e}function gO(t,e){return typeof t=="string"?mO(t):e.generate(t,fO)}var yO=gO,m0={},Ad={},y9={},Zg={};const xO=xd;function vO(t,e,r){return Object.assign(xO.createCustomError("SyntaxError",t),{input:e,offset:r,rawMessage:t,message:t+` `+e+` --`+new Array((r||e.length)+1).join("-")+"^"})}Zg.SyntaxError=vO;const bO=Zg,kO=9,wO=10,SO=12,AO=13,EO=32;class _O{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e/[a-zA-Z0-9\-]/.test(String.fromCharCode(e))?1:0),B5={" ":1,"&&":2,"||":3,"|":4};function dp(t){return t.substringToPos(t.findWsEnd(t.pos))}function Ko(t){let e=t.pos;for(;e=128||au[r]===0)break}return t.pos===e&&t.error("Expect a keyword"),t.substringToPos(e)}function fp(t){let e=t.pos;for(;e57)break}return t.pos===e&&t.error("Expect a number"),t.substringToPos(e)}function zO(t){const e=t.str.indexOf("'",t.pos+1);return e===-1&&(t.pos=t.str.length,t.error("Expect an apostrophe")),t.substringToPos(e+1)}function z5(t){let e=null,r=null;return t.eat(pp),e=fp(t),t.charCode()===Qg?(t.pos++,t.charCode()!==I5&&(r=fp(t))):r=e,t.eat(I5),{min:Number(e),max:r?Number(r):0}}function LO(t){let e=null,r=!1;switch(t.charCode()){case b9:t.pos++,e={min:0,max:0};break;case Jg:t.pos++,e={min:1,max:0};break;case F2:t.pos++,e={min:0,max:1};break;case Kg:t.pos++,r=!0,t.charCode()===pp?e=z5(t):t.charCode()===F2?(t.pos++,e={min:0,max:0}):e={min:1,max:0};break;case pp:e=z5(t);break;default:return null}return{type:"Multiplier",comma:r,min:e.min,max:e.max,term:null}}function Jo(t,e){const r=LO(t);return r!==null?(r.term=e,t.charCode()===Kg&&t.charCodeAt(t.pos-1)===Jg?Jo(t,r):r):e}function hm(t){const e=t.peek();return e===""?null:{type:"Token",value:e}}function OO(t){let e;return t.eat(ty),t.eat(hp),e=Ko(t),t.eat(hp),t.eat(k9),Jo(t,{type:"Property",name:e})}function VO(t){let e=null,r=null,i=1;return t.eat(Ed),t.charCode()===T5&&(t.peek(),i=-1),i==-1&&t.charCode()===M5?t.peek():(e=i*Number(fp(t)),au[t.charCode()]!==0&&(e+=Ko(t))),dp(t),t.eat(Qg),dp(t),t.charCode()===M5?t.peek():(i=1,t.charCode()===T5&&(t.peek(),i=-1),r=i*Number(fp(t)),au[t.charCode()]!==0&&(r+=Ko(t))),t.eat(ey),{type:"Range",min:e,max:r}}function NO(t){let e,r=null;return t.eat(ty),e=Ko(t),t.charCode()===v9&&t.nextCharCode()===MO&&(t.pos+=2,e+="()"),t.charCodeAt(t.findWsEnd(t.pos))===Ed&&(dp(t),r=VO(t)),t.eat(k9),Jo(t,{type:"Type",name:e,opts:r})}function GO(t){const e=Ko(t);return t.charCode()===v9?(t.pos++,{type:"Function",name:e}):Jo(t,{type:"Keyword",name:e})}function FO(t,e){function r(n,a){return{type:"Group",terms:n,combinator:a,disallowEmpty:!1,explicit:!1}}let i;for(e=Object.keys(e).sort((n,a)=>B5[n]-B5[a]);e.length>0;){i=e.shift();let n=0,a=0;for(;n1&&(t.splice(a,n-a,r(t.slice(a,n),i)),n=a+1),a=-1))}a!==-1&&e.length&&t.splice(a,n-a,r(t.slice(a,n),i))}return i}function w9(t){const e=[],r={};let i,n=null,a=t.pos;for(;i=jO(t);)i.type!=="Spaces"&&(i.type==="Combinator"?((n===null||n.type==="Combinator")&&(t.pos=a,t.error("Unexpected combinator")),r[i.value]=!0):n!==null&&n.type!=="Combinator"&&(r[" "]=!0,e.push({type:"Combinator",value:" "})),e.push(i),n=i,a=t.pos);return n!==null&&n.type==="Combinator"&&(t.pos-=a,t.error("Unexpected combinator")),{type:"Group",terms:e,combinator:FO(e,r)||" ",disallowEmpty:!1,explicit:!1}}function RO(t){let e;return t.eat(Ed),e=w9(t),t.eat(ey),e.explicit=!0,t.charCode()===x9&&(t.pos++,e.disallowEmpty=!0),e}function jO(t){let e=t.charCode();if(e<128&&au[e]===1)return GO(t);switch(e){case ey:break;case Ed:return Jo(t,RO(t));case ty:return t.nextCharCode()===hp?OO(t):NO(t);case $5:return{type:"Combinator",value:t.substringToPos(t.pos+(t.nextCharCode()===$5?2:1))};case D5:return t.pos++,t.eat(D5),{type:"Combinator",value:"&&"};case Qg:return t.pos++,{type:"Comma"};case hp:return Jo(t,{type:"String",value:zO(t)});case IO:case PO:case DO:case $O:case TO:return{type:"Spaces",value:dp(t)};case BO:return e=t.nextCharCode(),e<128&&au[e]===1?(t.pos++,{type:"AtKeyword",name:Ko(t)}):hm(t);case b9:case Jg:case F2:case Kg:case x9:break;case pp:if(e=t.nextCharCode(),e<48||e>57)return hm(t);break;default:return hm(t)}}function qO(t){const e=new CO.Tokenizer(t),r=w9(e);return e.pos!==t.length&&e.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}Ad.parse=qO;const UO=Ad,ze={type:"Match"},Tr={type:"Mismatch"},ry={type:"DisallowEmpty"},HO=40,WO=41;function kr(t,e,r){return e===ze&&r===Tr||t===ze&&e===ze&&r===ze?t:(t.type==="If"&&t.else===Tr&&e===ze&&(e=t.then,t=t.match),{type:"If",match:t,then:e,else:r})}function S9(t){return t.length>2&&t.charCodeAt(t.length-2)===HO&&t.charCodeAt(t.length-1)===WO}function L5(t){return t.type==="Keyword"||t.type==="AtKeyword"||t.type==="Function"||t.type==="Type"&&S9(t.name)}function R2(t,e,r){switch(t){case" ":{let i=ze;for(let n=e.length-1;n>=0;n--){const a=e[n];i=kr(a,i,Tr)}return i}case"|":{let i=Tr,n=null;for(let a=e.length-1;a>=0;a--){let s=e[a];if(L5(s)&&(n===null&&a>0&&L5(e[a-1])&&(n=Object.create(null),i=kr({type:"Enum",map:n},ze,i)),n!==null)){const l=(S9(s.name)?s.name.slice(0,-1):s.name).toLowerCase();if(!(l in n)){n[l]=s;continue}}n=null,i=kr(s,ze,i)}return i}case"&&":{if(e.length>5)return{type:"MatchOnce",terms:e,all:!0};let i=Tr;for(let n=e.length-1;n>=0;n--){const a=e[n];let s;e.length>1?s=R2(t,e.filter(function(l){return l!==a}),!1):s=ze,i=kr(a,s,i)}return i}case"||":{if(e.length>5)return{type:"MatchOnce",terms:e,all:!1};let i=r?ze:Tr;for(let n=e.length-1;n>=0;n--){const a=e[n];let s;e.length>1?s=R2(t,e.filter(function(l){return l!==a}),!0):s=ze,i=kr(a,s,i)}return i}}}function XO(t){let e=ze,r=iy(t.term);if(t.max===0)r=kr(r,ry,Tr),e=kr(r,null,Tr),e.then=kr(ze,ze,e),t.comma&&(e.then.else=kr({type:"Comma",syntax:t},e,Tr));else for(let i=t.min||1;i<=t.max;i++)t.comma&&e!==ze&&(e=kr({type:"Comma",syntax:t},e,Tr)),e=kr(r,kr(ze,ze,e),Tr);if(t.min===0)e=kr(ze,ze,e);else for(let i=0;i=65&&n<=90&&(n=n|32),n!==i)return!1}return!0}function tV(t){return t.type!==Xr.Delim?!1:t.value!=="?"}function G5(t){return t===null?!0:t.type===Xr.Comma||t.type===Xr.Function||t.type===Xr.LeftParenthesis||t.type===Xr.LeftSquareBracket||t.type===Xr.LeftCurlyBracket||tV(t)}function F5(t){return t===null?!0:t.type===Xr.RightParenthesis||t.type===Xr.RightSquareBracket||t.type===Xr.RightCurlyBracket||t.type===Xr.Delim&&t.value==="/"}function E9(t,e,r){function i(){do p++,d=px&&(x=p)}function c(){f={syntax:e.syntax,opts:e.syntax.opts||f!==null&&f.opts||null,prev:f},b={type:mp,syntax:e.syntax,token:b.token,prev:b}}function u(){b.type===mp?b=b.prev:b={type:ay,syntax:f.syntax,token:b.token,prev:b},f=f.prev}let f=null,h=null,y=null,g=null,m=0,k=null,d=null,p=-1,x=0,b={type:ZO,syntax:null,token:null,prev:null};for(i();k===null&&++my.tokenIndex)&&(y=g,g=!1);else if(y===null){k=JO;break}e=y.nextState,h=y.thenStack,f=y.syntaxStack,b=y.matchStack,p=y.tokenIndex,d=pp){for(;p":"<'"+e.name+"'>"));if(g!==!1&&d!==null&&e.type==="Type"&&(e.name==="custom-ident"&&d.type===Xr.Ident||e.name==="length"&&d.value==="0")){g===null&&(g=a(e,y)),e=de.MISMATCH;break}c(),e=w.match;break}case"Keyword":{const _=e.name;if(d!==null){let w=d.value;if(w.indexOf("\\")!==-1&&(w=w.replace(/\\[09].*$/,"")),pm(w,_)){o(),e=de.MATCH;break}}e=de.MISMATCH;break}case"AtKeyword":case"Function":if(d!==null&&pm(d.value,e.name)){o(),e=de.MATCH;break}e=de.MISMATCH;break;case"Token":if(d!==null&&d.value===e.value){o(),e=de.MATCH;break}e=de.MISMATCH;break;case"Comma":d!==null&&d.type===Xr.Comma?G5(b.token)?e=de.MISMATCH:(o(),e=F5(d)?de.MISMATCH:de.MATCH):e=G5(b.token)||F5(d)?de.MATCH:de.MISMATCH;break;case"String":let v="",S=p;for(;Sr.type==="Type"&&r.name===e)}function nV(t,e){return sy(this,t,r=>r.type==="Property"&&r.name===e)}function aV(t){return sy(this,t,e=>e.type==="Keyword")}function sy(t,e,r){const i=_9.call(t,e);return i===null?!1:i.some(r)}Ku.getTrace=_9;Ku.isKeyword=aV;Ku.isProperty=nV;Ku.isType=iV;var C9={};const sV=zs;function P9(t){return"node"in t?t.node:P9(t.match[0])}function D9(t){return"node"in t?t.node:D9(t.match[t.match.length-1])}function oV(t,e,r,i,n){function a(l){if(l.syntax!==null&&l.syntax.type===i&&l.syntax.name===n){const o=P9(l),c=D9(l);t.syntax.walk(e,function(u,f,h){if(u===o){const y=new sV.List;do{if(y.appendData(f.data),f.data===c)break;f=f.next}while(f!==null);s.push({parent:h,nodes:y})}})}Array.isArray(l.match)&&l.match.forEach(a)}const s=[];return r.matched!==null&&a(r.matched),s}C9.matchFragments=oV;var T9={};const lV=zs,{hasOwnProperty:Rc}=Object.prototype;function dm(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}function R5(t){return!!t&&dm(t.offset)&&dm(t.line)&&dm(t.column)}function cV(t,e){return function(r,i){if(!r||r.constructor!==Object)return i(r,"Type of node should be an Object");for(let n in r){let a=!0;if(Rc.call(r,n)!==!1){if(n==="type")r.type!==t&&i(r,"Wrong node type `"+r.type+"`, expected `"+t+"`");else if(n==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")n+=".source";else if(!R5(r.loc.start))n+=".start";else if(!R5(r.loc.end))n+=".end";else continue;a=!1}else if(e.hasOwnProperty(n)){a=!1;for(let s=0;!a&&s");else if(Array.isArray(c))s.push("List");else throw new Error("Wrong value `"+c+"` in `"+t+"."+a+"` structure definition")}n[a]=s.join(" | ")}return{docs:n,check:cV(t,i)}}function hV(t){const e={};if(t.node){for(const r in t.node)if(Rc.call(t.node,r)){const i=t.node[r];if(i.structure)e[r]=uV(r,i);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return e}T9.getStructureFromConfig=hV;var oy={};const kc=function(){};function j5(t){return typeof t=="function"?t:kc}function pV(t,e,r){function i(s){switch(n.call(r,s),s.type){case"Group":s.terms.forEach(i);break;case"Multiplier":i(s.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+s.type)}a.call(r,s)}let n=kc,a=kc;if(typeof e=="function"?n=e:e&&(n=j5(e.enter),a=j5(e.leave)),n===kc&&a===kc)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");i(t)}oy.walk=pV;const _o=jg,Wl=Ls,dV=Wg,fV=Zu,q5=ta,mV=yO,j2=m0,U5=ny,gV=Ku,H5=C9,yV=T9,xV=Ad,$9=kd,vV=oy,bV=j2.buildMatchGraph(dV.cssWideKeywords.join(" | "));function q2(t,e,r){const i={};for(const n in t)t[n].syntax&&(i[n]=r?t[n].syntax:$9.generate(t[n].syntax,{compact:e}));return i}function kV(t,e,r){const i={};for(const[n,a]of Object.entries(t))i[n]={prelude:a.prelude&&(r?a.prelude.syntax:$9.generate(a.prelude.syntax,{compact:e})),descriptors:a.descriptors&&q2(a.descriptors,e,r)};return i}function wV(t){for(let e=0;e(i[n]=this.createDescriptor(r.descriptors[n],"AtruleDescriptor",n,e),i),Object.create(null)):null})}addProperty_(e,r){r&&(this.properties[e]=this.createDescriptor(r,"Property",e))}addType_(e,r){r&&(this.types[e]=this.createDescriptor(r,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new _o.SyntaxReferenceError("Unknown at-rule","@"+e)}checkAtrulePrelude(e,r){const i=this.checkAtruleName(e);if(i)return i;const n=this.getAtrule(e);if(!n.prelude&&r)return new SyntaxError("At-rule `@"+e+"` should not contain a prelude");if(n.prelude&&!r&&!fo(this,n.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,r){const i=this.checkAtruleName(e);if(i)return i;const n=this.getAtrule(e),a=Wl.keyword(r);if(!n.descriptors)return new SyntaxError("At-rule `@"+e+"` has no known descriptors");if(!n.descriptors[a.name]&&!n.descriptors[a.basename])return new _o.SyntaxReferenceError("Unknown at-rule descriptor",r)}checkPropertyName(e){if(!this.getProperty(e))return new _o.SyntaxReferenceError("Unknown property",e)}matchAtrulePrelude(e,r){const i=this.checkAtrulePrelude(e,r);if(i)return Ri(null,i);const n=this.getAtrule(e);return n.prelude?fo(this,n.prelude,r||"",!1):Ri(null,null)}matchAtruleDescriptor(e,r,i){const n=this.checkAtruleDescriptorName(e,r);if(n)return Ri(null,n);const a=this.getAtrule(e),s=Wl.keyword(r);return fo(this,a.descriptors[s.name]||a.descriptors[s.basename],i,!1)}matchDeclaration(e){return e.type!=="Declaration"?Ri(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,r){if(Wl.property(e).custom)return Ri(null,new Error("Lexer matching doesn't applicable for custom properties"));const i=this.checkPropertyName(e);return i?Ri(null,i):fo(this,this.getProperty(e),r,!0)}matchType(e,r){const i=this.getType(e);return i?fo(this,i,r,!1):Ri(null,new _o.SyntaxReferenceError("Unknown type",e))}match(e,r){return typeof e!="string"&&(!e||!e.type)?Ri(null,new _o.SyntaxReferenceError("Bad syntax")):((typeof e=="string"||!e.match)&&(e=this.createDescriptor(e,"Type","anonymous")),fo(this,e,r,!1))}findValueFragments(e,r,i,n){return H5.matchFragments(this,r,this.matchProperty(e,r),i,n)}findDeclarationValueFragments(e,r,i){return H5.matchFragments(this,e.value,this.matchDeclaration(e),r,i)}findAllFragments(e,r,i){const n=[];return this.syntax.walk(e,{visit:"Declaration",enter:a=>{n.push.apply(n,this.findDeclarationValueFragments(a,r,i))}}),n}getAtrule(e,r=!0){const i=Wl.keyword(e);return(i.vendor&&r?this.atrules[i.name]||this.atrules[i.basename]:this.atrules[i.name])||null}getAtrulePrelude(e,r=!0){const i=this.getAtrule(e,r);return i&&i.prelude||null}getAtruleDescriptor(e,r){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[r]||null}getProperty(e,r=!0){const i=Wl.property(e);return(i.vendor&&r?this.properties[i.name]||this.properties[i.basename]:this.properties[i.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(n,a,s,l){if(s.has(a))return s.get(a);s.set(a,!1),l.syntax!==null&&vV.walk(l.syntax,function(o){if(o.type!=="Type"&&o.type!=="Property")return;const c=o.type==="Type"?n.types:n.properties,u=o.type==="Type"?r:i;(!hasOwnProperty.call(c,o.name)||e(n,o.name,u,c[o.name]))&&s.set(a,!0)},this)}let r=new Map,i=new Map;for(const n in this.types)e(this,n,r,this.types[n]);for(const n in this.properties)e(this,n,i,this.properties[n]);return r=[...r.keys()].filter(n=>r.get(n)),i=[...i.keys()].filter(n=>i.get(n)),r.length||i.length?{types:r,properties:i}:null}dump(e,r){return{generic:this.generic,units:this.units,types:q2(this.types,!r,e),properties:q2(this.properties,!r,e),atrules:kV(this.atrules,!r,e)}}toString(){return JSON.stringify(this.dump())}}Rg.Lexer=SV;function fm(t,e){return typeof e=="string"&&/^\s*\|/.test(e)?typeof t=="string"?t+e:e.replace(/^\s*\|\s*/,""):e||null}function W5(t,e){const r=Object.create(null);for(const[i,n]of Object.entries(t))if(n){r[i]={};for(const a of Object.keys(n))e.includes(a)&&(r[i][a]=n[a])}return r}function AV(t,e){const r=It({},t);for(const[i,n]of Object.entries(e))switch(i){case"generic":r[i]=!!n;break;case"units":r[i]=It({},t[i]);for(const[a,s]of Object.entries(n))r[i][a]=Array.isArray(s)?s:[];break;case"atrules":r[i]=It({},t[i]);for(const[a,s]of Object.entries(n)){const l=r[i][a]||{},o=r[i][a]={prelude:l.prelude||null,descriptors:It({},l.descriptors)};if(s){o.prelude=s.prelude?fm(o.prelude,s.prelude):o.prelude||null;for(const[c,u]of Object.entries(s.descriptors||{}))o.descriptors[c]=u?fm(o.descriptors[c],u):null;Object.keys(o.descriptors).length||(o.descriptors=null)}}break;case"types":case"properties":r[i]=It({},t[i]);for(const[a,s]of Object.entries(n))r[i][a]=fm(r[i][a],s);break;case"scope":r[i]=It({},t[i]);for(const[a,s]of Object.entries(n))r[i][a]=It(It({},r[i][a]),s);break;case"parseContext":r[i]=It(It({},t[i]),n);break;case"atrule":case"pseudo":r[i]=It(It({},t[i]),W5(n,["parse"]));break;case"node":r[i]=It(It({},t[i]),W5(n,["name","structure","parse","generate","walkContext"]));break}return r}var EV=AV;const _V=bt,CV=q8,PV=W8,DV=n9,TV=a9,X5=Rg,U2=EV;function I9(t){const e=CV.createParser(t),r=TV.createWalker(t),i=PV.createGenerator(t),{fromPlainObject:n,toPlainObject:a}=DV.createConvertor(r),s={lexer:null,createLexer:l=>new X5.Lexer(l,s,s.lexer.structure),tokenize:_V.tokenize,parse:e,generate:i,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:n,toPlainObject:a,fork(l){const o=U2({},t);return I9(typeof l=="function"?l(o,Object.assign):U2(o,l))}};return s.lexer=new X5.Lexer({generic:!0,units:t.units,types:t.types,atrules:t.atrules,properties:t.properties,node:t.node},s),s}const $V=t=>I9(U2({},t));var M9=$V,IV={generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( )","alpha-value":"|","angle-percentage":"|","angular-color-hint":"","angular-color-stop":"&&?","angular-color-stop-list":"[ [, ]?]# , ","animateable-feature":"scroll-position|contents|","asin()":"asin( )","atan()":"atan( )","atan2()":"atan2( , )",attachment:"scroll|fixed|local","attr()":"attr( ? [, ]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' ']'|'[' [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ? [? [|]]* ?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"||||","bg-image":"none|","bg-layer":"|| [/ ]?||||||||","bg-position":"[[left|center|right|top|bottom|]|[left|center|right|] [top|center|bottom|]|[center|[left|right] ?]&&[center|[top|bottom] ?]]","bg-size":"[|auto]{1,2}|cover|contain","blur()":"blur( )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( )","calc()":"calc( )","calc-sum":" [['+'|'-'] ]*","calc-product":" ['*' |'/' ]*","calc-value":"||||( )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( []? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"|||||||||currentcolor|","color-stop":"|","color-stop-angle":"{1,2}","color-stop-length":"{1,2}","color-stop-list":"[ [, ]?]# , ",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[? * [ *]*]!","compound-selector-list":"#","complex-selector":" [? ]*","complex-selector-list":"#","conic-gradient()":"conic-gradient( [from ]? [at ]? , )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[|contents||||||]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"","contrast()":"contrast( [] )","cos()":"cos( )",counter:"|","counter()":"counter( , ? )","counter-name":"","counter-style":"|symbols( )","counter-style-name":"","counters()":"counters( , , ? )","cross-fade()":"cross-fade( , ? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( , , , )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( {2,3} ? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( , [first|start|last|first-except]? )|element( )","ellipse()":"ellipse( [{2}]? [at ]? )","ending-shape":"circle|ellipse","env()":"env( , ? )","exp()":"exp( )","explicit-track-list":"[? ]+ ?","family-name":"|+","feature-tag-value":" [|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":" '{' '}'","feature-value-block-list":"+","feature-value-declaration":" : + ;","feature-value-declaration-list":"","feature-value-name":"","fill-rule":"nonzero|evenodd","filter-function":"|||||||||","filter-function-list":"[|]+","final-bg-layer":"<'background-color'>|||| [/ ]?||||||||","fixed-breadth":"","fixed-repeat":"repeat( [] , [? ]+ ? )","fixed-size":"|minmax( , )|minmax( , )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|","frequency-percentage":"|","general-enclosed":"[ )]|( )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"|fill-box|stroke-box|view-box",gradient:"||||||<-legacy-gradient>","grayscale()":"grayscale( )","grid-line":"auto||[&&?]|[span&&[||]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( [/ ]? )|hsl( , , , ? )","hsla()":"hsla( [/ ]? )|hsla( , , , ? )",hue:"|","hue-rotate()":"hue-rotate( )","hwb()":"hwb( [|none] [|none] [|none] [/ [|none]]? )","hypot()":"hypot( # )",image:"||||||","image()":"image( ? [? , ?]! )","image-set()":"image-set( # )","image-set-option":"[|] [||type( )]","image-src":"|","image-tags":"ltr|rtl","inflexible-breadth":"|min-content|max-content|auto","inset()":"inset( {1,4} [round <'border-radius'>]? )","invert()":"invert( )","keyframes-name":"|","keyframe-block":"# { }","keyframe-block-list":"+","keyframe-selector":"from|to|","lab()":"lab( [||none] [||none] [||none] [/ [|none]]? )","layer()":"layer( )","layer-name":" ['.' ]*","lch()":"lch( [||none] [||none] [|none] [/ [|none]]? )","leader()":"leader( )","leader-type":"dotted|solid|space|","length-percentage":"|","line-names":"'[' * ']'","line-name-list":"[|]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"|thin|medium|thick","linear-color-hint":"","linear-color-stop":" ?","linear-gradient()":"linear-gradient( [|to ]? , )","log()":"log( , ? )","mask-layer":"|| [/ ]?||||||[|no-clip]||||","mask-position":"[|left|center|right] [|top|center|bottom]?","mask-reference":"none||","mask-source":"","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( #{6} )","matrix3d()":"matrix3d( #{16} )","max()":"max( # )","media-and":" [and ]+","media-condition":"|||","media-condition-without-or":"||","media-feature":"( [||] )","media-in-parens":"( )||","media-not":"not ","media-or":" [or ]+","media-query":"|[not|only]? [and ]?","media-query-list":"#","media-type":"","mf-boolean":"","mf-name":"","mf-plain":" : ","mf-range":" ['<'|'>']? '='? | ['<'|'>']? '='? | '<' '='? '<' '='? | '>' '='? '>' '='? ","mf-value":"|||","min()":"min( # )","minmax()":"minmax( [|min-content|max-content|auto] , [||min-content|max-content|auto] )","mod()":"mod( , )","name-repeat":"repeat( [|auto-fill] , + )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"","ns-prefix":"[|'*']? '|'","number-percentage":"|","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"|even|odd","opacity()":"opacity( [] )","overflow-position":"unsafe|safe","outline-radius":"|","page-body":"? [; ]?| ","page-margin-box":" '{' '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[#]?","page-selector":"+| *","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [ ,]? )","paint()":"paint( , ? )","perspective()":"perspective( [|none] )","polygon()":"polygon( ? , [ ]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","pow()":"pow( , )","pseudo-class-selector":"':' |':' ')'","pseudo-element-selector":"':' ","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [||]? [at ]? , )",ratio:" [/ ]?","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","rem()":"rem( , )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from ]? [at ]? , )","repeating-linear-gradient()":"repeating-linear-gradient( [|to ]? , )","repeating-radial-gradient()":"repeating-radial-gradient( [||]? [at ]? , )","reversed-counter-name":"reversed( )","rgb()":"rgb( {3} [/ ]? )|rgb( {3} [/ ]? )|rgb( #{3} , ? )|rgb( #{3} , ? )","rgba()":"rgba( {3} [/ ]? )|rgba( {3} [/ ]? )|rgba( #{3} , ? )|rgba( #{3} , ? )","rotate()":"rotate( [|] )","rotate3d()":"rotate3d( , , , [|] )","rotateX()":"rotateX( [|] )","rotateY()":"rotateY( [|] )","rotateZ()":"rotateZ( [|] )","round()":"round( ? , , )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( )","scale()":"scale( [|]#{1,2} )","scale3d()":"scale3d( [|]#{3} )","scaleX()":"scaleX( [|] )","scaleY()":"scaleY( [|] )","scaleZ()":"scaleZ( [|] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"|closest-side|farthest-side","sign()":"sign( )","skew()":"skew( [|] , [|]? )","skewX()":"skewX( [|] )","skewY()":"skewY( [|] )","sepia()":"sepia( )",shadow:"inset?&&{2,4}&&?","shadow-t":"[{2,3}&&?]",shape:"rect( , , , )|rect( )","shape-box":"|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( )","single-animation":"