@htmlbricks/hb-tooltip 0.62.1 → 0.62.3
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/main.iife.js +10 -313
- package/main.iife.js.map +1 -1
- package/manifest.json +35 -3
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +5 -2
- package/types/webcomponent.type.d.ts +7 -3
- package/types/webcomponent_events.type.d.json +21 -0
package/main.iife.js
CHANGED
|
@@ -1,314 +1,11 @@
|
|
|
1
|
-
(function(Xi){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Wo=2,Qi="[",Ji="[!",Zi="]",Ne={},k=Symbol(),Yn=!1;var Bo=Array.isArray,Ko=Array.prototype.indexOf,Yo=Array.from,Je=Object.keys,Ze=Object.defineProperty,le=Object.getOwnPropertyDescriptor,Uo=Object.prototype,zo=Array.prototype,qo=Object.getPrototypeOf,tr=Object.isExtensible;function Go(e){for(var t=0;t<e.length;t++)e[t]()}function Xo(){var e,t,n=new Promise((i,r)=>{e=i,t=r});return{promise:n,resolve:e,reject:t}}const D=2,Un=4,er=8,mt=16,$t=32,Ot=64,tn=128,ot=512,R=1024,Y=2048,gt=4096,Ct=8192,St=16384,en=32768,nn=65536,nr=1<<17,ir=1<<18,ce=1<<19,Qo=1<<20,Wt=32768,zn=1<<21,rr=1<<22,xe=1<<23,qn=Symbol("$state"),Jo=Symbol("legacy props"),sr=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Zo=3,rn=8;function ta(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function ea(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function na(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ia(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ra(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function sa(){throw new Error("https://svelte.dev/e/hydration_failed")}function oa(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function aa(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function la(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ca(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Gn(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ua(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let P=!1;function sn(e){P=e}let S;function Bt(e){if(e===null)throw Gn(),Ne;return S=e}function Xn(){return Bt(Yt(S))}function fa(e){if(P){if(Yt(S)!==null)throw Gn(),Ne;S=e}}function da(e=1){if(P){for(var t=e,n=S;t--;)n=Yt(n);S=n}}function ha(e=!0){for(var t=0,n=S;;){if(n.nodeType===rn){var i=n.data;if(i===Zi){if(t===0)return n;t-=1}else(i===Qi||i===Ji)&&(t+=1)}var r=Yt(n);e&&n.remove(),n=r}}function or(e){return e===this.v}function pa(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function _a(e){return!pa(e,this.v)}let ma=!1,Q=null;function on(e){Q=e}function ar(e,t=!1,n){Q={p:Q,i:!1,c:null,e:null,s:e,x:null,l:null}}function lr(e){var t=Q,n=t.e;if(n!==null){t.e=null;for(var i of n)Cr(i)}return e!==void 0&&(t.x=e),t.i=!0,Q=t.p,e??{}}function cr(){return!0}let Kt=[];function ur(){var e=Kt;Kt=[],Go(e)}function an(e){if(Kt.length===0&&!De){var t=Kt;queueMicrotask(()=>{t===Kt&&ur()})}Kt.push(e)}function ga(){for(;Kt.length>0;)ur()}function fr(e){var t=y;if(t===null)return E.f|=xe,e;if((t.f&en)===0){if((t.f&tn)===0)throw e;t.b.error(e)}else ln(e,t)}function ln(e,t){for(;t!==null;){if((t.f&tn)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const cn=new Set;let M=null,J=null,Z=[],un=null,Qn=!1,De=!1;class at{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#l=0;#s=0;#c=null;#o=[];#r=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#s>0}process(t){Z=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of t)this.#n(i,n);this.is_fork||this.#u(),this.is_deferred()?(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects)):(M=null,hr(n.render_effects),hr(n.effects),this.#c?.resolve()),J=null}#n(t,n){t.f^=R;for(var i=t.first;i!==null;){var r=i.f,s=(r&($t|Ot))!==0,o=s&&(r&R)!==0,a=o||(r&Ct)!==0||this.skipped_effects.has(i);if((i.f&tn)!==0&&i.b?.is_pending()&&(n={parent:n,effect:i,effects:[],render_effects:[],block_effects:[]}),!a&&i.fn!==null){s?i.f^=R:(r&Un)!==0?n.effects.push(i):Pe(i)&&((i.f&mt)!==0&&n.block_effects.push(i),Me(i));var l=i.first;if(l!==null){i=l;continue}}var c=i.parent;for(i=i.next;i===null&&c!==null;)c===n.effect&&(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects),n=n.parent),i=c.next,c=c.parent}}#i(t){for(const n of t)((n.f&Y)!==0?this.#o:this.#r).push(n),this.#a(n.deps),H(n,R)}#a(t){if(t!==null)for(const n of t)(n.f&D)===0||(n.f&Wt)===0||(n.f^=Wt,this.#a(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&xe)===0&&(this.current.set(t,t.v),J?.set(t,t.v))}activate(){M=this,this.apply()}deactivate(){M===this&&(M=null,J=null)}flush(){if(this.activate(),Z.length>0){if(dr(),M!==null&&M!==this)return}else this.#l===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#u(){if(this.#s===0){for(const t of this.#e)t();this.#e.clear()}this.#l===0&&this.#f()}#f(){if(cn.size>1){this.previous.clear();var t=J,n=!0,i={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of cn){if(s===this){n=!1;continue}const o=[];for(const[l,c]of this.current){if(s.current.has(l))if(n&&c!==s.current.get(l))s.current.set(l,c);else continue;o.push(l)}if(o.length===0)continue;const a=[...s.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var r=Z;Z=[];const l=new Set,c=new Map;for(const u of o)pr(u,a,l,c);if(Z.length>0){M=s,s.apply();for(const u of Z)s.#n(u,i);s.deactivate()}Z=r}}M=null,J=t}this.committed=!0,cn.delete(this)}increment(t){this.#l+=1,t&&(this.#s+=1)}decrement(t){this.#l-=1,t&&(this.#s-=1),this.revive()}revive(){for(const t of this.#o)H(t,Y),ue(t);for(const t of this.#r)H(t,gt),ue(t);this.#o=[],this.#r=[],this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#c??=Xo()).promise}static ensure(){if(M===null){const t=M=new at;cn.add(M),De||at.enqueue(()=>{M===t&&t.flush()})}return M}static enqueue(t){an(t)}apply(){}}function Jn(e){var t=De;De=!0;try{for(var n;;){if(ga(),Z.length===0&&(M?.flush(),Z.length===0))return un=null,n;dr()}}finally{De=t}}function dr(){var e=Lt;Qn=!0;var t=null;try{var n=0;for(_n(!0);Z.length>0;){var i=at.ensure();if(n++>1e3){var r,s;va()}i.process(Z),Nt.clear()}}finally{Qn=!1,_n(e),un=null}}function va(){try{ra()}catch(e){ln(e,un)}}let vt=null;function hr(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var i=e[n++];if((i.f&(St|Ct))===0&&Pe(i)&&(vt=new Set,Me(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null&&i.ac===null?Dr(i):i.fn=null),vt?.size>0)){Nt.clear();for(const r of vt){if((r.f&(St|Ct))!==0)continue;const s=[r];let o=r.parent;for(;o!==null;)vt.has(o)&&(vt.delete(o),s.push(o)),o=o.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];(l.f&(St|Ct))===0&&Me(l)}}vt.clear()}}vt=null}}function pr(e,t,n,i){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const r of e.reactions){const s=r.f;(s&D)!==0?pr(r,t,n,i):(s&(rr|mt))!==0&&(s&Y)===0&&_r(r,t,i)&&(H(r,Y),ue(r))}}function _r(e,t,n){const i=n.get(e);if(i!==void 0)return i;if(e.deps!==null)for(const r of e.deps){if(t.includes(r))return!0;if((r.f&D)!==0&&_r(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function ue(e){for(var t=un=e;t.parent!==null;){t=t.parent;var n=t.f;if(Qn&&t===y&&(n&mt)!==0&&(n&ir)===0)return;if((n&(Ot|$t))!==0){if((n&R)===0)return;t.f^=R}}Z.push(t)}function ba(e){let t=0,n=fn(0),i;return()=>{hn()&&(B(n),Sr(()=>(t===0&&(i=Wr(()=>e(()=>Le(n)))),t+=1,()=>{an(()=>{t-=1,t===0&&(i?.(),i=void 0,Le(n))})})))}}var Ea=nn|ce|tn;function ya(e,t,n){new wa(e,t,n)}class wa{parent;#e=!1;#t;#l=P?S:null;#s;#c;#o;#r=null;#n=null;#i=null;#a=null;#u=null;#f=0;#d=0;#p=!1;#h=null;#b=ba(()=>(this.#h=fn(this.#f),()=>{this.#h=null}));constructor(t,n,i){this.#t=t,this.#s=n,this.#c=i,this.parent=y.b,this.#e=!!this.#s.pending,this.#o=Ra(()=>{if(y.b=this,P){const s=this.#l;Xn(),s.nodeType===rn&&s.data===Ji?this.#y():this.#E()}else{var r=this.#g();try{this.#r=Ut(()=>i(r))}catch(s){this.error(s)}this.#d>0?this.#m():this.#e=!1}return()=>{this.#u?.remove()}},Ea),P&&(this.#t=S)}#E(){try{this.#r=Ut(()=>this.#c(this.#t))}catch(t){this.error(t)}this.#e=!1}#y(){const t=this.#s.pending;t&&(this.#n=Ut(()=>t(this.#t)),at.enqueue(()=>{var n=this.#g();this.#r=this.#_(()=>(at.ensure(),Ut(()=>this.#c(n)))),this.#d>0?this.#m():(pn(this.#n,()=>{this.#n=null}),this.#e=!1)}))}#g(){var t=this.#t;return this.#e&&(this.#u=ke(),this.#t.before(this.#u),t=this.#u),t}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#s.pending}#_(t){var n=y,i=E,r=Q;It(this.#o),tt(this.#o),on(this.#o.ctx);try{return t()}catch(s){return fr(s),null}finally{It(n),tt(i),on(r)}}#m(){const t=this.#s.pending;this.#r!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#u),Ha(this.#r,this.#a)),this.#n===null&&(this.#n=Ut(()=>t(this.#t)))}#v(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#v(t);return}this.#d+=t,this.#d===0&&(this.#e=!1,this.#n&&pn(this.#n,()=>{this.#n=null}),this.#a&&(this.#t.before(this.#a),this.#a=null))}update_pending_count(t){this.#v(t),this.#f+=t,this.#h&&Er(this.#h,this.#f)}get_effect_pending(){return this.#b(),B(this.#h)}error(t){var n=this.#s.onerror;let i=this.#s.failed;if(this.#p||!n&&!i)throw t;this.#r&&(lt(this.#r),this.#r=null),this.#n&&(lt(this.#n),this.#n=null),this.#i&&(lt(this.#i),this.#i=null),P&&(Bt(this.#l),da(),Bt(ha()));var r=!1,s=!1;const o=()=>{if(r){ua();return}r=!0,s&&ca(),at.ensure(),this.#f=0,this.#i!==null&&pn(this.#i,()=>{this.#i=null}),this.#e=this.has_pending_snippet(),this.#r=this.#_(()=>(this.#p=!1,Ut(()=>this.#c(this.#t)))),this.#d>0?this.#m():this.#e=!1};var a=E;try{tt(null),s=!0,n?.(t,o),s=!1}catch(l){ln(l,this.#o&&this.#o.parent)}finally{tt(a)}i&&an(()=>{this.#i=this.#_(()=>{at.ensure(),this.#p=!0;try{return Ut(()=>{i(this.#t,()=>t,()=>o)})}catch(l){return ln(l,this.#o.parent),null}finally{this.#p=!1}})})}}function mr(e){var t=D|Y,n=E!==null&&(E.f&D)!==0?E:null;return y!==null&&(y.f|=ce),{ctx:Q,deps:null,effects:null,equals:or,f:t,fn:e,reactions:null,rv:0,v:k,wv:0,parent:n??y,ac:null}}function Aa(e){const t=mr(e);return kr(t),t}function gr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)lt(t[n])}}function Ta(e){for(var t=e.parent;t!==null;){if((t.f&D)===0)return(t.f&St)===0?t:null;t=t.parent}return null}function Zn(e){var t,n=y;It(Ta(e));try{e.f&=~Wt,gr(e),t=Hr(e)}finally{It(n)}return t}function vr(e){var t=Zn(e);if(e.equals(t)||(M?.is_fork||(e.v=t),e.wv=Mr()),!zt)if(J!==null)hn()&&J.set(e,t);else{var n=(e.f&ot)===0?gt:R;H(e,n)}}let ti=new Set;const Nt=new Map;let br=!1;function fn(e,t){var n={f:0,v:e,reactions:null,equals:or,rv:0,wv:0};return n}function xt(e,t){const n=fn(e);return kr(n),n}function $a(e,t=!1,n=!0){const i=fn(e);return t||(i.equals=_a),i}function bt(e,t,n=!1){E!==null&&(!dt||(E.f&nr)!==0)&&cr()&&(E.f&(D|mt|rr|nr))!==0&&!Et?.includes(e)&&la();let i=n?Ie(t):t;return Er(e,i)}function Er(e,t){if(!e.equals(t)){var n=e.v;zt?Nt.set(e,t):Nt.set(e,n),e.v=t;var i=at.ensure();i.capture(e,n),(e.f&D)!==0&&((e.f&Y)!==0&&Zn(e),H(e,(e.f&ot)!==0?R:gt)),e.wv=Mr(),yr(e,Y),y!==null&&(y.f&R)!==0&&(y.f&($t|Ot))===0&&(et===null?ja([e]):et.push(e)),!i.is_fork&&ti.size>0&&!br&&Oa()}return t}function Oa(){br=!1;var e=Lt;_n(!0);const t=Array.from(ti);try{for(const n of t)(n.f&R)!==0&&H(n,gt),Pe(n)&&Me(n)}finally{_n(e)}ti.clear()}function Le(e){bt(e,e.v+1)}function yr(e,t){var n=e.reactions;if(n!==null)for(var i=n.length,r=0;r<i;r++){var s=n[r],o=s.f,a=(o&Y)===0;if(a&&H(s,t),(o&D)!==0){var l=s;J?.delete(l),(o&Wt)===0&&(o&ot&&(s.f|=Wt),yr(l,gt))}else a&&((o&mt)!==0&&vt!==null&&vt.add(s),ue(s))}}function Ie(e){if(typeof e!="object"||e===null||qn in e)return e;const t=qo(e);if(t!==Uo&&t!==zo)return e;var n=new Map,i=Bo(e),r=xt(0),s=qt,o=a=>{if(qt===s)return a();var l=E,c=qt;tt(null),Pr(s);var u=a();return tt(l),Pr(c),u};return i&&n.set("length",xt(e.length)),new Proxy(e,{defineProperty(a,l,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&oa();var u=n.get(l);return u===void 0?u=o(()=>{var p=xt(c.value);return n.set(l,p),p}):bt(u,c.value,!0),!0},deleteProperty(a,l){var c=n.get(l);if(c===void 0){if(l in a){const u=o(()=>xt(k));n.set(l,u),Le(r)}}else bt(c,k),Le(r);return!0},get(a,l,c){if(l===qn)return e;var u=n.get(l),p=l in a;if(u===void 0&&(!p||le(a,l)?.writable)&&(u=o(()=>{var h=Ie(p?a[l]:k),g=xt(h);return g}),n.set(l,u)),u!==void 0){var f=B(u);return f===k?void 0:f}return Reflect.get(a,l,c)},getOwnPropertyDescriptor(a,l){var c=Reflect.getOwnPropertyDescriptor(a,l);if(c&&"value"in c){var u=n.get(l);u&&(c.value=B(u))}else if(c===void 0){var p=n.get(l),f=p?.v;if(p!==void 0&&f!==k)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return c},has(a,l){if(l===qn)return!0;var c=n.get(l),u=c!==void 0&&c.v!==k||Reflect.has(a,l);if(c!==void 0||y!==null&&(!u||le(a,l)?.writable)){c===void 0&&(c=o(()=>{var f=u?Ie(a[l]):k,h=xt(f);return h}),n.set(l,c));var p=B(c);if(p===k)return!1}return u},set(a,l,c,u){var p=n.get(l),f=l in a;if(i&&l==="length")for(var h=c;h<p.v;h+=1){var g=n.get(h+"");g!==void 0?bt(g,k):h in a&&(g=o(()=>xt(k)),n.set(h+"",g))}if(p===void 0)(!f||le(a,l)?.writable)&&(p=o(()=>xt(void 0)),bt(p,Ie(c)),n.set(l,p));else{f=p.v!==k;var m=o(()=>Ie(c));bt(p,m)}var v=Reflect.getOwnPropertyDescriptor(a,l);if(v?.set&&v.set.call(u,c),!f){if(i&&typeof l=="string"){var w=n.get("length"),$=Number(l);Number.isInteger($)&&$>=w.v&&bt(w,$+1)}Le(r)}return!0},ownKeys(a){B(r);var l=Reflect.ownKeys(a).filter(p=>{var f=n.get(p);return f===void 0||f.v!==k});for(var[c,u]of n)u.v!==k&&!(c in a)&&l.push(c);return l},setPrototypeOf(){aa()}})}var wr,Ar,Tr,$r;function ei(){if(wr===void 0){wr=window,Ar=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Tr=le(t,"firstChild").get,$r=le(t,"nextSibling").get,tr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),tr(n)&&(n.__t=void 0)}}function ke(e=""){return document.createTextNode(e)}function dn(e){return Tr.call(e)}function Yt(e){return $r.call(e)}function Ca(e,t){if(!P)return dn(e);var n=dn(S);return n===null&&(n=S.appendChild(ke())),Bt(n),n}function Sa(e){e.textContent=""}function ni(e){var t=E,n=y;tt(null),It(null);try{return e()}finally{tt(t),It(n)}}function Na(e){y===null&&(E===null&&ia(),na()),zt&&ea()}function xa(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Dt(e,t,n){var i=y;i!==null&&(i.f&Ct)!==0&&(e|=Ct);var r={ctx:Q,deps:null,nodes_start:null,nodes_end:null,f:e|Y|ot,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Me(r),r.f|=en}catch(a){throw lt(r),a}else t!==null&&ue(r);var s=r;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&ce)===0&&(s=s.first,(e&mt)!==0&&(e&nn)!==0&&s!==null&&(s.f|=nn)),s!==null&&(s.parent=i,i!==null&&xa(s,i),E!==null&&(E.f&D)!==0&&(e&Ot)===0)){var o=E;(o.effects??=[]).push(s)}return r}function hn(){return E!==null&&!dt}function Da(e){const t=Dt(er,null,!1);return H(t,R),t.teardown=e,t}function Or(e){Na();var t=y.f,n=!E&&(t&$t)!==0&&(t&en)===0;if(n){var i=Q;(i.e??=[]).push(e)}else return Cr(e)}function Cr(e){return Dt(Un|Qo,e,!1)}function La(e){at.ensure();const t=Dt(Ot|ce,e,!0);return()=>{lt(t)}}function Ia(e){at.ensure();const t=Dt(Ot|ce,e,!0);return(n={})=>new Promise(i=>{n.outro?pn(t,()=>{lt(t),i(void 0)}):(lt(t),i(void 0))})}function ka(e){return Dt(Un,e,!1)}function Sr(e,t=0){return Dt(er|t,e,!0)}function Ra(e,t=0){var n=Dt(mt|t,e,!0);return n}function Ut(e){return Dt($t|ce,e,!0)}function Nr(e){var t=e.teardown;if(t!==null){const n=zt,i=E;Ir(!0),tt(null);try{t.call(null)}finally{Ir(n),tt(i)}}}function xr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const r=n.ac;r!==null&&ni(()=>{r.abort(sr)});var i=n.next;(n.f&Ot)!==0?n.parent=null:lt(n,t),n=i}}function Pa(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&$t)===0&<(t),t=n}}function lt(e,t=!0){var n=!1;(t||(e.f&ir)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Ma(e.nodes_start,e.nodes_end),n=!0),xr(e,t&&!n),mn(e,0),H(e,St);var i=e.transitions;if(i!==null)for(const s of i)s.stop();Nr(e);var r=e.parent;r!==null&&r.first!==null&&Dr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Ma(e,t){for(;e!==null;){var n=e===t?null:Yt(e);e.remove(),e=n}}function Dr(e){var t=e.parent,n=e.prev,i=e.next;n!==null&&(n.next=i),i!==null&&(i.prev=n),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=n))}function pn(e,t,n=!0){var i=[];Lr(e,i,!0),Va(i,()=>{n&<(e),t&&t()})}function Va(e,t){var n=e.length;if(n>0){var i=()=>--n||t();for(var r of e)r.out(i)}else t()}function Lr(e,t,n){if((e.f&Ct)===0){if(e.f^=Ct,e.transitions!==null)for(const o of e.transitions)(o.is_global||n)&&t.push(o);for(var i=e.first;i!==null;){var r=i.next,s=(i.f&nn)!==0||(i.f&$t)!==0&&(e.f&mt)!==0;Lr(i,t,s?n:!1),i=r}}}function Ha(e,t){for(var n=e.nodes_start,i=e.nodes_end;n!==null;){var r=n===i?null:Yt(n);t.append(n),n=r}}let Lt=!1;function _n(e){Lt=e}let zt=!1;function Ir(e){zt=e}let E=null,dt=!1;function tt(e){E=e}let y=null;function It(e){y=e}let Et=null;function kr(e){E!==null&&(Et===null?Et=[e]:Et.push(e))}let V=null,U=0,et=null;function ja(e){et=e}let Rr=1,Re=0,qt=Re;function Pr(e){qt=e}function Mr(){return++Rr}function Pe(e){var t=e.f;if((t&Y)!==0)return!0;if(t&D&&(e.f&=~Wt),(t>)!==0){var n=e.deps;if(n!==null)for(var i=n.length,r=0;r<i;r++){var s=n[r];if(Pe(s)&&vr(s),s.wv>e.wv)return!0}(t&ot)!==0&&J===null&&H(e,R)}return!1}function Vr(e,t,n=!0){var i=e.reactions;if(i!==null&&!Et?.includes(e))for(var r=0;r<i.length;r++){var s=i[r];(s.f&D)!==0?Vr(s,t,!1):t===s&&(n?H(s,Y):(s.f&R)!==0&&H(s,gt),ue(s))}}function Hr(e){var t=V,n=U,i=et,r=E,s=Et,o=Q,a=dt,l=qt,c=e.f;V=null,U=0,et=null,E=(c&($t|Ot))===0?e:null,Et=null,on(e.ctx),dt=!1,qt=++Re,e.ac!==null&&(ni(()=>{e.ac.abort(sr)}),e.ac=null);try{e.f|=zn;var u=e.fn,p=u(),f=e.deps;if(V!==null){var h;if(mn(e,U),f!==null&&U>0)for(f.length=U+V.length,h=0;h<V.length;h++)f[U+h]=V[h];else e.deps=f=V;if(Lt&&hn()&&(e.f&ot)!==0)for(h=U;h<f.length;h++)(f[h].reactions??=[]).push(e)}else f!==null&&U<f.length&&(mn(e,U),f.length=U);if(cr()&&et!==null&&!dt&&f!==null&&(e.f&(D|gt|Y))===0)for(h=0;h<et.length;h++)Vr(et[h],e);return r!==null&&r!==e&&(Re++,et!==null&&(i===null?i=et:i.push(...et))),(e.f&xe)!==0&&(e.f^=xe),p}catch(g){return fr(g)}finally{e.f^=zn,V=t,U=n,et=i,E=r,Et=s,on(o),dt=a,qt=l}}function Fa(e,t){let n=t.reactions;if(n!==null){var i=Ko.call(n,e);if(i!==-1){var r=n.length-1;r===0?n=t.reactions=null:(n[i]=n[r],n.pop())}}n===null&&(t.f&D)!==0&&(V===null||!V.includes(t))&&(H(t,gt),(t.f&ot)!==0&&(t.f^=ot,t.f&=~Wt),gr(t),mn(t,0))}function mn(e,t){var n=e.deps;if(n!==null)for(var i=t;i<n.length;i++)Fa(e,n[i])}function Me(e){var t=e.f;if((t&St)===0){H(e,R);var n=y,i=Lt;y=e,Lt=!0;try{(t&mt)!==0?Pa(e):xr(e),Nr(e);var r=Hr(e);e.teardown=typeof r=="function"?r:null,e.wv=Rr;var s;Yn&&ma&&(e.f&Y)!==0&&e.deps}finally{Lt=i,y=n}}}function B(e){var t=e.f,n=(t&D)!==0;if(E!==null&&!dt){var i=y!==null&&(y.f&St)!==0;if(!i&&!Et?.includes(e)){var r=E.deps;if((E.f&zn)!==0)e.rv<Re&&(e.rv=Re,V===null&&r!==null&&r[U]===e?U++:V===null?V=[e]:V.includes(e)||V.push(e));else{(E.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[E]:s.includes(E)||s.push(E)}}}if(zt){if(Nt.has(e))return Nt.get(e);if(n){var o=e,a=o.v;return((o.f&R)===0&&o.reactions!==null||Fr(o))&&(a=Zn(o)),Nt.set(o,a),a}}else n&&!J?.has(e)&&(o=e,Pe(o)&&vr(o),Lt&&hn()&&(o.f&ot)===0&&jr(o));if(J?.has(e))return J.get(e);if((e.f&xe)!==0)throw e.v;return e.v}function jr(e){if(e.deps!==null){e.f^=ot;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&D)!==0&&(t.f&ot)===0&&jr(t)}}function Fr(e){if(e.v===k)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Nt.has(t)||(t.f&D)!==0&&Fr(t))return!0;return!1}function Wr(e){var t=dt;try{return dt=!0,e()}finally{dt=t}}const Wa=-7169;function H(e,t){e.f=e.f&Wa|t}const Ba=new Set,Br=new Set;function Ka(e,t,n,i={}){function r(s){if(i.capture||Ve.call(t,s),!s.cancelBubble)return ni(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?an(()=>{t.addEventListener(e,r,i)}):t.addEventListener(e,r,i),r}function Ya(e,t,n,i,r){var s={capture:i,passive:r},o=Ka(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Da(()=>{t.removeEventListener(e,o,s)})}let Kr=null;function Ve(e){var t=this,n=t.ownerDocument,i=e.type,r=e.composedPath?.()||[],s=r[0]||e.target;Kr=e;var o=0,a=Kr===e&&e.__root;if(a){var l=r.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var c=r.indexOf(t);if(c===-1)return;l<=c&&(o=l)}if(s=r[o]||e.target,s!==t){Ze(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=E,p=y;tt(null),It(null);try{for(var f,h=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var m=s["__"+i];m!=null&&(!s.disabled||e.target===s)&&m.call(s,e)}catch(v){f?h.push(v):f=v}if(e.cancelBubble||g===t||g===null)break;s=g}if(f){for(let v of h)queueMicrotask(()=>{throw v});throw f}}finally{e.__root=t,delete e.currentTarget,tt(u),It(p)}}}function Ua(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function He(e,t){var n=y;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function za(e,t){var n=(t&Wo)!==0,i,r=!e.startsWith("<!>");return()=>{if(P)return He(S,null),S;i===void 0&&(i=Ua(r?e:"<!>"+e),i=dn(i));var s=n||Ar?document.importNode(i,!0):i.cloneNode(!0);return He(s,s),s}}function qa(e=""){if(!P){var t=ke(e+"");return He(t,t),t}var n=S;return n.nodeType!==Zo&&(n.before(n=ke()),Bt(n)),He(n,n),n}function ii(e,t){if(P){var n=y;((n.f&en)===0||n.nodes_end===null)&&(n.nodes_end=S),Xn();return}e!==null&&e.before(t)}const Ga=["touchstart","touchmove"];function Xa(e){return Ga.includes(e)}function Yr(e,t){return Ur(e,t)}function Qa(e,t){ei(),t.intro=t.intro??!1;const n=t.target,i=P,r=S;try{for(var s=dn(n);s&&(s.nodeType!==rn||s.data!==Qi);)s=Yt(s);if(!s)throw Ne;sn(!0),Bt(s);const o=Ur(e,{...t,anchor:s});return sn(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==Ne&&console.warn("Failed to hydrate: ",o),t.recover===!1&&sa(),ei(),Sa(n),sn(!1),Yr(e,t)}finally{sn(i),Bt(r)}}const fe=new Map;function Ur(e,{target:t,anchor:n,props:i={},events:r,context:s,intro:o=!0}){ei();var a=new Set,l=p=>{for(var f=0;f<p.length;f++){var h=p[f];if(!a.has(h)){a.add(h);var g=Xa(h);t.addEventListener(h,Ve,{passive:g});var m=fe.get(h);m===void 0?(document.addEventListener(h,Ve,{passive:g}),fe.set(h,1)):fe.set(h,m+1)}}};l(Yo(Ba)),Br.add(l);var c=void 0,u=Ia(()=>{var p=n??t.appendChild(ke());return ya(p,{pending:()=>{}},f=>{if(s){ar({});var h=Q;h.c=s}if(r&&(i.$$events=r),P&&He(f,null),c=e(f,i)||{},P&&(y.nodes_end=S,S===null||S.nodeType!==rn||S.data!==Zi))throw Gn(),Ne;s&&lr()}),()=>{for(var f of a){t.removeEventListener(f,Ve);var h=fe.get(f);--h===0?(document.removeEventListener(f,Ve),fe.delete(f)):fe.set(f,h)}Br.delete(l),p!==n&&p.parentNode?.removeChild(p)}});return ri.set(c,u),c}let ri=new WeakMap;function Ja(e,t){const n=ri.get(e);return n?(ri.delete(e),n(t)):Promise.resolve()}function Za(e){Q===null&&ta(),Or(()=>{const t=Wr(e);if(typeof t=="function")return t})}function tl(e,t,n,i,r){P&&Xn();var s=t.$$slots?.[n],o=!1;s===!0&&(s=t.children,o=!0),s===void 0?r!==null&&r(e):s(e,o?()=>i:i)}function el(e,t){ka(()=>{var n=e.getRootNode(),i=n.host?n:n.head??n.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const r=document.createElement("style");r.id=t.hash,r.textContent=t.code,i.appendChild(r)}})}function zr(e,t,n,i){var r=i,s=!0,o=()=>(s&&(s=!1,r=i),r),a;a=e[t],a===void 0&&i!==void 0&&(a=o());var l;l=()=>{var f=e[t];return f===void 0?o():(s=!0,f)};var c=!1,u=mr(()=>(c=!1,l())),p=y;return(function(f,h){if(arguments.length>0){const g=h?B(u):f;return bt(u,g),c=!0,r!==void 0&&(r=g),f}return zt&&c||(p.f&St)!==0?u.v:B(u)})}function nl(e){return new il(e)}class il{#e;#t;constructor(t){var n=new Map,i=(s,o)=>{var a=$a(o,!1,!1);return n.set(s,a),a};const r=new Proxy({...t.props||{},$$events:{}},{get(s,o){return B(n.get(o)??i(o,Reflect.get(s,o)))},has(s,o){return o===Jo?!0:(B(n.get(o)??i(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,a){return bt(n.get(o)??i(o,a),a),Reflect.set(s,o,a)}});this.#t=(t.hydrate?Qa:Yr)(t.component,{target:t.target,anchor:t.anchor,props:r,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Jn(),this.#e=r.$$events;for(const s of Object.keys(this.#t))s==="$set"||s==="$destroy"||s==="$on"||Ze(this,s,{get(){return this.#t[s]},set(o){this.#t[s]=o},enumerable:!0});this.#t.$set=s=>{Object.assign(r,s)},this.#t.$destroy=()=>{Ja(this.#t)}}$set(t){this.#t.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const i=(...r)=>n.call(this,...r);return this.#e[t].push(i),()=>{this.#e[t]=this.#e[t].filter(r=>r!==i)}}$destroy(){this.#t.$destroy()}}let qr;typeof HTMLElement=="function"&&(qr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const i=this.$$l_u.get(t);i&&(i(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return r=>{const s=document.createElement("slot");i!=="default"&&(s.name=i),ii(r,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=rl(this);for(const i of this.$$s)i in n&&(i==="default"&&!this.$$d.children?(this.$$d.children=e(i),t.default=!0):t[i]=e(i));for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=gn(r,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=nl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=La(()=>{Sr(()=>{this.$$r=!0;for(const i of Je(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const r=gn(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1})});for(const i in this.$$l)for(const r of this.$$l[i]){const s=this.$$c.$on(i,r);this.$$l_u.set(r,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=gn(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 Je(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function gn(e,t,n,i){const r=n[e]?.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function rl(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function sl(e,t,n,i,r,s){let o=class extends qr{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Je(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Je(t).forEach(a=>{Ze(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=gn(a,l,t),this.$$d[a]=l;var c=this.$$c;if(c){var u=le(c,a)?.get;u?c[a]=l:c.$set({[a]:l})}}})}),i.forEach(a=>{Ze(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}var j="top",z="bottom",q="right",F="left",vn="auto",de=[j,z,q,F],Gt="start",he="end",Gr="clippingParents",si="viewport",pe="popper",Xr="reference",oi=de.reduce(function(e,t){return e.concat([t+"-"+Gt,t+"-"+he])},[]),ai=[].concat(de,[vn]).reduce(function(e,t){return e.concat([t,t+"-"+Gt,t+"-"+he])},[]),Qr="beforeRead",Jr="read",Zr="afterRead",ts="beforeMain",es="main",ns="afterMain",is="beforeWrite",rs="write",ss="afterWrite",os=[Qr,Jr,Zr,ts,es,ns,is,rs,ss];function ht(e){return e?(e.nodeName||"").toLowerCase():null}function G(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Xt(e){var t=G(e).Element;return e instanceof t||e instanceof Element}function nt(e){var t=G(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function li(e){if(typeof ShadowRoot>"u")return!1;var t=G(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ol(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},r=t.attributes[n]||{},s=t.elements[n];!nt(s)||!ht(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function al(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var r=t.elements[i],s=t.attributes[i]||{},o=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),a=o.reduce(function(l,c){return l[c]="",l},{});!nt(r)||!ht(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}const ci={name:"applyStyles",enabled:!0,phase:"write",fn:ol,effect:al,requires:["computeStyles"]};function pt(e){return e.split("-")[0]}var Qt=Math.max,bn=Math.min,_e=Math.round;function ui(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function as(){return!/^((?!chrome|android).)*safari/i.test(ui())}function me(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),r=1,s=1;t&&nt(e)&&(r=e.offsetWidth>0&&_e(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&_e(i.height)/e.offsetHeight||1);var o=Xt(e)?G(e):window,a=o.visualViewport,l=!as()&&n,c=(i.left+(l&&a?a.offsetLeft:0))/r,u=(i.top+(l&&a?a.offsetTop:0))/s,p=i.width/r,f=i.height/s;return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function fi(e){var t=me(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function ls(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&li(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function yt(e){return G(e).getComputedStyle(e)}function ll(e){return["table","td","th"].indexOf(ht(e))>=0}function kt(e){return((Xt(e)?e.ownerDocument:e.document)||window.document).documentElement}function En(e){return ht(e)==="html"?e:e.assignedSlot||e.parentNode||(li(e)?e.host:null)||kt(e)}function cs(e){return!nt(e)||yt(e).position==="fixed"?null:e.offsetParent}function cl(e){var t=/firefox/i.test(ui()),n=/Trident/i.test(ui());if(n&&nt(e)){var i=yt(e);if(i.position==="fixed")return null}var r=En(e);for(li(r)&&(r=r.host);nt(r)&&["html","body"].indexOf(ht(r))<0;){var s=yt(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function je(e){for(var t=G(e),n=cs(e);n&&ll(n)&&yt(n).position==="static";)n=cs(n);return n&&(ht(n)==="html"||ht(n)==="body"&&yt(n).position==="static")?t:n||cl(e)||t}function di(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Fe(e,t,n){return Qt(e,bn(t,n))}function ul(e,t,n){var i=Fe(e,t,n);return i>n?n:i}function us(){return{top:0,right:0,bottom:0,left:0}}function fs(e){return Object.assign({},us(),e)}function ds(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var fl=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,fs(typeof t!="number"?t:ds(t,de))};function dl(e){var t,n=e.state,i=e.name,r=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=pt(n.placement),l=di(a),c=[F,q].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var p=fl(r.padding,n),f=fi(s),h=l==="y"?j:F,g=l==="y"?z:q,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],v=o[l]-n.rects.reference[l],w=je(s),$=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,C=m/2-v/2,b=p[h],A=$-f[u]-p[g],T=$/2-f[u]/2+C,O=Fe(b,T,A),L=l;n.modifiersData[i]=(t={},t[L]=O,t.centerOffset=O-T,t)}}function hl(e){var t=e.state,n=e.options,i=n.element,r=i===void 0?"[data-popper-arrow]":i;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||ls(t.elements.popper,r)&&(t.elements.arrow=r))}const hs={name:"arrow",enabled:!0,phase:"main",fn:dl,effect:hl,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ge(e){return e.split("-")[1]}var pl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _l(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:_e(n*r)/r||0,y:_e(i*r)/r||0}}function ps(e){var t,n=e.popper,i=e.popperRect,r=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,f=o.x,h=f===void 0?0:f,g=o.y,m=g===void 0?0:g,v=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var w=o.hasOwnProperty("x"),$=o.hasOwnProperty("y"),C=F,b=j,A=window;if(c){var T=je(n),O="clientHeight",L="clientWidth";if(T===G(n)&&(T=kt(n),yt(T).position!=="static"&&a==="absolute"&&(O="scrollHeight",L="scrollWidth")),T=T,r===j||(r===F||r===q)&&s===he){b=z;var x=p&&T===A&&A.visualViewport?A.visualViewport.height:T[O];m-=x-i.height,m*=l?1:-1}if(r===F||(r===j||r===z)&&s===he){C=q;var N=p&&T===A&&A.visualViewport?A.visualViewport.width:T[L];h-=N-i.width,h*=l?1:-1}}var I=Object.assign({position:a},c&&pl),ut=u===!0?_l({x:h,y:m},G(n)):{x:h,y:m};if(h=ut.x,m=ut.y,l){var W;return Object.assign({},I,(W={},W[b]=$?"0":"",W[C]=w?"0":"",W.transform=(A.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",W))}return Object.assign({},I,(t={},t[b]=$?m+"px":"",t[C]=w?h+"px":"",t.transform="",t))}function ml(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=i===void 0?!0:i,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:pt(t.placement),variation:ge(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ps(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ps(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const hi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ml,data:{}};var yn={passive:!0};function gl(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,s=r===void 0?!0:r,o=i.resize,a=o===void 0?!0:o,l=G(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,yn)}),a&&l.addEventListener("resize",n.update,yn),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,yn)}),a&&l.removeEventListener("resize",n.update,yn)}}const pi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:gl,data:{}};var vl={left:"right",right:"left",bottom:"top",top:"bottom"};function wn(e){return e.replace(/left|right|bottom|top/g,function(t){return vl[t]})}var bl={start:"end",end:"start"};function _s(e){return e.replace(/start|end/g,function(t){return bl[t]})}function _i(e){var t=G(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function mi(e){return me(kt(e)).left+_i(e).scrollLeft}function El(e,t){var n=G(e),i=kt(e),r=n.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=as();(c||!c&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+mi(e),y:l}}function yl(e){var t,n=kt(e),i=_i(e),r=(t=e.ownerDocument)==null?void 0:t.body,s=Qt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=Qt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+mi(e),l=-i.scrollTop;return yt(r||n).direction==="rtl"&&(a+=Qt(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function gi(e){var t=yt(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function ms(e){return["html","body","#document"].indexOf(ht(e))>=0?e.ownerDocument.body:nt(e)&&gi(e)?e:ms(En(e))}function We(e,t){var n;t===void 0&&(t=[]);var i=ms(e),r=i===((n=e.ownerDocument)==null?void 0:n.body),s=G(i),o=r?[s].concat(s.visualViewport||[],gi(i)?i:[]):i,a=t.concat(o);return r?a:a.concat(We(En(o)))}function vi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function wl(e,t){var n=me(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function gs(e,t,n){return t===si?vi(El(e,n)):Xt(t)?wl(t,n):vi(yl(kt(e)))}function Al(e){var t=We(En(e)),n=["absolute","fixed"].indexOf(yt(e).position)>=0,i=n&&nt(e)?je(e):e;return Xt(i)?t.filter(function(r){return Xt(r)&&ls(r,i)&&ht(r)!=="body"}):[]}function Tl(e,t,n,i){var r=t==="clippingParents"?Al(e):[].concat(t),s=[].concat(r,[n]),o=s[0],a=s.reduce(function(l,c){var u=gs(e,c,i);return l.top=Qt(u.top,l.top),l.right=bn(u.right,l.right),l.bottom=bn(u.bottom,l.bottom),l.left=Qt(u.left,l.left),l},gs(e,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function vs(e){var t=e.reference,n=e.element,i=e.placement,r=i?pt(i):null,s=i?ge(i):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(r){case j:l={x:o,y:t.y-n.height};break;case z:l={x:o,y:t.y+t.height};break;case q:l={x:t.x+t.width,y:a};break;case F:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=r?di(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Gt:l[c]=l[c]-(t[u]/2-n[u]/2);break;case he:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function ve(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=i===void 0?e.placement:i,s=n.strategy,o=s===void 0?e.strategy:s,a=n.boundary,l=a===void 0?Gr:a,c=n.rootBoundary,u=c===void 0?si:c,p=n.elementContext,f=p===void 0?pe:p,h=n.altBoundary,g=h===void 0?!1:h,m=n.padding,v=m===void 0?0:m,w=fs(typeof v!="number"?v:ds(v,de)),$=f===pe?Xr:pe,C=e.rects.popper,b=e.elements[g?$:f],A=Tl(Xt(b)?b:b.contextElement||kt(e.elements.popper),l,u,o),T=me(e.elements.reference),O=vs({reference:T,element:C,placement:r}),L=vi(Object.assign({},C,O)),x=f===pe?L:T,N={top:A.top-x.top+w.top,bottom:x.bottom-A.bottom+w.bottom,left:A.left-x.left+w.left,right:x.right-A.right+w.right},I=e.modifiersData.offset;if(f===pe&&I){var ut=I[r];Object.keys(N).forEach(function(W){var ie=[q,z].indexOf(W)>=0?1:-1,re=[j,z].indexOf(W)>=0?"y":"x";N[W]+=ut[re]*ie})}return N}function $l(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?ai:l,u=ge(i),p=u?a?oi:oi.filter(function(g){return ge(g)===u}):de,f=p.filter(function(g){return c.indexOf(g)>=0});f.length===0&&(f=p);var h=f.reduce(function(g,m){return g[m]=ve(e,{placement:m,boundary:r,rootBoundary:s,padding:o})[pt(m)],g},{});return Object.keys(h).sort(function(g,m){return h[g]-h[m]})}function Ol(e){if(pt(e)===vn)return[];var t=wn(e);return[_s(e),t,_s(t)]}function Cl(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,p=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,g=h===void 0?!0:h,m=n.allowedAutoPlacements,v=t.options.placement,w=pt(v),$=w===v,C=l||($||!g?[wn(v)]:Ol(v)),b=[v].concat(C).reduce(function(Se,Ft){return Se.concat(pt(Ft)===vn?$l(t,{placement:Ft,boundary:u,rootBoundary:p,padding:c,flipVariations:g,allowedAutoPlacements:m}):Ft)},[]),A=t.rects.reference,T=t.rects.popper,O=new Map,L=!0,x=b[0],N=0;N<b.length;N++){var I=b[N],ut=pt(I),W=ge(I)===Gt,ie=[j,z].indexOf(ut)>=0,re=ie?"width":"height",X=ve(t,{placement:I,boundary:u,rootBoundary:p,altBoundary:f,padding:c}),ft=ie?W?q:F:W?z:j;A[re]>T[re]&&(ft=wn(ft));var jn=wn(ft),se=[];if(s&&se.push(X[ut]<=0),a&&se.push(X[ft]<=0,X[jn]<=0),se.every(function(Se){return Se})){x=I,L=!1;break}O.set(I,se)}if(L)for(var Fn=g?3:1,Ui=function(Ft){var Qe=b.find(function(Bn){var oe=O.get(Bn);if(oe)return oe.slice(0,Ft).every(function(zi){return zi})});if(Qe)return x=Qe,"break"},Xe=Fn;Xe>0;Xe--){var Wn=Ui(Xe);if(Wn==="break")break}t.placement!==x&&(t.modifiersData[i]._skip=!0,t.placement=x,t.reset=!0)}}const bs={name:"flip",enabled:!0,phase:"main",fn:Cl,requiresIfExists:["offset"],data:{_skip:!1}};function Es(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ys(e){return[j,q,z,F].some(function(t){return e[t]>=0})}function Sl(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=ve(t,{elementContext:"reference"}),a=ve(t,{altBoundary:!0}),l=Es(o,i),c=Es(a,r,s),u=ys(l),p=ys(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}const ws={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Sl};function Nl(e,t,n){var i=pt(e),r=[F,j].indexOf(i)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[F,q].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}function xl(e){var t=e.state,n=e.options,i=e.name,r=n.offset,s=r===void 0?[0,0]:r,o=ai.reduce(function(u,p){return u[p]=Nl(p,t.rects,s),u},{}),a=o[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}const As={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xl};function Dl(e){var t=e.state,n=e.name;t.modifiersData[n]=vs({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const bi={name:"popperOffsets",enabled:!0,phase:"read",fn:Dl,data:{}};function Ll(e){return e==="x"?"y":"x"}function Il(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,s=r===void 0?!0:r,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,p=n.padding,f=n.tether,h=f===void 0?!0:f,g=n.tetherOffset,m=g===void 0?0:g,v=ve(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:u}),w=pt(t.placement),$=ge(t.placement),C=!$,b=di(w),A=Ll(b),T=t.modifiersData.popperOffsets,O=t.rects.reference,L=t.rects.popper,x=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,N=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ut={x:0,y:0};if(T){if(s){var W,ie=b==="y"?j:F,re=b==="y"?z:q,X=b==="y"?"height":"width",ft=T[b],jn=ft+v[ie],se=ft-v[re],Fn=h?-L[X]/2:0,Ui=$===Gt?O[X]:L[X],Xe=$===Gt?-L[X]:-O[X],Wn=t.elements.arrow,Se=h&&Wn?fi(Wn):{width:0,height:0},Ft=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:us(),Qe=Ft[ie],Bn=Ft[re],oe=Fe(0,O[X],Se[X]),zi=C?O[X]/2-Fn-oe-Qe-N.mainAxis:Ui-oe-Qe-N.mainAxis,qd=C?-O[X]/2+Fn+oe+Bn+N.mainAxis:Xe+oe+Bn+N.mainAxis,qi=t.elements.arrow&&je(t.elements.arrow),Gd=qi?b==="y"?qi.clientTop||0:qi.clientLeft||0:0,Io=(W=I?.[b])!=null?W:0,Xd=ft+zi-Io-Gd,Qd=ft+qd-Io,ko=Fe(h?bn(jn,Xd):jn,ft,h?Qt(se,Qd):se);T[b]=ko,ut[b]=ko-ft}if(a){var Ro,Jd=b==="x"?j:F,Zd=b==="x"?z:q,ae=T[A],Kn=A==="y"?"height":"width",Po=ae+v[Jd],Mo=ae-v[Zd],Gi=[j,F].indexOf(w)!==-1,Vo=(Ro=I?.[A])!=null?Ro:0,Ho=Gi?Po:ae-O[Kn]-L[Kn]-Vo+N.altAxis,jo=Gi?ae+O[Kn]+L[Kn]-Vo-N.altAxis:Mo,Fo=h&&Gi?ul(Ho,ae,jo):Fe(h?Ho:Po,ae,h?jo:Mo);T[A]=Fo,ut[A]=Fo-ae}t.modifiersData[i]=ut}}const Ts={name:"preventOverflow",enabled:!0,phase:"main",fn:Il,requiresIfExists:["offset"]};function kl(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Rl(e){return e===G(e)||!nt(e)?_i(e):kl(e)}function Pl(e){var t=e.getBoundingClientRect(),n=_e(t.width)/e.offsetWidth||1,i=_e(t.height)/e.offsetHeight||1;return n!==1||i!==1}function Ml(e,t,n){n===void 0&&(n=!1);var i=nt(t),r=nt(t)&&Pl(t),s=kt(t),o=me(e,r,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&((ht(t)!=="body"||gi(s))&&(a=Rl(t)),nt(t)?(l=me(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=mi(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Vl(e){var t=new Map,n=new Set,i=[];e.forEach(function(s){t.set(s.name,s)});function r(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&r(l)}}),i.push(s)}return e.forEach(function(s){n.has(s.name)||r(s)}),i}function Hl(e){var t=Vl(e);return os.reduce(function(n,i){return n.concat(t.filter(function(r){return r.phase===i}))},[])}function jl(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Fl(e){var t=e.reduce(function(n,i){var r=n[i.name];return n[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var $s={placement:"bottom",modifiers:[],strategy:"absolute"};function Os(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function An(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,i=n===void 0?[]:n,r=t.defaultOptions,s=r===void 0?$s:r;return function(a,l,c){c===void 0&&(c=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},$s,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},p=[],f=!1,h={state:u,setOptions:function(w){var $=typeof w=="function"?w(u.options):w;m(),u.options=Object.assign({},s,u.options,$),u.scrollParents={reference:Xt(a)?We(a):a.contextElement?We(a.contextElement):[],popper:We(l)};var C=Hl(Fl([].concat(i,u.options.modifiers)));return u.orderedModifiers=C.filter(function(b){return b.enabled}),g(),h.update()},forceUpdate:function(){if(!f){var w=u.elements,$=w.reference,C=w.popper;if(Os($,C)){u.rects={reference:Ml($,je(C),u.options.strategy==="fixed"),popper:fi(C)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(N){return u.modifiersData[N.name]=Object.assign({},N.data)});for(var b=0;b<u.orderedModifiers.length;b++){if(u.reset===!0){u.reset=!1,b=-1;continue}var A=u.orderedModifiers[b],T=A.fn,O=A.options,L=O===void 0?{}:O,x=A.name;typeof T=="function"&&(u=T({state:u,options:L,name:x,instance:h})||u)}}}},update:jl(function(){return new Promise(function(v){h.forceUpdate(),v(u)})}),destroy:function(){m(),f=!0}};if(!Os(a,l))return h;h.setOptions(c).then(function(v){!f&&c.onFirstUpdate&&c.onFirstUpdate(v)});function g(){u.orderedModifiers.forEach(function(v){var w=v.name,$=v.options,C=$===void 0?{}:$,b=v.effect;if(typeof b=="function"){var A=b({state:u,name:w,instance:h,options:C}),T=function(){};p.push(A||T)}})}function m(){p.forEach(function(v){return v()}),p=[]}return h}}var Wl=An(),Bl=[pi,bi,hi,ci],Kl=An({defaultModifiers:Bl}),Yl=[pi,bi,hi,ci,As,bs,Ts,hs,ws],Ei=An({defaultModifiers:Yl});const Cs=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ns,afterRead:Zr,afterWrite:ss,applyStyles:ci,arrow:hs,auto:vn,basePlacements:de,beforeMain:ts,beforeRead:Qr,beforeWrite:is,bottom:z,clippingParents:Gr,computeStyles:hi,createPopper:Ei,createPopperBase:Wl,createPopperLite:Kl,detectOverflow:ve,end:he,eventListeners:pi,flip:bs,hide:ws,left:F,main:es,modifierPhases:os,offset:As,placements:ai,popper:pe,popperGenerator:An,popperOffsets:bi,preventOverflow:Ts,read:Jr,reference:Xr,right:q,start:Gt,top:j,variationPlacements:oi,viewport:si,write:rs},Symbol.toStringTag,{value:"Module"}));const Rt=new Map,yi={set(e,t,n){Rt.has(e)||Rt.set(e,new Map);const i=Rt.get(e);if(!i.has(t)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(t,n)},get(e,t){return Rt.has(e)&&Rt.get(e).get(t)||null},remove(e,t){if(!Rt.has(e))return;const n=Rt.get(e);n.delete(t),n.size===0&&Rt.delete(e)}},Ul=1e6,zl=1e3,wi="transitionend",Ss=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),ql=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Gl=e=>{do e+=Math.floor(Math.random()*Ul);while(document.getElementById(e));return e},Xl=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return!i&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*zl)},Ns=e=>{e.dispatchEvent(new Event(wi))},wt=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),Pt=e=>wt(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Ss(e)):null,be=e=>{if(!wt(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const i=e.closest("summary");if(i&&i.parentNode!==n||i===null)return!1}return t},Mt=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",xs=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?xs(e.parentNode):null},Tn=()=>{},Be=e=>{e.offsetHeight},Ds=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ai=[],Ql=e=>{document.readyState==="loading"?(Ai.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ai)t()}),Ai.push(e)):e()},it=()=>document.documentElement.dir==="rtl",rt=e=>{Ql(()=>{const t=Ds();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}})},K=(e,t=[],n=e)=>typeof e=="function"?e.call(...t):n,Ls=(e,t,n=!0)=>{if(!n){K(e);return}const r=Xl(t)+5;let s=!1;const o=({target:a})=>{a===t&&(s=!0,t.removeEventListener(wi,o),K(e))};t.addEventListener(wi,o),setTimeout(()=>{s||Ns(t)},r)},Ti=(e,t,n,i)=>{const r=e.length;let s=e.indexOf(t);return s===-1?!n&&i?e[r-1]:e[0]:(s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},Jl=/[^.]*(?=\..*)\.|.*/,Zl=/\..*/,tc=/::\d+$/,$i={};let Is=1;const ks={mouseenter:"mouseover",mouseleave:"mouseout"},ec=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Rs(e,t){return t&&`${t}::${Is++}`||e.uidEvent||Is++}function Ps(e){const t=Rs(e);return e.uidEvent=t,$i[t]=$i[t]||{},$i[t]}function nc(e,t){return function n(i){return Ci(i,{delegateTarget:e}),n.oneOff&&d.off(e,i.type,t),t.apply(e,[i])}}function ic(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return Ci(r,{delegateTarget:o}),i.oneOff&&d.off(e,r.type,t,n),n.apply(o,[r])}}function Ms(e,t,n=null){return Object.values(e).find(i=>i.callable===t&&i.delegationSelector===n)}function Vs(e,t,n){const i=typeof t=="string",r=i?n:t||n;let s=js(e);return ec.has(s)||(s=e),[i,r,s]}function Hs(e,t,n,i,r){if(typeof t!="string"||!e)return;let[s,o,a]=Vs(t,n,i);t in ks&&(o=(g=>function(m){if(!m.relatedTarget||m.relatedTarget!==m.delegateTarget&&!m.delegateTarget.contains(m.relatedTarget))return g.call(this,m)})(o));const l=Ps(e),c=l[a]||(l[a]={}),u=Ms(c,o,s?n:null);if(u){u.oneOff=u.oneOff&&r;return}const p=Rs(o,t.replace(Jl,"")),f=s?ic(e,n,o):nc(e,o);f.delegationSelector=s?n:null,f.callable=o,f.oneOff=r,f.uidEvent=p,c[p]=f,e.addEventListener(a,f,s)}function Oi(e,t,n,i,r){const s=Ms(t[n],i,r);s&&(e.removeEventListener(n,s,!!r),delete t[n][s.uidEvent])}function rc(e,t,n,i){const r=t[n]||{};for(const[s,o]of Object.entries(r))s.includes(i)&&Oi(e,t,n,o.callable,o.delegationSelector)}function js(e){return e=e.replace(Zl,""),ks[e]||e}const d={on(e,t,n,i){Hs(e,t,n,i,!1)},one(e,t,n,i){Hs(e,t,n,i,!0)},off(e,t,n,i){if(typeof t!="string"||!e)return;const[r,s,o]=Vs(t,n,i),a=o!==t,l=Ps(e),c=l[o]||{},u=t.startsWith(".");if(typeof s<"u"){if(!Object.keys(c).length)return;Oi(e,l,o,s,r?n:null);return}if(u)for(const p of Object.keys(l))rc(e,l,p,t.slice(1));for(const[p,f]of Object.entries(c)){const h=p.replace(tc,"");(!a||t.includes(h))&&Oi(e,l,o,f.callable,f.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const i=Ds(),r=js(t),s=t!==r;let o=null,a=!0,l=!0,c=!1;s&&i&&(o=i.Event(t,n),i(e).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const u=Ci(new Event(t,{bubbles:a,cancelable:!0}),n);return c&&u.preventDefault(),l&&e.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function Ci(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch{Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}function Fs(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Si(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const At={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Si(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Si(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of n){let r=i.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1),t[r]=Fs(e.dataset[i])}return t},getDataAttribute(e,t){return Fs(e.getAttribute(`data-bs-${Si(t)}`))}};class Ke{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const i=wt(n)?At.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof i=="object"?i:{},...wt(n)?At.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[i,r]of Object.entries(n)){const s=t[i],o=wt(s)?"element":ql(s);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${r}".`)}}}const sc="5.3.8";class ct extends Ke{constructor(t,n){super(),t=Pt(t),t&&(this._element=t,this._config=this._getConfig(n),yi.set(this._element,this.constructor.DATA_KEY,this))}dispose(){yi.remove(this._element,this.constructor.DATA_KEY),d.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,i=!0){Ls(t,n,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return yi.get(Pt(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return sc}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const Ni=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>Ss(n)).join(","):null},_={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!Mt(n)&&be(n))},getSelectorFromElement(e){const t=Ni(e);return t&&_.findOne(t)?t:null},getElementFromSelector(e){const t=Ni(e);return t?_.findOne(t):null},getMultipleElementsFromSelector(e){const t=Ni(e);return t?_.find(t):[]}},$n=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;d.on(document,n,`[data-bs-dismiss="${i}"]`,function(r){if(["A","AREA"].includes(this.tagName)&&r.preventDefault(),Mt(this))return;const s=_.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(s)[t]()})},oc="alert",Ws=".bs.alert",ac=`close${Ws}`,lc=`closed${Ws}`,cc="fade",uc="show";class On extends ct{static get NAME(){return oc}close(){if(d.trigger(this._element,ac).defaultPrevented)return;this._element.classList.remove(uc);const n=this._element.classList.contains(cc);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),d.trigger(this._element,lc),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=On.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}$n(On,"close"),rt(On);const fc="button",dc=".bs.button",hc=".data-api",pc="active",Bs='[data-bs-toggle="button"]',_c=`click${dc}${hc}`;class Cn extends ct{static get NAME(){return fc}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(pc))}static jQueryInterface(t){return this.each(function(){const n=Cn.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}d.on(document,_c,Bs,e=>{e.preventDefault();const t=e.target.closest(Bs);Cn.getOrCreateInstance(t).toggle()}),rt(Cn);const mc="swipe",Ee=".bs.swipe",gc=`touchstart${Ee}`,vc=`touchmove${Ee}`,bc=`touchend${Ee}`,Ec=`pointerdown${Ee}`,yc=`pointerup${Ee}`,wc="touch",Ac="pen",Tc="pointer-event",$c=40,Oc={endCallback:null,leftCallback:null,rightCallback:null},Cc={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Sn extends Ke{constructor(t,n){super(),this._element=t,!(!t||!Sn.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Oc}static get DefaultType(){return Cc}static get NAME(){return mc}dispose(){d.off(this._element,Ee)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),K(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=$c)return;const n=t/this._deltaX;this._deltaX=0,n&&K(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(d.on(this._element,Ec,t=>this._start(t)),d.on(this._element,yc,t=>this._end(t)),this._element.classList.add(Tc)):(d.on(this._element,gc,t=>this._start(t)),d.on(this._element,vc,t=>this._move(t)),d.on(this._element,bc,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===Ac||t.pointerType===wc)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Sc="carousel",Vt=".bs.carousel",Ks=".data-api",Nc="ArrowLeft",xc="ArrowRight",Dc=500,Ye="next",ye="prev",we="left",Nn="right",Lc=`slide${Vt}`,xi=`slid${Vt}`,Ic=`keydown${Vt}`,kc=`mouseenter${Vt}`,Rc=`mouseleave${Vt}`,Pc=`dragstart${Vt}`,Mc=`load${Vt}${Ks}`,Vc=`click${Vt}${Ks}`,Ys="carousel",xn="active",Hc="slide",jc="carousel-item-end",Fc="carousel-item-start",Wc="carousel-item-next",Bc="carousel-item-prev",Us=".active",zs=".carousel-item",Kc=Us+zs,Yc=".carousel-item img",Uc=".carousel-indicators",zc="[data-bs-slide], [data-bs-slide-to]",qc='[data-bs-ride="carousel"]',Gc={[Nc]:Nn,[xc]:we},Xc={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Qc={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ue extends ct{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=_.findOne(Uc,this._element),this._addEventListeners(),this._config.ride===Ys&&this.cycle()}static get Default(){return Xc}static get DefaultType(){return Qc}static get NAME(){return Sc}next(){this._slide(Ye)}nextWhenVisible(){!document.hidden&&be(this._element)&&this.next()}prev(){this._slide(ye)}pause(){this._isSliding&&Ns(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){d.one(this._element,xi,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){d.one(this._element,xi,()=>this.to(t));return}const i=this._getItemIndex(this._getActive());if(i===t)return;const r=t>i?Ye:ye;this._slide(r,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&d.on(this._element,Ic,t=>this._keydown(t)),this._config.pause==="hover"&&(d.on(this._element,kc,()=>this.pause()),d.on(this._element,Rc,()=>this._maybeEnableCycle())),this._config.touch&&Sn.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of _.find(Yc,this._element))d.on(i,Pc,r=>r.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(we)),rightCallback:()=>this._slide(this._directionToOrder(Nn)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Dc+this._config.interval))}};this._swipeHelper=new Sn(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=Gc[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=_.findOne(Us,this._indicatorsElement);n.classList.remove(xn),n.removeAttribute("aria-current");const i=_.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(xn),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const i=this._getActive(),r=t===Ye,s=n||Ti(this._getItems(),i,r,this._config.wrap);if(s===i)return;const o=this._getItemIndex(s),a=h=>d.trigger(this._element,h,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:o});if(a(Lc).defaultPrevented||!i||!s)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const u=r?Fc:jc,p=r?Wc:Bc;s.classList.add(p),Be(s),i.classList.add(u),s.classList.add(u);const f=()=>{s.classList.remove(u,p),s.classList.add(xn),i.classList.remove(xn,p,u),this._isSliding=!1,a(xi)};this._queueCallback(f,i,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Hc)}_getActive(){return _.findOne(Kc,this._element)}_getItems(){return _.find(zs,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return it()?t===we?ye:Ye:t===we?Ye:ye}_orderToDirection(t){return it()?t===ye?we:Nn:t===ye?Nn:we}static jQueryInterface(t){return this.each(function(){const n=Ue.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(document,Vc,zc,function(e){const t=_.getElementFromSelector(this);if(!t||!t.classList.contains(Ys))return;e.preventDefault();const n=Ue.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");if(i){n.to(i),n._maybeEnableCycle();return}if(At.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),d.on(window,Mc,()=>{const e=_.find(qc);for(const t of e)Ue.getOrCreateInstance(t)}),rt(Ue);const Jc="collapse",ze=".bs.collapse",Zc=".data-api",tu=`show${ze}`,eu=`shown${ze}`,nu=`hide${ze}`,iu=`hidden${ze}`,ru=`click${ze}${Zc}`,Di="show",Ae="collapse",Dn="collapsing",su="collapsed",ou=`:scope .${Ae} .${Ae}`,au="collapse-horizontal",lu="width",cu="height",uu=".collapse.show, .collapse.collapsing",Li='[data-bs-toggle="collapse"]',fu={parent:null,toggle:!0},du={parent:"(null|element)",toggle:"boolean"};class qe extends ct{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const i=_.find(Li);for(const r of i){const s=_.getSelectorFromElement(r),o=_.find(s).filter(a=>a===this._element);s!==null&&o.length&&this._triggerArray.push(r)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return fu}static get DefaultType(){return du}static get NAME(){return Jc}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(uu).filter(a=>a!==this._element).map(a=>qe.getOrCreateInstance(a,{toggle:!1}))),t.length&&t[0]._isTransitioning||d.trigger(this._element,tu).defaultPrevented)return;for(const a of t)a.hide();const i=this._getDimension();this._element.classList.remove(Ae),this._element.classList.add(Dn),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Dn),this._element.classList.add(Ae,Di),this._element.style[i]="",d.trigger(this._element,eu)},o=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(r,this._element,!0),this._element.style[i]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||d.trigger(this._element,nu).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Be(this._element),this._element.classList.add(Dn),this._element.classList.remove(Ae,Di);for(const r of this._triggerArray){const s=_.getElementFromSelector(r);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Dn),this._element.classList.add(Ae),d.trigger(this._element,iu)};this._element.style[n]="",this._queueCallback(i,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Di)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=Pt(t.parent),t}_getDimension(){return this._element.classList.contains(au)?lu:cu}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Li);for(const n of t){const i=_.getElementFromSelector(n);i&&this._addAriaAndCollapsedClass([n],this._isShown(i))}}_getFirstLevelChildren(t){const n=_.find(ou,this._config.parent);return _.find(t,this._config.parent).filter(i=>!n.includes(i))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const i of t)i.classList.toggle(su,!n),i.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const i=qe.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}}d.on(document,ru,Li,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of _.getMultipleElementsFromSelector(this))qe.getOrCreateInstance(t,{toggle:!1}).toggle()}),rt(qe);const qs="dropdown",Jt=".bs.dropdown",Ii=".data-api",hu="Escape",Gs="Tab",pu="ArrowUp",Xs="ArrowDown",_u=2,mu=`hide${Jt}`,gu=`hidden${Jt}`,vu=`show${Jt}`,bu=`shown${Jt}`,Qs=`click${Jt}${Ii}`,Js=`keydown${Jt}${Ii}`,Eu=`keyup${Jt}${Ii}`,Te="show",yu="dropup",wu="dropend",Au="dropstart",Tu="dropup-center",$u="dropdown-center",Zt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ou=`${Zt}.${Te}`,Ln=".dropdown-menu",Cu=".navbar",Su=".navbar-nav",Nu=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",xu=it()?"top-end":"top-start",Du=it()?"top-start":"top-end",Lu=it()?"bottom-end":"bottom-start",Iu=it()?"bottom-start":"bottom-end",ku=it()?"left-start":"right-start",Ru=it()?"right-start":"left-start",Pu="top",Mu="bottom",Vu={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Hu={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class _t extends ct{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=_.next(this._element,Ln)[0]||_.prev(this._element,Ln)[0]||_.findOne(Ln,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Vu}static get DefaultType(){return Hu}static get NAME(){return qs}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Mt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!d.trigger(this._element,vu,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Su))for(const i of[].concat(...document.body.children))d.on(i,"mouseover",Tn);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Te),this._element.classList.add(Te),d.trigger(this._element,bu,t)}}hide(){if(Mt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!d.trigger(this._element,mu,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))d.off(i,"mouseover",Tn);this._popper&&this._popper.destroy(),this._menu.classList.remove(Te),this._element.classList.remove(Te),this._element.setAttribute("aria-expanded","false"),At.removeDataAttribute(this._menu,"popper"),d.trigger(this._element,gu,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!wt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${qs.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Cs>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:wt(this._config.reference)?t=Pt(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=Ei(t,this._menu,n)}_isShown(){return this._menu.classList.contains(Te)}_getPlacement(){const t=this._parent;if(t.classList.contains(wu))return ku;if(t.classList.contains(Au))return Ru;if(t.classList.contains(Tu))return Pu;if(t.classList.contains($u))return Mu;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(yu)?n?Du:xu:n?Iu:Lu}_detectNavbar(){return this._element.closest(Cu)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(At.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...K(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:n}){const i=_.find(Nu,this._menu).filter(r=>be(r));i.length&&Ti(i,n,t===Xs,!i.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=_t.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===_u||t.type==="keyup"&&t.key!==Gs)return;const n=_.find(Ou);for(const i of n){const r=_t.getInstance(i);if(!r||r._config.autoClose===!1)continue;const s=t.composedPath(),o=s.includes(r._menu);if(s.includes(r._element)||r._config.autoClose==="inside"&&!o||r._config.autoClose==="outside"&&o||r._menu.contains(t.target)&&(t.type==="keyup"&&t.key===Gs||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const a={relatedTarget:r._element};t.type==="click"&&(a.clickEvent=t),r._completeHide(a)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),i=t.key===hu,r=[pu,Xs].includes(t.key);if(!r&&!i||n&&!i)return;t.preventDefault();const s=this.matches(Zt)?this:_.prev(this,Zt)[0]||_.next(this,Zt)[0]||_.findOne(Zt,t.delegateTarget.parentNode),o=_t.getOrCreateInstance(s);if(r){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),s.focus())}}d.on(document,Js,Zt,_t.dataApiKeydownHandler),d.on(document,Js,Ln,_t.dataApiKeydownHandler),d.on(document,Qs,_t.clearMenus),d.on(document,Eu,_t.clearMenus),d.on(document,Qs,Zt,function(e){e.preventDefault(),_t.getOrCreateInstance(this).toggle()}),rt(_t);const Zs="backdrop",ju="fade",to="show",eo=`mousedown.bs.${Zs}`,Fu={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Wu={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class no extends Ke{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return Fu}static get DefaultType(){return Wu}static get NAME(){return Zs}show(t){if(!this._config.isVisible){K(t);return}this._append();const n=this._getElement();this._config.isAnimated&&Be(n),n.classList.add(to),this._emulateAnimation(()=>{K(t)})}hide(t){if(!this._config.isVisible){K(t);return}this._getElement().classList.remove(to),this._emulateAnimation(()=>{this.dispose(),K(t)})}dispose(){this._isAppended&&(d.off(this._element,eo),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(ju),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=Pt(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),d.on(t,eo,()=>{K(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Ls(t,this._getElement(),this._config.isAnimated)}}const Bu="focustrap",In=".bs.focustrap",Ku=`focusin${In}`,Yu=`keydown.tab${In}`,Uu="Tab",zu="forward",io="backward",qu={autofocus:!0,trapElement:null},Gu={autofocus:"boolean",trapElement:"element"};class ro extends Ke{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return qu}static get DefaultType(){return Gu}static get NAME(){return Bu}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),d.off(document,In),d.on(document,Ku,t=>this._handleFocusin(t)),d.on(document,Yu,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,d.off(document,In))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const i=_.focusableChildren(n);i.length===0?n.focus():this._lastTabNavDirection===io?i[i.length-1].focus():i[0].focus()}_handleKeydown(t){t.key===Uu&&(this._lastTabNavDirection=t.shiftKey?io:zu)}}const so=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oo=".sticky-top",kn="padding-right",ao="margin-right";class ki{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,kn,n=>n+t),this._setElementAttributes(so,kn,n=>n+t),this._setElementAttributes(oo,ao,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,kn),this._resetElementAttributes(so,kn),this._resetElementAttributes(oo,ao)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,i){const r=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+r)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${i(Number.parseFloat(a))}px`)};this._applyManipulationCallback(t,s)}_saveInitialAttribute(t,n){const i=t.style.getPropertyValue(n);i&&At.setDataAttribute(t,n,i)}_resetElementAttributes(t,n){const i=r=>{const s=At.getDataAttribute(r,n);if(s===null){r.style.removeProperty(n);return}At.removeDataAttribute(r,n),r.style.setProperty(n,s)};this._applyManipulationCallback(t,i)}_applyManipulationCallback(t,n){if(wt(t)){n(t);return}for(const i of _.find(t,this._element))n(i)}}const Xu="modal",st=".bs.modal",Qu=".data-api",Ju="Escape",Zu=`hide${st}`,tf=`hidePrevented${st}`,lo=`hidden${st}`,co=`show${st}`,ef=`shown${st}`,nf=`resize${st}`,rf=`click.dismiss${st}`,sf=`mousedown.dismiss${st}`,of=`keydown.dismiss${st}`,af=`click${st}${Qu}`,uo="modal-open",lf="fade",fo="show",Ri="modal-static",cf=".modal.show",uf=".modal-dialog",ff=".modal-body",df='[data-bs-toggle="modal"]',hf={backdrop:!0,focus:!0,keyboard:!0},pf={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class $e extends ct{constructor(t,n){super(t,n),this._dialog=_.findOne(uf,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ki,this._addEventListeners()}static get Default(){return hf}static get DefaultType(){return pf}static get NAME(){return Xu}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||d.trigger(this._element,co,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(uo),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||d.trigger(this._element,Zu).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(fo),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){d.off(window,st),d.off(this._dialog,st),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new no({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ro({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=_.findOne(ff,this._dialog);n&&(n.scrollTop=0),Be(this._element),this._element.classList.add(fo);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,d.trigger(this._element,ef,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){d.on(this._element,of,t=>{if(t.key===Ju){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),d.on(window,nf,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),d.on(this._element,sf,t=>{d.one(this._element,rf,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(uo),this._resetAdjustments(),this._scrollBar.reset(),d.trigger(this._element,lo)})}_isAnimated(){return this._element.classList.contains(lf)}_triggerBackdropTransition(){if(d.trigger(this._element,tf).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(Ri)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Ri),this._queueCallback(()=>{this._element.classList.remove(Ri),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),i=n>0;if(i&&!t){const r=it()?"paddingLeft":"paddingRight";this._element.style[r]=`${n}px`}if(!i&&t){const r=it()?"paddingRight":"paddingLeft";this._element.style[r]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const i=$e.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t](n)}})}}d.on(document,af,df,function(e){const t=_.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),d.one(t,co,r=>{r.defaultPrevented||d.one(t,lo,()=>{be(this)&&this.focus()})});const n=_.findOne(cf);n&&$e.getInstance(n).hide(),$e.getOrCreateInstance(t).toggle(this)}),$n($e),rt($e);const _f="offcanvas",Tt=".bs.offcanvas",ho=".data-api",mf=`load${Tt}${ho}`,gf="Escape",po="show",_o="showing",mo="hiding",vf="offcanvas-backdrop",go=".offcanvas.show",bf=`show${Tt}`,Ef=`shown${Tt}`,yf=`hide${Tt}`,vo=`hidePrevented${Tt}`,bo=`hidden${Tt}`,wf=`resize${Tt}`,Af=`click${Tt}${ho}`,Tf=`keydown.dismiss${Tt}`,$f='[data-bs-toggle="offcanvas"]',Of={backdrop:!0,keyboard:!0,scroll:!1},Cf={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ht extends ct{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Of}static get DefaultType(){return Cf}static get NAME(){return _f}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||d.trigger(this._element,bf,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ki().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_o);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(po),this._element.classList.remove(_o),d.trigger(this._element,Ef,{relatedTarget:t})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||d.trigger(this._element,yf).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(mo),this._backdrop.hide();const n=()=>{this._element.classList.remove(po,mo),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ki().reset(),d.trigger(this._element,bo)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){d.trigger(this._element,vo);return}this.hide()},n=!!this._config.backdrop;return new no({className:vf,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new ro({trapElement:this._element})}_addEventListeners(){d.on(this._element,Tf,t=>{if(t.key===gf){if(this._config.keyboard){this.hide();return}d.trigger(this._element,vo)}})}static jQueryInterface(t){return this.each(function(){const n=Ht.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}d.on(document,Af,$f,function(e){const t=_.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Mt(this))return;d.one(t,bo,()=>{be(this)&&this.focus()});const n=_.findOne(go);n&&n!==t&&Ht.getInstance(n).hide(),Ht.getOrCreateInstance(t).toggle(this)}),d.on(window,mf,()=>{for(const e of _.find(go))Ht.getOrCreateInstance(e).show()}),d.on(window,wf,()=>{for(const e of _.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&Ht.getOrCreateInstance(e).hide()}),$n(Ht),rt(Ht);const Eo={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Sf=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Nf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,xf=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?Sf.has(n)?!!Nf.test(e.nodeValue):!0:t.filter(i=>i instanceof RegExp).some(i=>i.test(n))};function Df(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const r=new window.DOMParser().parseFromString(e,"text/html"),s=[].concat(...r.body.querySelectorAll("*"));for(const o of s){const a=o.nodeName.toLowerCase();if(!Object.keys(t).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[a]||[]);for(const u of l)xf(u,c)||o.removeAttribute(u.nodeName)}return r.body.innerHTML}const Lf="TemplateFactory",If={allowList:Eo,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},kf={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Rf={entry:"(string|element|function|null)",selector:"(string|element)"};class Pf extends Ke{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return If}static get DefaultType(){return kf}static get NAME(){return Lf}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[r,s]of Object.entries(this._config.content))this._setContent(t,s,r);const n=t.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&n.classList.add(...i.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,i]of Object.entries(t))super._typeCheckConfig({selector:n,entry:i},Rf)}_setContent(t,n,i){const r=_.findOne(i,t);if(r){if(n=this._resolvePossibleFunction(n),!n){r.remove();return}if(wt(n)){this._putElementInTemplate(Pt(n),r);return}if(this._config.html){r.innerHTML=this._maybeSanitize(n);return}r.textContent=n}}_maybeSanitize(t){return this._config.sanitize?Df(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return K(t,[void 0,this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const Mf="tooltip",Vf=new Set(["sanitize","allowList","sanitizeFn"]),Pi="fade",Hf="modal",Rn="show",jf=".tooltip-inner",yo=`.${Hf}`,wo="hide.bs.modal",Ge="hover",Mi="focus",Vi="click",Ff="manual",Wf="hide",Bf="hidden",Kf="show",Yf="shown",Uf="inserted",zf="click",qf="focusin",Gf="focusout",Xf="mouseenter",Qf="mouseleave",Jf={AUTO:"auto",TOP:"top",RIGHT:it()?"left":"right",BOTTOM:"bottom",LEFT:it()?"right":"left"},Zf={allowList:Eo,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},td={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class te extends ct{constructor(t,n){if(typeof Cs>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Zf}static get DefaultType(){return td}static get NAME(){return Mf}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),d.off(this._element.closest(yo),wo,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=d.trigger(this._element,this.constructor.eventName(Kf)),i=(xs(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i)return;this._disposePopper();const r=this._getTipElement();this._element.setAttribute("aria-describedby",r.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(r),d.trigger(this._element,this.constructor.eventName(Uf))),this._popper=this._createPopper(r),r.classList.add(Rn),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))d.on(a,"mouseover",Tn);const o=()=>{d.trigger(this._element,this.constructor.eventName(Yf)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||d.trigger(this._element,this.constructor.eventName(Wf)).defaultPrevented)return;if(this._getTipElement().classList.remove(Rn),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))d.off(r,"mouseover",Tn);this._activeTrigger[Vi]=!1,this._activeTrigger[Mi]=!1,this._activeTrigger[Ge]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),d.trigger(this._element,this.constructor.eventName(Bf)))};this._queueCallback(i,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Pi,Rn),n.classList.add(`bs-${this.constructor.NAME}-auto`);const i=Gl(this.constructor.NAME).toString();return n.setAttribute("id",i),this._isAnimated()&&n.classList.add(Pi),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Pf({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[jf]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Pi)}_isShown(){return this.tip&&this.tip.classList.contains(Rn)}_createPopper(t){const n=K(this._config.placement,[this,t,this._element]),i=Jf[n.toUpperCase()];return Ei(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return K(t,[this._element,this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...n,...K(this._config.popperConfig,[void 0,n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")d.on(this._element,this.constructor.eventName(zf),this._config.selector,i=>{const r=this._initializeOnDelegatedTarget(i);r._activeTrigger[Vi]=!(r._isShown()&&r._activeTrigger[Vi]),r.toggle()});else if(n!==Ff){const i=n===Ge?this.constructor.eventName(Xf):this.constructor.eventName(qf),r=n===Ge?this.constructor.eventName(Qf):this.constructor.eventName(Gf);d.on(this._element,i,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?Mi:Ge]=!0,o._enter()}),d.on(this._element,r,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?Mi:Ge]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},d.on(this._element.closest(yo),wo,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=At.getDataAttributes(this._element);for(const i of Object.keys(n))Vf.has(i)&&delete n[i];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:Pt(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,i]of Object.entries(this._config))this.constructor.Default[n]!==i&&(t[n]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=te.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}rt(te);const ed="popover",nd=".popover-header",id=".popover-body",rd={...te.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},sd={...te.DefaultType,content:"(null|string|element|function)"};class Hi extends te{static get Default(){return rd}static get DefaultType(){return sd}static get NAME(){return ed}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[nd]:this._getTitle(),[id]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Hi.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}rt(Hi);const od="scrollspy",ji=".bs.scrollspy",ad=".data-api",ld=`activate${ji}`,Ao=`click${ji}`,cd=`load${ji}${ad}`,ud="dropdown-item",Oe="active",fd='[data-bs-spy="scroll"]',Fi="[href]",dd=".nav, .list-group",To=".nav-link",hd=`${To}, .nav-item > ${To}, .list-group-item`,pd=".dropdown",_d=".dropdown-toggle",md={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},gd={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Pn extends ct{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return md}static get DefaultType(){return gd}static get NAME(){return od}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=Pt(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(d.off(this._config.target,Ao),d.on(this._config.target,Ao,Fi,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const i=this._rootElement||window,r=n.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:r,behavior:"smooth"});return}i.scrollTop=r}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=o=>this._targetLinks.get(`#${o.target.id}`),i=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},r=(this._rootElement||document.documentElement).scrollTop,s=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(i(o),!r)return;continue}!s&&!a&&i(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=_.find(Fi,this._config.target);for(const n of t){if(!n.hash||Mt(n))continue;const i=_.findOne(decodeURI(n.hash),this._element);be(i)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,i))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Oe),this._activateParents(t),d.trigger(this._element,ld,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(ud)){_.findOne(_d,t.closest(pd)).classList.add(Oe);return}for(const n of _.parents(t,dd))for(const i of _.prev(n,hd))i.classList.add(Oe)}_clearActiveClass(t){t.classList.remove(Oe);const n=_.find(`${Fi}.${Oe}`,t);for(const i of n)i.classList.remove(Oe)}static jQueryInterface(t){return this.each(function(){const n=Pn.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(window,cd,()=>{for(const e of _.find(fd))Pn.getOrCreateInstance(e)}),rt(Pn);const vd="tab",ee=".bs.tab",bd=`hide${ee}`,Ed=`hidden${ee}`,yd=`show${ee}`,wd=`shown${ee}`,Ad=`click${ee}`,Td=`keydown${ee}`,$d=`load${ee}`,Od="ArrowLeft",$o="ArrowRight",Cd="ArrowUp",Oo="ArrowDown",Wi="Home",Co="End",ne="active",So="fade",Bi="show",Sd="dropdown",No=".dropdown-toggle",Nd=".dropdown-menu",Ki=`:not(${No})`,xd='.list-group, .nav, [role="tablist"]',Dd=".nav-item, .list-group-item",Ld=`.nav-link${Ki}, .list-group-item${Ki}, [role="tab"]${Ki}`,xo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yi=`${Ld}, ${xo}`,Id=`.${ne}[data-bs-toggle="tab"], .${ne}[data-bs-toggle="pill"], .${ne}[data-bs-toggle="list"]`;class Ce extends ct{constructor(t){super(t),this._parent=this._element.closest(xd),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),d.on(this._element,Td,n=>this._keydown(n)))}static get NAME(){return vd}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),i=n?d.trigger(n,bd,{relatedTarget:t}):null;d.trigger(t,yd,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(ne),this._activate(_.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Bi);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),d.trigger(t,wd,{relatedTarget:n})};this._queueCallback(i,t,t.classList.contains(So))}_deactivate(t,n){if(!t)return;t.classList.remove(ne),t.blur(),this._deactivate(_.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Bi);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),d.trigger(t,Ed,{relatedTarget:n})};this._queueCallback(i,t,t.classList.contains(So))}_keydown(t){if(![Od,$o,Cd,Oo,Wi,Co].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(r=>!Mt(r));let i;if([Wi,Co].includes(t.key))i=n[t.key===Wi?0:n.length-1];else{const r=[$o,Oo].includes(t.key);i=Ti(n,t.target,r,!0)}i&&(i.focus({preventScroll:!0}),Ce.getOrCreateInstance(i).show())}_getChildren(){return _.find(Yi,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const i of n)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",n),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=_.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const i=this._getOuterElement(t);if(!i.classList.contains(Sd))return;const r=(s,o)=>{const a=_.findOne(s,i);a&&a.classList.toggle(o,n)};r(No,ne),r(Nd,Bi),i.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,i){t.hasAttribute(n)||t.setAttribute(n,i)}_elemIsActive(t){return t.classList.contains(ne)}_getInnerElement(t){return t.matches(Yi)?t:_.findOne(Yi,t)}_getOuterElement(t){return t.closest(Dd)||t}static jQueryInterface(t){return this.each(function(){const n=Ce.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}d.on(document,Ad,xo,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Mt(this)&&Ce.getOrCreateInstance(this).show()}),d.on(window,$d,()=>{for(const e of _.find(Id))Ce.getOrCreateInstance(e)}),rt(Ce);const kd="toast",jt=".bs.toast",Rd=`mouseover${jt}`,Pd=`mouseout${jt}`,Md=`focusin${jt}`,Vd=`focusout${jt}`,Hd=`hide${jt}`,jd=`hidden${jt}`,Fd=`show${jt}`,Wd=`shown${jt}`,Bd="fade",Do="hide",Mn="show",Vn="showing",Kd={animation:"boolean",autohide:"boolean",delay:"number"},Yd={animation:!0,autohide:!0,delay:5e3};class Hn extends ct{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Yd}static get DefaultType(){return Kd}static get NAME(){return kd}show(){if(d.trigger(this._element,Fd).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Bd);const n=()=>{this._element.classList.remove(Vn),d.trigger(this._element,Wd),this._maybeScheduleHide()};this._element.classList.remove(Do),Be(this._element),this._element.classList.add(Mn,Vn),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||d.trigger(this._element,Hd).defaultPrevented)return;const n=()=>{this._element.classList.add(Do),this._element.classList.remove(Vn,Mn),d.trigger(this._element,jd)};this._element.classList.add(Vn),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Mn),super.dispose()}isShown(){return this._element.classList.contains(Mn)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){d.on(this._element,Rd,t=>this._onInteraction(t,!0)),d.on(this._element,Pd,t=>this._onInteraction(t,!1)),d.on(this._element,Md,t=>this._onInteraction(t,!0)),d.on(this._element,Vd,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=Hn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}$n(Hn),rt(Hn);var Ud=za('<span id="tooltip" style="display: inline-block;" class="svelte-5j6wnh"><!></span>');const zd={hash:"svelte-5j6wnh",code:`@charset "UTF-8";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@media (prefers-reduced-motion: no-preference) {:root {scroll-behavior:smooth;}
|
|
12
|
-
}
|
|
13
|
-
@media (min-width: 1200px) {
|
|
14
|
-
}
|
|
15
|
-
@media (min-width: 1200px) {
|
|
16
|
-
}
|
|
17
|
-
@media (min-width: 1200px) {
|
|
18
|
-
}
|
|
19
|
-
@media (min-width: 1200px) {
|
|
20
|
-
}.svelte-5j6wnh::-moz-focus-inner {padding:0;border-style:none;}
|
|
21
|
-
@media (min-width: 1200px) {
|
|
22
|
-
}.svelte-5j6wnh::-webkit-datetime-edit-fields-wrapper,
|
|
23
|
-
.svelte-5j6wnh::-webkit-datetime-edit-text,
|
|
24
|
-
.svelte-5j6wnh::-webkit-datetime-edit-minute,
|
|
25
|
-
.svelte-5j6wnh::-webkit-datetime-edit-hour-field,
|
|
26
|
-
.svelte-5j6wnh::-webkit-datetime-edit-day-field,
|
|
27
|
-
.svelte-5j6wnh::-webkit-datetime-edit-month-field,
|
|
28
|
-
.svelte-5j6wnh::-webkit-datetime-edit-year-field {padding:0;}.svelte-5j6wnh::-webkit-inner-spin-button {height:auto;}
|
|
29
|
-
|
|
30
|
-
/* rtl:raw:
|
|
31
|
-
[type="tel"],
|
|
32
|
-
[type="url"],
|
|
33
|
-
[type="email"],
|
|
34
|
-
[type="number"] {
|
|
35
|
-
direction: ltr;
|
|
36
|
-
}
|
|
37
|
-
*/.svelte-5j6wnh::-webkit-search-decoration {-webkit-appearance:none;}.svelte-5j6wnh::-webkit-color-swatch-wrapper {padding:0;}.svelte-5j6wnh::file-selector-button {font:inherit;-webkit-appearance:button;}
|
|
38
|
-
@media (min-width: 1200px) {
|
|
39
|
-
}
|
|
40
|
-
@media (min-width: 1200px) {
|
|
41
|
-
}
|
|
42
|
-
@media (min-width: 1200px) {
|
|
43
|
-
}
|
|
44
|
-
@media (min-width: 1200px) {
|
|
45
|
-
}
|
|
46
|
-
@media (min-width: 1200px) {
|
|
47
|
-
}
|
|
48
|
-
@media (min-width: 1200px) {
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@media (min-width: 576px) {
|
|
52
|
-
}
|
|
53
|
-
@media (min-width: 768px) {
|
|
54
|
-
}
|
|
55
|
-
@media (min-width: 992px) {
|
|
56
|
-
}
|
|
57
|
-
@media (min-width: 1200px) {
|
|
58
|
-
}
|
|
59
|
-
@media (min-width: 1400px) {
|
|
60
|
-
}:root {--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px;}
|
|
61
|
-
|
|
62
|
-
@media (min-width: 576px) {
|
|
63
|
-
}
|
|
64
|
-
@media (min-width: 768px) {
|
|
65
|
-
}
|
|
66
|
-
@media (min-width: 992px) {
|
|
67
|
-
}
|
|
68
|
-
@media (min-width: 1200px) {
|
|
69
|
-
}
|
|
70
|
-
@media (min-width: 1400px) {
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@media (max-width: 575.98px) {
|
|
74
|
-
}
|
|
75
|
-
@media (max-width: 767.98px) {
|
|
76
|
-
}
|
|
77
|
-
@media (max-width: 991.98px) {
|
|
78
|
-
}
|
|
79
|
-
@media (max-width: 1199.98px) {
|
|
80
|
-
}
|
|
81
|
-
@media (max-width: 1399.98px) {
|
|
82
|
-
}
|
|
83
|
-
@media (prefers-reduced-motion: reduce) {
|
|
84
|
-
}
|
|
85
|
-
@media (prefers-reduced-motion: reduce) {
|
|
86
|
-
}
|
|
87
|
-
@media (prefers-reduced-motion: reduce) {
|
|
88
|
-
}
|
|
89
|
-
@media (prefers-reduced-motion: reduce) {
|
|
90
|
-
}
|
|
91
|
-
@media (prefers-reduced-motion: reduce) {
|
|
92
|
-
}
|
|
93
|
-
@media (prefers-reduced-motion: reduce) {
|
|
94
|
-
}
|
|
95
|
-
@media (prefers-reduced-motion: reduce) {
|
|
96
|
-
}
|
|
97
|
-
@media (prefers-reduced-motion: reduce) {
|
|
98
|
-
}
|
|
99
|
-
@media (prefers-reduced-motion: reduce) {
|
|
100
|
-
}
|
|
101
|
-
@media (prefers-reduced-motion: reduce) {
|
|
102
|
-
}
|
|
103
|
-
@media (prefers-reduced-motion: reduce) {
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@media (min-width: 576px) {
|
|
107
|
-
}
|
|
108
|
-
@media (min-width: 768px) {
|
|
109
|
-
}
|
|
110
|
-
@media (min-width: 992px) {
|
|
111
|
-
}
|
|
112
|
-
@media (min-width: 1200px) {
|
|
113
|
-
}
|
|
114
|
-
@media (min-width: 1400px) {
|
|
115
|
-
}
|
|
116
|
-
@media (prefers-reduced-motion: reduce) {
|
|
117
|
-
}
|
|
118
|
-
@media (prefers-reduced-motion: reduce) {
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@media (min-width: 576px) {
|
|
122
|
-
}
|
|
123
|
-
@media (min-width: 768px) {
|
|
124
|
-
}
|
|
125
|
-
@media (min-width: 992px) {
|
|
126
|
-
}
|
|
127
|
-
@media (min-width: 1200px) {
|
|
128
|
-
}
|
|
129
|
-
@media (min-width: 1400px) {
|
|
130
|
-
}
|
|
131
|
-
@media (min-width: 576px) {
|
|
132
|
-
}
|
|
133
|
-
@media (prefers-reduced-motion: reduce) {
|
|
134
|
-
}
|
|
135
|
-
@media (prefers-reduced-motion: reduce) {
|
|
136
|
-
}
|
|
137
|
-
@media (prefers-reduced-motion: reduce) {
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
@keyframes svelte-5j6wnh-progress-bar-stripes {
|
|
141
|
-
0% {
|
|
142
|
-
background-position-x: var(--bs-progress-height);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
@media (prefers-reduced-motion: reduce) {
|
|
146
|
-
}
|
|
147
|
-
@media (prefers-reduced-motion: reduce) {
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
@media (min-width: 576px) {
|
|
151
|
-
}
|
|
152
|
-
@media (min-width: 768px) {
|
|
153
|
-
}
|
|
154
|
-
@media (min-width: 992px) {
|
|
155
|
-
}
|
|
156
|
-
@media (min-width: 1200px) {
|
|
157
|
-
}
|
|
158
|
-
@media (min-width: 1400px) {
|
|
159
|
-
}:root {--bs-btn-close-filter: ;}
|
|
160
|
-
@media (prefers-reduced-motion: reduce) {
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@media (min-width: 576px) {
|
|
164
|
-
}
|
|
165
|
-
@media (min-width: 992px) {
|
|
166
|
-
}
|
|
167
|
-
@media (min-width: 1200px) {
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
@media (max-width: 575.98px) {
|
|
171
|
-
}
|
|
172
|
-
@media (max-width: 767.98px) {
|
|
173
|
-
}
|
|
174
|
-
@media (max-width: 991.98px) {
|
|
175
|
-
}
|
|
176
|
-
@media (max-width: 1199.98px) {
|
|
177
|
-
}
|
|
178
|
-
@media (max-width: 1399.98px) {
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/* rtl:begin:ignore */
|
|
182
|
-
|
|
183
|
-
/* rtl:end:ignore */
|
|
184
|
-
|
|
185
|
-
/* rtl:begin:ignore */
|
|
186
|
-
|
|
187
|
-
/* rtl:end:ignore */
|
|
188
|
-
|
|
189
|
-
/* rtl:begin:ignore */
|
|
190
|
-
|
|
191
|
-
/* rtl:end:ignore */
|
|
192
|
-
|
|
193
|
-
/* rtl:begin:ignore */
|
|
194
|
-
|
|
195
|
-
/* rtl:end:ignore */
|
|
196
|
-
@media (prefers-reduced-motion: reduce) {
|
|
197
|
-
}
|
|
198
|
-
@media (prefers-reduced-motion: reduce) {
|
|
199
|
-
}
|
|
200
|
-
@media (prefers-reduced-motion: reduce) {
|
|
201
|
-
}
|
|
202
|
-
@media (prefers-reduced-motion: reduce) {
|
|
203
|
-
}:root {--bs-carousel-indicator-active-bg: #fff;--bs-carousel-caption-color: #fff;--bs-carousel-control-icon-filter: ;}
|
|
204
|
-
|
|
205
|
-
@keyframes svelte-5j6wnh-spinner-border {
|
|
206
|
-
to {
|
|
207
|
-
transform: rotate(360deg) /* rtl:ignore */;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
@keyframes svelte-5j6wnh-spinner-grow {
|
|
212
|
-
0% {
|
|
213
|
-
transform: scale(0);
|
|
214
|
-
}
|
|
215
|
-
50% {
|
|
216
|
-
opacity: 1;
|
|
217
|
-
transform: none;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@media (prefers-reduced-motion: reduce) {
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
@media (max-width: 575.98px) {
|
|
225
|
-
}
|
|
226
|
-
@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {
|
|
227
|
-
}
|
|
228
|
-
@media (max-width: 575.98px) {
|
|
229
|
-
}
|
|
230
|
-
@media (min-width: 576px) {
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
@media (max-width: 767.98px) {
|
|
234
|
-
}
|
|
235
|
-
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
|
|
236
|
-
}
|
|
237
|
-
@media (max-width: 767.98px) {
|
|
238
|
-
}
|
|
239
|
-
@media (min-width: 768px) {
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
@media (max-width: 991.98px) {
|
|
243
|
-
}
|
|
244
|
-
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
|
|
245
|
-
}
|
|
246
|
-
@media (max-width: 991.98px) {
|
|
247
|
-
}
|
|
248
|
-
@media (min-width: 992px) {
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
@media (max-width: 1199.98px) {
|
|
252
|
-
}
|
|
253
|
-
@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
|
|
254
|
-
}
|
|
255
|
-
@media (max-width: 1199.98px) {
|
|
256
|
-
}
|
|
257
|
-
@media (min-width: 1200px) {
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@media (max-width: 1399.98px) {
|
|
261
|
-
}
|
|
262
|
-
@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) {
|
|
263
|
-
}
|
|
264
|
-
@media (max-width: 1399.98px) {
|
|
265
|
-
}
|
|
266
|
-
@media (min-width: 1400px) {
|
|
267
|
-
}
|
|
268
|
-
@media (prefers-reduced-motion: reduce) {
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
@keyframes svelte-5j6wnh-placeholder-glow {
|
|
272
|
-
50% {
|
|
273
|
-
opacity: 0.2;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
@keyframes svelte-5j6wnh-placeholder-wave {
|
|
278
|
-
100% {
|
|
279
|
-
mask-position: -200% 0%;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
@media (prefers-reduced-motion: reduce) {
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
@media (min-width: 576px) {
|
|
286
|
-
}
|
|
287
|
-
@media (min-width: 768px) {
|
|
288
|
-
}
|
|
289
|
-
@media (min-width: 992px) {
|
|
290
|
-
}
|
|
291
|
-
@media (min-width: 1200px) {
|
|
292
|
-
}
|
|
293
|
-
@media (min-width: 1400px) {
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/* rtl:begin:remove */
|
|
297
|
-
|
|
298
|
-
/* rtl:end:remove */
|
|
299
|
-
|
|
300
|
-
@media (min-width: 576px) {
|
|
301
|
-
}
|
|
302
|
-
@media (min-width: 768px) {
|
|
303
|
-
}
|
|
304
|
-
@media (min-width: 992px) {
|
|
305
|
-
}
|
|
306
|
-
@media (min-width: 1200px) {
|
|
307
|
-
}
|
|
308
|
-
@media (min-width: 1400px) {
|
|
309
|
-
}
|
|
310
|
-
@media (min-width: 1200px) {
|
|
311
|
-
}
|
|
312
|
-
@media print {
|
|
313
|
-
}`};function Lo(e,t){ar(t,!0),el(e,zd);let n=zr(t,"id",7,""),i=zr(t,"tooltip"),r,s;Za(()=>{r=t.$$host?.shadowRoot?.querySelector("#tooltip")});let o=Aa(()=>{if(!i())return null;if(typeof i()=="string")try{return JSON.parse(i())}catch(p){return console.warn("Invalid tooltip JSON",p),null}return i()});const a=()=>{const p=r.querySelector(".tooltip");if(!p)return;const f=B(o)?.style||{};if(f.disableDefaultStyle)return;const h={"background-color":f.backgroundColor||"black",color:f.color||"white","font-size":f.fontSize||"0.875rem",padding:f.padding||"0.5rem 1rem","border-radius":f.borderRadius||"0.25rem",opacity:f.opacity!==void 0?f.opacity:.9,transition:`opacity ${f.transitionDuration||"0.2s"} ease-in-out`},g=p.querySelector(".tooltip-inner");g&&(Object.entries(h).forEach(([m,v])=>{m==="transition"||m==="opacity"?p.style.setProperty(m,String(v)):g.style.setProperty(m,String(v))}),f.backgroundColor&&p.style.setProperty("--bs-tooltip-bg",f.backgroundColor))};Or(()=>{if(!(!r||!B(o)))return s=new te(r,{container:r,placement:B(o).placement||"top",...B(o)}),()=>{s.dispose()}});var l={get id(){return n()},set id(p=""){n(p),Jn()},get tooltip(){return i()},set tooltip(p){i(p),Jn()}},c=Ud(),u=Ca(c);return tl(u,t,"default",{},p=>{var f=qa(" ");ii(p,f)}),fa(c),Ya("inserted.bs.tooltip",c,a),ii(e,c),lr(l)}customElements.define("hb-tooltip",sl(Lo,{id:{},tooltip:{}},["default"],[],!0)),Xi.Component=Lo,Object.defineProperty(Xi,Symbol.toStringTag,{value:"Module"})})(this.tooltip=this.tooltip||{});
|
|
1
|
+
(function(gn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Hr=1,qr=2,mn="[",Ie="[!",wn="]",Pt={},P=Symbol(),We=!1;var zr=Array.isArray,Yr=Array.prototype.indexOf,Ur=Array.from,me=Object.keys,we=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,Xr=Object.prototype,Kr=Array.prototype,Gr=Object.getPrototypeOf,yn=Object.isExtensible;function Jr(t){for(var e=0;e<t.length;e++)t[e]()}function bn(){var t,e,n=new Promise((r,s)=>{t=r,e=s});return{promise:n,resolve:t,reject:e}}const L=2,He=4,qe=8,mt=16,wt=32,At=64,ye=128,J=512,D=1024,j=2048,yt=4096,lt=8192,bt=16384,be=32768,qt=65536,xn=1<<17,$n=1<<18,Dt=1<<19,Zr=1<<20,Nt=32768,ze=1<<21,Ye=1<<22,St=1<<23,xe=Symbol("$state"),Qr=Symbol("legacy props"),zt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ue=3,Yt=8;function ti(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function ei(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ni(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ri(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ii(t){throw new Error("https://svelte.dev/e/effect_orphan")}function si(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function oi(){throw new Error("https://svelte.dev/e/hydration_failed")}function li(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function fi(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ai(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ci(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function re(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function ui(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let R=!1;function Ut(t){R=t}let E;function U(t){if(t===null)throw re(),Pt;return E=t}function Xt(){return U(ct(E))}function En(t){if(R){if(ct(E)!==null)throw re(),Pt;E=t}}function hi(t=1){if(R){for(var e=t,n=E;e--;)n=ct(n);E=n}}function Rn(t=!0){for(var e=0,n=E;;){if(n.nodeType===Yt){var r=n.data;if(r===wn){if(e===0)return n;e-=1}else(r===mn||r===Ie)&&(e+=1)}var s=ct(n);t&&n.remove(),n=s}}function di(t){if(!t||t.nodeType!==Yt)throw re(),Pt;return t.data}function An(t){return t===this.v}function vi(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function pi(t){return!vi(t,this.v)}let _i=!1,H=null;function Kt(t){H=t}function Sn(t,e=!1,n){H={p:H,i:!1,c:null,e:null,s:t,x:null,l:null}}function Tn(t){var e=H,n=e.e;if(n!==null){e.e=null;for(var r of n)Xn(r)}return t!==void 0&&(e.x=t),e.i=!0,H=e.p,t??{}}function On(){return!0}let Ft=[];function Cn(){var t=Ft;Ft=[],Jr(t)}function ie(t){if(Ft.length===0&&!se){var e=Ft;queueMicrotask(()=>{e===Ft&&Cn()})}Ft.push(t)}function gi(){for(;Ft.length>0;)Cn()}function kn(t){var e=x;if(e===null)return b.f|=St,t;if((e.f&be)===0){if((e.f&ye)===0)throw t;e.b.error(t)}else Gt(t,e)}function Gt(t,e){for(;e!==null;){if((e.f&ye)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t}const $e=new Set;let T=null,X=null,K=[],Ee=null,Xe=!1,se=!1;class Z{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#f=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(e){K=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of e)this.#o(r,n);this.is_fork||this.#c(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(T=null,Pn(n.render_effects),Pn(n.effects),this.#f?.resolve()),X=null}#o(e,n){e.f^=D;for(var r=e.first;r!==null;){var s=r.f,i=(s&(wt|At))!==0,o=i&&(s&D)!==0,l=o||(s<)!==0||this.skipped_effects.has(r);if((r.f&ye)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){i?r.f^=D:(s&He)!==0?n.effects.push(r):ue(r)&&((r.f&mt)!==0&&n.block_effects.push(r),he(r));var f=r.first;if(f!==null){r=f;continue}}var a=r.parent;for(r=r.next;r===null&&a!==null;)a===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=a.next,a=a.parent}}#l(e){for(const n of e)((n.f&j)!==0?this.#s:this.#i).push(n),this.#a(n.deps),N(n,D)}#a(e){if(e!==null)for(const n of e)(n.f&L)===0||(n.f&Nt)===0||(n.f^=Nt,this.#a(n.deps))}capture(e,n){this.previous.has(e)||this.previous.set(e,n),(e.f&St)===0&&(this.current.set(e,e.v),X?.set(e,e.v))}activate(){T=this,this.apply()}deactivate(){T===this&&(T=null,X=null)}flush(){if(this.activate(),K.length>0){if(Ln(),T!==null&&T!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#c(){if(this.#r===0){for(const e of this.#e)e();this.#e.clear()}this.#n===0&&this.#u()}#u(){if($e.size>1){this.previous.clear();var e=X,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of $e){if(i===this){n=!1;continue}const o=[];for(const[f,a]of this.current){if(i.current.has(f))if(n&&a!==i.current.get(f))i.current.set(f,a);else continue;o.push(f)}if(o.length===0)continue;const l=[...i.current.keys()].filter(f=>!this.current.has(f));if(l.length>0){var s=K;K=[];const f=new Set,a=new Map;for(const h of o)Dn(h,l,f,a);if(K.length>0){T=i,i.apply();for(const h of K)i.#o(h,r);i.deactivate()}K=s}}T=null,X=e}this.committed=!0,$e.delete(this)}increment(e){this.#n+=1,e&&(this.#r+=1)}decrement(e){this.#n-=1,e&&(this.#r-=1),this.revive()}revive(){for(const e of this.#s)N(e,j),Mt(e);for(const e of this.#i)N(e,yt),Mt(e);this.#s=[],this.#i=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#f??=bn()).promise}static ensure(){if(T===null){const e=T=new Z;$e.add(T),se||Z.enqueue(()=>{T===e&&e.flush()})}return T}static enqueue(e){ie(e)}apply(){}}function Re(t){var e=se;se=!0;try{for(var n;;){if(gi(),K.length===0&&(T?.flush(),K.length===0))return Ee=null,n;Ln()}}finally{se=e}}function Ln(){var t=Ot;Xe=!0;var e=null;try{var n=0;for(Oe(!0);K.length>0;){var r=Z.ensure();if(n++>1e3){var s,i;mi()}r.process(K),Tt.clear()}}finally{Xe=!1,Oe(t),Ee=null}}function mi(){try{si()}catch(t){Gt(t,Ee)}}let xt=null;function Pn(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(bt|lt))===0&&ue(r)&&(xt=new Set,he(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?tr(r):r.fn=null),xt?.size>0)){Tt.clear();for(const s of xt){if((s.f&(bt|lt))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)xt.has(o)&&(xt.delete(o),i.push(o)),o=o.parent;for(let l=i.length-1;l>=0;l--){const f=i[l];(f.f&(bt|lt))===0&&he(f)}}xt.clear()}}xt=null}}function Dn(t,e,n,r){if(!n.has(t)&&(n.add(t),t.reactions!==null))for(const s of t.reactions){const i=s.f;(i&L)!==0?Dn(s,e,n,r):(i&(Ye|mt))!==0&&(i&j)===0&&Nn(s,e,r)&&(N(s,j),Mt(s))}}function Nn(t,e,n){const r=n.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const s of t.deps){if(e.includes(s))return!0;if((s.f&L)!==0&&Nn(s,e,n))return n.set(s,!0),!0}return n.set(t,!1),!1}function Mt(t){for(var e=Ee=t;e.parent!==null;){e=e.parent;var n=e.f;if(Xe&&e===x&&(n&mt)!==0&&(n&$n)===0)return;if((n&(At|wt))!==0){if((n&D)===0)return;e.f^=D}}K.push(e)}function wi(t){let e=0,n=oe(0),r;return()=>{Te()&&(w(n),nn(()=>(e===0&&(r=sn(()=>t(()=>le(n)))),e+=1,()=>{ie(()=>{e-=1,e===0&&(r?.(),r=void 0,le(n))})})))}}var yi=qt|Dt|ye;function bi(t,e,n){new xi(t,e,n)}class xi{parent;#e=!1;#t;#n=R?E:null;#r;#f;#s;#i=null;#o=null;#l=null;#a=null;#c=null;#u=0;#h=0;#v=!1;#d=null;#w=wi(()=>(this.#d=oe(this.#u),()=>{this.#d=null}));constructor(e,n,r){this.#t=e,this.#r=n,this.#f=r,this.parent=x.b,this.#e=!!this.#r.pending,this.#s=Gn(()=>{if(x.b=this,R){const i=this.#n;Xt(),i.nodeType===Yt&&i.data===Ie?this.#b():this.#y()}else{var s=this.#g();try{this.#i=$t(()=>r(s))}catch(i){this.error(i)}this.#h>0?this.#_():this.#e=!1}return()=>{this.#c?.remove()}},yi),R&&(this.#t=E)}#y(){try{this.#i=$t(()=>this.#f(this.#t))}catch(e){this.error(e)}this.#e=!1}#b(){const e=this.#r.pending;e&&(this.#o=$t(()=>e(this.#t)),Z.enqueue(()=>{var n=this.#g();this.#i=this.#p(()=>(Z.ensure(),$t(()=>this.#f(n)))),this.#h>0?this.#_():(ae(this.#o,()=>{this.#o=null}),this.#e=!1)}))}#g(){var e=this.#t;return this.#e&&(this.#c=ft(),this.#t.before(this.#c),e=this.#c),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#p(e){var n=x,r=b,s=H;dt(this.#s),I(this.#s),Kt(this.#s.ctx);try{return e()}catch(i){return kn(i),null}finally{dt(n),I(r),Kt(s)}}#_(){const e=this.#r.pending;this.#i!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#c),rr(this.#i,this.#a)),this.#o===null&&(this.#o=$t(()=>e(this.#t)))}#m(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(e);return}this.#h+=e,this.#h===0&&(this.#e=!1,this.#o&&ae(this.#o,()=>{this.#o=null}),this.#a&&(this.#t.before(this.#a),this.#a=null))}update_pending_count(e){this.#m(e),this.#u+=e,this.#d&&Se(this.#d,this.#u)}get_effect_pending(){return this.#w(),w(this.#d)}error(e){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw e;this.#i&&(V(this.#i),this.#i=null),this.#o&&(V(this.#o),this.#o=null),this.#l&&(V(this.#l),this.#l=null),R&&(U(this.#n),hi(),U(Rn()));var s=!1,i=!1;const o=()=>{if(s){ui();return}s=!0,i&&ci(),Z.ensure(),this.#u=0,this.#l!==null&&ae(this.#l,()=>{this.#l=null}),this.#e=this.has_pending_snippet(),this.#i=this.#p(()=>(this.#v=!1,$t(()=>this.#f(this.#t)))),this.#h>0?this.#_():this.#e=!1};var l=b;try{I(null),i=!0,n?.(e,o),i=!1}catch(f){Gt(f,this.#s&&this.#s.parent)}finally{I(l)}r&&ie(()=>{this.#l=this.#p(()=>{Z.ensure(),this.#v=!0;try{return $t(()=>{r(this.#t,()=>e,()=>o)})}catch(f){return Gt(f,this.#s.parent),null}finally{this.#v=!1}})})}}function $i(t,e,n,r){const s=Ke;if(n.length===0&&t.length===0){r(e.map(s));return}var i=T,o=x,l=Ei();function f(){Promise.all(n.map(a=>Ri(a))).then(a=>{l();try{r([...e.map(s),...a])}catch(h){(o.f&bt)===0&&Gt(h,o)}i?.deactivate(),Ae()}).catch(a=>{Gt(a,o)})}t.length>0?Promise.all(t).then(()=>{l();try{return f()}finally{i?.deactivate(),Ae()}}):f()}function Ei(){var t=x,e=b,n=H,r=T;return function(i=!0){dt(t),I(e),Kt(n),i&&r?.activate()}}function Ae(){dt(null),I(null),Kt(null)}function Ke(t){var e=L|j,n=b!==null&&(b.f&L)!==0?b:null;return x!==null&&(x.f|=Dt),{ctx:H,deps:null,effects:null,equals:An,f:e,fn:t,reactions:null,rv:0,v:P,wv:0,parent:n??x,ac:null}}function Ri(t,e){let n=x;n===null&&ei();var r=n.b,s=void 0,i=oe(P),o=!b,l=new Map;return Ni(()=>{var f=bn();s=f.promise;try{Promise.resolve(t()).then(f.resolve,f.reject).then(()=>{a===T&&a.committed&&a.deactivate(),Ae()})}catch(d){f.reject(d),Ae()}var a=T;if(o){var h=!r.is_pending();r.update_pending_count(1),a.increment(h),l.get(a)?.reject(zt),l.delete(a),l.set(a,f)}const c=(d,u=void 0)=>{if(a.activate(),u)u!==zt&&(i.f|=St,Se(i,u));else{(i.f&St)!==0&&(i.f^=St),Se(i,d);for(const[v,p]of l){if(l.delete(v),v===a)break;p.reject(zt)}}o&&(r.update_pending_count(-1),a.decrement(h))};f.promise.then(c,d=>c(null,d||"unknown"))}),Un(()=>{for(const f of l.values())f.reject(zt)}),new Promise(f=>{function a(h){function c(){h===s?f(i):a(s)}h.then(c,c)}a(s)})}function Ge(t){const e=Ke(t);return sr(e),e}function Fn(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)V(e[n])}}function Ai(t){for(var e=t.parent;e!==null;){if((e.f&L)===0)return(e.f&bt)===0?e:null;e=e.parent}return null}function Je(t){var e,n=x;dt(Ai(t));try{t.f&=~Nt,Fn(t),e=cr(t)}finally{dt(n)}return e}function Mn(t){var e=Je(t);if(t.equals(e)||(T?.is_fork||(t.v=e),t.wv=fr()),!jt)if(X!==null)Te()&&X.set(t,e);else{var n=(t.f&J)===0?yt:D;N(t,n)}}let Ze=new Set;const Tt=new Map;let jn=!1;function oe(t,e){var n={f:0,v:t,reactions:null,equals:An,rv:0,wv:0};return n}function Q(t,e){const n=oe(t);return sr(n),n}function Si(t,e=!1,n=!0){const r=oe(t);return e||(r.equals=pi),r}function B(t,e,n=!1){b!==null&&(!ht||(b.f&xn)!==0)&&On()&&(b.f&(L|mt|Ye|xn))!==0&&!Et?.includes(t)&&ai();let r=n?fe(e):e;return Se(t,r)}function Se(t,e){if(!t.equals(e)){var n=t.v;jt?Tt.set(t,e):Tt.set(t,n),t.v=e;var r=Z.ensure();r.capture(t,n),(t.f&L)!==0&&((t.f&j)!==0&&Je(t),N(t,(t.f&J)!==0?D:yt)),t.wv=fr(),Bn(t,j),x!==null&&(x.f&D)!==0&&(x.f&(wt|At))===0&&(G===null?Bi([t]):G.push(t)),!r.is_fork&&Ze.size>0&&!jn&&Ti()}return e}function Ti(){jn=!1;var t=Ot;Oe(!0);const e=Array.from(Ze);try{for(const n of e)(n.f&D)!==0&&N(n,yt),ue(n)&&he(n)}finally{Oe(t)}Ze.clear()}function le(t){B(t,t.v+1)}function Bn(t,e){var n=t.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],o=i.f,l=(o&j)===0;if(l&&N(i,e),(o&L)!==0){var f=i;X?.delete(f),(o&Nt)===0&&(o&J&&(i.f|=Nt),Bn(f,yt))}else l&&((o&mt)!==0&&xt!==null&&xt.add(i),Mt(i))}}function fe(t){if(typeof t!="object"||t===null||xe in t)return t;const e=Gr(t);if(e!==Xr&&e!==Kr)return t;var n=new Map,r=zr(t),s=Q(0),i=Bt,o=l=>{if(Bt===i)return l();var f=b,a=Bt;I(null),lr(i);var h=l();return I(f),lr(a),h};return r&&n.set("length",Q(t.length)),new Proxy(t,{defineProperty(l,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&li();var h=n.get(f);return h===void 0?h=o(()=>{var c=Q(a.value);return n.set(f,c),c}):B(h,a.value,!0),!0},deleteProperty(l,f){var a=n.get(f);if(a===void 0){if(f in l){const h=o(()=>Q(P));n.set(f,h),le(s)}}else B(a,P),le(s);return!0},get(l,f,a){if(f===xe)return t;var h=n.get(f),c=f in l;if(h===void 0&&(!c||Ht(l,f)?.writable)&&(h=o(()=>{var u=fe(c?l[f]:P),v=Q(u);return v}),n.set(f,h)),h!==void 0){var d=w(h);return d===P?void 0:d}return Reflect.get(l,f,a)},getOwnPropertyDescriptor(l,f){var a=Reflect.getOwnPropertyDescriptor(l,f);if(a&&"value"in a){var h=n.get(f);h&&(a.value=w(h))}else if(a===void 0){var c=n.get(f),d=c?.v;if(c!==void 0&&d!==P)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return a},has(l,f){if(f===xe)return!0;var a=n.get(f),h=a!==void 0&&a.v!==P||Reflect.has(l,f);if(a!==void 0||x!==null&&(!h||Ht(l,f)?.writable)){a===void 0&&(a=o(()=>{var d=h?fe(l[f]):P,u=Q(d);return u}),n.set(f,a));var c=w(a);if(c===P)return!1}return h},set(l,f,a,h){var c=n.get(f),d=f in l;if(r&&f==="length")for(var u=a;u<c.v;u+=1){var v=n.get(u+"");v!==void 0?B(v,P):u in l&&(v=o(()=>Q(P)),n.set(u+"",v))}if(c===void 0)(!d||Ht(l,f)?.writable)&&(c=o(()=>Q(void 0)),B(c,fe(a)),n.set(f,c));else{d=c.v!==P;var p=o(()=>fe(a));B(c,p)}var g=Reflect.getOwnPropertyDescriptor(l,f);if(g?.set&&g.set.call(h,a),!d){if(r&&typeof f=="string"){var m=n.get("length"),y=Number(f);Number.isInteger(y)&&y>=m.v&&B(m,y+1)}le(s)}return!0},ownKeys(l){w(s);var f=Reflect.ownKeys(l).filter(c=>{var d=n.get(c);return d===void 0||d.v!==P});for(var[a,h]of n)h.v!==P&&!(a in l)&&f.push(a);return f},setPrototypeOf(){fi()}})}var Vn,In,Wn,Hn;function Qe(){if(Vn===void 0){Vn=window,In=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Wn=Ht(e,"firstChild").get,Hn=Ht(e,"nextSibling").get,yn(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),yn(n)&&(n.__t=void 0)}}function ft(t=""){return document.createTextNode(t)}function at(t){return Wn.call(t)}function ct(t){return Hn.call(t)}function qn(t,e){if(!R)return at(t);var n=at(E);return n===null&&(n=E.appendChild(ft())),U(n),n}function zn(t,e=!1){if(!R){var n=at(t);return n instanceof Comment&&n.data===""?ct(n):n}if(e&&E?.nodeType!==Ue){var r=ft();return E?.before(r),U(r),r}return E}function Yn(t,e=1,n=!1){let r=R?E:t;for(var s;e--;)s=r,r=ct(r);if(!R)return r;if(n&&r?.nodeType!==Ue){var i=ft();return r===null?s?.after(i):r.before(i),U(i),i}return U(r),r}function Oi(t){t.textContent=""}function Ci(){return!1}function tn(t){var e=b,n=x;I(null),dt(null);try{return t()}finally{I(e),dt(n)}}function ki(t){x===null&&(b===null&&ii(),ri()),jt&&ni()}function Li(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function ut(t,e,n){var r=x;r!==null&&(r.f<)!==0&&(t|=lt);var s={ctx:H,deps:null,nodes_start:null,nodes_end:null,f:t|j|J,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{he(s),s.f|=be}catch(l){throw V(s),l}else e!==null&&Mt(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&Dt)===0&&(i=i.first,(t&mt)!==0&&(t&qt)!==0&&i!==null&&(i.f|=qt)),i!==null&&(i.parent=r,r!==null&&Li(i,r),b!==null&&(b.f&L)!==0&&(t&At)===0)){var o=b;(o.effects??=[]).push(i)}return s}function Te(){return b!==null&&!ht}function Un(t){const e=ut(qe,null,!1);return N(e,D),e.teardown=t,e}function en(t){ki();var e=x.f,n=!b&&(e&wt)!==0&&(e&be)===0;if(n){var r=H;(r.e??=[]).push(t)}else return Xn(t)}function Xn(t){return ut(He|Zr,t,!1)}function Pi(t){Z.ensure();const e=ut(At|Dt,t,!0);return()=>{V(e)}}function Di(t){Z.ensure();const e=ut(At|Dt,t,!0);return(n={})=>new Promise(r=>{n.outro?ae(e,()=>{V(e),r(void 0)}):(V(e),r(void 0))})}function Kn(t){return ut(He,t,!1)}function Ni(t){return ut(Ye|Dt,t,!0)}function nn(t,e=0){return ut(qe|e,t,!0)}function rn(t,e=[],n=[],r=[]){$i(r,e,n,s=>{ut(qe,()=>t(...s.map(w)),!0)})}function Gn(t,e=0){var n=ut(mt|e,t,!0);return n}function $t(t){return ut(wt|Dt,t,!0)}function Jn(t){var e=t.teardown;if(e!==null){const n=jt,r=b;ir(!0),I(null);try{e.call(null)}finally{ir(n),I(r)}}}function Zn(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const s=n.ac;s!==null&&tn(()=>{s.abort(zt)});var r=n.next;(n.f&At)!==0?n.parent=null:V(n,e),n=r}}function Fi(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&wt)===0&&V(e),e=n}}function V(t,e=!0){var n=!1;(e||(t.f&$n)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(Qn(t.nodes_start,t.nodes_end),n=!0),Zn(t,e&&!n),Ce(t,0),N(t,bt);var r=t.transitions;if(r!==null)for(const i of r)i.stop();Jn(t);var s=t.parent;s!==null&&s.first!==null&&tr(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function Qn(t,e){for(;t!==null;){var n=t===e?null:ct(t);t.remove(),t=n}}function tr(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function ae(t,e,n=!0){var r=[];er(t,r,!0),Mi(r,()=>{n&&V(t),e&&e()})}function Mi(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var s of t)s.out(r)}else e()}function er(t,e,n){if((t.f<)===0){if(t.f^=lt,t.transitions!==null)for(const o of t.transitions)(o.is_global||n)&&e.push(o);for(var r=t.first;r!==null;){var s=r.next,i=(r.f&qt)!==0||(r.f&wt)!==0&&(t.f&mt)!==0;er(r,e,i?n:!1),r=s}}}function ji(t){nr(t,!0)}function nr(t,e){if((t.f<)!==0){t.f^=lt,(t.f&D)===0&&(N(t,j),Mt(t));for(var n=t.first;n!==null;){var r=n.next,s=(n.f&qt)!==0||(n.f&wt)!==0;nr(n,s?e:!1),n=r}if(t.transitions!==null)for(const i of t.transitions)(i.is_global||e)&&i.in()}}function rr(t,e){for(var n=t.nodes_start,r=t.nodes_end;n!==null;){var s=n===r?null:ct(n);e.append(n),n=s}}let Ot=!1;function Oe(t){Ot=t}let jt=!1;function ir(t){jt=t}let b=null,ht=!1;function I(t){b=t}let x=null;function dt(t){x=t}let Et=null;function sr(t){b!==null&&(Et===null?Et=[t]:Et.push(t))}let F=null,q=0,G=null;function Bi(t){G=t}let or=1,ce=0,Bt=ce;function lr(t){Bt=t}function fr(){return++or}function ue(t){var e=t.f;if((e&j)!==0)return!0;if(e&L&&(t.f&=~Nt),(e&yt)!==0){var n=t.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(ue(i)&&Mn(i),i.wv>t.wv)return!0}(e&J)!==0&&X===null&&N(t,D)}return!1}function ar(t,e,n=!0){var r=t.reactions;if(r!==null&&!Et?.includes(t))for(var s=0;s<r.length;s++){var i=r[s];(i.f&L)!==0?ar(i,e,!1):e===i&&(n?N(i,j):(i.f&D)!==0&&N(i,yt),Mt(i))}}function cr(t){var e=F,n=q,r=G,s=b,i=Et,o=H,l=ht,f=Bt,a=t.f;F=null,q=0,G=null,b=(a&(wt|At))===0?t:null,Et=null,Kt(t.ctx),ht=!1,Bt=++ce,t.ac!==null&&(tn(()=>{t.ac.abort(zt)}),t.ac=null);try{t.f|=ze;var h=t.fn,c=h(),d=t.deps;if(F!==null){var u;if(Ce(t,q),d!==null&&q>0)for(d.length=q+F.length,u=0;u<F.length;u++)d[q+u]=F[u];else t.deps=d=F;if(Ot&&Te()&&(t.f&J)!==0)for(u=q;u<d.length;u++)(d[u].reactions??=[]).push(t)}else d!==null&&q<d.length&&(Ce(t,q),d.length=q);if(On()&&G!==null&&!ht&&d!==null&&(t.f&(L|yt|j))===0)for(u=0;u<G.length;u++)ar(G[u],t);return s!==null&&s!==t&&(ce++,G!==null&&(r===null?r=G:r.push(...G))),(t.f&St)!==0&&(t.f^=St),c}catch(v){return kn(v)}finally{t.f^=ze,F=e,q=n,G=r,b=s,Et=i,Kt(o),ht=l,Bt=f}}function Vi(t,e){let n=e.reactions;if(n!==null){var r=Yr.call(n,t);if(r!==-1){var s=n.length-1;s===0?n=e.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(e.f&L)!==0&&(F===null||!F.includes(e))&&(N(e,yt),(e.f&J)!==0&&(e.f^=J,e.f&=~Nt),Fn(e),Ce(e,0))}function Ce(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)Vi(t,n[r])}function he(t){var e=t.f;if((e&bt)===0){N(t,D);var n=x,r=Ot;x=t,Ot=!0;try{(e&mt)!==0?Fi(t):Zn(t),Jn(t);var s=cr(t);t.teardown=typeof s=="function"?s:null,t.wv=or;var i;We&&_i&&(t.f&j)!==0&&t.deps}finally{Ot=r,x=n}}}function w(t){var e=t.f,n=(e&L)!==0;if(b!==null&&!ht){var r=x!==null&&(x.f&bt)!==0;if(!r&&!Et?.includes(t)){var s=b.deps;if((b.f&ze)!==0)t.rv<ce&&(t.rv=ce,F===null&&s!==null&&s[q]===t?q++:F===null?F=[t]:F.includes(t)||F.push(t));else{(b.deps??=[]).push(t);var i=t.reactions;i===null?t.reactions=[b]:i.includes(b)||i.push(b)}}}if(jt){if(Tt.has(t))return Tt.get(t);if(n){var o=t,l=o.v;return((o.f&D)===0&&o.reactions!==null||hr(o))&&(l=Je(o)),Tt.set(o,l),l}}else n&&!X?.has(t)&&(o=t,ue(o)&&Mn(o),Ot&&Te()&&(o.f&J)===0&&ur(o));if(X?.has(t))return X.get(t);if((t.f&St)!==0)throw t.v;return t.v}function ur(t){if(t.deps!==null){t.f^=J;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&L)!==0&&(e.f&J)===0&&ur(e)}}function hr(t){if(t.v===P)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(Tt.has(e)||(e.f&L)!==0&&hr(e))return!0;return!1}function sn(t){var e=ht;try{return ht=!0,t()}finally{ht=e}}const Ii=-7169;function N(t,e){t.f=t.f&Ii|e}const Wi=new Set,dr=new Set;function Hi(t,e,n,r={}){function s(i){if(r.capture||de.call(e,i),!i.cancelBubble)return tn(()=>n?.call(this,i))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?ie(()=>{e.addEventListener(t,s,r)}):e.addEventListener(t,s,r),s}function ke(t,e,n,r,s){var i={capture:r,passive:s},o=Hi(t,e,n,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&Un(()=>{e.removeEventListener(t,o,i)})}let vr=null;function de(t){var e=this,n=e.ownerDocument,r=t.type,s=t.composedPath?.()||[],i=s[0]||t.target;vr=t;var o=0,l=vr===t&&t.__root;if(l){var f=s.indexOf(l);if(f!==-1&&(e===document||e===window)){t.__root=e;return}var a=s.indexOf(e);if(a===-1)return;f<=a&&(o=f)}if(i=s[o]||t.target,i!==e){we(t,"currentTarget",{configurable:!0,get(){return i||n}});var h=b,c=x;I(null),dt(null);try{for(var d,u=[];i!==null;){var v=i.assignedSlot||i.parentNode||i.host||null;try{var p=i["__"+r];p!=null&&(!i.disabled||t.target===i)&&p.call(i,t)}catch(g){d?u.push(g):d=g}if(t.cancelBubble||v===e||v===null)break;i=v}if(d){for(let g of u)queueMicrotask(()=>{throw g});throw d}}finally{t.__root=e,delete t.currentTarget,I(h),dt(c)}}}function pr(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function vt(t,e){var n=x;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function _r(t,e){var n=(e&Hr)!==0,r=(e&qr)!==0,s,i=!t.startsWith("<!>");return()=>{if(R)return vt(E,null),E;s===void 0&&(s=pr(i?t:"<!>"+t),n||(s=at(s)));var o=r||In?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=at(o),f=o.lastChild;vt(l,f)}else vt(o,o);return o}}function gr(t=""){if(!R){var e=ft(t+"");return vt(e,e),e}var n=E;return n.nodeType!==Ue&&(n.before(n=ft()),U(n)),vt(n,n),n}function qi(){if(R)return vt(E,null),E;var t=document.createDocumentFragment(),e=document.createComment(""),n=ft();return t.append(e,n),vt(e,n),t}function Jt(t,e){if(R){var n=x;((n.f&be)===0||n.nodes_end===null)&&(n.nodes_end=E),Xt();return}t!==null&&t.before(e)}const zi=["touchstart","touchmove"];function Yi(t){return zi.includes(t)}function Ui(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=n+"")}function mr(t,e){return wr(t,e)}function Xi(t,e){Qe(),e.intro=e.intro??!1;const n=e.target,r=R,s=E;try{for(var i=at(n);i&&(i.nodeType!==Yt||i.data!==mn);)i=ct(i);if(!i)throw Pt;Ut(!0),U(i);const o=wr(t,{...e,anchor:i});return Ut(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Pt&&console.warn("Failed to hydrate: ",o),e.recover===!1&&oi(),Qe(),Oi(n),Ut(!1),mr(t,e)}finally{Ut(r),U(s)}}const Zt=new Map;function wr(t,{target:e,anchor:n,props:r={},events:s,context:i,intro:o=!0}){Qe();var l=new Set,f=c=>{for(var d=0;d<c.length;d++){var u=c[d];if(!l.has(u)){l.add(u);var v=Yi(u);e.addEventListener(u,de,{passive:v});var p=Zt.get(u);p===void 0?(document.addEventListener(u,de,{passive:v}),Zt.set(u,1)):Zt.set(u,p+1)}}};f(Ur(Wi)),dr.add(f);var a=void 0,h=Di(()=>{var c=n??e.appendChild(ft());return bi(c,{pending:()=>{}},d=>{if(i){Sn({});var u=H;u.c=i}if(s&&(r.$$events=s),R&&vt(d,null),a=t(d,r)||{},R&&(x.nodes_end=E,E===null||E.nodeType!==Yt||E.data!==wn))throw re(),Pt;i&&Tn()}),()=>{for(var d of l){e.removeEventListener(d,de);var u=Zt.get(d);--u===0?(document.removeEventListener(d,de),Zt.delete(d)):Zt.set(d,u)}dr.delete(f),c!==n&&c.parentNode?.removeChild(c)}});return on.set(a,h),a}let on=new WeakMap;function Ki(t,e){const n=on.get(t);return n?(on.delete(t),n(e)):Promise.resolve()}class Gi{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#f=!0;constructor(e,n=!0){this.anchor=e,this.#f=n}#s=()=>{var e=T;if(this.#e.has(e)){var n=this.#e.get(e),r=this.#t.get(n);if(r)ji(r),this.#r.delete(n);else{var s=this.#n.get(n);s&&(this.#t.set(n,s.effect),this.#n.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,o]of this.#e){if(this.#e.delete(i),i===e)break;const l=this.#n.get(o);l&&(V(l.effect),this.#n.delete(o))}for(const[i,o]of this.#t){if(i===n||this.#r.has(i))continue;const l=()=>{if(Array.from(this.#e.values()).includes(i)){var a=document.createDocumentFragment();rr(o,a),a.append(ft()),this.#n.set(i,{effect:o,fragment:a})}else V(o);this.#r.delete(i),this.#t.delete(i)};this.#f||!r?(this.#r.add(i),ae(o,l,!1)):l()}}};#i=e=>{this.#e.delete(e);const n=Array.from(this.#e.values());for(const[r,s]of this.#n)n.includes(r)||(V(s.effect),this.#n.delete(r))};ensure(e,n){var r=T,s=Ci();if(n&&!this.#t.has(e)&&!this.#n.has(e))if(s){var i=document.createDocumentFragment(),o=ft();i.append(o),this.#n.set(e,{effect:$t(()=>n(o)),fragment:i})}else this.#t.set(e,$t(()=>n(this.anchor)));if(this.#e.set(r,e),s){for(const[l,f]of this.#t)l===e?r.skipped_effects.delete(f):r.skipped_effects.add(f);for(const[l,f]of this.#n)l===e?r.skipped_effects.delete(f.effect):r.skipped_effects.add(f.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else R&&(this.anchor=E),this.#s()}}function Ji(t){H===null&&ti(),en(()=>{const e=sn(t);if(typeof e=="function")return e})}function yr(t,e,n=!1){R&&Xt();var r=new Gi(t),s=n?qt:0;function i(o,l){if(R){const a=di(t)===Ie;if(o===a){var f=Rn();U(f),r.anchor=f,Ut(!1),r.ensure(o,l),Ut(!0);return}}r.ensure(o,l)}Gn(()=>{var o=!1;e((l,f=!0)=>{o=!0,i(f,l)}),o||i(!1,null)},s)}function Zi(t,e,n=!1,r=!1,s=!1){var i=t,o="";rn(()=>{var l=x;if(o===(o=e()??"")){R&&Xt();return}if(l.nodes_start!==null&&(Qn(l.nodes_start,l.nodes_end),l.nodes_start=l.nodes_end=null),o!==""){if(R){E.data;for(var f=Xt(),a=f;f!==null&&(f.nodeType!==Yt||f.data!=="");)a=f,f=ct(f);if(f===null)throw re(),Pt;vt(E,a),i=U(f);return}var h=o+"";n?h=`<svg>${h}</svg>`:r&&(h=`<math>${h}</math>`);var c=pr(h);if((n||r)&&(c=at(c)),vt(at(c),c.lastChild),n||r)for(;at(c);)i.before(at(c));else i.before(c)}})}function Qi(t,e,n,r,s){R&&Xt();var i=e.$$slots?.[n],o=!1;i===!0&&(i=e.children,o=!0),i===void 0?s!==null&&s(t):i(t,o?()=>r:r)}function ts(t,e){Kn(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const s=document.createElement("style");s.id=e.hash,s.textContent=e.code,r.appendChild(s)}})}function es(t,e){return t==null?null:String(t)}function ns(t,e,n,r){var s=t.__style;if(R||s!==e){var i=es(e);(!R||i!==t.getAttribute("style"))&&(i==null?t.removeAttribute("style"):t.style.cssText=i),t.__style=e}return r}function br(t,e){return t===e||t?.[xe]===e}function xr(t={},e,n,r){return Kn(()=>{var s,i;return nn(()=>{s=i,i=[],sn(()=>{t!==n(...i)&&(e(t,...i),s&&br(n(...s),t)&&e(null,...s))})}),()=>{ie(()=>{i&&br(n(...i),t)&&e(null,...i)})}}),t}function ln(t,e,n,r){var s=r,i=!0,o=()=>(i&&(i=!1,s=r),s),l;l=t[e],l===void 0&&r!==void 0&&(l=o());var f;f=()=>{var d=t[e];return d===void 0?o():(i=!0,d)};var a=!1,h=Ke(()=>(a=!1,f())),c=x;return(function(d,u){if(arguments.length>0){const v=u?w(h):d;return B(h,v),a=!0,s!==void 0&&(s=v),d}return jt&&a||(c.f&bt)!==0?h.v:w(h)})}function rs(t){return new is(t)}class is{#e;#t;constructor(e){var n=new Map,r=(i,o)=>{var l=Si(o,!1,!1);return n.set(i,l),l};const s=new Proxy({...e.props||{},$$events:{}},{get(i,o){return w(n.get(o)??r(o,Reflect.get(i,o)))},has(i,o){return o===Qr?!0:(w(n.get(o)??r(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,l){return B(n.get(o)??r(o,l),l),Reflect.set(i,o,l)}});this.#t=(e.hydrate?Xi:mr)(e.component,{target:e.target,anchor:e.anchor,props:s,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Re(),this.#e=s.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||we(this,i,{get(){return this.#t[i]},set(o){this.#t[i]=o},enumerable:!0});this.#t.$set=i=>{Object.assign(s,i)},this.#t.$destroy=()=>{Ki(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const r=(...s)=>n.call(this,...s);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(s=>s!==r)}}$destroy(){this.#t.$destroy()}}let $r;typeof HTMLElement=="function"&&($r=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return s=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),Jt(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=ss(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=Le(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=rs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Pi(()=>{nn(()=>{this.$$r=!0;for(const r of me(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=Le(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Le(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return me(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Le(t,e,n,r){const s=n[t]?.type;if(e=s==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(s){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(s){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function ss(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function os(t,e,n,r,s,i){let o=class extends $r{constructor(){super(t,n,s),this.$$p_d=e}static get observedAttributes(){return me(e).map(l=>(e[l].attribute||l).toLowerCase())}};return me(e).forEach(l=>{we(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(f){f=Le(l,f,e),this.$$d[l]=f;var a=this.$$c;if(a){var h=Ht(a,l)?.get;h?a[l]=f:a.$set({[l]:f})}}})}),r.forEach(l=>{we(o.prototype,l,{get(){return this.$$c?.[l]}})}),t.element=o,o}const Qt=Math.min,Vt=Math.max,Pe=Math.round,De=Math.floor,pt=t=>({x:t,y:t}),ls={left:"right",right:"left",bottom:"top",top:"bottom"},fs={start:"end",end:"start"};function fn(t,e,n){return Vt(t,Qt(e,n))}function ve(t,e){return typeof t=="function"?t(e):t}function It(t){return t.split("-")[0]}function pe(t){return t.split("-")[1]}function Er(t){return t==="x"?"y":"x"}function an(t){return t==="y"?"height":"width"}const as=new Set(["top","bottom"]);function Ct(t){return as.has(It(t))?"y":"x"}function cn(t){return Er(Ct(t))}function cs(t,e,n){n===void 0&&(n=!1);const r=pe(t),s=cn(t),i=an(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=Ne(o)),[o,Ne(o)]}function us(t){const e=Ne(t);return[un(t),e,un(e)]}function un(t){return t.replace(/start|end/g,e=>fs[e])}const Rr=["left","right"],Ar=["right","left"],hs=["top","bottom"],ds=["bottom","top"];function vs(t,e,n){switch(t){case"top":case"bottom":return n?e?Ar:Rr:e?Rr:Ar;case"left":case"right":return e?hs:ds;default:return[]}}function ps(t,e,n,r){const s=pe(t);let i=vs(It(t),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),e&&(i=i.concat(i.map(un)))),i}function Ne(t){return t.replace(/left|right|bottom|top/g,e=>ls[e])}function _s(t){return{top:0,right:0,bottom:0,left:0,...t}}function Sr(t){return typeof t!="number"?_s(t):{top:t,right:t,bottom:t,left:t}}function Fe(t){const{x:e,y:n,width:r,height:s}=t;return{width:r,height:s,top:n,left:e,right:e+r,bottom:n+s,x:e,y:n}}function Tr(t,e,n){let{reference:r,floating:s}=t;const i=Ct(e),o=cn(e),l=an(o),f=It(e),a=i==="y",h=r.x+r.width/2-s.width/2,c=r.y+r.height/2-s.height/2,d=r[l]/2-s[l]/2;let u;switch(f){case"top":u={x:h,y:r.y-s.height};break;case"bottom":u={x:h,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:c};break;case"left":u={x:r.x-s.width,y:c};break;default:u={x:r.x,y:r.y}}switch(pe(e)){case"start":u[o]-=d*(n&&a?-1:1);break;case"end":u[o]+=d*(n&&a?-1:1);break}return u}const gs=async(t,e,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),f=await(o.isRTL==null?void 0:o.isRTL(e));let a=await o.getElementRects({reference:t,floating:e,strategy:s}),{x:h,y:c}=Tr(a,r,f),d=r,u={},v=0;for(let p=0;p<l.length;p++){const{name:g,fn:m}=l[p],{x:y,y:$,data:k,reset:S}=await m({x:h,y:c,initialPlacement:r,placement:d,strategy:s,middlewareData:u,rects:a,platform:o,elements:{reference:t,floating:e}});h=y??h,c=$??c,u={...u,[g]:{...u[g],...k}},S&&v<=50&&(v++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(a=S.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:s}):S.rects),{x:h,y:c}=Tr(a,d,f)),p=-1)}return{x:h,y:c,placement:d,strategy:s,middlewareData:u}};async function Or(t,e){var n;e===void 0&&(e={});const{x:r,y:s,platform:i,rects:o,elements:l,strategy:f}=t,{boundary:a="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:d=!1,padding:u=0}=ve(e,t),v=Sr(u),g=l[d?c==="floating"?"reference":"floating":c],m=Fe(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:a,rootBoundary:h,strategy:f})),y=c==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,$=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),k=await(i.isElement==null?void 0:i.isElement($))?await(i.getScale==null?void 0:i.getScale($))||{x:1,y:1}:{x:1,y:1},S=Fe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:$,strategy:f}):y);return{top:(m.top-S.top+v.top)/k.y,bottom:(S.bottom-m.bottom+v.bottom)/k.y,left:(m.left-S.left+v.left)/k.x,right:(S.right-m.right+v.right)/k.x}}const ms=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:s,rects:i,platform:o,elements:l,middlewareData:f}=e,{element:a,padding:h=0}=ve(t,e)||{};if(a==null)return{};const c=Sr(h),d={x:n,y:r},u=cn(s),v=an(u),p=await o.getDimensions(a),g=u==="y",m=g?"top":"left",y=g?"bottom":"right",$=g?"clientHeight":"clientWidth",k=i.reference[v]+i.reference[u]-d[u]-i.floating[v],S=d[u]-i.reference[u],nt=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a));let _=nt?nt[$]:0;(!_||!await(o.isElement==null?void 0:o.isElement(nt)))&&(_=l.floating[$]||i.floating[v]);const O=k/2-S/2,W=_/2-p[v]/2-1,M=Qt(c[m],W),rt=Qt(c[y],W),Y=M,C=_-p[v]-rt,A=_/2-p[v]/2+O,it=fn(Y,A,C),Rt=!f.arrow&&pe(s)!=null&&A!==it&&i.reference[v]/2-(A<Y?M:rt)-p[v]/2<0,st=Rt?A<Y?A-Y:A-C:0;return{[u]:d[u]+st,data:{[u]:it,centerOffset:A-it-st,...Rt&&{alignmentOffset:st}},reset:Rt}}}),ws=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:l,platform:f,elements:a}=e,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:p=!0,...g}=ve(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=It(s),y=Ct(l),$=It(l)===l,k=await(f.isRTL==null?void 0:f.isRTL(a.floating)),S=d||($||!p?[Ne(l)]:us(l)),nt=v!=="none";!d&&nt&&S.push(...ps(l,p,v,k));const _=[l,...S],O=await Or(e,g),W=[];let M=((r=i.flip)==null?void 0:r.overflows)||[];if(h&&W.push(O[m]),c){const A=cs(s,o,k);W.push(O[A[0]],O[A[1]])}if(M=[...M,{placement:s,overflows:W}],!W.every(A=>A<=0)){var rt,Y;const A=(((rt=i.flip)==null?void 0:rt.index)||0)+1,it=_[A];if(it&&(!(c==="alignment"?y!==Ct(it):!1)||M.every(ot=>Ct(ot.placement)===y?ot.overflows[0]>0:!0)))return{data:{index:A,overflows:M},reset:{placement:it}};let Rt=(Y=M.filter(st=>st.overflows[0]<=0).sort((st,ot)=>st.overflows[1]-ot.overflows[1])[0])==null?void 0:Y.placement;if(!Rt)switch(u){case"bestFit":{var C;const st=(C=M.filter(ot=>{if(nt){const Lt=Ct(ot.placement);return Lt===y||Lt==="y"}return!0}).map(ot=>[ot.placement,ot.overflows.filter(Lt=>Lt>0).reduce((Lt,io)=>Lt+io,0)]).sort((ot,Lt)=>ot[1]-Lt[1])[0])==null?void 0:C[0];st&&(Rt=st);break}case"initialPlacement":Rt=l;break}if(s!==Rt)return{reset:{placement:Rt}}}return{}}}},ys=new Set(["left","top"]);async function bs(t,e){const{placement:n,platform:r,elements:s}=t,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=It(n),l=pe(n),f=Ct(n)==="y",a=ys.has(o)?-1:1,h=i&&f?-1:1,c=ve(e,t);let{mainAxis:d,crossAxis:u,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return l&&typeof v=="number"&&(u=l==="end"?v*-1:v),f?{x:u*h,y:d*a}:{x:d*a,y:u*h}}const xs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:s,y:i,placement:o,middlewareData:l}=e,f=await bs(e,t);return o===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+f.x,y:i+f.y,data:{...f,placement:o}}}}},$s=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:s}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:g=>{let{x:m,y}=g;return{x:m,y}}},...f}=ve(t,e),a={x:n,y:r},h=await Or(e,f),c=Ct(It(s)),d=Er(c);let u=a[d],v=a[c];if(i){const g=d==="y"?"top":"left",m=d==="y"?"bottom":"right",y=u+h[g],$=u-h[m];u=fn(y,u,$)}if(o){const g=c==="y"?"top":"left",m=c==="y"?"bottom":"right",y=v+h[g],$=v-h[m];v=fn(y,v,$)}const p=l.fn({...e,[d]:u,[c]:v});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[d]:i,[c]:o}}}}}};function Me(){return typeof window<"u"}function te(t){return Cr(t)?(t.nodeName||"").toLowerCase():"#document"}function z(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _t(t){var e;return(e=(Cr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Cr(t){return Me()?t instanceof Node||t instanceof z(t).Node:!1}function tt(t){return Me()?t instanceof Element||t instanceof z(t).Element:!1}function gt(t){return Me()?t instanceof HTMLElement||t instanceof z(t).HTMLElement:!1}function kr(t){return!Me()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof z(t).ShadowRoot}const Es=new Set(["inline","contents"]);function _e(t){const{overflow:e,overflowX:n,overflowY:r,display:s}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!Es.has(s)}const Rs=new Set(["table","td","th"]);function As(t){return Rs.has(te(t))}const Ss=[":popover-open",":modal"];function je(t){return Ss.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ts=["transform","translate","scale","rotate","perspective"],Os=["transform","translate","scale","rotate","perspective","filter"],Cs=["paint","layout","strict","content"];function hn(t){const e=dn(),n=tt(t)?et(t):t;return Ts.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Os.some(r=>(n.willChange||"").includes(r))||Cs.some(r=>(n.contain||"").includes(r))}function ks(t){let e=kt(t);for(;gt(e)&&!ee(e);){if(hn(e))return e;if(je(e))return null;e=kt(e)}return null}function dn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ls=new Set(["html","body","#document"]);function ee(t){return Ls.has(te(t))}function et(t){return z(t).getComputedStyle(t)}function Be(t){return tt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function kt(t){if(te(t)==="html")return t;const e=t.assignedSlot||t.parentNode||kr(t)&&t.host||_t(t);return kr(e)?e.host:e}function Lr(t){const e=kt(t);return ee(e)?t.ownerDocument?t.ownerDocument.body:t.body:gt(e)&&_e(e)?e:Lr(e)}function ge(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=Lr(t),i=s===((r=t.ownerDocument)==null?void 0:r.body),o=z(s);if(i){const l=vn(o);return e.concat(o,o.visualViewport||[],_e(s)?s:[],l&&n?ge(l):[])}return e.concat(s,ge(s,[],n))}function vn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Pr(t){const e=et(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const s=gt(t),i=s?t.offsetWidth:n,o=s?t.offsetHeight:r,l=Pe(n)!==i||Pe(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function pn(t){return tt(t)?t:t.contextElement}function ne(t){const e=pn(t);if(!gt(e))return pt(1);const n=e.getBoundingClientRect(),{width:r,height:s,$:i}=Pr(e);let o=(i?Pe(n.width):n.width)/r,l=(i?Pe(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const Ps=pt(0);function Dr(t){const e=z(t);return!dn()||!e.visualViewport?Ps:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ds(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==z(t)?!1:e}function Wt(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),i=pn(t);let o=pt(1);e&&(r?tt(r)&&(o=ne(r)):o=ne(t));const l=Ds(i,n,r)?Dr(i):pt(0);let f=(s.left+l.x)/o.x,a=(s.top+l.y)/o.y,h=s.width/o.x,c=s.height/o.y;if(i){const d=z(i),u=r&&tt(r)?z(r):r;let v=d,p=vn(v);for(;p&&r&&u!==v;){const g=ne(p),m=p.getBoundingClientRect(),y=et(p),$=m.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,k=m.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;f*=g.x,a*=g.y,h*=g.x,c*=g.y,f+=$,a+=k,v=z(p),p=vn(v)}}return Fe({width:h,height:c,x:f,y:a})}function Ve(t,e){const n=Be(t).scrollLeft;return e?e.left+n:Wt(_t(t)).left+n}function Nr(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-Ve(t,n),s=n.top+e.scrollTop;return{x:r,y:s}}function Ns(t){let{elements:e,rect:n,offsetParent:r,strategy:s}=t;const i=s==="fixed",o=_t(r),l=e?je(e.floating):!1;if(r===o||l&&i)return n;let f={scrollLeft:0,scrollTop:0},a=pt(1);const h=pt(0),c=gt(r);if((c||!c&&!i)&&((te(r)!=="body"||_e(o))&&(f=Be(r)),gt(r))){const u=Wt(r);a=ne(r),h.x=u.x+r.clientLeft,h.y=u.y+r.clientTop}const d=o&&!c&&!i?Nr(o,f):pt(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-f.scrollLeft*a.x+h.x+d.x,y:n.y*a.y-f.scrollTop*a.y+h.y+d.y}}function Fs(t){return Array.from(t.getClientRects())}function Ms(t){const e=_t(t),n=Be(t),r=t.ownerDocument.body,s=Vt(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Vt(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Ve(t);const l=-n.scrollTop;return et(r).direction==="rtl"&&(o+=Vt(e.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:l}}const Fr=25;function js(t,e){const n=z(t),r=_t(t),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,l=0,f=0;if(s){i=s.width,o=s.height;const h=dn();(!h||h&&e==="fixed")&&(l=s.offsetLeft,f=s.offsetTop)}const a=Ve(r);if(a<=0){const h=r.ownerDocument,c=h.body,d=getComputedStyle(c),u=h.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,v=Math.abs(r.clientWidth-c.clientWidth-u);v<=Fr&&(i-=v)}else a<=Fr&&(i+=a);return{width:i,height:o,x:l,y:f}}const Bs=new Set(["absolute","fixed"]);function Vs(t,e){const n=Wt(t,!0,e==="fixed"),r=n.top+t.clientTop,s=n.left+t.clientLeft,i=gt(t)?ne(t):pt(1),o=t.clientWidth*i.x,l=t.clientHeight*i.y,f=s*i.x,a=r*i.y;return{width:o,height:l,x:f,y:a}}function Mr(t,e,n){let r;if(e==="viewport")r=js(t,n);else if(e==="document")r=Ms(_t(t));else if(tt(e))r=Vs(e,n);else{const s=Dr(t);r={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return Fe(r)}function jr(t,e){const n=kt(t);return n===e||!tt(n)||ee(n)?!1:et(n).position==="fixed"||jr(n,e)}function Is(t,e){const n=e.get(t);if(n)return n;let r=ge(t,[],!1).filter(l=>tt(l)&&te(l)!=="body"),s=null;const i=et(t).position==="fixed";let o=i?kt(t):t;for(;tt(o)&&!ee(o);){const l=et(o),f=hn(o);!f&&l.position==="fixed"&&(s=null),(i?!f&&!s:!f&&l.position==="static"&&!!s&&Bs.has(s.position)||_e(o)&&!f&&jr(t,o))?r=r.filter(h=>h!==o):s=l,o=kt(o)}return e.set(t,r),r}function Ws(t){let{element:e,boundary:n,rootBoundary:r,strategy:s}=t;const o=[...n==="clippingAncestors"?je(e)?[]:Is(e,this._c):[].concat(n),r],l=o[0],f=o.reduce((a,h)=>{const c=Mr(e,h,s);return a.top=Vt(c.top,a.top),a.right=Qt(c.right,a.right),a.bottom=Qt(c.bottom,a.bottom),a.left=Vt(c.left,a.left),a},Mr(e,l,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Hs(t){const{width:e,height:n}=Pr(t);return{width:e,height:n}}function qs(t,e,n){const r=gt(e),s=_t(e),i=n==="fixed",o=Wt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const f=pt(0);function a(){f.x=Ve(s)}if(r||!r&&!i)if((te(e)!=="body"||_e(s))&&(l=Be(e)),r){const u=Wt(e,!0,i,e);f.x=u.x+e.clientLeft,f.y=u.y+e.clientTop}else s&&a();i&&!r&&s&&a();const h=s&&!r&&!i?Nr(s,l):pt(0),c=o.left+l.scrollLeft-f.x-h.x,d=o.top+l.scrollTop-f.y-h.y;return{x:c,y:d,width:o.width,height:o.height}}function _n(t){return et(t).position==="static"}function Br(t,e){if(!gt(t)||et(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return _t(t)===n&&(n=n.ownerDocument.body),n}function Vr(t,e){const n=z(t);if(je(t))return n;if(!gt(t)){let s=kt(t);for(;s&&!ee(s);){if(tt(s)&&!_n(s))return s;s=kt(s)}return n}let r=Br(t,e);for(;r&&As(r)&&_n(r);)r=Br(r,e);return r&&ee(r)&&_n(r)&&!hn(r)?n:r||ks(t)||n}const zs=async function(t){const e=this.getOffsetParent||Vr,n=this.getDimensions,r=await n(t.floating);return{reference:qs(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ys(t){return et(t).direction==="rtl"}const Us={convertOffsetParentRelativeRectToViewportRelativeRect:Ns,getDocumentElement:_t,getClippingRect:Ws,getOffsetParent:Vr,getElementRects:zs,getClientRects:Fs,getDimensions:Hs,getScale:ne,isElement:tt,isRTL:Ys};function Ir(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Xs(t,e){let n=null,r;const s=_t(t);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,f){l===void 0&&(l=!1),f===void 0&&(f=1),i();const a=t.getBoundingClientRect(),{left:h,top:c,width:d,height:u}=a;if(l||e(),!d||!u)return;const v=De(c),p=De(s.clientWidth-(h+d)),g=De(s.clientHeight-(c+u)),m=De(h),$={rootMargin:-v+"px "+-p+"px "+-g+"px "+-m+"px",threshold:Vt(0,Qt(1,f))||1};let k=!0;function S(nt){const _=nt[0].intersectionRatio;if(_!==f){if(!k)return o();_?o(!1,_):r=setTimeout(()=>{o(!1,1e-7)},1e3)}_===1&&!Ir(a,t.getBoundingClientRect())&&o(),k=!1}try{n=new IntersectionObserver(S,{...$,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,$)}n.observe(t)}return o(!0),i}function Ks(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,a=pn(t),h=s||i?[...a?ge(a):[],...ge(e)]:[];h.forEach(m=>{s&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=a&&l?Xs(a,n):null;let d=-1,u=null;o&&(u=new ResizeObserver(m=>{let[y]=m;y&&y.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var $;($=u)==null||$.observe(e)})),n()}),a&&!f&&u.observe(a),u.observe(e));let v,p=f?Wt(t):null;f&&g();function g(){const m=Wt(t);p&&!Ir(p,m)&&n(),p=m,v=requestAnimationFrame(g)}return n(),()=>{var m;h.forEach(y=>{s&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),c?.(),(m=u)==null||m.disconnect(),u=null,f&&cancelAnimationFrame(v)}}const Gs=xs,Js=$s,Zs=ws,Qs=ms,to=(t,e,n)=>{const r=new Map,s={platform:Us,...n},i={...s.platform,_c:r};return gs(t,e,{...s,platform:i})};var eo=_r('<div class="tooltip-element svelte-5j6wnh" role="tooltip"><!> <div class="tooltip-arrow svelte-5j6wnh"></div></div>'),no=_r('<span id="tooltip-trigger" role="tooltip"><!></span> <!>',1);const ro={hash:"svelte-5j6wnh",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}.tooltip-element.svelte-5j6wnh {position:absolute;width:max-content;top:0;left:0;z-index:1000;pointer-events:none;}.tooltip-arrow.svelte-5j6wnh {position:absolute;width:8px;height:8px;background:var(--tooltip-bg, black);transform:rotate(45deg);}'};function Wr(t,e){Sn(e,!0),ts(t,ro);let n=ln(e,"id",7,""),r=ln(e,"tooltip"),s=ln(e,"show"),i,o=Q(void 0),l=Q(void 0),f,a=Q(!1);function h(_,O){e.$$host.dispatchEvent(new CustomEvent(_,{detail:O}))}Ji(()=>{i=e.$$host?.shadowRoot?.querySelector("#tooltip-trigger")});let c=Ge(()=>{if(!r())return null;if(typeof r()=="string")try{return JSON.parse(r())}catch(_){return console.warn("Invalid tooltip JSON",_),null}return r()}),d=Ge(()=>{if(s()!==void 0){if(s()===!0||s()===!1)return s();if(typeof s()=="string"){if(["true","1","on","yes"].includes(s()))return!0;if(["false","0","off","no"].includes(s()))return!1}}});function u(){w(d)!==void 0&&B(a,w(d),!0)}en(()=>{u()});function v(){w(d)===void 0&&B(a,!0)}function p(){w(d)===void 0&&B(a,!1)}en(()=>{if(w(a)){if(h("visualizationChange",{id:n(),show:!0}),i&&w(o)){let _=w(c)?.placement||"top";_==="auto"&&(_="top");const O=[Gs(6),Zs(),Js({padding:5})];w(l)&&O.push(Qs({element:w(l)})),f=Ks(i,w(o),()=>{!i||!w(o)||to(i,w(o),{placement:_,middleware:O}).then(({x:W,y:M,placement:rt,middlewareData:Y})=>{Object.assign(w(o).style,{left:`${W}px`,top:`${M}px`});const{x:C,y:A}=Y.arrow||{},it={top:"bottom",right:"left",bottom:"top",left:"right"}[rt.split("-")[0]];w(l)&&Object.assign(w(l).style,{left:C!=null?`${C}px`:"",top:A!=null?`${A}px`:"",right:"",bottom:"",[it]:"-4px"})})})}}else h("visualizationChange",{id:n(),show:!1}),f&&f();return()=>{f&&f()}});let g=Ge(()=>{const _=w(c)?.style||{};if(_.disableDefaultStyle)return"";const O=_.backgroundColor||"black",W=_.color||"white",M=_.padding||"0.5rem 1rem",rt=_.borderRadius||"0.25rem",Y=_.opacity!==void 0?_.opacity:.9,C=_.fontSize||"0.875rem";return`
|
|
3
|
+
background-color: ${O};
|
|
4
|
+
color: ${W};
|
|
5
|
+
padding: ${M};
|
|
6
|
+
border-radius: ${rt};
|
|
7
|
+
opacity: ${Y};
|
|
8
|
+
font-size: ${C};
|
|
9
|
+
--tooltip-bg: ${O};
|
|
10
|
+
`});var m={get id(){return n()},set id(_=""){n(_),Re()},get tooltip(){return r()},set tooltip(_){r(_),Re()},get show(){return s()},set show(_){s(_),Re()}},y=no(),$=zn(y),k=qn($);Qi(k,e,"default",{},_=>{var O=gr(" ");Jt(_,O)}),En($);var S=Yn($,2);{var nt=_=>{var O=eo(),W=qn(O);{var M=C=>{var A=qi(),it=zn(A);Zi(it,()=>w(c)?.title||""),Jt(C,A)},rt=C=>{var A=gr();rn(()=>Ui(A,w(c)?.title||"")),Jt(C,A)};yr(W,C=>{w(c)?.html?C(M):C(rt,!1)})}var Y=Yn(W,2);xr(Y,C=>B(l,C),()=>w(l)),En(O),xr(O,C=>B(o,C),()=>w(o)),rn(()=>ns(O,w(g))),Jt(_,O)};yr(S,_=>{w(a)&&_(nt)})}return ke("mouseenter",$,v),ke("mouseleave",$,p),ke("focus",$,v),ke("blur",$,p),Jt(t,y),Tn(m)}customElements.define("hb-tooltip",os(Wr,{id:{},tooltip:{},show:{}},["default"],[],!0)),gn.Component=Wr,Object.defineProperty(gn,Symbol.toStringTag,{value:"Module"})})(this.tooltip=this.tooltip||{});
|
|
314
11
|
//# sourceMappingURL=main.iife.js.map
|