@htmlbricks/hb-input-checkbox 0.60.35 → 0.60.37

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(lt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const br=1,pr=2,at="[",ft="[!",ut="]",se={},y=Symbol(),gr="http://www.w3.org/1999/xhtml",ct=!1;var dt=Array.isArray,mr=Array.prototype.indexOf,yr=Array.from,me=Object.keys,ie=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,wr=Object.getOwnPropertyDescriptors,kr=Object.prototype,$r=Array.prototype,ht=Object.getPrototypeOf,vt=Object.isExtensible;function _t(e){for(var t=0;t<e.length;t++)e[t]()}function Er(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const C=2,Le=4,bt=8,le=16,F=32,U=64,pt=128,R=256,ye=512,q=1024,O=2048,Y=4096,H=8192,J=16384,De=32768,Fe=65536,gt=1<<17,xr=1<<18,ae=1<<19,Tr=1<<20,je=1<<21,Be=1<<22,X=1<<23,Ue=Symbol("$state"),qr=Symbol("legacy props"),Sr=Symbol(""),Ye=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},mt=3,we=8;function Cr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Nr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Ar(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Rr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Pr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Mr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ir(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Lr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Dr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ke(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let w=!1;function fe(e){w=e}let m;function V(e){if(e===null)throw ke(),se;return m=e}function He(){return V(te(m))}function Ve(e){if(w){if(te(m)!==null)throw ke(),se;m=e}}function Fr(){for(var e=0,t=m;;){if(t.nodeType===we){var r=t.data;if(r===ut){if(e===0)return t;e-=1}else(r===at||r===ft)&&(e+=1)}var n=te(t);t.remove(),t=n}}function jr(e){if(!e||e.nodeType!==we)throw ke(),se;return e.data}function yt(e){return e===this.v}function Br(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ur(e){return!Br(e,this.v)}let Yr=!1,M=null;function $e(e){M=e}function wt(e,t=!1,r){M={p:M,c:null,e:null,s:e,x:null,l:null}}function kt(e){var t=M,r=t.e;if(r!==null){t.e=null;for(var n of r)Ht(n)}return e!==void 0&&(t.x=e),M=t.p,e??{}}function $t(){return!0}const Hr=new WeakMap;function Vr(e){var t=_;if(t===null)return b.f|=X,e;if((t.f&De)===0){if((t.f&pt)===0)throw!t.parent&&e instanceof Error&&Et(e),e;t.b.error(e)}else ze(e,t)}function ze(e,t){for(;t!==null;){if((t.f&pt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Et(e),e}function Et(e){const t=Hr.get(e);t&&(ie(e,"message",{value:t.message}),ie(e,"stack",{value:t.stack}))}const zr=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let Ke=[],_e=[];function Kr(){var e=Ke;Ke=[],_t(e)}function xt(){var e=_e;_e=[],_t(e)}function Wr(e){_e.length===0&&zr(xt),_e.push(e)}function Gr(){Ke.length>0&&Kr(),_e.length>0&&xt()}function Jr(){const e=_.b;return e===null&&Cr(),e}function Tt(e){var t=C|O,r=b!==null&&(b.f&C)!==0?b:null;return _===null||r!==null&&(r.f&R)!==0?t|=R:_.f|=ae,{ctx:M,deps:null,effects:null,equals:yt,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:r??_,ac:null}}function Xr(e,t){let r=_;r===null&&Nr();var n=r.b,s=void 0,i=Xe(y),o=null,l=!b;return dn(()=>{try{var a=e();o&&Promise.resolve(a).catch(()=>{})}catch(c){a=Promise.reject(c)}var f=()=>a;s=o?.then(f,f)??Promise.resolve(a),o=s;var u=k,d=n.is_pending();l&&(n.update_pending_count(1),d||u.increment());const h=(c,v=void 0)=>{o=null,d||u.activate(),v?v!==Ye&&(i.f|=X,Ze(i,v)):((i.f&X)!==0&&(i.f^=X),Ze(i,c)),l&&(n.update_pending_count(-1),d||u.decrement()),Ct()};if(s.then(h,c=>h(null,c||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(a=>{function f(u){function d(){u===s?a(i):f(s)}u.then(d,d)}f(s)})}function qt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)K(t[r])}}function Zr(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return t;t=t.parent}return null}function We(e){var t,r=_;W(Zr(e));try{qt(e),t=ir(e)}finally{W(r)}return t}function St(e){var t=We(e);if(e.equals(t)||(e.v=t,e.wv=nr()),!re){var r=(G||(e.f&R)!==0)&&e.deps!==null?Y:q;A(e,r)}}function Qr(e,t,r){const n=Tt;if(t.length===0){r(e.map(n));return}var s=k,i=_,o=en(),l=Jr();Promise.all(t.map(a=>Xr(a))).then(a=>{s?.activate(),o();try{r([...e.map(n),...a])}catch(f){(i.f&J)===0&&ze(f,i)}s?.deactivate(),Ct()}).catch(a=>{l.error(a)})}function en(){var e=_,t=b,r=M,n=k;return function(){W(e),D(t),$e(r),n?.activate()}}function Ct(){W(null),D(null),$e(null)}const Ge=new Set;let k=null,Nt=new Set,Ee=[];function At(){const e=Ee.shift();Ee.length>0&&queueMicrotask(At),e()}let Z=[],xe=null,Je=!1,Te=!1;class Q{current=new Map;#t=new Map;#e=new Set;#r=0;#f=null;#u=!1;#s=[];#o=[];#i=[];#n=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){Z=[];for(const s of t)this.#v(s);if(this.#s.length===0&&this.#r===0){this.#h();var r=this.#i,n=this.#n;this.#i=[],this.#n=[],this.#l=[],k=null,Ot(r),Ot(n),k===null?k=this:Ge.delete(this),this.#f?.resolve()}else this.#a(this.#i),this.#a(this.#n),this.#a(this.#l);for(const s of this.#s)he(s);for(const s of this.#o)he(s);this.#s=[],this.#o=[]}#v(t){t.f^=q;for(var r=t.first;r!==null;){var n=r.f,s=(n&(F|U))!==0,i=s&&(n&q)!==0,o=i||(n&H)!==0||this.skipped_effects.has(r);if(!o&&r.fn!==null){if(s)r.f^=q;else if((n&Le)!==0)this.#n.push(r);else if((n&q)===0)if((n&Be)!==0){var l=r.b?.is_pending()?this.#o:this.#s;l.push(r)}else Se(r)&&((r.f&le)!==0&&this.#l.push(r),he(r));var a=r.first;if(a!==null){r=a;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#a(t){for(const r of t)((r.f&O)!==0?this.#c:this.#d).push(r),A(r,q);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){k=this}deactivate(){k=null;for(const t of Nt)if(Nt.delete(t),t(),k!==null)break}neuter(){this.#u=!0}flush(){Z.length>0?Rt():this.#h(),k===this&&(this.#r===0&&Ge.delete(this),this.deactivate())}#h(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)A(t,O),ue(t);for(const t of this.#d)A(t,Y),ue(t);this.#i=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Er()).promise}static ensure(){if(k===null){const t=k=new Q;Ge.add(k),Te||Q.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){Ee.length===0&&queueMicrotask(At),Ee.unshift(t)}}function qe(e){var t=Te;Te=!0;try{for(var r;;){if(Gr(),Z.length===0&&(k?.flush(),Z.length===0))return xe=null,r;Rt()}}finally{Te=t}}function Rt(){var e=de;Je=!0;try{var t=0;for(Qt(!0);Z.length>0;){var r=Q.ensure();if(t++>1e3){var n,s;tn()}r.process(Z),z.clear()}}finally{Je=!1,Qt(e),xe=null}}function tn(){try{Pr()}catch(e){ze(e,xe)}}let ee=null;function Ot(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(J|H))===0&&Se(n)&&(ee=[],he(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Gt(n):n.fn=null),ee?.length>0)){z.clear();for(const s of ee)he(s);ee=[]}}ee=null}}function ue(e){for(var t=xe=e;t.parent!==null;){t=t.parent;var r=t.f;if(Je&&t===_&&(r&le)!==0)return;if((r&(U|F))!==0){if((r&q)===0)return;t.f^=q}}Z.push(t)}const z=new Map;function Xe(e,t){var r={f:0,v:e,reactions:null,equals:yt,rv:0,wv:0};return r}function I(e,t){const r=Xe(e);return gn(r),r}function rn(e,t=!1,r=!0){const n=Xe(e);return t||(n.equals=Ur),n}function $(e,t,r=!1){b!==null&&(!L||(b.f&gt)!==0)&&$t()&&(b.f&(C|le|Be|gt))!==0&&!B?.includes(e)&&Dr();let n=r?be(t):t;return Ze(e,n)}function Ze(e,t){if(!e.equals(t)){var r=e.v;re?z.set(e,t):z.set(e,r),e.v=t;var n=Q.ensure();n.capture(e,r),(e.f&C)!==0&&((e.f&O)!==0&&We(e),A(e,(e.f&R)===0?q:Y)),e.wv=nr(),Pt(e,O),_!==null&&(_.f&q)!==0&&(_.f&(F|U))===0&&(P===null?mn([e]):P.push(e))}return t}function Qe(e){$(e,e.v+1)}function Pt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],o=i.f,l=(o&O)===0;l&&A(i,t),(o&C)!==0?Pt(i,Y):l&&((o&le)!==0&&ee!==null&&ee.push(i),ue(i))}}function be(e){if(typeof e!="object"||e===null||Ue in e)return e;const t=ht(e);if(t!==kr&&t!==$r)return e;var r=new Map,n=dt(e),s=I(0),i=ne,o=l=>{if(ne===i)return l();var a=b,f=ne;D(null),rr(i);var u=l();return D(a),rr(f),u};return n&&r.set("length",I(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Ir();var u=r.get(a);return u===void 0?u=o(()=>{var d=I(f.value);return r.set(a,d),d}):$(u,f.value,!0),!0},deleteProperty(l,a){var f=r.get(a);if(f===void 0){if(a in l){const u=o(()=>I(y));r.set(a,u),Qe(s)}}else $(f,y),Qe(s);return!0},get(l,a,f){if(a===Ue)return e;var u=r.get(a),d=a in l;if(u===void 0&&(!d||oe(l,a)?.writable)&&(u=o(()=>{var c=be(d?l[a]:y),v=I(c);return v}),r.set(a,u)),u!==void 0){var h=g(u);return h===y?void 0:h}return Reflect.get(l,a,f)},getOwnPropertyDescriptor(l,a){var f=Reflect.getOwnPropertyDescriptor(l,a);if(f&&"value"in f){var u=r.get(a);u&&(f.value=g(u))}else if(f===void 0){var d=r.get(a),h=d?.v;if(d!==void 0&&h!==y)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(l,a){if(a===Ue)return!0;var f=r.get(a),u=f!==void 0&&f.v!==y||Reflect.has(l,a);if(f!==void 0||_!==null&&(!u||oe(l,a)?.writable)){f===void 0&&(f=o(()=>{var h=u?be(l[a]):y,c=I(h);return c}),r.set(a,f));var d=g(f);if(d===y)return!1}return u},set(l,a,f,u){var d=r.get(a),h=a in l;if(n&&a==="length")for(var c=f;c<d.v;c+=1){var v=r.get(c+"");v!==void 0?$(v,y):c in l&&(v=o(()=>I(y)),r.set(c+"",v))}if(d===void 0)(!h||oe(l,a)?.writable)&&(d=o(()=>I(void 0)),$(d,be(f)),r.set(a,d));else{h=d.v!==y;var p=o(()=>be(f));$(d,p)}var x=Reflect.getOwnPropertyDescriptor(l,a);if(x?.set&&x.set.call(u,f),!h){if(n&&typeof a=="string"){var E=r.get("length"),T=Number(a);Number.isInteger(T)&&T>=E.v&&$(E,T+1)}Qe(s)}return!0},ownKeys(l){g(s);var a=Reflect.ownKeys(l).filter(d=>{var h=r.get(d);return h===void 0||h.v!==y});for(var[f,u]of r)u.v!==y&&!(f in l)&&a.push(f);return a},setPrototypeOf(){Lr()}})}var Mt,It,Lt,Dt;function et(){if(Mt===void 0){Mt=window,It=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Lt=oe(t,"firstChild").get,Dt=oe(t,"nextSibling").get,vt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),vt(r)&&(r.__t=void 0)}}function pe(e=""){return document.createTextNode(e)}function ce(e){return Lt.call(e)}function te(e){return Dt.call(e)}function tt(e,t){if(!w)return ce(e);var r=ce(m);if(r===null)r=m.appendChild(pe());else if(t&&r.nodeType!==mt){var n=pe();return r?.before(n),V(n),n}return V(r),r}function Ft(e,t){if(!w){var r=ce(e);return r instanceof Comment&&r.data===""?te(r):r}return m}function jt(e,t=1,r=!1){let n=w?m:e;for(var s;t--;)s=n,n=te(n);if(!w)return n;if(r&&n?.nodeType!==mt){var i=pe();return n===null?s?.after(i):n.before(i),V(i),i}return V(n),n}function nn(e){e.textContent=""}function sn(){return!1}let Bt=!1;function Ut(){Bt||(Bt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function rt(e){var t=b,r=_;D(null),W(null);try{return e()}finally{D(t),W(r)}}function on(e,t,r,n=r){e.addEventListener(t,()=>rt(r));const s=e.__on_r;s?e.__on_r=()=>{s(),n(!0)}:e.__on_r=()=>n(!0),Ut()}function ln(e){_===null&&b===null&&Or(),b!==null&&(b.f&R)!==0&&_===null&&Rr(),re&&Ar()}function an(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function j(e,t,r,n=!0){var s=_;s!==null&&(s.f&H)!==0&&(e|=H);var i={ctx:M,deps:null,nodes_start:null,nodes_end:null,f:e|O,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{he(i),i.f|=De}catch(a){throw K(i),a}else t!==null&&ue(i);if(n){var o=i;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&ae)===0&&(o=o.first),o!==null&&(o.parent=s,s!==null&&an(o,s),b!==null&&(b.f&C)!==0&&(e&U)===0)){var l=b;(l.effects??=[]).push(o)}}return i}function Yt(e){ln();var t=_.f,r=!b&&(t&F)!==0&&(t&De)===0;if(r){var n=M;(n.e??=[]).push(e)}else return Ht(e)}function Ht(e){return j(Le|Tr,e,!1)}function fn(e){Q.ensure();const t=j(U|ae,e,!0);return()=>{K(t)}}function un(e){Q.ensure();const t=j(U|ae,e,!0);return(r={})=>new Promise(n=>{r.outro?Jt(t,()=>{K(t),n(void 0)}):(K(t),n(void 0))})}function cn(e){return j(Le,e,!1)}function dn(e){return j(Be|ae,e,!0)}function Vt(e,t=0){return j(bt|t,e,!0)}function zt(e,t=[],r=[]){Qr(t,r,n=>{j(bt,()=>e(...n.map(g)),!0)})}function hn(e,t=0){var r=j(le|t,e,!0);return r}function nt(e,t=!0){return j(F|ae,e,!0,t)}function Kt(e){var t=e.teardown;if(t!==null){const r=re,n=b;er(!0),D(null);try{t.call(null)}finally{er(r),D(n)}}}function Wt(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&rt(()=>{s.abort(Ye)});var n=r.next;(r.f&U)!==0?r.parent=null:K(r,t),r=n}}function vn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&F)===0&&K(t),t=r}}function K(e,t=!0){var r=!1;(t||(e.f&xr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(_n(e.nodes_start,e.nodes_end),r=!0),Wt(e,t&&!r),Ce(e,0),A(e,J);var n=e.transitions;if(n!==null)for(const i of n)i.stop();Kt(e);var s=e.parent;s!==null&&s.first!==null&&Gt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function _n(e,t){for(;e!==null;){var r=e===t?null:te(e);e.remove(),e=r}}function Gt(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Jt(e,t){var r=[];Xt(e,r,!0),bn(r,()=>{K(e),t&&t()})}function bn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function Xt(e,t,r){if((e.f&H)===0){if(e.f^=H,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&Fe)!==0||(n.f&F)!==0;Xt(n,t,i?r:!1),n=s}}}function pn(e){Zt(e,!0)}function Zt(e,t){if((e.f&H)!==0){e.f^=H,(e.f&q)===0&&(A(e,O),ue(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&Fe)!==0||(r.f&F)!==0;Zt(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let de=!1;function Qt(e){de=e}let re=!1;function er(e){re=e}let b=null,L=!1;function D(e){b=e}let _=null;function W(e){_=e}let B=null;function gn(e){b!==null&&(B===null?B=[e]:B.push(e))}let S=null,N=0,P=null;function mn(e){P=e}let tr=1,ge=0,ne=ge;function rr(e){ne=e}let G=!1;function nr(){return++tr}function Se(e){var t=e.f;if((t&O)!==0)return!0;if((t&Y)!==0){var r=e.deps,n=(t&R)!==0;if(r!==null){var s,i,o=(t&ye)!==0,l=n&&_!==null&&!G,a=r.length;if((o||l)&&(_===null||(_.f&J)===0)){var f=e,u=f.parent;for(s=0;s<a;s++)i=r[s],(o||!i?.reactions?.includes(f))&&(i.reactions??=[]).push(f);o&&(f.f^=ye),l&&u!==null&&(u.f&R)===0&&(f.f^=R)}for(s=0;s<a;s++)if(i=r[s],Se(i)&&St(i),i.wv>e.wv)return!0}(!n||_!==null&&!G)&&A(e,q)}return!1}function sr(e,t,r=!0){var n=e.reactions;if(n!==null&&!B?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&C)!==0?sr(i,t,!1):t===i&&(r?A(i,O):(i.f&q)!==0&&A(i,Y),ue(i))}}function ir(e){var t=S,r=N,n=P,s=b,i=G,o=B,l=M,a=L,f=ne,u=e.f;S=null,N=0,P=null,G=(u&R)!==0&&(L||!de||b===null),b=(u&(F|U))===0?e:null,B=null,$e(e.ctx),L=!1,ne=++ge,e.ac!==null&&(rt(()=>{e.ac.abort(Ye)}),e.ac=null);try{e.f|=je;var d=e.fn,h=d(),c=e.deps;if(S!==null){var v;if(Ce(e,N),c!==null&&N>0)for(c.length=N+S.length,v=0;v<S.length;v++)c[N+v]=S[v];else e.deps=c=S;if(!G||(u&C)!==0&&e.reactions!==null)for(v=N;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&N<c.length&&(Ce(e,N),c.length=N);if($t()&&P!==null&&!L&&c!==null&&(e.f&(C|Y|O))===0)for(v=0;v<P.length;v++)sr(P[v],e);return s!==null&&s!==e&&(ge++,P!==null&&(n===null?n=P:n.push(...P))),(e.f&X)!==0&&(e.f^=X),h}catch(p){return Vr(p)}finally{e.f^=je,S=t,N=r,P=n,b=s,G=i,B=o,$e(l),L=a,ne=f}}function yn(e,t){let r=t.reactions;if(r!==null){var n=mr.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&C)!==0&&(S===null||!S.includes(t))&&(A(t,Y),(t.f&(R|ye))===0&&(t.f^=ye),qt(t),Ce(t,0))}function Ce(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)yn(e,r[n])}function he(e){var t=e.f;if((t&J)===0){A(e,q);var r=_,n=de;_=e,de=!0;try{(t&le)!==0?vn(e):Wt(e),Kt(e);var s=ir(e);e.teardown=typeof s=="function"?s:null,e.wv=tr;var i;ct&&Yr&&(e.f&O)!==0&&e.deps}finally{de=n,_=r}}}function g(e){var t=e.f,r=(t&C)!==0;if(b!==null&&!L){var n=_!==null&&(_.f&J)!==0;if(!n&&!B?.includes(e)){var s=b.deps;if((b.f&je)!==0)e.rv<ge&&(e.rv=ge,S===null&&s!==null&&s[N]===e?N++:S===null?S=[e]:(!G||!S.includes(e))&&S.push(e));else{(b.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[b]:i.includes(b)||i.push(b)}}}else if(r&&e.deps===null&&e.effects===null){var o=e,l=o.parent;l!==null&&(l.f&R)===0&&(o.f^=R)}if(re){if(z.has(e))return z.get(e);if(r){o=e;var a=o.v;return((o.f&q)===0&&o.reactions!==null||or(o))&&(a=We(o)),z.set(o,a),a}}else r&&(o=e,Se(o)&&St(o));if((e.f&X)!==0)throw e.v;return e.v}function or(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(z.has(t)||(t.f&C)!==0&&or(t))return!0;return!1}function wn(e){var t=L;try{return L=!0,e()}finally{L=t}}const kn=-7169;function A(e,t){e.f=e.f&kn|t}const $n=new Set,lr=new Set;let ar=null;function Ne(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;ar=e;var o=0,l=ar===e&&e.__root;if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;a<=f&&(o=a)}if(i=s[o]||e.target,i!==t){ie(e,"currentTarget",{configurable:!0,get(){return i||r}});var u=b,d=_;D(null),W(null);try{for(var h,c=[];i!==null;){var v=i.assignedSlot||i.parentNode||i.host||null;try{var p=i["__"+n];if(p!=null&&(!i.disabled||e.target===i))if(dt(p)){var[x,...E]=p;x.apply(i,[e,...E])}else p.call(i,e)}catch(T){h?c.push(T):h=T}if(e.cancelBubble||v===t||v===null)break;i=v}if(h){for(let T of c)queueMicrotask(()=>{throw T});throw h}}finally{e.__root=t,delete e.currentTarget,D(u),W(d)}}}function En(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ae(e,t){var r=_;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function st(e,t){var r=(t&br)!==0,n=(t&pr)!==0,s,i=!e.startsWith("<!>");return()=>{if(w)return Ae(m,null),m;s===void 0&&(s=En(i?e:"<!>"+e),r||(s=ce(s)));var o=n||It?document.importNode(s,!0):s.cloneNode(!0);if(r){var l=ce(o),a=o.lastChild;Ae(l,a)}else Ae(o,o);return o}}function Re(e,t){if(w){_.nodes_end=m,He();return}e!==null&&e.before(t)}const xn=["touchstart","touchmove"];function Tn(e){return xn.includes(e)}function fr(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function ur(e,t){return cr(e,t)}function qn(e,t){et(),t.intro=t.intro??!1;const r=t.target,n=w,s=m;try{for(var i=ce(r);i&&(i.nodeType!==we||i.data!==at);)i=te(i);if(!i)throw se;fe(!0),V(i),He();const o=cr(e,{...t,anchor:i});if(m===null||m.nodeType!==we||m.data!==ut)throw ke(),se;return fe(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==se&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Mr(),et(),nn(r),fe(!1),ur(e,t)}finally{fe(n),V(s)}}const ve=new Map;function cr(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){et();var l=new Set,a=d=>{for(var h=0;h<d.length;h++){var c=d[h];if(!l.has(c)){l.add(c);var v=Tn(c);t.addEventListener(c,Ne,{passive:v});var p=ve.get(c);p===void 0?(document.addEventListener(c,Ne,{passive:v}),ve.set(c,1)):ve.set(c,p+1)}}};a(yr($n)),lr.add(a);var f=void 0,u=un(()=>{var d=r??t.appendChild(pe());return nt(()=>{if(i){wt({});var h=M;h.c=i}s&&(n.$$events=s),w&&Ae(d,null),f=e(d,n)||{},w&&(_.nodes_end=m),i&&kt()}),()=>{for(var h of l){t.removeEventListener(h,Ne);var c=ve.get(h);--c===0?(document.removeEventListener(h,Ne),ve.delete(h)):ve.set(h,c)}lr.delete(a),d!==r&&d.parentNode?.removeChild(d)}});return it.set(f,u),f}let it=new WeakMap;function Sn(e,t){const r=it.get(e);return r?(it.delete(e),r(t)):Promise.resolve()}function dr(e,t,r=!1){w&&He();var n=e,s=null,i=null,o=y,l=r?Fe:0,a=!1;const f=(c,v=!0)=>{a=!0,h(v,c)};var u=null;function d(){u!==null&&(u.lastChild.remove(),n.before(u),u=null);var c=o?s:i,v=o?i:s;c&&pn(c),v&&Jt(v,()=>{o?i=null:s=null})}const h=(c,v)=>{if(o===(o=c))return;let p=!1;if(w){const Hn=jr(n)===ft;!!o===Hn&&(n=Fr(),V(n),fe(!1),p=!0)}var x=sn(),E=n;if(x&&(u=document.createDocumentFragment(),u.append(E=pe())),o?s??=v&&nt(()=>v(E)):i??=v&&nt(()=>v(E)),x){var T=k,Me=o?s:i,Ie=o?i:s;Me&&T.skipped_effects.delete(Me),Ie&&T.skipped_effects.add(Ie),T.add_callback(d)}else d();p&&fe(!0)};hn(()=>{a=!1,t(f),a||h(null,null)},l),w&&(n=m)}function Cn(e,t){cn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}const Nn=Symbol("is custom element"),An=Symbol("is html");function Rn(e){if(w){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;Oe(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;Oe(e,"checked",null),e.checked=s}}};e.__on_r=r,Wr(r),Ut()}}function Oe(e,t,r,n){var s=On(e);w&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[Sr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Pn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function On(e){return e.__attributes??={[Nn]:e.nodeName.includes("-"),[An]:e.namespaceURI===gr}}var hr=new Map;function Pn(e){var t=e.getAttribute("is")||e.nodeName,r=hr.get(t);if(r)return r;hr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=wr(s);for(var o in n)n[o].set&&r.push(o);s=ht(s)}return r}function Mn(e,t,r=t){on(e,"change",n=>{var s=n?e.defaultChecked:e.checked;r(s)}),(w&&e.defaultChecked!==e.checked||wn(t)==null)&&r(e.checked),Vt(()=>{var n=t();e.checked=!!n})}function ot(e,t,r,n){var s=n,i=!0,o=()=>(i&&(i=!1,s=n),s),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var a;a=()=>{var h=e[t];return h===void 0?o():(i=!0,h)};var f=!1,u=Tt(()=>(f=!1,a())),d=_;return(function(h,c){if(arguments.length>0){const v=c?g(u):h;return $(u,v),f=!0,s!==void 0&&(s=v),h}return re&&f||(d.f&J)!==0?u.v:g(u)})}function In(e){return new Ln(e)}class Ln{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var l=rn(o,!1,!1);return r.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return g(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===qr?!0:(g(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,l){return $(r.get(o)??n(o,l),l),Reflect.set(i,o,l)}});this.#e=(t.hydrate?qn:ur)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&qe(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||ie(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Sn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let vr;typeof HTMLElement=="function"&&(vr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),Re(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Dn(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Pe(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=In({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=fn(()=>{Vt(()=>{this.$$r=!0;for(const n of me(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=Pe(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Pe(e,r,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 me(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Pe(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Dn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Fn(e,t,r,n,s,i){let o=class extends vr{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return me(t).map(l=>(t[l].attribute||l).toLowerCase())}};return me(t).forEach(l=>{ie(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=Pe(l,a,t),this.$$d[l]=a;var f=this.$$c;if(f){var u=oe(f,l)?.get;u?f[l]=a:f.$set({[l]:a})}}})}),n.forEach(l=>{ie(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var jn=st('<input type="checkbox" class="form-check-input svelte-1k0qyrn"/> <label class="form-check-label svelte-1k0qyrn"> </label>',1),Bn=st('<div part="invalid-feedback" class="invalid-feedback mb-1 svelte-1k0qyrn"> </div>'),Un=st('<div class="form-check svelte-1k0qyrn"><!></div> <!>',1);const Yn={hash:"svelte-1k0qyrn",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(vt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const $r=1,Er=2,bt="[",_t="[!",gt="]",ie={},w=Symbol(),xr="http://www.w3.org/1999/xhtml",mt=!1;var pt=Array.isArray,qr=Array.prototype.indexOf,Tr=Array.from,qe=Object.keys,oe=Object.defineProperty,le=Object.getOwnPropertyDescriptor,Sr=Object.getOwnPropertyDescriptors,Nr=Object.prototype,Cr=Array.prototype,yt=Object.getPrototypeOf,wt=Object.isExtensible;function kt(e){for(var t=0;t<e.length;t++)e[t]()}function Ar(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const T=2,Be=4,$t=8,ae=16,j=32,Y=64,Et=128,R=256,Te=512,E=1024,P=2048,H=4096,V=8192,X=16384,Ue=32768,Ye=65536,xt=1<<17,Or=1<<18,fe=1<<19,Rr=1<<20,He=1<<21,Ve=1<<22,Z=1<<23,ze=Symbol("$state"),Pr=Symbol("legacy props"),Mr=Symbol(""),Ke=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},qt=3,Se=8;function Ir(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Lr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Dr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function jr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Fr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Br(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ur(){throw new Error("https://svelte.dev/e/hydration_failed")}function Yr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Hr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Vr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ne(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let p=!1;function ue(e){p=e}let y;function z(e){if(e===null)throw Ne(),ie;return y=e}function We(){return z(re(y))}function Ge(e){if(p){if(re(y)!==null)throw Ne(),ie;y=e}}function zr(){for(var e=0,t=y;;){if(t.nodeType===Se){var r=t.data;if(r===gt){if(e===0)return t;e-=1}else(r===bt||r===_t)&&(e+=1)}var n=re(t);t.remove(),t=n}}function Kr(e){if(!e||e.nodeType!==Se)throw Ne(),ie;return e.data}function Tt(e){return e===this.v}function Wr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Gr(e){return!Wr(e,this.v)}let Jr=!1,I=null;function Ce(e){I=e}function St(e,t=!1,r){I={p:I,c:null,e:null,s:e,x:null,l:null}}function Nt(e){var t=I,r=t.e;if(r!==null){t.e=null;for(var n of r)Jt(n)}return e!==void 0&&(t.x=e),I=t.p,e??{}}function Ct(){return!0}const Xr=new WeakMap;function Zr(e){var t=b;if(t===null)return _.f|=Z,e;if((t.f&Ue)===0){if((t.f&Et)===0)throw!t.parent&&e instanceof Error&&At(e),e;t.b.error(e)}else Je(e,t)}function Je(e,t){for(;t!==null;){if((t.f&Et)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&At(e),e}function At(e){const t=Xr.get(e);t&&(oe(e,"message",{value:t.message}),oe(e,"stack",{value:t.stack}))}const Qr=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let Xe=[],pe=[];function en(){var e=Xe;Xe=[],kt(e)}function Ot(){var e=pe;pe=[],kt(e)}function tn(e){pe.length===0&&Qr(Ot),pe.push(e)}function rn(){Xe.length>0&&en(),pe.length>0&&Ot()}function nn(){const e=b.b;return e===null&&Ir(),e}function Ze(e){var t=T|P,r=_!==null&&(_.f&T)!==0?_:null;return b===null||r!==null&&(r.f&R)!==0?t|=R:b.f|=fe,{ctx:I,deps:null,effects:null,equals:Tt,f:t,fn:e,reactions:null,rv:0,v:w,wv:0,parent:r??b,ac:null}}function sn(e,t){let r=b;r===null&&Lr();var n=r.b,s=void 0,i=rt(w),o=null,l=!_;return yn(()=>{try{var a=e();o&&Promise.resolve(a).catch(()=>{})}catch(c){a=Promise.reject(c)}var f=()=>a;s=o?.then(f,f)??Promise.resolve(a),o=s;var u=k,d=n.is_pending();l&&(n.update_pending_count(1),d||u.increment());const h=(c,v=void 0)=>{o=null,d||u.activate(),v?v!==Ke&&(i.f|=Z,nt(i,v)):((i.f&Z)!==0&&(i.f^=Z),nt(i,c)),l&&(n.update_pending_count(-1),d||u.decrement()),Mt()};if(s.then(h,c=>h(null,c||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(a=>{function f(u){function d(){u===s?a(i):f(s)}u.then(d,d)}f(s)})}function on(e){const t=Ze(e);return or(t),t}function Rt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)W(t[r])}}function ln(e){for(var t=e.parent;t!==null;){if((t.f&T)===0)return t;t=t.parent}return null}function Qe(e){var t,r=b;G(ln(e));try{Rt(e),t=cr(e)}finally{G(r)}return t}function Pt(e){var t=Qe(e);if(e.equals(t)||(e.v=t,e.wv=fr()),!ne){var r=(J||(e.f&R)!==0)&&e.deps!==null?H:E;C(e,r)}}function an(e,t,r){const n=Ze;if(t.length===0){r(e.map(n));return}var s=k,i=b,o=fn(),l=nn();Promise.all(t.map(a=>sn(a))).then(a=>{s?.activate(),o();try{r([...e.map(n),...a])}catch(f){(i.f&X)===0&&Je(f,i)}s?.deactivate(),Mt()}).catch(a=>{l.error(a)})}function fn(){var e=b,t=_,r=I,n=k;return function(){G(e),D(t),Ce(r),n?.activate()}}function Mt(){G(null),D(null),Ce(null)}const et=new Set;let k=null,It=new Set,Ae=[];function Lt(){const e=Ae.shift();Ae.length>0&&queueMicrotask(Lt),e()}let Q=[],Oe=null,tt=!1,Re=!1;class ee{current=new Map;#t=new Map;#e=new Set;#r=0;#f=null;#u=!1;#s=[];#o=[];#i=[];#n=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){Q=[];for(const s of t)this.#v(s);if(this.#s.length===0&&this.#r===0){this.#h();var r=this.#i,n=this.#n;this.#i=[],this.#n=[],this.#l=[],k=null,jt(r),jt(n),k===null?k=this:et.delete(this),this.#f?.resolve()}else this.#a(this.#i),this.#a(this.#n),this.#a(this.#l);for(const s of this.#s)ve(s);for(const s of this.#o)ve(s);this.#s=[],this.#o=[]}#v(t){t.f^=E;for(var r=t.first;r!==null;){var n=r.f,s=(n&(j|Y))!==0,i=s&&(n&E)!==0,o=i||(n&V)!==0||this.skipped_effects.has(r);if(!o&&r.fn!==null){if(s)r.f^=E;else if((n&Be)!==0)this.#n.push(r);else if((n&E)===0)if((n&Ve)!==0){var l=r.b?.is_pending()?this.#o:this.#s;l.push(r)}else Me(r)&&((r.f&ae)!==0&&this.#l.push(r),ve(r));var a=r.first;if(a!==null){r=a;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#a(t){for(const r of t)((r.f&P)!==0?this.#c:this.#d).push(r),C(r,E);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){k=this}deactivate(){k=null;for(const t of It)if(It.delete(t),t(),k!==null)break}neuter(){this.#u=!0}flush(){Q.length>0?Dt():this.#h(),k===this&&(this.#r===0&&et.delete(this),this.deactivate())}#h(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)C(t,P),ce(t);for(const t of this.#d)C(t,H),ce(t);this.#i=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Ar()).promise}static ensure(){if(k===null){const t=k=new ee;et.add(k),Re||ee.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){Ae.length===0&&queueMicrotask(Lt),Ae.unshift(t)}}function Pe(e){var t=Re;Re=!0;try{for(var r;;){if(rn(),Q.length===0&&(k?.flush(),Q.length===0))return Oe=null,r;Dt()}}finally{Re=t}}function Dt(){var e=he;tt=!0;try{var t=0;for(sr(!0);Q.length>0;){var r=ee.ensure();if(t++>1e3){var n,s;un()}r.process(Q),K.clear()}}finally{tt=!1,sr(e),Oe=null}}function un(){try{Br()}catch(e){Je(e,Oe)}}let te=null;function jt(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(X|V))===0&&Me(n)&&(te=[],ve(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?er(n):n.fn=null),te?.length>0)){K.clear();for(const s of te)ve(s);te=[]}}te=null}}function ce(e){for(var t=Oe=e;t.parent!==null;){t=t.parent;var r=t.f;if(tt&&t===b&&(r&ae)!==0)return;if((r&(Y|j))!==0){if((r&E)===0)return;t.f^=E}}Q.push(t)}const K=new Map;function rt(e,t){var r={f:0,v:e,reactions:null,equals:Tt,rv:0,wv:0};return r}function F(e,t){const r=rt(e);return or(r),r}function cn(e,t=!1,r=!0){const n=rt(e);return t||(n.equals=Gr),n}function S(e,t,r=!1){_!==null&&(!L||(_.f&xt)!==0)&&Ct()&&(_.f&(T|ae|Ve|xt))!==0&&!U?.includes(e)&&Vr();let n=r?ye(t):t;return nt(e,n)}function nt(e,t){if(!e.equals(t)){var r=e.v;ne?K.set(e,t):K.set(e,r),e.v=t;var n=ee.ensure();n.capture(e,r),(e.f&T)!==0&&((e.f&P)!==0&&Qe(e),C(e,(e.f&R)===0?E:H)),e.wv=fr(),Ft(e,P),b!==null&&(b.f&E)!==0&&(b.f&(j|Y))===0&&(M===null?qn([e]):M.push(e))}return t}function st(e){S(e,e.v+1)}function Ft(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],o=i.f,l=(o&P)===0;l&&C(i,t),(o&T)!==0?Ft(i,H):l&&((o&ae)!==0&&te!==null&&te.push(i),ce(i))}}function ye(e){if(typeof e!="object"||e===null||ze in e)return e;const t=yt(e);if(t!==Nr&&t!==Cr)return e;var r=new Map,n=pt(e),s=F(0),i=se,o=l=>{if(se===i)return l();var a=_,f=se;D(null),ar(i);var u=l();return D(a),ar(f),u};return n&&r.set("length",F(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Yr();var u=r.get(a);return u===void 0?u=o(()=>{var d=F(f.value);return r.set(a,d),d}):S(u,f.value,!0),!0},deleteProperty(l,a){var f=r.get(a);if(f===void 0){if(a in l){const u=o(()=>F(w));r.set(a,u),st(s)}}else S(f,w),st(s);return!0},get(l,a,f){if(a===ze)return e;var u=r.get(a),d=a in l;if(u===void 0&&(!d||le(l,a)?.writable)&&(u=o(()=>{var c=ye(d?l[a]:w),v=F(c);return v}),r.set(a,u)),u!==void 0){var h=m(u);return h===w?void 0:h}return Reflect.get(l,a,f)},getOwnPropertyDescriptor(l,a){var f=Reflect.getOwnPropertyDescriptor(l,a);if(f&&"value"in f){var u=r.get(a);u&&(f.value=m(u))}else if(f===void 0){var d=r.get(a),h=d?.v;if(d!==void 0&&h!==w)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(l,a){if(a===ze)return!0;var f=r.get(a),u=f!==void 0&&f.v!==w||Reflect.has(l,a);if(f!==void 0||b!==null&&(!u||le(l,a)?.writable)){f===void 0&&(f=o(()=>{var h=u?ye(l[a]):w,c=F(h);return c}),r.set(a,f));var d=m(f);if(d===w)return!1}return u},set(l,a,f,u){var d=r.get(a),h=a in l;if(n&&a==="length")for(var c=f;c<d.v;c+=1){var v=r.get(c+"");v!==void 0?S(v,w):c in l&&(v=o(()=>F(w)),r.set(c+"",v))}if(d===void 0)(!h||le(l,a)?.writable)&&(d=o(()=>F(void 0)),S(d,ye(f)),r.set(a,d));else{h=d.v!==w;var g=o(()=>ye(f));S(d,g)}var $=Reflect.getOwnPropertyDescriptor(l,a);if($?.set&&$.set.call(u,f),!h){if(n&&typeof a=="string"){var A=r.get("length"),q=Number(a);Number.isInteger(q)&&q>=A.v&&S(A,q+1)}st(s)}return!0},ownKeys(l){m(s);var a=Reflect.ownKeys(l).filter(d=>{var h=r.get(d);return h===void 0||h.v!==w});for(var[f,u]of r)u.v!==w&&!(f in l)&&a.push(f);return a},setPrototypeOf(){Hr()}})}var Bt,Ut,Yt,Ht;function it(){if(Bt===void 0){Bt=window,Ut=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Yt=le(t,"firstChild").get,Ht=le(t,"nextSibling").get,wt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),wt(r)&&(r.__t=void 0)}}function we(e=""){return document.createTextNode(e)}function de(e){return Yt.call(e)}function re(e){return Ht.call(e)}function ot(e,t){if(!p)return de(e);var r=de(y);if(r===null)r=y.appendChild(we());else if(t&&r.nodeType!==qt){var n=we();return r?.before(n),z(n),n}return z(r),r}function Vt(e,t){if(!p){var r=de(e);return r instanceof Comment&&r.data===""?re(r):r}return y}function zt(e,t=1,r=!1){let n=p?y:e;for(var s;t--;)s=n,n=re(n);if(!p)return n;if(r&&n?.nodeType!==qt){var i=we();return n===null?s?.after(i):n.before(i),z(i),i}return z(n),n}function dn(e){e.textContent=""}function hn(){return!1}let Kt=!1;function Wt(){Kt||(Kt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function lt(e){var t=_,r=b;D(null),G(null);try{return e()}finally{D(t),G(r)}}function vn(e,t,r,n=r){e.addEventListener(t,()=>lt(r));const s=e.__on_r;s?e.__on_r=()=>{s(),n(!0)}:e.__on_r=()=>n(!0),Wt()}function bn(e){b===null&&_===null&&Fr(),_!==null&&(_.f&R)!==0&&b===null&&jr(),ne&&Dr()}function _n(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function B(e,t,r,n=!0){var s=b;s!==null&&(s.f&V)!==0&&(e|=V);var i={ctx:I,deps:null,nodes_start:null,nodes_end:null,f:e|P,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{ve(i),i.f|=Ue}catch(a){throw W(i),a}else t!==null&&ce(i);if(n){var o=i;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&fe)===0&&(o=o.first),o!==null&&(o.parent=s,s!==null&&_n(o,s),_!==null&&(_.f&T)!==0&&(e&Y)===0)){var l=_;(l.effects??=[]).push(o)}}return i}function Gt(e){bn();var t=b.f,r=!_&&(t&j)!==0&&(t&Ue)===0;if(r){var n=I;(n.e??=[]).push(e)}else return Jt(e)}function Jt(e){return B(Be|Rr,e,!1)}function gn(e){ee.ensure();const t=B(Y|fe,e,!0);return()=>{W(t)}}function mn(e){ee.ensure();const t=B(Y|fe,e,!0);return(r={})=>new Promise(n=>{r.outro?tr(t,()=>{W(t),n(void 0)}):(W(t),n(void 0))})}function pn(e){return B(Be,e,!1)}function yn(e){return B(Ve|fe,e,!0)}function Xt(e,t=0){return B($t|t,e,!0)}function ke(e,t=[],r=[]){an(t,r,n=>{B($t,()=>e(...n.map(m)),!0)})}function wn(e,t=0){var r=B(ae|t,e,!0);return r}function at(e,t=!0){return B(j|fe,e,!0,t)}function Zt(e){var t=e.teardown;if(t!==null){const r=ne,n=_;ir(!0),D(null);try{t.call(null)}finally{ir(r),D(n)}}}function Qt(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&lt(()=>{s.abort(Ke)});var n=r.next;(r.f&Y)!==0?r.parent=null:W(r,t),r=n}}function kn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&j)===0&&W(t),t=r}}function W(e,t=!0){var r=!1;(t||(e.f&Or)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&($n(e.nodes_start,e.nodes_end),r=!0),Qt(e,t&&!r),Ie(e,0),C(e,X);var n=e.transitions;if(n!==null)for(const i of n)i.stop();Zt(e);var s=e.parent;s!==null&&s.first!==null&&er(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function $n(e,t){for(;e!==null;){var r=e===t?null:re(e);e.remove(),e=r}}function er(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function tr(e,t){var r=[];rr(e,r,!0),En(r,()=>{W(e),t&&t()})}function En(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function rr(e,t,r){if((e.f&V)===0){if(e.f^=V,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&Ye)!==0||(n.f&j)!==0;rr(n,t,i?r:!1),n=s}}}function xn(e){nr(e,!0)}function nr(e,t){if((e.f&V)!==0){e.f^=V,(e.f&E)===0&&(C(e,P),ce(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&Ye)!==0||(r.f&j)!==0;nr(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let he=!1;function sr(e){he=e}let ne=!1;function ir(e){ne=e}let _=null,L=!1;function D(e){_=e}let b=null;function G(e){b=e}let U=null;function or(e){_!==null&&(U===null?U=[e]:U.push(e))}let x=null,N=0,M=null;function qn(e){M=e}let lr=1,$e=0,se=$e;function ar(e){se=e}let J=!1;function fr(){return++lr}function Me(e){var t=e.f;if((t&P)!==0)return!0;if((t&H)!==0){var r=e.deps,n=(t&R)!==0;if(r!==null){var s,i,o=(t&Te)!==0,l=n&&b!==null&&!J,a=r.length;if((o||l)&&(b===null||(b.f&X)===0)){var f=e,u=f.parent;for(s=0;s<a;s++)i=r[s],(o||!i?.reactions?.includes(f))&&(i.reactions??=[]).push(f);o&&(f.f^=Te),l&&u!==null&&(u.f&R)===0&&(f.f^=R)}for(s=0;s<a;s++)if(i=r[s],Me(i)&&Pt(i),i.wv>e.wv)return!0}(!n||b!==null&&!J)&&C(e,E)}return!1}function ur(e,t,r=!0){var n=e.reactions;if(n!==null&&!U?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&T)!==0?ur(i,t,!1):t===i&&(r?C(i,P):(i.f&E)!==0&&C(i,H),ce(i))}}function cr(e){var t=x,r=N,n=M,s=_,i=J,o=U,l=I,a=L,f=se,u=e.f;x=null,N=0,M=null,J=(u&R)!==0&&(L||!he||_===null),_=(u&(j|Y))===0?e:null,U=null,Ce(e.ctx),L=!1,se=++$e,e.ac!==null&&(lt(()=>{e.ac.abort(Ke)}),e.ac=null);try{e.f|=He;var d=e.fn,h=d(),c=e.deps;if(x!==null){var v;if(Ie(e,N),c!==null&&N>0)for(c.length=N+x.length,v=0;v<x.length;v++)c[N+v]=x[v];else e.deps=c=x;if(!J||(u&T)!==0&&e.reactions!==null)for(v=N;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&N<c.length&&(Ie(e,N),c.length=N);if(Ct()&&M!==null&&!L&&c!==null&&(e.f&(T|H|P))===0)for(v=0;v<M.length;v++)ur(M[v],e);return s!==null&&s!==e&&($e++,M!==null&&(n===null?n=M:n.push(...M))),(e.f&Z)!==0&&(e.f^=Z),h}catch(g){return Zr(g)}finally{e.f^=He,x=t,N=r,M=n,_=s,J=i,U=o,Ce(l),L=a,se=f}}function Tn(e,t){let r=t.reactions;if(r!==null){var n=qr.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&T)!==0&&(x===null||!x.includes(t))&&(C(t,H),(t.f&(R|Te))===0&&(t.f^=Te),Rt(t),Ie(t,0))}function Ie(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Tn(e,r[n])}function ve(e){var t=e.f;if((t&X)===0){C(e,E);var r=b,n=he;b=e,he=!0;try{(t&ae)!==0?kn(e):Qt(e),Zt(e);var s=cr(e);e.teardown=typeof s=="function"?s:null,e.wv=lr;var i;mt&&Jr&&(e.f&P)!==0&&e.deps}finally{he=n,b=r}}}function m(e){var t=e.f,r=(t&T)!==0;if(_!==null&&!L){var n=b!==null&&(b.f&X)!==0;if(!n&&!U?.includes(e)){var s=_.deps;if((_.f&He)!==0)e.rv<$e&&(e.rv=$e,x===null&&s!==null&&s[N]===e?N++:x===null?x=[e]:(!J||!x.includes(e))&&x.push(e));else{(_.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[_]:i.includes(_)||i.push(_)}}}else if(r&&e.deps===null&&e.effects===null){var o=e,l=o.parent;l!==null&&(l.f&R)===0&&(o.f^=R)}if(ne){if(K.has(e))return K.get(e);if(r){o=e;var a=o.v;return((o.f&E)===0&&o.reactions!==null||dr(o))&&(a=Qe(o)),K.set(o,a),a}}else r&&(o=e,Me(o)&&Pt(o));if((e.f&Z)!==0)throw e.v;return e.v}function dr(e){if(e.v===w)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(K.has(t)||(t.f&T)!==0&&dr(t))return!0;return!1}function Sn(e){var t=L;try{return L=!0,e()}finally{L=t}}const Nn=-7169;function C(e,t){e.f=e.f&Nn|t}const Cn=new Set,hr=new Set;let vr=null;function Le(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;vr=e;var o=0,l=vr===e&&e.__root;if(l){var a=s.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;a<=f&&(o=a)}if(i=s[o]||e.target,i!==t){oe(e,"currentTarget",{configurable:!0,get(){return i||r}});var u=_,d=b;D(null),G(null);try{for(var h,c=[];i!==null;){var v=i.assignedSlot||i.parentNode||i.host||null;try{var g=i["__"+n];if(g!=null&&(!i.disabled||e.target===i))if(pt(g)){var[$,...A]=g;$.apply(i,[e,...A])}else g.call(i,e)}catch(q){h?c.push(q):h=q}if(e.cancelBubble||v===t||v===null)break;i=v}if(h){for(let q of c)queueMicrotask(()=>{throw q});throw h}}finally{e.__root=t,delete e.currentTarget,D(u),G(d)}}}function An(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function De(e,t){var r=b;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Ee(e,t){var r=(t&$r)!==0,n=(t&Er)!==0,s,i=!e.startsWith("<!>");return()=>{if(p)return De(y,null),y;s===void 0&&(s=An(i?e:"<!>"+e),r||(s=de(s)));var o=n||Ut?document.importNode(s,!0):s.cloneNode(!0);if(r){var l=de(o),a=o.lastChild;De(l,a)}else De(o,o);return o}}function be(e,t){if(p){b.nodes_end=y,We();return}e!==null&&e.before(t)}const On=["touchstart","touchmove"];function Rn(e){return On.includes(e)}function br(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function _r(e,t){return gr(e,t)}function Pn(e,t){it(),t.intro=t.intro??!1;const r=t.target,n=p,s=y;try{for(var i=de(r);i&&(i.nodeType!==Se||i.data!==bt);)i=re(i);if(!i)throw ie;ue(!0),z(i),We();const o=gr(e,{...t,anchor:i});if(y===null||y.nodeType!==Se||y.data!==gt)throw Ne(),ie;return ue(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==ie&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Ur(),it(),dn(r),ue(!1),_r(e,t)}finally{ue(n),z(s)}}const _e=new Map;function gr(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){it();var l=new Set,a=d=>{for(var h=0;h<d.length;h++){var c=d[h];if(!l.has(c)){l.add(c);var v=Rn(c);t.addEventListener(c,Le,{passive:v});var g=_e.get(c);g===void 0?(document.addEventListener(c,Le,{passive:v}),_e.set(c,1)):_e.set(c,g+1)}}};a(Tr(Cn)),hr.add(a);var f=void 0,u=mn(()=>{var d=r??t.appendChild(we());return at(()=>{if(i){St({});var h=I;h.c=i}s&&(n.$$events=s),p&&De(d,null),f=e(d,n)||{},p&&(b.nodes_end=y),i&&Nt()}),()=>{for(var h of l){t.removeEventListener(h,Le);var c=_e.get(h);--c===0?(document.removeEventListener(h,Le),_e.delete(h)):_e.set(h,c)}hr.delete(a),d!==r&&d.parentNode?.removeChild(d)}});return ft.set(f,u),f}let ft=new WeakMap;function Mn(e,t){const r=ft.get(e);return r?(ft.delete(e),r(t)):Promise.resolve()}function ut(e,t,r=!1){p&&We();var n=e,s=null,i=null,o=w,l=r?Ye:0,a=!1;const f=(c,v=!0)=>{a=!0,h(v,c)};var u=null;function d(){u!==null&&(u.lastChild.remove(),n.before(u),u=null);var c=o?s:i,v=o?i:s;c&&xn(c),v&&tr(v,()=>{o?i=null:s=null})}const h=(c,v)=>{if(o===(o=c))return;let g=!1;if(p){const dt=Kr(n)===_t;!!o===dt&&(n=zr(),z(n),ue(!1),g=!0)}var $=hn(),A=n;if($&&(u=document.createDocumentFragment(),u.append(A=we())),o?s??=v&&at(()=>v(A)):i??=v&&at(()=>v(A)),$){var q=k,Fe=o?s:i,ge=o?i:s;Fe&&q.skipped_effects.delete(Fe),ge&&q.skipped_effects.add(ge),q.add_callback(d)}else d();g&&ue(!0)};wn(()=>{a=!1,t(f),a||h(null,null)},l),p&&(n=y)}function In(e,t){pn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function Ln(e,t,r){var n=e==null?"":""+e;return n=n?n+" "+t:t,n===""?null:n}function Dn(e,t,r,n,s,i){var o=e.__className;if(p||o!==r||o===void 0){var l=Ln(r,n);(!p||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return i}const jn=Symbol("is custom element"),Fn=Symbol("is html");function mr(e){if(p){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;xe(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;xe(e,"checked",null),e.checked=s}}};e.__on_r=r,tn(r),Wt()}}function xe(e,t,r,n){var s=Bn(e);p&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[Mr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Un(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Bn(e){return e.__attributes??={[jn]:e.nodeName.includes("-"),[Fn]:e.namespaceURI===xr}}var pr=new Map;function Un(e){var t=e.getAttribute("is")||e.nodeName,r=pr.get(t);if(r)return r;pr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=Sr(s);for(var o in n)n[o].set&&r.push(o);s=yt(s)}return r}function yr(e,t,r=t){vn(e,"change",n=>{var s=n?e.defaultChecked:e.checked;r(s)}),(p&&e.defaultChecked!==e.checked||Sn(t)==null)&&r(e.checked),Xt(()=>{var n=t();e.checked=!!n})}function ct(e,t,r,n){var s=n,i=!0,o=()=>(i&&(i=!1,s=n),s),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var a;a=()=>{var h=e[t];return h===void 0?o():(i=!0,h)};var f=!1,u=Ze(()=>(f=!1,a())),d=b;return(function(h,c){if(arguments.length>0){const v=c?m(u):h;return S(u,v),f=!0,s!==void 0&&(s=v),h}return ne&&f||(d.f&X)!==0?u.v:m(u)})}function Yn(e){return new Hn(e)}class Hn{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var l=cn(o,!1,!1);return r.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return m(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Pr?!0:(m(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,l){return S(r.get(o)??n(o,l),l),Reflect.set(i,o,l)}});this.#e=(t.hydrate?Pn:_r)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Pe(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||oe(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Mn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let wr;typeof HTMLElement=="function"&&(wr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),be(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Vn(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=je(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=Yn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=gn(()=>{Xt(()=>{this.$$r=!0;for(const n of qe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=je(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=je(e,r,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 qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function je(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Vn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function zn(e,t,r,n,s,i){let o=class extends wr{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return qe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return qe(t).forEach(l=>{oe(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=je(l,a,t),this.$$d[l]=a;var f=this.$$c;if(f){var u=le(f,l)?.get;u?f[l]=a:f.$set({[l]:a})}}})}),n.forEach(l=>{oe(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}var Kn=Ee('<input type="checkbox" class="form-check-input svelte-1k0qyrn" switch=""/>'),Wn=Ee('<input type="checkbox" class="form-check-input svelte-1k0qyrn"/>'),Gn=Ee('<!> <label class="form-check-label svelte-1k0qyrn"> </label>',1),Jn=Ee('<div part="invalid-feedback" class="invalid-feedback mb-1 svelte-1k0qyrn"> </div>'),Xn=Ee("<div><!></div> <!>",1);const Zn={hash:"svelte-1k0qyrn",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
@@ -39,9 +39,9 @@
39
39
  @media (prefers-reduced-motion: reduce) {
40
40
  }
41
41
  @media (prefers-reduced-motion: reduce) {
42
- }.form-check.svelte-1k0qyrn {display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:0.125rem;}.form-check.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn) {float:left;margin-left:-1.5em;}.form-check-input.svelte-1k0qyrn {--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:0.25em;vertical-align:top;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);print-color-adjust:exact;}.form-check-input[type=checkbox].svelte-1k0qyrn {border-radius:0.25em;}.form-check-input.svelte-1k0qyrn:active {filter:brightness(90%);}.form-check-input.svelte-1k0qyrn:focus {border-color:rgb(134, 182.5, 254);outline:0;box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);}.form-check-input.svelte-1k0qyrn:checked {background-color:#0d6efd;border-color:#0d6efd;}.form-check-input:checked[type=checkbox].svelte-1k0qyrn {--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");}.form-check-input[type=checkbox].svelte-1k0qyrn:indeterminate {background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");}.form-check-input.svelte-1k0qyrn:disabled {pointer-events:none;filter:none;opacity:0.5;} .form-check-input.svelte-1k0qyrn:disabled ~ .form-check-label:where(.svelte-1k0qyrn) {cursor:default;opacity:0.5;}
43
- @media (prefers-reduced-motion: reduce) {
44
- }
42
+ }.form-check.svelte-1k0qyrn {display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:0.125rem;}.form-check.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn) {float:left;margin-left:-1.5em;}.form-check-input.svelte-1k0qyrn {--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:0.25em;vertical-align:top;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);print-color-adjust:exact;}.form-check-input[type=checkbox].svelte-1k0qyrn {border-radius:0.25em;}.form-check-input.svelte-1k0qyrn:active {filter:brightness(90%);}.form-check-input.svelte-1k0qyrn:focus {border-color:rgb(134, 182.5, 254);outline:0;box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);}.form-check-input.svelte-1k0qyrn:checked {background-color:#0d6efd;border-color:#0d6efd;}.form-check-input:checked[type=checkbox].svelte-1k0qyrn {--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");}.form-check-input[type=checkbox].svelte-1k0qyrn:indeterminate {background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");}.form-check-input.svelte-1k0qyrn:disabled {pointer-events:none;filter:none;opacity:0.5;} .form-check-input.svelte-1k0qyrn:disabled ~ .form-check-label:where(.svelte-1k0qyrn) {cursor:default;opacity:0.5;}.form-switch.svelte-1k0qyrn {padding-left:2.5em;}.form-switch.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn) {--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position 0.15s ease-in-out;}
43
+ @media (prefers-reduced-motion: reduce) {.form-switch.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn) {transition:none;}
44
+ }.form-switch.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn):focus {--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb%28134, 182.5, 254%29'/%3e%3c/svg%3e");}.form-switch.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn):checked {background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");}
45
45
  @media (prefers-reduced-motion: reduce) {
46
46
  }
47
47
  @media (prefers-reduced-motion: reduce) {
@@ -71,7 +71,7 @@
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-1k0qyrn {margin:0px;vertical-align:initial;}.form-check.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn) {float:none;}`};function _r(e,t){wt(t,!0),Cn(e,Yn);/**
74
+ }:host {font-family:"Roboto", sans-serif;}.form-check-input.svelte-1k0qyrn {margin:0px;vertical-align:initial;}.form-check.svelte-1k0qyrn .form-check-input:where(.svelte-1k0qyrn) {float:none;}`};function kr(e,t){St(t,!0),In(e,Zn);/**
75
75
  * Svelte Input Checkbox WebComponent
76
76
  * =====================
77
77
  *
@@ -79,5 +79,5 @@
79
79
  *
80
80
  * @license: MIT License
81
81
  *
82
- */function r(p,x){t.$$host.dispatchEvent(new CustomEvent(p,{detail:x}))}let n=ot(t,"schemaentry"),s=ot(t,"show_validation",7,"no"),i=ot(t,"id",7,void 0),o=I(!1),l=I(!1);Yt(()=>{if(s()||s("no"),n()&&typeof n()=="string")try{n(JSON.parse(n()))}catch{}n()?.id&&i(n().id),n()?(typeof g(l)=="string"&&(g(l)==="false"||g(l)==="no"||g(l)===""?$(l,!1):$(l,!0)),console.log("effectinputcheckbox",g(l),n()?.value,g(l)!=null),$(l,g(l)&&g(l)!=="false"&&g(l)!=="no"?!0:!!(n()?.value&&n()?.value!=null&&n()?.value!=="false"&&n()?.value!=="no"),!0),n().required?g(l)?$(o,!0):$(o,!1):$(o,!0)):$(o,!1),console.log("effectinputcheckbox",g(o),g(l),n())}),Yt(()=>{r("setVal",{value:g(l),valid:g(o),id:i()})});var a={get schemaentry(){return n()},set schemaentry(p){n(p),qe()},get show_validation(){return s()},set show_validation(p="no"){s(p),qe()},get id(){return i()},set id(p=void 0){i(p),qe()}},f=Un(),u=Ft(f),d=tt(u);{var h=p=>{var x=jn(),E=Ft(x);Rn(E);var T=jt(E,2),Me=tt(T);Ve(T),zt(()=>{Oe(E,"id",i()),E.required=n()?.required,E.readOnly=n()?.readonly,Oe(T,"for",n()?.id),fr(Me,`${n()?.label??""}${n()?.required?"*":""}`)}),Mn(E,()=>g(l),Ie=>$(l,Ie)),Re(p,x)};dr(d,p=>{n()&&p(h)})}Ve(u);var c=jt(u,2);{var v=p=>{var x=Bn(),E=tt(x,!0);Ve(x),zt(()=>fr(E,n().validationTip)),Re(p,x)};dr(c,p=>{n()?.validationTip&&s()==="yes"&&p(v)})}return Re(e,f),kt(a)}customElements.define("hb-input-checkbox",Fn(_r,{schemaentry:{},show_validation:{},id:{}},[],[],!0)),lt.Component=_r,Object.defineProperty(lt,Symbol.toStringTag,{value:"Module"})})(this["input-checkbox"]=this["input-checkbox"]||{});
82
+ */function r(g,$){t.$$host.dispatchEvent(new CustomEvent(g,{detail:$}))}let n=ct(t,"schemaentry"),s=ct(t,"show_validation",7,"no"),i=ct(t,"id",7,void 0),o=on(()=>n().required?!!m(l):!0),l=F(!1);Gt(()=>{if(s()||s("no"),n()&&typeof n()=="string")try{n(JSON.parse(n())),typeof m(l)=="string"&&(m(l)==="false"||m(l)==="no"||m(l)===""?S(l,!1):S(l,!0)),!i()&&n()?.id&&i(n().id)}catch{}console.log("effectinputcheckbox",m(o),m(l),n())}),Gt(()=>{r("setVal",{value:m(l),valid:m(o),id:i()})});var a={get schemaentry(){return n()},set schemaentry(g){n(g),Pe()},get show_validation(){return s()},set show_validation(g="no"){s(g),Pe()},get id(){return i()},set id(g=void 0){i(g),Pe()}},f=Xn(),u=Vt(f),d=ot(u);{var h=g=>{var $=Gn(),A=Vt($);{var q=me=>{var O=Kn();mr(O),ke(()=>{xe(O,"id",i()),O.required=n()?.required,O.readOnly=n()?.readonly}),yr(O,()=>m(l),ht=>S(l,ht)),be(me,O)},Fe=me=>{var O=Wn();mr(O),ke(()=>{xe(O,"id",i()),O.required=n()?.required,O.readOnly=n()?.readonly}),yr(O,()=>m(l),ht=>S(l,ht)),be(me,O)};ut(A,me=>{typeof n()=="object"&&n()?.params?.type==="switch"?me(q):me(Fe,!1)})}var ge=zt(A,2),dt=ot(ge);Ge(ge),ke(()=>{xe(ge,"for",n()?.id),br(dt,`${n()?.label??""}${n()?.required?"*":""}`)}),be(g,$)};ut(d,g=>{n()&&g(h)})}Ge(u);var c=zt(u,2);{var v=g=>{var $=Jn(),A=ot($,!0);Ge($),ke(()=>br(A,n().validationTip)),be(g,$)};ut(c,g=>{n()?.validationTip&&s()==="yes"&&g(v)})}return ke(()=>Dn(u,1,`form-check ${typeof n()=="object"&&n()?.params?.type==="switch"?"form-switch":""}`,"svelte-1k0qyrn")),be(e,f),Nt(a)}customElements.define("hb-input-checkbox",zn(kr,{schemaentry:{},show_validation:{},id:{}},[],[],!0)),vt.Component=kr,Object.defineProperty(vt,Symbol.toStringTag,{value:"Module"})})(this["input-checkbox"]=this["input-checkbox"]||{});
83
83
  //# sourceMappingURL=main.iife.js.map