@htmlbricks/hb-paragraps-around-image-cell 0.66.6 → 0.66.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,16 +1,17 @@
1
- (function(kt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const In=2,St="[",At="[!",Nt="[?",Rt="]",be={},T=Symbol(),Ot="http://www.w3.org/1999/xhtml",jn=!1;var Fn=Array.isArray,Ln=Array.prototype.indexOf,Ee=Array.prototype.includes,Hn=Array.from,qe=Object.keys,Be=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Vn=Object.getOwnPropertyDescriptors,Yn=Object.prototype,qn=Array.prototype,Ct=Object.getPrototypeOf,Mt=Object.isExtensible;const Bn=()=>{};function Un(e){for(var t=0;t<e.length;t++)e[t]()}function Dt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const E=2,Te=4,Ue=8,Pt=1<<24,ne=16,B=32,re=64,rt=128,C=512,b=1024,k=2048,U=4096,z=8192,L=16384,ie=32768,It=1<<25,ke=65536,jt=1<<17,Ft=1<<18,se=1<<19,zn=1<<20,_e=65536,it=1<<21,st=1<<22,le=1<<23,lt=Symbol("$state"),Kn=Symbol("legacy props"),W=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Gn=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Me=3,De=8;function Wn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Jn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Xn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Zn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Qn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function er(){throw new Error("https://svelte.dev/e/hydration_failed")}function tr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function nr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function rr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ir(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ze(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function sr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function fe(e){m=e}let g;function A(e){if(e===null)throw ze(),be;return g=e}function ft(){return A(V(g))}function ve(e){if(m){if(V(g)!==null)throw ze(),be;g=e}}function at(e=1){if(m){for(var t=e,n=g;t--;)n=V(n);g=n}}function Lt(e=!0){for(var t=0,n=g;;){if(n.nodeType===De){var r=n.data;if(r===Rt){if(t===0)return n;t-=1}else(r===St||r===At||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=V(n);e&&n.remove(),n=i}}function lr(e){if(!e||e.nodeType!==De)throw ze(),be;return e.data}function Ht(e){return e===this.v}function fr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ar(e){return!fr(e,this.v)}let or=!1,M=null;function Se(e){M=e}function Vt(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function Yt(e){var t=M,n=t.e;if(n!==null){t.e=null;for(var r of n)dn(r)}return e!==void 0&&(t.x=e),t.i=!0,M=t.p,e??{}}function qt(){return!0}let pe=[];function Bt(){var e=pe;pe=[],Un(e)}function Ae(e){if(pe.length===0&&!Pe){var t=pe;queueMicrotask(()=>{t===pe&&Bt()})}pe.push(e)}function ur(){for(;pe.length>0;)Bt()}function Ut(e){var t=p;if(t===null)return v.f|=le,e;if((t.f&ie)===0&&(t.f&Te)===0)throw e;ae(e,t)}function ae(e,t){for(;t!==null;){if((t.f&rt)!==0){if((t.f&ie)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const cr=-7169;function $(e,t){e.f=e.f&cr|t}function ot(e){(e.f&C)!==0||e.deps===null?$(e,b):$(e,U)}function zt(e){if(e!==null)for(const t of e)(t.f&E)===0||(t.f&_e)===0||(t.f^=_e,zt(t.deps))}function Kt(e,t,n){(e.f&k)!==0?t.add(e):(e.f&U)!==0&&n.add(e),zt(e.deps),$(e,b)}const oe=new Set;let w=null,H=null,ut=null,Pe=!1,ct=!1,Ne=null,Ke=null;var Gt=0;let hr=1;class J{id=hr++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#f=new Set;#a=new Map;is_fork=!1;#c=!1;#o=new Set;#h(){return this.is_fork||this.#i.size>0}#_(){for(const r of this.#o)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)$(r,k),this.schedule(r);for(r of n.m)$(r,U),this.schedule(r)}}#d(){if(Gt++>1e3&&(oe.delete(this),dr()),!this.#h()){for(const l of this.#l)this.#f.delete(l),$(l,k),this.schedule(l);for(const l of this.#f)$(l,U),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Ne=[],r=[],i=Ke=[];for(const l of t)try{this.#u(l,n,r)}catch(a){throw Qt(l),a}if(w=null,i.length>0){var s=J.ensure();for(const l of i)s.schedule(l)}if(Ne=null,Ke=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,a]of this.#a)Zt(l,a)}else{this.#t.size===0&&oe.delete(this),this.#l.clear(),this.#f.clear();for(const l of this.#e)l(this);this.#e.clear(),Wt(r),Wt(n),this.#s?.resolve()}var f=w;if(this.#r.length>0){const l=f??=this;l.#r.push(...this.#r.filter(a=>!l.#r.includes(a)))}f!==null&&(oe.add(f),f.#d()),oe.has(this)||this.#p()}#u(t,n,r){t.f^=b;for(var i=t.first;i!==null;){var s=i.f,f=(s&(B|re))!==0,l=f&&(s&b)!==0,a=l||(s&z)!==0||this.#a.has(i);if(!a&&i.fn!==null){f?i.f^=b:(s&Te)!==0?n.push(i):Le(i)&&((s&ne)!==0&&this.#f.add(i),Ce(i));var o=i.first;if(o!==null){i=o;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#v(t){for(var n=0;n<t.length;n+=1)Kt(t[n],this.#l,this.#f)}capture(t,n,r=!1){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&le)===0&&(this.current.set(t,[t.v,r]),H?.set(t,t.v))}activate(){w=this}deactivate(){w=null,H=null}flush(){try{ct=!0,w=this,this.#d()}finally{Gt=0,ut=null,Ne=null,Ke=null,ct=!1,w=null,H=null,ue.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),oe.delete(this)}#p(){for(const o of oe){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 i=[...o.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&o.discard();else if(n.length>0){o.activate();var s=new Set,f=new Map;for(var l of n)Jt(l,i,s,f);if(o.#r.length>0){o.apply();for(var a of o.#r)o.#u(a,[],[]);o.#r=[]}o.deactivate()}}for(const o of oe)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 i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Ae(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#f.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Dt()).promise}static ensure(){if(w===null){const t=w=new J;ct||(oe.add(w),Pe||Ae(()=>{w===t&&t.flush()}))}return w}apply(){{H=null;return}}schedule(t){if(ut=t,t.b?.is_pending&&(t.f&(Te|Ue|Pt))!==0&&(t.f&ie)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Ne!==null&&n===p&&(v===null||(v.f&E)===0))return;if((r&(re|B))!==0){if((r&b)===0)return;n.f^=b}}this.#r.push(n)}}function Ge(e){var t=Pe;Pe=!0;try{for(var n;;){if(ur(),w===null)return n;w.flush()}}finally{Pe=t}}function dr(){try{Qn()}catch(e){ae(e,ut)}}let X=null;function Wt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(L|z))===0&&Le(r)&&(X=new Set,Ce(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&pn(r),X?.size>0)){ue.clear();for(const i of X){if((i.f&(L|z))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)X.has(f)&&(X.delete(f),s.push(f)),f=f.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(L|z))===0&&Ce(a)}}X.clear()}}X=null}}function Jt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&E)!==0?Jt(i,t,n,r):(s&(st|ne))!==0&&(s&k)===0&&Xt(i,t,r)&&($(i,k),ht(i))}}function Xt(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(Ee.call(t,i))return!0;if((i.f&E)!==0&&Xt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ht(e){w.schedule(e)}function Zt(e,t){if(!((e.f&B)!==0&&(e.f&b)!==0)){(e.f&k)!==0?t.d.push(e):(e.f&U)!==0&&t.m.push(e),$(e,b);for(var n=e.first;n!==null;)Zt(n,t),n=n.next}}function Qt(e){$(e,b);for(var t=e.first;t!==null;)Qt(t),t=t.next}function _r(e){let t=0,n=Ie(0),r;return()=>{gt()&&(q(n),_n(()=>(t===0&&(r=qr(()=>e(()=>je(n)))),t+=1,()=>{Ae(()=>{t-=1,t===0&&(r?.(),r=void 0,je(n))})})))}}var vr=ke|se;function pr(e,t,n,r){new gr(e,t,n,r)}class gr{parent;is_pending=!1;transform_error;#e;#n=m?g:null;#t;#i;#s;#r=null;#l=null;#f=null;#a=null;#c=0;#o=0;#h=!1;#_=new Set;#d=new Set;#u=null;#v=_r(()=>(this.#u=Ie(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var f=p;f.b=this,f.f|=rt,r(s)},this.parent=p.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=mt(()=>{if(m){const s=this.#n;ft();const f=s.data===At;if(s.data.startsWith(Nt)){const a=JSON.parse(s.data.slice(Nt.length));this.#$(a)}else f?this.#b():this.#p()}else this.#y()},vr),m&&(this.#e=g)}#p(){try{this.#r=ee(()=>this.#i(this.#e))}catch(t){this.error(t)}}#$(t){const n=this.#t.failed;n&&(this.#f=ee(()=>{n(this.#e,()=>t,()=>()=>{})}))}#b(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=ee(()=>t(this.#e)),Ae(()=>{var n=this.#a=document.createDocumentFragment(),r=D();n.append(r),this.#r=this.#m(()=>ee(()=>this.#i(r))),this.#o===0&&(this.#e.before(n),this.#a=null,Fe(this.#l,()=>{this.#l=null}),this.#g(w))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#o=0,this.#c=0,this.#r=ee(()=>{this.#i(this.#e)}),this.#o>0){var t=this.#a=document.createDocumentFragment();yn(this.#r,t);const n=this.#t.pending;this.#l=ee(()=>n(this.#e))}else this.#g(w)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){Kt(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=p,r=v,i=M;G(this.#s),P(this.#s),Se(this.#s.ctx);try{return J.ensure(),t()}catch(s){return Ut(s),null}finally{G(n),P(r),Se(i)}}#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&&Fe(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#w(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,Ae(()=>{this.#h=!1,this.#u&&Je(this.#u,this.#c)}))}get_effect_pending(){return this.#v(),q(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(N(this.#r),this.#r=null),this.#l&&(N(this.#l),this.#l=null),this.#f&&(N(this.#f),this.#f=null),m&&(A(this.#n),at(),A(Lt()));var i=!1,s=!1;const f=()=>{if(i){sr();return}i=!0,s&&ir(),this.#f!==null&&Fe(this.#f,()=>{this.#f=null}),this.#m(()=>{this.#y()})},l=a=>{try{s=!0,n?.(a,f),s=!1}catch(o){ae(o,this.#s&&this.#s.parent)}r&&(this.#f=this.#m(()=>{try{return ee(()=>{var o=p;o.b=this,o.f|=rt,r(this.#e,()=>a,()=>f)})}catch(o){return ae(o,this.#s.parent),null}}))};Ae(()=>{var a;try{a=this.transform_error(t)}catch(o){ae(o,this.#s&&this.#s.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(l,o=>ae(o,this.#s&&this.#s.parent)):l(a)})}}function mr(e,t,n,r){const i=tn;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var f=p,l=yr(),a=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function o(c){l();try{r(c)}catch(_){(f.f&L)===0&&ae(_,f)}We()}if(n.length===0){a.then(()=>o(t.map(i)));return}var u=en();function h(){Promise.all(n.map(c=>wr(c))).then(c=>o([...t.map(i),...c])).catch(c=>ae(c,f)).finally(()=>u())}a?a.then(()=>{l(),h(),We()}):h()}function yr(){var e=p,t=v,n=M,r=w;return function(s=!0){G(e),P(t),Se(n),s&&(e.f&L)===0&&(r?.activate(),r?.apply())}}function We(e=!0){G(null),P(null),Se(null),e&&w?.deactivate()}function en(){var e=p,t=e.b,n=w,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function tn(e){var t=E|k,n=v!==null&&(v.f&E)!==0?v:null;return p!==null&&(p.f|=se),{ctx:M,deps:null,effects:null,equals:Ht,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??p,ac:null}}function wr(e,t,n){let r=p;r===null&&Wn();var i=void 0,s=Ie(T),f=!v,l=new Map;return Ir(()=>{var a=p,o=Dt();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(We)}catch(_){o.reject(_),We()}var u=w;if(f){if((a.f&ie)!==0)var h=en();if(r.b.is_rendered())l.get(u)?.reject(W),l.delete(u);else{for(const _ of l.values())_.reject(W);l.clear()}l.set(u,o)}const c=(_,d=void 0)=>{if(h){var y=d===W;h(y)}if(!(d===W||(a.f&L)!==0)){if(u.activate(),d)s.f|=le,Je(s,d);else{(s.f&le)!==0&&(s.f^=le),Je(s,_);for(const[x,S]of l){if(l.delete(x),x===u)break;S.reject(W)}}u.deactivate()}};o.promise.then(c,_=>c(null,_||"unknown"))}),Or(()=>{for(const a of l.values())a.reject(W)}),new Promise(a=>{function o(u){function h(){u===i?a(s):o(i)}u.then(h,h)}o(i)})}function $r(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)N(t[n])}}function br(e){for(var t=e.parent;t!==null;){if((t.f&E)===0)return(t.f&L)===0?t:null;t=t.parent}return null}function dt(e){var t,n=p;G(br(e));try{e.f&=~_e,$r(e),t=Tn(e)}finally{G(n)}return t}function nn(e){var t=e.v,n=dt(e);if(!e.equals(n)&&(e.wv=En(),(!w?.is_fork||e.deps===null)&&(e.v=n,w?.capture(e,t,!0),e.deps===null))){$(e,b);return}ce||(H!==null?(gt()||w?.is_fork)&&H.set(e,n):ot(e))}function Er(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(W),t.teardown=Bn,t.ac=null,He(t,0),yt(t))}function rn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ce(t)}let _t=new Set;const ue=new Map;let sn=!1;function Ie(e,t){var n={f:0,v:e,reactions:null,equals:Ht,rv:0,wv:0};return n}function Z(e,t){const n=Ie(e);return Hr(n),n}function xr(e,t=!1,n=!0){const r=Ie(e);return t||(r.equals=ar),r}function Q(e,t,n=!1){v!==null&&(!Y||(v.f&jt)!==0)&&qt()&&(v.f&(E|ne|st|jt))!==0&&(I===null||!Ee.call(I,e))&&rr();let r=n?Re(t):t;return Je(e,r,Ke)}function Je(e,t,n=null){if(!e.equals(t)){var r=e.v;ce?ue.set(e,t):ue.set(e,r),e.v=t;var i=J.ensure();if(i.capture(e,r),(e.f&E)!==0){const s=e;(e.f&k)!==0&&dt(s),H===null&&ot(s)}e.wv=En(),ln(e,k,n),p!==null&&(p.f&b)!==0&&(p.f&(B|re))===0&&(j===null?Vr([e]):j.push(e)),!i.is_fork&&_t.size>0&&!sn&&Tr()}return t}function Tr(){sn=!1;for(const e of _t)(e.f&b)!==0&&$(e,U),Le(e)&&Ce(e);_t.clear()}function je(e){Q(e,e.v+1)}function ln(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var f=r[s],l=f.f,a=(l&k)===0;if(a&&$(f,t),(l&E)!==0){var o=f;H?.delete(o),(l&_e)===0&&(l&C&&(f.f|=_e),ln(o,U,n))}else if(a){var u=f;(l&ne)!==0&&X!==null&&X.add(u),n!==null?n.push(u):ht(u)}}}function Re(e){if(typeof e!="object"||e===null||lt in e)return e;const t=Ct(e);if(t!==Yn&&t!==qn)return e;var n=new Map,r=Fn(e),i=Z(0),s=ye,f=l=>{if(ye===s)return l();var a=v,o=ye;P(null),bn(s);var u=l();return P(a),bn(o),u};return r&&n.set("length",Z(e.length)),new Proxy(e,{defineProperty(l,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&tr();var u=n.get(a);return u===void 0?f(()=>{var h=Z(o.value);return n.set(a,h),h}):Q(u,o.value,!0),!0},deleteProperty(l,a){var o=n.get(a);if(o===void 0){if(a in l){const u=f(()=>Z(T));n.set(a,u),je(i)}}else Q(o,T),je(i);return!0},get(l,a,o){if(a===lt)return e;var u=n.get(a),h=a in l;if(u===void 0&&(!h||xe(l,a)?.writable)&&(u=f(()=>{var _=Re(h?l[a]:T),d=Z(_);return d}),n.set(a,u)),u!==void 0){var c=q(u);return c===T?void 0:c}return Reflect.get(l,a,o)},getOwnPropertyDescriptor(l,a){var o=Reflect.getOwnPropertyDescriptor(l,a);if(o&&"value"in o){var u=n.get(a);u&&(o.value=q(u))}else if(o===void 0){var h=n.get(a),c=h?.v;if(h!==void 0&&c!==T)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(l,a){if(a===lt)return!0;var o=n.get(a),u=o!==void 0&&o.v!==T||Reflect.has(l,a);if(o!==void 0||p!==null&&(!u||xe(l,a)?.writable)){o===void 0&&(o=f(()=>{var c=u?Re(l[a]):T,_=Z(c);return _}),n.set(a,o));var h=q(o);if(h===T)return!1}return u},set(l,a,o,u){var h=n.get(a),c=a in l;if(r&&a==="length")for(var _=o;_<h.v;_+=1){var d=n.get(_+"");d!==void 0?Q(d,T):_ in l&&(d=f(()=>Z(T)),n.set(_+"",d))}if(h===void 0)(!c||xe(l,a)?.writable)&&(h=f(()=>Z(void 0)),Q(h,Re(o)),n.set(a,h));else{c=h.v!==T;var y=f(()=>Re(o));Q(h,y)}var x=Reflect.getOwnPropertyDescriptor(l,a);if(x?.set&&x.set.call(u,o),!c){if(r&&typeof a=="string"){var S=n.get("length"),de=Number(a);Number.isInteger(de)&&de>=S.v&&Q(S,de+1)}je(i)}return!0},ownKeys(l){q(i);var a=Reflect.ownKeys(l).filter(h=>{var c=n.get(h);return c===void 0||c.v!==T});for(var[o,u]of n)u.v!==T&&!(o in l)&&a.push(o);return a},setPrototypeOf(){nr()}})}var fn,an,on,un;function vt(){if(fn===void 0){fn=window,an=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;on=xe(t,"firstChild").get,un=xe(t,"nextSibling").get,Mt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Mt(n)&&(n.__t=void 0)}}function D(e=""){return document.createTextNode(e)}function Oe(e){return on.call(e)}function V(e){return un.call(e)}function ge(e,t){if(!m)return Oe(e);var n=Oe(g);if(n===null)n=g.appendChild(D());else if(t&&n.nodeType!==Me){var r=D();return n?.before(r),A(r),r}return t&&Xe(n),A(n),n}function kr(e,t=!1){if(!m){var n=Oe(e);return n instanceof Comment&&n.data===""?V(n):n}if(t){if(g?.nodeType!==Me){var r=D();return g?.before(r),A(r),r}Xe(g)}return g}function cn(e,t=1,n=!1){let r=m?g:e;for(var i;t--;)i=r,r=V(r);if(!m)return r;if(n){if(r?.nodeType!==Me){var s=D();return r===null?i?.after(s):r.before(s),A(s),s}Xe(r)}return A(r),r}function Sr(e){e.textContent=""}function Ar(){return!1}function pt(e,t,n){return document.createElementNS(Ot,e,void 0)}function Xe(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Me;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function hn(e){var t=v,n=p;P(null),G(null);try{return e()}finally{P(t),G(n)}}function Nr(e){p===null&&(v===null&&Zn(),Xn()),ce&&Jn()}function Rr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function K(e,t){var n=p;n!==null&&(n.f&z)!==0&&(e|=z);var r={ctx:M,deps:null,nodes:null,f:e|k|C,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&Te)!==0)Ne!==null?Ne.push(r):J.ensure().schedule(r);else if(t!==null){try{Ce(r)}catch(f){throw N(r),f}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&se)===0&&(i=i.first,(e&ne)!==0&&(e&ke)!==0&&i!==null&&(i.f|=ke))}if(i!==null&&(i.parent=n,n!==null&&Rr(i,n),v!==null&&(v.f&E)!==0&&(e&re)===0)){var s=v;(s.effects??=[]).push(i)}return r}function gt(){return v!==null&&!Y}function Or(e){const t=K(Ue,null);return $(t,b),t.teardown=e,t}function Cr(e){Nr();var t=p.f,n=!v&&(t&B)!==0&&(t&ie)===0;if(n){var r=M;(r.e??=[]).push(e)}else return dn(e)}function dn(e){return K(Te|zn,e)}function Mr(e){J.ensure();const t=K(re|se,e);return()=>{N(t)}}function Dr(e){J.ensure();const t=K(re|se,e);return(n={})=>new Promise(r=>{n.outro?Fe(t,()=>{N(t),r(void 0)}):(N(t),r(void 0))})}function Pr(e){return K(Te,e)}function Ir(e){return K(st|se,e)}function _n(e,t=0){return K(Ue|t,e)}function Ze(e,t=[],n=[],r=[]){mr(r,t,n,i=>{K(Ue,()=>e(...i.map(q)))})}function mt(e,t=0){var n=K(ne|t,e);return n}function ee(e){return K(B|se,e)}function vn(e){var t=e.teardown;if(t!==null){const n=ce,r=v;wn(!0),P(null);try{t.call(null)}finally{wn(n),P(r)}}}function yt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&hn(()=>{i.abort(W)});var r=n.next;(n.f&re)!==0?n.parent=null:N(n,t),n=r}}function jr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&B)===0&&N(t),t=n}}function N(e,t=!0){var n=!1;(t||(e.f&Ft)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Fr(e.nodes.start,e.nodes.end),n=!0),$(e,It),yt(e,t&&!n),He(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();vn(e),e.f^=It,e.f|=L;var i=e.parent;i!==null&&i.first!==null&&pn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Fr(e,t){for(;e!==null;){var n=e===t?null:V(e);e.remove(),e=n}}function pn(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 Fe(e,t,n=!0){var r=[];gn(e,r,!0);var i=()=>{n&&N(e),t&&t()},s=r.length;if(s>0){var f=()=>--s||i();for(var l of r)l.out(f)}else i()}function gn(e,t,n){if((e.f&z)===0){e.f^=z;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,f=(i.f&ke)!==0||(i.f&B)!==0&&(e.f&ne)!==0;gn(i,t,f?n:!1),i=s}}}function Lr(e){mn(e,!0)}function mn(e,t){if((e.f&z)!==0){e.f^=z,(e.f&b)===0&&($(e,k),J.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ke)!==0||(n.f&B)!==0;mn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const f of s)(f.is_global||t)&&f.in()}}function yn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:V(n);t.append(n),n=i}}let Qe=!1,ce=!1;function wn(e){ce=e}let v=null,Y=!1;function P(e){v=e}let p=null;function G(e){p=e}let I=null;function Hr(e){v!==null&&(I===null?I=[e]:I.push(e))}let R=null,O=0,j=null;function Vr(e){j=e}let $n=1,me=0,ye=me;function bn(e){ye=e}function En(){return++$n}function Le(e){var t=e.f;if((t&k)!==0)return!0;if(t&E&&(e.f&=~_e),(t&U)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(Le(s)&&nn(s),s.wv>e.wv)return!0}(t&C)!==0&&H===null&&$(e,b)}return!1}function xn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(I!==null&&Ee.call(I,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&E)!==0?xn(s,t,!1):t===s&&(n?$(s,k):(s.f&b)!==0&&$(s,U),ht(s))}}function Tn(e){var t=R,n=O,r=j,i=v,s=I,f=M,l=Y,a=ye,o=e.f;R=null,O=0,j=null,v=(o&(B|re))===0?e:null,I=null,Se(e.ctx),Y=!1,ye=++me,e.ac!==null&&(hn(()=>{e.ac.abort(W)}),e.ac=null);try{e.f|=it;var u=e.fn,h=u();e.f|=ie;var c=e.deps,_=w?.is_fork;if(R!==null){var d;if(_||He(e,O),c!==null&&O>0)for(c.length=O+R.length,d=0;d<R.length;d++)c[O+d]=R[d];else e.deps=c=R;if(gt()&&(e.f&C)!==0)for(d=O;d<c.length;d++)(c[d].reactions??=[]).push(e)}else!_&&c!==null&&O<c.length&&(He(e,O),c.length=O);if(qt()&&j!==null&&!Y&&c!==null&&(e.f&(E|U|k))===0)for(d=0;d<j.length;d++)xn(j[d],e);if(i!==null&&i!==e){if(me++,i.deps!==null)for(let y=0;y<n;y+=1)i.deps[y].rv=me;if(t!==null)for(const y of t)y.rv=me;j!==null&&(r===null?r=j:r.push(...j))}return(e.f&le)!==0&&(e.f^=le),h}catch(y){return Ut(y)}finally{e.f^=it,R=t,O=n,j=r,v=i,I=s,Se(f),Y=l,ye=a}}function Yr(e,t){let n=t.reactions;if(n!==null){var r=Ln.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&E)!==0&&(R===null||!Ee.call(R,t))){var s=t;(s.f&C)!==0&&(s.f^=C,s.f&=~_e),ot(s),Er(s),He(s,0)}}function He(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Yr(e,n[r])}function Ce(e){var t=e.f;if((t&L)===0){$(e,b);var n=p,r=Qe;p=e,Qe=!0;try{(t&(ne|Pt))!==0?jr(e):yt(e),vn(e);var i=Tn(e);e.teardown=typeof i=="function"?i:null,e.wv=$n;var s;jn&&or&&(e.f&k)!==0&&e.deps}finally{Qe=r,p=n}}}function q(e){var t=e.f,n=(t&E)!==0;if(v!==null&&!Y){var r=p!==null&&(p.f&L)!==0;if(!r&&(I===null||!Ee.call(I,e))){var i=v.deps;if((v.f&it)!==0)e.rv<me&&(e.rv=me,R===null&&i!==null&&i[O]===e?O++:R===null?R=[e]:R.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:Ee.call(s,v)||s.push(v)}}}if(ce&&ue.has(e))return ue.get(e);if(n){var f=e;if(ce){var l=f.v;return((f.f&b)===0&&f.reactions!==null||Sn(f))&&(l=dt(f)),ue.set(f,l),l}var a=(f.f&C)===0&&!Y&&v!==null&&(Qe||(v.f&C)!==0),o=(f.f&ie)===0;Le(f)&&(a&&(f.f|=C),nn(f)),a&&!o&&(rn(f),kn(f))}if(H?.has(e))return H.get(e);if((e.f&le)!==0)throw e.v;return e.v}function kn(e){if(e.f|=C,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&E)!==0&&(t.f&C)===0&&(rn(t),kn(t))}function Sn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ue.has(t)||(t.f&E)!==0&&Sn(t))return!0;return!1}function qr(e){var t=Y;try{return Y=!0,e()}finally{Y=t}}const Ve=Symbol("events"),An=new Set,wt=new Set;function Br(e,t,n){(t[Ve]??={})[e]=n}function Ur(e){for(var t=0;t<e.length;t++)An.add(e[t]);for(var n of wt)n(e)}let Nn=null;function Rn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Nn=e;var f=0,l=Nn===e&&e[Ve];if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e[Ve]=t;return}var o=i.indexOf(t);if(o===-1)return;a<=o&&(f=a)}if(s=i[f]||e.target,s!==t){Be(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=v,h=p;P(null),G(null);try{for(var c,_=[];s!==null;){var d=s.assignedSlot||s.parentNode||s.host||null;try{var y=s[Ve]?.[r];y!=null&&(!s.disabled||e.target===s)&&y.call(s,e)}catch(x){c?_.push(x):c=x}if(e.cancelBubble||d===t||d===null)break;s=d}if(c){for(let x of _)queueMicrotask(()=>{throw x});throw c}}finally{e[Ve]=t,delete e.currentTarget,P(u),G(h)}}}const zr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Kr(e){return zr?.createHTML(e)??e}function Gr(e){var t=pt("template");return t.innerHTML=Kr(e.replaceAll("<!>","<!---->")),t.content}function we(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Ye(e,t){var n=(t&In)!==0,r,i=!e.startsWith("<!>");return()=>{if(m)return we(g,null),g;r===void 0&&(r=Gr(i?e:"<!>"+e),r=Oe(r));var s=n||an?document.importNode(r,!0):r.cloneNode(!0);return we(s,s),s}}function Wr(e=""){if(!m){var t=D(e+"");return we(t,t),t}var n=g;return n.nodeType!==Me?(n.before(n=D()),A(n)):Xe(n),we(n,n),n}function Jr(){if(m)return we(g,null),g;var e=document.createDocumentFragment(),t=document.createComment(""),n=D();return e.append(t,n),we(t,n),e}function he(e,t){if(m){var n=p;((n.f&ie)===0||n.nodes.end===null)&&(n.nodes.end=g),ft();return}e!==null&&e.before(t)}const Xr=["touchstart","touchmove"];function Zr(e){return Xr.includes(e)}function et(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function On(e,t){return Cn(e,t)}function Qr(e,t){vt(),t.intro=t.intro??!1;const n=t.target,r=m,i=g;try{for(var s=Oe(n);s&&(s.nodeType!==De||s.data!==St);)s=V(s);if(!s)throw be;fe(!0),A(s);const f=Cn(e,{...t,anchor:s});return fe(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==be&&console.warn("Failed to hydrate: ",f),t.recover===!1&&er(),vt(),Sr(n),fe(!1),On(e,t)}finally{fe(r),A(i)}}const tt=new Map;function Cn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0,transformError:l}){vt();var a=void 0,o=Dr(()=>{var u=n??t.appendChild(D());pr(u,{pending:()=>{}},_=>{Vt({});var d=M;if(s&&(d.c=s),i&&(r.$$events=i),m&&we(_,null),a=e(_,r)||{},m&&(p.nodes.end=g,g===null||g.nodeType!==De||g.data!==Rt))throw ze(),be;Yt()},l);var h=new Set,c=_=>{for(var d=0;d<_.length;d++){var y=_[d];if(!h.has(y)){h.add(y);var x=Zr(y);for(const $e of[t,document]){var S=tt.get($e);S===void 0&&(S=new Map,tt.set($e,S));var de=S.get(y);de===void 0?($e.addEventListener(y,Rn,{passive:x}),S.set(y,1)):S.set(y,de+1)}}}};return c(Hn(An)),wt.add(c),()=>{for(var _ of h)for(const x of[t,document]){var d=tt.get(x),y=d.get(_);--y==0?(x.removeEventListener(_,Rn),d.delete(_),d.size===0&&tt.delete(x)):d.set(_,y)}wt.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return $t.set(a,o),a}let $t=new WeakMap;function ei(e,t){const n=$t.get(e);return n?($t.delete(e),n(t)):Promise.resolve()}class ti{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Lr(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,f]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(f);l&&(N(l.effect),this.#t.delete(f))}for(const[s,f]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var o=document.createDocumentFragment();yn(f,o),o.append(D()),this.#t.set(s,{effect:f,fragment:o})}else N(f);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Fe(f,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(N(i.effect),this.#t.delete(r))};ensure(t,n){var r=w,i=Ar();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),f=D();s.append(f),this.#t.set(t,{effect:ee(()=>n(f)),fragment:s})}else this.#n.set(t,ee(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,a]of this.#n)l===t?r.unskip_effect(a):r.skip_effect(a);for(const[l,a]of this.#t)l===t?r.unskip_effect(a.effect):r.skip_effect(a.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else m&&(this.anchor=g),this.#r(r)}}function bt(e,t,n=!1){var r;m&&(r=g,ft());var i=new ti(e),s=n?ke:0;function f(l,a){if(m){var o=lr(r);if(l!==parseInt(o.substring(1))){var u=Lt();A(u),i.anchor=u,fe(!1),i.ensure(l,a),fe(!0);return}}i.ensure(l,a)}mt(()=>{var l=!1;t((a,o=0)=>{l=!0,f(o,a)}),l||f(-1,null)},s)}function ni(e,t){let n=null,r=m;var i;if(m){n=g;for(var s=Oe(document.head);s!==null&&(s.nodeType!==De||s.data!==e);)s=V(s);if(s===null)fe(!1);else{var f=V(s);s.remove(),A(f)}}m||(i=document.head.appendChild(D()));try{mt(()=>t(i),Ft|se)}finally{r&&(fe(!0),A(n))}}function ri(e,t){Pr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=pt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function ii(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function si(e,t){return e==null?null:String(e)}function li(e,t,n,r,i,s){var f=e.__className;if(m||f!==n||f===void 0){var l=ii(n,r);(!m||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}function fi(e,t,n,r){var i=e.__style;if(m||i!==t){var s=si(t);(!m||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const ai=Symbol("is custom element"),oi=Symbol("is html"),ui=Gn?"link":"LINK";function ci(e,t,n,r){var i=hi(e);m&&(i[t]=e.getAttribute(t),e.nodeName===ui)||i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&di(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function hi(e){return e.__attributes??={[ai]:e.nodeName.includes("-"),[oi]:e.namespaceURI===Ot}}var Mn=new Map;function di(e){var t=e.getAttribute("is")||e.nodeName,n=Mn.get(t);if(n)return n;Mn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Vn(i);for(var f in r)r[f].set&&n.push(f);i=Ct(i)}return n}function Et(e,t,n,r){var i=r,s=!0,f=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=f());var a;a=()=>{var c=e[t];return c===void 0?f():(s=!0,c)};var o=!1,u=tn(()=>(o=!1,a())),h=p;return(function(c,_){if(arguments.length>0){const d=_?q(u):c;return Q(u,d),o=!0,i!==void 0&&(i=d),c}return ce&&o||(h.f&L)!==0?u.v:q(u)})}function _i(e){return new vi(e)}class vi{#e;#n;constructor(t){var n=new Map,r=(s,f)=>{var l=xr(f,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,f){return q(n.get(f)??r(f,Reflect.get(s,f)))},has(s,f){return f===Kn?!0:(q(n.get(f)??r(f,Reflect.get(s,f))),Reflect.has(s,f))},set(s,f,l){return Q(n.get(f)??r(f,l),l),Reflect.set(s,f,l)}});this.#n=(t.hydrate?Qr:On)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ge(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Be(this,s,{get(){return this.#n[s]},set(f){this.#n[s]=f},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{ei(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Dn;typeof HTMLElement=="function"&&(Dn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=pt("slot");r!=="default"&&(s.name=r),he(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=pi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=nt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=_i({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Mr(()=>{_n(()=>{this.$$r=!0;for(const r of qe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=nt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=nt(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 qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function nt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function pi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function gi(e,t,n,r,i,s){let f=class extends Dn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return qe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return qe(t).forEach(l=>{Be(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=nt(l,a,t),this.$$d[l]=a;var o=this.$$c;if(o){var u=xe(o,l)?.get;u?o[l]=a:o.$set({[l]:a})}}})}),r.forEach(l=>{Be(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var mi=Ye('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),yi=Ye('<a style="color:inherit" target="_blank"> <i style="margin-left:10px;" class="bi bi-box-arrow-up-right"></i></a>'),wi=Ye('<div style="text-decoration:underline;cursor:pointer"> <i style="margin-left:10px;" class="bi bi-box-arrow-up-right"></i></div>'),$i=Ye('<div style="margin:5px 0px 20px 0px;font-weight:bold"><!></div>'),bi=Ye(`<div style="
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,ee=()=>{};function te(e){for(var t=0;t<e.length;t++)e[t]()}function g(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var _=1024,v=2048,ne=4096,re=8192,ie=16384,ae=32768,oe=1<<25,se=65536,ce=1<<18,y=1<<19,le=1<<20,ue=65536,de=1<<21,fe=1<<22,pe=1<<23,me=Symbol(`$state`),he=Symbol(`legacy props`),ge=Symbol(``),b=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},_e=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function ve(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ye(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function be(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function xe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Se(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ce(){throw Error(`https://svelte.dev/e/hydration_failed`)}function we(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Te(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ee(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function De(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Oe(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function ke(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ae(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var x=!1;function S(e){x=e}var C;function w(e){if(e===null)throw ke(),t;return C=e}function je(){return w(L(C))}function Me(e){if(x){if(L(C)!==null)throw ke(),t;C=e}}function Ne(e=1){if(x){for(var t=e,n=C;t--;)n=L(n);C=n}}function Pe(e=!0){for(var t=0,n=C;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=L(n);e&&n.remove(),n=i}}function Fe(e){if(!e||e.nodeType!==8)throw ke(),t;return e.data}function Ie(e){return e===this.v}function Le(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Re(e){return!Le(e,this.v)}var ze=!1,Be=!1,T=null;function Ve(e){T=e}function He(e,t=!1,n){T={p:T,i:!1,c:null,e:null,s:e,x:null,r:G,l:Be&&!t?{s:null,u:null,$:[]}:null}}function Ue(e){var t=T,n=t.e;if(n!==null){t.e=null;for(var r of n)un(r)}return e!==void 0&&(t.x=e),t.i=!0,T=t.p,e??{}}function We(){return!Be||T!==null&&T.l===null}var Ge=[];function Ke(){var e=Ge;Ge=[],te(e)}function qe(e){if(Ge.length===0&&!it){var t=Ge;queueMicrotask(()=>{t===Ge&&Ke()})}Ge.push(e)}function Je(){for(;Ge.length>0;)Ke()}function Ye(e){var t=G;if(t===null)return H.f|=pe,e;if(!(t.f&32768)&&!(t.f&4))throw e;E(e,t)}function E(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Xe=~(v|ne|_);function D(e,t){e.f=e.f&Xe|t}function Ze(e){e.f&512||e.deps===null?D(e,_):D(e,ne)}function Qe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ue,Qe(t.deps))}function $e(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Qe(e.deps),D(e,_)}var et=!1,tt=!1;function nt(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}var O=new Set,k=null,A=null,rt=null,it=!1,at=!1,ot=null,st=null,ct=0,lt=1,ut=class e{id=lt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)D(n,v),this.schedule(n);for(n of t.m)D(n,ne),this.schedule(n)}}#p(){if(ct++>1e3&&(O.delete(this),ft()),!this.#d()){for(let e of this.#o)this.#s.delete(e),D(e,v),this.schedule(e);for(let e of this.#s)D(e,ne),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=ot=[],r=[],i=st=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw vt(e),t}if(k=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(ot=null,st=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)_t(e,t)}else{this.#n.size===0&&O.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),pt(r),pt(n),this.#i?.resolve()}var o=k;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(O.add(o),o.#p()),O.has(this)||this.#g()}#m(e,t,n){e.f^=_;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=_:i&4?t.push(r):ze&&i&16777224?n.push(r):Rn(r)&&(i&16&&this.#s.add(r),Un(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)$e(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),A?.set(e,e.v))}activate(){k=this}deactivate(){k=null,A=null}flush(){try{at=!0,k=this,this.#p()}finally{ct=0,rt=null,ot=null,st=null,at=!1,k=null,A=null,M.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),O.delete(this)}#g(){for(let c of O){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)mt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of O)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,qe(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=g()).promise}static ensure(){if(k===null){let t=k=new e;at||(O.add(k),it||qe(()=>{k===t&&t.flush()}))}return k}apply(){if(!ze||!this.is_fork&&O.size===1){A=null;return}A=new Map;for(let[e,[t]]of this.current)A.set(e,t);for(let n of O)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)A.has(e)||A.set(e,t)}}schedule(e){if(rt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(ot!==null&&t===G&&(ze||(H===null||!(H.f&2))&&!et))return;if(n&96){if(!(n&1024))return;t.f^=_}}this.#a.push(t)}};function dt(e){var t=it;it=!0;try{var n;for(e&&(k!==null&&!k.is_fork&&k.flush(),n=e());;){if(Je(),k===null)return n;k.flush()}}finally{it=t}}function ft(){try{Se()}catch(e){E(e,rt)}}var j=null;function pt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Rn(r)&&(j=new Set,Un(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Sn(r),j?.size>0)){M.clear();for(let e of j){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)j.has(n)&&(j.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Un(n)}}j.clear()}}j=null}}function mt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?mt(i,t,n,r):e&4194320&&!(e&2048)&&ht(i,t,r)&&(D(i,v),gt(i))}}function ht(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&ht(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function gt(e){k.schedule(e)}function _t(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),D(e,_);for(var n=e.first;n!==null;)_t(n,t),n=n.next}}function vt(e){D(e,_);for(var t=e.first;t!==null;)vt(t),t=t.next}function yt(e){let t=0,n=Rt(0),r;return()=>{sn()&&(Z(n),hn(()=>(t===0&&(r=Kn(()=>e(()=>Ht(n)))),t+=1,()=>{qe(()=>{--t,t===0&&(r?.(),r=void 0,Ht(n))})})))}}var bt=se|y;function xt(e,t,n,r){new St(e,t,n,r)}var St=class{parent;is_pending=!1;transform_error;#e;#t=x?C:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=yt(()=>(this.#m=Rt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=_n(()=>{if(x){let e=this.#t;je();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},bt),x&&(this.#e=C)}#g(){try{this.#a=z(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=z(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=z(()=>e(this.#e)),qe(()=>{var e=this.#c=document.createDocumentFragment(),t=I();e.append(t),this.#a=this.#x(()=>z(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Cn(this.#o,()=>{this.#o=null}),this.#b(k))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=z(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Dn(this.#a,e);let t=this.#n.pending;this.#o=z(()=>t(this.#e))}else this.#b(k)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){$e(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=G,n=H,r=T;K(this.#i),W(this.#i),Ve(this.#i.ctx);try{return ut.ensure(),e()}catch(e){return Ye(e),null}finally{K(t),W(n),Ve(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Cn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,qe(()=>{this.#d=!1,this.#m&&Bt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(B(this.#a),null),this.#o&&=(B(this.#o),null),this.#s&&=(B(this.#s),null),x&&(w(this.#t),Ne(),w(Pe()));var r=!1,i=!1;let a=()=>{if(r){Ae();return}r=!0,i&&Oe(),this.#s!==null&&Cn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){E(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return z(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return E(e,this.#i.parent),null}}))};qe(()=>{var t;try{t=this.transform_error(e)}catch(e){E(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>E(e,this.#i&&this.#i.parent)):o(t)})}};function Ct(e,t,n,r){let i=We()?Dt:kt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=wt(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||E(e,o)}Tt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Et();function d(){Promise.all(n.map(e=>Ot(e))).then(e=>l([...t.map(i),...e])).catch(e=>E(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Tt()}):d()}function wt(){var e=G,t=H,n=T,r=k;return function(i=!0){K(e),W(t),Ve(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Tt(e=!0){K(null),W(null),Ve(null),e&&k?.deactivate()}function Et(){var e=G,t=e.b,n=k,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function Dt(e){var t=2|v,r=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=y),{ctx:T,deps:null,effects:null,equals:Ie,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??G,ac:null}}function Ot(e,t,r){let i=G;i===null&&ve();var a=void 0,o=Rt(n),s=!H,c=new Map;return mn(()=>{var t=G,n=g();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Tt)}catch(e){n.reject(e),Tt()}var r=k;if(s){if(t.f&32768)var l=Et();if(i.b.is_rendered())c.get(r)?.reject(b),c.delete(r);else{for(let e of c.values())e.reject(b);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===b),!(n===b||t.f&16384)){if(r.activate(),n)o.f|=pe,Bt(o,n);else{o.f&8388608&&(o.f^=pe),Bt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(b)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),cn(()=>{for(let e of c.values())e.reject(b)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function kt(e){let t=Dt(e);return t.equals=Re,t}function At(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)B(t[n])}}function jt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Mt(e){var t,n=G;K(jt(e));try{e.f&=~ue,At(e),t=Bn(e)}finally{K(n)}return t}function Nt(e){var t=e.v,n=Mt(e);if(!e.equals(n)&&(e.wv=Ln(),(!k?.is_fork||e.deps===null)&&(e.v=n,k?.capture(e,t,!0),e.deps===null))){D(e,_);return}V||(A===null?Ze(e):(sn()||k?.is_fork)&&A.set(e,n))}function Pt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(b),t.teardown=ee,t.ac=null,Hn(t,0),yn(t))}function Ft(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Un(t)}var It=new Set,M=new Map,Lt=!1;function Rt(e,t){return{f:0,v:e,reactions:null,equals:Ie,rv:0,wv:0}}function N(e,t){let n=Rt(e,t);return jn(n),n}function zt(e,t=!1,n=!0){let r=Rt(e);return t||(r.equals=Re),Be&&n&&T!==null&&T.l!==null&&(T.l.s??=[]).push(r),r}function P(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&We()&&H.f&4325394&&(q===null||!o.call(q,e))&&De(),Bt(e,n?F(t):t,st)}function Bt(e,t,n=null){if(!e.equals(t)){var r=e.v;V?M.set(e,t):M.set(e,r),e.v=t;var i=ut.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Mt(t),A===null&&Ze(t)}e.wv=Ln(),Ut(e,v,n),We()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?Mn([e]):X.push(e)),!i.is_fork&&It.size>0&&!Lt&&Vt()}return t}function Vt(){Lt=!1;for(let e of It)e.f&1024&&D(e,ne),Rn(e)&&Un(e);It.clear()}function Ht(e){P(e,e.v+1)}function Ut(e,t,n){var r=e.reactions;if(r!==null)for(var i=We(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&v)===0;if(l&&D(s,t),c&2){var u=s;A?.delete(u),c&65536||(c&512&&(s.f|=ue),Ut(u,ne,n))}else if(l){var d=s;c&16&&j!==null&&j.add(d),n===null?gt(d):n.push(d)}}}}function F(e){if(typeof e!=`object`||!e||me in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=N(0),s=null,c=Fn,l=e=>{if(Fn===c)return e();var t=H,n=Fn;W(null),In(c);var r=e();return W(t),In(n),r};return a&&r.set(`length`,N(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Te();var i=r.get(t);return i===void 0?l(()=>{var e=N(n.value,s);return r.set(t,e),e}):P(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>N(n,s));r.set(t,e),Ht(o)}}else P(i,n),Ht(o);return!0},get(t,i,a){if(i===me)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>N(F(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=Z(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=Z(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===me)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||G!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>N(a?F(e[t]):n,s)),r.set(t,i)),Z(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>N(n,s)),r.set(p+``,m)):P(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>N(void 0,s)),P(d,F(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>F(i));P(d,h)}var ee=Reflect.getOwnPropertyDescriptor(e,t);if(ee?.set&&ee.set.call(c,i),!f){if(a&&typeof t==`string`){var te=r.get(`length`),g=Number(t);Number.isInteger(g)&&g>=te.v&&P(te,g+1)}Ht(o)}return!0},ownKeys(e){Z(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){Ee()}})}var Wt,Gt,Kt,qt;function Jt(){if(Wt===void 0){Wt=window,Gt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Kt=u(t,`firstChild`).get,qt=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function I(e=``){return document.createTextNode(e)}function Yt(e){return Kt.call(e)}function L(e){return qt.call(e)}function Xt(e,t){if(!x)return Yt(e);var n=Yt(C);if(n===null)n=C.appendChild(I());else if(t&&n.nodeType!==3){var r=I();return n?.before(r),w(r),r}return t&&nn(n),w(n),n}function Zt(e,t=!1){if(!x){var n=Yt(e);return n instanceof Comment&&n.data===``?L(n):n}if(t){if(C?.nodeType!==3){var r=I();return C?.before(r),w(r),r}nn(C)}return C}function Qt(e,t=1,n=!1){let r=x?C:e;for(var i;t--;)i=r,r=L(r);if(!x)return r;if(n){if(r?.nodeType!==3){var a=I();return r===null?i?.after(a):r.before(a),w(a),a}nn(r)}return w(r),r}function $t(e){e.textContent=``}function en(){return!ze||j!==null?!1:(G.f&ae)!==0}function tn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function nn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function rn(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function an(e){G===null&&(H===null&&xe(e),be()),V&&ye(e)}function on(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function R(e,t){var n=G;n!==null&&n.f&8192&&(e|=re);var r={ctx:T,deps:null,nodes:null,f:e|v|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)ot===null?ut.ensure().schedule(r):ot.push(r);else if(t!==null){try{Un(r)}catch(e){throw B(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=se))}if(i!==null&&(i.parent=n,n!==null&&on(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function sn(){return H!==null&&!U}function cn(e){let t=R(8,null);return D(t,_),t.teardown=e,t}function ln(e){an(`$effect`);var t=G.f;if(!H&&t&32&&!(t&32768)){var n=T;(n.e??=[]).push(e)}else return un(e)}function un(e){return R(4|le,e)}function dn(e){ut.ensure();let t=R(64|y,e);return()=>{B(t)}}function fn(e){ut.ensure();let t=R(64|y,e);return(e={})=>new Promise(n=>{e.outro?Cn(t,()=>{B(t),n(void 0)}):(B(t),n(void 0))})}function pn(e){return R(4,e)}function mn(e){return R(fe|y,e)}function hn(e,t=0){return R(8|t,e)}function gn(e,t=[],n=[],r=[]){Ct(r,t,n,t=>{R(8,()=>e(...t.map(Z)))})}function _n(e,t=0){return R(16|t,e)}function z(e){return R(32|y,e)}function vn(e){var t=e.teardown;if(t!==null){let e=V,n=H;An(!0),W(null);try{t.call(null)}finally{An(e),W(n)}}}function yn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&rn(()=>{e.abort(b)});var r=n.next;n.f&64?n.parent=null:B(n,t),n=r}}function bn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||B(t),t=n}}function B(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(xn(e.nodes.start,e.nodes.end),n=!0),D(e,oe),yn(e,t&&!n),Hn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();vn(e),e.f^=oe,e.f|=ie;var i=e.parent;i!==null&&i.first!==null&&Sn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function xn(e,t){for(;e!==null;){var n=e===t?null:L(e);e.remove(),e=n}}function Sn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Cn(e,t,n=!0){var r=[];wn(e,r,!0);var i=()=>{n&&B(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function wn(e,t,n){if(!(e.f&8192)){e.f^=re;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;wn(i,t,o?n:!1),i=a}}}function Tn(e){En(e,!0)}function En(e,t){if(e.f&8192){e.f^=re,e.f&1024||(D(e,v),ut.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;En(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function Dn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:L(n);t.append(n),n=i}}var On=null,kn=!1,V=!1;function An(e){V=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function jn(e){H!==null&&(!ze||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function Mn(e){X=e}var Nn=1,Pn=0,Fn=Pn;function In(e){Fn=e}function Ln(){return++Nn}function Rn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ue),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Rn(a)&&Nt(a),a.wv>e.wv)return!0}t&512&&A===null&&D(e,_)}return!1}function zn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!ze&&q!==null&&o.call(q,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?zn(a,t,!1):t===a&&(n?D(a,v):a.f&1024&&D(a,ne),gt(a))}}function Bn(e){var t=J,n=Y,r=X,i=H,a=q,o=T,s=U,c=Fn,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,Ve(e.ctx),U=!1,Fn=++Pn,e.ac!==null&&(rn(()=>{e.ac.abort(b)}),e.ac=null);try{e.f|=de;var u=e.fn,d=u();e.f|=ae;var f=e.deps,p=k?.is_fork;if(J!==null){var m;if(p||Hn(e,Y),f!==null&&Y>0)for(f.length=Y+J.length,m=0;m<J.length;m++)f[Y+m]=J[m];else e.deps=f=J;if(sn()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(Hn(e,Y),f.length=Y);if(We()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)zn(X[m],e);if(i!==null&&i!==e){if(Pn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Pn;if(t!==null)for(let e of t)e.rv=Pn;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=pe),d}catch(e){return Ye(e)}finally{e.f^=de,J=t,Y=n,X=r,H=i,q=a,Ve(o),U=s,Fn=c}}function Vn(e,t){let n=t.reactions;if(n!==null){var r=a.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(J===null||!o.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~ue),Ze(s),Pt(s),Hn(s,0)}}function Hn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Vn(e,n[r])}function Un(e){var t=e.f;if(!(t&16384)){D(e,_);var n=G,r=kn;G=e,kn=!0;try{t&16777232?bn(e):yn(e),vn(e);var i=Bn(e);e.teardown=typeof i==`function`?i:null,e.wv=Nn}finally{kn=r,G=n}}}function Z(e){var t=(e.f&2)!=0;if(On?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!o.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Pn&&(e.rv=Pn,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{(H.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[H]:o.call(r,H)||r.push(H)}}if(V&&M.has(e))return M.get(e);if(t){var i=e;if(V){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Gn(i))&&(a=Mt(i)),M.set(i,a),a}var s=(i.f&512)==0&&!U&&H!==null&&(kn||(H.f&512)!=0),c=(i.f&ae)===0;Rn(i)&&(s&&(i.f|=512),Nt(i)),s&&!c&&(Ft(i),Wn(i))}if(A?.has(e))return A.get(e);if(e.f&8388608)throw e.v;return e.v}function Wn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Ft(t),Wn(t))}function Gn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(M.has(t)||t.f&2&&Gn(t))return!0;return!1}function Kn(e){var t=U;try{return U=!0,e()}finally{U=t}}var qn=Symbol(`events`),Jn=new Set,Yn=new Set;function Xn(e,t,n){(t[qn]??={})[e]=n}function Zn(e){for(var t=0;t<e.length;t++)Jn.add(e[t]);for(var n of Yn)n(e)}var Qn=null;function $n(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Qn=e;var o=0,s=Qn===e&&e[qn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[qn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=H,f=G;W(null),K(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var ee=a[qn]?.[r];ee!=null&&(!a.disabled||e.target===a)&&ee.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[qn]=t,delete e.currentTarget,W(d),K(f)}}}var er=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function tr(e){return er?.createHTML(e)??e}function nr(e){var t=tn(`template`);return t.innerHTML=tr(e.replaceAll(`<!>`,`<!---->`)),t.content}function Q(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function rr(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(x)return Q(C,null),C;i===void 0&&(i=nr(a?e:`<!>`+e),n||(i=Yt(i)));var t=r||Gt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Yt(t),s=t.lastChild;Q(o,s)}else Q(t,t);return t}}function ir(e=``){if(!x){var t=I(e+``);return Q(t,t),t}var n=C;return n.nodeType===3?nn(n):(n.before(n=I()),w(n)),Q(n,n),n}function ar(){if(x)return Q(C,null),C;var e=document.createDocumentFragment(),t=document.createComment(``),n=I();return e.append(t,n),Q(t,n),e}function $(e,t){if(x){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=C),je();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var or=[`touchstart`,`touchmove`];function sr(e){return or.includes(e)}function cr(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function lr(e,t){return fr(e,t)}function ur(e,n){Jt(),n.intro=n.intro??!1;let r=n.target,i=x,a=C;try{for(var o=Yt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=L(o);if(!o)throw t;S(!0),w(o);let i=fr(e,{...n,anchor:o});return S(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&Ce(),Jt(),$t(r),S(!1),lr(e,n)}finally{S(i),w(a)}}var dr=new Map;function fr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Jt();var u=void 0,d=fn(()=>{var c=r??n.appendChild(I());xt(c,{pending:()=>{}},n=>{He({});var r=T;if(o&&(r.c=o),a&&(i.$$events=a),x&&Q(n,null),u=e(n,i)||{},x&&(G.nodes.end=C,C===null||C.nodeType!==8||C.data!==`]`))throw ke(),t;Ue()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=sr(r);for(let e of[n,document]){var a=dr.get(e);a===void 0&&(a=new Map,dr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,$n,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(Jn)),Yn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=dr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,$n),t.delete(e),t.size===0&&dr.delete(r)):t.set(e,i)}Yn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return pr.set(u,d),u}var pr=new WeakMap;function mr(e,t){let n=pr.get(e);return n?(pr.delete(e),n(t)):Promise.resolve()}var hr=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Tn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(B(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();Dn(r,t),t.append(I()),this.#n.set(e,{effect:r,fragment:t})}else B(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Cn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(B(n.effect),this.#n.delete(e))};ensure(e,t){var n=k,r=en();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=I();i.append(a),this.#n.set(e,{effect:z(()=>t(a)),fragment:i})}else this.#t.set(e,z(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else x&&(this.anchor=C),this.#a(n)}};function gr(e,t,n=!1){var r;x&&(r=C,je());var i=new hr(e),a=n?se:0;function o(e,t){if(x){var n=Fe(r);if(e!==parseInt(n.substring(1))){var a=Pe();w(a),i.anchor=a,S(!1),i.ensure(e,t),S(!0);return}}i.ensure(e,t)}_n(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function _r(e,t){let n=null,r=x;var i;if(x){n=C;for(var a=Yt(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=L(a);if(a===null)S(!1);else{var o=L(a);a.remove(),w(o)}}x||(i=document.head.appendChild(I()));try{_n(()=>t(i),ce|y)}finally{r&&(S(!0),w(n))}}function vr(e,t){pn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=tn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var yr=[...`
3
+ \r\f\xA0\v`];function br(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||yr.includes(r[o-1]))&&(s===r.length||yr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function xr(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Sr(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Cr(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Sr)),i&&c.push(...Object.keys(i).map(Sr));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Sr(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=xr(r)),i&&(n+=xr(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function wr(e,t,n,r,i,a){var o=e.__className;if(x||o!==n||o===void 0){var s=br(n,r,a);(!x||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Tr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Er(e,t,n,r){var i=e.__style;if(x||i!==t){var a=Cr(t,r);(!x||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(Tr(e,n?.[0],r[0]),Tr(e,n?.[1],r[1],`important`)):Tr(e,n,r));return r}var Dr=Symbol(`is custom element`),Or=Symbol(`is html`),kr=_e?`link`:`LINK`;function Ar(e,t,n,r){var i=jr(e);x&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===kr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ge]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Nr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function jr(e){return e.__attributes??={[Dr]:e.nodeName.includes(`-`),[Or]:e.namespaceURI===r}}var Mr=new Map;function Nr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Mr.get(t);if(n)return n;Mr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Pr(e,t,n,r){var i=!Be||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Kn(r):r),s);let d;if(a){var f=me in e||he in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=nt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&we(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var ee=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||ee||m)&&d(t?h():e),e):h()})}var te=!1,g=(n&1?Dt:kt)(()=>(te=!1,h()));a&&Z(g);var _=G;return(function(e,t){if(arguments.length>0){let n=t?Z(g):i&&a?F(e):e;return P(g,n),te=!0,s!==void 0&&(s=n),e}return V&&te||_.f&16384?g.v:Z(g)})}function Fr(e){return new Ir(e)}var Ir=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=zt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===he?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return P(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?ur:lr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!ze&&(!e?.props?.$$host||e.sync===!1)&&dt(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{mr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Lr;typeof HTMLElement==`function`&&(Lr=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){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=tn(`slot`);e!==`default`&&(n.name=e),$(t,n)}}let t={},n=zr(this);for(let 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(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Rr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Fr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=dn(()=>{hn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Rr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Rr(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 c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Rr(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function zr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Br(e,t,n,r,i,a){let o=class extends Lr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Rr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Vr=rr(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>`),Hr=rr(`<a style="color:inherit" target="_blank"> <i style="margin-left:10px;" class="bi bi-box-arrow-up-right"></i></a>`),Ur=rr(`<div style="text-decoration:underline;cursor:pointer"> <i style="margin-left:10px;" class="bi bi-box-arrow-up-right"></i></div>`),Wr=rr(`<div style="margin:5px 0px 20px 0px;font-weight:bold"><!></div>`),Gr=rr(`<div style="
3
4
  margin: 30px auto 40px auto;
4
5
  display: flex;
5
- flex-direction: row;"><div><i style="font-size:1.8rem;padding:25px"></i></div> <div><!> <div> </div></div></div>`);const Ei={hash:"svelte-jd1rc0",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");
6
+ flex-direction: row;"><div><i style="font-size:1.8rem;padding:25px"></i></div> <div><!> <div> </div></div></div>`),Kr={hash:`svelte-jd1rc0`,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");
6
7
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;display:block;}
7
8
  @media screen and (min-width: 900px) {
8
- }.col.svelte-jd1rc0 {flex:1;padding:20px;}`};function Pn(e,t){Vt(t,!0),ri(e,Ei);function n(u,h){t.$$host.dispatchEvent(new CustomEvent(u,{detail:h}))}let r=Et(t,"id",7,""),i=Et(t,"paragraph"),s=Et(t,"max_lines",7,8);Re({}),Cr(()=>{i()||console.warn("paragraph is undefined"),typeof i()=="string"&&i(JSON.parse(i())),typeof s()=="string"&&s(Number(s()))});var f={get id(){return r()},set id(u=""){r(u),Ge()},get paragraph(){return i()},set paragraph(u){i(u),Ge()},get max_lines(){return s()},set max_lines(u=8){s(u),Ge()}},l=Jr();ni("jd1rc0",u=>{var h=mi();he(u,h)});var a=kr(l);{var o=u=>{var h=bi(),c=ge(h),_=ge(c);ve(c);var d=cn(c,2),y=ge(d);{var x=$e=>{var xt=$i(),xi=ge(xt);{var Ti=te=>{var F=yi(),Tt=ge(F,!0);at(),ve(F),Ze(()=>{ci(F,"href",i().link),et(Tt,i().title)}),he(te,F)},ki=te=>{var F=wi(),Tt=ge(F,!0);at(),ve(F),Ze(()=>et(Tt,i().title)),Br("click",F,()=>{n("paragraphPressed",{key:i().key})}),he(te,F)},Si=te=>{var F=Wr();Ze(()=>et(F,i().title)),he(te,F)};bt(xi,te=>{i().link?te(Ti):i().key?te(ki,1):te(Si,-1)})}ve(xt),he($e,xt)};bt(y,$e=>{i().title&&$e(x)})}var S=cn(y,2),de=ge(S,!0);ve(S),ve(d),ve(h),Ze(()=>{li(_,1,`bi bi-${i().icon??""}`,"svelte-jd1rc0"),fi(S,`
9
+ }.col.svelte-jd1rc0 {flex:1;padding:20px;}`};function qr(e,t){He(t,!0),vr(e,Kr);function n(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}let r=Pr(t,`id`,7,``),i=Pr(t,`paragraph`,7),a=Pr(t,`max_lines`,7,8);F({}),ln(()=>{i()||console.warn(`paragraph is undefined`),typeof i()==`string`&&i(JSON.parse(i())),typeof a()==`string`&&a(Number(a()))});var o={get id(){return r()},set id(e=``){r(e),dt()},get paragraph(){return i()},set paragraph(e){i(e),dt()},get max_lines(){return a()},set max_lines(e=8){a(e),dt()}},s=ar();_r(`jd1rc0`,e=>{$(e,Vr())});var c=Zt(s),l=e=>{var t=Gr(),r=Xt(t),o=Xt(r);Me(r);var s=Qt(r,2),c=Xt(s),l=e=>{var t=Wr(),r=Xt(t),a=e=>{var t=Hr(),n=Xt(t,!0);Ne(),Me(t),gn(()=>{Ar(t,`href`,i().link),cr(n,i().title)}),$(e,t)},o=e=>{var t=Ur(),r=Xt(t,!0);Ne(),Me(t),gn(()=>cr(r,i().title)),Xn(`click`,t,()=>{n(`paragraphPressed`,{key:i().key})}),$(e,t)},s=e=>{var t=ir();gn(()=>cr(t,i().title)),$(e,t)};gr(r,e=>{i().link?e(a):i().key?e(o,1):e(s,-1)}),Me(t),$(e,t)};gr(c,e=>{i().title&&e(l)});var u=Qt(c,2),d=Xt(u,!0);Me(u),Me(s),Me(t),gn(()=>{wr(o,1,`bi bi-${i().icon??``}`,`svelte-jd1rc0`),Er(u,`
9
10
  --lh: 1.5rem;
10
11
  line-height: var(--lh);
11
- --max-lines: '${s()??""}'';
12
+ --max-lines: '${a()??``}'';
12
13
  position: relative;
13
14
  max-height: calc(var(--lh) * var(--max-lines));
14
15
  overflow: hidden;
15
- `),et(de,i().text)}),he(u,h)};bt(a,u=>{i()&&typeof i()=="object"&&u(o)})}return he(e,l),Yt(f)}Ur(["click"]),customElements.define("hb-paragraps-around-image-cell",gi(Pn,{id:{},paragraph:{},max_lines:{}},[],[],{mode:"open"})),kt.Component=Pn,Object.defineProperty(kt,Symbol.toStringTag,{value:"Module"})})(this["paragraps-around-image-cell"]=this["paragraps-around-image-cell"]||{});
16
- //# sourceMappingURL=main.iife.js.map
16
+ `),cr(d,i().text)}),$(e,t)};return gr(c,e=>{i()&&typeof i()==`object`&&e(l)}),$(e,s),Ue(o)}Zn([`click`]),customElements.define(`hb-paragraps-around-image-cell`,Br(qr,{id:{},paragraph:{},max_lines:{}},[],[],{mode:`open`})),e.Component=qr})(this[`paragraps-around-image-cell`]=this[`paragraps-around-image-cell`]||{});
17
+ //# sourceMappingURL=main.iife.js.map