@htmlbricks/hb-contact-item 0.66.0 → 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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Gn=1,Zn=4,Xn=8,Qn=16,er=1,tr=2,Qt="[",Ot="[!",en="]",Be={},k=Symbol(),Ct=!1;var nr=Array.isArray,rr=Array.prototype.indexOf,sr=Array.from,ht=Object.keys,dt=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,ir=Object.prototype,fr=Array.prototype,lr=Object.getPrototypeOf,tn=Object.isExtensible;function ar(e){for(var t=0;t<e.length;t++)e[t]()}function nn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const T=2,Pt=4,Dt=8,ie=16,fe=32,ge=64,_t=128,J=512,A=1024,D=2048,le=4096,Q=8192,ae=16384,vt=32768,Ye=65536,rn=1<<17,Lt=1<<18,ke=1<<19,or=1<<20,Ae=32768,It=1<<21,Mt=1<<22,me=1<<23,pt=Symbol("$state"),sn=Symbol("legacy props"),Ve=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ft=3,He=8;function ur(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function cr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function dr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function _r(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function vr(){throw new Error("https://svelte.dev/e/hydration_failed")}function pr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function gr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function yr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function wr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function gt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function $r(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function ye(e){g=e}let m;function M(e){if(e===null)throw gt(),Be;return m=e}function qt(){return M(G(m))}function K(e){if(g){if(G(m)!==null)throw gt(),Be;m=e}}function br(e=1){if(g){for(var t=e,n=m;t--;)n=G(n);m=n}}function fn(e=!0){for(var t=0,n=m;;){if(n.nodeType===He){var r=n.data;if(r===en){if(t===0)return n;t-=1}else(r===Qt||r===Ot)&&(t+=1)}var i=G(n);e&&n.remove(),n=i}}function Er(e){if(!e||e.nodeType!==He)throw gt(),Be;return e.data}function ln(e){return e===this.v}function Tr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function an(e){return!Tr(e,this.v)}let Sr=!1,B=null;function Je(e){B=e}function on(e,t=!1,n){B={p:B,i:!1,c:null,e:null,s:e,x:null,l:null}}function un(e){var t=B,n=t.e;if(n!==null){t.e=null;for(var r of n)kn(r)}return e!==void 0&&(t.x=e),t.i=!0,B=t.p,e??{}}function cn(){return!0}let Re=[];function hn(){var e=Re;Re=[],ar(e)}function jt(e){if(Re.length===0&&!Qe){var t=Re;queueMicrotask(()=>{t===Re&&hn()})}Re.push(e)}function xr(){for(;Re.length>0;)hn()}function dn(e){var t=p;if(t===null)return _.f|=me,e;if((t.f&vt)===0){if((t.f&_t)===0)throw e;t.b.error(e)}else Ke(e,t)}function Ke(e,t){for(;t!==null;){if((t.f&_t)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const mt=new Set;let b=null,Y=null,V=[],yt=null,Ut=!1,Qe=!1;class W{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){V=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#f(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(b=null,vn(n.render_effects),vn(n.effects),this.#a?.resolve()),Y=null}#f(t,n){t.f^=A;for(var r=t.first;r!==null;){var i=r.f,s=(i&(fe|ge))!==0,f=s&&(i&A)!==0,a=f||(i&Q)!==0||this.skipped_effects.has(r);if((r.f&_t)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!a&&r.fn!==null){s?r.f^=A:(i&Pt)!==0?n.effects.push(r):it(r)&&((r.f&ie)!==0&&n.block_effects.push(r),ft(r));var l=r.first;if(l!==null){r=l;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#l(t){for(const n of t)((n.f&D)!==0?this.#i:this.#s).push(n),this.#o(n.deps),R(n,A)}#o(t){if(t!==null)for(const n of t)(n.f&T)===0||(n.f&Ae)===0||(n.f^=Ae,this.#o(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&me)===0&&(this.current.set(t,t.v),Y?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,Y=null)}flush(){if(this.activate(),V.length>0){if(_n(),b!==null&&b!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(mt.size>1){this.previous.clear();var t=Y,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of mt){if(s===this){n=!1;continue}const f=[];for(const[l,o]of this.current){if(s.current.has(l))if(n&&o!==s.current.get(l))s.current.set(l,o);else continue;f.push(l)}if(f.length===0)continue;const a=[...s.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var i=V;V=[];const l=new Set,o=new Map;for(const c of f)pn(c,a,l,o);if(V.length>0){b=s,s.apply();for(const c of V)s.#f(c,r);s.deactivate()}V=i}}b=null,Y=t}this.committed=!0,mt.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#i)R(t,D),Ne(t);for(const t of this.#s)R(t,le),Ne(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=nn()).promise}static ensure(){if(b===null){const t=b=new W;mt.add(b),Qe||W.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){jt(t)}apply(){}}function we(e){var t=Qe;Qe=!0;try{for(var n;;){if(xr(),V.length===0&&(b?.flush(),V.length===0))return yt=null,n;_n()}}finally{Qe=t}}function _n(){var e=be;Ut=!0;var t=null;try{var n=0;for(Et(!0);V.length>0;){var r=W.ensure();if(n++>1e3){var i,s;kr()}r.process(V),$e.clear()}}finally{Ut=!1,Et(e),yt=null}}function kr(){try{_r()}catch(e){Ke(e,yt)}}let oe=null;function vn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ae|Q))===0&&it(r)&&(oe=new Set,ft(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?On(r):r.fn=null),oe?.size>0)){$e.clear();for(const i of oe){if((i.f&(ae|Q))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)oe.has(f)&&(oe.delete(f),s.push(f)),f=f.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];(l.f&(ae|Q))===0&&ft(l)}}oe.clear()}}oe=null}}function pn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&T)!==0?pn(i,t,n,r):(s&(Mt|ie))!==0&&(s&D)===0&&gn(i,t,r)&&(R(i,D),Ne(i))}}function gn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&T)!==0&&gn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Ne(e){for(var t=yt=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ut&&t===p&&(n&ie)!==0&&(n&Lt)===0)return;if((n&(ge|fe))!==0){if((n&A)===0)return;t.f^=A}}V.push(t)}function Ar(e){let t=0,n=et(0),r;return()=>{bt()&&(E(n),An(()=>(t===0&&(r=Yn(()=>e(()=>tt(n)))),t+=1,()=>{jt(()=>{t-=1,t===0&&(r?.(),r=void 0,tt(n))})})))}}var Rr=Ye|ke|_t;function Nr(e,t,n){new Or(e,t,n)}class Or{parent;#t=!1;#e;#n=g?m:null;#r;#a;#i;#s=null;#f=null;#l=null;#o=null;#u=null;#c=0;#h=0;#_=!1;#d=null;#y=Ar(()=>(this.#d=et(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=p.b,this.#t=!!this.#r.pending,this.#i=Jt(()=>{if(p.b=this,g){const s=this.#n;qt(),s.nodeType===He&&s.data===Ot?this.#$():this.#w()}else{var i=this.#g();try{this.#s=ce(()=>r(i))}catch(s){this.error(s)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Rr),g&&(this.#e=m)}#w(){try{this.#s=ce(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#f=ce(()=>t(this.#e)),W.enqueue(()=>{var n=this.#g();this.#s=this.#v(()=>(W.ensure(),ce(()=>this.#a(n)))),this.#h>0?this.#p():(rt(this.#f,()=>{this.#f=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=ee(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#v(t){var n=p,r=_,i=B;re(this.#i),I(this.#i),Je(this.#i.ctx);try{return t()}catch(s){return dn(s),null}finally{re(n),I(r),Je(i)}}#p(){const t=this.#r.pending;this.#s!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),Dn(this.#s,this.#o)),this.#f===null&&(this.#f=ce(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#f&&rt(this.#f,()=>{this.#f=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#d&&$t(this.#d,this.#c)}get_effect_pending(){return this.#y(),E(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#_||!n&&!r)throw t;this.#s&&(L(this.#s),this.#s=null),this.#f&&(L(this.#f),this.#f=null),this.#l&&(L(this.#l),this.#l=null),g&&(M(this.#n),br(),M(fn()));var i=!1,s=!1;const f=()=>{if(i){$r();return}i=!0,s&&wr(),W.ensure(),this.#c=0,this.#l!==null&&rt(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#_=!1,ce(()=>this.#a(this.#e)))),this.#h>0?this.#p():this.#t=!1};var a=_;try{I(null),s=!0,n?.(t,f),s=!1}catch(l){Ke(l,this.#i&&this.#i.parent)}finally{I(a)}r&&jt(()=>{this.#l=this.#v(()=>{W.ensure(),this.#_=!0;try{return ce(()=>{r(this.#e,()=>t,()=>f)})}catch(l){return Ke(l,this.#i.parent),null}finally{this.#_=!1}})})}}function Cr(e,t,n,r){const i=Bt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=b,f=p,a=Pr();function l(){Promise.all(n.map(o=>Dr(o))).then(o=>{a();try{r([...t.map(i),...o])}catch(c){(f.f&ae)===0&&Ke(c,f)}s?.deactivate(),wt()}).catch(o=>{Ke(o,f)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{s?.deactivate(),wt()}}):l()}function Pr(){var e=p,t=_,n=B,r=b;return function(s=!0){re(e),I(t),Je(n),s&&r?.activate()}}function wt(){re(null),I(null),Je(null)}function Bt(e){var t=T|D,n=_!==null&&(_.f&T)!==0?_:null;return p!==null&&(p.f|=ke),{ctx:B,deps:null,effects:null,equals:ln,f:t,fn:e,reactions:null,rv:0,v:k,wv:0,parent:n??p,ac:null}}function Dr(e,t){let n=p;n===null&&ur();var r=n.b,i=void 0,s=et(k),f=!_,a=new Map;return Wr(()=>{var l=nn();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{o===b&&o.committed&&o.deactivate(),wt()})}catch(u){l.reject(u),wt()}var o=b;if(f){var c=!r.is_pending();r.update_pending_count(1),o.increment(c),a.get(o)?.reject(Ve),a.delete(o),a.set(o,l)}const h=(u,d=void 0)=>{if(o.activate(),d)d!==Ve&&(s.f|=me,$t(s,d));else{(s.f&me)!==0&&(s.f^=me),$t(s,u);for(const[$,C]of a){if(a.delete($),$===o)break;C.reject(Ve)}}f&&(r.update_pending_count(-1),o.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),Yr(()=>{for(const l of a.values())l.reject(Ve)}),new Promise(l=>{function o(c){function h(){c===i?l(s):o(i)}c.then(h,h)}o(i)})}function Lr(e){const t=Bt(e);return t.equals=an,t}function mn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function Ir(e){for(var t=e.parent;t!==null;){if((t.f&T)===0)return(t.f&ae)===0?t:null;t=t.parent}return null}function Yt(e){var t,n=p;re(Ir(e));try{e.f&=~Ae,mn(e),t=jn(e)}finally{re(n)}return t}function yn(e){var t=Yt(e);if(e.equals(t)||(b?.is_fork||(e.v=t),e.wv=Fn()),!Pe)if(Y!==null)bt()&&Y.set(e,t);else{var n=(e.f&J)===0?le:A;R(e,n)}}let Vt=new Set;const $e=new Map;let wn=!1;function et(e,t){var n={f:0,v:e,reactions:null,equals:ln,rv:0,wv:0};return n}function z(e,t){const n=et(e);return Qr(n),n}function Mr(e,t=!1,n=!0){const r=et(e);return t||(r.equals=an),r}function y(e,t,n=!1){_!==null&&(!ne||(_.f&rn)!==0)&&cn()&&(_.f&(T|ie|Mt|rn))!==0&&!he?.includes(e)&&yr();let r=n?We(t):t;return $t(e,r)}function $t(e,t){if(!e.equals(t)){var n=e.v;Pe?$e.set(e,t):$e.set(e,n),e.v=t;var r=W.ensure();r.capture(e,n),(e.f&T)!==0&&((e.f&D)!==0&&Yt(e),R(e,(e.f&J)!==0?A:le)),e.wv=Fn(),$n(e,D),p!==null&&(p.f&A)!==0&&(p.f&(fe|ge))===0&&(H===null?es([e]):H.push(e)),!r.is_fork&&Vt.size>0&&!wn&&Fr()}return t}function Fr(){wn=!1;var e=be;Et(!0);const t=Array.from(Vt);try{for(const n of t)(n.f&A)!==0&&R(n,le),it(n)&&ft(n)}finally{Et(e)}Vt.clear()}function tt(e){y(e,e.v+1)}function $n(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],f=s.f,a=(f&D)===0;if(a&&R(s,t),(f&T)!==0){var l=s;Y?.delete(l),(f&Ae)===0&&(f&J&&(s.f|=Ae),$n(l,le))}else a&&((f&ie)!==0&&oe!==null&&oe.add(s),Ne(s))}}function We(e){if(typeof e!="object"||e===null||pt in e)return e;const t=lr(e);if(t!==ir&&t!==fr)return e;var n=new Map,r=nr(e),i=z(0),s=De,f=a=>{if(De===s)return a();var l=_,o=De;I(null),Mn(s);var c=a();return I(l),Mn(o),c};return r&&n.set("length",z(e.length)),new Proxy(e,{defineProperty(a,l,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&gr();var c=n.get(l);return c===void 0?c=f(()=>{var h=z(o.value);return n.set(l,h),h}):y(c,o.value,!0),!0},deleteProperty(a,l){var o=n.get(l);if(o===void 0){if(l in a){const c=f(()=>z(k));n.set(l,c),tt(i)}}else y(o,k),tt(i);return!0},get(a,l,o){if(l===pt)return e;var c=n.get(l),h=l in a;if(c===void 0&&(!h||xe(a,l)?.writable)&&(c=f(()=>{var d=We(h?a[l]:k),$=z(d);return $}),n.set(l,c)),c!==void 0){var u=E(c);return u===k?void 0:u}return Reflect.get(a,l,o)},getOwnPropertyDescriptor(a,l){var o=Reflect.getOwnPropertyDescriptor(a,l);if(o&&"value"in o){var c=n.get(l);c&&(o.value=E(c))}else if(o===void 0){var h=n.get(l),u=h?.v;if(h!==void 0&&u!==k)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return o},has(a,l){if(l===pt)return!0;var o=n.get(l),c=o!==void 0&&o.v!==k||Reflect.has(a,l);if(o!==void 0||p!==null&&(!c||xe(a,l)?.writable)){o===void 0&&(o=f(()=>{var u=c?We(a[l]):k,d=z(u);return d}),n.set(l,o));var h=E(o);if(h===k)return!1}return c},set(a,l,o,c){var h=n.get(l),u=l in a;if(r&&l==="length")for(var d=o;d<h.v;d+=1){var $=n.get(d+"");$!==void 0?y($,k):d in a&&($=f(()=>z(k)),n.set(d+"",$))}if(h===void 0)(!u||xe(a,l)?.writable)&&(h=f(()=>z(void 0)),y(h,We(o)),n.set(l,h));else{u=h.v!==k;var C=f(()=>We(o));y(h,C)}var P=Reflect.getOwnPropertyDescriptor(a,l);if(P?.set&&P.set.call(c,o),!u){if(r&&typeof l=="string"){var se=n.get("length"),x=Number(l);Number.isInteger(x)&&x>=se.v&&y(se,x+1)}tt(i)}return!0},ownKeys(a){E(i);var l=Reflect.ownKeys(a).filter(h=>{var u=n.get(h);return u===void 0||u.v!==k});for(var[o,c]of n)c.v!==k&&!(o in a)&&l.push(o);return l},setPrototypeOf(){mr()}})}var bn,En,Tn,Sn;function Ht(){if(bn===void 0){bn=window,En=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Tn=xe(t,"firstChild").get,Sn=xe(t,"nextSibling").get,tn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),tn(n)&&(n.__t=void 0)}}function ee(e=""){return document.createTextNode(e)}function Oe(e){return Tn.call(e)}function G(e){return Sn.call(e)}function Z(e,t){if(!g)return Oe(e);var n=Oe(m);if(n===null)n=m.appendChild(ee());else if(t&&n.nodeType!==Ft){var r=ee();return n?.before(r),M(r),r}return M(n),n}function ue(e,t=!1){if(!g){var n=Oe(e);return n instanceof Comment&&n.data===""?G(n):n}if(t&&m?.nodeType!==Ft){var r=ee();return m?.before(r),M(r),r}return m}function nt(e,t=1,n=!1){let r=g?m:e;for(var i;t--;)i=r,r=G(r);if(!g)return r;if(n&&r?.nodeType!==Ft){var s=ee();return r===null?i?.after(s):r.before(s),M(s),s}return M(r),r}function qr(e){e.textContent=""}function jr(){return!1}function xn(e){var t=_,n=p;I(null),re(null);try{return e()}finally{I(t),re(n)}}function Ur(e){p===null&&(_===null&&dr(),hr()),Pe&&cr()}function Br(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function te(e,t,n){var r=p;r!==null&&(r.f&Q)!==0&&(e|=Q);var i={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:e|D|J,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ft(i),i.f|=vt}catch(a){throw L(i),a}else t!==null&&Ne(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&ke)===0&&(s=s.first,(e&ie)!==0&&(e&Ye)!==0&&s!==null&&(s.f|=Ye)),s!==null&&(s.parent=r,r!==null&&Br(s,r),_!==null&&(_.f&T)!==0&&(e&ge)===0)){var f=_;(f.effects??=[]).push(s)}return i}function bt(){return _!==null&&!ne}function Yr(e){const t=te(Dt,null,!1);return R(t,A),t.teardown=e,t}function Vr(e){Ur();var t=p.f,n=!_&&(t&fe)!==0&&(t&vt)===0;if(n){var r=B;(r.e??=[]).push(e)}else return kn(e)}function kn(e){return te(Pt|or,e,!1)}function Hr(e){W.ensure();const t=te(ge|ke,e,!0);return()=>{L(t)}}function Jr(e){W.ensure();const t=te(ge|ke,e,!0);return(n={})=>new Promise(r=>{n.outro?rt(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function Kr(e){return te(Pt,e,!1)}function Wr(e){return te(Mt|ke,e,!0)}function An(e,t=0){return te(Dt|t,e,!0)}function Ce(e,t=[],n=[],r=[]){Cr(r,t,n,i=>{te(Dt,()=>e(...i.map(E)),!0)})}function Jt(e,t=0){var n=te(ie|t,e,!0);return n}function ce(e){return te(fe|ke,e,!0)}function Rn(e){var t=e.teardown;if(t!==null){const n=Pe,r=_;Ln(!0),I(null);try{t.call(null)}finally{Ln(n),I(r)}}}function Nn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&xn(()=>{i.abort(Ve)});var r=n.next;(n.f&ge)!==0?n.parent=null:L(n,t),n=r}}function zr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&fe)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&Lt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Gr(e.nodes_start,e.nodes_end),n=!0),Nn(e,t&&!n),Tt(e,0),R(e,ae);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Rn(e);var i=e.parent;i!==null&&i.first!==null&&On(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Gr(e,t){for(;e!==null;){var n=e===t?null:G(e);e.remove(),e=n}}function On(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 rt(e,t,n=!0){var r=[];Cn(e,r,!0),Zr(r,()=>{n&&L(e),t&&t()})}function Zr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Cn(e,t,n){if((e.f&Q)===0){if(e.f^=Q,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Ye)!==0||(r.f&fe)!==0&&(e.f&ie)!==0;Cn(r,t,s?n:!1),r=i}}}function Xr(e){Pn(e,!0)}function Pn(e,t){if((e.f&Q)!==0){e.f^=Q,(e.f&A)===0&&(R(e,D),Ne(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ye)!==0||(n.f&fe)!==0;Pn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function Dn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:G(n);t.append(n),n=i}}let be=!1;function Et(e){be=e}let Pe=!1;function Ln(e){Pe=e}let _=null,ne=!1;function I(e){_=e}let p=null;function re(e){p=e}let he=null;function Qr(e){_!==null&&(he===null?he=[e]:he.push(e))}let N=null,F=0,H=null;function es(e){H=e}let In=1,st=0,De=st;function Mn(e){De=e}function Fn(){return++In}function it(e){var t=e.f;if((t&D)!==0)return!0;if(t&T&&(e.f&=~Ae),(t&le)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(it(s)&&yn(s),s.wv>e.wv)return!0}(t&J)!==0&&Y===null&&R(e,A)}return!1}function qn(e,t,n=!0){var r=e.reactions;if(r!==null&&!he?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&T)!==0?qn(s,t,!1):t===s&&(n?R(s,D):(s.f&A)!==0&&R(s,le),Ne(s))}}function jn(e){var t=N,n=F,r=H,i=_,s=he,f=B,a=ne,l=De,o=e.f;N=null,F=0,H=null,_=(o&(fe|ge))===0?e:null,he=null,Je(e.ctx),ne=!1,De=++st,e.ac!==null&&(xn(()=>{e.ac.abort(Ve)}),e.ac=null);try{e.f|=It;var c=e.fn,h=c(),u=e.deps;if(N!==null){var d;if(Tt(e,F),u!==null&&F>0)for(u.length=F+N.length,d=0;d<N.length;d++)u[F+d]=N[d];else e.deps=u=N;if(be&&bt()&&(e.f&J)!==0)for(d=F;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&F<u.length&&(Tt(e,F),u.length=F);if(cn()&&H!==null&&!ne&&u!==null&&(e.f&(T|le|D))===0)for(d=0;d<H.length;d++)qn(H[d],e);return i!==null&&i!==e&&(st++,H!==null&&(r===null?r=H:r.push(...H))),(e.f&me)!==0&&(e.f^=me),h}catch($){return dn($)}finally{e.f^=It,N=t,F=n,H=r,_=i,he=s,Je(f),ne=a,De=l}}function ts(e,t){let n=t.reactions;if(n!==null){var r=rr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&T)!==0&&(N===null||!N.includes(t))&&(R(t,le),(t.f&J)!==0&&(t.f^=J,t.f&=~Ae),mn(t),Tt(t,0))}function Tt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ts(e,n[r])}function ft(e){var t=e.f;if((t&ae)===0){R(e,A);var n=p,r=be;p=e,be=!0;try{(t&ie)!==0?zr(e):Nn(e),Rn(e);var i=jn(e);e.teardown=typeof i=="function"?i:null,e.wv=In;var s;Ct&&Sr&&(e.f&D)!==0&&e.deps}finally{be=r,p=n}}}function E(e){var t=e.f,n=(t&T)!==0;if(_!==null&&!ne){var r=p!==null&&(p.f&ae)!==0;if(!r&&!he?.includes(e)){var i=_.deps;if((_.f&It)!==0)e.rv<st&&(e.rv=st,N===null&&i!==null&&i[F]===e?F++:N===null?N=[e]:N.includes(e)||N.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:s.includes(_)||s.push(_)}}}if(Pe){if($e.has(e))return $e.get(e);if(n){var f=e,a=f.v;return((f.f&A)===0&&f.reactions!==null||Bn(f))&&(a=Yt(f)),$e.set(f,a),a}}else n&&!Y?.has(e)&&(f=e,it(f)&&yn(f),be&&bt()&&(f.f&J)===0&&Un(f));if(Y?.has(e))return Y.get(e);if((e.f&me)!==0)throw e.v;return e.v}function Un(e){if(e.deps!==null){e.f^=J;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&T)!==0&&(t.f&J)===0&&Un(t)}}function Bn(e){if(e.v===k)return!0;if(e.deps===null)return!1;for(const t of e.deps)if($e.has(t)||(t.f&T)!==0&&Bn(t))return!0;return!1}function Yn(e){var t=ne;try{return ne=!0,e()}finally{ne=t}}const ns=-7169;function R(e,t){e.f=e.f&ns|t}const Vn=new Set,Kt=new Set;function rs(e){for(var t=0;t<e.length;t++)Vn.add(e[t]);for(var n of Kt)n(e)}let Hn=null;function St(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Hn=e;var f=0,a=Hn===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;l<=o&&(f=l)}if(s=i[f]||e.target,s!==t){dt(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=_,h=p;I(null),re(null);try{for(var u,d=[];s!==null;){var $=s.assignedSlot||s.parentNode||s.host||null;try{var C=s["__"+r];C!=null&&(!s.disabled||e.target===s)&&C.call(s,e)}catch(P){u?d.push(P):u=P}if(e.cancelBubble||$===t||$===null)break;s=$}if(u){for(let P of d)queueMicrotask(()=>{throw P});throw u}}finally{e.__root=t,delete e.currentTarget,I(c),re(h)}}}function ss(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ze(e,t){var n=p;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function S(e,t){var n=(t&er)!==0,r=(t&tr)!==0,i,s=!e.startsWith("<!>");return()=>{if(g)return ze(m,null),m;i===void 0&&(i=ss(s?e:"<!>"+e),n||(i=Oe(i)));var f=r||En?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=Oe(f),l=f.lastChild;ze(a,l)}else ze(f,f);return f}}function xt(){if(g)return ze(m,null),m;var e=document.createDocumentFragment(),t=document.createComment(""),n=ee();return e.append(t,n),ze(t,n),e}function w(e,t){if(g){var n=p;((n.f&vt)===0||n.nodes_end===null)&&(n.nodes_end=m),qt();return}e!==null&&e.before(t)}const is=["touchstart","touchmove"];function fs(e){return is.includes(e)}function lt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Jn(e,t){return Kn(e,t)}function ls(e,t){Ht(),t.intro=t.intro??!1;const n=t.target,r=g,i=m;try{for(var s=Oe(n);s&&(s.nodeType!==He||s.data!==Qt);)s=G(s);if(!s)throw Be;ye(!0),M(s);const f=Kn(e,{...t,anchor:s});return ye(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
-
`).some(
|
|
3
|
-
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}.iconcell.svelte-1t5sqpy {margin-right:5px;}`};function
|
|
1
|
+
(function(It){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Vn=1,Hn=4,zn=8,Jn=16,Gn=1,Wn=2,Lt="[",Ft="[!",jt="[?",qt="]",Ie={},D=Symbol(),Kn="http://www.w3.org/1999/xhtml",Zn=!1;var Xn=Array.isArray,Qn=Array.prototype.indexOf,Le=Array.prototype.includes,er=Array.from,nt=Object.keys,rt=Object.defineProperty,Ne=Object.getOwnPropertyDescriptor,tr=Object.prototype,nr=Array.prototype,rr=Object.getPrototypeOf,Ut=Object.isExtensible;const sr=()=>{};function ir(e){for(var t=0;t<e.length;t++)e[t]()}function Bt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const C=2,Fe=4,st=8,Yt=1<<24,ge=16,te=32,me=64,gt=128,B=512,k=1024,L=2048,ne=4096,re=8192,J=16384,ye=32768,Vt=1<<25,je=65536,Ht=1<<17,zt=1<<18,we=1<<19,lr=1<<20,ke=65536,mt=1<<21,yt=1<<22,be=1<<23,it=Symbol("$state"),Jt=Symbol("legacy props"),ae=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},lt=3,He=8;function ar(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function fr(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 ur(e){throw new Error("https://svelte.dev/e/effect_orphan")}function cr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function hr(){throw new Error("https://svelte.dev/e/hydration_failed")}function dr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function _r(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function vr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function pr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function gr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function at(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function mr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function $e(e){$=e}let b;function q(e){if(e===null)throw at(),Ie;return b=e}function wt(){return q(Z(b))}function G(e){if($){if(Z(b)!==null)throw at(),Ie;b=e}}function yr(e=1){if($){for(var t=e,n=b;t--;)n=Z(n);b=n}}function Gt(e=!0){for(var t=0,n=b;;){if(n.nodeType===He){var r=n.data;if(r===qt){if(t===0)return n;t-=1}else(r===Lt||r===Ft||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=Z(n);e&&n.remove(),n=s}}function wr(e){if(!e||e.nodeType!==He)throw at(),Ie;return e.data}function Wt(e){return e===this.v}function br(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Kt(e){return!br(e,this.v)}let $r=!1,Y=null;function qe(e){Y=e}function Zt(e,t=!1,n){Y={p:Y,i:!1,c:null,e:null,s:e,x:null,r:m,l:null}}function Xt(e){var t=Y,n=t.e;if(n!==null){t.e=null;for(var r of n)bn(r)}return e!==void 0&&(t.x=e),t.i=!0,Y=t.p,e??{}}function Qt(){return!0}let Re=[];function en(){var e=Re;Re=[],ir(e)}function Ue(e){if(Re.length===0&&!ze){var t=Re;queueMicrotask(()=>{t===Re&&en()})}Re.push(e)}function Er(){for(;Re.length>0;)en()}function tn(e){var t=m;if(t===null)return g.f|=be,e;if((t.f&ye)===0&&(t.f&Fe)===0)throw e;Ee(e,t)}function Ee(e,t){for(;t!==null;){if((t.f>)!==0){if((t.f&ye)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Tr=-7169;function x(e,t){e.f=e.f&Tr|t}function bt(e){(e.f&B)!==0||e.deps===null?x(e,k):x(e,ne)}function nn(e){if(e!==null)for(const t of e)(t.f&C)===0||(t.f&ke)===0||(t.f^=ke,nn(t.deps))}function rn(e,t,n){(e.f&L)!==0?t.add(e):(e.f&ne)!==0&&n.add(e),nn(e.deps),x(e,k)}let ft=!1;function Sr(e){var t=ft;try{return ft=!1,[e(),ft]}finally{ft=t}}const Te=new Set;let E=null,W=null,$t=null,ze=!1,Et=!1,Be=null,ot=null;var sn=0;let xr=1;class fe{id=xr++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#s=new Map;#i=null;#r=[];#l=new Set;#a=new Set;#f=new Map;is_fork=!1;#c=!1;#o=new Set;#h(){return this.is_fork||this.#s.size>0}#_(){for(const r of this.#o)for(const s of r.#s.keys()){for(var t=!1,n=s;n.parent!==null;){if(this.#f.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#f.has(t)||this.#f.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#f.get(t);if(n){this.#f.delete(t);for(var r of n.d)x(r,L),this.schedule(r);for(r of n.m)x(r,ne),this.schedule(r)}}#d(){if(sn++>1e3&&(Te.delete(this),Ar()),!this.#h()){for(const l of this.#l)this.#a.delete(l),x(l,L),this.schedule(l);for(const l of this.#a)x(l,ne),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Be=[],r=[],s=ot=[];for(const l of t)try{this.#u(l,n,r)}catch(f){throw un(l),f}if(E=null,s.length>0){var i=fe.ensure();for(const l of s)i.schedule(l)}if(Be=null,ot=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,f]of this.#f)on(l,f)}else{this.#t.size===0&&Te.delete(this),this.#l.clear(),this.#a.clear();for(const l of this.#e)l(this);this.#e.clear(),ln(r),ln(n),this.#i?.resolve()}var a=E;if(this.#r.length>0){const l=a??=this;l.#r.push(...this.#r.filter(f=>!l.#r.includes(f)))}a!==null&&(Te.add(a),a.#d()),Te.has(this)||this.#p()}#u(t,n,r){t.f^=k;for(var s=t.first;s!==null;){var i=s.f,a=(i&(te|me))!==0,l=a&&(i&k)!==0,f=l||(i&re)!==0||this.#f.has(s);if(!f&&s.fn!==null){a?s.f^=k:(i&Fe)!==0?n.push(s):Xe(s)&&((i&ge)!==0&&this.#a.add(s),Ve(s));var o=s.first;if(o!==null){s=o;continue}}for(;s!==null;){var u=s.next;if(u!==null){s=u;break}s=s.parent}}}#v(t){for(var n=0;n<t.length;n+=1)rn(t[n],this.#l,this.#a)}capture(t,n,r=!1){n!==D&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&be)===0&&(this.current.set(t,[t.v,r]),W?.set(t,t.v))}activate(){E=this}deactivate(){E=null,W=null}flush(){try{Et=!0,E=this,this.#d()}finally{sn=0,$t=null,Be=null,ot=null,Et=!1,E=null,W=null,xe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),Te.delete(this)}#p(){for(const o of Te){var t=o.id<this.id,n=[];for(const[u,[h,c]]of this.current){if(o.current.has(u)){var r=o.current.get(u)[0];if(t&&h!==r)o.current.set(u,[h,c]);else continue}n.push(u)}var s=[...o.current.keys()].filter(u=>!this.current.has(u));if(s.length===0)t&&o.discard();else if(n.length>0){o.activate();var i=new Set,a=new Map;for(var l of n)an(l,s,i,a);if(o.#r.length>0){o.apply();for(var f of o.#r)o.#u(f,[],[]);o.#r=[]}o.deactivate()}}for(const o of Te)o.#o.has(this)&&(o.#o.delete(this),o.#o.size===0&&!o.#h()&&(o.activate(),o.#d()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let s=this.#s.get(n)??0;this.#s.set(n,s+1)}}decrement(t,n,r){let s=this.#t.get(n)??0;if(s===1?this.#t.delete(n):this.#t.set(n,s-1),t){let i=this.#s.get(n)??0;i===1?this.#s.delete(n):this.#s.set(n,i-1)}this.#c||r||(this.#c=!0,Ue(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#a.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#i??=Bt()).promise}static ensure(){if(E===null){const t=E=new fe;Et||(Te.add(E),ze||Ue(()=>{E===t&&t.flush()}))}return E}apply(){{W=null;return}}schedule(t){if($t=t,t.b?.is_pending&&(t.f&(Fe|st|Yt))!==0&&(t.f&ye)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Be!==null&&n===m&&(g===null||(g.f&C)===0))return;if((r&(me|te))!==0){if((r&k)===0)return;n.f^=k}}this.#r.push(n)}}function Se(e){var t=ze;ze=!0;try{for(var n;;){if(Er(),E===null)return n;E.flush()}}finally{ze=t}}function Ar(){try{cr()}catch(e){Ee(e,$t)}}let oe=null;function ln(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(J|re))===0&&Xe(r)&&(oe=new Set,Ve(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Tn(r),oe?.size>0)){xe.clear();for(const s of oe){if((s.f&(J|re))!==0)continue;const i=[s];let a=s.parent;for(;a!==null;)oe.has(a)&&(oe.delete(a),i.push(a)),a=a.parent;for(let l=i.length-1;l>=0;l--){const f=i[l];(f.f&(J|re))===0&&Ve(f)}}oe.clear()}}oe=null}}function an(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?an(s,t,n,r):(i&(yt|ge))!==0&&(i&L)===0&&fn(s,t,r)&&(x(s,L),Tt(s))}}function fn(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(Le.call(t,s))return!0;if((s.f&C)!==0&&fn(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function Tt(e){E.schedule(e)}function on(e,t){if(!((e.f&te)!==0&&(e.f&k)!==0)){(e.f&L)!==0?t.d.push(e):(e.f&ne)!==0&&t.m.push(e),x(e,k);for(var n=e.first;n!==null;)on(n,t),n=n.next}}function un(e){x(e,k);for(var t=e.first;t!==null;)un(t),t=t.next}function Nr(e){let t=0,n=Je(0),r;return()=>{Ot()&&(P(n),$n(()=>(t===0&&(r=In(()=>e(()=>Ge(n)))),t+=1,()=>{Ue(()=>{t-=1,t===0&&(r?.(),r=void 0,Ge(n))})})))}}var kr=je|we;function Rr(e,t,n,r){new Or(e,t,n,r)}class Or{parent;is_pending=!1;transform_error;#e;#n=$?b:null;#t;#s;#i;#r=null;#l=null;#a=null;#f=null;#c=0;#o=0;#h=!1;#_=new Set;#d=new Set;#u=null;#v=Nr(()=>(this.#u=Je(this.#c),()=>{this.#u=null}));constructor(t,n,r,s){this.#e=t,this.#t=n,this.#s=i=>{var a=m;a.b=this,a.f|=gt,r(i)},this.parent=m.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#i=Ct(()=>{if($){const i=this.#n;wt();const a=i.data===Ft;if(i.data.startsWith(jt)){const f=JSON.parse(i.data.slice(jt.length));this.#b(f)}else a?this.#$():this.#p()}else this.#y()},kr),$&&(this.#e=b)}#p(){try{this.#r=ce(()=>this.#s(this.#e))}catch(t){this.error(t)}}#b(t){const n=this.#t.failed;n&&(this.#a=ce(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=ce(()=>t(this.#e)),Ue(()=>{var n=this.#f=document.createDocumentFragment(),r=ue();n.append(r),this.#r=this.#m(()=>ce(()=>this.#s(r))),this.#o===0&&(this.#e.before(n),this.#f=null,Ze(this.#l,()=>{this.#l=null}),this.#g(E))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#o=0,this.#c=0,this.#r=ce(()=>{this.#s(this.#e)}),this.#o>0){var t=this.#f=document.createDocumentFragment();An(this.#r,t);const n=this.#t.pending;this.#l=ce(()=>n(this.#e))}else this.#g(E)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){rn(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=m,r=g,s=Y;ie(this.#i),V(this.#i),qe(this.#i.ctx);try{return fe.ensure(),t()}catch(i){return tn(i),null}finally{ie(n),V(r),qe(s)}}#w(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,n);return}this.#o+=t,this.#o===0&&(this.#g(n),this.#l&&Ze(this.#l,()=>{this.#l=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t,n){this.#w(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,Ue(()=>{this.#h=!1,this.#u&&ct(this.#u,this.#c)}))}get_effect_pending(){return this.#v(),P(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(F(this.#r),this.#r=null),this.#l&&(F(this.#l),this.#l=null),this.#a&&(F(this.#a),this.#a=null),$&&(q(this.#n),yr(),q(Gt()));var s=!1,i=!1;const a=()=>{if(s){mr();return}s=!0,i&&gr(),this.#a!==null&&Ze(this.#a,()=>{this.#a=null}),this.#m(()=>{this.#y()})},l=f=>{try{i=!0,n?.(f,a),i=!1}catch(o){Ee(o,this.#i&&this.#i.parent)}r&&(this.#a=this.#m(()=>{try{return ce(()=>{var o=m;o.b=this,o.f|=gt,r(this.#e,()=>f,()=>a)})}catch(o){return Ee(o,this.#i.parent),null}}))};Ue(()=>{var f;try{f=this.transform_error(t)}catch(o){Ee(o,this.#i&&this.#i.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(l,o=>Ee(o,this.#i&&this.#i.parent)):l(f)})}}function Cr(e,t,n,r){const s=St;var i=e.filter(c=>!c.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var a=m,l=Pr(),f=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(c=>c.promise)):null;function o(c){l();try{r(c)}catch(d){(a.f&J)===0&&Ee(d,a)}ut()}if(n.length===0){f.then(()=>o(t.map(s)));return}var u=cn();function h(){Promise.all(n.map(c=>Mr(c))).then(c=>o([...t.map(s),...c])).catch(c=>Ee(c,a)).finally(()=>u())}f?f.then(()=>{l(),h(),ut()}):h()}function Pr(){var e=m,t=g,n=Y,r=E;return function(i=!0){ie(e),V(t),qe(n),i&&(e.f&J)===0&&(r?.activate(),r?.apply())}}function ut(e=!0){ie(null),V(null),qe(null),e&&E?.deactivate()}function cn(){var e=m,t=e.b,n=E,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(s=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,s)}}function St(e){var t=C|L,n=g!==null&&(g.f&C)!==0?g:null;return m!==null&&(m.f|=we),{ctx:Y,deps:null,effects:null,equals:Wt,f:t,fn:e,reactions:null,rv:0,v:D,wv:0,parent:n??m,ac:null}}function Mr(e,t,n){let r=m;r===null&&ar();var s=void 0,i=Je(D),a=!g,l=new Map;return Kr(()=>{var f=m,o=Bt();s=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(ut)}catch(d){o.reject(d),ut()}var u=E;if(a){if((f.f&ye)!==0)var h=cn();if(r.b.is_rendered())l.get(u)?.reject(ae),l.delete(u);else{for(const d of l.values())d.reject(ae);l.clear()}l.set(u,o)}const c=(d,_=void 0)=>{if(h){var y=_===ae;h(y)}if(!(_===ae||(f.f&J)!==0)){if(u.activate(),_)i.f|=be,ct(i,_);else{(i.f&be)!==0&&(i.f^=be),ct(i,d);for(const[T,R]of l){if(l.delete(T),T===u)break;R.reject(ae)}}u.deactivate()}};o.promise.then(c,d=>c(null,d||"unknown"))}),Hr(()=>{for(const f of l.values())f.reject(ae)}),new Promise(f=>{function o(u){function h(){u===s?f(i):o(s)}u.then(h,h)}o(s)})}function Dr(e){const t=St(e);return t.equals=Kt,t}function Ir(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)F(t[n])}}function Lr(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return(t.f&J)===0?t:null;t=t.parent}return null}function xt(e){var t,n=m;ie(Lr(e));try{e.f&=~ke,Ir(e),t=Pn(e)}finally{ie(n)}return t}function hn(e){var t=e.v,n=xt(e);if(!e.equals(n)&&(e.wv=On(),(!E?.is_fork||e.deps===null)&&(e.v=n,E?.capture(e,t,!0),e.deps===null))){x(e,k);return}Ae||(W!==null?(Ot()||E?.is_fork)&&W.set(e,n):bt(e))}function Fr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ae),t.teardown=sr,t.ac=null,Qe(t,0),Pt(t))}function dn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ve(t)}let At=new Set;const xe=new Map;let _n=!1;function Je(e,t){var n={f:0,v:e,reactions:null,equals:Wt,rv:0,wv:0};return n}function K(e,t){const n=Je(e);return es(n),n}function jr(e,t=!1,n=!0){const r=Je(e);return t||(r.equals=Kt),r}function S(e,t,n=!1){g!==null&&(!Q||(g.f&Ht)!==0)&&Qt()&&(g.f&(C|ge|yt|Ht))!==0&&(H===null||!Le.call(H,e))&&pr();let r=n?Ye(t):t;return ct(e,r,ot)}function ct(e,t,n=null){if(!e.equals(t)){var r=e.v;Ae?xe.set(e,t):xe.set(e,r),e.v=t;var s=fe.ensure();if(s.capture(e,r),(e.f&C)!==0){const i=e;(e.f&L)!==0&&xt(i),W===null&&bt(i)}e.wv=On(),vn(e,L,n),m!==null&&(m.f&k)!==0&&(m.f&(te|me))===0&&(z===null?ts([e]):z.push(e)),!s.is_fork&&At.size>0&&!_n&&qr()}return t}function qr(){_n=!1;for(const e of At)(e.f&k)!==0&&x(e,ne),Xe(e)&&Ve(e);At.clear()}function Ge(e){S(e,e.v+1)}function vn(e,t,n){var r=e.reactions;if(r!==null)for(var s=r.length,i=0;i<s;i++){var a=r[i],l=a.f,f=(l&L)===0;if(f&&x(a,t),(l&C)!==0){var o=a;W?.delete(o),(l&ke)===0&&(l&B&&(a.f|=ke),vn(o,ne,n))}else if(f){var u=a;(l&ge)!==0&&oe!==null&&oe.add(u),n!==null?n.push(u):Tt(u)}}}function Ye(e){if(typeof e!="object"||e===null||it in e)return e;const t=rr(e);if(t!==tr&&t!==nr)return e;var n=new Map,r=Xn(e),s=K(0),i=Me,a=l=>{if(Me===i)return l();var f=g,o=Me;V(null),Rn(i);var u=l();return V(f),Rn(o),u};return r&&n.set("length",K(e.length)),new Proxy(e,{defineProperty(l,f,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&_r();var u=n.get(f);return u===void 0?a(()=>{var h=K(o.value);return n.set(f,h),h}):S(u,o.value,!0),!0},deleteProperty(l,f){var o=n.get(f);if(o===void 0){if(f in l){const u=a(()=>K(D));n.set(f,u),Ge(s)}}else S(o,D),Ge(s);return!0},get(l,f,o){if(f===it)return e;var u=n.get(f),h=f in l;if(u===void 0&&(!h||Ne(l,f)?.writable)&&(u=a(()=>{var d=Ye(h?l[f]:D),_=K(d);return _}),n.set(f,u)),u!==void 0){var c=P(u);return c===D?void 0:c}return Reflect.get(l,f,o)},getOwnPropertyDescriptor(l,f){var o=Reflect.getOwnPropertyDescriptor(l,f);if(o&&"value"in o){var u=n.get(f);u&&(o.value=P(u))}else if(o===void 0){var h=n.get(f),c=h?.v;if(h!==void 0&&c!==D)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(l,f){if(f===it)return!0;var o=n.get(f),u=o!==void 0&&o.v!==D||Reflect.has(l,f);if(o!==void 0||m!==null&&(!u||Ne(l,f)?.writable)){o===void 0&&(o=a(()=>{var c=u?Ye(l[f]):D,d=K(c);return d}),n.set(f,o));var h=P(o);if(h===D)return!1}return u},set(l,f,o,u){var h=n.get(f),c=f in l;if(r&&f==="length")for(var d=o;d<h.v;d+=1){var _=n.get(d+"");_!==void 0?S(_,D):d in l&&(_=a(()=>K(D)),n.set(d+"",_))}if(h===void 0)(!c||Ne(l,f)?.writable)&&(h=a(()=>K(void 0)),S(h,Ye(o)),n.set(f,h));else{c=h.v!==D;var y=a(()=>Ye(o));S(h,y)}var T=Reflect.getOwnPropertyDescriptor(l,f);if(T?.set&&T.set.call(u,o),!c){if(r&&typeof f=="string"){var R=n.get("length"),A=Number(f);Number.isInteger(A)&&A>=R.v&&S(R,A+1)}Ge(s)}return!0},ownKeys(l){P(s);var f=Reflect.ownKeys(l).filter(h=>{var c=n.get(h);return c===void 0||c.v!==D});for(var[o,u]of n)u.v!==D&&!(o in l)&&f.push(o);return f},setPrototypeOf(){vr()}})}var pn,gn,mn,yn;function Nt(){if(pn===void 0){pn=window,gn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;mn=Ne(t,"firstChild").get,yn=Ne(t,"nextSibling").get,Ut(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ut(n)&&(n.__t=void 0)}}function ue(e=""){return document.createTextNode(e)}function Oe(e){return mn.call(e)}function Z(e){return yn.call(e)}function X(e,t){if(!$)return Oe(e);var n=Oe(b);if(n===null)n=b.appendChild(ue());else if(t&&n.nodeType!==lt){var r=ue();return n?.before(r),q(r),r}return t&&Rt(n),q(n),n}function We(e,t=!1){if(!$){var n=Oe(e);return n instanceof Comment&&n.data===""?Z(n):n}if(t){if(b?.nodeType!==lt){var r=ue();return b?.before(r),q(r),r}Rt(b)}return b}function Ke(e,t=1,n=!1){let r=$?b:e;for(var s;t--;)s=r,r=Z(r);if(!$)return r;if(n){if(r?.nodeType!==lt){var i=ue();return r===null?s?.after(i):r.before(i),q(i),i}Rt(r)}return q(r),r}function Ur(e){e.textContent=""}function Br(){return!1}function kt(e,t,n){return document.createElementNS(Kn,e,void 0)}function Rt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===lt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function wn(e){var t=g,n=m;V(null),ie(null);try{return e()}finally{V(t),ie(n)}}function Yr(e){m===null&&(g===null&&ur(),or()),Ae&&fr()}function Vr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function se(e,t){var n=m;n!==null&&(n.f&re)!==0&&(e|=re);var r={ctx:Y,deps:null,nodes:null,f:e|L|B,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},s=r;if((e&Fe)!==0)Be!==null?Be.push(r):fe.ensure().schedule(r);else if(t!==null){try{Ve(r)}catch(a){throw F(r),a}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&we)===0&&(s=s.first,(e&ge)!==0&&(e&je)!==0&&s!==null&&(s.f|=je))}if(s!==null&&(s.parent=n,n!==null&&Vr(s,n),g!==null&&(g.f&C)!==0&&(e&me)===0)){var i=g;(i.effects??=[]).push(s)}return r}function Ot(){return g!==null&&!Q}function Hr(e){const t=se(st,null);return x(t,k),t.teardown=e,t}function zr(e){Yr();var t=m.f,n=!g&&(t&te)!==0&&(t&ye)===0;if(n){var r=Y;(r.e??=[]).push(e)}else return bn(e)}function bn(e){return se(Fe|lr,e)}function Jr(e){fe.ensure();const t=se(me|we,e);return()=>{F(t)}}function Gr(e){fe.ensure();const t=se(me|we,e);return(n={})=>new Promise(r=>{n.outro?Ze(t,()=>{F(t),r(void 0)}):(F(t),r(void 0))})}function Wr(e){return se(Fe,e)}function Kr(e){return se(yt|we,e)}function $n(e,t=0){return se(st|t,e)}function Ce(e,t=[],n=[],r=[]){Cr(r,t,n,s=>{se(st,()=>e(...s.map(P)))})}function Ct(e,t=0){var n=se(ge|t,e);return n}function ce(e){return se(te|we,e)}function En(e){var t=e.teardown;if(t!==null){const n=Ae,r=g;Nn(!0),V(null);try{t.call(null)}finally{Nn(n),V(r)}}}function Pt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&wn(()=>{s.abort(ae)});var r=n.next;(n.f&me)!==0?n.parent=null:F(n,t),n=r}}function Zr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&te)===0&&F(t),t=n}}function F(e,t=!0){var n=!1;(t||(e.f&zt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Xr(e.nodes.start,e.nodes.end),n=!0),x(e,Vt),Pt(e,t&&!n),Qe(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();En(e),e.f^=Vt,e.f|=J;var s=e.parent;s!==null&&s.first!==null&&Tn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Xr(e,t){for(;e!==null;){var n=e===t?null:Z(e);e.remove(),e=n}}function Tn(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 Ze(e,t,n=!0){var r=[];Sn(e,r,!0);var s=()=>{n&&F(e),t&&t()},i=r.length;if(i>0){var a=()=>--i||s();for(var l of r)l.out(a)}else s()}function Sn(e,t,n){if((e.f&re)===0){e.f^=re;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,a=(s.f&je)!==0||(s.f&te)!==0&&(e.f&ge)!==0;Sn(s,t,a?n:!1),s=i}}}function Qr(e){xn(e,!0)}function xn(e,t){if((e.f&re)!==0){e.f^=re,(e.f&k)===0&&(x(e,L),fe.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&je)!==0||(n.f&te)!==0;xn(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const a of i)(a.is_global||t)&&a.in()}}function An(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:Z(n);t.append(n),n=s}}let ht=!1,Ae=!1;function Nn(e){Ae=e}let g=null,Q=!1;function V(e){g=e}let m=null;function ie(e){m=e}let H=null;function es(e){g!==null&&(H===null?H=[e]:H.push(e))}let j=null,U=0,z=null;function ts(e){z=e}let kn=1,Pe=0,Me=Pe;function Rn(e){Me=e}function On(){return++kn}function Xe(e){var t=e.f;if((t&L)!==0)return!0;if(t&C&&(e.f&=~ke),(t&ne)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Xe(i)&&hn(i),i.wv>e.wv)return!0}(t&B)!==0&&W===null&&x(e,k)}return!1}function Cn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(H!==null&&Le.call(H,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&C)!==0?Cn(i,t,!1):t===i&&(n?x(i,L):(i.f&k)!==0&&x(i,ne),Tt(i))}}function Pn(e){var t=j,n=U,r=z,s=g,i=H,a=Y,l=Q,f=Me,o=e.f;j=null,U=0,z=null,g=(o&(te|me))===0?e:null,H=null,qe(e.ctx),Q=!1,Me=++Pe,e.ac!==null&&(wn(()=>{e.ac.abort(ae)}),e.ac=null);try{e.f|=mt;var u=e.fn,h=u();e.f|=ye;var c=e.deps,d=E?.is_fork;if(j!==null){var _;if(d||Qe(e,U),c!==null&&U>0)for(c.length=U+j.length,_=0;_<j.length;_++)c[U+_]=j[_];else e.deps=c=j;if(Ot()&&(e.f&B)!==0)for(_=U;_<c.length;_++)(c[_].reactions??=[]).push(e)}else!d&&c!==null&&U<c.length&&(Qe(e,U),c.length=U);if(Qt()&&z!==null&&!Q&&c!==null&&(e.f&(C|ne|L))===0)for(_=0;_<z.length;_++)Cn(z[_],e);if(s!==null&&s!==e){if(Pe++,s.deps!==null)for(let y=0;y<n;y+=1)s.deps[y].rv=Pe;if(t!==null)for(const y of t)y.rv=Pe;z!==null&&(r===null?r=z:r.push(...z))}return(e.f&be)!==0&&(e.f^=be),h}catch(y){return tn(y)}finally{e.f^=mt,j=t,U=n,z=r,g=s,H=i,qe(a),Q=l,Me=f}}function ns(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&&(j===null||!Le.call(j,t))){var i=t;(i.f&B)!==0&&(i.f^=B,i.f&=~ke),bt(i),Fr(i),Qe(i,0)}}function Qe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ns(e,n[r])}function Ve(e){var t=e.f;if((t&J)===0){x(e,k);var n=m,r=ht;m=e,ht=!0;try{(t&(ge|Yt))!==0?Zr(e):Pt(e),En(e);var s=Pn(e);e.teardown=typeof s=="function"?s:null,e.wv=kn;var i;Zn&&$r&&(e.f&L)!==0&&e.deps}finally{ht=r,m=n}}}function P(e){var t=e.f,n=(t&C)!==0;if(g!==null&&!Q){var r=m!==null&&(m.f&J)!==0;if(!r&&(H===null||!Le.call(H,e))){var s=g.deps;if((g.f&mt)!==0)e.rv<Pe&&(e.rv=Pe,j===null&&s!==null&&s[U]===e?U++:j===null?j=[e]:j.push(e));else{(g.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[g]:Le.call(i,g)||i.push(g)}}}if(Ae&&xe.has(e))return xe.get(e);if(n){var a=e;if(Ae){var l=a.v;return((a.f&k)===0&&a.reactions!==null||Dn(a))&&(l=xt(a)),xe.set(a,l),l}var f=(a.f&B)===0&&!Q&&g!==null&&(ht||(g.f&B)!==0),o=(a.f&ye)===0;Xe(a)&&(f&&(a.f|=B),hn(a)),f&&!o&&(dn(a),Mn(a))}if(W?.has(e))return W.get(e);if((e.f&be)!==0)throw e.v;return e.v}function Mn(e){if(e.f|=B,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&C)!==0&&(t.f&B)===0&&(dn(t),Mn(t))}function Dn(e){if(e.v===D)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(xe.has(t)||(t.f&C)!==0&&Dn(t))return!0;return!1}function In(e){var t=Q;try{return Q=!0,e()}finally{Q=t}}const et=Symbol("events"),Ln=new Set,Mt=new Set;function rs(e,t,n){(t[et]??={})[e]=n}function ss(e){for(var t=0;t<e.length;t++)Ln.add(e[t]);for(var n of Mt)n(e)}let Fn=null;function jn(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Fn=e;var a=0,l=Fn===e&&e[et];if(l){var f=s.indexOf(l);if(f!==-1&&(t===document||t===window)){e[et]=t;return}var o=s.indexOf(t);if(o===-1)return;f<=o&&(a=f)}if(i=s[a]||e.target,i!==t){rt(e,"currentTarget",{configurable:!0,get(){return i||n}});var u=g,h=m;V(null),ie(null);try{for(var c,d=[];i!==null;){var _=i.assignedSlot||i.parentNode||i.host||null;try{var y=i[et]?.[r];y!=null&&(!i.disabled||e.target===i)&&y.call(i,e)}catch(T){c?d.push(T):c=T}if(e.cancelBubble||_===t||_===null)break;i=_}if(c){for(let T of d)queueMicrotask(()=>{throw T});throw c}}finally{e[et]=t,delete e.currentTarget,V(u),ie(h)}}}const is=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ls(e){return is?.createHTML(e)??e}function as(e){var t=kt("template");return t.innerHTML=ls(e.replaceAll("<!>","<!---->")),t.content}function dt(e,t){var n=m;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function I(e,t){var n=(t&Gn)!==0,r=(t&Wn)!==0,s,i=!e.startsWith("<!>");return()=>{if($)return dt(b,null),b;s===void 0&&(s=as(i?e:"<!>"+e),n||(s=Oe(s)));var a=r||gn?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=Oe(a),f=a.lastChild;dt(l,f)}else dt(a,a);return a}}function M(e,t){if($){var n=m;((n.f&ye)===0||n.nodes.end===null)&&(n.nodes.end=b),wt();return}e!==null&&e.before(t)}const fs=["touchstart","touchmove"];function os(e){return fs.includes(e)}function tt(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function qn(e,t){return Un(e,t)}function us(e,t){Nt(),t.intro=t.intro??!1;const n=t.target,r=$,s=b;try{for(var i=Oe(n);i&&(i.nodeType!==He||i.data!==Lt);)i=Z(i);if(!i)throw Ie;$e(!0),q(i);const a=Un(e,{...t,anchor:i});return $e(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==Ie&&console.warn("Failed to hydrate: ",a),t.recover===!1&&hr(),Nt(),Ur(n),$e(!1),qn(e,t)}finally{$e(r),q(s)}}const _t=new Map;function Un(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:a=!0,transformError:l}){Nt();var f=void 0,o=Gr(()=>{var u=n??t.appendChild(ue());Rr(u,{pending:()=>{}},d=>{Zt({});var _=Y;if(i&&(_.c=i),s&&(r.$$events=s),$&&dt(d,null),f=e(d,r)||{},$&&(m.nodes.end=b,b===null||b.nodeType!==He||b.data!==qt))throw at(),Ie;Xt()},l);var h=new Set,c=d=>{for(var _=0;_<d.length;_++){var y=d[_];if(!h.has(y)){h.add(y);var T=os(y);for(const le of[t,document]){var R=_t.get(le);R===void 0&&(R=new Map,_t.set(le,R));var A=R.get(y);A===void 0?(le.addEventListener(y,jn,{passive:T}),R.set(y,1)):R.set(y,A+1)}}}};return c(er(Ln)),Mt.add(c),()=>{for(var d of h)for(const T of[t,document]){var _=_t.get(T),y=_.get(d);--y==0?(T.removeEventListener(d,jn),_.delete(d),_.size===0&&_t.delete(T)):_.set(d,y)}Mt.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Dt.set(f,o),f}let Dt=new WeakMap;function cs(e,t){const n=Dt.get(e);return n?(Dt.delete(e),n(t)):Promise.resolve()}class hs{anchor;#e=new Map;#n=new Map;#t=new Map;#s=new Set;#i=!0;constructor(t,n=!0){this.anchor=t,this.#i=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Qr(r),this.#s.delete(n);else{var s=this.#t.get(n);s&&(this.#n.set(n,s.effect),this.#t.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,a]of this.#e){if(this.#e.delete(i),i===t)break;const l=this.#t.get(a);l&&(F(l.effect),this.#t.delete(a))}for(const[i,a]of this.#n){if(i===n||this.#s.has(i))continue;const l=()=>{if(Array.from(this.#e.values()).includes(i)){var o=document.createDocumentFragment();An(a,o),o.append(ue()),this.#t.set(i,{effect:a,fragment:o})}else F(a);this.#s.delete(i),this.#n.delete(i)};this.#i||!r?(this.#s.add(i),Ze(a,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,s]of this.#t)n.includes(r)||(F(s.effect),this.#t.delete(r))};ensure(t,n){var r=E,s=Br();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(s){var i=document.createDocumentFragment(),a=ue();i.append(a),this.#t.set(t,{effect:ce(()=>n(a)),fragment:i})}else this.#n.set(t,ce(()=>n(this.anchor)));if(this.#e.set(r,t),s){for(const[l,f]of this.#n)l===t?r.unskip_effect(f):r.skip_effect(f);for(const[l,f]of this.#t)l===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else $&&(this.anchor=b),this.#r(r)}}function ee(e,t,n=!1){var r;$&&(r=b,wt());var s=new hs(e),i=n?je:0;function a(l,f){if($){var o=wr(r);if(l!==parseInt(o.substring(1))){var u=Gt();q(u),s.anchor=u,$e(!1),s.ensure(l,f),$e(!0);return}}s.ensure(l,f)}Ct(()=>{var l=!1;t((f,o=0)=>{l=!0,a(o,f)}),l||a(-1,null)},i)}function ds(e,t){let n=null,r=$;var s;if($){n=b;for(var i=Oe(document.head);i!==null&&(i.nodeType!==He||i.data!==e);)i=Z(i);if(i===null)$e(!1);else{var a=Z(i);i.remove(),q(a)}}$||(s=document.head.appendChild(ue()));try{Ct(()=>t(s),zt|we)}finally{r&&($e(!0),q(n))}}function _s(e,t){Wr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=kt("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function vs(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ps(e,t){return e==null?null:String(e)}function gs(e,t,n,r,s,i){var a=e.__className;if($||a!==n||a===void 0){var l=vs(n,r);(!$||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return i}function ms(e,t,n,r){var s=e.__style;if($||s!==t){var i=ps(t);(!$||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return r}function De(e,t,n,r){var s=(n&zn)!==0,i=(n&Jn)!==0,a=r,l=!0,f=()=>(l&&(l=!1,a=i?In(r):r),a);let o;if(s){var u=it in e||Jt in e;o=Ne(e,t)?.set??(u&&t in e?A=>e[t]=A:void 0)}var h,c=!1;s?[h,c]=Sr(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=f(),o&&(dr(),o(h)));var d;if(d=()=>{var A=e[t];return A===void 0?f():(l=!0,A)},(n&Hn)===0)return d;if(o){var _=e.$$legacy;return(function(A,le){return arguments.length>0?((!le||_||c)&&o(le?d():A),A):d()})}var y=!1,T=((n&Vn)!==0?St:Dr)(()=>(y=!1,d()));s&&P(T);var R=m;return(function(A,le){if(arguments.length>0){const pt=le?P(T):s?Ye(A):A;return S(T,pt),y=!0,a!==void 0&&(a=pt),A}return Ae&&y||(R.f&J)!==0?T.v:P(T)})}function ys(e){return new ws(e)}class ws{#e;#n;constructor(t){var n=new Map,r=(i,a)=>{var l=jr(a,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,a){return P(n.get(a)??r(a,Reflect.get(i,a)))},has(i,a){return a===Jt?!0:(P(n.get(a)??r(a,Reflect.get(i,a))),Reflect.has(i,a))},set(i,a,l){return S(n.get(a)??r(a,l),l),Reflect.set(i,a,l)}});this.#n=(t.hydrate?us:qn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Se(),this.#e=s.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||rt(this,i,{get(){return this.#n[i]},set(a){this.#n[i]=a},enumerable:!0});this.#n.$set=i=>{Object.assign(s,i)},this.#n.$destroy=()=>{cs(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#n.$destroy()}}let Bn;typeof HTMLElement=="function"&&(Bn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=kt("slot");r!=="default"&&(i.name=r),M(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=bs(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=vt(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ys({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Jr(()=>{$n(()=>{this.$$r=!0;for(const r of nt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=vt(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=vt(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return nt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function vt(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function bs(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function $s(e,t,n,r,s,i){let a=class extends Bn{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return nt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return nt(t).forEach(l=>{rt(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(f){f=vt(l,f,t),this.$$d[l]=f;var o=this.$$c;if(o){var u=Ne(o,l)?.get;u?o[l]=f:o.$set({[l]:f})}}})}),r.forEach(l=>{rt(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}var Es=I('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),Ts=I('<i class="bi bi-geo-alt"></i>'),Ss=I('<span class="prop" part="prop" property="address"> </span>'),xs=I('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),As=I('<i class="bi bi-telephone"></i>'),Ns=I('<span class="prop" part="prop" property="telephone"> </span>'),ks=I('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Rs=I('<i class="bi bi-envelope"></i>'),Os=I('<span class="prop" part="prop" property="address"> </span>'),Cs=I('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Ps=I('<i class="bi bi-globe"></i>'),Ms=I('<span class="prop" part="prop" property="address"> </span>'),Ds=I('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),Is=I("<i></i>"),Ls=I('<span class="prop" part="prop" property="address"> </span>'),Fs=I('<span class="iconcell svelte-1t5sqpy" part="iconcell"><!></span> <!>',1),js=I("<span><!></span>");const qs={hash:"svelte-1t5sqpy",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
|
+
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}.iconcell.svelte-1t5sqpy {margin-right:5px;}`};function Yn(e,t){Zt(t,!0),_s(e,qs);let n=De(t,"id",7,""),r=De(t,"phone",7,void 0),s=De(t,"address",7,void 0),i=De(t,"email",7,void 0),a=De(t,"site",7,void 0),l=De(t,"social",7,void 0),f=De(t,"config",23,()=>({icon:{fill:!1},dispatcher:!0,text:!0})),o,u=K(void 0),h=K(void 0),c=K(!1);zr(()=>{if(typeof f()=="string")try{f(JSON.parse(f()))}catch{}if(f().icon||(f().icon={fill:!1}),f().text!==!1&&(f().text=!0),f().dispatcher!==!1&&(f().dispatcher=!0),r()){o="phone",S(u,r(),!0);try{r(JSON.parse(r()))}catch{}}else if(l()){o="social",S(u,l(),!0);try{l(JSON.parse(l()))}catch{}l()?.pageUri&&(S(c,!0),S(h,l().pageUri,!0))}else if(s()){o="address",S(u,s(),!0);try{s(JSON.parse(s()))}catch{}(s()?.mapUri||s()?.latLang)&&(S(c,!0),s().latLang&&S(h,`https://maps.google.com?lat=${s().latLang[0]}&lng=${s().latLang[1]}`),s().mapUri&&S(h,s().mapUri,!0))}else if(i()){o="email",S(u,i(),!0);try{i(JSON.parse(i()))}catch{}i()?.mailLink&&(S(c,!0),S(h,i().address,!0))}else if(a()){o="site",S(u,a(),!0);try{a(JSON.parse(a()))}catch{}a()?.open&&a()?.uri&&(S(c,!0),S(h,a().uri,!0))}});function d(v,N){t.$$host.dispatchEvent(new CustomEvent(v,{detail:N}))}function _(){const v="contactClick",N={action:o,options:P(u)};d(v,N)}function y(){P(c)&&P(h)?window.open(P(h)):f().dispatcher&&_()}var T={get id(){return n()},set id(v=""){n(v),Se()},get phone(){return r()},set phone(v=void 0){r(v),Se()},get address(){return s()},set address(v=void 0){s(v),Se()},get email(){return i()},set email(v=void 0){i(v),Se()},get site(){return a()},set site(v=void 0){a(v),Se()},get social(){return l()},set social(v=void 0){l(v),Se()},get config(){return f()},set config(v={icon:{fill:!1},dispatcher:!0,text:!0}){f(v),Se()}},R=js();ds("1t5sqpy",v=>{var N=Es();M(v,N)});var A=X(R);{var le=v=>{var N=xs(),O=We(N),he=X(O);{var de=p=>{var w=Ts();M(p,w)};ee(he,p=>{f().icon&&p(de)})}G(O);var _e=Ke(O,2);{var ve=p=>{var w=Ss(),pe=X(w,!0);G(w),Ce(()=>tt(pe,s().address)),M(p,w)};ee(_e,p=>{f().text&&p(ve)})}M(v,N)},pt=v=>{var N=ks(),O=We(N),he=X(O);{var de=p=>{var w=As();M(p,w)};ee(he,p=>{f().icon&&p(de)})}G(O);var _e=Ke(O,2);{var ve=p=>{var w=Ns(),pe=X(w,!0);G(w),Ce(()=>tt(pe,r().number)),M(p,w)};ee(_e,p=>{f().text&&p(ve)})}M(v,N)},Us=v=>{var N=Cs(),O=We(N),he=X(O);{var de=p=>{var w=Rs();M(p,w)};ee(he,p=>{f().icon&&p(de)})}G(O);var _e=Ke(O,2);{var ve=p=>{var w=Os(),pe=X(w,!0);G(w),Ce(()=>tt(pe,i().address)),M(p,w)};ee(_e,p=>{f().text&&p(ve)})}M(v,N)},Bs=v=>{var N=Ds(),O=We(N),he=X(O);{var de=p=>{var w=Ps();M(p,w)};ee(he,p=>{f().icon&&p(de)})}G(O);var _e=Ke(O,2);{var ve=p=>{var w=Ms(),pe=X(w,!0);G(w),Ce(()=>tt(pe,a().label||a().uri)),M(p,w)};ee(_e,p=>{f().text&&p(ve)})}M(v,N)},Ys=v=>{var N=Fs(),O=We(N),he=X(O);{var de=p=>{var w=Is();Ce(()=>gs(w,1,`bi bi-${l().name??""}`,"svelte-1t5sqpy")),M(p,w)};ee(he,p=>{f().icon&&p(de)})}G(O);var _e=Ke(O,2);{var ve=p=>{var w=Ls(),pe=X(w,!0);G(w),Ce(()=>tt(pe,l().label)),M(p,w)};ee(_e,p=>{f().text&&p(ve)})}M(v,N)};ee(A,v=>{s()?v(le):r()?v(pt,1):i()?v(Us,2):a()?v(Bs,3):l()&&v(Ys,4)})}return G(R),Ce(()=>ms(R,P(c)&&P(h)?"cursor:pointer;":"")),rs("click",R,()=>y()),M(e,R),Xt(T)}ss(["click"]),customElements.define("hb-contact-item",$s(Yn,{id:{},phone:{},address:{},email:{},site:{},social:{},config:{}},[],[],{mode:"open"})),It.Component=Yn,Object.defineProperty(It,Symbol.toStringTag,{value:"Module"})})(this["contact-item"]=this["contact-item"]||{});
|
|
4
4
|
//# sourceMappingURL=main.iife.js.map
|