@liip/liipgpt 3.11.0 → 3.11.1
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.
- package/LICENSE +201 -88
- package/NOTICE +22 -0
- package/button/liipgpt-button.iife.js +1 -0
- package/button/liipgpt-button.js +1 -0
- package/chat/liipgpt-chat.iife.js +1 -0
- package/chat/liipgpt-chat.js +1 -0
- package/config/index.cjs +1 -0
- package/config/index.js +2 -0
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/{D-JCQPQm.js → BKIpM6Uh.js} +1 -1
- package/configurator/_app/immutable/chunks/{CzUbCS7s.js → BqUlvFpk.js} +1 -1
- package/configurator/_app/immutable/chunks/{DjnNQ9cM.js → C89VvXMY.js} +1 -1
- package/configurator/_app/immutable/chunks/{B7XnzOtp.js → CCYtl4Cx.js} +1 -1
- package/configurator/_app/immutable/entry/{app.J7WXZUmQ.js → app.DeI6KmEL.js} +2 -2
- package/configurator/_app/immutable/entry/start.B2WsGlY5.js +1 -0
- package/configurator/_app/immutable/nodes/{0.RUKKNLNS.js → 0.BT5ERCvw.js} +1 -1
- package/configurator/_app/immutable/nodes/{1.QacfMzbd.js → 1.Ck4X0PzJ.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.B9VbxGZZ.js → 2.DH-Gvey4.js} +1 -1
- package/configurator/_app/immutable/nodes/{3.CIoPlU9V.js → 3.CeOJQlnp.js} +1 -1
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +6 -6
- package/configurator/sidebar.html +6 -6
- package/index.cjs +1 -0
- package/index.js +2 -0
- package/package.json +4 -2
- package/search-summary/liipgpt-search-summary.iife.js +1 -0
- package/search-summary/liipgpt-search-summary.js +3 -2
- package/search-summary/{load-chat-config-D1K0jXrB.js → load-chat-config-BnSgm085.js} +2 -1
- package/search-summary/translations-utils-J0hLe4am.js +2 -0
- package/configurator/_app/immutable/entry/start.BqxvRB3w.js +0 -1
- package/search-summary/translations-utils-E4InubIu.js +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/*! @liip/liipgpt | Copyright 2025-2026 Liip AG | Apache-2.0 | see LICENSE and NOTICE */
|
|
1
2
|
var LiipGPTChat=(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e));typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var u={},d=Symbol(),f=`http://www.w3.org/1999/xhtml`,p=`http://www.w3.org/2000/svg`,m=`http://www.w3.org/1998/Math/MathML`,h=`@attach`,g=Array.isArray,_=Array.prototype.indexOf,v=Array.prototype.includes,y=Array.from,b=Object.keys,x=Object.defineProperty,S=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,ee=Object.prototype,te=Array.prototype,ne=Object.getPrototypeOf,re=Object.isExtensible;function ie(e){return typeof e==`function`}var w=()=>{};function ae(e){return typeof e?.then==`function`}function oe(e){return e()}function se(e){for(var t=0;t<e.length;t++)e[t]()}function ce(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var le=1<<24,ue=1024,de=2048,fe=4096,pe=8192,me=16384,he=32768,ge=1<<25,_e=65536,ve=1<<18,ye=1<<19,be=1<<20,xe=1<<25,Se=65536,Ce=1<<21,we=1<<22,Te=1<<23,Ee=Symbol(`$state`),De=Symbol(`legacy props`),Oe=Symbol(``),ke=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ae=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function je(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function Me(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Ne(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Pe(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Fe(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Ie(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Le(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Re(){throw Error(`https://svelte.dev/e/hydration_failed`)}function ze(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Be(){throw Error(`https://svelte.dev/e/set_context_after_init`)}function Ve(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function He(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Ue(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function We(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Ge(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ke(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function qe(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var T=!1;function Je(e){T=e}var Ye;function Xe(e){if(e===null)throw Ge(),u;return Ye=e}function Ze(){return Xe(Rn(Ye))}function E(e){if(T){if(Rn(Ye)!==null)throw Ge(),u;Ye=e}}function Qe(e=1){if(T){for(var t=e,n=Ye;t--;)n=Rn(n);Ye=n}}function $e(e=!0){for(var t=0,n=Ye;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Rn(n);e&&n.remove(),n=i}}function et(e){if(!e||e.nodeType!==8)throw Ge(),u;return e.data}function tt(e){return e===this.v}function nt(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function rt(e){return!nt(e,this.v)}var it=!1,at=!1;function ot(){at=!0}var st=[];function ct(e,t=!1,n=!1){return lt(e,new Map,``,st,null,n)}function lt(e,t,n,r,i=null,a=!1){if(typeof e==`object`&&e){var o=t.get(e);if(o!==void 0)return o;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(g(e)){var s=Array(e.length);t.set(e,s),i!==null&&t.set(i,s);for(var c=0;c<e.length;c+=1){var l=e[c];c in e&&(s[c]=lt(l,t,n,r,null,a))}return s}if(ne(e)===ee){s={},t.set(e,s),i!==null&&t.set(i,s);for(var u of Object.keys(e))s[u]=lt(e[u],t,n,r,null,a);return s}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON==`function`&&!a)return lt(e.toJSON(),t,n,r,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}var ut=null;function dt(e){ut=e}function ft(e){return _t(`getContext`).get(e)}function pt(e,t){let n=_t(`setContext`);if(it){var r=Or.f;!Tr&&r&32&&!ut.i||Be()}return n.set(e,t),t}function mt(e){return _t(`hasContext`).has(e)}function ht(){return _t(`getAllContexts`)}function D(e,t=!1,n){ut={p:ut,i:!1,c:null,e:null,s:e,x:null,r:Or,l:at&&!t?{s:null,u:null,$:[]}:null}}function O(e){var t=ut,n=t.e;if(n!==null){t.e=null;for(var r of n)er(r)}return e!==void 0&&(t.x=e),t.i=!0,ut=t.p,e??{}}function gt(){return!at||ut!==null&&ut.l===null}function _t(e){return ut===null&&je(e),ut.c??=new Map(vt(ut)||void 0)}function vt(e){let t=e.p;for(;t!==null;){let e=t.c;if(e!==null)return e;t=t.p}return null}var yt=[];function bt(){var e=yt;yt=[],se(e)}function xt(e){if(yt.length===0&&!Bt){var t=yt;queueMicrotask(()=>{t===yt&&bt()})}yt.push(e)}function St(){for(;yt.length>0;)bt()}function Ct(e){var t=Or;if(t===null)return Tr.f|=Te,e;if(!(t.f&32768)&&!(t.f&4))throw e;wt(e,t)}function wt(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Tt=~(de|fe|ue);function Et(e,t){e.f=e.f&Tt|t}function Dt(e){e.f&512||e.deps===null?Et(e,ue):Et(e,fe)}function Ot(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=Se,Ot(t.deps))}function kt(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ot(e.deps),Et(e,ue)}var At=[];function jt(e,t=w){let n=null,r=new Set;function i(t){if(nt(e,t)&&(e=t,n)){let t=!At.length;for(let t of r)t[1](),At.push(t,e);if(t){for(let e=0;e<At.length;e+=2)At[e][0](At[e+1]);At.length=0}}}function a(t){i(t(e))}function o(o,s=w){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||w),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var Mt=!1,Nt=!1;function Pt(e){var t=Nt;try{return Nt=!1,[e(),Nt]}finally{Nt=t}}var Ft=new Set,It=null,Lt=null,Rt=null,zt=null,Bt=!1,Vt=!1,Ht=null,Ut=null,Wt=0,Gt=1,Kt=class e{id=Gt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u(){return this.is_fork||this.#r>0}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)Et(n,de),this.schedule(n);for(n of t.m)Et(n,fe),this.schedule(n)}}#d(){if(Wt++>1e3&&(Ft.delete(this),qt()),!this.#u()){for(let e of this.#o)this.#s.delete(e),Et(e,de),this.schedule(e);for(let e of this.#s)Et(e,fe),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=Ht=[],r=[],i=Ut=[];for(let e of t)try{this.#f(e,n,r)}catch(t){throw en(e),t}if(It=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Ht=null,Ut=null,this.#u()){this.#p(r),this.#p(n);for(let[e,t]of this.#c)$t(e,t)}else{this.#n===0&&Ft.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),Lt=this,Yt(r),Yt(n),Lt=null,this.#i?.resolve()}var o=It;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(Ft.add(o),o.#d()),Ft.has(this)||this.#m()}#f(e,t,n){e.f^=ue;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=ue:i&4?t.push(r):it&&i&16777224?n.push(r):Vr(r)&&(i&16&&this.#s.add(r),Kr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#p(e){for(var t=0;t<e.length;t+=1)kt(e[t],this.#o,this.#s)}capture(e,t){t!==d&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,e.v),Rt?.set(e,e.v))}activate(){It=this}deactivate(){It=null,Rt=null}flush(){try{Vt=!0,It=this,this.#d()}finally{Wt=0,zt=null,Ht=null,Ut=null,Vt=!1,It=null,Rt=null,bn.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),Ft.delete(this)}#m(){for(let s of Ft){var e=s.id<this.id,t=[];for(let[n,r]of this.current){if(s.current.has(n))if(e&&r!==s.current.get(n))s.current.set(n,r);else continue;t.push(n)}var n=[...s.current.keys()].filter(e=>!this.current.has(e));if(n.length===0)e&&s.discard();else if(t.length>0){s.activate();var r=new Set,i=new Map;for(var a of t)Xt(a,n,r,i);if(s.#a.length>0){s.apply();for(var o of s.#a)s.#f(o,[],[]);s.#a=[]}s.deactivate()}}}increment(e){this.#n+=1,e&&(this.#r+=1)}decrement(e,t){--this.#n,e&&--this.#r,!(this.#l||t)&&(this.#l=!0,xt(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=ce()).promise}static ensure(){if(It===null){let t=It=new e;Vt||(Ft.add(It),Bt||xt(()=>{It===t&&t.flush()}))}return It}apply(){if(!it||!this.is_fork&&Ft.size===1){Rt=null;return}Rt=new Map(this.current);for(let e of Ft)if(!(e===this||e.is_fork))for(let[t,n]of e.previous)Rt.has(t)||Rt.set(t,n)}schedule(e){if(zt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ht!==null&&t===Or&&(it||(Tr===null||!(Tr.f&2))&&!Mt))return;if(n&96){if(!(n&1024))return;t.f^=ue}}this.#a.push(t)}};function k(e){var t=Bt;Bt=!0;try{var n;for(e&&(It!==null&&!It.is_fork&&It.flush(),n=e());;){if(St(),It===null)return n;It.flush()}}finally{Bt=t}}function qt(){try{Le()}catch(e){wt(e,zt)}}var Jt=null;function Yt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Vr(r)&&(Jt=new Set,Kr(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&hr(r),Jt?.size>0)){bn.clear();for(let e of Jt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)Jt.has(n)&&(Jt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Kr(n)}}Jt.clear()}}Jt=null}}function Xt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Xt(i,t,n,r):e&4194320&&!(e&2048)&&Zt(i,t,r)&&(Et(i,de),Qt(i))}}function Zt(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(v.call(t,r))return!0;if(r.f&2&&Zt(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function Qt(e){It.schedule(e)}function $t(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),Et(e,ue);for(var n=e.first;n!==null;)$t(n,t),n=n.next}}function en(e){Et(e,ue);for(var t=e.first;t!==null;)en(t),t=t.next}function tn(e){let t=0,n=Sn(0),r;return()=>{Qn()&&(R(n),or(()=>(t===0&&(r=Xr(()=>e(()=>En(n)))),t+=1,()=>{xt(()=>{--t,t===0&&(r?.(),r=void 0,En(n))})})))}}var nn=_e|ye;function rn(e,t,n,r){new an(e,t,n,r)}var an=class{parent;is_pending=!1;transform_error;#e;#t=T?Ye:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=tn(()=>(this.#m=Sn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=Or;t.b=this,t.f|=128,n(e)},this.parent=Or.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=sr(()=>{if(T){let e=this.#t;Ze();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},nn),T&&(this.#e=Ye)}#g(){try{this.#a=lr(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=lr(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=lr(()=>e(this.#e)),xt(()=>{var e=this.#c=document.createDocumentFragment(),t=In();e.append(t),this.#a=this.#x(()=>lr(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,gr(this.#o,()=>{this.#o=null}),this.#b(It))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=lr(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();br(this.#a,e);let t=this.#n.pending;this.#o=lr(()=>t(this.#e))}else this.#b(It)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){kt(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=Or,n=Tr,r=ut;kr(this.#i),Dr(this.#i),dt(this.#i.ctx);try{return Kt.ensure(),e()}catch(e){return Ct(e),null}finally{kr(t),Dr(n),dt(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&gr(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,xt(()=>{this.#d=!1,this.#m&&wn(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),R(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(pr(this.#a),null),this.#o&&=(pr(this.#o),null),this.#s&&=(pr(this.#s),null),T&&(Xe(this.#t),Qe(),Xe($e()));var r=!1,i=!1;let a=()=>{if(r){qe();return}r=!0,i&&We(),this.#s!==null&&gr(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){wt(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return lr(()=>{var t=Or;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return wt(e,this.#i.parent),null}}))};xt(()=>{var t;try{t=this.transform_error(e)}catch(e){wt(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>wt(e,this.#i&&this.#i.parent)):o(t)})}};function on(e,t,n,r){let i=gt()?un:fn;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=Or,s=sn(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||wt(e,o)}cn()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=ln();function d(){Promise.all(n.map(e=>dn(e))).then(e=>l([...t.map(i),...e])).catch(e=>wt(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),cn()}):d()}function sn(){var e=Or,t=Tr,n=ut,r=It;return function(i=!0){kr(e),Dr(t),dt(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function cn(e=!0){kr(null),Dr(null),dt(null),e&&It?.deactivate()}function ln(){var e=Or.b,t=It,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(r=!1)=>{e.update_pending_count(-1,t),t.decrement(n,r)}}function un(e){var t=2|de,n=Tr!==null&&Tr.f&2?Tr:null;return Or!==null&&(Or.f|=ye),{ctx:ut,deps:null,effects:null,equals:tt,f:t,fn:e,reactions:null,rv:0,v:d,wv:0,parent:n??Or,ac:null}}function dn(e,t,n){let r=Or;r===null&&Me();var i=void 0,a=Sn(d),o=!Tr,s=new Map;return ar(()=>{var t=Or,n=ce();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(cn)}catch(e){n.reject(e),cn()}var c=It;if(o){if(t.f&32768)var l=ln();if(r.b.is_rendered())s.get(c)?.reject(ke),s.delete(c);else{for(let e of s.values())e.reject(ke);s.clear()}s.set(c,n)}let u=(e,n=void 0)=>{if(l&&l(n===ke),!(n===ke||t.f&16384)){if(c.activate(),n)a.f|=Te,wn(a,n);else{a.f&8388608&&(a.f^=Te),wn(a,e);for(let[e,t]of s){if(s.delete(e),e===c)break;t.reject(ke)}}c.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),$n(()=>{for(let e of s.values())e.reject(ke)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function A(e){let t=un(e);return it||jr(t),t}function fn(e){let t=un(e);return t.equals=rt,t}function pn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)pr(t[n])}}function mn(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function hn(e){var t,n=Or;kr(mn(e));try{e.f&=~Se,pn(e),t=Ur(e)}finally{kr(n)}return t}function gn(e){var t=e.v,n=hn(e);if(!e.equals(n)&&(e.wv=Br(),(!It?.is_fork||e.deps===null)&&(e.v=n,It?.capture(e,t),e.deps===null))){Et(e,ue);return}Cr||(Rt===null?Dt(e):(Qn()||It?.is_fork)&&Rt.set(e,n))}function _n(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ke),t.teardown=w,t.ac=null,Gr(t,0),dr(t))}function vn(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Kr(t)}var yn=new Set,bn=new Map,xn=!1;function Sn(e,t){return{f:0,v:e,reactions:null,equals:tt,rv:0,wv:0}}function j(e,t){let n=Sn(e,t);return jr(n),n}function Cn(e,t=!1,n=!0){let r=Sn(e);return t||(r.equals=rt),at&&n&&ut!==null&&ut.l!==null&&(ut.l.s??=[]).push(r),r}function M(e,t,n=!1){return Tr!==null&&(!Er||Tr.f&131072)&>()&&Tr.f&4325394&&(Ar===null||!v.call(Ar,e))&&Ue(),wn(e,n?On(t):t,Ut)}function wn(e,t,n=null){if(!e.equals(t)){var r=e.v;Cr?bn.set(e,t):bn.set(e,r),e.v=t;var i=Kt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&hn(t),Rt===null&&Dt(t)}e.wv=Br(),Dn(e,de,n),gt()&&Or!==null&&Or.f&1024&&!(Or.f&96)&&(Pr===null?Fr([e]):Pr.push(e)),!i.is_fork&&yn.size>0&&!xn&&Tn()}return t}function Tn(){xn=!1;for(let e of yn)e.f&1024&&Et(e,fe),Vr(e)&&Kr(e);yn.clear()}function En(e){M(e,e.v+1)}function Dn(e,t,n){var r=e.reactions;if(r!==null)for(var i=gt(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===Or)){var l=(c&de)===0;if(l&&Et(s,t),c&2){var u=s;Rt?.delete(u),c&65536||(c&512&&(s.f|=Se),Dn(u,fe,n))}else if(l){var d=s;c&16&&Jt!==null&&Jt.add(d),n===null?Qt(d):n.push(d)}}}}function On(e){if(typeof e!=`object`||!e||Ee in e)return e;let t=ne(e);if(t!==ee&&t!==te)return e;var n=new Map,r=g(e),i=j(0),a=null,o=Rr,s=e=>{if(Rr===o)return e();var t=Tr,n=Rr;Dr(null),zr(o);var r=e();return Dr(t),zr(n),r};return r&&n.set(`length`,j(e.length,a)),new Proxy(e,{defineProperty(e,t,r){(!(`value`in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&Ve();var i=n.get(t);return i===void 0?s(()=>{var e=j(r.value,a);return n.set(t,e),e}):M(i,r.value,!0),!0},deleteProperty(e,t){var r=n.get(t);if(r===void 0){if(t in e){let e=s(()=>j(d,a));n.set(t,e),En(i)}}else M(r,d),En(i);return!0},get(t,r,i){if(r===Ee)return e;var o=n.get(r),c=r in t;if(o===void 0&&(!c||S(t,r)?.writable)&&(o=s(()=>j(On(c?t[r]:d),a)),n.set(r,o)),o!==void 0){var l=R(o);return l===d?void 0:l}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var i=n.get(t);i&&(r.value=R(i))}else if(r===void 0){var a=n.get(t),o=a?.v;if(a!==void 0&&o!==d)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return r},has(e,t){if(t===Ee)return!0;var r=n.get(t),i=r!==void 0&&r.v!==d||Reflect.has(e,t);return(r!==void 0||Or!==null&&(!i||S(e,t)?.writable))&&(r===void 0&&(r=s(()=>j(i?On(e[t]):d,a)),n.set(t,r)),R(r)===d)?!1:i},set(e,t,o,c){var l=n.get(t),u=t in e;if(r&&t===`length`)for(var f=o;f<l.v;f+=1){var p=n.get(f+``);p===void 0?f in e&&(p=s(()=>j(d,a)),n.set(f+``,p)):M(p,d)}if(l===void 0)(!u||S(e,t)?.writable)&&(l=s(()=>j(void 0,a)),M(l,On(o)),n.set(t,l));else{u=l.v!==d;var m=s(()=>On(o));M(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,o),!u){if(r&&typeof t==`string`){var g=n.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&M(g,_+1)}En(i)}return!0},ownKeys(e){R(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return t===void 0||t.v!==d});for(var[r,a]of n)a.v!==d&&!(r in e)&&t.push(r);return t},setPrototypeOf(){He()}})}function kn(e){try{if(typeof e==`object`&&e&&Ee in e)return e[Ee]}catch{}return e}function An(e,t){return Object.is(kn(e),kn(t))}var jn,Mn,Nn,Pn;function Fn(){if(jn===void 0){jn=window,Mn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Nn=S(t,`firstChild`).get,Pn=S(t,`nextSibling`).get,re(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),re(n)&&(n.__t=void 0)}}function In(e=``){return document.createTextNode(e)}function Ln(e){return Nn.call(e)}function Rn(e){return Pn.call(e)}function N(e,t){if(!T)return Ln(e);var n=Ln(Ye);if(n===null)n=Ye.appendChild(In());else if(t&&n.nodeType!==3){var r=In();return n?.before(r),Xe(r),r}return t&&Hn(n),Xe(n),n}function P(e,t=!1){if(!T){var n=Ln(e);return n instanceof Comment&&n.data===``?Rn(n):n}if(t){if(Ye?.nodeType!==3){var r=In();return Ye?.before(r),Xe(r),r}Hn(Ye)}return Ye}function F(e,t=1,n=!1){let r=T?Ye:e;for(var i;t--;)i=r,r=Rn(r);if(!T)return r;if(n){if(r?.nodeType!==3){var a=In();return r===null?i?.after(a):r.before(a),Xe(a),a}Hn(r)}return Xe(r),r}function zn(e){e.textContent=``}function Bn(){return!it||Jt!==null?!1:(Or.f&he)!==0}function Vn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function Hn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Un(e,t){if(t){let t=document.body;e.autofocus=!0,xt(()=>{document.activeElement===t&&e.focus()})}}function Wn(e){T&&Ln(e)!==null&&zn(e)}var Gn=!1;function Kn(){Gn||(Gn=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function qn(e){var t=Tr,n=Or;Dr(null),kr(null);try{return e()}finally{Dr(t),kr(n)}}function Jn(e,t,n,r=n){e.addEventListener(t,()=>qn(n));let i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),Kn()}function Yn(e){Or===null&&(Tr===null&&Ie(e),Fe()),Cr&&Pe(e)}function Xn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Zn(e,t){var n=Or;n!==null&&n.f&8192&&(e|=pe);var r={ctx:ut,deps:null,nodes:null,f:e|de|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)Ht===null?Kt.ensure().schedule(r):Ht.push(r);else if(t!==null){try{Kr(r)}catch(e){throw pr(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=_e))}if(i!==null&&(i.parent=n,n!==null&&Xn(i,n),Tr!==null&&Tr.f&2&&!(e&64))){var a=Tr;(a.effects??=[]).push(i)}return r}function Qn(){return Tr!==null&&!Er}function $n(e){let t=Zn(8,null);return Et(t,ue),t.teardown=e,t}function I(e){Yn(`$effect`);var t=Or.f;if(!Tr&&t&32&&!(t&32768)){var n=ut;(n.e??=[]).push(e)}else return er(e)}function er(e){return Zn(4|be,e)}function tr(e){return Yn(`$effect.pre`),Zn(8|be,e)}function nr(e){Kt.ensure();let t=Zn(64|ye,e);return()=>{pr(t)}}function rr(e){Kt.ensure();let t=Zn(64|ye,e);return(e={})=>new Promise(n=>{e.outro?gr(t,()=>{pr(t),n(void 0)}):(pr(t),n(void 0))})}function ir(e){return Zn(4,e)}function ar(e){return Zn(we|ye,e)}function or(e,t=0){return Zn(8|t,e)}function L(e,t=[],n=[],r=[]){on(r,t,n,t=>{Zn(8,()=>e(...t.map(R)))})}function sr(e,t=0){return Zn(16|t,e)}function cr(e,t=0){return Zn(le|t,e)}function lr(e){return Zn(32|ye,e)}function ur(e){var t=e.teardown;if(t!==null){let e=Cr,n=Tr;wr(!0),Dr(null);try{t.call(null)}finally{wr(e),Dr(n)}}}function dr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&qn(()=>{e.abort(ke)});var r=n.next;n.f&64?n.parent=null:pr(n,t),n=r}}function fr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||pr(t),t=n}}function pr(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(mr(e.nodes.start,e.nodes.end),n=!0),Et(e,ge),dr(e,t&&!n),Gr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();ur(e),e.f^=ge,e.f|=me;var i=e.parent;i!==null&&i.first!==null&&hr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function mr(e,t){for(;e!==null;){var n=e===t?null:Rn(e);e.remove(),e=n}}function hr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function gr(e,t,n=!0){var r=[];_r(e,r,!0);var i=()=>{n&&pr(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function _r(e,t,n){if(!(e.f&8192)){e.f^=pe;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;_r(i,t,o?n:!1),i=a}}}function vr(e){yr(e,!0)}function yr(e,t){if(e.f&8192){e.f^=pe,e.f&1024||(Et(e,de),Kt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;yr(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function br(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Rn(n);t.append(n),n=i}}var xr=null,Sr=!1,Cr=!1;function wr(e){Cr=e}var Tr=null,Er=!1;function Dr(e){Tr=e}var Or=null;function kr(e){Or=e}var Ar=null;function jr(e){Tr!==null&&(!it||Tr.f&2)&&(Ar===null?Ar=[e]:Ar.push(e))}var Mr=null,Nr=0,Pr=null;function Fr(e){Pr=e}var Ir=1,Lr=0,Rr=Lr;function zr(e){Rr=e}function Br(){return++Ir}function Vr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~Se),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Vr(a)&&gn(a),a.wv>e.wv)return!0}t&512&&Rt===null&&Et(e,ue)}return!1}function Hr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!it&&Ar!==null&&v.call(Ar,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Hr(a,t,!1):t===a&&(n?Et(a,de):a.f&1024&&Et(a,fe),Qt(a))}}function Ur(e){var t=Mr,n=Nr,r=Pr,i=Tr,a=Ar,o=ut,s=Er,c=Rr,l=e.f;Mr=null,Nr=0,Pr=null,Tr=l&96?null:e,Ar=null,dt(e.ctx),Er=!1,Rr=++Lr,e.ac!==null&&(qn(()=>{e.ac.abort(ke)}),e.ac=null);try{e.f|=Ce;var u=e.fn,d=u();e.f|=he;var f=e.deps,p=It?.is_fork;if(Mr!==null){var m;if(p||Gr(e,Nr),f!==null&&Nr>0)for(f.length=Nr+Mr.length,m=0;m<Mr.length;m++)f[Nr+m]=Mr[m];else e.deps=f=Mr;if(Qn()&&e.f&512)for(m=Nr;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Nr<f.length&&(Gr(e,Nr),f.length=Nr);if(gt()&&Pr!==null&&!Er&&f!==null&&!(e.f&6146))for(m=0;m<Pr.length;m++)Hr(Pr[m],e);if(i!==null&&i!==e){if(Lr++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Lr;if(t!==null)for(let e of t)e.rv=Lr;Pr!==null&&(r===null?r=Pr:r.push(...Pr))}return e.f&8388608&&(e.f^=Te),d}catch(e){return Ct(e)}finally{e.f^=Ce,Mr=t,Nr=n,Pr=r,Tr=i,Ar=a,dt(o),Er=s,Rr=c}}function Wr(e,t){let n=t.reactions;if(n!==null){var r=_.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(Mr===null||!v.call(Mr,t))){var a=t;a.f&512&&(a.f^=512,a.f&=~Se),Dt(a),_n(a),Gr(a,0)}}function Gr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Wr(e,n[r])}function Kr(e){var t=e.f;if(!(t&16384)){Et(e,ue);var n=Or,r=Sr;Or=e,Sr=!0;try{t&16777232?fr(e):dr(e),ur(e);var i=Ur(e);e.teardown=typeof i==`function`?i:null,e.wv=Ir}finally{Sr=r,Or=n}}}async function qr(){if(it)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),k()}function R(e){var t=(e.f&2)!=0;if(xr?.add(e),Tr!==null&&!Er&&!(Or!==null&&Or.f&16384)&&(Ar===null||!v.call(Ar,e))){var n=Tr.deps;if(Tr.f&2097152)e.rv<Lr&&(e.rv=Lr,Mr===null&&n!==null&&n[Nr]===e?Nr++:Mr===null?Mr=[e]:Mr.push(e));else{(Tr.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[Tr]:v.call(r,Tr)||r.push(Tr)}}if(Cr&&bn.has(e))return bn.get(e);if(t){var i=e;if(Cr){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Yr(i))&&(a=hn(i)),bn.set(i,a),a}var o=(i.f&512)==0&&!Er&&Tr!==null&&(Sr||(Tr.f&512)!=0),s=(i.f&he)===0;Vr(i)&&(o&&(i.f|=512),gn(i)),o&&!s&&(vn(i),Jr(i))}if(Rt?.has(e))return Rt.get(e);if(e.f&8388608)throw e.v;return e.v}function Jr(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(vn(t),Jr(t))}function Yr(e){if(e.v===d)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(bn.has(t)||t.f&2&&Yr(t))return!0;return!1}function Xr(e){var t=Er;try{return Er=!0,e()}finally{Er=t}}function Zr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(Ee in e)Qr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&Ee in n&&Qr(n)}}}function Qr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Qr(e[n],t)}catch{}let n=ne(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=C(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}var $r=Symbol(`events`),ei=new Set,ti=new Set;function ni(e,t,n,r={}){function i(e){if(r.capture||ci.call(t,e),!e.cancelBubble)return qn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?xt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function ri(e,t,n,r={}){var i=ni(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function ii(e,t,n,r,i){var a={capture:r,passive:i},o=ni(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&$n(()=>{t.removeEventListener(e,o,a)})}function ai(e,t,n){(t[$r]??={})[e]=n}function oi(e){for(var t=0;t<e.length;t++)ei.add(e[t]);for(var n of ti)n(e)}var si=null;function ci(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;si=e;var o=0,s=si===e&&e[$r];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[$r]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){x(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=Tr,d=Or;Dr(null),kr(null);try{for(var f,p=[];a!==null;){var m=a.assignedSlot||a.parentNode||a.host||null;try{var h=a[$r]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){f?p.push(e):f=e}if(e.cancelBubble||m===t||m===null)break;a=m}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[$r]=t,delete e.currentTarget,Dr(u),kr(d)}}}var li=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function ui(e){return li?.createHTML(e)??e}function di(e){var t=Vn(`template`);return t.innerHTML=ui(e.replaceAll(`<!>`,`<!---->`)),t.content}function fi(e,t){var n=Or;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function z(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(T)return fi(Ye,null),Ye;i===void 0&&(i=di(a?e:`<!>`+e),n||(i=Ln(i)));var t=r||Mn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Ln(t),s=t.lastChild;fi(o,s)}else fi(t,t);return t}}function pi(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=(t&1)!=0,a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(T)return fi(Ye,null),Ye;if(!o){var e=Ln(di(a));if(i)for(o=document.createDocumentFragment();Ln(e);)o.appendChild(Ln(e));else o=Ln(e)}var t=o.cloneNode(!0);if(i){var n=Ln(t),r=t.lastChild;fi(n,r)}else fi(t,t);return t}}function mi(e,t){return pi(e,t,`svg`)}function hi(e=``){if(!T){var t=In(e+``);return fi(t,t),t}var n=Ye;return n.nodeType===3?Hn(n):(n.before(n=In()),Xe(n)),fi(n,n),n}function B(){if(T)return fi(Ye,null),Ye;var e=document.createDocumentFragment(),t=document.createComment(``),n=In();return e.append(t,n),fi(t,n),e}function V(e,t){if(T){var n=Or;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=Ye),Ze();return}e!==null&&e.before(t)}function gi(){if(T&&Ye&&Ye.nodeType===8&&Ye.textContent?.startsWith(`$`)){let e=Ye.textContent.substring(1);return Ze(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function _i(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var vi=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function yi(e){return vi.includes(e)}var bi=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),xi={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function Si(e){return e=e.toLowerCase(),xi[e]??e}[...bi];var Ci=[`touchstart`,`touchmove`];function wi(e){return Ci.includes(e)}var Ti=[`textarea`,`script`,`style`,`title`];function Ei(e){return Ti.includes(e)}var Di=!0;function Oi(e){Di=e}function H(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function ki(e,t){return Mi(e,t)}function Ai(e,t){Fn(),t.intro=t.intro??!1;let n=t.target,r=T,i=Ye;try{for(var a=Ln(n);a&&(a.nodeType!==8||a.data!==`[`);)a=Rn(a);if(!a)throw u;Je(!0),Xe(a);let r=Mi(e,{...t,anchor:a});return Je(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
|
|
2
3
|
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==u&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Re(),Fn(),zn(n),Je(!1),ki(e,t)}finally{Je(r),Xe(i)}}var ji=new Map;function Mi(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:o=!0,transformError:s}){Fn();var c=void 0,l=rr(()=>{var l=n??t.appendChild(In());rn(l,{pending:()=>{}},t=>{D({});var n=ut;if(a&&(n.c=a),i&&(r.$$events=i),T&&fi(t,null),Di=o,c=e(t,r)||{},Di=!0,T&&(Or.nodes.end=Ye,Ye===null||Ye.nodeType!==8||Ye.data!==`]`))throw Ge(),u;O()},s);var d=new Set,f=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!d.has(r)){d.add(r);var i=wi(r);for(let e of[t,document]){var a=ji.get(e);a===void 0&&(a=new Map,ji.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,ci,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(y(ei)),ti.add(f),()=>{for(var e of d)for(let n of[t,document]){var r=ji.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,ci),r.delete(e),r.size===0&&ji.delete(n)):r.set(e,i)}ti.delete(f),l!==n&&l.parentNode?.removeChild(l)}});return Ni.set(c,l),c}var Ni=new WeakMap;function Pi(e,t){let n=Ni.get(e);return n?(Ni.delete(e),n(t)):Promise.resolve()}var Fi=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)vr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(pr(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();br(r,t),t.append(In()),this.#n.set(e,{effect:r,fragment:t})}else pr(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),gr(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(pr(n.effect),this.#n.delete(e))};ensure(e,t){var n=It,r=Bn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=In();i.append(a),this.#n.set(e,{effect:lr(()=>t(a)),fragment:i})}else this.#t.set(e,lr(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else T&&(this.anchor=Ye),this.#a(n)}};function U(e,t,...n){var r=new Fi(e);sr(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},_e)}function Ii(e){ut===null&&je(`onMount`),at&&ut.l!==null?Ri(ut).m.push(e):I(()=>{let t=Xr(e);if(typeof t==`function`)return t})}function Li(e){ut===null&&je(`onDestroy`),Ii(()=>()=>Xr(e))}function Ri(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}function zi(){return Symbol(h)}var Bi=0,Vi=1,Hi=2;function Ui(e,t,n,r,i){T&&Ze();var a=gt(),o=d,s=a?Sn(o):Cn(o,!1,!1),c=a?Sn(o):Cn(o,!1,!1),l=new Fi(e);sr(()=>{var a=It;a.deactivate();var o=t();a.activate();var u=!1;let d=T&&ae(o)===(e.data===`[!`);if(d&&(Xe($e()),Je(!1)),ae(o)){var f=sn(),p=!1;let e=e=>{if(!u){p=!0,f(!1),Kt.ensure(),T&&Je(!1);try{e()}finally{cn(!1),Bt||k()}}};o.then(t=>{e(()=>{wn(s,t),l.ensure(Vi,r&&(e=>r(e,s)))})},t=>{e(()=>{if(wn(c,t),l.ensure(Hi,i&&(e=>i(e,c))),!i)throw c.v})}),T?l.ensure(Bi,n):xt(()=>{p||e(()=>{l.ensure(Bi,n)})})}else wn(s,o),l.ensure(Vi,r&&(e=>r(e,s)));return d&&Je(!0),()=>{u=!0}})}function W(e,t,n=!1){var r;T&&(r=Ye,Ze());var i=new Fi(e),a=n?_e:0;function o(e,t){if(T){var n=et(r);if(e!==parseInt(n.substring(1))){var a=$e();Xe(a),i.anchor=a,Je(!1),i.ensure(e,t),Je(!0);return}}i.ensure(e,t)}sr(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var Wi=Symbol(`NaN`);function Gi(e,t,n){T&&Ze();var r=new Fi(e),i=!gt();sr(()=>{var e=t();e!==e&&(e=Wi),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function Ki(e,t){return t}function qi(e,t,n){for(var r=[],i=t.length,a,o=t.length,s=0;s<i;s++){let n=t[s];gr(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;Ji(e,y(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var c=r.length===0&&n!==null;if(c){var l=n,u=l.parentNode;zn(u),u.append(l),e.items.clear()}Ji(e,t,!c)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function Ji(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=xe,br(a,document.createDocumentFragment())):pr(t[i],n)}}var Yi;function Xi(e,t,n,r,i,a=null){var o=e,s=new Map;if(t&4){var c=e;o=T?Xe(Ln(c)):c.appendChild(In())}T&&Ze();var l=null,u=fn(()=>{var e=n();return g(e)?e:e==null?[]:y(e)}),d,f=new Map,p=!0;function m(e){_.effect.f&16384||(_.pending.delete(e),_.fallback=l,Qi(_,d,o,t,r),l!==null&&(d.length===0?l.f&33554432?(l.f^=xe,ea(l,null,o)):vr(l):gr(l,()=>{l=null})))}function h(e){_.pending.delete(e)}var _={effect:sr(()=>{d=R(u);var e=d.length;let c=!1;T&&et(o)===`[!`!=(e===0)&&(o=$e(),Xe(o),Je(!1),c=!0);for(var g=new Set,_=It,v=Bn(),y=0;y<e;y+=1){T&&Ye.nodeType===8&&Ye.data===`]`&&(o=Ye,c=!0,Je(!1));var b=d[y],x=r(b,y),S=p?null:s.get(x);S?(S.v&&wn(S.v,b),S.i&&wn(S.i,y),v&&_.unskip_effect(S.e)):(S=$i(s,p?o:Yi??=In(),b,x,y,i,t,n),p||(S.e.f|=xe),s.set(x,S)),g.add(x)}if(e===0&&a&&!l&&(p?l=lr(()=>a(o)):(l=lr(()=>a(Yi??=In())),l.f|=xe)),e>g.size&&Ne(``,``,``),T&&e>0&&Xe($e()),!p)if(f.set(_,g),v){for(let[e,t]of s)g.has(e)||_.skip_effect(t.e);_.oncommit(m),_.ondiscard(h)}else m(_);c&&Je(!0),R(u)}),flags:t,items:s,pending:f,outrogroups:null,fallback:l};p=!1,T&&(o=Ye)}function Zi(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Qi(e,t,n,r,i){var a=(r&8)!=0,o=t.length,s=e.items,c=Zi(e.effect.first),l,u=null,d,f=[],p=[],m,h,g,_;if(a)for(_=0;_<o;_+=1)m=t[_],h=i(m,_),g=s.get(h).e,g.f&33554432||(g.nodes?.a?.measure(),(d??=new Set).add(g));for(_=0;_<o;_+=1){if(m=t[_],h=i(m,_),g=s.get(h).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(g),t.done.delete(g);if(g.f&8192&&(vr(g),a&&(g.nodes?.a?.unfix(),(d??=new Set).delete(g))),g.f&33554432)if(g.f^=xe,g===c)ea(g,null,n);else{var v=u?u.next:c;g===e.effect.last&&(e.effect.last=g.prev),g.prev&&(g.prev.next=g.next),g.next&&(g.next.prev=g.prev),ta(e,u,g),ta(e,g,v),ea(g,v,n),u=g,f=[],p=[],c=Zi(u.next);continue}if(g!==c){if(l!==void 0&&l.has(g)){if(f.length<p.length){var b=p[0],x;u=b.prev;var S=f[0],C=f[f.length-1];for(x=0;x<f.length;x+=1)ea(f[x],b,n);for(x=0;x<p.length;x+=1)l.delete(p[x]);ta(e,S.prev,C.next),ta(e,u,S),ta(e,C,b),c=b,u=C,--_,f=[],p=[]}else l.delete(g),ea(g,c,n),ta(e,g.prev,g.next),ta(e,g,u===null?e.effect.first:u.next),ta(e,u,g),u=g;continue}for(f=[],p=[];c!==null&&c!==g;)(l??=new Set).add(c),p.push(c),c=Zi(c.next);if(c===null)continue}g.f&33554432||f.push(g),u=g,c=Zi(g.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(Ji(e,y(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(c!==null||l!==void 0){var ee=[];if(l!==void 0)for(g of l)g.f&8192||ee.push(g);for(;c!==null;)!(c.f&8192)&&c!==e.fallback&&ee.push(c),c=Zi(c.next);var te=ee.length;if(te>0){var ne=r&4&&o===0?n:null;if(a){for(_=0;_<te;_+=1)ee[_].nodes?.a?.measure();for(_=0;_<te;_+=1)ee[_].nodes?.a?.fix()}qi(e,ee,ne)}}a&&xt(()=>{if(d!==void 0)for(g of d)g.nodes?.a?.apply()})}function $i(e,t,n,r,i,a,o,s){var c=o&1?o&16?Sn(n):Cn(n,!1,!1):null,l=o&2?Sn(i):null;return{v:c,i:l,e:lr(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function ea(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=Rn(r);if(a.before(r),r===i)return;r=o}}function ta(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function na(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;T&&(o=Xe(Ln(c)))}L(()=>{var e=Or;if(s===(s=t()??``)){T&&Ze();return}if(n&&!T){e.nodes=null,c.innerHTML=s,s!==``&&fi(Ln(c),c.lastChild);return}if(e.nodes!==null&&(mr(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(T){for(var a=Ye.data,l=Ze(),d=l;l!==null&&(l.nodeType!==8||l.data!==``);)d=l,l=Rn(l);if(l===null)throw Ge(),u;fi(Ye,d),o=Xe(l);return}var f=Vn(r?`svg`:i?`math`:`template`,r?p:i?m:void 0);f.innerHTML=s;var h=r||i?f:f.content;if(fi(Ln(h),h.lastChild),r||i)for(;Ln(h);)o.before(Ln(h));else o.before(h)}})}function ra(e,t,n,r,i){T&&Ze();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function G(e,t,n){var r;T&&(r=Ye,Ze());var i=new Fi(e);sr(()=>{var e=t()??null;if(T&&et(r)===`[`!=(e!==null)){var a=$e();Xe(a),i.anchor=a,Je(!1),i.ensure(e,e&&(t=>n(t,e))),Je(!0);return}i.ensure(e,e&&(t=>n(t,e)))},_e)}var ia=()=>performance.now(),aa={tick:e=>requestAnimationFrame(e),now:()=>ia(),tasks:new Set};function oa(){let e=aa.now();aa.tasks.forEach(t=>{t.c(e)||(aa.tasks.delete(t),t.f())}),aa.tasks.size!==0&&aa.tick(oa)}function sa(e){let t;return aa.tasks.size===0&&aa.tick(oa),{promise:new Promise(n=>{aa.tasks.add(t={c:e,f:n})}),abort(){aa.tasks.delete(t)}}}function ca(e,t){qn(()=>{e.dispatchEvent(new CustomEvent(t))})}function la(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function ua(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=la(n.trim());t[i]=r.trim()}return t}var da=e=>e;function fa(e,t,n,r){var i=(e&1)!=0,a=(e&2)!=0,o=i&&a,s=(e&4)!=0,c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return qn(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=pa(t,m(),p,1,()=>{ca(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=pa(t,m(),f,0,()=>{ca(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=Or;if((g.nodes.t??=[]).push(h),i&&Di){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||(v.f&32768)!=0}_&&ir(()=>{Xr(()=>h.in())})}}function pa(e,t,n,r,i){var a=r===1;if(ie(t)){var o,s=!1;return xt(()=>{s||(o=pa(e,t({direction:a?`in`:`out`}),n,r,i))}),{abort:()=>{s=!0,o?.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return ca(e,a?`introstart`:`outrostart`),i(),{abort:w,deactivate:w,reset:w,t:()=>r};let{delay:c=0,css:l,tick:u,easing:d=da}=t;var f=[];if(a&&n===void 0&&(u&&u(0,1),l)){var p=ua(l(0,1));f.push(p,p)}var m=()=>1-r,h=e.animate(f,{duration:c,fill:`forwards`});return h.onfinish=()=>{h.cancel(),ca(e,a?`introstart`:`outrostart`);var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),f=[];if(c>0){var p=!1;if(l)for(var g=Math.ceil(c/(1e3/60)),_=0;_<=g;_+=1){var v=o+s*d(_/g),y=ua(l(v,1-v));f.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),m=()=>{var e=h.currentTime;return o+s*d(e/c)},u&&sa(()=>{if(h.playState!==`running`)return!1;var e=m();return u(e,1-e),!0})}h=e.animate(f,{duration:c,fill:`forwards`}),h.onfinish=()=>{m=()=>r,u?.(r,1-r),i()}},{abort:()=>{h&&(h.cancel(),h.effect=null,h.onfinish=w)},deactivate:()=>{i=w},reset:()=>{r===0&&u?.(1,0)},t:()=>m()}}function ma(e,t,n,r,i,a){let o=T;T&&Ze();var s=null;T&&Ye.nodeType===1&&(s=Ye,Ze());var c=T?Ye:e,l=new Fi(c,!1);sr(()=>{let e=t()||null;var a=i?i():n||e===`svg`?p:void 0;if(e===null){l.ensure(null,null),Oi(!0);return}return l.ensure(e,t=>{if(e){if(s=T?s:Vn(e,a),fi(s,s),r){T&&Ei(e)&&s.append(document.createComment(``));var n=T?Ln(s):s.appendChild(In());T&&(n===null?Je(!1):Xe(n)),r(s,n)}Or.nodes.end=s,t.before(s)}T&&Xe(t)}),Oi(!0),()=>{e&&Oi(!1)}},_e),$n(()=>{Oi(!0)}),o&&(Je(!0),Xe(c))}function ha(e,t){let n=null,r=T;var i;if(T){n=Ye;for(var a=Ln(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=Rn(a);if(a===null)Je(!1);else{var o=Rn(a);a.remove(),Xe(o)}}T||(i=document.head.appendChild(In()));try{sr(()=>t(i),ve|ye)}finally{r&&(Je(!0),Xe(n))}}function ga(e,t){ir(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Vn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function _a(e,t,n){ir(()=>{var r=Xr(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};or(()=>{var e=n();Zr(e),i&&nt(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function va(e,t){var n=void 0,r;cr(()=>{n!==(n=t())&&(r&&=(pr(r),null),n&&(r=lr(()=>{ir(()=>n(e))})))})}function ya(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ya(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function ba(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ya(e))&&(r&&(r+=` `),r+=t);return r}function xa(e){return typeof e==`object`?ba(e):e??``}var Sa=[...`
|
|
3
4
|
\r\f\xA0\v`];function Ca(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Sa.includes(r[o-1]))&&(s===r.length||Sa.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function wa(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Ta(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Ea(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Ta)),i&&c.push(...Object.keys(i).map(Ta));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Ta(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=wa(r)),i&&(n+=wa(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Da(e,t,n,r,i,a){var o=e.__className;if(T||o!==n||o===void 0){var s=Ca(n,r,a);(!T||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Oa(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function ka(e,t,n,r){var i=e.__style;if(T||i!==t){var a=Ea(t,r);(!T||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(Oa(e,n?.[0],r[0]),Oa(e,n?.[1],r[1],`important`)):Oa(e,n,r));return r}function Aa(e,t,n=!1){if(e.multiple){if(t==null)return;if(!g(t))return Ke();for(var r of e.options)r.selected=t.includes(Na(r));return}for(r of e.options)if(An(Na(r),t)){r.selected=!0;return}(!n||t!==void 0)&&(e.selectedIndex=-1)}function ja(e){var t=new MutationObserver(()=>{Aa(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),$n(()=>{t.disconnect()})}function Ma(e,t,n=t){var r=new WeakSet,i=!0;Jn(e,`change`,t=>{var i=t?`[selected]`:`:checked`,a;if(e.multiple)a=[].map.call(e.querySelectorAll(i),Na);else{var o=e.querySelector(i)??e.querySelector(`option:not([disabled])`);a=o&&Na(o)}n(a),e.__value=a,It!==null&&r.add(It)}),ir(()=>{var a=t();if(e===document.activeElement){var o=it?Lt:It;if(r.has(o))return}if(Aa(e,a,i),i&&a===void 0){var s=e.querySelector(`:checked`);s!==null&&(a=Na(s),n(a))}e.__value=a,i=!1}),ja(e)}function Na(e){return`__value`in e?e.__value:e.value}var Pa=Symbol(`class`),Fa=Symbol(`style`),Ia=Symbol(`is custom element`),La=Symbol(`is html`),Ra=Ae?`link`:`LINK`,za=Ae?`input`:`INPUT`,Ba=Ae?`option`:`OPTION`,Va=Ae?`select`:`SELECT`,Ha=Ae?`progress`:`PROGRESS`;function Ua(e){if(T){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;K(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;K(e,`checked`,null),e.checked=r}}};e.__on_r=n,xt(n),Kn()}}function Wa(e,t){var n=Ya(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!==Ha)||(e.value=t??``)}function Ga(e,t){var n=Ya(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function Ka(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function K(e,t,n,r){var i=Ya(e);T&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ra)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[Oe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Za(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function qa(e,t,n,r,i=!1,a=!1){if(T&&i&&e.nodeName===za){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||Ua(o)}var s=Ya(e),c=s[Ia],l=!s[La];let u=T&&c;u&&Je(!1);var f=t||{},p=e.nodeName===Ba;for(var m in t)m in n||(n[m]=null);n.class?n.class=xa(n.class):(r||n[Pa])&&(n.class=null),n[Fa]&&(n.style??=null);var h=Za(e);for(let i in n){let o=n[i];if(p&&i===`value`&&o==null){e.value=e.__value=``,f[i]=o;continue}if(i===`class`){Da(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[Pa],n[Pa]),f[i]=o,f[Pa]=n[Pa];continue}if(i===`style`){ka(e,o,t?.[Fa],n[Fa]),f[i]=o,f[Fa]=n[Fa];continue}var g=f[i];if(!(o===g&&!(o===void 0&&e.hasAttribute(i)))){f[i]=o;var _=i[0]+i[1];if(_!==`$$`)if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=yi(r);if(_i(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(o!=null)continue;e.removeEventListener(r,f[n],t),f[n]=null}if(v)ai(r,e,o),oi([r]);else if(o!=null){function a(e){f[i].call(this,e)}f[n]=ni(r,e,a,t)}}else if(i===`style`)K(e,i,o);else if(i===`autofocus`)Un(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&p)Ka(e,o);else{var y=i;l||(y=Si(y));var b=y===`defaultValue`||y===`defaultChecked`;if(o==null&&!c&&!b)if(s[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i);else b||h.includes(y)&&(c||typeof o!=`string`)?(e[y]=o,y in s&&(s[y]=d)):typeof o!=`function`&&K(e,y,o,a)}}}return u&&Je(!0),f}function Ja(e,t,n=[],r=[],i=[],a,o=!1,s=!1){on(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===Va,l=!1;if(cr(()=>{var u=t(...n.map(R)),d=qa(e,r,u,a,o,s);l&&c&&`value`in u&&Aa(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||pr(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&pr(i[t]),i[t]=lr(()=>va(e,()=>f))),d[t]=f}r=d}),c){var u=e;ir(()=>{Aa(u,r.value,!0),ja(u)})}l=!0})}function Ya(e){return e.__attributes??={[Ia]:e.nodeName.includes(`-`),[La]:e.namespaceURI===f}}var Xa=new Map;function Za(e){var t=e.getAttribute(`is`)||e.nodeName,n=Xa.get(t);if(n)return n;Xa.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=C(i),r)r[o].set&&n.push(o);i=ne(i)}return n}function Qa(e,t,n=t){var r=new WeakSet;Jn(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=no(e)?ro(a):a,n(a),It!==null&&r.add(It),await qr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(T&&e.defaultValue!==e.value||Xr(t)==null&&e.value)&&(n(no(e)?ro(e.value):e.value),It!==null&&r.add(It)),or(()=>{var n=t();if(e===document.activeElement){var i=it?Lt:It;if(r.has(i))return}no(e)&&n===ro(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}var $a=new Set;function eo(e,t,n,r,i=r){var a=n.getAttribute(`type`)===`checkbox`,o=e;let s=!1;if(t!==null)for(var c of t)o=o[c]??=[];o.push(n),Jn(n,`change`,()=>{var e=n.__value;a&&(e=to(o,e,n.checked)),i(e)},()=>i(a?[]:null)),or(()=>{var e=r();if(T&&n.defaultChecked!==n.checked){s=!0;return}a?(e||=[],n.checked=e.includes(n.__value)):n.checked=An(n.__value,e)}),$n(()=>{var e=o.indexOf(n);e!==-1&&o.splice(e,1)}),$a.has(o)||($a.add(o),xt(()=>{o.sort((e,t)=>e.compareDocumentPosition(t)===4?-1:1),$a.delete(o)})),xt(()=>{if(s){var e=a?to(o,e,n.checked):o.find(e=>e.checked)?.__value;i(e)}})}function to(e,t,n){for(var r=new Set,i=0;i<e.length;i+=1)e[i].checked&&r.add(e[i].__value);return n||r.delete(t),Array.from(r)}function no(e){var t=e.type;return t===`number`||t===`range`}function ro(e){return e===``?null:+e}var io=new class e{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#r().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),n.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#r(){return this.#t??=new ResizeObserver(t=>{for(var n of t){e.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}})}}({box:`border-box`});function ao(e,t,n){var r=io.observe(e,()=>n(e[t]));ir(()=>(Xr(()=>n(e[t])),r))}function oo(e,t){return e===t||e?.[Ee]===t}function so(e={},t,n,r){var i=ut.r,a=Or;return ir(()=>{var o,s;return or(()=>{o=s,s=r?.()||[],Xr(()=>{e!==n(...s)&&(t(e,...s),o&&oo(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&oo(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function co(e=!1){let t=ut,n=t.l.u;if(!n)return;let r=()=>Zr(t.s);if(e){let e=0,n={},i=un(()=>{let r=!1,i=t.s;for(let e in i)i[e]!==n[e]&&(n[e]=i[e],r=!0);return r&&e++,e});r=()=>R(i)}n.b.length&&tr(()=>{lo(t,r),se(n.b)}),I(()=>{let e=Xr(()=>n.m.map(oe));return()=>{for(let t of e)typeof t==`function`&&t()}}),n.a.length&&I(()=>{lo(t,r),se(n.a)})}function lo(e,t){if(e.l.s)for(let t of e.l.s)R(t);t()}var uo={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function fo(e,t,n){return new Proxy({props:e,exclude:t},uo)}var po={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(ie(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];ie(i)&&(i=i());let a=S(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(ie(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=S(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===Ee||t===De)return!1;for(let n of e.props)if(ie(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(ie(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}};function mo(...e){return new Proxy({props:e},po)}function q(e,t,n,r){var i=!at||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Xr(r):r),s);let u;if(a){var d=Ee in e||De in e;u=S(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var f,p=!1;a?[f,p]=Pt(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=l(),u&&(i&&ze(t),u(f)));var m=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return m;if(u){var h=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||h||p)&&u(t?m():e),e):m()})}var g=!1,_=(n&1?un:fn)(()=>(g=!1,m()));a&&R(_);var v=Or;return(function(e,t){if(arguments.length>0){let n=t?R(_):i&&a?On(e):e;return M(_,n),g=!0,s!==void 0&&(s=n),e}return Cr&&g||v.f&16384?_.v:R(_)})}function ho(e){return new go(e)}var go=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Cn(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return R(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===De?!0:(R(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return M(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?Ai:ki)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!it&&(!e?.props?.$$host||e.sync===!1)&&k(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||x(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Pi(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},_o;typeof HTMLElement==`function`&&(_o=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Vn(`slot`);e!==`default`&&(n.name=e),V(t,n)}}let t={},n=yo(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=vo(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=ho({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=nr(()=>{or(()=>{this.$$r=!0;for(let e of b(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=vo(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=vo(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return b(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function vo(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function yo(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function J(e,t,n,r,i,a){let o=class extends _o{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return b(t).map(e=>(t[e].attribute||e).toLowerCase())}};return b(t).forEach(e=>{x(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=vo(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(S(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{x(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var{entries:bo,setPrototypeOf:xo,isFrozen:So,getPrototypeOf:Co,getOwnPropertyDescriptor:wo}=Object,{freeze:To,seal:Eo,create:Do}=Object,{apply:Oo,construct:ko}=typeof Reflect<`u`&&Reflect;To||=function(e){return e},Eo||=function(e){return e},Oo||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},ko||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};var Ao=Wo(Array.prototype.forEach),jo=Wo(Array.prototype.lastIndexOf),Mo=Wo(Array.prototype.pop),No=Wo(Array.prototype.push),Po=Wo(Array.prototype.splice),Fo=Wo(String.prototype.toLowerCase),Io=Wo(String.prototype.toString),Lo=Wo(String.prototype.match),Ro=Wo(String.prototype.replace),zo=Wo(String.prototype.indexOf),Bo=Wo(String.prototype.trim),Vo=Wo(Object.prototype.hasOwnProperty),Ho=Wo(RegExp.prototype.test),Uo=Go(TypeError);function Wo(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Oo(e,t,r)}}function Go(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return ko(e,n)}}function Ko(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fo;xo&&xo(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(So(t)||(t[r]=e),i=e)}e[i]=!0}return e}function qo(e){for(let t=0;t<e.length;t++)Vo(e,t)||(e[t]=null);return e}function Jo(e){let t=Do(null);for(let[n,r]of bo(e))Vo(e,n)&&(Array.isArray(r)?t[n]=qo(r):r&&typeof r==`object`&&r.constructor===Object?t[n]=Jo(r):t[n]=r);return t}function Yo(e,t){for(;e!==null;){let n=wo(e,t);if(n){if(n.get)return Wo(n.get);if(typeof n.value==`function`)return Wo(n.value)}e=Co(e)}function n(){return null}return n}var Xo=To(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Zo=To(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Qo=To([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),$o=To([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),es=To(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),ts=To([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),ns=To([`#text`]),rs=To(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot`.split(`.`)),is=To(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),as=To(`accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),os=To([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),ss=Eo(/\{\{[\w\W]*|[\w\W]*\}\}/gm),cs=Eo(/<%[\w\W]*|[\w\W]*%>/gm),ls=Eo(/\$\{[\w\W]*/gm),us=Eo(/^data-[\-\w.\u00B7-\uFFFF]+$/),ds=Eo(/^aria-[\-\w]+$/),fs=Eo(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ps=Eo(/^(?:\w+script|data):/i),ms=Eo(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),hs=Eo(/^html$/i),gs=Eo(/^[a-z][.\w]*(-[.\w]+)+$/i),_s=Object.freeze({__proto__:null,ARIA_ATTR:ds,ATTR_WHITESPACE:ms,CUSTOM_ELEMENT:gs,DATA_ATTR:us,DOCTYPE_NAME:hs,ERB_EXPR:cs,IS_ALLOWED_URI:fs,IS_SCRIPT_OR_DATA:ps,MUSTACHE_EXPR:ss,TMPLIT_EXPR:ls}),vs={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ys=function(){return typeof window>`u`?null:window},bs=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},xs=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ss(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ys(),t=e=>Ss(e);if(t.version=`3.3.3`,t.removed=[],!e||!e.document||e.document.nodeType!==vs.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e,r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:c,NodeFilter:l,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:p}=e,m=c.prototype,h=Yo(m,`cloneNode`),g=Yo(m,`remove`),_=Yo(m,`nextSibling`),v=Yo(m,`childNodes`),y=Yo(m,`parentNode`);if(typeof o==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let b,x=``,{implementation:S,createNodeIterator:C,createDocumentFragment:ee,getElementsByTagName:te}=n,{importNode:ne}=r,re=xs();t.isSupported=typeof bo==`function`&&typeof y==`function`&&S&&S.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:ie,ERB_EXPR:w,TMPLIT_EXPR:ae,DATA_ATTR:oe,ARIA_ATTR:se,IS_SCRIPT_OR_DATA:ce,ATTR_WHITESPACE:le,CUSTOM_ELEMENT:ue}=_s,{IS_ALLOWED_URI:de}=_s,fe=null,pe=Ko({},[...Xo,...Zo,...Qo,...es,...ns]),me=null,he=Ko({},[...rs,...is,...as,...os]),ge=Object.seal(Do(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,ve=null,ye=Object.seal(Do(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),be=!0,xe=!0,Se=!1,Ce=!0,we=!1,Te=!0,Ee=!1,De=!1,Oe=!1,ke=!1,Ae=!1,je=!1,Me=!0,Ne=!1,Pe=!0,Fe=!1,Ie={},Le=null,Re=Ko({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),ze=null,Be=Ko({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Ve=null,He=Ko({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ue=`http://www.w3.org/1998/Math/MathML`,We=`http://www.w3.org/2000/svg`,Ge=`http://www.w3.org/1999/xhtml`,Ke=Ge,qe=!1,T=null,Je=Ko({},[Ue,We,Ge],Io),Ye=Ko({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),Xe=Ko({},[`annotation-xml`]),Ze=Ko({},[`title`,`style`,`font`,`a`,`script`]),E=null,Qe=[`application/xhtml+xml`,`text/html`],$e=null,et=null,tt=n.createElement(`form`),nt=function(e){return e instanceof RegExp||e instanceof Function},rt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(et&&et===e)){if((!e||typeof e!=`object`)&&(e={}),e=Jo(e),E=Qe.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,$e=E===`application/xhtml+xml`?Io:Fo,fe=Vo(e,`ALLOWED_TAGS`)?Ko({},e.ALLOWED_TAGS,$e):pe,me=Vo(e,`ALLOWED_ATTR`)?Ko({},e.ALLOWED_ATTR,$e):he,T=Vo(e,`ALLOWED_NAMESPACES`)?Ko({},e.ALLOWED_NAMESPACES,Io):Je,Ve=Vo(e,`ADD_URI_SAFE_ATTR`)?Ko(Jo(He),e.ADD_URI_SAFE_ATTR,$e):He,ze=Vo(e,`ADD_DATA_URI_TAGS`)?Ko(Jo(Be),e.ADD_DATA_URI_TAGS,$e):Be,Le=Vo(e,`FORBID_CONTENTS`)?Ko({},e.FORBID_CONTENTS,$e):Re,_e=Vo(e,`FORBID_TAGS`)?Ko({},e.FORBID_TAGS,$e):Jo({}),ve=Vo(e,`FORBID_ATTR`)?Ko({},e.FORBID_ATTR,$e):Jo({}),Ie=Vo(e,`USE_PROFILES`)?e.USE_PROFILES:!1,be=e.ALLOW_ARIA_ATTR!==!1,xe=e.ALLOW_DATA_ATTR!==!1,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,we=e.SAFE_FOR_TEMPLATES||!1,Te=e.SAFE_FOR_XML!==!1,Ee=e.WHOLE_DOCUMENT||!1,ke=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,je=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,Me=e.SANITIZE_DOM!==!1,Ne=e.SANITIZE_NAMED_PROPS||!1,Pe=e.KEEP_CONTENT!==!1,Fe=e.IN_PLACE||!1,de=e.ALLOWED_URI_REGEXP||fs,Ke=e.NAMESPACE||Ge,Ye=e.MATHML_TEXT_INTEGRATION_POINTS||Ye,Xe=e.HTML_INTEGRATION_POINTS||Xe,ge=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ge.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ge.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==`boolean`&&(ge.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),we&&(xe=!1),Ae&&(ke=!0),Ie&&(fe=Ko({},ns),me=Do(null),Ie.html===!0&&(Ko(fe,Xo),Ko(me,rs)),Ie.svg===!0&&(Ko(fe,Zo),Ko(me,is),Ko(me,os)),Ie.svgFilters===!0&&(Ko(fe,Qo),Ko(me,is),Ko(me,os)),Ie.mathMl===!0&&(Ko(fe,es),Ko(me,as),Ko(me,os))),Vo(e,`ADD_TAGS`)||(ye.tagCheck=null),Vo(e,`ADD_ATTR`)||(ye.attributeCheck=null),e.ADD_TAGS&&(typeof e.ADD_TAGS==`function`?ye.tagCheck=e.ADD_TAGS:(fe===pe&&(fe=Jo(fe)),Ko(fe,e.ADD_TAGS,$e))),e.ADD_ATTR&&(typeof e.ADD_ATTR==`function`?ye.attributeCheck=e.ADD_ATTR:(me===he&&(me=Jo(me)),Ko(me,e.ADD_ATTR,$e))),e.ADD_URI_SAFE_ATTR&&Ko(Ve,e.ADD_URI_SAFE_ATTR,$e),e.FORBID_CONTENTS&&(Le===Re&&(Le=Jo(Le)),Ko(Le,e.FORBID_CONTENTS,$e)),e.ADD_FORBID_CONTENTS&&(Le===Re&&(Le=Jo(Le)),Ko(Le,e.ADD_FORBID_CONTENTS,$e)),Pe&&(fe[`#text`]=!0),Ee&&Ko(fe,[`html`,`head`,`body`]),fe.table&&(Ko(fe,[`tbody`]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Uo(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Uo(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);b=e.TRUSTED_TYPES_POLICY,x=b.createHTML(``)}else b===void 0&&(b=bs(p,i)),b!==null&&typeof x==`string`&&(x=b.createHTML(``));To&&To(e),et=e}},it=Ko({},[...Zo,...Qo,...$o]),at=Ko({},[...es,...ts]),ot=function(e){let t=y(e);(!t||!t.tagName)&&(t={namespaceURI:Ke,tagName:`template`});let n=Fo(e.tagName),r=Fo(t.tagName);return T[e.namespaceURI]?e.namespaceURI===We?t.namespaceURI===Ge?n===`svg`:t.namespaceURI===Ue?n===`svg`&&(r===`annotation-xml`||Ye[r]):!!it[n]:e.namespaceURI===Ue?t.namespaceURI===Ge?n===`math`:t.namespaceURI===We?n===`math`&&Xe[r]:!!at[n]:e.namespaceURI===Ge?t.namespaceURI===We&&!Xe[r]||t.namespaceURI===Ue&&!Ye[r]?!1:!at[n]&&(Ze[n]||!it[n]):!!(E===`application/xhtml+xml`&&T[e.namespaceURI]):!1},st=function(e){No(t.removed,{element:e});try{y(e).removeChild(e)}catch{g(e)}},ct=function(e,n){try{No(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{No(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(ke||Ae)try{st(n)}catch{}else try{n.setAttribute(e,``)}catch{}},lt=function(e){let t=null,r=null;if(Oe)e=`<remove></remove>`+e;else{let t=Lo(e,/^[\r\n\t ]+/);r=t&&t[0]}E===`application/xhtml+xml`&&Ke===Ge&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=b?b.createHTML(e):e;if(Ke===Ge)try{t=new f().parseFromString(i,E)}catch{}if(!t||!t.documentElement){t=S.createDocument(Ke,`template`,null);try{t.documentElement.innerHTML=qe?x:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ke===Ge?te.call(t,Ee?`html`:`body`)[0]:Ee?t.documentElement:a},ut=function(e){return C.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},dt=function(e){return e instanceof d&&(typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||!(e.attributes instanceof u)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`)},ft=function(e){return typeof s==`function`&&e instanceof s};function pt(e,n,r){Ao(e,e=>{e.call(t,n,r,et)})}let mt=function(e){let n=null;if(pt(re.beforeSanitizeElements,e,null),dt(e))return st(e),!0;let r=$e(e.nodeName);if(pt(re.uponSanitizeElement,e,{tagName:r,allowedTags:fe}),Te&&e.hasChildNodes()&&!ft(e.firstElementChild)&&Ho(/<[/\w!]/g,e.innerHTML)&&Ho(/<[/\w!]/g,e.textContent)||e.nodeType===vs.progressingInstruction||Te&&e.nodeType===vs.comment&&Ho(/<[/\w]/g,e.data))return st(e),!0;if(!(ye.tagCheck instanceof Function&&ye.tagCheck(r))&&(!fe[r]||_e[r])){if(!_e[r]&&D(r)&&(ge.tagNameCheck instanceof RegExp&&Ho(ge.tagNameCheck,r)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(r)))return!1;if(Pe&&!Le[r]){let t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=h(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,_(e))}}}return st(e),!0}return e instanceof c&&!ot(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Ho(/<\/no(script|embed|frames)/i,e.innerHTML)?(st(e),!0):(we&&e.nodeType===vs.text&&(n=e.textContent,Ao([ie,w,ae],e=>{n=Ro(n,e,` `)}),e.textContent!==n&&(No(t.removed,{element:e.cloneNode()}),e.textContent=n)),pt(re.afterSanitizeElements,e,null),!1)},ht=function(e,t,r){if(ve[t]||Me&&(t===`id`||t===`name`)&&(r in n||r in tt))return!1;if(!(xe&&!ve[t]&&Ho(oe,t))&&!(be&&Ho(se,t))&&!(ye.attributeCheck instanceof Function&&ye.attributeCheck(t,e))){if(!me[t]||ve[t]){if(!(D(e)&&(ge.tagNameCheck instanceof RegExp&&Ho(ge.tagNameCheck,e)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(e))&&(ge.attributeNameCheck instanceof RegExp&&Ho(ge.attributeNameCheck,t)||ge.attributeNameCheck instanceof Function&&ge.attributeNameCheck(t,e))||t===`is`&&ge.allowCustomizedBuiltInElements&&(ge.tagNameCheck instanceof RegExp&&Ho(ge.tagNameCheck,r)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(r))))return!1}else if(!Ve[t]&&!Ho(de,Ro(r,le,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&zo(r,`data:`)===0&&ze[e])&&!(Se&&!Ho(ce,Ro(r,le,``)))&&r)return!1}return!0},D=function(e){return e!==`annotation-xml`&&Lo(e,ue)},O=function(e){pt(re.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||dt(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:me,forceKeepAttr:void 0},i=n.length;for(;i--;){let{name:a,namespaceURI:o,value:s}=n[i],c=$e(a),l=s,u=a===`value`?l:Bo(l);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,pt(re.uponSanitizeAttribute,e,r),u=r.attrValue,Ne&&(c===`id`||c===`name`)&&(ct(a,e),u=`user-content-`+u),Te&&Ho(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){ct(a,e);continue}if(c===`attributename`&&Lo(u,`href`)){ct(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){ct(a,e);continue}if(!Ce&&Ho(/\/>/i,u)){ct(a,e);continue}we&&Ao([ie,w,ae],e=>{u=Ro(u,e,` `)});let d=$e(e.nodeName);if(!ht(d,c,u)){ct(a,e);continue}if(b&&typeof p==`object`&&typeof p.getAttributeType==`function`&&!o)switch(p.getAttributeType(d,c)){case`TrustedHTML`:u=b.createHTML(u);break;case`TrustedScriptURL`:u=b.createScriptURL(u);break}if(u!==l)try{o?e.setAttributeNS(o,a,u):e.setAttribute(a,u),dt(e)?st(e):Mo(t.removed)}catch{ct(a,e)}}pt(re.afterSanitizeAttributes,e,null)},gt=function e(t){let n=null,r=ut(t);for(pt(re.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)pt(re.uponSanitizeShadowNode,n,null),mt(n),O(n),n.content instanceof a&&e(n.content);pt(re.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,o=null,c=null,l=null;if(qe=!e,qe&&(e=`<!-->`),typeof e!=`string`&&!ft(e))if(typeof e.toString==`function`){if(e=e.toString(),typeof e!=`string`)throw Uo(`dirty is not a string, aborting`)}else throw Uo(`toString is not a function`);if(!t.isSupported)return e;if(De||rt(n),t.removed=[],typeof e==`string`&&(Fe=!1),Fe){if(e.nodeName){let t=$e(e.nodeName);if(!fe[t]||_e[t])throw Uo(`root node is forbidden and cannot be sanitized in-place`)}}else if(e instanceof s)i=lt(`<!---->`),o=i.ownerDocument.importNode(e,!0),o.nodeType===vs.element&&o.nodeName===`BODY`||o.nodeName===`HTML`?i=o:i.appendChild(o);else{if(!ke&&!we&&!Ee&&e.indexOf(`<`)===-1)return b&&je?b.createHTML(e):e;if(i=lt(e),!i)return ke?null:je?x:``}i&&Oe&&st(i.firstChild);let u=ut(Fe?e:i);for(;c=u.nextNode();)mt(c),O(c),c.content instanceof a&>(c.content);if(Fe)return e;if(ke){if(Ae)for(l=ee.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(me.shadowroot||me.shadowrootmode)&&(l=ne.call(r,l,!0)),l}let d=Ee?i.outerHTML:i.innerHTML;return Ee&&fe[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Ho(hs,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
package/chat/liipgpt-chat.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/*! @liip/liipgpt | Copyright 2025-2026 Liip AG | Apache-2.0 | see LICENSE and NOTICE */
|
|
1
2
|
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var l={},u=Symbol(),d=`http://www.w3.org/1999/xhtml`,f=`http://www.w3.org/2000/svg`,p=`http://www.w3.org/1998/Math/MathML`,m=`@attach`,h=Array.isArray,g=Array.prototype.indexOf,_=Array.prototype.includes,v=Array.from,y=Object.keys,b=Object.defineProperty,x=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyDescriptors,C=Object.prototype,ee=Array.prototype,te=Object.getPrototypeOf,ne=Object.isExtensible;function re(e){return typeof e==`function`}var w=()=>{};function ie(e){return typeof e?.then==`function`}function ae(e){return e()}function oe(e){for(var t=0;t<e.length;t++)e[t]()}function se(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var ce=1<<24,le=1024,ue=2048,de=4096,fe=8192,pe=16384,me=32768,he=1<<25,ge=65536,_e=1<<18,ve=1<<19,ye=1<<20,be=1<<25,xe=65536,Se=1<<21,Ce=1<<22,we=1<<23,Te=Symbol(`$state`),Ee=Symbol(`legacy props`),De=Symbol(``),Oe=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ke=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function Ae(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function je(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Me(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Ne(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Pe(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Fe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Ie(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Le(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Re(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function ze(){throw Error(`https://svelte.dev/e/set_context_after_init`)}function Be(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ve(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function He(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ue(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function We(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ge(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function Ke(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var qe=!1;function Je(e){qe=e}var T;function Ye(e){if(e===null)throw We(),l;return T=e}function Xe(){return Ye(Ln(T))}function E(e){if(qe){if(Ln(T)!==null)throw We(),l;T=e}}function Ze(e=1){if(qe){for(var t=e,n=T;t--;)n=Ln(n);T=n}}function Qe(e=!0){for(var t=0,n=T;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Ln(n);e&&n.remove(),n=i}}function $e(e){if(!e||e.nodeType!==8)throw We(),l;return e.data}function et(e){return e===this.v}function tt(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function nt(e){return!tt(e,this.v)}var rt=!1,it=!1;function at(){it=!0}var ot=[];function st(e,t=!1,n=!1){return ct(e,new Map,``,ot,null,n)}function ct(e,t,n,r,i=null,a=!1){if(typeof e==`object`&&e){var o=t.get(e);if(o!==void 0)return o;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(h(e)){var s=Array(e.length);t.set(e,s),i!==null&&t.set(i,s);for(var c=0;c<e.length;c+=1){var l=e[c];c in e&&(s[c]=ct(l,t,n,r,null,a))}return s}if(te(e)===C){s={},t.set(e,s),i!==null&&t.set(i,s);for(var u of Object.keys(e))s[u]=ct(e[u],t,n,r,null,a);return s}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON==`function`&&!a)return ct(e.toJSON(),t,n,r,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}var lt=null;function ut(e){lt=e}function dt(e){return gt(`getContext`).get(e)}function ft(e,t){let n=gt(`setContext`);if(rt){var r=Dr.f;!wr&&r&32&&!lt.i||ze()}return n.set(e,t),t}function pt(e){return gt(`hasContext`).has(e)}function mt(){return gt(`getAllContexts`)}function D(e,t=!1,n){lt={p:lt,i:!1,c:null,e:null,s:e,x:null,r:Dr,l:it&&!t?{s:null,u:null,$:[]}:null}}function O(e){var t=lt,n=t.e;if(n!==null){t.e=null;for(var r of n)$n(r)}return e!==void 0&&(t.x=e),t.i=!0,lt=t.p,e??{}}function ht(){return!it||lt!==null&<.l===null}function gt(e){return lt===null&&Ae(e),lt.c??=new Map(_t(lt)||void 0)}function _t(e){let t=e.p;for(;t!==null;){let e=t.c;if(e!==null)return e;t=t.p}return null}var vt=[];function yt(){var e=vt;vt=[],oe(e)}function bt(e){if(vt.length===0&&!zt){var t=vt;queueMicrotask(()=>{t===vt&&yt()})}vt.push(e)}function xt(){for(;vt.length>0;)yt()}function St(e){var t=Dr;if(t===null)return wr.f|=we,e;if(!(t.f&32768)&&!(t.f&4))throw e;Ct(e,t)}function Ct(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var wt=~(ue|de|le);function Tt(e,t){e.f=e.f&wt|t}function Et(e){e.f&512||e.deps===null?Tt(e,le):Tt(e,de)}function Dt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=xe,Dt(t.deps))}function Ot(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Dt(e.deps),Tt(e,le)}var kt=[];function At(e,t=w){let n=null,r=new Set;function i(t){if(tt(e,t)&&(e=t,n)){let t=!kt.length;for(let t of r)t[1](),kt.push(t,e);if(t){for(let e=0;e<kt.length;e+=2)kt[e][0](kt[e+1]);kt.length=0}}}function a(t){i(t(e))}function o(o,s=w){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||w),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var jt=!1,Mt=!1;function Nt(e){var t=Mt;try{return Mt=!1,[e(),Mt]}finally{Mt=t}}var Pt=new Set,Ft=null,It=null,Lt=null,Rt=null,zt=!1,Bt=!1,Vt=null,Ht=null,Ut=0,Wt=1,Gt=class e{id=Wt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u(){return this.is_fork||this.#r>0}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)Tt(n,ue),this.schedule(n);for(n of t.m)Tt(n,de),this.schedule(n)}}#d(){if(Ut++>1e3&&(Pt.delete(this),Kt()),!this.#u()){for(let e of this.#o)this.#s.delete(e),Tt(e,ue),this.schedule(e);for(let e of this.#s)Tt(e,de),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=Vt=[],r=[],i=Ht=[];for(let e of t)try{this.#f(e,n,r)}catch(t){throw $t(e),t}if(Ft=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Vt=null,Ht=null,this.#u()){this.#p(r),this.#p(n);for(let[e,t]of this.#c)Qt(e,t)}else{this.#n===0&&Pt.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),It=this,Jt(r),Jt(n),It=null,this.#i?.resolve()}var o=Ft;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(Pt.add(o),o.#d()),Pt.has(this)||this.#m()}#f(e,t,n){e.f^=le;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=le:i&4?t.push(r):rt&&i&16777224?n.push(r):Br(r)&&(i&16&&this.#s.add(r),Gr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#p(e){for(var t=0;t<e.length;t+=1)Ot(e[t],this.#o,this.#s)}capture(e,t){t!==u&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,e.v),Lt?.set(e,e.v))}activate(){Ft=this}deactivate(){Ft=null,Lt=null}flush(){try{Bt=!0,Ft=this,this.#d()}finally{Ut=0,Rt=null,Vt=null,Ht=null,Bt=!1,Ft=null,Lt=null,yn.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),Pt.delete(this)}#m(){for(let s of Pt){var e=s.id<this.id,t=[];for(let[n,r]of this.current){if(s.current.has(n))if(e&&r!==s.current.get(n))s.current.set(n,r);else continue;t.push(n)}var n=[...s.current.keys()].filter(e=>!this.current.has(e));if(n.length===0)e&&s.discard();else if(t.length>0){s.activate();var r=new Set,i=new Map;for(var a of t)Yt(a,n,r,i);if(s.#a.length>0){s.apply();for(var o of s.#a)s.#f(o,[],[]);s.#a=[]}s.deactivate()}}}increment(e){this.#n+=1,e&&(this.#r+=1)}decrement(e,t){--this.#n,e&&--this.#r,!(this.#l||t)&&(this.#l=!0,bt(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=se()).promise}static ensure(){if(Ft===null){let t=Ft=new e;Bt||(Pt.add(Ft),zt||bt(()=>{Ft===t&&t.flush()}))}return Ft}apply(){if(!rt||!this.is_fork&&Pt.size===1){Lt=null;return}Lt=new Map(this.current);for(let e of Pt)if(!(e===this||e.is_fork))for(let[t,n]of e.previous)Lt.has(t)||Lt.set(t,n)}schedule(e){if(Rt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Vt!==null&&t===Dr&&(rt||(wr===null||!(wr.f&2))&&!jt))return;if(n&96){if(!(n&1024))return;t.f^=le}}this.#a.push(t)}};function k(e){var t=zt;zt=!0;try{var n;for(e&&(Ft!==null&&!Ft.is_fork&&Ft.flush(),n=e());;){if(xt(),Ft===null)return n;Ft.flush()}}finally{zt=t}}function Kt(){try{Ie()}catch(e){Ct(e,Rt)}}var qt=null;function Jt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Br(r)&&(qt=new Set,Gr(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&mr(r),qt?.size>0)){yn.clear();for(let e of qt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)qt.has(n)&&(qt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Gr(n)}}qt.clear()}}qt=null}}function Yt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Yt(i,t,n,r):e&4194320&&!(e&2048)&&Xt(i,t,r)&&(Tt(i,ue),Zt(i))}}function Xt(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(_.call(t,r))return!0;if(r.f&2&&Xt(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function Zt(e){Ft.schedule(e)}function Qt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),Tt(e,le);for(var n=e.first;n!==null;)Qt(n,t),n=n.next}}function $t(e){Tt(e,le);for(var t=e.first;t!==null;)$t(t),t=t.next}function en(e){let t=0,n=xn(0),r;return()=>{Zn()&&(R(n),ar(()=>(t===0&&(r=Yr(()=>e(()=>Tn(n)))),t+=1,()=>{bt(()=>{--t,t===0&&(r?.(),r=void 0,Tn(n))})})))}}var tn=ge|ve;function nn(e,t,n,r){new rn(e,t,n,r)}var rn=class{parent;is_pending=!1;transform_error;#e;#t=qe?T:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=en(()=>(this.#m=xn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=Dr;t.b=this,t.f|=128,n(e)},this.parent=Dr.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=or(()=>{if(qe){let e=this.#t;Xe();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},tn),qe&&(this.#e=T)}#g(){try{this.#a=cr(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=cr(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=cr(()=>e(this.#e)),bt(()=>{var e=this.#c=document.createDocumentFragment(),t=Fn();e.append(t),this.#a=this.#x(()=>cr(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,hr(this.#o,()=>{this.#o=null}),this.#b(Ft))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=cr(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();yr(this.#a,e);let t=this.#n.pending;this.#o=cr(()=>t(this.#e))}else this.#b(Ft)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Ot(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=Dr,n=wr,r=lt;Or(this.#i),Er(this.#i),ut(this.#i.ctx);try{return Gt.ensure(),e()}catch(e){return St(e),null}finally{Or(t),Er(n),ut(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&hr(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,bt(()=>{this.#d=!1,this.#m&&Cn(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),R(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(fr(this.#a),null),this.#o&&=(fr(this.#o),null),this.#s&&=(fr(this.#s),null),qe&&(Ye(this.#t),Ze(),Ye(Qe()));var r=!1,i=!1;let a=()=>{if(r){Ke();return}r=!0,i&&Ue(),this.#s!==null&&hr(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Ct(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return cr(()=>{var t=Dr;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Ct(e,this.#i.parent),null}}))};bt(()=>{var t;try{t=this.transform_error(e)}catch(e){Ct(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Ct(e,this.#i&&this.#i.parent)):o(t)})}};function an(e,t,n,r){let i=ht()?ln:dn;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=Dr,s=on(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||Ct(e,o)}sn()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=cn();function d(){Promise.all(n.map(e=>un(e))).then(e=>l([...t.map(i),...e])).catch(e=>Ct(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),sn()}):d()}function on(){var e=Dr,t=wr,n=lt,r=Ft;return function(i=!0){Or(e),Er(t),ut(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function sn(e=!0){Or(null),Er(null),ut(null),e&&Ft?.deactivate()}function cn(){var e=Dr.b,t=Ft,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(r=!1)=>{e.update_pending_count(-1,t),t.decrement(n,r)}}function ln(e){var t=2|ue,n=wr!==null&&wr.f&2?wr:null;return Dr!==null&&(Dr.f|=ve),{ctx:lt,deps:null,effects:null,equals:et,f:t,fn:e,reactions:null,rv:0,v:u,wv:0,parent:n??Dr,ac:null}}function un(e,t,n){let r=Dr;r===null&&je();var i=void 0,a=xn(u),o=!wr,s=new Map;return ir(()=>{var t=Dr,n=se();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(sn)}catch(e){n.reject(e),sn()}var c=Ft;if(o){if(t.f&32768)var l=cn();if(r.b.is_rendered())s.get(c)?.reject(Oe),s.delete(c);else{for(let e of s.values())e.reject(Oe);s.clear()}s.set(c,n)}let u=(e,n=void 0)=>{if(l&&l(n===Oe),!(n===Oe||t.f&16384)){if(c.activate(),n)a.f|=we,Cn(a,n);else{a.f&8388608&&(a.f^=we),Cn(a,e);for(let[e,t]of s){if(s.delete(e),e===c)break;t.reject(Oe)}}c.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),Qn(()=>{for(let e of s.values())e.reject(Oe)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function A(e){let t=ln(e);return rt||Ar(t),t}function dn(e){let t=ln(e);return t.equals=nt,t}function fn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)fr(t[n])}}function pn(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function mn(e){var t,n=Dr;Or(pn(e));try{e.f&=~xe,fn(e),t=Hr(e)}finally{Or(n)}return t}function hn(e){var t=e.v,n=mn(e);if(!e.equals(n)&&(e.wv=zr(),(!Ft?.is_fork||e.deps===null)&&(e.v=n,Ft?.capture(e,t),e.deps===null))){Tt(e,le);return}Sr||(Lt===null?Et(e):(Zn()||Ft?.is_fork)&&Lt.set(e,n))}function gn(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Oe),t.teardown=w,t.ac=null,Wr(t,0),ur(t))}function _n(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Gr(t)}var vn=new Set,yn=new Map,bn=!1;function xn(e,t){return{f:0,v:e,reactions:null,equals:et,rv:0,wv:0}}function j(e,t){let n=xn(e,t);return Ar(n),n}function Sn(e,t=!1,n=!0){let r=xn(e);return t||(r.equals=nt),it&&n&<!==null&<.l!==null&&(lt.l.s??=[]).push(r),r}function M(e,t,n=!1){return wr!==null&&(!Tr||wr.f&131072)&&ht()&&wr.f&4325394&&(kr===null||!_.call(kr,e))&&He(),Cn(e,n?Dn(t):t,Ht)}function Cn(e,t,n=null){if(!e.equals(t)){var r=e.v;Sr?yn.set(e,t):yn.set(e,r),e.v=t;var i=Gt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&mn(t),Lt===null&&Et(t)}e.wv=zr(),En(e,ue,n),ht()&&Dr!==null&&Dr.f&1024&&!(Dr.f&96)&&(Nr===null?Pr([e]):Nr.push(e)),!i.is_fork&&vn.size>0&&!bn&&wn()}return t}function wn(){bn=!1;for(let e of vn)e.f&1024&&Tt(e,de),Br(e)&&Gr(e);vn.clear()}function Tn(e){M(e,e.v+1)}function En(e,t,n){var r=e.reactions;if(r!==null)for(var i=ht(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===Dr)){var l=(c&ue)===0;if(l&&Tt(s,t),c&2){var u=s;Lt?.delete(u),c&65536||(c&512&&(s.f|=xe),En(u,de,n))}else if(l){var d=s;c&16&&qt!==null&&qt.add(d),n===null?Zt(d):n.push(d)}}}}function Dn(e){if(typeof e!=`object`||!e||Te in e)return e;let t=te(e);if(t!==C&&t!==ee)return e;var n=new Map,r=h(e),i=j(0),a=null,o=Lr,s=e=>{if(Lr===o)return e();var t=wr,n=Lr;Er(null),Rr(o);var r=e();return Er(t),Rr(n),r};return r&&n.set(`length`,j(e.length,a)),new Proxy(e,{defineProperty(e,t,r){(!(`value`in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&Be();var i=n.get(t);return i===void 0?s(()=>{var e=j(r.value,a);return n.set(t,e),e}):M(i,r.value,!0),!0},deleteProperty(e,t){var r=n.get(t);if(r===void 0){if(t in e){let e=s(()=>j(u,a));n.set(t,e),Tn(i)}}else M(r,u),Tn(i);return!0},get(t,r,i){if(r===Te)return e;var o=n.get(r),c=r in t;if(o===void 0&&(!c||x(t,r)?.writable)&&(o=s(()=>j(Dn(c?t[r]:u),a)),n.set(r,o)),o!==void 0){var l=R(o);return l===u?void 0:l}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var i=n.get(t);i&&(r.value=R(i))}else if(r===void 0){var a=n.get(t),o=a?.v;if(a!==void 0&&o!==u)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return r},has(e,t){if(t===Te)return!0;var r=n.get(t),i=r!==void 0&&r.v!==u||Reflect.has(e,t);return(r!==void 0||Dr!==null&&(!i||x(e,t)?.writable))&&(r===void 0&&(r=s(()=>j(i?Dn(e[t]):u,a)),n.set(t,r)),R(r)===u)?!1:i},set(e,t,o,c){var l=n.get(t),d=t in e;if(r&&t===`length`)for(var f=o;f<l.v;f+=1){var p=n.get(f+``);p===void 0?f in e&&(p=s(()=>j(u,a)),n.set(f+``,p)):M(p,u)}if(l===void 0)(!d||x(e,t)?.writable)&&(l=s(()=>j(void 0,a)),M(l,Dn(o)),n.set(t,l));else{d=l.v!==u;var m=s(()=>Dn(o));M(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,o),!d){if(r&&typeof t==`string`){var g=n.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&M(g,_+1)}Tn(i)}return!0},ownKeys(e){R(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return t===void 0||t.v!==u});for(var[r,a]of n)a.v!==u&&!(r in e)&&t.push(r);return t},setPrototypeOf(){Ve()}})}function On(e){try{if(typeof e==`object`&&e&&Te in e)return e[Te]}catch{}return e}function kn(e,t){return Object.is(On(e),On(t))}var An,jn,Mn,Nn;function Pn(){if(An===void 0){An=window,jn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Mn=x(t,`firstChild`).get,Nn=x(t,`nextSibling`).get,ne(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ne(n)&&(n.__t=void 0)}}function Fn(e=``){return document.createTextNode(e)}function In(e){return Mn.call(e)}function Ln(e){return Nn.call(e)}function N(e,t){if(!qe)return In(e);var n=In(T);if(n===null)n=T.appendChild(Fn());else if(t&&n.nodeType!==3){var r=Fn();return n?.before(r),Ye(r),r}return t&&Vn(n),Ye(n),n}function P(e,t=!1){if(!qe){var n=In(e);return n instanceof Comment&&n.data===``?Ln(n):n}if(t){if(T?.nodeType!==3){var r=Fn();return T?.before(r),Ye(r),r}Vn(T)}return T}function F(e,t=1,n=!1){let r=qe?T:e;for(var i;t--;)i=r,r=Ln(r);if(!qe)return r;if(n){if(r?.nodeType!==3){var a=Fn();return r===null?i?.after(a):r.before(a),Ye(a),a}Vn(r)}return Ye(r),r}function Rn(e){e.textContent=``}function zn(){return!rt||qt!==null?!1:(Dr.f&me)!==0}function Bn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function Vn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Hn(e,t){if(t){let t=document.body;e.autofocus=!0,bt(()=>{document.activeElement===t&&e.focus()})}}function Un(e){qe&&In(e)!==null&&Rn(e)}var Wn=!1;function Gn(){Wn||(Wn=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Kn(e){var t=wr,n=Dr;Er(null),Or(null);try{return e()}finally{Er(t),Or(n)}}function qn(e,t,n,r=n){e.addEventListener(t,()=>Kn(n));let i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),Gn()}function Jn(e){Dr===null&&(wr===null&&Fe(e),Pe()),Sr&&Ne(e)}function Yn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Xn(e,t){var n=Dr;n!==null&&n.f&8192&&(e|=fe);var r={ctx:lt,deps:null,nodes:null,f:e|ue|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)Vt===null?Gt.ensure().schedule(r):Vt.push(r);else if(t!==null){try{Gr(r)}catch(e){throw fr(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ge))}if(i!==null&&(i.parent=n,n!==null&&Yn(i,n),wr!==null&&wr.f&2&&!(e&64))){var a=wr;(a.effects??=[]).push(i)}return r}function Zn(){return wr!==null&&!Tr}function Qn(e){let t=Xn(8,null);return Tt(t,le),t.teardown=e,t}function I(e){Jn(`$effect`);var t=Dr.f;if(!wr&&t&32&&!(t&32768)){var n=lt;(n.e??=[]).push(e)}else return $n(e)}function $n(e){return Xn(4|ye,e)}function er(e){return Jn(`$effect.pre`),Xn(8|ye,e)}function tr(e){Gt.ensure();let t=Xn(64|ve,e);return()=>{fr(t)}}function nr(e){Gt.ensure();let t=Xn(64|ve,e);return(e={})=>new Promise(n=>{e.outro?hr(t,()=>{fr(t),n(void 0)}):(fr(t),n(void 0))})}function rr(e){return Xn(4,e)}function ir(e){return Xn(Ce|ve,e)}function ar(e,t=0){return Xn(8|t,e)}function L(e,t=[],n=[],r=[]){an(r,t,n,t=>{Xn(8,()=>e(...t.map(R)))})}function or(e,t=0){return Xn(16|t,e)}function sr(e,t=0){return Xn(ce|t,e)}function cr(e){return Xn(32|ve,e)}function lr(e){var t=e.teardown;if(t!==null){let e=Sr,n=wr;Cr(!0),Er(null);try{t.call(null)}finally{Cr(e),Er(n)}}}function ur(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Kn(()=>{e.abort(Oe)});var r=n.next;n.f&64?n.parent=null:fr(n,t),n=r}}function dr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||fr(t),t=n}}function fr(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(pr(e.nodes.start,e.nodes.end),n=!0),Tt(e,he),ur(e,t&&!n),Wr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();lr(e),e.f^=he,e.f|=pe;var i=e.parent;i!==null&&i.first!==null&&mr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function pr(e,t){for(;e!==null;){var n=e===t?null:Ln(e);e.remove(),e=n}}function mr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function hr(e,t,n=!0){var r=[];gr(e,r,!0);var i=()=>{n&&fr(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function gr(e,t,n){if(!(e.f&8192)){e.f^=fe;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;gr(i,t,o?n:!1),i=a}}}function _r(e){vr(e,!0)}function vr(e,t){if(e.f&8192){e.f^=fe,e.f&1024||(Tt(e,ue),Gt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;vr(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function yr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Ln(n);t.append(n),n=i}}var br=null,xr=!1,Sr=!1;function Cr(e){Sr=e}var wr=null,Tr=!1;function Er(e){wr=e}var Dr=null;function Or(e){Dr=e}var kr=null;function Ar(e){wr!==null&&(!rt||wr.f&2)&&(kr===null?kr=[e]:kr.push(e))}var jr=null,Mr=0,Nr=null;function Pr(e){Nr=e}var Fr=1,Ir=0,Lr=Ir;function Rr(e){Lr=e}function zr(){return++Fr}function Br(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~xe),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Br(a)&&hn(a),a.wv>e.wv)return!0}t&512&&Lt===null&&Tt(e,le)}return!1}function Vr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!rt&&kr!==null&&_.call(kr,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Vr(a,t,!1):t===a&&(n?Tt(a,ue):a.f&1024&&Tt(a,de),Zt(a))}}function Hr(e){var t=jr,n=Mr,r=Nr,i=wr,a=kr,o=lt,s=Tr,c=Lr,l=e.f;jr=null,Mr=0,Nr=null,wr=l&96?null:e,kr=null,ut(e.ctx),Tr=!1,Lr=++Ir,e.ac!==null&&(Kn(()=>{e.ac.abort(Oe)}),e.ac=null);try{e.f|=Se;var u=e.fn,d=u();e.f|=me;var f=e.deps,p=Ft?.is_fork;if(jr!==null){var m;if(p||Wr(e,Mr),f!==null&&Mr>0)for(f.length=Mr+jr.length,m=0;m<jr.length;m++)f[Mr+m]=jr[m];else e.deps=f=jr;if(Zn()&&e.f&512)for(m=Mr;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Mr<f.length&&(Wr(e,Mr),f.length=Mr);if(ht()&&Nr!==null&&!Tr&&f!==null&&!(e.f&6146))for(m=0;m<Nr.length;m++)Vr(Nr[m],e);if(i!==null&&i!==e){if(Ir++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Ir;if(t!==null)for(let e of t)e.rv=Ir;Nr!==null&&(r===null?r=Nr:r.push(...Nr))}return e.f&8388608&&(e.f^=we),d}catch(e){return St(e)}finally{e.f^=Se,jr=t,Mr=n,Nr=r,wr=i,kr=a,ut(o),Tr=s,Lr=c}}function Ur(e,t){let n=t.reactions;if(n!==null){var r=g.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(jr===null||!_.call(jr,t))){var a=t;a.f&512&&(a.f^=512,a.f&=~xe),Et(a),gn(a),Wr(a,0)}}function Wr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ur(e,n[r])}function Gr(e){var t=e.f;if(!(t&16384)){Tt(e,le);var n=Dr,r=xr;Dr=e,xr=!0;try{t&16777232?dr(e):ur(e),lr(e);var i=Hr(e);e.teardown=typeof i==`function`?i:null,e.wv=Fr}finally{xr=r,Dr=n}}}async function Kr(){if(rt)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),k()}function R(e){var t=(e.f&2)!=0;if(br?.add(e),wr!==null&&!Tr&&!(Dr!==null&&Dr.f&16384)&&(kr===null||!_.call(kr,e))){var n=wr.deps;if(wr.f&2097152)e.rv<Ir&&(e.rv=Ir,jr===null&&n!==null&&n[Mr]===e?Mr++:jr===null?jr=[e]:jr.push(e));else{(wr.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[wr]:_.call(r,wr)||r.push(wr)}}if(Sr&&yn.has(e))return yn.get(e);if(t){var i=e;if(Sr){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Jr(i))&&(a=mn(i)),yn.set(i,a),a}var o=(i.f&512)==0&&!Tr&&wr!==null&&(xr||(wr.f&512)!=0),s=(i.f&me)===0;Br(i)&&(o&&(i.f|=512),hn(i)),o&&!s&&(_n(i),qr(i))}if(Lt?.has(e))return Lt.get(e);if(e.f&8388608)throw e.v;return e.v}function qr(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(_n(t),qr(t))}function Jr(e){if(e.v===u)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(yn.has(t)||t.f&2&&Jr(t))return!0;return!1}function Yr(e){var t=Tr;try{return Tr=!0,e()}finally{Tr=t}}function Xr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(Te in e)Zr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&Te in n&&Zr(n)}}}function Zr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Zr(e[n],t)}catch{}let n=te(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=S(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}var Qr=Symbol(`events`),$r=new Set,ei=new Set;function ti(e,t,n,r={}){function i(e){if(r.capture||si.call(t,e),!e.cancelBubble)return Kn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?bt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function ni(e,t,n,r={}){var i=ti(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function ri(e,t,n,r,i){var a={capture:r,passive:i},o=ti(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Qn(()=>{t.removeEventListener(e,o,a)})}function ii(e,t,n){(t[Qr]??={})[e]=n}function ai(e){for(var t=0;t<e.length;t++)$r.add(e[t]);for(var n of ei)n(e)}var oi=null;function si(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;oi=e;var o=0,s=oi===e&&e[Qr];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Qr]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){b(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=wr,d=Dr;Er(null),Or(null);try{for(var f,p=[];a!==null;){var m=a.assignedSlot||a.parentNode||a.host||null;try{var h=a[Qr]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){f?p.push(e):f=e}if(e.cancelBubble||m===t||m===null)break;a=m}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[Qr]=t,delete e.currentTarget,Er(u),Or(d)}}}var ci=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function li(e){return ci?.createHTML(e)??e}function ui(e){var t=Bn(`template`);return t.innerHTML=li(e.replaceAll(`<!>`,`<!---->`)),t.content}function di(e,t){var n=Dr;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function z(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(qe)return di(T,null),T;i===void 0&&(i=ui(a?e:`<!>`+e),n||(i=In(i)));var t=r||jn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=In(t),s=t.lastChild;di(o,s)}else di(t,t);return t}}function fi(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=(t&1)!=0,a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(qe)return di(T,null),T;if(!o){var e=In(ui(a));if(i)for(o=document.createDocumentFragment();In(e);)o.appendChild(In(e));else o=In(e)}var t=o.cloneNode(!0);if(i){var n=In(t),r=t.lastChild;di(n,r)}else di(t,t);return t}}function pi(e,t){return fi(e,t,`svg`)}function mi(e=``){if(!qe){var t=Fn(e+``);return di(t,t),t}var n=T;return n.nodeType===3?Vn(n):(n.before(n=Fn()),Ye(n)),di(n,n),n}function B(){if(qe)return di(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(``),n=Fn();return e.append(t,n),di(t,n),e}function V(e,t){if(qe){var n=Dr;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=T),Xe();return}e!==null&&e.before(t)}function hi(){if(qe&&T&&T.nodeType===8&&T.textContent?.startsWith(`$`)){let e=T.textContent.substring(1);return Xe(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function gi(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var _i=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function vi(e){return _i.includes(e)}var yi=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),bi={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function xi(e){return e=e.toLowerCase(),bi[e]??e}[...yi];var Si=[`touchstart`,`touchmove`];function Ci(e){return Si.includes(e)}var wi=[`textarea`,`script`,`style`,`title`];function Ti(e){return wi.includes(e)}var Ei=!0;function Di(e){Ei=e}function H(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Oi(e,t){return ji(e,t)}function ki(e,t){Pn(),t.intro=t.intro??!1;let n=t.target,r=qe,i=T;try{for(var a=In(n);a&&(a.nodeType!==8||a.data!==`[`);)a=Ln(a);if(!a)throw l;Je(!0),Ye(a);let r=ji(e,{...t,anchor:a});return Je(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
|
|
2
3
|
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==l&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Le(),Pn(),Rn(n),Je(!1),Oi(e,t)}finally{Je(r),Ye(i)}}var Ai=new Map;function ji(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:o=!0,transformError:s}){Pn();var c=void 0,u=nr(()=>{var u=n??t.appendChild(Fn());nn(u,{pending:()=>{}},t=>{D({});var n=lt;if(a&&(n.c=a),i&&(r.$$events=i),qe&&di(t,null),Ei=o,c=e(t,r)||{},Ei=!0,qe&&(Dr.nodes.end=T,T===null||T.nodeType!==8||T.data!==`]`))throw We(),l;O()},s);var d=new Set,f=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!d.has(r)){d.add(r);var i=Ci(r);for(let e of[t,document]){var a=Ai.get(e);a===void 0&&(a=new Map,Ai.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,si,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(v($r)),ei.add(f),()=>{for(var e of d)for(let n of[t,document]){var r=Ai.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,si),r.delete(e),r.size===0&&Ai.delete(n)):r.set(e,i)}ei.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return Mi.set(c,u),c}var Mi=new WeakMap;function Ni(e,t){let n=Mi.get(e);return n?(Mi.delete(e),n(t)):Promise.resolve()}var Pi=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)_r(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(fr(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();yr(r,t),t.append(Fn()),this.#n.set(e,{effect:r,fragment:t})}else fr(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),hr(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(fr(n.effect),this.#n.delete(e))};ensure(e,t){var n=Ft,r=zn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=Fn();i.append(a),this.#n.set(e,{effect:cr(()=>t(a)),fragment:i})}else this.#t.set(e,cr(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else qe&&(this.anchor=T),this.#a(n)}};function U(e,t,...n){var r=new Pi(e);or(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ge)}function Fi(e){lt===null&&Ae(`onMount`),it&<.l!==null?Li(lt).m.push(e):I(()=>{let t=Yr(e);if(typeof t==`function`)return t})}function Ii(e){lt===null&&Ae(`onDestroy`),Fi(()=>()=>Yr(e))}function Li(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}function Ri(){return Symbol(m)}var zi=0,Bi=1,Vi=2;function Hi(e,t,n,r,i){qe&&Xe();var a=ht(),o=u,s=a?xn(o):Sn(o,!1,!1),c=a?xn(o):Sn(o,!1,!1),l=new Pi(e);or(()=>{var a=Ft;a.deactivate();var o=t();a.activate();var u=!1;let d=qe&&ie(o)===(e.data===`[!`);if(d&&(Ye(Qe()),Je(!1)),ie(o)){var f=on(),p=!1;let e=e=>{if(!u){p=!0,f(!1),Gt.ensure(),qe&&Je(!1);try{e()}finally{sn(!1),zt||k()}}};o.then(t=>{e(()=>{Cn(s,t),l.ensure(Bi,r&&(e=>r(e,s)))})},t=>{e(()=>{if(Cn(c,t),l.ensure(Vi,i&&(e=>i(e,c))),!i)throw c.v})}),qe?l.ensure(zi,n):bt(()=>{p||e(()=>{l.ensure(zi,n)})})}else Cn(s,o),l.ensure(Bi,r&&(e=>r(e,s)));return d&&Je(!0),()=>{u=!0}})}function W(e,t,n=!1){var r;qe&&(r=T,Xe());var i=new Pi(e),a=n?ge:0;function o(e,t){if(qe){var n=$e(r);if(e!==parseInt(n.substring(1))){var a=Qe();Ye(a),i.anchor=a,Je(!1),i.ensure(e,t),Je(!0);return}}i.ensure(e,t)}or(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var Ui=Symbol(`NaN`);function Wi(e,t,n){qe&&Xe();var r=new Pi(e),i=!ht();or(()=>{var e=t();e!==e&&(e=Ui),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function Gi(e,t){return t}function Ki(e,t,n){for(var r=[],i=t.length,a,o=t.length,s=0;s<i;s++){let n=t[s];hr(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;qi(e,v(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var c=r.length===0&&n!==null;if(c){var l=n,u=l.parentNode;Rn(u),u.append(l),e.items.clear()}qi(e,t,!c)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function qi(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=be,yr(a,document.createDocumentFragment())):fr(t[i],n)}}var Ji;function Yi(e,t,n,r,i,a=null){var o=e,s=new Map;if(t&4){var c=e;o=qe?Ye(In(c)):c.appendChild(Fn())}qe&&Xe();var l=null,u=dn(()=>{var e=n();return h(e)?e:e==null?[]:v(e)}),d,f=new Map,p=!0;function m(e){_.effect.f&16384||(_.pending.delete(e),_.fallback=l,Zi(_,d,o,t,r),l!==null&&(d.length===0?l.f&33554432?(l.f^=be,$i(l,null,o)):_r(l):hr(l,()=>{l=null})))}function g(e){_.pending.delete(e)}var _={effect:or(()=>{d=R(u);var e=d.length;let c=!1;qe&&$e(o)===`[!`!=(e===0)&&(o=Qe(),Ye(o),Je(!1),c=!0);for(var h=new Set,_=Ft,v=zn(),y=0;y<e;y+=1){qe&&T.nodeType===8&&T.data===`]`&&(o=T,c=!0,Je(!1));var b=d[y],x=r(b,y),S=p?null:s.get(x);S?(S.v&&Cn(S.v,b),S.i&&Cn(S.i,y),v&&_.unskip_effect(S.e)):(S=Qi(s,p?o:Ji??=Fn(),b,x,y,i,t,n),p||(S.e.f|=be),s.set(x,S)),h.add(x)}if(e===0&&a&&!l&&(p?l=cr(()=>a(o)):(l=cr(()=>a(Ji??=Fn())),l.f|=be)),e>h.size&&Me(``,``,``),qe&&e>0&&Ye(Qe()),!p)if(f.set(_,h),v){for(let[e,t]of s)h.has(e)||_.skip_effect(t.e);_.oncommit(m),_.ondiscard(g)}else m(_);c&&Je(!0),R(u)}),flags:t,items:s,pending:f,outrogroups:null,fallback:l};p=!1,qe&&(o=T)}function Xi(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Zi(e,t,n,r,i){var a=(r&8)!=0,o=t.length,s=e.items,c=Xi(e.effect.first),l,u=null,d,f=[],p=[],m,h,g,_;if(a)for(_=0;_<o;_+=1)m=t[_],h=i(m,_),g=s.get(h).e,g.f&33554432||(g.nodes?.a?.measure(),(d??=new Set).add(g));for(_=0;_<o;_+=1){if(m=t[_],h=i(m,_),g=s.get(h).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(g),t.done.delete(g);if(g.f&8192&&(_r(g),a&&(g.nodes?.a?.unfix(),(d??=new Set).delete(g))),g.f&33554432)if(g.f^=be,g===c)$i(g,null,n);else{var y=u?u.next:c;g===e.effect.last&&(e.effect.last=g.prev),g.prev&&(g.prev.next=g.next),g.next&&(g.next.prev=g.prev),ea(e,u,g),ea(e,g,y),$i(g,y,n),u=g,f=[],p=[],c=Xi(u.next);continue}if(g!==c){if(l!==void 0&&l.has(g)){if(f.length<p.length){var b=p[0],x;u=b.prev;var S=f[0],C=f[f.length-1];for(x=0;x<f.length;x+=1)$i(f[x],b,n);for(x=0;x<p.length;x+=1)l.delete(p[x]);ea(e,S.prev,C.next),ea(e,u,S),ea(e,C,b),c=b,u=C,--_,f=[],p=[]}else l.delete(g),$i(g,c,n),ea(e,g.prev,g.next),ea(e,g,u===null?e.effect.first:u.next),ea(e,u,g),u=g;continue}for(f=[],p=[];c!==null&&c!==g;)(l??=new Set).add(c),p.push(c),c=Xi(c.next);if(c===null)continue}g.f&33554432||f.push(g),u=g,c=Xi(g.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(qi(e,v(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(c!==null||l!==void 0){var ee=[];if(l!==void 0)for(g of l)g.f&8192||ee.push(g);for(;c!==null;)!(c.f&8192)&&c!==e.fallback&&ee.push(c),c=Xi(c.next);var te=ee.length;if(te>0){var ne=r&4&&o===0?n:null;if(a){for(_=0;_<te;_+=1)ee[_].nodes?.a?.measure();for(_=0;_<te;_+=1)ee[_].nodes?.a?.fix()}Ki(e,ee,ne)}}a&&bt(()=>{if(d!==void 0)for(g of d)g.nodes?.a?.apply()})}function Qi(e,t,n,r,i,a,o,s){var c=o&1?o&16?xn(n):Sn(n,!1,!1):null,l=o&2?xn(i):null;return{v:c,i:l,e:cr(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function $i(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=Ln(r);if(a.before(r),r===i)return;r=o}}function ea(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function ta(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;qe&&(o=Ye(In(c)))}L(()=>{var e=Dr;if(s===(s=t()??``)){qe&&Xe();return}if(n&&!qe){e.nodes=null,c.innerHTML=s,s!==``&&di(In(c),c.lastChild);return}if(e.nodes!==null&&(pr(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(qe){for(var a=T.data,u=Xe(),d=u;u!==null&&(u.nodeType!==8||u.data!==``);)d=u,u=Ln(u);if(u===null)throw We(),l;di(T,d),o=Ye(u);return}var m=Bn(r?`svg`:i?`math`:`template`,r?f:i?p:void 0);m.innerHTML=s;var h=r||i?m:m.content;if(di(In(h),h.lastChild),r||i)for(;In(h);)o.before(In(h));else o.before(h)}})}function na(e,t,n,r,i){qe&&Xe();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function G(e,t,n){var r;qe&&(r=T,Xe());var i=new Pi(e);or(()=>{var e=t()??null;if(qe&&$e(r)===`[`!=(e!==null)){var a=Qe();Ye(a),i.anchor=a,Je(!1),i.ensure(e,e&&(t=>n(t,e))),Je(!0);return}i.ensure(e,e&&(t=>n(t,e)))},ge)}var ra=()=>performance.now(),ia={tick:e=>requestAnimationFrame(e),now:()=>ra(),tasks:new Set};function aa(){let e=ia.now();ia.tasks.forEach(t=>{t.c(e)||(ia.tasks.delete(t),t.f())}),ia.tasks.size!==0&&ia.tick(aa)}function oa(e){let t;return ia.tasks.size===0&&ia.tick(aa),{promise:new Promise(n=>{ia.tasks.add(t={c:e,f:n})}),abort(){ia.tasks.delete(t)}}}function sa(e,t){Kn(()=>{e.dispatchEvent(new CustomEvent(t))})}function ca(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function la(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=ca(n.trim());t[i]=r.trim()}return t}var ua=e=>e;function da(e,t,n,r){var i=(e&1)!=0,a=(e&2)!=0,o=i&&a,s=(e&4)!=0,c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return Kn(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=fa(t,m(),p,1,()=>{sa(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=fa(t,m(),f,0,()=>{sa(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=Dr;if((g.nodes.t??=[]).push(h),i&&Ei){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||(v.f&32768)!=0}_&&rr(()=>{Yr(()=>h.in())})}}function fa(e,t,n,r,i){var a=r===1;if(re(t)){var o,s=!1;return bt(()=>{s||(o=fa(e,t({direction:a?`in`:`out`}),n,r,i))}),{abort:()=>{s=!0,o?.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return sa(e,a?`introstart`:`outrostart`),i(),{abort:w,deactivate:w,reset:w,t:()=>r};let{delay:c=0,css:l,tick:u,easing:d=ua}=t;var f=[];if(a&&n===void 0&&(u&&u(0,1),l)){var p=la(l(0,1));f.push(p,p)}var m=()=>1-r,h=e.animate(f,{duration:c,fill:`forwards`});return h.onfinish=()=>{h.cancel(),sa(e,a?`introstart`:`outrostart`);var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),f=[];if(c>0){var p=!1;if(l)for(var g=Math.ceil(c/(1e3/60)),_=0;_<=g;_+=1){var v=o+s*d(_/g),y=la(l(v,1-v));f.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),m=()=>{var e=h.currentTime;return o+s*d(e/c)},u&&oa(()=>{if(h.playState!==`running`)return!1;var e=m();return u(e,1-e),!0})}h=e.animate(f,{duration:c,fill:`forwards`}),h.onfinish=()=>{m=()=>r,u?.(r,1-r),i()}},{abort:()=>{h&&(h.cancel(),h.effect=null,h.onfinish=w)},deactivate:()=>{i=w},reset:()=>{r===0&&u?.(1,0)},t:()=>m()}}function pa(e,t,n,r,i,a){let o=qe;qe&&Xe();var s=null;qe&&T.nodeType===1&&(s=T,Xe());var c=qe?T:e,l=new Pi(c,!1);or(()=>{let e=t()||null;var a=i?i():n||e===`svg`?f:void 0;if(e===null){l.ensure(null,null),Di(!0);return}return l.ensure(e,t=>{if(e){if(s=qe?s:Bn(e,a),di(s,s),r){qe&&Ti(e)&&s.append(document.createComment(``));var n=qe?In(s):s.appendChild(Fn());qe&&(n===null?Je(!1):Ye(n)),r(s,n)}Dr.nodes.end=s,t.before(s)}qe&&Ye(t)}),Di(!0),()=>{e&&Di(!1)}},ge),Qn(()=>{Di(!0)}),o&&(Je(!0),Ye(c))}function ma(e,t){let n=null,r=qe;var i;if(qe){n=T;for(var a=In(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=Ln(a);if(a===null)Je(!1);else{var o=Ln(a);a.remove(),Ye(o)}}qe||(i=document.head.appendChild(Fn()));try{or(()=>t(i),_e|ve)}finally{r&&(Je(!0),Ye(n))}}function ha(e,t){rr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Bn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function ga(e,t,n){rr(()=>{var r=Yr(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};ar(()=>{var e=n();Xr(e),i&&tt(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function _a(e,t){var n=void 0,r;sr(()=>{n!==(n=t())&&(r&&=(fr(r),null),n&&(r=cr(()=>{rr(()=>n(e))})))})}function va(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=va(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function ya(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=va(e))&&(r&&(r+=` `),r+=t);return r}function ba(e){return typeof e==`object`?ya(e):e??``}var xa=[...`
|
|
3
4
|
\r\f\xA0\v`];function Sa(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||xa.includes(r[o-1]))&&(s===r.length||xa.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Ca(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function wa(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Ta(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(wa)),i&&c.push(...Object.keys(i).map(wa));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=wa(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Ca(r)),i&&(n+=Ca(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Ea(e,t,n,r,i,a){var o=e.__className;if(qe||o!==n||o===void 0){var s=Sa(n,r,a);(!qe||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Da(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Oa(e,t,n,r){var i=e.__style;if(qe||i!==t){var a=Ta(t,r);(!qe||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(Da(e,n?.[0],r[0]),Da(e,n?.[1],r[1],`important`)):Da(e,n,r));return r}function ka(e,t,n=!1){if(e.multiple){if(t==null)return;if(!h(t))return Ge();for(var r of e.options)r.selected=t.includes(Ma(r));return}for(r of e.options)if(kn(Ma(r),t)){r.selected=!0;return}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Aa(e){var t=new MutationObserver(()=>{ka(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),Qn(()=>{t.disconnect()})}function ja(e,t,n=t){var r=new WeakSet,i=!0;qn(e,`change`,t=>{var i=t?`[selected]`:`:checked`,a;if(e.multiple)a=[].map.call(e.querySelectorAll(i),Ma);else{var o=e.querySelector(i)??e.querySelector(`option:not([disabled])`);a=o&&Ma(o)}n(a),e.__value=a,Ft!==null&&r.add(Ft)}),rr(()=>{var a=t();if(e===document.activeElement){var o=rt?It:Ft;if(r.has(o))return}if(ka(e,a,i),i&&a===void 0){var s=e.querySelector(`:checked`);s!==null&&(a=Ma(s),n(a))}e.__value=a,i=!1}),Aa(e)}function Ma(e){return`__value`in e?e.__value:e.value}var Na=Symbol(`class`),Pa=Symbol(`style`),Fa=Symbol(`is custom element`),Ia=Symbol(`is html`),La=ke?`link`:`LINK`,Ra=ke?`input`:`INPUT`,za=ke?`option`:`OPTION`,Ba=ke?`select`:`SELECT`,Va=ke?`progress`:`PROGRESS`;function Ha(e){if(qe){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;K(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;K(e,`checked`,null),e.checked=r}}};e.__on_r=n,bt(n),Gn()}}function Ua(e,t){var n=Ja(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!==Va)||(e.value=t??``)}function Wa(e,t){var n=Ja(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function Ga(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function K(e,t,n,r){var i=Ja(e);qe&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===La)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[De]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Xa(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ka(e,t,n,r,i=!1,a=!1){if(qe&&i&&e.nodeName===Ra){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||Ha(o)}var s=Ja(e),c=s[Fa],l=!s[Ia];let d=qe&&c;d&&Je(!1);var f=t||{},p=e.nodeName===za;for(var m in t)m in n||(n[m]=null);n.class?n.class=ba(n.class):(r||n[Na])&&(n.class=null),n[Pa]&&(n.style??=null);var h=Xa(e);for(let i in n){let o=n[i];if(p&&i===`value`&&o==null){e.value=e.__value=``,f[i]=o;continue}if(i===`class`){Ea(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[Na],n[Na]),f[i]=o,f[Na]=n[Na];continue}if(i===`style`){Oa(e,o,t?.[Pa],n[Pa]),f[i]=o,f[Pa]=n[Pa];continue}var g=f[i];if(!(o===g&&!(o===void 0&&e.hasAttribute(i)))){f[i]=o;var _=i[0]+i[1];if(_!==`$$`)if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=vi(r);if(gi(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(o!=null)continue;e.removeEventListener(r,f[n],t),f[n]=null}if(v)ii(r,e,o),ai([r]);else if(o!=null){function a(e){f[i].call(this,e)}f[n]=ti(r,e,a,t)}}else if(i===`style`)K(e,i,o);else if(i===`autofocus`)Hn(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&p)Ga(e,o);else{var y=i;l||(y=xi(y));var b=y===`defaultValue`||y===`defaultChecked`;if(o==null&&!c&&!b)if(s[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i);else b||h.includes(y)&&(c||typeof o!=`string`)?(e[y]=o,y in s&&(s[y]=u)):typeof o!=`function`&&K(e,y,o,a)}}}return d&&Je(!0),f}function qa(e,t,n=[],r=[],i=[],a,o=!1,s=!1){an(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===Ba,l=!1;if(sr(()=>{var u=t(...n.map(R)),d=Ka(e,r,u,a,o,s);l&&c&&`value`in u&&ka(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||fr(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&fr(i[t]),i[t]=cr(()=>_a(e,()=>f))),d[t]=f}r=d}),c){var u=e;rr(()=>{ka(u,r.value,!0),Aa(u)})}l=!0})}function Ja(e){return e.__attributes??={[Fa]:e.nodeName.includes(`-`),[Ia]:e.namespaceURI===d}}var Ya=new Map;function Xa(e){var t=e.getAttribute(`is`)||e.nodeName,n=Ya.get(t);if(n)return n;Ya.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=S(i),r)r[o].set&&n.push(o);i=te(i)}return n}function Za(e,t,n=t){var r=new WeakSet;qn(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=to(e)?no(a):a,n(a),Ft!==null&&r.add(Ft),await Kr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(qe&&e.defaultValue!==e.value||Yr(t)==null&&e.value)&&(n(to(e)?no(e.value):e.value),Ft!==null&&r.add(Ft)),ar(()=>{var n=t();if(e===document.activeElement){var i=rt?It:Ft;if(r.has(i))return}to(e)&&n===no(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}var Qa=new Set;function $a(e,t,n,r,i=r){var a=n.getAttribute(`type`)===`checkbox`,o=e;let s=!1;if(t!==null)for(var c of t)o=o[c]??=[];o.push(n),qn(n,`change`,()=>{var e=n.__value;a&&(e=eo(o,e,n.checked)),i(e)},()=>i(a?[]:null)),ar(()=>{var e=r();if(qe&&n.defaultChecked!==n.checked){s=!0;return}a?(e||=[],n.checked=e.includes(n.__value)):n.checked=kn(n.__value,e)}),Qn(()=>{var e=o.indexOf(n);e!==-1&&o.splice(e,1)}),Qa.has(o)||(Qa.add(o),bt(()=>{o.sort((e,t)=>e.compareDocumentPosition(t)===4?-1:1),Qa.delete(o)})),bt(()=>{if(s){var e=a?eo(o,e,n.checked):o.find(e=>e.checked)?.__value;i(e)}})}function eo(e,t,n){for(var r=new Set,i=0;i<e.length;i+=1)e[i].checked&&r.add(e[i].__value);return n||r.delete(t),Array.from(r)}function to(e){var t=e.type;return t===`number`||t===`range`}function no(e){return e===``?null:+e}var ro=new class e{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#r().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),n.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#r(){return this.#t??=new ResizeObserver(t=>{for(var n of t){e.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}})}}({box:`border-box`});function io(e,t,n){var r=ro.observe(e,()=>n(e[t]));rr(()=>(Yr(()=>n(e[t])),r))}function ao(e,t){return e===t||e?.[Te]===t}function oo(e={},t,n,r){var i=lt.r,a=Dr;return rr(()=>{var o,s;return ar(()=>{o=s,s=r?.()||[],Yr(()=>{e!==n(...s)&&(t(e,...s),o&&ao(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&ao(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function so(e=!1){let t=lt,n=t.l.u;if(!n)return;let r=()=>Xr(t.s);if(e){let e=0,n={},i=ln(()=>{let r=!1,i=t.s;for(let e in i)i[e]!==n[e]&&(n[e]=i[e],r=!0);return r&&e++,e});r=()=>R(i)}n.b.length&&er(()=>{co(t,r),oe(n.b)}),I(()=>{let e=Yr(()=>n.m.map(ae));return()=>{for(let t of e)typeof t==`function`&&t()}}),n.a.length&&I(()=>{co(t,r),oe(n.a)})}function co(e,t){if(e.l.s)for(let t of e.l.s)R(t);t()}var lo={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function uo(e,t,n){return new Proxy({props:e,exclude:t},lo)}var fo={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(re(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];re(i)&&(i=i());let a=x(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(re(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=x(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===Te||t===Ee)return!1;for(let n of e.props)if(re(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(re(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}};function po(...e){return new Proxy({props:e},fo)}function q(e,t,n,r){var i=!it||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Yr(r):r),s);let u;if(a){var d=Te in e||Ee in e;u=x(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var f,p=!1;a?[f,p]=Nt(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=l(),u&&(i&&Re(t),u(f)));var m=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return m;if(u){var h=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||h||p)&&u(t?m():e),e):m()})}var g=!1,_=(n&1?ln:dn)(()=>(g=!1,m()));a&&R(_);var v=Dr;return(function(e,t){if(arguments.length>0){let n=t?R(_):i&&a?Dn(e):e;return M(_,n),g=!0,s!==void 0&&(s=n),e}return Sr&&g||v.f&16384?_.v:R(_)})}function mo(e){return new ho(e)}var ho=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Sn(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return R(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===Ee?!0:(R(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return M(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?ki:Oi)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!rt&&(!e?.props?.$$host||e.sync===!1)&&k(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||b(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Ni(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},go;typeof HTMLElement==`function`&&(go=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Bn(`slot`);e!==`default`&&(n.name=e),V(t,n)}}let t={},n=vo(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=_o(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=mo({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=tr(()=>{ar(()=>{this.$$r=!0;for(let e of y(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=_o(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=_o(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return y(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function _o(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function vo(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function J(e,t,n,r,i,a){let o=class extends go{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return y(t).map(e=>(t[e].attribute||e).toLowerCase())}};return y(t).forEach(e=>{b(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=_o(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(x(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{b(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var{entries:yo,setPrototypeOf:bo,isFrozen:xo,getPrototypeOf:So,getOwnPropertyDescriptor:Co}=Object,{freeze:wo,seal:To,create:Eo}=Object,{apply:Do,construct:Oo}=typeof Reflect<`u`&&Reflect;wo||=function(e){return e},To||=function(e){return e},Do||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Oo||=function(e){return new e(...[...arguments].slice(1))};var ko=Uo(Array.prototype.forEach),Ao=Uo(Array.prototype.lastIndexOf),jo=Uo(Array.prototype.pop),Mo=Uo(Array.prototype.push),No=Uo(Array.prototype.splice),Po=Uo(String.prototype.toLowerCase),Fo=Uo(String.prototype.toString),Io=Uo(String.prototype.match),Lo=Uo(String.prototype.replace),Ro=Uo(String.prototype.indexOf),zo=Uo(String.prototype.trim),Bo=Uo(Object.prototype.hasOwnProperty),Vo=Uo(RegExp.prototype.test),Ho=Wo(TypeError);function Uo(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Do(e,t,n)}}function Wo(e){return function(){return Oo(e,[...arguments])}}function Go(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Po;bo&&bo(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(xo(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Ko(e){for(let t=0;t<e.length;t++)Bo(e,t)||(e[t]=null);return e}function qo(e){let t=Eo(null);for(let[n,r]of yo(e))Bo(e,n)&&(Array.isArray(r)?t[n]=Ko(r):r&&typeof r==`object`&&r.constructor===Object?t[n]=qo(r):t[n]=r);return t}function Jo(e,t){for(;e!==null;){let n=Co(e,t);if(n){if(n.get)return Uo(n.get);if(typeof n.value==`function`)return Uo(n.value)}e=So(e)}function n(){return null}return n}var Yo=wo(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Xo=wo(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Zo=wo([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Qo=wo([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),$o=wo(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),es=wo([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),ts=wo([`#text`]),ns=wo(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot`.split(`.`)),rs=wo(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),is=wo(`accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),as=wo([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),os=To(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ss=To(/<%[\w\W]*|[\w\W]*%>/gm),cs=To(/\$\{[\w\W]*/gm),ls=To(/^data-[\-\w.\u00B7-\uFFFF]+$/),us=To(/^aria-[\-\w]+$/),ds=To(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),fs=To(/^(?:\w+script|data):/i),ps=To(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ms=To(/^html$/i),hs=To(/^[a-z][.\w]*(-[.\w]+)+$/i),gs=Object.freeze({__proto__:null,ARIA_ATTR:us,ATTR_WHITESPACE:ps,CUSTOM_ELEMENT:hs,DATA_ATTR:ls,DOCTYPE_NAME:ms,ERB_EXPR:ss,IS_ALLOWED_URI:ds,IS_SCRIPT_OR_DATA:fs,MUSTACHE_EXPR:os,TMPLIT_EXPR:cs}),_s={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},vs=function(){return typeof window>`u`?null:window},ys=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},bs=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function xs(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vs(),t=e=>xs(e);if(t.version=`3.3.3`,t.removed=[],!e||!e.document||e.document.nodeType!==_s.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e,r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:c,NodeFilter:l,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:p}=e,m=c.prototype,h=Jo(m,`cloneNode`),g=Jo(m,`remove`),_=Jo(m,`nextSibling`),v=Jo(m,`childNodes`),y=Jo(m,`parentNode`);if(typeof o==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let b,x=``,{implementation:S,createNodeIterator:C,createDocumentFragment:ee,getElementsByTagName:te}=n,{importNode:ne}=r,re=bs();t.isSupported=typeof yo==`function`&&typeof y==`function`&&S&&S.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:w,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:oe,ARIA_ATTR:se,IS_SCRIPT_OR_DATA:ce,ATTR_WHITESPACE:le,CUSTOM_ELEMENT:ue}=gs,{IS_ALLOWED_URI:de}=gs,fe=null,pe=Go({},[...Yo,...Xo,...Zo,...$o,...ts]),me=null,he=Go({},[...ns,...rs,...is,...as]),ge=Object.seal(Eo(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,ve=null,ye=Object.seal(Eo(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),be=!0,xe=!0,Se=!1,Ce=!0,we=!1,Te=!0,Ee=!1,De=!1,Oe=!1,ke=!1,Ae=!1,je=!1,Me=!0,Ne=!1,Pe=!0,Fe=!1,Ie={},Le=null,Re=Go({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),ze=null,Be=Go({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Ve=null,He=Go({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ue=`http://www.w3.org/1998/Math/MathML`,We=`http://www.w3.org/2000/svg`,Ge=`http://www.w3.org/1999/xhtml`,Ke=Ge,qe=!1,Je=null,T=Go({},[Ue,We,Ge],Fo),Ye=Go({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),Xe=Go({},[`annotation-xml`]),E=Go({},[`title`,`style`,`font`,`a`,`script`]),Ze=null,Qe=[`application/xhtml+xml`,`text/html`],$e=null,et=null,tt=n.createElement(`form`),nt=function(e){return e instanceof RegExp||e instanceof Function},rt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(et&&et===e)){if((!e||typeof e!=`object`)&&(e={}),e=qo(e),Ze=Qe.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,$e=Ze===`application/xhtml+xml`?Fo:Po,fe=Bo(e,`ALLOWED_TAGS`)?Go({},e.ALLOWED_TAGS,$e):pe,me=Bo(e,`ALLOWED_ATTR`)?Go({},e.ALLOWED_ATTR,$e):he,Je=Bo(e,`ALLOWED_NAMESPACES`)?Go({},e.ALLOWED_NAMESPACES,Fo):T,Ve=Bo(e,`ADD_URI_SAFE_ATTR`)?Go(qo(He),e.ADD_URI_SAFE_ATTR,$e):He,ze=Bo(e,`ADD_DATA_URI_TAGS`)?Go(qo(Be),e.ADD_DATA_URI_TAGS,$e):Be,Le=Bo(e,`FORBID_CONTENTS`)?Go({},e.FORBID_CONTENTS,$e):Re,_e=Bo(e,`FORBID_TAGS`)?Go({},e.FORBID_TAGS,$e):qo({}),ve=Bo(e,`FORBID_ATTR`)?Go({},e.FORBID_ATTR,$e):qo({}),Ie=Bo(e,`USE_PROFILES`)?e.USE_PROFILES:!1,be=e.ALLOW_ARIA_ATTR!==!1,xe=e.ALLOW_DATA_ATTR!==!1,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,we=e.SAFE_FOR_TEMPLATES||!1,Te=e.SAFE_FOR_XML!==!1,Ee=e.WHOLE_DOCUMENT||!1,ke=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,je=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,Me=e.SANITIZE_DOM!==!1,Ne=e.SANITIZE_NAMED_PROPS||!1,Pe=e.KEEP_CONTENT!==!1,Fe=e.IN_PLACE||!1,de=e.ALLOWED_URI_REGEXP||ds,Ke=e.NAMESPACE||Ge,Ye=e.MATHML_TEXT_INTEGRATION_POINTS||Ye,Xe=e.HTML_INTEGRATION_POINTS||Xe,ge=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ge.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ge.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==`boolean`&&(ge.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),we&&(xe=!1),Ae&&(ke=!0),Ie&&(fe=Go({},ts),me=Eo(null),Ie.html===!0&&(Go(fe,Yo),Go(me,ns)),Ie.svg===!0&&(Go(fe,Xo),Go(me,rs),Go(me,as)),Ie.svgFilters===!0&&(Go(fe,Zo),Go(me,rs),Go(me,as)),Ie.mathMl===!0&&(Go(fe,$o),Go(me,is),Go(me,as))),Bo(e,`ADD_TAGS`)||(ye.tagCheck=null),Bo(e,`ADD_ATTR`)||(ye.attributeCheck=null),e.ADD_TAGS&&(typeof e.ADD_TAGS==`function`?ye.tagCheck=e.ADD_TAGS:(fe===pe&&(fe=qo(fe)),Go(fe,e.ADD_TAGS,$e))),e.ADD_ATTR&&(typeof e.ADD_ATTR==`function`?ye.attributeCheck=e.ADD_ATTR:(me===he&&(me=qo(me)),Go(me,e.ADD_ATTR,$e))),e.ADD_URI_SAFE_ATTR&&Go(Ve,e.ADD_URI_SAFE_ATTR,$e),e.FORBID_CONTENTS&&(Le===Re&&(Le=qo(Le)),Go(Le,e.FORBID_CONTENTS,$e)),e.ADD_FORBID_CONTENTS&&(Le===Re&&(Le=qo(Le)),Go(Le,e.ADD_FORBID_CONTENTS,$e)),Pe&&(fe[`#text`]=!0),Ee&&Go(fe,[`html`,`head`,`body`]),fe.table&&(Go(fe,[`tbody`]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Ho(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Ho(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);b=e.TRUSTED_TYPES_POLICY,x=b.createHTML(``)}else b===void 0&&(b=ys(p,i)),b!==null&&typeof x==`string`&&(x=b.createHTML(``));wo&&wo(e),et=e}},it=Go({},[...Xo,...Zo,...Qo]),at=Go({},[...$o,...es]),ot=function(e){let t=y(e);(!t||!t.tagName)&&(t={namespaceURI:Ke,tagName:`template`});let n=Po(e.tagName),r=Po(t.tagName);return Je[e.namespaceURI]?e.namespaceURI===We?t.namespaceURI===Ge?n===`svg`:t.namespaceURI===Ue?n===`svg`&&(r===`annotation-xml`||Ye[r]):!!it[n]:e.namespaceURI===Ue?t.namespaceURI===Ge?n===`math`:t.namespaceURI===We?n===`math`&&Xe[r]:!!at[n]:e.namespaceURI===Ge?t.namespaceURI===We&&!Xe[r]||t.namespaceURI===Ue&&!Ye[r]?!1:!at[n]&&(E[n]||!it[n]):!!(Ze===`application/xhtml+xml`&&Je[e.namespaceURI]):!1},st=function(e){Mo(t.removed,{element:e});try{y(e).removeChild(e)}catch{g(e)}},ct=function(e,n){try{Mo(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Mo(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(ke||Ae)try{st(n)}catch{}else try{n.setAttribute(e,``)}catch{}},lt=function(e){let t=null,r=null;if(Oe)e=`<remove></remove>`+e;else{let t=Io(e,/^[\r\n\t ]+/);r=t&&t[0]}Ze===`application/xhtml+xml`&&Ke===Ge&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=b?b.createHTML(e):e;if(Ke===Ge)try{t=new f().parseFromString(i,Ze)}catch{}if(!t||!t.documentElement){t=S.createDocument(Ke,`template`,null);try{t.documentElement.innerHTML=qe?x:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ke===Ge?te.call(t,Ee?`html`:`body`)[0]:Ee?t.documentElement:a},ut=function(e){return C.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},dt=function(e){return e instanceof d&&(typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||!(e.attributes instanceof u)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`)},ft=function(e){return typeof s==`function`&&e instanceof s};function pt(e,n,r){ko(e,e=>{e.call(t,n,r,et)})}let mt=function(e){let n=null;if(pt(re.beforeSanitizeElements,e,null),dt(e))return st(e),!0;let r=$e(e.nodeName);if(pt(re.uponSanitizeElement,e,{tagName:r,allowedTags:fe}),Te&&e.hasChildNodes()&&!ft(e.firstElementChild)&&Vo(/<[/\w!]/g,e.innerHTML)&&Vo(/<[/\w!]/g,e.textContent)||e.nodeType===_s.progressingInstruction||Te&&e.nodeType===_s.comment&&Vo(/<[/\w]/g,e.data))return st(e),!0;if(!(ye.tagCheck instanceof Function&&ye.tagCheck(r))&&(!fe[r]||_e[r])){if(!_e[r]&&O(r)&&(ge.tagNameCheck instanceof RegExp&&Vo(ge.tagNameCheck,r)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(r)))return!1;if(Pe&&!Le[r]){let t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=h(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,_(e))}}}return st(e),!0}return e instanceof c&&!ot(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Vo(/<\/no(script|embed|frames)/i,e.innerHTML)?(st(e),!0):(we&&e.nodeType===_s.text&&(n=e.textContent,ko([w,ie,ae],e=>{n=Lo(n,e,` `)}),e.textContent!==n&&(Mo(t.removed,{element:e.cloneNode()}),e.textContent=n)),pt(re.afterSanitizeElements,e,null),!1)},D=function(e,t,r){if(ve[t]||Me&&(t===`id`||t===`name`)&&(r in n||r in tt))return!1;if(!(xe&&!ve[t]&&Vo(oe,t))&&!(be&&Vo(se,t))&&!(ye.attributeCheck instanceof Function&&ye.attributeCheck(t,e))){if(!me[t]||ve[t]){if(!(O(e)&&(ge.tagNameCheck instanceof RegExp&&Vo(ge.tagNameCheck,e)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(e))&&(ge.attributeNameCheck instanceof RegExp&&Vo(ge.attributeNameCheck,t)||ge.attributeNameCheck instanceof Function&&ge.attributeNameCheck(t,e))||t===`is`&&ge.allowCustomizedBuiltInElements&&(ge.tagNameCheck instanceof RegExp&&Vo(ge.tagNameCheck,r)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(r))))return!1}else if(!Ve[t]&&!Vo(de,Lo(r,le,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Ro(r,`data:`)===0&&ze[e])&&!(Se&&!Vo(ce,Lo(r,le,``)))&&r)return!1}return!0},O=function(e){return e!==`annotation-xml`&&Io(e,ue)},ht=function(e){pt(re.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||dt(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:me,forceKeepAttr:void 0},i=n.length;for(;i--;){let{name:a,namespaceURI:o,value:s}=n[i],c=$e(a),l=s,u=a===`value`?l:zo(l);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,pt(re.uponSanitizeAttribute,e,r),u=r.attrValue,Ne&&(c===`id`||c===`name`)&&(ct(a,e),u=`user-content-`+u),Te&&Vo(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){ct(a,e);continue}if(c===`attributename`&&Io(u,`href`)){ct(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){ct(a,e);continue}if(!Ce&&Vo(/\/>/i,u)){ct(a,e);continue}we&&ko([w,ie,ae],e=>{u=Lo(u,e,` `)});let d=$e(e.nodeName);if(!D(d,c,u)){ct(a,e);continue}if(b&&typeof p==`object`&&typeof p.getAttributeType==`function`&&!o)switch(p.getAttributeType(d,c)){case`TrustedHTML`:u=b.createHTML(u);break;case`TrustedScriptURL`:u=b.createScriptURL(u);break}if(u!==l)try{o?e.setAttributeNS(o,a,u):e.setAttribute(a,u),dt(e)?st(e):jo(t.removed)}catch{ct(a,e)}}pt(re.afterSanitizeAttributes,e,null)},gt=function e(t){let n=null,r=ut(t);for(pt(re.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)pt(re.uponSanitizeShadowNode,n,null),mt(n),ht(n),n.content instanceof a&&e(n.content);pt(re.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,o=null,c=null,l=null;if(qe=!e,qe&&(e=`<!-->`),typeof e!=`string`&&!ft(e))if(typeof e.toString==`function`){if(e=e.toString(),typeof e!=`string`)throw Ho(`dirty is not a string, aborting`)}else throw Ho(`toString is not a function`);if(!t.isSupported)return e;if(De||rt(n),t.removed=[],typeof e==`string`&&(Fe=!1),Fe){if(e.nodeName){let t=$e(e.nodeName);if(!fe[t]||_e[t])throw Ho(`root node is forbidden and cannot be sanitized in-place`)}}else if(e instanceof s)i=lt(`<!---->`),o=i.ownerDocument.importNode(e,!0),o.nodeType===_s.element&&o.nodeName===`BODY`||o.nodeName===`HTML`?i=o:i.appendChild(o);else{if(!ke&&!we&&!Ee&&e.indexOf(`<`)===-1)return b&&je?b.createHTML(e):e;if(i=lt(e),!i)return ke?null:je?x:``}i&&Oe&&st(i.firstChild);let u=ut(Fe?e:i);for(;c=u.nextNode();)mt(c),ht(c),c.content instanceof a&>(c.content);if(Fe)return e;if(ke){if(Ae)for(l=ee.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(me.shadowroot||me.shadowrootmode)&&(l=ne.call(r,l,!0)),l}let d=Ee?i.outerHTML:i.innerHTML;return Ee&&fe[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Vo(ms,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
package/config/index.cjs
CHANGED
package/config/index.js
CHANGED
package/configurator/_app/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const env={"PUBLIC_API_URL":"https://liipgpt.dev.cluster.liipgpt.ch/liipgpt","PUBLIC_CI_COMMIT_TAG":"3.11.
|
|
1
|
+
export const env={"PUBLIC_API_URL":"https://liipgpt.dev.cluster.liipgpt.ch/liipgpt","PUBLIC_CI_COMMIT_TAG":"3.11.1"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./rEsbAd0y.js";import{a as e,i as t,r as n}from"./
|
|
1
|
+
import"./rEsbAd0y.js";import{a as e,i as t,r as n}from"./CCYtl4Cx.js";var r={get data(){return e.data},get error(){return e.error},get form(){return e.form},get params(){return e.params},get route(){return e.route},get state(){return e.state},get status(){return e.status},get url(){return e.url}};Object.defineProperty({get from(){return t.current?t.current.from:null},get to(){return t.current?t.current.to:null},get type(){return t.current?t.current.type:null},get willUnload(){return t.current?t.current.willUnload:null},get delta(){return t.current?t.current.delta:null},get complete(){return t.current?t.current.complete:null}},`current`,{get(){throw Error(`Replace navigating.current.<prop> with navigating.<prop>`)}}),n.updated.check;var i=r;export{i as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as e,J as t,Lt as n,Mt as r,Rt as i,U as a,X as o,Y as s,i as c,nt as l,o as u,tt as d,xt as f}from"./rEsbAd0y.js";import{t as p}from"./
|
|
1
|
+
import{A as e,J as t,Lt as n,Mt as r,Rt as i,U as a,X as o,Y as s,i as c,nt as l,o as u,tt as d,xt as f}from"./rEsbAd0y.js";import{t as p}from"./CCYtl4Cx.js";import{t as m}from"./BKIpM6Uh.js";var h=(e,t)=>{let n=new URLSearchParams(m.url.searchParams);t===void 0?n.delete(e):n.set(e,String(t));let r=`?${n.toString()}`;window.top&&window.top.postMessage(`liipgpt-url:`+r,`*`),p(r,{replaceState:!0})},g=e=>{let t=new URLSearchParams(m.url.searchParams);for(let[n,r]of Object.entries(e))r===void 0?t.delete(n):t.set(n,String(r));let n=`?${t.toString()}`;window.top&&window.top.postMessage(`liipgpt-url:`+n,`*`),p(n,{replaceState:!0})},_=o(`<button type="button" class="sidebar-hide svelte-q6hwt7" aria-label="Hide sidebar">Hide sidebar</button>`),v=o(`<button type="button" class="sidebar-reopen svelte-q6hwt7" aria-label="Show sidebar"><span class="sidebar-reopen__label svelte-q6hwt7" aria-hidden="true">Show sidebar</span></button>`),y={hash:`svelte-q6hwt7`,code:`.sidebar-hide.svelte-q6hwt7 {display:block;padding:0.375rem 0.75rem;border:1px solid #e5e7eb;border-radius:0.375rem;background:#fff;color:#4b5563;font-weight:500;font-size:0.75rem;line-height:1.25;font-family:system-ui, sans-serif;cursor:pointer;}.sidebar-hide.svelte-q6hwt7:hover {background:#f3f4f6;color:#111827;}.sidebar-reopen.svelte-q6hwt7 {display:flex;z-index:50;position:fixed;bottom:5rem;left:0;align-items:center;justify-content:center;padding:0.5rem 0.25rem;border:1px solid #e5e7eb;border-left:none;border-radius:0 0.375rem 0.375rem 0;background:#fff;box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1),
|
|
2
2
|
0 1px 2px -1px rgb(0 0 0 / 0.1);color:#4b5563;font-weight:500;font-size:0.6rem;font-family:system-ui, sans-serif;cursor:pointer;}.sidebar-reopen.svelte-q6hwt7:hover {background:#f3f4f6;color:#111827;}.sidebar-reopen__label.svelte-q6hwt7 {letter-spacing:0.04em;text-orientation:mixed;writing-mode:vertical-rl;}
|
|
3
3
|
|
|
4
4
|
@media (prefers-color-scheme: dark) {.sidebar-hide.svelte-q6hwt7 {border-color:#4b5563;background:#1f2937;color:#d1d5db;}.sidebar-hide.svelte-q6hwt7:hover {background:#374151;color:#f3f4f6;}.sidebar-reopen.svelte-q6hwt7 {border-color:#4b5563;background:#1f2937;color:#d1d5db;}.sidebar-reopen.svelte-q6hwt7:hover {background:#374151;color:#f3f4f6;}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var e=`https://liipgpt.dev.cluster.liipgpt.ch/liipgpt`,t=`3.11.
|
|
1
|
+
var e=`https://liipgpt.dev.cluster.liipgpt.ch/liipgpt`,t=`3.11.1`,n=new Map;async function r(e){let t=n.get(e);if(t)return t;let r=await fetch(e),i=r.url,a=await r.arrayBuffer(),o=await crypto.subtle.digest(`SHA-384`,a),s={versionedUrl:i,integrity:`sha384-${btoa(String.fromCharCode(...new Uint8Array(o)))}`};return n.set(e,s),s}var i=/\/\*\s*@host-class:\s*([a-zA-Z_-][\w-]*)\s*\*\//;function a(e,t=`your-custom-class-wrapper`){let n=e.match(i);if(n)return n[1];let r=e.match(/\.([a-zA-Z_-][\w-]*)\s+\.search-summary\b/);if(r)return r[1];let a=e.match(/liipgpt-search-summary\.([a-zA-Z_-][\w-]*)/);return a?a[1]:t}var o=`/* Host tokens — set on the custom element, inherited by .search-summary and descendants */
|
|
2
2
|
liipgpt-search-summary.your-custom-class-wrapper {
|
|
3
3
|
--search-summary-padding: 1rem;
|
|
4
4
|
--search-summary-background: #fff;
|