@enegelai/bot-widget 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,68 +1,62 @@
1
- var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,configurable:!0,writable:!0,value:me}):F[pe]=me;var Ee=(F,pe,me)=>(kb(F,typeof pe!="symbol"?pe+"":pe,me),me);(function(F,pe){typeof exports=="object"&&typeof module<"u"?pe(exports):typeof define=="function"&&define.amd?define(["exports"],pe):(F=typeof globalThis<"u"?globalThis:F||self,pe(F.EnegelaiBot={}))})(this,function(F){var Rc;"use strict";function pe(t){return typeof t=="function"?t():t}const Gr=class Gr extends Event{constructor(o,r,s){super(Gr.eventName,{cancelable:!1});Ee(this,"key");Ee(this,"state");Ee(this,"value");this.key=o,this.value=r,this.state=s}};Ee(Gr,"eventName","lit-state-changed");let me=Gr;const Fc=(t,e)=>e!==t&&(e===e||t===t);class Ho extends EventTarget{constructor(){super();Ee(this,"hookMap",new Map);this.constructor.finalize(),this.propertyMap&&[...this.propertyMap].forEach(([o,r])=>{if(r.initialValue!==void 0){const s=pe(r.initialValue);this[o]=s,r.value=s}})}get propertyMap(){return this.constructor.propertyMap}get stateValue(){return Object.fromEntries([...this.propertyMap].map(([o])=>[o,this[o]]))}static finalize(){if(this.finalized)return!1;this.finalized=!0;const o=Object.keys(this.properties||{});for(const r of o)this.createProperty(r,this.properties[r]);return!0}static createProperty(o,r){this.finalize();const s=typeof o=="symbol"?Symbol():`__${o}`,a=this.getPropertyDescriptor(o,s,r);Object.defineProperty(this.prototype,o,a)}static getPropertyDescriptor(o,r,s){const a=(s==null?void 0:s.hasChanged)||Fc;return{get(){return this[r]},set(n){const i=this[o];this[r]=n,a(n,i)===!0&&this.dispatchStateEvent(o,n,this)},configurable:!0,enumerable:!0}}reset(){this.hookMap.forEach(o=>o.reset()),[...this.propertyMap].filter(([o,r])=>!(r.skipReset===!0||r.resetValue===void 0)).forEach(([o,r])=>{this[o]=r.resetValue})}subscribe(o,r,s){r&&!Array.isArray(r)&&(r=[r]);const a=n=>{(!r||r.includes(n.key))&&o(n.key,n.value,this)};return this.addEventListener(me.eventName,a,s),()=>this.removeEventListener(me.eventName,a)}dispatchStateEvent(o,r,s){this.dispatchEvent(new me(o,r,s))}}Ee(Ho,"propertyMap"),Ee(Ho,"properties"),Ee(Ho,"finalized",!1);class wa{constructor(e,o,r){Ee(this,"host");Ee(this,"state");Ee(this,"callback");this.host=e,this.state=o,this.host.addController(this),this.callback=r||(()=>this.host.requestUpdate())}hostConnected(){this.state.addEventListener(me.eventName,this.callback),this.callback()}hostDisconnected(){this.state.removeEventListener(me.eventName,this.callback)}}/**
1
+ (function(B,be){typeof exports=="object"&&typeof module<"u"?be(exports):typeof define=="function"&&define.amd?define(["exports"],be):(B=typeof globalThis<"u"?globalThis:B||self,be(B.EnegelaiBot={}))})(this,function(B){"use strict";var Gp=Object.defineProperty;var Wp=(B,be,ge)=>be in B?Gp(B,be,{enumerable:!0,configurable:!0,writable:!0,value:ge}):B[be]=ge;var Ce=(B,be,ge)=>(Wp(B,typeof be!="symbol"?be+"":be,ge),ge);var qi;function be(t){return typeof t=="function"?t():t}const _r=class _r extends Event{constructor(o,r,s){super(_r.eventName,{cancelable:!1});Ce(this,"key");Ce(this,"state");Ce(this,"value");this.key=o,this.value=r,this.state=s}};Ce(_r,"eventName","lit-state-changed");let ge=_r;const Ti=(t,e)=>e!==t&&(e===e||t===t);class Eo extends EventTarget{constructor(){super();Ce(this,"hookMap",new Map);this.constructor.finalize(),this.propertyMap&&[...this.propertyMap].forEach(([o,r])=>{if(r.initialValue!==void 0){const s=be(r.initialValue);this[o]=s,r.value=s}})}get propertyMap(){return this.constructor.propertyMap}get stateValue(){return Object.fromEntries([...this.propertyMap].map(([o])=>[o,this[o]]))}static finalize(){if(this.finalized)return!1;this.finalized=!0;const o=Object.keys(this.properties||{});for(const r of o)this.createProperty(r,this.properties[r]);return!0}static createProperty(o,r){this.finalize();const s=typeof o=="symbol"?Symbol():`__${o}`,a=this.getPropertyDescriptor(o,s,r);Object.defineProperty(this.prototype,o,a)}static getPropertyDescriptor(o,r,s){const a=(s==null?void 0:s.hasChanged)||Ti;return{get(){return this[r]},set(n){const i=this[o];this[r]=n,a(n,i)===!0&&this.dispatchStateEvent(o,n,this)},configurable:!0,enumerable:!0}}reset(){this.hookMap.forEach(o=>o.reset()),[...this.propertyMap].filter(([o,r])=>!(r.skipReset===!0||r.resetValue===void 0)).forEach(([o,r])=>{this[o]=r.resetValue})}subscribe(o,r,s){r&&!Array.isArray(r)&&(r=[r]);const a=n=>{(!r||r.includes(n.key))&&o(n.key,n.value,this)};return this.addEventListener(ge.eventName,a,s),()=>this.removeEventListener(ge.eventName,a)}dispatchStateEvent(o,r,s){this.dispatchEvent(new ge(o,r,s))}}Ce(Eo,"propertyMap"),Ce(Eo,"properties"),Ce(Eo,"finalized",!1);class Bs{constructor(e,o,r){Ce(this,"host");Ce(this,"state");Ce(this,"callback");this.host=e,this.state=o,this.host.addController(this),this.callback=r||(()=>this.host.requestUpdate())}hostConnected(){this.state.addEventListener(ge.eventName,this.callback),this.callback()}hostDisconnected(){this.state.removeEventListener(ge.eventName,this.callback)}}/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const xa=({finisher:t,descriptor:e})=>(o,r)=>{var s;if(r===void 0){const a=(s=o.originalKey)!==null&&s!==void 0?s:o.key,n=e!=null?{kind:"method",placement:"prototype",key:a,descriptor:e(o.key)}:{...o,key:a};return t!=null&&(n.finisher=function(i){t(i,a)}),n}{const a=o.constructor;e!==void 0&&Object.defineProperty(o,r,e(r)),t==null||t(a,r)}};function be(t){return xa({finisher:(e,o)=>{if(Object.getOwnPropertyDescriptor(e.prototype,o))throw new Error("@property must be called before all state decorators");return e.propertyMap||(e.propertyMap=new Map),e.propertyMap.set(o,{...t,initialValue:t==null?void 0:t.value,resetValue:t==null?void 0:t.value}),e.createProperty(o,t)}})}function Bc(t,e){if(t!==null&&(e===Boolean||e===Number||e===Array||e===Object))try{t=JSON.parse(t)}catch{console.warn("cannot parse value",t)}return t}new URL(window.location.href);const Nc={prefix:"_ls"};function ot(t){return t={...Nc,...t},xa({finisher:(e,o)=>{const r=Object.getOwnPropertyDescriptor(e.prototype,o);if(!r)throw new Error("@local-storage decorator need to be called after @property");const s=`${(t==null?void 0:t.prefix)||""}_${(t==null?void 0:t.key)||String(o)}`,a=e.propertyMap.get(o),n=a==null?void 0:a.type;if(a){const d=a.initialValue;a.initialValue=()=>Bc(localStorage.getItem(s),n)??pe(d),e.propertyMap.set(o,{...a,...t})}const i=r==null?void 0:r.set,l={...r,set:function(d){d!==void 0&&localStorage.setItem(s,n===Object||n===Array?JSON.stringify(d):d),i&&i.call(this,d)}};Object.defineProperty(e.prototype,o,l)}})}/**
5
+ */const Vs=({finisher:t,descriptor:e})=>(o,r)=>{var s;if(r===void 0){const a=(s=o.originalKey)!==null&&s!==void 0?s:o.key,n=e!=null?{kind:"method",placement:"prototype",key:a,descriptor:e(o.key)}:{...o,key:a};return t!=null&&(n.finisher=function(i){t(i,a)}),n}{const a=o.constructor;e!==void 0&&Object.defineProperty(o,r,e(r)),t==null||t(a,r)}};function de(t){return Vs({finisher:(e,o)=>{if(Object.getOwnPropertyDescriptor(e.prototype,o))throw new Error("@property must be called before all state decorators");return e.propertyMap||(e.propertyMap=new Map),e.propertyMap.set(o,{...t,initialValue:t==null?void 0:t.value,resetValue:t==null?void 0:t.value}),e.createProperty(o,t)}})}function zi(t,e){if(t!==null&&(e===Boolean||e===Number||e===Array||e===Object))try{t=JSON.parse(t)}catch{console.warn("cannot parse value",t)}return t}new URL(window.location.href);const Li={prefix:"_ls"};function Ke(t){return t={...Li,...t},Vs({finisher:(e,o)=>{const r=Object.getOwnPropertyDescriptor(e.prototype,o);if(!r)throw new Error("@local-storage decorator need to be called after @property");const s=`${(t==null?void 0:t.prefix)||""}_${(t==null?void 0:t.key)||String(o)}`,a=e.propertyMap.get(o),n=a==null?void 0:a.type;if(a){const f=a.initialValue;a.initialValue=()=>zi(localStorage.getItem(s),n)??be(f),e.propertyMap.set(o,{...a,...t})}const i=r==null?void 0:r.set,l={...r,set:function(f){f!==void 0&&localStorage.setItem(s,n===Object||n===Array?JSON.stringify(f):f),i&&i.call(this,f)}};Object.defineProperty(e.prototype,o,l)}})}/**
6
6
  * @license
7
7
  * Copyright 2019 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const Uo=globalThis,Wr=Uo.ShadowRoot&&(Uo.ShadyCSS===void 0||Uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ka=Symbol(),Ca=new WeakMap;let Vc=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==ka)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(Wr&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=Ca.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&Ca.set(o,e))}return e}toString(){return this.cssText}};const Hc=t=>new Vc(typeof t=="string"?t:t+"",void 0,ka),Uc=(t,e)=>{if(Wr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=Uo.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},Aa=Wr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return Hc(o)})(t):t;/**
9
+ */const So=globalThis,kr=So.ShadowRoot&&(So.ShadyCSS===void 0||So.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Us=Symbol(),Ns=new WeakMap;let Ri=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==Us)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(kr&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=Ns.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&Ns.set(o,e))}return e}toString(){return this.cssText}};const Oi=t=>new Ri(typeof t=="string"?t:t+"",void 0,Us),Fi=(t,e)=>{if(kr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=So.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},js=kr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return Oi(o)})(t):t;/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const{is:jc,defineProperty:Gc,getOwnPropertyDescriptor:Zc,getOwnPropertyNames:Wc,getOwnPropertySymbols:Kc,getPrototypeOf:Yc}=Object,rt=globalThis,$a=rt.trustedTypes,Jc=$a?$a.emptyScript:"",Kr=rt.reactiveElementPolyfillSupport,ao=(t,e)=>t,jo={toAttribute(t,e){switch(e){case Boolean:t=t?Jc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Yr=(t,e)=>!jc(t,e),Ea={attribute:!0,type:String,converter:jo,reflect:!1,hasChanged:Yr};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),rt.litPropertyMetadata??(rt.litPropertyMetadata=new WeakMap);let no=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Ea){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){const r=Symbol(),s=this.getPropertyDescriptor(e,r,o);s!==void 0&&Gc(this.prototype,e,s)}}static getPropertyDescriptor(e,o,r){const{get:s,set:a}=Zc(this.prototype,e)??{get(){return this[o]},set(n){this[o]=n}};return{get(){return s==null?void 0:s.call(this)},set(n){const i=s==null?void 0:s.call(this);a.call(this,n),this.requestUpdate(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ea}static _$Ei(){if(this.hasOwnProperty(ao("elementProperties")))return;const e=Yc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ao("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ao("properties"))){const o=this.properties,r=[...Wc(o),...Kc(o)];for(const s of r)this.createProperty(s,o[s])}const e=this[Symbol.metadata];if(e!==null){const o=litPropertyMetadata.get(e);if(o!==void 0)for(const[r,s]of o)this.elementProperties.set(r,s)}this._$Eh=new Map;for(const[o,r]of this.elementProperties){const s=this._$Eu(o,r);s!==void 0&&this._$Eh.set(s,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const o=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const s of r)o.unshift(Aa(s))}else e!==void 0&&o.push(Aa(e));return o}static _$Eu(e,o){const r=o.attribute;return r===!1?void 0:typeof r=="string"?r: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(){var e;this._$Eg=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(o=>o(this))}addController(e){var o;(this._$ES??(this._$ES=[])).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)==null||o.call(e))}removeController(e){var o;(o=this._$ES)==null||o.splice(this._$ES.indexOf(e)>>>0,1)}_$E_(){const e=new Map,o=this.constructor.elementProperties;for(const r of o.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Uc(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostDisconnected)==null?void 0:r.call(o)})}attributeChangedCallback(e,o,r){this._$AK(e,r)}_$EO(e,o){var a;const r=this.constructor.elementProperties.get(e),s=this.constructor._$Eu(e,r);if(s!==void 0&&r.reflect===!0){const n=(((a=r.converter)==null?void 0:a.toAttribute)!==void 0?r.converter:jo).toAttribute(o,r.type);this._$Em=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(e,o){var a;const r=this.constructor,s=r._$Eh.get(e);if(s!==void 0&&this._$Em!==s){const n=r.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:((a=n.converter)==null?void 0:a.fromAttribute)!==void 0?n.converter:jo;this._$Em=s,this[s]=i.fromAttribute(o,n.type),this._$Em=null}}requestUpdate(e,o,r,s=!1,a){if(e!==void 0){if(r??(r=this.constructor.getPropertyOptions(e)),!(r.hasChanged??Yr)(s?a:this[e],o))return;this.C(e,o,r)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,r){this._$AL.has(e)||this._$AL.set(e,o),r.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],n)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(r=this._$ES)==null||r.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(o)):this._$ET()}catch(s){throw e=!1,this._$ET(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){var o;(o=this._$ES)==null||o.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(o=>this._$EO(o,this[o]))),this._$ET()}updated(e){}firstUpdated(e){}};no.elementStyles=[],no.shadowRootOptions={mode:"open"},no[ao("elementProperties")]=new Map,no[ao("finalized")]=new Map,Kr==null||Kr({ReactiveElement:no}),(rt.reactiveElementVersions??(rt.reactiveElementVersions=[])).push("2.0.1");/**
13
+ */const{is:Pi,defineProperty:Ii,getOwnPropertyDescriptor:Mi,getOwnPropertyNames:Bi,getOwnPropertySymbols:Vi,getPrototypeOf:Ui}=Object,tt=globalThis,Hs=tt.trustedTypes,Ni=Hs?Hs.emptyScript:"",Cr=tt.reactiveElementPolyfillSupport,Ht=(t,e)=>t,Do={toAttribute(t,e){switch(e){case Boolean:t=t?Ni:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Ar=(t,e)=>!Pi(t,e),Gs={attribute:!0,type:String,converter:Do,reflect:!1,hasChanged:Ar};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),tt.litPropertyMetadata??(tt.litPropertyMetadata=new WeakMap);let Gt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Gs){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){const r=Symbol(),s=this.getPropertyDescriptor(e,r,o);s!==void 0&&Ii(this.prototype,e,s)}}static getPropertyDescriptor(e,o,r){const{get:s,set:a}=Mi(this.prototype,e)??{get(){return this[o]},set(n){this[o]=n}};return{get(){return s==null?void 0:s.call(this)},set(n){const i=s==null?void 0:s.call(this);a.call(this,n),this.requestUpdate(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Gs}static _$Ei(){if(this.hasOwnProperty(Ht("elementProperties")))return;const e=Ui(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ht("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ht("properties"))){const o=this.properties,r=[...Bi(o),...Vi(o)];for(const s of r)this.createProperty(s,o[s])}const e=this[Symbol.metadata];if(e!==null){const o=litPropertyMetadata.get(e);if(o!==void 0)for(const[r,s]of o)this.elementProperties.set(r,s)}this._$Eh=new Map;for(const[o,r]of this.elementProperties){const s=this._$Eu(o,r);s!==void 0&&this._$Eh.set(s,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const o=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const s of r)o.unshift(js(s))}else e!==void 0&&o.push(js(e));return o}static _$Eu(e,o){const r=o.attribute;return r===!1?void 0:typeof r=="string"?r: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(){var e;this._$Eg=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(o=>o(this))}addController(e){var o;(this._$ES??(this._$ES=[])).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)==null||o.call(e))}removeController(e){var o;(o=this._$ES)==null||o.splice(this._$ES.indexOf(e)>>>0,1)}_$E_(){const e=new Map,o=this.constructor.elementProperties;for(const r of o.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Fi(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostDisconnected)==null?void 0:r.call(o)})}attributeChangedCallback(e,o,r){this._$AK(e,r)}_$EO(e,o){var a;const r=this.constructor.elementProperties.get(e),s=this.constructor._$Eu(e,r);if(s!==void 0&&r.reflect===!0){const n=(((a=r.converter)==null?void 0:a.toAttribute)!==void 0?r.converter:Do).toAttribute(o,r.type);this._$Em=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(e,o){var a;const r=this.constructor,s=r._$Eh.get(e);if(s!==void 0&&this._$Em!==s){const n=r.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:((a=n.converter)==null?void 0:a.fromAttribute)!==void 0?n.converter:Do;this._$Em=s,this[s]=i.fromAttribute(o,n.type),this._$Em=null}}requestUpdate(e,o,r,s=!1,a){if(e!==void 0){if(r??(r=this.constructor.getPropertyOptions(e)),!(r.hasChanged??Ar)(s?a:this[e],o))return;this.C(e,o,r)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,r){this._$AL.has(e)||this._$AL.set(e,o),r.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],n)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(r=this._$ES)==null||r.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(o)):this._$ET()}catch(s){throw e=!1,this._$ET(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){var o;(o=this._$ES)==null||o.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(o=>this._$EO(o,this[o]))),this._$ET()}updated(e){}firstUpdated(e){}};Gt.elementStyles=[],Gt.shadowRootOptions={mode:"open"},Gt[Ht("elementProperties")]=new Map,Gt[Ht("finalized")]=new Map,Cr==null||Cr({ReactiveElement:Gt}),(tt.reactiveElementVersions??(tt.reactiveElementVersions=[])).push("2.0.1");/**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */const io=globalThis,Go=io.trustedTypes,Sa=Go?Go.createPolicy("lit-html",{createHTML:t=>t}):void 0,Jr="$lit$",Ye=`lit$${(Math.random()+"").slice(9)}$`,Qr="?"+Ye,Qc=`<${Qr}>`,vt=document,Zo=()=>vt.createComment(""),co=t=>t===null||typeof t!="object"&&typeof t!="function",Da=Array.isArray,qa=t=>Da(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Xr=`[
18
- \f\r]`,lo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ta=/-->/g,za=/>/g,yt=RegExp(`>|${Xr}(?:([^\\s"'>=/]+)(${Xr}*=${Xr}*(?:[^
19
- \f\r"'\`<>=]|("|')|))|$)`,"g"),La=/'/g,Ra=/"/g,Ia=/^(?:script|style|textarea|title)$/i,Xc=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),el=Xc(1),xe=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),Pa=new WeakMap,_t=vt.createTreeWalker(vt,129);function Ma(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sa!==void 0?Sa.createHTML(e):e}const Oa=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=lo;for(let i=0;i<o;i++){const c=t[i];let l,d,u=-1,b=0;for(;b<c.length&&(n.lastIndex=b,d=n.exec(c),d!==null);)b=n.lastIndex,n===lo?d[1]==="!--"?n=Ta:d[1]!==void 0?n=za:d[2]!==void 0?(Ia.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=yt):d[3]!==void 0&&(n=yt):n===yt?d[0]===">"?(n=s??lo,u=-1):d[1]===void 0?u=-2:(u=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?yt:d[3]==='"'?Ra:La):n===Ra||n===La?n=yt:n===Ta||n===za?n=lo:(n=yt,s=void 0);const h=n===yt&&t[i+1].startsWith("/>")?" ":"";a+=n===lo?c+Qc:u>=0?(r.push(l),c.slice(0,u)+Jr+c.slice(u)+Ye+h):c+Ye+(u===-2?i:h)}return[Ma(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};let es=class Ic{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const i=e.length-1,c=this.parts,[l,d]=Oa(e,o);if(this.el=Ic.createElement(l,r),_t.currentNode=this.el.content,o===2){const u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(s=_t.nextNode())!==null&&c.length<i;){if(s.nodeType===1){if(s.hasAttributes())for(const u of s.getAttributeNames())if(u.endsWith(Jr)){const b=d[n++],h=s.getAttribute(u).split(Ye),g=/([.?@])?(.*)/.exec(b);c.push({type:1,index:a,name:g[2],strings:h,ctor:g[1]==="."?Ba:g[1]==="?"?Na:g[1]==="@"?Va:fo}),s.removeAttribute(u)}else u.startsWith(Ye)&&(c.push({type:6,index:a}),s.removeAttribute(u));if(Ia.test(s.tagName)){const u=s.textContent.split(Ye),b=u.length-1;if(b>0){s.textContent=Go?Go.emptyScript:"";for(let h=0;h<b;h++)s.append(u[h],Zo()),_t.nextNode(),c.push({type:2,index:++a});s.append(u[b],Zo())}}}else if(s.nodeType===8)if(s.data===Qr)c.push({type:2,index:a});else{let u=-1;for(;(u=s.data.indexOf(Ye,u+1))!==-1;)c.push({type:7,index:a}),u+=Ye.length-1}a++}}static createElement(e,o){const r=vt.createElement("template");return r.innerHTML=e,r}};function wt(t,e,o=t,r){var n,i;if(e===xe)return e;let s=r!==void 0?(n=o._$Co)==null?void 0:n[r]:o._$Cl;const a=co(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==a&&((i=s==null?void 0:s._$AO)==null||i.call(s,!1),a===void 0?s=void 0:(s=new a(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=wt(t,s._$AS(t,e.values),s,r)),e}let Fa=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:o},parts:r}=this._$AD,s=((e==null?void 0:e.creationScope)??vt).importNode(o,!0);_t.currentNode=s;let a=_t.nextNode(),n=0,i=0,c=r[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new ts(a,a.nextSibling,this,e):c.type===1?l=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(l=new Ha(a,this,e)),this._$AV.push(l),c=r[++i]}n!==(c==null?void 0:c.index)&&(a=_t.nextNode(),n++)}return _t.currentNode=vt,s}p(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}},ts=class Pc{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,o,r,s){this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=wt(this,e,o),co(e)?e===Y||e==null||e===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):e!==this._$AH&&e!==xe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):qa(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Y&&co(this._$AH)?this._$AA.nextSibling.data=e:this.$(vt.createTextNode(e)),this._$AH=e}g(e){var a;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=es.createElement(Ma(r.h,r.h[0]),this.options)),r);if(((a=this._$AH)==null?void 0:a._$AD)===s)this._$AH.p(o);else{const n=new Fa(s,this),i=n.u(this.options);n.p(o),this.$(i),this._$AH=n}}_$AC(e){let o=Pa.get(e.strings);return o===void 0&&Pa.set(e.strings,o=new es(e)),o}T(e){Da(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Pc(this.k(Zo()),this.k(Zo()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cv=e,(o=this._$AP)==null||o.call(this,e))}},fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Y}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=wt(this,e,o,0),n=!co(e)||e!==this._$AH&&e!==xe,n&&(this._$AH=e);else{const i=e;let c,l;for(e=a[0],c=0;c<a.length-1;c++)l=wt(this,i[r+c],o,c),l===xe&&(l=this._$AH[c]),n||(n=!co(l)||l!==this._$AH[c]),l===Y?e=Y:e!==Y&&(e+=(l??"")+a[c+1]),this._$AH[c]=l}n&&!s&&this.j(e)}j(e){e===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ba=class extends fo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Y?void 0:e}},Na=class extends fo{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Y)}},Va=class extends fo{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){if((e=wt(this,e,o,0)??Y)===xe)return;const r=this._$AH,s=e===Y&&r!==Y||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==Y&&(r===Y||s);s&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o;typeof this._$AH=="function"?this._$AH.call(((o=this.options)==null?void 0:o.host)??this.element,e):this._$AH.handleEvent(e)}},Ha=class{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){wt(this,e)}};const tl={S:Jr,A:Ye,P:Qr,C:1,M:Oa,L:Fa,R:qa,V:wt,D:ts,I:fo,H:Na,N:Va,U:Ba,B:Ha},os=io.litHtmlPolyfillSupport;os==null||os(es,ts),(io.litHtmlVersions??(io.litHtmlVersions=[])).push("3.0.1");/**
17
+ */const Wt=globalThis,qo=Wt.trustedTypes,Ws=qo?qo.createPolicy("lit-html",{createHTML:t=>t}):void 0,$r="$lit$",Je=`lit$${(Math.random()+"").slice(9)}$`,Er="?"+Je,ji=`<${Er}>`,pt=document,Zt=()=>pt.createComment(""),Kt=t=>t===null||typeof t!="object"&&typeof t!="function",Zs=Array.isArray,Ks=t=>Zs(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",Sr=`[
18
+ \f\r]`,Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Js=/-->/g,Ys=/>/g,bt=RegExp(`>|${Sr}(?:([^\\s"'>=/]+)(${Sr}*=${Sr}*(?:[^
19
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Qs=/'/g,Xs=/"/g,ea=/^(?:script|style|textarea|title)$/i,ta=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),_=ta(1),To=ta(2),fe=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),oa=new WeakMap,gt=pt.createTreeWalker(pt,129);function ra(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ws!==void 0?Ws.createHTML(e):e}const sa=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=Jt;for(let i=0;i<o;i++){const c=t[i];let l,f,h=-1,b=0;for(;b<c.length&&(n.lastIndex=b,f=n.exec(c),f!==null);)b=n.lastIndex,n===Jt?f[1]==="!--"?n=Js:f[1]!==void 0?n=Ys:f[2]!==void 0?(ea.test(f[2])&&(s=RegExp("</"+f[2],"g")),n=bt):f[3]!==void 0&&(n=bt):n===bt?f[0]===">"?(n=s??Jt,h=-1):f[1]===void 0?h=-2:(h=n.lastIndex-f[2].length,l=f[1],n=f[3]===void 0?bt:f[3]==='"'?Xs:Qs):n===Xs||n===Qs?n=bt:n===Js||n===Ys?n=Jt:(n=bt,s=void 0);const p=n===bt&&t[i+1].startsWith("/>")?" ":"";a+=n===Jt?c+ji:h>=0?(r.push(l),c.slice(0,h)+$r+c.slice(h)+Je+p):c+Je+(h===-2?i:p)}return[ra(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};class Yt{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const i=e.length-1,c=this.parts,[l,f]=sa(e,o);if(this.el=Yt.createElement(l,r),gt.currentNode=this.el.content,o===2){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=gt.nextNode())!==null&&c.length<i;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith($r)){const b=f[n++],p=s.getAttribute(h).split(Je),m=/([.?@])?(.*)/.exec(b);c.push({type:1,index:a,name:m[2],strings:p,ctor:m[1]==="."?na:m[1]==="?"?ia:m[1]==="@"?ca:Qt}),s.removeAttribute(h)}else h.startsWith(Je)&&(c.push({type:6,index:a}),s.removeAttribute(h));if(ea.test(s.tagName)){const h=s.textContent.split(Je),b=h.length-1;if(b>0){s.textContent=qo?qo.emptyScript:"";for(let p=0;p<b;p++)s.append(h[p],Zt()),gt.nextNode(),c.push({type:2,index:++a});s.append(h[b],Zt())}}}else if(s.nodeType===8)if(s.data===Er)c.push({type:2,index:a});else{let h=-1;for(;(h=s.data.indexOf(Je,h+1))!==-1;)c.push({type:7,index:a}),h+=Je.length-1}a++}}static createElement(e,o){const r=pt.createElement("template");return r.innerHTML=e,r}}function mt(t,e,o=t,r){var n,i;if(e===fe)return e;let s=r!==void 0?(n=o._$Co)==null?void 0:n[r]:o._$Cl;const a=Kt(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==a&&((i=s==null?void 0:s._$AO)==null||i.call(s,!1),a===void 0?s=void 0:(s=new a(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=mt(t,s._$AS(t,e.values),s,r)),e}let aa=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:o},parts:r}=this._$AD,s=((e==null?void 0:e.creationScope)??pt).importNode(o,!0);gt.currentNode=s;let a=gt.nextNode(),n=0,i=0,c=r[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new Et(a,a.nextSibling,this,e):c.type===1?l=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(l=new la(a,this,e)),this._$AV.push(l),c=r[++i]}n!==(c==null?void 0:c.index)&&(a=gt.nextNode(),n++)}return gt.currentNode=pt,s}p(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}};class Et{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,o,r,s){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=mt(this,e,o),Kt(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==fe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ks(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==K&&Kt(this._$AH)?this._$AA.nextSibling.data=e:this.$(pt.createTextNode(e)),this._$AH=e}g(e){var a;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=Yt.createElement(ra(r.h,r.h[0]),this.options)),r);if(((a=this._$AH)==null?void 0:a._$AD)===s)this._$AH.p(o);else{const n=new aa(s,this),i=n.u(this.options);n.p(o),this.$(i),this._$AH=n}}_$AC(e){let o=oa.get(e.strings);return o===void 0&&oa.set(e.strings,o=new Yt(e)),o}T(e){Zs(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Et(this.k(Zt()),this.k(Zt()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cv=e,(o=this._$AP)==null||o.call(this,e))}}class Qt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,a){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=K}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=mt(this,e,o,0),n=!Kt(e)||e!==this._$AH&&e!==fe,n&&(this._$AH=e);else{const i=e;let c,l;for(e=a[0],c=0;c<a.length-1;c++)l=mt(this,i[r+c],o,c),l===fe&&(l=this._$AH[c]),n||(n=!Kt(l)||l!==this._$AH[c]),l===K?e=K:e!==K&&(e+=(l??"")+a[c+1]),this._$AH[c]=l}n&&!s&&this.O(e)}O(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class na extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===K?void 0:e}}class ia extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==K)}}class ca extends Qt{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){if((e=mt(this,e,o,0)??K)===fe)return;const r=this._$AH,s=e===K&&r!==K||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==K&&(r===K||s);s&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o;typeof this._$AH=="function"?this._$AH.call(((o=this.options)==null?void 0:o.host)??this.element,e):this._$AH.handleEvent(e)}}class la{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){mt(this,e)}}const Hi={j:$r,P:Je,A:Er,C:1,M:sa,L:aa,R:Ks,V:mt,D:Et,I:Qt,H:ia,N:ca,U:na,B:la},Dr=Wt.litHtmlPolyfillSupport;Dr==null||Dr(Yt,Et),(Wt.litHtmlVersions??(Wt.litHtmlVersions=[])).push("3.1.0");const Gi=(t,e,o)=>{const r=(o==null?void 0:o.renderBefore)??e;let s=r._$litPart$;if(s===void 0){const a=(o==null?void 0:o.renderBefore)??null;r._$litPart$=s=new Et(e.insertBefore(Zt(),a),a,void 0,o??{})}return s._$AI(t),s};/**
20
20
  * @license
21
21
  * Copyright 2019 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */const Wo=globalThis,rs=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ss=Symbol(),Ua=new WeakMap;let ja=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==ss)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(rs&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=Ua.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&Ua.set(o,e))}return e}toString(){return this.cssText}};const ol=t=>new ja(typeof t=="string"?t:t+"",void 0,ss),T=(t,...e)=>{const o=t.length===1?t[0]:e.reduce((r,s,a)=>r+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[a+1],t[0]);return new ja(o,t,ss)},rl=(t,e)=>{if(rs)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=Wo.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},Ga=rs?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return ol(o)})(t):t;/**
23
+ */const zo=globalThis,qr=zo.ShadowRoot&&(zo.ShadyCSS===void 0||zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Tr=Symbol(),da=new WeakMap;let fa=class{constructor(e,o,r){if(this._$cssResult$=!0,r!==Tr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o;const o=this.t;if(qr&&e===void 0){const r=o!==void 0&&o.length===1;r&&(e=da.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&da.set(o,e))}return e}toString(){return this.cssText}};const Wi=t=>new fa(typeof t=="string"?t:t+"",void 0,Tr),L=(t,...e)=>{const o=t.length===1?t[0]:e.reduce((r,s,a)=>r+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[a+1],t[0]);return new fa(o,t,Tr)},Zi=(t,e)=>{if(qr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(const o of e){const r=document.createElement("style"),s=zo.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=o.cssText,t.appendChild(r)}},ua=qr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(const r of e.cssRules)o+=r.cssText;return Wi(o)})(t):t;/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */const{is:sl,defineProperty:al,getOwnPropertyDescriptor:nl,getOwnPropertyNames:il,getOwnPropertySymbols:cl,getPrototypeOf:ll}=Object,st=globalThis,Za=st.trustedTypes,dl=Za?Za.emptyScript:"",as=st.reactiveElementPolyfillSupport,uo=(t,e)=>t,ho={toAttribute(t,e){switch(e){case Boolean:t=t?dl:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Wa=(t,e)=>!sl(t,e),Ka={attribute:!0,type:String,converter:ho,reflect:!1,hasChanged:Wa};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),st.litPropertyMetadata??(st.litPropertyMetadata=new WeakMap);let Ot=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Ka){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){const r=Symbol(),s=this.getPropertyDescriptor(e,r,o);s!==void 0&&al(this.prototype,e,s)}}static getPropertyDescriptor(e,o,r){const{get:s,set:a}=nl(this.prototype,e)??{get(){return this[o]},set(n){this[o]=n}};return{get(){return s==null?void 0:s.call(this)},set(n){const i=s==null?void 0:s.call(this);a.call(this,n),this.requestUpdate(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ka}static _$Ei(){if(this.hasOwnProperty(uo("elementProperties")))return;const e=ll(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(uo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(uo("properties"))){const o=this.properties,r=[...il(o),...cl(o)];for(const s of r)this.createProperty(s,o[s])}const e=this[Symbol.metadata];if(e!==null){const o=litPropertyMetadata.get(e);if(o!==void 0)for(const[r,s]of o)this.elementProperties.set(r,s)}this._$Eh=new Map;for(const[o,r]of this.elementProperties){const s=this._$Eu(o,r);s!==void 0&&this._$Eh.set(s,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const o=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const s of r)o.unshift(Ga(s))}else e!==void 0&&o.push(Ga(e));return o}static _$Eu(e,o){const r=o.attribute;return r===!1?void 0:typeof r=="string"?r: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(){var e;this._$Eg=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(o=>o(this))}addController(e){var o;(this._$ES??(this._$ES=[])).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)==null||o.call(e))}removeController(e){var o;(o=this._$ES)==null||o.splice(this._$ES.indexOf(e)>>>0,1)}_$E_(){const e=new Map,o=this.constructor.elementProperties;for(const r of o.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return rl(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostDisconnected)==null?void 0:r.call(o)})}attributeChangedCallback(e,o,r){this._$AK(e,r)}_$EO(e,o){var a;const r=this.constructor.elementProperties.get(e),s=this.constructor._$Eu(e,r);if(s!==void 0&&r.reflect===!0){const n=(((a=r.converter)==null?void 0:a.toAttribute)!==void 0?r.converter:ho).toAttribute(o,r.type);this._$Em=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(e,o){var a;const r=this.constructor,s=r._$Eh.get(e);if(s!==void 0&&this._$Em!==s){const n=r.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:((a=n.converter)==null?void 0:a.fromAttribute)!==void 0?n.converter:ho;this._$Em=s,this[s]=i.fromAttribute(o,n.type),this._$Em=null}}requestUpdate(e,o,r,s=!1,a){if(e!==void 0){if(r??(r=this.constructor.getPropertyOptions(e)),!(r.hasChanged??Wa)(s?a:this[e],o))return;this.C(e,o,r)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,r){this._$AL.has(e)||this._$AL.set(e,o),r.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],n)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(r=this._$ES)==null||r.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(o)):this._$ET()}catch(s){throw e=!1,this._$ET(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){var o;(o=this._$ES)==null||o.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(o=>this._$EO(o,this[o]))),this._$ET()}updated(e){}firstUpdated(e){}};Ot.elementStyles=[],Ot.shadowRootOptions={mode:"open"},Ot[uo("elementProperties")]=new Map,Ot[uo("finalized")]=new Map,as==null||as({ReactiveElement:Ot}),(st.reactiveElementVersions??(st.reactiveElementVersions=[])).push("2.0.1");/**
27
+ */const{is:Ki,defineProperty:Ji,getOwnPropertyDescriptor:Yi,getOwnPropertyNames:Qi,getOwnPropertySymbols:Xi,getPrototypeOf:ec}=Object,ot=globalThis,ha=ot.trustedTypes,tc=ha?ha.emptyScript:"",zr=ot.reactiveElementPolyfillSupport,Xt=(t,e)=>t,eo={toAttribute(t,e){switch(e){case Boolean:t=t?tc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},pa=(t,e)=>!Ki(t,e),ba={attribute:!0,type:String,converter:eo,reflect:!1,hasChanged:pa};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),ot.litPropertyMetadata??(ot.litPropertyMetadata=new WeakMap);class St extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=ba){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){const r=Symbol(),s=this.getPropertyDescriptor(e,r,o);s!==void 0&&Ji(this.prototype,e,s)}}static getPropertyDescriptor(e,o,r){const{get:s,set:a}=Yi(this.prototype,e)??{get(){return this[o]},set(n){this[o]=n}};return{get(){return s==null?void 0:s.call(this)},set(n){const i=s==null?void 0:s.call(this);a.call(this,n),this.requestUpdate(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ba}static _$Ei(){if(this.hasOwnProperty(Xt("elementProperties")))return;const e=ec(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Xt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xt("properties"))){const o=this.properties,r=[...Qi(o),...Xi(o)];for(const s of r)this.createProperty(s,o[s])}const e=this[Symbol.metadata];if(e!==null){const o=litPropertyMetadata.get(e);if(o!==void 0)for(const[r,s]of o)this.elementProperties.set(r,s)}this._$Eh=new Map;for(const[o,r]of this.elementProperties){const s=this._$Eu(o,r);s!==void 0&&this._$Eh.set(s,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const o=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const s of r)o.unshift(ua(s))}else e!==void 0&&o.push(ua(e));return o}static _$Eu(e,o){const r=o.attribute;return r===!1?void 0:typeof r=="string"?r: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(){var e;this._$Eg=new Promise(o=>this.enableUpdating=o),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(o=>o(this))}addController(e){var o;(this._$ES??(this._$ES=[])).push(e),this.renderRoot!==void 0&&this.isConnected&&((o=e.hostConnected)==null||o.call(e))}removeController(e){var o;(o=this._$ES)==null||o.splice(this._$ES.indexOf(e)>>>0,1)}_$E_(){const e=new Map,o=this.constructor.elementProperties;for(const r of o.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Zi(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostConnected)==null?void 0:r.call(o)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)==null||e.forEach(o=>{var r;return(r=o.hostDisconnected)==null?void 0:r.call(o)})}attributeChangedCallback(e,o,r){this._$AK(e,r)}_$EO(e,o){var a;const r=this.constructor.elementProperties.get(e),s=this.constructor._$Eu(e,r);if(s!==void 0&&r.reflect===!0){const n=(((a=r.converter)==null?void 0:a.toAttribute)!==void 0?r.converter:eo).toAttribute(o,r.type);this._$Em=e,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(e,o){var a;const r=this.constructor,s=r._$Eh.get(e);if(s!==void 0&&this._$Em!==s){const n=r.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:((a=n.converter)==null?void 0:a.fromAttribute)!==void 0?n.converter:eo;this._$Em=s,this[s]=i.fromAttribute(o,n.type),this._$Em=null}}requestUpdate(e,o,r,s=!1,a){if(e!==void 0){if(r??(r=this.constructor.getPropertyOptions(e)),!(r.hasChanged??pa)(s?a:this[e],o))return;this.C(e,o,r)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,r){this._$AL.has(e)||this._$AL.set(e,o),r.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[a,n]of this._$Ep)this[a]=n;this._$Ep=void 0}const s=this.constructor.elementProperties;if(s.size>0)for(const[a,n]of s)n.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],n)}let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(r=this._$ES)==null||r.forEach(s=>{var a;return(a=s.hostUpdate)==null?void 0:a.call(s)}),this.update(o)):this._$ET()}catch(s){throw e=!1,this._$ET(),s}e&&this._$AE(o)}willUpdate(e){}_$AE(e){var o;(o=this._$ES)==null||o.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(o=>this._$EO(o,this[o]))),this._$ET()}updated(e){}firstUpdated(e){}}St.elementStyles=[],St.shadowRootOptions={mode:"open"},St[Xt("elementProperties")]=new Map,St[Xt("finalized")]=new Map,zr==null||zr({ReactiveElement:St}),(ot.reactiveElementVersions??(ot.reactiveElementVersions=[])).push("2.0.1");/**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */const po=globalThis,Ko=po.trustedTypes,Ya=Ko?Ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ja="$lit$",at=`lit$${(Math.random()+"").slice(9)}$`,Qa="?"+at,fl=`<${Qa}>`,xt=document,bo=()=>xt.createComment(""),go=t=>t===null||typeof t!="object"&&typeof t!="function",Xa=Array.isArray,ul=t=>Xa(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",ns=`[
32
- \f\r]`,mo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,en=/-->/g,tn=/>/g,kt=RegExp(`>|${ns}(?:([^\\s"'>=/]+)(${ns}*=${ns}*(?:[^
33
- \f\r"'\`<>=]|("|')|))|$)`,"g"),on=/'/g,rn=/"/g,sn=/^(?:script|style|textarea|title)$/i,an=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),w=an(1),Yo=an(2),Ft=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),nn=new WeakMap,Ct=xt.createTreeWalker(xt,129);function cn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ya!==void 0?Ya.createHTML(e):e}const hl=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=mo;for(let i=0;i<o;i++){const c=t[i];let l,d,u=-1,b=0;for(;b<c.length&&(n.lastIndex=b,d=n.exec(c),d!==null);)b=n.lastIndex,n===mo?d[1]==="!--"?n=en:d[1]!==void 0?n=tn:d[2]!==void 0?(sn.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=kt):d[3]!==void 0&&(n=kt):n===kt?d[0]===">"?(n=s??mo,u=-1):d[1]===void 0?u=-2:(u=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?kt:d[3]==='"'?rn:on):n===rn||n===on?n=kt:n===en||n===tn?n=mo:(n=kt,s=void 0);const h=n===kt&&t[i+1].startsWith("/>")?" ":"";a+=n===mo?c+fl:u>=0?(r.push(l),c.slice(0,u)+Ja+c.slice(u)+at+h):c+at+(u===-2?i:h)}return[cn(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};let is=class Mc{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const i=e.length-1,c=this.parts,[l,d]=hl(e,o);if(this.el=Mc.createElement(l,r),Ct.currentNode=this.el.content,o===2){const u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(s=Ct.nextNode())!==null&&c.length<i;){if(s.nodeType===1){if(s.hasAttributes())for(const u of s.getAttributeNames())if(u.endsWith(Ja)){const b=d[n++],h=s.getAttribute(u).split(at),g=/([.?@])?(.*)/.exec(b);c.push({type:1,index:a,name:g[2],strings:h,ctor:g[1]==="."?bl:g[1]==="?"?gl:g[1]==="@"?ml:Jo}),s.removeAttribute(u)}else u.startsWith(at)&&(c.push({type:6,index:a}),s.removeAttribute(u));if(sn.test(s.tagName)){const u=s.textContent.split(at),b=u.length-1;if(b>0){s.textContent=Ko?Ko.emptyScript:"";for(let h=0;h<b;h++)s.append(u[h],bo()),Ct.nextNode(),c.push({type:2,index:++a});s.append(u[b],bo())}}}else if(s.nodeType===8)if(s.data===Qa)c.push({type:2,index:a});else{let u=-1;for(;(u=s.data.indexOf(at,u+1))!==-1;)c.push({type:7,index:a}),u+=at.length-1}a++}}static createElement(e,o){const r=xt.createElement("template");return r.innerHTML=e,r}};function Bt(t,e,o=t,r){var n,i;if(e===Ft)return e;let s=r!==void 0?(n=o._$Co)==null?void 0:n[r]:o._$Cl;const a=go(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==a&&((i=s==null?void 0:s._$AO)==null||i.call(s,!1),a===void 0?s=void 0:(s=new a(t),s._$AT(t,o,r)),r!==void 0?(o._$Co??(o._$Co=[]))[r]=s:o._$Cl=s),s!==void 0&&(e=Bt(t,s._$AS(t,e.values),s,r)),e}let pl=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:o},parts:r}=this._$AD,s=((e==null?void 0:e.creationScope)??xt).importNode(o,!0);Ct.currentNode=s;let a=Ct.nextNode(),n=0,i=0,c=r[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new cs(a,a.nextSibling,this,e):c.type===1?l=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(l=new vl(a,this,e)),this._$AV.push(l),c=r[++i]}n!==(c==null?void 0:c.index)&&(a=Ct.nextNode(),n++)}return Ct.currentNode=xt,s}p(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}},cs=class Oc{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,o,r,s){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Bt(this,e,o),go(e)?e===oe||e==null||e===""?(this._$AH!==oe&&this._$AR(),this._$AH=oe):e!==this._$AH&&e!==Ft&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ul(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==oe&&go(this._$AH)?this._$AA.nextSibling.data=e:this.$(xt.createTextNode(e)),this._$AH=e}g(e){var a;const{values:o,_$litType$:r}=e,s=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=is.createElement(cn(r.h,r.h[0]),this.options)),r);if(((a=this._$AH)==null?void 0:a._$AD)===s)this._$AH.p(o);else{const n=new pl(s,this),i=n.u(this.options);n.p(o),this.$(i),this._$AH=n}}_$AC(e){let o=nn.get(e.strings);return o===void 0&&nn.set(e.strings,o=new is(e)),o}T(e){Xa(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new Oc(this.k(bo()),this.k(bo()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cv=e,(o=this._$AP)==null||o.call(this,e))}},Jo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,r,s,a){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=oe}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=Bt(this,e,o,0),n=!go(e)||e!==this._$AH&&e!==Ft,n&&(this._$AH=e);else{const i=e;let c,l;for(e=a[0],c=0;c<a.length-1;c++)l=Bt(this,i[r+c],o,c),l===Ft&&(l=this._$AH[c]),n||(n=!go(l)||l!==this._$AH[c]),l===oe?e=oe:e!==oe&&(e+=(l??"")+a[c+1]),this._$AH[c]=l}n&&!s&&this.j(e)}j(e){e===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},bl=class extends Jo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===oe?void 0:e}},gl=class extends Jo{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==oe)}},ml=class extends Jo{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){if((e=Bt(this,e,o,0)??oe)===Ft)return;const r=this._$AH,s=e===oe&&r!==oe||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==oe&&(r===oe||s);s&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o;typeof this._$AH=="function"?this._$AH.call(((o=this.options)==null?void 0:o.host)??this.element,e):this._$AH.handleEvent(e)}},vl=class{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Bt(this,e)}};const ls=po.litHtmlPolyfillSupport;ls==null||ls(is,cs),(po.litHtmlVersions??(po.litHtmlVersions=[])).push("3.0.1");const yl=(t,e,o)=>{const r=(o==null?void 0:o.renderBefore)??e;let s=r._$litPart$;if(s===void 0){const a=(o==null?void 0:o.renderBefore)??null;r._$litPart$=s=new cs(e.insertBefore(bo(),a),a,void 0,o??{})}return s._$AI(t),s};/**
31
+ */let Ye=class extends St{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var o;const e=super.createRenderRoot();return(o=this.renderOptions).renderBefore??(o.renderBefore=e.firstChild),e}update(e){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Gi(o,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return fe}};Ye._$litElement$=!0,Ye.finalized=!0,(qi=globalThis.litElementHydrateSupport)==null||qi.call(globalThis,{LitElement:Ye});const Lr=globalThis.litElementPolyfillSupport;Lr==null||Lr({LitElement:Ye}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");/**
34
32
  * @license
35
33
  * Copyright 2017 Google LLC
36
34
  * SPDX-License-Identifier: BSD-3-Clause
37
- */let Je=class extends Ot{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var o;const e=super.createRenderRoot();return(o=this.renderOptions).renderBefore??(o.renderBefore=e.firstChild),e}update(e){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=yl(o,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return Ft}};Je._$litElement$=!0,Je.finalized=!0,(Rc=globalThis.litElementHydrateSupport)==null||Rc.call(globalThis,{LitElement:Je});const ds=globalThis.litElementPolyfillSupport;ds==null||ds({LitElement:Je}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");/**
35
+ */const oe=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};/**
38
36
  * @license
39
37
  * Copyright 2017 Google LLC
40
38
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const se=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};/**
39
+ */const oc={attribute:!0,type:String,converter:Do,reflect:!1,hasChanged:Ar},rc=(t=oc,e,o)=>{const{kind:r,metadata:s}=o;let a=globalThis.litPropertyMetadata.get(s);if(a===void 0&&globalThis.litPropertyMetadata.set(s,a=new Map),a.set(o.name,t),r==="accessor"){const{name:n}=o;return{set(i){const c=e.get.call(this);e.set.call(this,i),this.requestUpdate(n,c,t)},init(i){return i!==void 0&&this.C(n,void 0,t),i}}}if(r==="setter"){const{name:n}=o;return function(i){const c=this[n];e.call(this,i),this.requestUpdate(n,c,t)}}throw Error("Unsupported decorator location: "+r)};function u(t){return(e,o)=>typeof o=="object"?rc(t,e,o):((r,s,a)=>{const n=s.hasOwnProperty(a);return s.constructor.createProperty(a,n?{...r,wrapped:!0}:r),n?Object.getOwnPropertyDescriptor(s,a):void 0})(t,e,o)}/**
42
40
  * @license
43
41
  * Copyright 2017 Google LLC
44
42
  * SPDX-License-Identifier: BSD-3-Clause
45
- */const _l={attribute:!0,type:String,converter:jo,reflect:!1,hasChanged:Yr},wl=(t=_l,e,o)=>{const{kind:r,metadata:s}=o;let a=globalThis.litPropertyMetadata.get(s);if(a===void 0&&globalThis.litPropertyMetadata.set(s,a=new Map),a.set(o.name,t),r==="accessor"){const{name:n}=o;return{set(i){const c=e.get.call(this);e.set.call(this,i),this.requestUpdate(n,c,t)},init(i){return i!==void 0&&this.C(n,void 0,t),i}}}if(r==="setter"){const{name:n}=o;return function(i){const c=this[n];e.call(this,i),this.requestUpdate(n,c,t)}}throw Error("Unsupported decorator location: "+r)};function p(t){return(e,o)=>typeof o=="object"?wl(t,e,o):((r,s,a)=>{const n=s.hasOwnProperty(a);return s.constructor.createProperty(a,n?{...r,wrapped:!0}:r),n?Object.getOwnPropertyDescriptor(s,a):void 0})(t,e,o)}/**
43
+ */function G(t){return u({...t,state:!0,attribute:!1})}/**
46
44
  * @license
47
45
  * Copyright 2017 Google LLC
48
46
  * SPDX-License-Identifier: BSD-3-Clause
49
- */function Z(t){return p({...t,state:!0,attribute:!1})}/**
47
+ */function ga(t){return(e,o)=>{const r=typeof e=="function"?e:e[o];Object.assign(r,t)}}/**
50
48
  * @license
51
49
  * Copyright 2017 Google LLC
52
50
  * SPDX-License-Identifier: BSD-3-Clause
53
- */function ln(t){return(e,o)=>{const r=typeof e=="function"?e:e[o];Object.assign(r,t)}}/**
51
+ */const Rr=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);/**
54
52
  * @license
55
53
  * Copyright 2017 Google LLC
56
54
  * SPDX-License-Identifier: BSD-3-Clause
57
- */const fs=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);/**
55
+ */function O(t,e){return(o,r,s)=>{const a=n=>{var i;return((i=n.renderRoot)==null?void 0:i.querySelector(t))??null};if(e){const{get:n,set:i}=typeof r=="object"?o:s??(()=>{const c=Symbol();return{get(){return this[c]},set(l){this[c]=l}}})();return Rr(o,r,{get(){if(e){let c=n.call(this);return c===void 0&&(c=a(this),i.call(this,c)),c}return a(this)}})}return Rr(o,r,{get(){return a(this)}})}}/**
58
56
  * @license
59
57
  * Copyright 2017 Google LLC
60
58
  * SPDX-License-Identifier: BSD-3-Clause
61
- */function R(t,e){return(o,r,s)=>{const a=n=>{var i;return((i=n.renderRoot)==null?void 0:i.querySelector(t))??null};if(e){const{get:n,set:i}=typeof r=="object"?o:s??(()=>{const c=Symbol();return{get(){return this[c]},set(l){this[c]=l}}})();return fs(o,r,{get(){if(e){let c=n.call(this);return c===void 0&&(c=a(this),i.call(this,c)),c}return a(this)}})}return fs(o,r,{get(){return a(this)}})}}/**
62
- * @license
63
- * Copyright 2017 Google LLC
64
- * SPDX-License-Identifier: BSD-3-Clause
65
- */let xl;function kl(t){return(e,o)=>fs(e,o,{get(){return(this.renderRoot??xl??(xl=document.createDocumentFragment())).querySelectorAll(t)}})}var Cl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function us(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Al(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var o=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};o.prototype=e.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),o}var dn={exports:{}};(function(t){(function(e,o){t.exports?t.exports=o():e.log=o()})(Cl,function(){var e=function(){},o="undefined",r=typeof window!==o&&typeof window.navigator!==o&&/Trident\/|MSIE /.test(window.navigator.userAgent),s=["trace","debug","info","warn","error"];function a(m,_){var y=m[_];if(typeof y.bind=="function")return y.bind(m);try{return Function.prototype.bind.call(y,m)}catch{return function(){return Function.prototype.apply.apply(y,[m,arguments])}}}function n(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function i(m){return m==="debug"&&(m="log"),typeof console===o?!1:m==="trace"&&r?n:console[m]!==void 0?a(console,m):console.log!==void 0?a(console,"log"):e}function c(m,_){for(var y=0;y<s.length;y++){var v=s[y];this[v]=y<m?e:this.methodFactory(v,m,_)}this.log=this.debug}function l(m,_,y){return function(){typeof console!==o&&(c.call(this,_,y),this[m].apply(this,arguments))}}function d(m,_,y){return i(m)||l.apply(this,arguments)}function u(m,_,y){var v=this,C;_=_??"WARN";var A="loglevel";typeof m=="string"?A+=":"+m:typeof m=="symbol"&&(A=void 0);function $(S){var D=(s[S]||"silent").toUpperCase();if(!(typeof window===o||!A)){try{window.localStorage[A]=D;return}catch{}try{window.document.cookie=encodeURIComponent(A)+"="+D+";"}catch{}}}function x(){var S;if(!(typeof window===o||!A)){try{S=window.localStorage[A]}catch{}if(typeof S===o)try{var D=window.document.cookie,B=D.indexOf(encodeURIComponent(A)+"=");B!==-1&&(S=/^([^;]+)/.exec(D.slice(B))[1])}catch{}return v.levels[S]===void 0&&(S=void 0),S}}function q(){if(!(typeof window===o||!A)){try{window.localStorage.removeItem(A);return}catch{}try{window.document.cookie=encodeURIComponent(A)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}v.name=m,v.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},v.methodFactory=y||d,v.getLevel=function(){return C},v.setLevel=function(S,D){if(typeof S=="string"&&v.levels[S.toUpperCase()]!==void 0&&(S=v.levels[S.toUpperCase()]),typeof S=="number"&&S>=0&&S<=v.levels.SILENT){if(C=S,D!==!1&&$(S),c.call(v,S,m),typeof console===o&&S<v.levels.SILENT)return"No console available for logging"}else throw"log.setLevel() called with invalid level: "+S},v.setDefaultLevel=function(S){_=S,x()||v.setLevel(S,!1)},v.resetLevel=function(){v.setLevel(_,!1),q()},v.enableAll=function(S){v.setLevel(v.levels.TRACE,S)},v.disableAll=function(S){v.setLevel(v.levels.SILENT,S)};var O=x();O==null&&(O=_),v.setLevel(O,!1)}var b=new u,h={};b.getLogger=function(_){if(typeof _!="symbol"&&typeof _!="string"||_==="")throw new TypeError("You must supply a name when creating a logger.");var y=h[_];return y||(y=h[_]=new u(_,b.getLevel(),b.methodFactory)),y};var g=typeof window!==o?window.log:void 0;return b.noConflict=function(){return typeof window!==o&&window.log===b&&(window.log=g),b},b.getLoggers=function(){return h},b.default=b,b})})(dn);var $l=dn.exports;const Qo=us($l),El=T`
59
+ */let sc;function ac(t){return(e,o)=>Rr(e,o,{get(){return(this.renderRoot??sc??(sc=document.createDocumentFragment())).querySelectorAll(t)}})}var nc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Or(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ic(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var o=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};o.prototype=e.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),o}var ma={exports:{}};(function(t){(function(e,o){t.exports?t.exports=o():e.log=o()})(nc,function(){var e=function(){},o="undefined",r=typeof window!==o&&typeof window.navigator!==o&&/Trident\/|MSIE /.test(window.navigator.userAgent),s=["trace","debug","info","warn","error"];function a(g,w){var y=g[w];if(typeof y.bind=="function")return y.bind(g);try{return Function.prototype.bind.call(y,g)}catch{return function(){return Function.prototype.apply.apply(y,[g,arguments])}}}function n(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function i(g){return g==="debug"&&(g="log"),typeof console===o?!1:g==="trace"&&r?n:console[g]!==void 0?a(console,g):console.log!==void 0?a(console,"log"):e}function c(g,w){for(var y=0;y<s.length;y++){var v=s[y];this[v]=y<g?e:this.methodFactory(v,g,w)}this.log=this.debug}function l(g,w,y){return function(){typeof console!==o&&(c.call(this,w,y),this[g].apply(this,arguments))}}function f(g,w,y){return i(g)||l.apply(this,arguments)}function h(g,w,y){var v=this,C;w=w??"WARN";var $="loglevel";typeof g=="string"?$+=":"+g:typeof g=="symbol"&&($=void 0);function E(S){var T=(s[S]||"silent").toUpperCase();if(!(typeof window===o||!$)){try{window.localStorage[$]=T;return}catch{}try{window.document.cookie=encodeURIComponent($)+"="+T+";"}catch{}}}function x(){var S;if(!(typeof window===o||!$)){try{S=window.localStorage[$]}catch{}if(typeof S===o)try{var T=window.document.cookie,Q=T.indexOf(encodeURIComponent($)+"=");Q!==-1&&(S=/^([^;]+)/.exec(T.slice(Q))[1])}catch{}return v.levels[S]===void 0&&(S=void 0),S}}function q(){if(!(typeof window===o||!$)){try{window.localStorage.removeItem($);return}catch{}try{window.document.cookie=encodeURIComponent($)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}v.name=g,v.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},v.methodFactory=y||f,v.getLevel=function(){return C},v.setLevel=function(S,T){if(typeof S=="string"&&v.levels[S.toUpperCase()]!==void 0&&(S=v.levels[S.toUpperCase()]),typeof S=="number"&&S>=0&&S<=v.levels.SILENT){if(C=S,T!==!1&&E(S),c.call(v,S,g),typeof console===o&&S<v.levels.SILENT)return"No console available for logging"}else throw"log.setLevel() called with invalid level: "+S},v.setDefaultLevel=function(S){w=S,x()||v.setLevel(S,!1)},v.resetLevel=function(){v.setLevel(w,!1),q()},v.enableAll=function(S){v.setLevel(v.levels.TRACE,S)},v.disableAll=function(S){v.setLevel(v.levels.SILENT,S)};var M=x();M==null&&(M=w),v.setLevel(M,!1)}var b=new h,p={};b.getLogger=function(w){if(typeof w!="symbol"&&typeof w!="string"||w==="")throw new TypeError("You must supply a name when creating a logger.");var y=p[w];return y||(y=p[w]=new h(w,b.getLevel(),b.methodFactory)),y};var m=typeof window!==o?window.log:void 0;return b.noConflict=function(){return typeof window!==o&&window.log===b&&(window.log=m),b},b.getLoggers=function(){return p},b.default=b,b})})(ma);var cc=ma.exports;const Lo=Or(cc),lc=L`
66
60
  :host {
67
61
  }
68
62
  .cb-wrapper {
@@ -133,17 +127,11 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
133
127
  * @license
134
128
  * Copyright 2017 Google LLC
135
129
  * SPDX-License-Identifier: BSD-3-Clause
136
- */var hs;const Xo=window,Nt=Xo.trustedTypes,fn=Nt?Nt.createPolicy("lit-html",{createHTML:t=>t}):void 0,ps="$lit$",nt=`lit$${(Math.random()+"").slice(9)}$`,un="?"+nt,Sl=`<${un}>`,At=document,er=()=>At.createComment(""),vo=t=>t===null||typeof t!="object"&&typeof t!="function",hn=Array.isArray,Dl=t=>hn(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",bs=`[
137
- \f\r]`,yo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pn=/-->/g,bn=/>/g,$t=RegExp(`>|${bs}(?:([^\\s"'>=/]+)(${bs}*=${bs}*(?:[^
138
- \f\r"'\`<>=]|("|')|))|$)`,"g"),gn=/'/g,mn=/"/g,vn=/^(?:script|style|textarea|title)$/i,it=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),yn=new WeakMap,Et=At.createTreeWalker(At,129,null,!1);function _n(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return fn!==void 0?fn.createHTML(e):e}const ql=(t,e)=>{const o=t.length-1,r=[];let s,a=e===2?"<svg>":"",n=yo;for(let i=0;i<o;i++){const c=t[i];let l,d,u=-1,b=0;for(;b<c.length&&(n.lastIndex=b,d=n.exec(c),d!==null);)b=n.lastIndex,n===yo?d[1]==="!--"?n=pn:d[1]!==void 0?n=bn:d[2]!==void 0?(vn.test(d[2])&&(s=RegExp("</"+d[2],"g")),n=$t):d[3]!==void 0&&(n=$t):n===$t?d[0]===">"?(n=s??yo,u=-1):d[1]===void 0?u=-2:(u=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?$t:d[3]==='"'?mn:gn):n===mn||n===gn?n=$t:n===pn||n===bn?n=yo:(n=$t,s=void 0);const h=n===$t&&t[i+1].startsWith("/>")?" ":"";a+=n===yo?c+Sl:u>=0?(r.push(l),c.slice(0,u)+ps+c.slice(u)+nt+h):c+nt+(u===-2?(r.push(void 0),i):h)}return[_n(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),r]};class _o{constructor({strings:e,_$litType$:o},r){let s;this.parts=[];let a=0,n=0;const i=e.length-1,c=this.parts,[l,d]=ql(e,o);if(this.el=_o.createElement(l,r),Et.currentNode=this.el.content,o===2){const u=this.el.content,b=u.firstChild;b.remove(),u.append(...b.childNodes)}for(;(s=Et.nextNode())!==null&&c.length<i;){if(s.nodeType===1){if(s.hasAttributes()){const u=[];for(const b of s.getAttributeNames())if(b.endsWith(ps)||b.startsWith(nt)){const h=d[n++];if(u.push(b),h!==void 0){const g=s.getAttribute(h.toLowerCase()+ps).split(nt),m=/([.?@])?(.*)/.exec(h);c.push({type:1,index:a,name:m[2],strings:g,ctor:m[1]==="."?zl:m[1]==="?"?Rl:m[1]==="@"?Il:or})}else c.push({type:6,index:a})}for(const b of u)s.removeAttribute(b)}if(vn.test(s.tagName)){const u=s.textContent.split(nt),b=u.length-1;if(b>0){s.textContent=Nt?Nt.emptyScript:"";for(let h=0;h<b;h++)s.append(u[h],er()),Et.nextNode(),c.push({type:2,index:++a});s.append(u[b],er())}}}else if(s.nodeType===8)if(s.data===un)c.push({type:2,index:a});else{let u=-1;for(;(u=s.data.indexOf(nt,u+1))!==-1;)c.push({type:7,index:a}),u+=nt.length-1}a++}}static createElement(e,o){const r=At.createElement("template");return r.innerHTML=e,r}}function Vt(t,e,o=t,r){var s,a,n,i;if(e===it)return e;let c=r!==void 0?(s=o._$Co)===null||s===void 0?void 0:s[r]:o._$Cl;const l=vo(e)?void 0:e._$litDirective$;return(c==null?void 0:c.constructor)!==l&&((a=c==null?void 0:c._$AO)===null||a===void 0||a.call(c,!1),l===void 0?c=void 0:(c=new l(t),c._$AT(t,o,r)),r!==void 0?((n=(i=o)._$Co)!==null&&n!==void 0?n:i._$Co=[])[r]=c:o._$Cl=c),c!==void 0&&(e=Vt(t,c._$AS(t,e.values),c,r)),e}class Tl{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var o;const{el:{content:r},parts:s}=this._$AD,a=((o=e==null?void 0:e.creationScope)!==null&&o!==void 0?o:At).importNode(r,!0);Et.currentNode=a;let n=Et.nextNode(),i=0,c=0,l=s[0];for(;l!==void 0;){if(i===l.index){let d;l.type===2?d=new tr(n,n.nextSibling,this,e):l.type===1?d=new l.ctor(n,l.name,l.strings,this,e):l.type===6&&(d=new Pl(n,this,e)),this._$AV.push(d),l=s[++c]}i!==(l==null?void 0:l.index)&&(n=Et.nextNode(),i++)}return Et.currentNode=At,a}v(e){let o=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,o),o+=r.strings.length-2):r._$AI(e[o])),o++}}class tr{constructor(e,o,r,s){var a;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=r,this.options=s,this._$Cp=(a=s==null?void 0:s.isConnected)===null||a===void 0||a}get _$AU(){var e,o;return(o=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&o!==void 0?o:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const o=this._$AM;return o!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Vt(this,e,o),vo(e)?e===X||e==null||e===""?(this._$AH!==X&&this._$AR(),this._$AH=X):e!==this._$AH&&e!==it&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Dl(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==X&&vo(this._$AH)?this._$AA.nextSibling.data=e:this.$(At.createTextNode(e)),this._$AH=e}g(e){var o;const{values:r,_$litType$:s}=e,a=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=_o.createElement(_n(s.h,s.h[0]),this.options)),s);if(((o=this._$AH)===null||o===void 0?void 0:o._$AD)===a)this._$AH.v(r);else{const n=new Tl(a,this),i=n.u(this.options);n.v(r),this.$(i),this._$AH=n}}_$AC(e){let o=yn.get(e.strings);return o===void 0&&yn.set(e.strings,o=new _o(e)),o}T(e){hn(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,s=0;for(const a of e)s===o.length?o.push(r=new tr(this.k(er()),this.k(er()),this,this.options)):r=o[s],r._$AI(a),s++;s<o.length&&(this._$AR(r&&r._$AB.nextSibling,s),o.length=s)}_$AR(e=this._$AA.nextSibling,o){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,o);e&&e!==this._$AB;){const s=e.nextSibling;e.remove(),e=s}}setConnected(e){var o;this._$AM===void 0&&(this._$Cp=e,(o=this._$AP)===null||o===void 0||o.call(this,e))}}class or{constructor(e,o,r,s,a){this.type=1,this._$AH=X,this._$AN=void 0,this.element=e,this.name=o,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=X}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,o=this,r,s){const a=this.strings;let n=!1;if(a===void 0)e=Vt(this,e,o,0),n=!vo(e)||e!==this._$AH&&e!==it,n&&(this._$AH=e);else{const i=e;let c,l;for(e=a[0],c=0;c<a.length-1;c++)l=Vt(this,i[r+c],o,c),l===it&&(l=this._$AH[c]),n||(n=!vo(l)||l!==this._$AH[c]),l===X?e=X:e!==X&&(e+=(l??"")+a[c+1]),this._$AH[c]=l}n&&!s&&this.j(e)}j(e){e===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class zl extends or{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===X?void 0:e}}const Ll=Nt?Nt.emptyScript:"";class Rl extends or{constructor(){super(...arguments),this.type=4}j(e){e&&e!==X?this.element.setAttribute(this.name,Ll):this.element.removeAttribute(this.name)}}class Il extends or{constructor(e,o,r,s,a){super(e,o,r,s,a),this.type=5}_$AI(e,o=this){var r;if((e=(r=Vt(this,e,o,0))!==null&&r!==void 0?r:X)===it)return;const s=this._$AH,a=e===X&&s!==X||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,n=e!==X&&(s===X||a);a&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var o,r;typeof this._$AH=="function"?this._$AH.call((r=(o=this.options)===null||o===void 0?void 0:o.host)!==null&&r!==void 0?r:this.element,e):this._$AH.handleEvent(e)}}class Pl{constructor(e,o,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Vt(this,e)}}const wn=Xo.litHtmlPolyfillSupport;wn==null||wn(_o,tr),((hs=Xo.litHtmlVersions)!==null&&hs!==void 0?hs:Xo.litHtmlVersions=[]).push("2.8.0");/**
139
- * @license
140
- * Copyright 2017 Google LLC
141
- * SPDX-License-Identifier: BSD-3-Clause
142
- */const xn={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},kn=t=>(...e)=>({_$litDirective$:t,values:e});let Cn=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,r){this._$Ct=e,this._$AM=o,this._$Ci=r}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};/**
130
+ */const Re={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},to=t=>(...e)=>({_$litDirective$:t,values:e});let oo=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,r){this._$Ct=e,this._$AM=o,this._$Ci=r}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};/**
143
131
  * @license
144
132
  * Copyright 2017 Google LLC
145
133
  * SPDX-License-Identifier: BSD-3-Clause
146
- */let gs=class extends Cn{constructor(e){if(super(e),this.et=X,e.type!==xn.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===X||e==null)return this.ft=void 0,this.et=e;if(e===it)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.ft;this.et=e;const o=[e];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}};gs.directiveName="unsafeHTML",gs.resultType=1;const St=kn(gs),Ie=T`
134
+ */let Fr=class extends oo{constructor(e){if(super(e),this.et=K,e.type!==Re.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===K||e==null)return this.vt=void 0,this.et=e;if(e===fe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;const o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Fr.directiveName="unsafeHTML",Fr.resultType=1;const rt=to(Fr),Oe=L`
147
135
  :host {
148
136
  --primary-color: var(--sl-color-primary-600);
149
137
  }
@@ -210,8 +198,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
210
198
  .text-button:hover {
211
199
  text-decoration: underline;
212
200
  }
213
- `,An=T`
214
- ${Ie}
201
+ `,va=L`
202
+ ${Oe}
215
203
 
216
204
  :host {
217
205
  display: inline-flex;
@@ -232,8 +220,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
232
220
  .color-white {
233
221
  color: white;
234
222
  }
235
- `;var Ml=Object.defineProperty,Ol=Object.getOwnPropertyDescriptor,ms=(t,e,o,r)=>{for(var s=r>1?void 0:r?Ol(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Ml(e,o,s),s};let wo=class extends Je{constructor(){super(...arguments),this.color="primary",this.svg=""}render(){return w`<span class="cb-icon" part="base">${St(this.svg)}</span>`}};wo.styles=An,ms([p({type:String})],wo.prototype,"color",2),ms([p({type:String})],wo.prototype,"svg",2),wo=ms([se("cb-icon")],wo);let Fl=t=>crypto.getRandomValues(new Uint8Array(t)),Bl=(t,e,o)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,s=-~(1.6*r*e/t.length);return(a=e)=>{let n="";for(;;){let i=o(s),c=s;for(;c--;)if(n+=t[i[c]&r]||"",n.length===a)return n}}};const Nl=((t,e=21)=>Bl(t,e,Fl))("1234567890abcdefghijklmnopqrstuvwxyz",10);function vs(t=10){return Nl(t)}function Vl(t){return new Promise((e,o)=>{try{navigator.clipboard.writeText(t).then(()=>{e(t)})}catch(r){o(r)}})}function Hl(t=!0){return new Promise(e=>{const o=document.createElement("input");o.type="file",t&&(o.multiple=!0),o.style.display="none",o.addEventListener("change",()=>{const r=Array.prototype.slice.call(o.files);e(r)}),o.click()})}const le=Qo.noConflict();le.setLevel("info");class Ul{constructor(e={}){this.id=0,this.url=(e==null?void 0:e.url)||null,this.orgId=(e==null?void 0:e.orgId)||null,this.botId=(e==null?void 0:e.botId)||null,this.convId=(e==null?void 0:e.convId)||null,this._options=e||{},this._ws=null,this.started=!1,this.connected=!1,this.onMessage=(e==null?void 0:e.onMessage)||null,this.queue=[],this.pause=o=>new Promise(r=>setTimeout(r,o)),le.info(`WSC: Created, url: ${this.url}`)}connect(e={}){if(this.url=(e==null?void 0:e.url)||this.url,this.connected=!1,!this.url)return le.error("WSC: URL must be provided to connect"),null;const o=this.url;le.info(`WSC: Connecting to ${o} ...`),this._ws=new WebSocket(o);let r=setTimeout(()=>{le.error("WSC: connected message not received in time - terminating"),this._ws.close(),this._ws=null,this.connected=!1},15e3);this._ws.onopen=()=>{le.info(`WSC: Connection to ${o} opened`)},this._ws.onmessage=s=>{let a=(s==null?void 0:s.data)||null;if(!a)return;let n=null;try{n=JSON.parse(a)}catch{le.error(`Failed to parse message: ${a}`);return}(n==null?void 0:n.type)==="connected"&&(le.info(`WS[${this.id}] Connected`),clearTimeout(r),this.connected=!0,this.sendQueuedMessages()),this.handleWscMessage(n)},this._ws.onerror=s=>{le.error("WSC: Socket error"),clearTimeout(r),this.connected=!1,this._ws=null},this._ws.onclose=s=>{le.info(`WSC: Closed - code:${s.code}, reason:"${s.reason}"`),this.connected=!1,this._ws=null,this.reconnect()}}reconnect(){this.started&&setTimeout(()=>{this.connect()},1e3)}disconnect(){if(!this._ws){le.info("WSC: already disconnected");return}le.info("WSC: disconnect"),this._ws.close()}async start(){this.started=!0,this.connect()}async stop(){this.started=!1,this.disconnect()}async startOld(){let e=1,o=!0;for(;o;){if(le.info(`WSC: start: connecting, attempt ${e}`),await this.connect(),this.connected)return le.info("WSC: connected"),!0;e++,o=e<=4,o&&await this.pause(1e3)}return le.error(`WSC: start: failed to connect after ${e} attempts, exiting`),!1}handleWscMessage(e){this.onMessage&&typeof this.onMessage=="function"&&this.onMessage(e)}sendMessage(e){if(!this.connected){this.queue.push(JSON.stringify(e));return}this._ws.send(JSON.stringify(e))}sendQueuedMessages(){if(Array.isArray(this.queue)&&this.queue.length>0)for(let e=0;e<this.queue.length;e++)le.info("Sending queued message",this.queue[e]),this._ws.send(this.queue[e]);this.queue=[]}}function K(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Dt(t){return function e(o){return arguments.length===0||K(o)?e:t.apply(this,arguments)}}function Pe(t){return function e(o,r){switch(arguments.length){case 0:return e;case 1:return K(o)?e:Dt(function(s){return t(o,s)});default:return K(o)&&K(r)?e:K(o)?Dt(function(s){return t(s,r)}):K(r)?Dt(function(s){return t(o,s)}):t(o,r)}}}function jl(t){return function e(o,r,s){switch(arguments.length){case 0:return e;case 1:return K(o)?e:Pe(function(a,n){return t(o,a,n)});case 2:return K(o)&&K(r)?e:K(o)?Pe(function(a,n){return t(a,r,n)}):K(r)?Pe(function(a,n){return t(o,a,n)}):Dt(function(a){return t(o,r,a)});default:return K(o)&&K(r)&&K(s)?e:K(o)&&K(r)?Pe(function(a,n){return t(a,n,s)}):K(o)&&K(s)?Pe(function(a,n){return t(a,r,n)}):K(r)&&K(s)?Pe(function(a,n){return t(o,a,n)}):K(o)?Dt(function(a){return t(a,r,s)}):K(r)?Dt(function(a){return t(o,a,s)}):K(s)?Dt(function(a){return t(o,r,a)}):t(o,r,s)}}}const Gl=Number.isInteger||function(e){return e<<0===e};function Zl(t){return Object.prototype.toString.call(t)==="[object String]"}var Wl=Pe(function(e,o){var r=e<0?o.length+e:e;return Zl(o)?o.charAt(r):o[r]});const Kl=Wl;var Yl=Pe(function(e,o){return o==null||o!==o?e:o});const Jl=Yl;var Ql=Pe(function(e,o){return e.map(function(r){for(var s=o,a=0,n;a<r.length;){if(s==null)return;n=r[a],s=Gl(n)?Kl(n,s):s[n],a+=1}return s})});const Xl=Ql;var ed=Pe(function(e,o){return Xl([e],o)[0]});const td=ed;var od=jl(function(e,o,r){return Jl(e,td(o,r))});const ys=od,rd="fffbd0c40003a861a6f64deb05ce8fbd1dc1ee6979000bf3230f3195138b950cbe3649439256307747d31c26065d09cfae70d799f0a043c6a90008c0101188082314680d008619c9079b61dc806a921a220095277a60d4131e44143d53814e10f4d06ba6491eb478900a8d59016632a23e0fa358875c770146cc650c1c499dcb9b0965d7500106c321427219428febbdafb2b5d76979a75ae40018d025f96f71bad4b0257666051808e5b74c34bf2db9660bb0e24b2a35886616f617013a24104242304600910b1130dc7b4e81750bb1216e880432ac0d75b0a2a1834f45e8e9a279a9c6c22cc9a7e3ac01cc5335e8c0d97180c960bad7998ce9ac025a2f1a0c888e02c46508045a96a20a60c91980100828a917425f96ddc64bc2ea19146c50b00bde68319005d85d10e462314ae197f0b48c74bfe986ced9dac3a9bbfad7e8f7ac2a525253c6e36cad4dd7c20e2ec4842dba61cbf30f0f7d628635005a66e63ec63560f22a48c694034a695617e603c12c05077310c0923018053379a48d1e921e409b28546c46619d8fa6c9b019ea20762d318e34c6291699d98662a61861204fda2a7933d57c1d023391f8605262a1598449c1ca332e084cb25a3198ac94666361b99f05c67c1aba0151b18d456ec8e0b4c667924153ba632409114cc587c7867ca8c047dcd7a834bc8d2a033a141df48ab82a803bd1a8651a215e356c6161b062114cb841dd89589b05f0d10ad255c4d70d8ad245e4abcd6b33fca8d6af5cc3db8d9244511ab2206a56c885690ad12cc1ba16308528d539daa40b22baf35eb61a7044a988132e926b754d82ea8ca85199ad5c42c0d62d35eb8d7301d56ef5b26c451748198c2a22c319b24ab67a246b186c8af0d54354c0957c342d9a2a4d7b3245e585c4d7254e107501450bb46abbfa38b2331996d9bae08953352c48af43d5c7b08b6572a44e0b11775fd8cbb2b0b0343230c6c5add2ca5ac8d549765977ff78e59659ca49adde749c6789409753bcff43d1a8d46a532da5a5a5a5a5a5a5a6a6a6a6a6a6a6a6a6ab671c71c71c6ae4141414140a0a0a0a0c2b06e0b039c1829859998b165991a5d2aa598e0a714183727471921e5721a1037a9c2fb7a1b9c0dc99c6ab19b821219de39219b82a521908908987d2ab1aab194159219cb31211fffbd2c42383f4bda0d20ffba7c624b3dd01eee938b82f149f14b82951c14d290908c90d294c90a598b0948572ce584a434a54a52b4a42c3829592199219219a52921160908d295294b1c79b70dc9b72dc9b70dc15b71e6dc37058e3cdb8e34db9e3cadb82c37056dc95f1e7c6f1e58e3cadb8f2c4845721f96242f2c485e7214865721f962422c484721c845890cb121f9c872116242f2b908e4390bfcae432b908ae43f390e432c486721c85e5890cae432b90ce42908b121f9c8721962432c484721c865890ce4290bcae432b90bcae43390a432c485e58908e4290bcb121f95c86721c865890cae432b90cae42ff390e422b90cae422b90fcb121795c865721795c86721487e721c87e58908ae422b90bcb12195c845721796242f2c48658908ae43ff390e43fff390e422c4865890cb121ff9c872196243f2b90bcae42fff2c48458908b12116243f2b90ffcae43fff2c485e5890bfffcae422c485fe5721796243f2b90bfcae42ffff2b90ffcae432c48460a40a6618626a61ce3d466883d6645657458106350e2d6321a39532150c231a421532413d3399952b690e8430cc534d4ad0638ad993418742c24072f7385897cae5e348120397e5e348521397e5e2b734cd8364b06c160d93364d82c0ea6838ea63a0e863a8e9e581d4ca0283cd5d284b050795942650143e6e1c1b87058706e5c95b9370e4dcb92c382b706e1c15d22c522ba7e574cae9f9d2a458a474a995d32c52ff2ba4574cb148b14bfcb14cb148ae99629795d22c532c533a74cae995d2f3a74ce9533a74cb148e9d2f3a74ce9d22ba474e99d2a458a674a99d3a65748ae9f9d2a474a91629962995d23a748e9522c53f3a74bce9d3f2ba65748afa9f5ea57d4b1d3cafa963a163a7963a163a1f5ebfe57d3fcfa742bea7d7a15f42bea7d7a1f5e9e7d3af963a9f4ea57d4fa752c74f2c75f2c743ebd3fcafaf963a7ff963a79f4e9fe57d7ce9d22c532ba474a91d3a674a97962996297f9d2a658a458a658a458a4574cae916299d2a474a995d22c522c533a54bcae915d32c522c52f3a548ae99629795d3f30c6831b320f483c329501f8331a98f233a001f9342646273295483d326307f03331098c307e52ae3189883d3186475630e704da30e744db320f0627329501f831040411307e4fffbd2c42383f3fdacd40ff6b68668b3dc81eeed7841031044a54318984112a8c4e641e83f26208082260fc0822560fc183f041e183f00fc183f20fc983f20fc983f20fc95896e60bf863460bf86365805f8c17e0c68ac31b2b5f8f1bc68d7fc68d7f5fcaf1b35f97e35f97e2c2fc585fcb0bf9e36bf9617e2b5f8d7f5f8ad7f2c2fc6bfafe56bf9e34bf79617f3c6f1bf2b5fcb0bf9afcbf95afc585f8d7e5fcb0bf611fc419f8f08fe7833f1e0cfcf847f308fe7833f1f067e3c19f9067e308fe7c23f8c23f9067e40ff3f8067e20cfc047f00cfc611fc81fe3f207f9fc033f211fcc0ff1f903fc7e423f803fcfe423f903fcfe00ff3f8833f011fc847f211fc047f303fc7e211fc01fe3f211fc033f011fc7067e40ff3f908fe023f808fe00ff1f903fcfe019f803fc7e419f808fe019f9067e40ff1f9067e211fc01fe3f3c19f8e0cfcc23f9067e40ff3f8067e023f808fe60cfcc19f8c19f9847f211fc047f011fc033f1067e60cfcf833f25808830881d435e33e33263062346d46d31d427b31d41d4346d3c633201d5308827a308846d351212e32267a39ea7a34b92f3221d537552f32252e2b4b8dd5c80c88c84e7a4bcb0ea9ba9e315a5e697baa644cf473da5e58220c894bcb0449a5e449612ff2c110584bcb0447991044191244160892b4bfcc88224ac882b2a4d0a114ca8114c44114ac442c089e562279588856c458633e362f3e362362623e3e3f2be23e3e32b633e263f2b88fffff2c44f95c47f96227ce2224e2620b11071310713105889389882c44f95c41c44496220ae23cae20e2627cb1127111257105889f2c449c4c416220ae24e2224e2620ae24b1105713e588838988389892c44f9c44416224e2220ae20e2223cae27cae23ce2220e2620b1105711e5712571271111e57127131257127111271313fe713125712588938988388892c4479c4c41c44416224ae24e2220ae20e2620b11058882c44ffff95c4795c4ff95c415c416220ae20ae20b11271310571271313e58882c44f95c49c4c4ff95c416224e2627fce2224e2220e2220ae20b111e57107111071111fe5888ff389882c03a18838cc99ca16b996b8501ad09db99db86c161e34cb0c730c6641d4c664f7cc570e54c570570cb08734d2b4b08ac360cb5c284c86c574c57428fffbd2c41e03f239a2e40f7370c65fb39cc1eeed980c364364c360730c364edcc360364db2d936c734f9bcd3e6b60db0d82c734db3cd36cb60adb27068399d732588319d20e7068399d20de5850f9d75405850796140575c3535335252353c32c611e1291a9e11614cd4d4cf0d4cf0948e8684e8684b14074140574058a12c509d0d09d0d09d0509d0501d050796363fcaf64af67ffcb1b257b1fe58d8f2b74375742b742c3a9baba15ba161d0dd1d4add0b0e9e6eaea56ea56ea5874374752c5096280e8680b14057405743e57407414058a12ba12ba02c50f96280b141e58a12ba12c5096280add0dd1d0dd1d0dd5d3cb0ea6eaea6e8ea58752b7537574374742b74374752b752c3a95ba15ba9baba1ba3a161d0dd1d4b0ea58742c3a7ffff96367ffffffffffffffffffffffcb0e856ebe5874f2c3a961d4dd1d7fcadd4b0e9e6e8ea58752b752c3af961d4add3cb0e86e8ebfe6e8ea587537474f2c3a161d7cdd5d4dd1d0dd5d4add3cc388588c9e8220c4b91b4c989388c58898cc5b4740c2a48c8c58c38ccb8898cc9ec220cc84c80c4b84bcc224754d4491b4c62988c63588ce2b88d2e224d2e224b0449f8f3d1a5c9719104499124415a5e6971106973aa58750d2e220d2e220d898cf8d8cd8d8cd898cd8d88ad8cd898cd8988b1c7e586336363f2c711b1311b1319618cd8d8cb0c6586236262363632c319618ccb8b8cbcbcb05c565c582e32e2e32f2f32f2e32f2f32f2f32f2f2c1796220ae24ae20b113e71313fe71111e5888388892b882c449b1b115b11b1311b13116188d898fcb0c66c6c45862363632b632b63ff2c319b1b1796224ae24b111e711125711e5713e5713e58882b882c441c4c4f9c4c4ff9c4c4f9c44495c49c4c416224ae24e2224e2627fcae20b1105711e5711fe7111071111fe57125713e57106c6c46c6c45863f2c3195b115b19b131796188ad8bcd8988b0c45862363632c319b1b19b131f9618bcad8fcd898cad8bcb112571257125888f2c44ff95c495c4ff95c47f96220e2624b11258882c441c444ffff96224b112571257105711e588838989f2c44d3045045310b0a932632e232630623562062316226236620e32c1b198850229885919194a88598220e81fc431160623589e23588622b18cde2988de3788c63588fefffbd2c42083f3559ee80f774bc682b4dcc1eee9782388c6278cb0b1161623388e32b588ac62398d633188632c0c46318c66319c46710c66310c66b1ac66318c46310c46310c46710c6563118c431f98c63199c63118c631960e3f318862f2c0c7e6310c45818cb031960622bc678f1163196319e3c658c478b1163179e2c658c65788f1623c58cb188f1622bc678b115e33c788f1623c58caf195e32bc5e71221c5885710e24438914ae29c58a71621c48a588a5714b110e2c438910e245f38b13ce2442b8a71621c58a5889e5714ae295c42c442b8a5713cae29c48858885714b110e24538910af115e22bc658c478b17f95e33c588af1ff9e2c678b19e2c678f1163179e2c478b1ff95e3f2c62f3c78fcb18bcaf196317f95e22bc7e5788f163f2c632bc5fe58c678f195e22c62f3c78bfcaf1163196317f95e32c622c633c58caf11e3c4578caf1f95e32c633c78bfcf1622c632c633c588b188af19e3c5e58c658c678f11e3c678f17ff96319829829986109a99a6b1319ef03a19ef0cc99150cc195d8cc99a683a18730f598ca89e99a615d995d2819fbecc9d755d95c54698a626980d26559dc71520c68357471520c6cc33075d8ea63a0ea68345468320e63a0e875d20c683a0c63aa0fe5841cd98664b0831a0e8318ea3a95a0e563a160752c20e63a8e86838e858418b03a160753148523309353148c22b14cb02918a42918a629160522b14cc5314cfaf52bea7d7a163a963a1f4ebe7d7a95f53ebd4faf43ebd0afa795f53ebd4afa963a1f5e87d3a963a15f43e9d0afa79f4e858e858e858ea57d0afa963a9f4ea7d7a9f4ea7d3a9f4e857d0afaff9f4e9fe7d3af95f52be858e857d4faf53ebd0faf53ebd4afa1f5e857d4b1d0afa9f5ea7d3a7963a15f43e9d0faf52be87d3a163a163af95f52be858ea57d4faf5f2bea58ebe58e87d7a15f42c742bea58ebe57d7ffcfaf52be9e7d7af95f5ffff2c75ff2be857d7ffcb1d0faf52c742c742c753e9d4afa95f52bea57d3cb1d4afa95f52c742bea57d0afaff963a95f43e9d0afa7f95f53ebd7fcfa753ebd3cafa15f42c743ebd4afaf95f5f2c752be857d7fcb1d5508000160382b0e0d954f0d94654deb7acc397acce7d10dea4f0d4b2c4cb02c4d311a0ad3134c0aa34c4ef33b8ab3059193460b03fffbd2c41a01f0c5a2f0aeeb34c619359dc1dde6682c04b32403834f43832403932443930e03932403932413c3240392c070648072561c9870489a7a48161c1b972587258726e5c9b87265e51ca2c65cb9cb2e65fe1cb94565ce59634a94ad21a44a584869529a4485694ad216129a54865cb1972e72e51962c65cb1972c565cb05ccbcb32e5ccb162b2c56b79acb1acb1aeb9acb1aeb9acb1aeb15ac6bae56b15ac56b15ca72485894e590e490b1295ca5894ae52b90ae539252c49e724a5897ce494b121cb2f9cb21cb29cb21c9215ca5890e497ce597cae42c4a57215c85894ae42b97cf9e4f9e3cb1c15f1e57c796393e38ff2be0f9e7caf92be0f8e4af92be0b1cff96392be0f9e0b1c15f058e0b1c796382c71e7cf3e7c7257c95f258e4b1c95f1e58e0af92be4b1c1639f2be7ce493cb127f9c9215c9e5721c9215cbfe72ca5893fcb1279c921cb29cb2f9cb29cb21cb29cb295c85890ae42b90ae42b93cb12795c857298701c1609034f2413901eb3094683091733344d033e0d132acaa34c4ee30957434c1313244382b398d3c4f0ace730e13d34f53d37ac3937ac3830e4382c07261c870648a786ca27a580e4ce244e44e4ace4ce0e4ce240ce240b072723226727058382b90339392b382b382c1c99c1c9c89c960e0ce4e0ce4e0b07067273e6727258392b38ff2c1c19c1c960e4b070670705838f2c1c19c1c99c9c19c1c159c159c960e4ace3ce44e0ce4e3fcce0e0b07058382b38339382b3933839396439252c4872ca72ca72ca57295c872485890ae53964f3965f39242c4be58e4af92be0b1cf96383e783e383e382c727c707cf07c727c73e58e0b1cf9f1c15f058e4f9e0b1c16382c727c7257c95f07cf27c707c727cf257c9f3c95f258e3caf83e792c73e58e0b1cf96392be0af92c7057c9f1cff95f058e0b1c16382be4f8e3ffcaf82be4b1c795f057c16383e392be0af82be4af82c71e57c796393e392be4f9e7fcaf9f2be4b1c795f3fe7c7258e7caf93e392be0b1c79f3cf95f257cf95f1fe57c79639ffff2c70a0800079603ecd71612cb09de71381f66aac420687e4226650cdc6176680617668061769dc58268332932930fb211343e211355621032115563328328343f0fa30fb0fb33280fb321021032112102b43e32112112b329fffbd2c42b01f3f1acdeaf777286a1355cc1eeecf82c1f467d1f5e7084207081f456c895977e65db2265d32265db207081f4583e8cfb3efccfa3e8b07d960fa33ecfb3fbfa2bfb2bfa3fbfa3fafa3fafb3fafb3fafb2bfa3fbfb3fafb3fafa2c7d963efcafe8fefe8b1f5e58fb3fafbf2c5d1dddd9dd5d1dddd162ecaeecb1747777477574577458ba3bbbb3bbbb2c5dff963ebfcb1f657f5e57f457f5e57f5e58fbfff3fafbf2bfa2bfa3fafaf3fafbff2bfbffff2c7d963ecfefe8fefeffffcb177e577658bb2c5d7962e8eeeebfcb17458bb2c5d1dd5d962ecaeecaeecb176577458ba2bbb2c5dff95dd15dd95dd1dddd7f95dd162e8aee8b17658ba3babb3baba3babb3baba3baba2bbb2bba2bba2c5d9dd5d15dd1dddd162e8eeee8b177e7f5f7fe58fa2bfa2bfbff3fafaf2bfbfff2bfa2c7d9fd7d7963ecb1f47f5f658fb2c7d163ecafebfcfefe8afebfffcfefecb1f5e57f457f7e58faff3fbfaf30e326333624e333632e231d546d312e1d530a8233323210b36ac7a31ec7a2c4f46eaba86318c46f18c67719c47315c6631ac46f19c658754c89224dd4c84f204bcc894bcd2f4bcd2f224e7a4b8ad2f34b8893220882c11056441a5e44191297160882c112644113e711125712588938989389893898838889f38889f388882b8838989f2b882c447f9618cb0c46c4c658633626336262363622b632b633636236263362622c319b1b19b1b19b1b195b179b131f9b1311b1311b17196188ad8cd8f88b1c656c65862363622c3195b115b196188d8d88ad8fcd898cad8cb0c45862363622c3195c415c495c416227ffcb11258892b8838989389892c441c4c416224ae20ae23ffce2620d8d8cad88b0c656c456c658632c31f95b19618cad88b0c5e6c4c66c4c7e5863362632c319b1b1f95b11b1319618cd8d88b11058882b892c4416224e2220b113e5889ffff2c4479c44415c415c4ff96224e2620b11257125710713125712571057105713e58892b88f38988388892c441c4c4796224b111e58882b882c44f95c416227ce2624b1105711fe58882b882c44795c4ff96223cae20ae23ffcae26f331e433b76dc30b95e3a3df73449133dd72835791335782f30bd1236a87a37d8c730b8c630bc7a331c2e357df730b82f31ec7a30bc2f30b87b344daa3fffbd2c41e83f005a0ee0eeb3706ce341c42bdd0003187a31e8c730b82e2b44ccc60b8cc61e8c7a31cdaa1e8b03d960c731ecc731ec7a30bc2f2b1e8c2e1e8b03d1ae5c6bbd16171ae5e6bbd15ae35cb8d72e2b5e7e97161795ae35ebcd7af2b5c6b979af5c6b97161795ae2c2f35cbffcd7ae2b5c56b8b0bcad715af2c2f35eb8d7af35ebcd72f35cbcd7ae35ebcb0b8b0bcb0b8ad79ae5e585e56bcb0b8ad79ae5e56bfcad796179ae5c585e6bbdff9af5c6b971af5c6bd7962e2bb8eebceeb8aeff2bbcaef2bbcb1795de58b8eebceeb8efbcaeffff2bbceeb8efbcaeef2bbbcaee3bef3beeffff2bb8b171df7962f2c5c58bfcaeff3bee3baeff3baf2bbceebcb171df795dc775c58bbcb17962ef2c5c77de58b8aef3bae3bae2bbcaee3bae3baf3baf3baf3bee2c5e77dde58bcaefffff2bbffcaef2bbfcaeef2c5e577ff9df7962f2bbfcaeef2c5de577162ef2bbcb17fff95de577960360c731e34da20e50cb58e4cd688b08d2b0734e5d9e30c730360b03306576576658639a61ae76c639a76c6b40958561b2695a76c561b0639a5847db58458360adcd2c58666c9b07615846e6d8658364dcc730dcc730cd8730acd83364d8f3361cc2c1b256e6959b258360acd92c1b1fe66c9b06e69b066c1b258364c741d4c751d0ad0631d47431d074f2c0ea63a8ea63a8e8563a160d83360d92b360acd82c1b2566cf99b06c99b26cf99b06c99b06c98e83a1607431d10631d4742b1d7cc751d0c751d0c741d3cac752b1d0ac752b1d0ac752c20e63a0ebe63a0e8563a18ea3a98e83a158e8563a958e863a8ea581d4b03a958e863a8ea63a8ea65094058284aca0f2b284ca1287fcca1287caca1ff3280a13284a1f2b280ca0280ca0280b0501594058280aca02c1405650960a02b284ca0280ca0280b050160a1f3280a03280a03280a1ff3284a1f2c14265014258284aca1ff3284a1fffff2c1b3e58363fffffffffffffffcacd8ff2c1425650194050799425095942565079940509594258284aca12b283caca13284a0ff2b284b050160a1f2c1405650194250960a0f2b284aca12b283cca1287fcaca12b284b050da03028040204010140a02010080300640ae302500803053c24f30d7c2a930ca42cf31c4921a300f0001300c4005305cc04f303cc03e34620fffbd2c41c003485d91db9ff00062e346243bfd000a9035bccab50300ac600d80006071010c603180c6611a82666027812018002a546032072608a05e690660a6330a28160074dc46f0c033306302b302a06234f02603428582329635f2eb1698880854e0c110038c168038c094064c008008d454d7cc660a5cca5c1d4c4f03899c459a1b8ef3180e80e98018048b009ba542604818c60701ba620e09e60de09e0d024120006cca729e4ca5b2baf182ea7acba030220082203b14028160104972b0109332164c5a76aafeb228dc6dd359e5dba0a2ff2c00c182d01c182d03d180c00c980c801c4eebff1779ae3fb76efa7ba8ca8927c39707a7a27c79803803958039803803980380398030031583a983a04c1583a45e2f14a771593bcf4b7e24f32e789492ebff72f45ee5ebc61540c4603207e180afe17007f53b0c00e4c44c60c00c8c50fd0fffd050d050d1c65d6a2ffffa251aa27c567d0fffffa219580133ba3f75e3292edc1863a4ea46dd474fffffffffffffffffffffffffffffffd4f980d0090981280b6984e00481848a1621869a25d18f32518198f263d19bd283d1a7d2d1b1b0fcf639bcf8c85987b8ff61db16c151d0749fb9cd72df399c764769881e1d19834809d9862389858ce9c5ca99b38cc9a0c149986cd1bcf161d83ce1ea3a91bc8f1997c611a16ce1bcaf21c32d31ade9b19160f191c9a9a68b599fa7d1986450b14e60e03a6271126471166450aa62a03a60e03a60e8a464698867d9f867f99062a83660d0403a0e98300e98a029983e0d2439810069810029810069818068602a8ab8ab3a01500a912a95c5987095b948b016d5fdb3ff4b0ee54255006ed19788c17050c2d0b8c49128c320c41c18a6f1728b945ca4e29eeef1fe56c8a800980801980402d79dc7a4a01980002980804980c03980c02df30180530902530880542c301402309446311448311c4830982528014c03000c23098c05008c05022b592500e2b477b0ffcea5d66d967ffffffff94b20c5dcb0cc4989356a6d779ddeb2ad6b755f57765b2996dda596d3bf38d6869da96d9d53434ef4ba1a7fa3384aa5d6bf2ab19a6ea300c013730b805f33126021130cb4230301a424a304f4122302905f9309b01e5308bc0253115c16431c9c4aa319809b1348b010e360fddfffbd2c41b83e62974fe0ff1f1056daadc81ff69e01033cce9a13e9998033720c8e03095404e3043c257309e00bd30074315306a01b93964c434b07666b9b5a486915398b4c4670561abd5a6ab341a9c58670859b40ea6965b8aa08c26b43291e438b21c5630e828906a18255402a4302824c4020012f82a2415279830b466f22268084188a8850f8238c0276895daa096a1e4406a530a427eb58491f081545ea7a311caba0d9712c06c2245b452039921093ca2624399cb1b2c29eb96a1f6c6b339233293c2e2af1b85c542519395617227c748270778c241b5976196923c2e27c2ba5fc4c49b6b75f582ca7ea3735ffffe0ab665746b4266378e2dfd7fffffffffce36c31231de4bfd191ff117fb8c19504f0c09013dcc8583304ca622984cb0e2c3cd17e039c8a86738190f763626173e280ca4e36eeb34d7401280e67a692ccc6a3708d58face8f60fa0b0e9df6268c2ee3714d7e9284d281eb4c64d280d7ecbbcac398c654a60c39c654c650e70d285280c650650cbbc650b032a63283286532530632a1ce61cc32a561cc61ce32863281ce612012061221206072070607207058038f2b03930390903d094d26834fa4ad216349a44a7a741e9d06952f95a42b485694b090ad2ff9a548695214492c25f34893cd3a62aa434a93cad29a548584869529e8485694d2a434890d22534a94b090b094d2242c2534a90d3252b4a5690b090d2a52b4a691215a534890d224f372e7fcb0e0b0e7ffcadc161c7fff95b92b73fffe56e3cadc7e5dffff372e3ffcb0e7cb0e3ffcb0e7fffcadc161cf95b82c382c382b70587058726e5c95b9ff370e3cdcb8f2b7058725873dff2c38ef9b871fd3a21dfffff65f302a03bf3183c6d2327a41d139209453312084833623919f370206d535458e2633ec4e26388c9fe23a48b6a13da898f333712b75337150153ed089223371145331208dc430be454831cd84203042842030be442035b23231156d2c15065408a685216685088685216568515a14685a1665408856541888549950229a1622959715bd15bd95bd9973d961eccbcb8cbcbcea510b08858452ba8345453444434444345a9345452c2296114d1114ad14d1110d1514d1110ad10d1514b08a575258442c549a2541a2221a2a29a22296110d1114b08868888584434fffbd2c46c83f3bd56de0ff77085de2a1ac1fe6e4054534445344452c2215a21a22215a29a22279a2221a2229d4a296110ad10b08a68a8a5844f345442ba82c2296113cd1110b08a568a68a8be58442b45f345452c22f9a2229a2a2f9a2a296110d1114d1514d1514b0886888a58442b44f345442b442c229a2a296117fcb089e68a8a5844f2b442b453454434545345443a844345453454434444344a834445345452b443a94534444344452c221a2221a25416114d1510ad10d1514b08868889fe568be68888568868b5256886888a568a68889fbf9dbbf45c58018cc0620d8cc4e31388c3620d88c5630d8ccde23388e1e2878ce6e33d88d1e32788d3e24f88c660a18cdae32788c9e2358cd7625d8ce1e2358cef62e58cd0e2438cc6e2358cd762438cc6e33588c9e31b8cc3620d8cc162178cb00b1182c60b1182c40b11f8dc456e33f1388b1e3371b88ad8cf8b88f8f8caf88d8f88f8d88b0c65862363e32c719b13195f196388f8d8fcf8988b1c65863363632c3195f115b196188ad88d898bcd8d88d898cb0c458e32be32c3195f19b1b19b1b19618cd898cb0c47c4c456c66c6c65862f36362363632c3115b115b115f11b1b19b1b115b11b1319618cd8d8cd8d88ad8cd898cad8cd8d88d8d88a310b0c46c7c66c4c456c66c6c47c6c66c6c7e6c6c458632b63362622b633636336363363e2f363623626336363ffd15b1f9558cb0c47c4c66c6c458632c31ff9b1b17f95b11b1b17f9618fcb0c458622b632c319b131f9b1b115b115b17ffff9b13196188d8988d8d88ad8ffcad8bffcb0c7fffa363622b622b62fecf95ff2aaf2c084258217cce061080c9c9655cd3ae3270dd952720e33eed24e068381cc4203dc0d957381cce0781a4e33eb494f70aed24cf704eb8cf701080cf702cc8c6f45a0cc2b7217cc9c81bd0c58b0ad8c58a0adcb02109829a2101829815b188400a61d6ca69a9b5b9554c35314c35314d2b3eccfa3e8cfa840e103ecb07d99f47d19f67d962102b3eccfa3e8cfb3ecacfa33e8fa2c1f6582efccba2e8b05d960ba32e8ba2b2e8acba32ecbb2b2ecb05d9597665d17665d177e582ecb05d19745d15974582e8cbb2e8acbbf32208832252f32208932252f32208932248834b88832252e2c11064411064491264425e64411206bfffbd2c47903eab9a2d20ff6b3471eaa5801ff5a38ac804576115d84577062ee0c5d81ae97606ba5d8457581ae976115d01ae9740c5d40df4fb037d3ec22fa063ef08bec22fb063e818fb063e818fae06fb7d01bedf606fa7d845f406fb7df06533c194cfae11a6ffffc234d81d369947ffffffffffff06110c1f907e0c1f81044d4c44abce14c8534d8f25314c1f820f0f62f7cd8ce8395f0d2af6c24df37e970f2038d90c413a6a0e14fc808e9a763d4f204c80ce3642950ce821038ce801044c4114abcc40e1898c4101040c1f91040d89f1acf1a9898c7e5898d89c7e4ae0f0f1aa0f0e0f5044ae0f0e0f5044d0420f0c7e5040c7e07e4b0823e63f282056c4e5541134101f834111f831f91f82b1f934114102b1f834114112aa08941f898fc2089607e4ac7e0d0407e7cc7e1044b03f05682056823e68203f0581f831f81f92c20818fc8fc98fc208f98fc0fc1a080fc98fc8fc95a0879607e4d0407e4c7e1040c7e47e4b03f263f03f0563f263f23f0563f0563f063f082063f03f063f03f063f23f263f23f0581f831f81f92c0fc1607e4b03f068223f263f23f268203f3e63f03f0584102c20898fc0fc019f93f00c3f2e113f2113f3033f27e0227e4187e4227e4227e4187e00e089f908c11061f9061f806410033f27e2067e0fc819f83f1819f93f0067e4fc830fc830fc419040187e3033f27e40cfc1f8061f9c227e00cfc9f9061f8061f8091f9033f27e4187e40cfc1f9033f27e2113f0067e2084187e2113f2113f00c823830fc830fc7f7061f8844fcaffffdc9d9fffffd75f317f31b37f117f34b7b29398c65434b665534da7572c30c9a6dbab1a6d12f1b2acc61b2ad949bf832a198d32a1b2a6629d947fe9b2a0bf98bf25b192f30c99ce12f989092f192f12f1612d8cc68c6cacc68cc6c5fccc685f8b06366636634663496e66362fc6bf2fc6bfe346bfafc6bf2fc6bf2fc585f8d20978ae5f3485202c4be690a406904bc5690f961213979212c24272f240690242569096121348521348521397d203481203485202c24258480ad203485212b484ad203485202c4bc56909a429095cbe5897cd21480d21484d21487cd20978e5f484d21480d20484ad203485202b480ad212c242569015a40690a40690a42690a4058484ad20ff348520348fffbd2c48183f27178ce0f76b545f6b61a01ee57205212c24258480ad213485212b480237e065f8237f81dfafc077fbf4237ec197e832fc0cbf832fc11bf611bf032fc11bf832fe0cbf832fc077fbfc237e065fc237fc197e03bfdf8237e832fe11bf01dfeff065f8237f832fd03bfdf8237e846fe11bf832fe11bf846ff065fa077ebf81dfefe0cbf832fdc0eff7f065f8197fc197f065fc237e08dfe0cbf60cbffffc197e2c0bf18bf0bf9bf859418bfa5b9d9418d15d941a6da6d9a6d44a18bf8bf1598d1961ad0986cad01890a6d9b0c9ce992f3ab9596198e69619a5606c18bf18d961954cc6d2dcb096c62fe2fc696c63462fe2fe62fe96e62fc96e696c2fc66342fe5663466342fe61b039865861b0561b261b239a63981b2581cc31201202b1202b1202c09018908909589015890992f0901f35b0586c1b65b26d86c9b61b06d86c95b63cadb26d96c1d72ba6a1ae95a87cd40a13aea80eb8a12b501a854275d5095a84d42a12b6c9b61b056d82b6c161b06d96c15f33cdb2d836c364db0d92b6c9b65b056d8390484e4120390c80ae427209095c83fcb120390c80b120390484e4121f2b901c86425890162405721390480e41202b90f95c80ae407209015c80ae405890f962425720390484ae40720901c86405720390c860cbf846ff846fe11bf846ff832fc11bfc237fc197e846ff81dfefe11bf832ff832fdc237e03bfdfbc197ef846fe11bf832fffc237fff832ff81dfefdfffff065fff08dfa0cbf2af2c1611a561619ad086c1bc6256986c0e698e61db186c2d0991503a991528199ca96bf995d8cc183a95d98cc883959ca996b0ae18500ae18ae8ae18ae10d99ca05098ae0ae158e6186c06c996186c186c06c186c86c1586c98e686c186c86c986c1611d71406a1501a86b858501a82ba56a02b501a854258509d71405850161426a0509a8543e6d86c161b256d836c363cb0d8ff2c363cace9e5883f99d0ea583a959d0cea7433a1d4cea7533a1d0ad43e585095a84d40a12c280b0a02b5095a83cad41e56a12c280d42a1350280d42a0350283cb0a0350a80b0a0350280d40a02c284b0a0350a87cd42a02c284b0a12b3a19d0ea7073a99d0e8583a99d0ea6743af99d4e86753a99d0ea567533a1d3cce8752b3a160e86743a160e9e6743ac1fffbd0c49001aae194d80f72b58554b59a95eed5a08d808b600db0d9c22d906367831b1c22d8c22d8fc18d808b620c6cf063660c6cf036cb66116c01b65b2116c7fff08b67831b3ffffc18d8720624024262422406caa96c696efe06634fe0696e2fe584b6f32c269733b61cd32c30d831cc2c2375639c339c120339d4da2bb08ec2364dcd360e5e480e5f978f9c97cd2197cb0901f3a909f39ce15cbc6904be7cef386904be572f1cbc909cbc909cbe90961202c24258480d21480232106484192108c80192008c800e4320064840db1cc036c36418d981b65b2116c7845b006d86c831b20c6c045b0116c81b65b2116c01f31b00c6c0339a0c6ce0c90046401190e0720900464184642119001c86400c6c831b2116c831b00ce6045b006d96c01b65b2116c81b61b006d86c831b006d86c031b206d86c81b65b006d96c045b00c6cc0db0d881b65b006d96c01b61b20c6c845b006d86cc0db2d90636606d86c031b308b6022d8036c363f06487fc1921846400c90c192084643e0c907c1921ff064842321fc2320c1921c2320e0c9083241c1920e1190ff0648383241ffe1190552b188b0719f7f4a1eb57c15bc66b19c46e821474a4645719988ab69bc4b11ac4311dc4b11cc47198c4b198882219502296045338ce33589622b388d62188c6338cc6318cc63588b071195222995222195022160a832a04532a0452b110ac4432a0442c08862208a78b1f95e23c58fcf1633c78bcae2162215c42c442b8a588a588be71221c58a716295c538b14b110b114e2442b8be5714e2c538b10e24538b10ae21c48871227f9c58a7162162216221c5885888712216229af5de585e6b9715ae2c2e35cbcd72e2c2e2c2f3f4b8b0b8ad715ae2c2e2b5e6bd715c42b885710b114ae29c48a588a588a58887122ff95c42c442c45f2b89e5710e2442b8bc238e11c611c5e11c5f08e3f83310331ffff8471047160cc708e3c198c238c19881988238c198e0cc7833103318471e0cc508e3f8331c0f1e3e0cc611c7847103314198e0cc5066308e3e0cc41f2c1e6a5119a1af08bc29b0f2a7b986cca7b194d8c3c98dd06f719b1a90d9a4346c69a4366c619b1a47f1ef71b39b74ef71ef76f71a08e3598fce351a08a081bc6bc61f9a79a953cd4de33cd7cde31e34a79a8de37cdfffbd2c4d083a94daee40eea974694295845ff597a0d1c3634ad1c0e3ff630e3f91c0d1c11c0dba0d98cd9a9b0cd98d98dba0d98cd9cd9ccd9cd98b0dd3e566cfe66cc6ce586e9f36e9367362741136271f831f81f9f34101f82c20898fc8fc1a080fc1a088fc18fc8fc04638846380323884638c191c0231c4191c40e38c71064700647108c7003530a640d4c29903530a600d4c54d08a9803532a6418a600d4c54d03532a600d4c29981a98532075314cc22d980db3367831b3831b381b666cc0c6cc06d9db381b666cc06d9db3045b3845b381b666cc116ce0c6ce06d9db3c0e384708463804638e118e0118e0118e2071c63881c718e0118e3f08c70038e11c00e38c7108c7008b66036ccd9c0db3b67c18d9822d980db336608b6608b6708b67036ccd9818d9818d9c0db3b670636706366036ced9c0db3b6606366845b381b676cfc191c2071c238f08c71f846380323801c718e384638c191c3c82bb45762bd6a189200a0f3144ca433d6cc69c36b368403455f43b3455ab8137c0e4323674ca4235040d5636b2cd573290d4a32a9ee6553dc8df03144ca294533f88be230f8d3e330f8c7e333dc8a4333dcd9d332908a4332908a423144ca423144ca433290851231448513314494a231448f7233dcc5133290c5122c0a24587e3d95bf1960f8ccf8cf88b07c4583e32b3e22b3e333e23e333e37e333e23e333e33e32c1f199f19f1160f8ccf88f88cf8cf8ccf8cf8cb07c4567c6583e333e23e237e23e284e898328981d13a2611a240ca2611a2508d1281d12a260744a8981be27c6117c4117c606f8df101be27c60c7c407f89f181be37c606f8df101be37c6117c6117c5063e208be281be37c5063e3037c6f8a117c581be27c7831f181be27c5063e2ff81be37c5f831f1781be27c4117c6117c40c7c4117c406f8df1c18f880df13e2063e2063e208be308be2845f1c0df13e2063e2037c4f8b08be3037c4f8fc1944c2344ffe11a27ff06513e11a270aa27fff08d1303a2544bff06512f065128468980001f961a0f32f89be330f8cbe22b674cd4a3528ccf727c08d4a25288c923183cc9221838b0ce9194867b9997c67f118fc69f198fc63f19b07b071c914919b07c91963f88a1f1cdf88f8cef88f8f46d3baae7aacd386d39aae6a254867487486fffbd2c4f0002ff59cc10ffad486bcb35849ff59b3574846a24a26574866fc67c667c67c667c6fc6583e233e23e22b3e332f82f832f92f9360f60f32f92f92c17c7960be3ccbe183cb05f265f2c1e65f25f065f0c1c56c1c582f832f860e32f82f932f82f8035f0be40d7ce0f035f0be7062f8062f9062f808af981af95f2115f006f8df1c22f8822f880df1be3037c4f8818f8c0df13e208be2037c6f880df13e2037c4f8822f8c18f8c22f8c0df1be3037c4f8a117c6117c40c7c60c7c708be208be208be2063e3063e308be208be3063e38317c8457c40d7c2f808af808af808af9062f9035f0be422be018be00d7caf9062f98457c81af85f1035f0be422be206f8df1031f1845f1045f1831f1045f101be27c7831f1031f101be27c7037c4f8c29f1818f8e06f89f1831f101be27c7037c4f8822f8c0df1be3ffc1944e0ca25f065120651284689fc1944cde666d451e74c692cb86aed3354ea7b2cc5691998436ef2c2dbe749e0b946bc1af0868cdd2784d19c1de4b1aa9bad88cd958dd05853d0c4716ce4cd8c23fcdd6d2ec8cbb275b4cbb31728c3671ba0c3671ba0c3661ba0c36545ccc36445ccd1731ba0c6e90d98b03c619e6a79a98f183c616078b2c2335af2a0b96565d91c7fa38144701611c0d1c51c3cd1c51c4d1c11c4ae3fb9e568e1fe58471336636636e9366e959b3f99b31b3959b399b31b3959b399b31b30323840e384700647108c700647006470c231c4231c606d99b3c0db3b6608b67036ccd9c0db336606367036ccd9c18d9c0db3366036ccd9c22d9c19ba40db3367064710647008c708323840e38c7081c718e0071c23803238832388463881c718e20c8e00c8e308c7108c7106470038e31c00e38471038e11c00e38c71038e31c60c8e20c8e0071c23881c708e0118e0118e20c8e0118e108c700647108c70038e31c70647108c7108c7008c710647106471064710647108c710647181c708e30647008c70c231c00e3847006470038e31c3065cafc1972ff832e5ff846e5419e3613f1bffffe11f19ffc19e33c23e340cf2c13a66bc22f044e35599b1a90d1bf8cb549bad85d91af091aa938d5665d997666b549b1866c6ad5268ce233468cd233651785150bb22b172cd19b5e10cf343cd4ad6de33cd4f3533cd078c2aa78064efffbd2c4f003b1c9a8c00ffad4867d2b97c9ff5eba9a783a34f013c12a93a6513c0993a64e9993a49e09549d32bbb235cbbb32b5ca2c2e515ae595ae59a38c7f1a382381a38a381c7fa381a38a389611c4a238fcb08e2584702c47f1a38a381a382389a38a3895a389c7f47f79a38238960a64ca61530ca65534ca64a60d531534b053058298354d29932982992b29932982992b2992b4712c2389611c4d1c11c0ad1c0d1c51c0d1c11c4ad1c4d1c11c0d1c51c4b08e068e28e268e28e0568e0568e068e28e2584702c2389a3823895a389611c4d1c51c7cd1c11c4b08e3e568e0584712b4702b47034714712b5ca35cb5ca2b5cb2b5cb35ca5ca2b5ca2b5cb35ca5cb2b5cbff2b5ca2c2e59ae52e57f95ae5161728b0b9456b9656b94585cbf2b5ca2b5ca2b5ca2b5ca2b5cb2b5cb35ca5ca35cb5cb2b5cb2b5cbff35cb5cbff2aae56cb0b95fe56b95fecaba05d4123552674e3bad48a9d373031554e1127497febaf30f887e332f18e2831290966285e38c9662f1cc5622b8ccae51ce0cc394994ac60e30e385623158838d3158c90e3243c90e31588563312904a53090c2422b1290c3e21f88c7e20f8cc3e33f8cc3e32f88b0307958c1c617c8c1c56307187c41f19607e230f8c3e230f883e32b0f88b01219848625215848658090cb0121160243f3e3db92c71e586e0db96e0adb936e38e2c371e56dc1b72dc1b72dc79b70dc15f1a586e4b0dc95b7056a69a9aa69a9b5b9a9aa69a98a61a9aa61614c3ad94d3532b63adab735314d3532b636e5b836e1b8f2c3706dcb706dc37056dcf9b72dc15b70586e4adb92b6e0b0dc1b72dc9b72dc95b726dc370586e0adb92b6e0b0dc95b73e6dcb706dcb726dc373e6dcb70586e7cb0dc1b70dc9b72dc15b73e56dc1b72dc7961b82c37256dc79b70dc161b82b6e4adb8f2c370586e4adb92b6e4db96e4adb82b6e4adb82c370586e0b0dc95b726dcb70586e0db86e3cadb92c3726dcb726dcb726dc37056dc1b72dc961b936e5b9f2c3706dc37256dc7fffffff063e30bcc78d1e34c5cca4f0c5cb8d54de87b760cf3598c4e3555e08dd6c172cd6dd3cd4de8698c0db374868c4716cdcc5ca75b0c5cb1728d19a4668cd8c23fca1b1b323fd6a932ecd19a2c0b946bc1233462e5233a71fc8e271fe8e268e11fc68e2fffbd2c4f081f03160cc0ff6d7863fb5d7d5ff5a2a8e27e69e6be56f1a7e69e69e6f1af1a57e6bc2b78dff3471471347147034704703471470347147134704703470471347147134714712c2389a38c7f1611c0d1c51c4b11fc68e28e0584712c2389a382381ae52e51ae5ae51ae5ae59ae5ae5945cb9ae52e596172cd729728d729728b0b9456b95e157280772ae5846e5046e5c1972c19728237281972bc0ee5dcb832388463881c708e2118e0071c23801c708e0071c63801c708e2071c23801c718e0118e00c8e2071c23801c718e2071c23804638e11f1bc19e330af1bee0cf1bc23e3423e31a0cb940cb95c23728197281972b03b9772ab065cb08dcb065cb708dcb08dca581dcab940cb940772ae57d5fe0cf1908f8de0cf1a15e3411f1a15e35fd55423e3611f1b5419e317f5e11f19f08f8d0678c833c6423e33f0678d81f8df1b5f33a38e8f3e1d21d43b49168319d0eceb83d0ece2c92270d155ae00e1856b28c69d355ccf736748c513290cda0f8b20eb808b24a844e99ee65219a9462891b3a65211c59044e9b41e44e96115532275155d151d3a33a38e8e33a3ce8f35a08b3232cccb3228599ccb322ccca8b419bf1df119f11f199f13f11bf13f1143e2161f88b113a5589d389c89d2c44e162270a44e3cae270da75a70da71a74b0d3a6d38d3a6d3ad386d3ad3856d3be56d3856d386d3baae56d39e56d386d38d386d3ad3a5355c56d386d38d39e6d38d3a5869d369c69cfef95b4e161a77a56d39e5869d28d3af2b69c2bd56f369c69d2b69c2b69d2ab4e1b4e34e1469c1b4e34e95b4e79b4eb4e961a77cda71a70da71a730369c69d2b69c2c34e7961a70b0d3851a706d3ad3a56d3a56d386d38d3a5869df2b69c3d5669c28d3b2c34e961a77ffcada73cada70a34ef45869c2b69cf2b69c2c34e95b4efe8ada70da71a74b0d3bb2c34ef961a77ca8d385869c2c34eecb0d3857665ffe58b322c599fecb16645766658b32ffe73fcb166657665e7665666766766458b32f2bb32e313316f31e1f6ee56bfff9beaf3144a96237c0851329f118e4335288e4333dccd9d35288d9d22908cc38248ccf4e183cd4a32908d4a3a588d4a33dc8c5132908c513528cca42528cca433dc8cf72290cca425288ca43290cdf03290cd4a2290cc5133dc8c512fffbd2c4ff03f49152ba0fffc5c651b59801ff5a901448cf72290ccf733dccb07b999484a511948428998a242891948628916144ce90e908ad448d44d44cd44d448ad448a2894b0a27e585123513a432ba42d95a8916144fcd44d448a8a246a24a266a24a2452909e58513f849f1c22f8a117c406f8df1831f1031f101be37c607f89f1845f1831f181be37c6117c606f89f101be37c606f8df1031f101be37c508be2037c4f8e117c6117c508d1308d1203a274482344b0651306513065138468941944c2344c2344a0ca260744a8901d12a270651383289c0e89d12f83289e0ca258468941944c1944a0ca2508d138468904689b8468941944e11a278328901d13a260ca2583289e11a2781d12a24f83289832890468984689032898328942344c1944e11a2706513f83289c2344f06512a8234481944a0ca260ca258468941944b8328976e11a2584689feae11a244c414d45332e313030aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaf2aa8207219b3a45243318a27c791a946a519a4c849198c1c7a7997c65f119fc47f19486126d651aae67f1a7c6517e21587c4617c1244661c9246661c124666ab9aac66ab0d3a66ab35966a082822634e2820566ab19aaca0896069d2b355cc69c5040acd563355cd562c0d3a574845144a56a24748748656a2658a4337e23e233e33e22c1f1159f119f11f1959f199f13f11bf13f11d21289161448b14847486a246a26a27e51449e585132c28981d13a2611a2411a260744e89832890328901d13a2708d1303a2544d82344e0ca240744e8981d13a2411a25846890328981d12a260744a890468903289e0ca2611a240ca2611a270651283289784689c2344c2344c234482344c1944c0e89513f8328981d13a2783289c0e89d1206512ef0669d8334e78474ec0f4e69de0cd3a11d3807a774ee11d3abc19a77ea7c19a760cd3bb419a7019a73ffff8474e8474effffc19a77ff08e9db3ffffd6bf9913a8aa1f9eb1631445566a510a2472198a24777c28226d65359675c09138644e11387163570651a0f9c59044e1a2a88aa14455e67b9948667b93e066ce98a26644ec592644e913a6d0722aa51a0f142274644e22aa644e913868aa1138644e341c644e113a552274aa44e1a2a844fffbd2c4e581eb5da6c00ffad4867d3597d5fb5f98e18d3834e19aac34e18d3834e18d3a34e958d3a581a74ac89c2b2274aa8aa9913a44e15913bfe644e113a634e0d3a634e0d38634e1aade5634e798d3834e158d3a581a70ac69d2c0a2662890a2456289958a245628998a2628998a24289958a27fe65210a27e0744e89046890468942344c2344c1944825448234481944c2344e11a2503a2544c234480e8951206512832898328901d12a240ca240ca270651306513065136e11d38c11d3811d390669c08e9c03d39a7019a7207a774ec23a740f4ee9cc19a7423a7607a734e0474e8334ee11d3a0cd3811d3a07a774e419a740f4ee9d03d39a7611d3bc19a7019a7023a7207a734e01e9cd3908e9cfe0c22742244ef83089c7089139f06113bf088d39fc1834e42234ebc1834e60c1a77f060d39e111a77c1834e84469df6c2244e550000001fcb08e06636ca8663496e6fe26366634fe069b4c32673aeae673a9b6586192b1cc33b73b63411a5531f94112b410383d62731f86263626626331b31a34b731a317e17e34b64b732982992c2a69594c194c94c795a089a0831318fca081a088fc9625e3979212b484ad2134825ef2be70ad203979203485203481213481203485212c24256d93e6b64db2d92c364db2d836c364af9856d82c360f9ad92b6c79b65b06d9e61b61b26d96c15f30db2d93e6b64db0d82b6c161b0589079c8243e7219015c80ae40720901c82407219079c8240720909c864056d92b6c1b65b056d8f36c360db0d836cb64b0d82c360adb056d82b6c9b6798586c961b056d92b9095c84e43202b9016243ffe589095c84e4121f2c480e4121390c84ae4057212c484b120ff2b907f95c87cb121390c84ae42589095c84ae425720390c80ae43e58909c86407219016240589095c87ce4320390484b120f2bbfff962fe577ef2c5ffcb17ef2c5f8aefc58bf9dfafde58bf962fde58bf1dfefe77ebf15dfcaefc577ef2c5fcb97d859c2ab88e7fa3cb0599194842891be04a51998724911aaf47a799fc43f19a7c4ff11978c122992ce71415948456a5119fc61f19553e232f8cbe232488c393248cc393183c60e31a70d5631a70d563355c69c3355cd573144c5123144851333dc8512314485122844e4d1554550a11383227089d2b2270afffbd2c4ff83f1c956d46f779446f42a9881ff7690d448d44e908d449448d44d44cd44d44cd44d448cf8df88cf8cf8ccf8cf8ccf8cf8cacf8ccf89f8cb07c6583e232f82f9360f2f92b2f832f92f932f92f82c17c960be4cbe4be0acbe3cef9be0ef8be4ef8be0ef9be0ef8be0ef8be4b17c15df258be0b17c1df37c1df17c9fc7f11fc5f115fc457f19fc7f1163e23f8fe2f2c7c47f1fc457f1963e32bf8fcaef82c5f277c5f277cdf277cdf058be4b17c79df17c15df077cdf077cdf058be4ef9be3cef8be4aef9f3f8be22c7c5e57f115fc457f1963e3f2bf8cfe2f8cb1f1163e33f8fe3f3f8fe33f8fe32bf88b1f115fc457f1963e32bf88afe22c7c458f8cfe3f8cb1f1795fc5e58f8cb1f115fc67f17c7e7f1fc458f8cb1f1163e22c7c657f179fc7f115fc457f17963e32bf8cb1f19fc5f19fc7f179fc5f1963e22c7c658f88b1f195fc47f17c457f115fc67f17c658f8bfcafe32c7c7e57f195fc658f8d5f2a2944630705f26c472af66abd8c1a661c9872693205f069320c1c510881978e4b3192463071a4ca49199e9e7a71987017c18c1e17c19c62b198dc2b118dcab11d21a891d2152179d21d2195df1160f88cf8cf88df89f88b14867ee4a25fe56a246a26a25e6a25485e6a26a27e67c47c5e67c47c667c67c6567c5e583e32b3e3324324232422432b243324324232422432c12199211219921252992112116090cac908c90c908c908908c90c908c90c90cac90cc90c90cc90c908c90c90cc90c908b048664844840c5f2115f00c5f108af8035f2be2115f18457c6115f20690d210452101a4294a1148406909218312140d21a4308a4208a420624281a424861148406909210452101a4348508af9c22be206be57c0317c8457c8457c422be60c5f2115f20c5f1035f0be418be2115f20690d2181a424840c4840c4840c4840690921e11486114841148606909210452181a43484114860c4870348490c229080d21a4208a430624208a4308a428317c0457c422be40d7caf9062f9062f9035f2be40d7caf8f062f98317c8457c0457c6115f3035f0be018be422be3fffff08d12f2c3d10653614da6a7ba2e442a7a1a9eea7b9a3362e518b971aa9445cc6374b0f2564019957055c1437be63748dd2653694d863c68f1863c6adbc6b6f8f1a53cdfffbd2c4f103f43180ca0ffacdc623b25881ff59f847e6be687e68f1a57e6857e687e6af187e6be687e69e6a6f1af145478a3f3578c378d78c378c78d378cf352c3c61478d1bc63c6961e34ade30adba4dba0d9bcaadd2566cc583672b36633676e834704712b8fe38fe4702c2389611c4ad1c4d1c11c0ad1c0d1c51c0ad1c0d1c11c0d1c51c0d1c11c4d1c11c4d1c11c7cb08e3e584702c2389a382389611c4b06cc583672c1b319b39b399b31b3f959b399b31b3959b3960d9ccd9cd98b06ce66cc6ce66ce6ce118e2071c238c191c4191c7038e11c40e38c70038e11c4191c4191c40e38c70064710647006470038e11c0191c40e3847084638e0c8e0118e00c8e00c8e20c8e308c718323804638046388463881c708e20c8e2118e20c8e2071c238c191c0191c0191c0231c40e38470c0e38c7008c708323804638c0e3847108c7108c7006470606470c231c60cf1bf57ffffdffffff846e5e0cb94a00002f30be4c3831084420332746f434224bc73259824431839265263070b039c183701c6961c14d2938a4eb9158cdce0e30eb95588eb8ce3cd58ce3cd589588cbe648cd83cbe0d83f0e0e48a48cc90c90cc909c14c909c14d295290cbe248ccbe1838d83cbe0cbe183cd83cbe0cbe1838cbe4be0cbe4be3cacbe0b05f2569485648664844845694a64864846486487fe6dc3706dc3706dcb706dc37256dc9638f2c370586e4db86e3cf8f6e0f8e6e4f8f6e4db96e7cb0dc1b72dc161b82b6e3cdb86e0db86e3cadb836e1b82b6e0b0dc9b72dc961b936e1b836e1b82b6e4db86e4db86e4b0dc1b71c71a9aa61d6ea615a9856a69d6ca61a9aa695a9856a69a9aa6f95d6e56a61a98a69a98a69614d2c29a56a67962432b90fffcb121f962422c485e572196242f2b908e43908b12115c87e572115c865890bcb121f95c845721ff9c8521162432b90bce4290ce4390bcb12116242f2b90cb12196243f2b90fce42908ae432b90ce4290cb1211c85211c87211c8721f95c85fe5890ce4390cae432c485e572115c87fe572195c87e58908e42908e43908ae43ffdbf587ccf8af88c7054224d7aa4ba8d7e30f8ccfe21f88d57a248cc2f80be4ce281294b04b319c5097518e0a4b3197cfa79fa7e1c197c97c9fa7307997c17c197c61c9df1df119f11f19df15fffbd2c4f303b38556ce4ffba9d6c3a41945eff822f199f15f199f1bf199f19f19df15f1160f8cdf8cf88ef8cf88cf88f8cb07c467c4fc66c1e5f065f05f265f0c1c6c1c5f265f25f265f05f265f05f065f25f065f25f26c1e5f256c1fe582f832f860f31b838d31b91b931b91b931b81b82b1b931b81b92b1b831b938e2c0dc18dc1c695a5279921921992112116090fcd295290c908908b048464864865824332434a531b81b831b81b931b81b92b38f2c1c7160e34b0372563705838f2b1b831b81b831b91b82c0dc9606e4c90c90bcb04845824232432432b24332422432b2422b2422b24332432432b2422c1219921121f960908c908908b04846484485e64864845648658242f2c121959211592116090bcac90cc90c90cb048664844866484486564866486484564846484484671c3706ac6371e637071c6372370637237063723726372372637237063723706370372581b931b81b82b1b82b1b831b91b82b1b92b1b82c0dc959c7158dc98dc8dc98dc8dc79606e7ffffeef34bdd4378ce2398c633b8a623188e23d8a62338ae23578c737dd5f2c1c65771985e3d98f6d59abc17163c634bd2f32248939ed2e32232137512e3751d5375488f34bdd534bd2f32208939e92f32212f32248934bc892b4bcc88224d2f220ac882c11269711058882c4495c41c44495c41c4c415c415c4162a0ea514ad14ad14b0887508a68a8bfe75088584434545344a8345a82c221a2a21a2a29a2229a2a29a2221d4a29d4229a2a21a2a29a2a215a21d4221a2a29a22295a279a2229a2229a2a29a22216114ad14ad10ad14d1114d1513cd1110ad14b15268a8a56885689e5844345442b442b4534544345452c229a2a29a2a296114d1517cd1110ad13cd1114ad14ad14b08a68a88568a568be68a885688588938988f2b88f2b88f2b892b89f2c447fff95c496220ae24ae23cae20e2624ae27cb11056c5e5863363622c3115b115b19b1319b13115b19b1b11b13195b116188b0c5e5863f36263f2c3195b11b1317f96188b0c60c44ffff84513fe0c4404513e0c44fc188908a2708a27cc484e74d866254aec44c97d36cd860484dd5ce74b073a64bf12a69b424265841b261ac9585825e312039c325e894339d757312025f2b619312139c3120120325f4db31201213121fffbd2c4e403eff9ace40eeeb7c67f361b01ee56f01203120120312125e3121120325e25f325e4da2c12f192f1ce18909ce996106c160730b01b063981b063981b0580d9f2b909c8240721909624058901c8640721901b679a586c1b61b056d92c363cb0d92b6c795b63cb120390484b121f2c484b121f2b9095c84ae4058901c86405721ff2c484e4121f390484b1212c484b120f2b909624056d82c364db2d936c360db2d92c360db0d936c364db2d82b6c95b64b0d8f2c360db0d92b6c95f34b0d82c360b0d82c364db0d936cb64db0d8f36cb64db0d82b6c7961b2586c15b60b0d92c360db0d936cb64adb2586c15b60db2d82b6c79b65b056d92b6c7fff961b3e56d936cb64db2d92c364b0d82b6c161b3fe6d96c95b60adb211907846400c90c192006482072190c232106484232006483e0c90c1921c0e4120064802321c19218464308c841920f846401190c1920064861190846400c9060c908324384641c192106483f08c842321af3210329369d2693340190343f32830fa66d366d89d35569b2332843e355643f35569b2389d66c327a1d4346c27a33c746c2882d31910ba2b26937840fa321055630fb210343f32832103292b3292b3292b32830fb210321043e3210211321121030fa0fb3843282b3e8f28840cfa3eccfb3eccfa840b10819f47d99f67d99f70899f47d19f67d15c2267d9f7e7081f467d1f5e567d99f47d159f667d9f6583ecacfaff2c1f4583ecae1133ecfa2c1f6567d159f467d9f667d9f6583efcafefcafecafe8b1f458fb2c7d9fd7d15fdf95fd163e8b1f457f657f657f7e57f658fb2c7d963e8b1f458fa2bfb2bfa2bfa2bfa2bfaff2c7d95fd95fd7ff95fd163e8febe8afe8afebcafecfebebfffcfebebfcfefebcb1f458fa2c7d15fd15fd1fd7dff9fd7d163e8fefecb1f458fb2c7d15fd163ebcfebeffffcafecfefe8afecfebecafecb1f658fb2bfbff2bfb2c7d95fd9fdfdff9fd7d1fd7d1fd7d95fdffffff95fdff9fdfd963ecafecafe8febebcafebfffcb1f657f47f5f5e7f5f7fe57f67f5f47f5f5e57f7e58fbff2c7d15fd163ebfcb1f657f7fe58fb2bfa2c7dffff9fdfd95fd985e171611230b82f3a39f7357a8e30b91337c8cc31649334495e331d13324c583248cd30bc7a37d8c630b8c73248cd33301d31fffbd2c4eb83f475b2d80f7774c5b935dd81dd66d8609331e8c630bd1230bc7b30b87a31ec2e2b578c7a44cd130bcb063985c3d9602f30bc2e2c05c63d8f666305e61705e563d985c17985e179aef456bcd7ae2bf46b97961795ae35eb8b070ec1d33a70b070b070b073cb070ced9ff2b5c56bcd7ae2b5c585c6bd7ff9af5c56bcb0b8ad796179617f95af35eb8d72e2c2e2c2f35eb8d72f2b5de6bbd962e3bae2c5e577f9df79dd7162f3bee3bee2bbbffffcefb8b17f9df779dd7962f2c5e577ffff9dd795de57715de57715de58b8eeb8eebcefb8aee2bbcefbbcb177f95de58b8efbceebbfcb1795dfe77dde77dc5777f962f2bb8b17162f2c5de77de775fe58bcaee2c5e77dc775c77de57715de5771dd7962e2c5e58bcaefff2c5e58bffcb17795ddfe58bffcefbfcb17f9dd715dde57715dfffffe58bcb177ffffffff95de5777ff95de577962f2c5c57715dff31a71aca3861eef93355daca37c0a43335288f7337c094a12b3dc8c2f91838c92255e8eef81a70d4118610c2f83d38cf4e248cd26530e4a0a27285214d9d22908a86ab1a822a08160d5636b28d5631a75acb3355d41033558d572b1a70c69c1a74d4111a74b034ef98d3a34e9d21289f9d21a891d212899a892899a89a89f99f11f1962f88cf88f88acf88cf88f8cadf8bfcdf8cf88cf8cf88acf88df88f88acf8ccf8df8bccf8cf8cacf8ccf8cf8ccf8cf88acf8ccf8df88cf8cf8bccf88f8fccf8cf8ccf8cf8cacf88cf8cf8e117c414f8a06f8bf101be37c6117c4137c4117c6117c7063e3063e2063e2037c4f8c23f8823f8e117c406f8df1845f1845f101be27c4117c40c7c508be2063e3037c4f8c19f8822f8c0df1be20651203a2744a0744a89c194480e89d13065130651203a2544c1944eb81d13a260ca240744e89f853e3418f8818f8818f8c22f8823f8c0df13e381be27c606f89f160c7c6117c7037c4f8c0df1be2037c6f8c0df1be281be27c606f89f1831f181be27c40ca2611a240744e8983289046898468903289419448194480e89513832890328983289c0e895120651281d13a240744a890468983289c23448234480e89d13d0eaf5c19a76dea8474e8334e2bffef0669dfffffd5e6498b0751af860e372684a86587c8ccdd48c59074cb41b8c6e358ccc160d08070fffbd0c4fa03fa5daac20ffad4c5bcb45e01dd62d0d43164ad433164933165092b24cd09248c58164c93420c59164c1c160d09160ac923420923164583074cc2c03860e0b2562c79601d3070593070932b074c1d070ac5839614d4282b506a029840a61429cb0a585264489608990225644c8bd32040c8912b206408991225644b0f4c81032240c81032240ac816081608191205640b044afa7de796387de7963be7de95f4af858e7f96225703840e302c44b11f38c3cb1038c4e312b8f962070895c4b1d3e70b1c3e74fbd3ef4fbc3e74b1c3e74b1d3e70f9dff2c73caf9e58e79f79e7def95f7cafa58e95f0b1d2be16387ce95f7cafbe58e95f4b1d2be163a7de7f9f3857d2be963a57c2be95f0afa7ce15f4afa7ce1f7857cff2bef9f3be57dff3ef0b1d2c74afa58e963858e963858e963857c2be1f7a57cfff2be95f0b1c2be1639e57c2c70b1cf3ef4afa58e95f0afa58e9639e7ce163858e963a7de15f4b1cf312012035a04ac34ad1cd31cd3b635a05a0322b47131991992c09a982989a960398c650398c3612b0cb08edcc730730cd34418c1d4660c1d4664c48097cce70e70ce74484c480480c360360c734364c730364b039a65841b265841b2561b0580d92b0d93831d4acea7063a19d0ea707cc99d4ea63948958e0c703831c39bcc723931c244c703832994cb05232994cb052ff2c14cca6c3f2b29160ea56742b3a19d0ea6753a159d0acea56752c1d4cea7533a9d0cea74fff2b5015a80ad41e5850f9a8541ffe5850959d4b074f2c1d4ce8752b3a99d0e8570633a9d0ace8583a959d7cce874f2b3a99d4ebe56ea6e8ea56ebe56e86e8e86e8e86eaea6eae9e587537474375752b7537575374742b742b74f375752c3a1babaf9baba95ba961d0dd1d0add4add7cb0e856e858752b742c3afff9ba3a1ba3a79baba9ba3a161d4add0e8280b1427434258a02ba02ba1f2c501d050796280b14058a03a1a12c50796284ae80e8687fcae83cb14058a0f2ba1fff2c5095d016287cae87fcb1405741e74343fe74143e5741e74141fe58a1ffff2c5095d0f96283cb143fe574258a1f2c28206c48311e6abd8c1e65f197c667f137c67e36a8226d65a82263f197c661f11fc667b99ee662899ee64d41099aaea089b5966ab98fc63f11a7c63f118fc4fffbd2c4f003f3f1a2e20f7375467ab55881ff5a685f198d3834e18d3ad6618d3ad6518d3a6ab99aae34e959aae66aba820634e1aac57aac58d57369cd56cca34e4b0d3856d386d3ad39fc2c34e1b07b07997cb07197c3071c91307997c17c160be0b05f2565f26a26a26585122c28915a89f95a896bfcd44d44cc90890cac90cc90c90cd294908b04865648456484648448656486582423242242324224333e33e233e33e32b3e32c1f119f11f1160f8cacf88cf8cf88cf88f8cacf8cb07c667c67c467c67c6583e3037c4f8c18f8a06f89f1031f101be27c6117c7063e2845f1418f8a06f89f101be37c4117c60744a890328960ca2411a240744a89046898328981d12a240744e8904689c0e89d1284689708d1308d1283289e0ca27c0e89d12c2344f8328984689032897f81be27c40c7c406f89f1845f1845f17063e308be3063e3037c6f8c18f8822f8818f8822f8818f8f063e3831f101be37c60c7c406f8df1611d3bff8474eefffff7fc23a77fff42af314d42032684ee3268340355666c332966d3328556332832830fb43e2c21f1a1f9081908a1f1a771a019341a01a7705d99348c898c80c819341341a1015b98a68a698a615b9ac515b190887d187d07d987d108190819479595b995b8a698a68a61595b15aecad746bb5d95aecd76ba2b5d9ae976585d1ae974579035d2e8d74bb35daecd74bb344220d112f344220b088344a20b088344220e5e89344a20d12893e2e22c311f1b11f1311b13195b196388f8b88d8d8cad8cd8d8cd8988e2624e2620e2624e2220b113e5710711127131271113e58893898838988388883888938989f2b88ff388882b89389882b89388882b8938889389882c449c4c415dd7962ebceeeecb17477776775747757658bb2bba2c5d1dddd15dd962efcb1745777e577458ba2c5d9ddddf9dd5d95dd95dd162e8eeae8b176577458bafff2bba2bbb3bbbb2c5d9dd5d795dd1dd5d1dd5df95dd162e8eeaebfcb17458ba2bba2bba3babb3baba2bbb2bbb3babb2c5d15dd962e8b17658baf2c5d15dd7962efffceeeebcc3e21f88ccb92b88d23a48e8c85e162ca10bc31838f4ed9a4ca17c9924617c987c67f119fc43f1187c63f11613e231f8cbe2309087042b259cc7050908cfe21f8cac7e230f883e332f88be230f8cbfffbd2c4e803f01956de0f73748691b259c1fedab8e231f887e32c07c6503e3987c63f1187c41f1987c41f1187c61f19587c7e7f17c657f19fc5f179fc7f115fc458f8bcafe22bf8bfcb1f11c852195c865890cb1211c872116242390a43390a42f390e432b90fcae42390e42f390a43390e42390a42f2c4865890ce43908b0dc961b836e1b836e5b92c370586e4db96e0adb936e5b92c37256dc1b72dc9b70dc161b836e5b836e5b82b6e0b0dc1b72dc161b92c372586e0db86e7cb0dc95b7056dc961b92c3726dcb70586e7cb121962422b90cae422b90cae43390e43390a432b90cb121f9c8521f9c87219c8521f95c86721487e572116243390a42f2c4865721ff95c8458908e4390bfcae43390a43390a432b90cb1211c872116242390a432c485e72148658908e4390c1890e0c48508a4284521c1890a0c484114840c484069092181a4348508a4383121422908189082290a0c4850624308af808af8ffe0c5f1fff8457c0457c5500002f317f4b633b769735a12c23ffd655317f7f1331bb28365417f312125f325e619317f98c331a17e317e31b3b294b62c18d19611611a5616199db0e698bf8bf9a5b8bf1a5b25b998d98d18bf0bf998da5b18bf18d98bf25b198d98d98bf18d1a5b18d958bf95a5b9afcbf9afcbf79617f2b5fcf1a5f8d7f5f8d7e5fcb0bf95afe6bfafe56bf1afebf1631b2b480b0901625f2c24269024072fa40690242690a42690a40690a406902406904bc58483cd2097cad202b483cd20484ad203481212b480d20484ad21f397920f2b487cb0909a429015a4256901a42901cbc901a429095b9be66c1b066c9b2566c19b0e6960d82b364cd9360dcd360cd8360b06c159b058364cd9363cb06cc237ec197ee11bf60cbf046fde11bf60cbf846401190846400c9081c86420c90046420721900464007219081c86400c9003243039048607219060720900464306484192106480237e832ff065fe11bf40efd7e08dfc0eff7f08dfc197f81dfefc0cbf81dfafc11bf40efd7f065fb065fc197fffffabfffff065f90403cc4102950c62707e0d6dd07e4c83d1044ce8107e0cc6a2954c6271898cc6a1044c41120f4c6541950c7f00c68c411189cc62620f4cc6b20f0d2ddfc4d9505f8cc68c68ad044c7e2950e0f47e4e0f20f0b0c4fffbd2c4ec813099a4d64f76b556e6315a95ff71bac56c4e56c4e63f23f25682068223f263f28226c4c3f2581f8341141131f91f92c0fc16189cc7e1040ac7e0ac7e4c7e07e0c7e07e7cb0821e563f0563f062422426240240624224256240581202b12131201212c090960480c480480ac484c484978c480484ac480c484978c484487cc480484b02425825ff2b1212bbff9dfefe77fbf95dfcb17e3bfdffcefd7f2c5ffcaefc77ebf1dfafe58909c824258907f9c86425720390c80ae4058901c86425720390480ae4057212b90f95c84e4321f2b90962427209095c80e41202b901c86427209016240720909c864257202b909c82405721390480b1212c480b17e2c5fcefd7f2bbf95dfceff7e2bbf162fe577eff2c5fbcefd7f2c5fcaeffe58bf95dfffcefd7e2c5f8b17e2bbf9c8243e589096241e5890962427209016240720901c864057202b9016243fe589096242721909c8642589095c83ce41212b9015c80e41212c7e3fcaff3fffffffffffe57f9ffffffff2c7e55f314d6f4319169c334141731d5320308946c341734134170ba33211d5332112f2c0b198f18711897990984413d984493d9a0b85d98c80c818c81349a995b1a98a69a98a6962b633ea1133ecfa2c1f467d9f458537cd4d534aeb62b534c894b8c894b8d2e4b8b0441a5c44f9b1b11b1311b13115b11b1f11b1b11b1f19b1711a2d41a2a279d42295a21a2a296110ea510ea510d1510d8d8cb0c4586336263363632c311b1319b13115b11618cd898bcae20ae27ffcae23fce2223ce2224b111e71311e577658baff2c5d95dd962ecb17458ba2c5d95ddf962e8aee8b17458bb363622b63362632b63362632b63362622b632b622c311b1b11b1b11f1b115b11b1b195b179b13196188b0c66c6c67131058892c44795c495c41c4c495c49c44496224ae23fce2623cb11258882b892b89ff2b88fff2c441c4441c4c416224e2624b112571057107131271311ffe5712571258883888938989f2b892b89ff38889389892c449c4c4f96119a39a1cdee361e4a6d3914c8ff336348ff31534d6c2b563cc6191d5cc4db0978ca5507e4d09920f0c8022ae4cd6c1534c2980a60cdef1ba0c3660d98c3671ba4de31e28aaf187e68f1a6f1af1a54a6d33663672b6e936e836734714712b8ff38fffbd2c4e483ecd556e20f776ec706aad981ff75f8ff47038ff4712c47f1594c194caa6194c94c994c14c194caa6194c94c15a08958fc18fc0fc1a080fc9b132089a08a081a088fc158fc98fc8fc98fc8fc98fc0fcf98fc8fc9607e4c7e07e4b03f0563f2581f934101f831f91f92b41031f841031f91f82c0fc1607e4c7e5044c7e47e4ac7e0ac7e0d0407e4c7e47e4d0447e7cd0447e0c7e07e0ac7e0c7e07e0c7e47e4b03f2563f263f23f063f03f0581f9ff2c3f2587e0adf82b7e7cdf97e0b0fc1bf0fc1bf0fc9bf2fc795bf056fc961f837e1f937e1f9f2c53258a64e99a67ce99a64ae992c53274c53258a64e99a64e99a60b14c1d314c95d3274c53074c53074cd32574c95d3274cd3258d9bcb1b3963672bd9fcaf662c6cc7b36ce7b3ece57b3ff9ecdb316367f2c6cc57b3795ecc58d98b1b315ece57b315ecc57b395ecc58d9cb1b3963672c6cc58d98b1b31ecfb3ff95ece58d98af66ff3d9f663d9b662c6ce58d9bcb1b395ecc58d9caf66f2bd995f31a74d5738745265324902f836f8cfe233f8d3e33674ca43367494a23248c2f930be02f831f893e334f8c7e232488c392a0c1c661c124657ee67484a267485ee46a25ee47ee4a2457484748548656fc667c6fc456fc4587e23512a422c5211a89d211a892899a89a8919f1bf1943e2f99f19f1160f88acf88df8df8fcb07c66fc47c7e583e22c1f1f9a52121192125219219219a5225299219211921a52f9a521219a521211a52121997c97c960be4cbe5838cbe0be4acbe4acbe0cbe4be4acbe0cbe4be0b05f265f05f3e577c1df17c1df37c15df1e77cdf058be7cef9be4ef9be4ef9be4b17c962f92c5f2577c95df058be4ef8be4b17c1df17c79df37c962f83be6f83be2f82bbe4b17c795df0577c962f8f2c7c47f17c7e58f8bcb1f115fc7e58f8bcafe22c7c47f1fc7fe7f1fc657f1f963e33f8be33f8fe22bf8cafe32bf8ffcfe2f88afe22bf8bcfe3f88fe3f8cfe2f88afe32bf8bcb1f1163e32bf88b1f17963e2fff3f8fe32bf8cb1f11fc7f1963e3ff2c7c5e7f17c5fffffe7f1fc7fe7f17c657f1f963e3ff2bf8cb1f179a08f40992f5881a6d30c9b137401a08a089545f8b131a56ca8731afe2696ecaa73182fe68234aa63f10787078c4e74a83f0563f063f0c4e70798d674a8820fffbd2c4e783f1f556c80ffbadc667b3da41ee572078d43f06822820682082056c4fe682082063f23f0584112c0fc158fcf98bf0bf18bf8bf198d8bf960c68acc6cac5fffcd0447e4c7e07e3fcc7e5044b03f27f8fc163f057f93fc7e7cb1f92bfcff9fe3f27f9fc9fe7f257f82c7e4b1f83fc7e0aff3ffe58fc1fe3f2577f2c5f8eff7f2c5f8efd7e3bf5f8eff7f3bfdffcb17f2c5fceff7f3bf5fbcff1f82bfc1fe7f258fc1fe3f058fc9fe7f07f8fc79fe3f3e7f8fc15fe0b1f92c7e3ffcb17f3bf5fcefd7e3bfdfceff7eff3bfdfceff7ef2c5f8efd7f3bf5f8aefc58bf162fc77ebf95dfcaefc58bf60cfc047f207f8fc833f1067e211fcc0ff3f9c23f9067e611fc033f011fcc19f808fe60cfc033f108fe419f9c0ff1f9847f007f8fc847f011fcc19f803fcfe419f8c0ff3f9c19f8067e60cfc047f303fcfe703fc7e607f8fc423f808fe3847f00cfc033f211fc047f007f9fc847f381fe3f3833f00cfc833f3c23f9833f103fcfe40ff1f85f34b617e36544b7317e7f1378c69630d95a03b2898d331b7f02b39c325e619325e121375712131cd3b732c20d931cc697315c0a02c16b990d8ae198da5b98bf25b998db2a18bf18d9a43ce9a432f9a40901a412f9f39ce9f3b2f9f392f1a42901612034839d2c24269024072fcbc690242690a406d96c9b65b26d86c95b60db0d836c360db2d92c360f98d82be695b60b1cd36cb63cb0d936cb64b0d82b6c1a814056a1350283cebaa12b5015d73cad426a0509a814275cae1624057212c483fcb1212c483cb121fff2c483cd42a0350a80d415d350a80d42a0350570b0a0f3ae574ad4258509a85426a15015a84d42a0350574b0a02c364db2d836c364db0d936c360db0d82b6c1b61b06d96c961b3e6d96c1b65b06d86cf95b64db0d836c360b0d836cb64adb258e6961b1e586c95b64db2d92b6c15b64adb26d86c961b26d96c95b64b0d92b6c961b06d86c795b60b0d92b6c961b2586c9b65b1e589016241e5720390480b1202c484e4120390c83cb120390c84b120390c80e43212c480b1202c484e43212b909c864057212c484b1212c483ce4321000fe62a690046401957256d7c1a044401990048111a046401158532620814aa56208987383ab184bc3ab986343f81931a32a9863432a98c4e41e9907fffbd2c4ea03b2f156da0f7790863b335a4dff5618a2081882220898a9a14c9900655c985328111853214cf9c014019aa694c994c94c194c14c994c14c1aa62a6194c94c960a64c7e47e4ac7e3fcd0447e4b08225825e325e121312025f2b121325f25f2c090960978c4844860cfc847f211fc01fe3f011fc81fe7f20cfc01fe7f00cfc047f20cfc01fe7f00cfc833f20cfc847f103fc7e60cfc047f207219001c86420721900324108c800e432108c84192006480232103904840e4121833f011fc01fe7f103fc7e3e0cfc033f007f9fc047f011fc01fe7f007f8fc419f908fe308fe211fc047f00cfc847f207f9fc847f20cfcc0ff3f8067e7067e023f808fe40ff1f9067e211fc033f011fc833f3833f303fcfe3067e00ff3f908fe019f9833f20cfcc23f903fc7e019f808fe023f8e07f8fc40ff3f8833f1067e423f9847f207f8fcc19f9847f207f8fc033f211fc847f00cfc033f1a99d67fa933ccc957f313fea3d51f6a55f31a7069c3183d26534990c3934f8d3e236f88fe235f8a7e232f88fe331ce038c31588cb934a59673bc724235635633739738338f90f34a470437054a5324324237e3be32b7e333e2be337e27e32b3e333e23e333e33e233e37e22c2899a895211a89d21f0b0a2456484648648456484648694a648648456484582422c1211921a52159211592199219211592119211211fc5f17f95fc457f195fc5fe7f1fc658f88ef9be0b17c1df37c1df37c1df17c9df17c15df2577c15df277cdf277c5f277cdf3e577c962f93be2f9fff2bbe4ef9be4aef93be2f8ff2bbe0db96e0adb836e5b836e38e36e78d36e1b82b6e4db96e3cdb86e4f8f6e4db96e4db96e4db96e0adb836e1b92b6e0e4390cb12115c84721c84572179c87211c852195c84721486721c86721486572195c865890cb12179c87219c87219c872115c8477c5f0577c15df2577c95df077cdf0577c95df258be7cef8be4ef8be7ffcaef83be2f9f3be6f82bbe4b17c962f82c5f1e577c15c867214845890bfce4290fce43908e4390ce4390cb1219c85219c85219c872116242390a43390a42f2b90bfcb121ff95c87e721487e62898a2462891ee462890a26541f88c3e27f88c5121444f3c2144ccf4f0be4c2f93d3ccf72674cc5133dccd57a4990b061c985f217c9ff1fffbd2c4ee03f47d56cc0ffba9c6beb5d901ff59b0bf19df11f11bf1df19c9117c94922997c97c1c91b07645144c74874847ee6a25c3a4251335125133a4251335135132c5f19bf1bf19bf11f199f11f11bf19f199f19f195b07997c17c997c97c9b07307960be0cbe0be0cbe4be0b05f3e67c47c467c47c6567c667c47c4583e22b3e32b3e22b3e333e33e28457cc22be40d7caf98457c01af85f211c1e115f0b062f903c1ebe018be418be00d7c2f8062f9035f2be018be40d7c2f908af908af8062f9062f881af85f0115f006be57c8317c01af85f2115f2115f20783d7c0317c0457c0317c8457cc198380d7caf9035f0be606be17c40df13e3063e2037c6f8f08be2c0df13e3037c6f8a0c7c406f89f1031f16117c5037c4f8818f8c0e89d12c2344819448194482344a11a260ca2411a260744a894234482344e11a240744a89f06512c1944e117c606f8df1845f1845f140df13e3063e2f063e308be3063e3037c4f8f063e2063e3063e2063e308be2831f1031f142344aaf83289ff06512846897fffff08d130651354c414d45332e313030555555f2c113a6ce9be046f81a9467a1d687668aaa2a87e79a2a86d07341e6491924469329244513e39afc65f199484f8199ee6a5118a262899a94428999ee628918a262891be062891a94452118a2452199486a51191388aa1913844e9a2aa44e9913844e9a2aa44e1a2a844e9913a44e9511542b2270a1f14aef8cacf88a1f17cb0fc4585122b5123a43a43f2b513f35125132c28981d13a240744a8904e8981d12a25c0e89d1308d1203a2744c2344c1944819448194480e89d1275c2344b03a2744c0e89d1208d120651284689e0ca2703a2544c1944a0744e89c1944c1944e11a240ca2411a260ca260744e894194482344a0ca2708d120651208d1206513df03a2544e0ca260ca2613a2508d1203a2544982344fc23449ffc19a770669ce11d3b08e9c08e9c08e9c8474ef68334e230669cf8334ee11d3bedfe0cd39ff84b4e0474e3c19a737fc19a774fb7ffd1a8ac5ca3172d7853ebdc5cb2b5e0cd19b4668a2f083bc90bb3285d90ca6d29b0d1730d98e3545e10d7855e08c47023f8db3711c4a11fc32ec8bb23466cbb234668bb23172978328bc20ad7853466d19d32eccbb334674bb22c233450bb2fffbd2c4d583e9c98ec40ffad44632b35881ff5a9879a3345d915a336562e5128b9671fc8e068e28e068e08e068e31fc568e271fe8e25836733666e82c1b3959b3159b3159b39b749b3160d9cacd9ccd9cd9fcb06cc566cc566cc66cc6cffe566ce566cc566cc66ce6ce5836633666e93366367336736636e83662b36636e86e82c1b3960d98231c4231c4231c0191c4191c4231c0191c4191c0231c58191c20c8e2118e20c8e00c8e1038e11c0231c4231c4231c40e38471c191c6071c638846388463840e38c70038e31c00e38c70038e11c0231c40e3847108c71c0e3847181c718e00c8e2e0c8e2118e00c8e18323881c708e0118e211b940cb97f03b9572c2372af065ca81dcab97f832e5f03b9572c0ee5dca08dca03b9772c2372f81dcbb9411b940cb97fc1972e11b940cb94e11b940cb95ededde0cb956846e5fff09dcae12b960000001fcc2994b64d58f35b0cd6f1530d2d835b0d0220a60c31b2ca4c17e05f8c4b605fcb00bf18c303ab18eac30c98822208960c6b31040a55319544b630c6831b3195031b3200c29831534ab830a648022a0532581534c2990a60ac54c2c0532562a69602982c0a98614c05305640116031b305fc4b72b0c68b018d16031b305fc17ff2b7e3cadf92c3f0587e0df87e4df87e4f1b5fcb0bf1afcbf79617eff2c2fe6bfafc56bf95a42690a4072fa4272fa40690242690a42690242690240572f9a40901a409015a42690a40690a40690cbe690a4269024256901a40901a40909a42909a412f1a41ce9a42909a4090961202c5f8aefc77ebff9dfafde577ff3bf5f8efd7e2c5fbcefd7f2c5f8b17ef2bbf15df8efd7f3bf5fbcb17e2c5f8eff7f3bfdfcaefe77fbf162fc77fbf1dfefc58bf795dfcaefe77ebf1dfafe77fbf9dfefc58fc1fe7f057f93fcfe4b1f82c7e4aff1fe58fc95fe0aff258fcf9fe3f258fcff95fe0aff1e58fc95fe0b1f92bfc1fe3f257f83fc7e0ff1f8f2bfc9fe7f3e58fc9fe7f257f82c7e3cff3f92c7e4b1f83fcfe7cb1f8f2c7e0ff3f82bfc9fe7f257f9ffffcbf79dde6bf76bb87ef58ffffef3cf9bfdd65909587c663f127c65455e4d2641838c9224994c9221830c66c0ca4c0fa0ca4cae20e34c5632438cbc71290cbc638a4ad2642c05f0617c8c1c787124465f2c1fe7485485d3f72fffbd2c4ff83b74592d26ff796ce783199c1ff75a8a433f73512314c4212c15b9a1095b195b15b960be4cbe0be4cbe5838d838be4d838be0c6e4e30ce386e4d58ce38b071e563706370372582422c252960908c90d297cac90cc908908ac90cadb936e1b936e38c36e1b82c37056dc1b71c61b72dc9b70dc9b70dc162f9f2bbe4ef9be7caef92c5f3e577c15df058be0aef8390a422b908ae422b90cb12196242f2c4845890fce43908e4390ce4290ce43908db86e0db96e4db86e4b0dc9b72dc161b936e5b836e5b936e5b936e1b92c370586e0b0dc1b72dc95b7256dc1b70dc1b72dc9b72dc1b70dc95b7056dc9b70dcff9b72dcf9b70dc9b72dc15b70586e0b0dc1b70dc95b726dcb71e586e4b0dc7fffffffff95fc658f8fffffffcafe2ffffff390a43390e42f2b90ce43908b12195c86721c86721c85e5721796243f2c4845890cae422b908e4390ce4290cae422b908e4390cb1217fffff962f92c5f3fffffffffe58be7ffffffffcb17cd5f2c0a266f813e066289b3a462529c5265e39c50512651a4ca61c96096631294bc632f1cbc731294bc630e30ae532b8c90f3158c38f32438ae33158c1b82b0e34a8491985f04929924630798c1e3079978c71498948121184847141589486289948665210a2462898a26581448aca432c0a2462890a2456289958a27e58144cb1f17ff963e23f8fe3f2c7c5e6dc3726dcb726dc370586e4db86e4db96e4b1c79b70dc9b72dc1b72dc1b72dc9b70dc1b72dc9b72dcf9b72dcf9b72dc95b70586e0db96e0b121162432b908b12115c865890cae43fff2c486572195c85e6dcb706dcb706dcb726dc37256dc15b7256dc9b70dc161b92c372586e4adb8ff36e1b936e5b8ff390a422b908ae422b908ae432b908e4390ce42908e4290ffcb1211c8521962422c484721486721c86572196242ff2bbe3cb17c15df058be4aef82bbe4b17c95df258be0b17c9df17c79df37c95df277cdf258be3fcef8be3caef82bbe7ce4390ce42908ae42390e43ff2c48457211c8721962432c485e721c845890bce43908e42908ae43f2b90cae422b908ae43f390e432b90cb121e11a244c8532310ce157e3496d8d93103fcc48c61f831931cad5270ae8192a1276cb51950b27064a9958b034403a095cd245b3b7114c8a46353c2ce1fffbd2c4ea83f37d5cce0ff6d7c60934de41cd6691444353298d52a832342b64c8a324908d5644353aa8444a1cf46b3f9a6506a968b563fea8af41bb1a648798f1e63c898c266f07155e133b3428486c913c33670cf9a295866cf19e39485681a081a081a1e129c677e57e1a07cacd338ad120ecd23499f1de8cc44d0f8ce46e19e819c990a0fe52909c5101a089f871a3e54287b64d19551340e34117fed19e91222672049f133f1b24748b928d4a8f709b9371d2478a3a26e891e375d22fc75f375b28f33ce909bd76cecbc9301f81dc82ceab0a9713b93676594f58edb49da3bef3c2f3bb03b6b1cbdf772e8cf0b4730257481e26ecdc70de789b62ab46d344ae916a6e3981b8f916a586c6b29d8d916c6f3a6eb84df9bed5b98379ee61f52c72bd3d3dc87e821ca177e00791c393b87227f2cd69c7ddc7a067703cc3b0ee47dafcbe61fbad63ee01800661f807c0111c7079e00600181e7819600647aa47e30c10cc641634bbb8df69a30a24cd04093289c8cae19347bb8e0aea368b28d8ea232684cca8573291ccd40a33350ecc624a30995cd890738837cd083103010c969c366b18d326230e03d1b0c1a1c317908ca25031f8502c0b2c898684248150e4120d48b4e061269366e3a6e4269a868803069b4e9c149d4e930374461238afa008c638402091a80889ac8840afd213404097154d5215a622b3ded69d6804b9a641a640282a5500d598d64c98100a470c870a802590fcd274de84d350cb014ba7df57e00281aa52ce5e2c55733dceccb1da81986f825237da3552354c4d752de4b60161a862611a68063251aa618a71c381bcaa78ad160060880a19d761ac460168cb38280a22ba4826407294a76971400b370db81204d8111b8f344f102a8e2e36a8dae0369545055d5692f2ca619932e67782e235a17eb5aa3a58661da90d3b4ca588b5d4e50214d093204b8ac74401342cd035225f635d0f3639a0ba51c4e648a6f9554c0b385ced7393cb8cf34a6970a6b5ba5a6ed5a5a5d534bad56954bad5594cb6f5694cb795a354dda58cd3674b19b3a954bad56954bad5594cb7095592028b51774bdc5f541a2a0287884f4281658d330cc64c37028f90c0237c00d19e686807c2e76e46b7a60fc415882830e5341837c7077c6a1e61ac1664858156418b18fffbd2c4f28234520cec0e67178619bf8c199c3fa82898c416f157c0b2aa1a08eb2a42498c798ab00190bb440d8a34055cca2823337443517315c0a3e43008df023463a6680c44a04145d541a56555050f50c51751550e50d5165655505575344d90148c4b04b844f2580cbc28c30941d0128808c0c28a9890e38611942802e5abb7325d56e5d9a765618b8414088443052520e8c4002e3913005532a0c5b0af083a29c02e4d0e01ac3546c3805c20892c065e166015260121a3178ad6bb7265da54a5c10a804031921214708210972048e1862c885c42852520e8c4422dda0115e3427f6028360882dea6429528dc91a8ec94a92891e98050305180050a985124a81d488085970e60634c20061c54c4871c3084a5a82dfa5123ea732c0a8f2db5805575e0d11b0ae972bcbb522ad2a5c49513d288a9280bb96c32d04749fc894c24d10a7523635c282d52c08ee9955ca55d2fae14ec0c70e94c414d45332e3130305555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555";var sd=Object.defineProperty,ad=Object.getOwnPropertyDescriptor,ge=(t,e,o,r)=>{for(var s=r>1?void 0:r?ad(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&sd(e,o,s),s};const Q=Qo.noConflict();Q.setLevel("info");const Me="cb_";class fe extends Ho{constructor(){super(...arguments),this.actionIdCounter=0,this.wsClient=null,this.replyMessage=null,this.streamingResponseInProgress=!1,this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}setSetting(e){Q.info("appState: Startup: setSetting",e),this.setting=e,this.initBot().catch(o=>{Q.info(`Exception during bot initialization: ${o.message}`)})}setLanguage(e){this.language=e}setTheme(e){this.theme=e}async initBot(){if(!this.botSettingsInitialized){const o=`${this.setting.url.startsWith("localhost")?"http":"https"}://${this.setting.url}/api/bot/settings/${this.setting.orgId}/${this.setting.botId}`;Q.info(`Getting bot settings at ${o} ...`);let r=null,s=null;try{r=await fetch(o,{headers:{"Access-Control-Allow-Origin":"null","X-Enegel-Signature":this.setting.botId}}),!r.ok||r.status!==200?Q.error(`Failed to get bot ${this.setting.botId} settings: ${r.status} ${r.statusText}`):s=await r.json()}catch(a){Q.error(`Failed to get bot ${this.setting.botId} settings: ${a.message}`),s=null}if(this.botSettingsInitialized=!0,this.botSettings=s,!s){Q.error("No bot settings available - bot disabled"),this.disabled=!0;return}Q.info("Got bot settings - bot is enabled",s),this.disabled=!1,this.setting.welcomeMessage=(s==null?void 0:s.welcomeMessage)||"How can I help ?",this.setting.engageMessage=(s==null?void 0:s.engageMessage)||"How can I help ?",this.setting.engageTimeout=(s==null?void 0:s.engageTimeout)||5,this.setting.splitMessagesAtBreak="splitMessagesAtBreak"in s?s.splitMessagesAtBreak:!1,this.initConversation(),setTimeout(()=>{this.showEngagePopup()},this.setting.engageTimeout*1e3)}this.connectWs==="true"&&(Q.info("appState: connectWs is true"),this.getWsClient().catch(e=>{Q.error(`Exception during ws client startup: ${e.message}`)}))}initConversation(){if(Date.now()-this.lastConversationUpdate>24*60*60*1e3){this.clearConversation();return}this.initStartupForm()}clearConversation(){this.wsClient&&(this.wsClient.stop().then(()=>{}),this.wsClient=null),this.conversationId=vs(),this.lastConversationUpdate=Date.now(),this.connectWs="false",this.messages=[],this.actions=[],this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}}),this.initStartupForm()}initStartupForm(){const e=ys(null,["startupForm"],this.botSettings),o=ys(null,["startupForm","name"],this.botSettings);if(!e||!o){Q.info("Startup form not present");return}const r=ys(null,["startupForm","fields"],this.botSettings);if(!Array.isArray(r)||r.length<=0){Q.info("Startup form has no fields");return}const s=`${Me}${this.setting.botId}.${this.conversationId}.form.${o}`,a=localStorage.getItem(s);if(a){let n=null;try{n=JSON.parse(a)}catch(i){Q.error(`Failed to parse stored form data: ${i.message}`),n=null}if(n){this.sendFormData(o,n).catch(i=>{Q.error(`Error when submitting form: ${i.message}`)});return}}this.form=e}showEngagePopup(){if(this.open)return;Q.info("Engaging User !"),this.engage=!0;const e=a=>{const n=new Uint8Array(a.length/2);for(let i=0;i<n.length;i++)n[i]=parseInt(a.substr(i*2,2),16);return n};let o=new Blob([e(rd)],{type:"application/octet-stream"});const r=URL.createObjectURL(o);new Audio(r).play()}async getWsClient(){if(this.wsClient)return this.wsClient;const o=`${this.setting.url.startsWith("localhost")?"ws":"wss"}://${this.setting.url}/api/bot/connect/${this.setting.orgId}/${this.setting.botId}/${this.conversationId}`;return Q.info(`Initiating ws connection to ${o} ...`),this.wsClient=new Ul({url:o,orgId:this.setting.orgId,botId:this.setting.botId,convId:this.conversationId}),await this.wsClient.start(),this.wsClient.onMessage=r=>{this.handleWscMessage(r)},this.wsClient}handleWscMessage(e){switch(this.lastConversationUpdate=Date.now(),e==null?void 0:e.type){case"message":{if(this.replyMessage)this.streamingResponseInProgress?(this.finishStreamingResponse(e.text),this.streamingResponseInProgress=!1):(this.replyMessage.data.text=e.text,this.updateMessage(this.replyMessage,"")),this.replyMessage=null;else{const o={type:"text",author:"assistant",data:{text:e.text}};"userName"in e&&(o.data.userName=e.userName,this.connectWs="true"),"userAvatar"in e&&(o.data.userAvatar=e.userAvatar,this.connectWs="true");const r=this.formatMessage(o);this.messages=this.messages.concat([r])}break}case"message-chunk":{this.processStreamingResponse(e.text);break}case"typing":{this.replyMessage={author:"assistant",type:"text",isThinking:!0,data:{text:""}},this.addMessage(this.replyMessage);break}case"actions":{this.addActions((e==null?void 0:e.actions)||[]);break}}}processStreamingResponse(e){this.streamingResponseInProgress=!0;let o=e;if(this.replyMessage){if(e.indexOf("<")!==-1){this.streamingResponseBuffer=e,this.streamingResponseTagStartPos=e.indexOf("<");return}if(this.streamingResponseBuffer){if(this.streamingResponseBuffer+=e,this.streamingResponseBuffer.length<this.streamingResponseTagStartPos+4)return;const r=this.streamingResponseBuffer.indexOf("<br>");if(r!==-1){if(this.setting.splitMessagesAtBreak){const s=this.streamingResponseBuffer.substring(0,r).trim(),a=this.streamingResponseBuffer.substring(r+4).trim();Q.info(`BREAK: Splitting the message: ${this.streamingResponseBuffer} >>> prev: ${s} next: ${a}`),this.replyMessage=this.updateMessage(this.replyMessage,s),this.replyMessage={author:"assistant",type:"text",isThinking:!1,data:{text:""}},this.addMessage(this.replyMessage),o=a}else o=this.streamingResponseBuffer;this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}}this.replyMessage=this.updateMessage(this.replyMessage,o)}}finishStreamingResponse(e){if(!this.replyMessage||!this.streamingResponseInProgress)return;this.streamingResponseInProgress=!1;const o=e.lastIndexOf("<br>");if(!this.setting.splitMessagesAtBreak||o===-1){this.replyMessage.data.text=e,this.updateMessage(this.replyMessage,"");return}const r=e.substring(o+4);this.replyMessage.data.text=r,this.updateMessage(this.replyMessage,"")}addActions(e){if(Array.isArray(e)&&e.length>0){const o=e.map(r=>Object.assign(r,{internalId:this.actionIdCounter++}));this.actions=this.actions.concat(o)}}removeAction(e){const o=this.actions.findIndex(r=>r.internalId===e);if(o!==-1){this.actions.splice(o,1);const r=[];this.actions=r.concat(this.actions)}}async sendMessage(e){e=this.formatMessage(e),Q.info("Send Message:",e),this.messages=this.messages.concat([e]),this.lastConversationUpdate=Date.now();const o=await this.getWsClient();if(!o){Q.error("Error - failed to obtain ws client"),this.replyMessage=null;return}o.sendMessage({type:"message",id:e.id,text:e.data.text})}formatMessage(e){var o;return e.id||(e.id=vs()),e.timestamp=Date.now(),e.author==="assistant"&&(e.replyId=(o=this.messages[this.messages.length-1])==null?void 0:o.id),e}addMessage(e){e=this.formatMessage(e),this.messages=this.messages.concat([e])}addSystemMessage(e){this.addMessage({type:"text",author:"system",data:{text:e}})}updateMessage(e,o){const r=this.formatMessage(e);return r.isThinking=!1,o&&(r.data.text+=o),this.messages=this.messages.map(s=>s.id===r.id?r:s),r}removeMessage(e){this.messages=this.messages.filter(o=>o.id!==e)}clearMessages(){this.messages=[]}async submitForm(e){if(!this.form){Q.info("submitForm: No form is active - ignored");return}const o=`${Me}${this.setting.botId}.${this.conversationId}.form.${this.form.name}`;await this.sendFormData(this.form.name,e),localStorage.setItem(o,JSON.stringify(e)),this.form=null}async sendFormData(e,o){const r=await this.getWsClient();if(!r){Q.error("Error - failed to obtain ws client");return}r.sendMessage({type:"form",name:e,data:o})}}ge([ot({prefix:Me}),be({value:"en"})],fe.prototype,"language",2),ge([ot({prefix:Me}),be({value:"light"})],fe.prototype,"theme",2),ge([ot({prefix:Me}),be({type:Boolean,value:!1})],fe.prototype,"open",2),ge([ot({prefix:Me}),be({value:"false"})],fe.prototype,"connectWs",2),ge([ot({prefix:Me}),be({value:vs()})],fe.prototype,"conversationId",2),ge([ot({prefix:Me}),be({value:0})],fe.prototype,"lastConversationUpdate",2),ge([ot({prefix:Me}),be({type:Array,value:[]})],fe.prototype,"messages",2),ge([be({type:Array,value:[]})],fe.prototype,"actions",2),ge([be({type:Object,value:null})],fe.prototype,"form",2),ge([be({type:Boolean,value:!1})],fe.prototype,"botSettingsInitialized",2),ge([be({type:Object,value:null})],fe.prototype,"botSettings",2),ge([be({type:Boolean,value:!0})],fe.prototype,"disabled",2),ge([be({type:Boolean,value:!1})],fe.prototype,"engage",2),ge([ot({prefix:Me}),be({type:Object,value:{orgId:null,botId:null,url:null,welcomeMessage:null,splitMessagesAtBreak:!1}})],fe.prototype,"setting",2);const I=new fe,nd=T`
236
- ${Ie}
223
+ `;var dc=Object.defineProperty,fc=Object.getOwnPropertyDescriptor,Pr=(t,e,o,r)=>{for(var s=r>1?void 0:r?fc(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&dc(e,o,s),s};let ro=class extends Ye{constructor(){super(...arguments),this.color="primary",this.svg=""}render(){return _`<span class="cb-icon" part="base">${rt(this.svg)}</span>`}};ro.styles=va,Pr([u({type:String})],ro.prototype,"color",2),Pr([u({type:String})],ro.prototype,"svg",2),ro=Pr([oe("cb-icon")],ro);let uc=t=>crypto.getRandomValues(new Uint8Array(t)),hc=(t,e,o)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,s=-~(1.6*r*e/t.length);return(a=e)=>{let n="";for(;;){let i=o(s),c=s;for(;c--;)if(n+=t[i[c]&r]||"",n.length===a)return n}}};const pc=((t,e=21)=>hc(t,e,uc))("1234567890abcdefghijklmnopqrstuvwxyz",10);function Ir(t=10){return pc(t)}function bc(t){return new Promise((e,o)=>{try{navigator.clipboard.writeText(t).then(()=>{e(t)})}catch(r){o(r)}})}function gc(t=!0){return new Promise(e=>{const o=document.createElement("input");o.type="file",t&&(o.multiple=!0),o.style.display="none",o.addEventListener("change",()=>{const r=Array.prototype.slice.call(o.files);e(r)}),o.click()})}const ie=Lo.noConflict();ie.setLevel("info");class mc{constructor(e={}){this.id=0,this.url=(e==null?void 0:e.url)||null,this.orgId=(e==null?void 0:e.orgId)||null,this.botId=(e==null?void 0:e.botId)||null,this.convId=(e==null?void 0:e.convId)||null,this._options=e||{},this._ws=null,this.started=!1,this.connected=!1,this.onMessage=(e==null?void 0:e.onMessage)||null,this.queue=[],this.pause=o=>new Promise(r=>setTimeout(r,o)),ie.info(`WSC: Created, url: ${this.url}`)}connect(e={}){if(this.url=(e==null?void 0:e.url)||this.url,this.connected=!1,!this.url)return ie.error("WSC: URL must be provided to connect"),null;const o=this.url;ie.info(`WSC: Connecting to ${o} ...`),this._ws=new WebSocket(o);let r=setTimeout(()=>{ie.error("WSC: connected message not received in time - terminating"),this._ws.close(),this._ws=null,this.connected=!1},15e3);this._ws.onopen=()=>{ie.info(`WSC: Connection to ${o} opened`)},this._ws.onmessage=s=>{let a=(s==null?void 0:s.data)||null;if(!a)return;let n=null;try{n=JSON.parse(a)}catch{ie.error(`Failed to parse message: ${a}`);return}(n==null?void 0:n.type)==="connected"&&(ie.info(`WS[${this.id}] Connected`),clearTimeout(r),this.connected=!0,this.sendQueuedMessages()),this.handleWscMessage(n)},this._ws.onerror=s=>{ie.error("WSC: Socket error"),clearTimeout(r),this.connected=!1,this._ws=null},this._ws.onclose=s=>{ie.info(`WSC: Closed - code:${s.code}, reason:"${s.reason}"`),this.connected=!1,this._ws=null,this.reconnect()}}reconnect(){this.started&&setTimeout(()=>{this.connect()},1e3)}disconnect(){if(!this._ws){ie.info("WSC: already disconnected");return}ie.info("WSC: disconnect"),this._ws.close()}async start(){this.started=!0,this.connect()}async stop(){this.started=!1,this.disconnect()}async startOld(){let e=1,o=!0;for(;o;){if(ie.info(`WSC: start: connecting, attempt ${e}`),await this.connect(),this.connected)return ie.info("WSC: connected"),!0;e++,o=e<=4,o&&await this.pause(1e3)}return ie.error(`WSC: start: failed to connect after ${e} attempts, exiting`),!1}handleWscMessage(e){this.onMessage&&typeof this.onMessage=="function"&&this.onMessage(e)}sendMessage(e){if(!this.connected){this.queue.push(JSON.stringify(e));return}this._ws.send(JSON.stringify(e))}sendQueuedMessages(){if(Array.isArray(this.queue)&&this.queue.length>0)for(let e=0;e<this.queue.length;e++)ie.info("Sending queued message",this.queue[e]),this._ws.send(this.queue[e]);this.queue=[]}}function Z(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function vt(t){return function e(o){return arguments.length===0||Z(o)?e:t.apply(this,arguments)}}function Fe(t){return function e(o,r){switch(arguments.length){case 0:return e;case 1:return Z(o)?e:vt(function(s){return t(o,s)});default:return Z(o)&&Z(r)?e:Z(o)?vt(function(s){return t(s,r)}):Z(r)?vt(function(s){return t(o,s)}):t(o,r)}}}function vc(t){return function e(o,r,s){switch(arguments.length){case 0:return e;case 1:return Z(o)?e:Fe(function(a,n){return t(o,a,n)});case 2:return Z(o)&&Z(r)?e:Z(o)?Fe(function(a,n){return t(a,r,n)}):Z(r)?Fe(function(a,n){return t(o,a,n)}):vt(function(a){return t(o,r,a)});default:return Z(o)&&Z(r)&&Z(s)?e:Z(o)&&Z(r)?Fe(function(a,n){return t(a,n,s)}):Z(o)&&Z(s)?Fe(function(a,n){return t(a,r,n)}):Z(r)&&Z(s)?Fe(function(a,n){return t(o,a,n)}):Z(o)?vt(function(a){return t(a,r,s)}):Z(r)?vt(function(a){return t(o,a,s)}):Z(s)?vt(function(a){return t(o,r,a)}):t(o,r,s)}}}const yc=Number.isInteger||function(e){return e<<0===e};function wc(t){return Object.prototype.toString.call(t)==="[object String]"}var _c=Fe(function(e,o){var r=e<0?o.length+e:e;return wc(o)?o.charAt(r):o[r]});const xc=_c;var kc=Fe(function(e,o){return o==null||o!==o?e:o});const Cc=kc;var Ac=Fe(function(e,o){return e.map(function(r){for(var s=o,a=0,n;a<r.length;){if(s==null)return;n=r[a],s=yc(n)?xc(n,s):s[n],a+=1}return s})});const $c=Ac;var Ec=Fe(function(e,o){return $c([e],o)[0]});const Sc=Ec;var Dc=vc(function(e,o,r){return Cc(e,Sc(o,r))});const Mr=Dc,qc="fffbd0c40003a861a6f64deb05ce8fbd1dc1ee6979000bf3230f3195138b950cbe3649439256307747d31c26065d09cfae70d799f0a043c6a90008c0101188082314680d008619c9079b61dc806a921a220095277a60d4131e44143d53814e10f4d06ba6491eb478900a8d59016632a23e0fa358875c770146cc650c1c499dcb9b0965d7500106c321427219428febbdafb2b5d76979a75ae40018d025f96f71bad4b0257666051808e5b74c34bf2db9660bb0e24b2a35886616f617013a24104242304600910b1130dc7b4e81750bb1216e880432ac0d75b0a2a1834f45e8e9a279a9c6c22cc9a7e3ac01cc5335e8c0d97180c960bad7998ce9ac025a2f1a0c888e02c46508045a96a20a60c91980100828a917425f96ddc64bc2ea19146c50b00bde68319005d85d10e462314ae197f0b48c74bfe986ced9dac3a9bbfad7e8f7ac2a525253c6e36cad4dd7c20e2ec4842dba61cbf30f0f7d628635005a66e63ec63560f22a48c694034a695617e603c12c05077310c0923018053379a48d1e921e409b28546c46619d8fa6c9b019ea20762d318e34c6291699d98662a61861204fda2a7933d57c1d023391f8605262a1598449c1ca332e084cb25a3198ac94666361b99f05c67c1aba0151b18d456ec8e0b4c667924153ba632409114cc587c7867ca8c047dcd7a834bc8d2a033a141df48ab82a803bd1a8651a215e356c6161b062114cb841dd89589b05f0d10ad255c4d70d8ad245e4abcd6b33fca8d6af5cc3db8d9244511ab2206a56c885690ad12cc1ba16308528d539daa40b22baf35eb61a7044a988132e926b754d82ea8ca85199ad5c42c0d62d35eb8d7301d56ef5b26c451748198c2a22c319b24ab67a246b186c8af0d54354c0957c342d9a2a4d7b3245e585c4d7254e107501450bb46abbfa38b2331996d9bae08953352c48af43d5c7b08b6572a44e0b11775fd8cbb2b0b0343230c6c5add2ca5ac8d549765977ff78e59659ca49adde749c6789409753bcff43d1a8d46a532da5a5a5a5a5a5a5a6a6a6a6a6a6a6a6a6ab671c71c71c6ae4141414140a0a0a0a0c2b06e0b039c1829859998b165991a5d2aa598e0a714183727471921e5721a1037a9c2fb7a1b9c0dc99c6ab19b821219de39219b82a521908908987d2ab1aab194159219cb31211fffbd2c42383f4bda0d20ffba7c624b3dd01eee938b82f149f14b82951c14d290908c90d294c90a598b0948572ce584a434a54a52b4a42c3829592199219219a52921160908d295294b1c79b70dc9b72dc9b70dc15b71e6dc37058e3cdb8e34db9e3cadb82c37056dc95f1e7c6f1e58e3cadb8f2c4845721f96242f2c485e7214865721f962422c484721c845890cb121f9c872116242f2b908e4390bfcae432b908ae43f390e432c486721c85e5890cae432b90ce42908b121f9c8721962432c484721c865890ce4290bcae432b90bcae43390a432c485e58908e4290bcb121f95c86721c865890cae432b90cae42ff390e422b90cae422b90fcb121795c865721795c86721487e721c87e58908ae422b90bcb12195c845721796242f2c48658908ae43ff390e43fff390e422c4865890cb121ff9c872196243f2b90bcae42fff2c48458908b12116243f2b90ffcae43fff2c485e5890bfffcae422c485fe5721796243f2b90bfcae42ffff2b90ffcae432c48460a40a6618626a61ce3d466883d6645657458106350e2d6321a39532150c231a421532413d3399952b690e8430cc534d4ad0638ad993418742c24072f7385897cae5e348120397e5e348521397e5e2b734cd8364b06c160d93364d82c0ea6838ea63a0e863a8e9e581d4ca0283cd5d284b050795942650143e6e1c1b87058706e5c95b9370e4dcb92c382b706e1c15d22c522ba7e574cae9f9d2a458a474a995d32c52ff2ba4574cb148b14bfcb14cb148ae99629795d22c532c533a74cae995d2f3a74ce9533a74cb148e9d2f3a74ce9d22ba474e99d2a458a674a99d3a65748ae9f9d2a474a91629962995d23a748e9522c53f3a74bce9d3f2ba65748afa9f5ea57d4b1d3cafa963a163a7963a163a1f5ebfe57d3fcfa742bea7d7a15f42bea7d7a1f5e9e7d3af963a9f4ea57d4fa752c74f2c75f2c743ebd3fcafaf963a7ff963a79f4e9fe57d7ce9d22c532ba474a91d3a674a97962996297f9d2a658a458a658a458a4574cae916299d2a474a995d22c522c533a54bcae915d32c522c52f3a548ae99629795d3f30c6831b320f483c329501f8331a98f233a001f9342646273295483d326307f03331098c307e52ae3189883d3186475630e704da30e744db320f0627329501f831040411307e4fffbd2c42383f3fdacd40ff6b68668b3dc81eeed7841031044a54318984112a8c4e641e83f26208082260fc0822560fc183f041e183f00fc183f20fc983f20fc983f20fc95896e60bf863460bf86365805f8c17e0c68ac31b2b5f8f1bc68d7fc68d7f5fcaf1b35f97e35f97e2c2fc585fcb0bf9e36bf9617e2b5f8d7f5f8ad7f2c2fc6bfafe56bf9e34bf79617f3c6f1bf2b5fcb0bf9afcbf95afc585f8d7e5fcb0bf611fc419f8f08fe7833f1e0cfcf847f308fe7833f1f067e3c19f9067e308fe7c23f8c23f9067e40ff3f8067e20cfc047f00cfc611fc81fe3f207f9fc033f211fcc0ff1f903fc7e423f803fcfe423f903fcfe00ff3f8833f011fc847f211fc047f303fc7e211fc01fe3f211fc033f011fc7067e40ff3f908fe023f808fe00ff1f903fcfe019f803fc7e419f808fe019f9067e40ff1f9067e211fc01fe3f3c19f8e0cfcc23f9067e40ff3f8067e023f808fe60cfcc19f8c19f9847f211fc047f011fc033f1067e60cfcf833f25808830881d435e33e33263062346d46d31d427b31d41d4346d3c633201d5308827a308846d351212e32267a39ea7a34b92f3221d537552f32252e2b4b8dd5c80c88c84e7a4bcb0ea9ba9e315a5e697baa644cf473da5e58220c894bcb0449a5e449612ff2c110584bcb0447991044191244160892b4bfcc88224ac882b2a4d0a114ca8114c44114ac442c089e562279588856c458633e362f3e362362623e3e3f2be23e3e32b633e263f2b88fffff2c44f95c47f96227ce2224e2620b11071310713105889389882c44f95c41c44496220ae23cae20e2627cb1127111257105889f2c449c4c416220ae24e2224e2620ae24b1105713e588838988389892c44f9c44416224e2220ae20e2223cae27cae23ce2220e2620b1105711e5712571271111e57127131257127111271313fe713125712588938988388892c4479c4c41c44416224ae24e2220ae20e2620b11058882c44ffff95c4795c4ff95c415c416220ae20ae20b11271310571271313e58882c44f95c49c4c4ff95c416224e2627fce2224e2220e2220ae20b111e57107111071111fe5888ff389882c03a18838cc99ca16b996b8501ad09db99db86c161e34cb0c730c6641d4c664f7cc570e54c570570cb08734d2b4b08ac360cb5c284c86c574c57428fffbd2c41e03f239a2e40f7370c65fb39cc1eeed980c364364c360730c364edcc360364db2d936c734f9bcd3e6b60db0d82c734db3cd36cb60adb27068399d732588319d20e7068399d20de5850f9d75405850796140575c3535335252353c32c611e1291a9e11614cd4d4cf0d4cf0948e8684e8684b14074140574058a12c509d0d09d0d09d0509d0501d050796363fcaf64af67ffcb1b257b1fe58d8f2b74375742b742c3a9baba15ba161d0dd1d4add0b0e9e6eaea56ea56ea5874374752c5096280e8680b14057405743e57407414058a12ba12ba02c50f96280b141e58a12ba12c5096280add0dd1d0dd1d0dd5d3cb0ea6eaea6e8ea58752b7537574374742b74374752b752c3a95ba15ba9baba1ba3a161d0dd1d4b0ea58742c3a7ffff96367ffffffffffffffffffffffcb0e856ebe5874f2c3a961d4dd1d7fcadd4b0e9e6e8ea58752b752c3af961d4add3cb0e86e8ebfe6e8ea587537474f2c3a161d7cdd5d4dd1d0dd5d4add3cc388588c9e8220c4b91b4c989388c58898cc5b4740c2a48c8c58c38ccb8898cc9ec220cc84c80c4b84bcc224754d4491b4c62988c63588ce2b88d2e224d2e224b0449f8f3d1a5c9719104499124415a5e6971106973aa58750d2e220d2e220d898cf8d8cd8d8cd898cd8d88ad8cd898cd8988b1c7e586336363f2c711b1311b1319618cd8d8cb0c6586236262363632c319618ccb8b8cbcbcb05c565c582e32e2e32f2f32f2e32f2f32f2f32f2f2c1796220ae24ae20b113e71313fe71111e5888388892b882c449b1b115b11b1311b13116188d898fcb0c66c6c45862363632b632b63ff2c319b1b1796224ae24b111e711125711e5713e5713e58882b882c441c4c4f9c4c4ff9c4c4f9c44495c49c4c416224ae24e2224e2627fcae20b1105711e5711fe7111071111fe57125713e57106c6c46c6c45863f2c3195b115b19b131796188ad8bcd8988b0c45862363632c319b1b19b131f9618bcad8fcd898cad8bcb112571257125888f2c44ff95c495c4ff95c47f96220e2624b11258882c441c444ffff96224b112571257105711e588838989f2c44d3045045310b0a932632e232630623562062316226236620e32c1b198850229885919194a88598220e81fc431160623589e23588622b18cde2988de3788c63588fefffbd2c42083f3559ee80f774bc682b4dcc1eee9782388c6278cb0b1161623388e32b588ac62398d633188632c0c46318c66319c46710c66310c66b1ac66318c46310c46310c46710c6563118c431f98c63199c63118c631960e3f318862f2c0c7e6310c45818cb031960622bc678f1163196319e3c658c478b1163179e2c658c65788f1623c58cb188f1622bc678b115e33c788f1623c58caf195e32bc5e71221c5885710e24438914ae29c58a71621c48a588a5714b110e2c438910e245f38b13ce2442b8a71621c58a5889e5714ae295c42c442b8a5713cae29c48858885714b110e24538910af115e22bc658c478b17f95e33c588af1ff9e2c678b19e2c678f1163179e2c478b1ff95e3f2c62f3c78fcb18bcaf196317f95e22bc7e5788f163f2c632bc5fe58c678f195e22c62f3c78bfcaf1163196317f95e32c622c633c58caf11e3c4578caf1f95e32c633c78bfcf1622c632c633c588b188af19e3c5e58c658c678f11e3c678f17ff96319829829986109a99a6b1319ef03a19ef0cc99150cc195d8cc99a683a18730f598ca89e99a615d995d2819fbecc9d755d95c54698a626980d26559dc71520c68357471520c6cc33075d8ea63a0ea68345468320e63a0e875d20c683a0c63aa0fe5841cd98664b0831a0e8318ea3a95a0e563a160752c20e63a8e86838e858418b03a160753148523309353148c22b14cb02918a42918a629160522b14cc5314cfaf52bea7d7a163a963a1f4ebe7d7a95f53ebd4faf43ebd0afa795f53ebd4afa963a1f5e87d3a963a15f43e9d0afa79f4e858e858e858ea57d0afa963a9f4ea7d7a9f4ea7d3a9f4e857d0afaff9f4e9fe7d3af95f52be858e857d4faf53ebd0faf53ebd4afa1f5e857d4b1d0afa9f5ea7d3a7963a15f43e9d0faf52be87d3a163a163af95f52be858ea57d4faf5f2bea58ebe58e87d7a15f42c742bea58ebe57d7ffcfaf52be9e7d7af95f5ffff2c75ff2be857d7ffcb1d0faf52c742c742c753e9d4afa95f52bea57d3cb1d4afa95f52c742bea57d0afaff963a95f43e9d0afa7f95f53ebd7fcfa753ebd3cafa15f42c743ebd4afaf95f5f2c752be857d7fcb1d5508000160382b0e0d954f0d94654deb7acc397acce7d10dea4f0d4b2c4cb02c4d311a0ad3134c0aa34c4ef33b8ab3059193460b03fffbd2c41a01f0c5a2f0aeeb34c619359dc1dde6682c04b32403834f43832403932443930e03932403932413c3240392c070648072561c9870489a7a48161c1b972587258726e5c9b87265e51ca2c65cb9cb2e65fe1cb94565ce59634a94ad21a44a584869529a4485694ad216129a54865cb1972e72e51962c65cb1972c565cb05ccbcb32e5ccb162b2c56b79acb1acb1aeb9acb1aeb9acb1aeb15ac6bae56b15ac56b15ca72485894e590e490b1295ca5894ae52b90ae539252c49e724a5897ce494b121cb2f9cb21cb29cb21c9215ca5890e497ce597cae42c4a57215c85894ae42b97cf9e4f9e3cb1c15f1e57c796393e38ff2be0f9e7caf92be0f8e4af92be0b1cff96392be0f9e0b1c15f058e0b1c796382c71e7cf3e7c7257c95f258e4b1c95f1e58e0af92be4b1c1639f2be7ce493cb127f9c9215c9e5721c9215cbfe72ca5893fcb1279c921cb29cb2f9cb29cb21cb29cb295c85890ae42b90ae42b93cb12795c857298701c1609034f2413901eb3094683091733344d033e0d132acaa34c4ee30957434c1313244382b398d3c4f0ace730e13d34f53d37ac3937ac3830e4382c07261c870648a786ca27a580e4ce244e44e4ace4ce0e4ce240ce240b072723226727058382b90339392b382b382c1c99c1c9c89c960e0ce4e0ce4e0b07067273e6727258392b38ff2c1c19c1c960e4b070670705838f2c1c19c1c99c9c19c1c159c159c960e4ace3ce44e0ce4e3fcce0e0b07058382b38339382b3933839396439252c4872ca72ca72ca57295c872485890ae53964f3965f39242c4be58e4af92be0b1cf96383e783e383e382c727c707cf07c727c73e58e0b1cf9f1c15f058e4f9e0b1c16382c727c7257c95f07cf27c707c727cf257c9f3c95f258e3caf83e792c73e58e0b1cf96392be0af92c7057c9f1cff95f058e0b1c16382be4f8e3ffcaf82be4b1c795f057c16383e392be0af82be4af82c71e57c796393e392be4f9e7fcaf9f2be4b1c795f3fe7c7258e7caf93e392be0b1c79f3cf95f257cf95f1fe57c79639ffff2c70a0800079603ecd71612cb09de71381f66aac420687e4226650cdc6176680617668061769dc58268332932930fb211343e211355621032115563328328343f0fa30fb0fb33280fb321021032112102b43e32112112b329fffbd2c42b01f3f1acdeaf777286a1355cc1eeecf82c1f467d1f5e7084207081f456c895977e65db2265d32265db207081f4583e8cfb3efccfa3e8b07d960fa33ecfb3fbfa2bfb2bfa3fbfa3fafa3fafb3fafb3fafb2bfa3fbfb3fafb3fafa2c7d963efcafe8fefe8b1f5e58fb3fafbf2c5d1dddd9dd5d1dddd162ecaeecb1747777477574577458ba3bbbb3bbbb2c5dff963ebfcb1f657f5e57f457f5e57f5e58fbfff3fafbf2bfa2bfa3fafaf3fafbff2bfbffff2c7d963ecfefe8fefeffffcb177e577658bb2c5d7962e8eeeebfcb17458bb2c5d1dd5d962ecaeecaeecb176577458ba2bbb2c5dff95dd15dd95dd1dddd7f95dd162e8aee8b17658ba3babb3baba3babb3baba3baba2bbb2bba2bba2c5d9dd5d15dd1dddd162e8eeee8b177e7f5f7fe58fa2bfa2bfbff3fafaf2bfbfff2bfa2c7d9fd7d7963ecb1f47f5f658fb2c7d163ecafebfcfefe8afebfffcfefecb1f5e57f457f7e58faff3fbfaf30e326333624e333632e231d546d312e1d530a8233323210b36ac7a31ec7a2c4f46eaba86318c46f18c67719c47315c6631ac46f19c658754c89224dd4c84f204bcc894bcd2f4bcd2f224e7a4b8ad2f34b8893220882c11056441a5e44191297160882c112644113e711125712588938989389893898838889f38889f388882b8838989f2b882c447f9618cb0c46c4c658633626336262363622b632b633636236263362622c319b1b19b1b19b1b195b179b131f9b1311b1311b17196188ad8cd8f88b1c656c65862363622c3195b115b196188d8d88ad8fcd898cad8cb0c45862363622c3195c415c495c416227ffcb11258892b8838989389892c441c4c416224ae20ae23ffce2620d8d8cad88b0c656c456c658632c31f95b19618cad88b0c5e6c4c66c4c7e5863362632c319b1b1f95b11b1319618cd8d88b11058882b892c4416224e2220b113e5889ffff2c4479c44415c415c4ff96224e2620b11257125710713125712571057105713e58892b88f38988388892c441c4c4796224b111e58882b882c44f95c416227ce2624b1105711fe58882b882c44795c4ff96223cae20ae23ffcae26f331e433b76dc30b95e3a3df73449133dd72835791335782f30bd1236a87a37d8c730b8c630bc7a331c2e357df730b82f31ec7a30bc2f30b87b344daa3fffbd2c41e83f005a0ee0eeb3706ce341c42bdd0003187a31e8c730b82e2b44ccc60b8cc61e8c7a31cdaa1e8b03d960c731ecc731ec7a30bc2f2b1e8c2e1e8b03d1ae5c6bbd16171ae5e6bbd15ae35cb8d72e2b5e7e97161795ae35ebcd7af2b5c6b979af5c6b97161795ae2c2f35cbffcd7ae2b5c56b8b0bcad715af2c2f35eb8d7af35ebcd72f35cbcd7ae35ebcb0b8b0bcb0b8ad79ae5e585e56bcb0b8ad79ae5e56bfcad796179ae5c585e6bbdff9af5c6b971af5c6bd7962e2bb8eebceeb8aeff2bbcaef2bbcb1795de58b8eebceeb8efbcaeffff2bbceeb8efbcaeef2bbbcaee3bef3beeffff2bb8b171df7962f2c5c58bfcaeff3bee3baeff3baf2bbceebcb171df795dc775c58bbcb17962ef2c5c77de58b8aef3bae3bae2bbcaee3bae3baf3baf3baf3bee2c5e77dde58bcaefffff2bbffcaef2bbfcaeef2c5e577ff9df7962f2bbfcaeef2c5de577162ef2bbcb17fff95de577960360c731e34da20e50cb58e4cd688b08d2b0734e5d9e30c730360b03306576576658639a61ae76c639a76c6b40958561b2695a76c561b0639a5847db58458360adcd2c58666c9b07615846e6d8658364dcc730dcc730cd8730acd83364d8f3361cc2c1b256e6959b258360acd92c1b1fe66c9b06e69b066c1b258364c741d4c751d0ad0631d47431d074f2c0ea63a8ea63a8e8563a160d83360d92b360acd82c1b2566cf99b06c99b26cf99b06c99b06c98e83a1607431d10631d4742b1d7cc751d0c751d0c741d3cac752b1d0ac752b1d0ac752c20e63a0ebe63a0e8563a18ea3a98e83a158e8563a958e863a8ea581d4b03a958e863a8ea63a8ea65094058284aca0f2b284ca1287fcca1287caca1ff3280a13284a1f2b280ca0280ca0280b0501594058280aca02c1405650960a02b284ca0280ca0280b050160a1f3280a03280a03280a1ff3284a1f2c14265014258284aca1ff3284a1fffff2c1b3e58363fffffffffffffffcacd8ff2c1425650194050799425095942565079940509594258284aca12b283caca13284a0ff2b284b050160a1f2c1405650194250960a0f2b284aca12b283cca1287fcaca12b284b050da03028040204010140a02010080300640ae302500803053c24f30d7c2a930ca42cf31c4921a300f0001300c4005305cc04f303cc03e34620fffbd2c41c003485d91db9ff00062e346243bfd000a9035bccab50300ac600d80006071010c603180c6611a82666027812018002a546032072608a05e690660a6330a28160074dc46f0c033306302b302a06234f02603428582329635f2eb1698880854e0c110038c168038c094064c008008d454d7cc660a5cca5c1d4c4f03899c459a1b8ef3180e80e98018048b009ba542604818c60701ba620e09e60de09e0d024120006cca729e4ca5b2baf182ea7acba030220082203b14028160104972b0109332164c5a76aafeb228dc6dd359e5dba0a2ff2c00c182d01c182d03d180c00c980c801c4eebff1779ae3fb76efa7ba8ca8927c39707a7a27c79803803958039803803980380398030031583a983a04c1583a45e2f14a771593bcf4b7e24f32e789492ebff72f45ee5ebc61540c4603207e180afe17007f53b0c00e4c44c60c00c8c50fd0fffd050d050d1c65d6a2ffffa251aa27c567d0fffffa219580133ba3f75e3292edc1863a4ea46dd474fffffffffffffffffffffffffffffffd4f980d0090981280b6984e00481848a1621869a25d18f32518198f263d19bd283d1a7d2d1b1b0fcf639bcf8c85987b8ff61db16c151d0749fb9cd72df399c764769881e1d19834809d9862389858ce9c5ca99b38cc9a0c149986cd1bcf161d83ce1ea3a91bc8f1997c611a16ce1bcaf21c32d31ade9b19160f191c9a9a68b599fa7d1986450b14e60e03a6271126471166450aa62a03a60e03a60e8a464698867d9f867f99062a83660d0403a0e98300e98a029983e0d2439810069810029810069818068602a8ab8ab3a01500a912a95c5987095b948b016d5fdb3ff4b0ee54255006ed19788c17050c2d0b8c49128c320c41c18a6f1728b945ca4e29eeef1fe56c8a800980801980402d79dc7a4a01980002980804980c03980c02df30180530902530880542c301402309446311448311c4830982528014c03000c23098c05008c05022b592500e2b477b0ffcea5d66d967ffffffff94b20c5dcb0cc4989356a6d779ddeb2ad6b755f57765b2996dda596d3bf38d6869da96d9d53434ef4ba1a7fa3384aa5d6bf2ab19a6ea300c013730b805f33126021130cb4230301a424a304f4122302905f9309b01e5308bc0253115c16431c9c4aa319809b1348b010e360fddfffbd2c41b83e62974fe0ff1f1056daadc81ff69e01033cce9a13e9998033720c8e03095404e3043c257309e00bd30074315306a01b93964c434b07666b9b5a486915398b4c4670561abd5a6ab341a9c58670859b40ea6965b8aa08c26b43291e438b21c5630e828906a18255402a4302824c4020012f82a2415279830b466f22268084188a8850f8238c0276895daa096a1e4406a530a427eb58491f081545ea7a311caba0d9712c06c2245b452039921093ca2624399cb1b2c29eb96a1f6c6b339233293c2e2af1b85c542519395617227c748270778c241b5976196923c2e27c2ba5fc4c49b6b75f582ca7ea3735ffffe0ab665746b4266378e2dfd7fffffffffce36c31231de4bfd191ff117fb8c19504f0c09013dcc8583304ca622984cb0e2c3cd17e039c8a86738190f763626173e280ca4e36eeb34d7401280e67a692ccc6a3708d58face8f60fa0b0e9df6268c2ee3714d7e9284d281eb4c64d280d7ecbbcac398c654a60c39c654c650e70d285280c650650cbbc650b032a63283286532530632a1ce61cc32a561cc61ce32863281ce612012061221206072070607207058038f2b03930390903d094d26834fa4ad216349a44a7a741e9d06952f95a42b485694b090ad2ff9a548695214492c25f34893cd3a62aa434a93cad29a548584869529e8485694d2a434890d22534a94b090b094d2242c2534a90d3252b4a5690b090d2a52b4a691215a534890d224f372e7fcb0e0b0e7ffcadc161c7fff95b92b73fffe56e3cadc7e5dffff372e3ffcb0e7cb0e3ffcb0e7fffcadc161cf95b82c382c382b70587058726e5c95b9ff370e3cdcb8f2b7058725873dff2c38ef9b871fd3a21dfffff65f302a03bf3183c6d2327a41d139209453312084833623919f370206d535458e2633ec4e26388c9fe23a48b6a13da898f333712b75337150153ed089223371145331208dc430be454831cd84203042842030be442035b23231156d2c15065408a685216685088685216568515a14685a1665408856541888549950229a1622959715bd15bd95bd9973d961eccbcb8cbcbcea510b08858452ba8345453444434444345a9345452c2296114d1114ad14d1110d1514d1110ad10d1514b08a575258442c549a2541a2221a2a29a22296110d1114b08868888584434fffbd2c46c83f3bd56de0ff77085de2a1ac1fe6e4054534445344452c2215a21a22215a29a22279a2221a2229d4a296110ad10b08a68a8a5844f345442ba82c2296113cd1110b08a568a68a8be58442b45f345452c22f9a2229a2a2f9a2a296110d1114d1514d1514b0886888a58442b44f345442b442c229a2a296117fcb089e68a8a5844f2b442b453454434545345443a844345453454434444344a834445345452b443a94534444344452c221a2221a25416114d1510ad10d1514b08868889fe568be68888568868b5256886888a568a68889fbf9dbbf45c58018cc0620d8cc4e31388c3620d88c5630d8ccde23388e1e2878ce6e33d88d1e32788d3e24f88c660a18cdae32788c9e2358cd7625d8ce1e2358cef62e58cd0e2438cc6e2358cd762438cc6e33588c9e31b8cc3620d8cc162178cb00b1182c60b1182c40b11f8dc456e33f1388b1e3371b88ad8cf8b88f8f8caf88d8f88f8d88b0c65862363e32c719b13195f196388f8d8fcf8988b1c65863363632c3195f115b196188ad88d898bcd8d88d898cb0c458e32be32c3195f19b1b19b1b19618cd898cb0c47c4c456c66c6c65862f36362363632c3115b115b115f11b1b19b1b115b11b1319618cd8d8cd8d88ad8cd898cad8cd8d88d8d88a310b0c46c7c66c4c456c66c6c47c6c66c6c7e6c6c458632b63362622b633636336363363e2f363623626336363ffd15b1f9558cb0c47c4c66c6c458632c31ff9b1b17f95b11b1b17f9618fcb0c458622b632c319b131f9b1b115b115b17ffff9b13196188d8988d8d88ad8ffcad8bffcb0c7fffa363622b622b62fecf95ff2aaf2c084258217cce061080c9c9655cd3ae3270dd952720e33eed24e068381cc4203dc0d957381cce0781a4e33eb494f70aed24cf704eb8cf701080cf702cc8c6f45a0cc2b7217cc9c81bd0c58b0ad8c58a0adcb02109829a2101829815b188400a61d6ca69a9b5b9554c35314c35314d2b3eccfa3e8cfa840e103ecb07d99f47d19f67d962102b3eccfa3e8cfb3ecacfa33e8fa2c1f6582efccba2e8b05d960ba32e8ba2b2e8acba32ecbb2b2ecb05d9597665d17665d177e582ecb05d19745d15974582e8cbb2e8acbbf32208832252f32208932252f32208932248834b88832252e2c11064411064491264425e64411206bfffbd2c47903eab9a2d20ff6b3471eaa5801ff5a38ac804576115d84577062ee0c5d81ae97606ba5d8457581ae976115d01ae9740c5d40df4fb037d3ec22fa063ef08bec22fb063e818fb063e818fae06fb7d01bedf606fa7d845f406fb7df06533c194cfae11a6ffffc234d81d369947ffffffffffff06110c1f907e0c1f81044d4c44abce14c8534d8f25314c1f820f0f62f7cd8ce8395f0d2af6c24df37e970f2038d90c413a6a0e14fc808e9a763d4f204c80ce3642950ce821038ce801044c4114abcc40e1898c4101040c1f91040d89f1acf1a9898c7e5898d89c7e4ae0f0f1aa0f0e0f5044ae0f0e0f5044d0420f0c7e5040c7e07e4b0823e63f282056c4e5541134101f834111f831f91f82b1f934114102b1f834114112aa08941f898fc2089607e4ac7e0d0407e7cc7e1044b03f05682056823e68203f0581f831f81f92c20818fc8fc98fc208f98fc0fc1a080fc98fc8fc95a0879607e4d0407e4c7e1040c7e47e4b03f263f03f0563f263f23f0563f0563f063f082063f03f063f03f063f23f263f23f0581f831f81f92c0fc1607e4b03f068223f263f23f268203f3e63f03f0584102c20898fc0fc019f93f00c3f2e113f2113f3033f27e0227e4187e4227e4227e4187e00e089f908c11061f9061f806410033f27e2067e0fc819f83f1819f93f0067e4fc830fc830fc419040187e3033f27e40cfc1f8061f9c227e00cfc9f9061f8061f8091f9033f27e4187e40cfc1f9033f27e2113f0067e2084187e2113f2113f00c823830fc830fc7f7061f8844fcaffffdc9d9fffffd75f317f31b37f117f34b7b29398c65434b665534da7572c30c9a6dbab1a6d12f1b2acc61b2ad949bf832a198d32a1b2a6629d947fe9b2a0bf98bf25b192f30c99ce12f989092f192f12f1612d8cc68c6cacc68cc6c5fccc685f8b06366636634663496e66362fc6bf2fc6bfe346bfafc6bf2fc6bf2fc585f8d20978ae5f3485202c4be690a406904bc5690f961213979212c24272f240690242569096121348521348521397d203481203485202c24258480ad203485212b484ad203485202c4bc56909a429095cbe5897cd21480d21484d21487cd20978e5f484d21480d20484ad203485202b480ad212c242569015a40690a40690a42690a4058484ad20ff348520348fffbd2c48183f27178ce0f76b545f6b61a01ee57205212c24258480ad213485212b480237e065f8237f81dfafc077fbf4237ec197e832fc0cbf832fc11bf611bf032fc11bf832fe0cbf832fc077fbfc237e065fc237fc197e03bfdf8237e832fe11bf01dfeff065f8237f832fd03bfdf8237e846fe11bf832fe11bf846ff065fa077ebf81dfefe0cbf832fdc0eff7f065f8197fc197f065fc237e08dfe0cbf60cbffffc197e2c0bf18bf0bf9bf859418bfa5b9d9418d15d941a6da6d9a6d44a18bf8bf1598d1961ad0986cad01890a6d9b0c9ce992f3ab9596198e69619a5606c18bf18d961954cc6d2dcb096c62fe2fc696c63462fe2fe62fe96e62fc96e696c2fc66342fe5663466342fe61b039865861b0561b261b239a63981b2581cc31201202b1202b1202c09018908909589015890992f0901f35b0586c1b65b26d86c9b61b06d86c95b63cadb26d96c1d72ba6a1ae95a87cd40a13aea80eb8a12b501a854275d5095a84d42a12b6c9b61b056d82b6c161b06d96c15f33cdb2d836c364db0d92b6c9b65b056d8390484e4120390c80ae427209095c83fcb120390c80b120390484e4121f2b901c86425890162405721390480e41202b90f95c80ae407209015c80ae405890f962425720390484ae40720901c86405720390c860cbf846ff846fe11bf846ff832fc11bfc237fc197e846ff81dfefe11bf832ff832fdc237e03bfdfbc197ef846fe11bf832fffc237fff832ff81dfefdfffff065fff08dfa0cbf2af2c1611a561619ad086c1bc6256986c0e698e61db186c2d0991503a991528199ca96bf995d8cc183a95d98cc883959ca996b0ae18500ae18ae8ae18ae10d99ca05098ae0ae158e6186c06c996186c186c06c186c86c1586c98e686c186c86c986c1611d71406a1501a86b858501a82ba56a02b501a854258509d71405850161426a0509a8543e6d86c161b256d836c363cb0d8ff2c363cace9e5883f99d0ea583a959d0cea7433a1d4cea7533a1d0ad43e585095a84d40a12c280b0a02b5095a83cad41e56a12c280d42a1350280d42a0350283cb0a0350a80b0a0350280d40a02c284b0a0350a87cd42a02c284b0a12b3a19d0ea7073a99d0e8583a99d0ea6743af99d4e86753a99d0ea567533a1d3cce8752b3a160e86743a160e9e6743ac1fffbd0c49001aae194d80f72b58554b59a95eed5a08d808b600db0d9c22d906367831b1c22d8c22d8fc18d808b620c6cf063660c6cf036cb66116c01b65b2116c7fff08b67831b3ffffc18d8720624024262422406caa96c696efe06634fe0696e2fe584b6f32c269733b61cd32c30d831cc2c2375639c339c120339d4da2bb08ec2364dcd360e5e480e5f978f9c97cd2197cb0901f3a909f39ce15cbc6904be7cef386904be572f1cbc909cbc909cbe90961202c24258480d21480232106484192108c80192008c800e4320064840db1cc036c36418d981b65b2116c7845b006d86c831b20c6c045b0116c81b65b2116c01f31b00c6c0339a0c6ce0c90046401190e0720900464184642119001c86400c6c831b2116c831b00ce6045b006d96c01b65b2116c81b61b006d86c831b006d86c031b206d86c81b65b006d96c045b00c6cc0db0d881b65b006d96c01b61b20c6c845b006d86cc0db2d90636606d86c031b308b6022d8036c363f06487fc1921846400c90c192084643e0c907c1921ff064842321fc2320c1921c2320e0c9083241c1920e1190ff0648383241ffe1190552b188b0719f7f4a1eb57c15bc66b19c46e821474a4645719988ab69bc4b11ac4311dc4b11cc47198c4b198882219502296045338ce33589622b388d62188c6338cc6318cc63588b071195222995222195022160a832a04532a0452b110ac4432a0442c08862208a78b1f95e23c58fcf1633c78bcae2162215c42c442b8a588a588be71221c58a716295c538b14b110b114e2442b8be5714e2c538b10e24538b10ae21c48871227f9c58a7162162216221c5885888712216229af5de585e6b9715ae2c2e35cbcd72e2c2e2c2f3f4b8b0b8ad715ae2c2e2b5e6bd715c42b885710b114ae29c48a588a588a58887122ff95c42c442c45f2b89e5710e2442b8bc238e11c611c5e11c5f08e3f83310331ffff8471047160cc708e3c198c238c19881988238c198e0cc7833103318471e0cc508e3f8331c0f1e3e0cc611c7847103314198e0cc5066308e3e0cc41f2c1e6a5119a1af08bc29b0f2a7b986cca7b194d8c3c98dd06f719b1a90d9a4346c69a4366c619b1a47f1ef71b39b74ef71ef76f71a08e3598fce351a08a081bc6bc61f9a79a953cd4de33cd7cde31e34a79a8de37cdfffbd2c4d083a94daee40eea974694295845ff597a0d1c3634ad1c0e3ff630e3f91c0d1c11c0dba0d98cd9a9b0cd98d98dba0d98cd9cd9ccd9cd98b0dd3e566cfe66cc6ce586e9f36e9367362741136271f831f81f9f34101f82c20898fc8fc1a080fc1a088fc18fc8fc04638846380323884638c191c0231c4191c40e38c71064700647108c7003530a640d4c29903530a600d4c54d08a9803532a6418a600d4c54d03532a600d4c29981a98532075314cc22d980db3367831b3831b381b666cc0c6cc06d9db381b666cc06d9db3045b3845b381b666cc116ce0c6ce06d9db3c0e384708463804638e118e0118e0118e2071c63881c718e0118e3f08c70038e11c00e38c7108c7008b66036ccd9c0db3b67c18d9822d980db336608b6608b6708b67036ccd9818d9818d9c0db3b670636706366036ced9c0db3b6606366845b381b676cfc191c2071c238f08c71f846380323801c718e384638c191c3c82bb45762bd6a189200a0f3144ca433d6cc69c36b368403455f43b3455ab8137c0e4323674ca4235040d5636b2cd573290d4a32a9ee6553dc8df03144ca294533f88be230f8d3e330f8c7e333dc8a4333dcd9d332908a4332908a423144ca423144ca433290851231448513314494a231448f7233dcc5133290c5122c0a24587e3d95bf1960f8ccf8cf88b07c4583e32b3e22b3e333e23e333e37e333e23e333e33e32c1f199f19f1160f8ccf88f88cf8cf8ccf8cf8cb07c4567c6583e333e23e237e23e284e898328981d13a2611a240ca2611a2508d1281d12a260744a8981be27c6117c4117c606f8df101be27c60c7c407f89f181be37c606f8df101be37c6117c6117c5063e208be281be37c5063e3037c6f8a117c581be27c7831f181be27c5063e2ff81be37c5f831f1781be27c4117c6117c40c7c4117c406f8df1c18f880df13e2063e2063e208be308be2845f1c0df13e2063e2037c4f8b08be3037c4f8fc1944c2344ffe11a27ff06513e11a270aa27fff08d1303a2544bff06512f065128468980001f961a0f32f89be330f8cbe22b674cd4a3528ccf727c08d4a25288c923183cc9221838b0ce9194867b9997c67f118fc69f198fc63f19b07b071c914919b07c91963f88a1f1cdf88f8cef88f8f46d3baae7aacd386d39aae6a254867487486fffbd2c4f0002ff59cc10ffad486bcb35849ff59b3574846a24a26574866fc67c667c67c667c6fc6583e233e23e22b3e332f82f832f92f9360f60f32f92f92c17c7960be3ccbe183cb05f265f2c1e65f25f065f0c1c56c1c582f832f860e32f82f932f82f8035f0be40d7ce0f035f0be7062f8062f9062f808af981af95f2115f006f8df1c22f8822f880df1be3037c4f8818f8c0df13e208be2037c6f880df13e2037c4f8822f8c18f8c22f8c0df1be3037c4f8a117c6117c40c7c60c7c708be208be208be2063e3063e308be208be3063e38317c8457c40d7c2f808af808af808af9062f9035f0be422be018be00d7caf9062f98457c81af85f1035f0be422be206f8df1031f1845f1045f1831f1045f101be27c7831f1031f101be27c7037c4f8c29f1818f8e06f89f1831f101be27c7037c4f8822f8c0df1be3ffc1944e0ca25f065120651284689fc1944cde666d451e74c692cb86aed3354ea7b2cc5691998436ef2c2dbe749e0b946bc1af0868cdd2784d19c1de4b1aa9bad88cd958dd05853d0c4716ce4cd8c23fcdd6d2ec8cbb275b4cbb31728c3671ba0c3671ba0c3661ba0c36545ccc36445ccd1731ba0c6e90d98b03c619e6a79a98f183c616078b2c2335af2a0b96565d91c7fa38144701611c0d1c51c3cd1c51c4d1c11c4ae3fb9e568e1fe58471336636636e9366e959b3f99b31b3959b399b31b3959b399b31b30323840e384700647108c700647006470c231c4231c606d99b3c0db3b6608b67036ccd9c0db336606367036ccd9c18d9c0db3366036ccd9c22d9c19ba40db3367064710647008c708323840e38c7081c718e0071c23803238832388463881c718e20c8e00c8e308c7108c7106470038e31c00e38471038e11c00e38c71038e31c60c8e20c8e0071c23881c708e0118e0118e20c8e0118e108c700647108c70038e31c70647108c7108c7008c710647106471064710647108c710647181c708e30647008c70c231c00e3847006470038e31c3065cafc1972ff832e5ff846e5419e3613f1bffffe11f19ffc19e33c23e340cf2c13a66bc22f044e35599b1a90d1bf8cb549bad85d91af091aa938d5665d997666b549b1866c6ad5268ce233468cd233651785150bb22b172cd19b5e10cf343cd4ad6de33cd4f3533cd078c2aa78064efffbd2c4f003b1c9a8c00ffad4867d2b97c9ff5eba9a783a34f013c12a93a6513c0993a64e9993a49e09549d32bbb235cbbb32b5ca2c2e515ae595ae59a38c7f1a382381a38a381c7fa381a38a389611c4a238fcb08e2584702c47f1a38a381a382389a38a3895a389c7f47f79a38238960a64ca61530ca65534ca64a60d531534b053058298354d29932982992b29932982992b2992b4712c2389611c4d1c11c0ad1c0d1c51c0d1c11c4ad1c4d1c11c0d1c51c4b08e068e28e268e28e0568e0568e068e28e2584702c2389a3823895a389611c4d1c51c7cd1c11c4b08e3e568e0584712b4702b47034714712b5ca35cb5ca2b5cb2b5cb35ca5ca2b5ca2b5cb35ca5cb2b5cbff2b5ca2c2e59ae52e57f95ae5161728b0b9456b9656b94585cbf2b5ca2b5ca2b5ca2b5ca2b5cb2b5cb35ca5ca35cb5cb2b5cb2b5cbff35cb5cbff2aae56cb0b95fe56b95fecaba05d4123552674e3bad48a9d373031554e1127497febaf30f887e332f18e2831290966285e38c9662f1cc5622b8ccae51ce0cc394994ac60e30e385623158838d3158c90e3243c90e31588563312904a53090c2422b1290c3e21f88c7e20f8cc3e33f8cc3e32f88b0307958c1c617c8c1c56307187c41f19607e230f8c3e230f883e32b0f88b01219848625215848658090cb0121160243f3e3db92c71e586e0db96e0adb936e38e2c371e56dc1b72dc1b72dc79b70dc15f1a586e4b0dc95b7056a69a9aa69a9b5b9a9aa69a98a61a9aa61614c3ad94d3532b63adab735314d3532b636e5b836e1b8f2c3706dcb706dc37056dcf9b72dc15b70586e4adb92b6e0b0dc1b72dc9b72dc95b726dc370586e0adb92b6e0b0dc95b73e6dcb706dcb726dc373e6dcb70586e7cb0dc1b70dc9b72dc15b73e56dc1b72dc7961b82c37256dc79b70dc161b82b6e4adb8f2c370586e4adb92b6e4db96e4adb82b6e4adb82c370586e0b0dc95b726dcb70586e0db86e3cadb92c3726dcb726dcb726dc37056dc1b72dc961b936e5b9f2c3706dc37256dc7fffffff063e30bcc78d1e34c5cca4f0c5cb8d54de87b760cf3598c4e3555e08dd6c172cd6dd3cd4de8698c0db374868c4716cdcc5ca75b0c5cb1728d19a4668cd8c23fca1b1b323fd6a932ecd19a2c0b946bc1233462e5233a71fc8e271fe8e268e11fc68e2fffbd2c4f081f03160cc0ff6d7863fb5d7d5ff5a2a8e27e69e6be56f1a7e69e69e6f1af1a57e6bc2b78dff3471471347147034704703471470347147134704703470471347147134714712c2389a38c7f1611c0d1c51c4b11fc68e28e0584712c2389a382381ae52e51ae5ae51ae5ae59ae5ae5945cb9ae52e596172cd729728d729728b0b9456b95e157280772ae5846e5046e5c1972c19728237281972bc0ee5dcb832388463881c708e2118e0071c23801c708e0071c63801c708e2071c23801c718e0118e00c8e2071c23801c718e2071c23804638e11f1bc19e330af1bee0cf1bc23e3423e31a0cb940cb95c23728197281972b03b9772ab065cb08dcb065cb708dcb08dca581dcab940cb940772ae57d5fe0cf1908f8de0cf1a15e3411f1a15e35fd55423e3611f1b5419e317f5e11f19f08f8d0678c833c6423e33f0678d81f8df1b5f33a38e8f3e1d21d43b49168319d0eceb83d0ece2c92270d155ae00e1856b28c69d355ccf736748c513290cda0f8b20eb808b24a844e99ee65219a9462891b3a65211c59044e9b41e44e96115532275155d151d3a33a38e8e33a3ce8f35a08b3232cccb3228599ccb322ccca8b419bf1df119f11f199f13f11bf13f1143e2161f88b113a5589d389c89d2c44e162270a44e3cae270da75a70da71a74b0d3a6d38d3a6d3ad386d3ad3856d3be56d3856d386d3baae56d39e56d386d38d386d3ad3a5355c56d386d38d39e6d38d3a5869d369c69cfef95b4e161a77a56d39e5869d28d3af2b69c2bd56f369c69d2b69c2b69d2ab4e1b4e34e1469c1b4e34e95b4e79b4eb4e961a77cda71a70da71a730369c69d2b69c2c34e7961a70b0d3851a706d3ad3a56d3a56d386d38d3a5869df2b69c3d5669c28d3b2c34e961a77ffcada73cada70a34ef45869c2b69cf2b69c2c34e95b4efe8ada70da71a74b0d3bb2c34ef961a77ca8d385869c2c34eecb0d3857665ffe58b322c599fecb16645766658b32ffe73fcb166657665e7665666766766458b32f2bb32e313316f31e1f6ee56bfff9beaf3144a96237c0851329f118e4335288e4333dccd9d35288d9d22908cc38248ccf4e183cd4a32908d4a3a588d4a33dc8c5132908c513528cca42528cca433dc8cf72290cca425288ca43290cdf03290cd4a2290cc5133dc8c512fffbd2c4ff03f49152ba0fffc5c651b59801ff5a901448cf72290ccf733dccb07b999484a511948428998a242891948628916144ce90e908ad448d44d44cd44d448ad448a2894b0a27e585123513a432ba42d95a8916144fcd44d448a8a246a24a266a24a2452909e58513f849f1c22f8a117c406f8df1831f1031f101be37c607f89f1845f1831f181be37c6117c606f89f101be37c606f8df1031f101be37c508be2037c4f8e117c6117c508d1308d1203a274482344b0651306513065138468941944c2344c2344a0ca260744a8901d12a270651383289c0e89d12f83289e0ca258468941944c1944a0ca2508d138468904689b8468941944e11a278328901d13a260ca2583289e11a2781d12a24f83289832890468984689032898328942344c1944e11a2706513f83289c2344f06512a8234481944a0ca260ca258468941944b8328976e11a2584689feae11a244c414d45332e313030aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaf2aa8207219b3a45243318a27c791a946a519a4c849198c1c7a7997c65f119fc47f19486126d651aae67f1a7c6517e21587c4617c1244661c9246661c124666ab9aac66ab0d3a66ab35966a082822634e2820566ab19aaca0896069d2b355cc69c5040acd563355cd562c0d3a574845144a56a24748748656a2658a4337e23e233e33e22c1f1159f119f11f1959f199f13f11bf13f11d21289161448b14847486a246a26a27e51449e585132c28981d13a2611a2411a260744e89832890328901d13a2708d1303a2544d82344e0ca240744e8981d13a2411a25846890328981d12a260744a890468903289e0ca2611a240ca2611a270651283289784689c2344c2344c234482344c1944c0e89513f8328981d13a2783289c0e89d1206512ef0669d8334e78474ec0f4e69de0cd3a11d3807a774ee11d3abc19a77ea7c19a760cd3bb419a7019a73ffff8474e8474effffc19a77ff08e9db3ffffd6bf9913a8aa1f9eb1631445566a510a2472198a24777c28226d65359675c09138644e11387163570651a0f9c59044e1a2a88aa14455e67b9948667b93e066ce98a26644ec592644e913a6d0722aa51a0f142274644e22aa644e913868aa1138644e341c644e113a552274aa44e1a2a844fffbd2c4e581eb5da6c00ffad4867d3597d5fb5f98e18d3834e19aac34e18d3834e18d3a34e958d3a581a74ac89c2b2274aa8aa9913a44e15913bfe644e113a634e0d3a634e0d38634e1aade5634e798d3834e158d3a581a70ac69d2c0a2662890a2456289958a245628998a2628998a24289958a27fe65210a27e0744e89046890468942344c2344c1944825448234481944c2344e11a2503a2544c234480e8951206512832898328901d12a240ca240ca270651306513065136e11d38c11d3811d390669c08e9c03d39a7019a7207a774ec23a740f4ee9cc19a7423a7607a734e0474e8334ee11d3a0cd3811d3a07a774e419a740f4ee9d03d39a7611d3bc19a7019a7023a7207a734e01e9cd3908e9cfe0c22742244ef83089c7089139f06113bf088d39fc1834e42234ebc1834e60c1a77f060d39e111a77c1834e84469df6c2244e550000001fcb08e06636ca8663496e6fe26366634fe069b4c32673aeae673a9b6586192b1cc33b73b63411a5531f94112b410383d62731f86263626626331b31a34b731a317e17e34b64b732982992c2a69594c194c94c795a089a0831318fca081a088fc9625e3979212b484ad2134825ef2be70ad203979203485203481213481203485212c24256d93e6b64db2d92c364db2d836c364af9856d82c360f9ad92b6c79b65b06d9e61b61b26d96c15f30db2d93e6b64db0d82b6c161b0589079c8243e7219015c80ae40720901c82407219079c8240720909c864056d92b6c1b65b056d8f36c360db0d836cb64b0d82c360adb056d82b6c9b6798586c961b056d92b9095c84e43202b9016243ffe589095c84e4121f2c480e4121390c84ae4057212c484b120ff2b907f95c87cb121390c84ae42589095c84ae425720390c80ae43e58909c86407219016240589095c87ce4320390484b120f2bbfff962fe577ef2c5ffcb17ef2c5f8aefc58bf9dfafde58bf962fde58bf1dfefe77ebf15dfcaefc577ef2c5fcb97d859c2ab88e7fa3cb0599194842891be04a51998724911aaf47a799fc43f19a7c4ff11978c122992ce71415948456a5119fc61f19553e232f8cbe232488c393248cc393183c60e31a70d5631a70d563355c69c3355cd573144c5123144851333dc8512314485122844e4d1554550a11383227089d2b2270afffbd2c4ff83f1c956d46f779446f42a9881ff7690d448d44e908d449448d44d44cd44d44cd44d448cf8df88cf8cf8ccf8cf8ccf8cf8cacf8ccf89f8cb07c6583e232f82f9360f2f92b2f832f92f932f92f82c17c960be4cbe4be0acbe3cef9be0ef8be4ef8be0ef9be0ef8be0ef8be4b17c15df258be0b17c1df37c1df17c9fc7f11fc5f115fc457f19fc7f1163e23f8fe2f2c7c47f1fc457f1963e32bf8fcaef82c5f277c5f277cdf277cdf058be4b17c79df17c15df077cdf077cdf058be4ef9be3cef8be4aef9f3f8be22c7c5e57f115fc457f1963e3f2bf8cfe2f8cb1f1163e33f8fe3f3f8fe33f8fe32bf88b1f115fc457f1963e32bf88afe22c7c458f8cfe3f8cb1f1795fc5e58f8cb1f115fc67f17c7e7f1fc458f8cb1f1163e22c7c657f179fc7f115fc457f17963e32bf8cb1f19fc5f19fc7f179fc5f1963e22c7c658f88b1f195fc47f17c457f115fc67f17c658f8bfcafe32c7c7e57f195fc658f8d5f2a2944630705f26c472af66abd8c1a661c9872693205f069320c1c510881978e4b3192463071a4ca49199e9e7a71987017c18c1e17c19c62b198dc2b118dcab11d21a891d2152179d21d2195df1160f88cf8cf88df89f88b14867ee4a25fe56a246a26a25e6a25485e6a26a27e67c47c5e67c47c667c67c6567c5e583e32b3e3324324232422432b243324324232422432c12199211219921252992112116090cac908c90c908c908908c90c908c90c90cac90cc90c90cc90c908c90c90cc90c908b048664844840c5f2115f00c5f108af8035f2be2115f18457c6115f20690d210452101a4294a1148406909218312140d21a4308a4208a420624281a424861148406909210452101a4348508af9c22be206be57c0317c8457c8457c422be60c5f2115f20c5f1035f0be418be2115f20690d2181a424840c4840c4840c4840690921e11486114841148606909210452181a43484114860c4870348490c229080d21a4208a430624208a4308a428317c0457c422be40d7caf9062f9062f9035f2be40d7caf8f062f98317c8457c0457c6115f3035f0be018be422be3fffff08d12f2c3d10653614da6a7ba2e442a7a1a9eea7b9a3362e518b971aa9445cc6374b0f2564019957055c1437be63748dd2653694d863c68f1863c6adbc6b6f8f1a53cdfffbd2c4f103f43180ca0ffacdc623b25881ff59f847e6be687e68f1a57e6857e687e6af187e6be687e69e6a6f1af145478a3f3578c378d78c378c78d378cf352c3c61478d1bc63c6961e34ade30adba4dba0d9bcaadd2566cc583672b36633676e834704712b8fe38fe4702c2389611c4ad1c4d1c11c0ad1c0d1c51c0ad1c0d1c11c0d1c51c0d1c11c4d1c11c4d1c11c7cb08e3e584702c2389a382389611c4b06cc583672c1b319b39b399b31b3f959b399b31b3959b3960d9ccd9cd98b06ce66cc6ce66ce6ce118e2071c238c191c4191c7038e11c40e38c70038e11c4191c4191c40e38c70064710647006470038e11c0191c40e3847084638e0c8e0118e00c8e00c8e20c8e308c718323804638046388463881c708e20c8e2118e20c8e2071c238c191c0191c0191c0231c40e38470c0e38c7008c708323804638c0e3847108c7108c7006470606470c231c60cf1bf57ffffdffffff846e5e0cb94a00002f30be4c3831084420332746f434224bc73259824431839265263070b039c183701c6961c14d2938a4eb9158cdce0e30eb95588eb8ce3cd58ce3cd589588cbe648cd83cbe0d83f0e0e48a48cc90c90cc909c14c909c14d295290cbe248ccbe1838d83cbe0cbe183cd83cbe0cbe1838cbe4be0cbe4be3cacbe0b05f2569485648664844845694a64864846486487fe6dc3706dc3706dcb706dc37256dc9638f2c370586e4db86e3cf8f6e0f8e6e4f8f6e4db96e7cb0dc1b72dc161b82b6e3cdb86e0db86e3cadb836e1b82b6e0b0dc9b72dc961b936e1b836e1b82b6e4db86e4db86e4b0dc1b71c71a9aa61d6ea615a9856a69d6ca61a9aa695a9856a69a9aa6f95d6e56a61a98a69a98a69614d2c29a56a67962432b90fffcb121f962422c485e572196242f2b908e43908b12115c87e572115c865890bcb121f95c845721ff9c8521162432b90bce4290ce4390bcb12116242f2b90cb12196243f2b90fce42908ae432b90ce4290cb1211c85211c87211c8721f95c85fe5890ce4390cae432c485e572115c87fe572195c87e58908e42908e43908ae43ffdbf587ccf8af88c7054224d7aa4ba8d7e30f8ccfe21f88d57a248cc2f80be4ce281294b04b319c5097518e0a4b3197cfa79fa7e1c197c97c9fa7307997c17c197c61c9df1df119f11f19df15fffbd2c4f303b38556ce4ffba9d6c3a41945eff822f199f15f199f1bf199f19f19df15f1160f8cdf8cf88ef8cf88cf88f8cb07c467c4fc66c1e5f065f05f265f0c1c6c1c5f265f25f265f05f265f05f065f25f065f25f26c1e5f256c1fe582f832f860f31b838d31b91b931b91b931b81b82b1b931b81b92b1b831b938e2c0dc18dc1c695a5279921921992112116090fcd295290c908908b048464864865824332434a531b81b831b81b931b81b92b38f2c1c7160e34b0372563705838f2b1b831b81b831b91b82c0dc9606e4c90c90bcb04845824232432432b24332422432b2422b2422b24332432432b2422c1219921121f960908c908908b04846484485e64864845648658242f2c121959211592116090bcac90cc90c90cb048664844866484486564866486484564846484484671c3706ac6371e637071c6372370637237063723726372372637237063723706370372581b931b81b82b1b82b1b831b91b82b1b92b1b82c0dc959c7158dc98dc8dc98dc8dc79606e7ffffeef34bdd4378ce2398c633b8a623188e23d8a62338ae23578c737dd5f2c1c65771985e3d98f6d59abc17163c634bd2f32248939ed2e32232137512e3751d5375488f34bdd534bd2f32208939e92f32212f32248934bc892b4bcc88224d2f220ac882c11269711058882c4495c41c44495c41c4c415c415c4162a0ea514ad14ad14b0887508a68a8bfe75088584434545344a8345a82c221a2a21a2a29a2229a2a29a2221d4a29d4229a2a21a2a29a2a215a21d4221a2a29a22295a279a2229a2229a2a29a22216114ad14ad10ad14d1114d1513cd1110ad14b15268a8a56885689e5844345442b442b4534544345452c229a2a29a2a296114d1517cd1110ad13cd1114ad14ad14b08a68a88568a568be68a885688588938988f2b88f2b88f2b892b89f2c447fff95c496220ae24ae23cae20e2624ae27cb11056c5e5863363622c3115b115b19b1319b13115b19b1b11b13195b116188b0c5e5863f36263f2c3195b11b1317f96188b0c60c44ffff84513fe0c4404513e0c44fc188908a2708a27cc484e74d866254aec44c97d36cd860484dd5ce74b073a64bf12a69b424265841b261ac9585825e312039c325e894339d757312025f2b619312139c3120120325f4db31201213121fffbd2c4e403eff9ace40eeeb7c67f361b01ee56f01203120120312125e3121120325e25f325e4da2c12f192f1ce18909ce996106c160730b01b063981b063981b0580d9f2b909c8240721909624058901c8640721901b679a586c1b61b056d92c363cb0d92b6c795b63cb120390484b121f2c484b121f2b9095c84ae4058901c86405721ff2c484e4121f390484b1212c484b120f2b909624056d82c364db2d936c360db2d92c360db0d936c364db2d82b6c95b64b0d8f2c360db0d92b6c95f34b0d82c360b0d82c364db0d936cb64db0d8f36cb64db0d82b6c7961b2586c15b60b0d92c360db0d936cb64adb2586c15b60db2d82b6c79b65b056d92b6c7fff961b3e56d936cb64db2d92c364b0d82b6c161b3fe6d96c95b60adb211907846400c90c192006482072190c232106484232006483e0c90c1921c0e4120064802321c19218464308c841920f846401190c1920064861190846400c9060c908324384641c192106483f08c842321af3210329369d2693340190343f32830fa66d366d89d35569b2332843e355643f35569b2389d66c327a1d4346c27a33c746c2882d31910ba2b26937840fa321055630fb210343f32832103292b3292b3292b32830fb210321043e3210211321121030fa0fb3843282b3e8f28840cfa3eccfb3eccfa840b10819f47d99f67d99f70899f47d19f67d15c2267d9f7e7081f467d1f5e567d99f47d159f667d9f6583ecacfaff2c1f4583ecae1133ecfa2c1f6567d159f467d9f667d9f6583efcafefcafecafe8b1f458fb2c7d9fd7d15fdf95fd163e8b1f457f657f657f7e57f658fb2c7d963e8b1f458fa2bfb2bfa2bfa2bfa2bfaff2c7d95fd95fd7ff95fd163e8febe8afe8afebcafecfebebfffcfebebfcfefebcb1f458fa2c7d15fd15fd1fd7dff9fd7d163e8fefecb1f458fb2c7d15fd163ebcfebeffffcafecfefe8afecfebecafecb1f658fb2bfbff2bfb2c7d95fd9fdfdff9fd7d1fd7d1fd7d95fdffffff95fdff9fdfd963ecafecafe8febebcafebfffcb1f657f47f5f5e7f5f7fe57f67f5f47f5f5e57f7e58fbff2c7d15fd163ebfcb1f657f7fe58fb2bfa2c7dffff9fdfd95fd985e171611230b82f3a39f7357a8e30b91337c8cc31649334495e331d13324c583248cd30bc7a37d8c630b8c73248cd33301d31fffbd2c4eb83f475b2d80f7774c5b935dd81dd66d8609331e8c630bd1230bc7b30b87a31ec2e2b578c7a44cd130bcb063985c3d9602f30bc2e2c05c63d8f666305e61705e563d985c17985e179aef456bcd7ae2bf46b97961795ae35eb8b070ec1d33a70b070b070b073cb070ced9ff2b5c56bcd7ae2b5c585c6bd7ff9af5c56bcb0b8ad796179617f95af35eb8d72e2c2e2c2f35eb8d72f2b5de6bbd962e3bae2c5e577f9df79dd7162f3bee3bee2bbbffffcefb8b17f9df779dd7962f2c5e577ffff9dd795de57715de57715de58b8eeb8eebcefb8aee2bbcefbbcb177f95de58b8efbceebbfcb1795dfe77dde77dc5777f962f2bb8b17162f2c5de77de775fe58bcaee2c5e77dc775c77de57715de5771dd7962e2c5e58bcaefff2c5e58bffcb17795ddfe58bffcefbfcb17f9dd715dde57715dfffffe58bcb177ffffffff95de5777ff95de577962f2c5c57715dff31a71aca3861eef93355daca37c0a43335288f7337c094a12b3dc8c2f91838c92255e8eef81a70d4118610c2f83d38cf4e248cd26530e4a0a27285214d9d22908a86ab1a822a08160d5636b28d5631a75acb3355d41033558d572b1a70c69c1a74d4111a74b034ef98d3a34e9d21289f9d21a891d212899a892899a89a89f99f11f1962f88cf88f88acf88cf88f8cadf8bfcdf8cf88cf8cf88acf88df88f88acf8ccf8df8bccf8cf8cacf8ccf8cf8ccf8cf88acf8ccf8df88cf8cf8bccf88f8fccf8cf8ccf8cf8cacf88cf8cf8e117c414f8a06f8bf101be37c6117c4137c4117c6117c7063e3063e2063e2037c4f8c23f8823f8e117c406f8df1845f1845f101be27c4117c40c7c508be2063e3037c4f8c19f8822f8c0df1be20651203a2744a0744a89c194480e89d13065130651203a2544c1944eb81d13a260ca240744e89f853e3418f8818f8818f8c22f8823f8c0df13e381be27c606f89f160c7c6117c7037c4f8c0df1be2037c6f8c0df1be281be27c606f89f1831f181be27c40ca2611a240744e8983289046898468903289419448194480e89513832890328983289c0e895120651281d13a240744a890468983289c23448234480e89d13d0eaf5c19a76dea8474e8334e2bffef0669dfffffd5e6498b0751af860e372684a86587c8ccdd48c59074cb41b8c6e358ccc160d08070fffbd0c4fa03fa5daac20ffad4c5bcb45e01dd62d0d43164ad433164933165092b24cd09248c58164c93420c59164c1c160d09160ac923420923164583074cc2c03860e0b2562c79601d3070593070932b074c1d070ac5839614d4282b506a029840a61429cb0a585264489608990225644c8bd32040c8912b206408991225644b0f4c81032240c81032240ac816081608191205640b044afa7de796387de7963be7de95f4af858e7f96225703840e302c44b11f38c3cb1038c4e312b8f962070895c4b1d3e70b1c3e74fbd3ef4fbc3e74b1c3e74b1d3e70f9dff2c73caf9e58e79f79e7def95f7cafa58e95f0b1d2be16387ce95f7cafbe58e95f4b1d2be163a7de7f9f3857d2be963a57c2be95f0afa7ce15f4afa7ce1f7857cff2bef9f3be57dff3ef0b1d2c74afa58e963858e963858e963857c2be1f7a57cfff2be95f0b1c2be1639e57c2c70b1cf3ef4afa58e95f0afa58e9639e7ce163858e963a7de15f4b1cf312012035a04ac34ad1cd31cd3b635a05a0322b47131991992c09a982989a960398c650398c3612b0cb08edcc730730cd34418c1d4660c1d4664c48097cce70e70ce74484c480480c360360c734364c730364b039a65841b265841b2561b0580d92b0d93831d4acea7063a19d0ea707cc99d4ea63948958e0c703831c39bcc723931c244c703832994cb05232994cb052ff2c14cca6c3f2b29160ea56742b3a19d0ea6753a159d0acea56752c1d4cea7533a9d0cea74fff2b5015a80ad41e5850f9a8541ffe5850959d4b074f2c1d4ce8752b3a99d0e8570633a9d0ace8583a959d7cce874f2b3a99d4ebe56ea6e8ea56ebe56e86e8e86e8e86eaea6eae9e587537474375752b7537575374742b742b74f375752c3a1babaf9baba95ba961d0dd1d0add4add7cb0e856e858752b742c3afff9ba3a1ba3a79baba9ba3a161d4add0e8280b1427434258a02ba02ba1f2c501d050796280b14058a03a1a12c50796284ae80e8687fcae83cb14058a0f2ba1fff2c5095d016287cae87fcb1405741e74343fe74143e5741e74141fe58a1ffff2c5095d0f96283cb143fe574258a1f2c28206c48311e6abd8c1e65f197c667f137c67e36a8226d65a82263f197c661f11fc667b99ee662899ee64d41099aaea089b5966ab98fc63f11a7c63f118fc4fffbd2c4f003f3f1a2e20f7375467ab55881ff5a685f198d3834e18d3ad6618d3ad6518d3a6ab99aae34e959aae66aba820634e1aac57aac58d57369cd56cca34e4b0d3856d386d3ad39fc2c34e1b07b07997cb07197c3071c91307997c17c160be0b05f2565f26a26a26585122c28915a89f95a896bfcd44d44cc90890cac90cc90c90cd294908b04865648456484648448656486582423242242324224333e33e233e33e32b3e32c1f119f11f1160f8cacf88cf8cf88cf88f8cacf8cb07c667c67c467c67c6583e3037c4f8c18f8a06f89f1031f101be27c6117c7063e2845f1418f8a06f89f101be37c4117c60744a890328960ca2411a240744a89046898328981d12a240744e8904689c0e89d1284689708d1308d1283289e0ca27c0e89d12c2344f8328984689032897f81be27c40c7c406f89f1845f1845f17063e308be3063e3037c6f8c18f8822f8818f8822f8818f8f063e3831f101be37c60c7c406f8df1611d3bff8474eefffff7fc23a77fff42af314d42032684ee3268340355666c332966d3328556332832830fb43e2c21f1a1f9081908a1f1a771a019341a01a7705d99348c898c80c819341341a1015b98a68a698a615b9ac515b190887d187d07d987d108190819479595b995b8a698a68a61595b15aecad746bb5d95aecd76ba2b5d9ae976585d1ae974579035d2e8d74bb35daecd74bb344220d112f344220b088344a20b088344220e5e89344a20d12893e2e22c311f1b11f1311b13195b196388f8b88d8d8cad8cd8d8cd8988e2624e2620e2624e2220b113e5710711127131271113e58893898838988388883888938989f2b88ff388882b89389882b89388882b8938889389882c449c4c415dd7962ebceeeecb17477776775747757658bb2bba2c5d1dddd15dd962efcb1745777e577458ba2c5d9ddddf9dd5d95dd95dd162e8eeae8b176577458bafff2bba2bbb3bbbb2c5d9dd5d795dd1dd5d1dd5df95dd162e8eeaebfcb17458ba2bba2bba3babb3baba2bbb2bbb3babb2c5d15dd962e8b17658baf2c5d15dd7962efffceeeebcc3e21f88ccb92b88d23a48e8c85e162ca10bc31838f4ed9a4ca17c9924617c987c67f119fc43f1187c63f11613e231f8cbe2309087042b259cc7050908cfe21f8cac7e230f883e332f88be230f8cbfffbd2c4e803f01956de0f73748691b259c1fedab8e231f887e32c07c6503e3987c63f1187c41f1987c41f1187c61f19587c7e7f17c657f19fc5f179fc7f115fc458f8bcafe22bf8bfcb1f11c852195c865890cb1211c872116242390a43390a42f390e432b90fcae42390e42f390a43390e42390a42f2c4865890ce43908b0dc961b836e1b836e5b92c370586e4db96e0adb936e5b92c37256dc1b72dc9b70dc161b836e5b836e5b82b6e0b0dc1b72dc161b92c372586e0db86e7cb0dc95b7056dc961b92c3726dcb70586e7cb121962422b90cae422b90cae43390e43390a432b90cb121f9c8521f9c87219c8521f95c86721487e572116243390a42f2c4865721ff95c8458908e4390bfcae43390a43390a432b90cb1211c872116242390a432c485e72148658908e4390c1890e0c48508a4284521c1890a0c484114840c484069092181a4348508a4383121422908189082290a0c4850624308af808af8ffe0c5f1fff8457c0457c5500002f317f4b633b769735a12c23ffd655317f7f1331bb28365417f312125f325e619317f98c331a17e317e31b3b294b62c18d19611611a5616199db0e698bf8bf9a5b8bf1a5b25b998d98d18bf0bf998da5b18bf18d98bf25b198d98d98bf18d1a5b18d958bf95a5b9afcbf9afcbf79617f2b5fcf1a5f8d7f5f8d7e5fcb0bf95afe6bfafe56bf1afebf1631b2b480b0901625f2c24269024072fa40690242690a42690a40690a406902406904bc58483cd2097cad202b483cd20484ad203481212b480d20484ad21f397920f2b487cb0909a429015a4256901a42901cbc901a429095b9be66c1b066c9b2566c19b0e6960d82b364cd9360dcd360cd8360b06c159b058364cd9363cb06cc237ec197ee11bf60cbf046fde11bf60cbf846401190846400c9081c86420c90046420721900464007219081c86400c9003243039048607219060720900464306484192106480237e832ff065fe11bf40efd7e08dfc0eff7f08dfc197f81dfefc0cbf81dfafc11bf40efd7f065fb065fc197fffffabfffff065f90403cc4102950c62707e0d6dd07e4c83d1044ce8107e0cc6a2954c6271898cc6a1044c41120f4c6541950c7f00c68c411189cc62620f4cc6b20f0d2ddfc4d9505f8cc68c68ad044c7e2950e0f47e4e0f20f0b0c4fffbd2c4ec813099a4d64f76b556e6315a95ff71bac56c4e56c4e63f23f25682068223f263f28226c4c3f2581f8341141131f91f92c0fc16189cc7e1040ac7e0ac7e4c7e07e0c7e07e7cb0821e563f0563f062422426240240624224256240581202b12131201212c090960480c480480ac484c484978c480484ac480c484978c484487cc480484b02425825ff2b1212bbff9dfefe77fbf95dfcb17e3bfdffcefd7f2c5ffcaefc77ebf1dfafe58909c824258907f9c86425720390c80ae4058901c86425720390480ae4057212b90f95c84e4321f2b90962427209095c80e41202b901c86427209016240720909c864257202b909c82405721390480b1212c480b17e2c5fcefd7f2bbf95dfceff7e2bbf162fe577eff2c5fbcefd7f2c5fcaeffe58bf95dfffcefd7e2c5f8b17e2bbf9c8243e589096241e5890962427209016240720901c864057202b9016243fe589096242721909c8642589095c83ce41212b9015c80e41212c7e3fcaff3fffffffffffe57f9ffffffff2c7e55f314d6f4319169c334141731d5320308946c341734134170ba33211d5332112f2c0b198f18711897990984413d984493d9a0b85d98c80c818c81349a995b1a98a69a98a6962b633ea1133ecfa2c1f467d9f458537cd4d534aeb62b534c894b8c894b8d2e4b8b0441a5c44f9b1b11b1311b13115b11b1f11b1b11b1f19b1711a2d41a2a279d42295a21a2a296110ea510ea510d1510d8d8cb0c4586336263363632c311b1319b13115b11618cd898bcae20ae27ffcae23fce2223ce2224b111e71311e577658baff2c5d95dd962ecb17458ba2c5d95ddf962e8aee8b17458bb363622b63362632b63362632b63362622b632b622c311b1b11b1b11f1b115b11b1b195b179b13196188b0c66c6c67131058892c44795c495c41c4c495c49c44496224ae23fce2623cb11258882b892b89ff2b88fff2c441c4441c4c416224e2624b112571057107131271311ffe5712571258883888938989f2b892b89ff38889389892c449c4c4f96119a39a1cdee361e4a6d3914c8ff336348ff31534d6c2b563cc6191d5cc4db0978ca5507e4d09920f0c8022ae4cd6c1534c2980a60cdef1ba0c3660d98c3671ba4de31e28aaf187e68f1a6f1af1a54a6d33663672b6e936e836734714712b8ff38fffbd2c4e483ecd556e20f776ec706aad981ff75f8ff47038ff4712c47f1594c194caa6194c94c994c14c194caa6194c94c15a08958fc18fc0fc1a080fc9b132089a08a081a088fc158fc98fc8fc98fc8fc98fc0fcf98fc8fc9607e4c7e07e4b03f0563f2581f934101f831f91f92b41031f841031f91f82c0fc1607e4c7e5044c7e47e4ac7e0ac7e0d0407e4c7e47e4d0447e7cd0447e0c7e07e0ac7e0c7e07e0c7e47e4b03f2563f263f23f063f03f0581f9ff2c3f2587e0adf82b7e7cdf97e0b0fc1bf0fc1bf0fc9bf2fc795bf056fc961f837e1f937e1f9f2c53258a64e99a67ce99a64ae992c53274c53258a64e99a64e99a60b14c1d314c95d3274c53074c53074cd32574c95d3274cd3258d9bcb1b3963672bd9fcaf662c6cc7b36ce7b3ece57b3ff9ecdb316367f2c6cc57b3795ecc58d98b1b315ece57b315ecc57b395ecc58d9cb1b3963672c6cc58d98b1b31ecfb3ff95ece58d98af66ff3d9f663d9b662c6ce58d9bcb1b395ecc58d9caf66f2bd995f31a74d5738745265324902f836f8cfe233f8d3e33674ca43367494a23248c2f930be02f831f893e334f8c7e232488c392a0c1c661c124657ee67484a267485ee46a25ee47ee4a2457484748548656fc667c6fc456fc4587e23512a422c5211a89d211a892899a89a8919f1bf1943e2f99f19f1160f88acf88df8df8fcb07c66fc47c7e583e22c1f1f9a52121192125219219219a5225299219211921a52f9a521219a521211a52121997c97c960be4cbe5838cbe0be4acbe4acbe0cbe4be4acbe0cbe4be0b05f265f05f3e577c1df17c1df37c15df1e77cdf058be7cef9be4ef9be4ef9be4b17c962f92c5f2577c95df058be4ef8be4b17c1df17c79df37c962f83be6f83be2f82bbe4b17c795df0577c962f8f2c7c47f17c7e58f8bcb1f115fc7e58f8bcafe22c7c47f1fc7fe7f1fc657f1f963e33f8be33f8fe22bf8cafe32bf8ffcfe2f88afe22bf8bcfe3f88fe3f8cfe2f88afe32bf8bcb1f1163e32bf88b1f17963e2fff3f8fe32bf8cb1f11fc7f1963e3ff2c7c5e7f17c5fffffe7f1fc7fe7f17c657f1f963e3ff2bf8cb1f179a08f40992f5881a6d30c9b137401a08a089545f8b131a56ca8731afe2696ecaa73182fe68234aa63f10787078c4e74a83f0563f063f0c4e70798d674a8820fffbd2c4e783f1f556c80ffbadc667b3da41ee572078d43f06822820682082056c4fe682082063f23f0584112c0fc158fcf98bf0bf18bf8bf198d8bf960c68acc6cac5fffcd0447e4c7e07e3fcc7e5044b03f27f8fc163f057f93fc7e7cb1f92bfcff9fe3f27f9fc9fe7f257f82c7e4b1f83fc7e0aff3ffe58fc1fe3f2577f2c5f8eff7f2c5f8efd7e3bf5f8eff7f3bfdffcb17f2c5fceff7f3bf5fbcff1f82bfc1fe7f258fc1fe3f058fc9fe7f07f8fc79fe3f3e7f8fc15fe0b1f92c7e3ffcb17f3bf5fcefd7e3bfdfceff7eff3bfdfceff7ef2c5f8efd7f3bf5f8aefc58bf162fc77ebf95dfcaefc58bf60cfc047f207f8fc833f1067e211fcc0ff3f9c23f9067e611fc033f011fcc19f808fe60cfc033f108fe419f9c0ff1f9847f007f8fc847f011fcc19f803fcfe419f8c0ff3f9c19f8067e60cfc047f303fcfe703fc7e607f8fc423f808fe3847f00cfc033f211fc047f007f9fc847f381fe3f3833f00cfc833f3c23f9833f103fcfe40ff1f85f34b617e36544b7317e7f1378c69630d95a03b2898d331b7f02b39c325e619325e121375712131cd3b732c20d931cc697315c0a02c16b990d8ae198da5b98bf25b998db2a18bf18d9a43ce9a432f9a40901a412f9f39ce9f3b2f9f392f1a42901612034839d2c24269024072fcbc690242690a406d96c9b65b26d86c95b60db0d836c360db2d92c360f98d82be695b60b1cd36cb63cb0d936cb64b0d82b6c1a814056a1350283cebaa12b5015d73cad426a0509a814275cae1624057212c483fcb1212c483cb121fff2c483cd42a0350a80d415d350a80d42a0350570b0a0f3ae574ad4258509a85426a15015a84d42a0350574b0a02c364db2d836c364db0d936c360db0d82b6c1b61b06d96c961b3e6d96c1b65b06d86cf95b64db0d836c360b0d836cb64adb258e6961b1e586c95b64db2d92b6c15b64adb26d86c961b26d96c95b64b0d92b6c961b06d86c795b60b0d92b6c961b2586c9b65b1e589016241e5720390480b1202c484e4120390c83cb120390c84b120390c80e43212c480b1202c484e43212b909c864057212c484b1212c483ce4321000fe62a690046401957256d7c1a044401990048111a046401158532620814aa56208987383ab184bc3ab986343f81931a32a9863432a98c4e41e9907fffbd2c4ea03b2f156da0f7790863b335a4dff5618a2081882220898a9a14c9900655c985328111853214cf9c014019aa694c994c94c194c14c994c14c1aa62a6194c94c960a64c7e47e4ac7e3fcd0447e4b08225825e325e121312025f2b121325f25f2c090960978c4844860cfc847f211fc01fe3f011fc81fe7f20cfc01fe7f00cfc047f20cfc01fe7f00cfc833f20cfc847f103fc7e60cfc047f207219001c86420721900324108c800e432108c84192006480232103904840e4121833f011fc01fe7f103fc7e3e0cfc033f007f9fc047f011fc01fe7f007f8fc419f908fe308fe211fc047f00cfc847f207f9fc847f20cfcc0ff3f8067e7067e023f808fe40ff1f9067e211fc033f011fc833f3833f303fcfe3067e00ff3f908fe019f9833f20cfcc23f903fc7e019f808fe023f8e07f8fc40ff3f8833f1067e423f9847f207f8fcc19f9847f207f8fc033f211fc847f00cfc033f1a99d67fa933ccc957f313fea3d51f6a55f31a7069c3183d26534990c3934f8d3e236f88fe235f8a7e232f88fe331ce038c31588cb934a59673bc724235635633739738338f90f34a470437054a5324324237e3be32b7e333e2be337e27e32b3e333e23e333e33e233e37e22c2899a895211a89d21f0b0a2456484648648456484648694a648648456484582422c1211921a52159211592199219211592119211211fc5f17f95fc457f195fc5fe7f1fc658f88ef9be0b17c1df37c1df37c1df17c9df17c15df2577c15df277cdf277c5f277cdf3e577c962f93be2f9fff2bbe4ef9be4aef93be2f8ff2bbe0db96e0adb836e5b836e38e36e78d36e1b82b6e4db96e3cdb86e4f8f6e4db96e4db96e4db96e0adb836e1b92b6e0e4390cb12115c84721c84572179c87211c852195c84721486721c86721486572195c865890cb12179c87219c87219c872115c8477c5f0577c15df2577c95df077cdf0577c95df258be7cef8be4ef8be7ffcaef83be2f9f3be6f82bbe4b17c962f82c5f1e577c15c867214845890bfce4290fce43908e4390ce4390cb1219c85219c85219c872116242390a43390a42f2b90bfcb121ff95c87e721487e62898a2462891ee462890a26541f88c3e27f88c5121444f3c2144ccf4f0be4c2f93d3ccf72674cc5133dccd57a4990b061c985f217c9ff1fffbd2c4ee03f47d56cc0ffba9c6beb5d901ff59b0bf19df11f11bf1df19c9117c94922997c97c1c91b07645144c74874847ee6a25c3a4251335125133a4251335135132c5f19bf1bf19bf11f199f11f11bf19f199f19f195b07997c17c997c97c9b07307960be0cbe0be0cbe4be0b05f3e67c47c467c47c6567c667c47c4583e22b3e32b3e22b3e333e33e28457cc22be40d7caf98457c01af85f211c1e115f0b062f903c1ebe018be418be00d7c2f8062f9035f2be018be40d7c2f908af908af8062f9062f881af85f0115f006be57c8317c01af85f2115f2115f20783d7c0317c0457c0317c8457cc198380d7caf9035f0be606be17c40df13e3063e2037c6f8f08be2c0df13e3037c6f8a0c7c406f89f1031f16117c5037c4f8818f8c0e89d12c2344819448194482344a11a260ca2411a260744a894234482344e11a240744a89f06512c1944e117c606f8df1845f1845f140df13e3063e2f063e308be3063e3037c4f8f063e2063e3063e2063e308be2831f1031f142344aaf83289ff06512846897fffff08d130651354c414d45332e313030555555f2c113a6ce9be046f81a9467a1d687668aaa2a87e79a2a86d07341e6491924469329244513e39afc65f199484f8199ee6a5118a262899a94428999ee628918a262891be062891a94452118a2452199486a51191388aa1913844e9a2aa44e9913844e9a2aa44e1a2a844e9913a44e9511542b2270a1f14aef8cacf88a1f17cb0fc4585122b5123a43a43f2b513f35125132c28981d13a240744a8904e8981d12a25c0e89d1308d1203a2744c2344c1944819448194480e89d1275c2344b03a2744c0e89d1208d120651284689e0ca2703a2544c1944a0744e89c1944c1944e11a240ca2411a260ca260744e894194482344a0ca2708d120651208d1206513df03a2544e0ca260ca2613a2508d1203a2544982344fc23449ffc19a770669ce11d3b08e9c08e9c08e9c8474ef68334e230669cf8334ee11d3bedfe0cd39ff84b4e0474e3c19a737fc19a774fb7ffd1a8ac5ca3172d7853ebdc5cb2b5e0cd19b4668a2f083bc90bb3285d90ca6d29b0d1730d98e3545e10d7855e08c47023f8db3711c4a11fc32ec8bb23466cbb234668bb23172978328bc20ad7853466d19d32eccbb334674bb22c233450bb2fffbd2c4d583e9c98ec40ffad44632b35881ff5a9879a3345d915a336562e5128b9671fc8e068e28e068e08e068e31fc568e271fe8e25836733666e82c1b3959b3159b3159b39b749b3160d9cacd9ccd9cd9fcb06cc566cc566cc66cc6cffe566ce566cc566cc66ce6ce5836633666e93366367336736636e83662b36636e86e82c1b3960d98231c4231c4231c0191c4191c4231c0191c4191c0231c58191c20c8e2118e20c8e00c8e1038e11c0231c4231c4231c40e38471c191c6071c638846388463840e38c70038e31c00e38c70038e11c0231c40e3847108c71c0e3847181c718e00c8e2e0c8e2118e00c8e18323881c708e0118e211b940cb97f03b9572c2372af065ca81dcab97f832e5f03b9572c0ee5dca08dca03b9772c2372f81dcbb9411b940cb97fc1972e11b940cb94e11b940cb95ededde0cb956846e5fff09dcae12b960000001fcc2994b64d58f35b0cd6f1530d2d835b0d0220a60c31b2ca4c17e05f8c4b605fcb00bf18c303ab18eac30c98822208960c6b31040a55319544b630c6831b3195031b3200c29831534ab830a648022a0532581534c2990a60ac54c2c0532562a69602982c0a98614c05305640116031b305fc4b72b0c68b018d16031b305fc17ff2b7e3cadf92c3f0587e0df87e4df87e4f1b5fcb0bf1afcbf79617eff2c2fe6bfafc56bf95a42690a4072fa4272fa40690242690a42690242690240572f9a40901a409015a42690a40690a40690cbe690a4269024256901a40901a40909a42909a412f1a41ce9a42909a4090961202c5f8aefc77ebff9dfafde577ff3bf5f8efd7e2c5fbcefd7f2c5f8b17ef2bbf15df8efd7f3bf5fbcb17e2c5f8eff7f3bfdfcaefe77fbf162fc77fbf1dfefc58bf795dfcaefe77ebf1dfafe77fbf9dfefc58fc1fe7f057f93fcfe4b1f82c7e4aff1fe58fc95fe0aff258fcf9fe3f258fcff95fe0aff1e58fc95fe0b1f92bfc1fe3f257f83fc7e0ff1f8f2bfc9fe7f3e58fc9fe7f257f82c7e3cff3f92c7e4b1f83fcfe7cb1f8f2c7e0ff3f82bfc9fe7f257f9ffffcbf79dde6bf76bb87ef58ffffef3cf9bfdd65909587c663f127c65455e4d2641838c9224994c9221830c66c0ca4c0fa0ca4cae20e34c5632438cbc71290cbc638a4ad2642c05f0617c8c1c787124465f2c1fe7485485d3f72fffbd2c4ff83b74592d26ff796ce783199c1ff75a8a433f73512314c4212c15b9a1095b195b15b960be4cbe0be4cbe5838d838be4d838be0c6e4e30ce386e4d58ce38b071e563706370372582422c252960908c90d297cac90cc908908ac90cadb936e1b936e38c36e1b82c37056dc1b71c61b72dc9b70dc9b70dc162f9f2bbe4ef9be7caef92c5f3e577c15df058be0aef8390a422b908ae422b90cb12196242f2c4845890fce43908e4390ce4290ce43908db86e0db96e4db86e4b0dc9b72dc161b936e5b836e5b936e5b936e1b92c370586e0b0dc1b72dc95b7256dc1b70dc1b72dc9b72dc1b70dc95b7056dc9b70dcff9b72dcf9b70dc9b72dc15b70586e0b0dc1b70dc95b726dcb71e586e4b0dc7fffffffff95fc658f8fffffffcafe2ffffff390a43390e42f2b90ce43908b12195c86721c86721c85e5721796243f2c4845890cae422b908e4390ce4290cae422b908e4390cb1217fffff962f92c5f3fffffffffe58be7ffffffffcb17cd5f2c0a266f813e066289b3a462529c5265e39c50512651a4ca61c96096631294bc632f1cbc731294bc630e30ae532b8c90f3158c38f32438ae33158c1b82b0e34a8491985f04929924630798c1e3079978c71498948121184847141589486289948665210a2462898a26581448aca432c0a2462890a2456289958a27e58144cb1f17ff963e23f8fe3f2c7c5e6dc3726dcb726dc370586e4db86e4db96e4b1c79b70dc9b72dc1b72dc1b72dc9b70dc1b72dc9b72dcf9b72dcf9b72dc95b70586e0db96e0b121162432b908b12115c865890cae43fff2c486572195c85e6dcb706dcb706dcb726dc37256dc15b7256dc9b70dc161b92c372586e4adb8ff36e1b936e5b8ff390a422b908ae422b908ae432b908e4390ce42908e4290ffcb1211c8521962422c484721486721c86572196242ff2bbe3cb17c15df058be4aef82bbe4b17c95df258be0b17c9df17c79df37c95df277cdf258be3fcef8be3caef82bbe7ce4390ce42908ae42390e43ff2c48457211c8721962432c485e721c845890bce43908e42908ae43f2b90cae422b908ae43f390e432b90cb121e11a244c8532310ce157e3496d8d93103fcc48c61f831931cad5270ae8192a1276cb51950b27064a9958b034403a095cd245b3b7114c8a46353c2ce1fffbd2c4ea83f37d5cce0ff6d7c60934de41cd6691444353298d52a832342b64c8a324908d5644353aa8444a1cf46b3f9a6506a968b563fea8af41bb1a648798f1e63c898c266f07155e133b3428486c913c33670cf9a295866cf19e39485681a081a081a1e129c677e57e1a07cacd338ad120ecd23499f1de8cc44d0f8ce46e19e819c990a0fe52909c5101a089f871a3e54287b64d19551340e34117fed19e91222672049f133f1b24748b928d4a8f709b9371d2478a3a26e891e375d22fc75f375b28f33ce909bd76cecbc9301f81dc82ceab0a9713b93676594f58edb49da3bef3c2f3bb03b6b1cbdf772e8cf0b4730257481e26ecdc70de789b62ab46d344ae916a6e3981b8f916a586c6b29d8d916c6f3a6eb84df9bed5b98379ee61f52c72bd3d3dc87e821ca177e00791c393b87227f2cd69c7ddc7a067703cc3b0ee47dafcbe61fbad63ee01800661f807c0111c7079e00600181e7819600647aa47e30c10cc641634bbb8df69a30a24cd04093289c8cae19347bb8e0aea368b28d8ea232684cca8573291ccd40a33350ecc624a30995cd890738837cd083103010c969c366b18d326230e03d1b0c1a1c317908ca25031f8502c0b2c898684248150e4120d48b4e061269366e3a6e4269a868803069b4e9c149d4e930374461238afa008c638402091a80889ac8840afd213404097154d5215a622b3ded69d6804b9a641a640282a5500d598d64c98100a470c870a802590fcd274de84d350cb014ba7df57e00281aa52ce5e2c55733dceccb1da81986f825237da3552354c4d752de4b60161a862611a68063251aa618a71c381bcaa78ad160060880a19d761ac460168cb38280a22ba4826407294a76971400b370db81204d8111b8f344f102a8e2e36a8dae0369545055d5692f2ca619932e67782e235a17eb5aa3a58661da90d3b4ca588b5d4e50214d093204b8ac74401342cd035225f635d0f3639a0ba51c4e648a6f9554c0b385ced7393cb8cf34a6970a6b5ba5a6ed5a5a5d534bad56954bad5594cb6f5694cb795a354dda58cd3674b19b3a954bad56954bad5594cb7095592028b51774bdc5f541a2a0287884f4281658d330cc64c37028f90c0237c00d19e686807c2e76e46b7a60fc415882830e5341837c7077c6a1e61ac1664858156418b18fffbd2c4f28234520cec0e67178619bf8c199c3fa82898c416f157c0b2aa1a08eb2a42498c798ab00190bb440d8a34055cca2823337443517315c0a3e43008df023463a6680c44a04145d541a56555050f50c51751550e50d5165655505575344d90148c4b04b844f2580cbc28c30941d0128808c0c28a9890e38611942802e5abb7325d56e5d9a765618b8414088443052520e8c4002e3913005532a0c5b0af083a29c02e4d0e01ac3546c3805c20892c065e166015260121a3178ad6bb7265da54a5c10a804031921214708210972048e1862c885c42852520e8c4422dda0115e3427f6028360882dea6429528dc91a8ec94a92891e98050305180050a985124a81d488085970e60634c20061c54c4871c3084a5a82dfa5123ea732c0a8f2db5805575e0d11b0ae972bcbb522ad2a5c49513d288a9280bb96c32d04749fc894c24d10a7523635c282d52c08ee9955ca55d2fae14ec0c70e94c414d45332e3130305555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555";var Tc=Object.defineProperty,zc=Object.getOwnPropertyDescriptor,ue=(t,e,o,r)=>{for(var s=r>1?void 0:r?zc(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Tc(e,o,s),s};const J=Lo.noConflict();J.setLevel("info");const Ae="cb_";class ce extends Eo{constructor(){super(...arguments),this.actionIdCounter=0,this.wsClient=null,this.replyMessage=null,this.streamingResponseInProgress=!1,this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}setSetting(e){J.info("appState: Startup: setSetting",e),this.setting=e,this.initBot().catch(o=>{J.info(`Exception during bot initialization: ${o.message}`)})}setLanguage(e){this.language=e}setTheme(e){this.theme=e}async initBot(){if(!this.botSettingsInitialized){const o=`${this.setting.url.startsWith("localhost")?"http":"https"}://${this.setting.url}/api/bot/settings/${this.setting.orgId}/${this.setting.botId}`;J.info(`Getting bot settings at ${o} ...`);let r=null,s=null;try{r=await fetch(o,{headers:{"Access-Control-Allow-Origin":"null","X-Enegel-Signature":this.setting.botId}}),!r.ok||r.status!==200?J.error(`Failed to get bot ${this.setting.botId} settings: ${r.status} ${r.statusText}`):s=await r.json()}catch(a){J.error(`Failed to get bot ${this.setting.botId} settings: ${a.message}`),s=null}if(this.botSettingsInitialized=!0,this.botSettings=s,!s){J.error("No bot settings available - bot disabled"),this.disabled=!0;return}J.info("Got bot settings - bot is enabled",s),this.disabled=!1,this.setting.welcomeMessage=(s==null?void 0:s.welcomeMessage)||"How can I help ?",this.setting.engageMessage=(s==null?void 0:s.engageMessage)||"How can I help ?",this.setting.engageTimeout=(s==null?void 0:s.engageTimeout)||5,this.setting.splitMessagesAtBreak="splitMessagesAtBreak"in s?s.splitMessagesAtBreak:!1,this.initConversation(),this.shouldEngage==="true"&&setTimeout(()=>{this.showEngagePopup()},this.setting.engageTimeout*1e3)}this.connectWs==="true"&&(J.info("appState: connectWs is true"),this.getWsClient().catch(e=>{J.error(`Exception during ws client startup: ${e.message}`)}))}initConversation(){if(Date.now()-this.lastConversationUpdate>24*60*60*1e3){this.clearConversation();return}this.initStartupForm()}clearConversation(){this.wsClient&&(this.wsClient.stop().then(()=>{}),this.wsClient=null),this.conversationId=Ir(),this.lastConversationUpdate=Date.now(),this.connectWs="false",this.shouldEngage="true",this.messages=[],this.actions=[],this.addMessage({author:"assistant",type:"text",data:{text:this.setting.welcomeMessage}}),this.initStartupForm()}initStartupForm(){const e=Mr(null,["startupForm"],this.botSettings);if(!e||!(e!=null&&e.name)){J.info("Startup form not present");return}this.initForm(e)}initForm(e=null){const o=e,r=Mr(null,["name"],e);if(!o||!r)return;const s=Mr(null,["fields"],e);if(!Array.isArray(s)||s.length<=0){J.info("form has no fields",e);return}const a=`${Ae}${this.setting.botId}.${this.conversationId}.form.${r}`,n=localStorage.getItem(a);if(n){let i=null;try{i=JSON.parse(n)}catch(c){J.error(`Failed to parse stored form data: ${c.message}`),i=null}if(i){this.sendFormData(r,i).catch(c=>{J.error(`Error when submitting form: ${c.message}`)});return}}this.form=o}suppressEngagePopup(){this.engage=!1,this.shouldEngage="false"}showEngagePopup(){if(this.open)return;J.info("Engaging User !"),this.engage=!0;const e=a=>{const n=new Uint8Array(a.length/2);for(let i=0;i<n.length;i++)n[i]=parseInt(a.substr(i*2,2),16);return n};let o=new Blob([e(qc)],{type:"application/octet-stream"});const r=URL.createObjectURL(o);new Audio(r).play()}async getWsClient(){if(this.wsClient)return this.wsClient;const o=`${this.setting.url.startsWith("localhost")?"ws":"wss"}://${this.setting.url}/api/bot/connect/${this.setting.orgId}/${this.setting.botId}/${this.conversationId}`;return J.info(`Initiating ws connection to ${o} ...`),this.wsClient=new mc({url:o,orgId:this.setting.orgId,botId:this.setting.botId,convId:this.conversationId}),await this.wsClient.start(),this.wsClient.onMessage=r=>{this.handleWscMessage(r)},this.wsClient}handleWscMessage(e){var o;switch(this.lastConversationUpdate=Date.now(),e==null?void 0:e.type){case"message":{if(this.replyMessage)this.streamingResponseInProgress?(this.finishStreamingResponse(e.text),this.streamingResponseInProgress=!1):(this.replyMessage.data.text=e.text,this.updateMessage(this.replyMessage,"")),this.replyMessage=null;else{const r={type:"text",author:"assistant",data:{text:e.text}};"userName"in e&&(r.data.userName=e.userName,this.connectWs="true"),"userAvatar"in e&&(r.data.userAvatar=e.userAvatar,this.connectWs="true");const s=this.formatMessage(r);this.messages=this.messages.concat([s])}break}case"message-chunk":{e.text&&this.processStreamingResponse(e.text);break}case"typing":{this.replyMessage={author:"assistant",type:"text",isThinking:!0,data:{text:""}},this.addMessage(this.replyMessage);break}case"form":{if(J.info("Got form:",e),this.replyMessage&&this.replyMessage.id){const r=((o=this.replyMessage.data)==null?void 0:o.text)||"";(this.replyMessage.isThinking||r.trim()==="")&&(this.removeMessage(this.replyMessage.id),this.replyMessage=null)}this.initForm(e.form);break}case"actions":{this.addActions((e==null?void 0:e.actions)||[]);break}}}processStreamingResponse(e){this.streamingResponseInProgress=!0;let o=e;if(this.replyMessage){if(e.indexOf("<")!==-1){this.streamingResponseBuffer=e,this.streamingResponseTagStartPos=e.indexOf("<");return}if(this.streamingResponseBuffer){if(this.streamingResponseBuffer+=e,this.streamingResponseBuffer.length<this.streamingResponseTagStartPos+4)return;const r=this.streamingResponseBuffer.indexOf("<br>");if(r!==-1){if(this.setting.splitMessagesAtBreak){const s=this.streamingResponseBuffer.substring(0,r).trim(),a=this.streamingResponseBuffer.substring(r+4).trim();J.info(`BREAK: Splitting the message: ${this.streamingResponseBuffer} >>> prev: ${s} next: ${a}`),this.replyMessage=this.updateMessage(this.replyMessage,s),this.replyMessage={author:"assistant",type:"text",isThinking:!1,data:{text:""}},this.addMessage(this.replyMessage),o=a}else o=this.streamingResponseBuffer;this.streamingResponseBuffer=null,this.streamingResponseTagStartPos=0}}this.replyMessage=this.updateMessage(this.replyMessage,o)}}finishStreamingResponse(e){if(!this.replyMessage||!this.streamingResponseInProgress)return;this.streamingResponseInProgress=!1;const o=e.lastIndexOf("<br>");if(!this.setting.splitMessagesAtBreak||o===-1){this.replyMessage.data.text=e,this.updateMessage(this.replyMessage,"");return}const r=e.substring(o+4);this.replyMessage.data.text=r,this.updateMessage(this.replyMessage,"")}addActions(e){if(Array.isArray(e)&&e.length>0){const o=e.map(r=>Object.assign(r,{internalId:this.actionIdCounter++}));this.actions=this.actions.concat(o)}}removeAction(e){const o=this.actions.findIndex(r=>r.internalId===e);if(o!==-1){this.actions.splice(o,1);const r=[];this.actions=r.concat(this.actions)}}async sendMessage(e){e=this.formatMessage(e),J.info("Send Message:",e),this.messages=this.messages.concat([e]),this.lastConversationUpdate=Date.now();const o=await this.getWsClient();if(!o){J.error("Error - failed to obtain ws client"),this.replyMessage=null;return}o.sendMessage({type:"message",id:e.id,text:e.data.text})}formatMessage(e){var o;return e.id||(e.id=Ir()),e.timestamp=Date.now(),e.author==="assistant"&&(e.replyId=(o=this.messages[this.messages.length-1])==null?void 0:o.id),e}addMessage(e){e=this.formatMessage(e),this.messages=this.messages.concat([e])}addSystemMessage(e){this.addMessage({type:"text",author:"system",data:{text:e}})}updateMessage(e,o){const r=this.formatMessage(e);return r.isThinking=!1,o&&(r.data.text+=o),this.messages=this.messages.map(s=>s.id===r.id?r:s),r}removeMessage(e){this.messages=this.messages.filter(o=>o.id!==e)}clearMessages(){this.messages=[]}async submitForm(e){if(!this.form){J.info("submitForm: No form is active - ignored");return}const o=`${Ae}${this.setting.botId}.${this.conversationId}.form.${this.form.name}`;await this.sendFormData(this.form.name,e),localStorage.setItem(o,JSON.stringify(e)),this.form=null}async sendFormData(e,o){const r=await this.getWsClient();if(!r){J.error("Error - failed to obtain ws client");return}r.sendMessage({type:"form",name:e,data:o})}}ue([Ke({prefix:Ae}),de({value:"en"})],ce.prototype,"language",2),ue([Ke({prefix:Ae}),de({value:"light"})],ce.prototype,"theme",2),ue([Ke({prefix:Ae}),de({type:Boolean,value:!1})],ce.prototype,"open",2),ue([Ke({prefix:Ae}),de({value:"false"})],ce.prototype,"connectWs",2),ue([Ke({prefix:Ae}),de({value:Ir()})],ce.prototype,"conversationId",2),ue([Ke({prefix:Ae}),de({value:0})],ce.prototype,"lastConversationUpdate",2),ue([Ke({prefix:Ae}),de({type:Array,value:[]})],ce.prototype,"messages",2),ue([de({type:Array,value:[]})],ce.prototype,"actions",2),ue([de({type:Object,value:null})],ce.prototype,"form",2),ue([de({type:Boolean,value:!1})],ce.prototype,"botSettingsInitialized",2),ue([de({type:Object,value:null})],ce.prototype,"botSettings",2),ue([de({type:Boolean,value:!0})],ce.prototype,"disabled",2),ue([Ke({prefix:Ae}),de({value:"true"})],ce.prototype,"shouldEngage",2),ue([de({type:Boolean,value:!1})],ce.prototype,"engage",2),ue([Ke({prefix:Ae}),de({type:Object,value:{orgId:null,botId:null,url:null,welcomeMessage:null,splitMessagesAtBreak:!1}})],ce.prototype,"setting",2);const F=new ce,Lc=L`
224
+ ${Oe}
237
225
  :host {
238
226
  position: relative;
239
227
  font-weight: bold;
@@ -285,7 +273,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
285
273
  .cb-setting-button cb-icon {
286
274
  display: inline;
287
275
  }
288
- `,Ab="",$b="";var J=T`
276
+ `;var Y=L`
289
277
  :host {
290
278
  box-sizing: border-box;
291
279
  }
@@ -299,8 +287,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
299
287
  [hidden] {
300
288
  display: none !important;
301
289
  }
302
- `,id=T`
303
- ${J}
290
+ `,Rc=L`
291
+ ${Y}
304
292
 
305
293
  :host {
306
294
  --track-width: 2px;
@@ -357,13 +345,13 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
357
345
  stroke-dasharray: 0.01em, 2.75em;
358
346
  }
359
347
  }
360
- `;const _s=new Set,cd=new MutationObserver(Sn),Ht=new Map;let $n=document.documentElement.dir||"ltr",En=document.documentElement.lang||navigator.language,qt;cd.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});function ld(...t){t.map(e=>{const o=e.$code.toLowerCase();Ht.has(o)?Ht.set(o,Object.assign(Object.assign({},Ht.get(o)),e)):Ht.set(o,e),qt||(qt=e)}),Sn()}function Sn(){$n=document.documentElement.dir||"ltr",En=document.documentElement.lang||navigator.language,[..._s.keys()].map(t=>{typeof t.requestUpdate=="function"&&t.requestUpdate()})}let dd=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){_s.add(this.host)}hostDisconnected(){_s.delete(this.host)}dir(){return`${this.host.dir||$n}`.toLowerCase()}lang(){return`${this.host.lang||En}`.toLowerCase()}getTranslationData(e){var o,r;const s=new Intl.Locale(e.replace(/_/g,"-")),a=s==null?void 0:s.language.toLowerCase(),n=(r=(o=s==null?void 0:s.region)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:"",i=Ht.get(`${a}-${n}`),c=Ht.get(a);return{locale:s,language:a,region:n,primary:i,secondary:c}}exists(e,o){var r;const{primary:s,secondary:a}=this.getTranslationData((r=o.lang)!==null&&r!==void 0?r:this.lang());return o=Object.assign({includeFallback:!1},o),!!(s&&s[e]||a&&a[e]||o.includeFallback&&qt&&qt[e])}term(e,...o){const{primary:r,secondary:s}=this.getTranslationData(this.lang());let a;if(r&&r[e])a=r[e];else if(s&&s[e])a=s[e];else if(qt&&qt[e])a=qt[e];else return console.error(`No translation found for: ${String(e)}`),String(e);return typeof a=="function"?a(...o):a}date(e,o){return e=new Date(e),new Intl.DateTimeFormat(this.lang(),o).format(e)}number(e,o){return e=Number(e),isNaN(e)?"":new Intl.NumberFormat(this.lang(),o).format(e)}relativeTime(e,o,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(e,o)}};var Se=class extends dd{},Dn=Object.defineProperty,fd=Object.defineProperties,ud=Object.getOwnPropertyDescriptor,hd=Object.getOwnPropertyDescriptors,qn=Object.getOwnPropertySymbols,pd=Object.prototype.hasOwnProperty,bd=Object.prototype.propertyIsEnumerable,ws=(t,e)=>{if(e=Symbol[t])return e;throw Error("Symbol."+t+" is not defined")},Tn=(t,e,o)=>e in t?Dn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,ct=(t,e)=>{for(var o in e||(e={}))pd.call(e,o)&&Tn(t,o,e[o]);if(qn)for(var o of qn(e))bd.call(e,o)&&Tn(t,o,e[o]);return t},rr=(t,e)=>fd(t,hd(e)),f=(t,e,o,r)=>{for(var s=r>1?void 0:r?ud(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Dn(e,o,s),s},gd=function(t,e){this[0]=t,this[1]=e},md=t=>{var e=t[ws("asyncIterator")],o=!1,r,s={};return e==null?(e=t[ws("iterator")](),r=a=>s[a]=n=>e[a](n)):(e=e.call(t),r=a=>s[a]=n=>{if(o){if(o=!1,a==="throw")throw n;return n}return o=!0,{done:!1,value:new gd(new Promise(i=>{var c=e[a](n);if(!(c instanceof Object))throw TypeError("Object expected");i(c)}),1)}}),s[ws("iterator")]=()=>s,r("next"),"throw"in e?r("throw"):s.throw=a=>{throw a},"return"in e&&r("return"),s},j=class extends Je{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([t,e])=>{this.constructor.define(t,e)})}emit(t,e){const o=new CustomEvent(t,ct({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(o),o}static define(t,e=this,o={}){const r=customElements.get(t);if(!r){customElements.define(t,class extends e{},o);return}let s=" (unknown version)",a=s;"version"in e&&e.version&&(s=" v"+e.version),"version"in r&&r.version&&(a=" v"+r.version),!(s&&a&&s===a)&&console.warn(`Attempted to register <${t}>${s}, but <${t}>${a} has already been registered.`)}};j.version="2.11.2",j.dependencies={},f([p()],j.prototype,"dir",2),f([p()],j.prototype,"lang",2);var xs=class extends j{constructor(){super(...arguments),this.localize=new Se(this)}render(){return w`
348
+ `;const Br=new Set,Oc=new MutationObserver(xa),Dt=new Map;let ya=document.documentElement.dir||"ltr",wa=document.documentElement.lang||navigator.language,yt;Oc.observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]});function _a(...t){t.map(e=>{const o=e.$code.toLowerCase();Dt.has(o)?Dt.set(o,Object.assign(Object.assign({},Dt.get(o)),e)):Dt.set(o,e),yt||(yt=e)}),xa()}function xa(){ya=document.documentElement.dir||"ltr",wa=document.documentElement.lang||navigator.language,[...Br.keys()].map(t=>{typeof t.requestUpdate=="function"&&t.requestUpdate()})}let Fc=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){Br.add(this.host)}hostDisconnected(){Br.delete(this.host)}dir(){return`${this.host.dir||ya}`.toLowerCase()}lang(){return`${this.host.lang||wa}`.toLowerCase()}getTranslationData(e){var o,r;const s=new Intl.Locale(e.replace(/_/g,"-")),a=s==null?void 0:s.language.toLowerCase(),n=(r=(o=s==null?void 0:s.region)===null||o===void 0?void 0:o.toLowerCase())!==null&&r!==void 0?r:"",i=Dt.get(`${a}-${n}`),c=Dt.get(a);return{locale:s,language:a,region:n,primary:i,secondary:c}}exists(e,o){var r;const{primary:s,secondary:a}=this.getTranslationData((r=o.lang)!==null&&r!==void 0?r:this.lang());return o=Object.assign({includeFallback:!1},o),!!(s&&s[e]||a&&a[e]||o.includeFallback&&yt&&yt[e])}term(e,...o){const{primary:r,secondary:s}=this.getTranslationData(this.lang());let a;if(r&&r[e])a=r[e];else if(s&&s[e])a=s[e];else if(yt&&yt[e])a=yt[e];else return console.error(`No translation found for: ${String(e)}`),String(e);return typeof a=="function"?a(...o):a}date(e,o){return e=new Date(e),new Intl.DateTimeFormat(this.lang(),o).format(e)}number(e,o){return e=Number(e),isNaN(e)?"":new Intl.NumberFormat(this.lang(),o).format(e)}relativeTime(e,o,r){return new Intl.RelativeTimeFormat(this.lang(),r).format(e,o)}};var ka={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",numOptionsSelected:t=>t===0?"No options selected":t===1?"1 option selected":`${t} options selected`,previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",slideNum:t=>`Slide ${t}`,toggleColorFormat:"Toggle color format"};_a(ka);var Pc=ka,$e=class extends Fc{};_a(Pc);var Ca=Object.defineProperty,Ic=Object.defineProperties,Mc=Object.getOwnPropertyDescriptor,Bc=Object.getOwnPropertyDescriptors,Aa=Object.getOwnPropertySymbols,Vc=Object.prototype.hasOwnProperty,Uc=Object.prototype.propertyIsEnumerable,Vr=(t,e)=>{if(e=Symbol[t])return e;throw Error("Symbol."+t+" is not defined")},$a=(t,e,o)=>e in t?Ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,st=(t,e)=>{for(var o in e||(e={}))Vc.call(e,o)&&$a(t,o,e[o]);if(Aa)for(var o of Aa(e))Uc.call(e,o)&&$a(t,o,e[o]);return t},Ro=(t,e)=>Ic(t,Bc(e)),d=(t,e,o,r)=>{for(var s=r>1?void 0:r?Mc(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Ca(e,o,s),s},Nc=function(t,e){this[0]=t,this[1]=e},jc=t=>{var e=t[Vr("asyncIterator")],o=!1,r,s={};return e==null?(e=t[Vr("iterator")](),r=a=>s[a]=n=>e[a](n)):(e=e.call(t),r=a=>s[a]=n=>{if(o){if(o=!1,a==="throw")throw n;return n}return o=!0,{done:!1,value:new Nc(new Promise(i=>{var c=e[a](n);if(!(c instanceof Object))throw TypeError("Object expected");i(c)}),1)}}),s[Vr("iterator")]=()=>s,r("next"),"throw"in e?r("throw"):s.throw=a=>{throw a},"return"in e&&r("return"),s},j=class extends Ye{constructor(){super(),Object.entries(this.constructor.dependencies).forEach(([t,e])=>{this.constructor.define(t,e)})}emit(t,e){const o=new CustomEvent(t,st({bubbles:!0,cancelable:!1,composed:!0,detail:{}},e));return this.dispatchEvent(o),o}static define(t,e=this,o={}){const r=customElements.get(t);if(!r){customElements.define(t,class extends e{},o);return}let s=" (unknown version)",a=s;"version"in e&&e.version&&(s=" v"+e.version),"version"in r&&r.version&&(a=" v"+r.version),!(s&&a&&s===a)&&console.warn(`Attempted to register <${t}>${s}, but <${t}>${a} has already been registered.`)}};j.version="2.12.0",j.dependencies={},d([u()],j.prototype,"dir",2),d([u()],j.prototype,"lang",2);var Ur=class extends j{constructor(){super(...arguments),this.localize=new $e(this)}render(){return _`
361
349
  <svg part="base" class="spinner" role="progressbar" aria-label=${this.localize.term("loading")}>
362
350
  <circle class="spinner__track"></circle>
363
351
  <circle class="spinner__indicator"></circle>
364
352
  </svg>
365
- `}};xs.styles=id;var xo=new WeakMap,ko=new WeakMap,ks=new WeakSet,sr=new WeakMap,Tt=class{constructor(t,e){this.handleFormData=o=>{const r=this.options.disabled(this.host),s=this.options.name(this.host),a=this.options.value(this.host),n=this.host.tagName.toLowerCase()==="sl-button";!r&&!n&&typeof s=="string"&&s.length>0&&typeof a<"u"&&(Array.isArray(a)?a.forEach(i=>{o.formData.append(s,i.toString())}):o.formData.append(s,a.toString()))},this.handleFormSubmit=o=>{var r;const s=this.options.disabled(this.host),a=this.options.reportValidity;this.form&&!this.form.noValidate&&((r=xo.get(this.form))==null||r.forEach(n=>{this.setUserInteracted(n,!0)})),this.form&&!this.form.noValidate&&!s&&!a(this.host)&&(o.preventDefault(),o.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),sr.set(this.host,[])},this.handleInteraction=o=>{const r=sr.get(this.host);r.includes(o.type)||r.push(o.type),r.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.reportFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.reportValidity=="function"&&!r.reportValidity())return!1}return!0},(this.host=t).addController(this),this.options=ct({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){const r=o.getRootNode(),s=o.getAttribute("form");if(s)return r.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var r;return(r=o.disabled)!=null?r:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,r)=>o.value=r,assumeInteractionOn:["sl-input"]},e)}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),sr.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),sr.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){const t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&this.setValidity(this.host.validity.valid)}attachForm(t){t?(this.form=t,xo.has(this.form)?xo.get(this.form).add(this.host):xo.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),ko.has(this.form)||(ko.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=xo.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),ko.has(this.form)&&(this.form.reportValidity=ko.get(this.form),ko.delete(this.form))),this.form=void 0}setUserInteracted(t,e){e?ks.add(t):ks.delete(t),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(r=>{e.hasAttribute(r)&&o.setAttribute(r,e.getAttribute(r))})),this.form.append(o),o.click(),o.remove()}}getForm(){var t;return(t=this.form)!=null?t:null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){const e=this.host,o=!!ks.has(e),r=!!e.required;e.toggleAttribute("data-required",r),e.toggleAttribute("data-optional",!r),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o)}updateValidity(){const t=this.host;this.setValidity(t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sl-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||t==null||t.preventDefault()}},ar=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),vd=Object.freeze(rr(ct({},ar),{valid:!1,valueMissing:!0})),yd=Object.freeze(rr(ct({},ar),{valid:!1,customError:!0})),zn=T`
366
- ${J}
353
+ `}};Ur.styles=Rc;var so=new WeakMap,ao=new WeakMap,no=new WeakMap,Nr=new WeakSet,Oo=new WeakMap,wt=class{constructor(t,e){this.handleFormData=o=>{const r=this.options.disabled(this.host),s=this.options.name(this.host),a=this.options.value(this.host),n=this.host.tagName.toLowerCase()==="sl-button";!r&&!n&&typeof s=="string"&&s.length>0&&typeof a<"u"&&(Array.isArray(a)?a.forEach(i=>{o.formData.append(s,i.toString())}):o.formData.append(s,a.toString()))},this.handleFormSubmit=o=>{var r;const s=this.options.disabled(this.host),a=this.options.reportValidity;this.form&&!this.form.noValidate&&((r=so.get(this.form))==null||r.forEach(n=>{this.setUserInteracted(n,!0)})),this.form&&!this.form.noValidate&&!s&&!a(this.host)&&(o.preventDefault(),o.stopImmediatePropagation())},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),Oo.set(this.host,[])},this.handleInteraction=o=>{const r=Oo.get(this.host);r.includes(o.type)||r.push(o.type),r.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.checkFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.checkValidity=="function"&&!r.checkValidity())return!1}return!0},this.reportFormValidity=()=>{if(this.form&&!this.form.noValidate){const o=this.form.querySelectorAll("*");for(const r of o)if(typeof r.reportValidity=="function"&&!r.reportValidity())return!1}return!0},(this.host=t).addController(this),this.options=st({form:o=>{const r=o.form;if(r){const a=o.getRootNode().getElementById(r);if(a)return a}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var r;return(r=o.disabled)!=null?r:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,checkValidity:o=>typeof o.checkValidity=="function"?o.checkValidity():!0,setValue:(o,r)=>o.value=r,assumeInteractionOn:["sl-input"]},e)}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),Oo.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),Oo.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){const t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&this.setValidity(this.host.validity.valid)}attachForm(t){t?(this.form=t,so.has(this.form)?so.get(this.form).add(this.host):so.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),ao.has(this.form)||(ao.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity()),no.has(this.form)||(no.set(this.form,this.form.checkValidity),this.form.checkValidity=()=>this.checkFormValidity())):this.form=void 0}detachForm(){if(!this.form)return;const t=so.get(this.form);t&&(t.delete(this.host),t.size<=0&&(this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),ao.has(this.form)&&(this.form.reportValidity=ao.get(this.form),ao.delete(this.form)),no.has(this.form)&&(this.form.checkValidity=no.get(this.form),no.delete(this.form)),this.form=void 0))}setUserInteracted(t,e){e?Nr.add(t):Nr.delete(t),t.requestUpdate()}doAction(t,e){if(this.form){const o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(r=>{e.hasAttribute(r)&&o.setAttribute(r,e.getAttribute(r))})),this.form.append(o),o.click(),o.remove()}}getForm(){var t;return(t=this.form)!=null?t:null}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){const e=this.host,o=!!Nr.has(e),r=!!e.required;e.toggleAttribute("data-required",r),e.toggleAttribute("data-optional",!r),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o)}updateValidity(){const t=this.host;this.setValidity(t.validity.valid)}emitInvalidEvent(t){const e=new CustomEvent("sl-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault(),this.host.dispatchEvent(e)||t==null||t.preventDefault()}},Fo=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),Hc=Object.freeze(Ro(st({},Fo),{valid:!1,valueMissing:!0})),Gc=Object.freeze(Ro(st({},Fo),{valid:!1,customError:!0})),Ea=L`
354
+ ${Y}
367
355
 
368
356
  :host {
369
357
  display: inline-block;
@@ -957,8 +945,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
957
945
  :host(.sl-button-group__button[checked]) {
958
946
  z-index: 2;
959
947
  }
960
- `,lt=class{constructor(t,...e){this.slotNames=[],this.handleSlotChange=o=>{const r=o.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()},(this.host=t).addController(this),this.slotNames=e}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent.trim()!=="")return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if(e.tagName.toLowerCase()==="sl-visually-hidden")return!1;if(!e.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return this.host.querySelector(`:scope > [slot="${t}"]`)!==null}test(t){return t==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}},_d=T`
961
- ${J}
948
+ `,at=class{constructor(t,...e){this.slotNames=[],this.handleSlotChange=o=>{const r=o.target;(this.slotNames.includes("[default]")&&!r.name||r.name&&this.slotNames.includes(r.name))&&this.host.requestUpdate()},(this.host=t).addController(this),this.slotNames=e}hasDefaultSlot(){return[...this.host.childNodes].some(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent.trim()!=="")return!0;if(t.nodeType===t.ELEMENT_NODE){const e=t;if(e.tagName.toLowerCase()==="sl-visually-hidden")return!1;if(!e.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(t){return this.host.querySelector(`:scope > [slot="${t}"]`)!==null}test(t){return t==="[default]"?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}},Wc=L`
949
+ ${Y}
962
950
 
963
951
  :host {
964
952
  display: inline-block;
@@ -972,7 +960,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
972
960
  height: 100%;
973
961
  width: 100%;
974
962
  }
975
- `,Cs="";function Ln(t){Cs=t}function wd(t=""){if(!Cs){const e=[...document.getElementsByTagName("script")],o=e.find(r=>r.hasAttribute("data-shoelace"));if(o)Ln(o.getAttribute("data-shoelace"));else{const r=e.find(a=>/shoelace(\.min)?\.js($|\?)/.test(a.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(a.src));let s="";r&&(s=r.getAttribute("src")),Ln(s.split("/").slice(0,-1).join("/"))}}return Cs.replace(/\/$/,"")+(t?`/${t.replace(/^\//,"")}`:"")}var xd={name:"default",resolver:t=>wd(`assets/icons/${t}.svg`)},kd=xd,Rn={caret:`
963
+ `,jr="";function Sa(t){jr=t}function Zc(t=""){if(!jr){const e=[...document.getElementsByTagName("script")],o=e.find(r=>r.hasAttribute("data-shoelace"));if(o)Sa(o.getAttribute("data-shoelace"));else{const r=e.find(a=>/shoelace(\.min)?\.js($|\?)/.test(a.src)||/shoelace-autoloader(\.min)?\.js($|\?)/.test(a.src));let s="";r&&(s=r.getAttribute("src")),Sa(s.split("/").slice(0,-1).join("/"))}}return jr.replace(/\/$/,"")+(t?`/${t.replace(/^\//,"")}`:"")}var Kc={name:"default",resolver:t=>Zc(`assets/icons/${t}.svg`)},Jc=Kc,Da={caret:`
976
964
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
977
965
  <polyline points="6 9 12 15 18 9"></polyline>
978
966
  </svg>
@@ -1000,8 +988,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1000
988
  <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
1001
989
  </svg>
1002
990
  `,copy:`
1003
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-files" viewBox="0 0 16 16" part="svg">
1004
- <path d="M13 0H6a2 2 0 0 0-2 2 2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h7a2 2 0 0 0 2-2 2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm0 13V4a2 2 0 0 0-2-2H5a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1zM3 4a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4z"></path>
991
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">
992
+ <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>
1005
993
  </svg>
1006
994
  `,eye:`
1007
995
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">
@@ -1064,43 +1052,39 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1064
1052
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
1065
1053
  <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
1066
1054
  </svg>
1067
- `},Cd={name:"system",resolver:t=>t in Rn?`data:image/svg+xml,${encodeURIComponent(Rn[t])}`:""},Ad=Cd,$d=[kd,Ad],As=[];function Ed(t){As.push(t)}function Sd(t){As=As.filter(e=>e!==t)}function In(t){return $d.find(e=>e.name===t)}function P(t,e){const o=ct({waitUntilFirstUpdate:!1},e);return(r,s)=>{const{update:a}=r,n=Array.isArray(t)?t:[t];r.update=function(i){n.forEach(c=>{const l=c;if(i.has(l)){const d=i.get(l),u=this[l];d!==u&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[s](d,u)}}),a.call(this,i)}}}/**
1055
+ `},Yc={name:"system",resolver:t=>t in Da?`data:image/svg+xml,${encodeURIComponent(Da[t])}`:""},Qc=Yc,Xc=[Jc,Qc],Hr=[];function el(t){Hr.push(t)}function tl(t){Hr=Hr.filter(e=>e!==t)}function qa(t){return Xc.find(e=>e.name===t)}function P(t,e){const o=st({waitUntilFirstUpdate:!1},e);return(r,s)=>{const{update:a}=r,n=Array.isArray(t)?t:[t];r.update=function(i){n.forEach(c=>{const l=c;if(i.has(l)){const f=i.get(l),h=this[l];f!==h&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[s](f,h)}}),a.call(this,i)}}}/**
1068
1056
  * @license
1069
1057
  * Copyright 2020 Google LLC
1070
1058
  * SPDX-License-Identifier: BSD-3-Clause
1071
- */const{D:Dd}=tl,qd=(t,e)=>e===void 0?(t==null?void 0:t._$litType$)!==void 0:(t==null?void 0:t._$litType$)===e,Td=t=>t.strings===void 0,Pn=()=>document.createComment(""),Co=(t,e,o)=>{var a;const r=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(o===void 0){const n=r.insertBefore(Pn(),s),i=r.insertBefore(Pn(),s);o=new Dd(n,i,t,t.options)}else{const n=o._$AB.nextSibling,i=o._$AM,c=i!==t;if(c){let l;(a=o._$AQ)==null||a.call(o,t),o._$AM=t,o._$AP!==void 0&&(l=t._$AU)!==i._$AU&&o._$AP(l)}if(n!==s||c){let l=o._$AA;for(;l!==n;){const d=l.nextSibling;r.insertBefore(l,s),l=d}}}return o},zt=(t,e,o=t)=>(t._$AI(e,o),t),zd={},Mn=(t,e=zd)=>t._$AH=e,Ld=t=>t._$AH,$s=t=>{var r;(r=t._$AP)==null||r.call(t,!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const s=e.nextSibling;e.remove(),e=s}};var Ao=Symbol(),nr=Symbol(),Es,Ss=new Map,de=class extends j{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,e){var o;let r;if(e!=null&&e.spriteSheet)return w`<svg part="svg">
1059
+ */const{D:ol}=Hi,rl=t=>t===null||typeof t!="object"&&typeof t!="function",sl=(t,e)=>e===void 0?(t==null?void 0:t._$litType$)!==void 0:(t==null?void 0:t._$litType$)===e,Ta=t=>t.strings===void 0,za=()=>document.createComment(""),io=(t,e,o)=>{var a;const r=t._$AA.parentNode,s=e===void 0?t._$AB:e._$AA;if(o===void 0){const n=r.insertBefore(za(),s),i=r.insertBefore(za(),s);o=new ol(n,i,t,t.options)}else{const n=o._$AB.nextSibling,i=o._$AM,c=i!==t;if(c){let l;(a=o._$AQ)==null||a.call(o,t),o._$AM=t,o._$AP!==void 0&&(l=t._$AU)!==i._$AU&&o._$AP(l)}if(n!==s||c){let l=o._$AA;for(;l!==n;){const f=l.nextSibling;r.insertBefore(l,s),l=f}}}return o},_t=(t,e,o=t)=>(t._$AI(e,o),t),al={},La=(t,e=al)=>t._$AH=e,nl=t=>t._$AH,Gr=t=>{var r;(r=t._$AP)==null||r.call(t,!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const s=e.nextSibling;e.remove(),e=s}};var co=Symbol(),Po=Symbol(),Wr,Zr=new Map,le=class extends j{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,e){var o;let r;if(e!=null&&e.spriteSheet)return _`<svg part="svg">
1072
1060
  <use part="use" href="${t}"></use>
1073
- </svg>`;try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?Ao:nr}catch{return nr}try{const s=document.createElement("div");s.innerHTML=await r.text();const a=s.firstElementChild;if(((o=a==null?void 0:a.tagName)==null?void 0:o.toLowerCase())!=="svg")return Ao;Es||(Es=new DOMParser);const i=Es.parseFromString(a.outerHTML,"text/html").body.querySelector("svg");return i?(i.part.add("svg"),document.adoptNode(i)):Ao}catch{return Ao}}connectedCallback(){super.connectedCallback(),Ed(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),Sd(this)}getIconSource(){const t=In(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:e,fromLibrary:o}=this.getIconSource(),r=o?In(this.library):void 0;if(!e){this.svg=null;return}let s=Ss.get(e);if(s||(s=this.resolveIcon(e,r),Ss.set(e,s)),!this.initialRender)return;const a=await s;if(a===nr&&Ss.delete(e),e===this.getIconSource().url){if(qd(a)){this.svg=a;return}switch(a){case nr:case Ao:this.svg=null,this.emit("sl-error");break;default:this.svg=a.cloneNode(!0),(t=r==null?void 0:r.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};de.styles=_d,f([Z()],de.prototype,"svg",2),f([p({reflect:!0})],de.prototype,"name",2),f([p()],de.prototype,"src",2),f([p()],de.prototype,"label",2),f([p({reflect:!0})],de.prototype,"library",2),f([P("label")],de.prototype,"handleLabelChange",1),f([P(["name","src","library"])],de.prototype,"setIcon",1);/**
1074
- * @license
1075
- * Copyright 2017 Google LLC
1076
- * SPDX-License-Identifier: BSD-3-Clause
1077
- */const Qe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ir=t=>(...e)=>({_$litDirective$:t,values:e});let cr=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,r){this._$Ct=e,this._$AM=o,this._$Ci=r}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};/**
1061
+ </svg>`;try{if(r=await fetch(t,{mode:"cors"}),!r.ok)return r.status===410?co:Po}catch{return Po}try{const s=document.createElement("div");s.innerHTML=await r.text();const a=s.firstElementChild;if(((o=a==null?void 0:a.tagName)==null?void 0:o.toLowerCase())!=="svg")return co;Wr||(Wr=new DOMParser);const i=Wr.parseFromString(a.outerHTML,"text/html").body.querySelector("svg");return i?(i.part.add("svg"),document.adoptNode(i)):co}catch{return co}}connectedCallback(){super.connectedCallback(),el(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),tl(this)}getIconSource(){const t=qa(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:e,fromLibrary:o}=this.getIconSource(),r=o?qa(this.library):void 0;if(!e){this.svg=null;return}let s=Zr.get(e);if(s||(s=this.resolveIcon(e,r),Zr.set(e,s)),!this.initialRender)return;const a=await s;if(a===Po&&Zr.delete(e),e===this.getIconSource().url){if(sl(a)){this.svg=a;return}switch(a){case Po:case co:this.svg=null,this.emit("sl-error");break;default:this.svg=a.cloneNode(!0),(t=r==null?void 0:r.mutator)==null||t.call(r,this.svg),this.emit("sl-load")}}}render(){return this.svg}};le.styles=Wc,d([G()],le.prototype,"svg",2),d([u({reflect:!0})],le.prototype,"name",2),d([u()],le.prototype,"src",2),d([u()],le.prototype,"label",2),d([u({reflect:!0})],le.prototype,"library",2),d([P("label")],le.prototype,"handleLabelChange",1),d([P(["name","src","library"])],le.prototype,"setIcon",1);/**
1078
1062
  * @license
1079
1063
  * Copyright 2018 Google LLC
1080
1064
  * SPDX-License-Identifier: BSD-3-Clause
1081
- */const W=ir(class extends cr{constructor(t){var e;if(super(t),t.type!==Qe.ATTRIBUTE||t.name!=="class"||((e=t.strings)==null?void 0:e.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]){var r,s;if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(a=>a!=="")));for(const a in e)e[a]&&!((r=this.st)!=null&&r.has(a))&&this.it.add(a);return this.render(e)}const o=t.element.classList;for(const a of this.it)a in e||(o.remove(a),this.it.delete(a));for(const a in e){const n=!!e[a];n===this.it.has(a)||(s=this.st)!=null&&s.has(a)||(n?(o.add(a),this.it.add(a)):(o.remove(a),this.it.delete(a)))}return xe}});/**
1065
+ */const W=to(class extends oo{constructor(t){var e;if(super(t),t.type!==Re.ATTRIBUTE||t.name!=="class"||((e=t.strings)==null?void 0:e.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]){var r,s;if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(a=>a!=="")));for(const a in e)e[a]&&!((r=this.st)!=null&&r.has(a))&&this.it.add(a);return this.render(e)}const o=t.element.classList;for(const a of this.it)a in e||(o.remove(a),this.it.delete(a));for(const a in e){const n=!!e[a];n===this.it.has(a)||(s=this.st)!=null&&s.has(a)||(n?(o.add(a),this.it.add(a)):(o.remove(a),this.it.delete(a)))}return fe}});/**
1082
1066
  * @license
1083
1067
  * Copyright 2020 Google LLC
1084
1068
  * SPDX-License-Identifier: BSD-3-Clause
1085
- */const On=Symbol.for(""),Rd=t=>{if((t==null?void 0:t.r)===On)return t==null?void 0:t._$litStatic$},lr=(t,...e)=>({_$litStatic$:e.reduce((o,r,s)=>o+(a=>{if(a._$litStatic$!==void 0)return a._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${a}. Use 'unsafeStatic' to pass non-literal values, but
1086
- take care to ensure page security.`)})(r)+t[s+1],t[0]),r:On}),Fn=new Map,Id=t=>(e,...o)=>{const r=o.length;let s,a;const n=[],i=[];let c,l=0,d=!1;for(;l<r;){for(c=e[l];l<r&&(a=o[l],(s=Rd(a))!==void 0);)c+=s+e[++l],d=!0;l!==r&&i.push(a),n.push(c),l++}if(l===r&&n.push(e[r]),d){const u=n.join("$$lit$$");(e=Fn.get(u))===void 0&&(n.raw=n,Fn.set(u,e=n)),o=i}return t(e,...o)},$o=Id(el);/**
1069
+ */const Ra=Symbol.for(""),il=t=>{if((t==null?void 0:t.r)===Ra)return t==null?void 0:t._$litStatic$},Io=(t,...e)=>({_$litStatic$:e.reduce((o,r,s)=>o+(a=>{if(a._$litStatic$!==void 0)return a._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${a}. Use 'unsafeStatic' to pass non-literal values, but
1070
+ take care to ensure page security.`)})(r)+t[s+1],t[0]),r:Ra}),Oa=new Map,cl=t=>(e,...o)=>{const r=o.length;let s,a;const n=[],i=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&(a=o[l],(s=il(a))!==void 0);)c+=s+e[++l],f=!0;l!==r&&i.push(a),n.push(c),l++}if(l===r&&n.push(e[r]),f){const h=n.join("$$lit$$");(e=Oa.get(h))===void 0&&(n.raw=n,Oa.set(h,e=n)),o=i}return t(e,...o)},lo=cl(_);/**
1087
1071
  * @license
1088
1072
  * Copyright 2018 Google LLC
1089
1073
  * SPDX-License-Identifier: BSD-3-Clause
1090
- */const E=t=>t??Y;var U=class extends j{constructor(){super(...arguments),this.formControlController=new Tt(this,{form:t=>{if(t.hasAttribute("form")){const e=t.getRootNode(),o=t.getAttribute("form");return e.getElementById(o)}return t.closest("form")},assumeInteractionOn:["click"]}),this.hasSlotController=new lt(this,"[default]","prefix","suffix"),this.localize=new Se(this),this.hasFocus=!1,this.invalid=!1,this.title="",this.variant="default",this.size="medium",this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type="button",this.name="",this.value="",this.href="",this.rel="noreferrer noopener"}get validity(){return this.isButton()?this.button.validity:ar}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?lr`a`:lr`button`;return $o`
1074
+ */const D=t=>t??K;var N=class extends j{constructor(){super(...arguments),this.formControlController=new wt(this,{assumeInteractionOn:["click"]}),this.hasSlotController=new at(this,"[default]","prefix","suffix"),this.localize=new $e(this),this.hasFocus=!1,this.invalid=!1,this.title="",this.variant="default",this.size="medium",this.caret=!1,this.disabled=!1,this.loading=!1,this.outline=!1,this.pill=!1,this.circle=!1,this.type="button",this.name="",this.value="",this.href="",this.rel="noreferrer noopener"}get validity(){return this.isButton()?this.button.validity:Fo}get validationMessage(){return this.isButton()?this.button.validationMessage:""}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(t){this.isButton()&&(this.button.setCustomValidity(t),this.formControlController.updateValidity())}render(){const t=this.isLink(),e=t?Io`a`:Io`button`;return lo`
1091
1075
  <${e}
1092
1076
  part="base"
1093
1077
  class=${W({button:!0,"button--default":this.variant==="default","button--primary":this.variant==="primary","button--success":this.variant==="success","button--neutral":this.variant==="neutral","button--warning":this.variant==="warning","button--danger":this.variant==="danger","button--text":this.variant==="text","button--small":this.size==="small","button--medium":this.size==="medium","button--large":this.size==="large","button--caret":this.caret,"button--circle":this.circle,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--loading":this.loading,"button--standard":!this.outline,"button--outline":this.outline,"button--pill":this.pill,"button--rtl":this.localize.dir()==="rtl","button--has-label":this.hasSlotController.test("[default]"),"button--has-prefix":this.hasSlotController.test("prefix"),"button--has-suffix":this.hasSlotController.test("suffix")})}
1094
- ?disabled=${E(t?void 0:this.disabled)}
1095
- type=${E(t?void 0:this.type)}
1078
+ ?disabled=${D(t?void 0:this.disabled)}
1079
+ type=${D(t?void 0:this.type)}
1096
1080
  title=${this.title}
1097
- name=${E(t?void 0:this.name)}
1098
- value=${E(t?void 0:this.value)}
1099
- href=${E(t?this.href:void 0)}
1100
- target=${E(t?this.target:void 0)}
1101
- download=${E(t?this.download:void 0)}
1102
- rel=${E(t?this.rel:void 0)}
1103
- role=${E(t?void 0:"button")}
1081
+ name=${D(t?void 0:this.name)}
1082
+ value=${D(t?void 0:this.value)}
1083
+ href=${D(t?this.href:void 0)}
1084
+ target=${D(t?this.target:void 0)}
1085
+ download=${D(t?this.download:void 0)}
1086
+ rel=${D(t?this.rel:void 0)}
1087
+ role=${D(t?void 0:"button")}
1104
1088
  aria-disabled=${this.disabled?"true":"false"}
1105
1089
  tabindex=${this.disabled?"-1":"0"}
1106
1090
  @blur=${this.handleBlur}
@@ -1111,11 +1095,11 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1111
1095
  <slot name="prefix" part="prefix" class="button__prefix"></slot>
1112
1096
  <slot part="label" class="button__label"></slot>
1113
1097
  <slot name="suffix" part="suffix" class="button__suffix"></slot>
1114
- ${this.caret?$o` <sl-icon part="caret" class="button__caret" library="system" name="caret"></sl-icon> `:""}
1115
- ${this.loading?$o`<sl-spinner part="spinner"></sl-spinner>`:""}
1098
+ ${this.caret?lo` <sl-icon part="caret" class="button__caret" library="system" name="caret"></sl-icon> `:""}
1099
+ ${this.loading?lo`<sl-spinner part="spinner"></sl-spinner>`:""}
1116
1100
  </${e}>
1117
- `}};U.styles=zn,U.dependencies={"sl-icon":de,"sl-spinner":xs},f([R(".button")],U.prototype,"button",2),f([Z()],U.prototype,"hasFocus",2),f([Z()],U.prototype,"invalid",2),f([p()],U.prototype,"title",2),f([p({reflect:!0})],U.prototype,"variant",2),f([p({reflect:!0})],U.prototype,"size",2),f([p({type:Boolean,reflect:!0})],U.prototype,"caret",2),f([p({type:Boolean,reflect:!0})],U.prototype,"disabled",2),f([p({type:Boolean,reflect:!0})],U.prototype,"loading",2),f([p({type:Boolean,reflect:!0})],U.prototype,"outline",2),f([p({type:Boolean,reflect:!0})],U.prototype,"pill",2),f([p({type:Boolean,reflect:!0})],U.prototype,"circle",2),f([p()],U.prototype,"type",2),f([p()],U.prototype,"name",2),f([p()],U.prototype,"value",2),f([p()],U.prototype,"href",2),f([p()],U.prototype,"target",2),f([p()],U.prototype,"rel",2),f([p()],U.prototype,"download",2),f([p()],U.prototype,"form",2),f([p({attribute:"formaction"})],U.prototype,"formAction",2),f([p({attribute:"formenctype"})],U.prototype,"formEnctype",2),f([p({attribute:"formmethod"})],U.prototype,"formMethod",2),f([p({attribute:"formnovalidate",type:Boolean})],U.prototype,"formNoValidate",2),f([p({attribute:"formtarget"})],U.prototype,"formTarget",2),f([P("disabled",{waitUntilFirstUpdate:!0})],U.prototype,"handleDisabledChange",1),U.define("sl-button");var Pd={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copied:"Copied",copy:"Copy",currentValue:"Current value",error:"Error",goToSlide:(t,e)=>`Go to slide ${t} of ${e}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",numOptionsSelected:t=>t===0?"No options selected":t===1?"1 option selected":`${t} options selected`,previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",showPassword:"Show password",slideNum:t=>`Slide ${t}`,toggleColorFormat:"Toggle color format"};ld(Pd);var Md=T`
1118
- ${J}
1101
+ `}};N.styles=Ea,N.dependencies={"sl-icon":le,"sl-spinner":Ur},d([O(".button")],N.prototype,"button",2),d([G()],N.prototype,"hasFocus",2),d([G()],N.prototype,"invalid",2),d([u()],N.prototype,"title",2),d([u({reflect:!0})],N.prototype,"variant",2),d([u({reflect:!0})],N.prototype,"size",2),d([u({type:Boolean,reflect:!0})],N.prototype,"caret",2),d([u({type:Boolean,reflect:!0})],N.prototype,"disabled",2),d([u({type:Boolean,reflect:!0})],N.prototype,"loading",2),d([u({type:Boolean,reflect:!0})],N.prototype,"outline",2),d([u({type:Boolean,reflect:!0})],N.prototype,"pill",2),d([u({type:Boolean,reflect:!0})],N.prototype,"circle",2),d([u()],N.prototype,"type",2),d([u()],N.prototype,"name",2),d([u()],N.prototype,"value",2),d([u()],N.prototype,"href",2),d([u()],N.prototype,"target",2),d([u()],N.prototype,"rel",2),d([u()],N.prototype,"download",2),d([u()],N.prototype,"form",2),d([u({attribute:"formaction"})],N.prototype,"formAction",2),d([u({attribute:"formenctype"})],N.prototype,"formEnctype",2),d([u({attribute:"formmethod"})],N.prototype,"formMethod",2),d([u({attribute:"formnovalidate",type:Boolean})],N.prototype,"formNoValidate",2),d([u({attribute:"formtarget"})],N.prototype,"formTarget",2),d([P("disabled",{waitUntilFirstUpdate:!0})],N.prototype,"handleDisabledChange",1),N.define("sl-button");var ll=L`
1102
+ ${Y}
1119
1103
 
1120
1104
  :host {
1121
1105
  display: inline-block;
@@ -1179,7 +1163,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1179
1163
  object-fit: cover;
1180
1164
  overflow: hidden;
1181
1165
  }
1182
- `,Oe=class extends j{constructor(){super(...arguments),this.hasError=!1,this.image="",this.label="",this.initials="",this.loading="eager",this.shape="circle"}handleImageChange(){this.hasError=!1}render(){const t=w`
1166
+ `,Pe=class extends j{constructor(){super(...arguments),this.hasError=!1,this.image="",this.label="",this.initials="",this.loading="eager",this.shape="circle"}handleImageChange(){this.hasError=!1}render(){const t=_`
1183
1167
  <img
1184
1168
  part="image"
1185
1169
  class="avatar__image"
@@ -1188,13 +1172,13 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1188
1172
  alt=""
1189
1173
  @error="${()=>this.hasError=!0}"
1190
1174
  />
1191
- `;let e=w``;return this.initials?e=w`<div part="initials" class="avatar__initials">${this.initials}</div>`:e=w`
1175
+ `;let e=_``;return this.initials?e=_`<div part="initials" class="avatar__initials">${this.initials}</div>`:e=_`
1192
1176
  <div part="icon" class="avatar__icon" aria-hidden="true">
1193
1177
  <slot name="icon">
1194
1178
  <sl-icon name="person-fill" library="system"></sl-icon>
1195
1179
  </slot>
1196
1180
  </div>
1197
- `,w`
1181
+ `,_`
1198
1182
  <div
1199
1183
  part="base"
1200
1184
  class=${W({avatar:!0,"avatar--circle":this.shape==="circle","avatar--rounded":this.shape==="rounded","avatar--square":this.shape==="square"})}
@@ -1203,7 +1187,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1203
1187
  >
1204
1188
  ${this.image&&!this.hasError?t:e}
1205
1189
  </div>
1206
- `}};Oe.styles=Md,Oe.dependencies={"sl-icon":de},f([Z()],Oe.prototype,"hasError",2),f([p()],Oe.prototype,"image",2),f([p()],Oe.prototype,"label",2),f([p()],Oe.prototype,"initials",2),f([p()],Oe.prototype,"loading",2),f([p({reflect:!0})],Oe.prototype,"shape",2),f([P("image")],Oe.prototype,"handleImageChange",1),Oe.define("sl-avatar");var dr=T`
1190
+ `}};Pe.styles=ll,Pe.dependencies={"sl-icon":le},d([G()],Pe.prototype,"hasError",2),d([u()],Pe.prototype,"image",2),d([u()],Pe.prototype,"label",2),d([u()],Pe.prototype,"initials",2),d([u()],Pe.prototype,"loading",2),d([u({reflect:!0})],Pe.prototype,"shape",2),d([P("image")],Pe.prototype,"handleImageChange",1),Pe.define("sl-avatar");var Mo=L`
1207
1191
  .form-control .form-control__label {
1208
1192
  display: none;
1209
1193
  }
@@ -1259,9 +1243,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1259
1243
  .form-control--has-help-text.form-control--radio-group .form-control__help-text {
1260
1244
  margin-top: var(--sl-spacing-2x-small);
1261
1245
  }
1262
- `,Od=T`
1263
- ${J}
1264
- ${dr}
1246
+ `,dl=L`
1247
+ ${Y}
1248
+ ${Mo}
1265
1249
 
1266
1250
  :host {
1267
1251
  display: block;
@@ -1556,11 +1540,11 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1556
1540
  .input--no-spin-buttons input[type='number'] {
1557
1541
  -moz-appearance: textfield;
1558
1542
  }
1559
- `,Eo=(t="value")=>(e,o)=>{const r=e.constructor,s=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(a,n,i){var c;const l=r.getPropertyOptions(t),d=typeof l.attribute=="string"?l.attribute:t;if(a===d){const u=l.converter||ho,h=(typeof u=="function"?u:(c=u==null?void 0:u.fromAttribute)!=null?c:ho.fromAttribute)(i,l.type);this[t]!==h&&(this[o]=h)}s.call(this,a,n,i)}};/**
1543
+ `,fo=(t="value")=>(e,o)=>{const r=e.constructor,s=r.prototype.attributeChangedCallback;r.prototype.attributeChangedCallback=function(a,n,i){var c;const l=r.getPropertyOptions(t),f=typeof l.attribute=="string"?l.attribute:t;if(a===f){const h=l.converter||eo,p=(typeof h=="function"?h:(c=h==null?void 0:h.fromAttribute)!=null?c:eo.fromAttribute)(i,l.type);this[t]!==p&&(this[o]=p)}s.call(this,a,n,i)}};/**
1560
1544
  * @license
1561
1545
  * Copyright 2020 Google LLC
1562
1546
  * SPDX-License-Identifier: BSD-3-Clause
1563
- */const So=ir(class extends cr{constructor(t){if(super(t),t.type!==Qe.PROPERTY&&t.type!==Qe.ATTRIBUTE&&t.type!==Qe.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Td(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===xe||e===Y)return e;const o=t.element,r=t.name;if(t.type===Qe.PROPERTY){if(e===o[r])return xe}else if(t.type===Qe.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(r))return xe}else if(t.type===Qe.ATTRIBUTE&&o.getAttribute(r)===e+"")return xe;return Mn(t),e}});var L=class extends j{constructor(){super(...arguments),this.formControlController=new Tt(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new lt(this,"help-text","label"),this.localize=new Se(this),this.hasFocus=!1,this.title="",this.__numberInput=Object.assign(document.createElement("input"),{type:"number"}),this.__dateInput=Object.assign(document.createElement("input"),{type:"date"}),this.type="text",this.name="",this.value="",this.defaultValue="",this.size="medium",this.filled=!1,this.pill=!1,this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.placeholder="",this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form="",this.required=!1,this.spellcheck=!0}get valueAsDate(){var t;return this.__dateInput.type=this.type,this.__dateInput.value=this.value,((t=this.input)==null?void 0:t.valueAsDate)||this.__dateInput.valueAsDate}set valueAsDate(t){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=t,this.value=this.__dateInput.value}get valueAsNumber(){var t;return this.__numberInput.value=this.value,((t=this.input)==null?void 0:t.valueAsNumber)||this.__numberInput.valueAsNumber}set valueAsNumber(t){this.__numberInput.valueAsNumber=t,this.value=this.__numberInput.value}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleChange(){this.value=this.input.value,this.emit("sl-change")}handleClearClick(t){this.value="",this.emit("sl-clear"),this.emit("sl-input"),this.emit("sl-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!e&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,o="none"){this.input.setSelectionRange(t,e,o)}setRangeText(t,e,o,r){this.input.setRangeText(t,e,o,r),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=this.clearable&&!this.disabled&&!this.readonly,a=s&&(typeof this.value=="number"||this.value.length>0);return w`
1547
+ */const uo=to(class extends oo{constructor(t){if(super(t),t.type!==Re.PROPERTY&&t.type!==Re.ATTRIBUTE&&t.type!==Re.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ta(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===fe||e===K)return e;const o=t.element,r=t.name;if(t.type===Re.PROPERTY){if(e===o[r])return fe}else if(t.type===Re.BOOLEAN_ATTRIBUTE){if(!!e===o.hasAttribute(r))return fe}else if(t.type===Re.ATTRIBUTE&&o.getAttribute(r)===e+"")return fe;return La(t),e}});var R=class extends j{constructor(){super(...arguments),this.formControlController=new wt(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new at(this,"help-text","label"),this.localize=new $e(this),this.hasFocus=!1,this.title="",this.__numberInput=Object.assign(document.createElement("input"),{type:"number"}),this.__dateInput=Object.assign(document.createElement("input"),{type:"date"}),this.type="text",this.name="",this.value="",this.defaultValue="",this.size="medium",this.filled=!1,this.pill=!1,this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.placeholder="",this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.noSpinButtons=!1,this.form="",this.required=!1,this.spellcheck=!0}get valueAsDate(){var t;return this.__dateInput.type=this.type,this.__dateInput.value=this.value,((t=this.input)==null?void 0:t.valueAsDate)||this.__dateInput.valueAsDate}set valueAsDate(t){this.__dateInput.type=this.type,this.__dateInput.valueAsDate=t,this.value=this.__dateInput.value}get valueAsNumber(){var t;return this.__numberInput.value=this.value,((t=this.input)==null?void 0:t.valueAsNumber)||this.__numberInput.valueAsNumber}set valueAsNumber(t){this.__numberInput.valueAsNumber=t,this.value=this.__numberInput.value}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleChange(){this.value=this.input.value,this.emit("sl-change")}handleClearClick(t){this.value="",this.emit("sl-clear"),this.emit("sl-input"),this.emit("sl-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!e&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,o="none"){this.input.setSelectionRange(t,e,o)}setRangeText(t,e,o,r){this.input.setRangeText(t,e,o,r),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=this.clearable&&!this.disabled&&!this.readonly,a=s&&(typeof this.value=="number"||this.value.length>0);return _`
1564
1548
  <div
1565
1549
  part="form-control"
1566
1550
  class=${W({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--has-label":o,"form-control--has-help-text":r})}
@@ -1589,25 +1573,25 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1589
1573
  class="input__control"
1590
1574
  type=${this.type==="password"&&this.passwordVisible?"text":this.type}
1591
1575
  title=${this.title}
1592
- name=${E(this.name)}
1576
+ name=${D(this.name)}
1593
1577
  ?disabled=${this.disabled}
1594
1578
  ?readonly=${this.readonly}
1595
1579
  ?required=${this.required}
1596
- placeholder=${E(this.placeholder)}
1597
- minlength=${E(this.minlength)}
1598
- maxlength=${E(this.maxlength)}
1599
- min=${E(this.min)}
1600
- max=${E(this.max)}
1601
- step=${E(this.step)}
1602
- .value=${So(this.value)}
1603
- autocapitalize=${E(this.autocapitalize)}
1604
- autocomplete=${E(this.autocomplete)}
1605
- autocorrect=${E(this.autocorrect)}
1580
+ placeholder=${D(this.placeholder)}
1581
+ minlength=${D(this.minlength)}
1582
+ maxlength=${D(this.maxlength)}
1583
+ min=${D(this.min)}
1584
+ max=${D(this.max)}
1585
+ step=${D(this.step)}
1586
+ .value=${uo(this.value)}
1587
+ autocapitalize=${D(this.autocapitalize)}
1588
+ autocomplete=${D(this.autocomplete)}
1589
+ autocorrect=${D(this.autocorrect)}
1606
1590
  ?autofocus=${this.autofocus}
1607
1591
  spellcheck=${this.spellcheck}
1608
- pattern=${E(this.pattern)}
1609
- enterkeyhint=${E(this.enterkeyhint)}
1610
- inputmode=${E(this.inputmode)}
1592
+ pattern=${D(this.pattern)}
1593
+ enterkeyhint=${D(this.enterkeyhint)}
1594
+ inputmode=${D(this.inputmode)}
1611
1595
  aria-describedby="help-text"
1612
1596
  @change=${this.handleChange}
1613
1597
  @input=${this.handleInput}
@@ -1617,7 +1601,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1617
1601
  @blur=${this.handleBlur}
1618
1602
  />
1619
1603
 
1620
- ${s?w`
1604
+ ${s?_`
1621
1605
  <button
1622
1606
  part="clear-button"
1623
1607
  class=${W({input__clear:!0,"input__clear--visible":a})}
@@ -1631,7 +1615,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1631
1615
  </slot>
1632
1616
  </button>
1633
1617
  `:""}
1634
- ${this.passwordToggle&&!this.disabled?w`
1618
+ ${this.passwordToggle&&!this.disabled?_`
1635
1619
  <button
1636
1620
  part="password-toggle-button"
1637
1621
  class="input__password-toggle"
@@ -1640,11 +1624,11 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1640
1624
  @click=${this.handlePasswordToggle}
1641
1625
  tabindex="-1"
1642
1626
  >
1643
- ${this.passwordVisible?w`
1627
+ ${this.passwordVisible?_`
1644
1628
  <slot name="show-password-icon">
1645
1629
  <sl-icon name="eye-slash" library="system"></sl-icon>
1646
1630
  </slot>
1647
- `:w`
1631
+ `:_`
1648
1632
  <slot name="hide-password-icon">
1649
1633
  <sl-icon name="eye" library="system"></sl-icon>
1650
1634
  </slot>
@@ -1667,8 +1651,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1667
1651
  <slot name="help-text">${this.helpText}</slot>
1668
1652
  </div>
1669
1653
  </div>
1670
- `}};L.styles=Od,L.dependencies={"sl-icon":de},f([R(".input__control")],L.prototype,"input",2),f([Z()],L.prototype,"hasFocus",2),f([p()],L.prototype,"title",2),f([p({reflect:!0})],L.prototype,"type",2),f([p()],L.prototype,"name",2),f([p()],L.prototype,"value",2),f([Eo()],L.prototype,"defaultValue",2),f([p({reflect:!0})],L.prototype,"size",2),f([p({type:Boolean,reflect:!0})],L.prototype,"filled",2),f([p({type:Boolean,reflect:!0})],L.prototype,"pill",2),f([p()],L.prototype,"label",2),f([p({attribute:"help-text"})],L.prototype,"helpText",2),f([p({type:Boolean})],L.prototype,"clearable",2),f([p({type:Boolean,reflect:!0})],L.prototype,"disabled",2),f([p()],L.prototype,"placeholder",2),f([p({type:Boolean,reflect:!0})],L.prototype,"readonly",2),f([p({attribute:"password-toggle",type:Boolean})],L.prototype,"passwordToggle",2),f([p({attribute:"password-visible",type:Boolean})],L.prototype,"passwordVisible",2),f([p({attribute:"no-spin-buttons",type:Boolean})],L.prototype,"noSpinButtons",2),f([p({reflect:!0})],L.prototype,"form",2),f([p({type:Boolean,reflect:!0})],L.prototype,"required",2),f([p()],L.prototype,"pattern",2),f([p({type:Number})],L.prototype,"minlength",2),f([p({type:Number})],L.prototype,"maxlength",2),f([p()],L.prototype,"min",2),f([p()],L.prototype,"max",2),f([p()],L.prototype,"step",2),f([p()],L.prototype,"autocapitalize",2),f([p()],L.prototype,"autocorrect",2),f([p()],L.prototype,"autocomplete",2),f([p({type:Boolean})],L.prototype,"autofocus",2),f([p()],L.prototype,"enterkeyhint",2),f([p({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],L.prototype,"spellcheck",2),f([p()],L.prototype,"inputmode",2),f([P("disabled",{waitUntilFirstUpdate:!0})],L.prototype,"handleDisabledChange",1),f([P("step",{waitUntilFirstUpdate:!0})],L.prototype,"handleStepChange",1),f([P("value",{waitUntilFirstUpdate:!0})],L.prototype,"handleValueChange",1),L.define("sl-input");var Fd=T`
1671
- ${J}
1654
+ `}};R.styles=dl,R.dependencies={"sl-icon":le},d([O(".input__control")],R.prototype,"input",2),d([G()],R.prototype,"hasFocus",2),d([u()],R.prototype,"title",2),d([u({reflect:!0})],R.prototype,"type",2),d([u()],R.prototype,"name",2),d([u()],R.prototype,"value",2),d([fo()],R.prototype,"defaultValue",2),d([u({reflect:!0})],R.prototype,"size",2),d([u({type:Boolean,reflect:!0})],R.prototype,"filled",2),d([u({type:Boolean,reflect:!0})],R.prototype,"pill",2),d([u()],R.prototype,"label",2),d([u({attribute:"help-text"})],R.prototype,"helpText",2),d([u({type:Boolean})],R.prototype,"clearable",2),d([u({type:Boolean,reflect:!0})],R.prototype,"disabled",2),d([u()],R.prototype,"placeholder",2),d([u({type:Boolean,reflect:!0})],R.prototype,"readonly",2),d([u({attribute:"password-toggle",type:Boolean})],R.prototype,"passwordToggle",2),d([u({attribute:"password-visible",type:Boolean})],R.prototype,"passwordVisible",2),d([u({attribute:"no-spin-buttons",type:Boolean})],R.prototype,"noSpinButtons",2),d([u({reflect:!0})],R.prototype,"form",2),d([u({type:Boolean,reflect:!0})],R.prototype,"required",2),d([u()],R.prototype,"pattern",2),d([u({type:Number})],R.prototype,"minlength",2),d([u({type:Number})],R.prototype,"maxlength",2),d([u()],R.prototype,"min",2),d([u()],R.prototype,"max",2),d([u()],R.prototype,"step",2),d([u()],R.prototype,"autocapitalize",2),d([u()],R.prototype,"autocorrect",2),d([u()],R.prototype,"autocomplete",2),d([u({type:Boolean})],R.prototype,"autofocus",2),d([u()],R.prototype,"enterkeyhint",2),d([u({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],R.prototype,"spellcheck",2),d([u()],R.prototype,"inputmode",2),d([P("disabled",{waitUntilFirstUpdate:!0})],R.prototype,"handleDisabledChange",1),d([P("step",{waitUntilFirstUpdate:!0})],R.prototype,"handleStepChange",1),d([P("value",{waitUntilFirstUpdate:!0})],R.prototype,"handleValueChange",1),R.define("sl-input");var fl=L`
1655
+ ${Y}
1672
1656
 
1673
1657
  :host {
1674
1658
  display: block;
@@ -1753,7 +1737,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1753
1737
  outline-offset: -1px;
1754
1738
  }
1755
1739
  }
1756
- `,ke=class extends j{constructor(){super(...arguments),this.localize=new Se(this),this.current=!1,this.selected=!1,this.hasHover=!1,this.value="",this.disabled=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){const t=this.getTextLabel();if(typeof this.cachedTextLabel>"u"){this.cachedTextLabel=t;return}t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){typeof this.value!="string"&&(this.value=String(this.value)),this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var t;return((t=this.textContent)!=null?t:"").trim()}render(){return w`
1740
+ `,_e=class extends j{constructor(){super(...arguments),this.localize=new $e(this),this.current=!1,this.selected=!1,this.hasHover=!1,this.value="",this.disabled=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){const t=this.getTextLabel();if(typeof this.cachedTextLabel>"u"){this.cachedTextLabel=t;return}t!==this.cachedTextLabel&&(this.cachedTextLabel=t,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){typeof this.value!="string"&&(this.value=String(this.value)),this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var t;return((t=this.textContent)!=null?t:"").trim()}render(){return _`
1757
1741
  <div
1758
1742
  part="base"
1759
1743
  class=${W({option:!0,"option--current":this.current,"option--disabled":this.disabled,"option--selected":this.selected,"option--hover":this.hasHover})}
@@ -1765,8 +1749,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1765
1749
  <slot part="label" class="option__label" @slotchange=${this.handleDefaultSlotChange}></slot>
1766
1750
  <slot part="suffix" name="suffix" class="option__suffix"></slot>
1767
1751
  </div>
1768
- `}};ke.styles=Fd,ke.dependencies={"sl-icon":de},f([R(".option__label")],ke.prototype,"defaultSlot",2),f([Z()],ke.prototype,"current",2),f([Z()],ke.prototype,"selected",2),f([Z()],ke.prototype,"hasHover",2),f([p({reflect:!0})],ke.prototype,"value",2),f([p({type:Boolean,reflect:!0})],ke.prototype,"disabled",2),f([P("disabled")],ke.prototype,"handleDisabledChange",1),f([P("selected")],ke.prototype,"handleSelectedChange",1),f([P("value")],ke.prototype,"handleValueChange",1),ke.define("sl-option");var Bd=T`
1769
- ${J}
1752
+ `}};_e.styles=fl,_e.dependencies={"sl-icon":le},d([O(".option__label")],_e.prototype,"defaultSlot",2),d([G()],_e.prototype,"current",2),d([G()],_e.prototype,"selected",2),d([G()],_e.prototype,"hasHover",2),d([u({reflect:!0})],_e.prototype,"value",2),d([u({type:Boolean,reflect:!0})],_e.prototype,"disabled",2),d([P("disabled")],_e.prototype,"handleDisabledChange",1),d([P("selected")],_e.prototype,"handleSelectedChange",1),d([P("value")],_e.prototype,"handleValueChange",1),_e.define("sl-option");var ul=L`
1753
+ ${Y}
1770
1754
 
1771
1755
  :host {
1772
1756
  display: inline-block;
@@ -1880,8 +1864,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1880
1864
  .tag--pill {
1881
1865
  border-radius: var(--sl-border-radius-pill);
1882
1866
  }
1883
- `,Nd=T`
1884
- ${J}
1867
+ `,hl=L`
1868
+ ${Y}
1885
1869
 
1886
1870
  :host {
1887
1871
  display: inline-block;
@@ -1929,17 +1913,17 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1929
1913
  .icon-button__icon {
1930
1914
  pointer-events: none;
1931
1915
  }
1932
- `,ae=class extends j{constructor(){super(...arguments),this.hasFocus=!1,this.label="",this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t=!!this.href,e=t?lr`a`:lr`button`;return $o`
1916
+ `,re=class extends j{constructor(){super(...arguments),this.hasFocus=!1,this.label="",this.disabled=!1}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleClick(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}click(){this.button.click()}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t=!!this.href,e=t?Io`a`:Io`button`;return lo`
1933
1917
  <${e}
1934
1918
  part="base"
1935
1919
  class=${W({"icon-button":!0,"icon-button--disabled":!t&&this.disabled,"icon-button--focused":this.hasFocus})}
1936
- ?disabled=${E(t?void 0:this.disabled)}
1937
- type=${E(t?void 0:"button")}
1938
- href=${E(t?this.href:void 0)}
1939
- target=${E(t?this.target:void 0)}
1940
- download=${E(t?this.download:void 0)}
1941
- rel=${E(t&&this.target?"noreferrer noopener":void 0)}
1942
- role=${E(t?void 0:"button")}
1920
+ ?disabled=${D(t?void 0:this.disabled)}
1921
+ type=${D(t?void 0:"button")}
1922
+ href=${D(t?this.href:void 0)}
1923
+ target=${D(t?this.target:void 0)}
1924
+ download=${D(t?this.download:void 0)}
1925
+ rel=${D(t&&this.target?"noreferrer noopener":void 0)}
1926
+ role=${D(t?void 0:"button")}
1943
1927
  aria-disabled=${this.disabled?"true":"false"}
1944
1928
  aria-label="${this.label}"
1945
1929
  tabindex=${this.disabled?"-1":"0"}
@@ -1949,20 +1933,20 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1949
1933
  >
1950
1934
  <sl-icon
1951
1935
  class="icon-button__icon"
1952
- name=${E(this.name)}
1953
- library=${E(this.library)}
1954
- src=${E(this.src)}
1936
+ name=${D(this.name)}
1937
+ library=${D(this.library)}
1938
+ src=${D(this.src)}
1955
1939
  aria-hidden="true"
1956
1940
  ></sl-icon>
1957
1941
  </${e}>
1958
- `}};ae.styles=Nd,ae.dependencies={"sl-icon":de},f([R(".icon-button")],ae.prototype,"button",2),f([Z()],ae.prototype,"hasFocus",2),f([p()],ae.prototype,"name",2),f([p()],ae.prototype,"library",2),f([p()],ae.prototype,"src",2),f([p()],ae.prototype,"href",2),f([p()],ae.prototype,"target",2),f([p()],ae.prototype,"download",2),f([p()],ae.prototype,"label",2),f([p({type:Boolean,reflect:!0})],ae.prototype,"disabled",2);var Lt=class extends j{constructor(){super(...arguments),this.localize=new Se(this),this.variant="neutral",this.size="medium",this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit("sl-remove")}render(){return w`
1942
+ `}};re.styles=hl,re.dependencies={"sl-icon":le},d([O(".icon-button")],re.prototype,"button",2),d([G()],re.prototype,"hasFocus",2),d([u()],re.prototype,"name",2),d([u()],re.prototype,"library",2),d([u()],re.prototype,"src",2),d([u()],re.prototype,"href",2),d([u()],re.prototype,"target",2),d([u()],re.prototype,"download",2),d([u()],re.prototype,"label",2),d([u({type:Boolean,reflect:!0})],re.prototype,"disabled",2);var xt=class extends j{constructor(){super(...arguments),this.localize=new $e(this),this.variant="neutral",this.size="medium",this.pill=!1,this.removable=!1}handleRemoveClick(){this.emit("sl-remove")}render(){return _`
1959
1943
  <span
1960
1944
  part="base"
1961
1945
  class=${W({tag:!0,"tag--primary":this.variant==="primary","tag--success":this.variant==="success","tag--neutral":this.variant==="neutral","tag--warning":this.variant==="warning","tag--danger":this.variant==="danger","tag--text":this.variant==="text","tag--small":this.size==="small","tag--medium":this.size==="medium","tag--large":this.size==="large","tag--pill":this.pill,"tag--removable":this.removable})}
1962
1946
  >
1963
1947
  <slot part="content" class="tag__content"></slot>
1964
1948
 
1965
- ${this.removable?w`
1949
+ ${this.removable?_`
1966
1950
  <sl-icon-button
1967
1951
  part="remove-button"
1968
1952
  exportparts="base:remove-button__base"
@@ -1975,9 +1959,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
1975
1959
  ></sl-icon-button>
1976
1960
  `:""}
1977
1961
  </span>
1978
- `}};Lt.styles=Bd,Lt.dependencies={"sl-icon-button":ae},f([p({reflect:!0})],Lt.prototype,"variant",2),f([p({reflect:!0})],Lt.prototype,"size",2),f([p({type:Boolean,reflect:!0})],Lt.prototype,"pill",2),f([p({type:Boolean})],Lt.prototype,"removable",2);var Vd=T`
1979
- ${J}
1980
- ${dr}
1962
+ `}};xt.styles=ul,xt.dependencies={"sl-icon-button":re},d([u({reflect:!0})],xt.prototype,"variant",2),d([u({reflect:!0})],xt.prototype,"size",2),d([u({type:Boolean,reflect:!0})],xt.prototype,"pill",2),d([u({type:Boolean})],xt.prototype,"removable",2);var pl=L`
1963
+ ${Y}
1964
+ ${Mo}
1981
1965
 
1982
1966
  :host {
1983
1967
  display: block;
@@ -2302,8 +2286,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2302
2286
  padding-block: var(--sl-spacing-x-small);
2303
2287
  padding-inline: var(--sl-spacing-x-large);
2304
2288
  }
2305
- `;function Hd(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}var Ds=new Set;function Ud(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Bn(t){if(Ds.add(t),!document.body.classList.contains("sl-scroll-lock")){const e=Ud();document.body.classList.add("sl-scroll-lock"),document.body.style.setProperty("--sl-scroll-lock-size",`${e}px`)}}function Nn(t){Ds.delete(t),Ds.size===0&&(document.body.classList.remove("sl-scroll-lock"),document.body.style.removeProperty("--sl-scroll-lock-size"))}function qs(t,e,o="vertical",r="smooth"){const s=Hd(t,e),a=s.top+e.scrollTop,n=s.left+e.scrollLeft,i=e.scrollLeft,c=e.scrollLeft+e.offsetWidth,l=e.scrollTop,d=e.scrollTop+e.offsetHeight;(o==="horizontal"||o==="both")&&(n<i?e.scrollTo({left:n,behavior:r}):n+t.clientWidth>c&&e.scrollTo({left:n-e.offsetWidth+t.clientWidth,behavior:r})),(o==="vertical"||o==="both")&&(a<l?e.scrollTo({top:a,behavior:r}):a+t.clientHeight>d&&e.scrollTo({top:a-e.offsetHeight+t.clientHeight,behavior:r}))}var jd=T`
2306
- ${J}
2289
+ `;function bl(t,e){return{top:Math.round(t.getBoundingClientRect().top-e.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-e.getBoundingClientRect().left)}}var Kr=new Set;function gl(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Fa(t){if(Kr.add(t),!document.body.classList.contains("sl-scroll-lock")){const e=gl();document.body.classList.add("sl-scroll-lock"),document.body.style.setProperty("--sl-scroll-lock-size",`${e}px`)}}function Pa(t){Kr.delete(t),Kr.size===0&&(document.body.classList.remove("sl-scroll-lock"),document.body.style.removeProperty("--sl-scroll-lock-size"))}function Jr(t,e,o="vertical",r="smooth"){const s=bl(t,e),a=s.top+e.scrollTop,n=s.left+e.scrollLeft,i=e.scrollLeft,c=e.scrollLeft+e.offsetWidth,l=e.scrollTop,f=e.scrollTop+e.offsetHeight;(o==="horizontal"||o==="both")&&(n<i?e.scrollTo({left:n,behavior:r}):n+t.clientWidth>c&&e.scrollTo({left:n-e.offsetWidth+t.clientWidth,behavior:r})),(o==="vertical"||o==="both")&&(a<l?e.scrollTo({top:a,behavior:r}):a+t.clientHeight>f&&e.scrollTo({top:a-e.offsetHeight+t.clientHeight,behavior:r}))}var ml=L`
2290
+ ${Y}
2307
2291
 
2308
2292
  :host {
2309
2293
  --arrow-color: var(--sl-color-neutral-1000);
@@ -2342,7 +2326,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2342
2326
  background: var(--arrow-color);
2343
2327
  z-index: -1;
2344
2328
  }
2345
- `;const dt=Math.min,ve=Math.max,fr=Math.round,ur=Math.floor,ft=t=>({x:t,y:t}),Gd={left:"right",right:"left",bottom:"top",top:"bottom"},Zd={start:"end",end:"start"};function Ts(t,e,o){return ve(t,dt(e,o))}function Ut(t,e){return typeof t=="function"?t(e):t}function ut(t){return t.split("-")[0]}function jt(t){return t.split("-")[1]}function Vn(t){return t==="x"?"y":"x"}function zs(t){return t==="y"?"height":"width"}function Do(t){return["top","bottom"].includes(ut(t))?"y":"x"}function Ls(t){return Vn(Do(t))}function Wd(t,e,o){o===void 0&&(o=!1);const r=jt(t),s=Ls(t),a=zs(s);let n=s==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=hr(n)),[n,hr(n)]}function Kd(t){const e=hr(t);return[Rs(t),e,Rs(e)]}function Rs(t){return t.replace(/start|end/g,e=>Zd[e])}function Yd(t,e,o){const r=["left","right"],s=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(t){case"top":case"bottom":return o?e?s:r:e?r:s;case"left":case"right":return e?a:n;default:return[]}}function Jd(t,e,o,r){const s=jt(t);let a=Yd(ut(t),o==="start",r);return s&&(a=a.map(n=>n+"-"+s),e&&(a=a.concat(a.map(Rs)))),a}function hr(t){return t.replace(/left|right|bottom|top/g,e=>Gd[e])}function Qd(t){return{top:0,right:0,bottom:0,left:0,...t}}function Hn(t){return typeof t!="number"?Qd(t):{top:t,right:t,bottom:t,left:t}}function pr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Un(t,e,o){let{reference:r,floating:s}=t;const a=Do(e),n=Ls(e),i=zs(n),c=ut(e),l=a==="y",d=r.x+r.width/2-s.width/2,u=r.y+r.height/2-s.height/2,b=r[i]/2-s[i]/2;let h;switch(c){case"top":h={x:d,y:r.y-s.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-s.width,y:u};break;default:h={x:r.x,y:r.y}}switch(jt(e)){case"start":h[n]-=b*(o&&l?-1:1);break;case"end":h[n]+=b*(o&&l?-1:1);break}return h}const Xd=async(t,e,o)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:n}=o,i=a.filter(Boolean),c=await(n.isRTL==null?void 0:n.isRTL(e));let l=await n.getElementRects({reference:t,floating:e,strategy:s}),{x:d,y:u}=Un(l,r,c),b=r,h={},g=0;for(let m=0;m<i.length;m++){const{name:_,fn:y}=i[m],{x:v,y:C,data:A,reset:$}=await y({x:d,y:u,initialPlacement:r,placement:b,strategy:s,middlewareData:h,rects:l,platform:n,elements:{reference:t,floating:e}});if(d=v??d,u=C??u,h={...h,[_]:{...h[_],...A}},$&&g<=50){g++,typeof $=="object"&&($.placement&&(b=$.placement),$.rects&&(l=$.rects===!0?await n.getElementRects({reference:t,floating:e,strategy:s}):$.rects),{x:d,y:u}=Un(l,b,c)),m=-1;continue}}return{x:d,y:u,placement:b,strategy:s,middlewareData:h}};async function Is(t,e){var o;e===void 0&&(e={});const{x:r,y:s,platform:a,rects:n,elements:i,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:b=!1,padding:h=0}=Ut(e,t),g=Hn(h),_=i[b?u==="floating"?"reference":"floating":u],y=pr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(_)))==null||o?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:l,rootBoundary:d,strategy:c})),v=u==="floating"?{...n.floating,x:r,y:s}:n.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),A=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},$=pr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:C,strategy:c}):v);return{top:(y.top-$.top+g.top)/A.y,bottom:($.bottom-y.bottom+g.bottom)/A.y,left:(y.left-$.left+g.left)/A.x,right:($.right-y.right+g.right)/A.x}}const ef=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:s,rects:a,platform:n,elements:i,middlewareData:c}=e,{element:l,padding:d=0}=Ut(t,e)||{};if(l==null)return{};const u=Hn(d),b={x:o,y:r},h=Ls(s),g=zs(h),m=await n.getDimensions(l),_=h==="y",y=_?"top":"left",v=_?"bottom":"right",C=_?"clientHeight":"clientWidth",A=a.reference[g]+a.reference[h]-b[h]-a.floating[g],$=b[h]-a.reference[h],x=await(n.getOffsetParent==null?void 0:n.getOffsetParent(l));let q=x?x[C]:0;(!q||!await(n.isElement==null?void 0:n.isElement(x)))&&(q=i.floating[C]||a.floating[g]);const O=A/2-$/2,S=q/2-m[g]/2-1,D=dt(u[y],S),B=dt(u[v],S),ee=D,$e=q-m[g]-B,k=q/2-m[g]/2+O,N=Ts(ee,k,$e),z=!c.arrow&&jt(s)!=null&&k!=N&&a.reference[g]/2-(k<ee?D:B)-m[g]/2<0,re=z?k<ee?k-ee:k-$e:0;return{[h]:b[h]+re,data:{[h]:N,centerOffset:k-N-re,...z&&{alignmentOffset:re}},reset:z}}}),tf=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:s,middlewareData:a,rects:n,initialPlacement:i,platform:c,elements:l}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:b,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,..._}=Ut(t,e);if((o=a.arrow)!=null&&o.alignmentOffset)return{};const y=ut(s),v=ut(i)===i,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),A=b||(v||!m?[hr(i)]:Kd(i));!b&&g!=="none"&&A.push(...Jd(i,m,g,C));const $=[i,...A],x=await Is(e,_),q=[];let O=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&q.push(x[y]),u){const ee=Wd(s,n,C);q.push(x[ee[0]],x[ee[1]])}if(O=[...O,{placement:s,overflows:q}],!q.every(ee=>ee<=0)){var S,D;const ee=(((S=a.flip)==null?void 0:S.index)||0)+1,$e=$[ee];if($e)return{data:{index:ee,overflows:O},reset:{placement:$e}};let k=(D=O.filter(N=>N.overflows[0]<=0).sort((N,z)=>N.overflows[1]-z.overflows[1])[0])==null?void 0:D.placement;if(!k)switch(h){case"bestFit":{var B;const N=(B=O.map(z=>[z.placement,z.overflows.filter(re=>re>0).reduce((re,Zr)=>re+Zr,0)]).sort((z,re)=>z[1]-re[1])[0])==null?void 0:B[0];N&&(k=N);break}case"initialPlacement":k=i;break}if(s!==k)return{reset:{placement:k}}}return{}}}};async function of(t,e){const{placement:o,platform:r,elements:s}=t,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),n=ut(o),i=jt(o),c=Do(o)==="y",l=["left","top"].includes(n)?-1:1,d=a&&c?-1:1,u=Ut(e,t);let{mainAxis:b,crossAxis:h,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return i&&typeof g=="number"&&(h=i==="end"?g*-1:g),c?{x:h*d,y:b*l}:{x:b*l,y:h*d}}const rf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,s=await of(e,t);return{x:o+s.x,y:r+s.y,data:s}}}},sf=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:s}=e,{mainAxis:a=!0,crossAxis:n=!1,limiter:i={fn:_=>{let{x:y,y:v}=_;return{x:y,y:v}}},...c}=Ut(t,e),l={x:o,y:r},d=await Is(e,c),u=Do(ut(s)),b=Vn(u);let h=l[b],g=l[u];if(a){const _=b==="y"?"top":"left",y=b==="y"?"bottom":"right",v=h+d[_],C=h-d[y];h=Ts(v,h,C)}if(n){const _=u==="y"?"top":"left",y=u==="y"?"bottom":"right",v=g+d[_],C=g-d[y];g=Ts(v,g,C)}const m=i.fn({...e,[b]:h,[u]:g});return{...m,data:{x:m.x-o,y:m.y-r}}}}},jn=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:s,elements:a}=e,{apply:n=()=>{},...i}=Ut(t,e),c=await Is(e,i),l=ut(o),d=jt(o),u=Do(o)==="y",{width:b,height:h}=r.floating;let g,m;l==="top"||l==="bottom"?(g=l,m=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=l,g=d==="end"?"top":"bottom");const _=h-c[g],y=b-c[m],v=!e.middlewareData.shift;let C=_,A=y;if(u){const x=b-c.left-c.right;A=d||v?dt(y,x):x}else{const x=h-c.top-c.bottom;C=d||v?dt(_,x):x}if(v&&!d){const x=ve(c.left,0),q=ve(c.right,0),O=ve(c.top,0),S=ve(c.bottom,0);u?A=b-2*(x!==0||q!==0?x+q:ve(c.left,c.right)):C=h-2*(O!==0||S!==0?O+S:ve(c.top,c.bottom))}await n({...e,availableWidth:A,availableHeight:C});const $=await s.getDimensions(a.floating);return b!==$.width||h!==$.height?{reset:{rects:!0}}:{}}}};function ht(t){return Gn(t)?(t.nodeName||"").toLowerCase():"#document"}function ye(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Xe(t){var e;return(e=(Gn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gn(t){return t instanceof Node||t instanceof ye(t).Node}function et(t){return t instanceof Element||t instanceof ye(t).Element}function Fe(t){return t instanceof HTMLElement||t instanceof ye(t).HTMLElement}function Zn(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ye(t).ShadowRoot}function qo(t){const{overflow:e,overflowX:o,overflowY:r,display:s}=Ce(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(s)}function af(t){return["table","td","th"].includes(ht(t))}function Ps(t){const e=Ms(),o=Ce(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function nf(t){let e=Gt(t);for(;Fe(e)&&!br(e);){if(Ps(e))return e;e=Gt(e)}return null}function Ms(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function br(t){return["html","body","#document"].includes(ht(t))}function Ce(t){return ye(t).getComputedStyle(t)}function gr(t){return et(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gt(t){if(ht(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Zn(t)&&t.host||Xe(t);return Zn(e)?e.host:e}function Wn(t){const e=Gt(t);return br(e)?t.ownerDocument?t.ownerDocument.body:t.body:Fe(e)&&qo(e)?e:Wn(e)}function To(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const s=Wn(t),a=s===((r=t.ownerDocument)==null?void 0:r.body),n=ye(s);return a?e.concat(n,n.visualViewport||[],qo(s)?s:[],n.frameElement&&o?To(n.frameElement):[]):e.concat(s,To(s))}function Kn(t){const e=Ce(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Fe(t),a=s?t.offsetWidth:o,n=s?t.offsetHeight:r,i=fr(o)!==a||fr(r)!==n;return i&&(o=a,r=n),{width:o,height:r,$:i}}function Os(t){return et(t)?t:t.contextElement}function Zt(t){const e=Os(t);if(!Fe(e))return ft(1);const o=e.getBoundingClientRect(),{width:r,height:s,$:a}=Kn(e);let n=(a?fr(o.width):o.width)/r,i=(a?fr(o.height):o.height)/s;return(!n||!Number.isFinite(n))&&(n=1),(!i||!Number.isFinite(i))&&(i=1),{x:n,y:i}}const cf=ft(0);function Yn(t){const e=ye(t);return!Ms()||!e.visualViewport?cf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function lf(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ye(t)?!1:e}function Rt(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),a=Os(t);let n=ft(1);e&&(r?et(r)&&(n=Zt(r)):n=Zt(t));const i=lf(a,o,r)?Yn(a):ft(0);let c=(s.left+i.x)/n.x,l=(s.top+i.y)/n.y,d=s.width/n.x,u=s.height/n.y;if(a){const b=ye(a),h=r&&et(r)?ye(r):r;let g=b.frameElement;for(;g&&r&&h!==b;){const m=Zt(g),_=g.getBoundingClientRect(),y=Ce(g),v=_.left+(g.clientLeft+parseFloat(y.paddingLeft))*m.x,C=_.top+(g.clientTop+parseFloat(y.paddingTop))*m.y;c*=m.x,l*=m.y,d*=m.x,u*=m.y,c+=v,l+=C,g=ye(g).frameElement}}return pr({width:d,height:u,x:c,y:l})}function df(t){let{rect:e,offsetParent:o,strategy:r}=t;const s=Fe(o),a=Xe(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},i=ft(1);const c=ft(0);if((s||!s&&r!=="fixed")&&((ht(o)!=="body"||qo(a))&&(n=gr(o)),Fe(o))){const l=Rt(o);i=Zt(o),c.x=l.x+o.clientLeft,c.y=l.y+o.clientTop}return{width:e.width*i.x,height:e.height*i.y,x:e.x*i.x-n.scrollLeft*i.x+c.x,y:e.y*i.y-n.scrollTop*i.y+c.y}}function ff(t){return Array.from(t.getClientRects())}function Jn(t){return Rt(Xe(t)).left+gr(t).scrollLeft}function uf(t){const e=Xe(t),o=gr(t),r=t.ownerDocument.body,s=ve(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=ve(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Jn(t);const i=-o.scrollTop;return Ce(r).direction==="rtl"&&(n+=ve(e.clientWidth,r.clientWidth)-s),{width:s,height:a,x:n,y:i}}function hf(t,e){const o=ye(t),r=Xe(t),s=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,i=0,c=0;if(s){a=s.width,n=s.height;const l=Ms();(!l||l&&e==="fixed")&&(i=s.offsetLeft,c=s.offsetTop)}return{width:a,height:n,x:i,y:c}}function pf(t,e){const o=Rt(t,!0,e==="fixed"),r=o.top+t.clientTop,s=o.left+t.clientLeft,a=Fe(t)?Zt(t):ft(1),n=t.clientWidth*a.x,i=t.clientHeight*a.y,c=s*a.x,l=r*a.y;return{width:n,height:i,x:c,y:l}}function Qn(t,e,o){let r;if(e==="viewport")r=hf(t,o);else if(e==="document")r=uf(Xe(t));else if(et(e))r=pf(e,o);else{const s=Yn(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return pr(r)}function Xn(t,e){const o=Gt(t);return o===e||!et(o)||br(o)?!1:Ce(o).position==="fixed"||Xn(o,e)}function bf(t,e){const o=e.get(t);if(o)return o;let r=To(t,[],!1).filter(i=>et(i)&&ht(i)!=="body"),s=null;const a=Ce(t).position==="fixed";let n=a?Gt(t):t;for(;et(n)&&!br(n);){const i=Ce(n),c=Ps(n);!c&&i.position==="fixed"&&(s=null),(a?!c&&!s:!c&&i.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||qo(n)&&!c&&Xn(t,n))?r=r.filter(d=>d!==n):s=i,n=Gt(n)}return e.set(t,r),r}function gf(t){let{element:e,boundary:o,rootBoundary:r,strategy:s}=t;const n=[...o==="clippingAncestors"?bf(e,this._c):[].concat(o),r],i=n[0],c=n.reduce((l,d)=>{const u=Qn(e,d,s);return l.top=ve(u.top,l.top),l.right=dt(u.right,l.right),l.bottom=dt(u.bottom,l.bottom),l.left=ve(u.left,l.left),l},Qn(e,i,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function mf(t){return Kn(t)}function vf(t,e,o){const r=Fe(e),s=Xe(e),a=o==="fixed",n=Rt(t,!0,a,e);let i={scrollLeft:0,scrollTop:0};const c=ft(0);if(r||!r&&!a)if((ht(e)!=="body"||qo(s))&&(i=gr(e)),r){const l=Rt(e,!0,a,e);c.x=l.x+e.clientLeft,c.y=l.y+e.clientTop}else s&&(c.x=Jn(s));return{x:n.left+i.scrollLeft-c.x,y:n.top+i.scrollTop-c.y,width:n.width,height:n.height}}function ei(t,e){return!Fe(t)||Ce(t).position==="fixed"?null:e?e(t):t.offsetParent}function ti(t,e){const o=ye(t);if(!Fe(t))return o;let r=ei(t,e);for(;r&&af(r)&&Ce(r).position==="static";)r=ei(r,e);return r&&(ht(r)==="html"||ht(r)==="body"&&Ce(r).position==="static"&&!Ps(r))?o:r||nf(t)||o}const yf=async function(t){let{reference:e,floating:o,strategy:r}=t;const s=this.getOffsetParent||ti,a=this.getDimensions;return{reference:vf(e,await s(o),r),floating:{x:0,y:0,...await a(o)}}};function _f(t){return Ce(t).direction==="rtl"}const mr={convertOffsetParentRelativeRectToViewportRelativeRect:df,getDocumentElement:Xe,getClippingRect:gf,getOffsetParent:ti,getElementRects:yf,getClientRects:ff,getDimensions:mf,getScale:Zt,isElement:et,isRTL:_f};function wf(t,e){let o=null,r;const s=Xe(t);function a(){clearTimeout(r),o&&o.disconnect(),o=null}function n(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),a();const{left:l,top:d,width:u,height:b}=t.getBoundingClientRect();if(i||e(),!u||!b)return;const h=ur(d),g=ur(s.clientWidth-(l+u)),m=ur(s.clientHeight-(d+b)),_=ur(l),v={rootMargin:-h+"px "+-g+"px "+-m+"px "+-_+"px",threshold:ve(0,dt(1,c))||1};let C=!0;function A($){const x=$[0].intersectionRatio;if(x!==c){if(!C)return n();x?n(!1,x):r=setTimeout(()=>{n(!1,1e-7)},100)}C=!1}try{o=new IntersectionObserver(A,{...v,root:s.ownerDocument})}catch{o=new IntersectionObserver(A,v)}o.observe(t)}return n(!0),a}function xf(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,l=Os(t),d=s||a?[...l?To(l):[],...To(e)]:[];d.forEach(y=>{s&&y.addEventListener("scroll",o,{passive:!0}),a&&y.addEventListener("resize",o)});const u=l&&i?wf(l,o):null;let b=-1,h=null;n&&(h=new ResizeObserver(y=>{let[v]=y;v&&v.target===l&&h&&(h.unobserve(e),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{h&&h.observe(e)})),o()}),l&&!c&&h.observe(l),h.observe(e));let g,m=c?Rt(t):null;c&&_();function _(){const y=Rt(t);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&o(),m=y,g=requestAnimationFrame(_)}return o(),()=>{d.forEach(y=>{s&&y.removeEventListener("scroll",o),a&&y.removeEventListener("resize",o)}),u&&u(),h&&h.disconnect(),h=null,c&&cancelAnimationFrame(g)}}const kf=(t,e,o)=>{const r=new Map,s={platform:mr,...o},a={...s.platform,_c:r};return Xd(t,e,{...s,platform:a})};function Cf(t){return Af(t)}function Fs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Af(t){for(let e=t;e;e=Fs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Fs(t);e;e=Fs(e)){if(!(e instanceof Element))continue;const o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}function $f(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t}var G=class extends j{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof Element||$f(this.anchor)?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.start()}start(){this.anchorEl&&(this.cleanup=xf(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;const t=[rf({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(jn({apply:({rects:o})=>{const r=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${o.reference.width}px`:"",this.popup.style.height=s?`${o.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(tf({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(sf({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(jn({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:o,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${o}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push(ef({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>mr.getOffsetParent(o,Cf):mr.getOffsetParent;kf(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:rr(ct({},mr),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:s,placement:a})=>{const n=getComputedStyle(this).direction==="rtl",i={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];if(this.setAttribute("data-current-placement",a),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const c=s.arrow.x,l=s.arrow.y;let d="",u="",b="",h="";if(this.arrowPlacement==="start"){const g=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",u=n?g:"",h=n?"":g}else if(this.arrowPlacement==="end"){const g=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";u=n?"":g,h=n?g:"",b=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(h=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",d=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(h=typeof c=="number"?`${c}px`:"",d=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:d,right:u,bottom:b,left:h,[i]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return w`
2329
+ `;const nt=Math.min,me=Math.max,Bo=Math.round,Vo=Math.floor,it=t=>({x:t,y:t}),vl={left:"right",right:"left",bottom:"top",top:"bottom"},yl={start:"end",end:"start"};function Yr(t,e,o){return me(t,nt(e,o))}function qt(t,e){return typeof t=="function"?t(e):t}function ct(t){return t.split("-")[0]}function Tt(t){return t.split("-")[1]}function Ia(t){return t==="x"?"y":"x"}function Qr(t){return t==="y"?"height":"width"}function ho(t){return["top","bottom"].includes(ct(t))?"y":"x"}function Xr(t){return Ia(ho(t))}function wl(t,e,o){o===void 0&&(o=!1);const r=Tt(t),s=Xr(t),a=Qr(s);let n=s==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=Uo(n)),[n,Uo(n)]}function _l(t){const e=Uo(t);return[es(t),e,es(e)]}function es(t){return t.replace(/start|end/g,e=>yl[e])}function xl(t,e,o){const r=["left","right"],s=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(t){case"top":case"bottom":return o?e?s:r:e?r:s;case"left":case"right":return e?a:n;default:return[]}}function kl(t,e,o,r){const s=Tt(t);let a=xl(ct(t),o==="start",r);return s&&(a=a.map(n=>n+"-"+s),e&&(a=a.concat(a.map(es)))),a}function Uo(t){return t.replace(/left|right|bottom|top/g,e=>vl[e])}function Cl(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ma(t){return typeof t!="number"?Cl(t):{top:t,right:t,bottom:t,left:t}}function No(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ba(t,e,o){let{reference:r,floating:s}=t;const a=ho(e),n=Xr(e),i=Qr(n),c=ct(e),l=a==="y",f=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2,b=r[i]/2-s[i]/2;let p;switch(c){case"top":p={x:f,y:r.y-s.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-s.width,y:h};break;default:p={x:r.x,y:r.y}}switch(Tt(e)){case"start":p[n]-=b*(o&&l?-1:1);break;case"end":p[n]+=b*(o&&l?-1:1);break}return p}const Al=async(t,e,o)=>{const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:n}=o,i=a.filter(Boolean),c=await(n.isRTL==null?void 0:n.isRTL(e));let l=await n.getElementRects({reference:t,floating:e,strategy:s}),{x:f,y:h}=Ba(l,r,c),b=r,p={},m=0;for(let g=0;g<i.length;g++){const{name:w,fn:y}=i[g],{x:v,y:C,data:$,reset:E}=await y({x:f,y:h,initialPlacement:r,placement:b,strategy:s,middlewareData:p,rects:l,platform:n,elements:{reference:t,floating:e}});if(f=v??f,h=C??h,p={...p,[w]:{...p[w],...$}},E&&m<=50){m++,typeof E=="object"&&(E.placement&&(b=E.placement),E.rects&&(l=E.rects===!0?await n.getElementRects({reference:t,floating:e,strategy:s}):E.rects),{x:f,y:h}=Ba(l,b,c)),g=-1;continue}}return{x:f,y:h,placement:b,strategy:s,middlewareData:p}};async function ts(t,e){var o;e===void 0&&(e={});const{x:r,y:s,platform:a,rects:n,elements:i,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:b=!1,padding:p=0}=qt(e,t),m=Ma(p),w=i[b?h==="floating"?"reference":"floating":h],y=No(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(w)))==null||o?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:l,rootBoundary:f,strategy:c})),v=h==="floating"?{...n.floating,x:r,y:s}:n.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),$=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},E=No(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:C,strategy:c}):v);return{top:(y.top-E.top+m.top)/$.y,bottom:(E.bottom-y.bottom+m.bottom)/$.y,left:(y.left-E.left+m.left)/$.x,right:(E.right-y.right+m.right)/$.x}}const $l=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:s,rects:a,platform:n,elements:i,middlewareData:c}=e,{element:l,padding:f=0}=qt(t,e)||{};if(l==null)return{};const h=Ma(f),b={x:o,y:r},p=Xr(s),m=Qr(p),g=await n.getDimensions(l),w=p==="y",y=w?"top":"left",v=w?"bottom":"right",C=w?"clientHeight":"clientWidth",$=a.reference[m]+a.reference[p]-b[p]-a.floating[m],E=b[p]-a.reference[p],x=await(n.getOffsetParent==null?void 0:n.getOffsetParent(l));let q=x?x[C]:0;(!q||!await(n.isElement==null?void 0:n.isElement(x)))&&(q=i.floating[C]||a.floating[m]);const M=$/2-E/2,S=q/2-g[m]/2-1,T=nt(h[y],S),Q=nt(h[v],S),X=T,Le=q-g[m]-Q,k=q/2-g[m]/2+M,z=Yr(X,k,Le),A=!c.arrow&&Tt(s)!=null&&k!=z&&a.reference[m]/2-(k<X?T:Q)-g[m]/2<0,te=A?k<X?k-X:k-Le:0;return{[p]:b[p]+te,data:{[p]:z,centerOffset:k-z-te,...A&&{alignmentOffset:te}},reset:A}}}),El=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:s,middlewareData:a,rects:n,initialPlacement:i,platform:c,elements:l}=e,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:b,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...w}=qt(t,e);if((o=a.arrow)!=null&&o.alignmentOffset)return{};const y=ct(s),v=ct(i)===i,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),$=b||(v||!g?[Uo(i)]:_l(i));!b&&m!=="none"&&$.push(...kl(i,g,m,C));const E=[i,...$],x=await ts(e,w),q=[];let M=((r=a.flip)==null?void 0:r.overflows)||[];if(f&&q.push(x[y]),h){const X=wl(s,n,C);q.push(x[X[0]],x[X[1]])}if(M=[...M,{placement:s,overflows:q}],!q.every(X=>X<=0)){var S,T;const X=(((S=a.flip)==null?void 0:S.index)||0)+1,Le=E[X];if(Le)return{data:{index:X,overflows:M},reset:{placement:Le}};let k=(T=M.filter(z=>z.overflows[0]<=0).sort((z,A)=>z.overflows[1]-A.overflows[1])[0])==null?void 0:T.placement;if(!k)switch(p){case"bestFit":{var Q;const z=(Q=M.map(A=>[A.placement,A.overflows.filter(te=>te>0).reduce((te,xr)=>te+xr,0)]).sort((A,te)=>A[1]-te[1])[0])==null?void 0:Q[0];z&&(k=z);break}case"initialPlacement":k=i;break}if(s!==k)return{reset:{placement:k}}}return{}}}};async function Sl(t,e){const{placement:o,platform:r,elements:s}=t,a=await(r.isRTL==null?void 0:r.isRTL(s.floating)),n=ct(o),i=Tt(o),c=ho(o)==="y",l=["left","top"].includes(n)?-1:1,f=a&&c?-1:1,h=qt(e,t);let{mainAxis:b,crossAxis:p,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return i&&typeof m=="number"&&(p=i==="end"?m*-1:m),c?{x:p*f,y:b*l}:{x:b*l,y:p*f}}const Dl=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:o,y:r}=e,s=await Sl(e,t);return{x:o+s.x,y:r+s.y,data:s}}}},ql=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:s}=e,{mainAxis:a=!0,crossAxis:n=!1,limiter:i={fn:w=>{let{x:y,y:v}=w;return{x:y,y:v}}},...c}=qt(t,e),l={x:o,y:r},f=await ts(e,c),h=ho(ct(s)),b=Ia(h);let p=l[b],m=l[h];if(a){const w=b==="y"?"top":"left",y=b==="y"?"bottom":"right",v=p+f[w],C=p-f[y];p=Yr(v,p,C)}if(n){const w=h==="y"?"top":"left",y=h==="y"?"bottom":"right",v=m+f[w],C=m-f[y];m=Yr(v,m,C)}const g=i.fn({...e,[b]:p,[h]:m});return{...g,data:{x:g.x-o,y:g.y-r}}}}},Va=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:r,platform:s,elements:a}=e,{apply:n=()=>{},...i}=qt(t,e),c=await ts(e,i),l=ct(o),f=Tt(o),h=ho(o)==="y",{width:b,height:p}=r.floating;let m,g;l==="top"||l==="bottom"?(m=l,g=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(g=l,m=f==="end"?"top":"bottom");const w=p-c[m],y=b-c[g],v=!e.middlewareData.shift;let C=w,$=y;if(h){const x=b-c.left-c.right;$=f||v?nt(y,x):x}else{const x=p-c.top-c.bottom;C=f||v?nt(w,x):x}if(v&&!f){const x=me(c.left,0),q=me(c.right,0),M=me(c.top,0),S=me(c.bottom,0);h?$=b-2*(x!==0||q!==0?x+q:me(c.left,c.right)):C=p-2*(M!==0||S!==0?M+S:me(c.top,c.bottom))}await n({...e,availableWidth:$,availableHeight:C});const E=await s.getDimensions(a.floating);return b!==E.width||p!==E.height?{reset:{rects:!0}}:{}}}};function lt(t){return Ua(t)?(t.nodeName||"").toLowerCase():"#document"}function ve(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Qe(t){var e;return(e=(Ua(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ua(t){return t instanceof Node||t instanceof ve(t).Node}function Xe(t){return t instanceof Element||t instanceof ve(t).Element}function Ie(t){return t instanceof HTMLElement||t instanceof ve(t).HTMLElement}function Na(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ve(t).ShadowRoot}function po(t){const{overflow:e,overflowX:o,overflowY:r,display:s}=xe(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(s)}function Tl(t){return["table","td","th"].includes(lt(t))}function os(t){const e=rs(),o=xe(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(o.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(o.contain||"").includes(r))}function zl(t){let e=zt(t);for(;Ie(e)&&!jo(e);){if(os(e))return e;e=zt(e)}return null}function rs(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jo(t){return["html","body","#document"].includes(lt(t))}function xe(t){return ve(t).getComputedStyle(t)}function Ho(t){return Xe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function zt(t){if(lt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Na(t)&&t.host||Qe(t);return Na(e)?e.host:e}function ja(t){const e=zt(t);return jo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ie(e)&&po(e)?e:ja(e)}function bo(t,e,o){var r;e===void 0&&(e=[]),o===void 0&&(o=!0);const s=ja(t),a=s===((r=t.ownerDocument)==null?void 0:r.body),n=ve(s);return a?e.concat(n,n.visualViewport||[],po(s)?s:[],n.frameElement&&o?bo(n.frameElement):[]):e.concat(s,bo(s))}function Ha(t){const e=xe(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=Ie(t),a=s?t.offsetWidth:o,n=s?t.offsetHeight:r,i=Bo(o)!==a||Bo(r)!==n;return i&&(o=a,r=n),{width:o,height:r,$:i}}function ss(t){return Xe(t)?t:t.contextElement}function Lt(t){const e=ss(t);if(!Ie(e))return it(1);const o=e.getBoundingClientRect(),{width:r,height:s,$:a}=Ha(e);let n=(a?Bo(o.width):o.width)/r,i=(a?Bo(o.height):o.height)/s;return(!n||!Number.isFinite(n))&&(n=1),(!i||!Number.isFinite(i))&&(i=1),{x:n,y:i}}const Ll=it(0);function Ga(t){const e=ve(t);return!rs()||!e.visualViewport?Ll:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Rl(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ve(t)?!1:e}function kt(t,e,o,r){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),a=ss(t);let n=it(1);e&&(r?Xe(r)&&(n=Lt(r)):n=Lt(t));const i=Rl(a,o,r)?Ga(a):it(0);let c=(s.left+i.x)/n.x,l=(s.top+i.y)/n.y,f=s.width/n.x,h=s.height/n.y;if(a){const b=ve(a),p=r&&Xe(r)?ve(r):r;let m=b.frameElement;for(;m&&r&&p!==b;){const g=Lt(m),w=m.getBoundingClientRect(),y=xe(m),v=w.left+(m.clientLeft+parseFloat(y.paddingLeft))*g.x,C=w.top+(m.clientTop+parseFloat(y.paddingTop))*g.y;c*=g.x,l*=g.y,f*=g.x,h*=g.y,c+=v,l+=C,m=ve(m).frameElement}}return No({width:f,height:h,x:c,y:l})}function Ol(t){let{rect:e,offsetParent:o,strategy:r}=t;const s=Ie(o),a=Qe(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},i=it(1);const c=it(0);if((s||!s&&r!=="fixed")&&((lt(o)!=="body"||po(a))&&(n=Ho(o)),Ie(o))){const l=kt(o);i=Lt(o),c.x=l.x+o.clientLeft,c.y=l.y+o.clientTop}return{width:e.width*i.x,height:e.height*i.y,x:e.x*i.x-n.scrollLeft*i.x+c.x,y:e.y*i.y-n.scrollTop*i.y+c.y}}function Fl(t){return Array.from(t.getClientRects())}function Wa(t){return kt(Qe(t)).left+Ho(t).scrollLeft}function Pl(t){const e=Qe(t),o=Ho(t),r=t.ownerDocument.body,s=me(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=me(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Wa(t);const i=-o.scrollTop;return xe(r).direction==="rtl"&&(n+=me(e.clientWidth,r.clientWidth)-s),{width:s,height:a,x:n,y:i}}function Il(t,e){const o=ve(t),r=Qe(t),s=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,i=0,c=0;if(s){a=s.width,n=s.height;const l=rs();(!l||l&&e==="fixed")&&(i=s.offsetLeft,c=s.offsetTop)}return{width:a,height:n,x:i,y:c}}function Ml(t,e){const o=kt(t,!0,e==="fixed"),r=o.top+t.clientTop,s=o.left+t.clientLeft,a=Ie(t)?Lt(t):it(1),n=t.clientWidth*a.x,i=t.clientHeight*a.y,c=s*a.x,l=r*a.y;return{width:n,height:i,x:c,y:l}}function Za(t,e,o){let r;if(e==="viewport")r=Il(t,o);else if(e==="document")r=Pl(Qe(t));else if(Xe(e))r=Ml(e,o);else{const s=Ga(t);r={...e,x:e.x-s.x,y:e.y-s.y}}return No(r)}function Ka(t,e){const o=zt(t);return o===e||!Xe(o)||jo(o)?!1:xe(o).position==="fixed"||Ka(o,e)}function Bl(t,e){const o=e.get(t);if(o)return o;let r=bo(t,[],!1).filter(i=>Xe(i)&&lt(i)!=="body"),s=null;const a=xe(t).position==="fixed";let n=a?zt(t):t;for(;Xe(n)&&!jo(n);){const i=xe(n),c=os(n);!c&&i.position==="fixed"&&(s=null),(a?!c&&!s:!c&&i.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||po(n)&&!c&&Ka(t,n))?r=r.filter(f=>f!==n):s=i,n=zt(n)}return e.set(t,r),r}function Vl(t){let{element:e,boundary:o,rootBoundary:r,strategy:s}=t;const n=[...o==="clippingAncestors"?Bl(e,this._c):[].concat(o),r],i=n[0],c=n.reduce((l,f)=>{const h=Za(e,f,s);return l.top=me(h.top,l.top),l.right=nt(h.right,l.right),l.bottom=nt(h.bottom,l.bottom),l.left=me(h.left,l.left),l},Za(e,i,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ul(t){return Ha(t)}function Nl(t,e,o){const r=Ie(e),s=Qe(e),a=o==="fixed",n=kt(t,!0,a,e);let i={scrollLeft:0,scrollTop:0};const c=it(0);if(r||!r&&!a)if((lt(e)!=="body"||po(s))&&(i=Ho(e)),r){const l=kt(e,!0,a,e);c.x=l.x+e.clientLeft,c.y=l.y+e.clientTop}else s&&(c.x=Wa(s));return{x:n.left+i.scrollLeft-c.x,y:n.top+i.scrollTop-c.y,width:n.width,height:n.height}}function Ja(t,e){return!Ie(t)||xe(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ya(t,e){const o=ve(t);if(!Ie(t))return o;let r=Ja(t,e);for(;r&&Tl(r)&&xe(r).position==="static";)r=Ja(r,e);return r&&(lt(r)==="html"||lt(r)==="body"&&xe(r).position==="static"&&!os(r))?o:r||zl(t)||o}const jl=async function(t){let{reference:e,floating:o,strategy:r}=t;const s=this.getOffsetParent||Ya,a=this.getDimensions;return{reference:Nl(e,await s(o),r),floating:{x:0,y:0,...await a(o)}}};function Hl(t){return xe(t).direction==="rtl"}const Go={convertOffsetParentRelativeRectToViewportRelativeRect:Ol,getDocumentElement:Qe,getClippingRect:Vl,getOffsetParent:Ya,getElementRects:jl,getClientRects:Fl,getDimensions:Ul,getScale:Lt,isElement:Xe,isRTL:Hl};function Gl(t,e){let o=null,r;const s=Qe(t);function a(){clearTimeout(r),o&&o.disconnect(),o=null}function n(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),a();const{left:l,top:f,width:h,height:b}=t.getBoundingClientRect();if(i||e(),!h||!b)return;const p=Vo(f),m=Vo(s.clientWidth-(l+h)),g=Vo(s.clientHeight-(f+b)),w=Vo(l),v={rootMargin:-p+"px "+-m+"px "+-g+"px "+-w+"px",threshold:me(0,nt(1,c))||1};let C=!0;function $(E){const x=E[0].intersectionRatio;if(x!==c){if(!C)return n();x?n(!1,x):r=setTimeout(()=>{n(!1,1e-7)},100)}C=!1}try{o=new IntersectionObserver($,{...v,root:s.ownerDocument})}catch{o=new IntersectionObserver($,v)}o.observe(t)}return n(!0),a}function Wl(t,e,o,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,l=ss(t),f=s||a?[...l?bo(l):[],...bo(e)]:[];f.forEach(y=>{s&&y.addEventListener("scroll",o,{passive:!0}),a&&y.addEventListener("resize",o)});const h=l&&i?Gl(l,o):null;let b=-1,p=null;n&&(p=new ResizeObserver(y=>{let[v]=y;v&&v.target===l&&p&&(p.unobserve(e),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{p&&p.observe(e)})),o()}),l&&!c&&p.observe(l),p.observe(e));let m,g=c?kt(t):null;c&&w();function w(){const y=kt(t);g&&(y.x!==g.x||y.y!==g.y||y.width!==g.width||y.height!==g.height)&&o(),g=y,m=requestAnimationFrame(w)}return o(),()=>{f.forEach(y=>{s&&y.removeEventListener("scroll",o),a&&y.removeEventListener("resize",o)}),h&&h(),p&&p.disconnect(),p=null,c&&cancelAnimationFrame(m)}}const Zl=(t,e,o)=>{const r=new Map,s={platform:Go,...o},a={...s.platform,_c:r};return Al(t,e,{...s,platform:a})};function Kl(t){return Jl(t)}function as(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Jl(t){for(let e=t;e;e=as(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=as(t);e;e=as(e)){if(!(e instanceof Element))continue;const o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}function Yl(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t}var H=class extends j{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof Element||Yl(this.anchor)?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),this.anchorEl&&this.start()}start(){this.anchorEl&&(this.cleanup=Wl(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>t())):t()})}reposition(){if(!this.active||!this.anchorEl)return;const t=[Dl({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(Va({apply:({rects:o})=>{const r=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=r?`${o.reference.width}px`:"",this.popup.style.height=s?`${o.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(El({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(ql({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(Va({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:o,availableHeight:r})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${r}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${o}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push($l({element:this.arrowEl,padding:this.arrowPadding}));const e=this.strategy==="absolute"?o=>Go.getOffsetParent(o,Kl):Go.getOffsetParent;Zl(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy,platform:Ro(st({},Go),{getOffsetParent:e})}).then(({x:o,y:r,middlewareData:s,placement:a})=>{const n=getComputedStyle(this).direction==="rtl",i={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];if(this.setAttribute("data-current-placement",a),Object.assign(this.popup.style,{left:`${o}px`,top:`${r}px`}),this.arrow){const c=s.arrow.x,l=s.arrow.y;let f="",h="",b="",p="";if(this.arrowPlacement==="start"){const m=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";f=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",h=n?m:"",p=n?"":m}else if(this.arrowPlacement==="end"){const m=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=n?"":m,p=n?m:"",b=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(p=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",f=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(p=typeof c=="number"?`${c}px`:"",f=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:f,right:h,bottom:b,left:p,[i]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sl-reposition")}render(){return _`
2346
2330
  <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
2347
2331
 
2348
2332
  <div
@@ -2350,13 +2334,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2350
2334
  class=${W({popup:!0,"popup--active":this.active,"popup--fixed":this.strategy==="fixed","popup--has-arrow":this.arrow})}
2351
2335
  >
2352
2336
  <slot></slot>
2353
- ${this.arrow?w`<div part="arrow" class="popup__arrow" role="presentation"></div>`:""}
2337
+ ${this.arrow?_`<div part="arrow" class="popup__arrow" role="presentation"></div>`:""}
2354
2338
  </div>
2355
- `}};G.styles=jd,f([R(".popup")],G.prototype,"popup",2),f([R(".popup__arrow")],G.prototype,"arrowEl",2),f([p()],G.prototype,"anchor",2),f([p({type:Boolean,reflect:!0})],G.prototype,"active",2),f([p({reflect:!0})],G.prototype,"placement",2),f([p({reflect:!0})],G.prototype,"strategy",2),f([p({type:Number})],G.prototype,"distance",2),f([p({type:Number})],G.prototype,"skidding",2),f([p({type:Boolean})],G.prototype,"arrow",2),f([p({attribute:"arrow-placement"})],G.prototype,"arrowPlacement",2),f([p({attribute:"arrow-padding",type:Number})],G.prototype,"arrowPadding",2),f([p({type:Boolean})],G.prototype,"flip",2),f([p({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map(e=>e.trim()).filter(e=>e!==""),toAttribute:t=>t.join(" ")}})],G.prototype,"flipFallbackPlacements",2),f([p({attribute:"flip-fallback-strategy"})],G.prototype,"flipFallbackStrategy",2),f([p({type:Object})],G.prototype,"flipBoundary",2),f([p({attribute:"flip-padding",type:Number})],G.prototype,"flipPadding",2),f([p({type:Boolean})],G.prototype,"shift",2),f([p({type:Object})],G.prototype,"shiftBoundary",2),f([p({attribute:"shift-padding",type:Number})],G.prototype,"shiftPadding",2),f([p({attribute:"auto-size"})],G.prototype,"autoSize",2),f([p()],G.prototype,"sync",2),f([p({type:Object})],G.prototype,"autoSizeBoundary",2),f([p({attribute:"auto-size-padding",type:Number})],G.prototype,"autoSizePadding",2);var oi=new Map,Ef=new WeakMap;function Sf(t){return t??{keyframes:[],options:{duration:0}}}function ri(t,e){return e.toLowerCase()==="rtl"?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function De(t,e){oi.set(t,Sf(e))}function qe(t,e,o){const r=Ef.get(t);if(r!=null&&r[e])return ri(r[e],o.dir);const s=oi.get(e);return s?ri(s,o.dir):{keyframes:[],options:{duration:0}}}function pt(t,e){return new Promise(o=>{function r(s){s.target===t&&(t.removeEventListener(e,r),o())}t.addEventListener(e,r)})}function Te(t,e,o){return new Promise(r=>{if((o==null?void 0:o.duration)===1/0)throw new Error("Promise-based animations must be finite.");const s=t.animate(e,rr(ct({},o),{duration:Df()?0:o.duration}));s.addEventListener("cancel",r,{once:!0}),s.addEventListener("finish",r,{once:!0})})}function si(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function Df(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Be(t){return Promise.all(t.getAnimations().map(e=>new Promise(o=>{const r=requestAnimationFrame(o);e.addEventListener("cancel",()=>r,{once:!0}),e.addEventListener("finish",()=>r,{once:!0}),e.cancel()})))}/**
2356
- * @license
2357
- * Copyright 2017 Google LLC
2358
- * SPDX-License-Identifier: BSD-3-Clause
2359
- */let Bs=class extends cr{constructor(e){if(super(e),this.et=Y,e.type!==Qe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Y||e==null)return this.vt=void 0,this.et=e;if(e===xe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;const o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Bs.directiveName="unsafeHTML",Bs.resultType=1;const qf=ir(Bs);var M=class extends j{constructor(){super(...arguments),this.formControlController=new Tt(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new lt(this,"help-text","label"),this.localize=new Se(this),this.typeToSelectString="",this.hasFocus=!1,this.displayLabel="",this.selectedOptions=[],this.name="",this.value="",this.defaultValue="",this.size="medium",this.placeholder="",this.multiple=!1,this.maxOptionsVisible=3,this.disabled=!1,this.clearable=!1,this.open=!1,this.hoist=!1,this.filled=!1,this.pill=!1,this.label="",this.placement="bottom",this.helpText="",this.form="",this.required=!1,this.getTag=t=>w`
2339
+ `}};H.styles=ml,d([O(".popup")],H.prototype,"popup",2),d([O(".popup__arrow")],H.prototype,"arrowEl",2),d([u()],H.prototype,"anchor",2),d([u({type:Boolean,reflect:!0})],H.prototype,"active",2),d([u({reflect:!0})],H.prototype,"placement",2),d([u({reflect:!0})],H.prototype,"strategy",2),d([u({type:Number})],H.prototype,"distance",2),d([u({type:Number})],H.prototype,"skidding",2),d([u({type:Boolean})],H.prototype,"arrow",2),d([u({attribute:"arrow-placement"})],H.prototype,"arrowPlacement",2),d([u({attribute:"arrow-padding",type:Number})],H.prototype,"arrowPadding",2),d([u({type:Boolean})],H.prototype,"flip",2),d([u({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map(e=>e.trim()).filter(e=>e!==""),toAttribute:t=>t.join(" ")}})],H.prototype,"flipFallbackPlacements",2),d([u({attribute:"flip-fallback-strategy"})],H.prototype,"flipFallbackStrategy",2),d([u({type:Object})],H.prototype,"flipBoundary",2),d([u({attribute:"flip-padding",type:Number})],H.prototype,"flipPadding",2),d([u({type:Boolean})],H.prototype,"shift",2),d([u({type:Object})],H.prototype,"shiftBoundary",2),d([u({attribute:"shift-padding",type:Number})],H.prototype,"shiftPadding",2),d([u({attribute:"auto-size"})],H.prototype,"autoSize",2),d([u()],H.prototype,"sync",2),d([u({type:Object})],H.prototype,"autoSizeBoundary",2),d([u({attribute:"auto-size-padding",type:Number})],H.prototype,"autoSizePadding",2);var Qa=new Map,Ql=new WeakMap;function Xl(t){return t??{keyframes:[],options:{duration:0}}}function Xa(t,e){return e.toLowerCase()==="rtl"?{keyframes:t.rtlKeyframes||t.keyframes,options:t.options}:t}function Ee(t,e){Qa.set(t,Xl(e))}function Se(t,e,o){const r=Ql.get(t);if(r!=null&&r[e])return Xa(r[e],o.dir);const s=Qa.get(e);return s?Xa(s,o.dir):{keyframes:[],options:{duration:0}}}function dt(t,e){return new Promise(o=>{function r(s){s.target===t&&(t.removeEventListener(e,r),o())}t.addEventListener(e,r)})}function De(t,e,o){return new Promise(r=>{if((o==null?void 0:o.duration)===1/0)throw new Error("Promise-based animations must be finite.");const s=t.animate(e,Ro(st({},o),{duration:ed()?0:o.duration}));s.addEventListener("cancel",r,{once:!0}),s.addEventListener("finish",r,{once:!0})})}function en(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function ed(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Me(t){return Promise.all(t.getAnimations().map(e=>new Promise(o=>{const r=requestAnimationFrame(o);e.addEventListener("cancel",()=>r,{once:!0}),e.addEventListener("finish",()=>r,{once:!0}),e.cancel()})))}var I=class extends j{constructor(){super(...arguments),this.formControlController=new wt(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new at(this,"help-text","label"),this.localize=new $e(this),this.typeToSelectString="",this.hasFocus=!1,this.displayLabel="",this.selectedOptions=[],this.name="",this.value="",this.defaultValue="",this.size="medium",this.placeholder="",this.multiple=!1,this.maxOptionsVisible=3,this.disabled=!1,this.clearable=!1,this.open=!1,this.hoist=!1,this.filled=!1,this.pill=!1,this.label="",this.placement="bottom",this.helpText="",this.form="",this.required=!1,this.getTag=t=>_`
2360
2340
  <sl-tag
2361
2341
  part="tag"
2362
2342
  exportparts="
@@ -2372,9 +2352,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2372
2352
  >
2373
2353
  ${t.getTextLabel()}
2374
2354
  </sl-tag>
2375
- `,this.handleDocumentFocusIn=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()},this.handleDocumentKeyDown=t=>{const e=t.target,o=e.closest(".select__clear")!==null,r=e.closest("sl-icon-button")!==null;if(!(o||r)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show();return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sl-input"),this.emit("sl-change")}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){const s=this.getAllOptions(),a=s.indexOf(this.currentOption);let n=Math.max(0,a);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(n=a+1,n>s.length-1&&(n=0)):t.key==="ArrowUp"?(n=a-1,n<0&&(n=s.length-1)):t.key==="Home"?n=0:t.key==="End"&&(n=s.length-1),this.setCurrentOption(s[n])}if(t.key.length===1||t.key==="Backspace"){const s=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(const a of s)if(a.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(a);break}}}},this.handleDocumentMouseDown=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sl-focus")}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleLabelClick(){this.displayInput.focus()}handleComboboxMouseDown(t){const o=t.composedPath().some(r=>r instanceof Element&&r.tagName.toLowerCase()==="sl-icon-button");this.disabled||o||(t.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open)}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.value!==""&&(this.setSelectedOptions([]),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sl-clear"),this.emit("sl-input"),this.emit("sl-change")}))}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){const o=t.target.closest("sl-option"),r=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})),this.value!==r&&this.updateComplete.then(()=>{this.emit("sl-input"),this.emit("sl-change")}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}handleDefaultSlotChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sl-option")?(t.forEach(r=>o.push(r.value)),this.setSelectedOptions(t.filter(r=>e.includes(r.value)))):customElements.whenDefined("sl-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),this.disabled||(this.toggleOptionSelection(e,!1),this.updateComplete.then(()=>{this.emit("sl-input"),this.emit("sl-change")}))}getAllOptions(){return[...this.querySelectorAll("sl-option")]}getFirstOption(){return this.querySelector("sl-option")}setCurrentOption(t){this.getAllOptions().forEach(o=>{o.current=!1,o.tabIndex=-1}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus())}setSelectedOptions(t){const e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(r=>r.selected=!1),o.length&&o.forEach(r=>r.selected=!0),this.selectionChanged()}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,this.selectionChanged()}selectionChanged(){var t,e,o,r;this.selectedOptions=this.getAllOptions().filter(s=>s.selected),this.multiple?(this.value=this.selectedOptions.map(s=>s.value),this.placeholder&&this.value.length===0?this.displayLabel="":this.displayLabel=this.localize.term("numOptionsSelected",this.selectedOptions.length)):(this.value=(e=(t=this.selectedOptions[0])==null?void 0:t.value)!=null?e:"",this.displayLabel=(r=(o=this.selectedOptions[0])==null?void 0:o.getTextLabel())!=null?r:""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){const o=this.getTag(t,e);return w`<div @sl-remove=${r=>this.handleTagRemove(r,t)}>
2376
- ${typeof o=="string"?qf(o):o}
2377
- </div>`}else if(e===this.maxOptionsVisible)return w`<sl-tag>+${this.selectedOptions.length-e}</sl-tag>`;return w``})}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleDisabledChange(){this.disabled&&(this.open=!1,this.handleOpenChange())}handleValueChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter(o=>e.includes(o.value)))}async handleOpenChange(){if(this.open&&!this.disabled){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sl-show"),this.addOpenListeners(),await Be(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});const{keyframes:t,options:e}=qe(this,"select.show",{dir:this.localize.dir()});await Te(this.popup.popup,t,e),this.currentOption&&qs(this.currentOption,this.listbox,"vertical","auto"),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),await Be(this);const{keyframes:t,options:e}=qe(this,"select.hide",{dir:this.localize.dir()});await Te(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sl-after-hide")}}async show(){if(this.open||this.disabled){this.open=!1;return}return this.open=!0,pt(this,"sl-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,pt(this,"sl-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=this.clearable&&!this.disabled&&this.value.length>0,a=this.placeholder&&this.value.length===0;return w`
2355
+ `,this.handleDocumentFocusIn=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()},this.handleDocumentKeyDown=t=>{const e=t.target,o=e.closest(".select__clear")!==null,r=e.closest("sl-icon-button")!==null;if(!(o||r)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show();return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sl-input"),this.emit("sl-change")}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){const s=this.getAllOptions(),a=s.indexOf(this.currentOption);let n=Math.max(0,a);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(n=a+1,n>s.length-1&&(n=0)):t.key==="ArrowUp"?(n=a-1,n<0&&(n=s.length-1)):t.key==="Home"?n=0:t.key==="End"&&(n=s.length-1),this.setCurrentOption(s[n])}if(t.key.length===1||t.key==="Backspace"){const s=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(const a of s)if(a.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(a);break}}}},this.handleDocumentMouseDown=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sl-focus")}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleLabelClick(){this.displayInput.focus()}handleComboboxMouseDown(t){const o=t.composedPath().some(r=>r instanceof Element&&r.tagName.toLowerCase()==="sl-icon-button");this.disabled||o||(t.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open)}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.value!==""&&(this.setSelectedOptions([]),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sl-clear"),this.emit("sl-input"),this.emit("sl-change")}))}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){const o=t.target.closest("sl-option"),r=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})),this.value!==r&&this.updateComplete.then(()=>{this.emit("sl-input"),this.emit("sl-change")}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}handleDefaultSlotChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sl-option")?(t.forEach(r=>o.push(r.value)),this.setSelectedOptions(t.filter(r=>e.includes(r.value)))):customElements.whenDefined("sl-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),this.disabled||(this.toggleOptionSelection(e,!1),this.updateComplete.then(()=>{this.emit("sl-input"),this.emit("sl-change")}))}getAllOptions(){return[...this.querySelectorAll("sl-option")]}getFirstOption(){return this.querySelector("sl-option")}setCurrentOption(t){this.getAllOptions().forEach(o=>{o.current=!1,o.tabIndex=-1}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus())}setSelectedOptions(t){const e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(r=>r.selected=!1),o.length&&o.forEach(r=>r.selected=!0),this.selectionChanged()}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,this.selectionChanged()}selectionChanged(){var t,e,o,r;this.selectedOptions=this.getAllOptions().filter(s=>s.selected),this.multiple?(this.value=this.selectedOptions.map(s=>s.value),this.placeholder&&this.value.length===0?this.displayLabel="":this.displayLabel=this.localize.term("numOptionsSelected",this.selectedOptions.length)):(this.value=(e=(t=this.selectedOptions[0])==null?void 0:t.value)!=null?e:"",this.displayLabel=(r=(o=this.selectedOptions[0])==null?void 0:o.getTextLabel())!=null?r:""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){const o=this.getTag(t,e);return _`<div @sl-remove=${r=>this.handleTagRemove(r,t)}>
2356
+ ${typeof o=="string"?rt(o):o}
2357
+ </div>`}else if(e===this.maxOptionsVisible)return _`<sl-tag>+${this.selectedOptions.length-e}</sl-tag>`;return _``})}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleDisabledChange(){this.disabled&&(this.open=!1,this.handleOpenChange())}handleValueChange(){const t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter(o=>e.includes(o.value)))}async handleOpenChange(){if(this.open&&!this.disabled){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sl-show"),this.addOpenListeners(),await Me(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});const{keyframes:t,options:e}=Se(this,"select.show",{dir:this.localize.dir()});await De(this.popup.popup,t,e),this.currentOption&&Jr(this.currentOption,this.listbox,"vertical","auto"),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),await Me(this);const{keyframes:t,options:e}=Se(this,"select.hide",{dir:this.localize.dir()});await De(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sl-after-hide")}}async show(){if(this.open||this.disabled){this.open=!1;return}return this.open=!0,dt(this,"sl-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,dt(this,"sl-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=this.clearable&&!this.disabled&&this.value.length>0,a=this.placeholder&&this.value.length===0;return _`
2378
2358
  <div
2379
2359
  part="form-control"
2380
2360
  class=${W({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--has-label":o,"form-control--has-help-text":r})}
@@ -2432,7 +2412,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2432
2412
  @blur=${this.handleBlur}
2433
2413
  />
2434
2414
 
2435
- ${this.multiple?w`<div part="tags" class="select__tags">${this.tags}</div>`:""}
2415
+ ${this.multiple?_`<div part="tags" class="select__tags">${this.tags}</div>`:""}
2436
2416
 
2437
2417
  <input
2438
2418
  class="select__value-input"
@@ -2446,7 +2426,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2446
2426
  @invalid=${this.handleInvalid}
2447
2427
  />
2448
2428
 
2449
- ${s?w`
2429
+ ${s?_`
2450
2430
  <button
2451
2431
  part="clear-button"
2452
2432
  class="select__clear"
@@ -2493,8 +2473,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2493
2473
  <slot name="help-text">${this.helpText}</slot>
2494
2474
  </div>
2495
2475
  </div>
2496
- `}};M.styles=Vd,M.dependencies={"sl-icon":de,"sl-popup":G,"sl-tag":Lt},f([R(".select")],M.prototype,"popup",2),f([R(".select__combobox")],M.prototype,"combobox",2),f([R(".select__display-input")],M.prototype,"displayInput",2),f([R(".select__value-input")],M.prototype,"valueInput",2),f([R(".select__listbox")],M.prototype,"listbox",2),f([Z()],M.prototype,"hasFocus",2),f([Z()],M.prototype,"displayLabel",2),f([Z()],M.prototype,"currentOption",2),f([Z()],M.prototype,"selectedOptions",2),f([p()],M.prototype,"name",2),f([p({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],M.prototype,"value",2),f([Eo()],M.prototype,"defaultValue",2),f([p({reflect:!0})],M.prototype,"size",2),f([p()],M.prototype,"placeholder",2),f([p({type:Boolean,reflect:!0})],M.prototype,"multiple",2),f([p({attribute:"max-options-visible",type:Number})],M.prototype,"maxOptionsVisible",2),f([p({type:Boolean,reflect:!0})],M.prototype,"disabled",2),f([p({type:Boolean})],M.prototype,"clearable",2),f([p({type:Boolean,reflect:!0})],M.prototype,"open",2),f([p({type:Boolean})],M.prototype,"hoist",2),f([p({type:Boolean,reflect:!0})],M.prototype,"filled",2),f([p({type:Boolean,reflect:!0})],M.prototype,"pill",2),f([p()],M.prototype,"label",2),f([p({reflect:!0})],M.prototype,"placement",2),f([p({attribute:"help-text"})],M.prototype,"helpText",2),f([p({reflect:!0})],M.prototype,"form",2),f([p({type:Boolean,reflect:!0})],M.prototype,"required",2),f([p()],M.prototype,"getTag",2),f([P("disabled",{waitUntilFirstUpdate:!0})],M.prototype,"handleDisabledChange",1),f([P("value",{waitUntilFirstUpdate:!0})],M.prototype,"handleValueChange",1),f([P("open",{waitUntilFirstUpdate:!0})],M.prototype,"handleOpenChange",1),De("select.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),De("select.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}}),M.define("sl-select");var Tf=T`
2497
- ${J}
2476
+ `}};I.styles=pl,I.dependencies={"sl-icon":le,"sl-popup":H,"sl-tag":xt},d([O(".select")],I.prototype,"popup",2),d([O(".select__combobox")],I.prototype,"combobox",2),d([O(".select__display-input")],I.prototype,"displayInput",2),d([O(".select__value-input")],I.prototype,"valueInput",2),d([O(".select__listbox")],I.prototype,"listbox",2),d([G()],I.prototype,"hasFocus",2),d([G()],I.prototype,"displayLabel",2),d([G()],I.prototype,"currentOption",2),d([G()],I.prototype,"selectedOptions",2),d([u()],I.prototype,"name",2),d([u({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],I.prototype,"value",2),d([fo()],I.prototype,"defaultValue",2),d([u({reflect:!0})],I.prototype,"size",2),d([u()],I.prototype,"placeholder",2),d([u({type:Boolean,reflect:!0})],I.prototype,"multiple",2),d([u({attribute:"max-options-visible",type:Number})],I.prototype,"maxOptionsVisible",2),d([u({type:Boolean,reflect:!0})],I.prototype,"disabled",2),d([u({type:Boolean})],I.prototype,"clearable",2),d([u({type:Boolean,reflect:!0})],I.prototype,"open",2),d([u({type:Boolean})],I.prototype,"hoist",2),d([u({type:Boolean,reflect:!0})],I.prototype,"filled",2),d([u({type:Boolean,reflect:!0})],I.prototype,"pill",2),d([u()],I.prototype,"label",2),d([u({reflect:!0})],I.prototype,"placement",2),d([u({attribute:"help-text"})],I.prototype,"helpText",2),d([u({reflect:!0})],I.prototype,"form",2),d([u({type:Boolean,reflect:!0})],I.prototype,"required",2),d([u()],I.prototype,"getTag",2),d([P("disabled",{waitUntilFirstUpdate:!0})],I.prototype,"handleDisabledChange",1),d([P("value",{waitUntilFirstUpdate:!0})],I.prototype,"handleValueChange",1),d([P("open",{waitUntilFirstUpdate:!0})],I.prototype,"handleOpenChange",1),Ee("select.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),Ee("select.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}}),I.define("sl-select");var td=L`
2477
+ ${Y}
2498
2478
 
2499
2479
  :host {
2500
2480
  display: inline-block;
@@ -2612,7 +2592,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2612
2592
  content: var(--sl-input-required-content);
2613
2593
  margin-inline-start: var(--sl-input-required-content-offset);
2614
2594
  }
2615
- `,ne=class extends j{constructor(){super(...arguments),this.formControlController=new Tt(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.hasFocus=!1,this.title="",this.name="",this.size="medium",this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sl-change")}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleInput(){this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return w`
2595
+ `,se=class extends j{constructor(){super(...arguments),this.formControlController=new wt(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.hasFocus=!1,this.title="",this.name="",this.size="medium",this.disabled=!1,this.checked=!1,this.indeterminate=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.indeterminate=!1,this.emit("sl-change")}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleInput(){this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return _`
2616
2596
  <label
2617
2597
  part="base"
2618
2598
  class=${W({checkbox:!0,"checkbox--checked":this.checked,"checkbox--disabled":this.disabled,"checkbox--focused":this.hasFocus,"checkbox--indeterminate":this.indeterminate,"checkbox--small":this.size==="small","checkbox--medium":this.size==="medium","checkbox--large":this.size==="large"})}
@@ -2622,9 +2602,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2622
2602
  type="checkbox"
2623
2603
  title=${this.title}
2624
2604
  name=${this.name}
2625
- value=${E(this.value)}
2626
- .indeterminate=${So(this.indeterminate)}
2627
- .checked=${So(this.checked)}
2605
+ value=${D(this.value)}
2606
+ .indeterminate=${uo(this.indeterminate)}
2607
+ .checked=${uo(this.checked)}
2628
2608
  .disabled=${this.disabled}
2629
2609
  .required=${this.required}
2630
2610
  aria-checked=${this.checked?"true":"false"}
@@ -2639,10 +2619,10 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2639
2619
  part="control${this.checked?" control--checked":""}${this.indeterminate?" control--indeterminate":""}"
2640
2620
  class="checkbox__control"
2641
2621
  >
2642
- ${this.checked?w`
2622
+ ${this.checked?_`
2643
2623
  <sl-icon part="checked-icon" class="checkbox__checked-icon" library="system" name="check"></sl-icon>
2644
2624
  `:""}
2645
- ${!this.checked&&this.indeterminate?w`
2625
+ ${!this.checked&&this.indeterminate?_`
2646
2626
  <sl-icon
2647
2627
  part="indeterminate-icon"
2648
2628
  class="checkbox__indeterminate-icon"
@@ -2656,9 +2636,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2656
2636
  <slot></slot>
2657
2637
  </div>
2658
2638
  </label>
2659
- `}};ne.styles=Tf,ne.dependencies={"sl-icon":de},f([R('input[type="checkbox"]')],ne.prototype,"input",2),f([Z()],ne.prototype,"hasFocus",2),f([p()],ne.prototype,"title",2),f([p()],ne.prototype,"name",2),f([p()],ne.prototype,"value",2),f([p({reflect:!0})],ne.prototype,"size",2),f([p({type:Boolean,reflect:!0})],ne.prototype,"disabled",2),f([p({type:Boolean,reflect:!0})],ne.prototype,"checked",2),f([p({type:Boolean,reflect:!0})],ne.prototype,"indeterminate",2),f([Eo("checked")],ne.prototype,"defaultChecked",2),f([p({reflect:!0})],ne.prototype,"form",2),f([p({type:Boolean,reflect:!0})],ne.prototype,"required",2),f([P("disabled",{waitUntilFirstUpdate:!0})],ne.prototype,"handleDisabledChange",1),f([P(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],ne.prototype,"handleStateChange",1),ne.define("sl-checkbox");var zf=T`
2660
- ${J}
2661
- ${dr}
2639
+ `}};se.styles=td,se.dependencies={"sl-icon":le},d([O('input[type="checkbox"]')],se.prototype,"input",2),d([G()],se.prototype,"hasFocus",2),d([u()],se.prototype,"title",2),d([u()],se.prototype,"name",2),d([u()],se.prototype,"value",2),d([u({reflect:!0})],se.prototype,"size",2),d([u({type:Boolean,reflect:!0})],se.prototype,"disabled",2),d([u({type:Boolean,reflect:!0})],se.prototype,"checked",2),d([u({type:Boolean,reflect:!0})],se.prototype,"indeterminate",2),d([fo("checked")],se.prototype,"defaultChecked",2),d([u({reflect:!0})],se.prototype,"form",2),d([u({type:Boolean,reflect:!0})],se.prototype,"required",2),d([P("disabled",{waitUntilFirstUpdate:!0})],se.prototype,"handleDisabledChange",1),d([P(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],se.prototype,"handleStateChange",1),se.define("sl-checkbox");var od=L`
2640
+ ${Y}
2641
+ ${Mo}
2662
2642
 
2663
2643
  :host {
2664
2644
  display: block;
@@ -2824,7 +2804,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2824
2804
  resize: none;
2825
2805
  overflow-y: hidden;
2826
2806
  }
2827
- `,V=class extends j{constructor(){super(...arguments),this.formControlController=new Tt(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new lt(this,"help-text","label"),this.hasFocus=!1,this.title="",this.name="",this.value="",this.size="medium",this.filled=!1,this.label="",this.helpText="",this.placeholder="",this.rows=4,this.resize="vertical",this.disabled=!1,this.readonly=!1,this.form="",this.required=!1,this.spellcheck=!0,this.defaultValue=""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setTextareaHeight()),this.updateComplete.then(()=>{this.setTextareaHeight(),this.resizeObserver.observe(this.input)})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.input)}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleChange(){this.value=this.input.value,this.setTextareaHeight(),this.emit("sl-change")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleInput(){this.value=this.input.value,this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}setTextareaHeight(){this.resize==="auto"?(this.input.style.height="auto",this.input.style.height=`${this.input.scrollHeight}px`):this.input.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}scrollPosition(t){if(t){typeof t.top=="number"&&(this.input.scrollTop=t.top),typeof t.left=="number"&&(this.input.scrollLeft=t.left);return}return{top:this.input.scrollTop,left:this.input.scrollTop}}setSelectionRange(t,e,o="none"){this.input.setSelectionRange(t,e,o)}setRangeText(t,e,o,r){this.input.setRangeText(t,e,o,r),this.value!==this.input.value&&(this.value=this.input.value),this.value!==this.input.value&&(this.value=this.input.value,this.setTextareaHeight())}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e;return w`
2807
+ `,V=class extends j{constructor(){super(...arguments),this.formControlController=new wt(this,{assumeInteractionOn:["sl-blur","sl-input"]}),this.hasSlotController=new at(this,"help-text","label"),this.hasFocus=!1,this.title="",this.name="",this.value="",this.size="medium",this.filled=!1,this.label="",this.helpText="",this.placeholder="",this.rows=4,this.resize="vertical",this.disabled=!1,this.readonly=!1,this.form="",this.required=!1,this.spellcheck=!0,this.defaultValue=""}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setTextareaHeight()),this.updateComplete.then(()=>{this.setTextareaHeight(),this.resizeObserver.observe(this.input)})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.input)}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleChange(){this.value=this.input.value,this.setTextareaHeight(),this.emit("sl-change")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleInput(){this.value=this.input.value,this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}setTextareaHeight(){this.resize==="auto"?(this.input.style.height="auto",this.input.style.height=`${this.input.scrollHeight}px`):this.input.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}scrollPosition(t){if(t){typeof t.top=="number"&&(this.input.scrollTop=t.top),typeof t.left=="number"&&(this.input.scrollLeft=t.left);return}return{top:this.input.scrollTop,left:this.input.scrollTop}}setSelectionRange(t,e,o="none"){this.input.setSelectionRange(t,e,o)}setRangeText(t,e,o,r){this.input.setRangeText(t,e,o,r),this.value!==this.input.value&&(this.value=this.input.value),this.value!==this.input.value&&(this.value=this.input.value,this.setTextareaHeight())}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e;return _`
2828
2808
  <div
2829
2809
  part="form-control"
2830
2810
  class=${W({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--has-label":o,"form-control--has-help-text":r})}
@@ -2848,21 +2828,21 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2848
2828
  id="input"
2849
2829
  class="textarea__control"
2850
2830
  title=${this.title}
2851
- name=${E(this.name)}
2852
- .value=${So(this.value)}
2831
+ name=${D(this.name)}
2832
+ .value=${uo(this.value)}
2853
2833
  ?disabled=${this.disabled}
2854
2834
  ?readonly=${this.readonly}
2855
2835
  ?required=${this.required}
2856
- placeholder=${E(this.placeholder)}
2857
- rows=${E(this.rows)}
2858
- minlength=${E(this.minlength)}
2859
- maxlength=${E(this.maxlength)}
2860
- autocapitalize=${E(this.autocapitalize)}
2861
- autocorrect=${E(this.autocorrect)}
2836
+ placeholder=${D(this.placeholder)}
2837
+ rows=${D(this.rows)}
2838
+ minlength=${D(this.minlength)}
2839
+ maxlength=${D(this.maxlength)}
2840
+ autocapitalize=${D(this.autocapitalize)}
2841
+ autocorrect=${D(this.autocorrect)}
2862
2842
  ?autofocus=${this.autofocus}
2863
- spellcheck=${E(this.spellcheck)}
2864
- enterkeyhint=${E(this.enterkeyhint)}
2865
- inputmode=${E(this.inputmode)}
2843
+ spellcheck=${D(this.spellcheck)}
2844
+ enterkeyhint=${D(this.enterkeyhint)}
2845
+ inputmode=${D(this.inputmode)}
2866
2846
  aria-describedby="help-text"
2867
2847
  @change=${this.handleChange}
2868
2848
  @input=${this.handleInput}
@@ -2882,8 +2862,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
2882
2862
  <slot name="help-text">${this.helpText}</slot>
2883
2863
  </div>
2884
2864
  </div>
2885
- `}};V.styles=zf,f([R(".textarea__control")],V.prototype,"input",2),f([Z()],V.prototype,"hasFocus",2),f([p()],V.prototype,"title",2),f([p()],V.prototype,"name",2),f([p()],V.prototype,"value",2),f([p({reflect:!0})],V.prototype,"size",2),f([p({type:Boolean,reflect:!0})],V.prototype,"filled",2),f([p()],V.prototype,"label",2),f([p({attribute:"help-text"})],V.prototype,"helpText",2),f([p()],V.prototype,"placeholder",2),f([p({type:Number})],V.prototype,"rows",2),f([p()],V.prototype,"resize",2),f([p({type:Boolean,reflect:!0})],V.prototype,"disabled",2),f([p({type:Boolean,reflect:!0})],V.prototype,"readonly",2),f([p({reflect:!0})],V.prototype,"form",2),f([p({type:Boolean,reflect:!0})],V.prototype,"required",2),f([p({type:Number})],V.prototype,"minlength",2),f([p({type:Number})],V.prototype,"maxlength",2),f([p()],V.prototype,"autocapitalize",2),f([p()],V.prototype,"autocorrect",2),f([p()],V.prototype,"autocomplete",2),f([p({type:Boolean})],V.prototype,"autofocus",2),f([p()],V.prototype,"enterkeyhint",2),f([p({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],V.prototype,"spellcheck",2),f([p()],V.prototype,"inputmode",2),f([Eo()],V.prototype,"defaultValue",2),f([P("disabled",{waitUntilFirstUpdate:!0})],V.prototype,"handleDisabledChange",1),f([P("rows",{waitUntilFirstUpdate:!0})],V.prototype,"handleRowsChange",1),f([P("value",{waitUntilFirstUpdate:!0})],V.prototype,"handleValueChange",1),V.define("sl-textarea");function Lf(t){return!!(t.offsetParent||t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Rf(t){const e=t.tagName.toLowerCase();return t.getAttribute("tabindex")==="-1"||t.hasAttribute("disabled")||e==="input"&&t.getAttribute("type")==="radio"&&!t.hasAttribute("checked")||!Lf(t)||window.getComputedStyle(t).visibility==="hidden"?!1:(e==="audio"||e==="video")&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&t.getAttribute("contenteditable")!=="false"?!0:["button","input","select","textarea","a","audio","video","summary"].includes(e)}function ai(t){const e=[];function o(r){if(r instanceof Element){if(r.hasAttribute("inert"))return;!e.includes(r)&&Rf(r)&&e.push(r);const s=a=>{var n;return((n=a.getRootNode({composed:!0}))==null?void 0:n.host)!==t};r instanceof HTMLSlotElement&&s(r)&&r.assignedElements({flatten:!0}).forEach(a=>{o(a)}),r.shadowRoot!==null&&r.shadowRoot.mode==="open"&&o(r.shadowRoot)}[...r.children].forEach(s=>o(s))}return o(t),e.sort((r,s)=>{const a=Number(r.getAttribute("tabindex"))||0;return(Number(s.getAttribute("tabindex"))||0)-a})}function*ni(t=document.activeElement){t!=null&&(yield t,"shadowRoot"in t&&t.shadowRoot&&t.shadowRoot.mode!=="closed"&&(yield*md(ni(t.shadowRoot.activeElement))))}function If(){return[...ni()].pop()}var zo=[],Pf=class{constructor(t){this.tabDirection="forward",this.handleFocusIn=()=>{this.checkFocus()},this.handleKeyDown=e=>{var o,r;if(e.key!=="Tab"||this.isExternalActivated)return;e.shiftKey?this.tabDirection="backward":this.tabDirection="forward",e.preventDefault();const s=ai(this.element),a=If();let n=s.findIndex(c=>c===a);if(n===-1){this.currentFocus=s[0],(o=this.currentFocus)==null||o.focus({preventScroll:!0});return}const i=this.tabDirection==="forward"?1:-1;n+i>=s.length?n=0:n+i<0?n=s.length-1:n+=i,this.currentFocus=s[n],(r=this.currentFocus)==null||r.focus({preventScroll:!0}),setTimeout(()=>this.checkFocus())},this.handleKeyUp=()=>{this.tabDirection="forward"},this.element=t}activate(){zo.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){zo=zo.filter(t=>t!==this.element),this.currentFocus=null,document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return zo[zo.length-1]===this.element}activateExternal(){this.isExternalActivated=!0}deactivateExternal(){this.isExternalActivated=!1}checkFocus(){if(this.isActive()&&!this.isExternalActivated){const t=ai(this.element);if(!this.element.matches(":focus-within")){const e=t[0],o=t[t.length-1],r=this.tabDirection==="forward"?e:o;typeof(r==null?void 0:r.focus)=="function"&&(this.currentFocus=r,r.focus({preventScroll:!0}))}}}},Mf=T`
2886
- ${J}
2865
+ `}};V.styles=od,d([O(".textarea__control")],V.prototype,"input",2),d([G()],V.prototype,"hasFocus",2),d([u()],V.prototype,"title",2),d([u()],V.prototype,"name",2),d([u()],V.prototype,"value",2),d([u({reflect:!0})],V.prototype,"size",2),d([u({type:Boolean,reflect:!0})],V.prototype,"filled",2),d([u()],V.prototype,"label",2),d([u({attribute:"help-text"})],V.prototype,"helpText",2),d([u()],V.prototype,"placeholder",2),d([u({type:Number})],V.prototype,"rows",2),d([u()],V.prototype,"resize",2),d([u({type:Boolean,reflect:!0})],V.prototype,"disabled",2),d([u({type:Boolean,reflect:!0})],V.prototype,"readonly",2),d([u({reflect:!0})],V.prototype,"form",2),d([u({type:Boolean,reflect:!0})],V.prototype,"required",2),d([u({type:Number})],V.prototype,"minlength",2),d([u({type:Number})],V.prototype,"maxlength",2),d([u()],V.prototype,"autocapitalize",2),d([u()],V.prototype,"autocorrect",2),d([u()],V.prototype,"autocomplete",2),d([u({type:Boolean})],V.prototype,"autofocus",2),d([u()],V.prototype,"enterkeyhint",2),d([u({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],V.prototype,"spellcheck",2),d([u()],V.prototype,"inputmode",2),d([fo()],V.prototype,"defaultValue",2),d([P("disabled",{waitUntilFirstUpdate:!0})],V.prototype,"handleDisabledChange",1),d([P("rows",{waitUntilFirstUpdate:!0})],V.prototype,"handleRowsChange",1),d([P("value",{waitUntilFirstUpdate:!0})],V.prototype,"handleValueChange",1),V.define("sl-textarea");function rd(t){return!!(t.offsetParent||t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function sd(t){const e=t.tagName.toLowerCase();return t.getAttribute("tabindex")==="-1"||t.hasAttribute("disabled")||e==="input"&&t.getAttribute("type")==="radio"&&!t.hasAttribute("checked")||!rd(t)||window.getComputedStyle(t).visibility==="hidden"?!1:(e==="audio"||e==="video")&&t.hasAttribute("controls")||t.hasAttribute("tabindex")||t.hasAttribute("contenteditable")&&t.getAttribute("contenteditable")!=="false"?!0:["button","input","select","textarea","a","audio","video","summary"].includes(e)}function tn(t){const e=[];function o(r){if(r instanceof Element){if(r.hasAttribute("inert"))return;!e.includes(r)&&sd(r)&&e.push(r);const s=a=>{var n;return((n=a.getRootNode({composed:!0}))==null?void 0:n.host)!==t};r instanceof HTMLSlotElement&&s(r)&&r.assignedElements({flatten:!0}).forEach(a=>{o(a)}),r.shadowRoot!==null&&r.shadowRoot.mode==="open"&&o(r.shadowRoot)}[...r.children].forEach(s=>o(s))}return o(t),e.sort((r,s)=>{const a=Number(r.getAttribute("tabindex"))||0;return(Number(s.getAttribute("tabindex"))||0)-a})}function*on(t=document.activeElement){t!=null&&(yield t,"shadowRoot"in t&&t.shadowRoot&&t.shadowRoot.mode!=="closed"&&(yield*jc(on(t.shadowRoot.activeElement))))}function ad(){return[...on()].pop()}var go=[],nd=class{constructor(t){this.tabDirection="forward",this.handleFocusIn=()=>{this.isActive()&&this.checkFocus()},this.handleKeyDown=e=>{var o,r;if(e.key!=="Tab"||this.isExternalActivated||!this.isActive())return;e.shiftKey?this.tabDirection="backward":this.tabDirection="forward",e.preventDefault();const s=tn(this.element),a=ad();let n=s.findIndex(c=>c===a);if(n===-1){this.currentFocus=s[0],(o=this.currentFocus)==null||o.focus({preventScroll:!0});return}const i=this.tabDirection==="forward"?1:-1;n+i>=s.length?n=0:n+i<0?n=s.length-1:n+=i,this.currentFocus=s[n],(r=this.currentFocus)==null||r.focus({preventScroll:!0}),setTimeout(()=>this.checkFocus())},this.handleKeyUp=()=>{this.tabDirection="forward"},this.element=t}activate(){go.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){go=go.filter(t=>t!==this.element),this.currentFocus=null,document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return go[go.length-1]===this.element}activateExternal(){this.isExternalActivated=!0}deactivateExternal(){this.isExternalActivated=!1}checkFocus(){if(this.isActive()&&!this.isExternalActivated){const t=tn(this.element);if(!this.element.matches(":focus-within")){const e=t[0],o=t[t.length-1],r=this.tabDirection==="forward"?e:o;typeof(r==null?void 0:r.focus)=="function"&&(this.currentFocus=r,r.focus({preventScroll:!0}))}}}},id=L`
2866
+ ${Y}
2887
2867
 
2888
2868
  :host {
2889
2869
  --width: 31rem;
@@ -3001,7 +2981,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3001
2981
  border: solid 1px var(--sl-color-neutral-0);
3002
2982
  }
3003
2983
  }
3004
- `,Ne=class extends j{constructor(){super(...arguments),this.hasSlotController=new lt(this,"footer"),this.localize=new Se(this),this.modal=new Pf(this),this.open=!1,this.label="",this.noHeader=!1,this.handleDocumentKeyDown=t=>{t.key==="Escape"&&this.modal.isActive()&&this.open&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),Bn(this))}disconnectedCallback(){super.disconnectedCallback(),this.modal.deactivate(),Nn(this)}requestClose(t){if(this.emit("sl-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const o=qe(this,"dialog.denyClose",{dir:this.localize.dir()});Te(this.panel,o.keyframes,o.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),Bn(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([Be(this.dialog),Be(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sl-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});const e=qe(this,"dialog.show",{dir:this.localize.dir()}),o=qe(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([Te(this.panel,e.keyframes,e.options),Te(this.overlay,o.keyframes,o.options)]),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([Be(this.dialog),Be(this.overlay)]);const t=qe(this,"dialog.hide",{dir:this.localize.dir()}),e=qe(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([Te(this.overlay,e.keyframes,e.options).then(()=>{this.overlay.hidden=!0}),Te(this.panel,t.keyframes,t.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,Nn(this);const o=this.originalTrigger;typeof(o==null?void 0:o.focus)=="function"&&setTimeout(()=>o.focus()),this.emit("sl-after-hide")}}async show(){if(!this.open)return this.open=!0,pt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,pt(this,"sl-after-hide")}render(){return w`
2984
+ `,Be=class extends j{constructor(){super(...arguments),this.hasSlotController=new at(this,"footer"),this.localize=new $e(this),this.modal=new nd(this),this.open=!1,this.label="",this.noHeader=!1,this.handleDocumentKeyDown=t=>{t.key==="Escape"&&this.modal.isActive()&&this.open&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),Fa(this))}disconnectedCallback(){super.disconnectedCallback(),this.modal.deactivate(),Pa(this)}requestClose(t){if(this.emit("sl-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){const o=Se(this,"dialog.denyClose",{dir:this.localize.dir()});De(this.panel,o.keyframes,o.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),Fa(this);const t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([Me(this.dialog),Me(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("sl-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});const e=Se(this,"dialog.show",{dir:this.localize.dir()}),o=Se(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([De(this.panel,e.keyframes,e.options),De(this.overlay,o.keyframes,o.options)]),this.emit("sl-after-show")}else{this.emit("sl-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([Me(this.dialog),Me(this.overlay)]);const t=Se(this,"dialog.hide",{dir:this.localize.dir()}),e=Se(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([De(this.overlay,e.keyframes,e.options).then(()=>{this.overlay.hidden=!0}),De(this.panel,t.keyframes,t.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,Pa(this);const o=this.originalTrigger;typeof(o==null?void 0:o.focus)=="function"&&setTimeout(()=>o.focus()),this.emit("sl-after-hide")}}async show(){if(!this.open)return this.open=!0,dt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,dt(this,"sl-after-hide")}render(){return _`
3005
2985
  <div
3006
2986
  part="base"
3007
2987
  class=${W({dialog:!0,"dialog--open":this.open,"dialog--has-footer":this.hasSlotController.test("footer")})}
@@ -3014,14 +2994,14 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3014
2994
  role="dialog"
3015
2995
  aria-modal="true"
3016
2996
  aria-hidden=${this.open?"false":"true"}
3017
- aria-label=${E(this.noHeader?this.label:void 0)}
3018
- aria-labelledby=${E(this.noHeader?void 0:"title")}
2997
+ aria-label=${D(this.noHeader?this.label:void 0)}
2998
+ aria-labelledby=${D(this.noHeader?void 0:"title")}
3019
2999
  tabindex="-1"
3020
3000
  >
3021
- ${this.noHeader?"":w`
3001
+ ${this.noHeader?"":_`
3022
3002
  <header part="header" class="dialog__header">
3023
3003
  <h2 part="title" class="dialog__title" id="title">
3024
- <slot name="label"> ${this.label.length>0?this.label:String.fromCharCode(65279)} </slot>
3004
+ <slot name="label"> ${this.label.length>0?this.label:"\uFEFF"} </slot>
3025
3005
  </h2>
3026
3006
  <div part="header-actions" class="dialog__header-actions">
3027
3007
  <slot name="header-actions"></slot>
@@ -3045,8 +3025,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3045
3025
  </footer>
3046
3026
  </div>
3047
3027
  </div>
3048
- `}};Ne.styles=Mf,Ne.dependencies={"sl-icon-button":ae},f([R(".dialog")],Ne.prototype,"dialog",2),f([R(".dialog__panel")],Ne.prototype,"panel",2),f([R(".dialog__overlay")],Ne.prototype,"overlay",2),f([p({type:Boolean,reflect:!0})],Ne.prototype,"open",2),f([p({reflect:!0})],Ne.prototype,"label",2),f([p({attribute:"no-header",type:Boolean,reflect:!0})],Ne.prototype,"noHeader",2),f([P("open",{waitUntilFirstUpdate:!0})],Ne.prototype,"handleOpenChange",1),De("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),De("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),De("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),De("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),De("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),Ne.define("sl-dialog");var Of=T`
3049
- ${J}
3028
+ `}};Be.styles=id,Be.dependencies={"sl-icon-button":re},d([O(".dialog")],Be.prototype,"dialog",2),d([O(".dialog__panel")],Be.prototype,"panel",2),d([O(".dialog__overlay")],Be.prototype,"overlay",2),d([u({type:Boolean,reflect:!0})],Be.prototype,"open",2),d([u({reflect:!0})],Be.prototype,"label",2),d([u({attribute:"no-header",type:Boolean,reflect:!0})],Be.prototype,"noHeader",2),d([P("open",{waitUntilFirstUpdate:!0})],Be.prototype,"handleOpenChange",1),Ee("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Ee("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Ee("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),Ee("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),Ee("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),Be.define("sl-dialog");var cd=L`
3029
+ ${Y}
3050
3030
 
3051
3031
  :host {
3052
3032
  --indicator-color: var(--sl-color-primary-600);
@@ -3276,7 +3256,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3276
3256
  .tab-group--end ::slotted(sl-tab-panel) {
3277
3257
  --padding: 0 var(--sl-spacing-medium);
3278
3258
  }
3279
- `,_e=class extends j{constructor(){super(...arguments),this.localize=new Se(this),this.tabs=[],this.panels=[],this.hasScrollControls=!1,this.placement="top",this.activation="auto",this.noScrollControls=!1}connectedCallback(){const t=Promise.all([customElements.whenDefined("sl-tab"),customElements.whenDefined("sl-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(e=>{e.some(o=>!["aria-labelledby","aria-controls"].includes(o.attributeName))&&setTimeout(()=>this.setAriaLabels()),e.some(o=>o.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),t.then(()=>{new IntersectionObserver((o,r)=>{var s;o[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.getActiveTab())!=null?s:this.tabs[0],{emitEvents:!1}),r.unobserve(o[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver.disconnect(),this.resizeObserver.unobserve(this.nav)}getAllTabs(t={includeDisabled:!0}){return[...this.shadowRoot.querySelector('slot[name="nav"]').assignedElements()].filter(o=>t.includeDisabled?o.tagName.toLowerCase()==="sl-tab":o.tagName.toLowerCase()==="sl-tab"&&!o.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sl-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.active)}handleClick(t){const o=t.target.closest("sl-tab");(o==null?void 0:o.closest("sl-tab-group"))===this&&o!==null&&this.setActiveTab(o,{scrollBehavior:"smooth"})}handleKeyDown(t){const o=t.target.closest("sl-tab");if((o==null?void 0:o.closest("sl-tab-group"))===this&&(["Enter"," "].includes(t.key)&&o!==null&&(this.setActiveTab(o,{scrollBehavior:"smooth"}),t.preventDefault()),["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key))){const s=this.tabs.find(n=>n.matches(":focus")),a=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sl-tab"){let n=this.tabs.indexOf(s);t.key==="Home"?n=0:t.key==="End"?n=this.tabs.length-1:["top","bottom"].includes(this.placement)&&t.key===(a?"ArrowRight":"ArrowLeft")||["start","end"].includes(this.placement)&&t.key==="ArrowUp"?n--:(["top","bottom"].includes(this.placement)&&t.key===(a?"ArrowLeft":"ArrowRight")||["start","end"].includes(this.placement)&&t.key==="ArrowDown")&&n++,n<0&&(n=this.tabs.length-1),n>this.tabs.length-1&&(n=0),this.tabs[n].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[n],{scrollBehavior:"smooth"}),["top","bottom"].includes(this.placement)&&qs(this.tabs[n],this.nav,"horizontal"),t.preventDefault()}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,e){if(e=ct({emitEvents:!0,scrollBehavior:"auto"},e),t!==this.activeTab&&!t.disabled){const o=this.activeTab;this.activeTab=t,this.tabs.forEach(r=>r.active=r===this.activeTab),this.panels.forEach(r=>{var s;return r.active=r.name===((s=this.activeTab)==null?void 0:s.panel)}),this.syncIndicator(),["top","bottom"].includes(this.placement)&&qs(this.activeTab,this.nav,"horizontal",e.scrollBehavior),e.emitEvents&&(o&&this.emit("sl-tab-hide",{detail:{name:o.panel}}),this.emit("sl-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{const e=this.panels.find(o=>o.name===t.panel);e&&(t.setAttribute("aria-controls",e.getAttribute("id")),e.setAttribute("aria-labelledby",t.getAttribute("id")))})}repositionIndicator(){const t=this.getActiveTab();if(!t)return;const e=t.clientWidth,o=t.clientHeight,r=this.localize.dir()==="rtl",s=this.getAllTabs(),n=s.slice(0,s.indexOf(t)).reduce((i,c)=>({left:i.left+c.clientWidth,top:i.top+c.clientHeight}),{left:0,top:0});switch(this.placement){case"top":case"bottom":this.indicator.style.width=`${e}px`,this.indicator.style.height="auto",this.indicator.style.translate=r?`${-1*n.left}px`:`${n.left}px`;break;case"start":case"end":this.indicator.style.width="auto",this.indicator.style.height=`${o}px`,this.indicator.style.translate=`0 ${n.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}updateScrollControls(){this.noScrollControls?this.hasScrollControls=!1:this.hasScrollControls=["top","bottom"].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth}syncIndicator(){this.getActiveTab()?(this.indicator.style.display="block",this.repositionIndicator()):this.indicator.style.display="none"}show(t){const e=this.tabs.find(o=>o.panel===t);e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}render(){const t=this.localize.dir()==="rtl";return w`
3259
+ `,ye=class extends j{constructor(){super(...arguments),this.localize=new $e(this),this.tabs=[],this.panels=[],this.hasScrollControls=!1,this.placement="top",this.activation="auto",this.noScrollControls=!1}connectedCallback(){const t=Promise.all([customElements.whenDefined("sl-tab"),customElements.whenDefined("sl-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(e=>{e.some(o=>!["aria-labelledby","aria-controls"].includes(o.attributeName))&&setTimeout(()=>this.setAriaLabels()),e.some(o=>o.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),t.then(()=>{new IntersectionObserver((o,r)=>{var s;o[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.getActiveTab())!=null?s:this.tabs[0],{emitEvents:!1}),r.unobserve(o[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver.disconnect(),this.resizeObserver.unobserve(this.nav)}getAllTabs(t={includeDisabled:!0}){return[...this.shadowRoot.querySelector('slot[name="nav"]').assignedElements()].filter(o=>t.includeDisabled?o.tagName.toLowerCase()==="sl-tab":o.tagName.toLowerCase()==="sl-tab"&&!o.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sl-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.active)}handleClick(t){const o=t.target.closest("sl-tab");(o==null?void 0:o.closest("sl-tab-group"))===this&&o!==null&&this.setActiveTab(o,{scrollBehavior:"smooth"})}handleKeyDown(t){const o=t.target.closest("sl-tab");if((o==null?void 0:o.closest("sl-tab-group"))===this&&(["Enter"," "].includes(t.key)&&o!==null&&(this.setActiveTab(o,{scrollBehavior:"smooth"}),t.preventDefault()),["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key))){const s=this.tabs.find(n=>n.matches(":focus")),a=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sl-tab"){let n=this.tabs.indexOf(s);t.key==="Home"?n=0:t.key==="End"?n=this.tabs.length-1:["top","bottom"].includes(this.placement)&&t.key===(a?"ArrowRight":"ArrowLeft")||["start","end"].includes(this.placement)&&t.key==="ArrowUp"?n--:(["top","bottom"].includes(this.placement)&&t.key===(a?"ArrowLeft":"ArrowRight")||["start","end"].includes(this.placement)&&t.key==="ArrowDown")&&n++,n<0&&(n=this.tabs.length-1),n>this.tabs.length-1&&(n=0),this.tabs[n].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[n],{scrollBehavior:"smooth"}),["top","bottom"].includes(this.placement)&&Jr(this.tabs[n],this.nav,"horizontal"),t.preventDefault()}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,e){if(e=st({emitEvents:!0,scrollBehavior:"auto"},e),t!==this.activeTab&&!t.disabled){const o=this.activeTab;this.activeTab=t,this.tabs.forEach(r=>r.active=r===this.activeTab),this.panels.forEach(r=>{var s;return r.active=r.name===((s=this.activeTab)==null?void 0:s.panel)}),this.syncIndicator(),["top","bottom"].includes(this.placement)&&Jr(this.activeTab,this.nav,"horizontal",e.scrollBehavior),e.emitEvents&&(o&&this.emit("sl-tab-hide",{detail:{name:o.panel}}),this.emit("sl-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{const e=this.panels.find(o=>o.name===t.panel);e&&(t.setAttribute("aria-controls",e.getAttribute("id")),e.setAttribute("aria-labelledby",t.getAttribute("id")))})}repositionIndicator(){const t=this.getActiveTab();if(!t)return;const e=t.clientWidth,o=t.clientHeight,r=this.localize.dir()==="rtl",s=this.getAllTabs(),n=s.slice(0,s.indexOf(t)).reduce((i,c)=>({left:i.left+c.clientWidth,top:i.top+c.clientHeight}),{left:0,top:0});switch(this.placement){case"top":case"bottom":this.indicator.style.width=`${e}px`,this.indicator.style.height="auto",this.indicator.style.translate=r?`${-1*n.left}px`:`${n.left}px`;break;case"start":case"end":this.indicator.style.width="auto",this.indicator.style.height=`${o}px`,this.indicator.style.translate=`0 ${n.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}updateScrollControls(){this.noScrollControls?this.hasScrollControls=!1:this.hasScrollControls=["top","bottom"].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth}syncIndicator(){this.getActiveTab()?(this.indicator.style.display="block",this.repositionIndicator()):this.indicator.style.display="none"}show(t){const e=this.tabs.find(o=>o.panel===t);e&&this.setActiveTab(e,{scrollBehavior:"smooth"})}render(){const t=this.localize.dir()==="rtl";return _`
3280
3260
  <div
3281
3261
  part="base"
3282
3262
  class=${W({"tab-group":!0,"tab-group--top":this.placement==="top","tab-group--bottom":this.placement==="bottom","tab-group--start":this.placement==="start","tab-group--end":this.placement==="end","tab-group--rtl":this.localize.dir()==="rtl","tab-group--has-scroll-controls":this.hasScrollControls})}
@@ -3284,7 +3264,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3284
3264
  @keydown=${this.handleKeyDown}
3285
3265
  >
3286
3266
  <div class="tab-group__nav-container" part="nav">
3287
- ${this.hasScrollControls?w`
3267
+ ${this.hasScrollControls?_`
3288
3268
  <sl-icon-button
3289
3269
  part="scroll-button scroll-button--start"
3290
3270
  exportparts="base:scroll-button__base"
@@ -3303,7 +3283,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3303
3283
  </div>
3304
3284
  </div>
3305
3285
 
3306
- ${this.hasScrollControls?w`
3286
+ ${this.hasScrollControls?_`
3307
3287
  <sl-icon-button
3308
3288
  part="scroll-button scroll-button--end"
3309
3289
  exportparts="base:scroll-button__base"
@@ -3318,8 +3298,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3318
3298
 
3319
3299
  <slot part="body" class="tab-group__body" @slotchange=${this.syncTabsAndPanels}></slot>
3320
3300
  </div>
3321
- `}};_e.styles=Of,_e.dependencies={"sl-icon-button":ae},f([R(".tab-group")],_e.prototype,"tabGroup",2),f([R(".tab-group__body")],_e.prototype,"body",2),f([R(".tab-group__nav")],_e.prototype,"nav",2),f([R(".tab-group__indicator")],_e.prototype,"indicator",2),f([Z()],_e.prototype,"hasScrollControls",2),f([p()],_e.prototype,"placement",2),f([p()],_e.prototype,"activation",2),f([p({attribute:"no-scroll-controls",type:Boolean})],_e.prototype,"noScrollControls",2),f([P("noScrollControls",{waitUntilFirstUpdate:!0})],_e.prototype,"updateScrollControls",1),f([P("placement",{waitUntilFirstUpdate:!0})],_e.prototype,"syncIndicator",1),_e.define("sl-tab-group");var Ff=T`
3322
- ${J}
3301
+ `}};ye.styles=cd,ye.dependencies={"sl-icon-button":re},d([O(".tab-group")],ye.prototype,"tabGroup",2),d([O(".tab-group__body")],ye.prototype,"body",2),d([O(".tab-group__nav")],ye.prototype,"nav",2),d([O(".tab-group__indicator")],ye.prototype,"indicator",2),d([G()],ye.prototype,"hasScrollControls",2),d([u()],ye.prototype,"placement",2),d([u()],ye.prototype,"activation",2),d([u({attribute:"no-scroll-controls",type:Boolean})],ye.prototype,"noScrollControls",2),d([P("noScrollControls",{waitUntilFirstUpdate:!0})],ye.prototype,"updateScrollControls",1),d([P("placement",{waitUntilFirstUpdate:!0})],ye.prototype,"syncIndicator",1),ye.define("sl-tab-group");var ld=L`
3302
+ ${Y}
3323
3303
 
3324
3304
  :host {
3325
3305
  display: inline-block;
@@ -3388,14 +3368,14 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3388
3368
  outline-offset: -3px;
3389
3369
  }
3390
3370
  }
3391
- `,Bf=0,Ve=class extends j{constructor(){super(...arguments),this.localize=new Se(this),this.attrId=++Bf,this.componentId=`sl-tab-${this.attrId}`,this.panel="",this.active=!1,this.closable=!1,this.disabled=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleCloseClick(t){t.stopPropagation(),this.emit("sl-close")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.tab.focus(t)}blur(){this.tab.blur()}render(){return this.id=this.id.length>0?this.id:this.componentId,w`
3371
+ `,dd=0,Ve=class extends j{constructor(){super(...arguments),this.localize=new $e(this),this.attrId=++dd,this.componentId=`sl-tab-${this.attrId}`,this.panel="",this.active=!1,this.closable=!1,this.disabled=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tab")}handleCloseClick(t){t.stopPropagation(),this.emit("sl-close")}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.tab.focus(t)}blur(){this.tab.blur()}render(){return this.id=this.id.length>0?this.id:this.componentId,_`
3392
3372
  <div
3393
3373
  part="base"
3394
3374
  class=${W({tab:!0,"tab--active":this.active,"tab--closable":this.closable,"tab--disabled":this.disabled})}
3395
3375
  tabindex=${this.disabled?"-1":"0"}
3396
3376
  >
3397
3377
  <slot></slot>
3398
- ${this.closable?w`
3378
+ ${this.closable?_`
3399
3379
  <sl-icon-button
3400
3380
  part="close-button"
3401
3381
  exportparts="base:close-button__base"
@@ -3408,8 +3388,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3408
3388
  ></sl-icon-button>
3409
3389
  `:""}
3410
3390
  </div>
3411
- `}};Ve.styles=Ff,Ve.dependencies={"sl-icon-button":ae},f([R(".tab")],Ve.prototype,"tab",2),f([p({reflect:!0})],Ve.prototype,"panel",2),f([p({type:Boolean,reflect:!0})],Ve.prototype,"active",2),f([p({type:Boolean})],Ve.prototype,"closable",2),f([p({type:Boolean,reflect:!0})],Ve.prototype,"disabled",2),f([P("active")],Ve.prototype,"handleActiveChange",1),f([P("disabled")],Ve.prototype,"handleDisabledChange",1),Ve.define("sl-tab");var Nf=T`
3412
- ${J}
3391
+ `}};Ve.styles=ld,Ve.dependencies={"sl-icon-button":re},d([O(".tab")],Ve.prototype,"tab",2),d([u({reflect:!0})],Ve.prototype,"panel",2),d([u({type:Boolean,reflect:!0})],Ve.prototype,"active",2),d([u({type:Boolean})],Ve.prototype,"closable",2),d([u({type:Boolean,reflect:!0})],Ve.prototype,"disabled",2),d([P("active")],Ve.prototype,"handleActiveChange",1),d([P("disabled")],Ve.prototype,"handleDisabledChange",1),Ve.define("sl-tab");var fd=L`
3392
+ ${Y}
3413
3393
 
3414
3394
  :host {
3415
3395
  --padding: 0;
@@ -3425,13 +3405,13 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3425
3405
  display: block;
3426
3406
  padding: var(--padding);
3427
3407
  }
3428
- `,Vf=0,Lo=class extends j{constructor(){super(...arguments),this.attrId=++Vf,this.componentId=`sl-tab-panel-${this.attrId}`,this.name="",this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return w`
3408
+ `,ud=0,mo=class extends j{constructor(){super(...arguments),this.attrId=++ud,this.componentId=`sl-tab-panel-${this.attrId}`,this.name="",this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return _`
3429
3409
  <slot
3430
3410
  part="base"
3431
3411
  class=${W({"tab-panel":!0,"tab-panel--active":this.active})}
3432
3412
  ></slot>
3433
- `}};Lo.styles=Nf,f([p({reflect:!0})],Lo.prototype,"name",2),f([p({type:Boolean,reflect:!0})],Lo.prototype,"active",2),f([P("active")],Lo.prototype,"handleActiveChange",1),Lo.define("sl-tab-panel");var Hf=T`
3434
- ${J}
3413
+ `}};mo.styles=fd,d([u({reflect:!0})],mo.prototype,"name",2),d([u({type:Boolean,reflect:!0})],mo.prototype,"active",2),d([P("active")],mo.prototype,"handleActiveChange",1),mo.define("sl-tab-panel");var hd=L`
3414
+ ${Y}
3435
3415
 
3436
3416
  :host {
3437
3417
  display: block;
@@ -3544,20 +3524,20 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3544
3524
  user-select: none;
3545
3525
  -webkit-user-select: none;
3546
3526
  }
3547
- `,He=class extends j{constructor(){super(),this.checked=!1,this.hasFocus=!1,this.size="medium",this.disabled=!1,this.handleBlur=()=>{this.hasFocus=!1,this.emit("sl-blur")},this.handleClick=()=>{this.disabled||(this.checked=!0)},this.handleFocus=()=>{this.hasFocus=!0,this.emit("sl-focus")},this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}connectedCallback(){super.connectedCallback(),this.setInitialAttributes()}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return w`
3527
+ `,Ue=class extends j{constructor(){super(),this.checked=!1,this.hasFocus=!1,this.size="medium",this.disabled=!1,this.handleBlur=()=>{this.hasFocus=!1,this.emit("sl-blur")},this.handleClick=()=>{this.disabled||(this.checked=!0)},this.handleFocus=()=>{this.hasFocus=!0,this.emit("sl-focus")},this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}connectedCallback(){super.connectedCallback(),this.setInitialAttributes()}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return _`
3548
3528
  <span
3549
3529
  part="base"
3550
3530
  class=${W({radio:!0,"radio--checked":this.checked,"radio--disabled":this.disabled,"radio--focused":this.hasFocus,"radio--small":this.size==="small","radio--medium":this.size==="medium","radio--large":this.size==="large"})}
3551
3531
  >
3552
3532
  <span part="${`control${this.checked?" control--checked":""}`}" class="radio__control">
3553
- ${this.checked?w` <sl-icon part="checked-icon" class="radio__checked-icon" library="system" name="radio"></sl-icon> `:""}
3533
+ ${this.checked?_` <sl-icon part="checked-icon" class="radio__checked-icon" library="system" name="radio"></sl-icon> `:""}
3554
3534
  </span>
3555
3535
 
3556
3536
  <slot part="label" class="radio__label"></slot>
3557
3537
  </span>
3558
- `}};He.styles=Hf,He.dependencies={"sl-icon":de},f([Z()],He.prototype,"checked",2),f([Z()],He.prototype,"hasFocus",2),f([p()],He.prototype,"value",2),f([p({reflect:!0})],He.prototype,"size",2),f([p({type:Boolean,reflect:!0})],He.prototype,"disabled",2),f([P("checked")],He.prototype,"handleCheckedChange",1),f([P("disabled",{waitUntilFirstUpdate:!0})],He.prototype,"handleDisabledChange",1),He.define("sl-radio");var Uf=T`
3559
- ${J}
3560
- ${dr}
3538
+ `}};Ue.styles=hd,Ue.dependencies={"sl-icon":le},d([G()],Ue.prototype,"checked",2),d([G()],Ue.prototype,"hasFocus",2),d([u()],Ue.prototype,"value",2),d([u({reflect:!0})],Ue.prototype,"size",2),d([u({type:Boolean,reflect:!0})],Ue.prototype,"disabled",2),d([P("checked")],Ue.prototype,"handleCheckedChange",1),d([P("disabled",{waitUntilFirstUpdate:!0})],Ue.prototype,"handleDisabledChange",1),Ue.define("sl-radio");var pd=L`
3539
+ ${Y}
3540
+ ${Mo}
3561
3541
 
3562
3542
  :host {
3563
3543
  display: block;
@@ -3590,8 +3570,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3590
3570
  white-space: nowrap;
3591
3571
  border: 0;
3592
3572
  }
3593
- `,jf=T`
3594
- ${J}
3573
+ `,bd=L`
3574
+ ${Y}
3595
3575
 
3596
3576
  :host {
3597
3577
  display: inline-block;
@@ -3601,7 +3581,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3601
3581
  display: flex;
3602
3582
  flex-wrap: nowrap;
3603
3583
  }
3604
- `,Ro=class extends j{constructor(){super(...arguments),this.disableRole=!1,this.label=""}handleFocus(t){const e=Io(t.target);e==null||e.classList.add("sl-button-group__button--focus")}handleBlur(t){const e=Io(t.target);e==null||e.classList.remove("sl-button-group__button--focus")}handleMouseOver(t){const e=Io(t.target);e==null||e.classList.add("sl-button-group__button--hover")}handleMouseOut(t){const e=Io(t.target);e==null||e.classList.remove("sl-button-group__button--hover")}handleSlotChange(){const t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach(e=>{const o=t.indexOf(e),r=Io(e);r&&(r.classList.add("sl-button-group__button"),r.classList.toggle("sl-button-group__button--first",o===0),r.classList.toggle("sl-button-group__button--inner",o>0&&o<t.length-1),r.classList.toggle("sl-button-group__button--last",o===t.length-1),r.classList.toggle("sl-button-group__button--radio",r.tagName.toLowerCase()==="sl-radio-button"))})}render(){return w`
3584
+ `,vo=class extends j{constructor(){super(...arguments),this.disableRole=!1,this.label=""}handleFocus(t){const e=yo(t.target);e==null||e.classList.add("sl-button-group__button--focus")}handleBlur(t){const e=yo(t.target);e==null||e.classList.remove("sl-button-group__button--focus")}handleMouseOver(t){const e=yo(t.target);e==null||e.classList.add("sl-button-group__button--hover")}handleMouseOut(t){const e=yo(t.target);e==null||e.classList.remove("sl-button-group__button--hover")}handleSlotChange(){const t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach(e=>{const o=t.indexOf(e),r=yo(e);r&&(r.classList.add("sl-button-group__button"),r.classList.toggle("sl-button-group__button--first",o===0),r.classList.toggle("sl-button-group__button--inner",o>0&&o<t.length-1),r.classList.toggle("sl-button-group__button--last",o===t.length-1),r.classList.toggle("sl-button-group__button--radio",r.tagName.toLowerCase()==="sl-radio-button"))})}render(){return _`
3605
3585
  <div
3606
3586
  part="base"
3607
3587
  class="button-group"
@@ -3614,9 +3594,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3614
3594
  >
3615
3595
  <slot @slotchange=${this.handleSlotChange}></slot>
3616
3596
  </div>
3617
- `}};Ro.styles=jf,f([R("slot")],Ro.prototype,"defaultSlot",2),f([Z()],Ro.prototype,"disableRole",2),f([p()],Ro.prototype,"label",2);function Io(t){var e;const o="sl-button, sl-radio-button";return(e=t.closest(o))!=null?e:t.querySelector(o)}var ie=class extends j{constructor(){super(...arguments),this.formControlController=new Tt(this),this.hasSlotController=new lt(this,"help-text","label"),this.customValidityMessage="",this.hasButtonGroup=!1,this.errorMessage="",this.defaultValue="",this.label="",this.helpText="",this.name="option",this.value="",this.size="medium",this.form="",this.required=!1}get validity(){const t=this.required&&!this.value;return this.customValidityMessage!==""?yd:t?vd:ar}get validationMessage(){const t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sl-radio, sl-radio-button")]}handleRadioClick(t){const e=t.target.closest("sl-radio, sl-radio-button"),o=this.getAllRadios(),r=this.value;e.disabled||(this.value=e.value,o.forEach(s=>s.checked=s===e),this.value!==r&&(this.emit("sl-change"),this.emit("sl-input")))}handleKeyDown(t){var e;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const o=this.getAllRadios().filter(i=>!i.disabled),r=(e=o.find(i=>i.checked))!=null?e:o[0],s=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,a=this.value;let n=o.indexOf(r)+s;n<0&&(n=o.length-1),n>o.length-1&&(n=0),this.getAllRadios().forEach(i=>{i.checked=!1,this.hasButtonGroup||(i.tabIndex=-1)}),this.value=o[n].value,o[n].checked=!0,this.hasButtonGroup?o[n].shadowRoot.querySelector("button").focus():(o[n].tabIndex=0,o[n].focus()),this.value!==a&&(this.emit("sl-change"),this.emit("sl-input")),t.preventDefault()}handleLabelClick(){const t=this.getAllRadios(),o=t.find(r=>r.checked)||t[0];o&&o.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}async syncRadioElements(){var t,e;const o=this.getAllRadios();if(await Promise.all(o.map(async r=>{await r.updateComplete,r.checked=r.value===this.value,r.size=this.size})),this.hasButtonGroup=o.some(r=>r.tagName.toLowerCase()==="sl-radio-button"),!o.some(r=>r.checked))if(this.hasButtonGroup){const r=(t=o[0].shadowRoot)==null?void 0:t.querySelector("button");r&&(r.tabIndex=0)}else o[0].tabIndex=0;if(this.hasButtonGroup){const r=(e=this.shadowRoot)==null?void 0:e.querySelector("sl-button-group");r&&(r.disableRole=!0)}}syncRadios(){if(customElements.get("sl-radio")&&customElements.get("sl-radio-button")){this.syncRadioElements();return}customElements.get("sl-radio")?this.syncRadioElements():customElements.whenDefined("sl-radio").then(()=>this.syncRadios()),customElements.get("sl-radio-button")?this.syncRadioElements():customElements.whenDefined("sl-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){const t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.errorMessage=this.customValidityMessage||t?"":this.validationInput.validationMessage,this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.errorMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=w`
3597
+ `}};vo.styles=bd,d([O("slot")],vo.prototype,"defaultSlot",2),d([G()],vo.prototype,"disableRole",2),d([u()],vo.prototype,"label",2);function yo(t){var e;const o="sl-button, sl-radio-button";return(e=t.closest(o))!=null?e:t.querySelector(o)}var ae=class extends j{constructor(){super(...arguments),this.formControlController=new wt(this),this.hasSlotController=new at(this,"help-text","label"),this.customValidityMessage="",this.hasButtonGroup=!1,this.errorMessage="",this.defaultValue="",this.label="",this.helpText="",this.name="option",this.value="",this.size="medium",this.form="",this.required=!1}get validity(){const t=this.required&&!this.value;return this.customValidityMessage!==""?Gc:t?Hc:Fo}get validationMessage(){const t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sl-radio, sl-radio-button")]}handleRadioClick(t){const e=t.target.closest("sl-radio, sl-radio-button"),o=this.getAllRadios(),r=this.value;e.disabled||(this.value=e.value,o.forEach(s=>s.checked=s===e),this.value!==r&&(this.emit("sl-change"),this.emit("sl-input")))}handleKeyDown(t){var e;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const o=this.getAllRadios().filter(i=>!i.disabled),r=(e=o.find(i=>i.checked))!=null?e:o[0],s=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,a=this.value;let n=o.indexOf(r)+s;n<0&&(n=o.length-1),n>o.length-1&&(n=0),this.getAllRadios().forEach(i=>{i.checked=!1,this.hasButtonGroup||(i.tabIndex=-1)}),this.value=o[n].value,o[n].checked=!0,this.hasButtonGroup?o[n].shadowRoot.querySelector("button").focus():(o[n].tabIndex=0,o[n].focus()),this.value!==a&&(this.emit("sl-change"),this.emit("sl-input")),t.preventDefault()}handleLabelClick(){const t=this.getAllRadios(),o=t.find(r=>r.checked)||t[0];o&&o.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}async syncRadioElements(){var t,e;const o=this.getAllRadios();if(await Promise.all(o.map(async r=>{await r.updateComplete,r.checked=r.value===this.value,r.size=this.size})),this.hasButtonGroup=o.some(r=>r.tagName.toLowerCase()==="sl-radio-button"),!o.some(r=>r.checked))if(this.hasButtonGroup){const r=(t=o[0].shadowRoot)==null?void 0:t.querySelector("button");r&&(r.tabIndex=0)}else o[0].tabIndex=0;if(this.hasButtonGroup){const r=(e=this.shadowRoot)==null?void 0:e.querySelector("sl-button-group");r&&(r.disableRole=!0)}}syncRadios(){if(customElements.get("sl-radio")&&customElements.get("sl-radio-button")){this.syncRadioElements();return}customElements.get("sl-radio")?this.syncRadioElements():customElements.whenDefined("sl-radio").then(()=>this.syncRadios()),customElements.get("sl-radio-button")?this.syncRadioElements():customElements.whenDefined("sl-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}checkValidity(){const t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.errorMessage=this.customValidityMessage||t?"":this.validationInput.validationMessage,this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.errorMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,r=this.helpText?!0:!!e,s=_`
3618
3598
  <slot @slotchange=${this.syncRadios} @click=${this.handleRadioClick} @keydown=${this.handleKeyDown}></slot>
3619
- `;return w`
3599
+ `;return _`
3620
3600
  <fieldset
3621
3601
  part="form-control"
3622
3602
  class=${W({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large","form-control--radio-group":!0,"form-control--has-label":o,"form-control--has-help-text":r})}
@@ -3650,7 +3630,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3650
3630
  </label>
3651
3631
  </div>
3652
3632
 
3653
- ${this.hasButtonGroup?w`
3633
+ ${this.hasButtonGroup?_`
3654
3634
  <sl-button-group part="button-group" exportparts="base:button-group__base" role="presentation">
3655
3635
  ${s}
3656
3636
  </sl-button-group>
@@ -3666,8 +3646,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3666
3646
  <slot name="help-text">${this.helpText}</slot>
3667
3647
  </div>
3668
3648
  </fieldset>
3669
- `}};ie.styles=Uf,ie.dependencies={"sl-button-group":Ro},f([R("slot:not([name])")],ie.prototype,"defaultSlot",2),f([R(".radio-group__validation-input")],ie.prototype,"validationInput",2),f([Z()],ie.prototype,"hasButtonGroup",2),f([Z()],ie.prototype,"errorMessage",2),f([Z()],ie.prototype,"defaultValue",2),f([p()],ie.prototype,"label",2),f([p({attribute:"help-text"})],ie.prototype,"helpText",2),f([p()],ie.prototype,"name",2),f([p({reflect:!0})],ie.prototype,"value",2),f([p({reflect:!0})],ie.prototype,"size",2),f([p({reflect:!0})],ie.prototype,"form",2),f([p({type:Boolean,reflect:!0})],ie.prototype,"required",2),f([P("size",{waitUntilFirstUpdate:!0})],ie.prototype,"handleSizeChange",1),f([P("value")],ie.prototype,"handleValueChange",1),ie.define("sl-radio-group");var Gf=T`
3670
- ${zn}
3649
+ `}};ae.styles=pd,ae.dependencies={"sl-button-group":vo},d([O("slot:not([name])")],ae.prototype,"defaultSlot",2),d([O(".radio-group__validation-input")],ae.prototype,"validationInput",2),d([G()],ae.prototype,"hasButtonGroup",2),d([G()],ae.prototype,"errorMessage",2),d([G()],ae.prototype,"defaultValue",2),d([u()],ae.prototype,"label",2),d([u({attribute:"help-text"})],ae.prototype,"helpText",2),d([u()],ae.prototype,"name",2),d([u({reflect:!0})],ae.prototype,"value",2),d([u({reflect:!0})],ae.prototype,"size",2),d([u({reflect:!0})],ae.prototype,"form",2),d([u({type:Boolean,reflect:!0})],ae.prototype,"required",2),d([P("size",{waitUntilFirstUpdate:!0})],ae.prototype,"handleSizeChange",1),d([P("value")],ae.prototype,"handleValueChange",1),ae.define("sl-radio-group");var gd=L`
3650
+ ${Ea}
3671
3651
 
3672
3652
  .button__prefix,
3673
3653
  .button__suffix,
@@ -3690,7 +3670,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3690
3670
  opacity: 0;
3691
3671
  z-index: -1;
3692
3672
  }
3693
- `,ze=class extends j{constructor(){super(...arguments),this.hasSlotController=new lt(this,"[default]","prefix","suffix"),this.hasFocus=!1,this.checked=!1,this.disabled=!1,this.size="medium",this.pill=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleClick(t){if(this.disabled){t.preventDefault(),t.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.input.focus(t)}blur(){this.input.blur()}render(){return $o`
3673
+ `,qe=class extends j{constructor(){super(...arguments),this.hasSlotController=new at(this,"[default]","prefix","suffix"),this.hasFocus=!1,this.checked=!1,this.disabled=!1,this.size="medium",this.pill=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleClick(t){if(this.disabled){t.preventDefault(),t.stopPropagation();return}this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.input.focus(t)}blur(){this.input.blur()}render(){return lo`
3694
3674
  <div part="base" role="presentation">
3695
3675
  <button
3696
3676
  part="${`button${this.checked?" button--checked":""}`}"
@@ -3699,7 +3679,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3699
3679
  class=${W({button:!0,"button--default":!0,"button--small":this.size==="small","button--medium":this.size==="medium","button--large":this.size==="large","button--checked":this.checked,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--outline":!0,"button--pill":this.pill,"button--has-label":this.hasSlotController.test("[default]"),"button--has-prefix":this.hasSlotController.test("prefix"),"button--has-suffix":this.hasSlotController.test("suffix")})}
3700
3680
  aria-disabled=${this.disabled}
3701
3681
  type="button"
3702
- value=${E(this.value)}
3682
+ value=${D(this.value)}
3703
3683
  tabindex="${this.checked?"0":"-1"}"
3704
3684
  @blur=${this.handleBlur}
3705
3685
  @focus=${this.handleFocus}
@@ -3710,8 +3690,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3710
3690
  <slot name="suffix" part="suffix" class="button__suffix"></slot>
3711
3691
  </button>
3712
3692
  </div>
3713
- `}};ze.styles=Gf,f([R(".button")],ze.prototype,"input",2),f([R(".hidden-input")],ze.prototype,"hiddenInput",2),f([Z()],ze.prototype,"hasFocus",2),f([p({type:Boolean,reflect:!0})],ze.prototype,"checked",2),f([p()],ze.prototype,"value",2),f([p({type:Boolean,reflect:!0})],ze.prototype,"disabled",2),f([p({reflect:!0})],ze.prototype,"size",2),f([p({type:Boolean,reflect:!0})],ze.prototype,"pill",2),f([P("disabled",{waitUntilFirstUpdate:!0})],ze.prototype,"handleDisabledChange",1),ze.define("sl-radio-button");var Zf=T`
3714
- ${J}
3693
+ `}};qe.styles=gd,d([O(".button")],qe.prototype,"input",2),d([O(".hidden-input")],qe.prototype,"hiddenInput",2),d([G()],qe.prototype,"hasFocus",2),d([u({type:Boolean,reflect:!0})],qe.prototype,"checked",2),d([u()],qe.prototype,"value",2),d([u({type:Boolean,reflect:!0})],qe.prototype,"disabled",2),d([u({reflect:!0})],qe.prototype,"size",2),d([u({type:Boolean,reflect:!0})],qe.prototype,"pill",2),d([P("disabled",{waitUntilFirstUpdate:!0})],qe.prototype,"handleDisabledChange",1),qe.define("sl-radio-button");var md=L`
3694
+ ${Y}
3715
3695
 
3716
3696
  :host {
3717
3697
  display: inline-block;
@@ -3876,7 +3856,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3876
3856
  background-color: ButtonText;
3877
3857
  }
3878
3858
  }
3879
- `,ue=class extends j{constructor(){super(...arguments),this.formControlController=new Tt(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.hasFocus=!1,this.title="",this.name="",this.size="medium",this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleInput(){this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleClick(){this.checked=!this.checked,this.emit("sl-change")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleKeyDown(t){t.key==="ArrowLeft"&&(t.preventDefault(),this.checked=!1,this.emit("sl-change"),this.emit("sl-input")),t.key==="ArrowRight"&&(t.preventDefault(),this.checked=!0,this.emit("sl-change"),this.emit("sl-input"))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return w`
3859
+ `,he=class extends j{constructor(){super(...arguments),this.formControlController=new wt(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,e)=>t.checked=e}),this.hasFocus=!1,this.title="",this.name="",this.size="medium",this.disabled=!1,this.checked=!1,this.defaultChecked=!1,this.form="",this.required=!1}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sl-blur")}handleInput(){this.emit("sl-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleClick(){this.checked=!this.checked,this.emit("sl-change")}handleFocus(){this.hasFocus=!0,this.emit("sl-focus")}handleKeyDown(t){t.key==="ArrowLeft"&&(t.preventDefault(),this.checked=!1,this.emit("sl-change"),this.emit("sl-input")),t.key==="ArrowRight"&&(t.preventDefault(),this.checked=!0,this.emit("sl-change"),this.emit("sl-input"))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){return _`
3880
3860
  <label
3881
3861
  part="base"
3882
3862
  class=${W({switch:!0,"switch--checked":this.checked,"switch--disabled":this.disabled,"switch--focused":this.hasFocus,"switch--small":this.size==="small","switch--medium":this.size==="medium","switch--large":this.size==="large"})}
@@ -3886,8 +3866,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3886
3866
  type="checkbox"
3887
3867
  title=${this.title}
3888
3868
  name=${this.name}
3889
- value=${E(this.value)}
3890
- .checked=${So(this.checked)}
3869
+ value=${D(this.value)}
3870
+ .checked=${uo(this.checked)}
3891
3871
  .disabled=${this.disabled}
3892
3872
  .required=${this.required}
3893
3873
  role="switch"
@@ -3908,8 +3888,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3908
3888
  <slot></slot>
3909
3889
  </div>
3910
3890
  </label>
3911
- `}};ue.styles=Zf,f([R('input[type="checkbox"]')],ue.prototype,"input",2),f([Z()],ue.prototype,"hasFocus",2),f([p()],ue.prototype,"title",2),f([p()],ue.prototype,"name",2),f([p()],ue.prototype,"value",2),f([p({reflect:!0})],ue.prototype,"size",2),f([p({type:Boolean,reflect:!0})],ue.prototype,"disabled",2),f([p({type:Boolean,reflect:!0})],ue.prototype,"checked",2),f([Eo("checked")],ue.prototype,"defaultChecked",2),f([p({reflect:!0})],ue.prototype,"form",2),f([p({type:Boolean,reflect:!0})],ue.prototype,"required",2),f([P("checked",{waitUntilFirstUpdate:!0})],ue.prototype,"handleCheckedChange",1),f([P("disabled",{waitUntilFirstUpdate:!0})],ue.prototype,"handleDisabledChange",1),ue.define("sl-switch");var Wf=T`
3912
- ${J}
3891
+ `}};he.styles=md,d([O('input[type="checkbox"]')],he.prototype,"input",2),d([G()],he.prototype,"hasFocus",2),d([u()],he.prototype,"title",2),d([u()],he.prototype,"name",2),d([u()],he.prototype,"value",2),d([u({reflect:!0})],he.prototype,"size",2),d([u({type:Boolean,reflect:!0})],he.prototype,"disabled",2),d([u({type:Boolean,reflect:!0})],he.prototype,"checked",2),d([fo("checked")],he.prototype,"defaultChecked",2),d([u({reflect:!0})],he.prototype,"form",2),d([u({type:Boolean,reflect:!0})],he.prototype,"required",2),d([P("checked",{waitUntilFirstUpdate:!0})],he.prototype,"handleCheckedChange",1),d([P("disabled",{waitUntilFirstUpdate:!0})],he.prototype,"handleDisabledChange",1),he.define("sl-switch");var vd=L`
3892
+ ${Y}
3913
3893
 
3914
3894
  :host {
3915
3895
  --max-width: 20rem;
@@ -3961,7 +3941,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3961
3941
  user-select: none;
3962
3942
  -webkit-user-select: none;
3963
3943
  }
3964
- `,ce=class extends j{constructor(){super(),this.localize=new Se(this),this.content="",this.placement="top",this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger="hover focus",this.hoist=!1,this.handleBlur=()=>{this.hasTrigger("focus")&&this.hide()},this.handleClick=()=>{this.hasTrigger("click")&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger("focus")&&this.show()},this.handleKeyDown=t=>{this.open&&!this.disabled&&t.key==="Escape"&&(t.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger("hover")){const t=si(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}},this.handleMouseOut=()=>{if(this.hasTrigger("hover")){const t=si(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}},this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}connectedCallback(){super.connectedCallback()}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(t){return this.trigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sl-show"),await Be(this.body),this.body.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=qe(this,"tooltip.show",{dir:this.localize.dir()});await Te(this.popup.popup,t,e),this.emit("sl-after-show")}else{this.emit("sl-hide"),await Be(this.body);const{keyframes:t,options:e}=qe(this,"tooltip.hide",{dir:this.localize.dir()});await Te(this.popup.popup,t,e),this.popup.active=!1,this.body.hidden=!0,this.emit("sl-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,pt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,pt(this,"sl-after-hide")}render(){return w`
3944
+ `,ne=class extends j{constructor(){super(),this.localize=new $e(this),this.content="",this.placement="top",this.disabled=!1,this.distance=8,this.open=!1,this.skidding=0,this.trigger="hover focus",this.hoist=!1,this.handleBlur=()=>{this.hasTrigger("focus")&&this.hide()},this.handleClick=()=>{this.hasTrigger("click")&&(this.open?this.hide():this.show())},this.handleFocus=()=>{this.hasTrigger("focus")&&this.show()},this.handleKeyDown=t=>{this.open&&!this.disabled&&t.key==="Escape"&&(t.stopPropagation(),this.hide())},this.handleMouseOver=()=>{if(this.hasTrigger("hover")){const t=en(getComputedStyle(this).getPropertyValue("--show-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.show(),t)}},this.handleMouseOut=()=>{if(this.hasTrigger("hover")){const t=en(getComputedStyle(this).getPropertyValue("--hide-delay"));clearTimeout(this.hoverTimeout),this.hoverTimeout=window.setTimeout(()=>this.hide(),t)}},this.addEventListener("blur",this.handleBlur,!0),this.addEventListener("focus",this.handleFocus,!0),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}connectedCallback(){super.connectedCallback()}firstUpdated(){this.body.hidden=!this.open,this.open&&(this.popup.active=!0,this.popup.reposition())}hasTrigger(t){return this.trigger.split(" ").includes(t)}async handleOpenChange(){if(this.open){if(this.disabled)return;this.emit("sl-show"),await Me(this.body),this.body.hidden=!1,this.popup.active=!0;const{keyframes:t,options:e}=Se(this,"tooltip.show",{dir:this.localize.dir()});await De(this.popup.popup,t,e),this.emit("sl-after-show")}else{this.emit("sl-hide"),await Me(this.body);const{keyframes:t,options:e}=Se(this,"tooltip.hide",{dir:this.localize.dir()});await De(this.popup.popup,t,e),this.popup.active=!1,this.body.hidden=!0,this.emit("sl-after-hide")}}async handleOptionsChange(){this.hasUpdated&&(await this.updateComplete,this.popup.reposition())}handleDisabledChange(){this.disabled&&this.open&&this.hide()}async show(){if(!this.open)return this.open=!0,dt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,dt(this,"sl-after-hide")}render(){return _`
3965
3945
  <sl-popup
3966
3946
  part="base"
3967
3947
  exportparts="
@@ -3985,8 +3965,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
3985
3965
  <slot name="content">${this.content}</slot>
3986
3966
  </div>
3987
3967
  </sl-popup>
3988
- `}};ce.styles=Wf,ce.dependencies={"sl-popup":G},f([R("slot:not([name])")],ce.prototype,"defaultSlot",2),f([R(".tooltip__body")],ce.prototype,"body",2),f([R("sl-popup")],ce.prototype,"popup",2),f([p()],ce.prototype,"content",2),f([p()],ce.prototype,"placement",2),f([p({type:Boolean,reflect:!0})],ce.prototype,"disabled",2),f([p({type:Number})],ce.prototype,"distance",2),f([p({type:Boolean,reflect:!0})],ce.prototype,"open",2),f([p({type:Number})],ce.prototype,"skidding",2),f([p()],ce.prototype,"trigger",2),f([p({type:Boolean})],ce.prototype,"hoist",2),f([P("open",{waitUntilFirstUpdate:!0})],ce.prototype,"handleOpenChange",1),f([P(["content","distance","hoist","placement","skidding"])],ce.prototype,"handleOptionsChange",1),f([P("disabled")],ce.prototype,"handleDisabledChange",1),De("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),De("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}}),ce.define("sl-tooltip"),xs.define("sl-spinner");var Kf=T`
3989
- ${J}
3968
+ `}};ne.styles=vd,ne.dependencies={"sl-popup":H},d([O("slot:not([name])")],ne.prototype,"defaultSlot",2),d([O(".tooltip__body")],ne.prototype,"body",2),d([O("sl-popup")],ne.prototype,"popup",2),d([u()],ne.prototype,"content",2),d([u()],ne.prototype,"placement",2),d([u({type:Boolean,reflect:!0})],ne.prototype,"disabled",2),d([u({type:Number})],ne.prototype,"distance",2),d([u({type:Boolean,reflect:!0})],ne.prototype,"open",2),d([u({type:Number})],ne.prototype,"skidding",2),d([u()],ne.prototype,"trigger",2),d([u({type:Boolean})],ne.prototype,"hoist",2),d([P("open",{waitUntilFirstUpdate:!0})],ne.prototype,"handleOpenChange",1),d([P(["content","distance","hoist","placement","skidding"])],ne.prototype,"handleOptionsChange",1),d([P("disabled")],ne.prototype,"handleDisabledChange",1),Ee("tooltip.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:150,easing:"ease"}}),Ee("tooltip.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:150,easing:"ease"}}),ne.define("sl-tooltip"),Ur.define("sl-spinner");var yd=L`
3969
+ ${Y}
3990
3970
 
3991
3971
  :host {
3992
3972
  display: contents;
@@ -4078,7 +4058,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4078
4058
  font-size: var(--sl-font-size-medium);
4079
4059
  padding-inline-end: var(--sl-spacing-medium);
4080
4060
  }
4081
- `,Wt=Object.assign(document.createElement("div"),{className:"sl-toast-stack"}),Ue=class extends j{constructor(){super(...arguments),this.hasSlotController=new lt(this,"icon","suffix"),this.localize=new Se(this),this.open=!1,this.closable=!1,this.variant="primary",this.duration=1/0}firstUpdated(){this.base.hidden=!this.open}restartAutoHide(){clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}handleCloseClick(){this.hide()}handleMouseMove(){this.restartAutoHide()}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.duration<1/0&&this.restartAutoHide(),await Be(this.base),this.base.hidden=!1;const{keyframes:t,options:e}=qe(this,"alert.show",{dir:this.localize.dir()});await Te(this.base,t,e),this.emit("sl-after-show")}else{this.emit("sl-hide"),clearTimeout(this.autoHideTimeout),await Be(this.base);const{keyframes:t,options:e}=qe(this,"alert.hide",{dir:this.localize.dir()});await Te(this.base,t,e),this.base.hidden=!0,this.emit("sl-after-hide")}}handleDurationChange(){this.restartAutoHide()}async show(){if(!this.open)return this.open=!0,pt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,pt(this,"sl-after-hide")}async toast(){return new Promise(t=>{Wt.parentElement===null&&document.body.append(Wt),Wt.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sl-after-hide",()=>{Wt.removeChild(this),t(),Wt.querySelector("sl-alert")===null&&Wt.remove()},{once:!0})})}render(){return w`
4061
+ `,Rt=Object.assign(document.createElement("div"),{className:"sl-toast-stack"}),Ne=class extends j{constructor(){super(...arguments),this.hasSlotController=new at(this,"icon","suffix"),this.localize=new $e(this),this.open=!1,this.closable=!1,this.variant="primary",this.duration=1/0}firstUpdated(){this.base.hidden=!this.open}restartAutoHide(){clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}handleCloseClick(){this.hide()}handleMouseMove(){this.restartAutoHide()}async handleOpenChange(){if(this.open){this.emit("sl-show"),this.duration<1/0&&this.restartAutoHide(),await Me(this.base),this.base.hidden=!1;const{keyframes:t,options:e}=Se(this,"alert.show",{dir:this.localize.dir()});await De(this.base,t,e),this.emit("sl-after-show")}else{this.emit("sl-hide"),clearTimeout(this.autoHideTimeout),await Me(this.base);const{keyframes:t,options:e}=Se(this,"alert.hide",{dir:this.localize.dir()});await De(this.base,t,e),this.base.hidden=!0,this.emit("sl-after-hide")}}handleDurationChange(){this.restartAutoHide()}async show(){if(!this.open)return this.open=!0,dt(this,"sl-after-show")}async hide(){if(this.open)return this.open=!1,dt(this,"sl-after-hide")}async toast(){return new Promise(t=>{Rt.parentElement===null&&document.body.append(Rt),Rt.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sl-after-hide",()=>{Rt.removeChild(this),t(),Rt.querySelector("sl-alert")===null&&Rt.remove()},{once:!0})})}render(){return _`
4082
4062
  <div
4083
4063
  part="base"
4084
4064
  class=${W({alert:!0,"alert--open":this.open,"alert--closable":this.closable,"alert--has-icon":this.hasSlotController.test("icon"),"alert--primary":this.variant==="primary","alert--success":this.variant==="success","alert--neutral":this.variant==="neutral","alert--warning":this.variant==="warning","alert--danger":this.variant==="danger"})}
@@ -4094,7 +4074,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4094
4074
  <slot></slot>
4095
4075
  </div>
4096
4076
 
4097
- ${this.closable?w`
4077
+ ${this.closable?_`
4098
4078
  <sl-icon-button
4099
4079
  part="close-button"
4100
4080
  exportparts="base:close-button__base"
@@ -4106,20 +4086,20 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4106
4086
  ></sl-icon-button>
4107
4087
  `:""}
4108
4088
  </div>
4109
- `}};Ue.styles=Kf,Ue.dependencies={"sl-icon-button":ae},f([R('[part~="base"]')],Ue.prototype,"base",2),f([p({type:Boolean,reflect:!0})],Ue.prototype,"open",2),f([p({type:Boolean,reflect:!0})],Ue.prototype,"closable",2),f([p({reflect:!0})],Ue.prototype,"variant",2),f([p({type:Number})],Ue.prototype,"duration",2),f([P("open",{waitUntilFirstUpdate:!0})],Ue.prototype,"handleOpenChange",1),f([P("duration")],Ue.prototype,"handleDurationChange",1),De("alert.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),De("alert.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Ue.define("sl-alert");var Yf=Object.defineProperty,Jf=Object.getOwnPropertyDescriptor,Qf=(t,e,o,r)=>{for(var s=r>1?void 0:r?Jf(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Yf(e,o,s),s};class he extends Je{constructor(){super(...arguments),this.lang="en"}emit(e,o){const r=new CustomEvent(e,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...o});return this.dispatchEvent(r),r}}Qf([p({type:String})],he.prototype,"lang",2);const vr='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8L2.146 2.854Z"/></svg>';var Xf=Object.defineProperty,eu=Object.getOwnPropertyDescriptor,ii=(t,e,o,r)=>{for(var s=r>1?void 0:r?eu(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Xf(e,o,s),s};let yr=class extends he{constructor(){super(...arguments),this.title="ChatBot"}render(){return w` <header class="cb-header" part="header">
4089
+ `}};Ne.styles=yd,Ne.dependencies={"sl-icon-button":re},d([O('[part~="base"]')],Ne.prototype,"base",2),d([u({type:Boolean,reflect:!0})],Ne.prototype,"open",2),d([u({type:Boolean,reflect:!0})],Ne.prototype,"closable",2),d([u({reflect:!0})],Ne.prototype,"variant",2),d([u({type:Number})],Ne.prototype,"duration",2),d([P("open",{waitUntilFirstUpdate:!0})],Ne.prototype,"handleOpenChange",1),d([P("duration")],Ne.prototype,"handleDurationChange",1),Ee("alert.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),Ee("alert.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),Ne.define("sl-alert");var wd=Object.defineProperty,_d=Object.getOwnPropertyDescriptor,xd=(t,e,o,r)=>{for(var s=r>1?void 0:r?_d(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&wd(e,o,s),s};class pe extends Ye{constructor(){super(...arguments),this.lang="en"}emit(e,o){const r=new CustomEvent(e,{bubbles:!0,cancelable:!1,composed:!0,detail:{},...o});return this.dispatchEvent(r),r}}xd([u({type:String})],pe.prototype,"lang",2);const Wo='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z"/></svg>';var kd=Object.defineProperty,Cd=Object.getOwnPropertyDescriptor,rn=(t,e,o,r)=>{for(var s=r>1?void 0:r?Cd(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&kd(e,o,s),s};let Zo=class extends pe{constructor(){super(...arguments),this.title="ChatBot"}render(){return _` <header class="cb-header" part="header">
4110
4090
  <span class="left">
4111
4091
  <sl-button class="cb-setting-button" variant="text" circle>
4112
- <cb-icon class="cb-header-logo" svg="${I.setting.logoSvg}"></cb-icon>
4092
+ <cb-icon class="cb-header-logo" svg="${F.setting.logoSvg}"></cb-icon>
4113
4093
  </sl-button>
4114
4094
  </span>
4115
4095
  <span class="center title">${this.title}</span>
4116
4096
  <span class="right">
4117
4097
  <sl-button @click=${this._clickCloseHandler} class="cb-setting-button" variant="text" circle>
4118
- <cb-icon class="cb-header-close" svg="${vr}"></cb-icon>
4098
+ <cb-icon class="cb-header-close" svg="${Wo}"></cb-icon>
4119
4099
  </sl-button>
4120
4100
  </span>
4121
- </header>`}_clickHandler(){this.emit("setting:show")}_clickCloseHandler(){this.emit("chatbot:toggle",{detail:{open:!1}})}};yr.styles=nd,ii([p({type:String,attribute:"title"})],yr.prototype,"title",2),yr=ii([se("cb-header")],yr);const tu=T`
4122
- ${Ie}
4101
+ </header>`}_clickHandler(){this.emit("setting:show")}_clickCloseHandler(){this.emit("chatbot:toggle",{detail:{open:!1}})}};Zo.styles=Lc,rn([u({type:String,attribute:"title"})],Zo.prototype,"title",2),Zo=rn([oe("cb-header")],Zo);const Ad=L`
4102
+ ${Oe}
4123
4103
  .cb-footer {
4124
4104
  line-height: 60px;
4125
4105
  font-size: 16px;
@@ -4132,7 +4112,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4132
4112
  .link__item {
4133
4113
  color: var(--primary-color);
4134
4114
  }
4135
- `;var ou=Object.defineProperty,ru=Object.getOwnPropertyDescriptor,su=(t,e,o,r)=>{for(var s=r>1?void 0:r?ru(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&ou(e,o,s),s};let Ns=class extends he{constructor(){super(...arguments),this.year=new Date().getFullYear()}render(){return w`
4115
+ `;var $d=Object.defineProperty,Ed=Object.getOwnPropertyDescriptor,Sd=(t,e,o,r)=>{for(var s=r>1?void 0:r?Ed(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&$d(e,o,s),s};let ns=class extends pe{constructor(){super(...arguments),this.year=new Date().getFullYear()}render(){return _`
4136
4116
  <div class="cb-footer" part="footer">
4137
4117
  yugasun@${this.year}
4138
4118
  <a
@@ -4159,12 +4139,12 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4159
4139
  Vite
4160
4140
  </a>
4161
4141
  </div>
4162
- `}};Ns.styles=tu,Ns=su([se("cb-footer")],Ns);/**
4142
+ `}};ns.styles=Ad,ns=Sd([oe("cb-footer")],ns);/**
4163
4143
  * @license
4164
4144
  * Copyright 2017 Google LLC
4165
4145
  * SPDX-License-Identifier: BSD-3-Clause
4166
- */const ci=(t,e,o)=>{const r=new Map;for(let s=e;s<=o;s++)r.set(t[s],s);return r},_r=ir(class extends cr{constructor(t){if(super(t),t.type!==Qe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;o===void 0?o=e:e!==void 0&&(r=e);const s=[],a=[];let n=0;for(const i of t)s[n]=r?r(i,n):n,a[n]=o(i,n),n++;return{values:a,keys:s}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const s=Ld(t),{values:a,keys:n}=this.ht(e,o,r);if(!Array.isArray(s))return this.dt=n,a;const i=this.dt??(this.dt=[]),c=[];let l,d,u=0,b=s.length-1,h=0,g=a.length-1;for(;u<=b&&h<=g;)if(s[u]===null)u++;else if(s[b]===null)b--;else if(i[u]===n[h])c[h]=zt(s[u],a[h]),u++,h++;else if(i[b]===n[g])c[g]=zt(s[b],a[g]),b--,g--;else if(i[u]===n[g])c[g]=zt(s[u],a[g]),Co(t,c[g+1],s[u]),u++,g--;else if(i[b]===n[h])c[h]=zt(s[b],a[h]),Co(t,s[u],s[b]),b--,h++;else if(l===void 0&&(l=ci(n,h,g),d=ci(i,u,b)),l.has(i[u]))if(l.has(i[b])){const m=d.get(n[h]),_=m!==void 0?s[m]:null;if(_===null){const y=Co(t,s[u]);zt(y,a[h]),c[h]=y}else c[h]=zt(_,a[h]),Co(t,s[u],_),s[m]=null;h++}else $s(s[b]),b--;else $s(s[u]),u++;for(;h<=g;){const m=Co(t,c[g+1]);zt(m,a[h]),c[h++]=m}for(;u<=b;){const m=s[u++];m!==null&&$s(m)}return this.dt=n,Mn(t,c),xe}}),au=T`
4167
- ${Ie}
4146
+ */const sn=(t,e,o)=>{const r=new Map;for(let s=e;s<=o;s++)r.set(t[s],s);return r},Ko=to(class extends oo{constructor(t){if(super(t),t.type!==Re.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;o===void 0?o=e:e!==void 0&&(r=e);const s=[],a=[];let n=0;for(const i of t)s[n]=r?r(i,n):n,a[n]=o(i,n),n++;return{values:a,keys:s}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const s=nl(t),{values:a,keys:n}=this.ht(e,o,r);if(!Array.isArray(s))return this.dt=n,a;const i=this.dt??(this.dt=[]),c=[];let l,f,h=0,b=s.length-1,p=0,m=a.length-1;for(;h<=b&&p<=m;)if(s[h]===null)h++;else if(s[b]===null)b--;else if(i[h]===n[p])c[p]=_t(s[h],a[p]),h++,p++;else if(i[b]===n[m])c[m]=_t(s[b],a[m]),b--,m--;else if(i[h]===n[m])c[m]=_t(s[h],a[m]),io(t,c[m+1],s[h]),h++,m--;else if(i[b]===n[p])c[p]=_t(s[b],a[p]),io(t,s[h],s[b]),b--,p++;else if(l===void 0&&(l=sn(n,p,m),f=sn(i,h,b)),l.has(i[h]))if(l.has(i[b])){const g=f.get(n[p]),w=g!==void 0?s[g]:null;if(w===null){const y=io(t,s[h]);_t(y,a[p]),c[p]=y}else c[p]=_t(w,a[p]),io(t,s[h],w),s[g]=null;p++}else Gr(s[b]),b--;else Gr(s[h]),h++;for(;p<=m;){const g=io(t,c[m+1]);_t(g,a[p]),c[p++]=g}for(;h<=b;){const g=s[h++];g!==null&&Gr(g)}return this.dt=n,La(t,c),fe}}),Dd=L`
4147
+ ${Oe}
4168
4148
 
4169
4149
  :host {
4170
4150
  width: 100%;
@@ -4293,23 +4273,19 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4293
4273
  * @license
4294
4274
  * Copyright 2021 Google LLC
4295
4275
  * SPDX-License-Identifier: BSD-3-Clause
4296
- */function Kt(t,e,o){return t?e(t):o==null?void 0:o(t)}/**
4297
- * @license
4298
- * Copyright 2020 Google LLC
4299
- * SPDX-License-Identifier: BSD-3-Clause
4300
- */const nu=t=>t===null||typeof t!="object"&&typeof t!="function",iu=t=>t.strings===void 0;/**
4276
+ */function Ot(t,e,o){return t?e(t):o==null?void 0:o(t)}/**
4301
4277
  * @license
4302
4278
  * Copyright 2017 Google LLC
4303
4279
  * SPDX-License-Identifier: BSD-3-Clause
4304
- */const Po=(t,e)=>{var o,r;const s=t._$AN;if(s===void 0)return!1;for(const a of s)(r=(o=a)._$AO)===null||r===void 0||r.call(o,e,!1),Po(a,e);return!0},wr=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while((o==null?void 0:o.size)===0)},li=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),du(e)}};function cu(t){this._$AN!==void 0?(wr(this),this._$AM=t,li(this)):this._$AM=t}function lu(t,e=!1,o=0){const r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(e)if(Array.isArray(r))for(let a=o;a<r.length;a++)Po(r[a],!1),wr(r[a]);else r!=null&&(Po(r,!1),wr(r));else Po(this,t)}const du=t=>{var e,o,r,s;t.type==xn.CHILD&&((e=(r=t)._$AP)!==null&&e!==void 0||(r._$AP=lu),(o=(s=t)._$AQ)!==null&&o!==void 0||(s._$AQ=cu))};let fu=class extends Cn{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,r){super._$AT(e,o,r),li(this),this.isConnected=e._$AU}_$AO(e,o=!0){var r,s;e!==this.isConnected&&(this.isConnected=e,e?(r=this.reconnected)===null||r===void 0||r.call(this):(s=this.disconnected)===null||s===void 0||s.call(this)),o&&(Po(this,e),wr(this))}setValue(e){if(iu(this._$Ct))this._$Ct._$AI(e,this);else{const o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};/**
4280
+ */const wo=(t,e)=>{var r;const o=t._$AN;if(o===void 0)return!1;for(const s of o)(r=s._$AO)==null||r.call(s,e,!1),wo(s,e);return!0},Jo=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while((o==null?void 0:o.size)===0)},an=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),zd(e)}};function qd(t){this._$AN!==void 0?(Jo(this),this._$AM=t,an(this)):this._$AM=t}function Td(t,e=!1,o=0){const r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(e)if(Array.isArray(r))for(let a=o;a<r.length;a++)wo(r[a],!1),Jo(r[a]);else r!=null&&(wo(r,!1),Jo(r));else wo(this,t)}const zd=t=>{t.type==Re.CHILD&&(t._$AP??(t._$AP=Td),t._$AQ??(t._$AQ=qd))};class Ld extends oo{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,r){super._$AT(e,o,r),an(this),this.isConnected=e._$AU}_$AO(e,o=!0){var r,s;e!==this.isConnected&&(this.isConnected=e,e?(r=this.reconnected)==null||r.call(this):(s=this.disconnected)==null||s.call(this)),o&&(wo(this,e),Jo(this))}setValue(e){if(Ta(this._$Ct))this._$Ct._$AI(e,this);else{const o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}}/**
4305
4281
  * @license
4306
4282
  * Copyright 2021 Google LLC
4307
4283
  * SPDX-License-Identifier: BSD-3-Clause
4308
- */class uu{constructor(e){this.G=e}disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}}let hu=class{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){var e;(e=this.Y)!==null&&e!==void 0||(this.Y=new Promise(o=>this.Z=o))}resume(){var e;(e=this.Z)===null||e===void 0||e.call(this),this.Y=this.Z=void 0}};/**
4284
+ */class Rd{constructor(e){this.G=e}disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}}let Od=class{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??(this.Y=new Promise(e=>this.Z=e))}resume(){var e;(e=this.Z)==null||e.call(this),this.Y=this.Z=void 0}};/**
4309
4285
  * @license
4310
4286
  * Copyright 2017 Google LLC
4311
4287
  * SPDX-License-Identifier: BSD-3-Clause
4312
- */const di=t=>!nu(t)&&typeof t.then=="function",fi=1073741823;class pu extends fu{constructor(){super(...arguments),this._$C_t=fi,this._$Cwt=[],this._$Cq=new uu(this),this._$CK=new hu}render(...e){var o;return(o=e.find(r=>!di(r)))!==null&&o!==void 0?o:it}update(e,o){const r=this._$Cwt;let s=r.length;this._$Cwt=o;const a=this._$Cq,n=this._$CK;this.isConnected||this.disconnected();for(let i=0;i<o.length&&!(i>this._$C_t);i++){const c=o[i];if(!di(c))return this._$C_t=i,c;i<s&&c===r[i]||(this._$C_t=fi,s=0,Promise.resolve(c).then(async l=>{for(;n.get();)await n.get();const d=a.deref();if(d!==void 0){const u=d._$Cwt.indexOf(c);u>-1&&u<d._$C_t&&(d._$C_t=u,d.setValue(l))}}))}return it}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const ui=kn(pu);var bu=Object.defineProperty,gu=Object.getOwnPropertyDescriptor,mu=(t,e,o,r)=>{for(var s=r>1?void 0:r?gu(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&bu(e,o,s),s};let Vs=class extends Je{render(){return w` <div class="cb-thinking" style="color: rgb(34, 34, 34);"><span></span><span></span><span></span></div>`}};Vs.styles=T`
4288
+ */const nn=t=>!rl(t)&&typeof t.then=="function",cn=1073741823;class Fd extends Ld{constructor(){super(...arguments),this._$C_t=cn,this._$Cwt=[],this._$Cq=new Rd(this),this._$CK=new Od}render(...e){return e.find(o=>!nn(o))??fe}update(e,o){const r=this._$Cwt;let s=r.length;this._$Cwt=o;const a=this._$Cq,n=this._$CK;this.isConnected||this.disconnected();for(let i=0;i<o.length&&!(i>this._$C_t);i++){const c=o[i];if(!nn(c))return this._$C_t=i,c;i<s&&c===r[i]||(this._$C_t=cn,s=0,Promise.resolve(c).then(async l=>{for(;n.get();)await n.get();const f=a.deref();if(f!==void 0){const h=f._$Cwt.indexOf(c);h>-1&&h<f._$C_t&&(f._$C_t=h,f.setValue(l))}}))}return fe}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const ln=to(Fd);var Pd=Object.defineProperty,Id=Object.getOwnPropertyDescriptor,Md=(t,e,o,r)=>{for(var s=r>1?void 0:r?Id(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Pd(e,o,s),s};let is=class extends Ye{render(){return _` <div class="cb-thinking" style="color: rgb(34, 34, 34);"><span></span><span></span><span></span></div>`}};is.styles=L`
4313
4289
  .cb-thinking {
4314
4290
  text-align: center;
4315
4291
  }
@@ -4346,15 +4322,15 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4346
4322
  opacity: 1;
4347
4323
  }
4348
4324
  }
4349
- `,Vs=mu([se("cb-thinking")],Vs);var vu=Object.defineProperty,yu=Object.getOwnPropertyDescriptor,hi=(t,e,o,r)=>{for(var s=r>1?void 0:r?yu(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&vu(e,o,s),s};let xr=class extends he{constructor(){super(...arguments),this.files=[]}render(){return w` <div class="cb-uploading">
4325
+ `,is=Md([oe("cb-thinking")],is);var Bd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,dn=(t,e,o,r)=>{for(var s=r>1?void 0:r?Vd(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Bd(e,o,s),s};let Yo=class extends pe{constructor(){super(...arguments),this.files=[]}render(){return _` <div class="cb-uploading">
4350
4326
  <div class="cb-uploading__title">
4351
4327
  <sl-spinner class="cb-spinner"></sl-spinner>
4352
4328
  <span>Uploading...</span>
4353
4329
  </div>
4354
4330
  <div class="cb-uploading__filelist">
4355
- ${this.files.map(t=>w`${t.name}<br />`)}
4331
+ ${this.files.map(t=>_`${t.name}<br />`)}
4356
4332
  </div>
4357
- </div>`}};xr.styles=T`
4333
+ </div>`}};Yo.styles=L`
4358
4334
  .cb-uploading {
4359
4335
  text-align: left;
4360
4336
  }
@@ -4371,8 +4347,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4371
4347
  --track-color: white;
4372
4348
  margin-right: 5px;
4373
4349
  }
4374
- `,hi([p({type:Array})],xr.prototype,"files",2),xr=hi([se("cb-uploading")],xr);const _u=T`
4375
- ${Ie}
4350
+ `,dn([u({type:Array})],Yo.prototype,"files",2),Yo=dn([oe("cb-uploading")],Yo);const Ud=L`
4351
+ ${Oe}
4376
4352
  :host {
4377
4353
  }
4378
4354
 
@@ -4391,7 +4367,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4391
4367
  font-size: 2em;
4392
4368
  margin-right: 0.2em;
4393
4369
  }
4394
- `;var wu=Object.defineProperty,xu=Object.getOwnPropertyDescriptor,Hs=(t,e,o,r)=>{for(var s=r>1?void 0:r?xu(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&wu(e,o,s),s};let Mo=class extends Je{constructor(){super(...arguments),this.url="",this.inverse=!1}render(){return w`
4370
+ `;var Nd=Object.defineProperty,jd=Object.getOwnPropertyDescriptor,cs=(t,e,o,r)=>{for(var s=r>1?void 0:r?jd(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Nd(e,o,s),s};let _o=class extends Ye{constructor(){super(...arguments),this.url="",this.inverse=!1}render(){return _`
4395
4371
  <a
4396
4372
  class="
4397
4373
  cb-external-link link__item
@@ -4403,7 +4379,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4403
4379
  >
4404
4380
  <slot></slot>
4405
4381
  </a>
4406
- `}};Mo.styles=T`
4382
+ `}};_o.styles=L`
4407
4383
  :host {
4408
4384
  --primary-color: var(--sl-color-primary-600);
4409
4385
  }
@@ -4427,19 +4403,19 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
4427
4403
  .cb-external-link:hover {
4428
4404
  text-decoration: underline;
4429
4405
  }
4430
- `,Hs([p({type:String})],Mo.prototype,"url",2),Hs([p({type:Boolean})],Mo.prototype,"inverse",2),Mo=Hs([se("cb-external-link")],Mo);const ku='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-2v-1h2a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.928 15.849v-3.337h1.136v-.662H0v.662h1.134v3.337h.794Zm4.689-3.999h-.894L4.9 13.289h-.035l-.832-1.439h-.932l1.228 1.983l-1.24 2.016h.862l.853-1.415h.035l.85 1.415h.907l-1.253-1.992l1.274-2.007Zm1.93.662v3.337h-.794v-3.337H6.619v-.662h3.064v.662H8.546Z"/></svg>',Cu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.14 1.14 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z"/></svg>',Au='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2H9v-1h3a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM.706 13.189v2.66H0V11.85h.806l1.14 2.596h.026l1.14-2.596h.8v3.999h-.716v-2.66h-.038l-.946 2.159h-.516l-.952-2.16H.706Zm3.919 2.66V11.85h1.459c.406 0 .741.078 1.005.234c.263.157.46.383.589.68c.13.297.196.655.196 1.075c0 .422-.066.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-1 .237H4.626Zm1.353-3.354h-.562v2.707h.562c.186 0 .347-.028.484-.082a.8.8 0 0 0 .334-.252a1.14 1.14 0 0 0 .196-.422c.045-.168.067-.365.067-.592a2.1 2.1 0 0 0-.117-.753a.89.89 0 0 0-.354-.454c-.159-.102-.362-.152-.61-.152Z"/></svg>',$u='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM3.517 14.841a1.13 1.13 0 0 0 .401.823c.13.108.289.192.478.252c.19.061.411.091.665.091c.338 0 .624-.053.859-.158c.236-.105.416-.252.539-.44c.125-.189.187-.408.187-.656c0-.224-.045-.41-.134-.56a1.001 1.001 0 0 0-.375-.357a2.027 2.027 0 0 0-.566-.21l-.621-.144a.97.97 0 0 1-.404-.176a.37.37 0 0 1-.144-.299c0-.156.062-.284.185-.384c.125-.101.296-.152.512-.152c.143 0 .266.023.37.068a.624.624 0 0 1 .246.181a.56.56 0 0 1 .12.258h.75a1.092 1.092 0 0 0-.2-.566a1.21 1.21 0 0 0-.5-.41a1.813 1.813 0 0 0-.78-.152c-.293 0-.551.05-.776.15c-.225.099-.4.24-.527.421c-.127.182-.19.395-.19.639c0 .201.04.376.122.524c.082.149.2.27.352.367c.152.095.332.167.539.213l.618.144c.207.049.361.113.463.193a.387.387 0 0 1 .152.326a.505.505 0 0 1-.085.29a.559.559 0 0 1-.255.193c-.111.047-.249.07-.413.07c-.117 0-.223-.013-.32-.04a.838.838 0 0 1-.248-.115a.578.578 0 0 1-.255-.384h-.765ZM.806 13.693c0-.248.034-.46.102-.633a.868.868 0 0 1 .302-.399a.814.814 0 0 1 .475-.137c.15 0 .283.032.398.097a.7.7 0 0 1 .272.26a.85.85 0 0 1 .12.381h.765v-.072a1.33 1.33 0 0 0-.466-.964a1.441 1.441 0 0 0-.489-.272a1.838 1.838 0 0 0-.606-.097c-.356 0-.66.074-.911.223c-.25.148-.44.359-.572.632c-.13.274-.196.6-.196.979v.498c0 .379.064.704.193.976c.131.271.322.48.572.626c.25.145.554.217.914.217c.293 0 .554-.055.785-.164c.23-.11.414-.26.55-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.764a.799.799 0 0 1-.118.363a.7.7 0 0 1-.272.25a.874.874 0 0 1-.401.087a.845.845 0 0 1-.478-.132a.833.833 0 0 1-.299-.392a1.699 1.699 0 0 1-.102-.627v-.495Zm8.239 2.238h-.953l-1.338-3.999h.917l.896 3.138h.038l.888-3.138h.879l-1.327 4Z"/></svg>',Eu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5ZM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.817-1.333h-1.6v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474c.108-.201.161-.427.161-.677c0-.25-.052-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.793.793 0 0 1-.375.082H4.15V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.767-.67v3.336H7.48v-3.337H6.346v-.662h3.065v.662H8.274Z"/></svg>',Su='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5Zm-7.839 9.166v.522c0 .256-.039.47-.117.641a.861.861 0 0 1-.322.387a.877.877 0 0 1-.469.126a.883.883 0 0 1-.471-.126a.868.868 0 0 1-.32-.386a1.55 1.55 0 0 1-.117-.642v-.522c0-.257.04-.471.117-.641a.868.868 0 0 1 .32-.387a.868.868 0 0 1 .471-.129c.176 0 .332.043.469.13a.861.861 0 0 1 .322.386c.078.17.117.384.117.641Zm.803.519v-.513c0-.377-.068-.7-.205-.972a1.46 1.46 0 0 0-.589-.63c-.254-.147-.56-.22-.917-.22c-.355 0-.662.073-.92.22a1.441 1.441 0 0 0-.589.627c-.136.271-.205.596-.205.975v.513c0 .375.069.7.205.973c.137.271.333.48.59.627c.257.144.564.216.92.216c.357 0 .662-.072.916-.216c.256-.147.452-.356.59-.627c.136-.274.204-.598.204-.973ZM0 11.926v4h1.459c.402 0 .735-.08.999-.238a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.59-.68c-.263-.156-.598-.234-1.004-.234H0Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.141 1.141 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082H.79V12.57Zm7.422.483a1.732 1.732 0 0 0-.103.633v.495c0 .246.034.455.103.627a.834.834 0 0 0 .298.393a.845.845 0 0 0 .478.131a.868.868 0 0 0 .401-.088a.699.699 0 0 0 .273-.248a.8.8 0 0 0 .117-.364h.765v.076a1.268 1.268 0 0 1-.226.674c-.137.194-.32.345-.55.454a1.81 1.81 0 0 1-.786.164c-.36 0-.664-.072-.914-.216a1.424 1.424 0 0 1-.571-.627c-.13-.272-.194-.597-.194-.976v-.498c0-.379.066-.705.197-.978c.13-.274.321-.485.571-.633c.252-.149.556-.223.911-.223c.219 0 .421.032.607.097c.187.062.35.153.489.272a1.326 1.326 0 0 1 .466.964v.073H9.78a.85.85 0 0 0-.12-.38a.7.7 0 0 0-.273-.261a.802.802 0 0 0-.398-.097a.814.814 0 0 0-.475.138a.868.868 0 0 0-.301.398Z"/></svg>',Du='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5L14 4.5Zm-6.839 9.688v-.522a1.54 1.54 0 0 0-.117-.641a.861.861 0 0 0-.322-.387a.862.862 0 0 0-.469-.129a.868.868 0 0 0-.471.13a.868.868 0 0 0-.32.386a1.54 1.54 0 0 0-.117.641v.522c0 .256.04.47.117.641a.868.868 0 0 0 .32.387a.883.883 0 0 0 .471.126a.877.877 0 0 0 .469-.126a.861.861 0 0 0 .322-.386a1.55 1.55 0 0 0 .117-.642Zm.803-.516v.513c0 .375-.068.7-.205.973a1.47 1.47 0 0 1-.589.627c-.254.144-.56.216-.917.216a1.86 1.86 0 0 1-.92-.216a1.463 1.463 0 0 1-.589-.627a2.151 2.151 0 0 1-.205-.973v-.513c0-.379.069-.704.205-.975c.137-.274.333-.483.59-.627c.257-.147.564-.22.92-.22c.357 0 .662.073.916.22c.256.146.452.356.59.63c.136.271.204.595.204.972ZM1 15.925v-3.999h1.459c.406 0 .741.078 1.005.235c.264.156.46.382.589.68c.13.296.196.655.196 1.074c0 .422-.065.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-.999.237H1Zm1.354-3.354H1.79v2.707h.563c.185 0 .346-.028.483-.082a.8.8 0 0 0 .334-.252c.088-.114.153-.254.196-.422a2.3 2.3 0 0 0 .068-.592c0-.3-.04-.552-.118-.753a.89.89 0 0 0-.354-.454c-.158-.102-.361-.152-.61-.152Zm6.756 1.116c0-.248.034-.46.103-.633a.868.868 0 0 1 .301-.398a.814.814 0 0 1 .475-.138c.15 0 .283.032.398.097a.7.7 0 0 1 .273.26a.85.85 0 0 1 .12.381h.765v-.073a1.33 1.33 0 0 0-.466-.964a1.44 1.44 0 0 0-.49-.272a1.836 1.836 0 0 0-.606-.097c-.355 0-.66.074-.911.223c-.25.148-.44.359-.571.633c-.131.273-.197.6-.197.978v.498c0 .379.065.704.194.976c.13.271.321.48.571.627c.25.144.555.216.914.216c.293 0 .555-.054.785-.164c.23-.11.414-.26.551-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.765a.8.8 0 0 1-.117.364a.699.699 0 0 1-.273.248a.874.874 0 0 1-.401.088a.845.845 0 0 1-.478-.131a.834.834 0 0 1-.298-.393a1.7 1.7 0 0 1-.103-.627v-.495Zm5.092-1.76h.894l-1.275 2.006l1.254 1.992h-.908l-.85-1.415h-.035l-.852 1.415h-.862l1.24-2.015l-1.228-1.984h.932l.832 1.439h.035l.823-1.439Z"/></svg>';var qu=Object.defineProperty,Tu=Object.getOwnPropertyDescriptor,Us=(t,e,o,r)=>{for(var s=r>1?void 0:r?Tu(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&qu(e,o,s),s};const pi={pdf:Cu,txt:ku,md:Au,csv:$u,ppd:Eu,doc:Su,docx:Du};let Oo=class extends he{constructor(){super(...arguments),this.filename="",this.url=""}get type(){const t="txt";if(!this.filename)return t;const e=this.filename.split(".").pop();return e?e.toLowerCase():t}render(){return w`
4406
+ `,cs([u({type:String})],_o.prototype,"url",2),cs([u({type:Boolean})],_o.prototype,"inverse",2),_o=cs([oe("cb-external-link")],_o);const Hd='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-2v-1h2a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.928 15.849v-3.337h1.136v-.662H0v.662h1.134v3.337zm4.689-3.999h-.894L4.9 13.289h-.035l-.832-1.439h-.932l1.228 1.983l-1.24 2.016h.862l.853-1.415h.035l.85 1.415h.907l-1.253-1.992zm1.93.662v3.337h-.794v-3.337H6.619v-.662h3.064v.662H8.546Z"/></svg>',Gd='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm1.217-1.333v3.999h1.46c.401 0 .734-.08.998-.237a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.589-.68c-.264-.156-.599-.234-1.005-.234H3.362Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.14 1.14 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082h-.563v-2.707Zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638H7.896Z"/></svg>',Wd='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2H9v-1h3a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM.706 13.189v2.66H0V11.85h.806l1.14 2.596h.026l1.14-2.596h.8v3.999h-.716v-2.66h-.038l-.946 2.159h-.516l-.952-2.16H.706Zm3.919 2.66V11.85h1.459c.406 0 .741.078 1.005.234c.263.157.46.383.589.68c.13.297.196.655.196 1.075c0 .422-.066.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-1 .237H4.626Zm1.353-3.354h-.562v2.707h.562c.186 0 .347-.028.484-.082a.8.8 0 0 0 .334-.252a1.14 1.14 0 0 0 .196-.422c.045-.168.067-.365.067-.592a2.1 2.1 0 0 0-.117-.753a.89.89 0 0 0-.354-.454c-.159-.102-.362-.152-.61-.152Z"/></svg>',Zd='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM3.517 14.841a1.13 1.13 0 0 0 .401.823c.13.108.289.192.478.252c.19.061.411.091.665.091c.338 0 .624-.053.859-.158c.236-.105.416-.252.539-.44c.125-.189.187-.408.187-.656c0-.224-.045-.41-.134-.56a1.001 1.001 0 0 0-.375-.357a2.027 2.027 0 0 0-.566-.21l-.621-.144a.97.97 0 0 1-.404-.176a.37.37 0 0 1-.144-.299c0-.156.062-.284.185-.384c.125-.101.296-.152.512-.152c.143 0 .266.023.37.068a.624.624 0 0 1 .246.181a.56.56 0 0 1 .12.258h.75a1.092 1.092 0 0 0-.2-.566a1.21 1.21 0 0 0-.5-.41a1.813 1.813 0 0 0-.78-.152c-.293 0-.551.05-.776.15c-.225.099-.4.24-.527.421c-.127.182-.19.395-.19.639c0 .201.04.376.122.524c.082.149.2.27.352.367c.152.095.332.167.539.213l.618.144c.207.049.361.113.463.193a.387.387 0 0 1 .152.326a.505.505 0 0 1-.085.29a.559.559 0 0 1-.255.193c-.111.047-.249.07-.413.07c-.117 0-.223-.013-.32-.04a.838.838 0 0 1-.248-.115a.578.578 0 0 1-.255-.384h-.765ZM.806 13.693c0-.248.034-.46.102-.633a.868.868 0 0 1 .302-.399a.814.814 0 0 1 .475-.137c.15 0 .283.032.398.097a.7.7 0 0 1 .272.26a.85.85 0 0 1 .12.381h.765v-.072a1.33 1.33 0 0 0-.466-.964a1.441 1.441 0 0 0-.489-.272a1.838 1.838 0 0 0-.606-.097c-.356 0-.66.074-.911.223c-.25.148-.44.359-.572.632c-.13.274-.196.6-.196.979v.498c0 .379.064.704.193.976c.131.271.322.48.572.626c.25.145.554.217.914.217c.293 0 .554-.055.785-.164c.23-.11.414-.26.55-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.764a.799.799 0 0 1-.118.363a.7.7 0 0 1-.272.25a.874.874 0 0 1-.401.087a.845.845 0 0 1-.478-.132a.833.833 0 0 1-.299-.392a1.699 1.699 0 0 1-.102-.627v-.495Zm8.239 2.238h-.953l-1.338-3.999h.917l.896 3.138h.038l.888-3.138h.879l-1.327 4Z"/></svg>',Kd='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474a1.42 1.42 0 0 0 .161-.677c0-.25-.053-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.794.794 0 0 1-.375.082H.788V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.817-1.333h-1.6v3.999h.791v-1.342h.803c.287 0 .531-.057.732-.173c.203-.117.358-.275.463-.474c.108-.201.161-.427.161-.677c0-.25-.052-.476-.158-.677a1.176 1.176 0 0 0-.46-.477c-.2-.12-.443-.179-.732-.179Zm.545 1.333a.795.795 0 0 1-.085.38a.574.574 0 0 1-.238.241a.793.793 0 0 1-.375.082H4.15V12.48h.66c.218 0 .389.06.512.181c.123.122.185.296.185.522Zm2.767-.67v3.336H7.48v-3.337H6.346v-.662h3.065v.662H8.274Z"/></svg>',Jd='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V14a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-7.839 9.166v.522c0 .256-.039.47-.117.641a.861.861 0 0 1-.322.387a.877.877 0 0 1-.469.126a.883.883 0 0 1-.471-.126a.868.868 0 0 1-.32-.386a1.55 1.55 0 0 1-.117-.642v-.522c0-.257.04-.471.117-.641a.868.868 0 0 1 .32-.387a.868.868 0 0 1 .471-.129c.176 0 .332.043.469.13a.861.861 0 0 1 .322.386c.078.17.117.384.117.641Zm.803.519v-.513c0-.377-.068-.7-.205-.972a1.46 1.46 0 0 0-.589-.63c-.254-.147-.56-.22-.917-.22c-.355 0-.662.073-.92.22a1.441 1.441 0 0 0-.589.627c-.136.271-.205.596-.205.975v.513c0 .375.069.7.205.973c.137.271.333.48.59.627c.257.144.564.216.92.216c.357 0 .662-.072.916-.216c.256-.147.452-.356.59-.627c.136-.274.204-.598.204-.973ZM0 11.926v4h1.459c.402 0 .735-.08.999-.238a1.45 1.45 0 0 0 .595-.689c.13-.3.196-.662.196-1.084c0-.42-.065-.778-.196-1.075a1.426 1.426 0 0 0-.59-.68c-.263-.156-.598-.234-1.004-.234H0Zm.791.645h.563c.248 0 .45.05.609.152a.89.89 0 0 1 .354.454c.079.201.118.452.118.753a2.3 2.3 0 0 1-.068.592a1.141 1.141 0 0 1-.196.422a.8.8 0 0 1-.334.252a1.298 1.298 0 0 1-.483.082H.79V12.57Zm7.422.483a1.732 1.732 0 0 0-.103.633v.495c0 .246.034.455.103.627a.834.834 0 0 0 .298.393a.845.845 0 0 0 .478.131a.868.868 0 0 0 .401-.088a.699.699 0 0 0 .273-.248a.8.8 0 0 0 .117-.364h.765v.076a1.268 1.268 0 0 1-.226.674c-.137.194-.32.345-.55.454a1.81 1.81 0 0 1-.786.164c-.36 0-.664-.072-.914-.216a1.424 1.424 0 0 1-.571-.627c-.13-.272-.194-.597-.194-.976v-.498c0-.379.066-.705.197-.978c.13-.274.321-.485.571-.633c.252-.149.556-.223.911-.223c.219 0 .421.032.607.097c.187.062.35.153.489.272a1.326 1.326 0 0 1 .466.964v.073H9.78a.85.85 0 0 0-.12-.38a.7.7 0 0 0-.273-.261a.802.802 0 0 0-.398-.097a.814.814 0 0 0-.475.138a.868.868 0 0 0-.301.398Z"/></svg>',Yd='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" fill-rule="evenodd" d="M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-6.839 9.688v-.522a1.54 1.54 0 0 0-.117-.641a.861.861 0 0 0-.322-.387a.862.862 0 0 0-.469-.129a.868.868 0 0 0-.471.13a.868.868 0 0 0-.32.386a1.54 1.54 0 0 0-.117.641v.522c0 .256.04.47.117.641a.868.868 0 0 0 .32.387a.883.883 0 0 0 .471.126a.877.877 0 0 0 .469-.126a.861.861 0 0 0 .322-.386a1.55 1.55 0 0 0 .117-.642Zm.803-.516v.513c0 .375-.068.7-.205.973a1.47 1.47 0 0 1-.589.627c-.254.144-.56.216-.917.216a1.86 1.86 0 0 1-.92-.216a1.463 1.463 0 0 1-.589-.627a2.151 2.151 0 0 1-.205-.973v-.513c0-.379.069-.704.205-.975c.137-.274.333-.483.59-.627c.257-.147.564-.22.92-.22c.357 0 .662.073.916.22c.256.146.452.356.59.63c.136.271.204.595.204.972M1 15.925v-3.999h1.459c.406 0 .741.078 1.005.235c.264.156.46.382.589.68c.13.296.196.655.196 1.074c0 .422-.065.784-.196 1.084c-.131.301-.33.53-.595.689c-.264.158-.597.237-.999.237H1Zm1.354-3.354H1.79v2.707h.563c.185 0 .346-.028.483-.082a.8.8 0 0 0 .334-.252c.088-.114.153-.254.196-.422a2.3 2.3 0 0 0 .068-.592c0-.3-.04-.552-.118-.753a.89.89 0 0 0-.354-.454c-.158-.102-.361-.152-.61-.152Zm6.756 1.116c0-.248.034-.46.103-.633a.868.868 0 0 1 .301-.398a.814.814 0 0 1 .475-.138c.15 0 .283.032.398.097a.7.7 0 0 1 .273.26a.85.85 0 0 1 .12.381h.765v-.073a1.33 1.33 0 0 0-.466-.964a1.44 1.44 0 0 0-.49-.272a1.836 1.836 0 0 0-.606-.097c-.355 0-.66.074-.911.223c-.25.148-.44.359-.571.633c-.131.273-.197.6-.197.978v.498c0 .379.065.704.194.976c.13.271.321.48.571.627c.25.144.555.216.914.216c.293 0 .555-.054.785-.164c.23-.11.414-.26.551-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.765a.8.8 0 0 1-.117.364a.699.699 0 0 1-.273.248a.874.874 0 0 1-.401.088a.845.845 0 0 1-.478-.131a.834.834 0 0 1-.298-.393a1.7 1.7 0 0 1-.103-.627v-.495Zm5.092-1.76h.894l-1.275 2.006l1.254 1.992h-.908l-.85-1.415h-.035l-.852 1.415h-.862l1.24-2.015l-1.228-1.984h.932l.832 1.439h.035l.823-1.439Z"/></svg>';var Qd=Object.defineProperty,Xd=Object.getOwnPropertyDescriptor,ls=(t,e,o,r)=>{for(var s=r>1?void 0:r?Xd(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Qd(e,o,s),s};const fn={pdf:Gd,txt:Hd,md:Wd,csv:Zd,ppd:Kd,doc:Jd,docx:Yd};let xo=class extends pe{constructor(){super(...arguments),this.filename="",this.url=""}get type(){const t="txt";if(!this.filename)return t;const e=this.filename.split(".").pop();return e?e.toLowerCase():t}render(){return _`
4431
4407
  <cb-external-link url="${this.url}" inverse>
4432
4408
  <div class="cb-file">
4433
4409
  ${this.renderFileIcon()}
4434
4410
  <span class="cb-file-name">${this.filename}</span>
4435
4411
  </div>
4436
4412
  </cb-external-link>
4437
- `}renderFileIcon(){return w`
4413
+ `}renderFileIcon(){return _`
4438
4414
  <cb-icon
4439
4415
  class="cb-file-icon"
4440
- svg="${pi[this.type]||pi.txt}"
4416
+ svg="${fn[this.type]||fn.txt}"
4441
4417
  ></cb-icon>
4442
- `}};Oo.styles=_u,Us([p({type:String})],Oo.prototype,"filename",2),Us([p({type:String})],Oo.prototype,"url",2),Oo=Us([se("cb-file")],Oo);const zu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5Zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6Z"/><path d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1ZM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118ZM2.5 3h11V2h-11v1Z"/></g></svg>',Lu='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M8 8a3 3 0 1 0 0-6a3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0a2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1s1-4 6-4s6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664h10Z"/></svg>',Ru=T`
4418
+ `}};xo.styles=Ud,ls([u({type:String})],xo.prototype,"filename",2),ls([u({type:String})],xo.prototype,"url",2),xo=ls([oe("cb-file")],xo);const ef='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z"/><path d="M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4L4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z"/></g></svg>',tf='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M8 8a3 3 0 1 0 0-6a3 3 0 0 0 0 6m2-3a2 2 0 1 1-4 0a2 2 0 0 1 4 0m4 8c0 1-1 1-1 1H3s-1 0-1-1s1-4 6-4s6 3 6 4m-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664z"/></svg>',of=L`
4443
4419
  pre code.hljs {
4444
4420
  display: block;
4445
4421
  overflow-x: auto;
@@ -5604,9 +5580,9 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5604
5580
  pre {
5605
5581
  background-color: #282c34;
5606
5582
  }
5607
- `,Iu=T`
5608
- ${Ie}
5609
- ${Ru}
5583
+ `,rf=L`
5584
+ ${Oe}
5585
+ ${of}
5610
5586
 
5611
5587
  .cb-message-row {
5612
5588
  width: 100%;
@@ -5762,33 +5738,33 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5762
5738
  cb-icon::part(base) {
5763
5739
  font-size: 1em;
5764
5740
  }
5765
- `;var H={},bi={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
5766
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},js=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Yt={},gi={};function Pu(t){var e,o,r=gi[t];if(r)return r;for(r=gi[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),/^[0-9a-z]$/i.test(o)?r.push(o):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function kr(t,e,o){var r,s,a,n,i,c="";for(typeof e!="string"&&(o=e,e=kr.defaultChars),typeof o>"u"&&(o=!0),i=Pu(e),r=0,s=t.length;r<s;r++){if(a=t.charCodeAt(r),o&&a===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){c+=t.slice(r,r+3),r+=2;continue}if(a<128){c+=i[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1<s&&(n=t.charCodeAt(r+1),n>=56320&&n<=57343)){c+=encodeURIComponent(t[r]+t[r+1]),r++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(t[r])}return c}kr.defaultChars=";/?:@&=+$,-_.!~*'()#",kr.componentChars="-_.!~*'()";var Mu=kr,mi={};function Ou(t){var e,o,r=mi[t];if(r)return r;for(r=mi[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),r.push(o);for(e=0;e<t.length;e++)o=t.charCodeAt(e),r[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return r}function Cr(t,e){var o;return typeof e!="string"&&(e=Cr.defaultChars),o=Ou(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,a,n,i,c,l,d,u="";for(s=0,a=r.length;s<a;s+=3){if(n=parseInt(r.slice(s+1,s+3),16),n<128){u+=o[n];continue}if((n&224)===192&&s+3<a&&(i=parseInt(r.slice(s+4,s+6),16),(i&192)===128)){d=n<<6&1984|i&63,d<128?u+="��":u+=String.fromCharCode(d),s+=3;continue}if((n&240)===224&&s+6<a&&(i=parseInt(r.slice(s+4,s+6),16),c=parseInt(r.slice(s+7,s+9),16),(i&192)===128&&(c&192)===128)){d=n<<12&61440|i<<6&4032|c&63,d<2048||d>=55296&&d<=57343?u+="���":u+=String.fromCharCode(d),s+=6;continue}if((n&248)===240&&s+9<a&&(i=parseInt(r.slice(s+4,s+6),16),c=parseInt(r.slice(s+7,s+9),16),l=parseInt(r.slice(s+10,s+12),16),(i&192)===128&&(c&192)===128&&(l&192)===128)){d=n<<18&1835008|i<<12&258048|c<<6&4032|l&63,d<65536||d>1114111?u+="����":(d-=65536,u+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),s+=9;continue}u+="�"}return u})}Cr.defaultChars=";/?:@&=+$,#",Cr.componentChars="";var Fu=Cr,Bu=function(e){var o="";return o+=e.protocol||"",o+=e.slashes?"//":"",o+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?o+="["+e.hostname+"]":o+=e.hostname||"",o+=e.port?":"+e.port:"",o+=e.pathname||"",o+=e.search||"",o+=e.hash||"",o};function Ar(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Nu=/^([a-z0-9.+-]+:)/i,Vu=/:[0-9]*$/,Hu=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Uu=["<",">",'"',"`"," ","\r",`
5767
- `," "],ju=["{","}","|","\\","^","`"].concat(Uu),Gu=["'"].concat(ju),vi=["%","/","?",";","#"].concat(Gu),yi=["/","?","#"],Zu=255,_i=/^[+a-z0-9A-Z_-]{0,63}$/,Wu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,wi={javascript:!0,"javascript:":!0},xi={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ku(t,e){if(t&&t instanceof Ar)return t;var o=new Ar;return o.parse(t,e),o}Ar.prototype.parse=function(t,e){var o,r,s,a,n,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var c=Hu.exec(i);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var l=Nu.exec(i);if(l&&(l=l[0],s=l.toLowerCase(),this.protocol=l,i=i.substr(l.length)),(e||l||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=i.substr(0,2)==="//",n&&!(l&&wi[l])&&(i=i.substr(2),this.slashes=!0)),!wi[l]&&(n||l&&!xi[l])){var d=-1;for(o=0;o<yi.length;o++)a=i.indexOf(yi[o]),a!==-1&&(d===-1||a<d)&&(d=a);var u,b;for(d===-1?b=i.lastIndexOf("@"):b=i.lastIndexOf("@",d),b!==-1&&(u=i.slice(0,b),i=i.slice(b+1),this.auth=u),d=-1,o=0;o<vi.length;o++)a=i.indexOf(vi[o]),a!==-1&&(d===-1||a<d)&&(d=a);d===-1&&(d=i.length),i[d-1]===":"&&d--;var h=i.slice(0,d);i=i.slice(d),this.parseHost(h),this.hostname=this.hostname||"";var g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){var m=this.hostname.split(/\./);for(o=0,r=m.length;o<r;o++){var _=m[o];if(_&&!_.match(_i)){for(var y="",v=0,C=_.length;v<C;v++)_.charCodeAt(v)>127?y+="x":y+=_[v];if(!y.match(_i)){var A=m.slice(0,o),$=m.slice(o+1),x=_.match(Wu);x&&(A.push(x[1]),$.unshift(x[2])),$.length&&(i=$.join(".")+i),this.hostname=A.join(".");break}}}}this.hostname.length>Zu&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var q=i.indexOf("#");q!==-1&&(this.hash=i.substr(q),i=i.slice(0,q));var O=i.indexOf("?");return O!==-1&&(this.search=i.substr(O),i=i.slice(0,O)),i&&(this.pathname=i),xi[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Ar.prototype.parseHost=function(t){var e=Vu.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var Yu=Ku;Yt.encode=Mu,Yt.decode=Fu,Yt.format=Bu,Yt.parse=Yu;var It={},Gs,ki;function Ci(){return ki||(ki=1,Gs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Gs}var Zs,Ai;function $i(){return Ai||(Ai=1,Zs=/[\0-\x1F\x7F-\x9F]/),Zs}var Ws,Ei;function Ju(){return Ei||(Ei=1,Ws=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Ws}var Ks,Si;function Di(){return Si||(Si=1,Ks=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ks}var qi;function Qu(){return qi||(qi=1,It.Any=Ci(),It.Cc=$i(),It.Cf=Ju(),It.P=js,It.Z=Di()),It}(function(t){function e(k){return Object.prototype.toString.call(k)}function o(k){return e(k)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(k,N){return r.call(k,N)}function a(k){var N=Array.prototype.slice.call(arguments,1);return N.forEach(function(z){if(z){if(typeof z!="object")throw new TypeError(z+"must be object");Object.keys(z).forEach(function(re){k[re]=z[re]})}}),k}function n(k,N,z){return[].concat(k.slice(0,N),z,k.slice(N+1))}function i(k){return!(k>=55296&&k<=57343||k>=64976&&k<=65007||(k&65535)===65535||(k&65535)===65534||k>=0&&k<=8||k===11||k>=14&&k<=31||k>=127&&k<=159||k>1114111)}function c(k){if(k>65535){k-=65536;var N=55296+(k>>10),z=56320+(k&1023);return String.fromCharCode(N,z)}return String.fromCharCode(k)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,u=new RegExp(l.source+"|"+d.source,"gi"),b=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=bi;function g(k,N){var z=0;return s(h,N)?h[N]:N.charCodeAt(0)===35&&b.test(N)&&(z=N[1].toLowerCase()==="x"?parseInt(N.slice(2),16):parseInt(N.slice(1),10),i(z))?c(z):k}function m(k){return k.indexOf("\\")<0?k:k.replace(l,"$1")}function _(k){return k.indexOf("\\")<0&&k.indexOf("&")<0?k:k.replace(u,function(N,z,re){return z||g(N,re)})}var y=/[&<>"]/,v=/[&<>"]/g,C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function A(k){return C[k]}function $(k){return y.test(k)?k.replace(v,A):k}var x=/[.?*+^$[\]\\(){}|-]/g;function q(k){return k.replace(x,"\\$&")}function O(k){switch(k){case 9:case 32:return!0}return!1}function S(k){if(k>=8192&&k<=8202)return!0;switch(k){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var D=js;function B(k){return D.test(k)}function ee(k){switch(k){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function $e(k){return k=k.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(k=k.replace(/ẞ/g,"ß")),k.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Yt,t.lib.ucmicro=Qu(),t.assign=a,t.isString=o,t.has=s,t.unescapeMd=m,t.unescapeAll=_,t.isValidEntityCode=i,t.fromCodePoint=c,t.escapeHtml=$,t.arrayReplaceAt=n,t.isSpace=O,t.isWhiteSpace=S,t.isMdAsciiPunct=ee,t.isPunctChar=B,t.escapeRE=q,t.normalizeReference=$e})(H);var $r={},Xu=function(e,o,r){var s,a,n,i,c=-1,l=e.posMax,d=e.pos;for(e.pos=o+1,s=1;e.pos<l;){if(n=e.src.charCodeAt(e.pos),n===93&&(s--,s===0)){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),n===91){if(i===e.pos-1)s++;else if(r)return e.pos=d,-1}}return a&&(c=e.pos),e.pos=d,c},Ti=H.unescapeAll,eh=function(e,o,r){var s,a,n=0,i=o,c={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<r;){if(s=e.charCodeAt(o),s===10||s===60)return c;if(s===62)return c.pos=o+1,c.str=Ti(e.slice(i+1,o)),c.ok=!0,c;if(s===92&&o+1<r){o+=2;continue}o++}return c}for(a=0;o<r&&(s=e.charCodeAt(o),!(s===32||s<32||s===127));){if(s===92&&o+1<r){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(s===40&&(a++,a>32))return c;if(s===41){if(a===0)break;a--}o++}return i===o||a!==0||(c.str=Ti(e.slice(i,o)),c.lines=n,c.pos=o,c.ok=!0),c},th=H.unescapeAll,oh=function(e,o,r){var s,a,n=0,i=o,c={ok:!1,pos:0,lines:0,str:""};if(o>=r||(a=e.charCodeAt(o),a!==34&&a!==39&&a!==40))return c;for(o++,a===40&&(a=41);o<r;){if(s=e.charCodeAt(o),s===a)return c.pos=o+1,c.lines=n,c.str=th(e.slice(i+1,o)),c.ok=!0,c;if(s===40&&a===41)return c;s===10?n++:s===92&&o+1<r&&(o++,e.charCodeAt(o)===10&&n++),o++}return c};$r.parseLinkLabel=Xu,$r.parseLinkDestination=eh,$r.parseLinkTitle=oh;var rh=H.assign,sh=H.unescapeAll,Pt=H.escapeHtml,je={};je.code_inline=function(t,e,o,r,s){var a=t[e];return"<code"+s.renderAttrs(a)+">"+Pt(t[e].content)+"</code>"},je.code_block=function(t,e,o,r,s){var a=t[e];return"<pre"+s.renderAttrs(a)+"><code>"+Pt(t[e].content)+`</code></pre>
5768
- `},je.fence=function(t,e,o,r,s){var a=t[e],n=a.info?sh(a.info).trim():"",i="",c="",l,d,u,b,h;return n&&(u=n.split(/(\s+)/g),i=u[0],c=u.slice(2).join("")),o.highlight?l=o.highlight(a.content,i,c)||Pt(a.content):l=Pt(a.content),l.indexOf("<pre")===0?l+`
5769
- `:n?(d=a.attrIndex("class"),b=a.attrs?a.attrs.slice():[],d<0?b.push(["class",o.langPrefix+i]):(b[d]=b[d].slice(),b[d][1]+=" "+o.langPrefix+i),h={attrs:b},"<pre><code"+s.renderAttrs(h)+">"+l+`</code></pre>
5741
+ `;var U={},un={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
5742
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},ds=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Ft={},hn={};function sf(t){var e,o,r=hn[t];if(r)return r;for(r=hn[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),/^[0-9a-z]$/i.test(o)?r.push(o):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function Qo(t,e,o){var r,s,a,n,i,c="";for(typeof e!="string"&&(o=e,e=Qo.defaultChars),typeof o>"u"&&(o=!0),i=sf(e),r=0,s=t.length;r<s;r++){if(a=t.charCodeAt(r),o&&a===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){c+=t.slice(r,r+3),r+=2;continue}if(a<128){c+=i[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1<s&&(n=t.charCodeAt(r+1),n>=56320&&n<=57343)){c+=encodeURIComponent(t[r]+t[r+1]),r++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(t[r])}return c}Qo.defaultChars=";/?:@&=+$,-_.!~*'()#",Qo.componentChars="-_.!~*'()";var af=Qo,pn={};function nf(t){var e,o,r=pn[t];if(r)return r;for(r=pn[t]=[],e=0;e<128;e++)o=String.fromCharCode(e),r.push(o);for(e=0;e<t.length;e++)o=t.charCodeAt(e),r[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return r}function Xo(t,e){var o;return typeof e!="string"&&(e=Xo.defaultChars),o=nf(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,a,n,i,c,l,f,h="";for(s=0,a=r.length;s<a;s+=3){if(n=parseInt(r.slice(s+1,s+3),16),n<128){h+=o[n];continue}if((n&224)===192&&s+3<a&&(i=parseInt(r.slice(s+4,s+6),16),(i&192)===128)){f=n<<6&1984|i&63,f<128?h+="��":h+=String.fromCharCode(f),s+=3;continue}if((n&240)===224&&s+6<a&&(i=parseInt(r.slice(s+4,s+6),16),c=parseInt(r.slice(s+7,s+9),16),(i&192)===128&&(c&192)===128)){f=n<<12&61440|i<<6&4032|c&63,f<2048||f>=55296&&f<=57343?h+="���":h+=String.fromCharCode(f),s+=6;continue}if((n&248)===240&&s+9<a&&(i=parseInt(r.slice(s+4,s+6),16),c=parseInt(r.slice(s+7,s+9),16),l=parseInt(r.slice(s+10,s+12),16),(i&192)===128&&(c&192)===128&&(l&192)===128)){f=n<<18&1835008|i<<12&258048|c<<6&4032|l&63,f<65536||f>1114111?h+="����":(f-=65536,h+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),s+=9;continue}h+="�"}return h})}Xo.defaultChars=";/?:@&=+$,#",Xo.componentChars="";var cf=Xo,lf=function(e){var o="";return o+=e.protocol||"",o+=e.slashes?"//":"",o+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?o+="["+e.hostname+"]":o+=e.hostname||"",o+=e.port?":"+e.port:"",o+=e.pathname||"",o+=e.search||"",o+=e.hash||"",o};function er(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var df=/^([a-z0-9.+-]+:)/i,ff=/:[0-9]*$/,uf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,hf=["<",">",'"',"`"," ","\r",`
5743
+ `," "],pf=["{","}","|","\\","^","`"].concat(hf),bf=["'"].concat(pf),bn=["%","/","?",";","#"].concat(bf),gn=["/","?","#"],gf=255,mn=/^[+a-z0-9A-Z_-]{0,63}$/,mf=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,vn={javascript:!0,"javascript:":!0},yn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function vf(t,e){if(t&&t instanceof er)return t;var o=new er;return o.parse(t,e),o}er.prototype.parse=function(t,e){var o,r,s,a,n,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var c=uf.exec(i);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var l=df.exec(i);if(l&&(l=l[0],s=l.toLowerCase(),this.protocol=l,i=i.substr(l.length)),(e||l||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(n=i.substr(0,2)==="//",n&&!(l&&vn[l])&&(i=i.substr(2),this.slashes=!0)),!vn[l]&&(n||l&&!yn[l])){var f=-1;for(o=0;o<gn.length;o++)a=i.indexOf(gn[o]),a!==-1&&(f===-1||a<f)&&(f=a);var h,b;for(f===-1?b=i.lastIndexOf("@"):b=i.lastIndexOf("@",f),b!==-1&&(h=i.slice(0,b),i=i.slice(b+1),this.auth=h),f=-1,o=0;o<bn.length;o++)a=i.indexOf(bn[o]),a!==-1&&(f===-1||a<f)&&(f=a);f===-1&&(f=i.length),i[f-1]===":"&&f--;var p=i.slice(0,f);i=i.slice(f),this.parseHost(p),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){var g=this.hostname.split(/\./);for(o=0,r=g.length;o<r;o++){var w=g[o];if(w&&!w.match(mn)){for(var y="",v=0,C=w.length;v<C;v++)w.charCodeAt(v)>127?y+="x":y+=w[v];if(!y.match(mn)){var $=g.slice(0,o),E=g.slice(o+1),x=w.match(mf);x&&($.push(x[1]),E.unshift(x[2])),E.length&&(i=E.join(".")+i),this.hostname=$.join(".");break}}}}this.hostname.length>gf&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var q=i.indexOf("#");q!==-1&&(this.hash=i.substr(q),i=i.slice(0,q));var M=i.indexOf("?");return M!==-1&&(this.search=i.substr(M),i=i.slice(0,M)),i&&(this.pathname=i),yn[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},er.prototype.parseHost=function(t){var e=ff.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var yf=vf;Ft.encode=af,Ft.decode=cf,Ft.format=lf,Ft.parse=yf;var Ct={},fs,wn;function _n(){return wn||(wn=1,fs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),fs}var us,xn;function kn(){return xn||(xn=1,us=/[\0-\x1F\x7F-\x9F]/),us}var hs,Cn;function wf(){return Cn||(Cn=1,hs=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),hs}var ps,An;function $n(){return An||(An=1,ps=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),ps}var En;function _f(){return En||(En=1,Ct.Any=_n(),Ct.Cc=kn(),Ct.Cf=wf(),Ct.P=ds,Ct.Z=$n()),Ct}(function(t){function e(k){return Object.prototype.toString.call(k)}function o(k){return e(k)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(k,z){return r.call(k,z)}function a(k){var z=Array.prototype.slice.call(arguments,1);return z.forEach(function(A){if(A){if(typeof A!="object")throw new TypeError(A+"must be object");Object.keys(A).forEach(function(te){k[te]=A[te]})}}),k}function n(k,z,A){return[].concat(k.slice(0,z),A,k.slice(z+1))}function i(k){return!(k>=55296&&k<=57343||k>=64976&&k<=65007||(k&65535)===65535||(k&65535)===65534||k>=0&&k<=8||k===11||k>=14&&k<=31||k>=127&&k<=159||k>1114111)}function c(k){if(k>65535){k-=65536;var z=55296+(k>>10),A=56320+(k&1023);return String.fromCharCode(z,A)}return String.fromCharCode(k)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,f=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(l.source+"|"+f.source,"gi"),b=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=un;function m(k,z){var A;return s(p,z)?p[z]:z.charCodeAt(0)===35&&b.test(z)&&(A=z[1].toLowerCase()==="x"?parseInt(z.slice(2),16):parseInt(z.slice(1),10),i(A))?c(A):k}function g(k){return k.indexOf("\\")<0?k:k.replace(l,"$1")}function w(k){return k.indexOf("\\")<0&&k.indexOf("&")<0?k:k.replace(h,function(z,A,te){return A||m(z,te)})}var y=/[&<>"]/,v=/[&<>"]/g,C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function $(k){return C[k]}function E(k){return y.test(k)?k.replace(v,$):k}var x=/[.?*+^$[\]\\(){}|-]/g;function q(k){return k.replace(x,"\\$&")}function M(k){switch(k){case 9:case 32:return!0}return!1}function S(k){if(k>=8192&&k<=8202)return!0;switch(k){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=ds;function Q(k){return T.test(k)}function X(k){switch(k){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Le(k){return k=k.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(k=k.replace(/ẞ/g,"ß")),k.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Ft,t.lib.ucmicro=_f(),t.assign=a,t.isString=o,t.has=s,t.unescapeMd=g,t.unescapeAll=w,t.isValidEntityCode=i,t.fromCodePoint=c,t.escapeHtml=E,t.arrayReplaceAt=n,t.isSpace=M,t.isWhiteSpace=S,t.isMdAsciiPunct=X,t.isPunctChar=Q,t.escapeRE=q,t.normalizeReference=Le})(U);var tr={},xf=function(e,o,r){var s,a,n,i,c=-1,l=e.posMax,f=e.pos;for(e.pos=o+1,s=1;e.pos<l;){if(n=e.src.charCodeAt(e.pos),n===93&&(s--,s===0)){a=!0;break}if(i=e.pos,e.md.inline.skipToken(e),n===91){if(i===e.pos-1)s++;else if(r)return e.pos=f,-1}}return a&&(c=e.pos),e.pos=f,c},Sn=U.unescapeAll,kf=function(e,o,r){var s,a,n=o,i={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(n)===60){for(n++;n<r;){if(s=e.charCodeAt(n),s===10||s===60)return i;if(s===62)return i.pos=n+1,i.str=Sn(e.slice(o+1,n)),i.ok=!0,i;if(s===92&&n+1<r){n+=2;continue}n++}return i}for(a=0;n<r&&(s=e.charCodeAt(n),!(s===32||s<32||s===127));){if(s===92&&n+1<r){if(e.charCodeAt(n+1)===32)break;n+=2;continue}if(s===40&&(a++,a>32))return i;if(s===41){if(a===0)break;a--}n++}return o===n||a!==0||(i.str=Sn(e.slice(o,n)),i.pos=n,i.ok=!0),i},Cf=U.unescapeAll,Af=function(e,o,r){var s,a,n=0,i=o,c={ok:!1,pos:0,lines:0,str:""};if(i>=r||(a=e.charCodeAt(i),a!==34&&a!==39&&a!==40))return c;for(i++,a===40&&(a=41);i<r;){if(s=e.charCodeAt(i),s===a)return c.pos=i+1,c.lines=n,c.str=Cf(e.slice(o+1,i)),c.ok=!0,c;if(s===40&&a===41)return c;s===10?n++:s===92&&i+1<r&&(i++,e.charCodeAt(i)===10&&n++),i++}return c};tr.parseLinkLabel=xf,tr.parseLinkDestination=kf,tr.parseLinkTitle=Af;var $f=U.assign,Ef=U.unescapeAll,At=U.escapeHtml,je={};je.code_inline=function(t,e,o,r,s){var a=t[e];return"<code"+s.renderAttrs(a)+">"+At(a.content)+"</code>"},je.code_block=function(t,e,o,r,s){var a=t[e];return"<pre"+s.renderAttrs(a)+"><code>"+At(t[e].content)+`</code></pre>
5744
+ `},je.fence=function(t,e,o,r,s){var a=t[e],n=a.info?Ef(a.info).trim():"",i="",c="",l,f,h,b,p;return n&&(h=n.split(/(\s+)/g),i=h[0],c=h.slice(2).join("")),o.highlight?l=o.highlight(a.content,i,c)||At(a.content):l=At(a.content),l.indexOf("<pre")===0?l+`
5745
+ `:n?(f=a.attrIndex("class"),b=a.attrs?a.attrs.slice():[],f<0?b.push(["class",o.langPrefix+i]):(b[f]=b[f].slice(),b[f][1]+=" "+o.langPrefix+i),p={attrs:b},"<pre><code"+s.renderAttrs(p)+">"+l+`</code></pre>
5770
5746
  `):"<pre><code"+s.renderAttrs(a)+">"+l+`</code></pre>
5771
5747
  `},je.image=function(t,e,o,r,s){var a=t[e];return a.attrs[a.attrIndex("alt")][1]=s.renderInlineAsText(a.children,o,r),s.renderToken(t,e,o)},je.hardbreak=function(t,e,o){return o.xhtmlOut?`<br />
5772
5748
  `:`<br>
5773
5749
  `},je.softbreak=function(t,e,o){return o.breaks?o.xhtmlOut?`<br />
5774
5750
  `:`<br>
5775
5751
  `:`
5776
- `},je.text=function(t,e){return Pt(t[e].content)},je.html_block=function(t,e){return t[e].content},je.html_inline=function(t,e){return t[e].content};function Jt(){this.rules=rh({},je)}Jt.prototype.renderAttrs=function(e){var o,r,s;if(!e.attrs)return"";for(s="",o=0,r=e.attrs.length;o<r;o++)s+=" "+Pt(e.attrs[o][0])+'="'+Pt(e.attrs[o][1])+'"';return s},Jt.prototype.renderToken=function(e,o,r){var s,a="",n=!1,i=e[o];return i.hidden?"":(i.block&&i.nesting!==-1&&o&&e[o-1].hidden&&(a+=`
5752
+ `},je.text=function(t,e){return At(t[e].content)},je.html_block=function(t,e){return t[e].content},je.html_inline=function(t,e){return t[e].content};function Pt(){this.rules=$f({},je)}Pt.prototype.renderAttrs=function(e){var o,r,s;if(!e.attrs)return"";for(s="",o=0,r=e.attrs.length;o<r;o++)s+=" "+At(e.attrs[o][0])+'="'+At(e.attrs[o][1])+'"';return s},Pt.prototype.renderToken=function(e,o,r){var s,a="",n=!1,i=e[o];return i.hidden?"":(i.block&&i.nesting!==-1&&o&&e[o-1].hidden&&(a+=`
5777
5753
  `),a+=(i.nesting===-1?"</":"<")+i.tag,a+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(a+=" /"),i.block&&(n=!0,i.nesting===1&&o+1<e.length&&(s=e[o+1],(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(n=!1))),a+=n?`>
5778
- `:">",a)},Jt.prototype.renderInline=function(t,e,o){for(var r,s="",a=this.rules,n=0,i=t.length;n<i;n++)r=t[n].type,typeof a[r]<"u"?s+=a[r](t,n,e,o,this):s+=this.renderToken(t,n,e);return s},Jt.prototype.renderInlineAsText=function(t,e,o){for(var r="",s=0,a=t.length;s<a;s++)t[s].type==="text"?r+=t[s].content:t[s].type==="image"?r+=this.renderInlineAsText(t[s].children,e,o):t[s].type==="softbreak"&&(r+=`
5779
- `);return r},Jt.prototype.render=function(t,e,o){var r,s,a,n="",i=this.rules;for(r=0,s=t.length;r<s;r++)a=t[r].type,a==="inline"?n+=this.renderInline(t[r].children,e,o):typeof i[a]<"u"?n+=i[t[r].type](t,r,e,o,this):n+=this.renderToken(t,r,e,o);return n};var ah=Jt;function Le(){this.__rules__=[],this.__cache__=null}Le.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},Le.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(o){o.enabled&&o.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(o){t.__cache__[o]=[],t.__rules__.forEach(function(r){r.enabled&&(o&&r.alt.indexOf(o)<0||t.__cache__[o].push(r.fn))})})},Le.prototype.at=function(t,e,o){var r=this.__find__(t),s=o||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=s.alt||[],this.__cache__=null},Le.prototype.before=function(t,e,o,r){var s=this.__find__(t),a=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null},Le.prototype.after=function(t,e,o,r){var s=this.__find__(t),a=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null},Le.prototype.push=function(t,e,o){var r=o||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},Le.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var o=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!0,o.push(r)},this),this.__cache__=null,o},Le.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(o){o.enabled=!1}),this.enable(t,e)},Le.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var o=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!1,o.push(r)},this),this.__cache__=null,o},Le.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Ys=Le,nh=/\r\n?|\n/g,ih=/\0/g,ch=function(e){var o;o=e.src.replace(nh,`
5780
- `),o=o.replace(ih,"�"),e.src=o},lh=function(e){var o;e.inlineMode?(o=new e.Token("inline","",0),o.content=e.src,o.map=[0,1],o.children=[],e.tokens.push(o)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},dh=function(e){var o=e.tokens,r,s,a;for(s=0,a=o.length;s<a;s++)r=o[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},fh=H.arrayReplaceAt;function uh(t){return/^<a[>\s]/i.test(t)}function hh(t){return/^<\/a\s*>/i.test(t)}var ph=function(e){var o,r,s,a,n,i,c,l,d,u,b,h,g,m,_,y,v=e.tokens,C;if(e.md.options.linkify){for(r=0,s=v.length;r<s;r++)if(!(v[r].type!=="inline"||!e.md.linkify.pretest(v[r].content)))for(a=v[r].children,g=0,o=a.length-1;o>=0;o--){if(i=a[o],i.type==="link_close"){for(o--;a[o].level!==i.level&&a[o].type!=="link_open";)o--;continue}if(i.type==="html_inline"&&(uh(i.content)&&g>0&&g--,hh(i.content)&&g++),!(g>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(d=i.content,C=e.md.linkify.match(d),c=[],h=i.level,b=0,C.length>0&&C[0].index===0&&o>0&&a[o-1].type==="text_special"&&(C=C.slice(1)),l=0;l<C.length;l++)m=C[l].url,_=e.md.normalizeLink(m),e.md.validateLink(_)&&(y=C[l].text,C[l].schema?C[l].schema==="mailto:"&&!/^mailto:/i.test(y)?y=e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=e.md.normalizeLinkText(y):y=e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),u=C[l].index,u>b&&(n=new e.Token("text","",0),n.content=d.slice(b,u),n.level=h,c.push(n)),n=new e.Token("link_open","a",1),n.attrs=[["href",_]],n.level=h++,n.markup="linkify",n.info="auto",c.push(n),n=new e.Token("text","",0),n.content=y,n.level=h,c.push(n),n=new e.Token("link_close","a",-1),n.level=--h,n.markup="linkify",n.info="auto",c.push(n),b=C[l].lastIndex);b<d.length&&(n=new e.Token("text","",0),n.content=d.slice(b),n.level=h,c.push(n)),v[r].children=a=fh(a,o,c)}}}},zi=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bh=/\((c|tm|r)\)/i,gh=/\((c|tm|r)\)/ig,mh={c:"©",r:"®",tm:"™"};function vh(t,e){return mh[e.toLowerCase()]}function yh(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&(o.content=o.content.replace(gh,vh)),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}function _h(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&zi.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}var wh=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type==="inline"&&(bh.test(e.tokens[o].content)&&yh(e.tokens[o].children),zi.test(e.tokens[o].content)&&_h(e.tokens[o].children))},Li=H.isWhiteSpace,Ri=H.isPunctChar,Ii=H.isMdAsciiPunct,xh=/['"]/,Pi=/['"]/g,Mi="’";function Er(t,e,o){return t.slice(0,e)+o+t.slice(e+1)}function kh(t,e){var o,r,s,a,n,i,c,l,d,u,b,h,g,m,_,y,v,C,A,$,x;for(A=[],o=0;o<t.length;o++){for(r=t[o],c=t[o].level,v=A.length-1;v>=0&&!(A[v].level<=c);v--);if(A.length=v+1,r.type==="text"){s=r.content,n=0,i=s.length;e:for(;n<i&&(Pi.lastIndex=n,a=Pi.exec(s),!!a);){if(_=y=!0,n=a.index+1,C=a[0]==="'",d=32,a.index-1>=0)d=s.charCodeAt(a.index-1);else for(v=o-1;v>=0&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v--)if(t[v].content){d=t[v].content.charCodeAt(t[v].content.length-1);break}if(u=32,n<i)u=s.charCodeAt(n);else for(v=o+1;v<t.length&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v++)if(t[v].content){u=t[v].content.charCodeAt(0);break}if(b=Ii(d)||Ri(String.fromCharCode(d)),h=Ii(u)||Ri(String.fromCharCode(u)),g=Li(d),m=Li(u),m?_=!1:h&&(g||b||(_=!1)),g?y=!1:b&&(m||h||(y=!1)),u===34&&a[0]==='"'&&d>=48&&d<=57&&(y=_=!1),_&&y&&(_=b,y=h),!_&&!y){C&&(r.content=Er(r.content,a.index,Mi));continue}if(y){for(v=A.length-1;v>=0&&(l=A[v],!(A[v].level<c));v--)if(l.single===C&&A[v].level===c){l=A[v],C?($=e.md.options.quotes[2],x=e.md.options.quotes[3]):($=e.md.options.quotes[0],x=e.md.options.quotes[1]),r.content=Er(r.content,a.index,x),t[l.token].content=Er(t[l.token].content,l.pos,$),n+=x.length-1,l.token===o&&(n+=$.length-1),s=r.content,i=s.length,A.length=v;continue e}}_?A.push({token:o,pos:a.index,single:C,level:c}):y&&C&&(r.content=Er(r.content,a.index,Mi))}}}}var Ch=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type!=="inline"||!xh.test(e.tokens[o].content)||kh(e.tokens[o].children,e)},Ah=function(e){var o,r,s,a,n,i,c=e.tokens;for(o=0,r=c.length;o<r;o++)if(c[o].type==="inline"){for(s=c[o].children,n=s.length,a=0;a<n;a++)s[a].type==="text_special"&&(s[a].type="text");for(a=i=0;a<n;a++)s[a].type==="text"&&a+1<n&&s[a+1].type==="text"?s[a+1].content=s[a].content+s[a+1].content:(a!==i&&(s[i]=s[a]),i++);a!==i&&(s.length=i)}};function Qt(t,e,o){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=o,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Qt.prototype.attrIndex=function(e){var o,r,s;if(!this.attrs)return-1;for(o=this.attrs,r=0,s=o.length;r<s;r++)if(o[r][0]===e)return r;return-1},Qt.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Qt.prototype.attrSet=function(e,o){var r=this.attrIndex(e),s=[e,o];r<0?this.attrPush(s):this.attrs[r]=s},Qt.prototype.attrGet=function(e){var o=this.attrIndex(e),r=null;return o>=0&&(r=this.attrs[o][1]),r},Qt.prototype.attrJoin=function(e,o){var r=this.attrIndex(e);r<0?this.attrPush([e,o]):this.attrs[r][1]=this.attrs[r][1]+" "+o};var Js=Qt,$h=Js;function Oi(t,e,o){this.src=t,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=e}Oi.prototype.Token=$h;var Eh=Oi,Sh=Ys,Qs=[["normalize",ch],["block",lh],["inline",dh],["linkify",ph],["replacements",wh],["smartquotes",Ch],["text_join",Ah]];function Xs(){this.ruler=new Sh;for(var t=0;t<Qs.length;t++)this.ruler.push(Qs[t][0],Qs[t][1])}Xs.prototype.process=function(t){var e,o,r;for(r=this.ruler.getRules(""),e=0,o=r.length;e<o;e++)r[e](t)},Xs.prototype.State=Eh;var Dh=Xs,ea=H.isSpace;function ta(t,e){var o=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(o,r)}function Fi(t){var e=[],o=0,r=t.length,s,a=!1,n=0,i="";for(s=t.charCodeAt(o);o<r;)s===124&&(a?(i+=t.substring(n,o-1),n=o):(e.push(i+t.substring(n,o)),i="",n=o+1)),a=s===92,o++,s=t.charCodeAt(o);return e.push(i+t.substring(n)),e}var qh=function(e,o,r,s){var a,n,i,c,l,d,u,b,h,g,m,_,y,v,C,A,$,x;if(o+2>r||(d=o+1,e.sCount[d]<e.blkIndent)||e.sCount[d]-e.blkIndent>=4||(i=e.bMarks[d]+e.tShift[d],i>=e.eMarks[d])||($=e.src.charCodeAt(i++),$!==124&&$!==45&&$!==58)||i>=e.eMarks[d]||(x=e.src.charCodeAt(i++),x!==124&&x!==45&&x!==58&&!ea(x))||$===45&&ea(x))return!1;for(;i<e.eMarks[d];){if(a=e.src.charCodeAt(i),a!==124&&a!==45&&a!==58&&!ea(a))return!1;i++}for(n=ta(e,o+1),u=n.split("|"),g=[],c=0;c<u.length;c++){if(m=u[c].trim(),!m){if(c===0||c===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;m.charCodeAt(m.length-1)===58?g.push(m.charCodeAt(0)===58?"center":"right"):m.charCodeAt(0)===58?g.push("left"):g.push("")}if(n=ta(e,o).trim(),n.indexOf("|")===-1||e.sCount[o]-e.blkIndent>=4||(u=Fi(n),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),b=u.length,b===0||b!==g.length))return!1;if(s)return!0;for(v=e.parentType,e.parentType="table",A=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),h.map=_=[o,0],h=e.push("thead_open","thead",1),h.map=[o,o+1],h=e.push("tr_open","tr",1),h.map=[o,o+1],c=0;c<u.length;c++)h=e.push("th_open","th",1),g[c]&&(h.attrs=[["style","text-align:"+g[c]]]),h=e.push("inline","",0),h.content=u[c].trim(),h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),d=o+2;d<r&&!(e.sCount[d]<e.blkIndent);d++){for(C=!1,c=0,l=A.length;c<l;c++)if(A[c](e,d,r,!0)){C=!0;break}if(C||(n=ta(e,d).trim(),!n)||e.sCount[d]-e.blkIndent>=4)break;for(u=Fi(n),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),d===o+2&&(h=e.push("tbody_open","tbody",1),h.map=y=[o+2,0]),h=e.push("tr_open","tr",1),h.map=[d,d+1],c=0;c<b;c++)h=e.push("td_open","td",1),g[c]&&(h.attrs=[["style","text-align:"+g[c]]]),h=e.push("inline","",0),h.content=u[c]?u[c].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return y&&(h=e.push("tbody_close","tbody",-1),y[1]=d),h=e.push("table_close","table",-1),_[1]=d,e.parentType=v,e.line=d,!0},Th=function(e,o,r){var s,a,n;if(e.sCount[o]-e.blkIndent<4)return!1;for(a=s=o+1;s<r;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,a=s;continue}break}return e.line=a,n=e.push("code_block","code",0),n.content=e.getLines(o,a,4+e.blkIndent,!1)+`
5781
- `,n.map=[o,e.line],!0},zh=function(e,o,r,s){var a,n,i,c,l,d,u,b=!1,h=e.bMarks[o]+e.tShift[o],g=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||h+3>g||(a=e.src.charCodeAt(h),a!==126&&a!==96)||(l=h,h=e.skipChars(h,a),n=h-l,n<3)||(u=e.src.slice(l,h),i=e.src.slice(h,g),a===96&&i.indexOf(String.fromCharCode(a))>=0))return!1;if(s)return!0;for(c=o;c++,!(c>=r||(h=l=e.bMarks[c]+e.tShift[c],g=e.eMarks[c],h<g&&e.sCount[c]<e.blkIndent));)if(e.src.charCodeAt(h)===a&&!(e.sCount[c]-e.blkIndent>=4)&&(h=e.skipChars(h,a),!(h-l<n)&&(h=e.skipSpaces(h),!(h<g)))){b=!0;break}return n=e.sCount[o],e.line=c+(b?1:0),d=e.push("fence","code",0),d.info=i,d.content=e.getLines(o+1,c,n,!0),d.markup=u,d.map=[o,e.line],!0},Bi=H.isSpace,Lh=function(e,o,r,s){var a,n,i,c,l,d,u,b,h,g,m,_,y,v,C,A,$,x,q,O,S=e.lineMax,D=e.bMarks[o]+e.tShift[o],B=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(D++)!==62)return!1;if(s)return!0;for(c=h=e.sCount[o]+1,e.src.charCodeAt(D)===32?(D++,c++,h++,a=!1,A=!0):e.src.charCodeAt(D)===9?(A=!0,(e.bsCount[o]+h)%4===3?(D++,c++,h++,a=!1):a=!0):A=!1,g=[e.bMarks[o]],e.bMarks[o]=D;D<B&&(n=e.src.charCodeAt(D),Bi(n));){n===9?h+=4-(h+e.bsCount[o]+(a?1:0))%4:h++;D++}for(m=[e.bsCount[o]],e.bsCount[o]=e.sCount[o]+1+(A?1:0),d=D>=B,v=[e.sCount[o]],e.sCount[o]=h-c,C=[e.tShift[o]],e.tShift[o]=D-e.bMarks[o],x=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",b=o+1;b<r&&(O=e.sCount[b]<e.blkIndent,D=e.bMarks[b]+e.tShift[b],B=e.eMarks[b],!(D>=B));b++){if(e.src.charCodeAt(D++)===62&&!O){for(c=h=e.sCount[b]+1,e.src.charCodeAt(D)===32?(D++,c++,h++,a=!1,A=!0):e.src.charCodeAt(D)===9?(A=!0,(e.bsCount[b]+h)%4===3?(D++,c++,h++,a=!1):a=!0):A=!1,g.push(e.bMarks[b]),e.bMarks[b]=D;D<B&&(n=e.src.charCodeAt(D),Bi(n));){n===9?h+=4-(h+e.bsCount[b]+(a?1:0))%4:h++;D++}d=D>=B,m.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+(A?1:0),v.push(e.sCount[b]),e.sCount[b]=h-c,C.push(e.tShift[b]),e.tShift[b]=D-e.bMarks[b];continue}if(d)break;for($=!1,i=0,l=x.length;i<l;i++)if(x[i](e,b,r,!0)){$=!0;break}if($){e.lineMax=b,e.blkIndent!==0&&(g.push(e.bMarks[b]),m.push(e.bsCount[b]),C.push(e.tShift[b]),v.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}g.push(e.bMarks[b]),m.push(e.bsCount[b]),C.push(e.tShift[b]),v.push(e.sCount[b]),e.sCount[b]=-1}for(_=e.blkIndent,e.blkIndent=0,q=e.push("blockquote_open","blockquote",1),q.markup=">",q.map=u=[o,0],e.md.block.tokenize(e,o,b),q=e.push("blockquote_close","blockquote",-1),q.markup=">",e.lineMax=S,e.parentType=y,u[1]=e.line,i=0;i<C.length;i++)e.bMarks[i+o]=g[i],e.tShift[i+o]=C[i],e.sCount[i+o]=v[i],e.bsCount[i+o]=m[i];return e.blkIndent=_,!0},Rh=H.isSpace,Ih=function(e,o,r,s){var a,n,i,c,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l++),a!==42&&a!==45&&a!==95))return!1;for(n=1;l<d;){if(i=e.src.charCodeAt(l++),i!==a&&!Rh(i))return!1;i===a&&n++}return n<3?!1:(s||(e.line=o+1,c=e.push("hr","hr",0),c.map=[o,e.line],c.markup=Array(n+1).join(String.fromCharCode(a))),!0)},Ni=H.isSpace;function Vi(t,e){var o,r,s,a;return r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],o=t.src.charCodeAt(r++),o!==42&&o!==45&&o!==43||r<s&&(a=t.src.charCodeAt(r),!Ni(a))?-1:r}function Hi(t,e){var o,r=t.bMarks[e]+t.tShift[e],s=r,a=t.eMarks[e];if(s+1>=a||(o=t.src.charCodeAt(s++),o<48||o>57))return-1;for(;;){if(s>=a)return-1;if(o=t.src.charCodeAt(s++),o>=48&&o<=57){if(s-r>=10)return-1;continue}if(o===41||o===46)break;return-1}return s<a&&(o=t.src.charCodeAt(s),!Ni(o))?-1:s}function Ph(t,e){var o,r,s=t.level+2;for(o=e+2,r=t.tokens.length-2;o<r;o++)t.tokens[o].level===s&&t.tokens[o].type==="paragraph_open"&&(t.tokens[o+2].hidden=!0,t.tokens[o].hidden=!0,o+=2)}var Mh=function(e,o,r,s){var a,n,i,c,l,d,u,b,h,g,m,_,y,v,C,A,$,x,q,O,S,D,B,ee,$e,k,N,z,re=!1,Zr=!0;if(e.sCount[o]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[o]-e.listIndent>=4&&e.sCount[o]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[o]>=e.blkIndent&&(re=!0),(B=Hi(e,o))>=0){if(u=!0,$e=e.bMarks[o]+e.tShift[o],y=Number(e.src.slice($e,B-1)),re&&y!==1)return!1}else if((B=Vi(e,o))>=0)u=!1;else return!1;if(re&&e.skipSpaces(B)>=e.eMarks[o])return!1;if(_=e.src.charCodeAt(B-1),s)return!0;for(m=e.tokens.length,u?(z=e.push("ordered_list_open","ol",1),y!==1&&(z.attrs=[["start",y]])):z=e.push("bullet_list_open","ul",1),z.map=g=[o,0],z.markup=String.fromCharCode(_),C=o,ee=!1,N=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";C<r;){for(D=B,v=e.eMarks[C],d=A=e.sCount[C]+B-(e.bMarks[o]+e.tShift[o]);D<v;){if(a=e.src.charCodeAt(D),a===9)A+=4-(A+e.bsCount[C])%4;else if(a===32)A++;else break;D++}if(n=D,n>=v?l=1:l=A-d,l>4&&(l=1),c=d+l,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(_),z.map=b=[o,0],u&&(z.info=e.src.slice($e,B-1)),S=e.tight,O=e.tShift[o],q=e.sCount[o],$=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[o]=n-e.bMarks[o],e.sCount[o]=A,n>=v&&e.isEmpty(o+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,o,r,!0),(!e.tight||ee)&&(Zr=!1),ee=e.line-o>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=$,e.tShift[o]=O,e.sCount[o]=q,e.tight=S,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(_),C=o=e.line,b[1]=C,n=e.bMarks[o],C>=r||e.sCount[C]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)break;for(k=!1,i=0,h=N.length;i<h;i++)if(N[i](e,C,r,!0)){k=!0;break}if(k)break;if(u){if(B=Hi(e,C),B<0)break;$e=e.bMarks[C]+e.tShift[C]}else if(B=Vi(e,C),B<0)break;if(_!==e.src.charCodeAt(B-1))break}return u?z=e.push("ordered_list_close","ol",-1):z=e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(_),g[1]=C,e.line=C,e.parentType=x,Zr&&Ph(e,m),!0},Oh=H.normalizeReference,Sr=H.isSpace,Fh=function(e,o,r,s){var a,n,i,c,l,d,u,b,h,g,m,_,y,v,C,A,$=0,x=e.bMarks[o]+e.tShift[o],q=e.eMarks[o],O=o+1;if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(x)!==91)return!1;for(;++x<q;)if(e.src.charCodeAt(x)===93&&e.src.charCodeAt(x-1)!==92){if(x+1===q||e.src.charCodeAt(x+1)!==58)return!1;break}for(c=e.lineMax,C=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";O<c&&!e.isEmpty(O);O++)if(!(e.sCount[O]-e.blkIndent>3)&&!(e.sCount[O]<0)){for(v=!1,d=0,u=C.length;d<u;d++)if(C[d](e,O,c,!0)){v=!0;break}if(v)break}for(y=e.getLines(o,O,e.blkIndent,!1).trim(),q=y.length,x=1;x<q;x++){if(a=y.charCodeAt(x),a===91)return!1;if(a===93){h=x;break}else a===10?$++:a===92&&(x++,x<q&&y.charCodeAt(x)===10&&$++)}if(h<0||y.charCodeAt(h+1)!==58)return!1;for(x=h+2;x<q;x++)if(a=y.charCodeAt(x),a===10)$++;else if(!Sr(a))break;if(m=e.md.helpers.parseLinkDestination(y,x,q),!m.ok||(l=e.md.normalizeLink(m.str),!e.md.validateLink(l)))return!1;for(x=m.pos,$+=m.lines,n=x,i=$,_=x;x<q;x++)if(a=y.charCodeAt(x),a===10)$++;else if(!Sr(a))break;for(m=e.md.helpers.parseLinkTitle(y,x,q),x<q&&_!==x&&m.ok?(A=m.str,x=m.pos,$+=m.lines):(A="",x=n,$=i);x<q&&(a=y.charCodeAt(x),!!Sr(a));)x++;if(x<q&&y.charCodeAt(x)!==10&&A)for(A="",x=n,$=i;x<q&&(a=y.charCodeAt(x),!!Sr(a));)x++;return x<q&&y.charCodeAt(x)!==10||(b=Oh(y.slice(1,h)),!b)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[b]>"u"&&(e.env.references[b]={title:A,href:l}),e.parentType=g,e.line=o+$+1),!0)},Bh=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Dr={},Nh="[a-zA-Z_:][a-zA-Z0-9:._-]*",Vh="[^\"'=<>`\\x00-\\x20]+",Hh="'[^']*'",Uh='"[^"]*"',jh="(?:"+Vh+"|"+Hh+"|"+Uh+")",Gh="(?:\\s+"+Nh+"(?:\\s*=\\s*"+jh+")?)",Ui="<[A-Za-z][A-Za-z0-9\\-]*"+Gh+"*\\s*\\/?>",ji="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Zh="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Wh="<[?][\\s\\S]*?[?]>",Kh="<![A-Z]+\\s+[^>]*>",Yh="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Jh=new RegExp("^(?:"+Ui+"|"+ji+"|"+Zh+"|"+Wh+"|"+Kh+"|"+Yh+")"),Qh=new RegExp("^(?:"+Ui+"|"+ji+")");Dr.HTML_TAG_RE=Jh,Dr.HTML_OPEN_CLOSE_TAG_RE=Qh;var Xh=Bh,ep=Dr.HTML_OPEN_CLOSE_TAG_RE,Xt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Xh.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(ep.source+"\\s*$"),/^$/,!1]],tp=function(e,o,r,s){var a,n,i,c,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(c=e.src.slice(l,d),a=0;a<Xt.length&&!Xt[a][0].test(c);a++);if(a===Xt.length)return!1;if(s)return Xt[a][2];if(n=o+1,!Xt[a][1].test(c)){for(;n<r&&!(e.sCount[n]<e.blkIndent);n++)if(l=e.bMarks[n]+e.tShift[n],d=e.eMarks[n],c=e.src.slice(l,d),Xt[a][1].test(c)){c.length!==0&&n++;break}}return e.line=n,i=e.push("html_block","",0),i.map=[o,n],i.content=e.getLines(o,n,e.blkIndent,!0),!0},Gi=H.isSpace,op=function(e,o,r,s){var a,n,i,c,l=e.bMarks[o]+e.tShift[o],d=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l),a!==35||l>=d))return!1;for(n=1,a=e.src.charCodeAt(++l);a===35&&l<d&&n<=6;)n++,a=e.src.charCodeAt(++l);return n>6||l<d&&!Gi(a)?!1:(s||(d=e.skipSpacesBack(d,l),i=e.skipCharsBack(d,35,l),i>l&&Gi(e.src.charCodeAt(i-1))&&(d=i),e.line=o+1,c=e.push("heading_open","h"+String(n),1),c.markup="########".slice(0,n),c.map=[o,e.line],c=e.push("inline","",0),c.content=e.src.slice(l,d).trim(),c.map=[o,e.line],c.children=[],c=e.push("heading_close","h"+String(n),-1),c.markup="########".slice(0,n)),!0)},rp=function(e,o,r){var s,a,n,i,c,l,d,u,b,h=o+1,g,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[o]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h],d=e.eMarks[h],l<d&&(b=e.src.charCodeAt(l),(b===45||b===61)&&(l=e.skipChars(l,b),l=e.skipSpaces(l),l>=d)))){u=b===61?1:2;break}if(!(e.sCount[h]<0)){for(a=!1,n=0,i=m.length;n<i;n++)if(m[n](e,h,r,!0)){a=!0;break}if(a)break}}return u?(s=e.getLines(o,h,e.blkIndent,!1).trim(),e.line=h+1,c=e.push("heading_open","h"+String(u),1),c.markup=String.fromCharCode(b),c.map=[o,e.line],c=e.push("inline","",0),c.content=s,c.map=[o,e.line-1],c.children=[],c=e.push("heading_close","h"+String(u),-1),c.markup=String.fromCharCode(b),e.parentType=g,!0):!1},sp=function(e,o){var r,s,a,n,i,c,l=o+1,d=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3)&&!(e.sCount[l]<0)){for(s=!1,a=0,n=d.length;a<n;a++)if(d[a](e,l,u,!0)){s=!0;break}if(s)break}return r=e.getLines(o,l,e.blkIndent,!1).trim(),e.line=l,i=e.push("paragraph_open","p",1),i.map=[o,e.line],i=e.push("inline","",0),i.content=r,i.map=[o,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=c,!0},Zi=Js,qr=H.isSpace;function Ge(t,e,o,r){var s,a,n,i,c,l,d,u;for(this.src=t,this.md=e,this.env=o,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,u=!1,n=i=l=d=0,c=a.length;i<c;i++){if(s=a.charCodeAt(i),!u)if(qr(s)){l++,s===9?d+=4-d%4:d++;continue}else u=!0;(s===10||i===c-1)&&(s!==10&&i++,this.bMarks.push(n),this.eMarks.push(i),this.tShift.push(l),this.sCount.push(d),this.bsCount.push(0),u=!1,l=0,d=0,n=i+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Ge.prototype.push=function(t,e,o){var r=new Zi(t,e,o);return r.block=!0,o<0&&this.level--,r.level=this.level,o>0&&this.level++,this.tokens.push(r),r},Ge.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Ge.prototype.skipEmptyLines=function(e){for(var o=this.lineMax;e<o&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Ge.prototype.skipSpaces=function(e){for(var o,r=this.src.length;e<r&&(o=this.src.charCodeAt(e),!!qr(o));e++);return e},Ge.prototype.skipSpacesBack=function(e,o){if(e<=o)return e;for(;e>o;)if(!qr(this.src.charCodeAt(--e)))return e+1;return e},Ge.prototype.skipChars=function(e,o){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===o;e++);return e},Ge.prototype.skipCharsBack=function(e,o,r){if(e<=r)return e;for(;e>r;)if(o!==this.src.charCodeAt(--e))return e+1;return e},Ge.prototype.getLines=function(e,o,r,s){var a,n,i,c,l,d,u,b=e;if(e>=o)return"";for(d=new Array(o-e),a=0;b<o;b++,a++){for(n=0,u=c=this.bMarks[b],b+1<o||s?l=this.eMarks[b]+1:l=this.eMarks[b];c<l&&n<r;){if(i=this.src.charCodeAt(c),qr(i))i===9?n+=4-(n+this.bsCount[b])%4:n++;else if(c-u<this.tShift[b])n++;else break;c++}n>r?d[a]=new Array(n-r+1).join(" ")+this.src.slice(c,l):d[a]=this.src.slice(c,l)}return d.join("")},Ge.prototype.Token=Zi;var ap=Ge,np=Ys,Tr=[["table",qh,["paragraph","reference"]],["code",Th],["fence",zh,["paragraph","reference","blockquote","list"]],["blockquote",Lh,["paragraph","reference","blockquote","list"]],["hr",Ih,["paragraph","reference","blockquote","list"]],["list",Mh,["paragraph","reference","blockquote"]],["reference",Fh],["html_block",tp,["paragraph","reference","blockquote"]],["heading",op,["paragraph","reference","blockquote"]],["lheading",rp],["paragraph",sp]];function zr(){this.ruler=new np;for(var t=0;t<Tr.length;t++)this.ruler.push(Tr[t][0],Tr[t][1],{alt:(Tr[t][2]||[]).slice()})}zr.prototype.tokenize=function(t,e,o){for(var r,s,a=this.ruler.getRules(""),n=a.length,i=e,c=!1,l=t.md.options.maxNesting;i<o&&(t.line=i=t.skipEmptyLines(i),!(i>=o||t.sCount[i]<t.blkIndent));){if(t.level>=l){t.line=o;break}for(s=0;s<n&&(r=a[s](t,i,o,!1),!r);s++);t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),i=t.line,i<o&&t.isEmpty(i)&&(c=!0,i++,t.line=i)}},zr.prototype.parse=function(t,e,o,r){var s;t&&(s=new this.State(t,e,o,r),this.tokenize(s,s.line,s.lineMax))},zr.prototype.State=ap;var ip=zr;function cp(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var lp=function(e,o){for(var r=e.pos;r<e.posMax&&!cp(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(o||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},dp=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,fp=function(e,o){var r,s,a,n,i,c,l,d;return!e.md.options.linkify||e.linkLevel>0||(r=e.pos,s=e.posMax,r+3>s)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(a=e.pending.match(dp),!a)||(n=a[1],i=e.md.linkify.matchAtStart(e.src.slice(r-n.length)),!i)||(c=i.url,c=c.replace(/\*+$/,""),l=e.md.normalizeLink(c),!e.md.validateLink(l))?!1:(o||(e.pending=e.pending.slice(0,-n.length),d=e.push("link_open","a",1),d.attrs=[["href",l]],d.markup="linkify",d.info="auto",d=e.push("text","",0),d.content=e.md.normalizeLinkText(c),d=e.push("link_close","a",-1),d.markup="linkify",d.info="auto"),e.pos+=c.length-n.length,!0)},up=H.isSpace,hp=function(e,o){var r,s,a,n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;if(r=e.pending.length-1,s=e.posMax,!o)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<s&&up(e.src.charCodeAt(n));)n++;return e.pos=n,!0},pp=H.isSpace,oa=[],Wi=0;Wi<256;Wi++)oa.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){oa[t.charCodeAt(0)]=1});var bp=function(e,o){var r,s,a,n,i,c=e.pos,l=e.posMax;if(e.src.charCodeAt(c)!==92||(c++,c>=l))return!1;if(r=e.src.charCodeAt(c),r===10){for(o||e.push("hardbreak","br",0),c++;c<l&&(r=e.src.charCodeAt(c),!!pp(r));)c++;return e.pos=c,!0}return n=e.src[c],r>=55296&&r<=56319&&c+1<l&&(s=e.src.charCodeAt(c+1),s>=56320&&s<=57343&&(n+=e.src[c+1],c++)),a="\\"+n,o||(i=e.push("text_special","",0),r<256&&oa[r]!==0?i.content=n:i.content=a,i.markup=a,i.info="escape"),e.pos=c+1,!0},gp=function(e,o){var r,s,a,n,i,c,l,d,u=e.pos,b=e.src.charCodeAt(u);if(b!==96)return!1;for(r=u,u++,s=e.posMax;u<s&&e.src.charCodeAt(u)===96;)u++;if(a=e.src.slice(r,u),l=a.length,e.backticksScanned&&(e.backticks[l]||0)<=r)return o||(e.pending+=a),e.pos+=l,!0;for(i=c=u;(i=e.src.indexOf("`",c))!==-1;){for(c=i+1;c<s&&e.src.charCodeAt(c)===96;)c++;if(d=c-i,d===l)return o||(n=e.push("code_inline","code",0),n.markup=a,n.content=e.src.slice(u,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=c,!0;e.backticks[d]=i}return e.backticksScanned=!0,o||(e.pending+=a),e.pos+=l,!0},Lr={};Lr.tokenize=function(e,o){var r,s,a,n,i,c=e.pos,l=e.src.charCodeAt(c);if(o||l!==126||(s=e.scanDelims(e.pos,!0),n=s.length,i=String.fromCharCode(l),n<2))return!1;for(n%2&&(a=e.push("text","",0),a.content=i,n--),r=0;r<n;r+=2)a=e.push("text","",0),a.content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Ki(t,e){var o,r,s,a,n,i=[],c=e.length;for(o=0;o<c;o++)s=e[o],s.marker===126&&s.end!==-1&&(a=e[s.end],n=t.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=t.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",t.tokens[a.token-1].type==="text"&&t.tokens[a.token-1].content==="~"&&i.push(a.token-1));for(;i.length;){for(o=i.pop(),r=o+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,o!==r&&(n=t.tokens[r],t.tokens[r]=t.tokens[o],t.tokens[o]=n)}}Lr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Ki(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Ki(e,r[o].delimiters)};var Rr={};Rr.tokenize=function(e,o){var r,s,a,n=e.pos,i=e.src.charCodeAt(n);if(o||i!==95&&i!==42)return!1;for(s=e.scanDelims(e.pos,i===42),r=0;r<s.length;r++)a=e.push("text","",0),a.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:s.length,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Yi(t,e){var o,r,s,a,n,i,c=e.length;for(o=c-1;o>=0;o--)r=e[o],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],i=o>0&&e[o-1].end===r.end+1&&e[o-1].marker===r.marker&&e[o-1].token===r.token-1&&e[r.end+1].token===s.token+1,n=String.fromCharCode(r.marker),a=t.tokens[r.token],a.type=i?"strong_open":"em_open",a.tag=i?"strong":"em",a.nesting=1,a.markup=i?n+n:n,a.content="",a=t.tokens[s.token],a.type=i?"strong_close":"em_close",a.tag=i?"strong":"em",a.nesting=-1,a.markup=i?n+n:n,a.content="",i&&(t.tokens[e[o-1].token].content="",t.tokens[e[r.end+1].token].content="",o--))}Rr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Yi(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Yi(e,r[o].delimiters)};var mp=H.normalizeReference,ra=H.isSpace,vp=function(e,o){var r,s,a,n,i,c,l,d,u,b="",h="",g=e.pos,m=e.posMax,_=e.pos,y=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,n=e.md.helpers.parseLinkLabel(e,e.pos,!0),n<0))return!1;if(c=n+1,c<m&&e.src.charCodeAt(c)===40){for(y=!1,c++;c<m&&(s=e.src.charCodeAt(c),!(!ra(s)&&s!==10));c++);if(c>=m)return!1;if(_=c,l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),l.ok){for(b=e.md.normalizeLink(l.str),e.md.validateLink(b)?c=l.pos:b="",_=c;c<m&&(s=e.src.charCodeAt(c),!(!ra(s)&&s!==10));c++);if(l=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&_!==c&&l.ok)for(h=l.str,c=l.pos;c<m&&(s=e.src.charCodeAt(c),!(!ra(s)&&s!==10));c++);}(c>=m||e.src.charCodeAt(c)!==41)&&(y=!0),c++}if(y){if(typeof e.env.references>"u")return!1;if(c<m&&e.src.charCodeAt(c)===91?(_=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?a=e.src.slice(_,c++):c=n+1):c=n+1,a||(a=e.src.slice(i,n)),d=e.env.references[mp(a)],!d)return e.pos=g,!1;b=d.href,h=d.title}return o||(e.pos=i,e.posMax=n,u=e.push("link_open","a",1),u.attrs=r=[["href",b]],h&&r.push(["title",h]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,u=e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0},yp=H.normalizeReference,sa=H.isSpace,_p=function(e,o){var r,s,a,n,i,c,l,d,u,b,h,g,m,_="",y=e.pos,v=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(c=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(l=i+1,l<v&&e.src.charCodeAt(l)===40){for(l++;l<v&&(s=e.src.charCodeAt(l),!(!sa(s)&&s!==10));l++);if(l>=v)return!1;for(m=l,u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),u.ok&&(_=e.md.normalizeLink(u.str),e.md.validateLink(_)?l=u.pos:_=""),m=l;l<v&&(s=e.src.charCodeAt(l),!(!sa(s)&&s!==10));l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&m!==l&&u.ok)for(b=u.str,l=u.pos;l<v&&(s=e.src.charCodeAt(l),!(!sa(s)&&s!==10));l++);else b="";if(l>=v||e.src.charCodeAt(l)!==41)return e.pos=y,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<v&&e.src.charCodeAt(l)===91?(m=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?n=e.src.slice(m,l++):l=i+1):l=i+1,n||(n=e.src.slice(c,i)),d=e.env.references[yp(n)],!d)return e.pos=y,!1;_=d.href,b=d.title}return o||(a=e.src.slice(c,i),e.md.inline.parse(a,e.md,e.env,g=[]),h=e.push("image","img",0),h.attrs=r=[["src",_],["alt",""]],h.children=g,h.content=a,b&&r.push(["title",b])),e.pos=l,e.posMax=v,!0},wp=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,xp=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,kp=function(e,o){var r,s,a,n,i,c,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(i=e.pos,c=e.posMax;;){if(++l>=c||(n=e.src.charCodeAt(l),n===60))return!1;if(n===62)break}return r=e.src.slice(i+1,l),xp.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):wp.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):!1},Cp=Dr.HTML_TAG_RE;function Ap(t){return/^<a[>\s]/i.test(t)}function $p(t){return/^<\/a\s*>/i.test(t)}function Ep(t){var e=t|32;return e>=97&&e<=122}var Sp=function(e,o){var r,s,a,n,i=e.pos;return!e.md.options.html||(a=e.posMax,e.src.charCodeAt(i)!==60||i+2>=a)||(r=e.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!Ep(r))||(s=e.src.slice(i).match(Cp),!s)?!1:(o||(n=e.push("html_inline","",0),n.content=e.src.slice(i,i+s[0].length),Ap(n.content)&&e.linkLevel++,$p(n.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Ji=bi,Dp=H.has,qp=H.isValidEntityCode,Qi=H.fromCodePoint,Tp=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,zp=/^&([a-z][a-z0-9]{1,31});/i,Lp=function(e,o){var r,s,a,n,i=e.pos,c=e.posMax;if(e.src.charCodeAt(i)!==38||i+1>=c)return!1;if(r=e.src.charCodeAt(i+1),r===35){if(a=e.src.slice(i).match(Tp),a)return o||(s=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),n=e.push("text_special","",0),n.content=qp(s)?Qi(s):Qi(65533),n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0}else if(a=e.src.slice(i).match(zp),a&&Dp(Ji,a[1]))return o||(n=e.push("text_special","",0),n.content=Ji[a[1]],n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0;return!1};function Xi(t,e){var o,r,s,a,n,i,c,l,d={},u=e.length;if(u){var b=0,h=-2,g=[];for(o=0;o<u;o++)if(s=e[o],g.push(0),(e[b].marker!==s.marker||h!==s.token-1)&&(b=o),h=s.token,s.length=s.length||0,!!s.close){for(d.hasOwnProperty(s.marker)||(d[s.marker]=[-1,-1,-1,-1,-1,-1]),n=d[s.marker][(s.open?3:0)+s.length%3],r=b-g[b]-1,i=r;r>n;r-=g[r]+1)if(a=e[r],a.marker===s.marker&&a.open&&a.end<0&&(c=!1,(a.close||s.open)&&(a.length+s.length)%3===0&&(a.length%3!==0||s.length%3!==0)&&(c=!0),!c)){l=r>0&&!e[r-1].open?g[r-1]+1:0,g[o]=o-r+l,g[r]=l,s.open=!1,a.end=o,a.close=!1,i=-1,h=-2;break}i!==-1&&(d[s.marker][(s.open?3:0)+(s.length||0)%3]=i)}}}var Rp=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Xi(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Xi(e,r[o].delimiters)},Ip=function(e){var o,r,s=0,a=e.tokens,n=e.tokens.length;for(o=r=0;o<n;o++)a[o].nesting<0&&s--,a[o].level=s,a[o].nesting>0&&s++,a[o].type==="text"&&o+1<n&&a[o+1].type==="text"?a[o+1].content=a[o].content+a[o+1].content:(o!==r&&(a[r]=a[o]),r++);o!==r&&(a.length=r)},aa=Js,ec=H.isWhiteSpace,tc=H.isPunctChar,oc=H.isMdAsciiPunct;function Fo(t,e,o,r){this.src=t,this.env=o,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Fo.prototype.pushPending=function(){var t=new aa("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},Fo.prototype.push=function(t,e,o){this.pending&&this.pushPending();var r=new aa(t,e,o),s=null;return o<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,o>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},Fo.prototype.scanDelims=function(t,e){var o=t,r,s,a,n,i,c,l,d,u,b=!0,h=!0,g=this.posMax,m=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;o<g&&this.src.charCodeAt(o)===m;)o++;return a=o-t,s=o<g?this.src.charCodeAt(o):32,l=oc(r)||tc(String.fromCharCode(r)),u=oc(s)||tc(String.fromCharCode(s)),c=ec(r),d=ec(s),d?b=!1:u&&(c||l||(b=!1)),c?h=!1:l&&(d||u||(h=!1)),e?(n=b,i=h):(n=b&&(!h||l),i=h&&(!b||u)),{can_open:n,can_close:i,length:a}},Fo.prototype.Token=aa;var Pp=Fo,rc=Ys,na=[["text",lp],["linkify",fp],["newline",hp],["escape",bp],["backticks",gp],["strikethrough",Lr.tokenize],["emphasis",Rr.tokenize],["link",vp],["image",_p],["autolink",kp],["html_inline",Sp],["entity",Lp]],ia=[["balance_pairs",Rp],["strikethrough",Lr.postProcess],["emphasis",Rr.postProcess],["fragments_join",Ip]];function Bo(){var t;for(this.ruler=new rc,t=0;t<na.length;t++)this.ruler.push(na[t][0],na[t][1]);for(this.ruler2=new rc,t=0;t<ia.length;t++)this.ruler2.push(ia[t][0],ia[t][1])}Bo.prototype.skipToken=function(t){var e,o,r=t.pos,s=this.ruler.getRules(""),a=s.length,n=t.md.options.maxNesting,i=t.cache;if(typeof i[r]<"u"){t.pos=i[r];return}if(t.level<n)for(o=0;o<a&&(t.level++,e=s[o](t,!0),t.level--,!e);o++);else t.pos=t.posMax;e||t.pos++,i[r]=t.pos},Bo.prototype.tokenize=function(t){for(var e,o,r=this.ruler.getRules(""),s=r.length,a=t.posMax,n=t.md.options.maxNesting;t.pos<a;){if(t.level<n)for(o=0;o<s&&(e=r[o](t,!1),!e);o++);if(e){if(t.pos>=a)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Bo.prototype.parse=function(t,e,o,r){var s,a,n,i=new this.State(t,e,o,r);for(this.tokenize(i),a=this.ruler2.getRules(""),n=a.length,s=0;s<n;s++)a[s](i)},Bo.prototype.State=Pp;var Mp=Bo,ca,sc;function Op(){return sc||(sc=1,ca=function(t){var e={};t=t||{},e.src_Any=Ci().source,e.src_Cc=$i().source,e.src_Z=Di().source,e.src_P=js.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var o="[><|]";return e.src_pseudo_letter="(?:(?!"+o+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+o+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),ca}function la(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(o){o&&Object.keys(o).forEach(function(r){t[r]=o[r]})}),t}function Ir(t){return Object.prototype.toString.call(t)}function Fp(t){return Ir(t)==="[object String]"}function Bp(t){return Ir(t)==="[object Object]"}function Np(t){return Ir(t)==="[object RegExp]"}function ac(t){return Ir(t)==="[object Function]"}function Vp(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var nc={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Hp(t){return Object.keys(t||{}).reduce(function(e,o){return e||nc.hasOwnProperty(o)},!1)}var Up={"http:":{validate:function(t,e,o){var r=t.slice(e);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(r)?r.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,o){var r=t.slice(e);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,o){var r=t.slice(e);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(r)?r.match(o.re.mailto)[0].length:0}}},jp="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Gp="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Zp(t){t.__index__=-1,t.__text_cache__=""}function Wp(t){return function(e,o){var r=e.slice(o);return t.test(r)?r.match(t)[0].length:0}}function ic(){return function(t,e){e.normalize(t)}}function Pr(t){var e=t.re=Op()(t.__opts__),o=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||o.push(jp),o.push(e.src_xn),e.src_tlds=o.join("|");function r(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var s=[];t.__compiled__={};function a(i,c){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+c)}Object.keys(t.__schemas__).forEach(function(i){var c=t.__schemas__[i];if(c!==null){var l={validate:null,link:null};if(t.__compiled__[i]=l,Bp(c)){Np(c.validate)?l.validate=Wp(c.validate):ac(c.validate)?l.validate=c.validate:a(i,c),ac(c.normalize)?l.normalize=c.normalize:c.normalize?a(i,c):l.normalize=ic();return}if(Fp(c)){s.push(i);return}a(i,c)}}),s.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:ic()};var n=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(Vp).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),Zp(t)}function Kp(t,e){var o=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(o,r);this.schema=t.__schema__.toLowerCase(),this.index=o+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function da(t,e){var o=new Kp(t,e);return t.__compiled__[o.schema].normalize(o,t),o}function we(t,e){if(!(this instanceof we))return new we(t,e);e||Hp(t)&&(e=t,t={}),this.__opts__=la({},nc,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=la({},Up,t),this.__compiled__={},this.__tlds__=Gp,this.__tlds_replaced__=!1,this.re={},Pr(this)}we.prototype.add=function(e,o){return this.__schemas__[e]=o,Pr(this),this},we.prototype.set=function(e){return this.__opts__=la(this.__opts__,e),this},we.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var o,r,s,a,n,i,c,l,d;if(this.re.schema_test.test(e)){for(c=this.re.schema_search,c.lastIndex=0;(o=c.exec(e))!==null;)if(a=this.testSchemaAt(e,o[2],c.lastIndex),a){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(n=r.index+r[1].length,(this.__index__<0||n<this.__index__)&&(this.__schema__="",this.__index__=n,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=e.indexOf("@"),d>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(n=s.index+s[1].length,i=s.index+s[0].length,(this.__index__<0||n<this.__index__||n===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=n,this.__last_index__=i))),this.__index__>=0},we.prototype.pretest=function(e){return this.re.pretest.test(e)},we.prototype.testSchemaAt=function(e,o,r){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(e,r,this):0},we.prototype.match=function(e){var o=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(da(this,o)),o=this.__last_index__);for(var s=o?e.slice(o):e;this.test(s);)r.push(da(this,o)),s=s.slice(this.__last_index__),o+=this.__last_index__;return r.length?r:null},we.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var o=this.re.schema_at_start.exec(e);if(!o)return null;var r=this.testSchemaAt(e,o[2],o[0].length);return r?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+r,da(this,0)):null},we.prototype.tlds=function(e,o){return e=Array.isArray(e)?e:[e],o?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,a){return r!==a[s-1]}).reverse(),Pr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Pr(this),this)},we.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},we.prototype.onCompile=function(){};var Yp=we;const eo=2147483647,Ze=36,fa=1,No=26,Jp=38,Qp=700,cc=72,lc=128,dc="-",Xp=/^xn--/,e0=/[^\0-\x7F]/,t0=/[\x2E\u3002\uFF0E\uFF61]/g,o0={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ua=Ze-fa,We=Math.floor,ha=String.fromCharCode;function bt(t){throw new RangeError(o0[t])}function r0(t,e){const o=[];let r=t.length;for(;r--;)o[r]=e(t[r]);return o}function fc(t,e){const o=t.split("@");let r="";o.length>1&&(r=o[0]+"@",t=o[1]),t=t.replace(t0,".");const s=t.split("."),a=r0(s,e).join(".");return r+a}function pa(t){const e=[];let o=0;const r=t.length;for(;o<r;){const s=t.charCodeAt(o++);if(s>=55296&&s<=56319&&o<r){const a=t.charCodeAt(o++);(a&64512)==56320?e.push(((s&1023)<<10)+(a&1023)+65536):(e.push(s),o--)}else e.push(s)}return e}const uc=t=>String.fromCodePoint(...t),s0=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ze},hc=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},pc=function(t,e,o){let r=0;for(t=o?We(t/Qp):t>>1,t+=We(t/e);t>ua*No>>1;r+=Ze)t=We(t/ua);return We(r+(ua+1)*t/(t+Jp))},ba=function(t){const e=[],o=t.length;let r=0,s=lc,a=cc,n=t.lastIndexOf(dc);n<0&&(n=0);for(let i=0;i<n;++i)t.charCodeAt(i)>=128&&bt("not-basic"),e.push(t.charCodeAt(i));for(let i=n>0?n+1:0;i<o;){const c=r;for(let d=1,u=Ze;;u+=Ze){i>=o&&bt("invalid-input");const b=s0(t.charCodeAt(i++));b>=Ze&&bt("invalid-input"),b>We((eo-r)/d)&&bt("overflow"),r+=b*d;const h=u<=a?fa:u>=a+No?No:u-a;if(b<h)break;const g=Ze-h;d>We(eo/g)&&bt("overflow"),d*=g}const l=e.length+1;a=pc(r-c,l,c==0),We(r/l)>eo-s&&bt("overflow"),s+=We(r/l),r%=l,e.splice(r++,0,s)}return String.fromCodePoint(...e)},ga=function(t){const e=[];t=pa(t);const o=t.length;let r=lc,s=0,a=cc;for(const c of t)c<128&&e.push(ha(c));const n=e.length;let i=n;for(n&&e.push(dc);i<o;){let c=eo;for(const d of t)d>=r&&d<c&&(c=d);const l=i+1;c-r>We((eo-s)/l)&&bt("overflow"),s+=(c-r)*l,r=c;for(const d of t)if(d<r&&++s>eo&&bt("overflow"),d===r){let u=s;for(let b=Ze;;b+=Ze){const h=b<=a?fa:b>=a+No?No:b-a;if(u<h)break;const g=u-h,m=Ze-h;e.push(ha(hc(h+g%m,0))),u=We(g/m)}e.push(ha(hc(u,0))),a=pc(s,l,i===n),s=0,++i}++s,++r}return e.join("")},bc=function(t){return fc(t,function(e){return Xp.test(e)?ba(e.slice(4).toLowerCase()):e})},gc=function(t){return fc(t,function(e){return e0.test(e)?"xn--"+ga(e):e})},a0=Al(Object.freeze(Object.defineProperty({__proto__:null,decode:ba,default:{version:"2.1.0",ucs2:{decode:pa,encode:uc},decode:ba,encode:ga,toASCII:gc,toUnicode:bc},encode:ga,toASCII:gc,toUnicode:bc,ucs2decode:pa,ucs2encode:uc},Symbol.toStringTag,{value:"Module"})));var n0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},i0={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},c0={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Vo=H,l0=$r,d0=ah,f0=Dh,u0=ip,h0=Mp,p0=Yp,Mt=Yt,mc=a0,b0={default:n0,zero:i0,commonmark:c0},g0=/^(vbscript|javascript|file|data):/,m0=/^data:image\/(gif|png|jpeg|webp);/;function v0(t){var e=t.trim().toLowerCase();return g0.test(e)?!!m0.test(e):!0}var vc=["http:","https:","mailto:"];function y0(t){var e=Mt.parse(t,!0);if(e.hostname&&(!e.protocol||vc.indexOf(e.protocol)>=0))try{e.hostname=mc.toASCII(e.hostname)}catch{}return Mt.encode(Mt.format(e))}function _0(t){var e=Mt.parse(t,!0);if(e.hostname&&(!e.protocol||vc.indexOf(e.protocol)>=0))try{e.hostname=mc.toUnicode(e.hostname)}catch{}return Mt.decode(Mt.format(e),Mt.decode.defaultChars+"%")}function Ae(t,e){if(!(this instanceof Ae))return new Ae(t,e);e||Vo.isString(t)||(e=t||{},t="default"),this.inline=new h0,this.block=new u0,this.core=new f0,this.renderer=new d0,this.linkify=new p0,this.validateLink=v0,this.normalizeLink=y0,this.normalizeLinkText=_0,this.utils=Vo,this.helpers=Vo.assign({},l0),this.options={},this.configure(t),e&&this.set(e)}Ae.prototype.set=function(t){return Vo.assign(this.options,t),this},Ae.prototype.configure=function(t){var e=this,o;if(Vo.isString(t)&&(o=t,t=b0[o],!t))throw new Error('Wrong `markdown-it` preset "'+o+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},Ae.prototype.enable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.enable(t,!0))},this),o=o.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Ae.prototype.disable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.disable(t,!0))},this),o=o.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Ae.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},Ae.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var o=new this.core.State(t,this,e);return this.core.process(o),o.tokens},Ae.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Ae.prototype.parseInline=function(t,e){var o=new this.core.State(t,this,e);return o.inlineMode=!0,this.core.process(o),o.tokens},Ae.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var w0=Ae,x0=w0;const k0=us(x0);function C0(t,e){var o,r,s=t.attrs[t.attrIndex("href")][1];for(o=0;o<e.length;++o){if(r=e[o],typeof r.matcher=="function"){if(r.matcher(s,r))return r;continue}return r}}function A0(t,e,o){Object.keys(o).forEach(function(r){var s,a=o[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,a]):e[t].attrs[s][1]=a})}function yc(t,e){e?e=Array.isArray(e)?e:[e]:e=[],Object.freeze(e);var o=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(r,s,a,n,i){var c=C0(r[s],e),l=c&&c.attrs;return l&&A0(s,r,l),o(r,s,a,n,i)}}yc.defaultRender=function(t,e,o,r,s){return s.renderToken(t,e,o)};var $0=yc;const E0=us($0);function S0(){const t=new k0({html:!0,breaks:!0,linkify:!0});return t.use(E0,{attrs:{target:"_blank",rel:"noopener"}}),t}async function _c(t){const o=S0().render(t);return w`${St(o)}`}var D0=Object.defineProperty,q0=Object.getOwnPropertyDescriptor,Mr=(t,e,o,r)=>{for(var s=r>1?void 0:r?q0(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&D0(e,o,s),s};let to=class extends he{constructor(){super(...arguments),this.type="assistant"}disconnectedCallback(){super.disconnectedCallback(),this._removeCopyEvents()}updated(t){super.updated(t),t.has("message")&&requestIdleCallback(()=>{this._addCopyEvents()})}get _isBot(){return this.message.author==="assistant"||this.message.author==="system"}_removeMessageHandler(){this.emit("message:remove",{detail:this.message})}_addCopyEvents(){this.copyBtns.forEach(t=>{t.addEventListener("click",()=>{var o,r;const e=(r=(o=t.parentElement)==null?void 0:o.nextElementSibling)==null?void 0:r.textContent;e&&Vl(e).then(()=>{t.textContent="Success",setTimeout(()=>{t.textContent="Copy"},500)})})})}_removeCopyEvents(){this.copyBtns.forEach(t=>{t.removeEventListener("click",()=>{})})}render(){return Kt(this.message.data||this.message.isThinking,()=>w`
5754
+ `:">",a)},Pt.prototype.renderInline=function(t,e,o){for(var r,s="",a=this.rules,n=0,i=t.length;n<i;n++)r=t[n].type,typeof a[r]<"u"?s+=a[r](t,n,e,o,this):s+=this.renderToken(t,n,e);return s},Pt.prototype.renderInlineAsText=function(t,e,o){for(var r="",s=0,a=t.length;s<a;s++)t[s].type==="text"?r+=t[s].content:t[s].type==="image"?r+=this.renderInlineAsText(t[s].children,e,o):t[s].type==="softbreak"&&(r+=`
5755
+ `);return r},Pt.prototype.render=function(t,e,o){var r,s,a,n="",i=this.rules;for(r=0,s=t.length;r<s;r++)a=t[r].type,a==="inline"?n+=this.renderInline(t[r].children,e,o):typeof i[a]<"u"?n+=i[a](t,r,e,o,this):n+=this.renderToken(t,r,e,o);return n};var Sf=Pt;function Te(){this.__rules__=[],this.__cache__=null}Te.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},Te.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(o){o.enabled&&o.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(o){t.__cache__[o]=[],t.__rules__.forEach(function(r){r.enabled&&(o&&r.alt.indexOf(o)<0||t.__cache__[o].push(r.fn))})})},Te.prototype.at=function(t,e,o){var r=this.__find__(t),s=o||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=s.alt||[],this.__cache__=null},Te.prototype.before=function(t,e,o,r){var s=this.__find__(t),a=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null},Te.prototype.after=function(t,e,o,r){var s=this.__find__(t),a=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:o,alt:a.alt||[]}),this.__cache__=null},Te.prototype.push=function(t,e,o){var r=o||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},Te.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var o=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!0,o.push(r)},this),this.__cache__=null,o},Te.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(o){o.enabled=!1}),this.enable(t,e)},Te.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var o=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!1,o.push(r)},this),this.__cache__=null,o},Te.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var bs=Te,Df=/\r\n?|\n/g,qf=/\0/g,Tf=function(e){var o;o=e.src.replace(Df,`
5756
+ `),o=o.replace(qf,"�"),e.src=o},zf=function(e){var o;e.inlineMode?(o=new e.Token("inline","",0),o.content=e.src,o.map=[0,1],o.children=[],e.tokens.push(o)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},Lf=function(e){var o=e.tokens,r,s,a;for(s=0,a=o.length;s<a;s++)r=o[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Rf=U.arrayReplaceAt;function Of(t){return/^<a[>\s]/i.test(t)}function Ff(t){return/^<\/a\s*>/i.test(t)}var Pf=function(e){var o,r,s,a,n,i,c,l,f,h,b,p,m,g,w,y,v=e.tokens,C;if(e.md.options.linkify){for(r=0,s=v.length;r<s;r++)if(!(v[r].type!=="inline"||!e.md.linkify.pretest(v[r].content)))for(a=v[r].children,m=0,o=a.length-1;o>=0;o--){if(i=a[o],i.type==="link_close"){for(o--;a[o].level!==i.level&&a[o].type!=="link_open";)o--;continue}if(i.type==="html_inline"&&(Of(i.content)&&m>0&&m--,Ff(i.content)&&m++),!(m>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(f=i.content,C=e.md.linkify.match(f),c=[],p=i.level,b=0,C.length>0&&C[0].index===0&&o>0&&a[o-1].type==="text_special"&&(C=C.slice(1)),l=0;l<C.length;l++)g=C[l].url,w=e.md.normalizeLink(g),e.md.validateLink(w)&&(y=C[l].text,C[l].schema?C[l].schema==="mailto:"&&!/^mailto:/i.test(y)?y=e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):y=e.md.normalizeLinkText(y):y=e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),h=C[l].index,h>b&&(n=new e.Token("text","",0),n.content=f.slice(b,h),n.level=p,c.push(n)),n=new e.Token("link_open","a",1),n.attrs=[["href",w]],n.level=p++,n.markup="linkify",n.info="auto",c.push(n),n=new e.Token("text","",0),n.content=y,n.level=p,c.push(n),n=new e.Token("link_close","a",-1),n.level=--p,n.markup="linkify",n.info="auto",c.push(n),b=C[l].lastIndex);b<f.length&&(n=new e.Token("text","",0),n.content=f.slice(b),n.level=p,c.push(n)),v[r].children=a=Rf(a,o,c)}}}},Dn=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,If=/\((c|tm|r)\)/i,Mf=/\((c|tm|r)\)/ig,Bf={c:"©",r:"®",tm:"™"};function Vf(t,e){return Bf[e.toLowerCase()]}function Uf(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&(o.content=o.content.replace(Mf,Vf)),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}function Nf(t){var e,o,r=0;for(e=t.length-1;e>=0;e--)o=t[e],o.type==="text"&&!r&&Dn.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),o.type==="link_open"&&o.info==="auto"&&r--,o.type==="link_close"&&o.info==="auto"&&r++}var jf=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type==="inline"&&(If.test(e.tokens[o].content)&&Uf(e.tokens[o].children),Dn.test(e.tokens[o].content)&&Nf(e.tokens[o].children))},qn=U.isWhiteSpace,Tn=U.isPunctChar,zn=U.isMdAsciiPunct,Hf=/['"]/,Ln=/['"]/g,Rn="’";function or(t,e,o){return t.slice(0,e)+o+t.slice(e+1)}function Gf(t,e){var o,r,s,a,n,i,c,l,f,h,b,p,m,g,w,y,v,C,$,E,x;for($=[],o=0;o<t.length;o++){for(r=t[o],c=t[o].level,v=$.length-1;v>=0&&!($[v].level<=c);v--);if($.length=v+1,r.type==="text"){s=r.content,n=0,i=s.length;e:for(;n<i&&(Ln.lastIndex=n,a=Ln.exec(s),!!a);){if(w=y=!0,n=a.index+1,C=a[0]==="'",f=32,a.index-1>=0)f=s.charCodeAt(a.index-1);else for(v=o-1;v>=0&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v--)if(t[v].content){f=t[v].content.charCodeAt(t[v].content.length-1);break}if(h=32,n<i)h=s.charCodeAt(n);else for(v=o+1;v<t.length&&!(t[v].type==="softbreak"||t[v].type==="hardbreak");v++)if(t[v].content){h=t[v].content.charCodeAt(0);break}if(b=zn(f)||Tn(String.fromCharCode(f)),p=zn(h)||Tn(String.fromCharCode(h)),m=qn(f),g=qn(h),g?w=!1:p&&(m||b||(w=!1)),m?y=!1:b&&(g||p||(y=!1)),h===34&&a[0]==='"'&&f>=48&&f<=57&&(y=w=!1),w&&y&&(w=b,y=p),!w&&!y){C&&(r.content=or(r.content,a.index,Rn));continue}if(y){for(v=$.length-1;v>=0&&(l=$[v],!($[v].level<c));v--)if(l.single===C&&$[v].level===c){l=$[v],C?(E=e.md.options.quotes[2],x=e.md.options.quotes[3]):(E=e.md.options.quotes[0],x=e.md.options.quotes[1]),r.content=or(r.content,a.index,x),t[l.token].content=or(t[l.token].content,l.pos,E),n+=x.length-1,l.token===o&&(n+=E.length-1),s=r.content,i=s.length,$.length=v;continue e}}w?$.push({token:o,pos:a.index,single:C,level:c}):y&&C&&(r.content=or(r.content,a.index,Rn))}}}}var Wf=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)e.tokens[o].type!=="inline"||!Hf.test(e.tokens[o].content)||Gf(e.tokens[o].children,e)},Zf=function(e){var o,r,s,a,n,i,c=e.tokens;for(o=0,r=c.length;o<r;o++)if(c[o].type==="inline"){for(s=c[o].children,n=s.length,a=0;a<n;a++)s[a].type==="text_special"&&(s[a].type="text");for(a=i=0;a<n;a++)s[a].type==="text"&&a+1<n&&s[a+1].type==="text"?s[a+1].content=s[a].content+s[a+1].content:(a!==i&&(s[i]=s[a]),i++);a!==i&&(s.length=i)}};function It(t,e,o){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=o,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}It.prototype.attrIndex=function(e){var o,r,s;if(!this.attrs)return-1;for(o=this.attrs,r=0,s=o.length;r<s;r++)if(o[r][0]===e)return r;return-1},It.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},It.prototype.attrSet=function(e,o){var r=this.attrIndex(e),s=[e,o];r<0?this.attrPush(s):this.attrs[r]=s},It.prototype.attrGet=function(e){var o=this.attrIndex(e),r=null;return o>=0&&(r=this.attrs[o][1]),r},It.prototype.attrJoin=function(e,o){var r=this.attrIndex(e);r<0?this.attrPush([e,o]):this.attrs[r][1]=this.attrs[r][1]+" "+o};var gs=It,Kf=gs;function On(t,e,o){this.src=t,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=e}On.prototype.Token=Kf;var Jf=On,Yf=bs,ms=[["normalize",Tf],["block",zf],["inline",Lf],["linkify",Pf],["replacements",jf],["smartquotes",Wf],["text_join",Zf]];function vs(){this.ruler=new Yf;for(var t=0;t<ms.length;t++)this.ruler.push(ms[t][0],ms[t][1])}vs.prototype.process=function(t){var e,o,r;for(r=this.ruler.getRules(""),e=0,o=r.length;e<o;e++)r[e](t)},vs.prototype.State=Jf;var Qf=vs,ys=U.isSpace;function ws(t,e){var o=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(o,r)}function Fn(t){var e=[],o=0,r=t.length,s,a=!1,n=0,i="";for(s=t.charCodeAt(o);o<r;)s===124&&(a?(i+=t.substring(n,o-1),n=o):(e.push(i+t.substring(n,o)),i="",n=o+1)),a=s===92,o++,s=t.charCodeAt(o);return e.push(i+t.substring(n)),e}var Xf=function(e,o,r,s){var a,n,i,c,l,f,h,b,p,m,g,w,y,v,C,$,E,x;if(o+2>r||(f=o+1,e.sCount[f]<e.blkIndent)||e.sCount[f]-e.blkIndent>=4||(i=e.bMarks[f]+e.tShift[f],i>=e.eMarks[f])||(E=e.src.charCodeAt(i++),E!==124&&E!==45&&E!==58)||i>=e.eMarks[f]||(x=e.src.charCodeAt(i++),x!==124&&x!==45&&x!==58&&!ys(x))||E===45&&ys(x))return!1;for(;i<e.eMarks[f];){if(a=e.src.charCodeAt(i),a!==124&&a!==45&&a!==58&&!ys(a))return!1;i++}for(n=ws(e,o+1),h=n.split("|"),m=[],c=0;c<h.length;c++){if(g=h[c].trim(),!g){if(c===0||c===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;g.charCodeAt(g.length-1)===58?m.push(g.charCodeAt(0)===58?"center":"right"):g.charCodeAt(0)===58?m.push("left"):m.push("")}if(n=ws(e,o).trim(),n.indexOf("|")===-1||e.sCount[o]-e.blkIndent>=4||(h=Fn(n),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),b=h.length,b===0||b!==m.length))return!1;if(s)return!0;for(v=e.parentType,e.parentType="table",$=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=w=[o,0],p=e.push("thead_open","thead",1),p.map=[o,o+1],p=e.push("tr_open","tr",1),p.map=[o,o+1],c=0;c<h.length;c++)p=e.push("th_open","th",1),m[c]&&(p.attrs=[["style","text-align:"+m[c]]]),p=e.push("inline","",0),p.content=h[c].trim(),p.children=[],p=e.push("th_close","th",-1);for(p=e.push("tr_close","tr",-1),p=e.push("thead_close","thead",-1),f=o+2;f<r&&!(e.sCount[f]<e.blkIndent);f++){for(C=!1,c=0,l=$.length;c<l;c++)if($[c](e,f,r,!0)){C=!0;break}if(C||(n=ws(e,f).trim(),!n)||e.sCount[f]-e.blkIndent>=4)break;for(h=Fn(n),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f===o+2&&(p=e.push("tbody_open","tbody",1),p.map=y=[o+2,0]),p=e.push("tr_open","tr",1),p.map=[f,f+1],c=0;c<b;c++)p=e.push("td_open","td",1),m[c]&&(p.attrs=[["style","text-align:"+m[c]]]),p=e.push("inline","",0),p.content=h[c]?h[c].trim():"",p.children=[],p=e.push("td_close","td",-1);p=e.push("tr_close","tr",-1)}return y&&(p=e.push("tbody_close","tbody",-1),y[1]=f),p=e.push("table_close","table",-1),w[1]=f,e.parentType=v,e.line=f,!0},eu=function(e,o,r){var s,a,n;if(e.sCount[o]-e.blkIndent<4)return!1;for(a=s=o+1;s<r;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,a=s;continue}break}return e.line=a,n=e.push("code_block","code",0),n.content=e.getLines(o,a,4+e.blkIndent,!1)+`
5757
+ `,n.map=[o,e.line],!0},tu=function(e,o,r,s){var a,n,i,c,l,f,h,b=!1,p=e.bMarks[o]+e.tShift[o],m=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||p+3>m||(a=e.src.charCodeAt(p),a!==126&&a!==96)||(l=p,p=e.skipChars(p,a),n=p-l,n<3)||(h=e.src.slice(l,p),i=e.src.slice(p,m),a===96&&i.indexOf(String.fromCharCode(a))>=0))return!1;if(s)return!0;for(c=o;c++,!(c>=r||(p=l=e.bMarks[c]+e.tShift[c],m=e.eMarks[c],p<m&&e.sCount[c]<e.blkIndent));)if(e.src.charCodeAt(p)===a&&!(e.sCount[c]-e.blkIndent>=4)&&(p=e.skipChars(p,a),!(p-l<n)&&(p=e.skipSpaces(p),!(p<m)))){b=!0;break}return n=e.sCount[o],e.line=c+(b?1:0),f=e.push("fence","code",0),f.info=i,f.content=e.getLines(o+1,c,n,!0),f.markup=h,f.map=[o,e.line],!0},ou=U.isSpace,ru=function(e,o,r,s){var a,n,i,c,l,f,h,b,p,m,g,w,y,v,C,$,E,x,q,M,S=e.lineMax,T=e.bMarks[o]+e.tShift[o],Q=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(T)!==62)return!1;if(s)return!0;for(m=[],g=[],v=[],C=[],x=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",b=o;b<r&&(M=e.sCount[b]<e.blkIndent,T=e.bMarks[b]+e.tShift[b],Q=e.eMarks[b],!(T>=Q));b++){if(e.src.charCodeAt(T++)===62&&!M){for(c=e.sCount[b]+1,e.src.charCodeAt(T)===32?(T++,c++,a=!1,$=!0):e.src.charCodeAt(T)===9?($=!0,(e.bsCount[b]+c)%4===3?(T++,c++,a=!1):a=!0):$=!1,p=c,m.push(e.bMarks[b]),e.bMarks[b]=T;T<Q&&(n=e.src.charCodeAt(T),ou(n));){n===9?p+=4-(p+e.bsCount[b]+(a?1:0))%4:p++;T++}f=T>=Q,g.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+($?1:0),v.push(e.sCount[b]),e.sCount[b]=p-c,C.push(e.tShift[b]),e.tShift[b]=T-e.bMarks[b];continue}if(f)break;for(E=!1,i=0,l=x.length;i<l;i++)if(x[i](e,b,r,!0)){E=!0;break}if(E){e.lineMax=b,e.blkIndent!==0&&(m.push(e.bMarks[b]),g.push(e.bsCount[b]),C.push(e.tShift[b]),v.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}m.push(e.bMarks[b]),g.push(e.bsCount[b]),C.push(e.tShift[b]),v.push(e.sCount[b]),e.sCount[b]=-1}for(w=e.blkIndent,e.blkIndent=0,q=e.push("blockquote_open","blockquote",1),q.markup=">",q.map=h=[o,0],e.md.block.tokenize(e,o,b),q=e.push("blockquote_close","blockquote",-1),q.markup=">",e.lineMax=S,e.parentType=y,h[1]=e.line,i=0;i<C.length;i++)e.bMarks[i+o]=m[i],e.tShift[i+o]=C[i],e.sCount[i+o]=v[i],e.bsCount[i+o]=g[i];return e.blkIndent=w,!0},su=U.isSpace,au=function(e,o,r,s){var a,n,i,c,l=e.bMarks[o]+e.tShift[o],f=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l++),a!==42&&a!==45&&a!==95))return!1;for(n=1;l<f;){if(i=e.src.charCodeAt(l++),i!==a&&!su(i))return!1;i===a&&n++}return n<3?!1:(s||(e.line=o+1,c=e.push("hr","hr",0),c.map=[o,e.line],c.markup=Array(n+1).join(String.fromCharCode(a))),!0)},Pn=U.isSpace;function In(t,e){var o,r,s,a;return r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],o=t.src.charCodeAt(r++),o!==42&&o!==45&&o!==43||r<s&&(a=t.src.charCodeAt(r),!Pn(a))?-1:r}function Mn(t,e){var o,r=t.bMarks[e]+t.tShift[e],s=r,a=t.eMarks[e];if(s+1>=a||(o=t.src.charCodeAt(s++),o<48||o>57))return-1;for(;;){if(s>=a)return-1;if(o=t.src.charCodeAt(s++),o>=48&&o<=57){if(s-r>=10)return-1;continue}if(o===41||o===46)break;return-1}return s<a&&(o=t.src.charCodeAt(s),!Pn(o))?-1:s}function nu(t,e){var o,r,s=t.level+2;for(o=e+2,r=t.tokens.length-2;o<r;o++)t.tokens[o].level===s&&t.tokens[o].type==="paragraph_open"&&(t.tokens[o+2].hidden=!0,t.tokens[o].hidden=!0,o+=2)}var iu=function(e,o,r,s){var a,n,i,c,l,f,h,b,p,m,g,w,y,v,C,$,E,x,q,M,S,T,Q,X,Le,k,z,A=o,te=!1,xr=!0;if(e.sCount[A]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[A]-e.listIndent>=4&&e.sCount[A]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[A]>=e.blkIndent&&(te=!0),(T=Mn(e,A))>=0){if(h=!0,X=e.bMarks[A]+e.tShift[A],y=Number(e.src.slice(X,T-1)),te&&y!==1)return!1}else if((T=In(e,A))>=0)h=!1;else return!1;if(te&&e.skipSpaces(T)>=e.eMarks[A])return!1;if(s)return!0;for(w=e.src.charCodeAt(T-1),g=e.tokens.length,h?(z=e.push("ordered_list_open","ol",1),y!==1&&(z.attrs=[["start",y]])):z=e.push("bullet_list_open","ul",1),z.map=m=[A,0],z.markup=String.fromCharCode(w),Q=!1,k=e.md.block.ruler.getRules("list"),E=e.parentType,e.parentType="list";A<r;){for(S=T,v=e.eMarks[A],f=C=e.sCount[A]+T-(e.bMarks[A]+e.tShift[A]);S<v;){if(a=e.src.charCodeAt(S),a===9)C+=4-(C+e.bsCount[A])%4;else if(a===32)C++;else break;S++}if(n=S,n>=v?l=1:l=C-f,l>4&&(l=1),c=f+l,z=e.push("list_item_open","li",1),z.markup=String.fromCharCode(w),z.map=b=[A,0],h&&(z.info=e.src.slice(X,T-1)),M=e.tight,q=e.tShift[A],x=e.sCount[A],$=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[A]=n-e.bMarks[A],e.sCount[A]=C,n>=v&&e.isEmpty(A+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,A,r,!0),(!e.tight||Q)&&(xr=!1),Q=e.line-A>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=$,e.tShift[A]=q,e.sCount[A]=x,e.tight=M,z=e.push("list_item_close","li",-1),z.markup=String.fromCharCode(w),A=e.line,b[1]=A,A>=r||e.sCount[A]<e.blkIndent||e.sCount[A]-e.blkIndent>=4)break;for(Le=!1,i=0,p=k.length;i<p;i++)if(k[i](e,A,r,!0)){Le=!0;break}if(Le)break;if(h){if(T=Mn(e,A),T<0)break;X=e.bMarks[A]+e.tShift[A]}else if(T=In(e,A),T<0)break;if(w!==e.src.charCodeAt(T-1))break}return h?z=e.push("ordered_list_close","ol",-1):z=e.push("bullet_list_close","ul",-1),z.markup=String.fromCharCode(w),m[1]=A,e.line=A,e.parentType=E,xr&&nu(e,g),!0},cu=U.normalizeReference,rr=U.isSpace,lu=function(e,o,r,s){var a,n,i,c,l,f,h,b,p,m,g,w,y,v,C,$,E=0,x=e.bMarks[o]+e.tShift[o],q=e.eMarks[o],M=o+1;if(e.sCount[o]-e.blkIndent>=4||e.src.charCodeAt(x)!==91)return!1;for(;++x<q;)if(e.src.charCodeAt(x)===93&&e.src.charCodeAt(x-1)!==92){if(x+1===q||e.src.charCodeAt(x+1)!==58)return!1;break}for(c=e.lineMax,C=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";M<c&&!e.isEmpty(M);M++)if(!(e.sCount[M]-e.blkIndent>3)&&!(e.sCount[M]<0)){for(v=!1,f=0,h=C.length;f<h;f++)if(C[f](e,M,c,!0)){v=!0;break}if(v)break}for(y=e.getLines(o,M,e.blkIndent,!1).trim(),q=y.length,x=1;x<q;x++){if(a=y.charCodeAt(x),a===91)return!1;if(a===93){p=x;break}else a===10?E++:a===92&&(x++,x<q&&y.charCodeAt(x)===10&&E++)}if(p<0||y.charCodeAt(p+1)!==58)return!1;for(x=p+2;x<q;x++)if(a=y.charCodeAt(x),a===10)E++;else if(!rr(a))break;if(g=e.md.helpers.parseLinkDestination(y,x,q),!g.ok||(l=e.md.normalizeLink(g.str),!e.md.validateLink(l)))return!1;for(x=g.pos,E+=g.lines,n=x,i=E,w=x;x<q;x++)if(a=y.charCodeAt(x),a===10)E++;else if(!rr(a))break;for(g=e.md.helpers.parseLinkTitle(y,x,q),x<q&&w!==x&&g.ok?($=g.str,x=g.pos,E+=g.lines):($="",x=n,E=i);x<q&&(a=y.charCodeAt(x),!!rr(a));)x++;if(x<q&&y.charCodeAt(x)!==10&&$)for($="",x=n,E=i;x<q&&(a=y.charCodeAt(x),!!rr(a));)x++;return x<q&&y.charCodeAt(x)!==10||(b=cu(y.slice(1,p)),!b)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[b]>"u"&&(e.env.references[b]={title:$,href:l}),e.parentType=m,e.line=o+E+1),!0)},du=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],sr={},fu="[a-zA-Z_:][a-zA-Z0-9:._-]*",uu="[^\"'=<>`\\x00-\\x20]+",hu="'[^']*'",pu='"[^"]*"',bu="(?:"+uu+"|"+hu+"|"+pu+")",gu="(?:\\s+"+fu+"(?:\\s*=\\s*"+bu+")?)",Bn="<[A-Za-z][A-Za-z0-9\\-]*"+gu+"*\\s*\\/?>",Vn="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",mu="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",vu="<[?][\\s\\S]*?[?]>",yu="<![A-Z]+\\s+[^>]*>",wu="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",_u=new RegExp("^(?:"+Bn+"|"+Vn+"|"+mu+"|"+vu+"|"+yu+"|"+wu+")"),xu=new RegExp("^(?:"+Bn+"|"+Vn+")");sr.HTML_TAG_RE=_u,sr.HTML_OPEN_CLOSE_TAG_RE=xu;var ku=du,Cu=sr.HTML_OPEN_CLOSE_TAG_RE,Mt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+ku.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Cu.source+"\\s*$"),/^$/,!1]],Au=function(e,o,r,s){var a,n,i,c,l=e.bMarks[o]+e.tShift[o],f=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(c=e.src.slice(l,f),a=0;a<Mt.length&&!Mt[a][0].test(c);a++);if(a===Mt.length)return!1;if(s)return Mt[a][2];if(n=o+1,!Mt[a][1].test(c)){for(;n<r&&!(e.sCount[n]<e.blkIndent);n++)if(l=e.bMarks[n]+e.tShift[n],f=e.eMarks[n],c=e.src.slice(l,f),Mt[a][1].test(c)){c.length!==0&&n++;break}}return e.line=n,i=e.push("html_block","",0),i.map=[o,n],i.content=e.getLines(o,n,e.blkIndent,!0),!0},Un=U.isSpace,$u=function(e,o,r,s){var a,n,i,c,l=e.bMarks[o]+e.tShift[o],f=e.eMarks[o];if(e.sCount[o]-e.blkIndent>=4||(a=e.src.charCodeAt(l),a!==35||l>=f))return!1;for(n=1,a=e.src.charCodeAt(++l);a===35&&l<f&&n<=6;)n++,a=e.src.charCodeAt(++l);return n>6||l<f&&!Un(a)?!1:(s||(f=e.skipSpacesBack(f,l),i=e.skipCharsBack(f,35,l),i>l&&Un(e.src.charCodeAt(i-1))&&(f=i),e.line=o+1,c=e.push("heading_open","h"+String(n),1),c.markup="########".slice(0,n),c.map=[o,e.line],c=e.push("inline","",0),c.content=e.src.slice(l,f).trim(),c.map=[o,e.line],c.children=[],c=e.push("heading_close","h"+String(n),-1),c.markup="########".slice(0,n)),!0)},Eu=function(e,o,r){var s,a,n,i,c,l,f,h,b,p=o+1,m,g=e.md.block.ruler.getRules("paragraph");if(e.sCount[o]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";p<r&&!e.isEmpty(p);p++)if(!(e.sCount[p]-e.blkIndent>3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],f=e.eMarks[p],l<f&&(b=e.src.charCodeAt(l),(b===45||b===61)&&(l=e.skipChars(l,b),l=e.skipSpaces(l),l>=f)))){h=b===61?1:2;break}if(!(e.sCount[p]<0)){for(a=!1,n=0,i=g.length;n<i;n++)if(g[n](e,p,r,!0)){a=!0;break}if(a)break}}return h?(s=e.getLines(o,p,e.blkIndent,!1).trim(),e.line=p+1,c=e.push("heading_open","h"+String(h),1),c.markup=String.fromCharCode(b),c.map=[o,e.line],c=e.push("inline","",0),c.content=s,c.map=[o,e.line-1],c.children=[],c=e.push("heading_close","h"+String(h),-1),c.markup=String.fromCharCode(b),e.parentType=m,!0):!1},Su=function(e,o,r){var s,a,n,i,c,l,f=o+1,h=e.md.block.ruler.getRules("paragraph");for(l=e.parentType,e.parentType="paragraph";f<r&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)&&!(e.sCount[f]<0)){for(a=!1,n=0,i=h.length;n<i;n++)if(h[n](e,f,r,!0)){a=!0;break}if(a)break}return s=e.getLines(o,f,e.blkIndent,!1).trim(),e.line=f,c=e.push("paragraph_open","p",1),c.map=[o,e.line],c=e.push("inline","",0),c.content=s,c.map=[o,e.line],c.children=[],c=e.push("paragraph_close","p",-1),e.parentType=l,!0},Nn=gs,ar=U.isSpace;function He(t,e,o,r){var s,a,n,i,c,l,f,h;for(this.src=t,this.md=e,this.env=o,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,h=!1,n=i=l=f=0,c=a.length;i<c;i++){if(s=a.charCodeAt(i),!h)if(ar(s)){l++,s===9?f+=4-f%4:f++;continue}else h=!0;(s===10||i===c-1)&&(s!==10&&i++,this.bMarks.push(n),this.eMarks.push(i),this.tShift.push(l),this.sCount.push(f),this.bsCount.push(0),h=!1,l=0,f=0,n=i+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}He.prototype.push=function(t,e,o){var r=new Nn(t,e,o);return r.block=!0,o<0&&this.level--,r.level=this.level,o>0&&this.level++,this.tokens.push(r),r},He.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},He.prototype.skipEmptyLines=function(e){for(var o=this.lineMax;e<o&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},He.prototype.skipSpaces=function(e){for(var o,r=this.src.length;e<r&&(o=this.src.charCodeAt(e),!!ar(o));e++);return e},He.prototype.skipSpacesBack=function(e,o){if(e<=o)return e;for(;e>o;)if(!ar(this.src.charCodeAt(--e)))return e+1;return e},He.prototype.skipChars=function(e,o){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===o;e++);return e},He.prototype.skipCharsBack=function(e,o,r){if(e<=r)return e;for(;e>r;)if(o!==this.src.charCodeAt(--e))return e+1;return e},He.prototype.getLines=function(e,o,r,s){var a,n,i,c,l,f,h,b=e;if(e>=o)return"";for(f=new Array(o-e),a=0;b<o;b++,a++){for(n=0,h=c=this.bMarks[b],b+1<o||s?l=this.eMarks[b]+1:l=this.eMarks[b];c<l&&n<r;){if(i=this.src.charCodeAt(c),ar(i))i===9?n+=4-(n+this.bsCount[b])%4:n++;else if(c-h<this.tShift[b])n++;else break;c++}n>r?f[a]=new Array(n-r+1).join(" ")+this.src.slice(c,l):f[a]=this.src.slice(c,l)}return f.join("")},He.prototype.Token=Nn;var Du=He,qu=bs,nr=[["table",Xf,["paragraph","reference"]],["code",eu],["fence",tu,["paragraph","reference","blockquote","list"]],["blockquote",ru,["paragraph","reference","blockquote","list"]],["hr",au,["paragraph","reference","blockquote","list"]],["list",iu,["paragraph","reference","blockquote"]],["reference",lu],["html_block",Au,["paragraph","reference","blockquote"]],["heading",$u,["paragraph","reference","blockquote"]],["lheading",Eu],["paragraph",Su]];function ir(){this.ruler=new qu;for(var t=0;t<nr.length;t++)this.ruler.push(nr[t][0],nr[t][1],{alt:(nr[t][2]||[]).slice()})}ir.prototype.tokenize=function(t,e,o){for(var r,s,a,n=this.ruler.getRules(""),i=n.length,c=e,l=!1,f=t.md.options.maxNesting;c<o&&(t.line=c=t.skipEmptyLines(c),!(c>=o||t.sCount[c]<t.blkIndent));){if(t.level>=f){t.line=o;break}for(a=t.line,s=0;s<i;s++)if(r=n[s](t,c,o,!1),r){if(a>=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),c=t.line,c<o&&t.isEmpty(c)&&(l=!0,c++,t.line=c)}},ir.prototype.parse=function(t,e,o,r){var s;t&&(s=new this.State(t,e,o,r),this.tokenize(s,s.line,s.lineMax))},ir.prototype.State=Du;var Tu=ir;function zu(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var Lu=function(e,o){for(var r=e.pos;r<e.posMax&&!zu(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(o||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Ru=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Ou=function(e,o){var r,s,a,n,i,c,l,f;return!e.md.options.linkify||e.linkLevel>0||(r=e.pos,s=e.posMax,r+3>s)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(a=e.pending.match(Ru),!a)||(n=a[1],i=e.md.linkify.matchAtStart(e.src.slice(r-n.length)),!i)||(c=i.url,c.length<=n.length)||(c=c.replace(/\*+$/,""),l=e.md.normalizeLink(c),!e.md.validateLink(l))?!1:(o||(e.pending=e.pending.slice(0,-n.length),f=e.push("link_open","a",1),f.attrs=[["href",l]],f.markup="linkify",f.info="auto",f=e.push("text","",0),f.content=e.md.normalizeLinkText(c),f=e.push("link_close","a",-1),f.markup="linkify",f.info="auto"),e.pos+=c.length-n.length,!0)},Fu=U.isSpace,Pu=function(e,o){var r,s,a,n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;if(r=e.pending.length-1,s=e.posMax,!o)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<s&&Fu(e.src.charCodeAt(n));)n++;return e.pos=n,!0},Iu=U.isSpace,_s=[],jn=0;jn<256;jn++)_s.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){_s[t.charCodeAt(0)]=1});var Mu=function(e,o){var r,s,a,n,i,c=e.pos,l=e.posMax;if(e.src.charCodeAt(c)!==92||(c++,c>=l))return!1;if(r=e.src.charCodeAt(c),r===10){for(o||e.push("hardbreak","br",0),c++;c<l&&(r=e.src.charCodeAt(c),!!Iu(r));)c++;return e.pos=c,!0}return n=e.src[c],r>=55296&&r<=56319&&c+1<l&&(s=e.src.charCodeAt(c+1),s>=56320&&s<=57343&&(n+=e.src[c+1],c++)),a="\\"+n,o||(i=e.push("text_special","",0),r<256&&_s[r]!==0?i.content=n:i.content=a,i.markup=a,i.info="escape"),e.pos=c+1,!0},Bu=function(e,o){var r,s,a,n,i,c,l,f,h=e.pos,b=e.src.charCodeAt(h);if(b!==96)return!1;for(r=h,h++,s=e.posMax;h<s&&e.src.charCodeAt(h)===96;)h++;if(a=e.src.slice(r,h),l=a.length,e.backticksScanned&&(e.backticks[l]||0)<=r)return o||(e.pending+=a),e.pos+=l,!0;for(c=h;(i=e.src.indexOf("`",c))!==-1;){for(c=i+1;c<s&&e.src.charCodeAt(c)===96;)c++;if(f=c-i,f===l)return o||(n=e.push("code_inline","code",0),n.markup=a,n.content=e.src.slice(h,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=c,!0;e.backticks[f]=i}return e.backticksScanned=!0,o||(e.pending+=a),e.pos+=l,!0},cr={};cr.tokenize=function(e,o){var r,s,a,n,i,c=e.pos,l=e.src.charCodeAt(c);if(o||l!==126||(s=e.scanDelims(e.pos,!0),n=s.length,i=String.fromCharCode(l),n<2))return!1;for(n%2&&(a=e.push("text","",0),a.content=i,n--),r=0;r<n;r+=2)a=e.push("text","",0),a.content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Hn(t,e){var o,r,s,a,n,i=[],c=e.length;for(o=0;o<c;o++)s=e[o],s.marker===126&&s.end!==-1&&(a=e[s.end],n=t.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=t.tokens[a.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",t.tokens[a.token-1].type==="text"&&t.tokens[a.token-1].content==="~"&&i.push(a.token-1));for(;i.length;){for(o=i.pop(),r=o+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,o!==r&&(n=t.tokens[r],t.tokens[r]=t.tokens[o],t.tokens[o]=n)}}cr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Hn(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Hn(e,r[o].delimiters)};var lr={};lr.tokenize=function(e,o){var r,s,a,n=e.pos,i=e.src.charCodeAt(n);if(o||i!==95&&i!==42)return!1;for(s=e.scanDelims(e.pos,i===42),r=0;r<s.length;r++)a=e.push("text","",0),a.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:s.length,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Gn(t,e){var o,r,s,a,n,i,c=e.length;for(o=c-1;o>=0;o--)r=e[o],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],i=o>0&&e[o-1].end===r.end+1&&e[o-1].marker===r.marker&&e[o-1].token===r.token-1&&e[r.end+1].token===s.token+1,n=String.fromCharCode(r.marker),a=t.tokens[r.token],a.type=i?"strong_open":"em_open",a.tag=i?"strong":"em",a.nesting=1,a.markup=i?n+n:n,a.content="",a=t.tokens[s.token],a.type=i?"strong_close":"em_close",a.tag=i?"strong":"em",a.nesting=-1,a.markup=i?n+n:n,a.content="",i&&(t.tokens[e[o-1].token].content="",t.tokens[e[r.end+1].token].content="",o--))}lr.postProcess=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Gn(e,e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Gn(e,r[o].delimiters)};var Vu=U.normalizeReference,xs=U.isSpace,Uu=function(e,o){var r,s,a,n,i,c,l,f,h,b="",p="",m=e.pos,g=e.posMax,w=e.pos,y=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,n=e.md.helpers.parseLinkLabel(e,e.pos,!0),n<0))return!1;if(c=n+1,c<g&&e.src.charCodeAt(c)===40){for(y=!1,c++;c<g&&(s=e.src.charCodeAt(c),!(!xs(s)&&s!==10));c++);if(c>=g)return!1;if(w=c,l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),l.ok){for(b=e.md.normalizeLink(l.str),e.md.validateLink(b)?c=l.pos:b="",w=c;c<g&&(s=e.src.charCodeAt(c),!(!xs(s)&&s!==10));c++);if(l=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<g&&w!==c&&l.ok)for(p=l.str,c=l.pos;c<g&&(s=e.src.charCodeAt(c),!(!xs(s)&&s!==10));c++);}(c>=g||e.src.charCodeAt(c)!==41)&&(y=!0),c++}if(y){if(typeof e.env.references>"u")return!1;if(c<g&&e.src.charCodeAt(c)===91?(w=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?a=e.src.slice(w,c++):c=n+1):c=n+1,a||(a=e.src.slice(i,n)),f=e.env.references[Vu(a)],!f)return e.pos=m,!1;b=f.href,p=f.title}return o||(e.pos=i,e.posMax=n,h=e.push("link_open","a",1),h.attrs=r=[["href",b]],p&&r.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0},Nu=U.normalizeReference,ks=U.isSpace,ju=function(e,o){var r,s,a,n,i,c,l,f,h,b,p,m,g,w="",y=e.pos,v=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(c=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(l=i+1,l<v&&e.src.charCodeAt(l)===40){for(l++;l<v&&(s=e.src.charCodeAt(l),!(!ks(s)&&s!==10));l++);if(l>=v)return!1;for(g=l,h=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),h.ok&&(w=e.md.normalizeLink(h.str),e.md.validateLink(w)?l=h.pos:w=""),g=l;l<v&&(s=e.src.charCodeAt(l),!(!ks(s)&&s!==10));l++);if(h=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&g!==l&&h.ok)for(b=h.str,l=h.pos;l<v&&(s=e.src.charCodeAt(l),!(!ks(s)&&s!==10));l++);else b="";if(l>=v||e.src.charCodeAt(l)!==41)return e.pos=y,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<v&&e.src.charCodeAt(l)===91?(g=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?n=e.src.slice(g,l++):l=i+1):l=i+1,n||(n=e.src.slice(c,i)),f=e.env.references[Nu(n)],!f)return e.pos=y,!1;w=f.href,b=f.title}return o||(a=e.src.slice(c,i),e.md.inline.parse(a,e.md,e.env,m=[]),p=e.push("image","img",0),p.attrs=r=[["src",w],["alt",""]],p.children=m,p.content=a,b&&r.push(["title",b])),e.pos=l,e.posMax=v,!0},Hu=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Gu=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Wu=function(e,o){var r,s,a,n,i,c,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(i=e.pos,c=e.posMax;;){if(++l>=c||(n=e.src.charCodeAt(l),n===60))return!1;if(n===62)break}return r=e.src.slice(i+1,l),Gu.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):Hu.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(o||(a=e.push("link_open","a",1),a.attrs=[["href",s]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):!1},Zu=sr.HTML_TAG_RE;function Ku(t){return/^<a[>\s]/i.test(t)}function Ju(t){return/^<\/a\s*>/i.test(t)}function Yu(t){var e=t|32;return e>=97&&e<=122}var Qu=function(e,o){var r,s,a,n,i=e.pos;return!e.md.options.html||(a=e.posMax,e.src.charCodeAt(i)!==60||i+2>=a)||(r=e.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!Yu(r))||(s=e.src.slice(i).match(Zu),!s)?!1:(o||(n=e.push("html_inline","",0),n.content=s[0],Ku(n.content)&&e.linkLevel++,Ju(n.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Wn=un,Xu=U.has,eh=U.isValidEntityCode,Zn=U.fromCodePoint,th=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,oh=/^&([a-z][a-z0-9]{1,31});/i,rh=function(e,o){var r,s,a,n,i=e.pos,c=e.posMax;if(e.src.charCodeAt(i)!==38||i+1>=c)return!1;if(r=e.src.charCodeAt(i+1),r===35){if(a=e.src.slice(i).match(th),a)return o||(s=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),n=e.push("text_special","",0),n.content=eh(s)?Zn(s):Zn(65533),n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0}else if(a=e.src.slice(i).match(oh),a&&Xu(Wn,a[1]))return o||(n=e.push("text_special","",0),n.content=Wn[a[1]],n.markup=a[0],n.info="entity"),e.pos+=a[0].length,!0;return!1};function Kn(t){var e,o,r,s,a,n,i,c,l={},f=t.length;if(f){var h=0,b=-2,p=[];for(e=0;e<f;e++)if(r=t[e],p.push(0),(t[h].marker!==r.marker||b!==r.token-1)&&(h=e),b=r.token,r.length=r.length||0,!!r.close){for(l.hasOwnProperty(r.marker)||(l[r.marker]=[-1,-1,-1,-1,-1,-1]),a=l[r.marker][(r.open?3:0)+r.length%3],o=h-p[h]-1,n=o;o>a;o-=p[o]+1)if(s=t[o],s.marker===r.marker&&s.open&&s.end<0&&(i=!1,(s.close||r.open)&&(s.length+r.length)%3===0&&(s.length%3!==0||r.length%3!==0)&&(i=!0),!i)){c=o>0&&!t[o-1].open?p[o-1]+1:0,p[e]=e-o+c,p[o]=c,r.open=!1,s.end=e,s.close=!1,n=-1,b=-2;break}n!==-1&&(l[r.marker][(r.open?3:0)+(r.length||0)%3]=n)}}}var sh=function(e){var o,r=e.tokens_meta,s=e.tokens_meta.length;for(Kn(e.delimiters),o=0;o<s;o++)r[o]&&r[o].delimiters&&Kn(r[o].delimiters)},ah=function(e){var o,r,s=0,a=e.tokens,n=e.tokens.length;for(o=r=0;o<n;o++)a[o].nesting<0&&s--,a[o].level=s,a[o].nesting>0&&s++,a[o].type==="text"&&o+1<n&&a[o+1].type==="text"?a[o+1].content=a[o].content+a[o+1].content:(o!==r&&(a[r]=a[o]),r++);o!==r&&(a.length=r)},Cs=gs,Jn=U.isWhiteSpace,Yn=U.isPunctChar,Qn=U.isMdAsciiPunct;function ko(t,e,o,r){this.src=t,this.env=o,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}ko.prototype.pushPending=function(){var t=new Cs("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},ko.prototype.push=function(t,e,o){this.pending&&this.pushPending();var r=new Cs(t,e,o),s=null;return o<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,o>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},ko.prototype.scanDelims=function(t,e){var o=t,r,s,a,n,i,c,l,f,h,b=!0,p=!0,m=this.posMax,g=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;o<m&&this.src.charCodeAt(o)===g;)o++;return a=o-t,s=o<m?this.src.charCodeAt(o):32,l=Qn(r)||Yn(String.fromCharCode(r)),h=Qn(s)||Yn(String.fromCharCode(s)),c=Jn(r),f=Jn(s),f?b=!1:h&&(c||l||(b=!1)),c?p=!1:l&&(f||h||(p=!1)),e?(n=b,i=p):(n=b&&(!p||l),i=p&&(!b||h)),{can_open:n,can_close:i,length:a}},ko.prototype.Token=Cs;var nh=ko,Xn=bs,As=[["text",Lu],["linkify",Ou],["newline",Pu],["escape",Mu],["backticks",Bu],["strikethrough",cr.tokenize],["emphasis",lr.tokenize],["link",Uu],["image",ju],["autolink",Wu],["html_inline",Qu],["entity",rh]],$s=[["balance_pairs",sh],["strikethrough",cr.postProcess],["emphasis",lr.postProcess],["fragments_join",ah]];function Co(){var t;for(this.ruler=new Xn,t=0;t<As.length;t++)this.ruler.push(As[t][0],As[t][1]);for(this.ruler2=new Xn,t=0;t<$s.length;t++)this.ruler2.push($s[t][0],$s[t][1])}Co.prototype.skipToken=function(t){var e,o,r=t.pos,s=this.ruler.getRules(""),a=s.length,n=t.md.options.maxNesting,i=t.cache;if(typeof i[r]<"u"){t.pos=i[r];return}if(t.level<n){for(o=0;o<a;o++)if(t.level++,e=s[o](t,!0),t.level--,e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,i[r]=t.pos},Co.prototype.tokenize=function(t){for(var e,o,r,s=this.ruler.getRules(""),a=s.length,n=t.posMax,i=t.md.options.maxNesting;t.pos<n;){if(r=t.pos,t.level<i){for(o=0;o<a;o++)if(e=s[o](t,!1),e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Co.prototype.parse=function(t,e,o,r){var s,a,n,i=new this.State(t,e,o,r);for(this.tokenize(i),a=this.ruler2.getRules(""),n=a.length,s=0;s<n;s++)a[s](i)},Co.prototype.State=nh;var ih=Co,Es,ei;function ch(){return ei||(ei=1,Es=function(t){var e={};t=t||{},e.src_Any=_n().source,e.src_Cc=kn().source,e.src_Z=$n().source,e.src_P=ds.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var o="[><|]";return e.src_pseudo_letter="(?:(?!"+o+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+o+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+o+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+o+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Es}function Ss(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(o){o&&Object.keys(o).forEach(function(r){t[r]=o[r]})}),t}function dr(t){return Object.prototype.toString.call(t)}function lh(t){return dr(t)==="[object String]"}function dh(t){return dr(t)==="[object Object]"}function fh(t){return dr(t)==="[object RegExp]"}function ti(t){return dr(t)==="[object Function]"}function uh(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var oi={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function hh(t){return Object.keys(t||{}).reduce(function(e,o){return e||oi.hasOwnProperty(o)},!1)}var ph={"http:":{validate:function(t,e,o){var r=t.slice(e);return o.re.http||(o.re.http=new RegExp("^\\/\\/"+o.re.src_auth+o.re.src_host_port_strict+o.re.src_path,"i")),o.re.http.test(r)?r.match(o.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,o){var r=t.slice(e);return o.re.no_http||(o.re.no_http=new RegExp("^"+o.re.src_auth+"(?:localhost|(?:(?:"+o.re.src_domain+")\\.)+"+o.re.src_domain_root+")"+o.re.src_port+o.re.src_host_terminator+o.re.src_path,"i")),o.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(o.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,o){var r=t.slice(e);return o.re.mailto||(o.re.mailto=new RegExp("^"+o.re.src_email_name+"@"+o.re.src_host_strict,"i")),o.re.mailto.test(r)?r.match(o.re.mailto)[0].length:0}}},bh="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",gh="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function mh(t){t.__index__=-1,t.__text_cache__=""}function vh(t){return function(e,o){var r=e.slice(o);return t.test(r)?r.match(t)[0].length:0}}function ri(){return function(t,e){e.normalize(t)}}function fr(t){var e=t.re=ch()(t.__opts__),o=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||o.push(bh),o.push(e.src_xn),e.src_tlds=o.join("|");function r(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var s=[];t.__compiled__={};function a(i,c){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+c)}Object.keys(t.__schemas__).forEach(function(i){var c=t.__schemas__[i];if(c!==null){var l={validate:null,link:null};if(t.__compiled__[i]=l,dh(c)){fh(c.validate)?l.validate=vh(c.validate):ti(c.validate)?l.validate=c.validate:a(i,c),ti(c.normalize)?l.normalize=c.normalize:c.normalize?a(i,c):l.normalize=ri();return}if(lh(c)){s.push(i);return}a(i,c)}}),s.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:ri()};var n=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(uh).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+n+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),mh(t)}function yh(t,e){var o=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(o,r);this.schema=t.__schema__.toLowerCase(),this.index=o+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function Ds(t,e){var o=new yh(t,e);return t.__compiled__[o.schema].normalize(o,t),o}function we(t,e){if(!(this instanceof we))return new we(t,e);e||hh(t)&&(e=t,t={}),this.__opts__=Ss({},oi,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ss({},ph,t),this.__compiled__={},this.__tlds__=gh,this.__tlds_replaced__=!1,this.re={},fr(this)}we.prototype.add=function(e,o){return this.__schemas__[e]=o,fr(this),this},we.prototype.set=function(e){return this.__opts__=Ss(this.__opts__,e),this},we.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var o,r,s,a,n,i,c,l,f;if(this.re.schema_test.test(e)){for(c=this.re.schema_search,c.lastIndex=0;(o=c.exec(e))!==null;)if(a=this.testSchemaAt(e,o[2],c.lastIndex),a){this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(n=r.index+r[1].length,(this.__index__<0||n<this.__index__)&&(this.__schema__="",this.__index__=n,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(f=e.indexOf("@"),f>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(n=s.index+s[1].length,i=s.index+s[0].length,(this.__index__<0||n<this.__index__||n===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=n,this.__last_index__=i))),this.__index__>=0},we.prototype.pretest=function(e){return this.re.pretest.test(e)},we.prototype.testSchemaAt=function(e,o,r){return this.__compiled__[o.toLowerCase()]?this.__compiled__[o.toLowerCase()].validate(e,r,this):0},we.prototype.match=function(e){var o=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Ds(this,o)),o=this.__last_index__);for(var s=o?e.slice(o):e;this.test(s);)r.push(Ds(this,o)),s=s.slice(this.__last_index__),o+=this.__last_index__;return r.length?r:null},we.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var o=this.re.schema_at_start.exec(e);if(!o)return null;var r=this.testSchemaAt(e,o[2],o[0].length);return r?(this.__schema__=o[2],this.__index__=o.index+o[1].length,this.__last_index__=o.index+o[0].length+r,Ds(this,0)):null},we.prototype.tlds=function(e,o){return e=Array.isArray(e)?e:[e],o?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,a){return r!==a[s-1]}).reverse(),fr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,fr(this),this)},we.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},we.prototype.onCompile=function(){};var wh=we;const Bt=2147483647,Ge=36,qs=1,Ao=26,_h=38,xh=700,si=72,ai=128,ni="-",kh=/^xn--/,Ch=/[^\0-\x7F]/,Ah=/[\x2E\u3002\uFF0E\uFF61]/g,$h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ts=Ge-qs,We=Math.floor,zs=String.fromCharCode;function ft(t){throw new RangeError($h[t])}function Eh(t,e){const o=[];let r=t.length;for(;r--;)o[r]=e(t[r]);return o}function ii(t,e){const o=t.split("@");let r="";o.length>1&&(r=o[0]+"@",t=o[1]),t=t.replace(Ah,".");const s=t.split("."),a=Eh(s,e).join(".");return r+a}function Ls(t){const e=[];let o=0;const r=t.length;for(;o<r;){const s=t.charCodeAt(o++);if(s>=55296&&s<=56319&&o<r){const a=t.charCodeAt(o++);(a&64512)==56320?e.push(((s&1023)<<10)+(a&1023)+65536):(e.push(s),o--)}else e.push(s)}return e}const ci=t=>String.fromCodePoint(...t),Sh=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ge},li=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},di=function(t,e,o){let r=0;for(t=o?We(t/xh):t>>1,t+=We(t/e);t>Ts*Ao>>1;r+=Ge)t=We(t/Ts);return We(r+(Ts+1)*t/(t+_h))},Rs=function(t){const e=[],o=t.length;let r=0,s=ai,a=si,n=t.lastIndexOf(ni);n<0&&(n=0);for(let i=0;i<n;++i)t.charCodeAt(i)>=128&&ft("not-basic"),e.push(t.charCodeAt(i));for(let i=n>0?n+1:0;i<o;){const c=r;for(let f=1,h=Ge;;h+=Ge){i>=o&&ft("invalid-input");const b=Sh(t.charCodeAt(i++));b>=Ge&&ft("invalid-input"),b>We((Bt-r)/f)&&ft("overflow"),r+=b*f;const p=h<=a?qs:h>=a+Ao?Ao:h-a;if(b<p)break;const m=Ge-p;f>We(Bt/m)&&ft("overflow"),f*=m}const l=e.length+1;a=di(r-c,l,c==0),We(r/l)>Bt-s&&ft("overflow"),s+=We(r/l),r%=l,e.splice(r++,0,s)}return String.fromCodePoint(...e)},Os=function(t){const e=[];t=Ls(t);const o=t.length;let r=ai,s=0,a=si;for(const c of t)c<128&&e.push(zs(c));const n=e.length;let i=n;for(n&&e.push(ni);i<o;){let c=Bt;for(const f of t)f>=r&&f<c&&(c=f);const l=i+1;c-r>We((Bt-s)/l)&&ft("overflow"),s+=(c-r)*l,r=c;for(const f of t)if(f<r&&++s>Bt&&ft("overflow"),f===r){let h=s;for(let b=Ge;;b+=Ge){const p=b<=a?qs:b>=a+Ao?Ao:b-a;if(h<p)break;const m=h-p,g=Ge-p;e.push(zs(li(p+m%g,0))),h=We(m/g)}e.push(zs(li(h,0))),a=di(s,l,i===n),s=0,++i}++s,++r}return e.join("")},fi=function(t){return ii(t,function(e){return kh.test(e)?Rs(e.slice(4).toLowerCase()):e})},ui=function(t){return ii(t,function(e){return Ch.test(e)?"xn--"+Os(e):e})},Dh=ic(Object.freeze(Object.defineProperty({__proto__:null,decode:Rs,default:{version:"2.1.0",ucs2:{decode:Ls,encode:ci},decode:Rs,encode:Os,toASCII:ui,toUnicode:fi},encode:Os,toASCII:ui,toUnicode:fi,ucs2decode:Ls,ucs2encode:ci},Symbol.toStringTag,{value:"Module"})));var qh={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Th={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},zh={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},$o=U,Lh=tr,Rh=Sf,Oh=Qf,Fh=Tu,Ph=ih,Ih=wh,$t=Ft,hi=Dh,Mh={default:qh,zero:Th,commonmark:zh},Bh=/^(vbscript|javascript|file|data):/,Vh=/^data:image\/(gif|png|jpeg|webp);/;function Uh(t){var e=t.trim().toLowerCase();return Bh.test(e)?!!Vh.test(e):!0}var pi=["http:","https:","mailto:"];function Nh(t){var e=$t.parse(t,!0);if(e.hostname&&(!e.protocol||pi.indexOf(e.protocol)>=0))try{e.hostname=hi.toASCII(e.hostname)}catch{}return $t.encode($t.format(e))}function jh(t){var e=$t.parse(t,!0);if(e.hostname&&(!e.protocol||pi.indexOf(e.protocol)>=0))try{e.hostname=hi.toUnicode(e.hostname)}catch{}return $t.decode($t.format(e),$t.decode.defaultChars+"%")}function ke(t,e){if(!(this instanceof ke))return new ke(t,e);e||$o.isString(t)||(e=t||{},t="default"),this.inline=new Ph,this.block=new Fh,this.core=new Oh,this.renderer=new Rh,this.linkify=new Ih,this.validateLink=Uh,this.normalizeLink=Nh,this.normalizeLinkText=jh,this.utils=$o,this.helpers=$o.assign({},Lh),this.options={},this.configure(t),e&&this.set(e)}ke.prototype.set=function(t){return $o.assign(this.options,t),this},ke.prototype.configure=function(t){var e=this,o;if($o.isString(t)&&(o=t,t=Mh[o],!t))throw new Error('Wrong `markdown-it` preset "'+o+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},ke.prototype.enable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.enable(t,!0))},this),o=o.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},ke.prototype.disable=function(t,e){var o=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){o=o.concat(this[s].ruler.disable(t,!0))},this),o=o.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(s){return o.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},ke.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},ke.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var o=new this.core.State(t,this,e);return this.core.process(o),o.tokens},ke.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},ke.prototype.parseInline=function(t,e){var o=new this.core.State(t,this,e);return o.inlineMode=!0,this.core.process(o),o.tokens},ke.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Hh=ke,Gh=Hh;const Wh=Or(Gh);function Zh(t,e){var o,r,s=t.attrs[t.attrIndex("href")][1];for(o=0;o<e.length;++o){if(r=e[o],typeof r.matcher=="function"){if(r.matcher(s,r))return r;continue}return r}}function Kh(t,e,o){Object.keys(o).forEach(function(r){var s,a=o[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,a]):e[t].attrs[s][1]=a})}function bi(t,e){e?e=Array.isArray(e)?e:[e]:e=[],Object.freeze(e);var o=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(r,s,a,n,i){var c=Zh(r[s],e),l=c&&c.attrs;return l&&Kh(s,r,l),o(r,s,a,n,i)}}bi.defaultRender=function(t,e,o,r,s){return s.renderToken(t,e,o)};var Jh=bi;const Yh=Or(Jh);function Qh(){const t=new Wh({html:!0,breaks:!0,linkify:!0});return t.use(Yh,{attrs:{target:"_blank",rel:"noopener"}}),t}async function gi(t){const o=Qh().render(t);return _`${rt(o)}`}var Xh=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,ur=(t,e,o,r)=>{for(var s=r>1?void 0:r?ep(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Xh(e,o,s),s};let Vt=class extends pe{constructor(){super(...arguments),this.type="assistant"}disconnectedCallback(){super.disconnectedCallback(),this._removeCopyEvents()}updated(t){super.updated(t),t.has("message")&&requestIdleCallback(()=>{this._addCopyEvents()})}get _isBot(){return this.message.author==="assistant"||this.message.author==="system"}_removeMessageHandler(){this.emit("message:remove",{detail:this.message})}_addCopyEvents(){this.copyBtns.forEach(t=>{t.addEventListener("click",()=>{var o,r;const e=(r=(o=t.parentElement)==null?void 0:o.nextElementSibling)==null?void 0:r.textContent;e&&bc(e).then(()=>{t.textContent="Success",setTimeout(()=>{t.textContent="Copy"},500)})})})}_removeCopyEvents(){this.copyBtns.forEach(t=>{t.removeEventListener("click",()=>{})})}render(){return Ot(this.message.data||this.message.isThinking,()=>_`
5782
5758
  <div class="cb-message-row" part="cb-message-row">
5783
5759
  <!-- message -->
5784
- ${Kt(this._isBot,()=>this.renderBotMessage(this.message),()=>this.renderUserMessage(this.message))}
5760
+ ${Ot(this._isBot,()=>this.renderBotMessage(this.message),()=>this.renderUserMessage(this.message))}
5785
5761
  </div>
5786
- `,()=>null)}renderButtons(t="left"){return w`<div class="cb-message__buttons ${t}">
5762
+ `,()=>null)}renderButtons(t="left"){return _`<div class="cb-message__buttons ${t}">
5787
5763
  <!-- delete button -->
5788
5764
  <sl-button class="cb-message__delete-button" name="trash" @click=${this._removeMessageHandler} circle variant="text" size="small">
5789
- <cb-icon svg="${zu}" style="font-size: 1em !important;"></cb-icon>
5765
+ <cb-icon svg="${ef}" style="font-size: 1em !important;"></cb-icon>
5790
5766
  </sl-button>
5791
- </div>`}renderMessage(t){return w`
5767
+ </div>`}renderMessage(t){return _`
5792
5768
  <div
5793
5769
  class="cb-message__content
5794
5770
  ${t.author}-message
@@ -5798,39 +5774,39 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5798
5774
  >
5799
5775
  ${this.renderMessageContent(t)}
5800
5776
  </div>
5801
- `}async _getMessageText(t){return _c(t.data.text)}renderMessageContent(t){var e;return t.isThinking?w`<cb-thinking></cb-thinking>`:t.isUploading?w`<cb-uploading .files="${t.data.files||[]}"></cb-uploading>`:t.type==="text"?w`<div class="cb-message-text">
5802
- ${Kt(t.data.userName,()=>w`<div style="font-size: 12px; color:#9ca3af">${t.data.userName}</div>`,()=>null)}
5803
- ${ui(this._getMessageText(t).then(o=>w`${o}`))}
5804
- </div>`:t.type==="file"?w`${_r(t.data.files||[],o=>o.id,o=>w`<cb-file filename="${o.name}" url="${o.url}"></cb-file>`)}`:w`<div class="cb-message-text">
5805
- ${ui(_c(((e=t.data.text)==null?void 0:e.toString())||"").then(o=>w`${o}`))}
5806
- </div>`}renderBotMessageAvatar(t){if(t.data.userName&&t.data.userName!==""){const e=t.data.userAvatar||"";return w` <img src="${e}" style="width: 24px;height: 24px;" /> `}return t.author==="system"?Yo`${St(I.setting.systemIconSvg)}`:Yo`${St(I.setting.botIconSvg)}`}renderBotMessage(t){return w`
5777
+ `}async _getMessageText(t){return gi(t.data.text)}renderMessageContent(t){var e;return t.isThinking?_`<cb-thinking></cb-thinking>`:t.isUploading?_`<cb-uploading .files="${t.data.files||[]}"></cb-uploading>`:t.type==="text"?_`<div class="cb-message-text">
5778
+ ${Ot(t.data.userName,()=>_`<div style="font-size: 12px; color:#9ca3af">${t.data.userName}</div>`,()=>null)}
5779
+ ${ln(this._getMessageText(t).then(o=>_`${o}`))}
5780
+ </div>`:t.type==="file"?_`${Ko(t.data.files||[],o=>o.id,o=>_`<cb-file filename="${o.name}" url="${o.url}"></cb-file>`)}`:_`<div class="cb-message-text">
5781
+ ${ln(gi(((e=t.data.text)==null?void 0:e.toString())||"").then(o=>_`${o}`))}
5782
+ </div>`}renderBotMessageAvatar(t){if(t.data.userName&&t.data.userName!==""){const e=t.data.userAvatar||"";return _` <img src="${e}" style="width: 24px;height: 24px;" /> `}return t.author==="system"?To`${rt(F.setting.systemIconSvg)}`:To`${rt(F.setting.botIconSvg)}`}renderBotMessage(t){return _`
5807
5783
  <div class="cb-message cb-bot-message-wrapper" part="cb-message">
5808
5784
  <div class="avatar assistant-avatar xsmall" style="margin-top:4px;">${this.renderBotMessageAvatar(t)}</div>
5809
5785
  <div style="margin-left: 4px;width: 100%">${this.renderMessage(t)}</div>
5810
5786
  </div>
5811
- `}renderUserMessage(t){return w`
5787
+ `}renderUserMessage(t){return _`
5812
5788
  <div class="cb-message" part="cb-message" style="display: flex; justify-content: end;align-items: start;">
5813
5789
  <!--<sl-avatar class="avatar user-avatar small" label="User">
5814
- <cb-icon slot="icon" svg="${Lu}" color="white"></cb-icon>
5790
+ <cb-icon slot="icon" svg="${tf}" color="white"></cb-icon>
5815
5791
  </sl-avatar>-->
5816
- <div class="avatar user-avatar">${St(I.setting.userIconSvg)}</div>
5792
+ <div class="avatar user-avatar">${rt(F.setting.userIconSvg)}</div>
5817
5793
  ${this.renderMessage(t)}
5818
5794
  </div>
5819
- `}};to.styles=Iu,Mr([p({type:Object})],to.prototype,"message",2),Mr([p({type:String})],to.prototype,"type",2),Mr([kl(".code-block-header__copy")],to.prototype,"copyBtns",2),to=Mr([se("cb-message")],to);var T0=Object.defineProperty,z0=Object.getOwnPropertyDescriptor,gt=(t,e,o,r)=>{for(var s=r>1?void 0:r?z0(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&T0(e,o,s),s};const oo=Qo.noConflict();oo.setLevel("info");let Ke=class extends he{constructor(){super(...arguments),this.messages=[],this.actions=[],this.form=null,this.calendlyInjected=!1,this.activeCalendlyAction=-1}render(){return w`
5795
+ `}};Vt.styles=rf,ur([u({type:Object})],Vt.prototype,"message",2),ur([u({type:String})],Vt.prototype,"type",2),ur([ac(".code-block-header__copy")],Vt.prototype,"copyBtns",2),Vt=ur([oe("cb-message")],Vt);var tp=Object.defineProperty,op=Object.getOwnPropertyDescriptor,ut=(t,e,o,r)=>{for(var s=r>1?void 0:r?op(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&tp(e,o,s),s};const Ut=Lo.noConflict();Ut.setLevel("info");let Ze=class extends pe{constructor(){super(...arguments),this.messages=[],this.actions=[],this.form=null,this.calendlyInjected=!1,this.activeCalendlyAction=-1}render(){return _`
5820
5796
  <div class="cb-message-list" part="cb-message-list">
5821
- ${_r(this.messages,t=>t.id+JSON.stringify(t.data),t=>w`<cb-message .message="${t}"></cb-message>`)}
5797
+ ${Ko(this.messages,t=>t.id+JSON.stringify(t.data),t=>_`<cb-message .message="${t}"></cb-message>`)}
5822
5798
  ${this.renderActions()} ${this.renderForm()}
5823
5799
  <div id="cb-message-list-bottom-anchor"></div>
5824
5800
  </div>
5825
- `}renderForm(){return this.form?w` <form class="cb-input-form" part="form" @submit="${this.handleFormSubmit.bind(this)}">
5801
+ `}renderForm(){return this.form?_` <form class="cb-input-form" part="form" @submit="${this.handleFormSubmit.bind(this)}">
5826
5802
  <div class="cb-input-form-title">${this.form.title}</div>
5827
- ${_r(this.form.fields,(t,e)=>e,t=>{switch(t.type){case"string":return w`<sl-input class="cb-input-form-input" id="${"cb-form-field"+t.name}" name="${t.name}" label="${t.title}" required></sl-input>`;case"email":return w`<sl-input class="cb-input-form-input" id="${"cb-form-field"+t.name}" name="${t.name}" type="email" label="${t.title}" required></sl-input>`}})}
5803
+ ${Ko(this.form.fields,(t,e)=>e,t=>{switch(t.type){case"string":return _`<sl-input class="cb-input-form-input" id="${"cb-form-field"+t.name}" name="${t.name}" label="${t.title}" required></sl-input>`;case"email":return _`<sl-input class="cb-input-form-input" id="${"cb-form-field"+t.name}" name="${t.name}" type="email" label="${t.title}" required></sl-input>`}})}
5828
5804
  <sl-button class="cb-input-form-submit" variant="primary" pill type="submit">Send</sl-button>
5829
- </form>`:null}handleFormSubmit(t){t.preventDefault();const e={};if(Array.isArray(this.form.fields))for(let o=0;o<this.form.fields.length;o++){const r=this.form.fields[o],s="#cb-form-field"+r.name,a=this._inputForm.querySelector(s);if(a)if("validity"in a&&a.validity.valid)console.log(`Got Field: ${r.name} value: ${a.value}`,a.validity),e[r.name]=a.value;else{console.error(`Field is invalid: ${r.name} value: ${a.value}`,a.validity);return}}I.submitForm(e).then(()=>{oo.info("Form submitted",e),this.emit("form:submit",{detail:{formData:e}})}).catch(o=>{oo.error(`Error when submitting form: ${o.message}`)})}renderActions(){return!Array.isArray(this.actions)||this.actions.length<=0?null:w`
5805
+ </form>`:null}handleFormSubmit(t){t.preventDefault();const e={};if(Array.isArray(this.form.fields))for(let o=0;o<this.form.fields.length;o++){const r=this.form.fields[o],s="#cb-form-field"+r.name,a=this._inputForm.querySelector(s);if(a)if("validity"in a&&a.validity.valid)console.log(`Got Field: ${r.name} value: ${a.value}`,a.validity),e[r.name]=a.value;else{console.error(`Field is invalid: ${r.name} value: ${a.value}`,a.validity);return}}F.submitForm(e).then(()=>{Ut.info("Form submitted",e),this.emit("form:submit",{detail:{formData:e}})}).catch(o=>{Ut.error(`Error when submitting form: ${o.message}`)})}renderActions(){return!Array.isArray(this.actions)||this.actions.length<=0?null:_`
5830
5806
  <div class="cb-actions-list">
5831
- ${_r(this.actions,t=>t,t=>this.renderAction(t))}
5807
+ ${Ko(this.actions,t=>t,t=>this.renderAction(t))}
5832
5808
  </div>
5833
- `}scrollToBottom(){this._messageListBottomAnchor.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}renderAction(t){switch(t.type){case"calendlyMeeting":return this.renderCalendlyAction(t);case"link":return this.renderLinkAction(t)}return null}handleCalendlyEvent(t){switch(oo.info("Got Calendly Event:",t.data),t.data.event){case"calendly.event_scheduled":{const e=this.activeCalendlyAction;e>=0&&(I.removeAction(e),I.addSystemMessage("Your meeting has been scheduled!"),this.activeCalendlyAction=-1)}}}invokeLinkAction(t={}){oo.info("invokeLinkAction:",t),window.open(t.url,"_blank")}invokeCalendlyAction(t={}){return oo.info("invokeCalendlyAction:",t),"Calendly"in window&&(this.activeCalendlyAction=t.internalId,window.Calendly.initPopupWidget({url:t.url})),!1}renderCalendlyAction(t){if(!("Calendly"in window)&&!this.calendlyInjected){let e=document.createElement("link");e.href="https://assets.calendly.com/assets/external/widget.css",e.rel="stylesheet",document.body.appendChild(e);let o=document.createElement("script");o.type="text/javascript",o.src="https://assets.calendly.com/assets/external/widget.js",document.body.appendChild(o),console.log("Injected Calendly"),window.addEventListener("message",r=>{r.origin==="https://calendly.com"&&r.data.event&&r.data.event.indexOf("calendly.")!==-1&&this.handleCalendlyEvent(r)}),this.calendlyInjected=!0}return w`
5809
+ `}scrollToBottom(){this._messageListBottomAnchor.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}renderAction(t){switch(t.type){case"calendlyMeeting":return this.renderCalendlyAction(t);case"link":return this.renderLinkAction(t)}return null}handleCalendlyEvent(t){switch(Ut.info("Got Calendly Event:",t.data),t.data.event){case"calendly.event_scheduled":{const e=this.activeCalendlyAction;e>=0&&(F.removeAction(e),F.addSystemMessage("Your meeting has been scheduled!"),this.activeCalendlyAction=-1)}}}invokeLinkAction(t={}){Ut.info("invokeLinkAction:",t),window.open(t.url,"_blank")}invokeCalendlyAction(t={}){return Ut.info("invokeCalendlyAction:",t),"Calendly"in window&&(this.activeCalendlyAction=t.internalId,window.Calendly.initPopupWidget({url:t.url})),!1}renderCalendlyAction(t){if(!("Calendly"in window)&&!this.calendlyInjected){let e=document.createElement("link");e.href="https://assets.calendly.com/assets/external/widget.css",e.rel="stylesheet",document.body.appendChild(e);let o=document.createElement("script");o.type="text/javascript",o.src="https://assets.calendly.com/assets/external/widget.js",document.body.appendChild(o),console.log("Injected Calendly"),window.addEventListener("message",r=>{r.origin==="https://calendly.com"&&r.data.event&&r.data.event.indexOf("calendly.")!==-1&&this.handleCalendlyEvent(r)}),this.calendlyInjected=!0}return _`
5834
5810
  <div class="cb-actions-list">
5835
5811
  <div class="cb-action ripple" @click="${this.invokeCalendlyAction.bind(this,t)}">
5836
5812
  <div class="cb-action-icon">
@@ -5844,7 +5820,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5844
5820
  ${t.title}
5845
5821
  </div>
5846
5822
  </div>
5847
- `}renderLinkAction(t){return w`
5823
+ `}renderLinkAction(t){return _`
5848
5824
  <div class="cb-actions-list">
5849
5825
  <div class="cb-action ripple" @click="${this.invokeLinkAction.bind(this,t)}">
5850
5826
  <div class="cb-action-icon">
@@ -5855,8 +5831,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5855
5831
  ${t.title}
5856
5832
  </div>
5857
5833
  </div>
5858
- `}};Ke.styles=au,gt([p({type:Array})],Ke.prototype,"messages",2),gt([p({type:Array})],Ke.prototype,"actions",2),gt([p({type:Object})],Ke.prototype,"form",2),gt([R("#cb-message-list-bottom-anchor")],Ke.prototype,"_messageListBottomAnchor",2),gt([R(".cb-input-form")],Ke.prototype,"_inputForm",2),gt([ln({capture:!1,passive:!0})],Ke.prototype,"invokeLinkAction",1),gt([ln({capture:!1,passive:!0})],Ke.prototype,"invokeCalendlyAction",1),Ke=gt([se("cb-message-list")],Ke);const L0=T`
5859
- ${Ie}
5834
+ `}};Ze.styles=Dd,ut([u({type:Array})],Ze.prototype,"messages",2),ut([u({type:Array})],Ze.prototype,"actions",2),ut([u({type:Object})],Ze.prototype,"form",2),ut([O("#cb-message-list-bottom-anchor")],Ze.prototype,"_messageListBottomAnchor",2),ut([O(".cb-input-form")],Ze.prototype,"_inputForm",2),ut([ga({capture:!1,passive:!0})],Ze.prototype,"invokeLinkAction",1),ut([ga({capture:!1,passive:!0})],Ze.prototype,"invokeCalendlyAction",1),Ze=ut([oe("cb-message-list")],Ze);const rp=L`
5835
+ ${Oe}
5860
5836
 
5861
5837
  :host {
5862
5838
  width: 100%;
@@ -5898,7 +5874,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5898
5874
  .cb-input-buttons {
5899
5875
  padding: 0 5px;
5900
5876
  }
5901
- `,R0='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576L6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76l7.494-7.493Z"/></svg>',I0='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M4.5 3a2.5 2.5 0 0 1 5 0v9a1.5 1.5 0 0 1-3 0V5a.5.5 0 0 1 1 0v7a.5.5 0 0 0 1 0V3a1.5 1.5 0 1 0-3 0v9a2.5 2.5 0 0 0 5 0V5a.5.5 0 0 1 1 0v7a3.5 3.5 0 1 1-7 0V3z"/></svg>';var P0=Object.defineProperty,M0=Object.getOwnPropertyDescriptor,tt=(t,e,o,r)=>{for(var s=r>1?void 0:r?M0(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&P0(e,o,s),s};let Re=class extends he{constructor(){super(...arguments),this.placeholder="Type a message...",this.sendButtonLabel="Send",this.enableFileUpload=!1,this.value="",this.loading=!1,this.disabled=!1,this.currentKey=""}connectedCallback(){super.connectedCallback(),addEventListener("form:submit",this._formSubmitHandler.bind(this))}async _formSubmitHandler(t){requestIdleCallback(()=>{this.inputElement.focus()})}_inputChangeHandler(t){const e=t.target;this.value=e.value}_sendHandler(){this.emit("message:send",{detail:{timestamp:Date.now(),author:"user",type:"text",data:{text:this.value}}}),this.value="",this.inputElement.blur(),requestIdleCallback(()=>{this.inputElement.focus()})}async _sendFileHandler(){const t=await Hl();this.emit("message:send:file",{detail:{files:t}})}render(){return w`
5877
+ `,sp='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76l7.494-7.493Z"/></svg>',ap='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M4.5 3a2.5 2.5 0 0 1 5 0v9a1.5 1.5 0 0 1-3 0V5a.5.5 0 0 1 1 0v7a.5.5 0 0 0 1 0V3a1.5 1.5 0 1 0-3 0v9a2.5 2.5 0 0 0 5 0V5a.5.5 0 0 1 1 0v7a3.5 3.5 0 1 1-7 0z"/></svg>';var np=Object.defineProperty,ip=Object.getOwnPropertyDescriptor,et=(t,e,o,r)=>{for(var s=r>1?void 0:r?ip(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&np(e,o,s),s};let ze=class extends pe{constructor(){super(...arguments),this.placeholder="Type a message...",this.sendButtonLabel="Send",this.enableFileUpload=!1,this.value="",this.loading=!1,this.disabled=!1,this.currentKey=""}connectedCallback(){super.connectedCallback(),addEventListener("form:submit",this._formSubmitHandler.bind(this))}async _formSubmitHandler(t){requestIdleCallback(()=>{this.inputElement.focus()})}_inputChangeHandler(t){const e=t.target;this.value=e.value}_sendHandler(){this.emit("message:send",{detail:{timestamp:Date.now(),author:"user",type:"text",data:{text:this.value}}}),this.value="",this.inputElement.blur(),requestIdleCallback(()=>{this.inputElement.focus()})}async _sendFileHandler(){const t=await gc();this.emit("message:send:file",{detail:{files:t}})}render(){return _`
5902
5878
  <div class="cb-user-input-wrapper" part="user-input-wrapper">
5903
5879
  <sl-textarea
5904
5880
  @sl-input=${this._inputChangeHandler}
@@ -5915,20 +5891,20 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5915
5891
  ></sl-textarea>
5916
5892
 
5917
5893
  <span class="cb-input-buttons">
5918
- ${Kt(this.enableFileUpload,()=>w`
5894
+ ${Ot(this.enableFileUpload,()=>_`
5919
5895
  <sl-button @click=${this._sendFileHandler} name="paperclip" label="Attachment" size="large" class="paperclip-button" variant="text" circle>
5920
- <cb-icon svg="${I0}"></cb-icon>
5896
+ <cb-icon svg="${ap}"></cb-icon>
5921
5897
  <!-- select file input -->
5922
5898
  <input type="file" id="file" name="file" class="file-input" />
5923
5899
  </sl-button>
5924
- `,()=>w``)}
5900
+ `,()=>_``)}
5925
5901
  <sl-button @click=${this._sendHandler} name="send" label="Send" size="small" class="send-button" variant="text" ?disabled=${this.value.length===0} ?loading=${this.loading} circle>
5926
- <cb-icon svg="${R0}"></cb-icon>
5902
+ <cb-icon svg="${sp}"></cb-icon>
5927
5903
  </sl-button>
5928
5904
  </span>
5929
5905
  </div>
5930
- `}_keyDownHandler(t){t.key==="Enter"&&!t.shiftKey&&this._sendHandler()}};Re.styles=L0,tt([p({type:String,attribute:"placeholder"})],Re.prototype,"placeholder",2),tt([p({type:String,attribute:"send-button-label"})],Re.prototype,"sendButtonLabel",2),tt([p({type:Boolean,attribute:"enable-file-upload"})],Re.prototype,"enableFileUpload",2),tt([p({type:String})],Re.prototype,"value",2),tt([p({type:Boolean})],Re.prototype,"loading",2),tt([p({type:Boolean})],Re.prototype,"disabled",2),tt([p({type:String})],Re.prototype,"currentKey",2),tt([R("sl-textarea")],Re.prototype,"inputElement",2),Re=tt([se("cb-user-input")],Re);const O0=T`
5931
- ${Ie}
5906
+ `}_keyDownHandler(t){t.key==="Enter"&&!t.shiftKey&&this._sendHandler()}};ze.styles=rp,et([u({type:String,attribute:"placeholder"})],ze.prototype,"placeholder",2),et([u({type:String,attribute:"send-button-label"})],ze.prototype,"sendButtonLabel",2),et([u({type:Boolean,attribute:"enable-file-upload"})],ze.prototype,"enableFileUpload",2),et([u({type:String})],ze.prototype,"value",2),et([u({type:Boolean})],ze.prototype,"loading",2),et([u({type:Boolean})],ze.prototype,"disabled",2),et([u({type:String})],ze.prototype,"currentKey",2),et([O("sl-textarea")],ze.prototype,"inputElement",2),ze=et([oe("cb-user-input")],ze);const cp=L`
5907
+ ${Oe}
5932
5908
 
5933
5909
  sl-dialog::part(base) {
5934
5910
  z-index: 1000;
@@ -5961,7 +5937,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5961
5937
  justify-content: flex-end;
5962
5938
  gap: 8px;
5963
5939
  }
5964
- `;var F0=Object.defineProperty,B0=Object.getOwnPropertyDescriptor,Or=(t,e,o,r)=>{for(var s=r>1?void 0:r?B0(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&F0(e,o,s),s};let ro=class extends he{constructor(){super(...arguments),this.open=!1,this.label="Dialog",this.zindex=100}_settingCancelHandler(){this.emit("cancel")}render(){return w` <sl-dialog
5940
+ `;var lp=Object.defineProperty,dp=Object.getOwnPropertyDescriptor,hr=(t,e,o,r)=>{for(var s=r>1?void 0:r?dp(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&lp(e,o,s),s};let Nt=class extends pe{constructor(){super(...arguments),this.open=!1,this.label="Dialog",this.zindex=100}_settingCancelHandler(){this.emit("cancel")}render(){return _` <sl-dialog
5965
5941
  label="Setting"
5966
5942
  class="cb-dialog"
5967
5943
  style="sl-dialog::part(base) { z-index: ${this.zindex}; }"
@@ -5971,7 +5947,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5971
5947
  >
5972
5948
  <header class="cb-header">
5973
5949
  <div class="cb-header__left">
5974
- ${this.label?w`<span class="title">${this.label}</span>`:""}
5950
+ ${this.label?_`<span class="title">${this.label}</span>`:""}
5975
5951
  </div>
5976
5952
  <sl-button
5977
5953
  @click=${this._settingCancelHandler}
@@ -5984,7 +5960,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5984
5960
  <cb-icon
5985
5961
  color="default"
5986
5962
  style="font-size: 1em;"
5987
- svg="${vr}"
5963
+ svg="${Wo}"
5988
5964
  ></cb-icon>
5989
5965
  </sl-button>
5990
5966
  </header>
@@ -5994,7 +5970,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
5994
5970
  <div part="footer" class="cb-dialog__footer">
5995
5971
  <slot name="cb-footer"></slot>
5996
5972
  </div>
5997
- </sl-dialog>`}};ro.styles=O0,Or([p({type:Boolean})],ro.prototype,"open",2),Or([p({type:String,attribute:"label"})],ro.prototype,"label",2),Or([p({type:Number})],ro.prototype,"zindex",2),ro=Or([se("cb-dialog")],ro);var N0=Object.defineProperty,V0=Object.getOwnPropertyDescriptor,wc=(t,e,o,r)=>{for(var s=r>1?void 0:r?V0(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&N0(e,o,s),s};let Fr=class extends he{constructor(){super(...arguments),this.open=!1}render(){return w` <cb-dialog
5973
+ </sl-dialog>`}};Nt.styles=cp,hr([u({type:Boolean})],Nt.prototype,"open",2),hr([u({type:String,attribute:"label"})],Nt.prototype,"label",2),hr([u({type:Number})],Nt.prototype,"zindex",2),Nt=hr([oe("cb-dialog")],Nt);var fp=Object.defineProperty,up=Object.getOwnPropertyDescriptor,mi=(t,e,o,r)=>{for(var s=r>1?void 0:r?up(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&fp(e,o,s),s};let pr=class extends pe{constructor(){super(...arguments),this.open=!1}render(){return _` <cb-dialog
5998
5974
  label="Confirm"
5999
5975
  class="cb-clear-message-dialog"
6000
5976
  ?open=${this.open}
@@ -6014,14 +5990,14 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
6014
5990
  @click=${this._cancelHandler}
6015
5991
  >Close</sl-button
6016
5992
  >
6017
- </cb-dialog>`}_confirmHandler(){this.emit("confirm")}_cancelHandler(){this.emit("cancel")}};Fr.styles=T`
5993
+ </cb-dialog>`}_confirmHandler(){this.emit("confirm")}_cancelHandler(){this.emit("cancel")}};pr.styles=L`
6018
5994
  .cb-clear-message-dialog {
6019
5995
  }
6020
5996
 
6021
5997
  sl-dialog::part(base) {
6022
5998
  z-index: 1000;
6023
5999
  }
6024
- `,wc([p({type:Boolean})],Fr.prototype,"open",2),Fr=wc([se("cb-clear-message-dialog")],Fr);const H0=T`
6000
+ `,mi([u({type:Boolean})],pr.prototype,"open",2),pr=mi([oe("cb-clear-message-dialog")],pr);const hp=L`
6025
6001
  :host {
6026
6002
  // width: 380px;
6027
6003
 
@@ -6080,7 +6056,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
6080
6056
  .setting-input::part(form-control-help-text) {
6081
6057
  grid-column-start: 2;
6082
6058
  }
6083
- `;var U0=Object.defineProperty,j0=Object.getOwnPropertyDescriptor,so=(t,e,o,r)=>{for(var s=r>1?void 0:r?j0(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&U0(e,o,s),s};let mt=class extends he{constructor(){super(...arguments),this.open=!1,this.clearMessageDialogOpen=!1,this.customRequest=!1}render(){return this.customRequest=this.setting.customRequest,w`
6059
+ `;var pp=Object.defineProperty,bp=Object.getOwnPropertyDescriptor,jt=(t,e,o,r)=>{for(var s=r>1?void 0:r?bp(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&pp(e,o,s),s};let ht=class extends pe{constructor(){super(...arguments),this.open=!1,this.clearMessageDialogOpen=!1,this.customRequest=!1}render(){return this.customRequest=this.setting.customRequest,_`
6084
6060
  <cb-dialog
6085
6061
  label="Setting"
6086
6062
  class="cb-dialog"
@@ -6112,7 +6088,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
6112
6088
  Enable it for your own backend.
6113
6089
  </sl-switch>
6114
6090
  </div> -->
6115
- ${Kt(this.customRequest,()=>null,()=>this.renderInternalServices())}
6091
+ ${Ot(this.customRequest,()=>null,()=>this.renderInternalServices())}
6116
6092
 
6117
6093
  <div class="form-item">
6118
6094
  <label class="label">Streaming</label>
@@ -6162,7 +6138,7 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
6162
6138
  @confirm=${this._clearCacheHandler}
6163
6139
  @cancel=${()=>{this.clearMessageDialogOpen=!1}}
6164
6140
  ></cb-clear-message-dialog>
6165
- `}renderInternalServices(){return w`
6141
+ `}renderInternalServices(){return _`
6166
6142
  <div class="form-item">
6167
6143
  <label class="label">Service</label>
6168
6144
  <sl-radio-group name="openai" value="openai" size="small">
@@ -6192,8 +6168,8 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
6192
6168
  @sl-change=${this._inputChangeHandler}
6193
6169
  ></sl-input>
6194
6170
  </div>
6195
- `}_clearCacheHandler(){this.emit("message:clear"),this.clearMessageDialogOpen=!1}_inputChangeHandler(t){const{name:e,value:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o}_checkChangeHandler(t){const{name:e,checked:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o,r==="customRequest"&&(this.customRequest=o)}_settingConfirmHandler(){this.emit("setting:confirm",{detail:{setting:this.setting}})}_settingCancelHandler(){this.emit("setting:hide")}updated(t){var e;super.updated(t),(e=this.dialog)==null||e.addEventListener("sl-request-close",o=>{o.detail.source==="overlay"&&o.preventDefault()})}};mt.styles=H0,so([p({type:Boolean})],mt.prototype,"open",2),so([p({type:Object})],mt.prototype,"setting",2),so([p({type:Boolean})],mt.prototype,"clearMessageDialogOpen",2),so([R("sl-dialog")],mt.prototype,"dialog",2),so([p({type:Boolean})],mt.prototype,"customRequest",2),mt=so([se("cb-setting")],mt),G.define("sl-popup");const G0=T`
6196
- ${Ie}
6171
+ `}_clearCacheHandler(){this.emit("message:clear"),this.clearMessageDialogOpen=!1}_inputChangeHandler(t){const{name:e,value:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o}_checkChangeHandler(t){const{name:e,checked:o}=t.target,[r,s]=e.split(".");s?this.setting[r][s]=o:this.setting[r]=o,r==="customRequest"&&(this.customRequest=o)}_settingConfirmHandler(){this.emit("setting:confirm",{detail:{setting:this.setting}})}_settingCancelHandler(){this.emit("setting:hide")}updated(t){var e;super.updated(t),(e=this.dialog)==null||e.addEventListener("sl-request-close",o=>{o.detail.source==="overlay"&&o.preventDefault()})}};ht.styles=hp,jt([u({type:Boolean})],ht.prototype,"open",2),jt([u({type:Object})],ht.prototype,"setting",2),jt([u({type:Boolean})],ht.prototype,"clearMessageDialogOpen",2),jt([O("sl-dialog")],ht.prototype,"dialog",2),jt([u({type:Boolean})],ht.prototype,"customRequest",2),ht=jt([oe("cb-setting")],ht),H.define("sl-popup");const gp=L`
6172
+ ${Oe}
6197
6173
  :host {
6198
6174
  --primary-color: var(--sl-color-primary-600);
6199
6175
 
@@ -6283,25 +6259,25 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
6283
6259
  align-items: start;
6284
6260
  gap: 10px;
6285
6261
  }
6286
- `,Z0='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234c-.2.032-.352-.176-.273-.362c.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7zM5 8a1 1 0 1 0-2 0a1 1 0 0 0 2 0zm4 0a1 1 0 1 0-2 0a1 1 0 0 0 2 0zm3 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2z"/></svg>';var W0=Object.defineProperty,K0=Object.getOwnPropertyDescriptor,xc=(t,e,o,r)=>{for(var s=r>1?void 0:r?K0(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&W0(e,o,s),s};let Br=class extends he{constructor(){super(...arguments),this.store=new wa(this,I),this.open=!1}_clickHandler(){const t=!this.open;this.emit("chatbot:toggle",{detail:{open:t}}),this.open=t}_engageClickHandler(t){console.log("engage close clicked!"),I.engage=!1,t.stopPropagation()}render(){return w`
6262
+ `,mp='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><path fill="currentColor" d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234c-.2.032-.352-.176-.273-.362c.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7M5 8a1 1 0 1 0-2 0a1 1 0 0 0 2 0m4 0a1 1 0 1 0-2 0a1 1 0 0 0 2 0m3 1a1 1 0 1 0 0-2a1 1 0 0 0 0 2"/></svg>';var vp=Object.defineProperty,yp=Object.getOwnPropertyDescriptor,vi=(t,e,o,r)=>{for(var s=r>1?void 0:r?yp(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&vp(e,o,s),s};let br=class extends pe{constructor(){super(...arguments),this.store=new Bs(this,F),this.open=!1}_clickHandler(){const t=!this.open;this.emit("chatbot:toggle",{detail:{open:t}}),this.open=t}_engageClickHandler(t){console.log("engage close clicked!"),F.suppressEngagePopup(),t.stopPropagation()}render(){return _`
6287
6263
  <div class="cb-anchor ${this.open?"open":""}" part="cb-anchor" @click=${this._clickHandler.bind(this)}>
6288
- <sl-popup placement="top-end" distance="16" ?active="${I.engage&&!I.open}">
6264
+ <sl-popup placement="top-end" distance="16" ?active="${F.engage&&!F.open}">
6289
6265
  <sl-button slot="anchor" label="Start" size="large" variant="primary" class="icon anchor-button" circle>
6290
- ${Kt(this.open,()=>w`<cb-icon color="white" svg="${vr}"></cb-icon>`,()=>w`<cb-icon color="white" svg="${Z0}"></cb-icon>`)}
6266
+ ${Ot(this.open,()=>_`<cb-icon color="white" svg="${Wo}"></cb-icon>`,()=>_`<cb-icon color="white" svg="${mp}"></cb-icon>`)}
6291
6267
  </sl-button>
6292
6268
  <div class="cb-engage-popup">
6293
- <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${Yo`${St(vr)}`}</div>
6269
+ <div class="cb-engage-popup-close" @click=${this._engageClickHandler.bind(this)}>${To`${rt(Wo)}`}</div>
6294
6270
  <div class="cb-engage-popup-content">
6295
- <div class="cb-engage-popup-logo">${Yo`${St(I.setting.logoSvg)}`}</div>
6296
- <!--<cb-icon class="cb-engage-popup-logo" svg="${I.setting.logoSvg}"></cb-icon>-->
6297
- <div>${I.setting.engageMessage}</div>
6271
+ <div class="cb-engage-popup-logo">${To`${rt(F.setting.logoSvg)}`}</div>
6272
+ <!--<cb-icon class="cb-engage-popup-logo" svg="${F.setting.logoSvg}"></cb-icon>-->
6273
+ <div>${F.setting.engageMessage}</div>
6298
6274
  </div>
6299
6275
  </div>
6300
6276
  </sl-popup>
6301
6277
  </div>
6302
- `}};Br.styles=G0,xc([p({type:Boolean})],Br.prototype,"open",2),Br=xc([se("cb-anchor")],Br);const Y0=T`
6303
- ${Ie}
6304
- `,kc='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1H5.1z"/><path d="M7.002 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/></g></svg>',J0='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016a.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06a.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017a.163.163 0 0 1-.054-.06a.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/><path d="M7.002 12a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"/></g></svg>',Q0='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764a.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0a5.5 5.5 0 1 1-11 0z"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293L5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/></g></svg>',X0='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="m8.93 6.588l-2.29.287l-.082.38l.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319c.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246c-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0z"/></g></svg>';var eb=Object.defineProperty,tb=Object.getOwnPropertyDescriptor,Cc=(t,e,o,r)=>{for(var s=r>1?void 0:r?tb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&eb(e,o,s),s};const Ac={error:{variant:"danger",icon:kc},danger:{variant:"danger",icon:kc},warning:{variant:"warning",icon:J0},success:{variant:"success",icon:Q0},info:{variant:"primary",icon:X0}};let Nr=class extends he{constructor(){super(...arguments),this.status="info"}render(){const{variant:t,icon:e}=Ac[this.status]||Ac.info;return w`<cb-icon svg=${e} color="${t}"></cb-icon>`}};Nr.styles=An,Cc([p({type:String})],Nr.prototype,"status",2),Nr=Cc([se("cb-status-icon")],Nr);var ob=Object.defineProperty,rb=Object.getOwnPropertyDescriptor,sb=(t,e,o,r)=>{for(var s=r>1?void 0:r?rb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&ob(e,o,s),s};let ma=class extends he{render(){return w` <sl-alert variant="danger" open>
6278
+ `}};br.styles=gp,vi([u({type:Boolean})],br.prototype,"open",2),br=vi([oe("cb-anchor")],br);const wp=L`
6279
+ ${Oe}
6280
+ `,yi='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M4.54.146A.5.5 0 0 1 4.893 0h6.214a.5.5 0 0 1 .353.146l4.394 4.394a.5.5 0 0 1 .146.353v6.214a.5.5 0 0 1-.146.353l-4.394 4.394a.5.5 0 0 1-.353.146H4.893a.5.5 0 0 1-.353-.146L.146 11.46A.5.5 0 0 1 0 11.107V4.893a.5.5 0 0 1 .146-.353L4.54.146zM5.1 1L1 5.1v5.8L5.1 15h5.8l4.1-4.1V5.1L10.9 1z"/><path d="M7.002 11a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/></g></svg>',_p='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016a.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06a.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017a.163.163 0 0 1-.054-.06a.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/><path d="M7.002 12a1 1 0 1 1 2 0a1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/></g></svg>',xp='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764a.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0a5.5 5.5 0 1 1-11 0"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293L5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/></g></svg>',kp='<svg viewBox="0 0 16 16" width="1.2em" height="1.2em" ><g fill="currentColor"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/><path d="m8.93 6.588l-2.29.287l-.082.38l.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319c.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246c-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0a1 1 0 0 1 2 0"/></g></svg>';var Cp=Object.defineProperty,Ap=Object.getOwnPropertyDescriptor,wi=(t,e,o,r)=>{for(var s=r>1?void 0:r?Ap(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&Cp(e,o,s),s};const _i={error:{variant:"danger",icon:yi},danger:{variant:"danger",icon:yi},warning:{variant:"warning",icon:_p},success:{variant:"success",icon:xp},info:{variant:"primary",icon:kp}};let gr=class extends pe{constructor(){super(...arguments),this.status="info"}render(){const{variant:t,icon:e}=_i[this.status]||_i.info;return _`<cb-icon svg=${e} color="${t}"></cb-icon>`}};gr.styles=va,wi([u({type:String})],gr.prototype,"status",2),gr=wi([oe("cb-status-icon")],gr);var $p=Object.defineProperty,Ep=Object.getOwnPropertyDescriptor,Sp=(t,e,o,r)=>{for(var s=r>1?void 0:r?Ep(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&$p(e,o,s),s};let Fs=class extends pe{render(){return _` <sl-alert variant="danger" open>
6305
6281
  <cb-status-icon status="error" slot="icon"></cb-status-icon>
6306
6282
  Please config openai api key in the settings.
6307
6283
  <span
@@ -6309,17 +6285,17 @@ var xb=Object.defineProperty;var kb=(F,pe,me)=>pe in F?xb(F,pe,{enumerable:!0,co
6309
6285
  class="color-primary text-button"
6310
6286
  >Config Now</span
6311
6287
  >
6312
- </sl-alert>`}_handleConfig(){this.emit("setting:show")}};ma.styles=Y0,ma=sb([se("cb-auth-alert")],ma);class $c extends Error{constructor(e,o,r){const s=e.status||e.status===0?e.status:"",a=e.statusText||"",n=`${s} ${a}`.trim(),i=n?`status code ${n}`:"an unknown error";super(`Request failed with ${i}`),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="HTTPError",this.response=e,this.request=o,this.options=r}}class Ec extends Error{constructor(e){super("Request timed out"),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.request=e}}const Vr=t=>t!==null&&typeof t=="object",Hr=(...t)=>{for(const e of t)if((!Vr(e)||Array.isArray(e))&&typeof e<"u")throw new TypeError("The `options` argument must be an object");return va({},...t)},Sc=(t={},e={})=>{const o=new globalThis.Headers(t),r=e instanceof globalThis.Headers,s=new globalThis.Headers(e);for(const[a,n]of s.entries())r&&n==="undefined"||n===void 0?o.delete(a):o.set(a,n);return o},va=(...t)=>{let e={},o={};for(const r of t)if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(Vr(r)){for(let[s,a]of Object.entries(r))Vr(a)&&s in e&&(a=va(e[s],a)),e={...e,[s]:a};Vr(r.headers)&&(o=Sc(o,r.headers),e.headers=o)}return e},ab=(()=>{let t=!1,e=!1;const o=typeof globalThis.ReadableStream=="function",r=typeof globalThis.Request=="function";return o&&r&&(e=new globalThis.Request("https://a.com",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type")),t&&!e})(),nb=typeof globalThis.AbortController=="function",ib=typeof globalThis.ReadableStream=="function",cb=typeof globalThis.FormData=="function",Dc=["get","post","put","patch","head","delete"],lb={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},ya=2147483647,qc=Symbol("stop"),db=t=>Dc.includes(t)?t.toUpperCase():t,fb=["get","put","head","delete","options","trace"],ub=[408,413,429,500,502,503,504],Tc=[413,429,503],zc={limit:2,methods:fb,statusCodes:ub,afterStatusCodes:Tc,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},hb=(t={})=>{if(typeof t=="number")return{...zc,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...zc,...t,afterStatusCodes:Tc}};async function pb(t,e,o){return new Promise((r,s)=>{const a=setTimeout(()=>{e&&e.abort(),s(new Ec(t))},o.timeout);o.fetch(t).then(r).catch(s).then(()=>{clearTimeout(a)})})}const bb=!!globalThis.DOMException;function Lc(t){if(bb)return new DOMException((t==null?void 0:t.reason)??"The operation was aborted.","AbortError");const e=new Error((t==null?void 0:t.reason)??"The operation was aborted.");return e.name="AbortError",e}async function gb(t,{signal:e}){return new Promise((o,r)=>{if(e){if(e.aborted){r(Lc(e));return}e.addEventListener("abort",s,{once:!0})}function s(){r(Lc(e)),clearTimeout(a)}const a=setTimeout(()=>{e==null||e.removeEventListener("abort",s),o()},t)})}class Ur{static create(e,o){const r=new Ur(e,o),s=async()=>{if(r._options.timeout>ya)throw new RangeError(`The \`timeout\` option cannot be greater than ${ya}`);await Promise.resolve();let i=await r._fetch();for(const c of r._options.hooks.afterResponse){const l=await c(r.request,r._options,r._decorateResponse(i.clone()));l instanceof globalThis.Response&&(i=l)}if(r._decorateResponse(i),!i.ok&&r._options.throwHttpErrors){let c=new $c(i,r.request,r._options);for(const l of r._options.hooks.beforeError)c=await l(c);throw c}if(r._options.onDownloadProgress){if(typeof r._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!ib)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(i.clone(),r._options.onDownloadProgress)}return i},n=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(s):s();for(const[i,c]of Object.entries(lb))n[i]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||c);const d=(await n).clone();if(i==="json"){if(d.status===204||(await d.clone().arrayBuffer()).byteLength===0)return"";if(o.parseJson)return o.parseJson(await d.text())}return d[i]()};return n}constructor(e,o={}){if(Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"abortController",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_retryCount",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._input=e,this._options={credentials:this._input.credentials||"same-origin",...o,headers:Sc(this._input.headers,o.headers),hooks:va({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},o.hooks),method:db(o.method??this._input.method),prefixUrl:String(o.prefixUrl||""),retry:hb(o.retry),throwHttpErrors:o.throwHttpErrors!==!1,timeout:typeof o.timeout>"u"?1e4:o.timeout,fetch:o.fetch??globalThis.fetch.bind(globalThis)},typeof this._input!="string"&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&typeof this._input=="string"){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(nb){if(this.abortController=new globalThis.AbortController,this._options.signal){const r=this._options.signal;this._options.signal.addEventListener("abort",()=>{this.abortController.abort(r.reason)})}this._options.signal=this.abortController.signal}if(ab&&(this._options.duplex="half"),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){const s="?"+(typeof this._options.searchParams=="string"?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString()),a=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,s);(cb&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(a,{...this.request}),this._options)}this._options.json!==void 0&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type",this._options.headers.get("content-type")??"application/json"),this.request=new globalThis.Request(this.request,{body:this._options.body}))}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(e instanceof Ec)){if(e instanceof $c){if(!this._options.retry.statusCodes.includes(e.response.status))return 0;const r=e.response.headers.get("Retry-After");if(r&&this._options.retry.afterStatusCodes.includes(e.response.status)){let s=Number(r);return Number.isNaN(s)?s=Date.parse(r)-Date.now():s*=1e3,typeof this._options.retry.maxRetryAfter<"u"&&s>this._options.retry.maxRetryAfter?0:s}if(e.response.status===413)return 0}const o=.3;return Math.min(this._options.retry.backoffLimit,o*2**(this._retryCount-1)*1e3)}return 0}_decorateResponse(e){return this._options.parseJson&&(e.json=async()=>this._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(o){const r=Math.min(this._calculateRetryDelay(o),ya);if(r!==0&&this._retryCount>0){await gb(r,{signal:this._options.signal});for(const s of this._options.hooks.beforeRetry)if(await s({request:this.request,options:this._options,error:o,retryCount:this._retryCount})===qc)return;return this._retry(e)}throw o}}async _fetch(){for(const e of this._options.hooks.beforeRequest){const o=await e(this.request,this._options);if(o instanceof Request){this.request=o;break}if(o instanceof Response)return o}return this._options.timeout===!1?this._options.fetch(this.request.clone()):pb(this.request.clone(),this.abortController,this._options)}_stream(e,o){const r=Number(e.headers.get("content-length"))||0;let s=0;return e.status===204?(o&&o({percent:1,totalBytes:r,transferredBytes:s},new Uint8Array),new globalThis.Response(null,{status:e.status,statusText:e.statusText,headers:e.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(a){const n=e.body.getReader();o&&o({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array);async function i(){const{done:c,value:l}=await n.read();if(c){a.close();return}if(o){s+=l.byteLength;const d=r===0?0:s/r;o({percent:d,transferredBytes:s,totalBytes:r},l)}a.enqueue(l),await i()}await i()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}}/*! MIT License © Sindre Sorhus */const _a=t=>{const e=(o,r)=>Ur.create(o,Hr(t,r));for(const o of Dc)e[o]=(r,s)=>Ur.create(r,Hr(t,s,{method:o}));return e.create=o=>_a(Hr(o)),e.extend=o=>_a(Hr(t,o)),e.stop=qc,e},mb=_a().extend({hooks:{beforeRequest:[()=>{}]}});async function vb(t,e){const{onmessage:o,onclose:r,...s}=e,a=async(n,i)=>{const{value:c,done:l}=await i.read();l?(n.close(),r==null||r()):(o==null||o(c),n.enqueue(c),a(n,i))};return s.body&&typeof s.body=="object"&&(s.body=JSON.stringify(s.body)),console.log("Fetching:",s),fetch(t,s).then(n=>{const i=n.body.getReader();return new ReadableStream({start(l){a(l,i)}})}).then(n=>new Response(n,{headers:{"Content-Type":"text/html"}}).text())}async function yb(t,e){const o=new FormData;for(let s=0;s<e.length;s++)o.append("files",e[s]);const r=await mb.post(t,{body:o});try{return await r.json()}catch(s){return{code:1,url:"",message:s.message}}}var _b=Object.defineProperty,wb=Object.getOwnPropertyDescriptor,te=(t,e,o,r)=>{for(var s=r>1?void 0:r?wb(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&_b(e,o,s),s};const jr=Qo.noConflict();jr.setLevel("info"),F.default=class extends he{constructor(){super(...arguments),this.store=new wa(this,I),this.displayLicense=!1,this.name="ChatBot",this.orgId="",this.botId="",this.url="ws://localhost:3070",this.logoSvg=` <svg width="24" height="24" viewBox="0 0 40 40">
6288
+ </sl-alert>`}_handleConfig(){this.emit("setting:show")}};Fs.styles=wp,Fs=Sp([oe("cb-auth-alert")],Fs);class xi extends Error{constructor(e,o,r){const s=e.status||e.status===0?e.status:"",a=e.statusText||"",n=`${s} ${a}`.trim(),i=n?`status code ${n}`:"an unknown error";super(`Request failed with ${i}`),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="HTTPError",this.response=e,this.request=o,this.options=r}}class ki extends Error{constructor(e){super("Request timed out"),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.request=e}}const mr=t=>t!==null&&typeof t=="object",vr=(...t)=>{for(const e of t)if((!mr(e)||Array.isArray(e))&&typeof e<"u")throw new TypeError("The `options` argument must be an object");return Ps({},...t)},Ci=(t={},e={})=>{const o=new globalThis.Headers(t),r=e instanceof globalThis.Headers,s=new globalThis.Headers(e);for(const[a,n]of s.entries())r&&n==="undefined"||n===void 0?o.delete(a):o.set(a,n);return o},Ps=(...t)=>{let e={},o={};for(const r of t)if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(mr(r)){for(let[s,a]of Object.entries(r))mr(a)&&s in e&&(a=Ps(e[s],a)),e={...e,[s]:a};mr(r.headers)&&(o=Ci(o,r.headers),e.headers=o)}return e},Dp=(()=>{let t=!1,e=!1;const o=typeof globalThis.ReadableStream=="function",r=typeof globalThis.Request=="function";return o&&r&&(e=new globalThis.Request("https://a.com",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type")),t&&!e})(),qp=typeof globalThis.AbortController=="function",Tp=typeof globalThis.ReadableStream=="function",zp=typeof globalThis.FormData=="function",Ai=["get","post","put","patch","head","delete"],Lp={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},Is=2147483647,$i=Symbol("stop"),Rp=t=>Ai.includes(t)?t.toUpperCase():t,Op=["get","put","head","delete","options","trace"],Fp=[408,413,429,500,502,503,504],Ei=[413,429,503],Si={limit:2,methods:Op,statusCodes:Fp,afterStatusCodes:Ei,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},Pp=(t={})=>{if(typeof t=="number")return{...Si,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...Si,...t,afterStatusCodes:Ei}};async function Ip(t,e,o){return new Promise((r,s)=>{const a=setTimeout(()=>{e&&e.abort(),s(new ki(t))},o.timeout);o.fetch(t).then(r).catch(s).then(()=>{clearTimeout(a)})})}const Mp=!!globalThis.DOMException;function Di(t){if(Mp)return new DOMException((t==null?void 0:t.reason)??"The operation was aborted.","AbortError");const e=new Error((t==null?void 0:t.reason)??"The operation was aborted.");return e.name="AbortError",e}async function Bp(t,{signal:e}){return new Promise((o,r)=>{if(e){if(e.aborted){r(Di(e));return}e.addEventListener("abort",s,{once:!0})}function s(){r(Di(e)),clearTimeout(a)}const a=setTimeout(()=>{e==null||e.removeEventListener("abort",s),o()},t)})}class yr{static create(e,o){const r=new yr(e,o),s=async()=>{if(r._options.timeout>Is)throw new RangeError(`The \`timeout\` option cannot be greater than ${Is}`);await Promise.resolve();let i=await r._fetch();for(const c of r._options.hooks.afterResponse){const l=await c(r.request,r._options,r._decorateResponse(i.clone()));l instanceof globalThis.Response&&(i=l)}if(r._decorateResponse(i),!i.ok&&r._options.throwHttpErrors){let c=new xi(i,r.request,r._options);for(const l of r._options.hooks.beforeError)c=await l(c);throw c}if(r._options.onDownloadProgress){if(typeof r._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!Tp)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(i.clone(),r._options.onDownloadProgress)}return i},n=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(s):s();for(const[i,c]of Object.entries(Lp))n[i]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||c);const f=(await n).clone();if(i==="json"){if(f.status===204||(await f.clone().arrayBuffer()).byteLength===0)return"";if(o.parseJson)return o.parseJson(await f.text())}return f[i]()};return n}constructor(e,o={}){if(Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"abortController",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_retryCount",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._input=e,this._options={credentials:this._input.credentials||"same-origin",...o,headers:Ci(this._input.headers,o.headers),hooks:Ps({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},o.hooks),method:Rp(o.method??this._input.method),prefixUrl:String(o.prefixUrl||""),retry:Pp(o.retry),throwHttpErrors:o.throwHttpErrors!==!1,timeout:typeof o.timeout>"u"?1e4:o.timeout,fetch:o.fetch??globalThis.fetch.bind(globalThis)},typeof this._input!="string"&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&typeof this._input=="string"){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(qp){if(this.abortController=new globalThis.AbortController,this._options.signal){const r=this._options.signal;this._options.signal.addEventListener("abort",()=>{this.abortController.abort(r.reason)})}this._options.signal=this.abortController.signal}if(Dp&&(this._options.duplex="half"),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){const s="?"+(typeof this._options.searchParams=="string"?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString()),a=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,s);(zp&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(a,{...this.request}),this._options)}this._options.json!==void 0&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type",this._options.headers.get("content-type")??"application/json"),this.request=new globalThis.Request(this.request,{body:this._options.body}))}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(e instanceof ki)){if(e instanceof xi){if(!this._options.retry.statusCodes.includes(e.response.status))return 0;const r=e.response.headers.get("Retry-After");if(r&&this._options.retry.afterStatusCodes.includes(e.response.status)){let s=Number(r);return Number.isNaN(s)?s=Date.parse(r)-Date.now():s*=1e3,typeof this._options.retry.maxRetryAfter<"u"&&s>this._options.retry.maxRetryAfter?0:s}if(e.response.status===413)return 0}const o=.3;return Math.min(this._options.retry.backoffLimit,o*2**(this._retryCount-1)*1e3)}return 0}_decorateResponse(e){return this._options.parseJson&&(e.json=async()=>this._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(o){const r=Math.min(this._calculateRetryDelay(o),Is);if(r!==0&&this._retryCount>0){await Bp(r,{signal:this._options.signal});for(const s of this._options.hooks.beforeRetry)if(await s({request:this.request,options:this._options,error:o,retryCount:this._retryCount})===$i)return;return this._retry(e)}throw o}}async _fetch(){for(const e of this._options.hooks.beforeRequest){const o=await e(this.request,this._options);if(o instanceof Request){this.request=o;break}if(o instanceof Response)return o}return this._options.timeout===!1?this._options.fetch(this.request.clone()):Ip(this.request.clone(),this.abortController,this._options)}_stream(e,o){const r=Number(e.headers.get("content-length"))||0;let s=0;return e.status===204?(o&&o({percent:1,totalBytes:r,transferredBytes:s},new Uint8Array),new globalThis.Response(null,{status:e.status,statusText:e.statusText,headers:e.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(a){const n=e.body.getReader();o&&o({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array);async function i(){const{done:c,value:l}=await n.read();if(c){a.close();return}if(o){s+=l.byteLength;const f=r===0?0:s/r;o({percent:f,transferredBytes:s,totalBytes:r},l)}a.enqueue(l),await i()}await i()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}}/*! MIT License © Sindre Sorhus */const Ms=t=>{const e=(o,r)=>yr.create(o,vr(t,r));for(const o of Ai)e[o]=(r,s)=>yr.create(r,vr(t,s,{method:o}));return e.create=o=>Ms(vr(o)),e.extend=o=>Ms(vr(t,o)),e.stop=$i,e},Vp=Ms().extend({hooks:{beforeRequest:[()=>{}]}});async function Up(t,e){const{onmessage:o,onclose:r,...s}=e,a=async(n,i)=>{const{value:c,done:l}=await i.read();l?(n.close(),r==null||r()):(o==null||o(c),n.enqueue(c),a(n,i))};return s.body&&typeof s.body=="object"&&(s.body=JSON.stringify(s.body)),console.log("Fetching:",s),fetch(t,s).then(n=>{const i=n.body.getReader();return new ReadableStream({start(l){a(l,i)}})}).then(n=>new Response(n,{headers:{"Content-Type":"text/html"}}).text())}async function Np(t,e){const o=new FormData;for(let s=0;s<e.length;s++)o.append("files",e[s]);const r=await Vp.post(t,{body:o});try{return await r.json()}catch(s){return{code:1,url:"",message:s.message}}}var jp=Object.defineProperty,Hp=Object.getOwnPropertyDescriptor,ee=(t,e,o,r)=>{for(var s=r>1?void 0:r?Hp(e,o):e,a=t.length-1,n;a>=0;a--)(n=t[a])&&(s=(r?n(e,o,s):n(s))||s);return r&&s&&jp(e,o,s),s};const wr=Lo.noConflict();wr.setLevel("info"),B.default=class extends pe{constructor(){super(...arguments),this.store=new Bs(this,F),this.displayLicense=!1,this.name="ChatBot",this.orgId="",this.botId="",this.url="ws://localhost:3070",this.logoSvg=` <svg width="24" height="24" viewBox="0 0 40 40">
6313
6289
  <path
6314
6290
  d="M34.728 0.275L2.245 15.267c-3.748 1.749 -2.498 7.246 1.499 7.246h13.743v13.743c0 3.998 5.497 5.248 7.246 1.499l14.992 -32.483c1.249 -2.999 -1.999 -6.248 -4.998 -4.998z"
6315
6291
  fill="#E24D42"
6316
6292
  ></path>
6317
6293
  </svg>
6318
- `,this.botIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" /></svg>',this.userIconSvg='<svg fill="currentColor" viewBox="0 0 24 24" width="24" height="24"> <path d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4Z" /></svg>',this.systemIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"/></svg>',this.stream=!1,this.customRequest=!1,this.enableFileUpload=!1,this.uploadFileUrl="",this.open=!1,this.loading=!1,this.showSetting=!1,this.showAuthAlert=!1,this.fetchStream=vb}decodeStreamData(e){return new TextDecoder().decode(e)}addMessage(){const e={author:"assistant",type:"text",isThinking:!0,data:{}};return I.addMessage(e),e}addTestMessage(){const e={author:"assistant",type:"text",isThinking:!1,data:{text:"Long text.The element may not be scrolled completely to the top or bottom depending on the layout of other elements.The element may not be scrolled completely to the top or bottom depending on the layout of other elements."}};return I.addMessage(e),e}render(){return I.disabled?(jr.error("Bot is disabled"),null):w`
6319
- <div class="cb-wrapper" style="${I.open?"display:flex":"display:none"}">
6294
+ `,this.botIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" /></svg>',this.userIconSvg='<svg fill="currentColor" viewBox="0 0 24 24" width="24" height="24"> <path d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4Z" /></svg>',this.systemIconSvg='<svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24"> <path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"/></svg>',this.stream=!1,this.customRequest=!1,this.enableFileUpload=!1,this.uploadFileUrl="",this.open=!1,this.loading=!1,this.showSetting=!1,this.showAuthAlert=!1,this.fetchStream=Up}decodeStreamData(e){return new TextDecoder().decode(e)}addMessage(){const e={author:"assistant",type:"text",isThinking:!0,data:{}};return F.addMessage(e),e}addTestMessage(){const e={author:"assistant",type:"text",isThinking:!1,data:{text:"Long text.The element may not be scrolled completely to the top or bottom depending on the layout of other elements.The element may not be scrolled completely to the top or bottom depending on the layout of other elements."}};return F.addMessage(e),e}render(){return F.disabled?(wr.error("Bot is disabled"),null):_`
6295
+ <div class="cb-wrapper" style="${F.open?"display:flex":"display:none"}">
6320
6296
  <cb-header title="${this.name}" exportparts="header"></cb-header>
6321
- <cb-message-list .messages=${I.messages} .actions=${I.actions} .form=${I.form} exportparts="form"></cb-message-list>
6297
+ <cb-message-list .messages=${F.messages} .actions=${F.actions} .form=${F.form} exportparts="form"></cb-message-list>
6322
6298
  ${this.renderUserInput()}
6323
6299
  </div>
6324
- <cb-anchor ?open=${I.open}></cb-anchor>
6325
- `}renderUserInput(){return I.form?null:w`<cb-user-input ?loading=${this.loading} ?disabled=${this.loading||I.form} ?enable-file-upload=${this.enableFileUpload}></cb-user-input>`}connectedCallback(){super.connectedCallback(),jr.info("connectedCallback"),addEventListener("setting:show",()=>{this.showSetting=!0}),addEventListener("message:send",this._addMessageHandler.bind(this)),addEventListener("message:remove",this._deleteMessageHandler.bind(this)),addEventListener("setting:confirm",this._settingConfirmHandler.bind(this)),addEventListener("setting:hide",()=>{this.showSetting=!1}),addEventListener("chatbot:toggle",e=>{const o=e.detail;I.open=o.open,I.engage=!1}),addEventListener("message:clear",()=>{I.clearMessages()}),addEventListener("message:send:file",this._sendFileHandler.bind(this)),addEventListener("setting:show",()=>{this.showSetting=!0}),addEventListener("form:submit",this._formSubmitHandler.bind(this))}updated(e){super.updated(e),e.size>0&&(jr.info("updated,_changedProperties:",e),this._initSetting()),setTimeout(()=>{this._scrollToBottom()},0)}_initSetting(){const e=I.setting;e.orgId=this.orgId,e.botId=this.botId,e.url=this.url,e.logoSvg=this.logoSvg,e.botIconSvg=this.botIconSvg,e.userIconSvg=this.userIconSvg,e.systemIconSvg=this.systemIconSvg,I.setSetting(e)}setLoading(e){this.loading=e}clearConversation(){I.clearConversation()}_checkAuth(){}_addMessageHandler(e){const o=e.detail;I.sendMessage(o)}_deleteMessageHandler(e){const o=e.detail;I.removeMessage(o.id)}async _sendFileHandler(e){const o=e.detail,s={author:"user",type:"file",isUploading:!0,data:{files:o.files.map((a,n)=>({id:`${a.name}-${n}`,name:a.name,size:a.size,type:a.type,url:""}))}};if(I.addMessage(s),this.uploadFileUrl){const a=await yb(this.uploadFileUrl,o.files);a.code===0&&a.data&&(s.isUploading=!1,s.data={files:a.data},I.updateMessage(s))}this.emit("chatbot:file:send",{detail:{files:o.files,message:s}})}_settingConfirmHandler(e){const o=e.detail;I.setSetting(o.setting),this.showSetting=!1,this._checkAuth()}async _formSubmitHandler(e){}_scrollToBottom(e=!1){var o;(o=this._messageList)==null||o.scrollToBottom()}},F.default.styles=El,te([p({type:Boolean,attribute:"display-license"})],F.default.prototype,"displayLicense",2),te([p({type:String,attribute:"name"})],F.default.prototype,"name",2),te([p({type:String,attribute:"org-id"})],F.default.prototype,"orgId",2),te([p({type:String,attribute:"bot-id"})],F.default.prototype,"botId",2),te([p({type:String,attribute:"url"})],F.default.prototype,"url",2),te([p({type:String,attribute:"logo-svg"})],F.default.prototype,"logoSvg",2),te([p({type:String,attribute:"bot-icon-svg"})],F.default.prototype,"botIconSvg",2),te([p({type:String,attribute:"user-icon-svg"})],F.default.prototype,"userIconSvg",2),te([p({type:String,attribute:"system-icon-svg"})],F.default.prototype,"systemIconSvg",2),te([p({type:Boolean,attribute:"stream"})],F.default.prototype,"stream",2),te([p({type:Boolean,attribute:"custom-request"})],F.default.prototype,"customRequest",2),te([p({type:Boolean,attribute:"enable-file-upload"})],F.default.prototype,"enableFileUpload",2),te([p({type:String,attribute:"upload-file-url"})],F.default.prototype,"uploadFileUrl",2),te([p({type:Boolean,attribute:"open"})],F.default.prototype,"open",2),te([p({type:Boolean})],F.default.prototype,"loading",2),te([p({type:Boolean})],F.default.prototype,"showSetting",2),te([p({type:Boolean})],F.default.prototype,"showAuthAlert",2),te([R("cb-message-list")],F.default.prototype,"_messageList",2),F.default=te([se("enegelai-bot")],F.default),Object.defineProperties(F,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
6300
+ <cb-anchor ?open=${F.open}></cb-anchor>
6301
+ `}renderUserInput(){return F.form?null:_`<cb-user-input ?loading=${this.loading} ?disabled=${this.loading||F.form} ?enable-file-upload=${this.enableFileUpload}></cb-user-input>`}connectedCallback(){super.connectedCallback(),wr.info("connectedCallback"),addEventListener("setting:show",()=>{this.showSetting=!0}),addEventListener("message:send",this._addMessageHandler.bind(this)),addEventListener("message:remove",this._deleteMessageHandler.bind(this)),addEventListener("setting:confirm",this._settingConfirmHandler.bind(this)),addEventListener("setting:hide",()=>{this.showSetting=!1}),addEventListener("chatbot:toggle",e=>{const o=e.detail;F.open=o.open,F.suppressEngagePopup()}),addEventListener("message:clear",()=>{F.clearMessages()}),addEventListener("message:send:file",this._sendFileHandler.bind(this)),addEventListener("setting:show",()=>{this.showSetting=!0}),addEventListener("form:submit",this._formSubmitHandler.bind(this))}updated(e){super.updated(e),e.size>0&&(wr.info("updated,_changedProperties:",e),this._initSetting()),setTimeout(()=>{this._scrollToBottom()},0)}_initSetting(){const e=F.setting;e.orgId=this.orgId,e.botId=this.botId,e.url=this.url,e.logoSvg=this.logoSvg,e.botIconSvg=this.botIconSvg,e.userIconSvg=this.userIconSvg,e.systemIconSvg=this.systemIconSvg,F.setSetting(e)}setLoading(e){this.loading=e}clearConversation(){F.clearConversation()}_checkAuth(){}_addMessageHandler(e){const o=e.detail;F.sendMessage(o)}_deleteMessageHandler(e){const o=e.detail;F.removeMessage(o.id)}async _sendFileHandler(e){const o=e.detail,s={author:"user",type:"file",isUploading:!0,data:{files:o.files.map((a,n)=>({id:`${a.name}-${n}`,name:a.name,size:a.size,type:a.type,url:""}))}};if(F.addMessage(s),this.uploadFileUrl){const a=await Np(this.uploadFileUrl,o.files);a.code===0&&a.data&&(s.isUploading=!1,s.data={files:a.data},F.updateMessage(s))}this.emit("chatbot:file:send",{detail:{files:o.files,message:s}})}_settingConfirmHandler(e){const o=e.detail;F.setSetting(o.setting),this.showSetting=!1,this._checkAuth()}async _formSubmitHandler(e){}_scrollToBottom(e=!1){var o;(o=this._messageList)==null||o.scrollToBottom()}},B.default.styles=lc,ee([u({type:Boolean,attribute:"display-license"})],B.default.prototype,"displayLicense",2),ee([u({type:String,attribute:"name"})],B.default.prototype,"name",2),ee([u({type:String,attribute:"org-id"})],B.default.prototype,"orgId",2),ee([u({type:String,attribute:"bot-id"})],B.default.prototype,"botId",2),ee([u({type:String,attribute:"url"})],B.default.prototype,"url",2),ee([u({type:String,attribute:"logo-svg"})],B.default.prototype,"logoSvg",2),ee([u({type:String,attribute:"bot-icon-svg"})],B.default.prototype,"botIconSvg",2),ee([u({type:String,attribute:"user-icon-svg"})],B.default.prototype,"userIconSvg",2),ee([u({type:String,attribute:"system-icon-svg"})],B.default.prototype,"systemIconSvg",2),ee([u({type:Boolean,attribute:"stream"})],B.default.prototype,"stream",2),ee([u({type:Boolean,attribute:"custom-request"})],B.default.prototype,"customRequest",2),ee([u({type:Boolean,attribute:"enable-file-upload"})],B.default.prototype,"enableFileUpload",2),ee([u({type:String,attribute:"upload-file-url"})],B.default.prototype,"uploadFileUrl",2),ee([u({type:Boolean,attribute:"open"})],B.default.prototype,"open",2),ee([u({type:Boolean})],B.default.prototype,"loading",2),ee([u({type:Boolean})],B.default.prototype,"showSetting",2),ee([u({type:Boolean})],B.default.prototype,"showAuthAlert",2),ee([O("cb-message-list")],B.default.prototype,"_messageList",2),B.default=ee([oe("enegelai-bot")],B.default),Object.defineProperties(B,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});