maildo 1.3.9 → 1.3.10
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();const at=!1;var Jn=Array.isArray,Qn=Array.prototype.indexOf,Xn=Array.from,Qt=Object.defineProperty,Me=Object.getOwnPropertyDescriptor,Xt=Object.getOwnPropertyDescriptors,er=Object.prototype,tr=Array.prototype,yt=Object.getPrototypeOf,jt=Object.isExtensible;const ke=()=>{};function nr(e){return e()}function ft(e){for(var t=0;t<e.length;t++)e[t]()}function en(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const C=2,ut=4,Le=8,tn=1<<24,X=16,ee=32,_e=64,bt=128,q=512,D=1024,$=2048,te=4096,W=8192,ie=16384,wt=32768,xe=65536,It=1<<17,nn=1<<18,Ae=1<<19,rn=1<<20,de=32768,ct=1<<21,Et=1<<22,oe=1<<23,Re=Symbol("$state"),be=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function sn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function rr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function sr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ir(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ar(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function fr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ur(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function cr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const dr=1,hr=2,T=Symbol(),_r="http://www.w3.org/1999/xhtml";function pr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function on(e){return e===this.v}function ln(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function an(e){return!ln(e,this.v)}let Fe=!1,vr=!1;function gr(){Fe=!0}let w=null;function Se(e){w=e}function fn(e){return un().get(e)}function qt(e,t){return un().set(e,t),t}function tt(e,t=!1,n){w={p:w,i:!1,c:null,e:null,s:e,x:null,l:Fe&&!t?{s:null,u:null,$:[]}:null}}function nt(e){var t=w,n=t.e;if(n!==null){t.e=null;for(var r of n)Tn(r)}return t.i=!0,w=t.p,{}}function Ue(){return!Fe||w!==null&&w.l===null}function un(e){return w===null&&sn(),w.c??=new Map(mr(w)||void 0)}function mr(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let we=[];function yr(){var e=we;we=[],ft(e)}function kt(e){if(we.length===0){var t=we;queueMicrotask(()=>{t===we&&yr()})}we.push(e)}function cn(e){var t=y;if(t===null)return v.f|=oe,e;if((t.f&wt)===0){if((t.f&bt)===0)throw e;t.b.error(e)}else Te(e,t)}function Te(e,t){for(;t!==null;){if((t.f&bt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const br=-7169;function S(e,t){e.f=e.f&br|t}function xt(e){(e.f&q)!==0||e.deps===null?S(e,D):S(e,te)}function dn(e){if(e!==null)for(const t of e)(t.f&C)===0||(t.f&de)===0||(t.f^=de,dn(t.deps))}function hn(e,t,n){(e.f&$)!==0?t.add(e):(e.f&te)!==0&&n.add(e),dn(e.deps),S(e,D)}const Ge=new Set;let k=null,B=null,G=[],St=null,dt=!1;class K{committed=!1;current=new Map;previous=new Map;#t=new Set;#o=new Set;#e=0;#s=0;#i=null;#r=new Set;#n=new Set;skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#s>0}process(t){G=[],this.apply();var n=[],r=[];for(const s of t)this.#l(s,n,r);this.is_fork||this.#f(),this.is_deferred()?(this.#a(r),this.#a(n)):(k=null,Yt(r),Yt(n),this.#i?.resolve()),B=null}#l(t,n,r){t.f^=D;for(var s=t.first,i=null;s!==null;){var o=s.f,l=(o&(ee|_e))!==0,a=l&&(o&D)!==0,f=a||(o&W)!==0||this.skipped_effects.has(s);if(!f&&s.fn!==null){l?s.f^=D:i!==null&&(o&(ut|Le|tn))!==0?i.b.defer_effect(s):(o&ut)!==0?n.push(s):Ie(s)&&((o&X)!==0&&this.#r.add(s),Pe(s));var c=s.first;if(c!==null){s=c;continue}}var h=s.parent;for(s=s.next;s===null&&h!==null;)h===i&&(i=null),s=h.next,h=h.parent}}#a(t){for(var n=0;n<t.length;n+=1)hn(t[n],this.#r,this.#n)}capture(t,n){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&oe)===0&&(this.current.set(t,t.v),B?.set(t,t.v))}activate(){k=this,this.apply()}deactivate(){k===this&&(k=null,B=null)}flush(){if(this.activate(),G.length>0){if(wr(),k!==null&&k!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#o)t(this);this.#o.clear()}#f(){if(this.#s===0){for(const t of this.#t)t();this.#t.clear()}this.#e===0&&this.#u()}#u(){if(Ge.size>1){this.previous.clear();var t=B,n=!0;for(const s of Ge){if(s===this){n=!1;continue}const i=[];for(const[l,a]of this.current){if(s.current.has(l))if(n&&a!==s.current.get(l))s.current.set(l,a);else continue;i.push(l)}if(i.length===0)continue;const o=[...s.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var r=G;G=[];const l=new Set,a=new Map;for(const f of i)_n(f,o,l,a);if(G.length>0){k=s,s.apply();for(const f of G)s.#l(f,[],[]);s.deactivate()}G=r}}k=null,B=t}this.committed=!0,Ge.delete(this)}increment(t){this.#e+=1,t&&(this.#s+=1)}decrement(t){this.#e-=1,t&&(this.#s-=1),this.revive()}revive(){for(const t of this.#r)this.#n.delete(t),S(t,$),Q(t);for(const t of this.#n)S(t,te),Q(t);this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#o.add(t)}settled(){return(this.#i??=en()).promise}static ensure(){if(k===null){const t=k=new K;Ge.add(k),K.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){kt(t)}apply(){}}function wr(){var e=ue;dt=!0;var t=null;try{var n=0;for(Je(!0);G.length>0;){var r=K.ensure();if(n++>1e3){var s,i;Er()}r.process(G),le.clear()}}finally{dt=!1,Je(e),St=null}}function Er(){try{lr()}catch(e){Te(e,St)}}let H=null;function Yt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ie|W))===0&&Ie(r)&&(H=new Set,Pe(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?Mn(r):r.fn=null),H?.size>0)){le.clear();for(const s of H){if((s.f&(ie|W))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)H.has(o)&&(H.delete(o),i.push(o)),o=o.parent;for(let l=i.length-1;l>=0;l--){const a=i[l];(a.f&(ie|W))===0&&Pe(a)}}H.clear()}}H=null}}function _n(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&C)!==0?_n(s,t,n,r):(i&(Et|X))!==0&&(i&$)===0&&pn(s,t,r)&&(S(s,$),Q(s))}}function pn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&C)!==0&&pn(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function Q(e){for(var t=St=e;t.parent!==null;){t=t.parent;var n=t.f;if(dt&&t===y&&(n&X)!==0&&(n&nn)===0)return;if((n&(_e|ee))!==0){if((n&D)===0)return;t.f^=D}}G.push(t)}function kr(e){let t=0,n=je(0),r;return()=>{Ct()&&(p(n),Ir(()=>(t===0&&(r=st(()=>e(()=>$e(n)))),t+=1,()=>{kt(()=>{t-=1,t===0&&(r?.(),r=void 0,$e(n))})})))}}var xr=xe|Ae|bt;function Sr(e,t,n){new Tr(e,t,n)}class Tr{parent;is_pending=!1;#t;#o=null;#e;#s;#i;#r=null;#n=null;#l=null;#a=null;#f=null;#u=0;#c=0;#h=!1;#_=new Set;#p=new Set;#d=null;#b=kr(()=>(this.#d=je(this.#u),()=>{this.#d=null}));constructor(t,n,r){this.#t=t,this.#e=n,this.#s=r,this.parent=y.b,this.is_pending=!!this.#e.pending,this.#i=An(()=>{y.b=this;{var s=this.#m();try{this.#r=Z(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#g():this.is_pending=!1}return()=>{this.#f?.remove()}},xr)}#w(){try{this.#r=Z(()=>this.#s(this.#t))}catch(t){this.error(t)}}#E(){const t=this.#e.pending;t&&(this.#n=Z(()=>t(this.#t)),K.enqueue(()=>{var n=this.#m();this.#r=this.#v(()=>(K.ensure(),Z(()=>this.#s(n)))),this.#c>0?this.#g():(Oe(this.#n,()=>{this.#n=null}),this.is_pending=!1)}))}#m(){var t=this.#t;return this.is_pending&&(this.#f=He(),this.#t.before(this.#f),t=this.#f),t}defer_effect(t){hn(t,this.#_,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#v(t){var n=y,r=v,s=w;z(this.#i),N(this.#i),Se(this.#i.ctx);try{return t()}catch(i){return cn(i),null}finally{z(n),N(r),Se(s)}}#g(){const t=this.#e.pending;this.#r!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#f),On(this.#r,this.#a)),this.#n===null&&(this.#n=Z(()=>t(this.#t)))}#y(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t);return}if(this.#c+=t,this.#c===0){this.is_pending=!1;for(const n of this.#_)S(n,$),Q(n);for(const n of this.#p)S(n,te),Q(n);this.#_.clear(),this.#p.clear(),this.#n&&Oe(this.#n,()=>{this.#n=null}),this.#a&&(this.#t.before(this.#a),this.#a=null)}}update_pending_count(t){this.#y(t),this.#u+=t,this.#d&&ze(this.#d,this.#u)}get_effect_pending(){return this.#b(),p(this.#d)}error(t){var n=this.#e.onerror;let r=this.#e.failed;if(this.#h||!n&&!r)throw t;this.#r&&(j(this.#r),this.#r=null),this.#n&&(j(this.#n),this.#n=null),this.#l&&(j(this.#l),this.#l=null);var s=!1,i=!1;const o=()=>{if(s){pr();return}s=!0,i&&cr(),K.ensure(),this.#u=0,this.#l!==null&&Oe(this.#l,()=>{this.#l=null}),this.is_pending=this.has_pending_snippet(),this.#r=this.#v(()=>(this.#h=!1,Z(()=>this.#s(this.#t)))),this.#c>0?this.#g():this.is_pending=!1};var l=v;try{N(null),i=!0,n?.(t,o),i=!1}catch(a){Te(a,this.#i&&this.#i.parent)}finally{N(l)}r&&kt(()=>{this.#l=this.#v(()=>{K.ensure(),this.#h=!0;try{return Z(()=>{r(this.#t,()=>t,()=>o)})}catch(a){return Te(a,this.#i.parent),null}finally{this.#h=!1}})})}}function Ar(e,t,n,r){const s=Ue()?Tt:Mr;if(n.length===0&&e.length===0){r(t.map(s));return}var i=k,o=y,l=Cr();function a(){Promise.all(n.map(f=>Dr(f))).then(f=>{l();try{r([...t.map(s),...f])}catch(c){(o.f&ie)===0&&Te(c,o)}i?.deactivate(),We()}).catch(f=>{Te(f,o)})}e.length>0?Promise.all(e).then(()=>{l();try{return a()}finally{i?.deactivate(),We()}}):a()}function Cr(){var e=y,t=v,n=w,r=k;return function(i=!0){z(e),N(t),Se(n),i&&r?.activate()}}function We(){z(null),N(null),Se(null)}function Tt(e){var t=C|$,n=v!==null&&(v.f&C)!==0?v:null;return y!==null&&(y.f|=Ae),{ctx:w,deps:null,effects:null,equals:on,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??y,ac:null}}function Dr(e,t,n){let r=y;r===null&&rr();var s=r.b,i=void 0,o=je(T),l=!v,a=new Map;return jr(()=>{var f=en();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{c===k&&c.committed&&c.deactivate(),We()})}catch(d){f.reject(d),We()}var c=k;if(l){var h=s.is_rendered();s.update_pending_count(1),c.increment(h),a.get(c)?.reject(be),a.delete(c),a.set(c,f)}const u=(d,m=void 0)=>{if(c.activate(),m)m!==be&&(o.f|=oe,ze(o,m));else{(o.f&oe)!==0&&(o.f^=oe),ze(o,d);for(const[b,M]of a){if(a.delete(b),b===c)break;M.reject(be)}}l&&(s.update_pending_count(-1),c.decrement(h))};f.promise.then(u,d=>u(null,d||"unknown"))}),Sn(()=>{for(const f of a.values())f.reject(be)}),new Promise(f=>{function c(h){function u(){h===i?f(o):c(i)}h.then(u,u)}c(i)})}function Mr(e){const t=Tt(e);return t.equals=an,t}function vn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)j(t[n])}}function Rr(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return(t.f&ie)===0?t:null;t=t.parent}return null}function At(e){var t,n=y;z(Rr(e));try{e.f&=~de,vn(e),t=Fn(e)}finally{z(n)}return t}function gn(e){var t=At(e);if(!e.equals(t)&&(e.wv=Pn(),(!k?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){S(e,D);return}he||(B!==null?(Ct()||k?.is_fork)&&B.set(e,t):xt(e))}let ht=new Set;const le=new Map;let mn=!1;function je(e,t){var n={f:0,v:e,reactions:null,equals:on,rv:0,wv:0};return n}function A(e,t){const n=je(e);return Vr(n),n}function $r(e,t=!1,n=!0){const r=je(e);return t||(r.equals=an),Fe&&n&&w!==null&&w.l!==null&&(w.l.s??=[]).push(r),r}function E(e,t,n=!1){v!==null&&(!V||(v.f&It)!==0)&&Ue()&&(v.f&(C|X|Et|It))!==0&&!J?.includes(e)&&ur();let r=n?Ce(t):t;return ze(e,r)}function ze(e,t){if(!e.equals(t)){var n=e.v;he?le.set(e,t):le.set(e,n),e.v=t;var r=K.ensure();if(r.capture(e,n),(e.f&C)!==0){const s=e;(e.f&$)!==0&&At(s),xt(s)}e.wv=Pn(),yn(e,$),Ue()&&y!==null&&(y.f&D)!==0&&(y.f&(ee|_e))===0&&(I===null?Gr([e]):I.push(e)),!r.is_fork&&ht.size>0&&!mn&&Or()}return t}function Or(){mn=!1;var e=ue;Je(!0);const t=Array.from(ht);try{for(const n of t)(n.f&D)!==0&&S(n,te),Ie(n)&&Pe(n)}finally{Je(e)}ht.clear()}function $e(e){E(e,e.v+1)}function yn(e,t){var n=e.reactions;if(n!==null)for(var r=Ue(),s=n.length,i=0;i<s;i++){var o=n[i],l=o.f;if(!(!r&&o===y)){var a=(l&$)===0;if(a&&S(o,t),(l&C)!==0){var f=o;B?.delete(f),(l&de)===0&&(l&q&&(o.f|=de),yn(f,te))}else a&&((l&X)!==0&&H!==null&&H.add(o),Q(o))}}}function Ce(e){if(typeof e!="object"||e===null||Re in e)return e;const t=yt(e);if(t!==er&&t!==tr)return e;var n=new Map,r=Jn(e),s=A(0),i=ce,o=l=>{if(ce===i)return l();var a=v,f=ce;N(null),Gt(i);var c=l();return N(a),Gt(f),c};return r&&n.set("length",A(e.length)),new Proxy(e,{defineProperty(l,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&ar();var c=n.get(a);return c===void 0?c=o(()=>{var h=A(f.value);return n.set(a,h),h}):E(c,f.value,!0),!0},deleteProperty(l,a){var f=n.get(a);if(f===void 0){if(a in l){const c=o(()=>A(T));n.set(a,c),$e(s)}}else E(f,T),$e(s);return!0},get(l,a,f){if(a===Re)return e;var c=n.get(a),h=a in l;if(c===void 0&&(!h||Me(l,a)?.writable)&&(c=o(()=>{var d=Ce(h?l[a]:T),m=A(d);return m}),n.set(a,c)),c!==void 0){var u=p(c);return u===T?void 0:u}return Reflect.get(l,a,f)},getOwnPropertyDescriptor(l,a){var f=Reflect.getOwnPropertyDescriptor(l,a);if(f&&"value"in f){var c=n.get(a);c&&(f.value=p(c))}else if(f===void 0){var h=n.get(a),u=h?.v;if(h!==void 0&&u!==T)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(l,a){if(a===Re)return!0;var f=n.get(a),c=f!==void 0&&f.v!==T||Reflect.has(l,a);if(f!==void 0||y!==null&&(!c||Me(l,a)?.writable)){f===void 0&&(f=o(()=>{var u=c?Ce(l[a]):T,d=A(u);return d}),n.set(a,f));var h=p(f);if(h===T)return!1}return c},set(l,a,f,c){var h=n.get(a),u=a in l;if(r&&a==="length")for(var d=f;d<h.v;d+=1){var m=n.get(d+"");m!==void 0?E(m,T):d in l&&(m=o(()=>A(T)),n.set(d+"",m))}if(h===void 0)(!u||Me(l,a)?.writable)&&(h=o(()=>A(void 0)),E(h,Ce(f)),n.set(a,h));else{u=h.v!==T;var b=o(()=>Ce(f));E(h,b)}var M=Reflect.getOwnPropertyDescriptor(l,a);if(M?.set&&M.set.call(c,f),!u){if(r&&typeof a=="string"){var P=n.get("length"),Y=Number(a);Number.isInteger(Y)&&Y>=P.v&&E(P,Y+1)}$e(s)}return!0},ownKeys(l){p(s);var a=Reflect.ownKeys(l).filter(h=>{var u=n.get(h);return u===void 0||u.v!==T});for(var[f,c]of n)c.v!==T&&!(f in l)&&a.push(f);return a},setPrototypeOf(){fr()}})}var Bt,bn,wn,En;function Nr(){if(Bt===void 0){Bt=window,bn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;wn=Me(t,"firstChild").get,En=Me(t,"nextSibling").get,jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),jt(n)&&(n.__t=void 0)}}function He(e=""){return document.createTextNode(e)}function Ze(e){return wn.call(e)}function rt(e){return En.call(e)}function O(e,t){return Ze(e)}function De(e,t=!1){{var n=Ze(e);return n instanceof Comment&&n.data===""?rt(n):n}}function x(e,t=1,n=!1){let r=e;for(;t--;)r=rt(r);return r}function Pr(){return!1}function kn(e){var t=v,n=y;N(null),z(null);try{return e()}finally{N(t),z(n)}}function xn(e){y===null&&(v===null&&or(),ir()),he&&sr()}function Lr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ne(e,t,n){var r=y;r!==null&&(r.f&W)!==0&&(e|=W);var s={ctx:w,deps:null,nodes:null,f:e|$|q,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{Pe(s),s.f|=wt}catch(l){throw j(s),l}else t!==null&&Q(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ae)===0&&(i=i.first,(e&X)!==0&&(e&xe)!==0&&i!==null&&(i.f|=xe)),i!==null&&(i.parent=r,r!==null&&Lr(i,r),v!==null&&(v.f&C)!==0&&(e&_e)===0)){var o=v;(o.effects??=[]).push(i)}return s}function Ct(){return v!==null&&!V}function Sn(e){const t=ne(Le,null,!1);return S(t,D),t.teardown=e,t}function _t(e){xn();var t=y.f,n=!v&&(t&ee)!==0&&(t&wt)===0;if(n){var r=w;(r.e??=[]).push(e)}else return Tn(e)}function Tn(e){return ne(ut|rn,e,!1)}function Fr(e){return xn(),ne(Le|rn,e,!0)}function Ur(e){K.ensure();const t=ne(_e|Ae,e,!0);return(n={})=>new Promise(r=>{n.outro?Oe(t,()=>{j(t),r(void 0)}):(j(t),r(void 0))})}function jr(e){return ne(Et|Ae,e,!0)}function Ir(e,t=0){return ne(Le|t,e,!0)}function ye(e,t=[],n=[],r=[]){Ar(r,t,n,s=>{ne(Le,()=>e(...s.map(p)),!0)})}function An(e,t=0){var n=ne(X|t,e,!0);return n}function Z(e){return ne(ee|Ae,e,!0)}function Cn(e){var t=e.teardown;if(t!==null){const n=he,r=v;Vt(!0),N(null);try{t.call(null)}finally{Vt(n),N(r)}}}function Dn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&kn(()=>{s.abort(be)});var r=n.next;(n.f&_e)!==0?n.parent=null:j(n,t),n=r}}function qr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ee)===0&&j(t),t=n}}function j(e,t=!0){var n=!1;(t||(e.f&nn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Yr(e.nodes.start,e.nodes.end),n=!0),Dn(e,t&&!n),Qe(e,0),S(e,ie);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();Cn(e);var s=e.parent;s!==null&&s.first!==null&&Mn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Yr(e,t){for(;e!==null;){var n=e===t?null:rt(e);e.remove(),e=n}}function Mn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Oe(e,t,n=!0){var r=[];Rn(e,r,!0);var s=()=>{n&&j(e),t&&t()},i=r.length;if(i>0){var o=()=>--i||s();for(var l of r)l.out(o)}else s()}function Rn(e,t,n){if((e.f&W)===0){e.f^=W;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,o=(s.f&xe)!==0||(s.f&ee)!==0&&(e.f&X)!==0;Rn(s,t,o?n:!1),s=i}}}function Br(e){$n(e,!0)}function $n(e,t){if((e.f&W)!==0){e.f^=W,(e.f&D)===0&&(S(e,$),Q(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&xe)!==0||(n.f&ee)!==0;$n(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const o of i)(o.is_global||t)&&o.in()}}function On(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:rt(n);t.append(n),n=s}}let ue=!1;function Je(e){ue=e}let he=!1;function Vt(e){he=e}let v=null,V=!1;function N(e){v=e}let y=null;function z(e){y=e}let J=null;function Vr(e){v!==null&&(J===null?J=[e]:J.push(e))}let R=null,U=0,I=null;function Gr(e){I=e}let Nn=1,Ne=0,ce=Ne;function Gt(e){ce=e}function Pn(){return++Nn}function Ie(e){var t=e.f;if((t&$)!==0)return!0;if(t&C&&(e.f&=~de),(t&te)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Ie(i)&&gn(i),i.wv>e.wv)return!0}(t&q)!==0&&B===null&&S(e,D)}return!1}function Ln(e,t,n=!0){var r=e.reactions;if(r!==null&&!J?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&C)!==0?Ln(i,t,!1):t===i&&(n?S(i,$):(i.f&D)!==0&&S(i,te),Q(i))}}function Fn(e){var t=R,n=U,r=I,s=v,i=J,o=w,l=V,a=ce,f=e.f;R=null,U=0,I=null,v=(f&(ee|_e))===0?e:null,J=null,Se(e.ctx),V=!1,ce=++Ne,e.ac!==null&&(kn(()=>{e.ac.abort(be)}),e.ac=null);try{e.f|=ct;var c=e.fn,h=c(),u=e.deps;if(R!==null){var d;if(Qe(e,U),u!==null&&U>0)for(u.length=U+R.length,d=0;d<R.length;d++)u[U+d]=R[d];else e.deps=u=R;if(Ct()&&(e.f&q)!==0)for(d=U;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&U<u.length&&(Qe(e,U),u.length=U);if(Ue()&&I!==null&&!V&&u!==null&&(e.f&(C|te|$))===0)for(d=0;d<I.length;d++)Ln(I[d],e);return s!==null&&s!==e&&(Ne++,I!==null&&(r===null?r=I:r.push(...I))),(e.f&oe)!==0&&(e.f^=oe),h}catch(m){return cn(m)}finally{e.f^=ct,R=t,U=n,I=r,v=s,J=i,Se(o),V=l,ce=a}}function Kr(e,t){let n=t.reactions;if(n!==null){var r=Qn.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&C)!==0&&(R===null||!R.includes(t))){var i=t;(i.f&q)!==0&&(i.f^=q,i.f&=~de),xt(i),vn(i),Qe(i,0)}}function Qe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Kr(e,n[r])}function Pe(e){var t=e.f;if((t&ie)===0){S(e,D);var n=y,r=ue;y=e,ue=!0;try{(t&(X|tn))!==0?qr(e):Dn(e),Cn(e);var s=Fn(e);e.teardown=typeof s=="function"?s:null,e.wv=Nn;var i;at&&vr&&(e.f&$)!==0&&e.deps}finally{ue=r,y=n}}}function p(e){var t=e.f,n=(t&C)!==0;if(v!==null&&!V){var r=y!==null&&(y.f&ie)!==0;if(!r&&!J?.includes(e)){var s=v.deps;if((v.f&ct)!==0)e.rv<Ne&&(e.rv=Ne,R===null&&s!==null&&s[U]===e?U++:R===null?R=[e]:R.includes(e)||R.push(e));else{(v.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[v]:i.includes(v)||i.push(v)}}}if(he&&le.has(e))return le.get(e);if(n){var o=e;if(he){var l=o.v;return((o.f&D)===0&&o.reactions!==null||jn(o))&&(l=At(o)),le.set(o,l),l}var a=(o.f&q)===0&&!V&&v!==null&&(ue||(v.f&q)!==0),f=o.deps===null;Ie(o)&&(a&&(o.f|=q),gn(o)),a&&!f&&Un(o)}if(B?.has(e))return B.get(e);if((e.f&oe)!==0)throw e.v;return e.v}function Un(e){if(e.deps!==null){e.f|=q;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&C)!==0&&(t.f&q)===0&&Un(t)}}function jn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(le.has(t)||(t.f&C)!==0&&jn(t))return!0;return!1}function st(e){var t=V;try{return V=!0,e()}finally{V=t}}function Wr(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(Re in e)pt(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&Re in n&&pt(n)}}}function pt(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{pt(e[r],t)}catch{}const n=yt(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Xt(n);for(let s in r){const i=r[s].get;if(i)try{i.call(e)}catch{}}}}}const zr=["touchstart","touchmove"];function Hr(e){return zr.includes(e)}const In=new Set,vt=new Set;function qn(e){for(var t=0;t<e.length;t++)In.add(e[t]);for(var n of vt)n(e)}let Kt=null;function Ke(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Kt=e;var o=0,l=Kt===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){Qt(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=v,h=y;N(null),z(null);try{for(var u,d=[];i!==null;){var m=i.assignedSlot||i.parentNode||i.host||null;try{var b=i["__"+r];b!=null&&(!i.disabled||e.target===i)&&b.call(i,e)}catch(M){u?d.push(M):u=M}if(e.cancelBubble||m===t||m===null)break;i=m}if(u){for(let M of d)queueMicrotask(()=>{throw M});throw u}}finally{e.__root=t,delete e.currentTarget,N(c),z(h)}}}function Zr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Wt(e,t){var n=y;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function pe(e,t){var n=(t&dr)!==0,r=(t&hr)!==0,s,i=!e.startsWith("<!>");return()=>{s===void 0&&(s=Zr(i?e:"<!>"+e),n||(s=Ze(s)));var o=r||bn?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=Ze(o),a=o.lastChild;Wt(l,a)}else Wt(o,o);return o}}function fe(e,t){e!==null&&e.before(t)}function se(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Jr(e,t){return Qr(e,t)}const ge=new Map;function Qr(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:o=!0}){Nr();var l=new Set,a=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!l.has(d)){l.add(d);var m=Hr(d);t.addEventListener(d,Ke,{passive:m});var b=ge.get(d);b===void 0?(document.addEventListener(d,Ke,{passive:m}),ge.set(d,1)):ge.set(d,b+1)}}};a(Xn(In)),vt.add(a);var f=void 0,c=Ur(()=>{var h=n??t.appendChild(He());return Sr(h,{pending:()=>{}},u=>{if(i){tt({});var d=w;d.c=i}s&&(r.$$events=s),f=e(u,r)||{},i&&nt()}),()=>{for(var u of l){t.removeEventListener(u,Ke);var d=ge.get(u);--d===0?(document.removeEventListener(u,Ke),ge.delete(u)):ge.set(u,d)}vt.delete(a),h!==n&&h.parentNode?.removeChild(h)}});return Xr.set(f,c),f}let Xr=new WeakMap;class es{anchor;#t=new Map;#o=new Map;#e=new Map;#s=new Set;#i=!0;constructor(t,n=!0){this.anchor=t,this.#i=n}#r=()=>{var t=k;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#o.get(n);if(r)Br(r),this.#s.delete(n);else{var s=this.#e.get(n);s&&(this.#o.set(n,s.effect),this.#e.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const l=this.#e.get(o);l&&(j(l.effect),this.#e.delete(o))}for(const[i,o]of this.#o){if(i===n||this.#s.has(i))continue;const l=()=>{if(Array.from(this.#t.values()).includes(i)){var f=document.createDocumentFragment();On(o,f),f.append(He()),this.#e.set(i,{effect:o,fragment:f})}else j(o);this.#s.delete(i),this.#o.delete(i)};this.#i||!r?(this.#s.add(i),Oe(o,l,!1)):l()}}};#n=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,s]of this.#e)n.includes(r)||(j(s.effect),this.#e.delete(r))};ensure(t,n){var r=k,s=Pr();if(n&&!this.#o.has(t)&&!this.#e.has(t))if(s){var i=document.createDocumentFragment(),o=He();i.append(o),this.#e.set(t,{effect:Z(()=>n(o)),fragment:i})}else this.#o.set(t,Z(()=>n(this.anchor)));if(this.#t.set(r,t),s){for(const[l,a]of this.#o)l===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[l,a]of this.#e)l===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#r),r.ondiscard(this.#n)}else this.#r()}}function Ee(e,t,n=!1){var r=new es(e),s=n?xe:0;function i(o,l){r.ensure(o,l)}An(()=>{var o=!1;t((l,a=!0)=>{o=!0,i(a,l)}),o||i(!1,null)},s)}const ts=Symbol("is custom element"),ns=Symbol("is html");function gt(e,t,n,r){var s=rs(e);s[t]!==(s[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&ss(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function rs(e){return e.__attributes??={[ts]:e.nodeName.includes("-"),[ns]:e.namespaceURI===_r}}var zt=new Map;function ss(e){var t=e.getAttribute("is")||e.nodeName,n=zt.get(t);if(n)return n;zt.set(t,n=[]);for(var r,s=e,i=Element.prototype;i!==s;){r=Xt(s);for(var o in r)r[o].set&&n.push(o);s=yt(s)}return n}function is(e=!1){const t=w,n=t.l.u;if(!n)return;let r=()=>Wr(t.s);if(e){let s=0,i={};const o=Tt(()=>{let l=!1;const a=t.s;for(const f in a)a[f]!==i[f]&&(i[f]=a[f],l=!0);return l&&s++,s});r=()=>p(o)}n.b.length&&Fr(()=>{Ht(t,r),ft(n.b)}),_t(()=>{const s=st(()=>n.m.map(nr));return()=>{for(const i of s)typeof i=="function"&&i()}}),n.a.length&&_t(()=>{Ht(t,r),ft(n.a)})}function Ht(e,t){if(e.l.s)for(const n of e.l.s)p(n);t()}function Yn(e,t,n){if(e==null)return t(void 0),ke;const r=st(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}const me=[];function Zt(e,t=ke){let n=null;const r=new Set;function s(l){if(ln(e,l)&&(e=l,n)){const a=!me.length;for(const f of r)f[1](),me.push(f,e);if(a){for(let f=0;f<me.length;f+=2)me[f][0](me[f+1]);me.length=0}}}function i(l){s(l(e))}function o(l,a=ke){const f=[l,a];return r.add(f),r.size===1&&(n=t(s,i)||ke),l(e),()=>{r.delete(f),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:o}}function os(e){let t;return Yn(e,n=>t=n)(),t}let mt=Symbol();function Xe(e,t,n){const r=n[t]??={store:null,source:$r(void 0),unsubscribe:ke};if(r.store!==e&&!(mt in n))if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=ke;else{var s=!0;r.unsubscribe=Yn(e,i=>{s?r.source.v=i:E(r.source,i)}),s=!1}return e&&mt in n?os(e):p(r.source)}function et(e,t){return e.set(t),t}function Dt(){const e={};function t(){Sn(()=>{for(var n in e)e[n].unsubscribe();Qt(e,mt,{enumerable:!1,value:!0})})}return[e,t]}function Mt(e){w===null&&sn(),Fe&&w.l!==null?ls(w).m.push(e):_t(()=>{const t=st(e);if(typeof t=="function")return t})}function ls(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}const as="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(as);gr();var fs=pe("<strong>cc</strong> <br/>",1),us=pe("<strong>bcc</strong> <br/>",1),cs=pe("<strong>subject</strong> <br/>",1),ds=pe("<strong>body</strong> <br/>",1),hs=pe('<dialog open><article><h4> </h4> <p><small><!> <!> <!> <!></small></p> <section><a href="#gmail">open in <strong>Gmail</strong></a> <a href="#outlook">open in <strong>Outlook</strong></a> <a href="#yahoo">open in <strong>Yahoo Mail</strong></a> <a><strong>open</strong> default</a> <a href="#copy"><strong> </strong></a></section> <footer><small><a href="https://github.com/Sammy-T/maildo" target="_blank">maildo</a></small></footer></article></dialog>');function _s(e,t){tt(t,!0);const n=()=>Xe(l,"$selectedMailto",r),[r,s]=Dt(),i="type-url",o="type-data",l=fn("selectedMailto");let a="",f=A(""),c=A(""),h=A(""),u=A(""),d=A(""),m=A(""),b=A(!1);function M(){const _=new URL(n().href),{searchParams:g}=_;E(f,_.pathname,!0),E(c,g.get("cc"),!0),E(h,g.get("bcc"),!0),E(u,g.get("subject"),!0),E(d,g.get("body"),!0)}function P(){const{dataset:_}=n();E(f,_.address&&_.domain?`${_.address}@${_.domain}`:"",!0),E(c,_.ccAddress&&_.ccDomain?`${_.ccAddress}@${_.ccDomain}`:"",!0),E(h,_.bccAddress&&_.bccDomain?`${_.bccAddress}@${_.bccDomain}`:"",!0),E(u,_.subject,!0),E(d,_.body,!0)}function Y(){switch(a){case i:return n().href;case o:const _=new URLSearchParams;p(c)&&_.set("cc",p(c)),p(h)&&_.set("bcc",p(h)),p(u)&&_.set("subject",p(u)),p(d)&&_.set("body",p(d));const g=new URL(`mailto:${p(f)}`);return g.search=_.toString(),g.toString();default:return console.error(`Invalid mailto type: ${a}`),""}}function it(_){_.preventDefault();const g="https://mail.google.com/mail/?extsrc=mailto&url="+encodeURIComponent(p(m));window.open(g,"_blank","noopener, noreferrer"),re()}function qe(_){_.preventDefault();const g=new URLSearchParams;g.set("path","/mail/action/compose"),p(f)&&g.set("to",p(f)),p(u)&&g.set("subject",p(u)),p(d)&&g.set("body",p(d));const F=new URL("https://outlook.live.com/owa/");F.search=g.toString(),window.open(F.toString(),"_blank","noopener, noreferrer"),re()}function Ye(_){_.preventDefault();const g=new URLSearchParams;p(f)&&g.set("to",p(f)),p(u)&&g.set("subject",p(u)),p(d)&&g.set("body",p(d));const F=new URL("https://compose.mail.yahoo.com");F.search=g.toString(),window.open(F.toString(),"_blank","noopener, noreferrer"),re()}async function Be(_){_.preventDefault();try{await navigator.clipboard.writeText(p(f)),E(b,!0),setTimeout(re,1500)}catch(g){console.error("Unable to copy to clipboard.",g)}}function re(_=null){_&&_.currentTarget!==_.target||et(l,null)}Mt(()=>{n().href.startsWith("mailto:")?(a=i,M()):(a=o,P()),E(m,Y(),!0)});var ve=hs();ve.__click=re;var ot=O(ve),Ve=O(ot),L=O(Ve),ae=x(Ve,2),lt=O(ae),Rt=O(lt);{var Bn=_=>{var g=fs(),F=x(De(g));ye(()=>se(F,` ${p(c)??""}`)),fe(_,g)};Ee(Rt,_=>{p(c)&&_(Bn)})}var $t=x(Rt,2);{var Vn=_=>{var g=us(),F=x(De(g));ye(()=>se(F,` ${p(h)??""}`)),fe(_,g)};Ee($t,_=>{p(h)&&_(Vn)})}var Ot=x($t,2);{var Gn=_=>{var g=cs(),F=x(De(g));ye(()=>se(F,` ${p(u)??""}`)),fe(_,g)};Ee(Ot,_=>{p(u)&&_(Gn)})}var Kn=x(Ot,2);{var Wn=_=>{var g=ds(),F=x(De(g));ye(()=>se(F,` ${p(d)??""}`)),fe(_,g)};Ee(Kn,_=>{p(d)&&_(Wn)})}var zn=x(ae,2),Nt=O(zn);Nt.__click=it;var Pt=x(Nt,2);Pt.__click=qe;var Lt=x(Pt,2);Lt.__click=Ye;var Ft=x(Lt,2),Ut=x(Ft,2);Ut.__click=Be;var Hn=O(Ut),Zn=O(Hn);ye(()=>{se(L,p(f)),gt(Ft,"href",p(m)),se(Zn,p(b)?"copied":"copy")}),fe(e,ve),nt(),s()}qn(["click"]);var ps=pe('<dialog open><article><h4> </h4> <section><a href="#whatsapp">open in <strong>WhatsApp</strong></a> <a href="#skype">open in <strong>Skype</strong></a> <a><strong>call</strong> as default</a> <a><strong>text</strong> as default</a> <a href="#copy"><strong> </strong></a></section> <footer><small><a href="https://github.com/Sammy-T/maildo" target="_blank">maildo</a></small></footer></article></dialog>');function vs(e,t){tt(t,!0);const n=()=>Xe(o,"$selectedCallto",r),[r,s]=Dt(),i=/^(tel:)|^(callto:)/,o=fn("selectedCallto");let l=A(""),a=A(!1);function f(){E(l,n().href.replace(i,""),!0)}function c(){const{dataset:L}=n();E(l,L.tel,!0)}function h(L){L.preventDefault();const lt=`https://wa.me/${p(l).replaceAll(/\D/g,"").replace(/^0+/,"")}`;window.open(lt,"_blank","noopener, noreferrer"),m()}function u(L){L.preventDefault();const ae=`skype:${encodeURIComponent(p(l))}`;window.open(ae,"_blank","noopener, noreferrer"),m()}async function d(L){L.preventDefault();try{await navigator.clipboard.writeText(p(l)),E(a,!0),setTimeout(m,1500)}catch(ae){console.error("Unable to copy to clipboard.",ae)}}function m(L=null){L&&L.currentTarget!==L.target||et(o,null)}Mt(()=>{i.test(n().href)?f():c()});var b=ps();b.__click=m;var M=O(b),P=O(M),Y=O(P),it=x(P,2),qe=O(it);qe.__click=h;var Ye=x(qe,2);Ye.__click=u;var Be=x(Ye,2),re=x(Be,2),ve=x(re,2);ve.__click=d;var ot=O(ve),Ve=O(ot);ye(()=>{se(Y,p(l)),gt(Be,"href",`tel:${p(l)}`),gt(re,"href",`sms:${p(l)}`),se(Ve,p(a)?"copied":"copy")}),fe(e,b),nt(),s()}qn(["click"]);var gs=pe("<!> <!>",1);function ms(e,t){tt(t,!1);const n=()=>Xe(a,"$selectedMailto",s),r=()=>Xe(f,"$selectedCallto",s),[s,i]=Dt(),o='a[href^="mailto:"]:not(.no-maildo), a[href="#maildo"][data-address], a.maildo[data-address]',l='a[href^="tel:"]:not(.no-maildo), a[href^="callto:"]:not(.no-maildo), a[href="#maildo"][data-tel], a.maildo[data-tel]',a=Zt(null);qt("selectedMailto",a);const f=Zt(null);qt("selectedCallto",f),Mt(()=>{const b=document.querySelectorAll(o),M=document.querySelectorAll(l);b.forEach(P=>{P.addEventListener("click",Y=>{Y.preventDefault(),et(a,P)})}),M.forEach(P=>{P.addEventListener("click",Y=>{Y.preventDefault(),et(f,P)})})}),is();var c=gs(),h=De(c);{var u=b=>{_s(b,{})};Ee(h,b=>{n()&&b(u)})}var d=x(h,2);{var m=b=>{vs(b,{})};Ee(d,b=>{r()&&b(m)})}fe(e,c),nt(),i()}const Jt="maildo-app";function ys(){let e=document.getElementById(Jt);if(!e)e=document.createElement("slot"),e.id=Jt,document.body.appendChild(e);else if(e.childElementCount>0){console.warn("App target already exists");return}Jr(ms,{target:e})}ys();
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();const at=!1;var Qn=Array.isArray,Xn=Array.prototype.indexOf,Se=Array.prototype.includes,er=Array.from,Qt=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Xt=Object.getOwnPropertyDescriptors,tr=Object.prototype,nr=Array.prototype,yt=Object.getPrototypeOf,jt=Object.isExtensible;const ke=()=>{};function rr(e){return e()}function ft(e){for(var t=0;t<e.length;t++)e[t]()}function en(){var e,t,n=new Promise((s,r)=>{e=s,t=r});return{promise:n,resolve:e,reject:t}}const D=2,ut=4,Fe=8,tn=1<<24,X=16,H=32,_e=64,wt=128,I=512,T=1024,R=2048,ee=4096,W=8192,se=16384,Et=32768,Te=65536,It=1<<17,nn=1<<18,De=1<<19,rn=1<<20,de=32768,ct=1<<21,kt=1<<22,ie=1<<23,Oe=Symbol("$state"),ye=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function sn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function sr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ir(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function or(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function lr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function fr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ur(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function cr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const hr=1,_r=2,A=Symbol(),pr="http://www.w3.org/1999/xhtml";function vr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function on(e){return e===this.v}function ln(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function an(e){return!ln(e,this.v)}let Ue=!1,gr=!1;function mr(){Ue=!0}let w=null;function Ae(e){w=e}function fn(e){return un().get(e)}function qt(e,t){return un().set(e,t),t}function tt(e,t=!1,n){w={p:w,i:!1,c:null,e:null,s:e,x:null,l:Ue&&!t?{s:null,u:null,$:[]}:null}}function nt(e){var t=w,n=t.e;if(n!==null){t.e=null;for(var s of n)An(s)}return t.i=!0,w=t.p,{}}function je(){return!Ue||w!==null&&w.l===null}function un(e){return w===null&&sn(),w.c??=new Map(br(w)||void 0)}function br(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let we=[];function yr(){var e=we;we=[],ft(e)}function xe(e){if(we.length===0){var t=we;queueMicrotask(()=>{t===we&&yr()})}we.push(e)}function cn(e){var t=y;if(t===null)return b.f|=ie,e;if((t.f&Et)===0){if((t.f&wt)===0)throw e;t.b.error(e)}else Ce(e,t)}function Ce(e,t){for(;t!==null;){if((t.f&wt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const wr=-7169;function S(e,t){e.f=e.f&wr|t}function xt(e){(e.f&I)!==0||e.deps===null?S(e,T):S(e,ee)}function dn(e){if(e!==null)for(const t of e)(t.f&D)===0||(t.f&de)===0||(t.f^=de,dn(t.deps))}function hn(e,t,n){(e.f&R)!==0?t.add(e):(e.f&ee)!==0&&n.add(e),dn(e.deps),S(e,T)}const Ke=new Set;let k=null,G=null,V=[],St=null,dt=!1;class oe{committed=!1;current=new Map;previous=new Map;#t=new Set;#o=new Set;#e=0;#s=0;#i=null;#r=new Set;#n=new Set;skipped_effects=new Set;is_fork=!1;#l=!1;is_deferred(){return this.is_fork||this.#s>0}process(t){V=[],this.apply();var n=[],s=[];for(const r of t)this.#a(r,n,s);if(this.is_deferred()){this.#f(s),this.#f(n);for(const r of this.skipped_effects)vn(r)}else{for(const r of this.#t)r();this.#t.clear(),this.#e===0&&this.#u(),k=null,Yt(s),Yt(n),this.#i?.resolve()}G=null}#a(t,n,s){t.f^=T;for(var r=t.first,i=null;r!==null;){var l=r.f,o=(l&(H|_e))!==0,a=o&&(l&T)!==0,f=a||(l&W)!==0||this.skipped_effects.has(r);if(!f&&r.fn!==null){o?r.f^=T:i!==null&&(l&(ut|Fe|tn))!==0?i.b.defer_effect(r):(l&ut)!==0?n.push(r):qe(r)&&((l&X)!==0&&this.#n.add(r),Le(r));var c=r.first;if(c!==null){r=c;continue}}var d=r.parent;for(r=r.next;r===null&&d!==null;)d===i&&(i=null),r=d.next,d=d.parent}}#f(t){for(var n=0;n<t.length;n+=1)hn(t[n],this.#r,this.#n)}capture(t,n){n!==A&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&ie)===0&&(this.current.set(t,t.v),G?.set(t,t.v))}activate(){k=this,this.apply()}deactivate(){k===this&&(k=null,G=null)}flush(){if(this.activate(),V.length>0){if(Er(),k!==null&&k!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#o)t(this);this.#o.clear()}#u(){if(Ke.size>1){this.previous.clear();var t=G,n=!0;for(const r of Ke){if(r===this){n=!1;continue}const i=[];for(const[o,a]of this.current){if(r.current.has(o))if(n&&a!==r.current.get(o))r.current.set(o,a);else continue;i.push(o)}if(i.length===0)continue;const l=[...r.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){var s=V;V=[];const o=new Set,a=new Map;for(const f of i)_n(f,l,o,a);if(V.length>0){k=r,r.apply();for(const f of V)r.#a(f,[],[]);r.deactivate()}V=s}}k=null,G=t}this.committed=!0,Ke.delete(this)}increment(t){this.#e+=1,t&&(this.#s+=1)}decrement(t){this.#e-=1,t&&(this.#s-=1),!this.#l&&(this.#l=!0,xe(()=>{this.#l=!1,this.is_deferred()?V.length>0&&this.flush():this.revive()}))}revive(){for(const t of this.#r)this.#n.delete(t),S(t,R),Q(t);for(const t of this.#n)S(t,ee),Q(t);this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#o.add(t)}settled(){return(this.#i??=en()).promise}static ensure(){if(k===null){const t=k=new oe;Ke.add(k),xe(()=>{k===t&&t.flush()})}return k}apply(){}}function Er(){dt=!0;var e=null;try{for(var t=0;V.length>0;){var n=oe.ensure();if(t++>1e3){var s,r;kr()}n.process(V),le.clear()}}finally{dt=!1,St=null}}function kr(){try{ar()}catch(e){Ce(e,St)}}let Z=null;function Yt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var s=e[n++];if((s.f&(se|W))===0&&qe(s)&&(Z=new Set,Le(s),s.deps===null&&s.first===null&&s.nodes===null&&(s.teardown===null&&s.ac===null?Rn(s):s.fn=null),Z?.size>0)){le.clear();for(const r of Z){if((r.f&(se|W))!==0)continue;const i=[r];let l=r.parent;for(;l!==null;)Z.has(l)&&(Z.delete(l),i.push(l)),l=l.parent;for(let o=i.length-1;o>=0;o--){const a=i[o];(a.f&(se|W))===0&&Le(a)}}Z.clear()}}Z=null}}function _n(e,t,n,s){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const r of e.reactions){const i=r.f;(i&D)!==0?_n(r,t,n,s):(i&(kt|X))!==0&&(i&R)===0&&pn(r,t,s)&&(S(r,R),Q(r))}}function pn(e,t,n){const s=n.get(e);if(s!==void 0)return s;if(e.deps!==null)for(const r of e.deps){if(Se.call(t,r))return!0;if((r.f&D)!==0&&pn(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function Q(e){for(var t=St=e;t.parent!==null;){t=t.parent;var n=t.f;if(dt&&t===y&&(n&X)!==0&&(n&nn)===0)return;if((n&(_e|H))!==0){if((n&T)===0)return;t.f^=T}}V.push(t)}function vn(e){if(!((e.f&H)!==0&&(e.f&T)!==0)){S(e,T);for(var t=e.first;t!==null;)vn(t),t=t.next}}function xr(e){let t=0,n=Ie(0),s;return()=>{Ct()&&(p(n),qr(()=>(t===0&&(s=st(()=>e(()=>Ne(n)))),t+=1,()=>{xe(()=>{t-=1,t===0&&(s?.(),s=void 0,Ne(n))})})))}}var Sr=Te|De|wt;function Tr(e,t,n){new Ar(e,t,n)}class Ar{parent;is_pending=!1;#t;#o=null;#e;#s;#i;#r=null;#n=null;#l=null;#a=null;#f=null;#u=0;#d=0;#_=!1;#h=!1;#p=new Set;#v=new Set;#c=null;#w=xr(()=>(this.#c=Ie(this.#u),()=>{this.#c=null}));constructor(t,n,s){this.#t=t,this.#e=n,this.#s=s,this.parent=y.b,this.is_pending=!!this.#e.pending,this.#i=Cn(()=>{y.b=this;{var r=this.#b();try{this.#r=J(()=>s(r))}catch(i){this.error(i)}this.#d>0?this.#m():this.is_pending=!1}return()=>{this.#f?.remove()}},Sr)}#E(){try{this.#r=J(()=>this.#s(this.#t))}catch(t){this.error(t)}}#k(){const t=this.#e.pending;t&&(this.#n=J(()=>t(this.#t)),xe(()=>{var n=this.#b();this.#r=this.#g(()=>(oe.ensure(),J(()=>this.#s(n)))),this.#d>0?this.#m():(Pe(this.#n,()=>{this.#n=null}),this.is_pending=!1)}))}#b(){var t=this.#t;return this.is_pending&&(this.#f=Ze(),this.#t.before(this.#f),t=this.#f),t}defer_effect(t){hn(t,this.#p,this.#v)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#g(t){var n=y,s=b,r=w;z(this.#i),Y(this.#i),Ae(this.#i.ctx);try{return t()}catch(i){return cn(i),null}finally{z(n),Y(s),Ae(r)}}#m(){const t=this.#e.pending;this.#r!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#f),Nn(this.#r,this.#a)),this.#n===null&&(this.#n=J(()=>t(this.#t)))}#y(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t);return}if(this.#d+=t,this.#d===0){this.is_pending=!1;for(const n of this.#p)S(n,R),Q(n);for(const n of this.#v)S(n,ee),Q(n);this.#p.clear(),this.#v.clear(),this.#n&&Pe(this.#n,()=>{this.#n=null}),this.#a&&(this.#t.before(this.#a),this.#a=null)}}update_pending_count(t){this.#y(t),this.#u+=t,!(!this.#c||this.#_)&&(this.#_=!0,xe(()=>{this.#_=!1,this.#c&&He(this.#c,this.#u)}))}get_effect_pending(){return this.#w(),p(this.#c)}error(t){var n=this.#e.onerror;let s=this.#e.failed;if(this.#h||!n&&!s)throw t;this.#r&&(U(this.#r),this.#r=null),this.#n&&(U(this.#n),this.#n=null),this.#l&&(U(this.#l),this.#l=null);var r=!1,i=!1;const l=()=>{if(r){vr();return}r=!0,i&&dr(),oe.ensure(),this.#u=0,this.#l!==null&&Pe(this.#l,()=>{this.#l=null}),this.is_pending=this.has_pending_snippet(),this.#r=this.#g(()=>(this.#h=!1,J(()=>this.#s(this.#t)))),this.#d>0?this.#m():this.is_pending=!1};xe(()=>{try{i=!0,n?.(t,l),i=!1}catch(o){Ce(o,this.#i&&this.#i.parent)}s&&(this.#l=this.#g(()=>{oe.ensure(),this.#h=!0;try{return J(()=>{s(this.#t,()=>t,()=>l)})}catch(o){return Ce(o,this.#i.parent),null}finally{this.#h=!1}}))})}}function Cr(e,t,n,s){const r=je()?Tt:Rr;var i=e.filter(u=>!u.settled);if(n.length===0&&i.length===0){s(t.map(r));return}var l=k,o=y,a=Dr(),f=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(u=>u.promise)):null;function c(u){a();try{s(u)}catch(h){(o.f&se)===0&&Ce(h,o)}l?.deactivate(),ht()}if(n.length===0){f.then(()=>c(t.map(r)));return}function d(){a(),Promise.all(n.map(u=>Mr(u))).then(u=>c([...t.map(r),...u])).catch(u=>Ce(u,o))}f?f.then(d):d()}function Dr(){var e=y,t=b,n=w,s=k;return function(i=!0){z(e),Y(t),Ae(n),i&&s?.activate()}}function ht(){z(null),Y(null),Ae(null)}function Tt(e){var t=D|R,n=b!==null&&(b.f&D)!==0?b:null;return y!==null&&(y.f|=De),{ctx:w,deps:null,effects:null,equals:on,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??y,ac:null}}function Mr(e,t,n){let s=y;s===null&&sr();var r=s.b,i=void 0,l=Ie(A),o=!b,a=new Map;return Ir(()=>{var f=en();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{c===k&&c.committed&&c.deactivate(),ht()})}catch(h){f.reject(h),ht()}var c=k;if(o){var d=r.is_rendered();r.update_pending_count(1),c.increment(d),a.get(c)?.reject(ye),a.delete(c),a.set(c,f)}const u=(h,v=void 0)=>{if(c.activate(),v)v!==ye&&(l.f|=ie,He(l,v));else{(l.f&ie)!==0&&(l.f^=ie),He(l,h);for(const[g,M]of a){if(a.delete(g),g===c)break;M.reject(ye)}}o&&(r.update_pending_count(-1),c.decrement(d))};f.promise.then(u,h=>u(null,h||"unknown"))}),Tn(()=>{for(const f of a.values())f.reject(ye)}),new Promise(f=>{function c(d){function u(){d===i?f(l):c(i)}d.then(u,u)}c(i)})}function Rr(e){const t=Tt(e);return t.equals=an,t}function gn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)U(t[n])}}function $r(e){for(var t=e.parent;t!==null;){if((t.f&D)===0)return(t.f&se)===0?t:null;t=t.parent}return null}function At(e){var t,n=y;z($r(e));try{e.f&=~de,gn(e),t=Un(e)}finally{z(n)}return t}function mn(e){var t=At(e);if(!e.equals(t)&&(e.wv=Ln(),(!k?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){S(e,T);return}he||(G!==null?(Ct()||k?.is_fork)&&G.set(e,t):xt(e))}let _t=new Set;const le=new Map;let bn=!1;function Ie(e,t){var n={f:0,v:e,reactions:null,equals:on,rv:0,wv:0};return n}function C(e,t){const n=Ie(e);return Gr(n),n}function Or(e,t=!1,n=!0){const s=Ie(e);return t||(s.equals=an),Ue&&n&&w!==null&&w.l!==null&&(w.l.s??=[]).push(s),s}function E(e,t,n=!1){b!==null&&(!K||(b.f&It)!==0)&&je()&&(b.f&(D|X|kt|It))!==0&&(q===null||!Se.call(q,e))&&cr();let s=n?Me(t):t;return He(e,s)}function He(e,t){if(!e.equals(t)){var n=e.v;he?le.set(e,t):le.set(e,n),e.v=t;var s=oe.ensure();if(s.capture(e,n),(e.f&D)!==0){const r=e;(e.f&R)!==0&&At(r),xt(r)}e.wv=Ln(),yn(e,R),je()&&y!==null&&(y.f&T)!==0&&(y.f&(H|_e))===0&&(j===null?Kr([e]):j.push(e)),!s.is_fork&&_t.size>0&&!bn&&Nr()}return t}function Nr(){bn=!1;for(const e of _t)(e.f&T)!==0&&S(e,ee),qe(e)&&Le(e);_t.clear()}function Ne(e){E(e,e.v+1)}function yn(e,t){var n=e.reactions;if(n!==null)for(var s=je(),r=n.length,i=0;i<r;i++){var l=n[i],o=l.f;if(!(!s&&l===y)){var a=(o&R)===0;if(a&&S(l,t),(o&D)!==0){var f=l;G?.delete(f),(o&de)===0&&(o&I&&(l.f|=de),yn(f,ee))}else a&&((o&X)!==0&&Z!==null&&Z.add(l),Q(l))}}}function Me(e){if(typeof e!="object"||e===null||Oe in e)return e;const t=yt(e);if(t!==tr&&t!==nr)return e;var n=new Map,s=Qn(e),r=C(0),i=ce,l=o=>{if(ce===i)return o();var a=b,f=ce;Y(null),Gt(i);var c=o();return Y(a),Gt(f),c};return s&&n.set("length",C(e.length)),new Proxy(e,{defineProperty(o,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&fr();var c=n.get(a);return c===void 0?c=l(()=>{var d=C(f.value);return n.set(a,d),d}):E(c,f.value,!0),!0},deleteProperty(o,a){var f=n.get(a);if(f===void 0){if(a in o){const c=l(()=>C(A));n.set(a,c),Ne(r)}}else E(f,A),Ne(r);return!0},get(o,a,f){if(a===Oe)return e;var c=n.get(a),d=a in o;if(c===void 0&&(!d||$e(o,a)?.writable)&&(c=l(()=>{var h=Me(d?o[a]:A),v=C(h);return v}),n.set(a,c)),c!==void 0){var u=p(c);return u===A?void 0:u}return Reflect.get(o,a,f)},getOwnPropertyDescriptor(o,a){var f=Reflect.getOwnPropertyDescriptor(o,a);if(f&&"value"in f){var c=n.get(a);c&&(f.value=p(c))}else if(f===void 0){var d=n.get(a),u=d?.v;if(d!==void 0&&u!==A)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(o,a){if(a===Oe)return!0;var f=n.get(a),c=f!==void 0&&f.v!==A||Reflect.has(o,a);if(f!==void 0||y!==null&&(!c||$e(o,a)?.writable)){f===void 0&&(f=l(()=>{var u=c?Me(o[a]):A,h=C(u);return h}),n.set(a,f));var d=p(f);if(d===A)return!1}return c},set(o,a,f,c){var d=n.get(a),u=a in o;if(s&&a==="length")for(var h=f;h<d.v;h+=1){var v=n.get(h+"");v!==void 0?E(v,A):h in o&&(v=l(()=>C(A)),n.set(h+"",v))}if(d===void 0)(!u||$e(o,a)?.writable)&&(d=l(()=>C(void 0)),E(d,Me(f)),n.set(a,d));else{u=d.v!==A;var g=l(()=>Me(f));E(d,g)}var M=Reflect.getOwnPropertyDescriptor(o,a);if(M?.set&&M.set.call(c,f),!u){if(s&&typeof a=="string"){var N=n.get("length"),B=Number(a);Number.isInteger(B)&&B>=N.v&&E(N,B+1)}Ne(r)}return!0},ownKeys(o){p(r);var a=Reflect.ownKeys(o).filter(d=>{var u=n.get(d);return u===void 0||u.v!==A});for(var[f,c]of n)c.v!==A&&!(f in o)&&a.push(f);return a},setPrototypeOf(){ur()}})}var Bt,wn,En,kn;function Pr(){if(Bt===void 0){Bt=window,wn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;En=$e(t,"firstChild").get,kn=$e(t,"nextSibling").get,jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),jt(n)&&(n.__t=void 0)}}function Ze(e=""){return document.createTextNode(e)}function Je(e){return En.call(e)}function rt(e){return kn.call(e)}function $(e,t){return Je(e)}function Re(e,t=!1){{var n=Je(e);return n instanceof Comment&&n.data===""?rt(n):n}}function x(e,t=1,n=!1){let s=e;for(;t--;)s=rt(s);return s}function Lr(){return!1}function xn(e){var t=b,n=y;Y(null),z(null);try{return e()}finally{Y(t),z(n)}}function Sn(e){y===null&&(b===null&&lr(),or()),he&&ir()}function Fr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function te(e,t,n){var s=y;s!==null&&(s.f&W)!==0&&(e|=W);var r={ctx:w,deps:null,nodes:null,f:e|R|I,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{Le(r),r.f|=Et}catch(o){throw U(r),o}else t!==null&&Q(r);var i=r;if(n&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&De)===0&&(i=i.first,(e&X)!==0&&(e&Te)!==0&&i!==null&&(i.f|=Te)),i!==null&&(i.parent=s,s!==null&&Fr(i,s),b!==null&&(b.f&D)!==0&&(e&_e)===0)){var l=b;(l.effects??=[]).push(i)}return r}function Ct(){return b!==null&&!K}function Tn(e){const t=te(Fe,null,!1);return S(t,T),t.teardown=e,t}function pt(e){Sn();var t=y.f,n=!b&&(t&H)!==0&&(t&Et)===0;if(n){var s=w;(s.e??=[]).push(e)}else return An(e)}function An(e){return te(ut|rn,e,!1)}function Ur(e){return Sn(),te(Fe|rn,e,!0)}function jr(e){oe.ensure();const t=te(_e|De,e,!0);return(n={})=>new Promise(s=>{n.outro?Pe(t,()=>{U(t),s(void 0)}):(U(t),s(void 0))})}function Ir(e){return te(kt|De,e,!0)}function qr(e,t=0){return te(Fe|t,e,!0)}function be(e,t=[],n=[],s=[]){Cr(s,t,n,r=>{te(Fe,()=>e(...r.map(p)),!0)})}function Cn(e,t=0){var n=te(X|t,e,!0);return n}function J(e){return te(H|De,e,!0)}function Dn(e){var t=e.teardown;if(t!==null){const n=he,s=b;Vt(!0),Y(null);try{t.call(null)}finally{Vt(n),Y(s)}}}function Mn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const r=n.ac;r!==null&&xn(()=>{r.abort(ye)});var s=n.next;(n.f&_e)!==0?n.parent=null:U(n,t),n=s}}function Yr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&H)===0&&U(t),t=n}}function U(e,t=!0){var n=!1;(t||(e.f&nn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Br(e.nodes.start,e.nodes.end),n=!0),Mn(e,t&&!n),Qe(e,0),S(e,se);var s=e.nodes&&e.nodes.t;if(s!==null)for(const i of s)i.stop();Dn(e);var r=e.parent;r!==null&&r.first!==null&&Rn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Br(e,t){for(;e!==null;){var n=e===t?null:rt(e);e.remove(),e=n}}function Rn(e){var t=e.parent,n=e.prev,s=e.next;n!==null&&(n.next=s),s!==null&&(s.prev=n),t!==null&&(t.first===e&&(t.first=s),t.last===e&&(t.last=n))}function Pe(e,t,n=!0){var s=[];$n(e,s,!0);var r=()=>{n&&U(e),t&&t()},i=s.length;if(i>0){var l=()=>--i||r();for(var o of s)o.out(l)}else r()}function $n(e,t,n){if((e.f&W)===0){e.f^=W;var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||n)&&t.push(o);for(var r=e.first;r!==null;){var i=r.next,l=(r.f&Te)!==0||(r.f&H)!==0&&(e.f&X)!==0;$n(r,t,l?n:!1),r=i}}}function Vr(e){On(e,!0)}function On(e,t){if((e.f&W)!==0){e.f^=W,(e.f&T)===0&&(S(e,R),Q(e));for(var n=e.first;n!==null;){var s=n.next,r=(n.f&Te)!==0||(n.f&H)!==0;On(n,r?t:!1),n=s}var i=e.nodes&&e.nodes.t;if(i!==null)for(const l of i)(l.is_global||t)&&l.in()}}function Nn(e,t){if(e.nodes)for(var n=e.nodes.start,s=e.nodes.end;n!==null;){var r=n===s?null:rt(n);t.append(n),n=r}}let ze=!1,he=!1;function Vt(e){he=e}let b=null,K=!1;function Y(e){b=e}let y=null;function z(e){y=e}let q=null;function Gr(e){b!==null&&(q===null?q=[e]:q.push(e))}let O=null,F=0,j=null;function Kr(e){j=e}let Pn=1,ue=0,ce=ue;function Gt(e){ce=e}function Ln(){return++Pn}function qe(e){var t=e.f;if((t&R)!==0)return!0;if(t&D&&(e.f&=~de),(t&ee)!==0){for(var n=e.deps,s=n.length,r=0;r<s;r++){var i=n[r];if(qe(i)&&mn(i),i.wv>e.wv)return!0}(t&I)!==0&&G===null&&S(e,T)}return!1}function Fn(e,t,n=!0){var s=e.reactions;if(s!==null&&!(q!==null&&Se.call(q,e)))for(var r=0;r<s.length;r++){var i=s[r];(i.f&D)!==0?Fn(i,t,!1):t===i&&(n?S(i,R):(i.f&T)!==0&&S(i,ee),Q(i))}}function Un(e){var t=O,n=F,s=j,r=b,i=q,l=w,o=K,a=ce,f=e.f;O=null,F=0,j=null,b=(f&(H|_e))===0?e:null,q=null,Ae(e.ctx),K=!1,ce=++ue,e.ac!==null&&(xn(()=>{e.ac.abort(ye)}),e.ac=null);try{e.f|=ct;var c=e.fn,d=c(),u=e.deps,h=k?.is_fork;if(O!==null){var v;if(h||Qe(e,F),u!==null&&F>0)for(u.length=F+O.length,v=0;v<O.length;v++)u[F+v]=O[v];else e.deps=u=O;if(Ct()&&(e.f&I)!==0)for(v=F;v<u.length;v++)(u[v].reactions??=[]).push(e)}else!h&&u!==null&&F<u.length&&(Qe(e,F),u.length=F);if(je()&&j!==null&&!K&&u!==null&&(e.f&(D|ee|R))===0)for(v=0;v<j.length;v++)Fn(j[v],e);if(r!==null&&r!==e){if(ue++,r.deps!==null)for(let g=0;g<n;g+=1)r.deps[g].rv=ue;if(t!==null)for(const g of t)g.rv=ue;j!==null&&(s===null?s=j:s.push(...j))}return(e.f&ie)!==0&&(e.f^=ie),d}catch(g){return cn(g)}finally{e.f^=ct,O=t,F=n,j=s,b=r,q=i,Ae(l),K=o,ce=a}}function Wr(e,t){let n=t.reactions;if(n!==null){var s=Xn.call(n,e);if(s!==-1){var r=n.length-1;r===0?n=t.reactions=null:(n[s]=n[r],n.pop())}}if(n===null&&(t.f&D)!==0&&(O===null||!Se.call(O,t))){var i=t;(i.f&I)!==0&&(i.f^=I,i.f&=~de),xt(i),gn(i),Qe(i,0)}}function Qe(e,t){var n=e.deps;if(n!==null)for(var s=t;s<n.length;s++)Wr(e,n[s])}function Le(e){var t=e.f;if((t&se)===0){S(e,T);var n=y,s=ze;y=e,ze=!0;try{(t&(X|tn))!==0?Yr(e):Mn(e),Dn(e);var r=Un(e);e.teardown=typeof r=="function"?r:null,e.wv=Pn;var i;at&&gr&&(e.f&R)!==0&&e.deps}finally{ze=s,y=n}}}function p(e){var t=e.f,n=(t&D)!==0;if(b!==null&&!K){var s=y!==null&&(y.f&se)!==0;if(!s&&(q===null||!Se.call(q,e))){var r=b.deps;if((b.f&ct)!==0)e.rv<ue&&(e.rv=ue,O===null&&r!==null&&r[F]===e?F++:O===null?O=[e]:O.push(e));else{(b.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[b]:Se.call(i,b)||i.push(b)}}}if(he&&le.has(e))return le.get(e);if(n){var l=e;if(he){var o=l.v;return((l.f&T)===0&&l.reactions!==null||In(l))&&(o=At(l)),le.set(l,o),o}var a=(l.f&I)===0&&!K&&b!==null&&(ze||(b.f&I)!==0),f=l.deps===null;qe(l)&&(a&&(l.f|=I),mn(l)),a&&!f&&jn(l)}if(G?.has(e))return G.get(e);if((e.f&ie)!==0)throw e.v;return e.v}function jn(e){if(e.deps!==null){e.f|=I;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&D)!==0&&(t.f&I)===0&&jn(t)}}function In(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(le.has(t)||(t.f&D)!==0&&In(t))return!0;return!1}function st(e){var t=K;try{return K=!0,e()}finally{K=t}}function zr(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(Oe in e)vt(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&Oe in n&&vt(n)}}}function vt(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let s in e)try{vt(e[s],t)}catch{}const n=yt(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const s=Xt(n);for(let r in s){const i=s[r].get;if(i)try{i.call(e)}catch{}}}}}const Hr=["touchstart","touchmove"];function Zr(e){return Hr.includes(e)}const qn=new Set,gt=new Set;function Yn(e){for(var t=0;t<e.length;t++)qn.add(e[t]);for(var n of gt)n(e)}let Kt=null;function We(e){var t=this,n=t.ownerDocument,s=e.type,r=e.composedPath?.()||[],i=r[0]||e.target;Kt=e;var l=0,o=Kt===e&&e.__root;if(o){var a=r.indexOf(o);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=r.indexOf(t);if(f===-1)return;a<=f&&(l=a)}if(i=r[l]||e.target,i!==t){Qt(e,"currentTarget",{configurable:!0,get(){return i||n}});var c=b,d=y;Y(null),z(null);try{for(var u,h=[];i!==null;){var v=i.assignedSlot||i.parentNode||i.host||null;try{var g=i["__"+s];g!=null&&(!i.disabled||e.target===i)&&g.call(i,e)}catch(M){u?h.push(M):u=M}if(e.cancelBubble||v===t||v===null)break;i=v}if(u){for(let M of h)queueMicrotask(()=>{throw M});throw u}}finally{e.__root=t,delete e.currentTarget,Y(c),z(d)}}}function Jr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Wt(e,t){var n=y;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function pe(e,t){var n=(t&hr)!==0,s=(t&_r)!==0,r,i=!e.startsWith("<!>");return()=>{r===void 0&&(r=Jr(i?e:"<!>"+e),n||(r=Je(r)));var l=s||wn?document.importNode(r,!0):r.cloneNode(!0);if(n){var o=Je(l),a=l.lastChild;Wt(o,a)}else Wt(l,l);return l}}function fe(e,t){e!==null&&e.before(t)}function re(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Qr(e,t){return Xr(e,t)}const ge=new Map;function Xr(e,{target:t,anchor:n,props:s={},events:r,context:i,intro:l=!0}){Pr();var o=new Set,a=d=>{for(var u=0;u<d.length;u++){var h=d[u];if(!o.has(h)){o.add(h);var v=Zr(h);t.addEventListener(h,We,{passive:v});var g=ge.get(h);g===void 0?(document.addEventListener(h,We,{passive:v}),ge.set(h,1)):ge.set(h,g+1)}}};a(er(qn)),gt.add(a);var f=void 0,c=jr(()=>{var d=n??t.appendChild(Ze());return Tr(d,{pending:()=>{}},u=>{if(i){tt({});var h=w;h.c=i}r&&(s.$$events=r),f=e(u,s)||{},i&&nt()}),()=>{for(var u of o){t.removeEventListener(u,We);var h=ge.get(u);--h===0?(document.removeEventListener(u,We),ge.delete(u)):ge.set(u,h)}gt.delete(a),d!==n&&d.parentNode?.removeChild(d)}});return es.set(f,c),f}let es=new WeakMap;class ts{anchor;#t=new Map;#o=new Map;#e=new Map;#s=new Set;#i=!0;constructor(t,n=!0){this.anchor=t,this.#i=n}#r=()=>{var t=k;if(this.#t.has(t)){var n=this.#t.get(t),s=this.#o.get(n);if(s)Vr(s),this.#s.delete(n);else{var r=this.#e.get(n);r&&(this.#o.set(n,r.effect),this.#e.delete(n),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),s=r.effect)}for(const[i,l]of this.#t){if(this.#t.delete(i),i===t)break;const o=this.#e.get(l);o&&(U(o.effect),this.#e.delete(l))}for(const[i,l]of this.#o){if(i===n||this.#s.has(i))continue;const o=()=>{if(Array.from(this.#t.values()).includes(i)){var f=document.createDocumentFragment();Nn(l,f),f.append(Ze()),this.#e.set(i,{effect:l,fragment:f})}else U(l);this.#s.delete(i),this.#o.delete(i)};this.#i||!s?(this.#s.add(i),Pe(l,o,!1)):o()}}};#n=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[s,r]of this.#e)n.includes(s)||(U(r.effect),this.#e.delete(s))};ensure(t,n){var s=k,r=Lr();if(n&&!this.#o.has(t)&&!this.#e.has(t))if(r){var i=document.createDocumentFragment(),l=Ze();i.append(l),this.#e.set(t,{effect:J(()=>n(l)),fragment:i})}else this.#o.set(t,J(()=>n(this.anchor)));if(this.#t.set(s,t),r){for(const[o,a]of this.#o)o===t?s.skipped_effects.delete(a):s.skipped_effects.add(a);for(const[o,a]of this.#e)o===t?s.skipped_effects.delete(a.effect):s.skipped_effects.add(a.effect);s.oncommit(this.#r),s.ondiscard(this.#n)}else this.#r()}}function Ee(e,t,n=!1){var s=new ts(e),r=n?Te:0;function i(l,o){s.ensure(l,o)}Cn(()=>{var l=!1;t((o,a=!0)=>{l=!0,i(a,o)}),l||i(!1,null)},r)}const ns=Symbol("is custom element"),rs=Symbol("is html");function mt(e,t,n,s){var r=ss(e);r[t]!==(r[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&is(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ss(e){return e.__attributes??={[ns]:e.nodeName.includes("-"),[rs]:e.namespaceURI===pr}}var zt=new Map;function is(e){var t=e.getAttribute("is")||e.nodeName,n=zt.get(t);if(n)return n;zt.set(t,n=[]);for(var s,r=e,i=Element.prototype;i!==r;){s=Xt(r);for(var l in s)s[l].set&&n.push(l);r=yt(r)}return n}function os(e=!1){const t=w,n=t.l.u;if(!n)return;let s=()=>zr(t.s);if(e){let r=0,i={};const l=Tt(()=>{let o=!1;const a=t.s;for(const f in a)a[f]!==i[f]&&(i[f]=a[f],o=!0);return o&&r++,r});s=()=>p(l)}n.b.length&&Ur(()=>{Ht(t,s),ft(n.b)}),pt(()=>{const r=st(()=>n.m.map(rr));return()=>{for(const i of r)typeof i=="function"&&i()}}),n.a.length&&pt(()=>{Ht(t,s),ft(n.a)})}function Ht(e,t){if(e.l.s)for(const n of e.l.s)p(n);t()}function Bn(e,t,n){if(e==null)return t(void 0),ke;const s=st(()=>e.subscribe(t,n));return s.unsubscribe?()=>s.unsubscribe():s}const me=[];function Zt(e,t=ke){let n=null;const s=new Set;function r(o){if(ln(e,o)&&(e=o,n)){const a=!me.length;for(const f of s)f[1](),me.push(f,e);if(a){for(let f=0;f<me.length;f+=2)me[f][0](me[f+1]);me.length=0}}}function i(o){r(o(e))}function l(o,a=ke){const f=[o,a];return s.add(f),s.size===1&&(n=t(r,i)||ke),o(e),()=>{s.delete(f),s.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:l}}function ls(e){let t;return Bn(e,n=>t=n)(),t}let bt=Symbol();function Xe(e,t,n){const s=n[t]??={store:null,source:Or(void 0),unsubscribe:ke};if(s.store!==e&&!(bt in n))if(s.unsubscribe(),s.store=e??null,e==null)s.source.v=void 0,s.unsubscribe=ke;else{var r=!0;s.unsubscribe=Bn(e,i=>{r?s.source.v=i:E(s.source,i)}),r=!1}return e&&bt in n?ls(e):p(s.source)}function et(e,t){return e.set(t),t}function Dt(){const e={};function t(){Tn(()=>{for(var n in e)e[n].unsubscribe();Qt(e,bt,{enumerable:!1,value:!0})})}return[e,t]}function Mt(e){w===null&&sn(),Ue&&w.l!==null?as(w).m.push(e):pt(()=>{const t=st(e);if(typeof t=="function")return t})}function as(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}const fs="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(fs);mr();var us=pe("<strong>cc</strong> <br/>",1),cs=pe("<strong>bcc</strong> <br/>",1),ds=pe("<strong>subject</strong> <br/>",1),hs=pe("<strong>body</strong> <br/>",1),_s=pe('<dialog open><article><h4> </h4> <p><small><!> <!> <!> <!></small></p> <section><a href="#gmail">open in <strong>Gmail</strong></a> <a href="#outlook">open in <strong>Outlook</strong></a> <a href="#yahoo">open in <strong>Yahoo Mail</strong></a> <a><strong>open</strong> default</a> <a href="#copy"><strong> </strong></a></section> <footer><small><a href="https://github.com/Sammy-T/maildo" target="_blank">maildo</a></small></footer></article></dialog>');function ps(e,t){tt(t,!0);const n=()=>Xe(o,"$selectedMailto",s),[s,r]=Dt(),i="type-url",l="type-data",o=fn("selectedMailto");let a="",f=C(""),c=C(""),d=C(""),u=C(""),h=C(""),v=C(""),g=C(!1);function M(){const _=new URL(n().href),{searchParams:m}=_;E(f,_.pathname,!0),E(c,m.get("cc"),!0),E(d,m.get("bcc"),!0),E(u,m.get("subject"),!0),E(h,m.get("body"),!0)}function N(){const{dataset:_}=n();E(f,_.address&&_.domain?`${_.address}@${_.domain}`:"",!0),E(c,_.ccAddress&&_.ccDomain?`${_.ccAddress}@${_.ccDomain}`:"",!0),E(d,_.bccAddress&&_.bccDomain?`${_.bccAddress}@${_.bccDomain}`:"",!0),E(u,_.subject,!0),E(h,_.body,!0)}function B(){switch(a){case i:return n().href;case l:const _=new URLSearchParams;p(c)&&_.set("cc",p(c)),p(d)&&_.set("bcc",p(d)),p(u)&&_.set("subject",p(u)),p(h)&&_.set("body",p(h));const m=new URL(`mailto:${p(f)}`);return m.search=_.toString(),m.toString();default:return console.error(`Invalid mailto type: ${a}`),""}}function it(_){_.preventDefault();const m="https://mail.google.com/mail/?extsrc=mailto&url="+encodeURIComponent(p(v));window.open(m,"_blank","noopener, noreferrer"),ne()}function Ye(_){_.preventDefault();const m=new URLSearchParams;m.set("path","/mail/action/compose"),p(f)&&m.set("to",p(f)),p(u)&&m.set("subject",p(u)),p(h)&&m.set("body",p(h));const L=new URL("https://outlook.live.com/owa/");L.search=m.toString(),window.open(L.toString(),"_blank","noopener, noreferrer"),ne()}function Be(_){_.preventDefault();const m=new URLSearchParams;p(f)&&m.set("to",p(f)),p(u)&&m.set("subject",p(u)),p(h)&&m.set("body",p(h));const L=new URL("https://compose.mail.yahoo.com");L.search=m.toString(),window.open(L.toString(),"_blank","noopener, noreferrer"),ne()}async function Ve(_){_.preventDefault();try{await navigator.clipboard.writeText(p(f)),E(g,!0),setTimeout(ne,1500)}catch(m){console.error("Unable to copy to clipboard.",m)}}function ne(_=null){_&&_.currentTarget!==_.target||et(o,null)}Mt(()=>{n().href.startsWith("mailto:")?(a=i,M()):(a=l,N()),E(v,B(),!0)});var ve=_s();ve.__click=ne;var ot=$(ve),Ge=$(ot),P=$(Ge),ae=x(Ge,2),lt=$(ae),Rt=$(lt);{var Vn=_=>{var m=us(),L=x(Re(m));be(()=>re(L,` ${p(c)??""}`)),fe(_,m)};Ee(Rt,_=>{p(c)&&_(Vn)})}var $t=x(Rt,2);{var Gn=_=>{var m=cs(),L=x(Re(m));be(()=>re(L,` ${p(d)??""}`)),fe(_,m)};Ee($t,_=>{p(d)&&_(Gn)})}var Ot=x($t,2);{var Kn=_=>{var m=ds(),L=x(Re(m));be(()=>re(L,` ${p(u)??""}`)),fe(_,m)};Ee(Ot,_=>{p(u)&&_(Kn)})}var Wn=x(Ot,2);{var zn=_=>{var m=hs(),L=x(Re(m));be(()=>re(L,` ${p(h)??""}`)),fe(_,m)};Ee(Wn,_=>{p(h)&&_(zn)})}var Hn=x(ae,2),Nt=$(Hn);Nt.__click=it;var Pt=x(Nt,2);Pt.__click=Ye;var Lt=x(Pt,2);Lt.__click=Be;var Ft=x(Lt,2),Ut=x(Ft,2);Ut.__click=Ve;var Zn=$(Ut),Jn=$(Zn);be(()=>{re(P,p(f)),mt(Ft,"href",p(v)),re(Jn,p(g)?"copied":"copy")}),fe(e,ve),nt(),r()}Yn(["click"]);var vs=pe('<dialog open><article><h4> </h4> <section><a href="#whatsapp">open in <strong>WhatsApp</strong></a> <a href="#skype">open in <strong>Skype</strong></a> <a><strong>call</strong> as default</a> <a><strong>text</strong> as default</a> <a href="#copy"><strong> </strong></a></section> <footer><small><a href="https://github.com/Sammy-T/maildo" target="_blank">maildo</a></small></footer></article></dialog>');function gs(e,t){tt(t,!0);const n=()=>Xe(l,"$selectedCallto",s),[s,r]=Dt(),i=/^(tel:)|^(callto:)/,l=fn("selectedCallto");let o=C(""),a=C(!1);function f(){E(o,n().href.replace(i,""),!0)}function c(){const{dataset:P}=n();E(o,P.tel,!0)}function d(P){P.preventDefault();const lt=`https://wa.me/${p(o).replaceAll(/\D/g,"").replace(/^0+/,"")}`;window.open(lt,"_blank","noopener, noreferrer"),v()}function u(P){P.preventDefault();const ae=`skype:${encodeURIComponent(p(o))}`;window.open(ae,"_blank","noopener, noreferrer"),v()}async function h(P){P.preventDefault();try{await navigator.clipboard.writeText(p(o)),E(a,!0),setTimeout(v,1500)}catch(ae){console.error("Unable to copy to clipboard.",ae)}}function v(P=null){P&&P.currentTarget!==P.target||et(l,null)}Mt(()=>{i.test(n().href)?f():c()});var g=vs();g.__click=v;var M=$(g),N=$(M),B=$(N),it=x(N,2),Ye=$(it);Ye.__click=d;var Be=x(Ye,2);Be.__click=u;var Ve=x(Be,2),ne=x(Ve,2),ve=x(ne,2);ve.__click=h;var ot=$(ve),Ge=$(ot);be(()=>{re(B,p(o)),mt(Ve,"href",`tel:${p(o)}`),mt(ne,"href",`sms:${p(o)}`),re(Ge,p(a)?"copied":"copy")}),fe(e,g),nt(),r()}Yn(["click"]);var ms=pe("<!> <!>",1);function bs(e,t){tt(t,!1);const n=()=>Xe(a,"$selectedMailto",r),s=()=>Xe(f,"$selectedCallto",r),[r,i]=Dt(),l='a[href^="mailto:"]:not(.no-maildo), a[href="#maildo"][data-address], a.maildo[data-address]',o='a[href^="tel:"]:not(.no-maildo), a[href^="callto:"]:not(.no-maildo), a[href="#maildo"][data-tel], a.maildo[data-tel]',a=Zt(null);qt("selectedMailto",a);const f=Zt(null);qt("selectedCallto",f),Mt(()=>{const g=document.querySelectorAll(l),M=document.querySelectorAll(o);g.forEach(N=>{N.addEventListener("click",B=>{B.preventDefault(),et(a,N)})}),M.forEach(N=>{N.addEventListener("click",B=>{B.preventDefault(),et(f,N)})})}),os();var c=ms(),d=Re(c);{var u=g=>{ps(g,{})};Ee(d,g=>{n()&&g(u)})}var h=x(d,2);{var v=g=>{gs(g,{})};Ee(h,g=>{s()&&g(v)})}fe(e,c),nt(),i()}const Jt="maildo-app";function ys(){let e=document.getElementById(Jt);if(!e)e=document.createElement("slot"),e.id=Jt,document.body.appendChild(e);else if(e.childElementCount>0){console.warn("App target already exists");return}Qr(bs,{target:e})}ys();
|