@htmlbricks/hb-messages-topics-card 0.61.39 → 0.61.41

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,6 +1,6 @@
1
- (function(Ct){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Hr=1,Yr=2,Br=16,Vr=1,Gr=4,Xr=8,Wr=16,Kr=2,zt="[",nt="[!",st="]",xe={},N=Symbol(),Jr="http://www.w3.org/1999/xhtml",It=!1;var it=Array.isArray,Zr=Array.prototype.indexOf,at=Array.from,Fe=Object.keys,Se=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,Qr=Object.getOwnPropertyDescriptors,en=Object.prototype,tn=Array.prototype,Pt=Object.getPrototypeOf,Mt=Object.isExtensible;function Dt(e){for(var t=0;t<e.length;t++)e[t]()}function rn(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const M=2,lt=4,Lt=8,Te=16,Z=32,ie=64,Ft=128,j=256,je=512,z=1024,q=2048,ae=4096,Y=8192,he=16384,ot=32768,ut=65536,jt=1<<17,nn=1<<18,ke=1<<19,sn=1<<20,ft=1<<21,ct=1<<22,be=1<<23,qe=Symbol("$state"),qt=Symbol("legacy props"),an=Symbol(""),dt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ut=3,Ie=8;function ln(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function on(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function un(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function fn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function cn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function dn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function vn(){throw new Error("https://svelte.dev/e/hydration_failed")}function hn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function bn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function _n(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function pn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ue(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let T=!1;function Q(e){T=e}let S;function V(e){if(e===null)throw Ue(),xe;return S=e}function He(){return V(ue(S))}function le(e){if(T){if(ue(S)!==null)throw Ue(),xe;S=e}}function vt(){for(var e=0,t=S;;){if(t.nodeType===Ie){var r=t.data;if(r===st){if(e===0)return t;e-=1}else(r===zt||r===nt)&&(e+=1)}var n=ue(t);t.remove(),t=n}}function Ht(e){if(!e||e.nodeType!==Ie)throw Ue(),xe;return e.data}function Yt(e){return e===this.v}function gn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Bt(e){return!gn(e,this.v)}let mn=!1,B=null;function Ye(e){B=e}function Vt(e,t=!1,r){B={p:B,c:null,e:null,s:e,x:null,l:null}}function Gt(e){var t=B,r=t.e;if(r!==null){t.e=null;for(var n of r)hr(n)}return e!==void 0&&(t.x=e),B=t.p,e??{}}function Xt(){return!0}const wn=new WeakMap;function yn(e){var t=w;if(t===null)return y.f|=be,e;if((t.f&ot)===0){if((t.f&Ft)===0)throw!t.parent&&e instanceof Error&&Wt(e),e;t.b.error(e)}else ht(e,t)}function ht(e,t){for(;t!==null;){if((t.f&Ft)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Wt(e),e}function Wt(e){const t=wn.get(e);t&&(Se(e,"message",{value:t.message}),Se(e,"stack",{value:t.stack}))}let bt=[],_t=[];function $n(){var e=bt;bt=[],Dt(e)}function En(){var e=_t;_t=[],Dt(e)}function xn(){bt.length>0&&$n(),_t.length>0&&En()}function Sn(){const e=w.b;return e===null&&ln(),e}function pt(e){var t=M|q,r=y!==null&&(y.f&M)!==0?y:null;return w===null||r!==null&&(r.f&j)!==0?t|=j:w.f|=ke,{ctx:B,deps:null,effects:null,equals:Yt,f:t,fn:e,reactions:null,rv:0,v:N,wv:0,parent:r??w,ac:null}}function Tn(e,t){let r=w;r===null&&on();var n=r.b,s=void 0,i=Pe(N),a=null,o=!y;return Dn(()=>{try{var l=e();a&&Promise.resolve(l).catch(()=>{})}catch(h){l=Promise.reject(h)}var f=()=>l;s=a?.then(f,f)??Promise.resolve(l),a=s;var u=R,b=n.is_pending();o&&(n.update_pending_count(1),b||u.increment());const d=(h,c=void 0)=>{a=null,b||u.activate(),c?c!==dt&&(i.f|=be,Xe(i,c)):((i.f&be)!==0&&(i.f^=be),Xe(i,h)),o&&(n.update_pending_count(-1),b||u.decrement()),Qt()};if(s.then(d,h=>d(null,h||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(l=>{function f(u){function b(){u===s?l(i):f(s)}u.then(b,b)}f(s)})}function Kt(e){const t=pt(e);return t.equals=Bt,t}function Jt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)G(t[r])}}function kn(e){for(var t=e.parent;t!==null;){if((t.f&M)===0)return t;t=t.parent}return null}function gt(e){var t,r=w;ce(kn(e));try{Jt(e),t=kr(e)}finally{ce(r)}return t}function Zt(e){var t=gt(e);if(e.equals(t)||(e.v=t,e.wv=Sr()),!ye){var r=(de||(e.f&j)!==0)&&e.deps!==null?ae:z;L(e,r)}}function An(e,t,r){const n=pt;if(t.length===0){r(e.map(n));return}var s=R,i=w,a=Rn(),o=Sn();Promise.all(t.map(l=>Tn(l))).then(l=>{s?.activate(),a();try{r([...e.map(n),...l])}catch(f){(i.f&he)===0&&ht(f,i)}s?.deactivate(),Qt()}).catch(l=>{o.error(l)})}function Rn(){var e=w,t=y,r=B,n=R;return function(){ce(e),W(t),Ye(r),n?.activate()}}function Qt(){ce(null),W(null),Ye(null)}const mt=new Set;let R=null,er=new Set,Be=[];function tr(){const e=Be.shift();Be.length>0&&queueMicrotask(tr),e()}let _e=[],Ve=null,wt=!1,Ge=!1;class pe{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#s=[];#a=[];#i=[];#n=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){_e=[];for(const s of t)this.#h(s);if(this.#s.length===0&&this.#r===0){this.#v();var r=this.#i,n=this.#n;this.#i=[],this.#n=[],this.#l=[],R=null,nr(r),nr(n),R===null?R=this:mt.delete(this),this.#u?.resolve()}else this.#o(this.#i),this.#o(this.#n),this.#o(this.#l);for(const s of this.#s)Oe(s);for(const s of this.#a)Oe(s);this.#s=[],this.#a=[]}#h(t){t.f^=z;for(var r=t.first;r!==null;){var n=r.f,s=(n&(Z|ie))!==0,i=s&&(n&z)!==0,a=i||(n&Y)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(s)r.f^=z;else if((n&lt)!==0)this.#n.push(r);else if((n&z)===0)if((n&ct)!==0){var o=r.b?.is_pending()?this.#a:this.#s;o.push(r)}else Ke(r)&&((r.f&Te)!==0&&this.#l.push(r),Oe(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#o(t){for(const r of t)((r.f&q)!==0?this.#c:this.#d).push(r),L(r,z);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){R=this}deactivate(){R=null;for(const t of er)if(er.delete(t),t(),R!==null)break}neuter(){this.#f=!0}flush(){_e.length>0?rr():this.#v(),R===this&&(this.#r===0&&mt.delete(this),this.deactivate())}#v(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)L(t,q),Ae(t);for(const t of this.#d)L(t,ae),Ae(t);this.#i=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=rn()).promise}static ensure(){if(R===null){const t=R=new pe;mt.add(R),Ge||pe.enqueue(()=>{R===t&&t.flush()})}return R}static enqueue(t){Be.length===0&&queueMicrotask(tr),Be.unshift(t)}}function yt(e){var t=Ge;Ge=!0;try{for(var r;;){if(xn(),_e.length===0&&(R?.flush(),_e.length===0))return Ve=null,r;rr()}}finally{Ge=t}}function rr(){var e=Ne;wt=!0;try{var t=0;for(yr(!0);_e.length>0;){var r=pe.ensure();if(t++>1e3){var n,s;Nn()}r.process(_e),oe.clear()}}finally{wt=!1,yr(e),Ve=null}}function Nn(){try{dn()}catch(e){ht(e,Ve)}}let ge=null;function nr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(he|Y))===0&&Ke(n)&&(ge=[],Oe(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?gr(n):n.fn=null),ge?.length>0)){oe.clear();for(const s of ge)Oe(s);ge=[]}}ge=null}}function Ae(e){for(var t=Ve=e;t.parent!==null;){t=t.parent;var r=t.f;if(wt&&t===w&&(r&Te)!==0)return;if((r&(ie|Z))!==0){if((r&z)===0)return;t.f^=z}}_e.push(t)}const oe=new Map;function Pe(e,t){var r={f:0,v:e,reactions:null,equals:Yt,rv:0,wv:0};return r}function ee(e,t){const r=Pe(e);return Un(r),r}function sr(e,t=!1,r=!0){const n=Pe(e);return t||(n.equals=Bt),n}function te(e,t,r=!1){y!==null&&(!X||(y.f&jt)!==0)&&Xt()&&(y.f&(M|Te|ct|jt))!==0&&!ne?.includes(e)&&pn();let n=r?me(t):t;return Xe(e,n)}function Xe(e,t){if(!e.equals(t)){var r=e.v;ye?oe.set(e,t):oe.set(e,r),e.v=t;var n=pe.ensure();n.capture(e,r),(e.f&M)!==0&&((e.f&q)!==0&&gt(e),L(e,(e.f&j)===0?z:ae)),e.wv=Sr(),ir(e,q),w!==null&&(w.f&z)!==0&&(w.f&(Z|ie))===0&&(U===null?Hn([e]):U.push(e))}return t}function $t(e){te(e,e.v+1)}function ir(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],a=i.f,o=(a&q)===0;o&&L(i,t),(a&M)!==0?ir(i,ae):o&&((a&Te)!==0&&ge!==null&&ge.push(i),Ae(i))}}function me(e){if(typeof e!="object"||e===null||qe in e)return e;const t=Pt(e);if(t!==en&&t!==tn)return e;var r=new Map,n=it(e),s=ee(0),i=$e,a=o=>{if($e===i)return o();var l=y,f=$e;W(null),xr(i);var u=o();return W(l),xr(f),u};return n&&r.set("length",ee(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&bn();var u=r.get(l);return u===void 0?u=a(()=>{var b=ee(f.value);return r.set(l,b),b}):te(u,f.value,!0),!0},deleteProperty(o,l){var f=r.get(l);if(f===void 0){if(l in o){const u=a(()=>ee(N));r.set(l,u),$t(s)}}else te(f,N),$t(s);return!0},get(o,l,f){if(l===qe)return e;var u=r.get(l),b=l in o;if(u===void 0&&(!b||ve(o,l)?.writable)&&(u=a(()=>{var h=me(b?o[l]:N),c=ee(h);return c}),r.set(l,u)),u!==void 0){var d=k(u);return d===N?void 0:d}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var u=r.get(l);u&&(f.value=k(u))}else if(f===void 0){var b=r.get(l),d=b?.v;if(b!==void 0&&d!==N)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(o,l){if(l===qe)return!0;var f=r.get(l),u=f!==void 0&&f.v!==N||Reflect.has(o,l);if(f!==void 0||w!==null&&(!u||ve(o,l)?.writable)){f===void 0&&(f=a(()=>{var d=u?me(o[l]):N,h=ee(d);return h}),r.set(l,f));var b=k(f);if(b===N)return!1}return u},set(o,l,f,u){var b=r.get(l),d=l in o;if(n&&l==="length")for(var h=f;h<b.v;h+=1){var c=r.get(h+"");c!==void 0?te(c,N):h in o&&(c=a(()=>ee(N)),r.set(h+"",c))}if(b===void 0)(!d||ve(o,l)?.writable)&&(b=a(()=>ee(void 0)),te(b,me(f)),r.set(l,b));else{d=b.v!==N;var v=a(()=>me(f));te(b,v)}var p=Reflect.getOwnPropertyDescriptor(o,l);if(p?.set&&p.set.call(u,f),!d){if(n&&typeof l=="string"){var x=r.get("length"),_=Number(l);Number.isInteger(_)&&_>=x.v&&te(x,_+1)}$t(s)}return!0},ownKeys(o){k(s);var l=Reflect.ownKeys(o).filter(b=>{var d=r.get(b);return d===void 0||d.v!==N});for(var[f,u]of r)u.v!==N&&!(f in o)&&l.push(f);return l},setPrototypeOf(){_n()}})}var ar,lr,or,ur;function Et(){if(ar===void 0){ar=window,lr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;or=ve(t,"firstChild").get,ur=ve(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(r)&&(r.__t=void 0)}}function we(e=""){return document.createTextNode(e)}function Me(e){return or.call(e)}function ue(e){return ur.call(e)}function fe(e,t){if(!T)return Me(e);var r=Me(S);if(r===null)r=S.appendChild(we());else if(t&&r.nodeType!==Ut){var n=we();return r?.before(n),V(n),n}return V(r),r}function fr(e,t){if(!T){var r=Me(e);return r instanceof Comment&&r.data===""?ue(r):r}return S}function We(e,t=1,r=!1){let n=T?S:e;for(var s;t--;)s=n,n=ue(n);if(!T)return n;if(r&&n?.nodeType!==Ut){var i=we();return n===null?s?.after(i):n.before(i),V(i),i}return V(n),n}function cr(e){e.textContent=""}function dr(){return!1}function vr(e){var t=y,r=w;W(null),ce(null);try{return e()}finally{W(t),ce(r)}}function On(e){w===null&&y===null&&cn(),y!==null&&(y.f&j)!==0&&w===null&&fn(),ye&&un()}function Cn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function re(e,t,r,n=!0){var s=w;s!==null&&(s.f&Y)!==0&&(e|=Y);var i={ctx:B,deps:null,nodes_start:null,nodes_end:null,f:e|q,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Oe(i),i.f|=ot}catch(l){throw G(i),l}else t!==null&&Ae(i);if(n){var a=i;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&ke)===0&&(a=a.first),a!==null&&(a.parent=s,s!==null&&Cn(a,s),y!==null&&(y.f&M)!==0&&(e&ie)===0)){var o=y;(o.effects??=[]).push(a)}}return i}function zn(e){On();var t=w.f,r=!y&&(t&Z)!==0&&(t&ot)===0;if(r){var n=B;(n.e??=[]).push(e)}else return hr(e)}function hr(e){return re(lt|sn,e,!1)}function In(e){pe.ensure();const t=re(ie|ke,e,!0);return()=>{G(t)}}function Pn(e){pe.ensure();const t=re(ie|ke,e,!0);return(r={})=>new Promise(n=>{r.outro?xt(t,()=>{G(t),n(void 0)}):(G(t),n(void 0))})}function Mn(e){return re(lt,e,!1)}function Dn(e){return re(ct|ke,e,!0)}function Ln(e,t=0){return re(Lt|t,e,!0)}function Fn(e,t=[],r=[]){An(t,r,n=>{re(Lt,()=>e(...n.map(k)),!0)})}function br(e,t=0){var r=re(Te|t,e,!0);return r}function Re(e,t=!0){return re(Z|ke,e,!0,t)}function _r(e){var t=e.teardown;if(t!==null){const r=ye,n=y;$r(!0),W(null);try{t.call(null)}finally{$r(r),W(n)}}}function pr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&vr(()=>{s.abort(dt)});var n=r.next;(r.f&ie)!==0?r.parent=null:G(r,t),r=n}}function jn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Z)===0&&G(t),t=r}}function G(e,t=!0){var r=!1;(t||(e.f&nn)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(qn(e.nodes_start,e.nodes_end),r=!0),pr(e,t&&!r),Je(e,0),L(e,he);var n=e.transitions;if(n!==null)for(const i of n)i.stop();_r(e);var s=e.parent;s!==null&&s.first!==null&&gr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function qn(e,t){for(;e!==null;){var r=e===t?null:ue(e);e.remove(),e=r}}function gr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function xt(e,t){var r=[];St(e,r,!0),mr(r,()=>{G(e),t&&t()})}function mr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function St(e,t,r){if((e.f&Y)===0){if(e.f^=Y,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&ut)!==0||(n.f&Z)!==0;St(n,t,i?r:!1),n=s}}}function Tt(e){wr(e,!0)}function wr(e,t){if((e.f&Y)!==0){e.f^=Y,(e.f&z)===0&&(L(e,q),Ae(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&ut)!==0||(r.f&Z)!==0;wr(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let Ne=!1;function yr(e){Ne=e}let ye=!1;function $r(e){ye=e}let y=null,X=!1;function W(e){y=e}let w=null;function ce(e){w=e}let ne=null;function Un(e){y!==null&&(ne===null?ne=[e]:ne.push(e))}let I=null,D=0,U=null;function Hn(e){U=e}let Er=1,De=0,$e=De;function xr(e){$e=e}let de=!1;function Sr(){return++Er}function Ke(e){var t=e.f;if((t&q)!==0)return!0;if((t&ae)!==0){var r=e.deps,n=(t&j)!==0;if(r!==null){var s,i,a=(t&je)!==0,o=n&&w!==null&&!de,l=r.length;if((a||o)&&(w===null||(w.f&he)===0)){var f=e,u=f.parent;for(s=0;s<l;s++)i=r[s],(a||!i?.reactions?.includes(f))&&(i.reactions??=[]).push(f);a&&(f.f^=je),o&&u!==null&&(u.f&j)===0&&(f.f^=j)}for(s=0;s<l;s++)if(i=r[s],Ke(i)&&Zt(i),i.wv>e.wv)return!0}(!n||w!==null&&!de)&&L(e,z)}return!1}function Tr(e,t,r=!0){var n=e.reactions;if(n!==null&&!ne?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&M)!==0?Tr(i,t,!1):t===i&&(r?L(i,q):(i.f&z)!==0&&L(i,ae),Ae(i))}}function kr(e){var t=I,r=D,n=U,s=y,i=de,a=ne,o=B,l=X,f=$e,u=e.f;I=null,D=0,U=null,de=(u&j)!==0&&(X||!Ne||y===null),y=(u&(Z|ie))===0?e:null,ne=null,Ye(e.ctx),X=!1,$e=++De,e.ac!==null&&(vr(()=>{e.ac.abort(dt)}),e.ac=null);try{e.f|=ft;var b=e.fn,d=b(),h=e.deps;if(I!==null){var c;if(Je(e,D),h!==null&&D>0)for(h.length=D+I.length,c=0;c<I.length;c++)h[D+c]=I[c];else e.deps=h=I;if(!de||(u&M)!==0&&e.reactions!==null)for(c=D;c<h.length;c++)(h[c].reactions??=[]).push(e)}else h!==null&&D<h.length&&(Je(e,D),h.length=D);if(Xt()&&U!==null&&!X&&h!==null&&(e.f&(M|ae|q))===0)for(c=0;c<U.length;c++)Tr(U[c],e);return s!==null&&s!==e&&(De++,U!==null&&(n===null?n=U:n.push(...U))),(e.f&be)!==0&&(e.f^=be),d}catch(v){return yn(v)}finally{e.f^=ft,I=t,D=r,U=n,y=s,de=i,ne=a,Ye(o),X=l,$e=f}}function Yn(e,t){let r=t.reactions;if(r!==null){var n=Zr.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&M)!==0&&(I===null||!I.includes(t))&&(L(t,ae),(t.f&(j|je))===0&&(t.f^=je),Jt(t),Je(t,0))}function Je(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Yn(e,r[n])}function Oe(e){var t=e.f;if((t&he)===0){L(e,z);var r=w,n=Ne;w=e,Ne=!0;try{(t&Te)!==0?jn(e):pr(e),_r(e);var s=kr(e);e.teardown=typeof s=="function"?s:null,e.wv=Er;var i;It&&mn&&(e.f&q)!==0&&e.deps}finally{Ne=n,w=r}}}function k(e){var t=e.f,r=(t&M)!==0;if(y!==null&&!X){var n=w!==null&&(w.f&he)!==0;if(!n&&!ne?.includes(e)){var s=y.deps;if((y.f&ft)!==0)e.rv<De&&(e.rv=De,I===null&&s!==null&&s[D]===e?D++:I===null?I=[e]:(!de||!I.includes(e))&&I.push(e));else{(y.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[y]:i.includes(y)||i.push(y)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,o=a.parent;o!==null&&(o.f&j)===0&&(a.f^=j)}if(ye){if(oe.has(e))return oe.get(e);if(r){a=e;var l=a.v;return((a.f&z)===0&&a.reactions!==null||Ar(a))&&(l=gt(a)),oe.set(a,l),l}}else r&&(a=e,Ke(a)&&Zt(a));if((e.f&be)!==0)throw e.v;return e.v}function Ar(e){if(e.v===N)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(oe.has(t)||(t.f&M)!==0&&Ar(t))return!0;return!1}function Bn(e){var t=X;try{return X=!0,e()}finally{X=t}}const Vn=-7169;function L(e,t){e.f=e.f&Vn|t}const Rr=new Set,kt=new Set;function Gn(e){for(var t=0;t<e.length;t++)Rr.add(e[t]);for(var r of kt)r(e)}let Nr=null;function Ze(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Nr=e;var a=0,o=Nr===e&&e.__root;if(o){var l=s.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(i=s[a]||e.target,i!==t){Se(e,"currentTarget",{configurable:!0,get(){return i||r}});var u=y,b=w;W(null),ce(null);try{for(var d,h=[];i!==null;){var c=i.assignedSlot||i.parentNode||i.host||null;try{var v=i["__"+n];if(v!=null&&(!i.disabled||e.target===i))if(it(v)){var[p,...x]=v;p.apply(i,[e,...x])}else v.call(i,e)}catch(_){d?h.push(_):d=_}if(e.cancelBubble||c===t||c===null)break;i=c}if(d){for(let _ of h)queueMicrotask(()=>{throw _});throw d}}finally{e.__root=t,delete e.currentTarget,W(u),ce(b)}}}function Xn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Le(e,t){var r=w;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Wn(e,t){var r=(t&Kr)!==0,n,s=!e.startsWith("<!>");return()=>{if(T)return Le(S,null),S;n===void 0&&(n=Xn(s?e:"<!>"+e),n=Me(n));var i=r||lr?document.importNode(n,!0):n.cloneNode(!0);return Le(i,i),i}}function Or(){if(T)return Le(S,null),S;var e=document.createDocumentFragment(),t=document.createComment(""),r=we();return e.append(t,r),Le(t,r),e}function Qe(e,t){if(T){w.nodes_end=S,He();return}e!==null&&e.before(t)}const Kn=["touchstart","touchmove"];function Jn(e){return Kn.includes(e)}function et(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Cr(e,t){return zr(e,t)}function Zn(e,t){Et(),t.intro=t.intro??!1;const r=t.target,n=T,s=S;try{for(var i=Me(r);i&&(i.nodeType!==Ie||i.data!==zt);)i=ue(i);if(!i)throw xe;Q(!0),V(i),He();const a=zr(e,{...t,anchor:i});if(S===null||S.nodeType!==Ie||S.data!==st)throw Ue(),xe;return Q(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==xe&&console.warn("Failed to hydrate: ",a),t.recover===!1&&vn(),Et(),cr(r),Q(!1),Cr(e,t)}finally{Q(n),V(s)}}const Ce=new Map;function zr(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:a=!0}){Et();var o=new Set,l=b=>{for(var d=0;d<b.length;d++){var h=b[d];if(!o.has(h)){o.add(h);var c=Jn(h);t.addEventListener(h,Ze,{passive:c});var v=Ce.get(h);v===void 0?(document.addEventListener(h,Ze,{passive:c}),Ce.set(h,1)):Ce.set(h,v+1)}}};l(at(Rr)),kt.add(l);var f=void 0,u=Pn(()=>{var b=r??t.appendChild(we());return Re(()=>{if(i){Vt({});var d=B;d.c=i}s&&(n.$$events=s),T&&Le(b,null),f=e(b,n)||{},T&&(w.nodes_end=S),i&&Gt()}),()=>{for(var d of o){t.removeEventListener(d,Ze);var h=Ce.get(d);--h===0?(document.removeEventListener(d,Ze),Ce.delete(d)):Ce.set(d,h)}kt.delete(l),b!==r&&b.parentNode?.removeChild(b)}});return At.set(f,u),f}let At=new WeakMap;function Qn(e,t){const r=At.get(e);return r?(At.delete(e),r(t)):Promise.resolve()}function es(e,t,r=!1){T&&He();var n=e,s=null,i=null,a=N,o=r?ut:0,l=!1;const f=(h,c=!0)=>{l=!0,d(c,h)};var u=null;function b(){u!==null&&(u.lastChild.remove(),n.before(u),u=null);var h=a?s:i,c=a?i:s;h&&Tt(h),c&&xt(c,()=>{a?i=null:s=null})}const d=(h,c)=>{if(a===(a=h))return;let v=!1;if(T){const A=Ht(n)===nt;!!a===A&&(n=vt(),V(n),Q(!1),v=!0)}var p=dr(),x=n;if(p&&(u=document.createDocumentFragment(),u.append(x=we())),a?s??=c&&Re(()=>c(x)):i??=c&&Re(()=>c(x)),p){var _=R,m=a?s:i,$=a?i:s;m&&_.skipped_effects.delete(m),$&&_.skipped_effects.add($),_.add_callback(b)}else b();v&&Q(!0)};br(()=>{l=!1,t(f),l||d(null,null)},o),T&&(n=S)}function ts(e,t,r){for(var n=e.items,s=[],i=t.length,a=0;a<i;a++)St(t[a].e,s,!0);var o=i>0&&s.length===0&&r!==null;if(o){var l=r.parentNode;cr(l),l.append(r),n.clear(),K(e,t[0].prev,t[i-1].next)}mr(s,()=>{for(var f=0;f<i;f++){var u=t[f];o||(n.delete(u.k),K(e,u.prev,u.next)),G(u.e,!o)}})}function rs(e,t,r,n,s,i=null){var a=e,o={flags:t,items:new Map,first:null};T&&He();var l=null,f=!1,u=new Map,b=Kt(()=>{var v=r();return it(v)?v:v==null?[]:at(v)}),d,h;function c(){ns(h,d,o,u,a,s,t,n,r),i!==null&&(d.length===0?l?Tt(l):l=Re(()=>i(a)):l!==null&&xt(l,()=>{l=null}))}br(()=>{h??=w,d=k(b);var v=d.length;if(f&&v===0)return;f=v===0;let p=!1;if(T){var x=Ht(a)===nt;x!==(v===0)&&(a=vt(),V(a),Q(!1),p=!0)}if(T){for(var _=null,m,$=0;$<v;$++){if(S.nodeType===Ie&&S.data===st){a=S,p=!0,Q(!1);break}var A=d[$],O=n(A,$);m=Rt(S,o,_,null,A,O,$,s,t,r),o.items.set(O,m),_=m}v>0&&V(vt())}if(T)v===0&&i&&(l=Re(()=>i(a)));else if(dr()){var P=new Set,H=R;for($=0;$<v;$+=1){A=d[$],O=n(A,$);var C=o.items.get(O)??u.get(O);C?Ir(C,A,$):(m=Rt(null,o,null,null,A,O,$,s,t,r,!0),u.set(O,m)),P.add(O)}for(const[J,se]of o.items)P.has(J)||H.skipped_effects.add(se.e);H.add_callback(c)}else c();p&&Q(!0),k(b)}),T&&(a=S)}function ns(e,t,r,n,s,i,a,o,l){var f=t.length,u=r.items,b=r.first,d=b,h,c=null,v=[],p=[],x,_,m,$;for($=0;$<f;$+=1){if(x=t[$],_=o(x,$),m=u.get(_),m===void 0){var A=n.get(_);if(A!==void 0){n.delete(_),u.set(_,A);var O=c?c.next:d;K(r,c,A),K(r,A,O),Nt(A,O,s),c=A}else{var P=d?d.e.nodes_start:s;c=Rt(P,r,c,c===null?r.first:c.next,x,_,$,i,a,l)}u.set(_,c),v=[],p=[],d=c.next;continue}if(Ir(m,x,$),(m.e.f&Y)!==0&&Tt(m.e),m!==d){if(h!==void 0&&h.has(m)){if(v.length<p.length){var H=p[0],C;c=H.prev;var J=v[0],se=v[v.length-1];for(C=0;C<v.length;C+=1)Nt(v[C],H,s);for(C=0;C<p.length;C+=1)h.delete(p[C]);K(r,J.prev,se.next),K(r,c,J),K(r,se,H),d=H,c=se,$-=1,v=[],p=[]}else h.delete(m),Nt(m,d,s),K(r,m.prev,m.next),K(r,m,c===null?r.first:c.next),K(r,c,m),c=m;continue}for(v=[],p=[];d!==null&&d.k!==_;)(d.e.f&Y)===0&&(h??=new Set).add(d),p.push(d),d=d.next;if(d===null)continue;m=d}v.push(m),c=m,d=m.next}if(d!==null||h!==void 0){for(var Ee=h===void 0?[]:at(h);d!==null;)(d.e.f&Y)===0&&Ee.push(d),d=d.next;var E=Ee.length;if(E>0){var g=null;ts(r,Ee,g)}}e.first=r.first&&r.first.e,e.last=c&&c.e;for(var F of n.values())G(F.e);n.clear()}function Ir(e,t,r,n){Xe(e.v,t),e.i=r}function Rt(e,t,r,n,s,i,a,o,l,f,u){var b=(l&Hr)!==0,d=(l&Br)===0,h=b?d?sr(s,!1,!1):Pe(s):s,c=(l&Yr)===0?a:Pe(a),v={i:c,v:h,k:i,a:null,e:null,prev:r,next:n};try{if(e===null){var p=document.createDocumentFragment();p.append(e=we())}return v.e=Re(()=>o(e,h,c,f),T),v.e.prev=r&&r.e,v.e.next=n&&n.e,r===null?u||(t.first=v):(r.next=v,r.e.next=v.e),n!==null&&(n.prev=v,n.e.prev=v.e),v}finally{}}function Nt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,s=t?t.e.nodes_start:r,i=e.e.nodes_start;i!==null&&i!==n;){var a=ue(i);s.before(i),i=a}}function K(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function ss(e,t){Mn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function is(e,t){return e==null?null:String(e)}function as(e,t,r,n){var s=e.__style;if(T||s!==t){var i=is(t);(!T||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const ls=Symbol("is custom element"),os=Symbol("is html");function Pr(e,t,r,n){var s=us(e);T&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[an]=r),r==null?e.removeAttribute(t):typeof r!="string"&&fs(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function us(e){return e.__attributes??={[ls]:e.nodeName.includes("-"),[os]:e.namespaceURI===Jr}}var Mr=new Map;function fs(e){var t=e.getAttribute("is")||e.nodeName,r=Mr.get(t);if(r)return r;Mr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=Qr(s);for(var a in n)n[a].set&&r.push(a);s=Pt(s)}return r}let tt=!1;function cs(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}function Dr(e,t,r,n){var s=(r&Xr)!==0,i=(r&Wr)!==0,a=n,o=!0,l=()=>(o&&(o=!1,a=i?Bn(n):n),a),f;if(s){var u=qe in e||qt in e;f=ve(e,t)?.set??(u&&t in e?_=>e[t]=_:void 0)}var b,d=!1;s?[b,d]=cs(()=>e[t]):b=e[t],b===void 0&&n!==void 0&&(b=l(),f&&(hn(),f(b)));var h;if(h=()=>{var _=e[t];return _===void 0?l():(o=!0,_)},(r&Gr)===0)return h;if(f){var c=e.$$legacy;return(function(_,m){return arguments.length>0?((!m||c||d)&&f(m?h():_),_):h()})}var v=!1,p=((r&Vr)!==0?pt:Kt)(()=>(v=!1,h()));s&&k(p);var x=w;return(function(_,m){if(arguments.length>0){const $=m?k(p):s?me(_):_;return te(p,$),v=!0,a!==void 0&&(a=$),_}return ye&&v||(x.f&he)!==0?p.v:k(p)})}function ds(e){return new vs(e)}class vs{#t;#e;constructor(t){var r=new Map,n=(i,a)=>{var o=sr(a,!1,!1);return r.set(i,o),o};const s=new Proxy({...t.props||{},$$events:{}},{get(i,a){return k(r.get(a)??n(a,Reflect.get(i,a)))},has(i,a){return a===qt?!0:(k(r.get(a)??n(a,Reflect.get(i,a))),Reflect.has(i,a))},set(i,a,o){return te(r.get(a)??n(a,o),o),Reflect.set(i,a,o)}});this.#e=(t.hydrate?Zn:Cr)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&yt(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Se(this,i,{get(){return this.#e[i]},set(a){this.#e[i]=a},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Qn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Lr;typeof HTMLElement=="function"&&(Lr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),Qe(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=hs(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=rt(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ds({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=In(()=>{Ln(()=>{this.$$r=!0;for(const n of Fe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=rt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=rt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Fe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function hs(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function bs(e,t,r,n,s,i){let a=class extends Lr{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Fe(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Fe(t).forEach(o=>{Se(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=rt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var u=ve(f,o)?.get;u?f[o]=l:f.$set({[o]:l})}}})}),n.forEach(o=>{Se(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}function _s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ze={},Ot,Fr;function ps(){if(Fr)return Ot;Fr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
3
- `,f="/",u="*",b="",d="comment",h="declaration";Ot=function(v,p){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];p=p||{};var x=1,_=1;function m(E){var g=E.match(t);g&&(x+=g.length);var F=E.lastIndexOf(l);_=~F?E.length-F:_+E.length}function $(){var E={line:x,column:_};return function(g){return g.position=new A(E),H(),g}}function A(E){this.start=E,this.end={line:x,column:_},this.source=p.source}A.prototype.content=v;function O(E){var g=new Error(p.source+":"+x+":"+_+": "+E);if(g.reason=E,g.filename=p.source,g.line=x,g.column=_,g.source=v,!p.silent)throw g}function P(E){var g=E.exec(v);if(g){var F=g[0];return m(F),v=v.slice(F.length),g}}function H(){P(r)}function C(E){var g;for(E=E||[];g=J();)g!==!1&&E.push(g);return E}function J(){var E=$();if(!(f!=v.charAt(0)||u!=v.charAt(1))){for(var g=2;b!=v.charAt(g)&&(u!=v.charAt(g)||f!=v.charAt(g+1));)++g;if(g+=2,b===v.charAt(g-1))return O("End of comment missing");var F=v.slice(2,g-2);return _+=2,m(F),v=v.slice(g),_+=2,E({type:d,comment:F})}}function se(){var E=$(),g=P(n);if(g){if(J(),!P(s))return O("property missing ':'");var F=P(i),Es=E({type:h,property:c(g[0].replace(e,b)),value:F?c(F[0].replace(e,b)):b});return P(a),Es}}function Ee(){var E=[];C(E);for(var g;g=se();)g!==!1&&(E.push(g),C(E));return E}return H(),Ee()};function c(v){return v?v.replace(o,b):b}return Ot}var jr;function gs(){if(jr)return ze;jr=1;var e=ze&&ze.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ze,"__esModule",{value:!0}),ze.default=r;var t=e(ps());function r(n,s){var i=null;if(!n||typeof n!="string")return i;var a=(0,t.default)(n),o=typeof s=="function";return a.forEach(function(l){if(l.type==="declaration"){var f=l.property,u=l.value;o?s(f,u,l):u&&(i=i||{},i[f]=u)}}),i}return ze}var ms=gs();const qr=_s(ms);qr.default;var ws=(e,t,r)=>{t(k(r))},ys=Wn('<div class="grid svelte-13z2bd2"><img class="svelte-13z2bd2"/> <div class="header svelte-13z2bd2"><span class="text-item title svelte-13z2bd2"> </span> <span class="text-item right time svelte-13z2bd2"> </span></div> <div class="details svelte-13z2bd2"><span class="description text-item svelte-13z2bd2"> </span> <span class="counter text-item right svelte-13z2bd2"><span class="badge rounded-pill bg-secondary svelte-13z2bd2"> </span></span></div></div>');const $s={hash:"svelte-13z2bd2",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
1
+ (function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Yr=1,Vr=2,Gr=16,Wr=1,Xr=4,Jr=8,Kr=16,Zr=2,zt="[",it="[!",st="]",Te={},N=Symbol(),Qr="http://www.w3.org/1999/xhtml",It=!1;var at=Array.isArray,en=Array.prototype.indexOf,ot=Array.from,Fe=Object.keys,Se=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,tn=Object.getOwnPropertyDescriptors,rn=Object.prototype,nn=Array.prototype,Mt=Object.getPrototypeOf,Dt=Object.isExtensible;function Lt(e){for(var t=0;t<e.length;t++)e[t]()}function sn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const M=2,lt=4,jt=8,ke=16,Z=32,se=64,Ft=128,F=256,qe=512,P=1024,q=2048,ae=4096,H=8192,he=16384,ut=32768,ft=65536,qt=1<<17,an=1<<18,Ae=1<<19,on=1<<20,ct=1<<21,dt=1<<22,be=1<<23,Ue=Symbol("$state"),Ut=Symbol("legacy props"),ln=Symbol(""),vt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Bt=3,Ie=8;function un(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function fn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function cn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function dn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function vn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function hn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function bn(){throw new Error("https://svelte.dev/e/hydration_failed")}function _n(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function gn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function pn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function mn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Be(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let S=!1;function Q(e){S=e}let T;function V(e){if(e===null)throw Be(),Te;return T=e}function He(){return V(ue(T))}function oe(e){if(S){if(ue(T)!==null)throw Be(),Te;T=e}}function ht(){for(var e=0,t=T;;){if(t.nodeType===Ie){var r=t.data;if(r===st){if(e===0)return t;e-=1}else(r===zt||r===it)&&(e+=1)}var n=ue(t);t.remove(),t=n}}function Ht(e){if(!e||e.nodeType!==Ie)throw Be(),Te;return e.data}function Yt(e){return e===this.v}function wn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Vt(e){return!wn(e,this.v)}let yn=!1,Y=null;function Ye(e){Y=e}function Gt(e,t=!1,r){Y={p:Y,c:null,e:null,s:e,x:null,l:null}}function Wt(e){var t=Y,r=t.e;if(r!==null){t.e=null;for(var n of r)br(n)}return e!==void 0&&(t.x=e),Y=t.p,e??{}}function Xt(){return!0}const $n=new WeakMap;function En(e){var t=w;if(t===null)return y.f|=be,e;if((t.f&ut)===0){if((t.f&Ft)===0)throw!t.parent&&e instanceof Error&&Jt(e),e;t.b.error(e)}else bt(e,t)}function bt(e,t){for(;t!==null;){if((t.f&Ft)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Jt(e),e}function Jt(e){const t=$n.get(e);t&&(Se(e,"message",{value:t.message}),Se(e,"stack",{value:t.stack}))}let _t=[],gt=[];function xn(){var e=_t;_t=[],Lt(e)}function Tn(){var e=gt;gt=[],Lt(e)}function Sn(){_t.length>0&&xn(),gt.length>0&&Tn()}function kn(){const e=w.b;return e===null&&un(),e}function pt(e){var t=M|q,r=y!==null&&(y.f&M)!==0?y:null;return w===null||r!==null&&(r.f&F)!==0?t|=F:w.f|=Ae,{ctx:Y,deps:null,effects:null,equals:Yt,f:t,fn:e,reactions:null,rv:0,v:N,wv:0,parent:r??w,ac:null}}function An(e,t){let r=w;r===null&&fn();var n=r.b,i=void 0,s=Me(N),a=null,l=!y;return jn(()=>{try{var o=e();a&&Promise.resolve(o).catch(()=>{})}catch(h){o=Promise.reject(h)}var u=()=>o;i=a?.then(u,u)??Promise.resolve(o),a=i;var f=C,b=n.is_pending();l&&(n.update_pending_count(1),b||f.increment());const c=(h,d=void 0)=>{a=null,b||f.activate(),d?d!==vt&&(s.f|=be,Xe(s,d)):((s.f&be)!==0&&(s.f^=be),Xe(s,h)),l&&(n.update_pending_count(-1),b||f.decrement()),er()};if(i.then(c,h=>c(null,h||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(o=>{function u(f){function b(){f===i?o(s):u(i)}f.then(b,b)}u(i)})}function Kt(e){const t=pt(e);return t.equals=Vt,t}function Zt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)G(t[r])}}function Cn(e){for(var t=e.parent;t!==null;){if((t.f&M)===0)return t;t=t.parent}return null}function mt(e){var t,r=w;ce(Cn(e));try{Zt(e),t=Ar(e)}finally{ce(r)}return t}function Qt(e){var t=mt(e);if(e.equals(t)||(e.v=t,e.wv=Sr()),!ye){var r=(de||(e.f&F)!==0)&&e.deps!==null?ae:P;L(e,r)}}function Nn(e,t,r){const n=pt;if(t.length===0){r(e.map(n));return}var i=C,s=w,a=Rn(),l=kn();Promise.all(t.map(o=>An(o))).then(o=>{i?.activate(),a();try{r([...e.map(n),...o])}catch(u){(s.f&he)===0&&bt(u,s)}i?.deactivate(),er()}).catch(o=>{l.error(o)})}function Rn(){var e=w,t=y,r=Y,n=C;return function(){ce(e),X(t),Ye(r),n?.activate()}}function er(){ce(null),X(null),Ye(null)}const wt=new Set;let C=null,tr=new Set,Ve=[];function rr(){const e=Ve.shift();Ve.length>0&&queueMicrotask(rr),e()}let _e=[],Ge=null,yt=!1,We=!1;class ge{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#a=[];#s=[];#n=[];#o=[];#c=[];#d=[];skipped_effects=new Set;process(t){_e=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#v();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#o=[],C=null,ir(r),ir(n),C===null?C=this:wt.delete(this),this.#u?.resolve()}else this.#l(this.#s),this.#l(this.#n),this.#l(this.#o);for(const i of this.#i)Oe(i);for(const i of this.#a)Oe(i);this.#i=[],this.#a=[]}#h(t){t.f^=P;for(var r=t.first;r!==null;){var n=r.f,i=(n&(Z|se))!==0,s=i&&(n&P)!==0,a=s||(n&H)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=P;else if((n&lt)!==0)this.#n.push(r);else if((n&P)===0)if((n&dt)!==0){var l=r.b?.is_pending()?this.#a:this.#i;l.push(r)}else Ke(r)&&((r.f&ke)!==0&&this.#o.push(r),Oe(r));var o=r.first;if(o!==null){r=o;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#l(t){for(const r of t)((r.f&q)!==0?this.#c:this.#d).push(r),L(r,P);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){C=this}deactivate(){C=null;for(const t of tr)if(tr.delete(t),t(),C!==null)break}neuter(){this.#f=!0}flush(){_e.length>0?nr():this.#v(),C===this&&(this.#r===0&&wt.delete(this),this.deactivate())}#v(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)L(t,q),Ce(t);for(const t of this.#d)L(t,ae),Ce(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=sn()).promise}static ensure(){if(C===null){const t=C=new ge;wt.add(C),We||ge.enqueue(()=>{C===t&&t.flush()})}return C}static enqueue(t){Ve.length===0&&queueMicrotask(rr),Ve.unshift(t)}}function $t(e){var t=We;We=!0;try{for(var r;;){if(Sn(),_e.length===0&&(C?.flush(),_e.length===0))return Ge=null,r;nr()}}finally{We=t}}function nr(){var e=Re;yt=!0;try{var t=0;for($r(!0);_e.length>0;){var r=ge.ensure();if(t++>1e3){var n,i;On()}r.process(_e),le.clear()}}finally{yt=!1,$r(e),Ge=null}}function On(){try{hn()}catch(e){bt(e,Ge)}}let pe=null;function ir(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(he|H))===0&&Ke(n)&&(pe=[],Oe(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?mr(n):n.fn=null),pe?.length>0)){le.clear();for(const i of pe)Oe(i);pe=[]}}pe=null}}function Ce(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var r=t.f;if(yt&&t===w&&(r&ke)!==0)return;if((r&(se|Z))!==0){if((r&P)===0)return;t.f^=P}}_e.push(t)}const le=new Map;function Me(e,t){var r={f:0,v:e,reactions:null,equals:Yt,rv:0,wv:0};return r}function ee(e,t){const r=Me(e);return Hn(r),r}function sr(e,t=!1,r=!0){const n=Me(e);return t||(n.equals=Vt),n}function te(e,t,r=!1){y!==null&&(!W||(y.f&qt)!==0)&&Xt()&&(y.f&(M|ke|dt|qt))!==0&&!ne?.includes(e)&&mn();let n=r?me(t):t;return Xe(e,n)}function Xe(e,t){if(!e.equals(t)){var r=e.v;ye?le.set(e,t):le.set(e,r),e.v=t;var n=ge.ensure();n.capture(e,r),(e.f&M)!==0&&((e.f&q)!==0&&mt(e),L(e,(e.f&F)===0?P:ae)),e.wv=Sr(),ar(e,q),w!==null&&(w.f&P)!==0&&(w.f&(Z|se))===0&&(U===null?Yn([e]):U.push(e))}return t}function Et(e){te(e,e.v+1)}function ar(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,l=(a&q)===0;l&&L(s,t),(a&M)!==0?ar(s,ae):l&&((a&ke)!==0&&pe!==null&&pe.push(s),Ce(s))}}function me(e){if(typeof e!="object"||e===null||Ue in e)return e;const t=Mt(e);if(t!==rn&&t!==nn)return e;var r=new Map,n=at(e),i=ee(0),s=$e,a=l=>{if($e===s)return l();var o=y,u=$e;X(null),Tr(s);var f=l();return X(o),Tr(u),f};return n&&r.set("length",ee(e.length)),new Proxy(e,{defineProperty(l,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&gn();var f=r.get(o);return f===void 0?f=a(()=>{var b=ee(u.value);return r.set(o,b),b}):te(f,u.value,!0),!0},deleteProperty(l,o){var u=r.get(o);if(u===void 0){if(o in l){const f=a(()=>ee(N));r.set(o,f),Et(i)}}else te(u,N),Et(i);return!0},get(l,o,u){if(o===Ue)return e;var f=r.get(o),b=o in l;if(f===void 0&&(!b||ve(l,o)?.writable)&&(f=a(()=>{var h=me(b?l[o]:N),d=ee(h);return d}),r.set(o,f)),f!==void 0){var c=k(f);return c===N?void 0:c}return Reflect.get(l,o,u)},getOwnPropertyDescriptor(l,o){var u=Reflect.getOwnPropertyDescriptor(l,o);if(u&&"value"in u){var f=r.get(o);f&&(u.value=k(f))}else if(u===void 0){var b=r.get(o),c=b?.v;if(b!==void 0&&c!==N)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(l,o){if(o===Ue)return!0;var u=r.get(o),f=u!==void 0&&u.v!==N||Reflect.has(l,o);if(u!==void 0||w!==null&&(!f||ve(l,o)?.writable)){u===void 0&&(u=a(()=>{var c=f?me(l[o]):N,h=ee(c);return h}),r.set(o,u));var b=k(u);if(b===N)return!1}return f},set(l,o,u,f){var b=r.get(o),c=o in l;if(n&&o==="length")for(var h=u;h<b.v;h+=1){var d=r.get(h+"");d!==void 0?te(d,N):h in l&&(d=a(()=>ee(N)),r.set(h+"",d))}if(b===void 0)(!c||ve(l,o)?.writable)&&(b=a(()=>ee(void 0)),te(b,me(u)),r.set(o,b));else{c=b.v!==N;var v=a(()=>me(u));te(b,v)}var g=Reflect.getOwnPropertyDescriptor(l,o);if(g?.set&&g.set.call(f,u),!c){if(n&&typeof o=="string"){var x=r.get("length"),_=Number(o);Number.isInteger(_)&&_>=x.v&&te(x,_+1)}Et(i)}return!0},ownKeys(l){k(i);var o=Reflect.ownKeys(l).filter(b=>{var c=r.get(b);return c===void 0||c.v!==N});for(var[u,f]of r)f.v!==N&&!(u in l)&&o.push(u);return o},setPrototypeOf(){pn()}})}var or,lr,ur,fr;function xt(){if(or===void 0){or=window,lr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;ur=ve(t,"firstChild").get,fr=ve(t,"nextSibling").get,Dt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Dt(r)&&(r.__t=void 0)}}function we(e=""){return document.createTextNode(e)}function De(e){return ur.call(e)}function ue(e){return fr.call(e)}function fe(e,t){if(!S)return De(e);var r=De(T);if(r===null)r=T.appendChild(we());else if(t&&r.nodeType!==Bt){var n=we();return r?.before(n),V(n),n}return V(r),r}function cr(e,t){if(!S){var r=De(e);return r instanceof Comment&&r.data===""?ue(r):r}return T}function Je(e,t=1,r=!1){let n=S?T:e;for(var i;t--;)i=n,n=ue(n);if(!S)return n;if(r&&n?.nodeType!==Bt){var s=we();return n===null?i?.after(s):n.before(s),V(s),s}return V(n),n}function dr(e){e.textContent=""}function vr(){return!1}function hr(e){var t=y,r=w;X(null),ce(null);try{return e()}finally{X(t),ce(r)}}function Pn(e){w===null&&y===null&&vn(),y!==null&&(y.f&F)!==0&&w===null&&dn(),ye&&cn()}function zn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function re(e,t,r,n=!0){var i=w;i!==null&&(i.f&H)!==0&&(e|=H);var s={ctx:Y,deps:null,nodes_start:null,nodes_end:null,f:e|q,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Oe(s),s.f|=ut}catch(o){throw G(s),o}else t!==null&&Ce(s);if(n){var a=s;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&Ae)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&zn(a,i),y!==null&&(y.f&M)!==0&&(e&se)===0)){var l=y;(l.effects??=[]).push(a)}}return s}function In(e){Pn();var t=w.f,r=!y&&(t&Z)!==0&&(t&ut)===0;if(r){var n=Y;(n.e??=[]).push(e)}else return br(e)}function br(e){return re(lt|on,e,!1)}function Mn(e){ge.ensure();const t=re(se|Ae,e,!0);return()=>{G(t)}}function Dn(e){ge.ensure();const t=re(se|Ae,e,!0);return(r={})=>new Promise(n=>{r.outro?Tt(t,()=>{G(t),n(void 0)}):(G(t),n(void 0))})}function Ln(e){return re(lt,e,!1)}function jn(e){return re(dt|Ae,e,!0)}function Fn(e,t=0){return re(jt|t,e,!0)}function qn(e,t=[],r=[]){Nn(t,r,n=>{re(jt,()=>e(...n.map(k)),!0)})}function _r(e,t=0){var r=re(ke|t,e,!0);return r}function Ne(e,t=!0){return re(Z|Ae,e,!0,t)}function gr(e){var t=e.teardown;if(t!==null){const r=ye,n=y;Er(!0),X(null);try{t.call(null)}finally{Er(r),X(n)}}}function pr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&hr(()=>{i.abort(vt)});var n=r.next;(r.f&se)!==0?r.parent=null:G(r,t),r=n}}function Un(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&Z)===0&&G(t),t=r}}function G(e,t=!0){var r=!1;(t||(e.f&an)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Bn(e.nodes_start,e.nodes_end),r=!0),pr(e,t&&!r),Ze(e,0),L(e,he);var n=e.transitions;if(n!==null)for(const s of n)s.stop();gr(e);var i=e.parent;i!==null&&i.first!==null&&mr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Bn(e,t){for(;e!==null;){var r=e===t?null:ue(e);e.remove(),e=r}}function mr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Tt(e,t){var r=[];St(e,r,!0),wr(r,()=>{G(e),t&&t()})}function wr(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function St(e,t,r){if((e.f&H)===0){if(e.f^=H,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&ft)!==0||(n.f&Z)!==0;St(n,t,s?r:!1),n=i}}}function kt(e){yr(e,!0)}function yr(e,t){if((e.f&H)!==0){e.f^=H,(e.f&P)===0&&(L(e,q),Ce(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&ft)!==0||(r.f&Z)!==0;yr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Re=!1;function $r(e){Re=e}let ye=!1;function Er(e){ye=e}let y=null,W=!1;function X(e){y=e}let w=null;function ce(e){w=e}let ne=null;function Hn(e){y!==null&&(ne===null?ne=[e]:ne.push(e))}let z=null,D=0,U=null;function Yn(e){U=e}let xr=1,Le=0,$e=Le;function Tr(e){$e=e}let de=!1;function Sr(){return++xr}function Ke(e){var t=e.f;if((t&q)!==0)return!0;if((t&ae)!==0){var r=e.deps,n=(t&F)!==0;if(r!==null){var i,s,a=(t&qe)!==0,l=n&&w!==null&&!de,o=r.length;if((a||l)&&(w===null||(w.f&he)===0)){var u=e,f=u.parent;for(i=0;i<o;i++)s=r[i],(a||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);a&&(u.f^=qe),l&&f!==null&&(f.f&F)===0&&(u.f^=F)}for(i=0;i<o;i++)if(s=r[i],Ke(s)&&Qt(s),s.wv>e.wv)return!0}(!n||w!==null&&!de)&&L(e,P)}return!1}function kr(e,t,r=!0){var n=e.reactions;if(n!==null&&!ne?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&M)!==0?kr(s,t,!1):t===s&&(r?L(s,q):(s.f&P)!==0&&L(s,ae),Ce(s))}}function Ar(e){var t=z,r=D,n=U,i=y,s=de,a=ne,l=Y,o=W,u=$e,f=e.f;z=null,D=0,U=null,de=(f&F)!==0&&(W||!Re||y===null),y=(f&(Z|se))===0?e:null,ne=null,Ye(e.ctx),W=!1,$e=++Le,e.ac!==null&&(hr(()=>{e.ac.abort(vt)}),e.ac=null);try{e.f|=ct;var b=e.fn,c=b(),h=e.deps;if(z!==null){var d;if(Ze(e,D),h!==null&&D>0)for(h.length=D+z.length,d=0;d<z.length;d++)h[D+d]=z[d];else e.deps=h=z;if(!de||(f&M)!==0&&e.reactions!==null)for(d=D;d<h.length;d++)(h[d].reactions??=[]).push(e)}else h!==null&&D<h.length&&(Ze(e,D),h.length=D);if(Xt()&&U!==null&&!W&&h!==null&&(e.f&(M|ae|q))===0)for(d=0;d<U.length;d++)kr(U[d],e);return i!==null&&i!==e&&(Le++,U!==null&&(n===null?n=U:n.push(...U))),(e.f&be)!==0&&(e.f^=be),c}catch(v){return En(v)}finally{e.f^=ct,z=t,D=r,U=n,y=i,de=s,ne=a,Ye(l),W=o,$e=u}}function Vn(e,t){let r=t.reactions;if(r!==null){var n=en.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&M)!==0&&(z===null||!z.includes(t))&&(L(t,ae),(t.f&(F|qe))===0&&(t.f^=qe),Zt(t),Ze(t,0))}function Ze(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Vn(e,r[n])}function Oe(e){var t=e.f;if((t&he)===0){L(e,P);var r=w,n=Re;w=e,Re=!0;try{(t&ke)!==0?Un(e):pr(e),gr(e);var i=Ar(e);e.teardown=typeof i=="function"?i:null,e.wv=xr;var s;It&&yn&&(e.f&q)!==0&&e.deps}finally{Re=n,w=r}}}function k(e){var t=e.f,r=(t&M)!==0;if(y!==null&&!W){var n=w!==null&&(w.f&he)!==0;if(!n&&!ne?.includes(e)){var i=y.deps;if((y.f&ct)!==0)e.rv<Le&&(e.rv=Le,z===null&&i!==null&&i[D]===e?D++:z===null?z=[e]:(!de||!z.includes(e))&&z.push(e));else{(y.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[y]:s.includes(y)||s.push(y)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,l=a.parent;l!==null&&(l.f&F)===0&&(a.f^=F)}if(ye){if(le.has(e))return le.get(e);if(r){a=e;var o=a.v;return((a.f&P)===0&&a.reactions!==null||Cr(a))&&(o=mt(a)),le.set(a,o),o}}else r&&(a=e,Ke(a)&&Qt(a));if((e.f&be)!==0)throw e.v;return e.v}function Cr(e){if(e.v===N)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(le.has(t)||(t.f&M)!==0&&Cr(t))return!0;return!1}function Gn(e){var t=W;try{return W=!0,e()}finally{W=t}}const Wn=-7169;function L(e,t){e.f=e.f&Wn|t}const Nr=new Set,At=new Set;function Xn(e){for(var t=0;t<e.length;t++)Nr.add(e[t]);for(var r of At)r(e)}let Rr=null;function Qe(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Rr=e;var a=0,l=Rr===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;o<=u&&(a=o)}if(s=i[a]||e.target,s!==t){Se(e,"currentTarget",{configurable:!0,get(){return s||r}});var f=y,b=w;X(null),ce(null);try{for(var c,h=[];s!==null;){var d=s.assignedSlot||s.parentNode||s.host||null;try{var v=s["__"+n];if(v!=null&&(!s.disabled||e.target===s))if(at(v)){var[g,...x]=v;g.apply(s,[e,...x])}else v.call(s,e)}catch(_){c?h.push(_):c=_}if(e.cancelBubble||d===t||d===null)break;s=d}if(c){for(let _ of h)queueMicrotask(()=>{throw _});throw c}}finally{e.__root=t,delete e.currentTarget,X(f),ce(b)}}}function Jn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function je(e,t){var r=w;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Kn(e,t){var r=(t&Zr)!==0,n,i=!e.startsWith("<!>");return()=>{if(S)return je(T,null),T;n===void 0&&(n=Jn(i?e:"<!>"+e),n=De(n));var s=r||lr?document.importNode(n,!0):n.cloneNode(!0);return je(s,s),s}}function Or(){if(S)return je(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(""),r=we();return e.append(t,r),je(t,r),e}function et(e,t){if(S){w.nodes_end=T,He();return}e!==null&&e.before(t)}const Zn=["touchstart","touchmove"];function Qn(e){return Zn.includes(e)}function tt(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Pr(e,t){return zr(e,t)}function ei(e,t){xt(),t.intro=t.intro??!1;const r=t.target,n=S,i=T;try{for(var s=De(r);s&&(s.nodeType!==Ie||s.data!==zt);)s=ue(s);if(!s)throw Te;Q(!0),V(s),He();const a=zr(e,{...t,anchor:s});if(T===null||T.nodeType!==Ie||T.data!==st)throw Be(),Te;return Q(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==Te&&console.warn("Failed to hydrate: ",a),t.recover===!1&&bn(),xt(),dr(r),Q(!1),Pr(e,t)}finally{Q(n),V(i)}}const Pe=new Map;function zr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){xt();var l=new Set,o=b=>{for(var c=0;c<b.length;c++){var h=b[c];if(!l.has(h)){l.add(h);var d=Qn(h);t.addEventListener(h,Qe,{passive:d});var v=Pe.get(h);v===void 0?(document.addEventListener(h,Qe,{passive:d}),Pe.set(h,1)):Pe.set(h,v+1)}}};o(ot(Nr)),At.add(o);var u=void 0,f=Dn(()=>{var b=r??t.appendChild(we());return Ne(()=>{if(s){Gt({});var c=Y;c.c=s}i&&(n.$$events=i),S&&je(b,null),u=e(b,n)||{},S&&(w.nodes_end=T),s&&Wt()}),()=>{for(var c of l){t.removeEventListener(c,Qe);var h=Pe.get(c);--h===0?(document.removeEventListener(c,Qe),Pe.delete(c)):Pe.set(c,h)}At.delete(o),b!==r&&b.parentNode?.removeChild(b)}});return Ct.set(u,f),u}let Ct=new WeakMap;function ti(e,t){const r=Ct.get(e);return r?(Ct.delete(e),r(t)):Promise.resolve()}function ri(e,t,r=!1){S&&He();var n=e,i=null,s=null,a=N,l=r?ft:0,o=!1;const u=(h,d=!0)=>{o=!0,c(d,h)};var f=null;function b(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var h=a?i:s,d=a?s:i;h&&kt(h),d&&Tt(d,()=>{a?s=null:i=null})}const c=(h,d)=>{if(a===(a=h))return;let v=!1;if(S){const A=Ht(n)===it;!!a===A&&(n=ht(),V(n),Q(!1),v=!0)}var g=vr(),x=n;if(g&&(f=document.createDocumentFragment(),f.append(x=we())),a?i??=d&&Ne(()=>d(x)):s??=d&&Ne(()=>d(x)),g){var _=C,m=a?i:s,$=a?s:i;m&&_.skipped_effects.delete(m),$&&_.skipped_effects.add($),_.add_callback(b)}else b();v&&Q(!0)};_r(()=>{o=!1,t(u),o||c(null,null)},l),S&&(n=T)}function ni(e,t,r){for(var n=e.items,i=[],s=t.length,a=0;a<s;a++)St(t[a].e,i,!0);var l=s>0&&i.length===0&&r!==null;if(l){var o=r.parentNode;dr(o),o.append(r),n.clear(),J(e,t[0].prev,t[s-1].next)}wr(i,()=>{for(var u=0;u<s;u++){var f=t[u];l||(n.delete(f.k),J(e,f.prev,f.next)),G(f.e,!l)}})}function ii(e,t,r,n,i,s=null){var a=e,l={flags:t,items:new Map,first:null};S&&He();var o=null,u=!1,f=new Map,b=Kt(()=>{var v=r();return at(v)?v:v==null?[]:ot(v)}),c,h;function d(){si(h,c,l,f,a,i,t,n,r),s!==null&&(c.length===0?o?kt(o):o=Ne(()=>s(a)):o!==null&&Tt(o,()=>{o=null}))}_r(()=>{h??=w,c=k(b);var v=c.length;if(u&&v===0)return;u=v===0;let g=!1;if(S){var x=Ht(a)===it;x!==(v===0)&&(a=ht(),V(a),Q(!1),g=!0)}if(S){for(var _=null,m,$=0;$<v;$++){if(T.nodeType===Ie&&T.data===st){a=T,g=!0,Q(!1);break}var A=c[$],R=n(A,$);m=Nt(T,l,_,null,A,R,$,i,t,r),l.items.set(R,m),_=m}v>0&&V(ht())}if(S)v===0&&s&&(o=Ne(()=>s(a)));else if(vr()){var I=new Set,B=C;for($=0;$<v;$+=1){A=c[$],R=n(A,$);var O=l.items.get(R)??f.get(R);O?Ir(O,A,$):(m=Nt(null,l,null,null,A,R,$,i,t,r,!0),f.set(R,m)),I.add(R)}for(const[K,ie]of l.items)I.has(K)||B.skipped_effects.add(ie.e);B.add_callback(d)}else d();g&&Q(!0),k(b)}),S&&(a=T)}function si(e,t,r,n,i,s,a,l,o){var u=t.length,f=r.items,b=r.first,c=b,h,d=null,v=[],g=[],x,_,m,$;for($=0;$<u;$+=1){if(x=t[$],_=l(x,$),m=f.get(_),m===void 0){var A=n.get(_);if(A!==void 0){n.delete(_),f.set(_,A);var R=d?d.next:c;J(r,d,A),J(r,A,R),Rt(A,R,i),d=A}else{var I=c?c.e.nodes_start:i;d=Nt(I,r,d,d===null?r.first:d.next,x,_,$,s,a,o)}f.set(_,d),v=[],g=[],c=d.next;continue}if(Ir(m,x,$),(m.e.f&H)!==0&&kt(m.e),m!==c){if(h!==void 0&&h.has(m)){if(v.length<g.length){var B=g[0],O;d=B.prev;var K=v[0],ie=v[v.length-1];for(O=0;O<v.length;O+=1)Rt(v[O],B,i);for(O=0;O<g.length;O+=1)h.delete(g[O]);J(r,K.prev,ie.next),J(r,d,K),J(r,ie,B),c=B,d=ie,$-=1,v=[],g=[]}else h.delete(m),Rt(m,c,i),J(r,m.prev,m.next),J(r,m,d===null?r.first:d.next),J(r,d,m),d=m;continue}for(v=[],g=[];c!==null&&c.k!==_;)(c.e.f&H)===0&&(h??=new Set).add(c),g.push(c),c=c.next;if(c===null)continue;m=c}v.push(m),d=m,c=m.next}if(c!==null||h!==void 0){for(var xe=h===void 0?[]:ot(h);c!==null;)(c.e.f&H)===0&&xe.push(c),c=c.next;var E=xe.length;if(E>0){var p=null;ni(r,xe,p)}}e.first=r.first&&r.first.e,e.last=d&&d.e;for(var j of n.values())G(j.e);n.clear()}function Ir(e,t,r,n){Xe(e.v,t),e.i=r}function Nt(e,t,r,n,i,s,a,l,o,u,f){var b=(o&Yr)!==0,c=(o&Gr)===0,h=b?c?sr(i,!1,!1):Me(i):i,d=(o&Vr)===0?a:Me(a),v={i:d,v:h,k:s,a:null,e:null,prev:r,next:n};try{if(e===null){var g=document.createDocumentFragment();g.append(e=we())}return v.e=Ne(()=>l(e,h,d,u),S),v.e.prev=r&&r.e,v.e.next=n&&n.e,r===null?f||(t.first=v):(r.next=v,r.e.next=v.e),n!==null&&(n.prev=v,n.e.prev=v.e),v}finally{}}function Rt(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=ue(s);i.before(s),s=a}}function J(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function ai(e,t){Ln(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function oi(e,t){return e==null?null:String(e)}function li(e,t,r,n){var i=e.__style;if(S||i!==t){var s=oi(t);(!S||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const ui=Symbol("is custom element"),fi=Symbol("is html");function Mr(e,t,r,n){var i=ci(e);S&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[ln]=r),r==null?e.removeAttribute(t):typeof r!="string"&&di(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function ci(e){return e.__attributes??={[ui]:e.nodeName.includes("-"),[fi]:e.namespaceURI===Qr}}var Dr=new Map;function di(e){var t=e.getAttribute("is")||e.nodeName,r=Dr.get(t);if(r)return r;Dr.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=tn(i);for(var a in n)n[a].set&&r.push(a);i=Mt(i)}return r}let rt=!1;function vi(e){var t=rt;try{return rt=!1,[e(),rt]}finally{rt=t}}function Lr(e,t,r,n){var i=(r&Jr)!==0,s=(r&Kr)!==0,a=n,l=!0,o=()=>(l&&(l=!1,a=s?Gn(n):n),a),u;if(i){var f=Ue in e||Ut in e;u=ve(e,t)?.set??(f&&t in e?_=>e[t]=_:void 0)}var b,c=!1;i?[b,c]=vi(()=>e[t]):b=e[t],b===void 0&&n!==void 0&&(b=o(),u&&(_n(),u(b)));var h;if(h=()=>{var _=e[t];return _===void 0?o():(l=!0,_)},(r&Xr)===0)return h;if(u){var d=e.$$legacy;return(function(_,m){return arguments.length>0?((!m||d||c)&&u(m?h():_),_):h()})}var v=!1,g=((r&Wr)!==0?pt:Kt)(()=>(v=!1,h()));i&&k(g);var x=w;return(function(_,m){if(arguments.length>0){const $=m?k(g):i?me(_):_;return te(g,$),v=!0,a!==void 0&&(a=$),_}return ye&&v||(x.f&he)!==0?g.v:k(g)})}function hi(e){return new bi(e)}class bi{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var l=sr(a,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return k(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Ut?!0:(k(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return te(r.get(a)??n(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?ei:Pr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&$t(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Se(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{ti(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let jr;typeof HTMLElement=="function"&&(jr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),et(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=_i(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=nt(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=hi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Mn(()=>{Fn(()=>{this.$$r=!0;for(const n of Fe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=nt(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=nt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Fe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function nt(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function _i(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function gi(e,t,r,n,i,s){let a=class extends jr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Fe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Fe(t).forEach(l=>{Se(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=nt(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var f=ve(u,l)?.get;f?u[l]=o:u.$set({[l]:o})}}})}),n.forEach(l=>{Se(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}function pi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ze={},Ot,Fr;function mi(){if(Fr)return Ot;Fr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
3
+ `,u="/",f="*",b="",c="comment",h="declaration";Ot=function(v,g){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];g=g||{};var x=1,_=1;function m(E){var p=E.match(t);p&&(x+=p.length);var j=E.lastIndexOf(o);_=~j?E.length-j:_+E.length}function $(){var E={line:x,column:_};return function(p){return p.position=new A(E),B(),p}}function A(E){this.start=E,this.end={line:x,column:_},this.source=g.source}A.prototype.content=v;function R(E){var p=new Error(g.source+":"+x+":"+_+": "+E);if(p.reason=E,p.filename=g.source,p.line=x,p.column=_,p.source=v,!g.silent)throw p}function I(E){var p=E.exec(v);if(p){var j=p[0];return m(j),v=v.slice(j.length),p}}function B(){I(r)}function O(E){var p;for(E=E||[];p=K();)p!==!1&&E.push(p);return E}function K(){var E=$();if(!(u!=v.charAt(0)||f!=v.charAt(1))){for(var p=2;b!=v.charAt(p)&&(f!=v.charAt(p)||u!=v.charAt(p+1));)++p;if(p+=2,b===v.charAt(p-1))return R("End of comment missing");var j=v.slice(2,p-2);return _+=2,m(j),v=v.slice(p),_+=2,E({type:c,comment:j})}}function ie(){var E=$(),p=I(n);if(p){if(K(),!I(i))return R("property missing ':'");var j=I(s),Si=E({type:h,property:d(p[0].replace(e,b)),value:j?d(j[0].replace(e,b)):b});return I(a),Si}}function xe(){var E=[];O(E);for(var p;p=ie();)p!==!1&&(E.push(p),O(E));return E}return B(),xe()};function d(v){return v?v.replace(l,b):b}return Ot}var qr;function wi(){if(qr)return ze;qr=1;var e=ze&&ze.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ze,"__esModule",{value:!0}),ze.default=r;var t=e(mi());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),l=typeof i=="function";return a.forEach(function(o){if(o.type==="declaration"){var u=o.property,f=o.value;l?i(u,f,o):f&&(s=s||{},s[u]=f)}}),s}return ze}var yi=wi();const Ur=pi(yi);Ur.default;var Ee={},Br;function $i(){if(Br)return Ee;Br=1,Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.LanguageTranslator=void 0,Ee.getChildStyleToPass=e,Ee.addComponent=t;function e(n,i){var s,a,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||a===void 0)&&a.length))for(var o=function(c){var h=i?.filter(function(d){return d.name===c&&d.defaultValue!==n[c]});h&&(l+="".concat(c,":").concat(n[c],";"))},u=0,f=Object.keys(n);u<f.length;u++){var b=f[u];o(b)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var a=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(a)}document.head.appendChild(l)}catch(u){console.warn(u)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,l,o,u="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(u=(o=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||o===void 0?void 0:o.toLowerCase()),u},n.getDictionaryWord=function(i,s,a){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((l=s[a])===null||l===void 0)&&l[i]))return s[a][i];var o="",u=n.getDefaultLang();if(!a||u!==a){var f=s?.[u];f?.[i]&&(o=f[i])}return o},n.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return l.format(i)},n})();return Ee.LanguageTranslator=r,Ee}$i();var Ei=(e,t,r)=>{t(k(r))},xi=Kn('<div class="grid svelte-13z2bd2"><img class="svelte-13z2bd2"/> <div class="header svelte-13z2bd2"><span class="text-item title svelte-13z2bd2"> </span> <span class="text-item right time svelte-13z2bd2"> </span></div> <div class="details svelte-13z2bd2"><span class="description text-item svelte-13z2bd2"> </span> <span class="counter text-item right svelte-13z2bd2"><span class="badge rounded-pill bg-secondary svelte-13z2bd2"> </span></span></div></div>');const Ti={hash:"svelte-13z2bd2",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");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;width:100%;display:block;--hb-topics-card-selected-background-color: #e9ecef;--hb-topics-card-hover-background-color: #f5f5f5;--hb-topics-card-size: calc(1vw + 1vh + 12px);--hb-topics-card-padding: 4px;--hb-topics-card-double-size: calc(var(--hb-topics-card-size) * 2);--hb-topics-card-double-padding: calc(var(--hb-topics-card-padding) * 2);}.grid.svelte-13z2bd2 {display:grid;grid-template-areas:"img header" "img details";grid-template-columns:var(--hb-topics-card-double-size) calc(100% - var(--hb-topics-card-double-size));grid-template-rows:calc(var(--hb-topics-card-size) + var(--hb-topics-card-double-padding)) calc(var(--hb-topics-card-size) + var(--hb-topics-card-padding));}.grid.svelte-13z2bd2:hover {background-color:var(--hb-topics-card-hover-background-color);}img.svelte-13z2bd2 {padding:var(--hb-topics-card-padding);grid-area:img;height:calc(var(--hb-topics-card-size) + var(--hb-topics-card-double-padding) + var(--hb-topics-card-size) + var(--hb-topics-card-padding));width:calc(var(--hb-topics-card-size) + var(--hb-topics-card-double-padding) + var(--hb-topics-card-size) + var(--hb-topics-card-padding));border-radius:50%;}.header.svelte-13z2bd2 {grid-area:header;padding:var(--hb-topics-card-padding) var(--hb-topics-card-padding) var(--hb-topics-card-padding) 10px;line-height:calc(var(--hb-topics-card-size) + 0px);}.details.svelte-13z2bd2 {padding:var(--hb-topics-card-padding) var(--hb-topics-card-padding) var(--hb-topics-card-padding) 10px;grid-area:details;line-height:calc(var(--hb-topics-card-size) - var(--hb-topics-card-double-padding));}.title.svelte-13z2bd2 {font-size:1.5em;font-weight:600;}.description.svelte-13z2bd2 {font-size:1em;font-weight:300;opacity:0.8;}.time.svelte-13z2bd2 {font-size:0.8em;font-weight:300;opacity:0.6;}.right.svelte-13z2bd2 {position:absolute;right:var(--hb-topics-card-padding);}.text-item.svelte-13z2bd2 {margin-left:12px;margin-right:6px;}
5
5
  /*!
6
6
  * Bootstrap v5.1.2 (https://getbootstrap.com/)
@@ -51,5 +51,5 @@
51
51
  @media (min-width: 1200px) {
52
52
  }
53
53
  @media print {
54
- }`};function Ur(e,t){Vt(t,!0),ss(e,$s);function r(u,b){t.$$host.dispatchEvent(new CustomEvent(u,{detail:b}))}let n=Dr(t,"id",7,""),s=Dr(t,"chats",23,()=>[]);me({}),zn(()=>{if(typeof s()=="string")try{s(JSON.parse(s()))}catch(u){console.error("error parsing chat",u)}s().forEach(u=>{u.localeTimeString||(u.localeTimeString=u.time?new Date(u.time).getHours().toString().padStart(2,"0")+":"+new Date(u.time).getMinutes().toString().padStart(2,"0"):"")})});function i(u){s().forEach(b=>{b.chat_id!==u.chat_id?b._selected=!1:b._selected=!0}),s([...s()]),r("select",u)}var a={get id(){return n()},set id(u=""){n(u),yt()},get chats(){return s()},set chats(u=[]){s(u),yt()}},o=Or(),l=fr(o);{var f=u=>{var b=Or(),d=fr(b);rs(d,17,s,h=>h.chat_id,(h,c)=>{var v=ys();v.__click=[ws,i,c];var p=fe(v),x=We(p,2),_=fe(x),m=fe(_,!0);le(_);var $=We(_,2),A=fe($,!0);le($),le(x);var O=We(x,2),P=fe(O),H=fe(P,!0);le(P);var C=We(P,2),J=fe(C),se=fe(J,!0);le(J),le(C),le(O),le(v),Fn(Ee=>{as(v,k(c)._selected?"background-color: var(--hb-topics-card-selected-background-color);":""),Pr(p,"src",k(c).img_uri),Pr(p,"alt",k(c).img_uri),et(m,k(c).title),et(A,k(c).localeTimeString),et(H,k(c).text),et(se,Ee)},[()=>k(c).counter?k(c).counter.toString():"0"]),Qe(h,v)}),Qe(u,b)};es(l,u=>{s()&&u(f)})}return Qe(e,o),Gt(a)}Gn(["click"]),customElements.define("hb-messages-topics-card",bs(Ur,{id:{},chats:{}},[],[],!0)),Ct.Component=Ur,Object.defineProperty(Ct,Symbol.toStringTag,{value:"Module"})})(this["messages-topics-card"]=this["messages-topics-card"]||{});
54
+ }`};function Hr(e,t){Gt(t,!0),ai(e,Ti);function r(f,b){t.$$host.dispatchEvent(new CustomEvent(f,{detail:b}))}let n=Lr(t,"id",7,""),i=Lr(t,"chats",23,()=>[]);me({}),In(()=>{if(typeof i()=="string")try{i(JSON.parse(i()))}catch(f){console.error("error parsing chat",f)}i().forEach(f=>{f.localeTimeString||(f.localeTimeString=f.time?new Date(f.time).getHours().toString().padStart(2,"0")+":"+new Date(f.time).getMinutes().toString().padStart(2,"0"):"")})});function s(f){i().forEach(b=>{b.chat_id!==f.chat_id?b._selected=!1:b._selected=!0}),i([...i()]),r("select",f)}var a={get id(){return n()},set id(f=""){n(f),$t()},get chats(){return i()},set chats(f=[]){i(f),$t()}},l=Or(),o=cr(l);{var u=f=>{var b=Or(),c=cr(b);ii(c,17,i,h=>h.chat_id,(h,d)=>{var v=xi();v.__click=[Ei,s,d];var g=fe(v),x=Je(g,2),_=fe(x),m=fe(_,!0);oe(_);var $=Je(_,2),A=fe($,!0);oe($),oe(x);var R=Je(x,2),I=fe(R),B=fe(I,!0);oe(I);var O=Je(I,2),K=fe(O),ie=fe(K,!0);oe(K),oe(O),oe(R),oe(v),qn(xe=>{li(v,k(d)._selected?"background-color: var(--hb-topics-card-selected-background-color);":""),Mr(g,"src",k(d).img_uri),Mr(g,"alt",k(d).img_uri),tt(m,k(d).title),tt(A,k(d).localeTimeString),tt(B,k(d).text),tt(ie,xe)},[()=>k(d).counter?k(d).counter.toString():"0"]),et(h,v)}),et(f,b)};ri(o,f=>{i()&&f(u)})}return et(e,l),Wt(a)}Xn(["click"]),customElements.define("hb-messages-topics-card",gi(Hr,{id:{},chats:{}},[],[],!0)),Pt.Component=Hr,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})})(this["messages-topics-card"]=this["messages-topics-card"]||{});
55
55
  //# sourceMappingURL=main.iife.js.map