@htmlbricks/hb-offcanvas 0.61.51 → 0.61.52
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 +21 -30
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
(function(xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Mn=1,Dn=4,jn=8,Fn=16,Un=1,Bn=2,Je="[",$t="[!",kt="]",pe={},T=Symbol(),Yn="http://www.w3.org/1999/xhtml",Tt=!1;var Nt=Array.isArray,Hn=Array.prototype.indexOf,Wn=Array.from,qe=Object.keys,ge=Object.defineProperty,le=Object.getOwnPropertyDescriptor,Gn=Object.getOwnPropertyDescriptors,zn=Object.prototype,Vn=Array.prototype,St=Object.getPrototypeOf,At=Object.isExtensible;function Ct(e){for(var t=0;t<e.length;t++)e[t]()}function Xn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const P=2,Ke=4,Ze=8,we=16,K=32,te=64,Ot=128,q=256,Ie=512,A=1024,I=2048,ne=4096,re=8192,fe=16384,Qe=32768,et=65536,Rt=1<<17,Pt=1<<18,ye=1<<19,Jn=1<<20,tt=1<<21,nt=1<<22,ue=1<<23,Me=Symbol("$state"),Lt=Symbol("legacy props"),Kn=Symbol(""),rt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Zn=3,Ae=8;function Qn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function er(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function tr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function nr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function rr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ir(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function sr(){throw new Error("https://svelte.dev/e/hydration_failed")}function ar(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function or(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function lr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function fr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function De(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let E=!1;function W(e){E=e}let $;function Z(e){if(e===null)throw De(),pe;return $=e}function je(){return Z(se($))}function qt(e){if(E){if(se($)!==null)throw De(),pe;$=e}}function ur(){for(var e=0,t=$;;){if(t.nodeType===Ae){var n=t.data;if(n===kt){if(e===0)return t;e-=1}else(n===Je||n===$t)&&(e+=1)}var r=se(t);t.remove(),t=r}}function cr(e){if(!e||e.nodeType!==Ae)throw De(),pe;return e.data}function It(e){return e===this.v}function dr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Mt(e){return!dr(e,this.v)}let vr=!1,U=null;function Fe(e){U=e}function Dt(e,t=!1,n){U={p:U,c:null,e:null,s:e,x:null,l:null}}function jt(e){var t=U,n=t.e;if(n!==null){t.e=null;for(var r of n)rn(r)}return e!==void 0&&(t.x=e),U=t.p,e??{}}function Ft(){return!0}const hr=new WeakMap;function br(e){var t=p;if(t===null)return g.f|=ue,e;if((t.f&Qe)===0){if((t.f&Ot)===0)throw!t.parent&&e instanceof Error&&Ut(e),e;t.b.error(e)}else it(e,t)}function it(e,t){for(;t!==null;){if((t.f&Ot)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&Ut(e),e}function Ut(e){const t=hr.get(e);t&&(ge(e,"message",{value:t.message}),ge(e,"stack",{value:t.stack}))}let Ce=[],st=[];function Bt(){var e=Ce;Ce=[],Ct(e)}function _r(){var e=st;st=[],Ct(e)}function mr(e){Ce.length===0&&queueMicrotask(Bt),Ce.push(e)}function pr(){Ce.length>0&&Bt(),st.length>0&&_r()}function gr(){const e=p.b;return e===null&&Qn(),e}function at(e){var t=P|I,n=g!==null&&(g.f&P)!==0?g:null;return p===null||n!==null&&(n.f&q)!==0?t|=q:p.f|=ye,{ctx:U,deps:null,effects:null,equals:It,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??p,ac:null}}function wr(e,t){let n=p;n===null&&er();var r=n.b,i=void 0,s=ut(T),a=null,l=!g;return Ir(()=>{try{var o=e();a&&Promise.resolve(o).catch(()=>{})}catch(c){o=Promise.reject(c)}var f=()=>o;i=a?.then(f,f)??Promise.resolve(o),a=i;var u=N,d=r.is_pending();l&&(r.update_pending_count(1),d||u.increment());const v=(c,h=void 0)=>{a=null,d||u.activate(),h?h!==rt&&(s.f|=ue,ct(s,h)):((s.f&ue)!==0&&(s.f^=ue),ct(s,c)),l&&(r.update_pending_count(-1),d||u.decrement()),Wt()};if(i.then(v,c=>v(null,c||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(o=>{function f(u){function d(){u===i?o(s):f(i)}u.then(d,d)}f(i)})}function yr(e){const t=at(e);return t.equals=Mt,t}function Yt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ae(t[n])}}function Er(e){for(var t=e.parent;t!==null;){if((t.f&P)===0)return t;t=t.parent}return null}function ot(e){var t,n=p;X(Er(e));try{Yt(e),t=pn(e)}finally{X(n)}return t}function Ht(e){var t=ot(e);if(e.equals(t)||(e.v=t,e.wv=_n()),!be){var n=(oe||(e.f&q)!==0)&&e.deps!==null?ne:A;O(e,n)}}function xr(e,t,n){const r=at;if(t.length===0){n(e.map(r));return}var i=N,s=p,a=$r(),l=gr();Promise.all(t.map(o=>wr(o))).then(o=>{i?.activate(),a();try{n([...e.map(r),...o])}catch(f){(s.f&fe)===0&&it(f,s)}i?.deactivate(),Wt()}).catch(o=>{l.error(o)})}function $r(){var e=p,t=g,n=U,r=N;return function(){X(e),M(t),Fe(n),r?.activate()}}function Wt(){X(null),M(null),Fe(null)}const lt=new Set;let N=null,Gt=new Set,Ue=[];function zt(){const e=Ue.shift();Ue.length>0&&queueMicrotask(zt),e()}let ce=[],Be=null,ft=!1,Ye=!1;class de{current=new Map;#t=new Map;#e=new Set;#n=0;#f=null;#u=!1;#i=[];#a=[];#s=[];#r=[];#o=[];#c=[];#d=[];skipped_effects=new Set;process(t){ce=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#n===0){this.#v();var n=this.#s,r=this.#r;this.#s=[],this.#r=[],this.#o=[],N=null,Xt(n),Xt(r),N===null?N=this:lt.delete(this),this.#f?.resolve()}else this.#l(this.#s),this.#l(this.#r),this.#l(this.#o);for(const i of this.#i)ke(i);for(const i of this.#a)ke(i);this.#i=[],this.#a=[]}#h(t){t.f^=A;for(var n=t.first;n!==null;){var r=n.f,i=(r&(K|te))!==0,s=i&&(r&A)!==0,a=s||(r&re)!==0||this.skipped_effects.has(n);if(!a&&n.fn!==null){if(i)n.f^=A;else if((r&Ke)!==0)this.#r.push(n);else if((r&A)===0)if((r&nt)!==0){var l=n.b?.is_pending()?this.#a:this.#i;l.push(n)}else He(n)&&((n.f&we)!==0&&this.#o.push(n),ke(n));var o=n.first;if(o!==null){n=o;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)n=f.next,f=f.parent}}#l(t){for(const n of t)((n.f&I)!==0?this.#c:this.#d).push(n),O(n,A);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){N=this}deactivate(){N=null;for(const t of Gt)if(Gt.delete(t),t(),N!==null)break}neuter(){this.#u=!0}flush(){ce.length>0?Vt():this.#v(),N===this&&(this.#n===0&<.delete(this),this.deactivate())}#v(){if(!this.#u)for(const t of this.#e)t();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const t of this.#c)O(t,I),Ee(t);for(const t of this.#d)O(t,ne),Ee(t);this.#s=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Xn()).promise}static ensure(){if(N===null){const t=N=new de;lt.add(N),Ye||de.enqueue(()=>{N===t&&t.flush()})}return N}static enqueue(t){Ue.length===0&&queueMicrotask(zt),Ue.unshift(t)}}function G(e){var t=Ye;Ye=!0;try{for(var n;;){if(pr(),ce.length===0&&(N?.flush(),ce.length===0))return Be=null,n;Vt()}}finally{Ye=t}}function Vt(){var e=$e;ft=!0;try{var t=0;for(dn(!0);ce.length>0;){var n=de.ensure();if(t++>1e3){var r,i;kr()}n.process(ce),ie.clear()}}finally{ft=!1,dn(e),Be=null}}function kr(){try{ir()}catch(e){it(e,Be)}}let ve=null;function Xt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(fe|re))===0&&He(r)&&(ve=[],ke(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?ln(r):r.fn=null),ve?.length>0)){ie.clear();for(const i of ve)ke(i);ve=[]}}ve=null}}function Ee(e){for(var t=Be=e;t.parent!==null;){t=t.parent;var n=t.f;if(ft&&t===p&&(n&we)!==0)return;if((n&(te|K))!==0){if((n&A)===0)return;t.f^=A}}ce.push(t)}const ie=new Map;function ut(e,t){var n={f:0,v:e,reactions:null,equals:It,rv:0,wv:0};return n}function B(e,t){const n=ut(e);return Br(n),n}function Tr(e,t=!1,n=!0){const r=ut(e);return t||(r.equals=Mt),r}function Y(e,t,n=!1){g!==null&&(!V||(g.f&Rt)!==0)&&Ft()&&(g.f&(P|we|nt|Rt))!==0&&!Q?.includes(e)&&fr();let r=n?he(t):t;return ct(e,r)}function ct(e,t){if(!e.equals(t)){var n=e.v;be?ie.set(e,t):ie.set(e,n),e.v=t;var r=de.ensure();r.capture(e,n),(e.f&P)!==0&&((e.f&I)!==0&&ot(e),O(e,(e.f&q)===0?A:ne)),e.wv=_n(),Jt(e,I),p!==null&&(p.f&A)!==0&&(p.f&(K|te))===0&&(D===null?Yr([e]):D.push(e))}return t}function dt(e){Y(e,e.v+1)}function Jt(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,l=(a&I)===0;l&&O(s,t),(a&P)!==0?Jt(s,ne):l&&((a&we)!==0&&ve!==null&&ve.push(s),Ee(s))}}function he(e){if(typeof e!="object"||e===null||Me in e)return e;const t=St(e);if(t!==zn&&t!==Vn)return e;var n=new Map,r=Nt(e),i=B(0),s=_e,a=l=>{if(_e===s)return l();var o=g,f=_e;M(null),bn(s);var u=l();return M(o),bn(f),u};return r&&n.set("length",B(e.length)),new Proxy(e,{defineProperty(l,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&or();var u=n.get(o);return u===void 0?u=a(()=>{var d=B(f.value);return n.set(o,d),d}):Y(u,f.value,!0),!0},deleteProperty(l,o){var f=n.get(o);if(f===void 0){if(o in l){const u=a(()=>B(T));n.set(o,u),dt(i)}}else Y(f,T),dt(i);return!0},get(l,o,f){if(o===Me)return e;var u=n.get(o),d=o in l;if(u===void 0&&(!d||le(l,o)?.writable)&&(u=a(()=>{var c=he(d?l[o]:T),h=B(c);return h}),n.set(o,u)),u!==void 0){var v=j(u);return v===T?void 0:v}return Reflect.get(l,o,f)},getOwnPropertyDescriptor(l,o){var f=Reflect.getOwnPropertyDescriptor(l,o);if(f&&"value"in f){var u=n.get(o);u&&(f.value=j(u))}else if(f===void 0){var d=n.get(o),v=d?.v;if(d!==void 0&&v!==T)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return f},has(l,o){if(o===Me)return!0;var f=n.get(o),u=f!==void 0&&f.v!==T||Reflect.has(l,o);if(f!==void 0||p!==null&&(!u||le(l,o)?.writable)){f===void 0&&(f=a(()=>{var v=u?he(l[o]):T,c=B(v);return c}),n.set(o,f));var d=j(f);if(d===T)return!1}return u},set(l,o,f,u){var d=n.get(o),v=o in l;if(r&&o==="length")for(var c=f;c<d.v;c+=1){var h=n.get(c+"");h!==void 0?Y(h,T):c in l&&(h=a(()=>B(T)),n.set(c+"",h))}if(d===void 0)(!v||le(l,o)?.writable)&&(d=a(()=>B(void 0)),Y(d,he(f)),n.set(o,d));else{v=d.v!==T;var b=a(()=>he(f));Y(d,b)}var x=Reflect.getOwnPropertyDescriptor(l,o);if(x?.set&&x.set.call(u,f),!v){if(r&&typeof o=="string"){var k=n.get("length"),_=Number(o);Number.isInteger(_)&&_>=k.v&&Y(k,_+1)}dt(i)}return!0},ownKeys(l){j(i);var o=Reflect.ownKeys(l).filter(d=>{var v=n.get(d);return v===void 0||v.v!==T});for(var[f,u]of n)u.v!==T&&!(f in l)&&o.push(f);return o},setPrototypeOf(){lr()}})}var Kt,Zt,Qt,en;function vt(){if(Kt===void 0){Kt=window,Zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Qt=le(t,"firstChild").get,en=le(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 Oe(e=""){return document.createTextNode(e)}function xe(e){return Qt.call(e)}function se(e){return en.call(e)}function tn(e,t){if(!E)return xe(e);var n=xe($);return n===null&&(n=$.appendChild(Oe())),Z(n),n}function nn(e,t=1,n=!1){let r=E?$:e;for(var i;t--;)i=r,r=se(r);if(!E)return r;if(n&&r?.nodeType!==Zn){var s=Oe();return r===null?i?.after(s):r.before(s),Z(s),s}return Z(r),r}function Nr(e){e.textContent=""}function Sr(){return!1}function ht(e){var t=g,n=p;M(null),X(null);try{return e()}finally{M(t),X(n)}}function Ar(e){p===null&&g===null&&rr(),g!==null&&(g.f&q)!==0&&p===null&&nr(),be&&tr()}function Cr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function z(e,t,n,r=!0){var i=p;i!==null&&(i.f&re)!==0&&(e|=re);var s={ctx:U,deps:null,nodes_start:null,nodes_end:null,f:e|I,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ke(s),s.f|=Qe}catch(o){throw ae(s),o}else t!==null&&Ee(s);if(r){var a=s;if(n&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&ye)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&Cr(a,i),g!==null&&(g.f&P)!==0&&(e&te)===0)){var l=g;(l.effects??=[]).push(a)}}return s}function Or(e){const t=z(Ze,null,!1);return O(t,A),t.teardown=e,t}function Rr(e){Ar();var t=p.f,n=!g&&(t&K)!==0&&(t&Qe)===0;if(n){var r=U;(r.e??=[]).push(e)}else return rn(e)}function rn(e){return z(Ke|Jn,e,!1)}function Pr(e){de.ensure();const t=z(te|ye,e,!0);return()=>{ae(t)}}function Lr(e){de.ensure();const t=z(te|ye,e,!0);return(n={})=>new Promise(r=>{n.outro?fn(t,()=>{ae(t),r(void 0)}):(ae(t),r(void 0))})}function qr(e){return z(Ke,e,!1)}function Ir(e){return z(nt|ye,e,!0)}function Mr(e,t=0){return z(Ze|t,e,!0)}function Re(e,t=[],n=[]){xr(t,n,r=>{z(Ze,()=>e(...r.map(j)),!0)})}function sn(e,t=0){var n=z(we|t,e,!0);return n}function bt(e,t=!0){return z(K|ye,e,!0,t)}function an(e){var t=e.teardown;if(t!==null){const n=be,r=g;vn(!0),M(null);try{t.call(null)}finally{vn(n),M(r)}}}function on(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&ht(()=>{i.abort(rt)});var r=n.next;(n.f&te)!==0?n.parent=null:ae(n,t),n=r}}function Dr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&K)===0&&ae(t),t=n}}function ae(e,t=!0){var n=!1;(t||(e.f&Pt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(jr(e.nodes_start,e.nodes_end),n=!0),on(e,t&&!n),We(e,0),O(e,fe);var r=e.transitions;if(r!==null)for(const s of r)s.stop();an(e);var i=e.parent;i!==null&&i.first!==null&&ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function jr(e,t){for(;e!==null;){var n=e===t?null:se(e);e.remove(),e=n}}function ln(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 fn(e,t){var n=[];un(e,n,!0),Fr(n,()=>{ae(e),t&&t()})}function Fr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function un(e,t,n){if((e.f&re)===0){if(e.f^=re,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&et)!==0||(r.f&K)!==0;un(r,t,s?n:!1),r=i}}}function Ur(e){cn(e,!0)}function cn(e,t){if((e.f&re)!==0){e.f^=re,(e.f&A)===0&&(O(e,I),Ee(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&et)!==0||(n.f&K)!==0;cn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let $e=!1;function dn(e){$e=e}let be=!1;function vn(e){be=e}let g=null,V=!1;function M(e){g=e}let p=null;function X(e){p=e}let Q=null;function Br(e){g!==null&&(Q===null?Q=[e]:Q.push(e))}let C=null,L=0,D=null;function Yr(e){D=e}let hn=1,Pe=0,_e=Pe;function bn(e){_e=e}let oe=!1;function _n(){return++hn}function He(e){var t=e.f;if((t&I)!==0)return!0;if((t&ne)!==0){var n=e.deps,r=(t&q)!==0;if(n!==null){var i,s,a=(t&Ie)!==0,l=r&&p!==null&&!oe,o=n.length;if((a||l)&&(p===null||(p.f&fe)===0)){var f=e,u=f.parent;for(i=0;i<o;i++)s=n[i],(a||!s?.reactions?.includes(f))&&(s.reactions??=[]).push(f);a&&(f.f^=Ie),l&&u!==null&&(u.f&q)===0&&(f.f^=q)}for(i=0;i<o;i++)if(s=n[i],He(s)&&Ht(s),s.wv>e.wv)return!0}(!r||p!==null&&!oe)&&O(e,A)}return!1}function mn(e,t,n=!0){var r=e.reactions;if(r!==null&&!Q?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&P)!==0?mn(s,t,!1):t===s&&(n?O(s,I):(s.f&A)!==0&&O(s,ne),Ee(s))}}function pn(e){var t=C,n=L,r=D,i=g,s=oe,a=Q,l=U,o=V,f=_e,u=e.f;C=null,L=0,D=null,oe=(u&q)!==0&&(V||!$e||g===null),g=(u&(K|te))===0?e:null,Q=null,Fe(e.ctx),V=!1,_e=++Pe,e.ac!==null&&(ht(()=>{e.ac.abort(rt)}),e.ac=null);try{e.f|=tt;var d=e.fn,v=d(),c=e.deps;if(C!==null){var h;if(We(e,L),c!==null&&L>0)for(c.length=L+C.length,h=0;h<C.length;h++)c[L+h]=C[h];else e.deps=c=C;if(!oe||(u&P)!==0&&e.reactions!==null)for(h=L;h<c.length;h++)(c[h].reactions??=[]).push(e)}else c!==null&&L<c.length&&(We(e,L),c.length=L);if(Ft()&&D!==null&&!V&&c!==null&&(e.f&(P|ne|I))===0)for(h=0;h<D.length;h++)mn(D[h],e);return i!==null&&i!==e&&(Pe++,D!==null&&(r===null?r=D:r.push(...D))),(e.f&ue)!==0&&(e.f^=ue),v}catch(b){return br(b)}finally{e.f^=tt,C=t,L=n,D=r,g=i,oe=s,Q=a,Fe(l),V=o,_e=f}}function Hr(e,t){let n=t.reactions;if(n!==null){var r=Hn.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&P)!==0&&(C===null||!C.includes(t))&&(O(t,ne),(t.f&(q|Ie))===0&&(t.f^=Ie),Yt(t),We(t,0))}function We(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Hr(e,n[r])}function ke(e){var t=e.f;if((t&fe)===0){O(e,A);var n=p,r=$e;p=e,$e=!0;try{(t&we)!==0?Dr(e):on(e),an(e);var i=pn(e);e.teardown=typeof i=="function"?i:null,e.wv=hn;var s;Tt&&vr&&(e.f&I)!==0&&e.deps}finally{$e=r,p=n}}}function j(e){var t=e.f,n=(t&P)!==0;if(g!==null&&!V){var r=p!==null&&(p.f&fe)!==0;if(!r&&!Q?.includes(e)){var i=g.deps;if((g.f&tt)!==0)e.rv<Pe&&(e.rv=Pe,C===null&&i!==null&&i[L]===e?L++:C===null?C=[e]:(!oe||!C.includes(e))&&C.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:s.includes(g)||s.push(g)}}}else if(n&&e.deps===null&&e.effects===null){var a=e,l=a.parent;l!==null&&(l.f&q)===0&&(a.f^=q)}if(be){if(ie.has(e))return ie.get(e);if(n){a=e;var o=a.v;return((a.f&A)===0&&a.reactions!==null||gn(a))&&(o=ot(a)),ie.set(a,o),o}}else n&&(a=e,He(a)&&Ht(a));if((e.f&ue)!==0)throw e.v;return e.v}function gn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ie.has(t)||(t.f&P)!==0&&gn(t))return!0;return!1}function Wr(e){var t=V;try{return V=!0,e()}finally{V=t}}const Gr=-7169;function O(e,t){e.f=e.f&Gr|t}const wn=new Set,_t=new Set;function zr(e,t,n,r={}){function i(s){if(r.capture||Le.call(t,s),!s.cancelBubble)return ht(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?mr(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Vr(e,t,n,r,i){var s={capture:r,passive:i},a=zr(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Or(()=>{t.removeEventListener(e,a,s)})}function Xr(e){for(var t=0;t<e.length;t++)wn.add(e[t]);for(var n of _t)n(e)}let yn=null;function Le(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;yn=e;var a=0,l=yn===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(a=o)}if(s=i[a]||e.target,s!==t){ge(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=g,d=p;M(null),X(null);try{for(var v,c=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var b=s["__"+r];if(b!=null&&(!s.disabled||e.target===s))if(Nt(b)){var[x,...k]=b;x.apply(s,[e,...k])}else b.call(s,e)}catch(_){v?c.push(_):v=_}if(e.cancelBubble||h===t||h===null)break;s=h}if(v){for(let _ of c)queueMicrotask(()=>{throw _});throw v}}finally{e.__root=t,delete e.currentTarget,M(u),X(d)}}}let F;function Jr(){F=void 0}function Kr(e){let t=null,n=E;var r;if(E){for(t=$,F===void 0&&(F=xe(document.head));F!==null&&(F.nodeType!==Ae||F.data!==Je);)F=se(F);F===null?W(!1):F=Z(se(F))}E||(r=document.head.appendChild(Oe()));try{sn(()=>e(r),Pt)}finally{n&&(W(!0),F=$,Z(t))}}function Zr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ge(e,t){var n=p;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function mt(e,t){var n=(t&Un)!==0,r=(t&Bn)!==0,i,s=!e.startsWith("<!>");return()=>{if(E)return Ge($,null),$;i===void 0&&(i=Zr(s?e:"<!>"+e),n||(i=xe(i)));var a=r||Zt?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=xe(a),o=a.lastChild;Ge(l,o)}else Ge(a,a);return a}}function ze(e,t){if(E){p.nodes_end=$,je();return}e!==null&&e.before(t)}const Qr=["touchstart","touchmove"];function ei(e){return Qr.includes(e)}function En(e,t){return xn(e,t)}function ti(e,t){vt(),t.intro=t.intro??!1;const n=t.target,r=E,i=$;try{for(var s=xe(n);s&&(s.nodeType!==Ae||s.data!==Je);)s=se(s);if(!s)throw pe;W(!0),Z(s),je();const a=xn(e,{...t,anchor:s});if($===null||$.nodeType!==Ae||$.data!==kt)throw De(),pe;return W(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==pe&&console.warn("Failed to hydrate: ",a),t.recover===!1&&sr(),vt(),Nr(n),W(!1),En(e,t)}finally{W(r),Z(i),Jr()}}const Te=new Map;function xn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){vt();var l=new Set,o=d=>{for(var v=0;v<d.length;v++){var c=d[v];if(!l.has(c)){l.add(c);var h=ei(c);t.addEventListener(c,Le,{passive:h});var b=Te.get(c);b===void 0?(document.addEventListener(c,Le,{passive:h}),Te.set(c,1)):Te.set(c,b+1)}}};o(Wn(wn)),_t.add(o);var f=void 0,u=Lr(()=>{var d=n??t.appendChild(Oe());return bt(()=>{if(s){Dt({});var v=U;v.c=s}i&&(r.$$events=i),E&&Ge(d,null),f=e(d,r)||{},E&&(p.nodes_end=$),s&&jt()}),()=>{for(var v of l){t.removeEventListener(v,Le);var c=Te.get(v);--c===0?(document.removeEventListener(v,Le),Te.delete(v)):Te.set(v,c)}_t.delete(o),d!==n&&d.parentNode?.removeChild(d)}});return pt.set(f,u),f}let pt=new WeakMap;function ni(e,t){const n=pt.get(e);return n?(pt.delete(e),n(t)):Promise.resolve()}function ri(e,t,n=!1){E&&je();var r=e,i=null,s=null,a=T,l=n?et:0,o=!1;const f=(c,h=!0)=>{o=!0,v(h,c)};var u=null;function d(){u!==null&&(u.lastChild.remove(),r.before(u),u=null);var c=a?i:s,h=a?s:i;c&&Ur(c),h&&fn(h,()=>{a?s=null:i=null})}const v=(c,h)=>{if(a===(a=c))return;let b=!1;if(E){const Se=cr(r)===$t;!!a===Se&&(r=ur(),Z(r),W(!1),b=!0)}var x=Sr(),k=r;if(x&&(u=document.createDocumentFragment(),u.append(k=Oe())),a?i??=h&&bt(()=>h(k)):s??=h&&bt(()=>h(k)),x){var _=N,S=a?i:s,J=a?s:i;S&&_.skipped_effects.delete(S),J&&_.skipped_effects.add(J),_.add_callback(d)}else d();b&&W(!0)};sn(()=>{o=!1,t(f),o||v(null,null)},l),E&&(r=$)}function ii(e,t,n,r,i){E&&je();var s=t.$$slots?.[n],a=!1;s===!0&&(s=t[n],a=!0),s===void 0||s(e,a?()=>r:r)}function si(e,t){qr(()=>{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 ai(e,t,n){var r=e==null?"":""+e;return t&&(r=r?r+" "+t:t),r===""?null:r}function oi(e,t){return e==null?null:String(e)}function $n(e,t,n,r,i,s){var a=e.__className;if(E||a!==n||a===void 0){var l=ai(n,r);(!E||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}function gt(e,t,n,r){var i=e.__style;if(E||i!==t){var s=oi(t);(!E||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const li=Symbol("is custom element"),fi=Symbol("is html");function ui(e,t,n,r){var i=ci(e);E&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Kn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&kn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function wt(e,t,n){var r=g,i=p;let s=E;E&&W(!1),M(null),X(null);try{t!=="style"&&(yt.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:ui(e,t,n==null?n:String(n))}finally{M(r),X(i),s&&W(!0)}}function ci(e){return e.__attributes??={[li]:e.nodeName.includes("-"),[fi]:e.namespaceURI===Yn}}var yt=new Map;function kn(e){var t=e.getAttribute("is")||e.nodeName,n=yt.get(t);if(n)return n;yt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Gn(i);for(var a in r)r[a].set&&n.push(a);i=St(i)}return n}let Ve=!1;function di(e){var t=Ve;try{return Ve=!1,[e(),Ve]}finally{Ve=t}}function ee(e,t,n,r){var i=(n&jn)!==0,s=(n&Fn)!==0,a=r,l=!0,o=()=>(l&&(l=!1,a=s?Wr(r):r),a),f;if(i){var u=Me in e||Lt in e;f=le(e,t)?.set??(u&&t in e?_=>e[t]=_:void 0)}var d,v=!1;i?[d,v]=di(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=o(),f&&(ar(),f(d)));var c;if(c=()=>{var _=e[t];return _===void 0?o():(l=!0,_)},(n&Dn)===0)return c;if(f){var h=e.$$legacy;return(function(_,S){return arguments.length>0?((!S||h||v)&&f(S?c():_),_):c()})}var b=!1,x=((n&Mn)!==0?at:yr)(()=>(b=!1,c()));i&&j(x);var k=p;return(function(_,S){if(arguments.length>0){const J=S?j(x):i?he(_):_;return Y(x,J),b=!0,a!==void 0&&(a=J),_}return be&&b||(k.f&fe)!==0?x.v:j(x)})}function vi(e){return new hi(e)}class hi{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var l=Tr(a,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return j(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===Lt?!0:(j(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return Y(n.get(a)??r(a,l),l),Reflect.set(s,a,l)}});this.#e=(t.hydrate?ti:En)(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)&&G(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||ge(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=()=>{ni(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),ze(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=bi(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]=Xe(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=vi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Pr(()=>{Mr(()=>{this.$$r=!0;for(const r of qe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Xe(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]=Xe(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Xe(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 bi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function _i(e,t,n,r,i,s){let a=class extends Tn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return qe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return qe(t).forEach(l=>{ge(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=Xe(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var u=le(f,l)?.get;u?f[l]=o:f.$set({[l]:o})}}})}),r.forEach(l=>{ge(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}const Nn={version:"0.61.51"};function mi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var me={},Sn;function pi(){if(Sn)return me;Sn=1,Object.defineProperty(me,"__esModule",{value:!0}),me.LanguageTranslator=void 0,me.getChildStyleToPass=e,me.addComponent=t;function e(r,i){var s,a,l="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(v){return Object.keys(r).includes(v.name)}))===null||a===void 0)&&a.length))for(var o=function(v){var c=i?.filter(function(h){return h.name===v&&h.defaultValue!==r[v]});c&&(l+="".concat(v,":").concat(r[v],";"))},f=0,u=Object.keys(r);f<u.length;f++){var d=u[f];o(d)}}catch(v){console.error("error getting child style to pass",v)}finally{return l}}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 l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)l.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(a)}document.head.appendChild(l)}catch(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,l,o,f="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)&&(f=(o=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||o===void 0?void 0:o.toLowerCase()),f},r.getDictionaryWord=function(i,s,a){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((l=s[a])===null||l===void 0)&&l[i]))return s[a][i];var o="",f=r.getDefaultLang();if(!a||f!==a){var u=s?.[f];u?.[i]&&(o=u[i])}return o},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 l=new Intl.DateTimeFormat(a||r.getDefaultLang(),s);return l.format(i)},r})();return me.LanguageTranslator=n,me}var An=pi(),Ne={},Et,Cn;function gi(){if(Cn)return Et;Cn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
|
|
3
|
-
`,f="/",u="*",d="",v="comment",c="declaration";Et=function(b,x){if(typeof b!="string")throw new TypeError("First argument must be a string");if(!b)return[];x=x||{};var k=1,_=1;function S(y){var m=y.match(t);m&&(k+=m.length);var H=y.lastIndexOf(o);_=~H?y.length-H:_+y.length}function J(){var y={line:k,column:_};return function(m){return m.position=new Se(y),Ln(),m}}function Se(y){this.start=y,this.end={line:k,column:_},this.source=x.source}Se.prototype.content=b;function w(y){var m=new Error(x.source+":"+k+":"+_+": "+y);if(m.reason=y,m.filename=x.source,m.line=k,m.column=_,m.source=b,!x.silent)throw m}function R(y){var m=y.exec(b);if(m){var H=m[0];return S(H),b=b.slice(H.length),m}}function Ln(){R(n)}function qn(y){var m;for(y=y||[];m=In();)m!==!1&&y.push(m);return y}function In(){var y=J();if(!(f!=b.charAt(0)||u!=b.charAt(1))){for(var m=2;d!=b.charAt(m)&&(u!=b.charAt(m)||f!=b.charAt(m+1));)++m;if(m+=2,d===b.charAt(m-1))return w("End of comment missing");var H=b.slice(2,m-2);return _+=2,S(H),b=b.slice(m),_+=2,y({type:v,comment:H})}}function Ni(){var y=J(),m=R(r);if(m){if(In(),!R(i))return w("property missing ':'");var H=R(s),Ai=y({type:c,property:h(m[0].replace(e,d)),value:H?h(H[0].replace(e,d)):d});return R(a),Ai}}function Si(){var y=[];qn(y);for(var m;m=Ni();)m!==!1&&(y.push(m),qn(y));return y}return Ln(),Si()};function h(b){return b?b.replace(l,d):d}return Et}var On;function wi(){if(On)return Ne;On=1;var e=Ne&&Ne.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.default=n;var t=e(gi());function n(r,i){var s=null;if(!r||typeof r!="string")return s;var a=(0,t.default)(r),l=typeof i=="function";return a.forEach(function(o){if(o.type==="declaration"){var f=o.property,u=o.value;l?i(f,u,o):u&&(s=s||{},s[f]=u)}}),s}return Ne}var yi=wi();const Rn=mi(yi);Rn.default;var Ei=mt('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1myuqa7"/>'),xi=(e,t)=>t(!1),$i=mt("<div></div>"),ki=mt('<div id="webcomponent" class="svelte-1myuqa7"><!> <div class="offcanvas offcanvas-start show svelte-1myuqa7" tabindex="-1" aria-labelledby="offcanvasExampleLabel"><hb-sidebar-desktop></hb-sidebar-desktop></div> <!></div>',2);const Ti={hash:"svelte-1myuqa7",code:`@charset "UTF-8";
|
|
1
|
+
(function(xt){"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,$t="[",rt="[!",Et="]",we={},$=Symbol(),In="http://www.w3.org/1999/xhtml",kt=!1;var jn=Array.isArray,Fn=Array.prototype.indexOf,Bn=Array.from,je=Object.keys,Fe=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,qn=Object.getOwnPropertyDescriptors,Un=Object.prototype,zn=Array.prototype,Tt=Object.getPrototypeOf,St=Object.isExtensible;function Yn(e){for(var t=0;t<e.length;t++)e[t]()}function At(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const E=2,Be=4,it=8,X=16,Z=32,ie=64,qe=128,j=512,k=1024,C=2048,Q=4096,Y=8192,se=16384,st=32768,ye=65536,Nt=1<<17,at=1<<18,ue=1<<19,Hn=1<<20,Ae=32768,ot=1<<21,lt=1<<22,ae=1<<23,Ue=Symbol("$state"),Ct=Symbol("legacy props"),Vn=Symbol(""),xe=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 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 H(e){p=e}let g;function F(e){if(e===null)throw ze(),we;return g=e}function Ye(){return F(G(g))}function Rt(e){if(p){if(G(g)!==null)throw ze(),we;g=e}}function ar(e=1){if(p){for(var t=e,n=g;t--;)n=G(n);g=n}}function Ot(e=!0){for(var t=0,n=g;;){if(n.nodeType===$e){var r=n.data;if(r===Et){if(t===0)return n;t-=1}else(r===$t||r===rt)&&(t+=1)}var i=G(n);e&&n.remove(),n=i}}function or(e){if(!e||e.nodeType!==$e)throw ze(),we;return e.data}function Lt(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 Pt(e){return!lr(e,this.v)}let fr=!1,M=null;function Ee(e){M=e}function Mt(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,l:null}}function Dt(e){var t=M,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,M=t.p,e??{}}function It(){return!0}let ce=[];function jt(){var e=ce;ce=[],Yn(e)}function He(e){if(ce.length===0&&!Ne){var t=ce;queueMicrotask(()=>{t===ce&&jt()})}ce.push(e)}function ur(){for(;ce.length>0;)jt()}function Ft(e){var t=b;if(t===null)return v.f|=ae,e;if((t.f&st)===0){if((t.f&qe)===0)throw e;t.b.error(e)}else ke(e,t)}function ke(e,t){for(;t!==null;){if((t.f&qe)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ve=new Set;let y=null,L=null,V=[],We=null,ft=!1,Ne=!1;class B{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#l=null;#a=[];#o=[];skipped_effects=new Set;is_fork=!1;process(t){V=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#i(r,n);this.is_fork||this.#f(),this.#r>0||this.is_fork?(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects)):(y=null,qt(n.render_effects),qt(n.effects),this.#l?.resolve()),L=null}#i(t,n){t.f^=k;for(var r=t.first;r!==null;){var i=r.f,s=(i&(Z|ie))!==0,a=s&&(i&k)!==0,o=a||(i&Y)!==0||this.skipped_effects.has(r);if((r.f&qe)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){s?r.f^=k:(i&Be)!==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.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#s(t){for(const n of t)((n.f&C)!==0?this.#a:this.#o).push(n),S(n,k)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ae)===0&&(this.current.set(t,t.v),L?.set(t,t.v))}activate(){y=this,this.apply()}deactivate(){y=null,L=null}flush(){if(this.activate(),V.length>0){if(Bt(),y!==null&&y!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#u()}#u(){if(Ve.size>1){this.previous.clear();var t=L,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Ve){if(i===this){n=!1;continue}const s=[];for(const[o,l]of this.current){if(i.current.has(o))if(n&&l!==i.current.get(o))i.current.set(o,l);else continue;s.push(o)}if(s.length===0)continue;const a=[...i.current.keys()].filter(o=>!this.current.has(o));if(a.length>0){const o=new Set,l=new Map;for(const f of s)Ut(f,a,o,l);if(V.length>0){y=i,i.apply();for(const f of V)i.#i(f,r);V=[],i.deactivate()}}}y=null,L=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.#a)S(t,C),de(t);for(const t of this.#o)S(t,Q),de(t);this.#a=[],this.#o=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=At()).promise}static ensure(){if(y===null){const t=y=new B;Ve.add(y),Ne||B.enqueue(()=>{y===t&&t.flush()})}return y}static enqueue(t){He(t)}apply(){}}function W(e){var t=Ne;Ne=!0;try{for(var n;;){if(ur(),V.length===0&&(y?.flush(),V.length===0))return We=null,n;Bt()}}finally{Ne=t}}function Bt(){var e=be;ft=!0;try{var t=0;for(un(!0);V.length>0;){var n=B.ensure();if(t++>1e3){var r,i;cr()}n.process(V),oe.clear()}}finally{ft=!1,un(e),We=null}}function cr(){try{Zn()}catch(e){ke(e,We)}}let ee=null;function qt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(se|Y))===0&&Me(r)&&(ee=new Set,De(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?an(r):r.fn=null),ee?.size>0)){oe.clear();for(const i of ee){if((i.f&(se|Y))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)ee.has(a)&&(ee.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(se|Y))===0&&De(l)}}ee.clear()}}ee=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&E)!==0?Ut(i,t,n,r):(s&(lt|X))!==0&&(s&C)===0&&zt(i,t,r)&&(S(i,C),de(i))}}function zt(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&E)!==0&&zt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function de(e){for(var t=We=e;t.parent!==null;){t=t.parent;var n=t.f;if(ft&&t===b&&(n&X)!==0&&(n&at)===0)return;if((n&(ie|Z))!==0){if((n&k)===0)return;t.f^=k}}V.push(t)}function dr(e){let t=0,n=Ce(0),r;return()=>{Ke()&&(O(n),nn(()=>(t===0&&(r=gn(()=>e(()=>Re(n)))),t+=1,()=>{He(()=>{t-=1,t===0&&(r?.(),r=void 0,Re(n))})})))}}var hr=ye|ue|qe;function vr(e,t,n){new br(e,t,n)}class br{parent;#t=!1;#e;#n=p?g:null;#r;#l;#a;#o=null;#i=null;#s=null;#f=null;#u=null;#h=0;#c=0;#v=!1;#d=null;#g=dr(()=>(this.#d=Ce(this.#h),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#l=r,this.parent=b.b,this.#t=!!this.#r.pending,this.#a=bt(()=>{if(b.b=this,p){const s=this.#n;Ye(),s.nodeType===$e&&s.data===rt?this.#y():this.#w()}else{var i=this.#p();try{this.#o=te(()=>r(i))}catch(s){this.error(s)}this.#c>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},hr),p&&(this.#e=g)}#w(){try{this.#o=te(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#i=te(()=>t(this.#e)),B.enqueue(()=>{var n=this.#p();this.#o=this.#b(()=>(B.ensure(),te(()=>this.#l(n)))),this.#c>0?this.#_():(Le(this.#i,()=>{this.#i=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#u=ve(),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=M;D(this.#a),T(this.#a),Ee(this.#a.ctx);try{return t()}catch(s){return Ft(s),null}finally{D(n),T(r),Ee(i)}}#_(){const t=this.#r.pending;this.#o!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),fn(this.#o,this.#f)),this.#i===null&&(this.#i=te(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#i&&Le(this.#i,()=>{this.#i=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#h+=t,this.#d&&Je(this.#d,this.#h)}get_effect_pending(){return this.#g(),O(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#o&&(R(this.#o),this.#o=null),this.#i&&(R(this.#i),this.#i=null),this.#s&&(R(this.#s),this.#s=null),p&&(F(this.#n),ar(),F(Ot()));var i=!1,s=!1;const a=()=>{if(i){sr();return}i=!0,s&&ir(),B.ensure(),this.#h=0,this.#s!==null&&Le(this.#s,()=>{this.#s=null}),this.#t=this.has_pending_snippet(),this.#o=this.#b(()=>(this.#v=!1,te(()=>this.#l(this.#e)))),this.#c>0?this.#_():this.#t=!1};var o=v;try{T(null),s=!0,n?.(t,a),s=!1}catch(l){ke(l,this.#a&&this.#a.parent)}finally{T(o)}r&&He(()=>{this.#s=this.#b(()=>{B.ensure(),this.#v=!0;try{return te(()=>{r(this.#e,()=>t,()=>a)})}catch(l){return ke(l,this.#a.parent),null}finally{this.#v=!1}})})}}function _r(e,t,n,r){const i=ut;if(n.length===0&&e.length===0){r(t.map(i));return}var s=y,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&se)===0&&ke(c,a)}s?.deactivate(),Ge()}).catch(f=>{ke(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=M,r=y;return function(s=!0){D(e),T(t),Ee(n),s&&r?.activate()}}function Ge(){D(null),T(null),Ee(null)}function ut(e){var t=E|C,n=v!==null&&(v.f&E)!==0?v:null;return b!==null&&(b.f|=ue),{ctx:M,deps:null,effects:null,equals:Lt,f:t,fn:e,reactions:null,rv:0,v:$,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($),a=!v,o=new Map;return Rr(()=>{var l=At();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===y&&f.committed&&f.deactivate(),Ge()})}catch(u){l.reject(u),Ge()}var f=y;if(a){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),o.get(f)?.reject(xe),o.delete(f),o.set(f,l)}const h=(u,d=void 0)=>{if(f.activate(),d)d!==xe&&(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(xe)}}a&&(r.update_pending_count(-1),f.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),en(()=>{for(const l of o.values())l.reject(xe)}),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=ut(e);return t.equals=Pt,t}function Yt(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&E)===0)return t;t=t.parent}return null}function ct(e){var t,n=b;D(wr(e));try{e.f&=~Ae,Yt(e),t=_n(e)}finally{D(n)}return t}function Ht(e){var t=ct(e);if(e.equals(t)||(e.v=t,e.wv=vn()),!_e)if(L!==null)Ke()&&L.set(e,e.v);else{var n=(e.f&j)===0?Q:k;S(e,n)}}let dt=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 q(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=Pt),r}function U(e,t,n=!1){v!==null&&(!K||(v.f&Nt)!==0)&&It()&&(v.f&(E|X|lt|Nt))!==0&&!ne?.includes(e)&&rr();let r=n?he(t):t;return Je(e,r)}function Je(e,t){if(!e.equals(t)){var n=e.v;_e?oe.set(e,t):oe.set(e,n),e.v=t;var r=B.ensure();r.capture(e,n),(e.f&E)!==0&&((e.f&C)!==0&&ct(e),S(e,(e.f&j)!==0?k:Q)),e.wv=vn(),Wt(e,C),b!==null&&(b.f&k)!==0&&(b.f&(Z|ie))===0&&(I===null?Ir([e]):I.push(e)),!r.is_fork&&dt.size>0&&!Vt&&xr()}return t}function xr(){Vt=!1;const e=Array.from(dt);for(const t of e)(t.f&k)!==0&&S(t,Q),Me(t)&&De(t);dt.clear()}function Re(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&&S(s,t),(a&E)!==0){var l=s;L?.delete(l),(a&Ae)===0&&(a&j&&(s.f|=Ae),Wt(l,Q))}else o&&((a&X)!==0&&ee!==null&&ee.add(s),de(s))}}function he(e){if(typeof e!="object"||e===null||Ue in e)return e;const t=Tt(e);if(t!==Un&&t!==zn)return e;var n=new Map,r=jn(e),i=q(0),s=pe,a=o=>{if(pe===s)return o();var l=v,f=pe;T(null),hn(s);var c=o();return T(l),hn(f),c};return r&&n.set("length",q(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=q(f.value);return n.set(l,h),h}):U(c,f.value,!0),!0},deleteProperty(o,l){var f=n.get(l);if(f===void 0){if(l in o){const c=a(()=>q($));n.set(l,c),Re(i)}}else U(f,$),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||fe(o,l)?.writable)&&(c=a(()=>{var d=he(h?o[l]:$),m=q(d);return m}),n.set(l,c)),c!==void 0){var u=O(c);return u===$?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!==$)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!==$||Reflect.has(o,l);if(f!==void 0||b!==null&&(!c||fe(o,l)?.writable)){f===void 0&&(f=a(()=>{var u=c?he(o[l]):$,d=q(u);return d}),n.set(l,f));var h=O(f);if(h===$)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?U(m,$):d in o&&(m=a(()=>q($)),n.set(d+"",m))}if(h===void 0)(!u||fe(o,l)?.writable)&&(h=a(()=>q(void 0)),U(h,he(f)),n.set(l,h));else{u=h.v!==$;var N=a(()=>he(f));U(h,N)}var x=Reflect.getOwnPropertyDescriptor(o,l);if(x?.set&&x.set.call(c,f),!u){if(r&&typeof l=="string"){var ge=n.get("length"),w=Number(l);Number.isInteger(w)&&w>=ge.v&&U(ge,w+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!==$});for(var[f,c]of n)c.v!==$&&!(f in o)&&l.push(f);return l},setPrototypeOf(){nr()}})}var Gt,Jt,Kt,Xt;function ht(){if(Gt===void 0){Gt=window,Jt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Kt=fe(t,"firstChild").get,Xt=fe(t,"nextSibling").get,St(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),St(n)&&(n.__t=void 0)}}function ve(e=""){return document.createTextNode(e)}function Te(e){return Kt.call(e)}function G(e){return Xt.call(e)}function Zt(e,t){if(!p)return Te(e);var n=Te(g);return n===null&&(n=g.appendChild(ve())),F(n),n}function Qt(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=ve();return r===null?i?.after(s):r.before(s),F(s),s}return F(r),r}function $r(e){e.textContent=""}function Er(){return!1}function vt(e){var t=v,n=b;T(null),D(null);try{return e()}finally{T(t),D(n)}}function kr(e){b===null&&(v===null&&Xn(),Kn()),_e&&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,r=!0){var i=b;i!==null&&(i.f&Y)!==0&&(e|=Y);var s={ctx:M,deps:null,nodes_start:null,nodes_end:null,f:e|C|j,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{De(s),s.f|=st}catch(l){throw R(s),l}else t!==null&&de(s);if(r){var a=s;if(n&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&ue)===0&&(a=a.first,(e&X)!==0&&(e&ye)!==0&&a!==null&&(a.f|=ye)),a!==null&&(a.parent=i,i!==null&&Tr(a,i),v!==null&&(v.f&E)!==0&&(e&ie)===0)){var o=v;(o.effects??=[]).push(a)}}return s}function Ke(){return v!==null&&!K}function en(e){const t=J(it,null,!1);return S(t,k),t.teardown=e,t}function Sr(e){kr();var t=b.f,n=!v&&(t&Z)!==0&&(t&st)===0;if(n){var r=M;(r.e??=[]).push(e)}else return tn(e)}function tn(e){return J(Be|Hn,e,!1)}function Ar(e){B.ensure();const t=J(ie|ue,e,!0);return()=>{R(t)}}function Nr(e){B.ensure();const t=J(ie|ue,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(Be,e,!1)}function Rr(e){return J(lt|ue,e,!0)}function nn(e,t=0){return J(it|t,e,!0)}function Oe(e,t=[],n=[],r=[],i=!1){_r(r,t,n,s=>{J(i?Be:it,()=>e(...s.map(O)),!0)})}function bt(e,t=0){var n=J(X|t,e,!0);return n}function te(e,t=!0){return J(Z|ue,e,!0,t)}function rn(e){var t=e.teardown;if(t!==null){const n=_e,r=v;cn(!0),T(null);try{t.call(null)}finally{cn(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&&vt(()=>{i.abort(xe)});var r=n.next;(n.f&ie)!==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&at)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Lr(e.nodes_start,e.nodes_end),n=!0),sn(e,t&&!n),Xe(e,0),S(e,se);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:G(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&&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 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&ye)!==0||(r.f&Z)!==0&&(e.f&X)!==0;on(r,t,s?n:!1),r=i}}}function Mr(e){ln(e,!0)}function ln(e,t){if((e.f&Y)!==0){e.f^=Y,(e.f&k)===0&&(S(e,C),de(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ye)!==0||(n.f&Z)!==0;ln(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function fn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:G(n);t.append(n),n=i}}let be=!1;function un(e){be=e}let _e=!1;function cn(e){_e=e}let v=null,K=!1;function T(e){v=e}let b=null;function D(e){b=e}let ne=null;function Dr(e){v!==null&&(ne===null?ne=[e]:ne.push(e))}let A=null,P=0,I=null;function Ir(e){I=e}let dn=1,Pe=0,pe=Pe;function hn(e){pe=e}function vn(){return++dn}function Me(e){var t=e.f;if((t&C)!==0)return!0;if(t&E&&(e.f&=~Ae),(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)&&Ht(s),s.wv>e.wv)return!0}(t&j)!==0&&L===null&&S(e,k)}return!1}function bn(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&E)!==0?bn(s,t,!1):t===s&&(n?S(s,C):(s.f&k)!==0&&S(s,Q),de(s))}}function _n(e){var t=A,n=P,r=I,i=v,s=ne,a=M,o=K,l=pe,f=e.f;A=null,P=0,I=null,v=(f&(Z|ie))===0?e:null,ne=null,Ee(e.ctx),K=!1,pe=++Pe,e.ac!==null&&(vt(()=>{e.ac.abort(xe)}),e.ac=null);try{e.f|=ot;var c=e.fn,h=c(),u=e.deps;if(A!==null){var d;if(Xe(e,P),u!==null&&P>0)for(u.length=P+A.length,d=0;d<A.length;d++)u[P+d]=A[d];else e.deps=u=A;if(be&&Ke()&&(e.f&j)!==0)for(d=P;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&P<u.length&&(Xe(e,P),u.length=P);if(It()&&I!==null&&!K&&u!==null&&(e.f&(E|Q|C))===0)for(d=0;d<I.length;d++)bn(I[d],e);return i!==null&&i!==e&&(Pe++,I!==null&&(r===null?r=I:r.push(...I))),(e.f&ae)!==0&&(e.f^=ae),h}catch(m){return Ft(m)}finally{e.f^=ot,A=t,P=n,I=r,v=i,ne=s,Ee(a),K=o,pe=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&E)!==0&&(A===null||!A.includes(t))&&(S(t,Q),(t.f&j)!==0&&(t.f^=j,t.f&=~Ae),Yt(t),Xe(t,0))}function Xe(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&se)===0){S(e,k);var n=b,r=be;b=e,be=!0;try{(t&X)!==0?Or(e):sn(e),rn(e);var i=_n(e);e.teardown=typeof i=="function"?i:null,e.wv=dn;var s;kt&&fr&&(e.f&C)!==0&&e.deps}finally{be=r,b=n}}}function O(e){var t=e.f,n=(t&E)!==0;if(v!==null&&!K){var r=b!==null&&(b.f&se)!==0;if(!r&&!ne?.includes(e)){var i=v.deps;if((v.f&ot)!==0)e.rv<Pe&&(e.rv=Pe,A===null&&i!==null&&i[P]===e?P++: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(_e){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=ct(a)),oe.set(a,o),o}}else if(n){if(a=e,L?.has(a))return L.get(a);Me(a)&&Ht(a),be&&Ke()&&(a.f&j)===0&&pn(a)}else if(L?.has(e))return L.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&E)!==0&&(t.f&j)===0&&pn(t)}}function mn(e){if(e.v===$)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(oe.has(t)||(t.f&E)!==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,_t=new Set;function Br(e,t,n,r={}){function i(s){if(r.capture||Ie.call(t,s),!s.cancelBubble)return vt(()=>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++)wn.add(e[t]);for(var n of _t)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),D(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(x){u?d.push(x):u=x}if(e.cancelBubble||m===t||m===null)break;s=m}if(u){for(let x of d)queueMicrotask(()=>{throw x});throw u}}finally{e.__root=t,delete e.currentTarget,T(c),D(h)}}}function zr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ze(e,t){var n=b;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function pt(e,t){var n=(t&Mn)!==0,r=(t&Dn)!==0,i,s=!e.startsWith("<!>");return()=>{if(p)return Ze(g,null),g;i===void 0&&(i=zr(s?e:"<!>"+e),n||(i=Te(i)));var a=r||Jt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Te(a),l=a.lastChild;Ze(o,l)}else Ze(a,a);return a}}function Qe(e,t){if(p){b.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){ht(),t.intro=t.intro??!1;const n=t.target,r=p,i=g;try{for(var s=Te(n);s&&(s.nodeType!==$e||s.data!==$t);)s=G(s);if(!s)throw we;H(!0),F(s);const a=$n(e,{...t,anchor:s});return H(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==we&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Qn(),ht(),$r(n),H(!1),xn(e,t)}finally{H(r),F(i)}}const Se=new Map;function $n(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){ht();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=Se.get(d);N===void 0?(document.addEventListener(d,Ie,{passive:m}),Se.set(d,1)):Se.set(d,N+1)}}};l(Bn(wn)),_t.add(l);var f=void 0,c=Nr(()=>{var h=n??t.appendChild(ve());return vr(h,{pending:()=>{}},u=>{if(s){Mt({});var d=M;d.c=s}if(i&&(r.$$events=i),p&&Ze(u,null),f=e(u,r)||{},p&&(b.nodes_end=g,g===null||g.nodeType!==$e||g.data!==Et))throw ze(),we;s&&Dt()}),()=>{for(var u of o){t.removeEventListener(u,Ie);var d=Se.get(u);--d===0?(document.removeEventListener(u,Ie),Se.delete(u)):Se.set(u,d)}_t.delete(l),h!==n&&h.parentNode?.removeChild(h)}});return mt.set(f,c),f}let mt=new WeakMap;function Wr(e,t){const n=mt.get(e);return n?(mt.delete(e),n(t)):Promise.resolve()}class Gr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#l=()=>{var t=y;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Mr(r);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)continue;const o=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();fn(a,f),f.append(ve()),this.#n.set(s,{effect:a,fragment:f})}else R(a);this.#e.delete(s)};this.#r||!r?Le(a,o,!1):o()}}};#a=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=y,i=Er();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),a=ve();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,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.#l),r.ondiscard(this.#a)}else p&&(this.anchor=g),this.#l()}}function Jr(e,t,n=!1){p&&Ye();var r=new Gr(e),i=n?ye:0;function s(a,o){if(p){const f=or(e)===rt;if(a===f){var l=Ot();F(l),r.anchor=l,H(!1),r.ensure(a,o),H(!0);return}}r.ensure(a,o)}bt(()=>{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=Te(document.head);s!==null&&(s.nodeType!==$e||s.data!==e);)s=G(s);if(s===null)H(!1);else{var a=G(s);s.remove(),F(a)}}p||(i=document.head.appendChild(ve()));try{bt(()=>t(i),at)}finally{r&&(H(!0),F(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 gt(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 wt(e,t,n){var r=v,i=b;let s=p;p&&H(!1),T(null),D(null);try{t!=="style"&&(yt.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),D(i),s&&H(!0)}}function ii(e){return e.__attributes??={[ti]:e.nodeName.includes("-"),[ni]:e.namespaceURI===In}}var yt=new Map;function kn(e){var t=e.getAttribute("is")||e.nodeName,n=yt.get(t);if(n)return n;yt.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 et=!1;function si(e){var t=et;try{return et=!1,[e(),et]}finally{et=t}}function re(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||Ct in e;f=fe(e,t)?.set??(c&&t in e?w=>e[t]=w: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 w=e[t];return w===void 0?l():(o=!0,w)},(n&On)===0)return d;if(f){var m=e.$$legacy;return(function(w,z){return arguments.length>0?((!z||m||u)&&f(z?d():w),w):d()})}var N=!1,x=((n&Rn)!==0?ut:gr)(()=>(N=!1,d()));i&&O(x);var ge=b;return(function(w,z){if(arguments.length>0){const nt=z?O(x):i?he(w):w;return U(x,nt),N=!0,a!==void 0&&(a=nt),w}return _e&&N||(ge.f&se)!==0?x.v:O(x)})}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===Ct?!0:(O(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: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),Qe(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]=tt(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(()=>{nn(()=>{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=tt(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]=tt(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 tt(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=tt(o,l,t),this.$$d[o]=l;var f=this.$$c;if(f){var c=fe(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.61.52"};var me={},An;function ui(){if(An)return me;An=1,Object.defineProperty(me,"__esModule",{value:!0}),me.LanguageTranslator=void 0,me.getChildStyleToPass=e,me.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 me.LanguageTranslator=n,me}var Nn=ui(),ci=pt('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1evb3mn"/>'),di=pt("<div></div>"),hi=pt('<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";
|
|
4
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");
|
|
5
4
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
6
5
|
/*!
|
|
@@ -8,9 +7,9 @@
|
|
|
8
7
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
9
8
|
* Copyright 2011-2021 Twitter, Inc.
|
|
10
9
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
11
|
-
*/: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-
|
|
12
|
-
.svelte-
|
|
13
|
-
.svelte-
|
|
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,
|
|
11
|
+
.svelte-1evb3mn::before,
|
|
12
|
+
.svelte-1evb3mn::after {box-sizing:border-box;}
|
|
14
13
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
15
14
|
}
|
|
16
15
|
@media (min-width: 1200px) {
|
|
@@ -20,15 +19,15 @@
|
|
|
20
19
|
@media (min-width: 1200px) {
|
|
21
20
|
}
|
|
22
21
|
@media (min-width: 1200px) {
|
|
23
|
-
}.svelte-
|
|
22
|
+
}.svelte-1evb3mn::-moz-focus-inner {padding:0;border-style:none;}
|
|
24
23
|
@media (min-width: 1200px) {
|
|
25
|
-
}.svelte-
|
|
26
|
-
.svelte-
|
|
27
|
-
.svelte-
|
|
28
|
-
.svelte-
|
|
29
|
-
.svelte-
|
|
30
|
-
.svelte-
|
|
31
|
-
.svelte-
|
|
24
|
+
}.svelte-1evb3mn::-webkit-datetime-edit-fields-wrapper,
|
|
25
|
+
.svelte-1evb3mn::-webkit-datetime-edit-text,
|
|
26
|
+
.svelte-1evb3mn::-webkit-datetime-edit-minute,
|
|
27
|
+
.svelte-1evb3mn::-webkit-datetime-edit-hour-field,
|
|
28
|
+
.svelte-1evb3mn::-webkit-datetime-edit-day-field,
|
|
29
|
+
.svelte-1evb3mn::-webkit-datetime-edit-month-field,
|
|
30
|
+
.svelte-1evb3mn::-webkit-datetime-edit-year-field {padding:0;}.svelte-1evb3mn::-webkit-inner-spin-button {height:auto;}
|
|
32
31
|
/* rtl:raw:
|
|
33
32
|
[type="tel"],
|
|
34
33
|
[type="url"],
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
[type="number"] {
|
|
37
36
|
direction: ltr;
|
|
38
37
|
}
|
|
39
|
-
*/.svelte-
|
|
38
|
+
*/.svelte-1evb3mn::-webkit-search-decoration {-webkit-appearance:none;}.svelte-1evb3mn::-webkit-color-swatch-wrapper {padding:0;}.svelte-1evb3mn::file-selector-button {font:inherit;-webkit-appearance:button;}
|
|
40
39
|
@media (min-width: 1200px) {
|
|
41
40
|
}
|
|
42
41
|
@media (min-width: 1200px) {
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
@media (prefers-reduced-motion: reduce) {
|
|
55
54
|
}
|
|
56
55
|
@media (prefers-reduced-motion: reduce) {
|
|
57
|
-
}.modal-backdrop.svelte-
|
|
56
|
+
}.modal-backdrop.svelte-1evb3mn {--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: 0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg);}.modal-backdrop.fade.svelte-1evb3mn {opacity:0;}.modal-backdrop.show.svelte-1evb3mn {opacity:var(--bs-backdrop-opacity);}
|
|
58
57
|
@media (min-width: 576px) {
|
|
59
58
|
}
|
|
60
59
|
@media (min-width: 992px) {
|
|
@@ -70,7 +69,7 @@
|
|
|
70
69
|
@media (max-width: 1199.98px) {
|
|
71
70
|
}
|
|
72
71
|
@media (max-width: 1399.98px) {
|
|
73
|
-
}.offcanvas.svelte-
|
|
72
|
+
}.offcanvas.svelte-1evb3mn {--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform 0.3s ease-in-out;--bs-offcanvas-title-line-height: 1.5;}
|
|
74
73
|
@media (max-width: 575.98px) {
|
|
75
74
|
}
|
|
76
75
|
@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {
|
|
@@ -110,9 +109,9 @@
|
|
|
110
109
|
@media (max-width: 1399.98px) {
|
|
111
110
|
}
|
|
112
111
|
@media (min-width: 1400px) {
|
|
113
|
-
}.offcanvas.svelte-
|
|
114
|
-
@media (prefers-reduced-motion: reduce) {.offcanvas.svelte-
|
|
115
|
-
}.offcanvas.offcanvas-start.svelte-
|
|
112
|
+
}.offcanvas.svelte-1evb3mn {position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition);}
|
|
113
|
+
@media (prefers-reduced-motion: reduce) {.offcanvas.svelte-1evb3mn {transition:none;}
|
|
114
|
+
}.offcanvas.offcanvas-start.svelte-1evb3mn {top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%);} .offcanvas.show.svelte-1evb3mn:not(.hiding) {transform:none;} .offcanvas.show.svelte-1evb3mn {visibility:visible;}
|
|
116
115
|
@media (prefers-reduced-motion: reduce) {
|
|
117
116
|
}
|
|
118
117
|
@media (min-width: 576px) {
|
|
@@ -140,15 +139,7 @@
|
|
|
140
139
|
@media (min-width: 1200px) {
|
|
141
140
|
}
|
|
142
141
|
@media print {
|
|
143
|
-
}#webcomponent.svelte-
|
|
142
|
+
}#webcomponent.svelte-1evb3mn {font-family:"Roboto", sans-serif;min-height:100vh;min-height:-webkit-fill-available;}
|
|
144
143
|
@media (min-width: 768px) {
|
|
145
|
-
}.offcanvas-start.svelte-
|
|
146
|
-
* Svelte Video Login/Register/Forget Password WebComponent
|
|
147
|
-
* =====================
|
|
148
|
-
*
|
|
149
|
-
* @contributors: Dario Caruso <dev@dariocaruso.info> (https://dariocaruso.info)
|
|
150
|
-
*
|
|
151
|
-
* @license: MIT License
|
|
152
|
-
*
|
|
153
|
-
*/let n=ee(t,"id",7),r=ee(t,"type",7,"autohide"),i=ee(t,"navlinks",7,void 0),s=ee(t,"companylogouri",7,""),a=ee(t,"navpage",7,"home"),l=ee(t,"groups",23,()=>[]),o=ee(t,"opened",7,!1),f=ee(t,"companytitle",7,""),u=ee(t,"enablefooter",7,!1);he({});let d=B(""),v=B(!1);Rr(()=>{f()||f(""),(!u()||u()==="no")&&u(!1),r()==="open"||o()&&o()!=="no"?(o(!0),j(v)||c("offcanvasswitch",{isOpen:o()}),Y(v,!0)):o(!1);try{typeof l()=="string"&&l(JSON.parse(l()))}catch{}});function c(w,R){t.$$host.dispatchEvent(new CustomEvent(w,{detail:R}))}function h(w){o(w),Y(v,!1),c("offcanvasswitch",{isOpen:o()})}An.addComponent({repoName:"@htmlbricks/hb-sidenav-link",version:Nn.version}),An.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:Nn.version});var b={get id(){return n()},set id(w){n(w),G()},get type(){return r()},set type(w="autohide"){r(w),G()},get navlinks(){return i()},set navlinks(w=void 0){i(w),G()},get companylogouri(){return s()},set companylogouri(w=""){s(w),G()},get navpage(){return a()},set navpage(w="home"){a(w),G()},get groups(){return l()},set groups(w=[]){l(w),G()},get opened(){return o()},set opened(w=!1){o(w),G()},get companytitle(){return f()},set companytitle(w=""){f(w),G()},get enablefooter(){return u()},set enablefooter(w=!1){u(w),G()}},x=ki();Kr(w=>{var R=Ei();ze(w,R)});var k=tn(x);ii(k,t,"test",{});var _=nn(k,2),S=tn(_);gt(S,j(d)),Re(()=>wt(S,"navlinks",i())),Re(()=>wt(S,"navpage",a())),Re(()=>wt(S,"companytitle",f())),$n(S,1,"svelte-1myuqa7"),qt(_);var J=nn(_,2);{var Se=w=>{var R=$i();R.__click=[xi,h],Re(()=>{$n(R,1,`modal-backdrop fade ${o()?"show":""}`,"svelte-1myuqa7"),gt(R,`z-index:1040; ${o()?"":"visibility:hidden"}`)}),ze(w,R)};ri(J,w=>{r()==="autohide"&&w(Se)})}return qt(x),Re(()=>gt(_,`overflow-y: auto; visibility: visible; ${o()?"transform:none!important":"transform:translateX(-100%)!important"};`)),Vr("pageChange",S,w=>c("pageChange",w.detail)),ze(e,x),jt(b)}Xr(["click"]),customElements.define("hb-offcanvas",_i(Pn,{id:{},type:{},navlinks:{},companylogouri:{},navpage:{},groups:{},opened:{},companytitle:{},enablefooter:{}},["test"],[],!0)),xt.Component=Pn,Object.defineProperty(xt,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){Mt(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,()=>[]),l=re(t,"opened",7,!1),f=re(t,"companytitle",7,""),c=re(t,"enablefooter",7,!1);he({});let h=q(""),u=q(!1);Sr(()=>{f()||f(""),(!c()||c()==="no")&&c(!1),r()==="open"||l()&&l()!=="no"?(l(!0),O(u)||d("offcanvasswitch",{isOpen:l()}),U(u,!0)):l(!1);try{typeof o()=="string"&&o(JSON.parse(o()))}catch{}});function d(_,le){t.$$host.dispatchEvent(new CustomEvent(_,{detail:le}))}function m(_){l(_),U(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()}},x=hi();Xr("1evb3mn",_=>{var le=ci();Qe(_,le)});var ge=Zt(x);Kr(ge,t,"test",{});var w=Qt(ge,2),z=Zt(w);gt(z,O(h)),Oe(()=>wt(z,"navlinks",i())),Oe(()=>wt(z,"navpage",a())),Oe(()=>wt(z,"companytitle",f())),En(z,1,"svelte-1evb3mn"),Rt(w);var nt=Qt(w,2);{var bi=_=>{var le=di();le.__click=()=>m(!1),Oe(()=>{En(le,1,`modal-backdrop fade ${l()?"show":""}`,"svelte-1evb3mn"),gt(le,`z-index:1040; ${l()?"":"visibility:hidden"}`)}),Qe(_,le)};Jr(nt,_=>{r()==="autohide"&&_(bi)})}return Rt(x),Oe(()=>gt(w,`overflow-y: auto; visibility: visible; ${l()?"transform:none!important":"transform:translateX(-100%)!important"};`)),qr("pageChange",z,_=>d("pageChange",_.detail)),Qe(e,x),Dt(N)}Ur(["click"]),customElements.define("hb-offcanvas",fi(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||{});
|
|
154
145
|
//# sourceMappingURL=main.iife.js.map
|