@htmlbricks/hb-input-checkbox 0.66.0 → 0.66.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(yt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Nn=1,Rn=2,$t="[",Qe="[!",Et="]",he={},$=Symbol(),Cn="http://www.w3.org/1999/xhtml",et=!1;var On=Array.isArray,Mn=Array.prototype.indexOf,Pn=Array.from,De=Object.keys,Ie=Object.defineProperty,de=Object.getOwnPropertyDescriptor,Ln=Object.getOwnPropertyDescriptors,Dn=Object.prototype,In=Array.prototype,xt=Object.getPrototypeOf,Tt=Object.isExtensible;function Fn(e){for(var t=0;t<e.length;t++)e[t]()}function At(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const y=2,tt=4,nt=8,U=16,z=32,ee=64,Fe=128,F=512,E=1024,S=2048,K=4096,B=8192,G=16384,je=32768,ve=65536,St=1<<17,Nt=1<<18,se=1<<19,jn=1<<20,fe=32768,rt=1<<21,it=1<<22,te=1<<23,st=Symbol("$state"),qn=Symbol("legacy props"),Bn=Symbol(""),_e=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ft=3,$e=8;function Yn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Vn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Hn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Un(e){throw new Error("https://svelte.dev/e/effect_orphan")}function zn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Kn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Gn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Wn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Jn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Xn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function qe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Zn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function pe(e){m=e}let g;function j(e){if(e===null)throw qe(),he;return g=e}function lt(){return j(X(g))}function ot(e){if(m){if(X(g)!==null)throw qe(),he;g=e}}function Qn(e=1){if(m){for(var t=e,n=g;t--;)n=X(n);g=n}}function Rt(e=!0){for(var t=0,n=g;;){if(n.nodeType===$e){var r=n.data;if(r===Et){if(t===0)return n;t-=1}else(r===$t||r===Qe)&&(t+=1)}var i=X(n);e&&n.remove(),n=i}}function er(e){if(!e||e.nodeType!==$e)throw qe(),he;return e.data}function Ct(e){return e===this.v}function tr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function nr(e){return!tr(e,this.v)}let rr=!1,M=null;function me(e){M=e}function Ot(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,l:null}}function Mt(e){var t=M,n=t.e;if(n!==null){t.e=null;for(var r of n)en(r)}return e!==void 0&&(t.x=e),t.i=!0,M=t.p,e??{}}function Pt(){return!0}let le=[];function Lt(){var e=le;le=[],Fn(e)}function Be(e){if(le.length===0&&!Ee){var t=le;queueMicrotask(()=>{t===le&&Lt()})}le.push(e)}function ir(){for(;le.length>0;)Lt()}function Dt(e){var t=_;if(t===null)return v.f|=te,e;if((t.f&je)===0){if((t.f&Fe)===0)throw e;t.b.error(e)}else ge(e,t)}function ge(e,t){for(;t!==null;){if((t.f&Fe)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ye=new Set;let k=null,P=null,L=[],Ve=null,at=!1,Ee=!1;class q{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#o=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){L=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#f(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(k=null,Ft(n.render_effects),Ft(n.effects),this.#o?.resolve()),P=null}#f(t,n){t.f^=E;for(var r=t.first;r!==null;){var i=r.f,s=(i&(z|ee))!==0,f=s&&(i&E)!==0,l=f||(i&B)!==0||this.skipped_effects.has(r);if((r.f&Fe)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){s?r.f^=E:(i&tt)!==0?n.effects.push(r):Ce(r)&&((r.f&U)!==0&&n.block_effects.push(r),Oe(r));var o=r.first;if(o!==null){r=o;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(t){for(const n of t)((n.f&S)!==0?this.#s:this.#i).push(n),this.#a(n.deps),x(n,E)}#a(t){if(t!==null)for(const n of t)(n.f&y)===0||(n.f&fe)===0||(n.f^=fe,this.#a(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&te)===0&&(this.current.set(t,t.v),P?.set(t,t.v))}activate(){k=this,this.apply()}deactivate(){k===this&&(k=null,P=null)}flush(){if(this.activate(),L.length>0){if(It(),k!==null&&k!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(Ye.size>1){this.previous.clear();var t=P,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Ye){if(s===this){n=!1;continue}const f=[];for(const[o,a]of this.current){if(s.current.has(o))if(n&&a!==s.current.get(o))s.current.set(o,a);else continue;f.push(o)}if(f.length===0)continue;const l=[...s.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){var i=L;L=[];const o=new Set,a=new Map;for(const c of f)jt(c,l,o,a);if(L.length>0){k=s,s.apply();for(const c of L)s.#f(c,r);s.deactivate()}L=i}}k=null,P=t}this.committed=!0,Ye.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)x(t,S),oe(t);for(const t of this.#i)x(t,K),oe(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=At()).promise}static ensure(){if(k===null){const t=k=new q;Ye.add(k),Ee||q.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){Be(t)}apply(){}}function He(e){var t=Ee;Ee=!0;try{for(var n;;){if(ir(),L.length===0&&(k?.flush(),L.length===0))return Ve=null,n;It()}}finally{Ee=t}}function It(){var e=ie;at=!0;var t=null;try{var n=0;for(Ge(!0);L.length>0;){var r=q.ensure();if(n++>1e3){var i,s;sr()}r.process(L),ne.clear()}}finally{at=!1,Ge(e),Ve=null}}function sr(){try{zn()}catch(e){ge(e,Ve)}}let W=null;function Ft(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(G|B))===0&&Ce(r)&&(W=new Set,Oe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?sn(r):r.fn=null),W?.size>0)){ne.clear();for(const i of W){if((i.f&(G|B))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)W.has(f)&&(W.delete(f),s.push(f)),f=f.parent;for(let l=s.length-1;l>=0;l--){const o=s[l];(o.f&(G|B))===0&&Oe(o)}}W.clear()}}W=null}}function jt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&y)!==0?jt(i,t,n,r):(s&(it|U))!==0&&(s&S)===0&&qt(i,t,r)&&(x(i,S),oe(i))}}function qt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&y)!==0&&qt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function oe(e){for(var t=Ve=e;t.parent!==null;){t=t.parent;var n=t.f;if(at&&t===_&&(n&U)!==0&&(n&Nt)===0)return;if((n&(ee|z))!==0){if((n&E)===0)return;t.f^=E}}L.push(t)}function fr(e){let t=0,n=xe(0),r;return()=>{Ke()&&(b(n),pt(()=>(t===0&&(r=gn(()=>e(()=>Te(n)))),t+=1,()=>{Be(()=>{t-=1,t===0&&(r?.(),r=void 0,Te(n))})})))}}var lr=ve|se|Fe;function or(e,t,n){new ar(e,t,n)}class ar{parent;#t=!1;#e;#n=m?g:null;#r;#o;#s;#i=null;#f=null;#l=null;#a=null;#u=null;#c=0;#h=0;#v=!1;#d=null;#w=fr(()=>(this.#d=xe(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#o=r,this.parent=_.b,this.#t=!!this.#r.pending,this.#s=tn(()=>{if(_.b=this,m){const s=this.#n;lt(),s.nodeType===$e&&s.data===Qe?this.#b():this.#k()}else{var i=this.#m();try{this.#i=Z(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},lr),m&&(this.#e=g)}#k(){try{this.#i=Z(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#b(){const t=this.#r.pending;t&&(this.#f=Z(()=>t(this.#e)),q.enqueue(()=>{var n=this.#m();this.#i=this.#_(()=>(q.ensure(),Z(()=>this.#o(n)))),this.#h>0?this.#p():(Ne(this.#f,()=>{this.#f=null}),this.#t=!1)}))}#m(){var t=this.#e;return this.#t&&(this.#u=re(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=_,r=v,i=M;H(this.#s),R(this.#s),me(this.#s.ctx);try{return t()}catch(s){return Dt(s),null}finally{H(n),R(r),me(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#u),on(this.#i,this.#a)),this.#f===null&&(this.#f=Z(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#f&&Ne(this.#f,()=>{this.#f=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#d&&ze(this.#d,this.#c)}get_effect_pending(){return this.#w(),b(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(N(this.#i),this.#i=null),this.#f&&(N(this.#f),this.#f=null),this.#l&&(N(this.#l),this.#l=null),m&&(j(this.#n),Qn(),j(Rt()));var i=!1,s=!1;const f=()=>{if(i){Zn();return}i=!0,s&&Xn(),q.ensure(),this.#c=0,this.#l!==null&&Ne(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,Z(()=>this.#o(this.#e)))),this.#h>0?this.#p():this.#t=!1};var l=v;try{R(null),s=!0,n?.(t,f),s=!1}catch(o){ge(o,this.#s&&this.#s.parent)}finally{R(l)}r&&Be(()=>{this.#l=this.#_(()=>{q.ensure(),this.#v=!0;try{return Z(()=>{r(this.#e,()=>t,()=>f)})}catch(o){return ge(o,this.#s.parent),null}finally{this.#v=!1}})})}}function ur(e,t,n,r){const i=ut;if(n.length===0&&e.length===0){r(t.map(i));return}var s=k,f=_,l=cr();function o(){Promise.all(n.map(a=>hr(a))).then(a=>{l();try{r([...t.map(i),...a])}catch(c){(f.f&G)===0&&ge(c,f)}s?.deactivate(),Ue()}).catch(a=>{ge(a,f)})}e.length>0?Promise.all(e).then(()=>{l();try{return o()}finally{s?.deactivate(),Ue()}}):o()}function cr(){var e=_,t=v,n=M,r=k;return function(s=!0){H(e),R(t),me(n),s&&r?.activate()}}function Ue(){H(null),R(null),me(null)}function ut(e){var t=y|S,n=v!==null&&(v.f&y)!==0?v:null;return _!==null&&(_.f|=se),{ctx:M,deps:null,effects:null,equals:Ct,f:t,fn:e,reactions:null,rv:0,v:$,wv:0,parent:n??_,ac:null}}function hr(e,t){let n=_;n===null&&Yn();var r=n.b,i=void 0,s=xe($),f=!v,l=new Map;return Tr(()=>{var o=At();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{a===k&&a.committed&&a.deactivate(),Ue()})}catch(u){o.reject(u),Ue()}var a=k;if(f){var c=!r.is_pending();r.update_pending_count(1),a.increment(c),l.get(a)?.reject(_e),l.delete(a),l.set(a,o)}const d=(u,h=void 0)=>{if(a.activate(),h)h!==_e&&(s.f|=te,ze(s,h));else{(s.f&te)!==0&&(s.f^=te),ze(s,u);for(const[w,p]of l){if(l.delete(w),w===a)break;p.reject(_e)}}f&&(r.update_pending_count(-1),a.decrement(c))};o.promise.then(d,u=>d(null,u||"unknown"))}),yr(()=>{for(const o of l.values())o.reject(_e)}),new Promise(o=>{function a(c){function d(){c===i?o(s):a(i)}c.then(d,d)}a(i)})}function dr(e){const t=ut(e);return un(t),t}function Bt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)N(t[n])}}function vr(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return(t.f&G)===0?t:null;t=t.parent}return null}function ct(e){var t,n=_;H(vr(e));try{e.f&=~fe,Bt(e),t=_n(e)}finally{H(n)}return t}function Yt(e){var t=ct(e);if(e.equals(t)||(k?.is_fork||(e.v=t),e.wv=dn()),!ae)if(P!==null)Ke()&&P.set(e,t);else{var n=(e.f&F)===0?K:E;x(e,n)}}let ht=new Set;const ne=new Map;let Vt=!1;function xe(e,t){var n={f:0,v:e,reactions:null,equals:Ct,rv:0,wv:0};return n}function J(e,t){const n=xe(e);return un(n),n}function _r(e,t=!1,n=!0){const r=xe(e);return t||(r.equals=nr),r}function D(e,t,n=!1){v!==null&&(!V||(v.f&St)!==0)&&Pt()&&(v.f&(y|U|it|St))!==0&&!Q?.includes(e)&&Jn();let r=n?Ae(t):t;return ze(e,r)}function ze(e,t){if(!e.equals(t)){var n=e.v;ae?ne.set(e,t):ne.set(e,n),e.v=t;var r=q.ensure();r.capture(e,n),(e.f&y)!==0&&((e.f&S)!==0&&ct(e),x(e,(e.f&F)!==0?E:K)),e.wv=dn(),Ht(e,S),_!==null&&(_.f&E)!==0&&(_.f&(z|ee))===0&&(I===null?Cr([e]):I.push(e)),!r.is_fork&&ht.size>0&&!Vt&&pr()}return t}function pr(){Vt=!1;var e=ie;Ge(!0);const t=Array.from(ht);try{for(const n of t)(n.f&E)!==0&&x(n,K),Ce(n)&&Oe(n)}finally{Ge(e)}ht.clear()}function Te(e){D(e,e.v+1)}function Ht(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],f=s.f,l=(f&S)===0;if(l&&x(s,t),(f&y)!==0){var o=s;P?.delete(o),(f&fe)===0&&(f&F&&(s.f|=fe),Ht(o,K))}else l&&((f&U)!==0&&W!==null&&W.add(s),oe(s))}}function Ae(e){if(typeof e!="object"||e===null||st in e)return e;const t=xt(e);if(t!==Dn&&t!==In)return e;var n=new Map,r=On(e),i=J(0),s=ue,f=l=>{if(ue===s)return l();var o=v,a=ue;R(null),hn(s);var c=l();return R(o),hn(a),c};return r&&n.set("length",J(e.length)),new Proxy(e,{defineProperty(l,o,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&Gn();var c=n.get(o);return c===void 0?c=f(()=>{var d=J(a.value);return n.set(o,d),d}):D(c,a.value,!0),!0},deleteProperty(l,o){var a=n.get(o);if(a===void 0){if(o in l){const c=f(()=>J($));n.set(o,c),Te(i)}}else D(a,$),Te(i);return!0},get(l,o,a){if(o===st)return e;var c=n.get(o),d=o in l;if(c===void 0&&(!d||de(l,o)?.writable)&&(c=f(()=>{var h=Ae(d?l[o]:$),w=J(h);return w}),n.set(o,c)),c!==void 0){var u=b(c);return u===$?void 0:u}return Reflect.get(l,o,a)},getOwnPropertyDescriptor(l,o){var a=Reflect.getOwnPropertyDescriptor(l,o);if(a&&"value"in a){var c=n.get(o);c&&(a.value=b(c))}else if(a===void 0){var d=n.get(o),u=d?.v;if(d!==void 0&&u!==$)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return a},has(l,o){if(o===st)return!0;var a=n.get(o),c=a!==void 0&&a.v!==$||Reflect.has(l,o);if(a!==void 0||_!==null&&(!c||de(l,o)?.writable)){a===void 0&&(a=f(()=>{var u=c?Ae(l[o]):$,h=J(u);return h}),n.set(o,a));var d=b(a);if(d===$)return!1}return c},set(l,o,a,c){var d=n.get(o),u=o in l;if(r&&o==="length")for(var h=a;h<d.v;h+=1){var w=n.get(h+"");w!==void 0?D(w,$):h in l&&(w=f(()=>J($)),n.set(h+"",w))}if(d===void 0)(!u||de(l,o)?.writable)&&(d=f(()=>J(void 0)),D(d,Ae(a)),n.set(o,d));else{u=d.v!==$;var p=f(()=>Ae(a));D(d,p)}var T=Reflect.getOwnPropertyDescriptor(l,o);if(T?.set&&T.set.call(c,a),!u){if(r&&typeof o=="string"){var ce=n.get("length"),Le=Number(o);Number.isInteger(Le)&&Le>=ce.v&&D(ce,Le+1)}Te(i)}return!0},ownKeys(l){b(i);var o=Reflect.ownKeys(l).filter(d=>{var u=n.get(d);return u===void 0||u.v!==$});for(var[a,c]of n)c.v!==$&&!(a in l)&&o.push(a);return o},setPrototypeOf(){Wn()}})}var Ut,zt,Kt,Gt;function dt(){if(Ut===void 0){Ut=window,zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Kt=de(t,"firstChild").get,Gt=de(t,"nextSibling").get,Tt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Tt(n)&&(n.__t=void 0)}}function re(e=""){return document.createTextNode(e)}function we(e){return Kt.call(e)}function X(e){return Gt.call(e)}function vt(e,t){if(!m)return we(e);var n=we(g);if(n===null)n=g.appendChild(re());else if(t&&n.nodeType!==ft){var r=re();return n?.before(r),j(r),r}return j(n),n}function Wt(e,t=!1){if(!m){var n=we(e);return n instanceof Comment&&n.data===""?X(n):n}if(t&&g?.nodeType!==ft){var r=re();return g?.before(r),j(r),r}return g}function Jt(e,t=1,n=!1){let r=m?g:e;for(var i;t--;)i=r,r=X(r);if(!m)return r;if(n&&r?.nodeType!==ft){var s=re();return r===null?i?.after(s):r.before(s),j(s),s}return j(r),r}function mr(e){e.textContent=""}function gr(){return!1}let Xt=!1;function Zt(){Xt||(Xt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function _t(e){var t=v,n=_;R(null),H(null);try{return e()}finally{R(t),H(n)}}function wr(e,t,n,r=n){e.addEventListener(t,()=>_t(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),Zt()}function kr(e){_===null&&(v===null&&Un(),Hn()),ae&&Vn()}function br(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Y(e,t,n){var r=_;r!==null&&(r.f&B)!==0&&(e|=B);var i={ctx:M,deps:null,nodes_start:null,nodes_end:null,f:e|S|F,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Oe(i),i.f|=je}catch(l){throw N(i),l}else t!==null&&oe(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&se)===0&&(s=s.first,(e&U)!==0&&(e&ve)!==0&&s!==null&&(s.f|=ve)),s!==null&&(s.parent=r,r!==null&&br(s,r),v!==null&&(v.f&y)!==0&&(e&ee)===0)){var f=v;(f.effects??=[]).push(s)}return i}function Ke(){return v!==null&&!V}function yr(e){const t=Y(nt,null,!1);return x(t,E),t.teardown=e,t}function Qt(e){kr();var t=_.f,n=!v&&(t&z)!==0&&(t&je)===0;if(n){var r=M;(r.e??=[]).push(e)}else return en(e)}function en(e){return Y(tt|jn,e,!1)}function $r(e){q.ensure();const t=Y(ee|se,e,!0);return()=>{N(t)}}function Er(e){q.ensure();const t=Y(ee|se,e,!0);return(n={})=>new Promise(r=>{n.outro?Ne(t,()=>{N(t),r(void 0)}):(N(t),r(void 0))})}function xr(e){return Y(tt,e,!1)}function Tr(e){return Y(it|se,e,!0)}function pt(e,t=0){return Y(nt|t,e,!0)}function Se(e,t=[],n=[],r=[]){ur(r,t,n,i=>{Y(nt,()=>e(...i.map(b)),!0)})}function tn(e,t=0){var n=Y(U|t,e,!0);return n}function Z(e){return Y(z|se,e,!0)}function nn(e){var t=e.teardown;if(t!==null){const n=ae,r=v;an(!0),R(null);try{t.call(null)}finally{an(n),R(r)}}}function rn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&_t(()=>{i.abort(_e)});var r=n.next;(n.f&ee)!==0?n.parent=null:N(n,t),n=r}}function Ar(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&z)===0&&N(t),t=n}}function N(e,t=!0){var n=!1;(t||(e.f&Nt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Sr(e.nodes_start,e.nodes_end),n=!0),rn(e,t&&!n),We(e,0),x(e,G);var r=e.transitions;if(r!==null)for(const s of r)s.stop();nn(e);var i=e.parent;i!==null&&i.first!==null&&sn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Sr(e,t){for(;e!==null;){var n=e===t?null:X(e);e.remove(),e=n}}function sn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ne(e,t,n=!0){var r=[];fn(e,r,!0),Nr(r,()=>{n&&N(e),t&&t()})}function Nr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function fn(e,t,n){if((e.f&B)===0){if(e.f^=B,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ve)!==0||(r.f&z)!==0&&(e.f&U)!==0;fn(r,t,s?n:!1),r=i}}}function Rr(e){ln(e,!0)}function ln(e,t){if((e.f&B)!==0){e.f^=B,(e.f&E)===0&&(x(e,S),oe(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ve)!==0||(n.f&z)!==0;ln(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function on(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:X(n);t.append(n),n=i}}let ie=!1;function Ge(e){ie=e}let ae=!1;function an(e){ae=e}let v=null,V=!1;function R(e){v=e}let _=null;function H(e){_=e}let Q=null;function un(e){v!==null&&(Q===null?Q=[e]:Q.push(e))}let A=null,C=0,I=null;function Cr(e){I=e}let cn=1,Re=0,ue=Re;function hn(e){ue=e}function dn(){return++cn}function Ce(e){var t=e.f;if((t&S)!==0)return!0;if(t&y&&(e.f&=~fe),(t&K)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(Ce(s)&&Yt(s),s.wv>e.wv)return!0}(t&F)!==0&&P===null&&x(e,E)}return!1}function vn(e,t,n=!0){var r=e.reactions;if(r!==null&&!Q?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&y)!==0?vn(s,t,!1):t===s&&(n?x(s,S):(s.f&E)!==0&&x(s,K),oe(s))}}function _n(e){var t=A,n=C,r=I,i=v,s=Q,f=M,l=V,o=ue,a=e.f;A=null,C=0,I=null,v=(a&(z|ee))===0?e:null,Q=null,me(e.ctx),V=!1,ue=++Re,e.ac!==null&&(_t(()=>{e.ac.abort(_e)}),e.ac=null);try{e.f|=rt;var c=e.fn,d=c(),u=e.deps;if(A!==null){var h;if(We(e,C),u!==null&&C>0)for(u.length=C+A.length,h=0;h<A.length;h++)u[C+h]=A[h];else e.deps=u=A;if(ie&&Ke()&&(e.f&F)!==0)for(h=C;h<u.length;h++)(u[h].reactions??=[]).push(e)}else u!==null&&C<u.length&&(We(e,C),u.length=C);if(Pt()&&I!==null&&!V&&u!==null&&(e.f&(y|K|S))===0)for(h=0;h<I.length;h++)vn(I[h],e);return i!==null&&i!==e&&(Re++,I!==null&&(r===null?r=I:r.push(...I))),(e.f&te)!==0&&(e.f^=te),d}catch(w){return Dt(w)}finally{e.f^=rt,A=t,C=n,I=r,v=i,Q=s,me(f),V=l,ue=o}}function Or(e,t){let n=t.reactions;if(n!==null){var r=Mn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&y)!==0&&(A===null||!A.includes(t))&&(x(t,K),(t.f&F)!==0&&(t.f^=F,t.f&=~fe),Bt(t),We(t,0))}function We(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Or(e,n[r])}function Oe(e){var t=e.f;if((t&G)===0){x(e,E);var n=_,r=ie;_=e,ie=!0;try{(t&U)!==0?Ar(e):rn(e),nn(e);var i=_n(e);e.teardown=typeof i=="function"?i:null,e.wv=cn;var s;et&&rr&&(e.f&S)!==0&&e.deps}finally{ie=r,_=n}}}function b(e){var t=e.f,n=(t&y)!==0;if(v!==null&&!V){var r=_!==null&&(_.f&G)!==0;if(!r&&!Q?.includes(e)){var i=v.deps;if((v.f&rt)!==0)e.rv<Re&&(e.rv=Re,A===null&&i!==null&&i[C]===e?C++:A===null?A=[e]:A.includes(e)||A.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:s.includes(v)||s.push(v)}}}if(ae){if(ne.has(e))return ne.get(e);if(n){var f=e,l=f.v;return((f.f&E)===0&&f.reactions!==null||mn(f))&&(l=ct(f)),ne.set(f,l),l}}else n&&!P?.has(e)&&(f=e,Ce(f)&&Yt(f),ie&&Ke()&&(f.f&F)===0&&pn(f));if(P?.has(e))return P.get(e);if((e.f&te)!==0)throw e.v;return e.v}function pn(e){if(e.deps!==null){e.f^=F;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&F)===0&&pn(t)}}function mn(e){if(e.v===$)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ne.has(t)||(t.f&y)!==0&&mn(t))return!0;return!1}function gn(e){var t=V;try{return V=!0,e()}finally{V=t}}const Mr=-7169;function x(e,t){e.f=e.f&Mr|t}const Pr=new Set,wn=new Set;let kn=null;function Je(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;kn=e;var f=0,l=kn===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var a=i.indexOf(t);if(a===-1)return;o<=a&&(f=o)}if(s=i[f]||e.target,s!==t){Ie(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=v,d=_;R(null),H(null);try{for(var u,h=[];s!==null;){var w=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];p!=null&&(!s.disabled||e.target===s)&&p.call(s,e)}catch(T){u?h.push(T):u=T}if(e.cancelBubble||w===t||w===null)break;s=w}if(u){for(let T of h)queueMicrotask(()=>{throw T});throw u}}finally{e.__root=t,delete e.currentTarget,R(c),H(d)}}}function Lr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Xe(e,t){var n=_;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Me(e,t){var n=(t&Nn)!==0,r=(t&Rn)!==0,i,s=!e.startsWith("<!>");return()=>{if(m)return Xe(g,null),g;i===void 0&&(i=Lr(s?e:"<!>"+e),n||(i=we(i)));var f=r||zt?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=we(f),o=f.lastChild;Xe(l,o)}else Xe(f,f);return f}}function ke(e,t){if(m){var n=_;((n.f&je)===0||n.nodes_end===null)&&(n.nodes_end=g),lt();return}e!==null&&e.before(t)}const Dr=["touchstart","touchmove"];function Ir(e){return Dr.includes(e)}function bn(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function yn(e,t){return $n(e,t)}function Fr(e,t){dt(),t.intro=t.intro??!1;const n=t.target,r=m,i=g;try{for(var s=we(n);s&&(s.nodeType!==$e||s.data!==$t);)s=X(s);if(!s)throw he;pe(!0),j(s);const f=$n(e,{...t,anchor:s});return pe(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==he&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Kn(),dt(),mr(n),pe(!1),yn(e,t)}finally{pe(r),j(i)}}const be=new Map;function $n(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0}){dt();var l=new Set,o=d=>{for(var u=0;u<d.length;u++){var h=d[u];if(!l.has(h)){l.add(h);var w=Ir(h);t.addEventListener(h,Je,{passive:w});var p=be.get(h);p===void 0?(document.addEventListener(h,Je,{passive:w}),be.set(h,1)):be.set(h,p+1)}}};o(Pn(Pr)),wn.add(o);var a=void 0,c=Er(()=>{var d=n??t.appendChild(re());return or(d,{pending:()=>{}},u=>{if(s){Ot({});var h=M;h.c=s}if(i&&(r.$$events=i),m&&Xe(u,null),a=e(u,r)||{},m&&(_.nodes_end=g,g===null||g.nodeType!==$e||g.data!==Et))throw qe(),he;s&&Mt()}),()=>{for(var u of l){t.removeEventListener(u,Je);var h=be.get(u);--h===0?(document.removeEventListener(u,Je),be.delete(u)):be.set(u,h)}wn.delete(o),d!==n&&d.parentNode?.removeChild(d)}});return mt.set(a,c),a}let mt=new WeakMap;function jr(e,t){const n=mt.get(e);return n?(mt.delete(e),n(t)):Promise.resolve()}class qr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#o=!0;constructor(t,n=!0){this.anchor=t,this.#o=n}#s=()=>{var t=k;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Rr(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,f]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#n.get(f);l&&(N(l.effect),this.#n.delete(f))}for(const[s,f]of this.#e){if(s===n||this.#r.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var a=document.createDocumentFragment();on(f,a),a.append(re()),this.#n.set(s,{effect:f,fragment:a})}else N(f);this.#r.delete(s),this.#e.delete(s)};this.#o||!r?(this.#r.add(s),Ne(f,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(N(i.effect),this.#n.delete(r))};ensure(t,n){var r=k,i=gr();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),f=re();s.append(f),this.#n.set(t,{effect:Z(()=>n(f)),fragment:s})}else this.#e.set(t,Z(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[l,o]of this.#e)l===t?r.skipped_effects.delete(o):r.skipped_effects.add(o);for(const[l,o]of this.#n)l===t?r.skipped_effects.delete(o.effect):r.skipped_effects.add(o.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else m&&(this.anchor=g),this.#s()}}function gt(e,t,n=!1){m&&lt();var r=new qr(e),i=n?ve:0;function s(f,l){if(m){const a=er(e)===Qe;if(f===a){var o=Rt();j(o),r.anchor=o,pe(!1),r.ensure(f,l),pe(!0);return}}r.ensure(f,l)}tn(()=>{var f=!1;t((l,o=!0)=>{f=!0,s(o,l)}),f||s(!1,null)},i)}function Br(e,t){xr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Yr(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function Vr(e,t,n,r,i,s){var f=e.__className;if(m||f!==n||f===void 0){var l=Yr(n,r);(!m||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const Hr=Symbol("is custom element"),Ur=Symbol("is html");function En(e){if(m){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;Pe(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var i=e.checked;Pe(e,"checked",null),e.checked=i}}};e.__on_r=n,Be(n),Zt()}}function Pe(e,t,n,r){var i=zr(e);m&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Bn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Kr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function zr(e){return e.__attributes??={[Hr]:e.nodeName.includes("-"),[Ur]:e.namespaceURI===Cn}}var xn=new Map;function Kr(e){var t=e.getAttribute("is")||e.nodeName,n=xn.get(t);if(n)return n;xn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Ln(i);for(var f in r)r[f].set&&n.push(f);i=xt(i)}return n}function Tn(e,t,n=t){wr(e,"change",r=>{var i=r?e.defaultChecked:e.checked;n(i)}),(m&&e.defaultChecked!==e.checked||gn(t)==null)&&n(e.checked),pt(()=>{var r=t();e.checked=!!r})}function wt(e,t,n,r){var i=r,s=!0,f=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=f());var o;o=()=>{var u=e[t];return u===void 0?f():(s=!0,u)};var a=!1,c=ut(()=>(a=!1,o())),d=_;return(function(u,h){if(arguments.length>0){const w=h?b(c):u;return D(c,w),a=!0,i!==void 0&&(i=w),u}return ae&&a||(d.f&G)!==0?c.v:b(c)})}function Gr(e){return new Wr(e)}class Wr{#t;#e;constructor(t){var n=new Map,r=(s,f)=>{var l=_r(f,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,f){return b(n.get(f)??r(f,Reflect.get(s,f)))},has(s,f){return f===qn?!0:(b(n.get(f)??r(f,Reflect.get(s,f))),Reflect.has(s,f))},set(s,f,l){return D(n.get(f)??r(f,l),l),Reflect.set(s,f,l)}});this.#e=(t.hydrate?Fr:yn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&He(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ie(this,s,{get(){return this.#e[s]},set(f){this.#e[s]=f},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{jr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let An;typeof HTMLElement=="function"&&(An=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 r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),ke(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Jr(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Ze(i,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=Gr({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=$r(()=>{pt(()=>{this.$$r=!0;for(const r of De(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Ze(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ze(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 De(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ze(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Jr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Xr(e,t,n,r,i,s){let f=class extends An{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return De(t).map(l=>(t[l].attribute||l).toLowerCase())}};return De(t).forEach(l=>{Ie(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=Ze(l,o,t),this.$$d[l]=o;var a=this.$$c;if(a){var c=de(a,l)?.get;c?a[l]=o:a.$set({[l]:o})}}})}),r.forEach(l=>{Ie(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var Zr=Me('<input type="checkbox" class="form-check-input svelte-1t6khak" switch=""/>'),Qr=Me('<input type="checkbox" class="form-check-input svelte-1t6khak"/>'),ei=Me('<!> <label class="form-check-label svelte-1t6khak"> </label>',1),ti=Me('<div part="invalid-feedback" class="invalid-feedback mb-1 svelte-1t6khak"> </div>'),ni=Me("<div><!></div> <!>",1);const ri={hash:"svelte-1t6khak",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");
1
+ (function(Tt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Hn=1,Vn=2,St="[",At="[!",Nt="[?",Rt="]",pe={},T=Symbol(),Ot="http://www.w3.org/1999/xhtml",Yn=!1;var zn=Array.isArray,Un=Array.prototype.indexOf,me=Array.prototype.includes,Gn=Array.from,je=Object.keys,Be=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,Kn=Object.getOwnPropertyDescriptors,Wn=Object.prototype,Jn=Array.prototype,Ct=Object.getPrototypeOf,Mt=Object.isExtensible;const Xn=()=>{};function Zn(e){for(var t=0;t<e.length;t++)e[t]()}function Pt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const E=2,we=4,qe=8,Dt=1<<24,ee=16,V=32,te=64,et=128,M=512,$=1024,S=2048,Y=4096,z=8192,j=16384,ne=32768,It=1<<25,be=65536,Lt=1<<17,Qn=1<<18,ue=1<<19,er=1<<20,ce=65536,tt=1<<21,nt=1<<22,re=1<<23,rt=Symbol("$state"),tr=Symbol("legacy props"),nr=Symbol(""),K=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},rr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),He=3,Ve=8;function ir(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function sr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function lr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function fr(){throw new Error("https://svelte.dev/e/hydration_failed")}function ur(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function cr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ye(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function vr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let k=!1;function ke(e){k=e}let g;function B(e){if(e===null)throw Ye(),pe;return g=e}function it(){return B(Z(g))}function st(e){if(k){if(Z(g)!==null)throw Ye(),pe;g=e}}function _r(e=1){if(k){for(var t=e,n=g;t--;)n=Z(n);g=n}}function Ft(e=!0){for(var t=0,n=g;;){if(n.nodeType===Ve){var r=n.data;if(r===Rt){if(t===0)return n;t-=1}else(r===St||r===At||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Z(n);e&&n.remove(),n=i}}function pr(e){if(!e||e.nodeType!==Ve)throw Ye(),pe;return e.data}function jt(e){return e===this.v}function mr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function gr(e){return!mr(e,this.v)}let wr=!1,P=null;function ye(e){P=e}function Bt(e,t=!1,n){P={p:P,i:!1,c:null,e:null,s:e,x:null,r:m,l:null}}function qt(e){var t=P,n=t.e;if(n!==null){t.e=null;for(var r of n)vn(r)}return e!==void 0&&(t.x=e),t.i=!0,P=t.p,e??{}}function Ht(){return!0}let he=[];function Vt(){var e=he;he=[],Zn(e)}function de(e){if(he.length===0&&!Ae){var t=he;queueMicrotask(()=>{t===he&&Vt()})}he.push(e)}function br(){for(;he.length>0;)Vt()}function Yt(e){var t=m;if(t===null)return p.f|=re,e;if((t.f&ne)===0&&(t.f&we)===0)throw e;ie(e,t)}function ie(e,t){for(;t!==null;){if((t.f&et)!==0){if((t.f&ne)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const kr=-7169;function y(e,t){e.f=e.f&kr|t}function lt(e){(e.f&M)!==0||e.deps===null?y(e,$):y(e,Y)}function zt(e){if(e!==null)for(const t of e)(t.f&E)===0||(t.f&ce)===0||(t.f^=ce,zt(t.deps))}function Ut(e,t,n){(e.f&S)!==0?t.add(e):(e.f&Y)!==0&&n.add(e),zt(e.deps),y(e,$)}const se=new Set;let w=null,q=null,ot=null,Ae=!1,at=!1,$e=null,ze=null;var Gt=0;let yr=1;class W{id=yr++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#o=new Set;#a=new Map;is_fork=!1;#c=!1;#f=new Set;#h(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)y(r,S),this.schedule(r);for(r of n.m)y(r,Y),this.schedule(r)}}#d(){if(Gt++>1e3&&(se.delete(this),$r()),!this.#h()){for(const l of this.#l)this.#o.delete(l),y(l,S),this.schedule(l);for(const l of this.#o)y(l,Y),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=$e=[],r=[],i=ze=[];for(const l of t)try{this.#u(l,n,r)}catch(a){throw Zt(l),a}if(w=null,i.length>0){var s=W.ensure();for(const l of i)s.schedule(l)}if($e=null,ze=null,this.#h()||this.#v()){this.#_(r),this.#_(n);for(const[l,a]of this.#a)Xt(l,a)}else{this.#t.size===0&&se.delete(this),this.#l.clear(),this.#o.clear();for(const l of this.#e)l(this);this.#e.clear(),Kt(r),Kt(n),this.#s?.resolve()}var o=w;if(this.#r.length>0){const l=o??=this;l.#r.push(...this.#r.filter(a=>!l.#r.includes(a)))}o!==null&&(se.add(o),o.#d()),se.has(this)||this.#p()}#u(t,n,r){t.f^=$;for(var i=t.first;i!==null;){var s=i.f,o=(s&(V|te))!==0,l=o&&(s&$)!==0,a=l||(s&z)!==0||this.#a.has(i);if(!a&&i.fn!==null){o?i.f^=$:(s&we)!==0?n.push(i):Pe(i)&&((s&ee)!==0&&this.#o.add(i),xe(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)Ut(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&re)===0&&(this.current.set(t,[t.v,r]),q?.set(t,t.v))}activate(){w=this}deactivate(){w=null,q=null}flush(){try{at=!0,w=this,this.#d()}finally{Gt=0,ot=null,$e=null,ze=null,at=!1,w=null,q=null,le.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),se.delete(this)}#p(){for(const f of se){var t=f.id<this.id,n=[];for(const[u,[d,c]]of this.current){if(f.current.has(u)){var r=f.current.get(u)[0];if(t&&d!==r)f.current.set(u,[d,c]);else continue}n.push(u)}var i=[...f.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&f.discard();else if(n.length>0){f.activate();var s=new Set,o=new Map;for(var l of n)Wt(l,i,s,o);if(f.#r.length>0){f.apply();for(var a of f.#r)f.#u(a,[],[]);f.#r=[]}f.deactivate()}}for(const f of se)f.#f.has(this)&&(f.#f.delete(this),f.#f.size===0&&!f.#h()&&(f.activate(),f.#d()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,de(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#o.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Pt()).promise}static ensure(){if(w===null){const t=w=new W;at||(se.add(w),Ae||de(()=>{w===t&&t.flush()}))}return w}apply(){{q=null;return}}schedule(t){if(ot=t,t.b?.is_pending&&(t.f&(we|qe|Dt))!==0&&(t.f&ne)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if($e!==null&&n===m&&(p===null||(p.f&E)===0))return;if((r&(te|V))!==0){if((r&$)===0)return;n.f^=$}}this.#r.push(n)}}function Ue(e){var t=Ae;Ae=!0;try{for(var n;;){if(br(),w===null)return n;w.flush()}}finally{Ae=t}}function $r(){try{ar()}catch(e){ie(e,ot)}}let J=null;function Kt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(j|z))===0&&Pe(r)&&(J=new Set,xe(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&mn(r),J?.size>0)){le.clear();for(const i of J){if((i.f&(j|z))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)J.has(o)&&(J.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(j|z))===0&&xe(a)}}J.clear()}}J=null}}function Wt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&E)!==0?Wt(i,t,n,r):(s&(nt|ee))!==0&&(s&S)===0&&Jt(i,t,r)&&(y(i,S),ft(i))}}function Jt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(me.call(t,i))return!0;if((i.f&E)!==0&&Jt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ft(e){w.schedule(e)}function Xt(e,t){if(!((e.f&V)!==0&&(e.f&$)!==0)){(e.f&S)!==0?t.d.push(e):(e.f&Y)!==0&&t.m.push(e),y(e,$);for(var n=e.first;n!==null;)Xt(n,t),n=n.next}}function Zt(e){y(e,$);for(var t=e.first;t!==null;)Zt(t),t=t.next}function Er(e){let t=0,n=Ne(0),r;return()=>{gt()&&(x(n),wt(()=>(t===0&&(r=Rn(()=>e(()=>Re(n)))),t+=1,()=>{de(()=>{t-=1,t===0&&(r?.(),r=void 0,Re(n))})})))}}var xr=be|ue;function Tr(e,t,n,r){new Sr(e,t,n,r)}class Sr{parent;is_pending=!1;transform_error;#e;#n=k?g:null;#t;#i;#s;#r=null;#l=null;#o=null;#a=null;#c=0;#f=0;#h=!1;#v=new Set;#d=new Set;#u=null;#_=Er(()=>(this.#u=Ne(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var o=m;o.b=this,o.f|=et,r(s)},this.parent=m.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=_n(()=>{if(k){const s=this.#n;it();const o=s.data===At;if(s.data.startsWith(Nt)){const a=JSON.parse(s.data.slice(Nt.length));this.#k(a)}else o?this.#y():this.#p()}else this.#w()},xr),k&&(this.#e=g)}#p(){try{this.#r=Q(()=>this.#i(this.#e))}catch(t){this.error(t)}}#k(t){const n=this.#t.failed;n&&(this.#o=Q(()=>{n(this.#e,()=>t,()=>()=>{})}))}#y(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=Q(()=>t(this.#e)),de(()=>{var n=this.#a=document.createDocumentFragment(),r=oe();n.append(r),this.#r=this.#g(()=>Q(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,Me(this.#l,()=>{this.#l=null}),this.#m(w))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=Q(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();bn(this.#r,t);const n=this.#t.pending;this.#l=Q(()=>n(this.#e))}else this.#m(w)}catch(n){this.error(n)}}#m(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#d)}defer_effect(t){Ut(t,this.#v,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#g(t){var n=m,r=p,i=P;G(this.#s),I(this.#s),ye(this.#s.ctx);try{return W.ensure(),t()}catch(s){return Yt(s),null}finally{G(n),I(r),ye(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#f+=t,this.#f===0&&(this.#m(n),this.#l&&Me(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,de(()=>{this.#h=!1,this.#u&&Ke(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),x(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(N(this.#r),this.#r=null),this.#l&&(N(this.#l),this.#l=null),this.#o&&(N(this.#o),this.#o=null),k&&(B(this.#n),_r(),B(Ft()));var i=!1,s=!1;const o=()=>{if(i){vr();return}i=!0,s&&dr(),this.#o!==null&&Me(this.#o,()=>{this.#o=null}),this.#g(()=>{this.#w()})},l=a=>{try{s=!0,n?.(a,o),s=!1}catch(f){ie(f,this.#s&&this.#s.parent)}r&&(this.#o=this.#g(()=>{try{return Q(()=>{var f=m;f.b=this,f.f|=et,r(this.#e,()=>a,()=>o)})}catch(f){return ie(f,this.#s.parent),null}}))};de(()=>{var a;try{a=this.transform_error(t)}catch(f){ie(f,this.#s&&this.#s.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(l,f=>ie(f,this.#s&&this.#s.parent)):l(a)})}}function Ar(e,t,n,r){const i=ut;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=m,l=Nr(),a=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function f(c){l();try{r(c)}catch(_){(o.f&j)===0&&ie(_,o)}Ge()}if(n.length===0){a.then(()=>f(t.map(i)));return}var u=Qt();function d(){Promise.all(n.map(c=>Rr(c))).then(c=>f([...t.map(i),...c])).catch(c=>ie(c,o)).finally(()=>u())}a?a.then(()=>{l(),d(),Ge()}):d()}function Nr(){var e=m,t=p,n=P,r=w;return function(s=!0){G(e),I(t),ye(n),s&&(e.f&j)===0&&(r?.activate(),r?.apply())}}function Ge(e=!0){G(null),I(null),ye(null),e&&w?.deactivate()}function Qt(){var e=m,t=e.b,n=w,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function ut(e){var t=E|S,n=p!==null&&(p.f&E)!==0?p:null;return m!==null&&(m.f|=ue),{ctx:P,deps:null,effects:null,equals:jt,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??m,ac:null}}function Rr(e,t,n){let r=m;r===null&&ir();var i=void 0,s=Ne(T),o=!p,l=new Map;return Ur(()=>{var a=m,f=Pt();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Ge)}catch(_){f.reject(_),Ge()}var u=w;if(o){if((a.f&ne)!==0)var d=Qt();if(r.b.is_rendered())l.get(u)?.reject(K),l.delete(u);else{for(const _ of l.values())_.reject(K);l.clear()}l.set(u,f)}const c=(_,h=void 0)=>{if(d){var v=h===K;d(v)}if(!(h===K||(a.f&j)!==0)){if(u.activate(),h)s.f|=re,Ke(s,h);else{(s.f&re)!==0&&(s.f^=re),Ke(s,_);for(const[b,A]of l){if(l.delete(b),b===u)break;A.reject(K)}}u.deactivate()}};f.promise.then(c,_=>c(null,_||"unknown"))}),Hr(()=>{for(const a of l.values())a.reject(K)}),new Promise(a=>{function f(u){function d(){u===i?a(s):f(i)}u.then(d,d)}f(i)})}function Or(e){const t=ut(e);return yn(t),t}function Cr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)N(t[n])}}function Mr(e){for(var t=e.parent;t!==null;){if((t.f&E)===0)return(t.f&j)===0?t:null;t=t.parent}return null}function ct(e){var t,n=m;G(Mr(e));try{e.f&=~ce,Cr(e),t=Sn(e)}finally{G(n)}return t}function en(e){var t=e.v,n=ct(e);if(!e.equals(n)&&(e.wv=xn(),(!w?.is_fork||e.deps===null)&&(e.v=n,w?.capture(e,t,!0),e.deps===null))){y(e,$);return}ae||(q!==null?(gt()||w?.is_fork)&&q.set(e,n):lt(e))}function Pr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(K),t.teardown=Xn,t.ac=null,De(t,0),bt(t))}function tn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&xe(t)}let ht=new Set;const le=new Map;let nn=!1;function Ne(e,t){var n={f:0,v:e,reactions:null,equals:jt,rv:0,wv:0};return n}function X(e,t){const n=Ne(e);return yn(n),n}function Dr(e,t=!1,n=!0){const r=Ne(e);return t||(r.equals=gr),r}function D(e,t,n=!1){p!==null&&(!H||(p.f&Lt)!==0)&&Ht()&&(p.f&(E|ee|nt|Lt))!==0&&(L===null||!me.call(L,e))&&hr();let r=n?Oe(t):t;return Ke(e,r,ze)}function Ke(e,t,n=null){if(!e.equals(t)){var r=e.v;ae?le.set(e,t):le.set(e,r),e.v=t;var i=W.ensure();if(i.capture(e,r),(e.f&E)!==0){const s=e;(e.f&S)!==0&&ct(s),q===null&&lt(s)}e.wv=xn(),rn(e,S,n),m!==null&&(m.f&$)!==0&&(m.f&(V|te))===0&&(F===null?Jr([e]):F.push(e)),!i.is_fork&&ht.size>0&&!nn&&Ir()}return t}function Ir(){nn=!1;for(const e of ht)(e.f&$)!==0&&y(e,Y),Pe(e)&&xe(e);ht.clear()}function Re(e){D(e,e.v+1)}function rn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,a=(l&S)===0;if(a&&y(o,t),(l&E)!==0){var f=o;q?.delete(f),(l&ce)===0&&(l&M&&(o.f|=ce),rn(f,Y,n))}else if(a){var u=o;(l&ee)!==0&&J!==null&&J.add(u),n!==null?n.push(u):ft(u)}}}function Oe(e){if(typeof e!="object"||e===null||rt in e)return e;const t=Ct(e);if(t!==Wn&&t!==Jn)return e;var n=new Map,r=zn(e),i=X(0),s=_e,o=l=>{if(_e===s)return l();var a=p,f=_e;I(null),En(s);var u=l();return I(a),En(f),u};return r&&n.set("length",X(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&ur();var u=n.get(a);return u===void 0?o(()=>{var d=X(f.value);return n.set(a,d),d}):D(u,f.value,!0),!0},deleteProperty(l,a){var f=n.get(a);if(f===void 0){if(a in l){const u=o(()=>X(T));n.set(a,u),Re(i)}}else D(f,T),Re(i);return!0},get(l,a,f){if(a===rt)return e;var u=n.get(a),d=a in l;if(u===void 0&&(!d||ge(l,a)?.writable)&&(u=o(()=>{var _=Oe(d?l[a]:T),h=X(_);return h}),n.set(a,u)),u!==void 0){var c=x(u);return c===T?void 0:c}return Reflect.get(l,a,f)},getOwnPropertyDescriptor(l,a){var f=Reflect.getOwnPropertyDescriptor(l,a);if(f&&"value"in f){var u=n.get(a);u&&(f.value=x(u))}else if(f===void 0){var d=n.get(a),c=d?.v;if(d!==void 0&&c!==T)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(l,a){if(a===rt)return!0;var f=n.get(a),u=f!==void 0&&f.v!==T||Reflect.has(l,a);if(f!==void 0||m!==null&&(!u||ge(l,a)?.writable)){f===void 0&&(f=o(()=>{var c=u?Oe(l[a]):T,_=X(c);return _}),n.set(a,f));var d=x(f);if(d===T)return!1}return u},set(l,a,f,u){var d=n.get(a),c=a in l;if(r&&a==="length")for(var _=f;_<d.v;_+=1){var h=n.get(_+"");h!==void 0?D(h,T):_ in l&&(h=o(()=>X(T)),n.set(_+"",h))}if(d===void 0)(!c||ge(l,a)?.writable)&&(d=o(()=>X(void 0)),D(d,Oe(f)),n.set(a,d));else{c=d.v!==T;var v=o(()=>Oe(f));D(d,v)}var b=Reflect.getOwnPropertyDescriptor(l,a);if(b?.set&&b.set.call(u,f),!c){if(r&&typeof a=="string"){var A=n.get("length"),fe=Number(a);Number.isInteger(fe)&&fe>=A.v&&D(A,fe+1)}Re(i)}return!0},ownKeys(l){x(i);var a=Reflect.ownKeys(l).filter(d=>{var c=n.get(d);return c===void 0||c.v!==T});for(var[f,u]of n)u.v!==T&&!(f in l)&&a.push(f);return a},setPrototypeOf(){cr()}})}var sn,ln,on,an;function dt(){if(sn===void 0){sn=window,ln=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;on=ge(t,"firstChild").get,an=ge(t,"nextSibling").get,Mt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Mt(n)&&(n.__t=void 0)}}function oe(e=""){return document.createTextNode(e)}function Ee(e){return on.call(e)}function Z(e){return an.call(e)}function vt(e,t){if(!k)return Ee(e);var n=Ee(g);if(n===null)n=g.appendChild(oe());else if(t&&n.nodeType!==He){var r=oe();return n?.before(r),B(r),r}return t&&pt(n),B(n),n}function fn(e,t=!1){if(!k){var n=Ee(e);return n instanceof Comment&&n.data===""?Z(n):n}if(t){if(g?.nodeType!==He){var r=oe();return g?.before(r),B(r),r}pt(g)}return g}function un(e,t=1,n=!1){let r=k?g:e;for(var i;t--;)i=r,r=Z(r);if(!k)return r;if(n){if(r?.nodeType!==He){var s=oe();return r===null?i?.after(s):r.before(s),B(s),s}pt(r)}return B(r),r}function Lr(e){e.textContent=""}function Fr(){return!1}function _t(e,t,n){return document.createElementNS(Ot,e,void 0)}function pt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===He;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}let cn=!1;function hn(){cn||(cn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function mt(e){var t=p,n=m;I(null),G(null);try{return e()}finally{I(t),G(n)}}function jr(e,t,n,r=n){e.addEventListener(t,()=>mt(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),hn()}function Br(e){m===null&&(p===null&&or(),lr()),ae&&sr()}function qr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function U(e,t){var n=m;n!==null&&(n.f&z)!==0&&(e|=z);var r={ctx:P,deps:null,nodes:null,f:e|S|M,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&we)!==0)$e!==null?$e.push(r):W.ensure().schedule(r);else if(t!==null){try{xe(r)}catch(o){throw N(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ue)===0&&(i=i.first,(e&ee)!==0&&(e&be)!==0&&i!==null&&(i.f|=be))}if(i!==null&&(i.parent=n,n!==null&&qr(i,n),p!==null&&(p.f&E)!==0&&(e&te)===0)){var s=p;(s.effects??=[]).push(i)}return r}function gt(){return p!==null&&!H}function Hr(e){const t=U(qe,null);return y(t,$),t.teardown=e,t}function dn(e){Br();var t=m.f,n=!p&&(t&V)!==0&&(t&ne)===0;if(n){var r=P;(r.e??=[]).push(e)}else return vn(e)}function vn(e){return U(we|er,e)}function Vr(e){W.ensure();const t=U(te|ue,e);return()=>{N(t)}}function Yr(e){W.ensure();const t=U(te|ue,e);return(n={})=>new Promise(r=>{n.outro?Me(t,()=>{N(t),r(void 0)}):(N(t),r(void 0))})}function zr(e){return U(we,e)}function Ur(e){return U(nt|ue,e)}function wt(e,t=0){return U(qe|t,e)}function Ce(e,t=[],n=[],r=[]){Ar(r,t,n,i=>{U(qe,()=>e(...i.map(x)))})}function _n(e,t=0){var n=U(ee|t,e);return n}function Q(e){return U(V|ue,e)}function pn(e){var t=e.teardown;if(t!==null){const n=ae,r=p;kn(!0),I(null);try{t.call(null)}finally{kn(n),I(r)}}}function bt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&mt(()=>{i.abort(K)});var r=n.next;(n.f&te)!==0?n.parent=null:N(n,t),n=r}}function Gr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&V)===0&&N(t),t=n}}function N(e,t=!0){var n=!1;(t||(e.f&Qn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Kr(e.nodes.start,e.nodes.end),n=!0),y(e,It),bt(e,t&&!n),De(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();pn(e),e.f^=It,e.f|=j;var i=e.parent;i!==null&&i.first!==null&&mn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Kr(e,t){for(;e!==null;){var n=e===t?null:Z(e);e.remove(),e=n}}function mn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Me(e,t,n=!0){var r=[];gn(e,r,!0);var i=()=>{n&&N(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function gn(e,t,n){if((e.f&z)===0){e.f^=z;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&be)!==0||(i.f&V)!==0&&(e.f&ee)!==0;gn(i,t,o?n:!1),i=s}}}function Wr(e){wn(e,!0)}function wn(e,t){if((e.f&z)!==0){e.f^=z,(e.f&$)===0&&(y(e,S),W.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&be)!==0||(n.f&V)!==0;wn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function bn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Z(n);t.append(n),n=i}}let We=!1,ae=!1;function kn(e){ae=e}let p=null,H=!1;function I(e){p=e}let m=null;function G(e){m=e}let L=null;function yn(e){p!==null&&(L===null?L=[e]:L.push(e))}let R=null,O=0,F=null;function Jr(e){F=e}let $n=1,ve=0,_e=ve;function En(e){_e=e}function xn(){return++$n}function Pe(e){var t=e.f;if((t&S)!==0)return!0;if(t&E&&(e.f&=~ce),(t&Y)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(Pe(s)&&en(s),s.wv>e.wv)return!0}(t&M)!==0&&q===null&&y(e,$)}return!1}function Tn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(L!==null&&me.call(L,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&E)!==0?Tn(s,t,!1):t===s&&(n?y(s,S):(s.f&$)!==0&&y(s,Y),ft(s))}}function Sn(e){var t=R,n=O,r=F,i=p,s=L,o=P,l=H,a=_e,f=e.f;R=null,O=0,F=null,p=(f&(V|te))===0?e:null,L=null,ye(e.ctx),H=!1,_e=++ve,e.ac!==null&&(mt(()=>{e.ac.abort(K)}),e.ac=null);try{e.f|=tt;var u=e.fn,d=u();e.f|=ne;var c=e.deps,_=w?.is_fork;if(R!==null){var h;if(_||De(e,O),c!==null&&O>0)for(c.length=O+R.length,h=0;h<R.length;h++)c[O+h]=R[h];else e.deps=c=R;if(gt()&&(e.f&M)!==0)for(h=O;h<c.length;h++)(c[h].reactions??=[]).push(e)}else!_&&c!==null&&O<c.length&&(De(e,O),c.length=O);if(Ht()&&F!==null&&!H&&c!==null&&(e.f&(E|Y|S))===0)for(h=0;h<F.length;h++)Tn(F[h],e);if(i!==null&&i!==e){if(ve++,i.deps!==null)for(let v=0;v<n;v+=1)i.deps[v].rv=ve;if(t!==null)for(const v of t)v.rv=ve;F!==null&&(r===null?r=F:r.push(...F))}return(e.f&re)!==0&&(e.f^=re),d}catch(v){return Yt(v)}finally{e.f^=tt,R=t,O=n,F=r,p=i,L=s,ye(o),H=l,_e=a}}function Xr(e,t){let n=t.reactions;if(n!==null){var r=Un.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&E)!==0&&(R===null||!me.call(R,t))){var s=t;(s.f&M)!==0&&(s.f^=M,s.f&=~ce),lt(s),Pr(s),De(s,0)}}function De(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Xr(e,n[r])}function xe(e){var t=e.f;if((t&j)===0){y(e,$);var n=m,r=We;m=e,We=!0;try{(t&(ee|Dt))!==0?Gr(e):bt(e),pn(e);var i=Sn(e);e.teardown=typeof i=="function"?i:null,e.wv=$n;var s;Yn&&wr&&(e.f&S)!==0&&e.deps}finally{We=r,m=n}}}function x(e){var t=e.f,n=(t&E)!==0;if(p!==null&&!H){var r=m!==null&&(m.f&j)!==0;if(!r&&(L===null||!me.call(L,e))){var i=p.deps;if((p.f&tt)!==0)e.rv<ve&&(e.rv=ve,R===null&&i!==null&&i[O]===e?O++:R===null?R=[e]:R.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:me.call(s,p)||s.push(p)}}}if(ae&&le.has(e))return le.get(e);if(n){var o=e;if(ae){var l=o.v;return((o.f&$)===0&&o.reactions!==null||Nn(o))&&(l=ct(o)),le.set(o,l),l}var a=(o.f&M)===0&&!H&&p!==null&&(We||(p.f&M)!==0),f=(o.f&ne)===0;Pe(o)&&(a&&(o.f|=M),en(o)),a&&!f&&(tn(o),An(o))}if(q?.has(e))return q.get(e);if((e.f&re)!==0)throw e.v;return e.v}function An(e){if(e.f|=M,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&E)!==0&&(t.f&M)===0&&(tn(t),An(t))}function Nn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(le.has(t)||(t.f&E)!==0&&Nn(t))return!0;return!1}function Rn(e){var t=H;try{return H=!0,e()}finally{H=t}}const Je=Symbol("events"),Zr=new Set,On=new Set;let Cn=null;function Mn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Cn=e;var o=0,l=Cn===e&&e[Je];if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e[Je]=t;return}var f=i.indexOf(t);if(f===-1)return;a<=f&&(o=a)}if(s=i[o]||e.target,s!==t){Be(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,d=m;I(null),G(null);try{for(var c,_=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var v=s[Je]?.[r];v!=null&&(!s.disabled||e.target===s)&&v.call(s,e)}catch(b){c?_.push(b):c=b}if(e.cancelBubble||h===t||h===null)break;s=h}if(c){for(let b of _)queueMicrotask(()=>{throw b});throw c}}finally{e[Je]=t,delete e.currentTarget,I(u),G(d)}}}const Qr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ei(e){return Qr?.createHTML(e)??e}function ti(e){var t=_t("template");return t.innerHTML=ei(e.replaceAll("<!>","<!---->")),t.content}function Xe(e,t){var n=m;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Ie(e,t){var n=(t&Hn)!==0,r=(t&Vn)!==0,i,s=!e.startsWith("<!>");return()=>{if(k)return Xe(g,null),g;i===void 0&&(i=ti(s?e:"<!>"+e),n||(i=Ee(i)));var o=r||ln?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=Ee(o),a=o.lastChild;Xe(l,a)}else Xe(o,o);return o}}function Te(e,t){if(k){var n=m;((n.f&ne)===0||n.nodes.end===null)&&(n.nodes.end=g),it();return}e!==null&&e.before(t)}const ni=["touchstart","touchmove"];function ri(e){return ni.includes(e)}function Pn(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Dn(e,t){return In(e,t)}function ii(e,t){dt(),t.intro=t.intro??!1;const n=t.target,r=k,i=g;try{for(var s=Ee(n);s&&(s.nodeType!==Ve||s.data!==St);)s=Z(s);if(!s)throw pe;ke(!0),B(s);const o=In(e,{...t,anchor:s});return ke(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==pe&&console.warn("Failed to hydrate: ",o),t.recover===!1&&fr(),dt(),Lr(n),ke(!1),Dn(e,t)}finally{ke(r),B(i)}}const Ze=new Map;function In(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){dt();var a=void 0,f=Yr(()=>{var u=n??t.appendChild(oe());Tr(u,{pending:()=>{}},_=>{Bt({});var h=P;if(s&&(h.c=s),i&&(r.$$events=i),k&&Xe(_,null),a=e(_,r)||{},k&&(m.nodes.end=g,g===null||g.nodeType!==Ve||g.data!==Rt))throw Ye(),pe;qt()},l);var d=new Set,c=_=>{for(var h=0;h<_.length;h++){var v=_[h];if(!d.has(v)){d.add(v);var b=ri(v);for(const Fe of[t,document]){var A=Ze.get(Fe);A===void 0&&(A=new Map,Ze.set(Fe,A));var fe=A.get(v);fe===void 0?(Fe.addEventListener(v,Mn,{passive:b}),A.set(v,1)):A.set(v,fe+1)}}}};return c(Gn(Zr)),On.add(c),()=>{for(var _ of d)for(const b of[t,document]){var h=Ze.get(b),v=h.get(_);--v==0?(b.removeEventListener(_,Mn),h.delete(_),h.size===0&&Ze.delete(b)):h.set(_,v)}On.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return kt.set(a,f),a}let kt=new WeakMap;function si(e,t){const n=kt.get(e);return n?(kt.delete(e),n(t)):Promise.resolve()}class li{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Wr(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,o]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(o);l&&(N(l.effect),this.#t.delete(o))}for(const[s,o]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var f=document.createDocumentFragment();bn(o,f),f.append(oe()),this.#t.set(s,{effect:o,fragment:f})}else N(o);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Me(o,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(N(i.effect),this.#t.delete(r))};ensure(t,n){var r=w,i=Fr();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),o=oe();s.append(o),this.#t.set(t,{effect:Q(()=>n(o)),fragment:s})}else this.#n.set(t,Q(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,a]of this.#n)l===t?r.unskip_effect(a):r.skip_effect(a);for(const[l,a]of this.#t)l===t?r.unskip_effect(a.effect):r.skip_effect(a.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else k&&(this.anchor=g),this.#r(r)}}function yt(e,t,n=!1){var r;k&&(r=g,it());var i=new li(e),s=n?be:0;function o(l,a){if(k){var f=pr(r);if(l!==parseInt(f.substring(1))){var u=Ft();B(u),i.anchor=u,ke(!1),i.ensure(l,a),ke(!0);return}}i.ensure(l,a)}_n(()=>{var l=!1;t((a,f=0)=>{l=!0,o(f,a)}),l||o(-1,null)},s)}function oi(e,t){zr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=_t("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function ai(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function fi(e,t,n,r,i,s){var o=e.__className;if(k||o!==n||o===void 0){var l=ai(n,r);(!k||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const ui=Symbol("is custom element"),ci=Symbol("is html"),hi=rr?"link":"LINK";function Ln(e){if(k){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;Le(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var i=e.checked;Le(e,"checked",null),e.checked=i}}};e.__on_r=n,de(n),hn()}}function Le(e,t,n,r){var i=di(e);k&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===hi)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[nr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&vi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function di(e){return e.__attributes??={[ui]:e.nodeName.includes("-"),[ci]:e.namespaceURI===Ot}}var Fn=new Map;function vi(e){var t=e.getAttribute("is")||e.nodeName,n=Fn.get(t);if(n)return n;Fn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Kn(i);for(var o in r)r[o].set&&n.push(o);i=Ct(i)}return n}function jn(e,t,n=t){jr(e,"change",r=>{var i=r?e.defaultChecked:e.checked;n(i)}),(k&&e.defaultChecked!==e.checked||Rn(t)==null)&&n(e.checked),wt(()=>{var r=t();e.checked=!!r})}function $t(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var a;a=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var f=!1,u=ut(()=>(f=!1,a())),d=m;return(function(c,_){if(arguments.length>0){const h=_?x(u):c;return D(u,h),f=!0,i!==void 0&&(i=h),c}return ae&&f||(d.f&j)!==0?u.v:x(u)})}function _i(e){return new pi(e)}class pi{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=Dr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return x(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===tr?!0:(x(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return D(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?ii:Dn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ue(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Be(this,s,{get(){return this.#n[s]},set(o){this.#n[s]=o},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{si(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Bn;typeof HTMLElement=="function"&&(Bn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=_t("slot");r!=="default"&&(s.name=r),Te(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=mi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Qe(i,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=_i({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Vr(()=>{wt(()=>{this.$$r=!0;for(const r of je(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Qe(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Qe(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 Qe(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function mi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function gi(e,t,n,r,i,s){let o=class extends Bn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return je(t).map(l=>(t[l].attribute||l).toLowerCase())}};return je(t).forEach(l=>{Be(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=Qe(l,a,t),this.$$d[l]=a;var f=this.$$c;if(f){var u=ge(f,l)?.get;u?f[l]=a:f.$set({[l]:a})}}})}),r.forEach(l=>{Be(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var wi=Ie('<input type="checkbox" class="form-check-input svelte-1t6khak" switch=""/>'),bi=Ie('<input type="checkbox" class="form-check-input svelte-1t6khak"/>'),ki=Ie('<!> <label class="form-check-label svelte-1t6khak"> </label>',1),yi=Ie('<div part="invalid-feedback" class="invalid-feedback mb-1 svelte-1t6khak"> </div>'),$i=Ie("<div><!></div> <!>",1);const Ei={hash:"svelte-1t6khak",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");
3
3
  /*!
4
4
  * Bootstrap v5.1.2 (https://getbootstrap.com/)
5
5
  * Copyright 2011-2021 The Bootstrap Authors
@@ -71,5 +71,5 @@
71
71
  @media (min-width: 1200px) {
72
72
  }
73
73
  @media (min-width: 1400px) {
74
- }:host {font-family:"Roboto", sans-serif;}.form-check-input.svelte-1t6khak {margin:0px;vertical-align:initial;}.form-check.svelte-1t6khak .form-check-input:where(.svelte-1t6khak) {float:none;}`};function Sn(e,t){Ot(t,!0),Br(e,ri);function n(p,T){t.$$host.dispatchEvent(new CustomEvent(p,{detail:T}))}let r=wt(t,"schemaentry"),i=wt(t,"show_validation",7,"no"),s=wt(t,"id",7,void 0),f=dr(()=>r().required?!!b(l):!0),l=J(!1);Qt(()=>{if(i()||i("no"),r()&&typeof r()=="string")try{r(JSON.parse(r())),D(l,r().value,!0),!s()&&r()?.id&&s(r().id)}catch{}console.log("effectinputcheckbox",b(f),b(l),r())}),Qt(()=>{n("setVal",{value:b(l),valid:b(f),id:s()})});var o={get schemaentry(){return r()},set schemaentry(p){r(p),He()},get show_validation(){return i()},set show_validation(p="no"){i(p),He()},get id(){return s()},set id(p=void 0){s(p),He()}},a=ni(),c=Wt(a),d=vt(c);{var u=p=>{var T=ei(),ce=Wt(T);{var Le=ye=>{var O=Zr();En(O),Se(()=>{Pe(O,"id",s()),O.required=r()?.required,O.readOnly=r()?.readonly}),Tn(O,()=>b(l),bt=>D(l,bt)),ke(ye,O)},ii=ye=>{var O=Qr();En(O),Se(()=>{Pe(O,"id",s()),O.required=r()?.required,O.readOnly=r()?.readonly}),Tn(O,()=>b(l),bt=>D(l,bt)),ke(ye,O)};gt(ce,ye=>{typeof r()=="object"&&r()?.params?.type==="switch"?ye(Le):ye(ii,!1)})}var kt=Jt(ce,2),si=vt(kt);ot(kt),Se(()=>{Pe(kt,"for",r()?.id),bn(si,`${r()?.label??""}${r()?.required?"*":""}`)}),ke(p,T)};gt(d,p=>{r()&&p(u)})}ot(c);var h=Jt(c,2);{var w=p=>{var T=ti(),ce=vt(T,!0);ot(T),Se(()=>bn(ce,r().validationTip)),ke(p,T)};gt(h,p=>{r()?.validationTip&&i()==="yes"&&p(w)})}return Se(()=>Vr(c,1,`form-check ${typeof r()=="object"&&r()?.params?.type==="switch"?"form-switch":""}`,"svelte-1t6khak")),ke(e,a),Mt(o)}customElements.define("hb-input-checkbox",Xr(Sn,{schemaentry:{},show_validation:{},id:{}},[],[],!0)),yt.Component=Sn,Object.defineProperty(yt,Symbol.toStringTag,{value:"Module"})})(this["input-checkbox"]=this["input-checkbox"]||{});
74
+ }:host {font-family:"Roboto", sans-serif;}.form-check-input.svelte-1t6khak {margin:0px;vertical-align:initial;}.form-check.svelte-1t6khak .form-check-input:where(.svelte-1t6khak) {float:none;}`};function qn(e,t){Bt(t,!0),oi(e,Ei);function n(v,b){t.$$host.dispatchEvent(new CustomEvent(v,{detail:b}))}let r=$t(t,"schemaentry"),i=$t(t,"show_validation",7,"no"),s=$t(t,"id",7,void 0),o=Or(()=>r().required?!!x(l):!0),l=X(!1);dn(()=>{if(i()||i("no"),r()&&typeof r()=="string")try{r(JSON.parse(r())),D(l,r().value,!0),!s()&&r()?.id&&s(r().id)}catch{}console.log("effectinputcheckbox",x(o),x(l),r())}),dn(()=>{n("setVal",{value:x(l),valid:x(o),id:s()})});var a={get schemaentry(){return r()},set schemaentry(v){r(v),Ue()},get show_validation(){return i()},set show_validation(v="no"){i(v),Ue()},get id(){return s()},set id(v=void 0){s(v),Ue()}},f=$i(),u=fn(f),d=vt(u);{var c=v=>{var b=ki(),A=fn(b);{var fe=Se=>{var C=wi();Ln(C),Ce(()=>{Le(C,"id",s()),C.required=r()?.required,C.readOnly=r()?.readonly}),jn(C,()=>x(l),xt=>D(l,xt)),Te(Se,C)},Fe=Se=>{var C=bi();Ln(C),Ce(()=>{Le(C,"id",s()),C.required=r()?.required,C.readOnly=r()?.readonly}),jn(C,()=>x(l),xt=>D(l,xt)),Te(Se,C)};yt(A,Se=>{typeof r()=="object"&&r()?.params?.type==="switch"?Se(fe):Se(Fe,-1)})}var Et=un(A,2),xi=vt(Et);st(Et),Ce(()=>{Le(Et,"for",r()?.id),Pn(xi,`${r()?.label??""}${r()?.required?"*":""}`)}),Te(v,b)};yt(d,v=>{r()&&v(c)})}st(u);var _=un(u,2);{var h=v=>{var b=yi(),A=vt(b,!0);st(b),Ce(()=>Pn(A,r().validationTip)),Te(v,b)};yt(_,v=>{r()?.validationTip&&i()==="yes"&&v(h)})}return Ce(()=>fi(u,1,`form-check ${typeof r()=="object"&&r()?.params?.type==="switch"?"form-switch":""}`,"svelte-1t6khak")),Te(e,f),qt(a)}customElements.define("hb-input-checkbox",gi(qn,{schemaentry:{},show_validation:{},id:{}},[],[],{mode:"open"})),Tt.Component=qn,Object.defineProperty(Tt,Symbol.toStringTag,{value:"Module"})})(this["input-checkbox"]=this["input-checkbox"]||{});
75
75
  //# sourceMappingURL=main.iife.js.map