@lab-anssi/ui-kit 1.44.0 → 1.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const nonce = document.currentScript?.nonce;
|
|
2
2
|
var WebComponents=(function(me){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ac=1,Bc=2,Al=4,Dc=8,Pc=16,Rc=1,Oc=2,Nc=4,Fc=8,Hc=16,Vc=4,Uc=1,Gc=2,Hi="[",pi="[!",Bl="[?",Vi="]",qr={},ns=Symbol(),Dl="http://www.w3.org/1999/xhtml",Pl="http://www.w3.org/2000/svg",Kc="http://www.w3.org/1998/Math/MathML",Wc="@attach",Ui=!1;var gi=Array.isArray,Yc=Array.prototype.indexOf,Pr=Array.prototype.includes,bi=Array.from,ki=Object.keys,hi=Object.defineProperty,zr=Object.getOwnPropertyDescriptor,Rl=Object.getOwnPropertyDescriptors,Zc=Object.prototype,Xc=Array.prototype,Gi=Object.getPrototypeOf,Ol=Object.isExtensible;function Jc(s){return typeof s=="function"}const hs=()=>{};function Qc(s){return s()}function Ki(s){for(var e=0;e<s.length;e++)s[e]()}function Nl(){var s,e,r=new Promise((i,l)=>{s=i,e=l});return{promise:r,resolve:s,reject:e}}function Fl(s,e,r=!1){return s===void 0?r?e():e:s}const ps=2,Zr=4,Xr=8,Wi=1<<24,er=16,Ws=32,ur=64,Yi=128,Ps=512,vs=1024,fs=2048,Rs=4096,Ls=8192,lr=16384,tr=32768,ar=65536,Hl=1<<17,Vl=1<<18,jr=1<<19,Ul=1<<20,cr=1<<25,_r=65536,Zi=1<<21,Xi=1<<22,pr=1<<23,or=Symbol("$state"),Gl=Symbol("legacy props"),$c=Symbol(""),Sr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Jr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),eo=1,Qr=3,Rr=8;function Ji(s){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function so(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ro(s,e,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function io(s){throw new Error("https://svelte.dev/e/effect_in_teardown")}function lo(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function to(s){throw new Error("https://svelte.dev/e/effect_orphan")}function ao(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function co(){throw new Error("https://svelte.dev/e/hydration_failed")}function oo(s){throw new Error("https://svelte.dev/e/props_invalid_value")}function no(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function vo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function fo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function mo(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function $r(s){console.warn("https://svelte.dev/e/hydration_mismatch")}function uo(s){console.warn("https://svelte.dev/e/legacy_recursive_reactive_block")}function po(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function go(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let we=!1;function ws(s){we=s}let Ee;function cs(s){if(s===null)throw $r(),qr;return Ee=s}function nr(){return cs(Xs(Ee))}function d(s){if(we){if(Xs(Ee)!==null)throw $r(),qr;Ee=s}}function Es(s=1){if(we){for(var e=s,r=Ee;e--;)r=Xs(r);Ee=r}}function wi(s=!0){for(var e=0,r=Ee;;){if(r.nodeType===Rr){var i=r.data;if(i===Vi){if(e===0)return r;e-=1}else(i===Hi||i===pi||i[0]==="["&&!isNaN(Number(i.slice(1))))&&(e+=1)}var l=Xs(r);s&&r.remove(),r=l}}function Kl(s){if(!s||s.nodeType!==Rr)throw $r(),qr;return s.data}function Wl(s){return s===this.v}function Yl(s,e){return s!=s?e==e:s!==e||s!==null&&typeof s=="object"||typeof s=="function"}function Zl(s){return!Yl(s,this.v)}let Or=!1,bo=!1;function ko(){Or=!0}let $e=null;function Nr(s){$e=s}function ae(s,e=!1,r){$e={p:$e,i:!1,c:null,e:null,s,x:null,l:Or&&!e?{s:null,u:null,$:[]}:null}}function ce(s){var e=$e,r=e.e;if(r!==null){e.e=null;for(var i of r)wt(i)}return s!==void 0&&(e.x=s),e.i=!0,$e=e.p,s??{}}function ei(){return!Or||$e!==null&&$e.l===null}let Mr=[];function Xl(){var s=Mr;Mr=[],Ki(s)}function js(s){if(Mr.length===0&&!si){var e=Mr;queueMicrotask(()=>{e===Mr&&Xl()})}Mr.push(s)}function ho(){for(;Mr.length>0;)Xl()}function Jl(s){var e=Te;if(e===null)return Pe.f|=pr,s;if((e.f&tr)===0&&(e.f&Zr)===0)throw s;gr(s,e)}function gr(s,e){for(;e!==null;){if((e.f&Yi)!==0){if((e.f&tr)===0)throw s;try{e.b.error(s);return}catch(r){s=r}}e=e.parent}throw s}const wo=-7169;function ss(s,e){s.f=s.f&wo|e}function Qi(s){(s.f&Ps)!==0||s.deps===null?ss(s,vs):ss(s,Rs)}function Ql(s){if(s!==null)for(const e of s)(e.f&ps)===0||(e.f&_r)===0||(e.f^=_r,Ql(e.deps))}function $l(s,e,r){(s.f&fs)!==0?e.add(s):(s.f&Rs)!==0&&r.add(s),Ql(s.deps),ss(s,vs)}const yi=new Set;let Fe=null,xi=null,Ys=null,_s=[],qi=null,$i=!1,si=!1;class vr{current=new Map;previous=new Map;#e=new Set;#s=new Set;#r=0;#a=0;#i=null;#c=new Set;#l=new Set;#t=new Map;is_fork=!1;#o=!1;#v(){return this.is_fork||this.#a>0}skip_effect(e){this.#t.has(e)||this.#t.set(e,{d:[],m:[]})}unskip_effect(e){var r=this.#t.get(e);if(r){this.#t.delete(e);for(var i of r.d)ss(i,fs),Zs(i);for(i of r.m)ss(i,Rs),Zs(i)}}process(e){_s=[],this.apply();var r=[],i=[];for(const l of e)this.#n(l,r,i);if(this.#v()){this.#f(i),this.#f(r);for(const[l,t]of this.#t)lt(l,t)}else{for(const l of this.#e)l();this.#e.clear(),this.#r===0&&this.#d(),xi=this,Fe=null,st(i),st(r),xi=null,this.#i?.resolve()}Ys=null}#n(e,r,i){e.f^=vs;for(var l=e.first;l!==null;){var t=l.f,o=(t&(Ws|ur))!==0,v=o&&(t&vs)!==0,n=v||(t&Ls)!==0||this.#t.has(l);if(!n&&l.fn!==null){o?l.f^=vs:(t&Zr)!==0?r.push(l):ai(l)&&((t&er)!==0&&this.#l.add(l),Gr(l));var f=l.first;if(f!==null){l=f;continue}}for(;l!==null;){var m=l.next;if(m!==null){l=m;break}l=l.parent}}}#f(e){for(var r=0;r<e.length;r+=1)$l(e[r],this.#c,this.#l)}capture(e,r){r!==ns&&!this.previous.has(e)&&this.previous.set(e,r),(e.f&pr)===0&&(this.current.set(e,e.v),Ys?.set(e,e.v))}activate(){Fe=this,this.apply()}deactivate(){Fe===this&&(Fe=null,Ys=null)}flush(){if(this.activate(),_s.length>0){if(et(),Fe!==null&&Fe!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#s)e(this);this.#s.clear()}#d(){if(yi.size>1){this.previous.clear();var e=Ys,r=!0;for(const l of yi){if(l===this){r=!1;continue}const t=[];for(const[v,n]of this.current){if(l.current.has(v))if(r&&n!==l.current.get(v))l.current.set(v,n);else continue;t.push(v)}if(t.length===0)continue;const o=[...l.current.keys()].filter(v=>!this.current.has(v));if(o.length>0){var i=_s;_s=[];const v=new Set,n=new Map;for(const f of t)rt(f,o,v,n);if(_s.length>0){Fe=l,l.apply();for(const f of _s)l.#n(f,[],[]);l.deactivate()}_s=i}}Fe=null,Ys=e}yi.delete(this)}increment(e){this.#r+=1,e&&(this.#a+=1)}decrement(e){this.#r-=1,e&&(this.#a-=1),!this.#o&&(this.#o=!0,js(()=>{this.#o=!1,this.#v()?_s.length>0&&this.flush():this.revive()}))}revive(){for(const e of this.#c)this.#l.delete(e),ss(e,fs),Zs(e);for(const e of this.#l)ss(e,Rs),Zs(e);this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#s.add(e)}settled(){return(this.#i??=Nl()).promise}static ensure(){if(Fe===null){const e=Fe=new vr;yi.add(Fe),si||js(()=>{Fe===e&&e.flush()})}return Fe}apply(){}}function a(s){var e=si;si=!0;try{for(var r;;){if(ho(),_s.length===0&&(Fe?.flush(),_s.length===0))return qi=null,r;et()}}finally{si=e}}function et(){$i=!0;var s=null;try{for(var e=0;_s.length>0;){var r=vr.ensure();if(e++>1e3){var i,l;yo()}r.process(_s),br.clear()}}finally{_s=[],$i=!1,qi=null}}function yo(){try{ao()}catch(s){gr(s,qi)}}let fr=null;function st(s){var e=s.length;if(e!==0){for(var r=0;r<e;){var i=s[r++];if((i.f&(lr|Ls))===0&&ai(i)&&(fr=new Set,Gr(i),i.deps===null&&i.first===null&&i.nodes===null&&i.teardown===null&&i.ac===null&&jt(i),fr?.size>0)){br.clear();for(const l of fr){if((l.f&(lr|Ls))!==0)continue;const t=[l];let o=l.parent;for(;o!==null;)fr.has(o)&&(fr.delete(o),t.push(o)),o=o.parent;for(let v=t.length-1;v>=0;v--){const n=t[v];(n.f&(lr|Ls))===0&&Gr(n)}}fr.clear()}}fr=null}}function rt(s,e,r,i){if(!r.has(s)&&(r.add(s),s.reactions!==null))for(const l of s.reactions){const t=l.f;(t&ps)!==0?rt(l,e,r,i):(t&(Xi|er))!==0&&(t&fs)===0&&it(l,e,i)&&(ss(l,fs),Zs(l))}}function it(s,e,r){const i=r.get(s);if(i!==void 0)return i;if(s.deps!==null)for(const l of s.deps){if(Pr.call(e,l))return!0;if((l.f&ps)!==0&&it(l,e,r))return r.set(l,!0),!0}return r.set(s,!1),!1}function Zs(s){var e=qi=s,r=e.b;if(r?.is_pending&&(s.f&(Zr|Xr|Wi))!==0&&(s.f&tr)===0){r.defer_effect(s);return}for(;e.parent!==null;){e=e.parent;var i=e.f;if($i&&e===Te&&(i&er)!==0&&(i&Vl)===0&&(i&tr)!==0)return;if((i&(ur|Ws))!==0){if((i&vs)===0)return;e.f^=vs}}_s.push(e)}function lt(s,e){if(!((s.f&Ws)!==0&&(s.f&vs)!==0)){(s.f&fs)!==0?e.d.push(s):(s.f&Rs)!==0&&e.m.push(s),ss(s,vs);for(var r=s.first;r!==null;)lt(r,e),r=r.next}}function xo(s){let e=0,r=Cr(0),i;return()=>{al()&&(u(r),hr(()=>(e===0&&(i=Gs(()=>s(()=>li(r)))),e+=1,()=>{js(()=>{e-=1,e===0&&(i?.(),i=void 0,li(r))})})))}}var qo=ar|jr;function zo(s,e,r,i){new jo(s,e,r,i)}class jo{parent;is_pending=!1;transform_error;#e;#s=we?Ee:null;#r;#a;#i;#c=null;#l=null;#t=null;#o=null;#v=0;#n=0;#f=!1;#d=new Set;#u=new Set;#m=null;#h=xo(()=>(this.#m=Cr(this.#v),()=>{this.#m=null}));constructor(e,r,i,l){this.#e=e,this.#r=r,this.#a=t=>{var o=Te;o.b=this,o.f|=Yi,i(t)},this.parent=Te.b,this.transform_error=l??this.parent?.transform_error??(t=>t),this.#i=ti(()=>{if(we){const t=this.#s;nr();const o=t.data===pi;if(t.data.startsWith(Bl)){const n=JSON.parse(t.data.slice(Bl.length));this.#y(n)}else o?this.#x():this.#w()}else this.#b()},qo),we&&(this.#e=Ee)}#w(){try{this.#c=Ms(()=>this.#a(this.#e))}catch(e){this.error(e)}}#y(e){const r=this.#r.failed;r&&(this.#t=Ms(()=>{r(this.#e,()=>e,()=>()=>{})}))}#x(){const e=this.#r.pending;e&&(this.is_pending=!0,this.#l=Ms(()=>e(this.#e)),js(()=>{var r=this.#o=document.createDocumentFragment(),i=ys();r.append(i),this.#c=this.#g(()=>(vr.ensure(),Ms(()=>this.#a(i)))),this.#n===0&&(this.#e.before(r),this.#o=null,Lr(this.#l,()=>{this.#l=null}),this.#p())}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#n=0,this.#v=0,this.#c=Ms(()=>{this.#a(this.#e)}),this.#n>0){var e=this.#o=document.createDocumentFragment();Mt(this.#c,e);const r=this.#r.pending;this.#l=Ms(()=>r(this.#e))}else this.#p()}catch(r){this.error(r)}}#p(){this.is_pending=!1;for(const e of this.#d)ss(e,fs),Zs(e);for(const e of this.#u)ss(e,Rs),Zs(e);this.#d.clear(),this.#u.clear()}defer_effect(e){$l(e,this.#d,this.#u)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#r.pending}#g(e){var r=Te,i=Pe,l=$e;sr(this.#i),Hs(this.#i),Nr(this.#i.ctx);try{return e()}catch(t){return Jl(t),null}finally{sr(r),Hs(i),Nr(l)}}#k(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#k(e);return}this.#n+=e,this.#n===0&&(this.#p(),this.#l&&Lr(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(e){this.#k(e),this.#v+=e,!(!this.#m||this.#f)&&(this.#f=!0,js(()=>{this.#f=!1,this.#m&&Fr(this.#m,this.#v)}))}get_effect_pending(){return this.#h(),u(this.#m)}error(e){var r=this.#r.onerror;let i=this.#r.failed;if(!r&&!i)throw e;this.#c&&(ms(this.#c),this.#c=null),this.#l&&(ms(this.#l),this.#l=null),this.#t&&(ms(this.#t),this.#t=null),we&&(cs(this.#s),Es(),cs(wi()));var l=!1,t=!1;const o=()=>{if(l){go();return}l=!0,t&&mo(),this.#t!==null&&Lr(this.#t,()=>{this.#t=null}),this.#g(()=>{vr.ensure(),this.#b()})},v=n=>{try{t=!0,r?.(n,o),t=!1}catch(f){gr(f,this.#i&&this.#i.parent)}i&&(this.#t=this.#g(()=>{vr.ensure();try{return Ms(()=>{var f=Te;f.b=this,f.f|=Yi,i(this.#e,()=>n,()=>o)})}catch(f){return gr(f,this.#i.parent),null}}))};js(()=>{var n;try{n=this.transform_error(e)}catch(f){gr(f,this.#i&&this.#i.parent);return}n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(v,f=>gr(f,this.#i&&this.#i.parent)):v(n)})}}function tt(s,e,r,i){const l=ei()?ri:ii;var t=s.filter(g=>!g.settled);if(r.length===0&&t.length===0){i(e.map(l));return}var o=Te,v=_o(),n=t.length===1?t[0].promise:t.length>1?Promise.all(t.map(g=>g.promise)):null;function f(g){v();try{i(g)}catch(b){(o.f&lr)===0&&gr(b,o)}el()}if(r.length===0){n.then(()=>f(e.map(l)));return}function m(){v(),Promise.all(r.map(g=>Mo(g))).then(g=>f([...e.map(l),...g])).catch(g=>gr(g,o))}n?n.then(m):m()}function _o(){var s=Te,e=Pe,r=$e,i=Fe;return function(t=!0){sr(s),Hs(e),Nr(r),t&&i?.activate()}}function el(s=!0){sr(null),Hs(null),Nr(null),s&&Fe?.deactivate()}function So(){var s=Te.b,e=Fe,r=s.is_rendered();return s.update_pending_count(1),e.increment(r),()=>{s.update_pending_count(-1),e.decrement(r)}}function ri(s){var e=ps|fs,r=Pe!==null&&(Pe.f&ps)!==0?Pe:null;return Te!==null&&(Te.f|=jr),{ctx:$e,deps:null,effects:null,equals:Wl,f:e,fn:s,reactions:null,rv:0,v:ns,wv:0,parent:r??Te,ac:null}}function Mo(s,e,r){Te===null&&so();var l=void 0,t=Cr(ns),o=!Pe,v=new Map;return Oo(()=>{var n=Nl();l=n.promise;try{Promise.resolve(s()).then(n.resolve,n.reject).finally(el)}catch(b){n.reject(b),el()}var f=Fe;if(o){var m=So();v.get(f)?.reject(Sr),v.delete(f),v.set(f,n)}const g=(b,w=void 0)=>{if(f.activate(),w)w!==Sr&&(t.f|=pr,Fr(t,w));else{(t.f&pr)!==0&&(t.f^=pr),Fr(t,b);for(const[k,q]of v){if(v.delete(k),k===f)break;q.reject(Sr)}}m&&m()};n.promise.then(g,b=>g(null,b||"unknown"))}),Ur(()=>{for(const n of v.values())n.reject(Sr)}),new Promise(n=>{function f(m){function g(){m===l?n(t):f(l)}m.then(g,g)}f(l)})}function Q(s){const e=ri(s);return Lt(e),e}function ii(s){const e=ri(s);return e.equals=Zl,e}function Co(s){var e=s.effects;if(e!==null){s.effects=null;for(var r=0;r<e.length;r+=1)ms(e[r])}}function Lo(s){for(var e=s.parent;e!==null;){if((e.f&ps)===0)return(e.f&lr)===0?e:null;e=e.parent}return null}function sl(s){var e,r=Te;sr(Lo(s));try{s.f&=~_r,Co(s),e=Bt(s)}finally{sr(r)}return e}function at(s){var e=sl(s);if(!s.equals(e)&&(s.wv=Tt(),(!Fe?.is_fork||s.deps===null)&&(s.v=e,s.deps===null))){ss(s,vs);return}wr||(Ys!==null?(al()||Fe?.is_fork)&&Ys.set(s,e):Qi(s))}function Eo(s){if(s.effects!==null)for(const e of s.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(Sr),e.teardown=hs,e.ac=null,ci(e,0),cl(e))}function ct(s){if(s.effects!==null)for(const e of s.effects)e.teardown&&Gr(e)}let rl=new Set;const br=new Map;let ot=!1;function Cr(s,e){var r={f:0,v:s,reactions:null,equals:Wl,rv:0,wv:0};return r}function Ie(s,e){const r=Cr(s);return Lt(r),r}function nt(s,e=!1,r=!0){const i=Cr(s);return e||(i.equals=Zl),Or&&r&&$e!==null&&$e.l!==null&&($e.l.s??=[]).push(i),i}function he(s,e,r=!1){Pe!==null&&(!Js||(Pe.f&Hl)!==0)&&ei()&&(Pe.f&(ps|er|Xi|Hl))!==0&&(Vs===null||!Pr.call(Vs,s))&&fo();let i=r?Os(e):e;return Fr(s,i)}function Fr(s,e){if(!s.equals(e)){var r=s.v;wr?br.set(s,e):br.set(s,r),s.v=e;var i=vr.ensure();if(i.capture(s,r),(s.f&ps)!==0){const l=s;(s.f&fs)!==0&&sl(l),Qi(l)}s.wv=Tt(),vt(s,fs),ei()&&Te!==null&&(Te.f&vs)!==0&&(Te.f&(Ws|ur))===0&&(Us===null?Fo([s]):Us.push(s)),!i.is_fork&&rl.size>0&&!ot&&Io()}return e}function Io(){ot=!1;for(const s of rl)(s.f&vs)!==0&&ss(s,Rs),ai(s)&&Gr(s);rl.clear()}function li(s){he(s,s.v+1)}function vt(s,e){var r=s.reactions;if(r!==null)for(var i=ei(),l=r.length,t=0;t<l;t++){var o=r[t],v=o.f;if(!(!i&&o===Te)){var n=(v&fs)===0;if(n&&ss(o,e),(v&ps)!==0){var f=o;Ys?.delete(f),(v&_r)===0&&(v&Ps&&(o.f|=_r),vt(f,Rs))}else n&&((v&er)!==0&&fr!==null&&fr.add(o),Zs(o))}}}function Os(s){if(typeof s!="object"||s===null||or in s)return s;const e=Gi(s);if(e!==Zc&&e!==Xc)return s;var r=new Map,i=gi(s),l=Ie(0),t=Ir,o=v=>{if(Ir===t)return v();var n=Pe,f=Ir;Hs(null),It(t);var m=v();return Hs(n),It(f),m};return i&&r.set("length",Ie(s.length)),new Proxy(s,{defineProperty(v,n,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&no();var m=r.get(n);return m===void 0?o(()=>{var g=Ie(f.value);return r.set(n,g),g}):he(m,f.value,!0),!0},deleteProperty(v,n){var f=r.get(n);if(f===void 0){if(n in v){const m=o(()=>Ie(ns));r.set(n,m),li(l)}}else he(f,ns),li(l);return!0},get(v,n,f){if(n===or)return s;var m=r.get(n),g=n in v;if(m===void 0&&(!g||zr(v,n)?.writable)&&(m=o(()=>{var w=Os(g?v[n]:ns),k=Ie(w);return k}),r.set(n,m)),m!==void 0){var b=u(m);return b===ns?void 0:b}return Reflect.get(v,n,f)},getOwnPropertyDescriptor(v,n){var f=Reflect.getOwnPropertyDescriptor(v,n);if(f&&"value"in f){var m=r.get(n);m&&(f.value=u(m))}else if(f===void 0){var g=r.get(n),b=g?.v;if(g!==void 0&&b!==ns)return{enumerable:!0,configurable:!0,value:b,writable:!0}}return f},has(v,n){if(n===or)return!0;var f=r.get(n),m=f!==void 0&&f.v!==ns||Reflect.has(v,n);if(f!==void 0||Te!==null&&(!m||zr(v,n)?.writable)){f===void 0&&(f=o(()=>{var b=m?Os(v[n]):ns,w=Ie(b);return w}),r.set(n,f));var g=u(f);if(g===ns)return!1}return m},set(v,n,f,m){var g=r.get(n),b=n in v;if(i&&n==="length")for(var w=f;w<g.v;w+=1){var k=r.get(w+"");k!==void 0?he(k,ns):w in v&&(k=o(()=>Ie(ns)),r.set(w+"",k))}if(g===void 0)(!b||zr(v,n)?.writable)&&(g=o(()=>Ie(void 0)),he(g,Os(f)),r.set(n,g));else{b=g.v!==ns;var q=o(()=>Os(f));he(g,q)}var j=Reflect.getOwnPropertyDescriptor(v,n);if(j?.set&&j.set.call(m,f),!b){if(i&&typeof n=="string"){var h=r.get("length"),L=Number(n);Number.isInteger(L)&&L>=h.v&&he(h,L+1)}li(l)}return!0},ownKeys(v){u(l);var n=Reflect.ownKeys(v).filter(g=>{var b=r.get(g);return b===void 0||b.v!==ns});for(var[f,m]of r)m.v!==ns&&!(f in v)&&n.push(f);return n},setPrototypeOf(){vo()}})}function ft(s){try{if(s!==null&&typeof s=="object"&&or in s)return s[or]}catch{}return s}function mt(s,e){return Object.is(ft(s),ft(e))}var il,dt,ut,pt;function ll(){if(il===void 0){il=window,dt=/Firefox/.test(navigator.userAgent);var s=Element.prototype,e=Node.prototype,r=Text.prototype;ut=zr(e,"firstChild").get,pt=zr(e,"nextSibling").get,Ol(s)&&(s.__click=void 0,s.__className=void 0,s.__attributes=null,s.__style=void 0,s.__e=void 0),Ol(r)&&(r.__t=void 0)}}function ys(s=""){return document.createTextNode(s)}function Ss(s){return ut.call(s)}function Xs(s){return pt.call(s)}function p(s,e){if(!we)return Ss(s);var r=Ss(Ee);if(r===null)r=Ee.appendChild(ys());else if(e&&r.nodeType!==Qr){var i=ys();return r?.before(i),cs(i),i}return e&&zi(r),cs(r),r}function ue(s,e=!1){if(!we){var r=Ss(s);return r instanceof Comment&&r.data===""?Xs(r):r}if(e){if(Ee?.nodeType!==Qr){var i=ys();return Ee?.before(i),cs(i),i}zi(Ee)}return Ee}function B(s,e=1,r=!1){let i=we?Ee:s;for(var l;e--;)l=i,i=Xs(i);if(!we)return i;if(r){if(i?.nodeType!==Qr){var t=ys();return i===null?l?.after(t):i.before(t),cs(t),t}zi(i)}return cs(i),i}function tl(s){s.textContent=""}function gt(){return!1}function Hr(s,e,r){return document.createElementNS(e??Dl,s,void 0)}function To(s=""){return document.createComment(s)}function zi(s){if(s.nodeValue.length<65536)return;let e=s.nextSibling;for(;e!==null&&e.nodeType===Qr;)e.remove(),s.nodeValue+=e.nodeValue,e=s.nextSibling}function Ao(s,e){if(e){const r=document.body;s.autofocus=!0,js(()=>{document.activeElement===r&&s.focus()})}}function Bo(s){we&&Ss(s)!==null&&tl(s)}let bt=!1;function kt(){bt||(bt=!0,document.addEventListener("reset",s=>{Promise.resolve().then(()=>{if(!s.defaultPrevented)for(const e of s.target.elements)e.__on_r?.()})},{capture:!0}))}function Vr(s){var e=Pe,r=Te;Hs(null),sr(null);try{return s()}finally{Hs(e),sr(r)}}function ji(s,e,r,i=r){s.addEventListener(e,()=>Vr(r));const l=s.__on_r;l?s.__on_r=()=>{l(),i(!0)}:s.__on_r=()=>i(!0),kt()}function ht(s){Te===null&&(Pe===null&&to(),lo()),wr&&io()}function Do(s,e){var r=e.last;r===null?e.last=e.first=s:(r.next=s,s.prev=r,e.last=s)}function Ns(s,e,r){var i=Te;i!==null&&(i.f&Ls)!==0&&(s|=Ls);var l={ctx:$e,deps:null,nodes:null,f:s|fs|Ps,first:null,fn:e,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,wv:0,ac:null};if(r)try{Gr(l)}catch(v){throw ms(l),v}else e!==null&&Zs(l);var t=l;if(r&&t.deps===null&&t.teardown===null&&t.nodes===null&&t.first===t.last&&(t.f&jr)===0&&(t=t.first,(s&er)!==0&&(s&ar)!==0&&t!==null&&(t.f|=ar)),t!==null&&(t.parent=i,i!==null&&Do(t,i),Pe!==null&&(Pe.f&ps)!==0&&(s&ur)===0)){var o=Pe;(o.effects??=[]).push(t)}return l}function al(){return Pe!==null&&!Js}function Ur(s){const e=Ns(Xr,null,!1);return ss(e,vs),e.teardown=s,e}function Fs(s){ht();var e=Te.f,r=!Pe&&(e&Ws)!==0&&(e&tr)===0;if(r){var i=$e;(i.e??=[]).push(s)}else return wt(s)}function wt(s){return Ns(Zr|Ul,s,!1)}function yt(s){return ht(),Ns(Xr|Ul,s,!0)}function Po(s){vr.ensure();const e=Ns(ur|jr,s,!0);return()=>{ms(e)}}function Ro(s){vr.ensure();const e=Ns(ur|jr,s,!0);return(r={})=>new Promise(i=>{r.outro?Lr(e,()=>{ms(e),i(void 0)}):(ms(e),i(void 0))})}function kr(s){return Ns(Zr,s,!1)}function Oo(s){return Ns(Xi|jr,s,!0)}function hr(s,e=0){return Ns(Xr|e,s,!0)}function P(s,e=[],r=[],i=[]){tt(i,e,r,l=>{Ns(Xr,()=>s(...l.map(u)),!0)})}function ti(s,e=0){var r=Ns(er|e,s,!0);return r}function xt(s,e=0){var r=Ns(Wi|e,s,!0);return r}function Ms(s){return Ns(Ws|jr,s,!0)}function qt(s){var e=s.teardown;if(e!==null){const r=wr,i=Pe;Ct(!0),Hs(null);try{e.call(null)}finally{Ct(r),Hs(i)}}}function cl(s,e=!1){var r=s.first;for(s.first=s.last=null;r!==null;){const l=r.ac;l!==null&&Vr(()=>{l.abort(Sr)});var i=r.next;(r.f&ur)!==0?r.parent=null:ms(r,e),r=i}}function No(s){for(var e=s.first;e!==null;){var r=e.next;(e.f&Ws)===0&&ms(e),e=r}}function ms(s,e=!0){var r=!1;(e||(s.f&Vl)!==0)&&s.nodes!==null&&s.nodes.end!==null&&(zt(s.nodes.start,s.nodes.end),r=!0),cl(s,e&&!r),ci(s,0),ss(s,lr);var i=s.nodes&&s.nodes.t;if(i!==null)for(const t of i)t.stop();qt(s);var l=s.parent;l!==null&&l.first!==null&&jt(s),s.next=s.prev=s.teardown=s.ctx=s.deps=s.fn=s.nodes=s.ac=null}function zt(s,e){for(;s!==null;){var r=s===e?null:Xs(s);s.remove(),s=r}}function jt(s){var e=s.parent,r=s.prev,i=s.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),e!==null&&(e.first===s&&(e.first=i),e.last===s&&(e.last=r))}function Lr(s,e,r=!0){var i=[];_t(s,i,!0);var l=()=>{r&&ms(s),e&&e()},t=i.length;if(t>0){var o=()=>--t||l();for(var v of i)v.out(o)}else l()}function _t(s,e,r){if((s.f&Ls)===0){s.f^=Ls;var i=s.nodes&&s.nodes.t;if(i!==null)for(const v of i)(v.is_global||r)&&e.push(v);for(var l=s.first;l!==null;){var t=l.next,o=(l.f&ar)!==0||(l.f&Ws)!==0&&(s.f&er)!==0;_t(l,e,o?r:!1),l=t}}}function ol(s){St(s,!0)}function St(s,e){if((s.f&Ls)!==0){s.f^=Ls,(s.f&vs)===0&&(ss(s,fs),Zs(s));for(var r=s.first;r!==null;){var i=r.next,l=(r.f&ar)!==0||(r.f&Ws)!==0;St(r,l?e:!1),r=i}var t=s.nodes&&s.nodes.t;if(t!==null)for(const o of t)(o.is_global||e)&&o.in()}}function Mt(s,e){if(s.nodes)for(var r=s.nodes.start,i=s.nodes.end;r!==null;){var l=r===i?null:Xs(r);e.append(r),r=l}}let _i=!1,wr=!1;function Ct(s){wr=s}let Pe=null,Js=!1;function Hs(s){Pe=s}let Te=null;function sr(s){Te=s}let Vs=null;function Lt(s){Pe!==null&&(Vs===null?Vs=[s]:Vs.push(s))}let Cs=null,Is=0,Us=null;function Fo(s){Us=s}let Et=1,Er=0,Ir=Er;function It(s){Ir=s}function Tt(){return++Et}function ai(s){var e=s.f;if((e&fs)!==0)return!0;if(e&ps&&(s.f&=~_r),(e&Rs)!==0){for(var r=s.deps,i=r.length,l=0;l<i;l++){var t=r[l];if(ai(t)&&at(t),t.wv>s.wv)return!0}(e&Ps)!==0&&Ys===null&&ss(s,vs)}return!1}function At(s,e,r=!0){var i=s.reactions;if(i!==null&&!(Vs!==null&&Pr.call(Vs,s)))for(var l=0;l<i.length;l++){var t=i[l];(t.f&ps)!==0?At(t,e,!1):e===t&&(r?ss(t,fs):(t.f&vs)!==0&&ss(t,Rs),Zs(t))}}function Bt(s){var e=Cs,r=Is,i=Us,l=Pe,t=Vs,o=$e,v=Js,n=Ir,f=s.f;Cs=null,Is=0,Us=null,Pe=(f&(Ws|ur))===0?s:null,Vs=null,Nr(s.ctx),Js=!1,Ir=++Er,s.ac!==null&&(Vr(()=>{s.ac.abort(Sr)}),s.ac=null);try{s.f|=Zi;var m=s.fn,g=m();s.f|=tr;var b=s.deps,w=Fe?.is_fork;if(Cs!==null){var k;if(w||ci(s,Is),b!==null&&Is>0)for(b.length=Is+Cs.length,k=0;k<Cs.length;k++)b[Is+k]=Cs[k];else s.deps=b=Cs;if(al()&&(s.f&Ps)!==0)for(k=Is;k<b.length;k++)(b[k].reactions??=[]).push(s)}else!w&&b!==null&&Is<b.length&&(ci(s,Is),b.length=Is);if(ei()&&Us!==null&&!Js&&b!==null&&(s.f&(ps|Rs|fs))===0)for(k=0;k<Us.length;k++)At(Us[k],s);if(l!==null&&l!==s){if(Er++,l.deps!==null)for(let q=0;q<r;q+=1)l.deps[q].rv=Er;if(e!==null)for(const q of e)q.rv=Er;Us!==null&&(i===null?i=Us:i.push(...Us))}return(s.f&pr)!==0&&(s.f^=pr),g}catch(q){return Jl(q)}finally{s.f^=Zi,Cs=e,Is=r,Us=i,Pe=l,Vs=t,Nr(o),Js=v,Ir=n}}function Ho(s,e){let r=e.reactions;if(r!==null){var i=Yc.call(r,s);if(i!==-1){var l=r.length-1;l===0?r=e.reactions=null:(r[i]=r[l],r.pop())}}if(r===null&&(e.f&ps)!==0&&(Cs===null||!Pr.call(Cs,e))){var t=e;(t.f&Ps)!==0&&(t.f^=Ps,t.f&=~_r),Qi(t),Eo(t),ci(t,0)}}function ci(s,e){var r=s.deps;if(r!==null)for(var i=e;i<r.length;i++)Ho(s,r[i])}function Gr(s){var e=s.f;if((e&lr)===0){ss(s,vs);var r=Te,i=_i;Te=s,_i=!0;try{(e&(er|Wi))!==0?No(s):cl(s),qt(s);var l=Bt(s);s.teardown=typeof l=="function"?l:null,s.wv=Et;var t;Ui&&bo&&(s.f&fs)!==0&&s.deps}finally{_i=i,Te=r}}}async function nl(){await Promise.resolve(),a()}function u(s){var e=s.f,r=(e&ps)!==0;if(Pe!==null&&!Js){var i=Te!==null&&(Te.f&lr)!==0;if(!i&&(Vs===null||!Pr.call(Vs,s))){var l=Pe.deps;if((Pe.f&Zi)!==0)s.rv<Er&&(s.rv=Er,Cs===null&&l!==null&&l[Is]===s?Is++:Cs===null?Cs=[s]:Cs.push(s));else{(Pe.deps??=[]).push(s);var t=s.reactions;t===null?s.reactions=[Pe]:Pr.call(t,Pe)||t.push(Pe)}}}if(wr&&br.has(s))return br.get(s);if(r){var o=s;if(wr){var v=o.v;return((o.f&vs)===0&&o.reactions!==null||Pt(o))&&(v=sl(o)),br.set(o,v),v}var n=(o.f&Ps)===0&&!Js&&Pe!==null&&(_i||(Pe.f&Ps)!==0),f=(o.f&tr)===0;ai(o)&&(n&&(o.f|=Ps),at(o)),n&&!f&&(ct(o),Dt(o))}if(Ys?.has(s))return Ys.get(s);if((s.f&pr)!==0)throw s.v;return s.v}function Dt(s){if(s.f|=Ps,s.deps!==null)for(const e of s.deps)(e.reactions??=[]).push(s),(e.f&ps)!==0&&(e.f&Ps)===0&&(ct(e),Dt(e))}function Pt(s){if(s.v===ns)return!0;if(s.deps===null)return!1;for(const e of s.deps)if(br.has(e)||(e.f&ps)!==0&&Pt(e))return!0;return!1}function Gs(s){var e=Js;try{return Js=!0,s()}finally{Js=e}}function Rt(s){if(!(typeof s!="object"||!s||s instanceof EventTarget)){if(or in s)vl(s);else if(!Array.isArray(s))for(let e in s){const r=s[e];typeof r=="object"&&r&&or in r&&vl(r)}}}function vl(s,e=new Set){if(typeof s=="object"&&s!==null&&!(s instanceof EventTarget)&&!e.has(s)){e.add(s),s instanceof Date&&s.getTime();for(let i in s)try{vl(s[i],e)}catch{}const r=Gi(s);if(r!==Object.prototype&&r!==Array.prototype&&r!==Map.prototype&&r!==Set.prototype&&r!==Date.prototype){const i=Rl(r);for(let l in i){const t=i[l].get;if(t)try{t.call(s)}catch{}}}}}const oi=Symbol("events"),Ot=new Set,fl=new Set;function Nt(s,e,r,i={}){function l(t){if(i.capture||ml.call(e,t),!t.cancelBubble)return Vr(()=>r?.call(this,t))}return s.startsWith("pointer")||s.startsWith("touch")||s==="wheel"?js(()=>{e.addEventListener(s,l,i)}):e.addEventListener(s,l,i),l}function Kr(s,e,r,i,l){var t={capture:i,passive:l},o=Nt(s,e,r,t);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Ur(()=>{e.removeEventListener(s,o,t)})}function ze(s,e,r){(e[oi]??={})[s]=r}function He(s){for(var e=0;e<s.length;e++)Ot.add(s[e]);for(var r of fl)r(s)}let Ft=null;function ml(s){var e=this,r=e.ownerDocument,i=s.type,l=s.composedPath?.()||[],t=l[0]||s.target;Ft=s;var o=0,v=Ft===s&&s[oi];if(v){var n=l.indexOf(v);if(n!==-1&&(e===document||e===window)){s[oi]=e;return}var f=l.indexOf(e);if(f===-1)return;n<=f&&(o=n)}if(t=l[o]||s.target,t!==e){hi(s,"currentTarget",{configurable:!0,get(){return t||r}});var m=Pe,g=Te;Hs(null),sr(null);try{for(var b,w=[];t!==null;){var k=t.assignedSlot||t.parentNode||t.host||null;try{var q=t[oi]?.[i];q!=null&&(!t.disabled||s.target===t)&&q.call(t,s)}catch(j){b?w.push(j):b=j}if(s.cancelBubble||k===e||k===null)break;t=k}if(b){for(let j of w)queueMicrotask(()=>{throw j});throw b}}finally{s[oi]=e,delete s.currentTarget,Hs(m),sr(g)}}}const Vo=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:s=>s});function Ht(s){return Vo?.createHTML(s)??s}function Vt(s){var e=Hr("template");return e.innerHTML=Ht(s.replaceAll("<!>","<!---->")),e.content}function Ts(s,e){var r=Te;r.nodes===null&&(r.nodes={start:s,end:e,a:null,t:null})}function T(s,e){var r=(e&Uc)!==0,i=(e&Gc)!==0,l,t=!s.startsWith("<!>");return()=>{if(we)return Ts(Ee,null),Ee;l===void 0&&(l=Vt(t?s:"<!>"+s),r||(l=Ss(l)));var o=i||dt?document.importNode(l,!0):l.cloneNode(!0);if(r){var v=Ss(o),n=o.lastChild;Ts(v,n)}else Ts(o,o);return o}}function Uo(s,e,r="svg"){var i=!s.startsWith("<!>"),l=`<${r}>${i?s:"<!>"+s}</${r}>`,t;return()=>{if(we)return Ts(Ee,null),Ee;if(!t){var o=Vt(l),v=Ss(o);t=Ss(v)}var n=t.cloneNode(!0);return Ts(n,n),n}}function Tr(s,e){return Uo(s,e,"svg")}function ts(s=""){if(!we){var e=ys(s+"");return Ts(e,e),e}var r=Ee;return r.nodeType!==Qr?(r.before(r=ys()),cs(r)):zi(r),Ts(r,r),r}function be(){if(we)return Ts(Ee,null),Ee;var s=document.createDocumentFragment(),e=document.createComment(""),r=ys();return s.append(e,r),Ts(e,r),s}function x(s,e){if(we){var r=Te;((r.f&tr)===0||r.nodes.end===null)&&(r.nodes.end=Ee),nr();return}s!==null&&s.before(e)}function Go(s){return s.endsWith("capture")&&s!=="gotpointercapture"&&s!=="lostpointercapture"}const Ko=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Wo(s){return Ko.includes(s)}const Yo={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 Zo(s){return s=s.toLowerCase(),Yo[s]??s}const Xo=["touchstart","touchmove"];function Jo(s){return Xo.includes(s)}const Qo=["textarea","script","style","title"];function $o(s){return Qo.includes(s)}let Si=!0;function Mi(s){Si=s}function V(s,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(s.__t??=s.nodeValue)&&(s.__t=r,s.nodeValue=r+"")}function Ut(s,e){return Gt(s,e)}function en(s,e){ll(),e.intro=e.intro??!1;const r=e.target,i=we,l=Ee;try{for(var t=Ss(r);t&&(t.nodeType!==Rr||t.data!==Hi);)t=Xs(t);if(!t)throw qr;ws(!0),cs(t);const o=Gt(s,{...e,anchor:t});return ws(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
3
|
-
`).some(v=>v.startsWith("https://svelte.dev/e/")))throw o;return o!==qr&&console.warn("Failed to hydrate: ",o),e.recover===!1&&co(),ll(),tl(r),ws(!1),Ut(s,e)}finally{ws(i),cs(l)}}const Ci=new Map;function Gt(s,{target:e,anchor:r,props:i={},events:l,context:t,intro:o=!0,transformError:v}){ll();var n=void 0,f=Ro(()=>{var m=r??e.appendChild(ys());zo(m,{pending:()=>{}},w=>{ae({});var k=$e;if(t&&(k.c=t),l&&(i.$$events=l),we&&Ts(w,null),Si=o,n=s(w,i)||{},Si=!0,we&&(Te.nodes.end=Ee,Ee===null||Ee.nodeType!==Rr||Ee.data!==Vi))throw $r(),qr;ce()},v);var g=new Set,b=w=>{for(var k=0;k<w.length;k++){var q=w[k];if(!g.has(q)){g.add(q);var j=Jo(q);for(const I of[e,document]){var h=Ci.get(I);h===void 0&&(h=new Map,Ci.set(I,h));var L=h.get(q);L===void 0?(I.addEventListener(q,ml,{passive:j}),h.set(q,1)):h.set(q,L+1)}}}};return b(bi(Ot)),fl.add(b),()=>{for(var w of g)for(const j of[e,document]){var k=Ci.get(j),q=k.get(w);--q==0?(j.removeEventListener(w,ml),k.delete(w),k.size===0&&Ci.delete(j)):k.set(w,q)}fl.delete(b),m!==r&&m.parentNode?.removeChild(m)}});return dl.set(n,f),n}let dl=new WeakMap;function sn(s,e){const r=dl.get(s);return r?(dl.delete(s),r(e)):Promise.resolve()}class ul{anchor;#e=new Map;#s=new Map;#r=new Map;#a=new Set;#i=!0;constructor(e,r=!0){this.anchor=e,this.#i=r}#c=()=>{var e=Fe;if(this.#e.has(e)){var r=this.#e.get(e),i=this.#s.get(r);if(i)ol(i),this.#a.delete(r);else{var l=this.#r.get(r);l&&(this.#s.set(r,l.effect),this.#r.delete(r),l.fragment.lastChild.remove(),this.anchor.before(l.fragment),i=l.effect)}for(const[t,o]of this.#e){if(this.#e.delete(t),t===e)break;const v=this.#r.get(o);v&&(ms(v.effect),this.#r.delete(o))}for(const[t,o]of this.#s){if(t===r||this.#a.has(t))continue;const v=()=>{if(Array.from(this.#e.values()).includes(t)){var f=document.createDocumentFragment();Mt(o,f),f.append(ys()),this.#r.set(t,{effect:o,fragment:f})}else ms(o);this.#a.delete(t),this.#s.delete(t)};this.#i||!i?(this.#a.add(t),Lr(o,v,!1)):v()}}};#l=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[i,l]of this.#r)r.includes(i)||(ms(l.effect),this.#r.delete(i))};ensure(e,r){var i=Fe,l=gt();if(r&&!this.#s.has(e)&&!this.#r.has(e))if(l){var t=document.createDocumentFragment(),o=ys();t.append(o),this.#r.set(e,{effect:Ms(()=>r(o)),fragment:t})}else this.#s.set(e,Ms(()=>r(this.anchor)));if(this.#e.set(i,e),l){for(const[v,n]of this.#s)v===e?i.unskip_effect(n):i.skip_effect(n);for(const[v,n]of this.#r)v===e?i.unskip_effect(n.effect):i.skip_effect(n.effect);i.oncommit(this.#c),i.ondiscard(this.#l)}else we&&(this.anchor=Ee),this.#c()}}function Kt(s,e,...r){var i=new ul(s);ti(()=>{const l=e()??null;i.ensure(l,l&&(t=>l(t,...r)))},ar)}function rn(s){$e===null&&Ji(),Or&&$e.l!==null?an($e).m.push(s):Fs(()=>{const e=Gs(s);if(typeof e=="function")return e})}function ln(s){$e===null&&Ji(),rn(()=>()=>Gs(s))}function tn(s,e,{bubbles:r=!1,cancelable:i=!1}={}){return new CustomEvent(s,{detail:e,bubbles:r,cancelable:i})}function xs(){const s=$e;return s===null&&Ji(),(e,r,i)=>{const l=s.s.$$events?.[e];if(l){const t=gi(l)?l.slice():[l],o=tn(e,r,i);for(const v of t)v.call(s.x,o);return!o.defaultPrevented}return!0}}function an(s){var e=s.l;return e.u??={a:[],b:[],m:[]}}function U(s,e,r=!1){we&&nr();var i=new ul(s),l=r?ar:0;function t(o,v){if(we){const m=Kl(s);var n;if(m===Hi?n=0:m===pi?n=!1:n=parseInt(m.substring(1)),o!==n){var f=wi();cs(f),i.anchor=f,ws(!1),i.ensure(o,v),ws(!0);return}}i.ensure(o,v)}ti(()=>{var o=!1;e((v,n=0)=>{o=!0,t(n,v)}),o||t(!1,null)},l)}function Ze(s,e){return e}function cn(s,e,r){for(var i=[],l=e.length,t,o=e.length,v=0;v<l;v++){let g=e[v];Lr(g,()=>{if(t){if(t.pending.delete(g),t.done.add(g),t.pending.size===0){var b=s.outrogroups;pl(bi(t.done)),b.delete(t),b.size===0&&(s.outrogroups=null)}}else o-=1},!1)}if(o===0){var n=i.length===0&&r!==null;if(n){var f=r,m=f.parentNode;tl(m),m.append(f),s.items.clear()}pl(e,!n)}else t={pending:new Set(e),done:new Set},(s.outrogroups??=new Set).add(t)}function pl(s,e=!0){for(var r=0;r<s.length;r++)ms(s[r],e)}var Wt;function Se(s,e,r,i,l,t=null){var o=s,v=new Map,n=(e&Al)!==0;if(n){var f=s;o=we?cs(Ss(f)):f.appendChild(ys())}we&&nr();var m=null,g=ii(()=>{var h=r();return gi(h)?h:h==null?[]:bi(h)}),b,w=!0;function k(){j.fallback=m,on(j,b,o,e,i),m!==null&&(b.length===0?(m.f&cr)===0?ol(m):(m.f^=cr,vi(m,null,o)):Lr(m,()=>{m=null}))}var q=ti(()=>{b=u(g);var h=b.length;let L=!1;if(we){var I=Kl(o)===pi;I!==(h===0)&&(o=wi(),cs(o),ws(!1),L=!0)}for(var E=new Set,A=Fe,C=gt(),y=0;y<h;y+=1){we&&Ee.nodeType===Rr&&Ee.data===Vi&&(o=Ee,L=!0,ws(!1));var _=b[y],R=i(_,y),S=w?null:v.get(R);S?(S.v&&Fr(S.v,_),S.i&&Fr(S.i,y),C&&A.unskip_effect(S.e)):(S=nn(v,w?o:Wt??=ys(),_,R,y,l,e,r),w||(S.e.f|=cr),v.set(R,S)),E.add(R)}if(h===0&&t&&!m&&(w?m=Ms(()=>t(o)):(m=Ms(()=>t(Wt??=ys())),m.f|=cr)),h>E.size&&ro(),we&&h>0&&cs(wi()),!w)if(C){for(const[M,D]of v)E.has(M)||A.skip_effect(D.e);A.oncommit(k),A.ondiscard(()=>{})}else k();L&&ws(!0),u(g)}),j={effect:q,items:v,outrogroups:null,fallback:m};w=!1,we&&(o=Ee)}function ni(s){for(;s!==null&&(s.f&Ws)===0;)s=s.next;return s}function on(s,e,r,i,l){var t=(i&Dc)!==0,o=e.length,v=s.items,n=ni(s.effect.first),f,m=null,g,b=[],w=[],k,q,j,h;if(t)for(h=0;h<o;h+=1)k=e[h],q=l(k,h),j=v.get(q).e,(j.f&cr)===0&&(j.nodes?.a?.measure(),(g??=new Set).add(j));for(h=0;h<o;h+=1){if(k=e[h],q=l(k,h),j=v.get(q).e,s.outrogroups!==null)for(const S of s.outrogroups)S.pending.delete(j),S.done.delete(j);if((j.f&cr)!==0)if(j.f^=cr,j===n)vi(j,null,r);else{var L=m?m.next:n;j===s.effect.last&&(s.effect.last=j.prev),j.prev&&(j.prev.next=j.next),j.next&&(j.next.prev=j.prev),yr(s,m,j),yr(s,j,L),vi(j,L,r),m=j,b=[],w=[],n=ni(m.next);continue}if((j.f&Ls)!==0&&(ol(j),t&&(j.nodes?.a?.unfix(),(g??=new Set).delete(j))),j!==n){if(f!==void 0&&f.has(j)){if(b.length<w.length){var I=w[0],E;m=I.prev;var A=b[0],C=b[b.length-1];for(E=0;E<b.length;E+=1)vi(b[E],I,r);for(E=0;E<w.length;E+=1)f.delete(w[E]);yr(s,A.prev,C.next),yr(s,m,A),yr(s,C,I),n=I,m=C,h-=1,b=[],w=[]}else f.delete(j),vi(j,n,r),yr(s,j.prev,j.next),yr(s,j,m===null?s.effect.first:m.next),yr(s,m,j),m=j;continue}for(b=[],w=[];n!==null&&n!==j;)(f??=new Set).add(n),w.push(n),n=ni(n.next);if(n===null)continue}(j.f&cr)===0&&b.push(j),m=j,n=ni(j.next)}if(s.outrogroups!==null){for(const S of s.outrogroups)S.pending.size===0&&(pl(bi(S.done)),s.outrogroups?.delete(S));s.outrogroups.size===0&&(s.outrogroups=null)}if(n!==null||f!==void 0){var y=[];if(f!==void 0)for(j of f)(j.f&Ls)===0&&y.push(j);for(;n!==null;)(n.f&Ls)===0&&n!==s.fallback&&y.push(n),n=ni(n.next);var _=y.length;if(_>0){var R=(i&Al)!==0&&o===0?r:null;if(t){for(h=0;h<_;h+=1)y[h].nodes?.a?.measure();for(h=0;h<_;h+=1)y[h].nodes?.a?.fix()}cn(s,y,R)}}t&&js(()=>{if(g!==void 0)for(j of g)j.nodes?.a?.apply()})}function nn(s,e,r,i,l,t,o,v){var n=(o&Ac)!==0?(o&Pc)===0?nt(r,!1,!1):Cr(r):null,f=(o&Bc)!==0?Cr(l):null;return{v:n,i:f,e:Ms(()=>(t(e,n??r,f??l,v),()=>{s.delete(i)}))}}function vi(s,e,r){if(s.nodes)for(var i=s.nodes.start,l=s.nodes.end,t=e&&(e.f&cr)===0?e.nodes.start:r;i!==null;){var o=Xs(i);if(t.before(i),i===l)return;i=o}}function yr(s,e,r){e===null?s.effect.first=r:e.next=r,r===null?s.effect.last=e:r.prev=e}function qs(s,e,r=!1,i=!1,l=!1){var t=s,o="";P(()=>{var v=Te;if(o===(o=e()??"")){we&&nr();return}if(v.nodes!==null&&(zt(v.nodes.start,v.nodes.end),v.nodes=null),o!==""){if(we){Ee.data;for(var n=nr(),f=n;n!==null&&(n.nodeType!==Rr||n.data!=="");)f=n,n=Xs(n);if(n===null)throw $r(),qr;Ts(Ee,f),t=cs(n);return}var m=r?Pl:i?Kc:void 0,g=Hr(r?"svg":i?"math":"template",m);g.innerHTML=o;var b=r||i?g:g.content;if(Ts(Ss(b),b.lastChild),r||i)for(;Ss(b);)t.before(Ss(b));else t.before(b)}})}function qe(s,e,r,i,l){we&&nr();var t=e.$$slots?.[r],o=!1;t===!0&&(t=e[r==="default"?"children":r],o=!0),t===void 0?l!==null&&l(s):t(s,o?()=>i:i)}function Li(s){const e={};s.children&&(e.default=!0);for(const r in s.$$slots)e[r]=!0;return e}const vn=()=>performance.now(),mr={tick:s=>requestAnimationFrame(s),now:()=>vn(),tasks:new Set};function Yt(){const s=mr.now();mr.tasks.forEach(e=>{e.c(s)||(mr.tasks.delete(e),e.f())}),mr.tasks.size!==0&&mr.tick(Yt)}function fn(s){let e;return mr.tasks.size===0&&mr.tick(Yt),{promise:new Promise(r=>{mr.tasks.add(e={c:s,f:r})}),abort(){mr.tasks.delete(e)}}}function Ei(s,e){Vr(()=>{s.dispatchEvent(new CustomEvent(e))})}function mn(s){if(s==="float")return"cssFloat";if(s==="offset")return"cssOffset";if(s.startsWith("--"))return s;const e=s.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function Zt(s){const e={},r=s.split(";");for(const i of r){const[l,t]=i.split(":");if(!l||t===void 0)break;const o=mn(l.trim());e[o]=t.trim()}return e}const dn=s=>s;function gl(s,e,r,i){var l=(s&Vc)!==0,t="both",o,v=e.inert,n=e.style.overflow,f,m;function g(){return Vr(()=>o??=r()(e,i?.()??{},{direction:t}))}var b={is_global:l,in(){e.inert=v,f=bl(e,g(),m,1,()=>{Ei(e,"introend"),f?.abort(),f=o=void 0,e.style.overflow=n})},out(j){e.inert=!0,m=bl(e,g(),f,0,()=>{Ei(e,"outroend"),j?.()})},stop:()=>{f?.abort(),m?.abort()}},w=Te;if((w.nodes.t??=[]).push(b),Si){var k=l;if(!k){for(var q=w.parent;q&&(q.f&ar)!==0;)for(;(q=q.parent)&&(q.f&er)===0;);k=!q||(q.f&tr)!==0}k&&kr(()=>{Gs(()=>b.in())})}}function bl(s,e,r,i,l){var t=i===1;if(Jc(e)){var o,v=!1;return js(()=>{if(!v){var j=e({direction:t?"in":"out"});o=bl(s,j,r,i,l)}}),{abort:()=>{v=!0,o?.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(r?.deactivate(),!e?.duration&&!e?.delay)return Ei(s,t?"introstart":"outrostart"),l(),{abort:hs,deactivate:hs,reset:hs,t:()=>i};const{delay:n=0,css:f,tick:m,easing:g=dn}=e;var b=[];if(t&&r===void 0&&(m&&m(0,1),f)){var w=Zt(f(0,1));b.push(w,w)}var k=()=>1-i,q=s.animate(b,{duration:n,fill:"forwards"});return q.onfinish=()=>{q.cancel(),Ei(s,t?"introstart":"outrostart");var j=r?.t()??1-i;r?.abort();var h=i-j,L=e.duration*Math.abs(h),I=[];if(L>0){var E=!1;if(f)for(var A=Math.ceil(L/16.666666666666668),C=0;C<=A;C+=1){var y=j+h*g(C/A),_=Zt(f(y,1-y));I.push(_),E||=_.overflow==="hidden"}E&&(s.style.overflow="hidden"),k=()=>{var R=q.currentTime;return j+h*g(R/L)},m&&fn(()=>{if(q.playState!=="running")return!1;var R=k();return m(R,1-R),!0})}q=s.animate(I,{duration:L,fill:"forwards"}),q.onfinish=()=>{k=()=>i,m?.(i,1-i),l()}},{abort:()=>{q&&(q.cancel(),q.effect=null,q.onfinish=hs)},deactivate:()=>{l=hs},reset:()=>{i===0&&m?.(1,0)},t:()=>k()}}function as(s,e,r,i,l,t){let o=we;we&&nr();var v=null;we&&Ee.nodeType===eo&&(v=Ee,nr());var n=we?Ee:s,f=new ul(n,!1);ti(()=>{const m=e()||null;var g=m==="svg"?Pl:void 0;if(m===null){f.ensure(null,null),Mi(!0);return}return f.ensure(m,b=>{if(m){if(v=we?v:Hr(m,g),Ts(v,v),i){we&&$o(m)&&v.append(document.createComment(""));var w=we?Ss(v):v.appendChild(ys());we&&(w===null?ws(!1):cs(w)),i(v,w)}Te.nodes.end=v,b.before(v)}we&&cs(b)}),Mi(!0),()=>{m&&Mi(!1)}},ar),Ur(()=>{Mi(!0)}),o&&(ws(!0),cs(n))}function te(s,e){kr(()=>{var r=s.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+e.hash)){const l=Hr("style");l.id=e.hash,l.textContent=e.code,i.appendChild(l)}})}function Ar(s,e,r){kr(()=>{var i=Gs(()=>e(s,r?.())||{});if(r&&i?.update){var l=!1,t={};hr(()=>{var o=r();Rt(o),l&&Yl(t,o)&&(t=o,i.update(o))}),l=!0}if(i?.destroy)return()=>i.destroy()})}function un(s,e){var r=void 0,i;xt(()=>{r!==(r=e())&&(i&&(ms(i),i=null),r&&(i=Ms(()=>{kr(()=>r(s))})))})}function Xt(s){var e,r,i="";if(typeof s=="string"||typeof s=="number")i+=s;else if(typeof s=="object")if(Array.isArray(s)){var l=s.length;for(e=0;e<l;e++)s[e]&&(r=Xt(s[e]))&&(i&&(i+=" "),i+=r)}else for(r in s)s[r]&&(i&&(i+=" "),i+=r);return i}function pn(){for(var s,e,r=0,i="",l=arguments.length;r<l;r++)(s=arguments[r])&&(e=Xt(s))&&(i&&(i+=" "),i+=e);return i}function pe(s){return typeof s=="object"?pn(s):s??""}const Jt=[...`
|
|
3
|
+
`).some(v=>v.startsWith("https://svelte.dev/e/")))throw o;return o!==qr&&console.warn("Failed to hydrate: ",o),e.recover===!1&&co(),ll(),tl(r),ws(!1),Ut(s,e)}finally{ws(i),cs(l)}}const Ci=new Map;function Gt(s,{target:e,anchor:r,props:i={},events:l,context:t,intro:o=!0,transformError:v}){ll();var n=void 0,f=Ro(()=>{var m=r??e.appendChild(ys());zo(m,{pending:()=>{}},w=>{ae({});var k=$e;if(t&&(k.c=t),l&&(i.$$events=l),we&&Ts(w,null),Si=o,n=s(w,i)||{},Si=!0,we&&(Te.nodes.end=Ee,Ee===null||Ee.nodeType!==Rr||Ee.data!==Vi))throw $r(),qr;ce()},v);var g=new Set,b=w=>{for(var k=0;k<w.length;k++){var q=w[k];if(!g.has(q)){g.add(q);var j=Jo(q);for(const I of[e,document]){var h=Ci.get(I);h===void 0&&(h=new Map,Ci.set(I,h));var L=h.get(q);L===void 0?(I.addEventListener(q,ml,{passive:j}),h.set(q,1)):h.set(q,L+1)}}}};return b(bi(Ot)),fl.add(b),()=>{for(var w of g)for(const j of[e,document]){var k=Ci.get(j),q=k.get(w);--q==0?(j.removeEventListener(w,ml),k.delete(w),k.size===0&&Ci.delete(j)):k.set(w,q)}fl.delete(b),m!==r&&m.parentNode?.removeChild(m)}});return dl.set(n,f),n}let dl=new WeakMap;function sn(s,e){const r=dl.get(s);return r?(dl.delete(s),r(e)):Promise.resolve()}class ul{anchor;#e=new Map;#s=new Map;#r=new Map;#a=new Set;#i=!0;constructor(e,r=!0){this.anchor=e,this.#i=r}#c=()=>{var e=Fe;if(this.#e.has(e)){var r=this.#e.get(e),i=this.#s.get(r);if(i)ol(i),this.#a.delete(r);else{var l=this.#r.get(r);l&&(this.#s.set(r,l.effect),this.#r.delete(r),l.fragment.lastChild.remove(),this.anchor.before(l.fragment),i=l.effect)}for(const[t,o]of this.#e){if(this.#e.delete(t),t===e)break;const v=this.#r.get(o);v&&(ms(v.effect),this.#r.delete(o))}for(const[t,o]of this.#s){if(t===r||this.#a.has(t))continue;const v=()=>{if(Array.from(this.#e.values()).includes(t)){var f=document.createDocumentFragment();Mt(o,f),f.append(ys()),this.#r.set(t,{effect:o,fragment:f})}else ms(o);this.#a.delete(t),this.#s.delete(t)};this.#i||!i?(this.#a.add(t),Lr(o,v,!1)):v()}}};#l=e=>{this.#e.delete(e);const r=Array.from(this.#e.values());for(const[i,l]of this.#r)r.includes(i)||(ms(l.effect),this.#r.delete(i))};ensure(e,r){var i=Fe,l=gt();if(r&&!this.#s.has(e)&&!this.#r.has(e))if(l){var t=document.createDocumentFragment(),o=ys();t.append(o),this.#r.set(e,{effect:Ms(()=>r(o)),fragment:t})}else this.#s.set(e,Ms(()=>r(this.anchor)));if(this.#e.set(i,e),l){for(const[v,n]of this.#s)v===e?i.unskip_effect(n):i.skip_effect(n);for(const[v,n]of this.#r)v===e?i.unskip_effect(n.effect):i.skip_effect(n.effect);i.oncommit(this.#c),i.ondiscard(this.#l)}else we&&(this.anchor=Ee),this.#c()}}function Kt(s,e,...r){var i=new ul(s);ti(()=>{const l=e()??null;i.ensure(l,l&&(t=>l(t,...r)))},ar)}function rn(s){$e===null&&Ji(),Or&&$e.l!==null?an($e).m.push(s):Fs(()=>{const e=Gs(s);if(typeof e=="function")return e})}function ln(s){$e===null&&Ji(),rn(()=>()=>Gs(s))}function tn(s,e,{bubbles:r=!1,cancelable:i=!1}={}){return new CustomEvent(s,{detail:e,bubbles:r,cancelable:i})}function xs(){const s=$e;return s===null&&Ji(),(e,r,i)=>{const l=s.s.$$events?.[e];if(l){const t=gi(l)?l.slice():[l],o=tn(e,r,i);for(const v of t)v.call(s.x,o);return!o.defaultPrevented}return!0}}function an(s){var e=s.l;return e.u??={a:[],b:[],m:[]}}function U(s,e,r=!1){we&&nr();var i=new ul(s),l=r?ar:0;function t(o,v){if(we){const m=Kl(s);var n;if(m===Hi?n=0:m===pi?n=!1:n=parseInt(m.substring(1)),o!==n){var f=wi();cs(f),i.anchor=f,ws(!1),i.ensure(o,v),ws(!0);return}}i.ensure(o,v)}ti(()=>{var o=!1;e((v,n=0)=>{o=!0,t(n,v)}),o||t(!1,null)},l)}function Ze(s,e){return e}function cn(s,e,r){for(var i=[],l=e.length,t,o=e.length,v=0;v<l;v++){let g=e[v];Lr(g,()=>{if(t){if(t.pending.delete(g),t.done.add(g),t.pending.size===0){var b=s.outrogroups;pl(bi(t.done)),b.delete(t),b.size===0&&(s.outrogroups=null)}}else o-=1},!1)}if(o===0){var n=i.length===0&&r!==null;if(n){var f=r,m=f.parentNode;tl(m),m.append(f),s.items.clear()}pl(e,!n)}else t={pending:new Set(e),done:new Set},(s.outrogroups??=new Set).add(t)}function pl(s,e=!0){for(var r=0;r<s.length;r++)ms(s[r],e)}var Wt;function Se(s,e,r,i,l,t=null){var o=s,v=new Map,n=(e&Al)!==0;if(n){var f=s;o=we?cs(Ss(f)):f.appendChild(ys())}we&&nr();var m=null,g=ii(()=>{var h=r();return gi(h)?h:h==null?[]:bi(h)}),b,w=!0;function k(){j.fallback=m,on(j,b,o,e,i),m!==null&&(b.length===0?(m.f&cr)===0?ol(m):(m.f^=cr,vi(m,null,o)):Lr(m,()=>{m=null}))}var q=ti(()=>{b=u(g);var h=b.length;let L=!1;if(we){var I=Kl(o)===pi;I!==(h===0)&&(o=wi(),cs(o),ws(!1),L=!0)}for(var E=new Set,A=Fe,C=gt(),y=0;y<h;y+=1){we&&Ee.nodeType===Rr&&Ee.data===Vi&&(o=Ee,L=!0,ws(!1));var _=b[y],R=i(_,y),S=w?null:v.get(R);S?(S.v&&Fr(S.v,_),S.i&&Fr(S.i,y),C&&A.unskip_effect(S.e)):(S=nn(v,w?o:Wt??=ys(),_,R,y,l,e,r),w||(S.e.f|=cr),v.set(R,S)),E.add(R)}if(h===0&&t&&!m&&(w?m=Ms(()=>t(o)):(m=Ms(()=>t(Wt??=ys())),m.f|=cr)),h>E.size&&ro(),we&&h>0&&cs(wi()),!w)if(C){for(const[M,D]of v)E.has(M)||A.skip_effect(D.e);A.oncommit(k),A.ondiscard(()=>{})}else k();L&&ws(!0),u(g)}),j={effect:q,items:v,outrogroups:null,fallback:m};w=!1,we&&(o=Ee)}function ni(s){for(;s!==null&&(s.f&Ws)===0;)s=s.next;return s}function on(s,e,r,i,l){var t=(i&Dc)!==0,o=e.length,v=s.items,n=ni(s.effect.first),f,m=null,g,b=[],w=[],k,q,j,h;if(t)for(h=0;h<o;h+=1)k=e[h],q=l(k,h),j=v.get(q).e,(j.f&cr)===0&&(j.nodes?.a?.measure(),(g??=new Set).add(j));for(h=0;h<o;h+=1){if(k=e[h],q=l(k,h),j=v.get(q).e,s.outrogroups!==null)for(const S of s.outrogroups)S.pending.delete(j),S.done.delete(j);if((j.f&cr)!==0)if(j.f^=cr,j===n)vi(j,null,r);else{var L=m?m.next:n;j===s.effect.last&&(s.effect.last=j.prev),j.prev&&(j.prev.next=j.next),j.next&&(j.next.prev=j.prev),yr(s,m,j),yr(s,j,L),vi(j,L,r),m=j,b=[],w=[],n=ni(m.next);continue}if((j.f&Ls)!==0&&(ol(j),t&&(j.nodes?.a?.unfix(),(g??=new Set).delete(j))),j!==n){if(f!==void 0&&f.has(j)){if(b.length<w.length){var I=w[0],E;m=I.prev;var A=b[0],C=b[b.length-1];for(E=0;E<b.length;E+=1)vi(b[E],I,r);for(E=0;E<w.length;E+=1)f.delete(w[E]);yr(s,A.prev,C.next),yr(s,m,A),yr(s,C,I),n=I,m=C,h-=1,b=[],w=[]}else f.delete(j),vi(j,n,r),yr(s,j.prev,j.next),yr(s,j,m===null?s.effect.first:m.next),yr(s,m,j),m=j;continue}for(b=[],w=[];n!==null&&n!==j;)(f??=new Set).add(n),w.push(n),n=ni(n.next);if(n===null)continue}(j.f&cr)===0&&b.push(j),m=j,n=ni(j.next)}if(s.outrogroups!==null){for(const S of s.outrogroups)S.pending.size===0&&(pl(bi(S.done)),s.outrogroups?.delete(S));s.outrogroups.size===0&&(s.outrogroups=null)}if(n!==null||f!==void 0){var y=[];if(f!==void 0)for(j of f)(j.f&Ls)===0&&y.push(j);for(;n!==null;)(n.f&Ls)===0&&n!==s.fallback&&y.push(n),n=ni(n.next);var _=y.length;if(_>0){var R=(i&Al)!==0&&o===0?r:null;if(t){for(h=0;h<_;h+=1)y[h].nodes?.a?.measure();for(h=0;h<_;h+=1)y[h].nodes?.a?.fix()}cn(s,y,R)}}t&&js(()=>{if(g!==void 0)for(j of g)j.nodes?.a?.apply()})}function nn(s,e,r,i,l,t,o,v){var n=(o&Ac)!==0?(o&Pc)===0?nt(r,!1,!1):Cr(r):null,f=(o&Bc)!==0?Cr(l):null;return{v:n,i:f,e:Ms(()=>(t(e,n??r,f??l,v),()=>{s.delete(i)}))}}function vi(s,e,r){if(s.nodes)for(var i=s.nodes.start,l=s.nodes.end,t=e&&(e.f&cr)===0?e.nodes.start:r;i!==null;){var o=Xs(i);if(t.before(i),i===l)return;i=o}}function yr(s,e,r){e===null?s.effect.first=r:e.next=r,r===null?s.effect.last=e:r.prev=e}function qs(s,e,r=!1,i=!1,l=!1){var t=s,o="";P(()=>{var v=Te;if(o===(o=e()??"")){we&&nr();return}if(v.nodes!==null&&(zt(v.nodes.start,v.nodes.end),v.nodes=null),o!==""){if(we){Ee.data;for(var n=nr(),f=n;n!==null&&(n.nodeType!==Rr||n.data!=="");)f=n,n=Xs(n);if(n===null)throw $r(),qr;Ts(Ee,f),t=cs(n);return}var m=r?Pl:i?Kc:void 0,g=Hr(r?"svg":i?"math":"template",m);g.innerHTML=o;var b=r||i?g:g.content;if(Ts(Ss(b),b.lastChild),r||i)for(;Ss(b);)t.before(Ss(b));else t.before(b)}})}function qe(s,e,r,i,l){we&&nr();var t=e.$$slots?.[r],o=!1;t===!0&&(t=e[r==="default"?"children":r],o=!0),t===void 0?l!==null&&l(s):t(s,o?()=>i:i)}function Li(s){const e={};s.children&&(e.default=!0);for(const r in s.$$slots)e[r]=!0;return e}const vn=()=>performance.now(),mr={tick:s=>requestAnimationFrame(s),now:()=>vn(),tasks:new Set};function Yt(){const s=mr.now();mr.tasks.forEach(e=>{e.c(s)||(mr.tasks.delete(e),e.f())}),mr.tasks.size!==0&&mr.tick(Yt)}function fn(s){let e;return mr.tasks.size===0&&mr.tick(Yt),{promise:new Promise(r=>{mr.tasks.add(e={c:s,f:r})}),abort(){mr.tasks.delete(e)}}}function Ei(s,e){Vr(()=>{s.dispatchEvent(new CustomEvent(e))})}function mn(s){if(s==="float")return"cssFloat";if(s==="offset")return"cssOffset";if(s.startsWith("--"))return s;const e=s.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function Zt(s){const e={},r=s.split(";");for(const i of r){const[l,t]=i.split(":");if(!l||t===void 0)break;const o=mn(l.trim());e[o]=t.trim()}return e}const dn=s=>s;function gl(s,e,r,i){var l=(s&Vc)!==0,t="both",o,v=e.inert,n=e.style.overflow,f,m;function g(){return Vr(()=>o??=r()(e,i?.()??{},{direction:t}))}var b={is_global:l,in(){e.inert=v,f=bl(e,g(),m,1,()=>{Ei(e,"introend"),f?.abort(),f=o=void 0,e.style.overflow=n})},out(j){e.inert=!0,m=bl(e,g(),f,0,()=>{Ei(e,"outroend"),j?.()})},stop:()=>{f?.abort(),m?.abort()}},w=Te;if((w.nodes.t??=[]).push(b),Si){var k=l;if(!k){for(var q=w.parent;q&&(q.f&ar)!==0;)for(;(q=q.parent)&&(q.f&er)===0;);k=!q||(q.f&tr)!==0}k&&kr(()=>{Gs(()=>b.in())})}}function bl(s,e,r,i,l){var t=i===1;if(Jc(e)){var o,v=!1;return js(()=>{if(!v){var j=e({direction:t?"in":"out"});o=bl(s,j,r,i,l)}}),{abort:()=>{v=!0,o?.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(r?.deactivate(),!e?.duration&&!e?.delay)return Ei(s,t?"introstart":"outrostart"),l(),{abort:hs,deactivate:hs,reset:hs,t:()=>i};const{delay:n=0,css:f,tick:m,easing:g=dn}=e;var b=[];if(t&&r===void 0&&(m&&m(0,1),f)){var w=Zt(f(0,1));b.push(w,w)}var k=()=>1-i,q=s.animate(b,{duration:n,fill:"forwards"});return q.onfinish=()=>{q.cancel(),Ei(s,t?"introstart":"outrostart");var j=r?.t()??1-i;r?.abort();var h=i-j,L=e.duration*Math.abs(h),I=[];if(L>0){var E=!1;if(f)for(var A=Math.ceil(L/16.666666666666668),C=0;C<=A;C+=1){var y=j+h*g(C/A),_=Zt(f(y,1-y));I.push(_),E||=_.overflow==="hidden"}E&&(s.style.overflow="hidden"),k=()=>{var R=q.currentTime;return j+h*g(R/L)},m&&fn(()=>{if(q.playState!=="running")return!1;var R=k();return m(R,1-R),!0})}q=s.animate(I,{duration:L,fill:"forwards"}),q.onfinish=()=>{k=()=>i,m?.(i,1-i),l()}},{abort:()=>{q&&(q.cancel(),q.effect=null,q.onfinish=hs)},deactivate:()=>{l=hs},reset:()=>{i===0&&m?.(1,0)},t:()=>k()}}function as(s,e,r,i,l,t){let o=we;we&&nr();var v=null;we&&Ee.nodeType===eo&&(v=Ee,nr());var n=we?Ee:s,f=new ul(n,!1);ti(()=>{const m=e()||null;var g=m==="svg"?Pl:void 0;if(m===null){f.ensure(null,null),Mi(!0);return}return f.ensure(m,b=>{if(m){if(v=we?v:Hr(m,g),Ts(v,v),i){we&&$o(m)&&v.append(document.createComment(""));var w=we?Ss(v):v.appendChild(ys());we&&(w===null?ws(!1):cs(w)),i(v,w)}Te.nodes.end=v,b.before(v)}we&&cs(b)}),Mi(!0),()=>{m&&Mi(!1)}},ar),Ur(()=>{Mi(!0)}),o&&(ws(!0),cs(n))}function te(s,e){kr(()=>{var r=s.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+e.hash)){const l=Hr("style");l.nonce=nonce;l.id=e.hash,l.textContent=e.code,i.appendChild(l)}})}function Ar(s,e,r){kr(()=>{var i=Gs(()=>e(s,r?.())||{});if(r&&i?.update){var l=!1,t={};hr(()=>{var o=r();Rt(o),l&&Yl(t,o)&&(t=o,i.update(o))}),l=!0}if(i?.destroy)return()=>i.destroy()})}function un(s,e){var r=void 0,i;xt(()=>{r!==(r=e())&&(i&&(ms(i),i=null),r&&(i=Ms(()=>{kr(()=>r(s))})))})}function Xt(s){var e,r,i="";if(typeof s=="string"||typeof s=="number")i+=s;else if(typeof s=="object")if(Array.isArray(s)){var l=s.length;for(e=0;e<l;e++)s[e]&&(r=Xt(s[e]))&&(i&&(i+=" "),i+=r)}else for(r in s)s[r]&&(i&&(i+=" "),i+=r);return i}function pn(){for(var s,e,r=0,i="",l=arguments.length;r<l;r++)(s=arguments[r])&&(e=Xt(s))&&(i&&(i+=" "),i+=e);return i}function pe(s){return typeof s=="object"?pn(s):s??""}const Jt=[...`
|
|
4
4
|
\r\f \v\uFEFF`];function gn(s,e,r){var i=s==null?"":""+s;if(e&&(i=i?i+" "+e:e),r){for(var l of Object.keys(r))if(r[l])i=i?i+" "+l:l;else if(i.length)for(var t=l.length,o=0;(o=i.indexOf(l,o))>=0;){var v=o+t;(o===0||Jt.includes(i[o-1]))&&(v===i.length||Jt.includes(i[v]))?i=(o===0?"":i.substring(0,o))+i.substring(v+1):o=v}}return i===""?null:i}function Qt(s,e=!1){var r=e?" !important;":";",i="";for(var l of Object.keys(s)){var t=s[l];t!=null&&t!==""&&(i+=" "+l+": "+t+r)}return i}function kl(s){return s[0]!=="-"||s[1]!=="-"?s.toLowerCase():s}function bn(s,e){if(e){var r="",i,l;if(Array.isArray(e)?(i=e[0],l=e[1]):i=e,s){s=String(s).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var t=!1,o=0,v=!1,n=[];i&&n.push(...Object.keys(i).map(kl)),l&&n.push(...Object.keys(l).map(kl));var f=0,m=-1;const q=s.length;for(var g=0;g<q;g++){var b=s[g];if(v?b==="/"&&s[g-1]==="*"&&(v=!1):t?t===b&&(t=!1):b==="/"&&s[g+1]==="*"?v=!0:b==='"'||b==="'"?t=b:b==="("?o++:b===")"&&o--,!v&&t===!1&&o===0){if(b===":"&&m===-1)m=g;else if(b===";"||g===q-1){if(m!==-1){var w=kl(s.substring(f,m).trim());if(!n.includes(w)){b!==";"&&g++;var k=s.substring(f,g).trim();r+=" "+k+";"}}f=g+1,m=-1}}}}return i&&(r+=Qt(i)),l&&(r+=Qt(l,!0)),r=r.trim(),r===""?null:r}return s==null?null:String(s)}function ee(s,e,r,i,l,t){var o=s.__className;if(we||o!==r||o===void 0){var v=gn(r,i,t);(!we||v!==s.getAttribute("class"))&&(v==null?s.removeAttribute("class"):e?s.className=v:s.setAttribute("class",v)),s.__className=r}else if(t&&l!==t)for(var n in t){var f=!!t[n];(l==null||f!==!!l[n])&&s.classList.toggle(n,f)}return t}function hl(s,e={},r,i){for(var l in r){var t=r[l];e[l]!==t&&(r[l]==null?s.style.removeProperty(l):s.style.setProperty(l,t,i))}}function Qs(s,e,r,i){var l=s.__style;if(we||l!==e){var t=bn(e,i);(!we||t!==s.getAttribute("style"))&&(t==null?s.removeAttribute("style"):s.style.cssText=t),s.__style=e}else i&&(Array.isArray(i)?(hl(s,r?.[0],i[0]),hl(s,r?.[1],i[1],"important")):hl(s,r,i));return i}function Ii(s,e,r=!1){if(s.multiple){if(e==null)return;if(!gi(e))return po();for(var i of s.options)i.selected=e.includes(fi(i));return}for(i of s.options){var l=fi(i);if(mt(l,e)){i.selected=!0;return}}(!r||e!==void 0)&&(s.selectedIndex=-1)}function $t(s){var e=new MutationObserver(()=>{Ii(s,s.__value)});e.observe(s,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Ur(()=>{e.disconnect()})}function ea(s,e,r=e){var i=new WeakSet,l=!0;ji(s,"change",t=>{var o=t?"[selected]":":checked",v;if(s.multiple)v=[].map.call(s.querySelectorAll(o),fi);else{var n=s.querySelector(o)??s.querySelector("option:not([disabled])");v=n&&fi(n)}r(v),Fe!==null&&i.add(Fe)}),kr(()=>{var t=e();if(s===document.activeElement){var o=xi??Fe;if(i.has(o))return}if(Ii(s,t,l),l&&t===void 0){var v=s.querySelector(":checked");v!==null&&(t=fi(v),r(t))}s.__value=t,l=!1}),$t(s)}function fi(s){return"__value"in s?s.__value:s.value}const Br=Symbol("class"),mi=Symbol("style"),sa=Symbol("is custom element"),ra=Symbol("is html"),kn=Jr?"link":"LINK",hn=Jr?"input":"INPUT",wn=Jr?"option":"OPTION",yn=Jr?"select":"SELECT",xn=Jr?"progress":"PROGRESS";function As(s){if(we){var e=!1,r=()=>{if(!e){if(e=!0,s.hasAttribute("value")){var i=s.value;z(s,"value",null),s.value=i}if(s.hasAttribute("checked")){var l=s.checked;z(s,"checked",null),s.checked=l}}};s.__on_r=r,js(r),kt()}}function Ti(s,e){var r=Ai(s);r.value===(r.value=e??void 0)||s.value===e&&(e!==0||s.nodeName!==xn)||(s.value=e??"")}function qn(s,e){var r=Ai(s);r.checked!==(r.checked=e??void 0)&&(s.checked=e)}function zn(s,e){e?s.hasAttribute("selected")||s.setAttribute("selected",""):s.removeAttribute("selected")}function z(s,e,r,i){var l=Ai(s);we&&(l[e]=s.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&s.nodeName===kn)||l[e]!==(l[e]=r)&&(e==="loading"&&(s[$c]=r),r==null?s.removeAttribute(e):typeof r!="string"&&la(s).includes(e)?s[e]=r:s.setAttribute(e,r))}function jn(s,e,r,i,l=!1,t=!1){if(we&&l&&s.nodeName===hn){var o=s,v=o.type==="checkbox"?"defaultChecked":"defaultValue";v in r||As(o)}var n=Ai(s),f=n[sa],m=!n[ra];let g=we&&f;g&&ws(!1);var b=e||{},w=s.nodeName===wn;for(var k in e)k in r||(r[k]=null);r.class?r.class=pe(r.class):(i||r[Br])&&(r.class=null),r[mi]&&(r.style??=null);var q=la(s);for(const C in r){let y=r[C];if(w&&C==="value"&&y==null){s.value=s.__value="",b[C]=y;continue}if(C==="class"){var j=s.namespaceURI==="http://www.w3.org/1999/xhtml";ee(s,j,y,i,e?.[Br],r[Br]),b[C]=y,b[Br]=r[Br];continue}if(C==="style"){Qs(s,y,e?.[mi],r[mi]),b[C]=y,b[mi]=r[mi];continue}var h=b[C];if(!(y===h&&!(y===void 0&&s.hasAttribute(C)))){b[C]=y;var L=C[0]+C[1];if(L!=="$$")if(L==="on"){const _={},R="$$"+C;let S=C.slice(2);var I=Wo(S);if(Go(S)&&(S=S.slice(0,-7),_.capture=!0),!I&&h){if(y!=null)continue;s.removeEventListener(S,b[R],_),b[R]=null}if(I)ze(S,s,y),He([S]);else if(y!=null){let M=function(D){b[C].call(this,D)};b[R]=Nt(S,s,M,_)}}else if(C==="style")z(s,C,y);else if(C==="autofocus")Ao(s,!!y);else if(!f&&(C==="__value"||C==="value"&&y!=null))s.value=s.__value=y;else if(C==="selected"&&w)zn(s,y);else{var E=C;m||(E=Zo(E));var A=E==="defaultValue"||E==="defaultChecked";if(y==null&&!f&&!A)if(n[C]=null,E==="value"||E==="checked"){let _=s;const R=e===void 0;if(E==="value"){let S=_.defaultValue;_.removeAttribute(E),_.defaultValue=S,_.value=_.__value=R?S:null}else{let S=_.defaultChecked;_.removeAttribute(E),_.defaultChecked=S,_.checked=R?S:!1}}else s.removeAttribute(C);else A||q.includes(E)&&(f||typeof y!="string")?(s[E]=y,E in n&&(n[E]=ns)):typeof y!="function"&&z(s,E,y)}}}return g&&ws(!0),b}function zs(s,e,r=[],i=[],l=[],t,o=!1,v=!1){tt(l,r,i,n=>{var f=void 0,m={},g=s.nodeName===yn,b=!1;if(xt(()=>{var k=e(...n.map(u)),q=jn(s,f,k,t,o,v);b&&g&&"value"in k&&Ii(s,k.value);for(let h of Object.getOwnPropertySymbols(m))k[h]||ms(m[h]);for(let h of Object.getOwnPropertySymbols(k)){var j=k[h];h.description===Wc&&(!f||j!==f[h])&&(m[h]&&ms(m[h]),m[h]=Ms(()=>un(s,()=>j))),q[h]=j}f=q}),g){var w=s;kr(()=>{Ii(w,f.value,!0),$t(w)})}b=!0})}function Ai(s){return s.__attributes??={[sa]:s.nodeName.includes("-"),[ra]:s.namespaceURI===Dl}}var ia=new Map;function la(s){var e=s.getAttribute("is")||s.nodeName,r=ia.get(e);if(r)return r;ia.set(e,r=[]);for(var i,l=s,t=Element.prototype;t!==l;){i=Rl(l);for(var o in i)i[o].set&&r.push(o);l=Gi(l)}return r}let wl=null;function _n(){if(wl===null){var s=Hr("select");s.innerHTML=Ht("<option><span>t</span></option>"),wl=s.firstChild?.firstChild?.nodeType===1}return wl}function Sn(s,e){var r=we;_n()||(ws(!1),s.textContent="",s.append(To("")));try{e()}finally{r&&(we?d(s):(ws(!0),cs(s)))}}function Bi(s,e,r=e){var i=new WeakSet;ji(s,"input",async l=>{var t=l?s.defaultValue:s.value;if(t=xl(s)?ql(t):t,r(t),Fe!==null&&i.add(Fe),await nl(),t!==(t=e())){var o=s.selectionStart,v=s.selectionEnd,n=s.value.length;if(s.value=t??"",v!==null){var f=s.value.length;o===v&&v===n&&f>n?(s.selectionStart=f,s.selectionEnd=f):(s.selectionStart=o,s.selectionEnd=Math.min(v,f))}}}),(we&&s.defaultValue!==s.value||Gs(e)==null&&s.value)&&(r(xl(s)?ql(s.value):s.value),Fe!==null&&i.add(Fe)),hr(()=>{var l=e();if(s===document.activeElement){var t=xi??Fe;if(i.has(t))return}xl(s)&&l===ql(s.value)||s.type==="date"&&!l&&!s.value||l!==s.value&&(s.value=l??"")})}const yl=new Set;function Di(s,e,r,i,l=i){var t=r.getAttribute("type")==="checkbox",o=s;let v=!1;if(e!==null)for(var n of e)o=o[n]??=[];o.push(r),ji(r,"change",()=>{var f=r.__value;t&&(f=aa(o,f,r.checked)),l(f)},()=>l(t?[]:null)),hr(()=>{var f=i();if(we&&r.defaultChecked!==r.checked){v=!0;return}t?(f=f||[],r.checked=f.includes(r.__value)):r.checked=mt(r.__value,f)}),Ur(()=>{var f=o.indexOf(r);f!==-1&&o.splice(f,1)}),yl.has(o)||(yl.add(o),js(()=>{o.sort((f,m)=>f.compareDocumentPosition(m)===4?-1:1),yl.delete(o)})),js(()=>{if(v){var f;if(t)f=aa(o,f,r.checked);else{var m=o.find(g=>g.checked);f=m?.__value}l(f)}})}function ta(s,e,r=e){ji(s,"change",i=>{var l=i?s.defaultChecked:s.checked;r(l)}),(we&&s.defaultChecked!==s.checked||Gs(e)==null)&&r(s.checked),hr(()=>{var i=e();s.checked=!!i})}function aa(s,e,r){for(var i=new Set,l=0;l<s.length;l+=1)s[l].checked&&i.add(s[l].__value);return r||i.delete(e),Array.from(i)}function xl(s){var e=s.type;return e==="number"||e==="range"}function ql(s){return s===""?null:+s}function ca(s,e){return s===e||s?.[or]===e}function Ks(s={},e,r,i){return kr(()=>{var l,t;return hr(()=>{l=t,t=[],Gs(()=>{s!==r(...t)&&(e(s,...t),l&&ca(r(...l),s)&&e(null,...l))})}),()=>{js(()=>{t&&ca(r(...t),s)&&e(null,...t)})}}),s}function Mn(s,e,r,i,l){var t=()=>{i(r[s])};r.addEventListener(e,t),l?hr(()=>{r[s]=l()}):t(),(r===document.body||r===window||r===document)&&Ur(()=>{r.removeEventListener(e,t)})}function oa(s=!1){const e=$e,r=e.l.u;if(!r)return;let i=()=>Rt(e.s);if(s){let l=0,t={};const o=ri(()=>{let v=!1;const n=e.s;for(const f in n)n[f]!==t[f]&&(t[f]=n[f],v=!0);return v&&l++,l});i=()=>u(o)}r.b.length&&yt(()=>{na(e,i),Ki(r.b)}),Fs(()=>{const l=Gs(()=>r.m.map(Qc));return()=>{for(const t of l)typeof t=="function"&&t()}}),r.a.length&&Fs(()=>{na(e,i),Ki(r.a)})}function na(s,e){if(s.l.s)for(const r of s.l.s)u(r);e()}let Pi=!1;function Cn(s){var e=Pi;try{return Pi=!1,[s(),Pi]}finally{Pi=e}}const Ln={get(s,e){if(!s.exclude.includes(e))return s.props[e]},set(s,e){return!1},getOwnPropertyDescriptor(s,e){if(!s.exclude.includes(e)&&e in s.props)return{enumerable:!0,configurable:!0,value:s.props[e]}},has(s,e){return s.exclude.includes(e)?!1:e in s.props},ownKeys(s){return Reflect.ownKeys(s.props).filter(e=>!s.exclude.includes(e))}};function va(s,e,r){return new Proxy({props:s,exclude:e},Ln)}function c(s,e,r,i){var l=!Or||(r&Oc)!==0,t=(r&Fc)!==0,o=(r&Hc)!==0,v=i,n=!0,f=()=>(n&&(n=!1,v=o?Gs(i):i),v),m;if(t){var g=or in s||Gl in s;m=zr(s,e)?.set??(g&&e in s?I=>s[e]=I:void 0)}var b,w=!1;t?[b,w]=Cn(()=>s[e]):b=s[e],b===void 0&&i!==void 0&&(b=f(),m&&(l&&oo(),m(b)));var k;if(l?k=()=>{var I=s[e];return I===void 0?f():(n=!0,I)}:k=()=>{var I=s[e];return I!==void 0&&(v=void 0),I===void 0?v:I},l&&(r&Nc)===0)return k;if(m){var q=s.$$legacy;return(function(I,E){return arguments.length>0?((!l||!E||q||w)&&m(E?k():I),I):k()})}var j=!1,h=((r&Rc)!==0?ri:ii)(()=>(j=!1,k()));t&&u(h);var L=Te;return(function(I,E){if(arguments.length>0){const A=E?u(h):l&&t?Os(I):I;return he(h,A),j=!0,v!==void 0&&(v=A),I}return wr&&j||(L.f&lr)!==0?h.v:u(h)})}function En(s){return new In(s)}class In{#e;#s;constructor(e){var r=new Map,i=(t,o)=>{var v=nt(o,!1,!1);return r.set(t,v),v};const l=new Proxy({...e.props||{},$$events:{}},{get(t,o){return u(r.get(o)??i(o,Reflect.get(t,o)))},has(t,o){return o===Gl?!0:(u(r.get(o)??i(o,Reflect.get(t,o))),Reflect.has(t,o))},set(t,o,v){return he(r.get(o)??i(o,v),v),Reflect.set(t,o,v)}});this.#s=(e.hydrate?en:Ut)(e.component,{target:e.target,anchor:e.anchor,props:l,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&a(),this.#e=l.$$events;for(const t of Object.keys(this.#s))t==="$set"||t==="$destroy"||t==="$on"||hi(this,t,{get(){return this.#s[t]},set(o){this.#s[t]=o},enumerable:!0});this.#s.$set=t=>{Object.assign(l,t)},this.#s.$destroy=()=>{sn(this.#s)}}$set(e){this.#s.$set(e)}$on(e,r){this.#e[e]=this.#e[e]||[];const i=(...l)=>r.call(this,...l);return this.#e[e].push(i),()=>{this.#e[e]=this.#e[e].filter(l=>l!==i)}}$destroy(){this.#s.$destroy()}}function zl(s){yt(()=>{s();var e=Te;(e.f&fs)!==0&&(uo(),ss(e,Rs))})}let fa;typeof HTMLElement=="function"&&(fa=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(s,e,r){super(),this.$$ctor=s,this.$$s=e,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(s,e,r){if(this.$$l[s]=this.$$l[s]||[],this.$$l[s].push(e),this.$$c){const i=this.$$c.$on(s,e);this.$$l_u.set(e,i)}super.addEventListener(s,e,r)}removeEventListener(s,e,r){if(super.removeEventListener(s,e,r),this.$$c){const i=this.$$l_u.get(e);i&&(i(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let s=function(i){return l=>{const t=Hr("slot");i!=="default"&&(t.name=i),x(l,t)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=Tn(this);for(const i of this.$$s)i in r&&(i==="default"&&!this.$$d.children?(this.$$d.children=s(i),e.default=!0):e[i]=s(i));for(const i of this.attributes){const l=this.$$g_p(i.name);l in this.$$d||(this.$$d[l]=Ri(l,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=En({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Po(()=>{hr(()=>{this.$$r=!0;for(const i of ki(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const l=Ri(i,this.$$d[i],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,l)}this.$$r=!1})});for(const i in this.$$l)for(const l of this.$$l[i]){const t=this.$$c.$on(i,l);this.$$l_u.set(l,t)}this.$$l={}}}attributeChangedCallback(s,e,r){this.$$r||(s=this.$$g_p(s),this.$$d[s]=Ri(s,r,this.$$p_d,"toProp"),this.$$c?.$set({[s]:this.$$d[s]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(s){return ki(this.$$p_d).find(e=>this.$$p_d[e].attribute===s||!this.$$p_d[e].attribute&&e.toLowerCase()===s)||s}});function Ri(s,e,r,i){const l=r[s]?.type;if(e=l==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!r[s])return e;if(i==="toAttribute")switch(l){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(l){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Tn(s){const e={};return s.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function le(s,e,r,i,l,t){let o=class extends fa{constructor(){super(s,r,l),this.$$p_d=e}static get observedAttributes(){return ki(e).map(v=>(e[v].attribute||v).toLowerCase())}};return ki(e).forEach(v=>{hi(o.prototype,v,{get(){return this.$$c&&v in this.$$c?this.$$c[v]:this.$$d[v]},set(n){n=Ri(v,n,e),this.$$d[v]=n;var f=this.$$c;if(f){var m=zr(f,v)?.get;m?f[v]=n:f.$set({[v]:n})}}})}),i.forEach(v=>{hi(o.prototype,v,{get(){return this.$$c?.[v]}})}),s.element=o,o}var An=T('<button class="fermer svelte-16rzqco"></button>'),Bn=T('<div><span class="icone svelte-16rzqco"></span> <div class="conteneur svelte-16rzqco"><div class="contenu svelte-16rzqco"> </div> <!></div></div>');const Dn={hash:"svelte-16rzqco",code:".alerte.svelte-16rzqco{display:flex;font-family:Marianne,sans-serif;min-width:200px}.conteneur.svelte-16rzqco{border:2px solid red;border-left:none;border-radius:0 8px 8px 0;display:flex;width:100%}.contenu.svelte-16rzqco{color:#3a3a3a;flex:1;padding:8px}.icone.svelte-16rzqco{border-radius:8px 0 0 8px;min-width:40px;width:40px}.information.svelte-16rzqco .conteneur:where(.svelte-16rzqco){border-color:#0163cb}.information.svelte-16rzqco .icone:where(.svelte-16rzqco){background:no-repeat center 8px #0163cb url(https://lab-anssi-ui-kit-prod-s3-assets.cellar-c2.services.clever-cloud.com/icones/information.svg)}.erreur.svelte-16rzqco .conteneur:where(.svelte-16rzqco){border-color:#ce0500}.erreur.svelte-16rzqco .icone:where(.svelte-16rzqco){background:no-repeat center 8px #ce0500 url(https://lab-anssi-ui-kit-prod-s3-assets.cellar-c2.services.clever-cloud.com/icones/erreur.svg)}.fermer.svelte-16rzqco{background:no-repeat center 8px url(https://lab-anssi-ui-kit-prod-s3-assets.cellar-c2.services.clever-cloud.com/icones/croix-noire.svg);border:0;box-sizing:content-box;cursor:pointer;height:16px;margin-right:3px;margin-top:3px;padding:8px;width:16px}"};function ma(s,e){ae(e,!0),te(s,Dn);let r=c(e,"description",7),i=c(e,"type",7,"information"),l=c(e,"fermable",7,!0),t=Ie(!0);var o={get description(){return r()},set description(m){r(m),a()},get type(){return i()},set type(m="information"){i(m),a()},get fermable(){return l()},set fermable(m=!0){l(m),a()}},v=be(),n=ue(v);{var f=m=>{var g=Bn(),b=B(p(g),2),w=p(b),k=p(w,!0);d(w);var q=B(w,2);{var j=h=>{var L=An();ze("click",L,()=>{he(t,!1)}),x(h,L)};U(q,h=>{l()&&h(j)})}d(b),d(g),P(()=>{ee(g,1,`alerte ${i()??""}`,"svelte-16rzqco"),V(k,r())}),x(m,g)};U(n,m=>{u(t)&&m(f)})}return x(s,v),ce(o)}He(["click"]),customElements.define("lab-anssi-alerte",le(ma,{description:{attribute:"description",type:"String"},type:{attribute:"type",type:"String"},fermable:{attribute:"fermable",type:"Boolean"}},[],[],{mode:"open"}));function da(s){const e=s-1;return e*e*e+1}function ua(s){const e=typeof s=="string"&&s.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[s,"px"]}function pa(s,{delay:e=0,duration:r=400,easing:i=da,x:l=0,y:t=0,opacity:o=0}={}){const v=getComputedStyle(s),n=+v.opacity,f=v.transform==="none"?"":v.transform,m=n*(1-o),[g,b]=ua(l),[w,k]=ua(t);return{delay:e,duration:r,easing:i,css:(q,j)=>`
|
|
5
5
|
transform: ${f} translate(${(1-q)*g}${b}, ${(1-q)*w}${k});
|
|
6
6
|
opacity: ${n-m*j}`}}function Pn(s,{delay:e=0,duration:r=400,easing:i=da,axis:l="y"}={}){const t=getComputedStyle(s),o=+t.opacity,v=l==="y"?"height":"width",n=parseFloat(t[v]),f=l==="y"?["top","bottom"]:["left","right"],m=f.map(h=>`${h[0].toUpperCase()}${h.slice(1)}`),g=parseFloat(t[`padding${m[0]}`]),b=parseFloat(t[`padding${m[1]}`]),w=parseFloat(t[`margin${m[0]}`]),k=parseFloat(t[`margin${m[1]}`]),q=parseFloat(t[`border${m[0]}Width`]),j=parseFloat(t[`border${m[1]}Width`]);return{delay:e,duration:r,easing:i,css:h=>`overflow: hidden;opacity: ${Math.min(h*20,1)*o};${v}: ${h*n}px;padding-${f[0]}: ${h*g}px;padding-${f[1]}: ${h*b}px;margin-${f[0]}: ${h*w}px;margin-${f[1]}: ${h*k}px;border-${f[0]}-width: ${h*q}px;border-${f[1]}-width: ${h*j}px;min-${v}: 0`}}const ds=s=>`https://lab-anssi-ui-kit-prod-s3-assets.cellar-c2.services.clever-cloud.com${s}`;var Rn=T(`<button class="declencheur-centre-aide svelte-1dj2lq9"><img alt="Icône du centre d'aide"/> Centre d'aide</button>`),On=T('<a class="lien lien-principal svelte-1dj2lq9" target="_blank"> </a>'),Nn=T(`<div class="centre-aide svelte-1dj2lq9"><div class="entete svelte-1dj2lq9"><div class="svelte-1dj2lq9"><img class="icone-centre-aide svelte-1dj2lq9" alt="Icône du centre d'aide"/> <h4 class="svelte-1dj2lq9">Centre d'aide</h4></div> <button class="svelte-1dj2lq9"><span class="svelte-1dj2lq9">Fermer</span> <img alt="Icône de fermeture du centre d'aider"/></button></div> <div class="contenu svelte-1dj2lq9"><div class="message svelte-1dj2lq9"><span>Bonjour et bienvenue sur <b> </b>. Comment pouvons-nous vous aider ?</span></div> <!> <div class="message marge-haute svelte-1dj2lq9"><span>Vous souhaitez faire une autre demande à l'ANSSI ?</span></div> <a class="lien secondaire centre-aide-signaler-incident svelte-1dj2lq9" href="https://club.ssi.gouv.fr/#/declarations" target="_blank">️⚠️ Signaler un incident ou une vulnérabilité</a> <a class="lien secondaire centre-aide-contacter-anssi svelte-1dj2lq9" href="https://cyber.gouv.fr/contacter-lanssi" target="_blank">️📩 Contacter d’autres services de l’ANSSI</a></div></div>`),Fn=T("<!> <!>",1);const Hn={hash:"svelte-1dj2lq9",code:'.declencheur-centre-aide.svelte-1dj2lq9{background:var(--centre-aide-background-entete);border:1px solid #fff;border-radius:100px;bottom:24px;box-shadow:0 4px 12px 0 rgba(0,0,18,.16);color:#f5f5fe;cursor:pointer;display:flex;font-family:Marianne;font-size:18px;font-weight:500;gap:8px;line-height:28px;padding:10px 24px 10px 18px;position:fixed;right:24px;text-align:center;z-index:1000}.declencheur-centre-aide.svelte-1dj2lq9:hover{background:var(--centre-aide-background-hover-declencheur)}@media (min-width:576px){.declencheur-centre-aide.svelte-1dj2lq9{bottom:48px;right:48px}}.centre-aide.svelte-1dj2lq9{background:#fff;font-family:Marianne;height:100%;left:0;overflow-y:scroll;position:fixed;top:0;width:100%;z-index:9}@media (min-width:576px){.centre-aide.svelte-1dj2lq9{border:1px solid #fff;border-radius:8px;bottom:48px;box-shadow:0 6px 18px 0 rgba(0,0,18,.16);height:576px;left:unset;right:48px;top:unset;width:520px}}.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9){align-items:center;background:var(--centre-aide-background-entete);display:flex;justify-content:space-between;padding:24px 32px;position:sticky;top:0;z-index:1}@media (min-width:576px){.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9){border-top-left-radius:8px;border-top-right-radius:8px}}.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) .icone-centre-aide:where(.svelte-1dj2lq9){height:24px;width:24px}@media (min-width:576px){.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) .icone-centre-aide:where(.svelte-1dj2lq9){height:30px;width:30px}}.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) h4:where(.svelte-1dj2lq9){color:#fff;font-size:18px;font-weight:700;line-height:28px;margin:0}@media (min-width:576px){.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) h4:where(.svelte-1dj2lq9){font-size:24px;line-height:32px}}.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) div:where(.svelte-1dj2lq9){display:flex;flex-direction:row;gap:16px}.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) button:where(.svelte-1dj2lq9){align-items:center;background:none;border:none;cursor:pointer;display:flex;justify-content:center;margin:0;padding:0}.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) button:where(.svelte-1dj2lq9) span:where(.svelte-1dj2lq9){color:#fff;display:none;font-family:Marianne;font-size:14px;font-weight:500;line-height:24px;margin-right:8px}@media (min-width:576px){.centre-aide.svelte-1dj2lq9 .entete:where(.svelte-1dj2lq9) button:where(.svelte-1dj2lq9) span:where(.svelte-1dj2lq9){display:inline-block}}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9){display:flex;flex-direction:column;gap:12px;padding:16px}@media (min-width:576px){.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9){padding:32px}}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) .message:where(.svelte-1dj2lq9){background:#ededed;border-radius:8px;color:#161616;display:flex;font-size:1rem;font-weight:400;line-height:24px;padding:16px}@media (min-width:576px){.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) .message:where(.svelte-1dj2lq9){width:fit-content}}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) .message.marge-haute:where(.svelte-1dj2lq9){margin-top:16px}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) a.lien:where(.svelte-1dj2lq9){align-items:center;background:var(--centre-aide-background-bouton);border-radius:8px;box-sizing:border-box;color:var(--centre-aide-font-color-bouton);cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:500;gap:8px;justify-content:space-between;line-height:24px;padding:8px 12px 8px 16px;text-align:left;text-decoration:none}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) a.lien[href]:where(.svelte-1dj2lq9):after{background-color:var(--centre-aide-font-color-bouton);content:"";display:flex;height:16px;mask-image:url(https://lab-anssi-ui-kit-prod-s3-assets.cellar-c2.services.clever-cloud.com/icones/lien-externe.svg);-webkit-mask-image:url(https://lab-anssi-ui-kit-prod-s3-assets.cellar-c2.services.clever-cloud.com/icones/lien-externe.svg);mask-size:16px;min-width:16px;width:16px}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) a.lien:where(.svelte-1dj2lq9):hover{background-color:var(--centre-aide-background-hover-lien)}@media (min-width:576px){.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) a.lien:where(.svelte-1dj2lq9){width:fit-content}}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) a.lien.secondaire:where(.svelte-1dj2lq9){background:none;border:1px solid var(--centre-aide-border-lien-secondaire);color:var(--centre-aide-font-color-lien-secondaire)}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) a.lien.secondaire:where(.svelte-1dj2lq9):after{background-color:var(--centre-aide-font-color-lien-secondaire)}.centre-aide.svelte-1dj2lq9 .contenu:where(.svelte-1dj2lq9) a.lien.secondaire:where(.svelte-1dj2lq9):hover{background-color:rgba(0,0,0,.04)}'};function ga(s,e){ae(e,!0),te(s,Hn);let r=c(e,"nomService",7),i=c(e,"liens",7);const l=xs();let t=Ie(Os([]));zl(()=>{if(he(t,JSON.parse(i()),!0),!Array.isArray(u(t))||u(t).some(w=>!w.texte))throw new Error("Les liens doivent respecter le type : { texte: string; href?: string; preventDefault?: boolean; id?: string }[]")});let o=Ie(!1);var v={get nomService(){return r()},set nomService(w){r(w),a()},get liens(){return i()},set liens(w){i(w),a()}},n=Fn(),f=ue(n);{var m=w=>{var k=Rn(),q=p(k);Es(),d(k),P(j=>z(q,"src",j),[()=>ds("/icones/centre-aide.svg")]),ze("click",k,()=>he(o,!0)),gl(3,k,()=>pa,()=>({y:300})),x(w,k)};U(f,w=>{u(o)||w(m)})}var g=B(f,2);{var b=w=>{var k=Nn(),q=p(k),j=p(q),h=p(j);Es(2),d(j);var L=B(j,2),I=B(p(L),2);d(L),d(q);var E=B(q,2),A=p(E),C=p(A),y=B(p(C)),_=p(y,!0);d(y),Es(),d(C),d(A);var R=B(A,2);{var S=M=>{var D=be(),W=ue(D);Se(W,17,()=>u(t),Ze,(H,G)=>{var O=On(),F=p(O,!0);d(O),P(()=>{z(O,"href",u(G).href),z(O,"id",u(G).id),V(F,u(G).texte)}),ze("click",O,Z=>{u(G).preventDefault&&Z.preventDefault(),l("lienclique",{target:Z.currentTarget})}),x(H,O)}),x(M,D)};U(R,M=>{u(t)&&M(S)})}Es(6),d(E),d(k),P((M,D)=>{z(h,"src",M),z(I,"src",D),V(_,r())},[()=>ds("/icones/centre-aide.svg"),()=>ds("/icones/croix-blanche.svg")]),ze("click",L,()=>he(o,!1)),gl(3,k,()=>pa,()=>({y:300})),x(w,k)};U(g,w=>{u(o)&&w(b)})}return x(s,n),ce(v)}He(["click"]),customElements.define("lab-anssi-centre-aide",le(ga,{nomService:{},liens:{}},[],[],{mode:"open"}));var Vn=T(`<p> <a href="https://www.clever-cloud.com/" rel="noopener" target="_blank" class="svelte-9t1kxt">Clever Cloud</a> prenant appui sur <a href="https://www.cloud-temple.com/notre-approche-secnumcloud/" rel="noopener" target="_blank" class="svelte-9t1kxt">Cloud Temple</a> qualifié SecNumCloud.</p> <p> </p> <h2>Gouvernance</h2> <p>Nous auditons régulièrement nos fournisseurs en termes de configuration et d'architecture et
|