@htmlbricks/hb-card-video 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,5 +1,5 @@
1
- (function(er){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const dn=1,hn=2,tr="[",rr="[!",nr="[?",sr="]",Ge={},j=Symbol(),ir="http://www.w3.org/1999/xhtml",vn=!1;var pn=Array.isArray,_n=Array.prototype.indexOf,Je=Array.prototype.includes,bn=Array.from,bt=Object.keys,gt=Object.defineProperty,Ke=Object.getOwnPropertyDescriptor,gn=Object.getOwnPropertyDescriptors,mn=Object.prototype,wn=Array.prototype,ar=Object.getPrototypeOf,or=Object.isExtensible;const yn=()=>{};function $n(e){for(var t=0;t<e.length;t++)e[t]()}function lr(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const Y=2,Ze=4,mt=8,ur=1<<24,Me=16,_e=32,Ee=64,Yt=128,G=512,L=1024,P=2048,ae=4096,oe=8192,Q=16384,Ye=32768,fr=1<<25,Xe=65536,cr=1<<17,dr=1<<18,Se=1<<19,xn=1<<20,Ie=65536,It=1<<21,jt=1<<22,Te=1<<23,Pt=Symbol("$state"),kn=Symbol("legacy props"),Mn=Symbol(""),be=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},En=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),wt=3,it=8;function Sn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Tn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Dn(){throw new Error("https://svelte.dev/e/hydration_failed")}function On(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function An(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Cn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function yt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Rn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let A=!1;function De(e){A=e}let T;function V(e){if(e===null)throw yt(),Ge;return T=e}function $t(){return V(re(T))}function le(e){if(A){if(re(T)!==null)throw yt(),Ge;T=e}}function hr(e=1){if(A){for(var t=e,r=T;t--;)r=re(r);T=r}}function vr(e=!0){for(var t=0,r=T;;){if(r.nodeType===it){var n=r.data;if(n===sr){if(t===0)return r;t-=1}else(n===tr||n===rr||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var s=re(r);e&&r.remove(),r=s}}function Ln(e){if(!e||e.nodeType!==it)throw yt(),Ge;return e.data}function pr(e){return e===this.v}function Yn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function In(e){return!Yn(e,this.v)}let jn=!1,ee=null;function Qe(e){ee=e}function _r(e,t=!1,r){ee={p:ee,i:!1,c:null,e:null,s:e,x:null,r:E,l:null}}function br(e){var t=ee,r=t.e;if(r!==null){t.e=null;for(var n of r)as(n)}return e!==void 0&&(t.x=e),t.i=!0,ee=t.p,e??{}}function gr(){return!0}let je=[];function mr(){var e=je;je=[],$n(e)}function et(e){if(je.length===0&&!at){var t=je;queueMicrotask(()=>{t===je&&mr()})}je.push(e)}function Pn(){for(;je.length>0;)mr()}function wr(e){var t=E;if(t===null)return M.f|=Te,e;if((t.f&Ye)===0&&(t.f&Ze)===0)throw e;Oe(e,t)}function Oe(e,t){for(;t!==null;){if((t.f&Yt)!==0){if((t.f&Ye)===0)throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}const Hn=-7169;function R(e,t){e.f=e.f&Hn|t}function Ht(e){(e.f&G)!==0||e.deps===null?R(e,L):R(e,ae)}function yr(e){if(e!==null)for(const t of e)(t.f&Y)===0||(t.f&Ie)===0||(t.f^=Ie,yr(t.deps))}function $r(e,t,r){(e.f&P)!==0?t.add(e):(e.f&ae)!==0&&r.add(e),yr(e.deps),R(e,L)}const Ae=new Set;let O=null,te=null,Ft=null,at=!1,zt=!1,tt=null,xt=null;var xr=0;let Fn=1;class ge{id=Fn++;current=new Map;previous=new Map;#e=new Set;#r=new Set;#t=new Map;#s=new Map;#i=null;#n=[];#a=new Set;#o=new Set;#l=new Map;is_fork=!1;#c=!1;#u=new Set;#d(){return this.is_fork||this.#s.size>0}#v(){for(const n of this.#u)for(const s of n.#s.keys()){for(var t=!1,r=s;r.parent!==null;){if(this.#l.has(r)){t=!0;break}r=r.parent}if(!t)return!0}return!1}skip_effect(t){this.#l.has(t)||this.#l.set(t,{d:[],m:[]})}unskip_effect(t){var r=this.#l.get(t);if(r){this.#l.delete(t);for(var n of r.d)R(n,P),this.schedule(n);for(n of r.m)R(n,ae),this.schedule(n)}}#h(){if(xr++>1e3&&(Ae.delete(this),zn()),!this.#d()){for(const o of this.#a)this.#o.delete(o),R(o,P),this.schedule(o);for(const o of this.#o)R(o,ae),this.schedule(o)}const t=this.#n;this.#n=[],this.apply();var r=tt=[],n=[],s=xt=[];for(const o of t)try{this.#f(o,r,n)}catch(l){throw Tr(o),l}if(O=null,s.length>0){var i=ge.ensure();for(const o of s)i.schedule(o)}if(tt=null,xt=null,this.#d()||this.#v()){this.#p(n),this.#p(r);for(const[o,l]of this.#l)Sr(o,l)}else{this.#t.size===0&&Ae.delete(this),this.#a.clear(),this.#o.clear();for(const o of this.#e)o(this);this.#e.clear(),kr(n),kr(r),this.#i?.resolve()}var a=O;if(this.#n.length>0){const o=a??=this;o.#n.push(...this.#n.filter(l=>!o.#n.includes(l)))}a!==null&&(Ae.add(a),a.#h()),Ae.has(this)||this.#_()}#f(t,r,n){t.f^=L;for(var s=t.first;s!==null;){var i=s.f,a=(i&(_e|Ee))!==0,o=a&&(i&L)!==0,l=o||(i&oe)!==0||this.#l.has(s);if(!l&&s.fn!==null){a?s.f^=L:(i&Ze)!==0?r.push(s):ct(s)&&((i&Me)!==0&&this.#o.add(s),rt(s));var u=s.first;if(u!==null){s=u;continue}}for(;s!==null;){var f=s.next;if(f!==null){s=f;break}s=s.parent}}}#p(t){for(var r=0;r<t.length;r+=1)$r(t[r],this.#a,this.#o)}capture(t,r,n=!1){r!==j&&!this.previous.has(t)&&this.previous.set(t,r),(t.f&Te)===0&&(this.current.set(t,[t.v,n]),te?.set(t,t.v))}activate(){O=this}deactivate(){O=null,te=null}flush(){try{zt=!0,O=this,this.#h()}finally{xr=0,Ft=null,tt=null,xt=null,zt=!1,O=null,te=null,Ne.clear()}}discard(){for(const t of this.#r)t(this);this.#r.clear(),Ae.delete(this)}#_(){for(const u of Ae){var t=u.id<this.id,r=[];for(const[f,[p,v]]of this.current){if(u.current.has(f)){var n=u.current.get(f)[0];if(t&&p!==n)u.current.set(f,[p,v]);else continue}r.push(f)}var s=[...u.current.keys()].filter(f=>!this.current.has(f));if(s.length===0)t&&u.discard();else if(r.length>0){u.activate();var i=new Set,a=new Map;for(var o of r)Mr(o,s,i,a);if(u.#n.length>0){u.apply();for(var l of u.#n)u.#f(l,[],[]);u.#n=[]}u.deactivate()}}for(const u of Ae)u.#u.has(this)&&(u.#u.delete(this),u.#u.size===0&&!u.#d()&&(u.activate(),u.#h()))}increment(t,r){let n=this.#t.get(r)??0;if(this.#t.set(r,n+1),t){let s=this.#s.get(r)??0;this.#s.set(r,s+1)}}decrement(t,r,n){let s=this.#t.get(r)??0;if(s===1?this.#t.delete(r):this.#t.set(r,s-1),t){let i=this.#s.get(r)??0;i===1?this.#s.delete(r):this.#s.set(r,i-1)}this.#c||n||(this.#c=!0,et(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,r){for(const n of t)this.#a.add(n);for(const n of r)this.#o.add(n);t.clear(),r.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#i??=lr()).promise}static ensure(){if(O===null){const t=O=new ge;zt||(Ae.add(O),at||et(()=>{O===t&&t.flush()}))}return O}apply(){{te=null;return}}schedule(t){if(Ft=t,t.b?.is_pending&&(t.f&(Ze|mt|ur))!==0&&(t.f&Ye)===0){t.b.defer_effect(t);return}for(var r=t;r.parent!==null;){r=r.parent;var n=r.f;if(tt!==null&&r===E&&(M===null||(M.f&Y)===0))return;if((n&(Ee|_e))!==0){if((n&L)===0)return;r.f^=L}}this.#n.push(r)}}function ue(e){var t=at;at=!0;try{for(var r;;){if(Pn(),O===null)return r;O.flush()}}finally{at=t}}function zn(){try{Tn()}catch(e){Oe(e,Ft)}}let me=null;function kr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Q|oe))===0&&ct(n)&&(me=new Set,rt(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&zr(n),me?.size>0)){Ne.clear();for(const s of me){if((s.f&(Q|oe))!==0)continue;const i=[s];let a=s.parent;for(;a!==null;)me.has(a)&&(me.delete(a),i.push(a)),a=a.parent;for(let o=i.length-1;o>=0;o--){const l=i[o];(l.f&(Q|oe))===0&&rt(l)}}me.clear()}}me=null}}function Mr(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&Y)!==0?Mr(s,t,r,n):(i&(jt|Me))!==0&&(i&P)===0&&Er(s,t,n)&&(R(s,P),qt(s))}}function Er(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const s of e.deps){if(Je.call(t,s))return!0;if((s.f&Y)!==0&&Er(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function qt(e){O.schedule(e)}function Sr(e,t){if(!((e.f&_e)!==0&&(e.f&L)!==0)){(e.f&P)!==0?t.d.push(e):(e.f&ae)!==0&&t.m.push(e),R(e,L);for(var r=e.first;r!==null;)Sr(r,t),r=r.next}}function Tr(e){R(e,L);for(var t=e.first;t!==null;)Tr(t),t=t.next}function qn(e){let t=0,r=ot(0),n;return()=>{Jt()&&(se(r),Hr(()=>(t===0&&(n=bs(()=>e(()=>lt(r)))),t+=1,()=>{et(()=>{t-=1,t===0&&(n?.(),n=void 0,lt(r))})})))}}var Un=Xe|Se;function Vn(e,t,r,n){new Bn(e,t,r,n)}class Bn{parent;is_pending=!1;transform_error;#e;#r=A?T:null;#t;#s;#i;#n=null;#a=null;#o=null;#l=null;#c=0;#u=0;#d=!1;#v=new Set;#h=new Set;#f=null;#p=qn(()=>(this.#f=ot(this.#c),()=>{this.#f=null}));constructor(t,r,n,s){this.#e=t,this.#t=r,this.#s=i=>{var a=E;a.b=this,a.f|=Yt,n(i)},this.parent=E.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#i=Kt(()=>{if(A){const i=this.#r;$t();const a=i.data===rr;if(i.data.startsWith(nr)){const l=JSON.parse(i.data.slice(nr.length));this.#y(l)}else a?this.#$():this.#_()}else this.#m()},Un),A&&(this.#e=T)}#_(){try{this.#n=$e(()=>this.#s(this.#e))}catch(t){this.error(t)}}#y(t){const r=this.#t.failed;r&&(this.#o=$e(()=>{r(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#a=$e(()=>t(this.#e)),et(()=>{var r=this.#l=document.createDocumentFragment(),n=ye();r.append(n),this.#n=this.#g(()=>$e(()=>this.#s(n))),this.#u===0&&(this.#e.before(r),this.#l=null,ft(this.#a,()=>{this.#a=null}),this.#b(O))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#c=0,this.#n=$e(()=>{this.#s(this.#e)}),this.#u>0){var t=this.#l=document.createDocumentFragment();Vr(this.#n,t);const r=this.#t.pending;this.#a=$e(()=>r(this.#e))}else this.#b(O)}catch(r){this.error(r)}}#b(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){$r(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#g(t){var r=E,n=M,s=ee;de(this.#i),J(this.#i),Qe(this.#i.ctx);try{return ge.ensure(),t()}catch(i){return wr(i),null}finally{de(r),J(n),Qe(s)}}#w(t,r){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,r);return}this.#u+=t,this.#u===0&&(this.#b(r),this.#a&&ft(this.#a,()=>{this.#a=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t,r){this.#w(t,r),this.#c+=t,!(!this.#f||this.#d)&&(this.#d=!0,et(()=>{this.#d=!1,this.#f&&Mt(this.#f,this.#c)}))}get_effect_pending(){return this.#p(),se(this.#f)}error(t){var r=this.#t.onerror;let n=this.#t.failed;if(!r&&!n)throw t;this.#n&&(z(this.#n),this.#n=null),this.#a&&(z(this.#a),this.#a=null),this.#o&&(z(this.#o),this.#o=null),A&&(V(this.#r),hr(),V(vr()));var s=!1,i=!1;const a=()=>{if(s){Rn();return}s=!0,i&&Cn(),this.#o!==null&&ft(this.#o,()=>{this.#o=null}),this.#g(()=>{this.#m()})},o=l=>{try{i=!0,r?.(l,a),i=!1}catch(u){Oe(u,this.#i&&this.#i.parent)}n&&(this.#o=this.#g(()=>{try{return $e(()=>{var u=E;u.b=this,u.f|=Yt,n(this.#e,()=>l,()=>a)})}catch(u){return Oe(u,this.#i.parent),null}}))};et(()=>{var l;try{l=this.transform_error(t)}catch(u){Oe(u,this.#i&&this.#i.parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(o,u=>Oe(u,this.#i&&this.#i.parent)):o(l)})}}function Wn(e,t,r,n){const s=Or;var i=e.filter(v=>!v.settled);if(r.length===0&&i.length===0){n(t.map(s));return}var a=E,o=Gn(),l=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(v=>v.promise)):null;function u(v){o();try{n(v)}catch(g){(a.f&Q)===0&&Oe(g,a)}kt()}if(r.length===0){l.then(()=>u(t.map(s)));return}var f=Dr();function p(){Promise.all(r.map(v=>Jn(v))).then(v=>u([...t.map(s),...v])).catch(v=>Oe(v,a)).finally(()=>f())}l?l.then(()=>{o(),p(),kt()}):p()}function Gn(){var e=E,t=M,r=ee,n=O;return function(i=!0){de(e),J(t),Qe(r),i&&(e.f&Q)===0&&(n?.activate(),n?.apply())}}function kt(e=!0){de(null),J(null),Qe(null),e&&O?.deactivate()}function Dr(){var e=E,t=e.b,r=O,n=t.is_rendered();return t.update_pending_count(1,r),r.increment(n,e),(s=!1)=>{t.update_pending_count(-1,r),r.decrement(n,e,s)}}function Or(e){var t=Y|P,r=M!==null&&(M.f&Y)!==0?M:null;return E!==null&&(E.f|=Se),{ctx:ee,deps:null,effects:null,equals:pr,f:t,fn:e,reactions:null,rv:0,v:j,wv:0,parent:r??E,ac:null}}function Jn(e,t,r){let n=E;n===null&&Sn();var s=void 0,i=ot(j),a=!M,o=new Map;return fs(()=>{var l=E,u=lr();s=u.promise;try{Promise.resolve(e()).then(u.resolve,u.reject).finally(kt)}catch(g){u.reject(g),kt()}var f=O;if(a){if((l.f&Ye)!==0)var p=Dr();if(n.b.is_rendered())o.get(f)?.reject(be),o.delete(f);else{for(const g of o.values())g.reject(be);o.clear()}o.set(f,u)}const v=(g,b=void 0)=>{if(p){var S=b===be;p(S)}if(!(b===be||(l.f&Q)!==0)){if(f.activate(),b)i.f|=Te,Mt(i,b);else{(i.f&Te)!==0&&(i.f^=Te),Mt(i,g);for(const[N,H]of o){if(o.delete(N),N===f)break;H.reject(be)}}f.deactivate()}};u.promise.then(v,g=>v(null,g||"unknown"))}),is(()=>{for(const l of o.values())l.reject(be)}),new Promise(l=>{function u(f){function p(){f===s?l(i):u(s)}f.then(p,p)}u(s)})}function Kn(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)z(t[r])}}function Zn(e){for(var t=e.parent;t!==null;){if((t.f&Y)===0)return(t.f&Q)===0?t:null;t=t.parent}return null}function Ut(e){var t,r=E;de(Zn(e));try{e.f&=~Ie,Kn(e),t=Zr(e)}finally{de(r)}return t}function Ar(e){var t=e.v,r=Ut(e);if(!e.equals(r)&&(e.wv=Jr(),(!O?.is_fork||e.deps===null)&&(e.v=r,O?.capture(e,t,!0),e.deps===null))){R(e,L);return}ze||(te!==null?(Jt()||O?.is_fork)&&te.set(e,r):Ht(e))}function Xn(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(be),t.teardown=yn,t.ac=null,dt(t,0),Zt(t))}function Nr(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&rt(t)}let Vt=new Set;const Ne=new Map;let Cr=!1;function ot(e,t){var r={f:0,v:e,reactions:null,equals:pr,rv:0,wv:0};return r}function Ce(e,t){const r=ot(e);return vs(r),r}function Qn(e,t=!1,r=!0){const n=ot(e);return t||(n.equals=In),n}function we(e,t,r=!1){M!==null&&(!ne||(M.f&cr)!==0)&&gr()&&(M.f&(Y|Me|jt|cr))!==0&&(K===null||!Je.call(K,e))&&Nn();let n=r?ut(t):t;return Mt(e,n,xt)}function Mt(e,t,r=null){if(!e.equals(t)){var n=e.v;ze?Ne.set(e,t):Ne.set(e,n),e.v=t;var s=ge.ensure();if(s.capture(e,n),(e.f&Y)!==0){const i=e;(e.f&P)!==0&&Ut(i),te===null&&Ht(i)}e.wv=Jr(),Rr(e,P,r),E!==null&&(E.f&L)!==0&&(E.f&(_e|Ee))===0&&(Z===null?ps([e]):Z.push(e)),!s.is_fork&&Vt.size>0&&!Cr&&es()}return t}function es(){Cr=!1;for(const e of Vt)(e.f&L)!==0&&R(e,ae),ct(e)&&rt(e);Vt.clear()}function lt(e){we(e,e.v+1)}function Rr(e,t,r){var n=e.reactions;if(n!==null)for(var s=n.length,i=0;i<s;i++){var a=n[i],o=a.f,l=(o&P)===0;if(l&&R(a,t),(o&Y)!==0){var u=a;te?.delete(u),(o&Ie)===0&&(o&G&&(a.f|=Ie),Rr(u,ae,r))}else if(l){var f=a;(o&Me)!==0&&me!==null&&me.add(f),r!==null?r.push(f):qt(f)}}}function ut(e){if(typeof e!="object"||e===null||Pt in e)return e;const t=ar(e);if(t!==mn&&t!==wn)return e;var r=new Map,n=pn(e),s=Ce(0),i=Ue,a=o=>{if(Ue===i)return o();var l=M,u=Ue;J(null),Gr(i);var f=o();return J(l),Gr(u),f};return n&&r.set("length",Ce(e.length)),new Proxy(e,{defineProperty(o,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&On();var f=r.get(l);return f===void 0?a(()=>{var p=Ce(u.value);return r.set(l,p),p}):we(f,u.value,!0),!0},deleteProperty(o,l){var u=r.get(l);if(u===void 0){if(l in o){const f=a(()=>Ce(j));r.set(l,f),lt(s)}}else we(u,j),lt(s);return!0},get(o,l,u){if(l===Pt)return e;var f=r.get(l),p=l in o;if(f===void 0&&(!p||Ke(o,l)?.writable)&&(f=a(()=>{var g=ut(p?o[l]:j),b=Ce(g);return b}),r.set(l,f)),f!==void 0){var v=se(f);return v===j?void 0:v}return Reflect.get(o,l,u)},getOwnPropertyDescriptor(o,l){var u=Reflect.getOwnPropertyDescriptor(o,l);if(u&&"value"in u){var f=r.get(l);f&&(u.value=se(f))}else if(u===void 0){var p=r.get(l),v=p?.v;if(p!==void 0&&v!==j)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return u},has(o,l){if(l===Pt)return!0;var u=r.get(l),f=u!==void 0&&u.v!==j||Reflect.has(o,l);if(u!==void 0||E!==null&&(!f||Ke(o,l)?.writable)){u===void 0&&(u=a(()=>{var v=f?ut(o[l]):j,g=Ce(v);return g}),r.set(l,u));var p=se(u);if(p===j)return!1}return f},set(o,l,u,f){var p=r.get(l),v=l in o;if(n&&l==="length")for(var g=u;g<p.v;g+=1){var b=r.get(g+"");b!==void 0?we(b,j):g in o&&(b=a(()=>Ce(j)),r.set(g+"",b))}if(p===void 0)(!v||Ke(o,l)?.writable)&&(p=a(()=>Ce(void 0)),we(p,ut(u)),r.set(l,p));else{v=p.v!==j;var S=a(()=>ut(u));we(p,S)}var N=Reflect.getOwnPropertyDescriptor(o,l);if(N?.set&&N.set.call(f,u),!v){if(n&&typeof l=="string"){var H=r.get("length"),ve=Number(l);Number.isInteger(ve)&&ve>=H.v&&we(H,ve+1)}lt(s)}return!0},ownKeys(o){se(s);var l=Reflect.ownKeys(o).filter(p=>{var v=r.get(p);return v===void 0||v.v!==j});for(var[u,f]of r)f.v!==j&&!(u in o)&&l.push(u);return l},setPrototypeOf(){An()}})}var Lr,Yr,Ir,jr;function Bt(){if(Lr===void 0){Lr=window,Yr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Ir=Ke(t,"firstChild").get,jr=Ke(t,"nextSibling").get,or(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),or(r)&&(r.__t=void 0)}}function ye(e=""){return document.createTextNode(e)}function Pe(e){return Ir.call(e)}function re(e){return jr.call(e)}function fe(e,t){if(!A)return Pe(e);var r=Pe(T);if(r===null)r=T.appendChild(ye());else if(t&&r.nodeType!==wt){var n=ye();return r?.before(n),V(n),n}return t&&Gt(r),V(r),r}function ts(e,t=!1){if(!A){var r=Pe(e);return r instanceof Comment&&r.data===""?re(r):r}if(t){if(T?.nodeType!==wt){var n=ye();return T?.before(n),V(n),n}Gt(T)}return T}function He(e,t=1,r=!1){let n=A?T:e;for(var s;t--;)s=n,n=re(n);if(!A)return n;if(r){if(n?.nodeType!==wt){var i=ye();return n===null?s?.after(i):n.before(i),V(i),i}Gt(n)}return V(n),n}function rs(e){e.textContent=""}function ns(){return!1}function Wt(e,t,r){return document.createElementNS(ir,e,void 0)}function Gt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===wt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Pr(e){var t=M,r=E;J(null),de(null);try{return e()}finally{J(t),de(r)}}function ss(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function ce(e,t){var r=E;r!==null&&(r.f&oe)!==0&&(e|=oe);var n={ctx:ee,deps:null,nodes:null,f:e|P|G,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null},s=n;if((e&Ze)!==0)tt!==null?tt.push(n):ge.ensure().schedule(n);else if(t!==null){try{rt(n)}catch(a){throw z(n),a}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&Se)===0&&(s=s.first,(e&Me)!==0&&(e&Xe)!==0&&s!==null&&(s.f|=Xe))}if(s!==null&&(s.parent=r,r!==null&&ss(s,r),M!==null&&(M.f&Y)!==0&&(e&Ee)===0)){var i=M;(i.effects??=[]).push(s)}return n}function Jt(){return M!==null&&!ne}function is(e){const t=ce(mt,null);return R(t,L),t.teardown=e,t}function as(e){return ce(Ze|xn,e)}function os(e){ge.ensure();const t=ce(Ee|Se,e);return()=>{z(t)}}function ls(e){ge.ensure();const t=ce(Ee|Se,e);return(r={})=>new Promise(n=>{r.outro?ft(t,()=>{z(t),n(void 0)}):(z(t),n(void 0))})}function us(e){return ce(Ze,e)}function fs(e){return ce(jt|Se,e)}function Hr(e,t=0){return ce(mt|t,e)}function Fe(e,t=[],r=[],n=[]){Wn(n,t,r,s=>{ce(mt,()=>e(...s.map(se)))})}function Kt(e,t=0){var r=ce(Me|t,e);return r}function $e(e){return ce(_e|Se,e)}function Fr(e){var t=e.teardown;if(t!==null){const r=ze,n=M;Br(!0),J(null);try{t.call(null)}finally{Br(r),J(n)}}}function Zt(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&Pr(()=>{s.abort(be)});var n=r.next;(r.f&Ee)!==0?r.parent=null:z(r,t),r=n}}function cs(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&_e)===0&&z(t),t=r}}function z(e,t=!0){var r=!1;(t||(e.f&dr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(ds(e.nodes.start,e.nodes.end),r=!0),R(e,fr),Zt(e,t&&!r),dt(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const i of n)i.stop();Fr(e),e.f^=fr,e.f|=Q;var s=e.parent;s!==null&&s.first!==null&&zr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function ds(e,t){for(;e!==null;){var r=e===t?null:re(e);e.remove(),e=r}}function zr(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 ft(e,t,r=!0){var n=[];qr(e,n,!0);var s=()=>{r&&z(e),t&&t()},i=n.length;if(i>0){var a=()=>--i||s();for(var o of n)o.out(a)}else s()}function qr(e,t,r){if((e.f&oe)===0){e.f^=oe;var n=e.nodes&&e.nodes.t;if(n!==null)for(const o of n)(o.is_global||r)&&t.push(o);for(var s=e.first;s!==null;){var i=s.next,a=(s.f&Xe)!==0||(s.f&_e)!==0&&(e.f&Me)!==0;qr(s,t,a?r:!1),s=i}}}function hs(e){Ur(e,!0)}function Ur(e,t){if((e.f&oe)!==0){e.f^=oe,(e.f&L)===0&&(R(e,P),ge.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&Xe)!==0||(r.f&_e)!==0;Ur(r,s?t:!1),r=n}var i=e.nodes&&e.nodes.t;if(i!==null)for(const a of i)(a.is_global||t)&&a.in()}}function Vr(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var s=r===n?null:re(r);t.append(r),r=s}}let Et=!1,ze=!1;function Br(e){ze=e}let M=null,ne=!1;function J(e){M=e}let E=null;function de(e){E=e}let K=null;function vs(e){M!==null&&(K===null?K=[e]:K.push(e))}let q=null,B=0,Z=null;function ps(e){Z=e}let Wr=1,qe=0,Ue=qe;function Gr(e){Ue=e}function Jr(){return++Wr}function ct(e){var t=e.f;if((t&P)!==0)return!0;if(t&Y&&(e.f&=~Ie),(t&ae)!==0){for(var r=e.deps,n=r.length,s=0;s<n;s++){var i=r[s];if(ct(i)&&Ar(i),i.wv>e.wv)return!0}(t&G)!==0&&te===null&&R(e,L)}return!1}function Kr(e,t,r=!0){var n=e.reactions;if(n!==null&&!(K!==null&&Je.call(K,e)))for(var s=0;s<n.length;s++){var i=n[s];(i.f&Y)!==0?Kr(i,t,!1):t===i&&(r?R(i,P):(i.f&L)!==0&&R(i,ae),qt(i))}}function Zr(e){var t=q,r=B,n=Z,s=M,i=K,a=ee,o=ne,l=Ue,u=e.f;q=null,B=0,Z=null,M=(u&(_e|Ee))===0?e:null,K=null,Qe(e.ctx),ne=!1,Ue=++qe,e.ac!==null&&(Pr(()=>{e.ac.abort(be)}),e.ac=null);try{e.f|=It;var f=e.fn,p=f();e.f|=Ye;var v=e.deps,g=O?.is_fork;if(q!==null){var b;if(g||dt(e,B),v!==null&&B>0)for(v.length=B+q.length,b=0;b<q.length;b++)v[B+b]=q[b];else e.deps=v=q;if(Jt()&&(e.f&G)!==0)for(b=B;b<v.length;b++)(v[b].reactions??=[]).push(e)}else!g&&v!==null&&B<v.length&&(dt(e,B),v.length=B);if(gr()&&Z!==null&&!ne&&v!==null&&(e.f&(Y|ae|P))===0)for(b=0;b<Z.length;b++)Kr(Z[b],e);if(s!==null&&s!==e){if(qe++,s.deps!==null)for(let S=0;S<r;S+=1)s.deps[S].rv=qe;if(t!==null)for(const S of t)S.rv=qe;Z!==null&&(n===null?n=Z:n.push(...Z))}return(e.f&Te)!==0&&(e.f^=Te),p}catch(S){return wr(S)}finally{e.f^=It,q=t,B=r,Z=n,M=s,K=i,Qe(a),ne=o,Ue=l}}function _s(e,t){let r=t.reactions;if(r!==null){var n=_n.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}if(r===null&&(t.f&Y)!==0&&(q===null||!Je.call(q,t))){var i=t;(i.f&G)!==0&&(i.f^=G,i.f&=~Ie),Ht(i),Xn(i),dt(i,0)}}function dt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)_s(e,r[n])}function rt(e){var t=e.f;if((t&Q)===0){R(e,L);var r=E,n=Et;E=e,Et=!0;try{(t&(Me|ur))!==0?cs(e):Zt(e),Fr(e);var s=Zr(e);e.teardown=typeof s=="function"?s:null,e.wv=Wr;var i;vn&&jn&&(e.f&P)!==0&&e.deps}finally{Et=n,E=r}}}function se(e){var t=e.f,r=(t&Y)!==0;if(M!==null&&!ne){var n=E!==null&&(E.f&Q)!==0;if(!n&&(K===null||!Je.call(K,e))){var s=M.deps;if((M.f&It)!==0)e.rv<qe&&(e.rv=qe,q===null&&s!==null&&s[B]===e?B++:q===null?q=[e]:q.push(e));else{(M.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[M]:Je.call(i,M)||i.push(M)}}}if(ze&&Ne.has(e))return Ne.get(e);if(r){var a=e;if(ze){var o=a.v;return((a.f&L)===0&&a.reactions!==null||Qr(a))&&(o=Ut(a)),Ne.set(a,o),o}var l=(a.f&G)===0&&!ne&&M!==null&&(Et||(M.f&G)!==0),u=(a.f&Ye)===0;ct(a)&&(l&&(a.f|=G),Ar(a)),l&&!u&&(Nr(a),Xr(a))}if(te?.has(e))return te.get(e);if((e.f&Te)!==0)throw e.v;return e.v}function Xr(e){if(e.f|=G,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&Y)!==0&&(t.f&G)===0&&(Nr(t),Xr(t))}function Qr(e){if(e.v===j)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ne.has(t)||(t.f&Y)!==0&&Qr(t))return!0;return!1}function bs(e){var t=ne;try{return ne=!0,e()}finally{ne=t}}const St=Symbol("events"),gs=new Set,en=new Set;let tn=null;function rn(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;tn=e;var a=0,o=tn===e&&e[St];if(o){var l=s.indexOf(o);if(l!==-1&&(t===document||t===window)){e[St]=t;return}var u=s.indexOf(t);if(u===-1)return;l<=u&&(a=l)}if(i=s[a]||e.target,i!==t){gt(e,"currentTarget",{configurable:!0,get(){return i||r}});var f=M,p=E;J(null),de(null);try{for(var v,g=[];i!==null;){var b=i.assignedSlot||i.parentNode||i.host||null;try{var S=i[St]?.[n];S!=null&&(!i.disabled||e.target===i)&&S.call(i,e)}catch(N){v?g.push(N):v=N}if(e.cancelBubble||b===t||b===null)break;i=b}if(v){for(let N of g)queueMicrotask(()=>{throw N});throw v}}finally{e[St]=t,delete e.currentTarget,J(f),de(p)}}}const ms=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ws(e){return ms?.createHTML(e)??e}function ys(e){var t=Wt("template");return t.innerHTML=ws(e.replaceAll("<!>","<!---->")),t.content}function Tt(e,t){var r=E;r.nodes===null&&(r.nodes={start:e,end:t,a:null,t:null})}function he(e,t){var r=(t&dn)!==0,n=(t&hn)!==0,s,i=!e.startsWith("<!>");return()=>{if(A)return Tt(T,null),T;s===void 0&&(s=ys(i?e:"<!>"+e),r||(s=Pe(s)));var a=n||Yr?document.importNode(s,!0):s.cloneNode(!0);if(r){var o=Pe(a),l=a.lastChild;Tt(o,l)}else Tt(a,a);return a}}function ie(e,t){if(A){var r=E;((r.f&Ye)===0||r.nodes.end===null)&&(r.nodes.end=T),$t();return}e!==null&&e.before(t)}const $s=["touchstart","touchmove"];function xs(e){return $s.includes(e)}function Dt(e,t){var r=t==null?"":typeof t=="object"?`${t}`:t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=`${r}`)}function nn(e,t){return sn(e,t)}function ks(e,t){Bt(),t.intro=t.intro??!1;const r=t.target,n=A,s=T;try{for(var i=Pe(r);i&&(i.nodeType!==it||i.data!==tr);)i=re(i);if(!i)throw Ge;De(!0),V(i);const a=sn(e,{...t,anchor:i});return De(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==Ge&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Dn(),Bt(),rs(r),De(!1),nn(e,t)}finally{De(n),V(s)}}const Ot=new Map;function sn(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:a=!0,transformError:o}){Bt();var l=void 0,u=ls(()=>{var f=r??t.appendChild(ye());Vn(f,{pending:()=>{}},g=>{_r({});var b=ee;if(i&&(b.c=i),s&&(n.$$events=s),A&&Tt(g,null),l=e(g,n)||{},A&&(E.nodes.end=T,T===null||T.nodeType!==it||T.data!==sr))throw yt(),Ge;br()},o);var p=new Set,v=g=>{for(var b=0;b<g.length;b++){var S=g[b];if(!p.has(S)){p.add(S);var N=xs(S);for(const pe of[t,document]){var H=Ot.get(pe);H===void 0&&(H=new Map,Ot.set(pe,H));var ve=H.get(S);ve===void 0?(pe.addEventListener(S,rn,{passive:N}),H.set(S,1)):H.set(S,ve+1)}}}};return v(bn(gs)),en.add(v),()=>{for(var g of p)for(const N of[t,document]){var b=Ot.get(N),S=b.get(g);--S==0?(N.removeEventListener(g,rn),b.delete(g),b.size===0&&Ot.delete(N)):b.set(g,S)}en.delete(v),f!==r&&f.parentNode?.removeChild(f)}});return Xt.set(l,u),l}let Xt=new WeakMap;function Ms(e,t){const r=Xt.get(e);return r?(Xt.delete(e),r(t)):Promise.resolve()}class Es{anchor;#e=new Map;#r=new Map;#t=new Map;#s=new Set;#i=!0;constructor(t,r=!0){this.anchor=t,this.#i=r}#n=t=>{if(this.#e.has(t)){var r=this.#e.get(t),n=this.#r.get(r);if(n)hs(n),this.#s.delete(r);else{var s=this.#t.get(r);s&&(this.#r.set(r,s.effect),this.#t.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,a]of this.#e){if(this.#e.delete(i),i===t)break;const o=this.#t.get(a);o&&(z(o.effect),this.#t.delete(a))}for(const[i,a]of this.#r){if(i===r||this.#s.has(i))continue;const o=()=>{if(Array.from(this.#e.values()).includes(i)){var u=document.createDocumentFragment();Vr(a,u),u.append(ye()),this.#t.set(i,{effect:a,fragment:u})}else z(a);this.#s.delete(i),this.#r.delete(i)};this.#i||!n?(this.#s.add(i),ft(a,o,!1)):o()}}};#a=t=>{this.#e.delete(t);const r=Array.from(this.#e.values());for(const[n,s]of this.#t)r.includes(n)||(z(s.effect),this.#t.delete(n))};ensure(t,r){var n=O,s=ns();if(r&&!this.#r.has(t)&&!this.#t.has(t))if(s){var i=document.createDocumentFragment(),a=ye();i.append(a),this.#t.set(t,{effect:$e(()=>r(a)),fragment:i})}else this.#r.set(t,$e(()=>r(this.anchor)));if(this.#e.set(n,t),s){for(const[o,l]of this.#r)o===t?n.unskip_effect(l):n.skip_effect(l);for(const[o,l]of this.#t)o===t?n.unskip_effect(l.effect):n.skip_effect(l.effect);n.oncommit(this.#n),n.ondiscard(this.#a)}else A&&(this.anchor=T),this.#n(n)}}function nt(e,t,r=!1){var n;A&&(n=T,$t());var s=new Es(e),i=r?Xe:0;function a(o,l){if(A){var u=Ln(n);if(o!==parseInt(u.substring(1))){var f=vr();V(f),s.anchor=f,De(!1),s.ensure(o,l),De(!0);return}}s.ensure(o,l)}Kt(()=>{var o=!1;t((l,u=0)=>{o=!0,a(u,l)}),o||a(-1,null)},i)}function Ss(e,t,r,n,s){A&&$t();var i=t.$$slots?.[r],a=!1;i===!0&&(i=t[r],a=!0),i===void 0?s!==null&&s(e):i(e,a?()=>n:n)}function Ts(e,t){let r=null,n=A;var s;if(A){r=T;for(var i=Pe(document.head);i!==null&&(i.nodeType!==it||i.data!==e);)i=re(i);if(i===null)De(!1);else{var a=re(i);i.remove(),V(a)}}A||(s=document.head.appendChild(ye()));try{Kt(()=>t(s),dr|Se)}finally{n&&(De(!0),V(r))}}function Ds(e,t){us(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=Wt("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}const Os=Symbol("is custom element"),As=Symbol("is html"),Ns=En?"link":"LINK";function ht(e,t,r,n){var s=Cs(e);A&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Ns)||s[t]!==(s[t]=r)&&(t==="loading"&&(e[Mn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Rs(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Cs(e){return e.__attributes??={[Os]:e.nodeName.includes("-"),[As]:e.namespaceURI===ir}}var an=new Map;function Rs(e){var t=e.getAttribute("is")||e.nodeName,r=an.get(t);if(r)return r;an.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=gn(s);for(var a in n)n[a].set&&r.push(a);s=ar(s)}return r}function xe(e,t,r,n){var s=n,i=!0,a=()=>(i&&(i=!1,s=n),s),o;o=e[t],o===void 0&&n!==void 0&&(o=a());var l;l=()=>{var v=e[t];return v===void 0?a():(i=!0,v)};var u=!1,f=Or(()=>(u=!1,l())),p=E;return(function(v,g){if(arguments.length>0){const b=g?se(f):v;return we(f,b),u=!0,s!==void 0&&(s=b),v}return ze&&u||(p.f&Q)!==0?f.v:se(f)})}function Ls(e){return new Ys(e)}class Ys{#e;#r;constructor(t){var r=new Map,n=(i,a)=>{var o=Qn(a,!1,!1);return r.set(i,o),o};const s=new Proxy({...t.props||{},$$events:{}},{get(i,a){return se(r.get(a)??n(a,Reflect.get(i,a)))},has(i,a){return a===kn?!0:(se(r.get(a)??n(a,Reflect.get(i,a))),Reflect.has(i,a))},set(i,a,o){return we(r.get(a)??n(a,o),o),Reflect.set(i,a,o)}});this.#r=(t.hydrate?ks:nn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&ue(),this.#e=s.$$events;for(const i of Object.keys(this.#r))i==="$set"||i==="$destroy"||i==="$on"||gt(this,i,{get(){return this.#r[i]},set(a){this.#r[i]=a},enumerable:!0});this.#r.$set=i=>{Object.assign(s,i)},this.#r.$destroy=()=>{Ms(this.#r)}}$set(t){this.#r.$set(t)}$on(t,r){this.#e[t]=this.#e[t]||[];const n=(...s)=>r.call(this,...s);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(s=>s!==n)}}$destroy(){this.#r.$destroy()}}let on;typeof HTMLElement=="function"&&(on=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&(this.$$shadowRoot=this.attachShadow(r))}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const i=Wt("slot");n!=="default"&&(i.name=n),ie(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Is(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]=At(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=Ls({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=os(()=>{Hr(()=>{this.$$r=!0;for(const n of bt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=At(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]=At(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 bt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function At(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 Is(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function js(e,t,r,n,s,i){let a=class extends on{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return bt(t).map(o=>(t[o].attribute||o).toLowerCase())}};return bt(t).forEach(o=>{gt(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=At(o,l,t),this.$$d[o]=l;var u=this.$$c;if(u){var f=Ke(u,o)?.get;f?u[o]=l:u.$set({[o]:l})}}})}),n.forEach(o=>{gt(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}function Ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nt={exports:{}},Hs=Nt.exports,ln;function un(){return ln||(ln=1,(function(e,t){(function(r,n){e.exports=n()})(Hs,(function(){var r=1e3,n=6e4,s=36e5,i="millisecond",a="second",o="minute",l="hour",u="day",f="week",p="month",v="quarter",g="year",b="date",S="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ve={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var d=["th","st","nd","rd"],c=m%100;return"["+m+(d[(c-20)%10]||d[c]||d[0])+"]"}},pe=function(m,d,c){var _=String(m);return!_||_.length>=d?m:""+Array(d+1-_.length).join(c)+m},Qt={s:pe,z:function(m){var d=-m.utcOffset(),c=Math.abs(d),_=Math.floor(c/60),h=c%60;return(d<=0?"+":"-")+pe(_,2,"0")+":"+pe(h,2,"0")},m:function m(d,c){if(d.date()<c.date())return-m(c,d);var _=12*(c.year()-d.year())+(c.month()-d.month()),h=d.clone().add(_,p),x=c-h<0,k=d.clone().add(_+(x?-1:1),p);return+(-(_+(c-h)/(x?h-k:k-h))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:p,y:g,w:f,d:u,D:b,h:l,m:o,s:a,ms:i,Q:v}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},Ve="en",ke={};ke[Ve]=ve;var Rt="$isDayjsObject",vt=function(m){return m instanceof W||!(!m||!m[Rt])},w=function m(d,c,_){var h;if(!d)return Ve;if(typeof d=="string"){var x=d.toLowerCase();ke[x]&&(h=x),c&&(ke[x]=c,h=x);var k=d.split("-");if(!h&&k.length>1)return m(k[0])}else{var D=d.name;ke[D]=d,h=D}return!_&&h&&(Ve=h),h||!_&&Ve},y=function(m,d){if(vt(m))return m.clone();var c=typeof d=="object"?d:{};return c.date=m,c.args=arguments,new W(c)},$=Qt;$.l=w,$.i=vt,$.w=function(m,d){return y(m,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var W=(function(){function m(c){this.$L=w(c.locale,null,!0),this.parse(c),this.$x=this.$x||c.x||{},this[Rt]=!0}var d=m.prototype;return d.parse=function(c){this.$d=(function(_){var h=_.date,x=_.utc;if(h===null)return new Date(NaN);if($.u(h))return new Date;if(h instanceof Date)return new Date(h);if(typeof h=="string"&&!/Z$/i.test(h)){var k=h.match(N);if(k){var D=k[2]-1||0,C=(k[7]||"0").substring(0,3);return x?new Date(Date.UTC(k[1],D,k[3]||1,k[4]||0,k[5]||0,k[6]||0,C)):new Date(k[1],D,k[3]||1,k[4]||0,k[5]||0,k[6]||0,C)}}return new Date(h)})(c),this.init()},d.init=function(){var c=this.$d;this.$y=c.getFullYear(),this.$M=c.getMonth(),this.$D=c.getDate(),this.$W=c.getDay(),this.$H=c.getHours(),this.$m=c.getMinutes(),this.$s=c.getSeconds(),this.$ms=c.getMilliseconds()},d.$utils=function(){return $},d.isValid=function(){return this.$d.toString()!==S},d.isSame=function(c,_){var h=y(c);return this.startOf(_)<=h&&h<=this.endOf(_)},d.isAfter=function(c,_){return y(c)<this.startOf(_)},d.isBefore=function(c,_){return this.endOf(_)<y(c)},d.$g=function(c,_,h){return $.u(c)?this[_]:this.set(h,c)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(c,_){var h=this,x=!!$.u(_)||_,k=$.p(c),D=function(We,U){var Le=$.w(h.$u?Date.UTC(h.$y,U,We):new Date(h.$y,U,We),h);return x?Le:Le.endOf(u)},C=function(We,U){return $.w(h.toDate()[We].apply(h.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(U)),h)},I=this.$W,F=this.$M,X=this.$D,st="set"+(this.$u?"UTC":"");switch(k){case g:return x?D(1,0):D(31,11);case p:return x?D(1,F):D(0,F+1);case f:var Be=this.$locale().weekStart||0,pt=(I<Be?I+7:I)-Be;return D(x?X-pt:X+(6-pt),F);case u:case b:return C(st+"Hours",0);case l:return C(st+"Minutes",1);case o:return C(st+"Seconds",2);case a:return C(st+"Milliseconds",3);default:return this.clone()}},d.endOf=function(c){return this.startOf(c,!1)},d.$set=function(c,_){var h,x=$.p(c),k="set"+(this.$u?"UTC":""),D=(h={},h[u]=k+"Date",h[b]=k+"Date",h[p]=k+"Month",h[g]=k+"FullYear",h[l]=k+"Hours",h[o]=k+"Minutes",h[a]=k+"Seconds",h[i]=k+"Milliseconds",h)[x],C=x===u?this.$D+(_-this.$W):_;if(x===p||x===g){var I=this.clone().set(b,1);I.$d[D](C),I.init(),this.$d=I.set(b,Math.min(this.$D,I.daysInMonth())).$d}else D&&this.$d[D](C);return this.init(),this},d.set=function(c,_){return this.clone().$set(c,_)},d.get=function(c){return this[$.p(c)]()},d.add=function(c,_){var h,x=this;c=Number(c);var k=$.p(_),D=function(F){var X=y(x);return $.w(X.date(X.date()+Math.round(F*c)),x)};if(k===p)return this.set(p,this.$M+c);if(k===g)return this.set(g,this.$y+c);if(k===u)return D(1);if(k===f)return D(7);var C=(h={},h[o]=n,h[l]=s,h[a]=r,h)[k]||1,I=this.$d.getTime()+c*C;return $.w(I,this)},d.subtract=function(c,_){return this.add(-1*c,_)},d.format=function(c){var _=this,h=this.$locale();if(!this.isValid())return h.invalidDate||S;var x=c||"YYYY-MM-DDTHH:mm:ssZ",k=$.z(this),D=this.$H,C=this.$m,I=this.$M,F=h.weekdays,X=h.months,st=h.meridiem,Be=function(U,Le,_t,Lt){return U&&(U[Le]||U(_,x))||_t[Le].slice(0,Lt)},pt=function(U){return $.s(D%12||12,U,"0")},We=st||function(U,Le,_t){var Lt=U<12?"AM":"PM";return _t?Lt.toLowerCase():Lt};return x.replace(H,(function(U,Le){return Le||(function(_t){switch(_t){case"YY":return String(_.$y).slice(-2);case"YYYY":return $.s(_.$y,4,"0");case"M":return I+1;case"MM":return $.s(I+1,2,"0");case"MMM":return Be(h.monthsShort,I,X,3);case"MMMM":return Be(X,I);case"D":return _.$D;case"DD":return $.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return Be(h.weekdaysMin,_.$W,F,2);case"ddd":return Be(h.weekdaysShort,_.$W,F,3);case"dddd":return F[_.$W];case"H":return String(D);case"HH":return $.s(D,2,"0");case"h":return pt(1);case"hh":return pt(2);case"a":return We(D,C,!0);case"A":return We(D,C,!1);case"m":return String(C);case"mm":return $.s(C,2,"0");case"s":return String(_.$s);case"ss":return $.s(_.$s,2,"0");case"SSS":return $.s(_.$ms,3,"0");case"Z":return k}return null})(U)||k.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(c,_,h){var x,k=this,D=$.p(_),C=y(c),I=(C.utcOffset()-this.utcOffset())*n,F=this-C,X=function(){return $.m(k,C)};switch(D){case g:x=X()/12;break;case p:x=X();break;case v:x=X()/3;break;case f:x=(F-I)/6048e5;break;case u:x=(F-I)/864e5;break;case l:x=F/s;break;case o:x=F/n;break;case a:x=F/r;break;default:x=F}return h?x:$.a(x)},d.daysInMonth=function(){return this.endOf(p).$D},d.$locale=function(){return ke[this.$L]},d.locale=function(c,_){if(!c)return this.$L;var h=this.clone(),x=w(c,_,!0);return x&&(h.$L=x),h},d.clone=function(){return $.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},m})(),Re=W.prototype;return y.prototype=Re,[["$ms",i],["$s",a],["$m",o],["$H",l],["$W",u],["$M",p],["$y",g],["$D",b]].forEach((function(m){Re[m[1]]=function(d){return this.$g(d,m[0],m[1])}})),y.extend=function(m,d){return m.$i||(m(d,W,y),m.$i=!0),y},y.locale=w,y.isDayjs=vt,y.unix=function(m){return y(1e3*m)},y.en=ke[Ve],y.Ls=ke,y.p={},y}))})(Nt)),Nt.exports}var Fs=un();const zs=Ps(Fs);var Ct={exports:{}},qs=Ct.exports,fn;function Us(){return fn||(fn=1,(function(e,t){(function(r,n){e.exports=n(un())})(qs,(function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var s=n(r),i={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return s.default.locale(i,null,!0),i}))})(Ct)),Ct.exports}Us();var Vs=he('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-p77t8a"/>'),Bs=he('<div class="ratio ratio-16x9 svelte-p77t8a"><iframe title="YouTube video" allowfullscreen="" class="svelte-p77t8a"></iframe></div>'),Ws=he('<div class="ratio ratio-16x9 svelte-p77t8a" style="background-color: black;"><video controls="" class="ratio ratio-16x9 svelte-p77t8a"><source type="video/mp4" class="svelte-p77t8a"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-p77t8a"/> Your browser does not support the video tag.</video></div>',2),Gs=he('<h5 class="card-title svelte-p77t8a"> </h5>'),Js=he('<p class="card-text svelte-p77t8a"> </p>'),Ks=he('<a class="btn btn-primary svelte-p77t8a"> </a>'),Zs=he('<div class="fb-like card-link svelte-p77t8a" data-layout="button" data-action="like" data-size="small" data-show-faces="false" data-share="false"></div> <a class="twitter-share-button card-link svelte-p77t8a" href="https://twitter.com/intent/tweet">Tweet</a> <br class="svelte-p77t8a"/> <!>',1),Xs=he('<small class="text-muted svelte-p77t8a"><i class="bi bi-clock svelte-p77t8a" style="margin-right:8px"></i> </small>'),Qs=he('<div class="card-footer svelte-p77t8a"><!></div>'),ei=he('<div class="card h-100 svelte-p77t8a"><!> <div class="card-body svelte-p77t8a"><!> <!> <!></div> <!></div>');const ti={hash:"svelte-p77t8a",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(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e));typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var u={},d=Symbol(),f=`http://www.w3.org/1999/xhtml`,p=Array.isArray,m=Array.prototype.indexOf,h=Array.prototype.includes,g=Array.from,_=Object.keys,v=Object.defineProperty,y=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyDescriptors,ee=Object.prototype,te=Array.prototype,ne=Object.getPrototypeOf,x=Object.isExtensible,S=()=>{};function re(e){for(var t=0;t<e.length;t++)e[t]()}function ie(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var C=1024,w=2048,ae=4096,oe=8192,se=16384,ce=32768,le=1<<25,ue=65536,de=1<<18,fe=1<<19,pe=1<<20,me=65536,he=1<<21,ge=1<<22,_e=1<<23,ve=Symbol(`$state`),ye=Symbol(`legacy props`),be=Symbol(``),xe=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Se=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function Ce(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function we(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Te(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Ee(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function De(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Oe(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function ke(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ae(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function je(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Me(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var T=!1;function Ne(e){T=e}var E;function D(e){if(e===null)throw je(),u;return E=e}function Pe(){return D(R(E))}function O(e){if(T){if(R(E)!==null)throw je(),u;E=e}}function Fe(e=1){if(T){for(var t=e,n=E;t--;)n=R(n);E=n}}function Ie(e=!0){for(var t=0,n=E;;){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=R(n);e&&n.remove(),n=i}}function Le(e){if(!e||e.nodeType!==8)throw je(),u;return e.data}function Re(e){return e===this.v}function ze(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Be(e){return!ze(e,this.v)}var Ve=!1,He=!1,k=null;function Ue(e){k=e}function We(e,t=!1,n){k={p:k,i:!1,c:null,e:null,s:e,x:null,r:G,l:He&&!t?{s:null,u:null,$:[]}:null}}function Ge(e){var t=k,n=t.e;if(n!==null){t.e=null;for(var r of n)fn(r)}return e!==void 0&&(t.x=e),t.i=!0,k=t.p,e??{}}function Ke(){return!He||k!==null&&k.l===null}var qe=[];function Je(){var e=qe;qe=[],re(e)}function Ye(e){if(qe.length===0&&!st){var t=qe;queueMicrotask(()=>{t===qe&&Je()})}qe.push(e)}function Xe(){for(;qe.length>0;)Je()}function Ze(e){var t=G;if(t===null)return H.f|=_e,e;if(!(t.f&32768)&&!(t.f&4))throw e;Qe(e,t)}function Qe(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 $e=~(w|ae|C);function A(e,t){e.f=e.f&$e|t}function et(e){e.f&512||e.deps===null?A(e,C):A(e,ae)}function tt(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=me,tt(t.deps))}function nt(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),tt(e.deps),A(e,C)}var rt=!1,it=!1;function at(e){var t=it;try{return it=!1,[e(),it]}finally{it=t}}var j=new Set,M=null,N=null,ot=null,st=!1,ct=!1,lt=null,ut=null,dt=0,ft=1,pt=class e{id=ft++;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)A(n,w),this.schedule(n);for(n of t.m)A(n,ae),this.schedule(n)}}#p(){if(dt++>1e3&&(j.delete(this),mt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),A(e,w),this.schedule(e);for(let e of this.#s)A(e,ae),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=lt=[],r=[],i=ut=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw bt(e),t}if(M=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(lt=null,ut=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)yt(e,t)}else{this.#n.size===0&&j.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ht(r),ht(n),this.#i?.resolve()}var o=M;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(j.add(o),o.#p()),j.has(this)||this.#g()}#m(e,t,n){e.f^=C;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^=C:i&4?t.push(r):Ve&&i&16777224?n.push(r):Hn(r)&&(i&16&&this.#s.add(r),qn(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)nt(e[t],this.#o,this.#s)}capture(e,t,n=!1){t!==d&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,n]),N?.set(e,e.v))}activate(){M=this}deactivate(){M=null,N=null}flush(){try{ct=!0,M=this,this.#p()}finally{dt=0,ot=null,lt=null,ut=null,ct=!1,M=null,N=null,zt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),j.delete(this)}#g(){for(let c of j){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)gt(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 j)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,Ye(()=>{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??=ie()).promise}static ensure(){if(M===null){let t=M=new e;ct||(j.add(M),st||Ye(()=>{M===t&&t.flush()}))}return M}apply(){if(!Ve||!this.is_fork&&j.size===1){N=null;return}N=new Map;for(let[e,[t]]of this.current)N.set(e,t);for(let n of j)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)N.has(e)||N.set(e,t)}}schedule(e){if(ot=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(lt!==null&&t===G&&(Ve||(H===null||!(H.f&2))&&!rt))return;if(n&96){if(!(n&1024))return;t.f^=C}}this.#a.push(t)}};function P(e){var t=st;st=!0;try{var n;for(e&&(M!==null&&!M.is_fork&&M.flush(),n=e());;){if(Xe(),M===null)return n;M.flush()}}finally{st=t}}function mt(){try{we()}catch(e){Qe(e,ot)}}var F=null;function ht(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Hn(r)&&(F=new Set,qn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Tn(r),F?.size>0)){zt.clear();for(let e of F){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)F.has(n)&&(F.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||qn(n)}}F.clear()}}F=null}}function gt(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?gt(i,t,n,r):e&4194320&&!(e&2048)&&_t(i,t,r)&&(A(i,w),vt(i))}}function _t(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(h.call(t,r))return!0;if(r.f&2&&_t(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function vt(e){M.schedule(e)}function yt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),A(e,C);for(var n=e.first;n!==null;)yt(n,t),n=n.next}}function bt(e){A(e,C);for(var t=e.first;t!==null;)bt(t),t=t.next}function xt(e){let t=0,n=Vt(0),r;return()=>{un()&&(Z(n),_n(()=>(t===0&&(r=Xn(()=>e(()=>Kt(n)))),t+=1,()=>{Ye(()=>{--t,t===0&&(r?.(),r=void 0,Kt(n))})})))}}var St=ue|fe;function Ct(e,t,n,r){new wt(e,t,n,r)}var wt=class{parent;is_pending=!1;transform_error;#e;#t=T?E: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=xt(()=>(this.#m=Vt(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=yn(()=>{if(T){let e=this.#t;Pe();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()},St),T&&(this.#e=E)}#g(){try{this.#a=bn(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=bn(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=bn(()=>e(this.#e)),Ye(()=>{var e=this.#c=document.createDocumentFragment(),t=L();e.append(t),this.#a=this.#x(()=>bn(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,En(this.#o,()=>{this.#o=null}),this.#b(M))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=bn(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();An(this.#a,e);let t=this.#n.pending;this.#o=bn(()=>t(this.#e))}else this.#b(M)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){nt(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=k;K(this.#i),W(this.#i),Ue(this.#i.ctx);try{return pt.ensure(),e()}catch(e){return Ze(e),null}finally{K(t),W(n),Ue(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&&En(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,Ye(()=>{this.#d=!1,this.#m&&Wt(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&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),T&&(D(this.#t),Fe(),D(Ie()));var r=!1,i=!1;let a=()=>{if(r){Me();return}r=!0,i&&Ae(),this.#s!==null&&En(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Qe(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return bn(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Qe(e,this.#i.parent),null}}))};Ye(()=>{var t;try{t=this.transform_error(e)}catch(e){Qe(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Qe(e,this.#i&&this.#i.parent)):o(t)})}};function Tt(e,t,n,r){let i=Ke()?kt:jt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=Et(),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||Qe(e,o)}Dt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Ot();function d(){Promise.all(n.map(e=>At(e))).then(e=>l([...t.map(i),...e])).catch(e=>Qe(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Dt()}):d()}function Et(){var e=G,t=H,n=k,r=M;return function(i=!0){K(e),W(t),Ue(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Dt(e=!0){K(null),W(null),Ue(null),e&&M?.deactivate()}function Ot(){var e=G,t=e.b,n=M,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 kt(e){var t=2|w,n=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=fe),{ctx:k,deps:null,effects:null,equals:Re,f:t,fn:e,reactions:null,rv:0,v:d,wv:0,parent:n??G,ac:null}}function At(e,t,n){let r=G;r===null&&Ce();var i=void 0,a=Vt(d),o=!H,s=new Map;return gn(()=>{var t=G,n=ie();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Dt)}catch(e){n.reject(e),Dt()}var c=M;if(o){if(t.f&32768)var l=Ot();if(r.b.is_rendered())s.get(c)?.reject(xe),s.delete(c);else{for(let e of s.values())e.reject(xe);s.clear()}s.set(c,n)}let u=(e,n=void 0)=>{if(l&&l(n===xe),!(n===xe||t.f&16384)){if(c.activate(),n)a.f|=_e,Wt(a,n);else{a.f&8388608&&(a.f^=_e),Wt(a,e);for(let[e,t]of s){if(s.delete(e),e===c)break;t.reject(xe)}}c.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),dn(()=>{for(let e of s.values())e.reject(xe)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function jt(e){let t=kt(e);return t.equals=Be,t}function Mt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function Nt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Pt(e){var t,n=G;K(Nt(e));try{e.f&=~me,Mt(e),t=Wn(e)}finally{K(n)}return t}function Ft(e){var t=e.v,n=Pt(e);if(!e.equals(n)&&(e.wv=Vn(),(!M?.is_fork||e.deps===null)&&(e.v=n,M?.capture(e,t,!0),e.deps===null))){A(e,C);return}Nn||(N===null?et(e):(un()||M?.is_fork)&&N.set(e,n))}function It(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(xe),t.teardown=S,t.ac=null,Kn(t,0),Sn(t))}function Lt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&qn(t)}var Rt=new Set,zt=new Map,Bt=!1;function Vt(e,t){return{f:0,v:e,reactions:null,equals:Re,rv:0,wv:0}}function Ht(e,t){let n=Vt(e,t);return Fn(n),n}function Ut(e,t=!1,n=!0){let r=Vt(e);return t||(r.equals=Be),He&&n&&k!==null&&k.l!==null&&(k.l.s??=[]).push(r),r}function I(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&Ke()&&H.f&4325394&&(q===null||!h.call(q,e))&&ke(),Wt(e,n?Jt(t):t,ut)}function Wt(e,t,n=null){if(!e.equals(t)){var r=e.v;Nn?zt.set(e,t):zt.set(e,r),e.v=t;var i=pt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Pt(t),N===null&&et(t)}e.wv=Vn(),qt(e,w,n),Ke()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?In([e]):X.push(e)),!i.is_fork&&Rt.size>0&&!Bt&&Gt()}return t}function Gt(){Bt=!1;for(let e of Rt)e.f&1024&&A(e,ae),Hn(e)&&qn(e);Rt.clear()}function Kt(e){I(e,e.v+1)}function qt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ke(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&w)===0;if(l&&A(s,t),c&2){var u=s;N?.delete(u),c&65536||(c&512&&(s.f|=me),qt(u,ae,n))}else if(l){var d=s;c&16&&F!==null&&F.add(d),n===null?vt(d):n.push(d)}}}}function Jt(e){if(typeof e!=`object`||!e||ve in e)return e;let t=ne(e);if(t!==ee&&t!==te)return e;var n=new Map,r=p(e),i=Ht(0),a=null,o=zn,s=e=>{if(zn===o)return e();var t=H,n=zn;W(null),Bn(o);var r=e();return W(t),Bn(n),r};return r&&n.set(`length`,Ht(e.length,a)),new Proxy(e,{defineProperty(e,t,r){(!(`value`in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&De();var i=n.get(t);return i===void 0?s(()=>{var e=Ht(r.value,a);return n.set(t,e),e}):I(i,r.value,!0),!0},deleteProperty(e,t){var r=n.get(t);if(r===void 0){if(t in e){let e=s(()=>Ht(d,a));n.set(t,e),Kt(i)}}else I(r,d),Kt(i);return!0},get(t,r,i){if(r===ve)return e;var o=n.get(r),c=r in t;if(o===void 0&&(!c||y(t,r)?.writable)&&(o=s(()=>Ht(Jt(c?t[r]:d),a)),n.set(r,o)),o!==void 0){var l=Z(o);return l===d?void 0:l}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var i=n.get(t);i&&(r.value=Z(i))}else if(r===void 0){var a=n.get(t),o=a?.v;if(a!==void 0&&o!==d)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return r},has(e,t){if(t===ve)return!0;var r=n.get(t),i=r!==void 0&&r.v!==d||Reflect.has(e,t);return(r!==void 0||G!==null&&(!i||y(e,t)?.writable))&&(r===void 0&&(r=s(()=>Ht(i?Jt(e[t]):d,a)),n.set(t,r)),Z(r)===d)?!1:i},set(e,t,o,c){var l=n.get(t),u=t in e;if(r&&t===`length`)for(var f=o;f<l.v;f+=1){var p=n.get(f+``);p===void 0?f in e&&(p=s(()=>Ht(d,a)),n.set(f+``,p)):I(p,d)}if(l===void 0)(!u||y(e,t)?.writable)&&(l=s(()=>Ht(void 0,a)),I(l,Jt(o)),n.set(t,l));else{u=l.v!==d;var m=s(()=>Jt(o));I(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,o),!u){if(r&&typeof t==`string`){var g=n.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&I(g,_+1)}Kt(i)}return!0},ownKeys(e){Z(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return t===void 0||t.v!==d});for(var[r,a]of n)a.v!==d&&!(r in e)&&t.push(r);return t},setPrototypeOf(){Oe()}})}var Yt,Xt,Zt,Qt;function $t(){if(Yt===void 0){Yt=window,Xt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Zt=y(t,`firstChild`).get,Qt=y(t,`nextSibling`).get,x(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),x(n)&&(n.__t=void 0)}}function L(e=``){return document.createTextNode(e)}function en(e){return Zt.call(e)}function R(e){return Qt.call(e)}function z(e,t){if(!T)return en(e);var n=en(E);if(n===null)n=E.appendChild(L());else if(t&&n.nodeType!==3){var r=L();return n?.before(r),D(r),r}return t&&sn(n),D(n),n}function tn(e,t=!1){if(!T){var n=en(e);return n instanceof Comment&&n.data===``?R(n):n}if(t){if(E?.nodeType!==3){var r=L();return E?.before(r),D(r),r}sn(E)}return E}function nn(e,t=1,n=!1){let r=T?E:e;for(var i;t--;)i=r,r=R(r);if(!T)return r;if(n){if(r?.nodeType!==3){var a=L();return r===null?i?.after(a):r.before(a),D(a),a}sn(r)}return D(r),r}function rn(e){e.textContent=``}function an(){return!Ve||F!==null?!1:(G.f&ce)!==0}function on(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function sn(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 cn(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function ln(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function B(e,t){var n=G;n!==null&&n.f&8192&&(e|=oe);var r={ctx:k,deps:null,nodes:null,f:e|w|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)lt===null?pt.ensure().schedule(r):lt.push(r);else if(t!==null){try{qn(r)}catch(e){throw V(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|=ue))}if(i!==null&&(i.parent=n,n!==null&&ln(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function un(){return H!==null&&!U}function dn(e){let t=B(8,null);return A(t,C),t.teardown=e,t}function fn(e){return B(4|pe,e)}function pn(e){pt.ensure();let t=B(64|fe,e);return()=>{V(t)}}function mn(e){pt.ensure();let t=B(64|fe,e);return(e={})=>new Promise(n=>{e.outro?En(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function hn(e){return B(4,e)}function gn(e){return B(ge|fe,e)}function _n(e,t=0){return B(8|t,e)}function vn(e,t=[],n=[],r=[]){Tt(r,t,n,t=>{B(8,()=>e(...t.map(Z)))})}function yn(e,t=0){return B(16|t,e)}function bn(e){return B(32|fe,e)}function xn(e){var t=e.teardown;if(t!==null){let e=Nn,n=H;Pn(!0),W(null);try{t.call(null)}finally{Pn(e),W(n)}}}function Sn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&cn(()=>{e.abort(xe)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function Cn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(wn(e.nodes.start,e.nodes.end),n=!0),A(e,le),Sn(e,t&&!n),Kn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();xn(e),e.f^=le,e.f|=se;var i=e.parent;i!==null&&i.first!==null&&Tn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function wn(e,t){for(;e!==null;){var n=e===t?null:R(e);e.remove(),e=n}}function Tn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function En(e,t,n=!0){var r=[];Dn(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Dn(e,t,n){if(!(e.f&8192)){e.f^=oe;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;Dn(i,t,o?n:!1),i=a}}}function On(e){kn(e,!0)}function kn(e,t){if(e.f&8192){e.f^=oe,e.f&1024||(A(e,w),pt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;kn(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 An(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:R(n);t.append(n),n=i}}var jn=null,Mn=!1,Nn=!1;function Pn(e){Nn=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function Fn(e){H!==null&&(!Ve||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function In(e){X=e}var Ln=1,Rn=0,zn=Rn;function Bn(e){zn=e}function Vn(){return++Ln}function Hn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~me),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Hn(a)&&Ft(a),a.wv>e.wv)return!0}t&512&&N===null&&A(e,C)}return!1}function Un(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Ve&&q!==null&&h.call(q,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Un(a,t,!1):t===a&&(n?A(a,w):a.f&1024&&A(a,ae),vt(a))}}function Wn(e){var t=J,n=Y,r=X,i=H,a=q,o=k,s=U,c=zn,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,Ue(e.ctx),U=!1,zn=++Rn,e.ac!==null&&(cn(()=>{e.ac.abort(xe)}),e.ac=null);try{e.f|=he;var u=e.fn,d=u();e.f|=ce;var f=e.deps,p=M?.is_fork;if(J!==null){var m;if(p||Kn(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(un()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(Kn(e,Y),f.length=Y);if(Ke()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)Un(X[m],e);if(i!==null&&i!==e){if(Rn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Rn;if(t!==null)for(let e of t)e.rv=Rn;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=_e),d}catch(e){return Ze(e)}finally{e.f^=he,J=t,Y=n,X=r,H=i,q=a,Ue(o),U=s,zn=c}}function Gn(e,t){let n=t.reactions;if(n!==null){var r=m.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||!h.call(J,t))){var a=t;a.f&512&&(a.f^=512,a.f&=~me),et(a),It(a),Kn(a,0)}}function Kn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Gn(e,n[r])}function qn(e){var t=e.f;if(!(t&16384)){A(e,C);var n=G,r=Mn;G=e,Mn=!0;try{t&16777232?Cn(e):Sn(e),xn(e);var i=Wn(e);e.teardown=typeof i==`function`?i:null,e.wv=Ln}finally{Mn=r,G=n}}}function Z(e){var t=(e.f&2)!=0;if(jn?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!h.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Rn&&(e.rv=Rn,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]:h.call(r,H)||r.push(H)}}if(Nn&&zt.has(e))return zt.get(e);if(t){var i=e;if(Nn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Yn(i))&&(a=Pt(i)),zt.set(i,a),a}var o=(i.f&512)==0&&!U&&H!==null&&(Mn||(H.f&512)!=0),s=(i.f&ce)===0;Hn(i)&&(o&&(i.f|=512),Ft(i)),o&&!s&&(Lt(i),Jn(i))}if(N?.has(e))return N.get(e);if(e.f&8388608)throw e.v;return e.v}function Jn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Lt(t),Jn(t))}function Yn(e){if(e.v===d)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(zt.has(t)||t.f&2&&Yn(t))return!0;return!1}function Xn(e){var t=U;try{return U=!0,e()}finally{U=t}}var Zn=Symbol(`events`),Qn=new Set,$n=new Set,er=null;function tr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;er=e;var o=0,s=er===e&&e[Zn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Zn]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){v(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=H,d=G;W(null),K(null);try{for(var f,p=[];a!==null;){var m=a.assignedSlot||a.parentNode||a.host||null;try{var h=a[Zn]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){f?p.push(e):f=e}if(e.cancelBubble||m===t||m===null)break;a=m}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[Zn]=t,delete e.currentTarget,W(u),K(d)}}}var nr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function rr(e){return nr?.createHTML(e)??e}function ir(e){var t=on(`template`);return t.innerHTML=rr(e.replaceAll(`<!>`,`<!---->`)),t.content}function ar(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Q(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(T)return ar(E,null),E;i===void 0&&(i=ir(a?e:`<!>`+e),n||(i=en(i)));var t=r||Xt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=en(t),s=t.lastChild;ar(o,s)}else ar(t,t);return t}}function $(e,t){if(T){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=E),Pe();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,t){$t(),t.intro=t.intro??!1;let n=t.target,r=T,i=E;try{for(var a=en(n);a&&(a.nodeType!==8||a.data!==`[`);)a=R(a);if(!a)throw u;Ne(!0),D(a);let r=fr(e,{...t,anchor:a});return Ne(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==u&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Te(),$t(),rn(n),Ne(!1),lr(e,t)}finally{Ne(r),D(i)}}var dr=new Map;function fr(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:o=!0,transformError:s}){$t();var c=void 0,l=mn(()=>{var o=n??t.appendChild(L());Ct(o,{pending:()=>{}},t=>{We({});var n=k;if(a&&(n.c=a),i&&(r.$$events=i),T&&ar(t,null),c=e(t,r)||{},T&&(G.nodes.end=E,E===null||E.nodeType!==8||E.data!==`]`))throw je(),u;Ge()},s);var l=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!l.has(r)){l.add(r);var i=sr(r);for(let e of[t,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,tr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return d(g(Qn)),$n.add(d),()=>{for(var e of l)for(let n of[t,document]){var r=dr.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,tr),r.delete(e),r.size===0&&dr.delete(n)):r.set(e,i)}$n.delete(d),o!==n&&o.parentNode?.removeChild(o)}});return pr.set(c,l),c}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)On(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&&(V(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();An(r,t),t.append(L()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),En(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)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=M,r=an();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=L();i.append(a),this.#n.set(e,{effect:bn(()=>t(a)),fragment:i})}else this.#t.set(e,bn(()=>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 T&&(this.anchor=E),this.#a(n)}};function gr(e,t,n=!1){var r;T&&(r=E,Pe());var i=new hr(e),a=n?ue:0;function o(e,t){if(T){var n=Le(r);if(e!==parseInt(n.substring(1))){var a=Ie();D(a),i.anchor=a,Ne(!1),i.ensure(e,t),Ne(!0);return}}i.ensure(e,t)}yn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function _r(e,t,n,r,i){T&&Pe();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function vr(e,t){let n=null,r=T;var i;if(T){n=E;for(var a=en(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=R(a);if(a===null)Ne(!1);else{var o=R(a);a.remove(),D(o)}}T||(i=document.head.appendChild(L()));try{yn(()=>t(i),de|fe)}finally{r&&(Ne(!0),D(n))}}function yr(e,t){hn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=on(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var br=Symbol(`is custom element`),xr=Symbol(`is html`),Sr=Se?`link`:`LINK`;function Cr(e,t,n,r){var i=wr(e);T&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Sr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[be]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Er(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function wr(e){return e.__attributes??={[br]:e.nodeName.includes(`-`),[xr]:e.namespaceURI===f}}var Tr=new Map;function Er(e){var t=e.getAttribute(`is`)||e.nodeName,n=Tr.get(t);if(n)return n;Tr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=b(i),r)r[o].set&&n.push(o);i=ne(i)}return n}function Dr(e,t,n,r){var i=!He||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Xn(r):r),s);let u;if(a){var d=ve in e||ye in e;u=y(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var f,p=!1;a?[f,p]=at(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=l(),u&&(i&&Ee(t),u(f)));var m=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 m;if(u){var h=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||h||p)&&u(t?m():e),e):m()})}var g=!1,_=(n&1?kt:jt)(()=>(g=!1,m()));a&&Z(_);var v=G;return(function(e,t){if(arguments.length>0){let n=t?Z(_):i&&a?Jt(e):e;return I(_,n),g=!0,s!==void 0&&(s=n),e}return Nn&&g||v.f&16384?_.v:Z(_)})}function Or(e){return new kr(e)}var kr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Ut(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===ye?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return I(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}),!Ve&&(!e?.props?.$$host||e.sync===!1)&&P(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||v(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()}},Ar;typeof HTMLElement==`function`&&(Ar=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=on(`slot`);e!==`default`&&(n.name=e),$(t,n)}}let t={},n=Mr(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]=jr(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=Or({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=pn(()=>{_n(()=>{this.$$r=!0;for(let e of _(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=jr(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]=jr(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 _(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function jr(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 Mr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Nr(e,t,n,r,i,a){let o=class extends Ar{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return _(t).map(e=>(t[e].attribute||e).toLowerCase())}};return _(t).forEach(e=>{v(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=jr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(y(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{v(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Pr=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var ee=`$isDayjsObject`,te=function(e){return e instanceof re||!(!e||!e[ee])},ne=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},x=function(e,t){if(te(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new re(n)},S=v;S.l=ne,S.i=te,S.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var re=function(){function g(e){this.$L=ne(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[ee]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return S},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=x(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return x(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<x(e)},_.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!S.u(t)||t,u=S.p(e),p=function(e,t){var i=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return S.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=S.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[S.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=S.p(u),h=function(e){var t=x(p);return S.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return S.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=S.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return S.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return S.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return S.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return S.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return S.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return S.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return S.s(t.$s,2,`0`);case`SSS`:return S.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=S.p(f),_=x(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return S.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:S.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=ne(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),ie=re.prototype;return x.prototype=ie,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){ie[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),x.extend=function(e,t){return e.$i||=(e(t,re,x),!0),x},x.locale=ne,x.isDayjs=te,x.unix=function(e){return x(1e3*e)},x.en=b[y],x.Ls=b,x.p={},x}))})),Fr=s(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(Pr()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_it=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`it`,weekdays:`domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato`.split(`_`),weekdaysShort:`dom_lun_mar_mer_gio_ven_sab`.split(`_`),weekdaysMin:`do_lu_ma_me_gi_ve_sa`.split(`_`),months:`gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre`.split(`_`),weekStart:1,monthsShort:`gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic`.split(`_`),formats:{LT:`HH:mm`,LTS:`HH:mm:ss`,L:`DD/MM/YYYY`,LL:`D MMMM YYYY`,LLL:`D MMMM YYYY HH:mm`,LLLL:`dddd D MMMM YYYY HH:mm`},relativeTime:{future:`tra %s`,past:`%s fa`,s:`qualche secondo`,m:`un minuto`,mm:`%d minuti`,h:`un'ora`,hh:`%d ore`,d:`un giorno`,dd:`%d giorni`,M:`un mese`,MM:`%d mesi`,y:`un anno`,yy:`%d anni`},ordinal:function(e){return e+`º`}};return n.default.locale(r,null,!0),r}))})),Ir=l(Pr());Fr();var Lr=Q(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-p77t8a"/>`),Rr=Q(`<div class="ratio ratio-16x9 svelte-p77t8a"><iframe title="YouTube video" allowfullscreen="" class="svelte-p77t8a"></iframe></div>`),zr=Q(`<div class="ratio ratio-16x9 svelte-p77t8a" style="background-color: black;"><video controls="" class="ratio ratio-16x9 svelte-p77t8a"><source type="video/mp4" class="svelte-p77t8a"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-p77t8a"/> Your browser does not support the video tag.</video></div>`,2),Br=Q(`<h5 class="card-title svelte-p77t8a"> </h5>`),Vr=Q(`<p class="card-text svelte-p77t8a"> </p>`),Hr=Q(`<a class="btn btn-primary svelte-p77t8a"> </a>`),Ur=Q(`<div class="fb-like card-link svelte-p77t8a" data-layout="button" data-action="like" data-size="small" data-show-faces="false" data-share="false"></div> <a class="twitter-share-button card-link svelte-p77t8a" href="https://twitter.com/intent/tweet">Tweet</a> <br class="svelte-p77t8a"/> <!>`,1),Wr=Q(`<small class="text-muted svelte-p77t8a"><i class="bi bi-clock svelte-p77t8a" style="margin-right:8px"></i> </small>`),Gr=Q(`<div class="card-footer svelte-p77t8a"><!></div>`),Kr=Q(`<div class="card h-100 svelte-p77t8a"><!> <div class="card-body svelte-p77t8a"><!> <!> <!></div> <!></div>`),qr={hash:`svelte-p77t8a`,code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
3
3
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
4
4
  /*!
5
5
  * Bootstrap v5.3.8 (https://getbootstrap.com/)
@@ -50,5 +50,5 @@
50
50
  @media (min-width: 1200px) {
51
51
  }
52
52
  @media (min-width: 1400px) {
53
- }:host {font-family:"Roboto", sans-serif;}`};function cn(e,t){_r(t,!0),Ds(e,ti);let r=xe(t,"id",7,""),n=xe(t,"title",7,void 0),s=xe(t,"description",7,void 0),i=xe(t,"videosrc",7,""),a=xe(t,"provider",7,void 0),o=xe(t,"pageuri",7,void 0),l=xe(t,"linklabel",7,"read more"),u=xe(t,"time",7,void 0),f=xe(t,"dateformat",7,"dddd DD MMMM YYYY HH:mm");var p={get id(){return r()},set id(w=""){r(w),ue()},get title(){return n()},set title(w=void 0){n(w),ue()},get description(){return s()},set description(w=void 0){s(w),ue()},get videosrc(){return i()},set videosrc(w=""){i(w),ue()},get provider(){return a()},set provider(w=void 0){a(w),ue()},get pageuri(){return o()},set pageuri(w=void 0){o(w),ue()},get linklabel(){return l()},set linklabel(w="read more"){l(w),ue()},get time(){return u()},set time(w=void 0){u(w),ue()},get dateformat(){return f()},set dateformat(w="dddd DD MMMM YYYY HH:mm"){f(w),ue()}},v=ei();Ts("p77t8a",w=>{var y=Vs();ie(w,y)});var g=fe(v);{var b=w=>{var y=Bs(),$=fe(y);le(y),Fe(()=>ht($,"src",i())),ie(w,y)},S=w=>{var y=Ws(),$=fe(y),W=fe($);hr(3),le($),le(y),Fe(()=>ht(W,"src",i())),ie(w,y)};nt(g,w=>{a()==="youtube"?w(b):w(S,-1)})}var N=He(g,2),H=fe(N);{var ve=w=>{var y=Gs(),$=fe(y,!0);le(y),Fe(()=>Dt($,n())),ie(w,y)};nt(H,w=>{n()&&w(ve)})}var pe=He(H,2);{var Qt=w=>{var y=Js(),$=fe(y,!0);le(y),Fe(W=>Dt($,W),[()=>s().length>100?s().slice(0,100):s()?s():""]),ie(w,y)};nt(pe,w=>{s()&&w(Qt)})}var Ve=He(pe,2);{var ke=w=>{var y=Zs(),$=ts(y),W=He($,2),Re=He(W,4);{var m=d=>{var c=Ks(),_=fe(c,!0);le(c),Fe(()=>{ht(c,"href",o()),Dt(_,l())}),ie(d,c)};nt(Re,d=>{l()?.length&&d(m)})}Fe(()=>{ht($,"data-href",o()),ht(W,"data-url",o())}),ie(w,y)};nt(Ve,w=>{o()&&w(ke)})}le(N);var Rt=He(N,2);{var vt=w=>{var y=Qs(),$=fe(y);Ss($,t,"card-footer",{},W=>{var Re=Xs(),m=He(fe(Re),1,!0);le(Re),Fe(d=>Dt(m,d),[()=>zs(u()).locale(navigator.language).format(f()).replace(/\b\w/g,d=>d.toUpperCase())]),ie(W,Re)}),le(y),ie(w,y)};nt(Rt,w=>{u()&&w(vt)})}return le(v),ie(e,v),br(p)}customElements.define("hb-card-video",js(cn,{id:{},title:{},description:{},videosrc:{},provider:{},pageuri:{},linklabel:{},time:{},dateformat:{}},["card-footer"],[],{mode:"open"})),er.Component=cn,Object.defineProperty(er,Symbol.toStringTag,{value:"Module"})})(this["card-video"]=this["card-video"]||{});
54
- //# sourceMappingURL=main.iife.js.map
53
+ }:host {font-family:"Roboto", sans-serif;}`};function Jr(e,t){We(t,!0),yr(e,qr);let n=Dr(t,`id`,7,``),r=Dr(t,`title`,7,void 0),i=Dr(t,`description`,7,void 0),a=Dr(t,`videosrc`,7,``),o=Dr(t,`provider`,7,void 0),s=Dr(t,`pageuri`,7,void 0),c=Dr(t,`linklabel`,7,`read more`),l=Dr(t,`time`,7,void 0),u=Dr(t,`dateformat`,7,`dddd DD MMMM YYYY HH:mm`);var d={get id(){return n()},set id(e=``){n(e),P()},get title(){return r()},set title(e=void 0){r(e),P()},get description(){return i()},set description(e=void 0){i(e),P()},get videosrc(){return a()},set videosrc(e=``){a(e),P()},get provider(){return o()},set provider(e=void 0){o(e),P()},get pageuri(){return s()},set pageuri(e=void 0){s(e),P()},get linklabel(){return c()},set linklabel(e=`read more`){c(e),P()},get time(){return l()},set time(e=void 0){l(e),P()},get dateformat(){return u()},set dateformat(e=`dddd DD MMMM YYYY HH:mm`){u(e),P()}},f=Kr();vr(`p77t8a`,e=>{$(e,Lr())});var p=z(f),m=e=>{var t=Rr(),n=z(t);O(t),vn(()=>Cr(n,`src`,a())),$(e,t)},h=e=>{var t=zr(),n=z(t),r=z(n);Fe(3),O(n),O(t),vn(()=>Cr(r,`src`,a())),$(e,t)};gr(p,e=>{o()===`youtube`?e(m):e(h,-1)});var g=nn(p,2),_=z(g),v=e=>{var t=Br(),n=z(t,!0);O(t),vn(()=>cr(n,r())),$(e,t)};gr(_,e=>{r()&&e(v)});var y=nn(_,2),b=e=>{var t=Vr(),n=z(t,!0);O(t),vn(e=>cr(n,e),[()=>i().length>100?i().slice(0,100):i()?i():``]),$(e,t)};gr(y,e=>{i()&&e(b)});var ee=nn(y,2),te=e=>{var t=Ur(),n=tn(t),r=nn(n,2),i=nn(r,4),a=e=>{var t=Hr(),n=z(t,!0);O(t),vn(()=>{Cr(t,`href`,s()),cr(n,c())}),$(e,t)};gr(i,e=>{c()?.length&&e(a)}),vn(()=>{Cr(n,`data-href`,s()),Cr(r,`data-url`,s())}),$(e,t)};gr(ee,e=>{s()&&e(te)}),O(g);var ne=nn(g,2),x=e=>{var n=Gr();_r(z(n),t,`card-footer`,{},e=>{var t=Wr(),n=nn(z(t),1,!0);O(t),vn(e=>cr(n,e),[()=>(0,Ir.default)(l()).locale(navigator.language).format(u()).replace(/\b\w/g,e=>e.toUpperCase())]),$(e,t)}),O(n),$(e,n)};return gr(ne,e=>{l()&&e(x)}),O(f),$(e,f),Ge(d)}customElements.define(`hb-card-video`,Nr(Jr,{id:{},title:{},description:{},videosrc:{},provider:{},pageuri:{},linklabel:{},time:{},dateformat:{}},[`card-footer`],[],{mode:`open`})),e.Component=Jr})(this[`card-video`]=this[`card-video`]||{});
54
+ //# sourceMappingURL=main.iife.js.map