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