@htmlbricks/hb-offcanvas 0.65.23 → 0.66.0

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(Et){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Rn=1,On=4,Ln=8,Pn=16,Mn=1,Dn=2,kt="[",it="[!",Tt="]",ye={},E=Symbol(),In="http://www.w3.org/1999/xhtml",st=!1;var jn=Array.isArray,Fn=Array.prototype.indexOf,Bn=Array.from,je=Object.keys,Fe=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,qn=Object.getOwnPropertyDescriptors,Un=Object.prototype,zn=Array.prototype,St=Object.getPrototypeOf,At=Object.isExtensible;function Yn(e){for(var t=0;t<e.length;t++)e[t]()}function Nt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const x=2,at=4,ot=8,X=16,Z=32,se=64,Be=128,F=512,k=1024,C=2048,Q=4096,H=8192,ee=16384,qe=32768,xe=65536,Ct=1<<17,lt=1<<18,ce=1<<19,Hn=1<<20,de=32768,ft=1<<21,ut=1<<22,ae=1<<23,Ue=Symbol("$state"),Rt=Symbol("legacy props"),Vn=Symbol(""),$e=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Wn=3,Ee=8;function Gn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Jn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Kn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Xn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Zn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Qn(){throw new Error("https://svelte.dev/e/hydration_failed")}function er(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function tr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function nr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function rr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ir(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ze(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function sr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let p=!1;function V(e){p=e}let g;function B(e){if(e===null)throw ze(),ye;return g=e}function Ye(){return B(G(g))}function Ot(e){if(p){if(G(g)!==null)throw ze(),ye;g=e}}function ar(e=1){if(p){for(var t=e,n=g;t--;)n=G(n);g=n}}function Lt(e=!0){for(var t=0,n=g;;){if(n.nodeType===Ee){var r=n.data;if(r===Tt){if(t===0)return n;t-=1}else(r===kt||r===it)&&(t+=1)}var i=G(n);e&&n.remove(),n=i}}function or(e){if(!e||e.nodeType!==Ee)throw ze(),ye;return e.data}function Pt(e){return e===this.v}function lr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Mt(e){return!lr(e,this.v)}let fr=!1,P=null;function ke(e){P=e}function Dt(e,t=!1,n){P={p:P,i:!1,c:null,e:null,s:e,x:null,l:null}}function It(e){var t=P,n=t.e;if(n!==null){t.e=null;for(var r of n)nn(r)}return e!==void 0&&(t.x=e),t.i=!0,P=t.p,e??{}}function jt(){return!0}let he=[];function Ft(){var e=he;he=[],Yn(e)}function He(e){if(he.length===0&&!Ne){var t=he;queueMicrotask(()=>{t===he&&Ft()})}he.push(e)}function ur(){for(;he.length>0;)Ft()}function Bt(e){var t=b;if(t===null)return v.f|=ae,e;if((t.f&qe)===0){if((t.f&Be)===0)throw e;t.b.error(e)}else Te(e,t)}function Te(e,t){for(;t!==null;){if((t.f&Be)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ve=new Set;let w=null,M=null,D=[],We=null,ct=!1,Ne=!1;class q{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#l=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){D=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#a(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects)):(w=null,Ut(n.render_effects),Ut(n.effects),this.#l?.resolve()),M=null}#a(t,n){t.f^=k;for(var r=t.first;r!==null;){var i=r.f,s=(i&(Z|se))!==0,a=s&&(i&k)!==0,o=a||(i&H)!==0||this.skipped_effects.has(r);if((r.f&Be)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){s?r.f^=k:(i&at)!==0?n.effects.push(r):Me(r)&&((r.f&X)!==0&&n.block_effects.push(r),De(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#o(t){for(const n of t)((n.f&C)!==0?this.#s:this.#i).push(n),this.#f(n.deps),S(n,k)}#f(t){if(t!==null)for(const n of t)(n.f&x)===0||(n.f&de)===0||(n.f^=de,this.#f(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ae)===0&&(this.current.set(t,t.v),M?.set(t,t.v))}activate(){w=this,this.apply()}deactivate(){w===this&&(w=null,M=null)}flush(){if(this.activate(),D.length>0){if(qt(),w!==null&&w!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(Ve.size>1){this.previous.clear();var t=M,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Ve){if(s===this){n=!1;continue}const a=[];for(const[l,f]of this.current){if(s.current.has(l))if(n&&f!==s.current.get(l))s.current.set(l,f);else continue;a.push(l)}if(a.length===0)continue;const o=[...s.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var i=D;D=[];const l=new Set,f=new Map;for(const c of a)zt(c,o,l,f);if(D.length>0){w=s,s.apply();for(const c of D)s.#a(c,r);s.deactivate()}D=i}}w=null,M=t}this.committed=!0,Ve.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)S(t,C),ve(t);for(const t of this.#i)S(t,Q),ve(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=Nt()).promise}static ensure(){if(w===null){const t=w=new q;Ve.add(w),Ne||q.enqueue(()=>{w===t&&t.flush()})}return w}static enqueue(t){He(t)}apply(){}}function W(e){var t=Ne;Ne=!0;try{for(var n;;){if(ur(),D.length===0&&(w?.flush(),D.length===0))return We=null,n;qt()}}finally{Ne=t}}function qt(){var e=le;ct=!0;var t=null;try{var n=0;for(Xe(!0);D.length>0;){var r=q.ensure();if(n++>1e3){var i,s;cr()}r.process(D),oe.clear()}}finally{ct=!1,Xe(e),We=null}}function cr(){try{Zn()}catch(e){Te(e,We)}}let te=null;function Ut(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ee|H))===0&&Me(r)&&(te=new Set,De(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?on(r):r.fn=null),te?.size>0)){oe.clear();for(const i of te){if((i.f&(ee|H))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)te.has(a)&&(te.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(ee|H))===0&&De(l)}}te.clear()}}te=null}}function zt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&x)!==0?zt(i,t,n,r):(s&(ut|X))!==0&&(s&C)===0&&Yt(i,t,r)&&(S(i,C),ve(i))}}function Yt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&x)!==0&&Yt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ve(e){for(var t=We=e;t.parent!==null;){t=t.parent;var n=t.f;if(ct&&t===b&&(n&X)!==0&&(n&lt)===0)return;if((n&(se|Z))!==0){if((n&k)===0)return;t.f^=k}}D.push(t)}function dr(e){let t=0,n=Ce(0),r;return()=>{Ke()&&(O(n),rn(()=>(t===0&&(r=gn(()=>e(()=>Re(n)))),t+=1,()=>{He(()=>{t-=1,t===0&&(r?.(),r=void 0,Re(n))})})))}}var hr=xe|ce|Be;function vr(e,t,n){new br(e,t,n)}class br{parent;#t=!1;#e;#n=p?g:null;#r;#l;#s;#i=null;#a=null;#o=null;#f=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#g=dr(()=>(this.#h=Ce(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#l=r,this.parent=b.b,this.#t=!!this.#r.pending,this.#s=pt(()=>{if(b.b=this,p){const s=this.#n;Ye(),s.nodeType===Ee&&s.data===it?this.#y():this.#w()}else{var i=this.#p();try{this.#i=ne(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},hr),p&&(this.#e=g)}#w(){try{this.#i=ne(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#a=ne(()=>t(this.#e)),q.enqueue(()=>{var n=this.#p();this.#i=this.#b(()=>(q.ensure(),ne(()=>this.#l(n)))),this.#d>0?this.#_():(Le(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#u=_e(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#b(t){var n=b,r=v,i=P;I(this.#s),T(this.#s),ke(this.#s.ctx);try{return t()}catch(s){return Bt(s),null}finally{I(n),T(r),ke(i)}}#_(){const t=this.#r.pending;this.#i!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),un(this.#i,this.#f)),this.#a===null&&(this.#a=ne(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&Le(this.#a,()=>{this.#a=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#h&&Je(this.#h,this.#c)}get_effect_pending(){return this.#g(),O(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(R(this.#i),this.#i=null),this.#a&&(R(this.#a),this.#a=null),this.#o&&(R(this.#o),this.#o=null),p&&(B(this.#n),ar(),B(Lt()));var i=!1,s=!1;const a=()=>{if(i){sr();return}i=!0,s&&ir(),q.ensure(),this.#c=0,this.#o!==null&&Le(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#i=this.#b(()=>(this.#v=!1,ne(()=>this.#l(this.#e)))),this.#d>0?this.#_():this.#t=!1};var o=v;try{T(null),s=!0,n?.(t,a),s=!1}catch(l){Te(l,this.#s&&this.#s.parent)}finally{T(o)}r&&He(()=>{this.#o=this.#b(()=>{q.ensure(),this.#v=!0;try{return ne(()=>{r(this.#e,()=>t,()=>a)})}catch(l){return Te(l,this.#s.parent),null}finally{this.#v=!1}})})}}function _r(e,t,n,r){const i=dt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=w,a=b,o=pr();function l(){Promise.all(n.map(f=>mr(f))).then(f=>{o();try{r([...t.map(i),...f])}catch(c){(a.f&ee)===0&&Te(c,a)}s?.deactivate(),Ge()}).catch(f=>{Te(f,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{s?.deactivate(),Ge()}}):l()}function pr(){var e=b,t=v,n=P,r=w;return function(s=!0){I(e),T(t),ke(n),s&&r?.activate()}}function Ge(){I(null),T(null),ke(null)}function dt(e){var t=x|C,n=v!==null&&(v.f&x)!==0?v:null;return b!==null&&(b.f|=ce),{ctx:P,deps:null,effects:null,equals:Pt,f:t,fn:e,reactions:null,rv:0,v:E,wv:0,parent:n??b,ac:null}}function mr(e,t){let n=b;n===null&&Gn();var r=n.b,i=void 0,s=Ce(E),a=!v,o=new Map;return Rr(()=>{var l=Nt();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===w&&f.committed&&f.deactivate(),Ge()})}catch(u){l.reject(u),Ge()}var f=w;if(a){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),o.get(f)?.reject($e),o.delete(f),o.set(f,l)}const h=(u,d=void 0)=>{if(f.activate(),d)d!==$e&&(s.f|=ae,Je(s,d));else{(s.f&ae)!==0&&(s.f^=ae),Je(s,u);for(const[m,N]of o){if(o.delete(m),m===f)break;N.reject($e)}}a&&(r.update_pending_count(-1),f.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),tn(()=>{for(const l of o.values())l.reject($e)}),new Promise(l=>{function f(c){function h(){c===i?l(s):f(i)}c.then(h,h)}f(i)})}function gr(e){const t=dt(e);return t.equals=Mt,t}function Ht(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)R(t[n])}}function wr(e){for(var t=e.parent;t!==null;){if((t.f&x)===0)return(t.f&ee)===0?t:null;t=t.parent}return null}function ht(e){var t,n=b;I(wr(e));try{e.f&=~de,Ht(e),t=_n(e)}finally{I(n)}return t}function Vt(e){var t=ht(e);if(e.equals(t)||(w?.is_fork||(e.v=t),e.wv=vn()),!pe)if(M!==null)Ke()&&M.set(e,t);else{var n=(e.f&F)===0?Q:k;S(e,n)}}let vt=new Set;const oe=new Map;let Wt=!1;function Ce(e,t){var n={f:0,v:e,reactions:null,equals:Pt,rv:0,wv:0};return n}function U(e,t){const n=Ce(e);return Dr(n),n}function yr(e,t=!1,n=!0){const r=Ce(e);return t||(r.equals=Mt),r}function z(e,t,n=!1){v!==null&&(!K||(v.f&Ct)!==0)&&jt()&&(v.f&(x|X|ut|Ct))!==0&&!re?.includes(e)&&rr();let r=n?be(t):t;return Je(e,r)}function Je(e,t){if(!e.equals(t)){var n=e.v;pe?oe.set(e,t):oe.set(e,n),e.v=t;var r=q.ensure();r.capture(e,n),(e.f&x)!==0&&((e.f&C)!==0&&ht(e),S(e,(e.f&F)!==0?k:Q)),e.wv=vn(),Gt(e,C),b!==null&&(b.f&k)!==0&&(b.f&(Z|se))===0&&(j===null?Ir([e]):j.push(e)),!r.is_fork&&vt.size>0&&!Wt&&xr()}return t}function xr(){Wt=!1;var e=le;Xe(!0);const t=Array.from(vt);try{for(const n of t)(n.f&k)!==0&&S(n,Q),Me(n)&&De(n)}finally{Xe(e)}vt.clear()}function Re(e){z(e,e.v+1)}function Gt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],a=s.f,o=(a&C)===0;if(o&&S(s,t),(a&x)!==0){var l=s;M?.delete(l),(a&de)===0&&(a&F&&(s.f|=de),Gt(l,Q))}else o&&((a&X)!==0&&te!==null&&te.add(s),ve(s))}}function be(e){if(typeof e!="object"||e===null||Ue in e)return e;const t=St(e);if(t!==Un&&t!==zn)return e;var n=new Map,r=jn(e),i=U(0),s=me,a=o=>{if(me===s)return o();var l=v,f=me;T(null),hn(s);var c=o();return T(l),hn(f),c};return r&&n.set("length",U(e.length)),new Proxy(e,{defineProperty(o,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&tr();var c=n.get(l);return c===void 0?c=a(()=>{var h=U(f.value);return n.set(l,h),h}):z(c,f.value,!0),!0},deleteProperty(o,l){var f=n.get(l);if(f===void 0){if(l in o){const c=a(()=>U(E));n.set(l,c),Re(i)}}else z(f,E),Re(i);return!0},get(o,l,f){if(l===Ue)return e;var c=n.get(l),h=l in o;if(c===void 0&&(!h||ue(o,l)?.writable)&&(c=a(()=>{var d=be(h?o[l]:E),m=U(d);return m}),n.set(l,c)),c!==void 0){var u=O(c);return u===E?void 0:u}return Reflect.get(o,l,f)},getOwnPropertyDescriptor(o,l){var f=Reflect.getOwnPropertyDescriptor(o,l);if(f&&"value"in f){var c=n.get(l);c&&(f.value=O(c))}else if(f===void 0){var h=n.get(l),u=h?.v;if(h!==void 0&&u!==E)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(o,l){if(l===Ue)return!0;var f=n.get(l),c=f!==void 0&&f.v!==E||Reflect.has(o,l);if(f!==void 0||b!==null&&(!c||ue(o,l)?.writable)){f===void 0&&(f=a(()=>{var u=c?be(o[l]):E,d=U(u);return d}),n.set(l,f));var h=O(f);if(h===E)return!1}return c},set(o,l,f,c){var h=n.get(l),u=l in o;if(r&&l==="length")for(var d=f;d<h.v;d+=1){var m=n.get(d+"");m!==void 0?z(m,E):d in o&&(m=a(()=>U(E)),n.set(d+"",m))}if(h===void 0)(!u||ue(o,l)?.writable)&&(h=a(()=>U(void 0)),z(h,be(f)),n.set(l,h));else{u=h.v!==E;var N=a(()=>be(f));z(h,N)}var $=Reflect.getOwnPropertyDescriptor(o,l);if($?.set&&$.set.call(c,f),!u){if(r&&typeof l=="string"){var we=n.get("length"),y=Number(l);Number.isInteger(y)&&y>=we.v&&z(we,y+1)}Re(i)}return!0},ownKeys(o){O(i);var l=Reflect.ownKeys(o).filter(h=>{var u=n.get(h);return u===void 0||u.v!==E});for(var[f,c]of n)c.v!==E&&!(f in o)&&l.push(f);return l},setPrototypeOf(){nr()}})}var Jt,Kt,Xt,Zt;function bt(){if(Jt===void 0){Jt=window,Kt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Xt=ue(t,"firstChild").get,Zt=ue(t,"nextSibling").get,At(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),At(n)&&(n.__t=void 0)}}function _e(e=""){return document.createTextNode(e)}function Se(e){return Xt.call(e)}function G(e){return Zt.call(e)}function Qt(e,t){if(!p)return Se(e);var n=Se(g);return n===null&&(n=g.appendChild(_e())),B(n),n}function en(e,t=1,n=!1){let r=p?g:e;for(var i;t--;)i=r,r=G(r);if(!p)return r;if(n&&r?.nodeType!==Wn){var s=_e();return r===null?i?.after(s):r.before(s),B(s),s}return B(r),r}function $r(e){e.textContent=""}function Er(){return!1}function _t(e){var t=v,n=b;T(null),I(null);try{return e()}finally{T(t),I(n)}}function kr(e){b===null&&(v===null&&Xn(),Kn()),pe&&Jn()}function Tr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function J(e,t,n){var r=b;r!==null&&(r.f&H)!==0&&(e|=H);var i={ctx:P,deps:null,nodes_start:null,nodes_end:null,f:e|C|F,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{De(i),i.f|=qe}catch(o){throw R(i),o}else t!==null&&ve(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&ce)===0&&(s=s.first,(e&X)!==0&&(e&xe)!==0&&s!==null&&(s.f|=xe)),s!==null&&(s.parent=r,r!==null&&Tr(s,r),v!==null&&(v.f&x)!==0&&(e&se)===0)){var a=v;(a.effects??=[]).push(s)}return i}function Ke(){return v!==null&&!K}function tn(e){const t=J(ot,null,!1);return S(t,k),t.teardown=e,t}function Sr(e){kr();var t=b.f,n=!v&&(t&Z)!==0&&(t&qe)===0;if(n){var r=P;(r.e??=[]).push(e)}else return nn(e)}function nn(e){return J(at|Hn,e,!1)}function Ar(e){q.ensure();const t=J(se|ce,e,!0);return()=>{R(t)}}function Nr(e){q.ensure();const t=J(se|ce,e,!0);return(n={})=>new Promise(r=>{n.outro?Le(t,()=>{R(t),r(void 0)}):(R(t),r(void 0))})}function Cr(e){return J(at,e,!1)}function Rr(e){return J(ut|ce,e,!0)}function rn(e,t=0){return J(ot|t,e,!0)}function Oe(e,t=[],n=[],r=[]){_r(r,t,n,i=>{J(ot,()=>e(...i.map(O)),!0)})}function pt(e,t=0){var n=J(X|t,e,!0);return n}function ne(e){return J(Z|ce,e,!0)}function sn(e){var t=e.teardown;if(t!==null){const n=pe,r=v;cn(!0),T(null);try{t.call(null)}finally{cn(n),T(r)}}}function an(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&_t(()=>{i.abort($e)});var r=n.next;(n.f&se)!==0?n.parent=null:R(n,t),n=r}}function Or(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Z)===0&&R(t),t=n}}function R(e,t=!0){var n=!1;(t||(e.f&lt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Lr(e.nodes_start,e.nodes_end),n=!0),an(e,t&&!n),Ze(e,0),S(e,ee);var r=e.transitions;if(r!==null)for(const s of r)s.stop();sn(e);var i=e.parent;i!==null&&i.first!==null&&on(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Lr(e,t){for(;e!==null;){var n=e===t?null:G(e);e.remove(),e=n}}function on(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Le(e,t,n=!0){var r=[];ln(e,r,!0),Pr(r,()=>{n&&R(e),t&&t()})}function Pr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function ln(e,t,n){if((e.f&H)===0){if(e.f^=H,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&xe)!==0||(r.f&Z)!==0&&(e.f&X)!==0;ln(r,t,s?n:!1),r=i}}}function Mr(e){fn(e,!0)}function fn(e,t){if((e.f&H)!==0){e.f^=H,(e.f&k)===0&&(S(e,C),ve(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&xe)!==0||(n.f&Z)!==0;fn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function un(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:G(n);t.append(n),n=i}}let le=!1;function Xe(e){le=e}let pe=!1;function cn(e){pe=e}let v=null,K=!1;function T(e){v=e}let b=null;function I(e){b=e}let re=null;function Dr(e){v!==null&&(re===null?re=[e]:re.push(e))}let A=null,L=0,j=null;function Ir(e){j=e}let dn=1,Pe=0,me=Pe;function hn(e){me=e}function vn(){return++dn}function Me(e){var t=e.f;if((t&C)!==0)return!0;if(t&x&&(e.f&=~de),(t&Q)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(Me(s)&&Vt(s),s.wv>e.wv)return!0}(t&F)!==0&&M===null&&S(e,k)}return!1}function bn(e,t,n=!0){var r=e.reactions;if(r!==null&&!re?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&x)!==0?bn(s,t,!1):t===s&&(n?S(s,C):(s.f&k)!==0&&S(s,Q),ve(s))}}function _n(e){var t=A,n=L,r=j,i=v,s=re,a=P,o=K,l=me,f=e.f;A=null,L=0,j=null,v=(f&(Z|se))===0?e:null,re=null,ke(e.ctx),K=!1,me=++Pe,e.ac!==null&&(_t(()=>{e.ac.abort($e)}),e.ac=null);try{e.f|=ft;var c=e.fn,h=c(),u=e.deps;if(A!==null){var d;if(Ze(e,L),u!==null&&L>0)for(u.length=L+A.length,d=0;d<A.length;d++)u[L+d]=A[d];else e.deps=u=A;if(le&&Ke()&&(e.f&F)!==0)for(d=L;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&L<u.length&&(Ze(e,L),u.length=L);if(jt()&&j!==null&&!K&&u!==null&&(e.f&(x|Q|C))===0)for(d=0;d<j.length;d++)bn(j[d],e);return i!==null&&i!==e&&(Pe++,j!==null&&(r===null?r=j:r.push(...j))),(e.f&ae)!==0&&(e.f^=ae),h}catch(m){return Bt(m)}finally{e.f^=ft,A=t,L=n,j=r,v=i,re=s,ke(a),K=o,me=l}}function jr(e,t){let n=t.reactions;if(n!==null){var r=Fn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&x)!==0&&(A===null||!A.includes(t))&&(S(t,Q),(t.f&F)!==0&&(t.f^=F,t.f&=~de),Ht(t),Ze(t,0))}function Ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)jr(e,n[r])}function De(e){var t=e.f;if((t&ee)===0){S(e,k);var n=b,r=le;b=e,le=!0;try{(t&X)!==0?Or(e):an(e),sn(e);var i=_n(e);e.teardown=typeof i=="function"?i:null,e.wv=dn;var s;st&&fr&&(e.f&C)!==0&&e.deps}finally{le=r,b=n}}}function O(e){var t=e.f,n=(t&x)!==0;if(v!==null&&!K){var r=b!==null&&(b.f&ee)!==0;if(!r&&!re?.includes(e)){var i=v.deps;if((v.f&ft)!==0)e.rv<Pe&&(e.rv=Pe,A===null&&i!==null&&i[L]===e?L++:A===null?A=[e]:A.includes(e)||A.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:s.includes(v)||s.push(v)}}}if(pe){if(oe.has(e))return oe.get(e);if(n){var a=e,o=a.v;return((a.f&k)===0&&a.reactions!==null||mn(a))&&(o=ht(a)),oe.set(a,o),o}}else n&&!M?.has(e)&&(a=e,Me(a)&&Vt(a),le&&Ke()&&(a.f&F)===0&&pn(a));if(M?.has(e))return M.get(e);if((e.f&ae)!==0)throw e.v;return e.v}function pn(e){if(e.deps!==null){e.f^=F;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&x)!==0&&(t.f&F)===0&&pn(t)}}function mn(e){if(e.v===E)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(oe.has(t)||(t.f&x)!==0&&mn(t))return!0;return!1}function gn(e){var t=K;try{return K=!0,e()}finally{K=t}}const Fr=-7169;function S(e,t){e.f=e.f&Fr|t}const wn=new Set,mt=new Set;function Br(e,t,n,r={}){function i(s){if(r.capture||Ie.call(t,s),!s.cancelBubble)return _t(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?He(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function qr(e,t,n,r,i){var s={capture:r,passive:i},a=Br(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&tn(()=>{t.removeEventListener(e,a,s)})}function Ur(e){for(var t=0;t<e.length;t++)wn.add(e[t]);for(var n of mt)n(e)}let yn=null;function Ie(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;yn=e;var a=0,o=yn===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){Fe(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=v,h=b;T(null),I(null);try{for(var u,d=[];s!==null;){var m=s.assignedSlot||s.parentNode||s.host||null;try{var N=s["__"+r];N!=null&&(!s.disabled||e.target===s)&&N.call(s,e)}catch($){u?d.push($):u=$}if(e.cancelBubble||m===t||m===null)break;s=m}if(u){for(let $ of d)queueMicrotask(()=>{throw $});throw u}}finally{e.__root=t,delete e.currentTarget,T(c),I(h)}}}function zr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Qe(e,t){var n=b;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function gt(e,t){var n=(t&Mn)!==0,r=(t&Dn)!==0,i,s=!e.startsWith("<!>");return()=>{if(p)return Qe(g,null),g;i===void 0&&(i=zr(s?e:"<!>"+e),n||(i=Se(i)));var a=r||Kt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Se(a),l=a.lastChild;Qe(o,l)}else Qe(a,a);return a}}function et(e,t){if(p){var n=b;((n.f&qe)===0||n.nodes_end===null)&&(n.nodes_end=g),Ye();return}e!==null&&e.before(t)}const Yr=["touchstart","touchmove"];function Hr(e){return Yr.includes(e)}function xn(e,t){return $n(e,t)}function Vr(e,t){bt(),t.intro=t.intro??!1;const n=t.target,r=p,i=g;try{for(var s=Se(n);s&&(s.nodeType!==Ee||s.data!==kt);)s=G(s);if(!s)throw ye;V(!0),B(s);const a=$n(e,{...t,anchor:s});return V(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==ye&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Qn(),bt(),$r(n),V(!1),xn(e,t)}finally{V(r),B(i)}}const Ae=new Map;function $n(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){bt();var o=new Set,l=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!o.has(d)){o.add(d);var m=Hr(d);t.addEventListener(d,Ie,{passive:m});var N=Ae.get(d);N===void 0?(document.addEventListener(d,Ie,{passive:m}),Ae.set(d,1)):Ae.set(d,N+1)}}};l(Bn(wn)),mt.add(l);var f=void 0,c=Nr(()=>{var h=n??t.appendChild(_e());return vr(h,{pending:()=>{}},u=>{if(s){Dt({});var d=P;d.c=s}if(i&&(r.$$events=i),p&&Qe(u,null),f=e(u,r)||{},p&&(b.nodes_end=g,g===null||g.nodeType!==Ee||g.data!==Tt))throw ze(),ye;s&&It()}),()=>{for(var u of o){t.removeEventListener(u,Ie);var d=Ae.get(u);--d===0?(document.removeEventListener(u,Ie),Ae.delete(u)):Ae.set(u,d)}mt.delete(l),h!==n&&h.parentNode?.removeChild(h)}});return wt.set(f,c),f}let wt=new WeakMap;function Wr(e,t){const n=wt.get(e);return n?(wt.delete(e),n(t)):Promise.resolve()}class Gr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#l=!0;constructor(t,n=!0){this.anchor=t,this.#l=n}#s=()=>{var t=w;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Mr(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,a]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#n.get(a);o&&(R(o.effect),this.#n.delete(a))}for(const[s,a]of this.#e){if(s===n||this.#r.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();un(a,f),f.append(_e()),this.#n.set(s,{effect:a,fragment:f})}else R(a);this.#r.delete(s),this.#e.delete(s)};this.#l||!r?(this.#r.add(s),Le(a,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(R(i.effect),this.#n.delete(r))};ensure(t,n){var r=w,i=Er();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),a=_e();s.append(a),this.#n.set(t,{effect:ne(()=>n(a)),fragment:s})}else this.#e.set(t,ne(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[o,l]of this.#e)o===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[o,l]of this.#n)o===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else p&&(this.anchor=g),this.#s()}}function Jr(e,t,n=!1){p&&Ye();var r=new Gr(e),i=n?xe:0;function s(a,o){if(p){const f=or(e)===it;if(a===f){var l=Lt();B(l),r.anchor=l,V(!1),r.ensure(a,o),V(!0);return}}r.ensure(a,o)}pt(()=>{var a=!1;t((o,l=!0)=>{a=!0,s(l,o)}),a||s(!1,null)},i)}function Kr(e,t,n,r,i){p&&Ye();var s=t.$$slots?.[n],a=!1;s===!0&&(s=t[n],a=!0),s===void 0||s(e,a?()=>r:r)}function Xr(e,t){let n=null,r=p;var i;if(p){n=g;for(var s=Se(document.head);s!==null&&(s.nodeType!==Ee||s.data!==e);)s=G(s);if(s===null)V(!1);else{var a=G(s);s.remove(),B(a)}}p||(i=document.head.appendChild(_e()));try{pt(()=>t(i),lt)}finally{r&&(V(!0),B(n))}}function Zr(e,t){Cr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Qr(e,t,n){var r=e==null?"":""+e;return t&&(r=r?r+" "+t:t),r===""?null:r}function ei(e,t){return e==null?null:String(e)}function En(e,t,n,r,i,s){var a=e.__className;if(p||a!==n||a===void 0){var o=Qr(n,r);(!p||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=n}return s}function yt(e,t,n,r){var i=e.__style;if(p||i!==t){var s=ei(t);(!p||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const ti=Symbol("is custom element"),ni=Symbol("is html");function ri(e,t,n,r){var i=ii(e);p&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Vn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&kn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function xt(e,t,n){var r=v,i=b;let s=p;p&&V(!1),T(null),I(null);try{t!=="style"&&($t.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?kn(e).includes(t):n&&typeof n=="object")?e[t]=n:ri(e,t,n==null?n:String(n))}finally{T(r),I(i),s&&V(!0)}}function ii(e){return e.__attributes??={[ti]:e.nodeName.includes("-"),[ni]:e.namespaceURI===In}}var $t=new Map;function kn(e){var t=e.getAttribute("is")||e.nodeName,n=$t.get(t);if(n)return n;$t.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=qn(i);for(var a in r)r[a].set&&n.push(a);i=St(i)}return n}let tt=!1;function si(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}function ie(e,t,n,r){var i=(n&Ln)!==0,s=(n&Pn)!==0,a=r,o=!0,l=()=>(o&&(o=!1,a=s?gn(r):r),a),f;if(i){var c=Ue in e||Rt in e;f=ue(e,t)?.set??(c&&t in e?y=>e[t]=y:void 0)}var h,u=!1;i?[h,u]=si(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=l(),f&&(er(),f(h)));var d;if(d=()=>{var y=e[t];return y===void 0?l():(o=!0,y)},(n&On)===0)return d;if(f){var m=e.$$legacy;return(function(y,Y){return arguments.length>0?((!Y||m||u)&&f(Y?d():y),y):d()})}var N=!1,$=((n&Rn)!==0?dt:gr)(()=>(N=!1,d()));i&&O($);var we=b;return(function(y,Y){if(arguments.length>0){const rt=Y?O($):i?be(y):y;return z($,rt),N=!0,a!==void 0&&(a=rt),y}return pe&&N||(we.f&ee)!==0?$.v:O($)})}function ai(e){return new oi(e)}class oi{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var o=yr(a,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return O(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===Rt?!0:(O(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return z(n.get(a)??r(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?Vr:xn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&W(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Fe(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Wr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Tn;typeof HTMLElement=="function"&&(Tn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),et(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=li(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=nt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ai({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ar(()=>{rn(()=>{this.$$r=!0;for(const r of je(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=nt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=nt(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return je(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function nt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function li(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function fi(e,t,n,r,i,s){let a=class extends Tn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return je(t).map(o=>(t[o].attribute||o).toLowerCase())}};return je(t).forEach(o=>{Fe(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=nt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var c=ue(f,o)?.get;c?f[o]=l:f.$set({[o]:l})}}})}),r.forEach(o=>{Fe(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const Sn={version:"0.65.23"};var ge={},An;function ui(){if(An)return ge;An=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.LanguageTranslator=void 0,ge.getChildStyleToPass=e,ge.addComponent=t;function e(r,i){var s,a,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||a===void 0)&&a.length))for(var l=function(u){var d=i?.filter(function(m){return m.name===u&&m.defaultValue!==r[u]});d&&(o+="".concat(u,":").concat(r[u],";"))},f=0,c=Object.keys(r);f<c.length;f++){var h=c[f];l(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var a=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(a)}document.head.appendChild(o)}catch(f){console.warn(f)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,a){return r.formatDate(i,s,a||this.lang)},r.getDefaultLang=function(){var i,s,a,o="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,a){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((o=s[a])===null||o===void 0)&&o[i]))return s[a][i];var l="",f=r.getDefaultLang();if(!a||f!==a){var c=s?.[f];c?.[i]&&(l=c[i])}return l},r.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(a||r.getDefaultLang(),s);return o.format(i)},r})();return ge.LanguageTranslator=n,ge}var Nn=ui(),ci=gt('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1evb3mn"/>'),di=gt("<div></div>"),hi=gt('<div id="webcomponent" class="svelte-1evb3mn"><!> <div class="offcanvas offcanvas-start show svelte-1evb3mn" tabindex="-1" aria-labelledby="offcanvasExampleLabel"><hb-sidebar-desktop></hb-sidebar-desktop></div> <!></div>',2);const vi={hash:"svelte-1evb3mn",code:`@charset "UTF-8";
1
+ (function(xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const On=1,Rn=4,Ln=8,Pn=16,Dn=1,Mn=2,Et="[",it="[!",kt="]",ge={},E=Symbol(),In="http://www.w3.org/1999/xhtml",st=!1;var Fn=Array.isArray,jn=Array.prototype.indexOf,Bn=Array.from,Fe=Object.keys,je=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,qn=Object.getOwnPropertyDescriptors,Un=Object.prototype,Yn=Array.prototype,Tt=Object.getPrototypeOf,At=Object.isExtensible;function zn(e){for(var t=0;t<e.length;t++)e[t]()}function Nt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const $=2,at=4,ot=8,J=16,K=32,se=64,Be=128,j=512,k=1024,C=2048,X=4096,Y=8192,Z=16384,qe=32768,we=65536,St=1<<17,ft=1<<18,ce=1<<19,Hn=1<<20,de=32768,lt=1<<21,ut=1<<22,ae=1<<23,Ue=Symbol("$state"),Ct=Symbol("legacy props"),Vn=Symbol(""),ye=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Wn=3,$e=8;function Gn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Jn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Kn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Xn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Zn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Qn(){throw new Error("https://svelte.dev/e/hydration_failed")}function er(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function tr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function nr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function rr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ir(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ye(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function sr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function z(e){m=e}let g;function B(e){if(e===null)throw Ye(),ge;return g=e}function ze(){return B(V(g))}function Ot(e){if(m){if(V(g)!==null)throw Ye(),ge;g=e}}function ar(e=1){if(m){for(var t=e,n=g;t--;)n=V(n);g=n}}function Rt(e=!0){for(var t=0,n=g;;){if(n.nodeType===$e){var r=n.data;if(r===kt){if(t===0)return n;t-=1}else(r===Et||r===it)&&(t+=1)}var i=V(n);e&&n.remove(),n=i}}function or(e){if(!e||e.nodeType!==$e)throw Ye(),ge;return e.data}function Lt(e){return e===this.v}function fr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Pt(e){return!fr(e,this.v)}let lr=!1,P=null;function xe(e){P=e}function Dt(e,t=!1,n){P={p:P,i:!1,c:null,e:null,s:e,x:null,l:null}}function Mt(e){var t=P,n=t.e;if(n!==null){t.e=null;for(var r of n)tn(r)}return e!==void 0&&(t.x=e),t.i=!0,P=t.p,e??{}}function It(){return!0}let he=[];function Ft(){var e=he;he=[],zn(e)}function He(e){if(he.length===0&&!Se){var t=he;queueMicrotask(()=>{t===he&&Ft()})}he.push(e)}function ur(){for(;he.length>0;)Ft()}function jt(e){var t=_;if(t===null)return v.f|=ae,e;if((t.f&qe)===0){if((t.f&Be)===0)throw e;t.b.error(e)}else Ee(e,t)}function Ee(e,t){for(;t!==null;){if((t.f&Be)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ve=new Set;let w=null,D=null,M=[],We=null,ct=!1,Se=!1;class q{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#f=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){M=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#a(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects)):(w=null,qt(n.render_effects),qt(n.effects),this.#f?.resolve()),D=null}#a(t,n){t.f^=k;for(var r=t.first;r!==null;){var i=r.f,s=(i&(K|se))!==0,a=s&&(i&k)!==0,o=a||(i&Y)!==0||this.skipped_effects.has(r);if((r.f&Be)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){s?r.f^=k:(i&at)!==0?n.effects.push(r):De(r)&&((r.f&J)!==0&&n.block_effects.push(r),Me(r));var f=r.first;if(f!==null){r=f;continue}}var l=r.parent;for(r=r.next;r===null&&l!==null;)l===n.effect&&(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects),n=n.parent),r=l.next,l=l.parent}}#o(t){for(const n of t)((n.f&C)!==0?this.#s:this.#i).push(n),this.#l(n.deps),A(n,k)}#l(t){if(t!==null)for(const n of t)(n.f&$)===0||(n.f&de)===0||(n.f^=de,this.#l(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ae)===0&&(this.current.set(t,t.v),D?.set(t,t.v))}activate(){w=this,this.apply()}deactivate(){w===this&&(w=null,D=null)}flush(){if(this.activate(),M.length>0){if(Bt(),w!==null&&w!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(Ve.size>1){this.previous.clear();var t=D,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Ve){if(s===this){n=!1;continue}const a=[];for(const[f,l]of this.current){if(s.current.has(f))if(n&&l!==s.current.get(f))s.current.set(f,l);else continue;a.push(f)}if(a.length===0)continue;const o=[...s.current.keys()].filter(f=>!this.current.has(f));if(o.length>0){var i=M;M=[];const f=new Set,l=new Map;for(const c of a)Ut(c,o,f,l);if(M.length>0){w=s,s.apply();for(const c of M)s.#a(c,r);s.deactivate()}M=i}}w=null,D=t}this.committed=!0,Ve.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)A(t,C),ve(t);for(const t of this.#i)A(t,X),ve(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#f??=Nt()).promise}static ensure(){if(w===null){const t=w=new q;Ve.add(w),Se||q.enqueue(()=>{w===t&&t.flush()})}return w}static enqueue(t){He(t)}apply(){}}function H(e){var t=Se;Se=!0;try{for(var n;;){if(ur(),M.length===0&&(w?.flush(),M.length===0))return We=null,n;Bt()}}finally{Se=t}}function Bt(){var e=fe;ct=!0;var t=null;try{var n=0;for(Xe(!0);M.length>0;){var r=q.ensure();if(n++>1e3){var i,s;cr()}r.process(M),oe.clear()}}finally{ct=!1,Xe(e),We=null}}function cr(){try{Zn()}catch(e){Ee(e,We)}}let Q=null;function qt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Z|Y))===0&&De(r)&&(Q=new Set,Me(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?an(r):r.fn=null),Q?.size>0)){oe.clear();for(const i of Q){if((i.f&(Z|Y))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)Q.has(a)&&(Q.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const f=s[o];(f.f&(Z|Y))===0&&Me(f)}}Q.clear()}}Q=null}}function Ut(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&$)!==0?Ut(i,t,n,r):(s&(ut|J))!==0&&(s&C)===0&&Yt(i,t,r)&&(A(i,C),ve(i))}}function Yt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&$)!==0&&Yt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ve(e){for(var t=We=e;t.parent!==null;){t=t.parent;var n=t.f;if(ct&&t===_&&(n&J)!==0&&(n&ft)===0)return;if((n&(se|K))!==0){if((n&k)===0)return;t.f^=k}}M.push(t)}function dr(e){let t=0,n=Ce(0),r;return()=>{Ke()&&(L(n),nn(()=>(t===0&&(r=bn(()=>e(()=>Oe(n)))),t+=1,()=>{He(()=>{t-=1,t===0&&(r?.(),r=void 0,Oe(n))})})))}}var hr=we|ce|Be;function vr(e,t,n){new _r(e,t,n)}class _r{parent;#t=!1;#e;#n=m?g:null;#r;#f;#s;#i=null;#a=null;#o=null;#l=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#g=dr(()=>(this.#h=Ce(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#f=r,this.parent=_.b,this.#t=!!this.#r.pending,this.#s=mt(()=>{if(_.b=this,m){const s=this.#n;ze(),s.nodeType===$e&&s.data===it?this.#y():this.#w()}else{var i=this.#m();try{this.#i=te(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},hr),m&&(this.#e=g)}#w(){try{this.#i=te(()=>this.#f(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#a=te(()=>t(this.#e)),q.enqueue(()=>{var n=this.#m();this.#i=this.#_(()=>(q.ensure(),te(()=>this.#f(n)))),this.#d>0?this.#p():(Le(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#m(){var t=this.#e;return this.#t&&(this.#u=_e(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=_,r=v,i=P;I(this.#s),T(this.#s),xe(this.#s.ctx);try{return t()}catch(s){return jt(s),null}finally{I(n),T(r),xe(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#l=document.createDocumentFragment(),this.#l.append(this.#u),ln(this.#i,this.#l)),this.#a===null&&(this.#a=te(()=>t(this.#e)))}#b(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&Le(this.#a,()=>{this.#a=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t){this.#b(t),this.#c+=t,this.#h&&Je(this.#h,this.#c)}get_effect_pending(){return this.#g(),L(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(O(this.#i),this.#i=null),this.#a&&(O(this.#a),this.#a=null),this.#o&&(O(this.#o),this.#o=null),m&&(B(this.#n),ar(),B(Rt()));var i=!1,s=!1;const a=()=>{if(i){sr();return}i=!0,s&&ir(),q.ensure(),this.#c=0,this.#o!==null&&Le(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,te(()=>this.#f(this.#e)))),this.#d>0?this.#p():this.#t=!1};var o=v;try{T(null),s=!0,n?.(t,a),s=!1}catch(f){Ee(f,this.#s&&this.#s.parent)}finally{T(o)}r&&He(()=>{this.#o=this.#_(()=>{q.ensure(),this.#v=!0;try{return te(()=>{r(this.#e,()=>t,()=>a)})}catch(f){return Ee(f,this.#s.parent),null}finally{this.#v=!1}})})}}function pr(e,t,n,r){const i=dt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=w,a=_,o=mr();function f(){Promise.all(n.map(l=>br(l))).then(l=>{o();try{r([...t.map(i),...l])}catch(c){(a.f&Z)===0&&Ee(c,a)}s?.deactivate(),Ge()}).catch(l=>{Ee(l,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return f()}finally{s?.deactivate(),Ge()}}):f()}function mr(){var e=_,t=v,n=P,r=w;return function(s=!0){I(e),T(t),xe(n),s&&r?.activate()}}function Ge(){I(null),T(null),xe(null)}function dt(e){var t=$|C,n=v!==null&&(v.f&$)!==0?v:null;return _!==null&&(_.f|=ce),{ctx:P,deps:null,effects:null,equals:Lt,f:t,fn:e,reactions:null,rv:0,v:E,wv:0,parent:n??_,ac:null}}function br(e,t){let n=_;n===null&&Gn();var r=n.b,i=void 0,s=Ce(E),a=!v,o=new Map;return Or(()=>{var f=Nt();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{l===w&&l.committed&&l.deactivate(),Ge()})}catch(u){f.reject(u),Ge()}var l=w;if(a){var c=!r.is_pending();r.update_pending_count(1),l.increment(c),o.get(l)?.reject(ye),o.delete(l),o.set(l,f)}const h=(u,d=void 0)=>{if(l.activate(),d)d!==ye&&(s.f|=ae,Je(s,d));else{(s.f&ae)!==0&&(s.f^=ae),Je(s,u);for(const[b,x]of o){if(o.delete(b),b===l)break;x.reject(ye)}}a&&(r.update_pending_count(-1),l.decrement(c))};f.promise.then(h,u=>h(null,u||"unknown"))}),en(()=>{for(const f of o.values())f.reject(ye)}),new Promise(f=>{function l(c){function h(){c===i?f(s):l(i)}c.then(h,h)}l(i)})}function gr(e){const t=dt(e);return t.equals=Pt,t}function zt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)O(t[n])}}function wr(e){for(var t=e.parent;t!==null;){if((t.f&$)===0)return(t.f&Z)===0?t:null;t=t.parent}return null}function ht(e){var t,n=_;I(wr(e));try{e.f&=~de,zt(e),t=_n(e)}finally{I(n)}return t}function Ht(e){var t=ht(e);if(e.equals(t)||(w?.is_fork||(e.v=t),e.wv=hn()),!pe)if(D!==null)Ke()&&D.set(e,t);else{var n=(e.f&j)===0?X:k;A(e,n)}}let vt=new Set;const oe=new Map;let Vt=!1;function Ce(e,t){var n={f:0,v:e,reactions:null,equals:Lt,rv:0,wv:0};return n}function ee(e,t){const n=Ce(e);return Mr(n),n}function yr(e,t=!1,n=!0){const r=Ce(e);return t||(r.equals=Pt),r}function U(e,t,n=!1){v!==null&&(!G||(v.f&St)!==0)&&It()&&(v.f&($|J|ut|St))!==0&&!ne?.includes(e)&&rr();let r=n?ke(t):t;return Je(e,r)}function Je(e,t){if(!e.equals(t)){var n=e.v;pe?oe.set(e,t):oe.set(e,n),e.v=t;var r=q.ensure();r.capture(e,n),(e.f&$)!==0&&((e.f&C)!==0&&ht(e),A(e,(e.f&j)!==0?k:X)),e.wv=hn(),Wt(e,C),_!==null&&(_.f&k)!==0&&(_.f&(K|se))===0&&(F===null?Ir([e]):F.push(e)),!r.is_fork&&vt.size>0&&!Vt&&$r()}return t}function $r(){Vt=!1;var e=fe;Xe(!0);const t=Array.from(vt);try{for(const n of t)(n.f&k)!==0&&A(n,X),De(n)&&Me(n)}finally{Xe(e)}vt.clear()}function Oe(e){U(e,e.v+1)}function Wt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],a=s.f,o=(a&C)===0;if(o&&A(s,t),(a&$)!==0){var f=s;D?.delete(f),(a&de)===0&&(a&j&&(s.f|=de),Wt(f,X))}else o&&((a&J)!==0&&Q!==null&&Q.add(s),ve(s))}}function ke(e){if(typeof e!="object"||e===null||Ue in e)return e;const t=Tt(e);if(t!==Un&&t!==Yn)return e;var n=new Map,r=Fn(e),i=ee(0),s=me,a=o=>{if(me===s)return o();var f=v,l=me;T(null),dn(s);var c=o();return T(f),dn(l),c};return r&&n.set("length",ee(e.length)),new Proxy(e,{defineProperty(o,f,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&tr();var c=n.get(f);return c===void 0?c=a(()=>{var h=ee(l.value);return n.set(f,h),h}):U(c,l.value,!0),!0},deleteProperty(o,f){var l=n.get(f);if(l===void 0){if(f in o){const c=a(()=>ee(E));n.set(f,c),Oe(i)}}else U(l,E),Oe(i);return!0},get(o,f,l){if(f===Ue)return e;var c=n.get(f),h=f in o;if(c===void 0&&(!h||ue(o,f)?.writable)&&(c=a(()=>{var d=ke(h?o[f]:E),b=ee(d);return b}),n.set(f,c)),c!==void 0){var u=L(c);return u===E?void 0:u}return Reflect.get(o,f,l)},getOwnPropertyDescriptor(o,f){var l=Reflect.getOwnPropertyDescriptor(o,f);if(l&&"value"in l){var c=n.get(f);c&&(l.value=L(c))}else if(l===void 0){var h=n.get(f),u=h?.v;if(h!==void 0&&u!==E)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return l},has(o,f){if(f===Ue)return!0;var l=n.get(f),c=l!==void 0&&l.v!==E||Reflect.has(o,f);if(l!==void 0||_!==null&&(!c||ue(o,f)?.writable)){l===void 0&&(l=a(()=>{var u=c?ke(o[f]):E,d=ee(u);return d}),n.set(f,l));var h=L(l);if(h===E)return!1}return c},set(o,f,l,c){var h=n.get(f),u=f in o;if(r&&f==="length")for(var d=l;d<h.v;d+=1){var b=n.get(d+"");b!==void 0?U(b,E):d in o&&(b=a(()=>ee(E)),n.set(d+"",b))}if(h===void 0)(!u||ue(o,f)?.writable)&&(h=a(()=>ee(void 0)),U(h,ke(l)),n.set(f,h));else{u=h.v!==E;var x=a(()=>ke(l));U(h,x)}var N=Reflect.getOwnPropertyDescriptor(o,f);if(N?.set&&N.set.call(c,l),!u){if(r&&typeof f=="string"){var ie=n.get("length"),y=Number(f);Number.isInteger(y)&&y>=ie.v&&U(ie,y+1)}Oe(i)}return!0},ownKeys(o){L(i);var f=Reflect.ownKeys(o).filter(h=>{var u=n.get(h);return u===void 0||u.v!==E});for(var[l,c]of n)c.v!==E&&!(l in o)&&f.push(l);return f},setPrototypeOf(){nr()}})}var Gt,Jt,Kt,Xt;function _t(){if(Gt===void 0){Gt=window,Jt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Kt=ue(t,"firstChild").get,Xt=ue(t,"nextSibling").get,At(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),At(n)&&(n.__t=void 0)}}function _e(e=""){return document.createTextNode(e)}function Te(e){return Kt.call(e)}function V(e){return Xt.call(e)}function Zt(e,t){if(!m)return Te(e);var n=Te(g);return n===null&&(n=g.appendChild(_e())),B(n),n}function Qt(e,t=1,n=!1){let r=m?g:e;for(var i;t--;)i=r,r=V(r);if(!m)return r;if(n&&r?.nodeType!==Wn){var s=_e();return r===null?i?.after(s):r.before(s),B(s),s}return B(r),r}function xr(e){e.textContent=""}function Er(){return!1}function pt(e){var t=v,n=_;T(null),I(null);try{return e()}finally{T(t),I(n)}}function kr(e){_===null&&(v===null&&Xn(),Kn()),pe&&Jn()}function Tr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function W(e,t,n){var r=_;r!==null&&(r.f&Y)!==0&&(e|=Y);var i={ctx:P,deps:null,nodes_start:null,nodes_end:null,f:e|C|j,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Me(i),i.f|=qe}catch(o){throw O(i),o}else t!==null&&ve(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&ce)===0&&(s=s.first,(e&J)!==0&&(e&we)!==0&&s!==null&&(s.f|=we)),s!==null&&(s.parent=r,r!==null&&Tr(s,r),v!==null&&(v.f&$)!==0&&(e&se)===0)){var a=v;(a.effects??=[]).push(s)}return i}function Ke(){return v!==null&&!G}function en(e){const t=W(ot,null,!1);return A(t,k),t.teardown=e,t}function Ar(e){kr();var t=_.f,n=!v&&(t&K)!==0&&(t&qe)===0;if(n){var r=P;(r.e??=[]).push(e)}else return tn(e)}function tn(e){return W(at|Hn,e,!1)}function Nr(e){q.ensure();const t=W(se|ce,e,!0);return()=>{O(t)}}function Sr(e){q.ensure();const t=W(se|ce,e,!0);return(n={})=>new Promise(r=>{n.outro?Le(t,()=>{O(t),r(void 0)}):(O(t),r(void 0))})}function Cr(e){return W(at,e,!1)}function Or(e){return W(ut|ce,e,!0)}function nn(e,t=0){return W(ot|t,e,!0)}function Re(e,t=[],n=[],r=[]){pr(r,t,n,i=>{W(ot,()=>e(...i.map(L)),!0)})}function mt(e,t=0){var n=W(J|t,e,!0);return n}function te(e){return W(K|ce,e,!0)}function rn(e){var t=e.teardown;if(t!==null){const n=pe,r=v;un(!0),T(null);try{t.call(null)}finally{un(n),T(r)}}}function sn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&pt(()=>{i.abort(ye)});var r=n.next;(n.f&se)!==0?n.parent=null:O(n,t),n=r}}function Rr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&K)===0&&O(t),t=n}}function O(e,t=!0){var n=!1;(t||(e.f&ft)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Lr(e.nodes_start,e.nodes_end),n=!0),sn(e,t&&!n),Ze(e,0),A(e,Z);var r=e.transitions;if(r!==null)for(const s of r)s.stop();rn(e);var i=e.parent;i!==null&&i.first!==null&&an(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Lr(e,t){for(;e!==null;){var n=e===t?null:V(e);e.remove(),e=n}}function an(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 Le(e,t,n=!0){var r=[];on(e,r,!0),Pr(r,()=>{n&&O(e),t&&t()})}function Pr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function on(e,t,n){if((e.f&Y)===0){if(e.f^=Y,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&we)!==0||(r.f&K)!==0&&(e.f&J)!==0;on(r,t,s?n:!1),r=i}}}function Dr(e){fn(e,!0)}function fn(e,t){if((e.f&Y)!==0){e.f^=Y,(e.f&k)===0&&(A(e,C),ve(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&we)!==0||(n.f&K)!==0;fn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function ln(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:V(n);t.append(n),n=i}}let fe=!1;function Xe(e){fe=e}let pe=!1;function un(e){pe=e}let v=null,G=!1;function T(e){v=e}let _=null;function I(e){_=e}let ne=null;function Mr(e){v!==null&&(ne===null?ne=[e]:ne.push(e))}let S=null,R=0,F=null;function Ir(e){F=e}let cn=1,Pe=0,me=Pe;function dn(e){me=e}function hn(){return++cn}function De(e){var t=e.f;if((t&C)!==0)return!0;if(t&$&&(e.f&=~de),(t&X)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(De(s)&&Ht(s),s.wv>e.wv)return!0}(t&j)!==0&&D===null&&A(e,k)}return!1}function vn(e,t,n=!0){var r=e.reactions;if(r!==null&&!ne?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&$)!==0?vn(s,t,!1):t===s&&(n?A(s,C):(s.f&k)!==0&&A(s,X),ve(s))}}function _n(e){var t=S,n=R,r=F,i=v,s=ne,a=P,o=G,f=me,l=e.f;S=null,R=0,F=null,v=(l&(K|se))===0?e:null,ne=null,xe(e.ctx),G=!1,me=++Pe,e.ac!==null&&(pt(()=>{e.ac.abort(ye)}),e.ac=null);try{e.f|=lt;var c=e.fn,h=c(),u=e.deps;if(S!==null){var d;if(Ze(e,R),u!==null&&R>0)for(u.length=R+S.length,d=0;d<S.length;d++)u[R+d]=S[d];else e.deps=u=S;if(fe&&Ke()&&(e.f&j)!==0)for(d=R;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&R<u.length&&(Ze(e,R),u.length=R);if(It()&&F!==null&&!G&&u!==null&&(e.f&($|X|C))===0)for(d=0;d<F.length;d++)vn(F[d],e);return i!==null&&i!==e&&(Pe++,F!==null&&(r===null?r=F:r.push(...F))),(e.f&ae)!==0&&(e.f^=ae),h}catch(b){return jt(b)}finally{e.f^=lt,S=t,R=n,F=r,v=i,ne=s,xe(a),G=o,me=f}}function Fr(e,t){let n=t.reactions;if(n!==null){var r=jn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&$)!==0&&(S===null||!S.includes(t))&&(A(t,X),(t.f&j)!==0&&(t.f^=j,t.f&=~de),zt(t),Ze(t,0))}function Ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Fr(e,n[r])}function Me(e){var t=e.f;if((t&Z)===0){A(e,k);var n=_,r=fe;_=e,fe=!0;try{(t&J)!==0?Rr(e):sn(e),rn(e);var i=_n(e);e.teardown=typeof i=="function"?i:null,e.wv=cn;var s;st&&lr&&(e.f&C)!==0&&e.deps}finally{fe=r,_=n}}}function L(e){var t=e.f,n=(t&$)!==0;if(v!==null&&!G){var r=_!==null&&(_.f&Z)!==0;if(!r&&!ne?.includes(e)){var i=v.deps;if((v.f&lt)!==0)e.rv<Pe&&(e.rv=Pe,S===null&&i!==null&&i[R]===e?R++:S===null?S=[e]:S.includes(e)||S.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:s.includes(v)||s.push(v)}}}if(pe){if(oe.has(e))return oe.get(e);if(n){var a=e,o=a.v;return((a.f&k)===0&&a.reactions!==null||mn(a))&&(o=ht(a)),oe.set(a,o),o}}else n&&!D?.has(e)&&(a=e,De(a)&&Ht(a),fe&&Ke()&&(a.f&j)===0&&pn(a));if(D?.has(e))return D.get(e);if((e.f&ae)!==0)throw e.v;return e.v}function pn(e){if(e.deps!==null){e.f^=j;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&$)!==0&&(t.f&j)===0&&pn(t)}}function mn(e){if(e.v===E)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(oe.has(t)||(t.f&$)!==0&&mn(t))return!0;return!1}function bn(e){var t=G;try{return G=!0,e()}finally{G=t}}const jr=-7169;function A(e,t){e.f=e.f&jr|t}const gn=new Set,bt=new Set;function Br(e,t,n,r={}){function i(s){if(r.capture||Ie.call(t,s),!s.cancelBubble)return pt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?He(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function qr(e,t,n,r,i){var s={capture:r,passive:i},a=Br(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&en(()=>{t.removeEventListener(e,a,s)})}function Ur(e){for(var t=0;t<e.length;t++)gn.add(e[t]);for(var n of bt)n(e)}let wn=null;function Ie(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;wn=e;var a=0,o=wn===e&&e.__root;if(o){var f=i.indexOf(o);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var l=i.indexOf(t);if(l===-1)return;f<=l&&(a=f)}if(s=i[a]||e.target,s!==t){je(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=v,h=_;T(null),I(null);try{for(var u,d=[];s!==null;){var b=s.assignedSlot||s.parentNode||s.host||null;try{var x=s["__"+r];x!=null&&(!s.disabled||e.target===s)&&x.call(s,e)}catch(N){u?d.push(N):u=N}if(e.cancelBubble||b===t||b===null)break;s=b}if(u){for(let N of d)queueMicrotask(()=>{throw N});throw u}}finally{e.__root=t,delete e.currentTarget,T(c),I(h)}}}function Yr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Qe(e,t){var n=_;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function gt(e,t){var n=(t&Dn)!==0,r=(t&Mn)!==0,i,s=!e.startsWith("<!>");return()=>{if(m)return Qe(g,null),g;i===void 0&&(i=Yr(s?e:"<!>"+e),n||(i=Te(i)));var a=r||Jt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Te(a),f=a.lastChild;Qe(o,f)}else Qe(a,a);return a}}function et(e,t){if(m){var n=_;((n.f&qe)===0||n.nodes_end===null)&&(n.nodes_end=g),ze();return}e!==null&&e.before(t)}const zr=["touchstart","touchmove"];function Hr(e){return zr.includes(e)}function yn(e,t){return $n(e,t)}function Vr(e,t){_t(),t.intro=t.intro??!1;const n=t.target,r=m,i=g;try{for(var s=Te(n);s&&(s.nodeType!==$e||s.data!==Et);)s=V(s);if(!s)throw ge;z(!0),B(s);const a=$n(e,{...t,anchor:s});return z(!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&&Qn(),_t(),xr(n),z(!1),yn(e,t)}finally{z(r),B(i)}}const Ae=new Map;function $n(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){_t();var o=new Set,f=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!o.has(d)){o.add(d);var b=Hr(d);t.addEventListener(d,Ie,{passive:b});var x=Ae.get(d);x===void 0?(document.addEventListener(d,Ie,{passive:b}),Ae.set(d,1)):Ae.set(d,x+1)}}};f(Bn(gn)),bt.add(f);var l=void 0,c=Sr(()=>{var h=n??t.appendChild(_e());return vr(h,{pending:()=>{}},u=>{if(s){Dt({});var d=P;d.c=s}if(i&&(r.$$events=i),m&&Qe(u,null),l=e(u,r)||{},m&&(_.nodes_end=g,g===null||g.nodeType!==$e||g.data!==kt))throw Ye(),ge;s&&Mt()}),()=>{for(var u of o){t.removeEventListener(u,Ie);var d=Ae.get(u);--d===0?(document.removeEventListener(u,Ie),Ae.delete(u)):Ae.set(u,d)}bt.delete(f),h!==n&&h.parentNode?.removeChild(h)}});return wt.set(l,c),l}let wt=new WeakMap;function Wr(e,t){const n=wt.get(e);return n?(wt.delete(e),n(t)):Promise.resolve()}class Gr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#f=!0;constructor(t,n=!0){this.anchor=t,this.#f=n}#s=()=>{var t=w;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Dr(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,a]of this.#t){if(this.#t.delete(s),s===t)break;const o=this.#n.get(a);o&&(O(o.effect),this.#n.delete(a))}for(const[s,a]of this.#e){if(s===n||this.#r.has(s))continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var l=document.createDocumentFragment();ln(a,l),l.append(_e()),this.#n.set(s,{effect:a,fragment:l})}else O(a);this.#r.delete(s),this.#e.delete(s)};this.#f||!r?(this.#r.add(s),Le(a,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(O(i.effect),this.#n.delete(r))};ensure(t,n){var r=w,i=Er();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),a=_e();s.append(a),this.#n.set(t,{effect:te(()=>n(a)),fragment:s})}else this.#e.set(t,te(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[o,f]of this.#e)o===t?r.skipped_effects.delete(f):r.skipped_effects.add(f);for(const[o,f]of this.#n)o===t?r.skipped_effects.delete(f.effect):r.skipped_effects.add(f.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else m&&(this.anchor=g),this.#s()}}function Jr(e,t,n=!1){m&&ze();var r=new Gr(e),i=n?we:0;function s(a,o){if(m){const l=or(e)===it;if(a===l){var f=Rt();B(f),r.anchor=f,z(!1),r.ensure(a,o),z(!0);return}}r.ensure(a,o)}mt(()=>{var a=!1;t((o,f=!0)=>{a=!0,s(f,o)}),a||s(!1,null)},i)}function Kr(e,t,n,r,i){m&&ze();var s=t.$$slots?.[n],a=!1;s===!0&&(s=t[n],a=!0),s===void 0||s(e,a?()=>r:r)}function Xr(e,t){let n=null,r=m;var i;if(m){n=g;for(var s=Te(document.head);s!==null&&(s.nodeType!==$e||s.data!==e);)s=V(s);if(s===null)z(!1);else{var a=V(s);s.remove(),B(a)}}m||(i=document.head.appendChild(_e()));try{mt(()=>t(i),ft)}finally{r&&(z(!0),B(n))}}function Zr(e,t){Cr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Qr(e,t,n){var r=e==null?"":""+e;return t&&(r=r?r+" "+t:t),r===""?null:r}function ei(e,t){return e==null?null:String(e)}function xn(e,t,n,r,i,s){var a=e.__className;if(m||a!==n||a===void 0){var o=Qr(n,r);(!m||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=n}return s}function En(e,t,n,r){var i=e.__style;if(m||i!==t){var s=ei(t);(!m||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const ti=Symbol("is custom element"),ni=Symbol("is html");function ri(e,t,n,r){var i=ii(e);m&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Vn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&kn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function yt(e,t,n){var r=v,i=_;let s=m;m&&z(!1),T(null),I(null);try{t!=="style"&&($t.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?kn(e).includes(t):n&&typeof n=="object")?e[t]=n:ri(e,t,n==null?n:String(n))}finally{T(r),I(i),s&&z(!0)}}function ii(e){return e.__attributes??={[ti]:e.nodeName.includes("-"),[ni]:e.namespaceURI===In}}var $t=new Map;function kn(e){var t=e.getAttribute("is")||e.nodeName,n=$t.get(t);if(n)return n;$t.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=qn(i);for(var a in r)r[a].set&&n.push(a);i=Tt(i)}return n}let tt=!1;function si(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}function re(e,t,n,r){var i=(n&Ln)!==0,s=(n&Pn)!==0,a=r,o=!0,f=()=>(o&&(o=!1,a=s?bn(r):r),a),l;if(i){var c=Ue in e||Ct in e;l=ue(e,t)?.set??(c&&t in e?y=>e[t]=y:void 0)}var h,u=!1;i?[h,u]=si(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=f(),l&&(er(),l(h)));var d;if(d=()=>{var y=e[t];return y===void 0?f():(o=!0,y)},(n&Rn)===0)return d;if(l){var b=e.$$legacy;return(function(y,Ne){return arguments.length>0?((!Ne||b||u)&&l(Ne?d():y),y):d()})}var x=!1,N=((n&On)!==0?dt:gr)(()=>(x=!1,d()));i&&L(N);var ie=_;return(function(y,Ne){if(arguments.length>0){const rt=Ne?L(N):i?ke(y):y;return U(N,rt),x=!0,a!==void 0&&(a=rt),y}return pe&&x||(ie.f&Z)!==0?N.v:L(N)})}function ai(e){return new oi(e)}class oi{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var o=yr(a,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return L(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===Ct?!0:(L(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return U(n.get(a)??r(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?Vr:yn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&H(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||je(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Wr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Tn;typeof HTMLElement=="function"&&(Tn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),et(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=fi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=nt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ai({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Nr(()=>{nn(()=>{this.$$r=!0;for(const r of Fe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=nt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=nt(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Fe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function nt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function li(e,t,n,r,i,s){let a=class extends Tn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Fe(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Fe(t).forEach(o=>{je(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(f){f=nt(o,f,t),this.$$d[o]=f;var l=this.$$c;if(l){var c=ue(l,o)?.get;c?l[o]=f:l.$set({[o]:f})}}})}),r.forEach(o=>{je(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const An={version:"0.66.0"};var be={},Nn;function ui(){if(Nn)return be;Nn=1,Object.defineProperty(be,"__esModule",{value:!0}),be.LanguageTranslator=void 0,be.getChildStyleToPass=e,be.addComponent=t;function e(r,i){var s,a,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||a===void 0)&&a.length))for(var f=function(u){var d=i?.filter(function(b){return b.name===u&&b.defaultValue!==r[u]});d&&(o+="".concat(u,":").concat(r[u],";"))},l=0,c=Object.keys(r);l<c.length;l++){var h=c[l];f(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var a=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(a)}document.head.appendChild(o)}catch(l){console.warn(l)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,a){return r.formatDate(i,s,a||this.lang)},r.getDefaultLang=function(){var i,s,a,o="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,a){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((o=s[a])===null||o===void 0)&&o[i]))return s[a][i];var f="",l=r.getDefaultLang();if(!a||l!==a){var c=s?.[l];c?.[i]&&(f=c[i])}return f},r.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(a||r.getDefaultLang(),s);return o.format(i)},r})();return be.LanguageTranslator=n,be}var Sn=ui(),ci=gt('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1evb3mn"/>'),di=gt("<div></div>"),hi=gt('<div id="webcomponent" class="svelte-1evb3mn"><!> <div class="offcanvas offcanvas-start show svelte-1evb3mn" tabindex="-1" aria-labelledby="offcanvasExampleLabel"><hb-sidebar-desktop></hb-sidebar-desktop></div> <!></div>',2);const vi={hash:"svelte-1evb3mn",code:`@charset "UTF-8";
3
3
  @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
5
5
  /*!
@@ -7,7 +7,7 @@
7
7
  * Copyright 2011-2021 The Bootstrap Authors
8
8
  * Copyright 2011-2021 Twitter, Inc.
9
9
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
10
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-1evb3mn,
10
+ */.svelte-1evb3mn,
11
11
  .svelte-1evb3mn::before,
12
12
  .svelte-1evb3mn::after {box-sizing:border-box;}
13
13
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -141,5 +141,5 @@
141
141
  @media print {
142
142
  }#webcomponent.svelte-1evb3mn {font-family:"Roboto", sans-serif;min-height:100vh;min-height:-webkit-fill-available;}
143
143
  @media (min-width: 768px) {
144
- }.offcanvas-start.svelte-1evb3mn {width:240px;}hb-sidebar-desktop.svelte-1evb3mn {width:100%;}`};function Cn(e,t){Dt(t,!0),Zr(e,vi);let n=ie(t,"id",7),r=ie(t,"type",7,"autohide"),i=ie(t,"navlinks",7,void 0),s=ie(t,"companylogouri",7,""),a=ie(t,"navpage",7,"home"),o=ie(t,"groups",23,()=>[]),l=ie(t,"opened",7,!1),f=ie(t,"companytitle",7,""),c=ie(t,"enablefooter",7,!1);be({});let h=U(""),u=U(!1);Sr(()=>{f()||f(""),(!c()||c()==="no")&&c(!1),r()==="open"||l()&&l()!=="no"?(l(!0),O(u)||d("offcanvasswitch",{isOpen:l()}),z(u,!0)):l(!1);try{typeof o()=="string"&&o(JSON.parse(o()))}catch{}});function d(_,fe){t.$$host.dispatchEvent(new CustomEvent(_,{detail:fe}))}function m(_){l(_),z(u,!1),d("offcanvasswitch",{isOpen:l()})}Nn.addComponent({repoName:"@htmlbricks/hb-sidenav-link",version:Sn.version}),Nn.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:Sn.version});var N={get id(){return n()},set id(_){n(_),W()},get type(){return r()},set type(_="autohide"){r(_),W()},get navlinks(){return i()},set navlinks(_=void 0){i(_),W()},get companylogouri(){return s()},set companylogouri(_=""){s(_),W()},get navpage(){return a()},set navpage(_="home"){a(_),W()},get groups(){return o()},set groups(_=[]){o(_),W()},get opened(){return l()},set opened(_=!1){l(_),W()},get companytitle(){return f()},set companytitle(_=""){f(_),W()},get enablefooter(){return c()},set enablefooter(_=!1){c(_),W()}},$=hi();Xr("1evb3mn",_=>{var fe=ci();et(_,fe)});var we=Qt($);Kr(we,t,"test",{});var y=en(we,2),Y=Qt(y);yt(Y,O(h)),Oe(()=>xt(Y,"navlinks",i())),Oe(()=>xt(Y,"navpage",a())),Oe(()=>xt(Y,"companytitle",f())),En(Y,1,"svelte-1evb3mn"),Ot(y);var rt=en(y,2);{var bi=_=>{var fe=di();fe.__click=()=>m(!1),Oe(()=>{En(fe,1,`modal-backdrop fade ${l()?"show":""}`,"svelte-1evb3mn"),yt(fe,`z-index:1040; ${l()?"":"visibility:hidden"}`)}),et(_,fe)};Jr(rt,_=>{r()==="autohide"&&_(bi)})}return Ot($),Oe(()=>yt(y,`overflow-y: auto; visibility: visible; ${l()?"transform:none!important":"transform:translateX(-100%)!important"};`)),qr("pageChange",Y,_=>d("pageChange",_.detail)),et(e,$),It(N)}Ur(["click"]),customElements.define("hb-offcanvas",fi(Cn,{id:{},type:{},navlinks:{},companylogouri:{},navpage:{},groups:{},opened:{},companytitle:{},enablefooter:{}},["test"],[],!0)),Et.Component=Cn,Object.defineProperty(Et,Symbol.toStringTag,{value:"Module"})})(this.offcanvas=this.offcanvas||{});
144
+ }.offcanvas-start.svelte-1evb3mn {width:240px;}hb-sidebar-desktop.svelte-1evb3mn {width:100%;}`};function Cn(e,t){Dt(t,!0),Zr(e,vi);let n=re(t,"id",7),r=re(t,"type",7,"autohide"),i=re(t,"navlinks",7,void 0),s=re(t,"companylogouri",7,""),a=re(t,"navpage",7,"home"),o=re(t,"groups",23,()=>[]),f=re(t,"opened",7,!1),l=re(t,"companytitle",7,""),c=re(t,"enablefooter",7,!1),h=ee(!1);Ar(()=>{l()||l(""),(!c()||c()==="no")&&c(!1),r()==="open"||f()&&f()!=="no"?(f(!0),L(h)||u("offcanvasswitch",{isOpen:f()}),U(h,!0)):f(!1);try{typeof o()=="string"&&o(JSON.parse(o()))}catch{}});function u(p,le){t.$$host.dispatchEvent(new CustomEvent(p,{detail:le}))}function d(p){f(p),U(h,!1),u("offcanvasswitch",{isOpen:f()})}Sn.addComponent({repoName:"@htmlbricks/hb-sidenav-link",version:An.version}),Sn.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:An.version});var b={get id(){return n()},set id(p){n(p),H()},get type(){return r()},set type(p="autohide"){r(p),H()},get navlinks(){return i()},set navlinks(p=void 0){i(p),H()},get companylogouri(){return s()},set companylogouri(p=""){s(p),H()},get navpage(){return a()},set navpage(p="home"){a(p),H()},get groups(){return o()},set groups(p=[]){o(p),H()},get opened(){return f()},set opened(p=!1){f(p),H()},get companytitle(){return l()},set companytitle(p=""){l(p),H()},get enablefooter(){return c()},set enablefooter(p=!1){c(p),H()}},x=hi();Xr("1evb3mn",p=>{var le=ci();et(p,le)});var N=Zt(x);Kr(N,t,"test",{});var ie=Qt(N,2),y=Zt(ie);Re(()=>yt(y,"navlinks",i())),Re(()=>yt(y,"navpage",a())),Re(()=>yt(y,"companytitle",l())),xn(y,1,"svelte-1evb3mn"),Ot(ie);var Ne=Qt(ie,2);{var rt=p=>{var le=di();le.__click=()=>d(!1),Re(()=>{xn(le,1,`modal-backdrop fade ${f()?"show":""}`,"svelte-1evb3mn"),En(le,`z-index:1040; ${f()?"":"visibility:hidden"}`)}),et(p,le)};Jr(Ne,p=>{r()==="autohide"&&p(rt)})}return Ot(x),Re(()=>En(ie,`overflow-y: auto; visibility: visible; ${f()?"transform:none!important":"transform:translateX(-100%)!important"};`)),qr("pageChange",y,p=>u("pageChange",p.detail)),et(e,x),Mt(b)}Ur(["click"]),customElements.define("hb-offcanvas",li(Cn,{id:{},type:{},navlinks:{},companylogouri:{},navpage:{},groups:{},opened:{},companytitle:{},enablefooter:{}},["test"],[],!0)),xt.Component=Cn,Object.defineProperty(xt,Symbol.toStringTag,{value:"Module"})})(this.offcanvas=this.offcanvas||{});
145
145
  //# sourceMappingURL=main.iife.js.map